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AO,IACjC,EAA+B,UAShE,SAAmB,GACjB,OAAO,EAA6C,EAAE,OAAO,EAAgD,GAAG,CAAC,EAAO,IAC/G,EAAI,MAAQ,EAAM,EAAI,KAAO,GACnC,GACL,EAZiC,EAA+B,UAchE,SAAmB,GACjB,OAAO,EAA6C,EAAE,OAAO,EAAgD,GAAG,CAAC,EAAO,IAC/G,EAAI,OAAS,GAAQ,EAAK,cAAgB,EAAI,IAAM,IACzD,EACN,EAjBqB,IAAI,EAAuC,EAAoB,GAC3D,EAA+C,EAAoB,EAAE,GACrE,EAA0C,EAAoB,GAC9D,EAAkD,EAAoB,EAAE,EAgB1F,EAED,SAAU,EAAQ,GAExB,EAAO,QAAU,CAEV,EAED,SAAU,EAAQ,GAExB,EAAO,QAAU,CAAC,CAAC,IAAM,EAAE,KAAO,OAAO,CAAC,IAAM,EAAE,KAAO,OAAO,CAAC,IAAM,EAAE,KAAO,SAAS,CAAC,IAAM,EAAE,KAAO,QAAQ,CAAC,IAAM,EAAE,KAAO,QAAQ,CAAC,IAAM,EAAE,KAAO,QAElJ,GAEP","file":"/npm/feibenren_webpack_library_test@1.0.0/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/feibenren_webpack_library_test@1.0.0/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"lodash\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"lodash\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"feibenrenWebpackNumbers\"] = factory(require(\"lodash\"));\n\telse\n\t\troot[\"feibenrenWebpackNumbers\"] = factory(root[\"_\"]);\n})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_1__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony export (immutable) */ __webpack_exports__[\"numToWord\"] = numToWord;\n/* harmony export (immutable) */ __webpack_exports__[\"wordToNum\"] = wordToNum;\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ref_json__ = __webpack_require__(2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ref_json___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__ref_json__);\n\r\n\r\n\r\nfunction numToWord(num) {\r\n  return __WEBPACK_IMPORTED_MODULE_0_lodash___default.a.reduce(__WEBPACK_IMPORTED_MODULE_1__ref_json___default.a, (accum, ref) => {\r\n    return ref.num === num ? ref.word : accum;\r\n  }, '');\r\n};\r\n\r\nfunction wordToNum(word) {\r\n  return __WEBPACK_IMPORTED_MODULE_0_lodash___default.a.reduce(__WEBPACK_IMPORTED_MODULE_1__ref_json___default.a, (accum, ref) => {\r\n    return ref.word === word && word.toLowerCase() ? ref.num : accum;\r\n  }, -1);\r\n};\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_1__;\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports) {\n\nmodule.exports = [{\"num\":1,\"word\":\"One\"},{\"num\":2,\"word\":\"Two\"},{\"num\":3,\"word\":\"Three\"},{\"num\":4,\"word\":\"Four\"},{\"num\":5,\"word\":\"Five\"},{\"num\":0,\"word\":\"Zero\"}]\n\n/***/ })\n/******/ ]);\n});"]}