From 99d5bb7c0d54a5e2a6a988e760083f51e3fa4e8d Mon Sep 17 00:00:00 2001 From: Graham Fairweather Date: Wed, 17 Jul 2019 20:01:49 +0200 Subject: [PATCH] :bookmark: v3.0.4 Auto build --- dist/index-of-x.esm.js | 6 +- dist/index-of-x.esm.js.map | 2 +- dist/index-of-x.js | 382 +++++++++++++++++++-------------- dist/index-of-x.js.map | 2 +- dist/index-of-x.min.js | 8 +- dist/index-of-x.min.js.map | 2 +- package-lock.json | 419 +++++++++++++++++++------------------ package.json | 32 +-- src/index-of-x.js | 6 +- 9 files changed, 468 insertions(+), 391 deletions(-) diff --git a/dist/index-of-x.esm.js b/dist/index-of-x.esm.js index 3394520..52e4805 100644 --- a/dist/index-of-x.esm.js +++ b/dist/index-of-x.esm.js @@ -128,7 +128,7 @@ var findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extend // eslint-enable jsdoc/check-param-names -export default function indexOf(array, searchElement) { +var indexOf = function indexOf(array, searchElement) { var _this = this; var object = toObject(array); @@ -196,6 +196,8 @@ export default function indexOf(array, searchElement) { } return pIndexOf.call(iterable, searchElement, fromIndex); -} +}; + +export default indexOf; //# sourceMappingURL=index-of-x.esm.js.map \ No newline at end of file diff --git a/dist/index-of-x.esm.js.map b/dist/index-of-x.esm.js.map index 6865705..d52893c 100644 --- a/dist/index-of-x.esm.js.map +++ b/dist/index-of-x.esm.js.map @@ -1 +1 @@ -{"version":3,"sources":["../src/index-of-x.js"],"names":[],"mappings":";;AAAA,OAAO,WAAP,MAAwB,UAAxB;AACA,OAAO,QAAP,MAAqB,WAArB;AACA,OAAO,QAAP,MAAqB,aAArB;AACA,OAAO,QAAP,MAAqB,aAArB;AACA,OAAO,QAAP,MAAqB,aAArB;AACA,OAAO,aAAP,MAA0B,mBAA1B;AACA,OAAO,SAAP,MAAsB,cAAtB;AACA,OAAO,SAAP,MAAsB,cAAtB;AACA,OAAO,aAAP,MAA0B,wBAA1B;AACA,OAAO,eAAP,MAA4B,sBAA5B;AACA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aAAa,CAAC,QAAD,EAAW,SAAS,CAAC,CAAD,CAApB,CAAzB;;AAEA,UAAI,SAAS,IAAI,MAAjB,EAAyB;AACvB,eAAO,CAAC,CAAR;AACD;;AAED,UAAI,SAAS,GAAG,CAAhB,EAAmB;AACjB,QAAA,SAAS,GAAG,CAAZ;AACD;AACF;;AAED,QAAI,SAAS,GAAG,CAAhB,EAAmB;AACjB,aAAO,WAAW,CAAC,QAAD,EAAW,aAAX,EAA0B,SAA1B,EAAqC,QAArC,CAAlB;AACD;;AAED,WAAO,SAAS,CAAC,QAAD,EAAW,UAAC,OAAD,EAAU,KAAV,EAAoB;AAAA;;AAC7C,aAAO,KAAK,IAAI,QAAT,IAAqB,QAAQ,CAAC,aAAD,EAAgB,OAAhB,CAApC;AACD,KAFe,YAAhB;AAGD;;AAED,MAAI,SAAS,GAAG,CAAZ,IAAkB,SAAS,GAAG,CAAZ,IAAiB,QAAQ,CAAC,QAAD,CAA/C,EAA4D;AAC1D;AACA,IAAA,SAAS,GAAG,aAAa,CAAC,QAAD,EAAW,SAAS,CAAC,CAAD,CAApB,CAAzB;;AAEA,QAAI,SAAS,IAAI,MAAjB,EAAyB;AACvB,aAAO,CAAC,CAAR;AACD;;AAED,QAAI,SAAS,GAAG,CAAhB,EAAmB;AACjB,MAAA,SAAS,GAAG,CAAZ;AACD;AACF;;AAED,SAAO,QAAQ,CAAC,IAAT,CAAc,QAAd,EAAwB,aAAxB,EAAuC,SAAvC,CAAP;AACD","file":"index-of-x.esm.js","sourcesContent":["import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport isFalsey from 'is-falsey-x';\nimport toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport sameValue from 'same-value-x';\nimport findIndex from 'find-index-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport attempt from 'attempt-x';\n\nlet pIndexOf = typeof Array.prototype.indexOf === 'function' && Array.prototype.indexOf;\n\nlet isWorking;\n\nif (pIndexOf) {\n let res = attempt.call([0, 1], pIndexOf, 1, 2);\n isWorking = res.threw === false && res.value === -1;\n\n if (isWorking) {\n res = attempt.call([0, 1], pIndexOf, 1);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call([0, -0], pIndexOf, -0);\n isWorking = res.threw === false && res.value === 0;\n }\n\n if (isWorking) {\n const testArr = [];\n testArr.length = 2;\n /* eslint-disable-next-line no-void */\n testArr[1] = void 0;\n /* eslint-disable-next-line no-void */\n res = attempt.call(testArr, pIndexOf, void 0);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pIndexOf, 'c');\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pIndexOf,\n 'c',\n );\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\nif (isWorking !== true) {\n pIndexOf = function $pIndexOf(searchElement) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const length = toLength(this.length);\n\n if (length < 1) {\n return -1;\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n let i = arguments[1];\n while (i < length) {\n /* eslint-disable-next-line babel/no-invalid-this */\n if (i in this && this[i] === searchElement) {\n return i;\n }\n\n i += 1;\n }\n\n return -1;\n };\n}\n\n/**\n * This method returns an index in the array, if an element in the array\n * satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @private\n * @param {Array} array - The array to search.\n * @param {*} searchElement - Element to locate in the array.\n * @param {number} fromIndex - The index to start the search at.\n * @param {Function} extendFn - The comparison function to use.\n * @returns {number} Returns index of found element, otherwise -1.\n */\nconst findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extendFn) {\n let fIdx = fromIndex;\n const length = toLength(array.length);\n while (fIdx < length) {\n if (fIdx in array && extendFn(array[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method returns the first index at which a given element can be found\n * in the array, or -1 if it is not present.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If `array` is `null` or `undefined`.\n * @param {*} searchElement - Element to locate in the `array`.\n * @param {number} [fromIndex] - The index to start the search at. If the\n * index is greater than or equal to the array's length, -1 is returned,\n * which means the array will not be searched. If the provided index value is\n * a negative number, it is taken as the offset from the end of the array.\n * Note: if the provided index is negative, the array is still searched from\n * front to back. If the calculated index is less than 0, then the whole\n * array will be searched. Default: 0 (entire array is searched).\n * @param {string} [extend] - Extension type: `SameValue` or `SameValueZero`.\n * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nexport default function indexOf(array, searchElement) {\n const object = toObject(array);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n const argLength = arguments.length;\n /* eslint-disable-next-line prefer-rest-params */\n let extend = argLength > 2 && argLength > 3 ? arguments[3] : arguments[2];\n let extendFn;\n\n if (isString(extend)) {\n extend = extend.toLowerCase();\n\n if (extend === 'samevalue') {\n extendFn = sameValue;\n } else if (extend === 'samevaluezero') {\n extendFn = sameValueZero;\n }\n }\n\n let fromIndex = 0;\n\n if (extendFn && (searchElement === 0 || numberIsNaN(searchElement))) {\n if (argLength > 3) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n if (fromIndex > 0) {\n return findIdxFrom(iterable, searchElement, fromIndex, extendFn);\n }\n\n return findIndex(iterable, (element, index) => {\n return index in iterable && extendFn(searchElement, element);\n });\n }\n\n if (argLength > 3 || (argLength > 2 && isFalsey(extendFn))) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n return pIndexOf.call(iterable, searchElement, fromIndex);\n}\n"]} \ No newline at end of file +{"version":3,"sources":["../src/index-of-x.js"],"names":[],"mappings":";;AAAA,OAAO,WAAP,MAAwB,UAAxB;AACA,OAAO,QAAP,MAAqB,WAArB;AACA,OAAO,QAAP,MAAqB,aAArB;AACA,OAAO,QAAP,MAAqB,aAArB;AACA,OAAO,QAAP,MAAqB,aAArB;AACA,OAAO,aAAP,MAA0B,mBAA1B;AACA,OAAO,SAAP,MAAsB,cAAtB;AACA,OAAO,SAAP,MAAsB,cAAtB;AACA,OAAO,aAAP,MAA0B,wBAA1B;AACA,OAAO,eAAP,MAA4B,sBAA5B;AACA,OAAO,OAAP,MAAoB,WAApB;AAEA,IAAI,QAAQ,GAAG,OAAO,KAAK,CAAC,SAAN,CAAgB,OAAvB,KAAmC,UAAnC,IAAiD,KAAK,CAAC,SAAN,CAAgB,OAAhF;AAEA,IAAI,SAAJ;;AAEA,IAAI,QAAJ,EAAc;AACZ,MAAI,GAAG,GAAG,OAAO,CAAC,IAAR,CAAa,CAAC,CAAD,EAAI,CAAJ,CAAb,EAAqB,QAArB,EAA+B,CAA/B,EAAkC,CAAlC,CAAV;AACA,EAAA,SAAS,GAAG,GAAG,CAAC,KAAJ,KAAc,KAAd,IAAuB,GAAG,CAAC,KAAJ,KAAc,CAAC,CAAlD;;AAEA,MAAI,SAAJ,EAAe;AACb,IAAA,GAAG,GAAG,OAAO,CAAC,IAAR,CAAa,CAAC,CAAD,EAAI,CAAJ,CAAb,EAAqB,QAArB,EAA+B,CAA/B,CAAN;AACA,IAAA,SAAS,GAAG,GAAG,CAAC,KAAJ,KAAc,KAAd,IAAuB,GAAG,CAAC,KAAJ,KAAc,CAAjD;AACD;;AAED,MAAI,SAAJ,EAAe;AACb,IAAA,GAAG,GAAG,OAAO,CAAC,IAAR,CA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AAjB,EAAyB;AACvB,aAAO,CAAC,CAAR;AACD;;AAED,QAAI,SAAS,GAAG,CAAhB,EAAmB;AACjB,MAAA,SAAS,GAAG,CAAZ;AACD;AACF;;AAED,SAAO,QAAQ,CAAC,IAAT,CAAc,QAAd,EAAwB,aAAxB,EAAuC,SAAvC,CAAP;AACD,CA/DD;;AAiEA,eAAe,OAAf","file":"index-of-x.esm.js","sourcesContent":["import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport isFalsey from 'is-falsey-x';\nimport toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport sameValue from 'same-value-x';\nimport findIndex from 'find-index-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport attempt from 'attempt-x';\n\nlet pIndexOf = typeof Array.prototype.indexOf === 'function' && Array.prototype.indexOf;\n\nlet isWorking;\n\nif (pIndexOf) {\n let res = attempt.call([0, 1], pIndexOf, 1, 2);\n isWorking = res.threw === false && res.value === -1;\n\n if (isWorking) {\n res = attempt.call([0, 1], pIndexOf, 1);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call([0, -0], pIndexOf, -0);\n isWorking = res.threw === false && res.value === 0;\n }\n\n if (isWorking) {\n const testArr = [];\n testArr.length = 2;\n /* eslint-disable-next-line no-void */\n testArr[1] = void 0;\n /* eslint-disable-next-line no-void */\n res = attempt.call(testArr, pIndexOf, void 0);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pIndexOf, 'c');\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pIndexOf,\n 'c',\n );\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\nif (isWorking !== true) {\n pIndexOf = function $pIndexOf(searchElement) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const length = toLength(this.length);\n\n if (length < 1) {\n return -1;\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n let i = arguments[1];\n while (i < length) {\n /* eslint-disable-next-line babel/no-invalid-this */\n if (i in this && this[i] === searchElement) {\n return i;\n }\n\n i += 1;\n }\n\n return -1;\n };\n}\n\n/**\n * This method returns an index in the array, if an element in the array\n * satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @private\n * @param {Array} array - The array to search.\n * @param {*} searchElement - Element to locate in the array.\n * @param {number} fromIndex - The index to start the search at.\n * @param {Function} extendFn - The comparison function to use.\n * @returns {number} Returns index of found element, otherwise -1.\n */\nconst findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extendFn) {\n let fIdx = fromIndex;\n const length = toLength(array.length);\n while (fIdx < length) {\n if (fIdx in array && extendFn(array[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method returns the first index at which a given element can be found\n * in the array, or -1 if it is not present.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If `array` is `null` or `undefined`.\n * @param {*} searchElement - Element to locate in the `array`.\n * @param {number} [fromIndex] - The index to start the search at. If the\n * index is greater than or equal to the array's length, -1 is returned,\n * which means the array will not be searched. If the provided index value is\n * a negative number, it is taken as the offset from the end of the array.\n * Note: if the provided index is negative, the array is still searched from\n * front to back. If the calculated index is less than 0, then the whole\n * array will be searched. Default: 0 (entire array is searched).\n * @param {string} [extend] - Extension type: `SameValue` or `SameValueZero`.\n * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nconst indexOf = function indexOf(array, searchElement) {\n const object = toObject(array);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n const argLength = arguments.length;\n /* eslint-disable-next-line prefer-rest-params */\n let extend = argLength > 2 && argLength > 3 ? arguments[3] : arguments[2];\n let extendFn;\n\n if (isString(extend)) {\n extend = extend.toLowerCase();\n\n if (extend === 'samevalue') {\n extendFn = sameValue;\n } else if (extend === 'samevaluezero') {\n extendFn = sameValueZero;\n }\n }\n\n let fromIndex = 0;\n\n if (extendFn && (searchElement === 0 || numberIsNaN(searchElement))) {\n if (argLength > 3) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n if (fromIndex > 0) {\n return findIdxFrom(iterable, searchElement, fromIndex, extendFn);\n }\n\n return findIndex(iterable, (element, index) => {\n return index in iterable && extendFn(searchElement, element);\n });\n }\n\n if (argLength > 3 || (argLength > 2 && isFalsey(extendFn))) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n return pIndexOf.call(iterable, searchElement, fromIndex);\n};\n\nexport default indexOf;\n"]} \ No newline at end of file diff --git a/dist/index-of-x.js b/dist/index-of-x.js index 2f45f2b..134b0b2 100644 --- a/dist/index-of-x.js +++ b/dist/index-of-x.js @@ -2,13 +2,13 @@ { "author": "Graham Fairweather", "copywrite": "Copyright (c) 2015-2017", - "date": "2019-07-16T21:57:44.128Z", + "date": "2019-07-17T18:01:42.280Z", "describe": "", "description": "An extended ES6 indexOf.", "file": "index-of-x.js", - "hash": "26ba5138781fbea233a5", + "hash": "9e110d17d4ba847cbe16", "license": "MIT", - "version": "3.0.3" + "version": "3.0.4" } */ (function webpackUniversalModuleDefinition(root, factory) { @@ -362,10 +362,12 @@ __webpack_require__.r(__webpack_exports__); * @returns {boolean} `true` if the given value is NaN and its type is Number; * otherwise, `false`. */ -function is_nan_x_esm_isNaN(value) { +var is_nan_x_esm_isNaN = function isNaN(value) { /* eslint-disable-next-line no-self-compare */ return value !== value; -} +}; + +/* harmony default export */ var is_nan_x_esm = (is_nan_x_esm_isNaN); // EXTERNAL MODULE: ./node_modules/is-string/index.js @@ -379,9 +381,11 @@ var is_string_default = /*#__PURE__*/__webpack_require__.n(is_string); * @param {*} [value] - The value to be converted. * @returns {boolean} 'true' if value is truthy; otherwise 'false'. */ -function toBoolean(value) { +var toBoolean = function toBoolean(value) { return !!value; -} +}; + +/* harmony default export */ var to_boolean_x_esm = (toBoolean); // CONCATENATED MODULE: ./node_modules/is-falsey-x/dist/is-falsey-x.esm.js @@ -393,9 +397,11 @@ function toBoolean(value) { * @returns {boolean} `true` if the value is falsey: otherwise `false`. */ -function isFalsey(value) { - return !toBoolean(value); -} +var is_falsey_x_esm_isFalsey = function isFalsey(value) { + return !to_boolean_x_esm(value); +}; + +/* harmony default export */ var is_falsey_x_esm = (is_falsey_x_esm_isFalsey); // CONCATENATED MODULE: ./node_modules/is-nil-x/dist/is-nil-x.esm.js @@ -405,10 +411,12 @@ function isFalsey(value) { * @param {*} [value] - The value to check. * @returns {boolean} Returns `true` if `value` is nullish, else `false`. */ -function isNil(value) { +var isNil = function isNil(value) { /* eslint-disable-next-line lodash/prefer-is-nil */ return value === null || typeof value === 'undefined'; -} +}; + +/* harmony default export */ var is_nil_x_esm = (isNil); // CONCATENATED MODULE: ./node_modules/require-object-coercible-x/dist/require-object-coercible-x.esm.js @@ -422,13 +430,15 @@ function isNil(value) { * @returns {string} The `value`. */ -function requireObjectCoercible(value) { - if (isNil(value)) { +var require_object_coercible_x_esm_requireObjectCoercible = function requireObjectCoercible(value) { + if (is_nil_x_esm(value)) { throw new TypeError("Cannot call method on ".concat(value)); } return value; -} +}; + +/* harmony default export */ var require_object_coercible_x_esm = (require_object_coercible_x_esm_requireObjectCoercible); // CONCATENATED MODULE: ./node_modules/to-object-x/dist/to-object-x.esm.js @@ -443,9 +453,11 @@ var castObject = {}.constructor; * @returns {!object} The `value` converted to an object. */ -function toObject(value) { - return castObject(requireObjectCoercible(value)); -} +var to_object_x_esm_toObject = function toObject(value) { + return castObject(require_object_coercible_x_esm(value)); +}; + +/* harmony default export */ var to_object_x_esm = (to_object_x_esm_toObject); // EXTERNAL MODULE: ./node_modules/is-symbol/index.js @@ -462,7 +474,7 @@ var is_symbol_default = /*#__PURE__*/__webpack_require__.n(is_symbol); * @param {...*} [args] - The arguments to invoke the function with. * @returns {object} Returns an object of the result. */ -function attempt(fn) { +var attempt = function attempt(fn) { try { for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; @@ -480,7 +492,9 @@ function attempt(fn) { value: e }; } -} +}; + +/* harmony default export */ var attempt_x_esm = (attempt); // CONCATENATED MODULE: ./node_modules/has-symbol-support-x/dist/has-symbol-support-x.esm.js @@ -490,7 +504,7 @@ function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { t -var hasSymbolSupport = attempt(function () { +var hasSymbolSupport = attempt_x_esm(function () { _newArrowCheck(this, has_symbol_support_x_esm_this); /* eslint-disable-next-line compat/compat */ @@ -524,7 +538,7 @@ var nativeObjectToString = {}.toString; * @returns {string} The object type string. */ -function toStringTag(value) { +var toStringTag = function toStringTag(value) { if (value === null) { return '[object Null]'; } @@ -534,7 +548,9 @@ function toStringTag(value) { } return nativeObjectToString.call(value); -} +}; + +/* harmony default export */ var to_string_tag_x_esm = (toStringTag); // CONCATENATED MODULE: ./node_modules/has-to-string-tag-x/dist/has-to-string-tag-x.esm.js @@ -564,13 +580,15 @@ var castString = ERROR_MESSAGE.constructor; * @returns {string} The converted value. */ -function ToString(value) { +var to_string_x_esm_ToString = function ToString(value) { if (is_symbol_default()(value)) { throw new TypeError(ERROR_MESSAGE); } return castString(value); -} +}; + +/* harmony default export */ var to_string_x_esm = (to_string_x_esm_ToString); // CONCATENATED MODULE: ./node_modules/require-coercible-to-string-x/dist/require-coercible-to-string-x.esm.js @@ -584,9 +602,11 @@ function ToString(value) { * @returns {string} The value as a string. */ -function requireCoercibleToString(value) { - return ToString(requireObjectCoercible(value)); -} +var require_coercible_to_string_x_esm_requireCoercibleToString = function requireCoercibleToString(value) { + return to_string_x_esm(require_object_coercible_x_esm(value)); +}; + +/* harmony default export */ var require_coercible_to_string_x_esm = (require_coercible_to_string_x_esm_requireCoercibleToString); // CONCATENATED MODULE: ./node_modules/white-space-x/dist/white-space-x.esm.js @@ -919,7 +939,7 @@ var replace = EMPTY_STRING.replace; */ function trimLeft2016(string) { - return replace.call(requireCoercibleToString(string), reLeft2016, EMPTY_STRING); + return replace.call(require_coercible_to_string_x_esm(string), reLeft2016, EMPTY_STRING); } /** * This method removes whitespace from the left end of a string. (ES2018). @@ -929,9 +949,11 @@ function trimLeft2016(string) { * @returns {string} The left trimmed string. */ -function trimLeft2018(string) { - return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING); -} +var trim_left_x_esm_trimLeft2018 = function trimLeft2018(string) { + return replace.call(require_coercible_to_string_x_esm(string), reLeft, EMPTY_STRING); +}; + +/* harmony default export */ var trim_left_x_esm = (trim_left_x_esm_trimLeft2018); // CONCATENATED MODULE: ./node_modules/trim-right-x/dist/trim-right-x.esm.js @@ -951,7 +973,7 @@ var trim_right_x_esm_replace = trim_right_x_esm_EMPTY_STRING.replace; */ function trimRight2016(string) { - return trim_right_x_esm_replace.call(requireCoercibleToString(string), reRight2016, trim_right_x_esm_EMPTY_STRING); + return trim_right_x_esm_replace.call(require_coercible_to_string_x_esm(string), reRight2016, trim_right_x_esm_EMPTY_STRING); } /** * This method removes whitespace from the right end of a string. (ES2018). @@ -961,9 +983,11 @@ function trimRight2016(string) { * @returns {string} The right trimmed string. */ -function trimRight2018(string) { - return trim_right_x_esm_replace.call(requireCoercibleToString(string), reRight2018, trim_right_x_esm_EMPTY_STRING); -} +var trim_right_x_esm_trimRight2018 = function trimRight2018(string) { + return trim_right_x_esm_replace.call(require_coercible_to_string_x_esm(string), reRight2018, trim_right_x_esm_EMPTY_STRING); +}; + +/* harmony default export */ var trim_right_x_esm = (trim_right_x_esm_trimRight2018); // CONCATENATED MODULE: ./node_modules/trim-x/dist/trim-x.esm.js @@ -990,9 +1014,11 @@ function trim2016(string) { * @returns {string} The trimmed string. */ -function trim2018(string) { - return trimLeft2018(trimRight2018(string)); -} +var trim_x_esm_trim2018 = function trim2018(string) { + return trim_left_x_esm(trim_right_x_esm(string)); +}; + +/* harmony default export */ var trim_x_esm = (trim_x_esm_trim2018); // CONCATENATED MODULE: ./node_modules/normalize-space-x/dist/normalize-space-x.esm.js @@ -1025,9 +1051,11 @@ function normalizeSpace2016(string) { * @throws {TypeError} If string is null or undefined or not coercible. */ -function normalizeSpace2018(string) { - return normalize_space_x_esm_replace.call(trim2018(string), reNormalize2018, SPACE); -} +var normalize_space_x_esm_normalizeSpace2018 = function normalizeSpace2018(string) { + return normalize_space_x_esm_replace.call(trim_x_esm(string), reNormalize2018, SPACE); +}; + +/* harmony default export */ var normalize_space_x_esm = (normalize_space_x_esm_normalizeSpace2018); // CONCATENATED MODULE: ./node_modules/replace-comments-x/dist/replace-comments-x.esm.js @@ -1046,9 +1074,11 @@ var replace_comments_x_esm_replace = replace_comments_x_esm_EMPTY_STRING.replace * @returns {string} The new string with the comments replaced. */ -function replaceComments(string, replacement) { - return replace_comments_x_esm_replace.call(requireCoercibleToString(string), STRIP_COMMENTS, arguments.length > 1 ? ToString(replacement) : replace_comments_x_esm_EMPTY_STRING); -} +var replace_comments_x_esm_replaceComments = function replaceComments(string, replacement) { + return replace_comments_x_esm_replace.call(require_coercible_to_string_x_esm(string), STRIP_COMMENTS, arguments.length > 1 ? to_string_x_esm(replacement) : replace_comments_x_esm_EMPTY_STRING); +}; + +/* harmony default export */ var replace_comments_x_esm = (replace_comments_x_esm_replaceComments); // CONCATENATED MODULE: ./node_modules/is-function-x/dist/is-function-x.esm.js @@ -1063,27 +1093,28 @@ function is_function_x_esm_newArrowCheck(innerThis, boundThis) { if (innerThis ! - +var FunctionCtr = attempt_x_esm.constructor; +var castBoolean = true.constructor; var is_function_x_esm_SPACE = ' '; -var fToString = Function.prototype.toString; +var fToString = attempt_x_esm.toString; var funcTag = '[object Function]'; var genTag = '[object GeneratorFunction]'; var asyncTag = '[object AsyncFunction]'; var ctrRx = /^class /; var test = ctrRx.test; -var hasNativeClass = attempt(function () { +var hasNativeClass = attempt_x_esm(function () { is_function_x_esm_newArrowCheck(this, is_function_x_esm_this); - /* eslint-disable-next-line no-new-func */ - return Function('"use strict"; return class My {};')(); + /* eslint-disable-next-line babel/new-cap */ + return FunctionCtr('"use strict"; return class My {};')(); }.bind(undefined)).threw === false; var testClassstring = function _testClassstring(value) { - return test.call(ctrRx, normalizeSpace2018(replaceComments(fToString.call(value), is_function_x_esm_SPACE))); + return test.call(ctrRx, normalize_space_x_esm(replace_comments_x_esm(fToString.call(value), is_function_x_esm_SPACE))); }; var isES6ClassFn = function isES6ClassFunc(value) { - var result = attempt(testClassstring, value); + var result = attempt_x_esm(testClassstring, value); return result.threw === false && result.value; }; /** @@ -1102,7 +1133,7 @@ var tryFuncToString = function funcToString(value, allowClass) { return false; } - return attempt.call(value, fToString).threw === false; + return attempt_x_esm.call(value, fToString).threw === false; }; /** * Checks if `value` is classified as a `Function` object. @@ -1114,22 +1145,24 @@ var tryFuncToString = function funcToString(value, allowClass) { */ -function isFunction(value, allowClass) { +var is_function_x_esm_isFunction = function isFunction(value, allowClass) { if (is_primitive_default()(value)) { return false; } if (has_to_string_tag_x_esm) { - return tryFuncToString(value, toBoolean(allowClass)); + return tryFuncToString(value, to_boolean_x_esm(allowClass)); } - if (hasNativeClass && isFalsey(allowClass) && isES6ClassFn(value)) { + if (hasNativeClass && castBoolean(allowClass) === false && isES6ClassFn(value)) { return false; } - var strTag = toStringTag(value); + var strTag = to_string_tag_x_esm(value); return strTag === funcTag || strTag === genTag || strTag === asyncTag; -} +}; + +/* harmony default export */ var is_function_x_esm = (is_function_x_esm_isFunction); // CONCATENATED MODULE: ./node_modules/to-primitive-x/dist/to-primitive-x.esm.js @@ -1170,7 +1203,7 @@ var orderLength = 2; */ var ordinaryToPrimitive = function _ordinaryToPrimitive(ordinary, hint) { - requireObjectCoercible(ordinary); + require_object_coercible_x_esm(ordinary); if (typeof hint !== 'string' || hint !== NUMBER && hint !== STRING) { throw new TypeError('hint must be "string" or "number"'); @@ -1183,7 +1216,7 @@ var ordinaryToPrimitive = function _ordinaryToPrimitive(ordinary, hint) { for (var i = ZERO; i < orderLength; i += ONE) { method = ordinary[methodNames[i]]; - if (isFunction(method)) { + if (is_function_x_esm(method)) { result = method.call(ordinary); if (is_primitive_default()(result)) { @@ -1204,8 +1237,8 @@ var ordinaryToPrimitive = function _ordinaryToPrimitive(ordinary, hint) { var getMethod = function _getMethod(object, property) { var func = object[property]; - if (isNil(func) === false) { - if (isFunction(func) === false) { + if (is_nil_x_esm(func) === false) { + if (is_function_x_esm(func) === false) { throw new TypeError("".concat(func, " returned for property ").concat(property, " of object ").concat(object, " is not a function")); } @@ -1274,7 +1307,7 @@ var to_primitive_x_esm_getExoticToPrim = function getExoticToPrim(value) { */ -function toPrimitive(input, preferredType) { +var to_primitive_x_esm_toPrimitive = function toPrimitive(input, preferredType) { if (is_primitive_default()(input)) { return input; } @@ -1294,7 +1327,9 @@ function toPrimitive(input, preferredType) { var newHint = hint === DEFAULT && (is_date_object_default()(input) || is_symbol_default()(input)) ? STRING : hint; return ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint); -} +}; + +/* harmony default export */ var to_primitive_x_esm = (to_primitive_x_esm_toPrimitive); // CONCATENATED MODULE: ./node_modules/nan-x/dist/nan-x.esm.js @@ -1338,7 +1373,7 @@ var parse_int_x_esm_test = hexRegex.test; */ function parseInt2016(string, radix) { - var str = trimLeft2016(ToString(string)); + var str = trimLeft2016(to_string_x_esm(string)); return nativeParseInt(str, castNumber(radix) || (parse_int_x_esm_test.call(hexRegex, str) ? 16 : 10)); } /** @@ -1359,15 +1394,17 @@ function parseInt2016(string, radix) { * character cannot be converted to a number, NaN is returned. */ -function parseInt2018(string, radix) { - var str = trimLeft2018(ToString(string)); +var parse_int_x_esm_parseInt2018 = function parseInt2018(string, radix) { + var str = trim_left_x_esm(to_string_x_esm(string)); if (charAt.call(str, 0) === "\u180E") { return nan_x_esm; } return nativeParseInt(str, castNumber(radix) || (parse_int_x_esm_test.call(hexRegex, str) ? 16 : 10)); -} +}; + +/* harmony default export */ var parse_int_x_esm = (parse_int_x_esm_parseInt2018); // CONCATENATED MODULE: ./node_modules/to-number-x/dist/to-number-x.esm.js @@ -1427,7 +1464,7 @@ var isInvalidHexLiteral = function _isInvalidHexLiteral(value) { function toNumber2016(argument) { - var value = toPrimitive(argument, Number); + var value = to_primitive_x_esm(argument, Number); if (is_symbol_default()(value)) { throw new TypeError(to_number_x_esm_ERROR_MESSAGE); @@ -1463,8 +1500,8 @@ function toNumber2016(argument) { * @returns {*} The argument converted to a number. */ -function toNumber2018(argument) { - var value = toPrimitive(argument, to_number_x_esm_castNumber); +var to_number_x_esm_toNumber2018 = function toNumber2018(argument) { + var value = to_primitive_x_esm(argument, to_number_x_esm_castNumber); if (is_symbol_default()(value)) { throw new TypeError(to_number_x_esm_ERROR_MESSAGE); @@ -1472,18 +1509,18 @@ function toNumber2018(argument) { if (typeof value === 'string') { if (isBinary(value)) { - return toNumber2018(parseInt2018(pStrSlice.call(value, testCharsCount), binaryRadix)); + return toNumber2018(parse_int_x_esm(pStrSlice.call(value, testCharsCount), binaryRadix)); } if (isOctal(value)) { - return toNumber2018(parseInt2018(pStrSlice.call(value, testCharsCount), octalRadix)); + return toNumber2018(parse_int_x_esm(pStrSlice.call(value, testCharsCount), octalRadix)); } if (hasNonWS2018(value) || isInvalidHexLiteral(value)) { return nan_x_esm; } - var trimmed = trim2018(value); + var trimmed = trim_x_esm(value); if (trimmed !== value) { return toNumber2018(trimmed); @@ -1491,7 +1528,9 @@ function toNumber2018(argument) { } return to_number_x_esm_castNumber(value); -} +}; + +/* harmony default export */ var to_number_x_esm = (to_number_x_esm_toNumber2018); // CONCATENATED MODULE: ./node_modules/infinity-x/dist/infinity-x.esm.js @@ -1513,9 +1552,11 @@ function toNumber2018(argument) { * @returns {boolean} A Boolean indicating whether or not the given value is a finite number. */ -function is_finite_x_esm_isFinite(number) { - return typeof number === 'number' && is_nan_x_esm_isNaN(number) === false && number !== infinity_x_esm && number !== -infinity_x_esm; -} +var is_finite_x_esm_isFinite = function isFinite(number) { + return typeof number === 'number' && is_nan_x_esm(number) === false && number !== infinity_x_esm && number !== -infinity_x_esm; +}; + +/* harmony default export */ var is_finite_x_esm = (is_finite_x_esm_isFinite); // CONCATENATED MODULE: ./node_modules/math-sign-x/dist/math-sign-x.esm.js @@ -1534,7 +1575,7 @@ function is_finite_x_esm_isFinite(number) { function sign2016(x) { var n = toNumber2016(x); - if (n === 0 || is_nan_x_esm_isNaN(n)) { + if (n === 0 || is_nan_x_esm(n)) { return n; } @@ -1550,15 +1591,17 @@ function sign2016(x) { * return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned. */ -function sign2018(x) { - var n = toNumber2018(x); +var math_sign_x_esm_sign2018 = function sign2018(x) { + var n = to_number_x_esm(x); - if (n === 0 || is_nan_x_esm_isNaN(n)) { + if (n === 0 || is_nan_x_esm(n)) { return n; } return n > 0 ? 1 : -1; -} +}; + +/* harmony default export */ var math_sign_x_esm = (math_sign_x_esm_sign2018); // CONCATENATED MODULE: ./node_modules/to-integer-x/dist/to-integer-x.esm.js @@ -1578,11 +1621,11 @@ var abs = Math.abs, function toInteger2016(value) { var number = toNumber2016(value); - if (is_nan_x_esm_isNaN(number)) { + if (is_nan_x_esm(number)) { return 0; } - if (number === 0 || is_finite_x_esm_isFinite(number) === false) { + if (number === 0 || is_finite_x_esm(number) === false) { return number; } @@ -1595,19 +1638,21 @@ function toInteger2016(value) { * @returns {number} Returns the converted integer. */ -function toInteger2018(value) { - var number = toNumber2018(value); +var to_integer_x_esm_toInteger2018 = function toInteger2018(value) { + var number = to_number_x_esm(value); - if (is_nan_x_esm_isNaN(number)) { + if (is_nan_x_esm(number)) { return 0; } - if (number === 0 || is_finite_x_esm_isFinite(number) === false) { + if (number === 0 || is_finite_x_esm(number) === false) { return number; } - return sign2018(number) * floor(abs(number)); -} + return math_sign_x_esm(number) * floor(abs(number)); +}; + +/* harmony default export */ var to_integer_x_esm = (to_integer_x_esm_toInteger2018); // EXTERNAL MODULE: ./node_modules/max-safe-integer/index.js @@ -1646,8 +1691,8 @@ function toLength2016(value) { * @returns {number} Returns the converted integer. */ -function toLength2018(value) { - var len = toInteger2018(value); // includes converting -0 to +0 +var to_length_x_esm_toLength2018 = function toLength2018(value) { + var len = to_integer_x_esm(value); // includes converting -0 to +0 if (len <= 0) { return 0; @@ -1658,7 +1703,9 @@ function toLength2018(value) { } return len; -} +}; + +/* harmony default export */ var to_length_x_esm = (to_length_x_esm_toLength2018); // CONCATENATED MODULE: ./node_modules/same-value-x/dist/same-value-x.esm.js @@ -1673,7 +1720,7 @@ function toLength2018(value) { * the same value. */ -function sameValue(value1, value2) { +var same_value_x_esm_sameValue = function sameValue(value1, value2) { if (value1 === 0 && value2 === 0) { return 1 / value1 === 1 / value2; } @@ -1682,8 +1729,10 @@ function sameValue(value1, value2) { return true; } - return is_nan_x_esm_isNaN(value1) && is_nan_x_esm_isNaN(value2); -} + return is_nan_x_esm(value1) && is_nan_x_esm(value2); +}; + +/* harmony default export */ var same_value_x_esm = (same_value_x_esm_sameValue); // CONCATENATED MODULE: ./node_modules/same-value-zero-x/dist/same-value-zero-x.esm.js @@ -1699,9 +1748,11 @@ function sameValue(value1, value2) { * are the same value. */ -function sameValueZero(x, y) { - return x === y || sameValue(x, y); -} +var same_value_zero_x_esm_sameValueZero = function sameValueZero(x, y) { + return x === y || same_value_x_esm(x, y); +}; + +/* harmony default export */ var same_value_zero_x_esm = (same_value_zero_x_esm_sameValueZero); // CONCATENATED MODULE: ./node_modules/to-string-symbols-supported-x/dist/to-string-symbols-supported-x.esm.js @@ -1724,9 +1775,11 @@ var to_string_symbols_supported_x_esm_castString = ''.constructor; * @returns {string} The converted value. */ -function toStringSymbolsSupported(value) { +var toStringSymbolsSupported = function toStringSymbolsSupported(value) { return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : to_string_symbols_supported_x_esm_castString(value); -} +}; + +/* harmony default export */ var to_string_symbols_supported_x_esm = (toStringSymbolsSupported); // CONCATENATED MODULE: ./node_modules/assert-is-function-x/dist/assert-is-function-x.esm.js @@ -1742,14 +1795,16 @@ function toStringSymbolsSupported(value) { * @returns {*} Returns `callback` if it is function. */ -function assertIsFunction(callback) { - if (isFunction(callback) === false) { - var msg = is_primitive_default()(callback) ? toStringSymbolsSupported(callback) : '#'; +var assert_is_function_x_esm_assertIsFunction = function assertIsFunction(callback) { + if (is_function_x_esm(callback) === false) { + var msg = is_primitive_default()(callback) ? to_string_symbols_supported_x_esm(callback) : '#'; throw new TypeError("".concat(msg, " is not a function")); } return callback; -} +}; + +/* harmony default export */ var assert_is_function_x_esm = (assert_is_function_x_esm_assertIsFunction); // CONCATENATED MODULE: ./node_modules/has-boxed-string-x/dist/has-boxed-string-x.esm.js @@ -1783,9 +1838,11 @@ var isStringFn = has_boxed_string_x_esm === false && typeof strSplit === 'functi * otherwise the value. */ -function splitIfBoxedBug(value) { +var splitIfBoxedBug = function splitIfBoxedBug(value) { return isStringFn && isStringFn(value) ? strSplit.call(value, split_if_boxed_bug_x_esm_EMPTY_STRING) : value; -} +}; + +/* harmony default export */ var split_if_boxed_bug_x_esm = (splitIfBoxedBug); // CONCATENATED MODULE: ./node_modules/find-index-x/dist/find-index-x.esm.js @@ -1805,7 +1862,7 @@ if (pFindIndex) { var testArr = []; testArr.length = 2; testArr[1] = 1; - var res = attempt.call(testArr, pFindIndex, function (item, idx) { + var res = attempt_x_esm.call(testArr, pFindIndex, function (item, idx) { find_index_x_esm_newArrowCheck(this, find_index_x_esm_this); return idx === 0; @@ -1813,7 +1870,7 @@ if (pFindIndex) { isWorking = res.threw === false && res.value === 0; if (isWorking) { - res = attempt.call(1, pFindIndex, function (item, idx) { + res = attempt_x_esm.call(1, pFindIndex, function (item, idx) { find_index_x_esm_newArrowCheck(this, find_index_x_esm_this); return idx === 0; @@ -1822,11 +1879,11 @@ if (pFindIndex) { } if (isWorking) { - isWorking = attempt.call([], pFindIndex).threw; + isWorking = attempt_x_esm.call([], pFindIndex).threw; } if (isWorking) { - res = attempt.call('abc', pFindIndex, function (item) { + res = attempt_x_esm.call('abc', pFindIndex, function (item) { find_index_x_esm_newArrowCheck(this, find_index_x_esm_this); return item === 'c'; @@ -1835,7 +1892,7 @@ if (pFindIndex) { } if (isWorking) { - res = attempt.call(function getArgs() { + res = attempt_x_esm.call(function getArgs() { /* eslint-disable-next-line prefer-rest-params */ return arguments; }('a', 'b', 'c'), pFindIndex, function (item) { @@ -1875,10 +1932,10 @@ if (isWorking) { }; } else { findIdx = function findIndex(array, callback) { - var object = toObject(array); - assertIsFunction(callback); - var iterable = splitIfBoxedBug(object); - var length = toLength2018(iterable.length); + var object = to_object_x_esm(array); + assert_is_function_x_esm(callback); + var iterable = split_if_boxed_bug_x_esm(object); + var length = to_length_x_esm(iterable.length); if (length < 1) { return -1; @@ -1919,15 +1976,17 @@ var fi = findIdx; * @returns {boolean} A Boolean indicating whether or not the given value is an integer. */ -function isInteger(value) { - return is_finite_x_esm_isFinite(value) && toInteger2018(value) === value; -} +var is_integer_x_esm_isInteger = function isInteger(value) { + return is_finite_x_esm(value) && to_integer_x_esm(value) === value; +}; +/* harmony default export */ var is_integer_x_esm = (is_integer_x_esm_isInteger); -// CONCATENATED MODULE: ./node_modules/is-safe-integer-x/dist/is-safe-integer-x.esm.js +// CONCATENATED MODULE: ./node_modules/is-safe-integer-x/dist/is-safe-integer-x.esm.js -var MIN_SAFE_INTEGER = -max_safe_integer_default.a; +var MAX_SAFE_INTEGER = 9007199254740991; +var MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER; /** * This method determines whether the passed value is a safe integer. * @@ -1940,9 +1999,11 @@ var MIN_SAFE_INTEGER = -max_safe_integer_default.a; * safe integer. */ -function isSafeInteger(value) { - return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= max_safe_integer_default.a; -} +var is_safe_integer_x_esm_isSafeInteger = function isSafeInteger(value) { + return is_integer_x_esm(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER; +}; + +/* harmony default export */ var is_safe_integer_x_esm = (is_safe_integer_x_esm_isSafeInteger); // CONCATENATED MODULE: ./node_modules/is-length-x/dist/is-length-x.esm.js @@ -1954,9 +2015,11 @@ function isSafeInteger(value) { * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. */ -function isLength(value) { - return isSafeInteger(value) && value >= 0; -} +var is_length_x_esm_isLength = function isLength(value) { + return is_safe_integer_x_esm(value) && value >= 0; +}; + +/* harmony default export */ var is_length_x_esm = (is_length_x_esm_isLength); // CONCATENATED MODULE: ./node_modules/is-array-like-x/dist/is-array-like-x.esm.js @@ -1971,9 +2034,11 @@ function isLength(value) { * @param {*} value - The object to be tested. */ -function isArrayLike(value) { - return isNil(value) === false && isFunction(value, true) === false && isLength(value.length); -} +var is_array_like_x_esm_isArrayLike = function isArrayLike(value) { + return is_nil_x_esm(value) === false && is_function_x_esm(value, true) === false && is_length_x_esm(value.length); +}; + +/* harmony default export */ var is_array_like_x_esm = (is_array_like_x_esm_isArrayLike); // CONCATENATED MODULE: ./node_modules/calculate-from-index-x/dist/calculate-from-index-x.esm.js @@ -1996,20 +2061,21 @@ var getMax = function getMax(a, b) { */ -function calcFromIndex(array, fromIndex) { - var object = toObject(array); +var calculate_from_index_x_esm_calcFromIndex = function calcFromIndex(array, fromIndex) { + var object = to_object_x_esm(array); - if (isArrayLike(object) === false) { + if (is_array_like_x_esm(object) === false) { return 0; } - var index = toInteger2018(fromIndex); - return index >= 0 ? index : getMax(0, toLength2018(object.length) + index); -} + var index = to_integer_x_esm(fromIndex); + return index >= 0 ? index : getMax(0, to_length_x_esm(object.length) + index); +}; + +/* harmony default export */ var calculate_from_index_x_esm = (calculate_from_index_x_esm_calcFromIndex); // CONCATENATED MODULE: ./dist/index-of-x.esm.js -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return indexOf; }); function index_of_x_esm_newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } @@ -2027,16 +2093,16 @@ var pIndexOf = typeof Array.prototype.indexOf === 'function' && Array.prototype. var index_of_x_esm_isWorking; if (pIndexOf) { - var index_of_x_esm_res = attempt.call([0, 1], pIndexOf, 1, 2); + var index_of_x_esm_res = attempt_x_esm.call([0, 1], pIndexOf, 1, 2); index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === -1; if (index_of_x_esm_isWorking) { - index_of_x_esm_res = attempt.call([0, 1], pIndexOf, 1); + index_of_x_esm_res = attempt_x_esm.call([0, 1], pIndexOf, 1); index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === 1; } if (index_of_x_esm_isWorking) { - index_of_x_esm_res = attempt.call([0, -0], pIndexOf, -0); + index_of_x_esm_res = attempt_x_esm.call([0, -0], pIndexOf, -0); index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === 0; } @@ -2048,17 +2114,17 @@ if (pIndexOf) { index_of_x_esm_testArr[1] = void 0; /* eslint-disable-next-line no-void */ - index_of_x_esm_res = attempt.call(index_of_x_esm_testArr, pIndexOf, void 0); + index_of_x_esm_res = attempt_x_esm.call(index_of_x_esm_testArr, pIndexOf, void 0); index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === 1; } if (index_of_x_esm_isWorking) { - index_of_x_esm_res = attempt.call('abc', pIndexOf, 'c'); + index_of_x_esm_res = attempt_x_esm.call('abc', pIndexOf, 'c'); index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === 2; } if (index_of_x_esm_isWorking) { - index_of_x_esm_res = attempt.call(function getArgs() { + index_of_x_esm_res = attempt_x_esm.call(function getArgs() { /* eslint-disable-next-line prefer-rest-params */ return arguments; }('a', 'b', 'c'), pIndexOf, 'c'); @@ -2069,7 +2135,7 @@ if (pIndexOf) { if (index_of_x_esm_isWorking !== true) { pIndexOf = function $pIndexOf(searchElement) { /* eslint-disable-next-line babel/no-invalid-this */ - var length = toLength2018(this.length); + var length = to_length_x_esm(this.length); if (length < 1) { return -1; @@ -2106,7 +2172,7 @@ if (index_of_x_esm_isWorking !== true) { var findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extendFn) { var fIdx = fromIndex; - var length = toLength2018(array.length); + var length = to_length_x_esm(array.length); while (fIdx < length) { if (fIdx in array && extendFn(array[fIdx], searchElement)) { @@ -2140,12 +2206,12 @@ var findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extend // eslint-enable jsdoc/check-param-names -function indexOf(array, searchElement) { +var index_of_x_esm_indexOf = function indexOf(array, searchElement) { var _this = this; - var object = toObject(array); - var iterable = splitIfBoxedBug(object); - var length = toLength2018(iterable.length); + var object = to_object_x_esm(array); + var iterable = split_if_boxed_bug_x_esm(object); + var length = to_length_x_esm(iterable.length); if (length < 1) { return -1; @@ -2161,18 +2227,18 @@ function indexOf(array, searchElement) { extend = extend.toLowerCase(); if (extend === 'samevalue') { - extendFn = sameValue; + extendFn = same_value_x_esm; } else if (extend === 'samevaluezero') { - extendFn = sameValueZero; + extendFn = same_value_zero_x_esm; } } var fromIndex = 0; - if (extendFn && (searchElement === 0 || is_nan_x_esm_isNaN(searchElement))) { + if (extendFn && (searchElement === 0 || is_nan_x_esm(searchElement))) { if (argLength > 3) { /* eslint-disable-next-line prefer-rest-params */ - fromIndex = calcFromIndex(iterable, arguments[2]); + fromIndex = calculate_from_index_x_esm(iterable, arguments[2]); if (fromIndex >= length) { return -1; @@ -2194,9 +2260,9 @@ function indexOf(array, searchElement) { }.bind(this)); } - if (argLength > 3 || argLength > 2 && isFalsey(extendFn)) { + if (argLength > 3 || argLength > 2 && is_falsey_x_esm(extendFn)) { /* eslint-disable-next-line prefer-rest-params */ - fromIndex = calcFromIndex(iterable, arguments[2]); + fromIndex = calculate_from_index_x_esm(iterable, arguments[2]); if (fromIndex >= length) { return -1; @@ -2208,7 +2274,9 @@ function indexOf(array, searchElement) { } return pIndexOf.call(iterable, searchElement, fromIndex); -} +}; + +/* harmony default export */ var index_of_x_esm = __webpack_exports__["default"] = (index_of_x_esm_indexOf); diff --git a/dist/index-of-x.js.map b/dist/index-of-x.js.map index 3f09f71..f07bb22 100644 --- a/dist/index-of-x.js.map +++ b/dist/index-of-x.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://indexOfX/webpack/universalModuleDefinition","webpack://indexOfX/webpack/bootstrap","webpack://indexOfX/./node_modules/is-symbol/index.js","webpack://indexOfX/./node_modules/is-primitive/index.js","webpack://indexOfX/./node_modules/max-safe-integer/index.js","webpack://indexOfX/./node_modules/is-string/index.js","webpack://indexOfX/./node_modules/is-date-object/index.js","webpack://indexOfX/./node_modules/has-symbols/index.js","webpack://indexOfX/(webpack)/buildin/global.js","webpack://indexOfX/./node_modules/has-symbols/shams.js","webpack://indexOfX/../src/is-nan-x.js","webpack://indexOfX/../src/to-boolean-x.js","webpack://indexOfX/../src/is-falsey-x.js","webpack://indexOfX/../src/is-nil-x.js","webpack://indexOfX/../src/require-object-coercible-x.js","webpack://indexOfX/../src/to-object-x.js","webpack://indexOfX/../src/attempt-x.js","webpack://indexOfX/../src/has-symbol-support-x.js","webpack://indexOfX/../src/to-string-tag-x.js","webpack://indexOfX/../src/has-to-string-tag-x.js","webpack://indexOfX/../src/to-string-x.js","webpack://indexOfX/../src/require-coercible-to-string-x.js","webpack://indexOfX/../src/white-space-x.js","webpack://indexOfX/../src/trim-left-x.js","webpack://indexOfX/../src/trim-right-x.js","webpack://indexOfX/../src/trim-x.js","webpack://indexOfX/../src/normalize-space-x.js","webpack://indexOfX/../src/replace-comments-x.js","webpack://indexOfX/../src/is-function-x.js","webpack://indexOfX/../src/to-primitive-x.js","webpack://indexOfX/../src/nan-x.js","webpack://indexOfX/../src/parse-int-x.js","webpack://indexOfX/../src/to-number-x.js","webpack://indexOfX/../src/infinity-x.js","webpack://indexOfX/../src/is-finite-x.js","webpack://indexOfX/../src/math-sign-x.js","webpack://indexOfX/../src/to-integer-x.js","webpack://indexOfX/../src/to-length-x.js","webpack://indexOfX/../src/same-value-x.js","webpack://indexOfX/../src/same-value-zero-x.js","webpack://indexOfX/../src/to-string-symbols-supported-x.js","webpack://indexOfX/../src/assert-is-function-x.js","webpack://indexOfX/../src/has-boxed-string-x.js","webpack://indexOfX/../src/split-if-boxed-bug-x.js","webpack://indexOfX/../src/find-index-x.js","webpack://indexOfX/../src/is-integer-x.js","webpack://indexOfX/../src/is-safe-integer-x.js","webpack://indexOfX/../src/is-length-x.js","webpack://indexOfX/../src/is-array-like-x.js","webpack://indexOfX/../src/calculate-from-index-x.js","webpack://indexOfX/../src/index-of-x.js"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,CAAC;AACD,O;AC1BA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;AClFa;;AAEb;AACA,iBAAiB,mBAAO,CAAC,CAAa;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,SAAS,MAAK,IAAI,KAAK;AACvB;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACda;AACb;;;;;;;;ACDa;;AAEb;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iCAAiC,aAAa;AAC9C,iCAAiC,cAAc;AAC/C;AACA;;;;;;;;ACnBa;;AAEb;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mDAAmD,cAAc;AACjE;AACA;;;;;;;;ACnBA,8CAAa;;AAEb;AACA,oBAAoB,mBAAO,CAAC,CAAS;;AAErC;AACA,wCAAwC,cAAc;AACtD,oCAAoC,cAAc;AAClD,6CAA6C,cAAc;AAC3D,yCAAyC,cAAc;;AAEvD;AACA;;;;;;;;ACZA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C;;;;;;;;ACnBa;;AAEb;AACA;AACA,0FAA0F,cAAc;AACxG,2CAA2C,aAAa;;AAExD;AACA;AACA;AACA,+BAA+B,cAAc;;AAE7C,iEAAiE,cAAc;AAC/E,oEAAoE,cAAc;;AAElF;AACA,gCAAgC,cAAc;AAC9C;AACA,sCAAsC,cAAc;;AAEpD,0DAA0D,cAAc;AACxE,8DAA8D,cAAc;;AAE5E;AACA;AACA,mBAAmB,cAAc,EAAE;AACnC,0EAA0E,cAAc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,eAAO,CAAC,CAAR;AACD;;AAED,UAAI,SAAS,GAAG,CAAhB,EAAmB;AACjB,iBAAS,GAAG,CAAZ;AACD;AACF;;AAED,QAAI,SAAS,GAAG,CAAhB,EAAmB;AACjB,aAAO,WAAW,CAAC,QAAD,EAAW,aAAX,EAA0B,SAA1B,EAAqC,QAArC,CAAlB;AACD;;AAED,WAAO,gBAAS,CAAC,QAAD,EAAW,UAAC,OAAD,EAAU,KAAV,EAAoB;AAAA;;AAC7C,aAAO,KAAK,IAAI,QAAT,IAAqB,QAAQ,CAAC,aAAD,EAAgB,OAAhB,CAApC;AACD,KAFe,YAAhB;AAGD;;AAED,MAAI,SAAS,GAAG,CAAZ,IAAkB,SAAS,GAAG,CAAZ,IAAiB,QAAQ,CAAC,QAAD,CAA/C,EAA4D;AAC1D;AACA,aAAS,GAAG,aAAa,CAAC,QAAD,EAAW,SAAS,CAAC,CAAD,CAApB,CAAzB;;AAEA,QAAI,SAAS,IAAI,MAAjB,EAAyB;AACvB,aAAO,CAAC,CAAR;AACD;;AAED,QAAI,SAAS,GAAG,CAAhB,EAAmB;AACjB,eAAS,GAAG,CAAZ;AACD;AACF;;AAED,SAAO,QAAQ,CAAC,IAAT,CAAc,QAAd,EAAwB,aAAxB,EAAuC,SAAvC,CAAP;AACD","file":"index-of-x.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"indexOfX\"] = factory();\n\telse\n\t\troot[\"indexOfX\"] = factory();\n})((function () {\n 'use strict';\n\n if (typeof self !== 'undefined') {\n return self;\n }\n\n if (typeof window !== 'undefined') {\n return window;\n }\n\n if (typeof global !== 'undefined') {\n return global;\n }\n\n return Function('return this')();\n}()), function() {\nreturn "," \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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","/*!\n * is-primitive \n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function isPrimitive(val) {\n if (typeof val === 'object') {\n return val === null;\n }\n return typeof val !== 'function';\n};\n","'use strict';\nmodule.exports = 9007199254740991;\n","'use strict';\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') { return true; }\n\tif (typeof value !== 'object') { return false; }\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateObject(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) { return false; }\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","'use strict';\n\nvar origSymbol = global.Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\n\n/* eslint complexity: [2, 17], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","/**\n * This method determines whether the passed value is NaN and its type is\n * `Number`. It is a more robust version of the original, global isNaN().\n *\n * @param {*} [value] - The value to be tested for NaN.\n * @returns {boolean} `true` if the given value is NaN and its type is Number;\n * otherwise, `false`.\n */\nexport default function isNaN(value) {\n /* eslint-disable-next-line no-self-compare */\n return value !== value;\n}\n","/**\n * The abstract operation ToBoolean converts argument to a value of type Boolean.\n *\n * @param {*} [value] - The value to be converted.\n * @returns {boolean} 'true' if value is truthy; otherwise 'false'.\n */\nexport default function toBoolean(value) {\n return !!value;\n}\n","import toBoolean from 'to-boolean-x';\n\n/**\n * This method tests if a given value is falsey.\n *\n * @param {*} [value] - The value to test.\n * @returns {boolean} `true` if the value is falsey: otherwise `false`.\n */\nexport default function isFalsey(value) {\n return !toBoolean(value);\n}\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n */\nexport default function isNil(value) {\n /* eslint-disable-next-line lodash/prefer-is-nil */\n return value === null || typeof value === 'undefined';\n}\n","import isNil from 'is-nil-x';\n\n/**\n * The abstract operation RequireObjectCoercible throws an error if argument\n * is a value that cannot be converted to an Object using ToObject.\n *\n * @param {*} [value] - The `value` to check.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {string} The `value`.\n */\nexport default function requireObjectCoercible(value) {\n if (isNil(value)) {\n throw new TypeError(`Cannot call method on ${value}`);\n }\n\n return value;\n}\n","import requireObjectCoercible from 'require-object-coercible-x';\n\nconst castObject = {}.constructor;\n\n/**\n * The abstract operation ToObject converts argument to a value of\n * type Object.\n *\n * @param {*} value - The `value` to convert.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {!object} The `value` converted to an object.\n */\nexport default function toObject(value) {\n return castObject(requireObjectCoercible(value));\n}\n","/**\n * This method attempts to invoke the function, returning either the result or\n * the caught error object. Any additional arguments are provided to the\n * function when it's invoked.\n *\n * @param {Function} [fn] - The function to attempt.\n * @param {...*} [args] - The arguments to invoke the function with.\n * @returns {object} Returns an object of the result.\n */\nexport default function attempt(fn, ...args) {\n try {\n return {\n threw: false,\n /* eslint-disable-next-line babel/no-invalid-this */\n value: fn.apply(this, args),\n };\n } catch (e) {\n return {\n threw: true,\n value: e,\n };\n }\n}\n","import attempt from 'attempt-x';\nimport isSymbol from 'is-symbol';\n\nconst hasSymbolSupport = attempt(() => {\n /* eslint-disable-next-line compat/compat */\n return typeof Symbol === 'function' && isSymbol(Symbol(''));\n});\n\n/**\n * Indicates if `Symbol`exists and creates the correct type.\n * `true`, if it exists and creates the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbolSupport.threw === false && hasSymbolSupport.value === true;\n","const nativeObjectToString = {}.toString;\n\n/**\n * The `toStringTag` method returns \"[object type]\", where type is the\n * object type.\n *\n * @param {*} [value] - The object of which to get the object type string.\n * @returns {string} The object type string.\n */\nexport default function toStringTag(value) {\n if (value === null) {\n return '[object Null]';\n }\n\n if (typeof value === 'undefined') {\n return '[object Undefined]';\n }\n\n return nativeObjectToString.call(value);\n}\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/**\n * Indicates if `Symbol.toStringTag`exists and is the correct type.\n * `true`, if it exists and is the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbols &&\n /* eslint-disable-next-line compat/compat */\n isSymbol(Symbol.toStringTag);\n","import isSymbol from 'is-symbol';\n\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a string';\nconst castString = ERROR_MESSAGE.constructor;\n/**\n * The abstract operation ToString converts argument to a value of type String.\n *\n * @param {*} [value] - The value to convert to a string.\n * @throws {TypeError} If `value` is a Symbol.\n * @returns {string} The converted value.\n */\nexport default function ToString(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return castString(value);\n}\n","import requireObjectCoercible from 'require-object-coercible-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method requires an argument is corecible then converts using ToString.\n *\n * @param {*} [value] - The value to converted to a string.\n * @throws {TypeError} If value is null or undefined.\n * @returns {string} The value as a string.\n */\nexport default function requireCoercibleToString(value) {\n return toStr(requireObjectCoercible(value));\n}\n","/**\n * A record of a white space character.\n *\n * @typedef {object} CharRecord\n * @property {number} code - The character code.\n * @property {string} description - A description of the character.\n * @property {boolean} es5 - Whether the spec lists this as a white space.\n * @property {boolean} es2015 - Whether the spec lists this as a white space.\n * @property {boolean} es2016 - Whether the spec lists this as a white space.\n * @property {boolean} es2017 - Whether the spec lists this as a white space.\n * @property {boolean} es2018 - Whether the spec lists this as a white space.\n * @property {string} string - The character string.\n */\n\n/**\n * An array of the whitespace char codes, string, descriptions and language\n * presence in the specifications.\n *\n * @type Array.\n */\nexport const list = [\n {\n code: 0x0009,\n description: 'Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0009',\n },\n {\n code: 0x000a,\n description: 'Line Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000a',\n },\n {\n code: 0x000b,\n description: 'Vertical Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000b',\n },\n {\n code: 0x000c,\n description: 'Form Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000c',\n },\n {\n code: 0x000d,\n description: 'Carriage Return',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000d',\n },\n {\n code: 0x0020,\n description: 'Space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0020',\n },\n /*\n {\n code: 0x0085,\n description: 'Next line',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u0085'\n }\n */\n {\n code: 0x00a0,\n description: 'No-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u00a0',\n },\n {\n code: 0x1680,\n description: 'Ogham space mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u1680',\n },\n {\n code: 0x180e,\n description: 'Mongolian vowel separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: false,\n es2018: false,\n string: '\\u180e',\n },\n {\n code: 0x2000,\n description: 'En quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2000',\n },\n {\n code: 0x2001,\n description: 'Em quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2001',\n },\n {\n code: 0x2002,\n description: 'En space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2002',\n },\n {\n code: 0x2003,\n description: 'Em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2003',\n },\n {\n code: 0x2004,\n description: 'Three-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2004',\n },\n {\n code: 0x2005,\n description: 'Four-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2005',\n },\n {\n code: 0x2006,\n description: 'Six-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2006',\n },\n {\n code: 0x2007,\n description: 'Figure space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2007',\n },\n {\n code: 0x2008,\n description: 'Punctuation space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2008',\n },\n {\n code: 0x2009,\n description: 'Thin space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2009',\n },\n {\n code: 0x200a,\n description: 'Hair space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u200a',\n },\n /*\n {\n code: 0x200b,\n description: 'Zero width space',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u200b'\n },\n */\n {\n code: 0x2028,\n description: 'Line separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2028',\n },\n {\n code: 0x2029,\n description: 'Paragraph separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2029',\n },\n {\n code: 0x202f,\n description: 'Narrow no-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u202f',\n },\n {\n code: 0x205f,\n description: 'Medium mathematical space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u205f',\n },\n {\n code: 0x3000,\n description: 'Ideographic space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u3000',\n },\n {\n code: 0xfeff,\n description: 'Byte Order Mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\ufeff',\n },\n];\n\n/**\n * A string of the ES5 to ES2016 whitespace characters.\n *\n * @type string\n */\nlet stringES2016 = '';\n\n/**\n * A string of the ES2017 to ES2018 whitespace characters.\n *\n * @type string\n */\nlet stringES2018 = '';\nconst {length} = list;\nfor (let i = 0; i < length; i += 1) {\n if (list[i].es2016) {\n stringES2016 += list[i].string;\n }\n\n if (list[i].es2018) {\n stringES2018 += list[i].string;\n }\n}\n\nconst string2018 = stringES2018;\n\nexport default string2018;\nexport const string2016 = stringES2016;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reLeft2016 = new RegExpCtr(`^[${string2016}]+`);\nconst reLeft = new RegExpCtr(`^[${whiteSpace}]+`);\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method removes whitespace from the left end of a string. (ES2016).\n *\n * @param {string} [string] - The string to trim the left end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The left trimmed string.\n */\nexport function trimLeft2016(string) {\n return replace.call(requireCoercibleToString(string), reLeft2016, EMPTY_STRING);\n}\n\n/**\n * This method removes whitespace from the left end of a string. (ES2018).\n *\n * @param {string} [string] - The string to trim the left end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The left trimmed string.\n */\nexport default function trimLeft2018(string) {\n return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING);\n}\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reRight2016 = new RegExpCtr(`[${string2016}]+$`);\nconst reRight2018 = new RegExpCtr(`[${whiteSpace}]+$`);\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method removes whitespace from the right end of a string. (ES2016).\n *\n * @param {string} [string] - The string to trim the right end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The right trimmed string.\n */\nexport function trimRight2016(string) {\n return replace.call(requireCoercibleToString(string), reRight2016, EMPTY_STRING);\n}\n\n/**\n * This method removes whitespace from the right end of a string. (ES2018).\n *\n * @param {string} [string] - The string to trim the right end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The right trimmed string.\n */\nexport default function trimRight2018(string) {\n return replace.call(requireCoercibleToString(string), reRight2018, EMPTY_STRING);\n}\n","import trimLeft, {trimLeft2016} from 'trim-left-x';\nimport trimRight, {trimRight2016} from 'trim-right-x';\n\n/**\n * This method removes whitespace from the left and right end of a string.\n * (ES2016).\n *\n * @param {string} [string] - The string to trim the whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The trimmed string.\n */\nexport function trim2016(string) {\n return trimLeft2016(trimRight2016(string));\n}\n\n/**\n * This method removes whitespace from the left and right end of a string.\n * (ES2018).\n *\n * @param {string} [string] - The string to trim the whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The trimmed string.\n */\nexport default function trim2018(string) {\n return trimLeft(trimRight(string));\n}\n","import trim, {trim2016} from 'trim-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst SPACE = ' ';\nconst RegExpCtr = /none/.constructor;\nconst reNormalize2016 = new RegExpCtr(`[${string2016}]+`, 'g');\nconst reNormalize2018 = new RegExpCtr(`[${whiteSpace}]+`, 'g');\nconst {replace} = SPACE;\n\n/**\n * This method strips leading and trailing white-space from a string,\n * replaces sequences of whitespace characters by a single space,\n * and returns the resulting string. (ES2016).\n *\n * @param {string} [string] - The string to be normalized.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The normalized string.\n */\nexport function normalizeSpace2016(string) {\n return replace.call(trim2016(string), reNormalize2016, SPACE);\n}\n\n/**\n * This method strips leading and trailing white-space from a string,\n * replaces sequences of whitespace characters by a single space,\n * and returns the resulting string. (ES2018).\n *\n * @param {string} [string] - The string to be normalized.\n * @throws {TypeError} If string is null or undefined or not coercible.\n */\nexport default function normalizeSpace2018(string) {\n return replace.call(trim(string), reNormalize2018, SPACE);\n}\n","import toStr from 'to-string-x';\nimport requireCoercibleToString from 'require-coercible-to-string-x';\n\nconst EMPTY_STRING = '';\nconst STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/gm;\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method replaces comments in a string.\n *\n * @param {string} [string] - The string to be stripped.\n * @param {string} [replacement=''] - The string to be used as a replacement.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @throws {TypeError} If replacement is not coercible.\n * @returns {string} The new string with the comments replaced.\n */\nexport default function replaceComments(string, replacement) {\n return replace.call(requireCoercibleToString(string), STRIP_COMMENTS, arguments.length > 1 ? toStr(replacement) : EMPTY_STRING);\n}\n","import attempt from 'attempt-x';\nimport toBoolean from 'to-boolean-x';\nimport isFalsey from 'is-falsey-x';\nimport toStringTag from 'to-string-tag-x';\nimport hasToStringTag from 'has-to-string-tag-x';\nimport isPrimitive from 'is-primitive';\nimport normalise from 'normalize-space-x';\nimport deComment from 'replace-comments-x';\n\nconst SPACE = ' ';\nconst fToString = Function.prototype.toString;\nconst funcTag = '[object Function]';\nconst genTag = '[object GeneratorFunction]';\nconst asyncTag = '[object AsyncFunction]';\nconst ctrRx = /^class /;\nconst {test} = ctrRx;\n\nconst hasNativeClass =\n attempt(() => {\n /* eslint-disable-next-line no-new-func */\n return Function('\"use strict\"; return class My {};')();\n }).threw === false;\n\nconst testClassstring = function _testClassstring(value) {\n return test.call(ctrRx, normalise(deComment(fToString.call(value), SPACE)));\n};\n\nconst isES6ClassFn = function isES6ClassFunc(value) {\n const result = attempt(testClassstring, value);\n\n return result.threw === false && result.value;\n};\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @private\n * @param {*} value - The value to check.\n * @param {boolean} allowClass - Whether to filter ES6 classes.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n */\nconst tryFuncToString = function funcToString(value, allowClass) {\n if (hasNativeClass && allowClass === false && isES6ClassFn(value)) {\n return false;\n }\n\n return attempt.call(value, fToString).threw === false;\n};\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @param {*} value - The value to check.\n * @param {boolean} [allowClass=false] - Whether to filter ES6 classes.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n */\nexport default function isFunction(value, allowClass) {\n if (isPrimitive(value)) {\n return false;\n }\n\n if (hasToStringTag) {\n return tryFuncToString(value, toBoolean(allowClass));\n }\n\n if (hasNativeClass && isFalsey(allowClass) && isES6ClassFn(value)) {\n return false;\n }\n\n const strTag = toStringTag(value);\n\n return strTag === funcTag || strTag === genTag || strTag === asyncTag;\n}\n","import hasSymbols from 'has-symbol-support-x';\nimport isPrimitive from 'is-primitive';\nimport isDate from 'is-date-object';\nimport isSymbol from 'is-symbol';\nimport isFunction from 'is-function-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport isNil from 'is-nil-x';\n\nconst ZERO = 0;\nconst ONE = 1;\n/* eslint-disable-next-line no-void */\nconst UNDEFINED = void ZERO;\nconst NUMBER = 'number';\nconst STRING = 'string';\nconst DEFAULT = 'default';\n/** @type {StringConstructor} */\nconst StringCtr = STRING.constructor;\n/** @type {NumberConstructor} */\nconst NumberCtr = ZERO.constructor;\n/* eslint-disable-next-line compat/compat */\nconst symToPrimitive = hasSymbols && Symbol.toPrimitive;\n/* eslint-disable-next-line compat/compat */\nconst symValueOf = hasSymbols && Symbol.prototype.valueOf;\n\nconst toStringOrder = ['toString', 'valueOf'];\nconst toNumberOrder = ['valueOf', 'toString'];\nconst orderLength = 2;\n\n/**\n * @param {*} ordinary - The ordinary to convert.\n * @param {*} hint - The hint.\n * @returns {*} - The primitive.\n */\nconst ordinaryToPrimitive = function _ordinaryToPrimitive(ordinary, hint) {\n requireObjectCoercible(ordinary);\n\n if (typeof hint !== 'string' || (hint !== NUMBER && hint !== STRING)) {\n throw new TypeError('hint must be \"string\" or \"number\"');\n }\n\n const methodNames = hint === STRING ? toStringOrder : toNumberOrder;\n let method;\n let result;\n for (let i = ZERO; i < orderLength; i += ONE) {\n method = ordinary[methodNames[i]];\n\n if (isFunction(method)) {\n result = method.call(ordinary);\n\n if (isPrimitive(result)) {\n return result;\n }\n }\n }\n\n throw new TypeError('No default value');\n};\n\n/**\n * @param {*} object - The object.\n * @param {*} property - The property.\n * @returns {undefined|Function} - The method.\n */\nconst getMethod = function _getMethod(object, property) {\n const func = object[property];\n\n if (isNil(func) === false) {\n if (isFunction(func) === false) {\n throw new TypeError(`${func} returned for property ${property} of object ${object} is not a function`);\n }\n\n return func;\n }\n\n return UNDEFINED;\n};\n\n/**\n * Get the hint.\n *\n * @param {*} value - The value to compare.\n * @param {boolean} supplied - Was a value supplied.\n * @returns {string} - The hint string.\n */\nconst getHint = function getHint(value, supplied) {\n if (supplied) {\n if (value === StringCtr) {\n return STRING;\n }\n\n if (value === NumberCtr) {\n return NUMBER;\n }\n }\n\n return DEFAULT;\n};\n\n/**\n * Get the primitive from the exotic.\n *\n * @param {*} value - The exotic.\n * @returns {*} - The primitive.\n */\nconst getExoticToPrim = function getExoticToPrim(value) {\n if (hasSymbols) {\n if (symToPrimitive) {\n return getMethod(value, symToPrimitive);\n }\n\n if (isSymbol(value)) {\n return symValueOf;\n }\n }\n\n return UNDEFINED;\n};\n\n/**\n * This method converts a JavaScript object to a primitive value.\n * Note: When toPrimitive is called with no hint, then it generally behaves as\n * if the hint were Number. However, objects may over-ride this behaviour by\n * defining a @@toPrimitive method. Of the objects defined in this specification\n * only Date objects (see 20.3.4.45) and Symbol objects (see 19.4.3.4) over-ride\n * the default ToPrimitive behaviour. Date objects treat no hint as if the hint\n * were String.\n *\n * @param {*} input - The input to convert.\n * @param {NumberConstructor|StringConstructor} [preferredType] - The preferred type (String or Number).\n * @throws {TypeError} If unable to convert input to a primitive.\n * @returns {string|number} The converted input as a primitive.\n * @see {http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive}\n */\nexport default function toPrimitive(input, preferredType) {\n if (isPrimitive(input)) {\n return input;\n }\n\n const hint = getHint(preferredType, arguments.length > ONE);\n const exoticToPrim = getExoticToPrim(input);\n\n if (typeof exoticToPrim !== 'undefined') {\n const result = exoticToPrim.call(input, hint);\n\n if (isPrimitive(result)) {\n return result;\n }\n\n throw new TypeError('unable to convert exotic object to primitive');\n }\n\n const newHint = hint === DEFAULT && (isDate(input) || isSymbol(input)) ? STRING : hint;\n\n return ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint);\n}\n","/**\n * The constant NaN derived mathematically by 0 / 0.\n *\n * @type number\n */\nexport default 0 / 0;\n","import NAN from 'nan-x';\nimport toStr from 'to-string-x';\nimport trimLeft, {trimLeft2016} from 'trim-left-x';\n\nconst nativeParseInt = parseInt;\n/** @type {Function} */\nconst castNumber = (0).constructor;\n// noinspection JSPotentiallyInvalidConstructorUsage\nconst {charAt} = '';\nconst hexRegex = /^[-+]?0[xX]/;\nconst {test} = hexRegex;\n\n/**\n * This method parses a string argument and returns an integer of the specified\n * radix (the base in mathematical numeral systems). (ES2016).\n *\n * @param {string} [string] - The value to parse. If the string argument is not a\n * string, then it is converted to a string (using the ToString abstract\n * operation). Leading whitespace in the string argument is ignored.\n * @param {number} [radix] - An integer between 2 and 36 that represents the radix\n * (the base in mathematical numeral systems) of the above mentioned string.\n * Specify 10 for the decimal numeral system commonly used by humans. Always\n * specify this parameter to eliminate reader confusion and to guarantee\n * predictable behavior. Different implementations produce different results\n * when a radix is not specified, usually defaulting the value to 10.\n * @throws {TypeError} If target is a Symbol or is not coercible.\n * @returns {number} An integer number parsed from the given string. If the first\n * character cannot be converted to a number, NaN is returned.\n */\nexport function parseInt2016(string, radix) {\n const str = trimLeft2016(toStr(string));\n\n return nativeParseInt(str, castNumber(radix) || (test.call(hexRegex, str) ? 16 : 10));\n}\n\n/**\n * This method parses a string argument and returns an integer of the specified\n * radix (the base in mathematical numeral systems). (ES2018).\n *\n * @param {string} [string] - The value to parse. If the string argument is not a\n * string, then it is converted to a string (using the ToString abstract\n * operation). Leading whitespace in the string argument is ignored.\n * @param {number} [radix] - An integer between 2 and 36 that represents the radix\n * (the base in mathematical numeral systems) of the above mentioned string.\n * Specify 10 for the decimal numeral system commonly used by humans. Always\n * specify this parameter to eliminate reader confusion and to guarantee\n * predictable behavior. Different implementations produce different results\n * when a radix is not specified, usually defaulting the value to 10.\n * @throws {TypeError} If target is a Symbol or is not coercible.\n * @returns {number} An integer number parsed from the given string. If the first\n * character cannot be converted to a number, NaN is returned.\n */\nexport default function parseInt2018(string, radix) {\n const str = trimLeft(toStr(string));\n\n if (charAt.call(str, 0) === '\\u180E') {\n return NAN;\n }\n\n return nativeParseInt(str, castNumber(radix) || (test.call(hexRegex, str) ? 16 : 10));\n}\n","import isSymbol from 'is-symbol';\nimport toPrimitive from 'to-primitive-x';\nimport trim, {trim2016} from 'trim-x';\nimport $parseInt, {parseInt2016} from 'parse-int-x';\nimport NAN from 'nan-x';\n\nconst binaryRadix = 2;\nconst octalRadix = 8;\nconst testCharsCount = 2;\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a number';\n\n/** @type {NumberConstructor} */\nconst castNumber = testCharsCount.constructor;\nconst pStrSlice = ERROR_MESSAGE.slice;\n\nconst binaryRegex = /^0b[01]+$/i;\nconst RegExpConstructor = binaryRegex.constructor;\n// Note that in IE 8, RegExp.prototype.test doesn't seem to exist: ie, \"test\" is\n// an own property of regexes. wtf.\nconst {test} = binaryRegex;\nconst isBinary = function _isBinary(value) {\n return test.call(binaryRegex, value);\n};\n\nconst octalRegex = /^0o[0-7]+$/i;\nconst isOctal = function _isOctal(value) {\n return test.call(octalRegex, value);\n};\n\nconst nonWSregex2016 = new RegExpConstructor('[\\u0085\\u200b\\ufffe]', 'g');\nconst hasNonWS2016 = function _hasNonWS(value) {\n return test.call(nonWSregex2016, value);\n};\n\nconst nonWSregex2018 = new RegExpConstructor('[\\u0085\\u180e\\u200b\\ufffe]', 'g');\nconst hasNonWS2018 = function _hasNonWS(value) {\n return test.call(nonWSregex2018, value);\n};\n\nconst invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i;\nconst isInvalidHexLiteral = function _isInvalidHexLiteral(value) {\n return test.call(invalidHexLiteral, value);\n};\n\n/**\n * This method converts argument to a value of type Number. (ES2016).\n *\n * @param {*} [argument] - The argument to convert to a number.\n * @throws {TypeError} - If argument is a Symbol or not coercible.\n * @returns {*} The argument converted to a number.\n */\nexport function toNumber2016(argument) {\n const value = toPrimitive(argument, Number);\n\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n if (typeof value === 'string') {\n if (isBinary(value)) {\n return toNumber2016(parseInt2016(pStrSlice.call(value, testCharsCount), binaryRadix));\n }\n\n if (isOctal(value)) {\n return toNumber2016(parseInt2016(pStrSlice.call(value, testCharsCount), octalRadix));\n }\n\n if (hasNonWS2016(value) || isInvalidHexLiteral(value)) {\n return NAN;\n }\n\n const trimmed = trim2016(value);\n\n if (trimmed !== value) {\n return toNumber2016(trimmed);\n }\n }\n\n return castNumber(value);\n}\n\n/**\n * This method converts argument to a value of type Number. (ES2018).\n *\n * @param {*} [argument] - The argument to convert to a number.\n * @throws {TypeError} - If argument is a Symbol or not coercible.\n * @returns {*} The argument converted to a number.\n */\nexport default function toNumber2018(argument) {\n const value = toPrimitive(argument, castNumber);\n\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n if (typeof value === 'string') {\n if (isBinary(value)) {\n return toNumber2018($parseInt(pStrSlice.call(value, testCharsCount), binaryRadix));\n }\n\n if (isOctal(value)) {\n return toNumber2018($parseInt(pStrSlice.call(value, testCharsCount), octalRadix));\n }\n\n if (hasNonWS2018(value) || isInvalidHexLiteral(value)) {\n return NAN;\n }\n\n const trimmed = trim(value);\n\n if (trimmed !== value) {\n return toNumber2018(trimmed);\n }\n }\n\n return castNumber(value);\n}\n","/**\n * The constant value Infinity derived mathematically by 1 / 0.\n *\n * @type number\n */\nexport default 1 / 0;\n","import numberIsNaN from 'is-nan-x';\nimport INFINITY from 'infinity-x';\n\n/**\n * This method determines whether the passed value is a finite number.\n *\n * @param {*} [number] - The value to be tested for finiteness.\n * @returns {boolean} A Boolean indicating whether or not the given value is a finite number.\n */\nexport default function isFinite(number) {\n return typeof number === 'number' && numberIsNaN(number) === false && number !== INFINITY && number !== -INFINITY;\n}\n","import toNumber, {toNumber2016} from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\n\n/**\n * This method returns the sign of a number, indicating whether the number is positive,\n * negative or zero. (ES2016).\n *\n * @param {*} x - A number.\n * @returns {number} A number representing the sign of the given argument. If the argument\n * is a positive number, negative number, positive zero or negative zero, the function will\n * return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned.\n */\nexport function sign2016(x) {\n const n = toNumber2016(x);\n\n if (n === 0 || numberIsNaN(n)) {\n return n;\n }\n\n return n > 0 ? 1 : -1;\n}\n\n/**\n * This method returns the sign of a number, indicating whether the number is positive,\n * negative or zero. (ES2018).\n *\n * @param {*} x - A number.\n * @returns {number} A number representing the sign of the given argument. If the argument\n * is a positive number, negative number, positive zero or negative zero, the function will\n * return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned.\n */\nexport default function sign2018(x) {\n const n = toNumber(x);\n\n if (n === 0 || numberIsNaN(n)) {\n return n;\n }\n\n return n > 0 ? 1 : -1;\n}\n","import toNumber, {toNumber2016} from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\nimport numberIsFinite from 'is-finite-x';\nimport mathSign, {sign2016} from 'math-sign-x';\n\nconst {abs, floor} = Math;\n\n/**\n * Converts `value` to an integer. (ES2016).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport function toInteger2016(value) {\n const number = toNumber2016(value);\n\n if (numberIsNaN(number)) {\n return 0;\n }\n\n if (number === 0 || numberIsFinite(number) === false) {\n return number;\n }\n\n return sign2016(number) * floor(abs(number));\n}\n\n/**\n * Converts `value` to an integer. (ES2018).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport default function toInteger2018(value) {\n const number = toNumber(value);\n\n if (numberIsNaN(number)) {\n return 0;\n }\n\n if (number === 0 || numberIsFinite(number) === false) {\n return number;\n }\n\n return mathSign(number) * floor(abs(number));\n}\n","import toInteger, {toInteger2016} from 'to-integer-x';\nimport MAX_SAFE_INTEGER from 'max-safe-integer';\n\n/**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object. (ES2016).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport function toLength2016(value) {\n const len = toInteger2016(value);\n\n // includes converting -0 to +0\n if (len <= 0) {\n return 0;\n }\n\n if (len > MAX_SAFE_INTEGER) {\n return MAX_SAFE_INTEGER;\n }\n\n return len;\n}\n\n/**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object. (ES2018).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport default function toLength2018(value) {\n const len = toInteger(value);\n\n // includes converting -0 to +0\n if (len <= 0) {\n return 0;\n }\n\n if (len > MAX_SAFE_INTEGER) {\n return MAX_SAFE_INTEGER;\n }\n\n return len;\n}\n","import numberIsNaN from 'is-nan-x';\n\n/**\n * This method is the comparison abstract operation SameValue(x, y), where x\n * and y are ECMAScript language values, produces true or false.\n *\n * @param {*} [value1] - The first value to compare.\n * @param {*} [value2] - The second value to compare.\n * @returns {boolean} A Boolean indicating whether or not the two arguments are\n * the same value.\n */\nexport default function sameValue(value1, value2) {\n if (value1 === 0 && value2 === 0) {\n return 1 / value1 === 1 / value2;\n }\n\n if (value1 === value2) {\n return true;\n }\n\n return numberIsNaN(value1) && numberIsNaN(value2);\n}\n","import sameValue from 'same-value-x';\n\n/**\n * This method determines whether two values are the same value.\n * SameValueZero differs from SameValue (`Object.is`) only in its treatment\n * of +0 and -0.\n *\n * @param {*} [x] - The first value to compare.\n * @param {*} [y] - The second value to compare.\n * @returns {boolean} A Boolean indicating whether or not the two arguments\n * are the same value.\n */\nexport default function sameValueZero(x, y) {\n return x === y || sameValue(x, y);\n}\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/* eslint-disable-next-line compat/compat */\nconst pToString = hasSymbols && Symbol.prototype.toString;\nconst isSymbolFn = typeof pToString === 'function' && isSymbol;\n/** @type {Function} */\nconst castString = ''.constructor;\n\n/**\n * The abstract operation ToString converts argument to a value of type String,\n * however the specification states that if the argument is a Symbol then a\n * 'TypeError' is thrown. This version also allows Symbols be converted to\n * a string. Other uncoercible exotics will still throw though.\n *\n * @param {*} [value] - The value to convert to a string.\n * @returns {string} The converted value.\n */\nexport default function toStringSymbolsSupported(value) {\n return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value);\n}\n","import isFunction from 'is-function-x';\nimport safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Tests `callback` to see if it is a function, throws a `TypeError` if it is\n * not. Otherwise returns the `callback`.\n *\n * @param {*} callback - The argument to be tested.\n * @throws {TypeError} Throws if `callback` is not a function.\n * @returns {*} Returns `callback` if it is function.\n */\nexport default function assertIsFunction(callback) {\n if (isFunction(callback) === false) {\n const msg = isPrimitive(callback) ? safeToString(callback) : '#';\n throw new TypeError(`${msg} is not a function`);\n }\n\n return callback;\n}\n","const string = 'a';\nconst boxedString = {}.constructor(string);\n\n/**\n * Check failure of by-index access of string characters (IE < 9)\n * and failure of `0 in boxedString` (Rhino).\n *\n * `true` if no failure; otherwise `false`.\n *\n * @type boolean\n */\nconst hasBoxed = boxedString[0] === string && 0 in boxedString;\n\nexport default hasBoxed;\n","import hasBoxed from 'has-boxed-string-x';\nimport isString from 'is-string';\n\nconst EMPTY_STRING = '';\nconst strSplit = EMPTY_STRING.split;\nconst isStringFn = hasBoxed === false && typeof strSplit === 'function' && isString;\n\n/**\n * This method tests if a value is a string with the boxed bug; splits to an\n * array for iteration; otherwise returns the original value.\n *\n * @param {*} [value] - The value to be tested.\n * @returns {*} An array or characters if value was a string with the boxed bug;\n * otherwise the value.\n */\nexport default function splitIfBoxedBug(value) {\n return isStringFn && isStringFn(value) ? strSplit.call(value, EMPTY_STRING) : value;\n}\n","import attempt from 'attempt-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst pFindIndex = typeof Array.prototype.findIndex === 'function' && Array.prototype.findIndex;\n\nlet isWorking;\n\nif (pFindIndex) {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = 1;\n let res = attempt.call(testArr, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === 0;\n\n if (isWorking) {\n res = attempt.call(1, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === -1;\n }\n\n if (isWorking) {\n isWorking = attempt.call([], pFindIndex).threw;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pFindIndex, (item) => {\n return item === 'c';\n });\n\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pFindIndex,\n (item) => {\n return item === 'c';\n },\n );\n\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\n/**\n * Like `findIndex`, this method returns an index in the array, if an element\n * in the array satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If array is `null` or `undefined`-.\n * @param {Function} callback - Function to execute on each value in the array,\n * taking three arguments: `element`, `index` and `array`.\n * @throws {TypeError} If `callback` is not a function.\n * @param {*} [thisArg] - Object to use as `this` when executing `callback`.\n * @returns {number} Returns index of positively tested element, otherwise -1.\n */\nlet findIdx;\n\nif (isWorking) {\n findIdx = function findIndex(array, callback) {\n const args = [callback];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return pFindIndex.apply(array, args);\n };\n} else {\n findIdx = function findIndex(array, callback) {\n const object = toObject(array);\n assertIsFunction(callback);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n let thisArg;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n thisArg = arguments[2];\n }\n\n let index = 0;\n while (index < length) {\n if (callback.call(thisArg, iterable[index], index, object)) {\n return index;\n }\n\n index += 1;\n }\n\n return -1;\n };\n}\n\nconst fi = findIdx;\n\nexport default fi;\n","import numberIsFinite from 'is-finite-x';\nimport toInteger from 'to-integer-x';\n\n/**\n * This method determines whether the passed value is an integer.\n *\n * @param {*} value - The value to be tested for being an integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is an integer.\n */\nexport default function isInteger(value) {\n return numberIsFinite(value) && toInteger(value) === value;\n}\n","import isInteger from 'is-integer-x';\nimport MAX_SAFE_INTEGER from 'max-safe-integer';\n\nconst MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n\n/**\n * This method determines whether the passed value is a safe integer.\n *\n * Can be exactly represented as an IEEE-754 double precision number, and\n * whose IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation.\n *\n * @param {*} value - The value to be tested for being a safe integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * safe integer.\n */\nexport default function isSafeInteger(value) {\n return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n}\n","import isSafeInteger from 'is-safe-integer-x';\n\n/**\n * This method checks if `value` is a valid array-like length.\n *\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nexport default function isLength(value) {\n return isSafeInteger(value) && value >= 0;\n}\n","import isNil from 'is-nil-x';\nimport isFunction from 'is-function-x';\nimport isLength from 'is-length-x';\n\n/**\n * Checks if value is array-like. A value is considered array-like if it's\n * not a function and has a `length` that's an integer greater than or\n * equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @param {*} value - The object to be tested.\n */\nexport default function isArrayLike(value) {\n return isNil(value) === false && isFunction(value, true) === false && isLength(value.length);\n}\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport toInteger from 'to-integer-x';\nimport isArrayLike from 'is-array-like-x';\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\n/**\n * This method calculates a fromIndex of a given value for an array.\n *\n * @param {Array} array - * The array on which to calculate the starting index.\n * @throws {TypeError} If array is null or undefined.\n * @param {number} fromIndex - * The position in this array at which to begin. A\n * negative value gives the index of array.length + fromIndex by asc.\n * @returns {number} The calculated fromIndex. Default is 0.\n */\nexport default function calcFromIndex(array, fromIndex) {\n const object = toObject(array);\n\n if (isArrayLike(object) === false) {\n return 0;\n }\n\n const index = toInteger(fromIndex);\n\n return index >= 0 ? index : getMax(0, toLength(object.length) + index);\n}\n","import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport isFalsey from 'is-falsey-x';\nimport toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport sameValue from 'same-value-x';\nimport findIndex from 'find-index-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport attempt from 'attempt-x';\n\nlet pIndexOf = typeof Array.prototype.indexOf === 'function' && Array.prototype.indexOf;\n\nlet isWorking;\n\nif (pIndexOf) {\n let res = attempt.call([0, 1], pIndexOf, 1, 2);\n isWorking = res.threw === false && res.value === -1;\n\n if (isWorking) {\n res = attempt.call([0, 1], pIndexOf, 1);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call([0, -0], pIndexOf, -0);\n isWorking = res.threw === false && res.value === 0;\n }\n\n if (isWorking) {\n const testArr = [];\n testArr.length = 2;\n /* eslint-disable-next-line no-void */\n testArr[1] = void 0;\n /* eslint-disable-next-line no-void */\n res = attempt.call(testArr, pIndexOf, void 0);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pIndexOf, 'c');\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pIndexOf,\n 'c',\n );\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\nif (isWorking !== true) {\n pIndexOf = function $pIndexOf(searchElement) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const length = toLength(this.length);\n\n if (length < 1) {\n return -1;\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n let i = arguments[1];\n while (i < length) {\n /* eslint-disable-next-line babel/no-invalid-this */\n if (i in this && this[i] === searchElement) {\n return i;\n }\n\n i += 1;\n }\n\n return -1;\n };\n}\n\n/**\n * This method returns an index in the array, if an element in the array\n * satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @private\n * @param {Array} array - The array to search.\n * @param {*} searchElement - Element to locate in the array.\n * @param {number} fromIndex - The index to start the search at.\n * @param {Function} extendFn - The comparison function to use.\n * @returns {number} Returns index of found element, otherwise -1.\n */\nconst findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extendFn) {\n let fIdx = fromIndex;\n const length = toLength(array.length);\n while (fIdx < length) {\n if (fIdx in array && extendFn(array[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method returns the first index at which a given element can be found\n * in the array, or -1 if it is not present.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If `array` is `null` or `undefined`.\n * @param {*} searchElement - Element to locate in the `array`.\n * @param {number} [fromIndex] - The index to start the search at. If the\n * index is greater than or equal to the array's length, -1 is returned,\n * which means the array will not be searched. If the provided index value is\n * a negative number, it is taken as the offset from the end of the array.\n * Note: if the provided index is negative, the array is still searched from\n * front to back. If the calculated index is less than 0, then the whole\n * array will be searched. Default: 0 (entire array is searched).\n * @param {string} [extend] - Extension type: `SameValue` or `SameValueZero`.\n * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nexport default function indexOf(array, searchElement) {\n const object = toObject(array);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n const argLength = arguments.length;\n /* eslint-disable-next-line prefer-rest-params */\n let extend = argLength > 2 && argLength > 3 ? arguments[3] : arguments[2];\n let extendFn;\n\n if (isString(extend)) {\n extend = extend.toLowerCase();\n\n if (extend === 'samevalue') {\n extendFn = sameValue;\n } else if (extend === 'samevaluezero') {\n extendFn = sameValueZero;\n }\n }\n\n let fromIndex = 0;\n\n if (extendFn && (searchElement === 0 || numberIsNaN(searchElement))) {\n if (argLength > 3) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n if (fromIndex > 0) {\n return findIdxFrom(iterable, searchElement, fromIndex, extendFn);\n }\n\n return findIndex(iterable, (element, index) => {\n return index in iterable && extendFn(searchElement, element);\n });\n }\n\n if (argLength > 3 || (argLength > 2 && isFalsey(extendFn))) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n return pIndexOf.call(iterable, searchElement, fromIndex);\n}\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://indexOfX/webpack/universalModuleDefinition","webpack://indexOfX/webpack/bootstrap","webpack://indexOfX/./node_modules/is-symbol/index.js","webpack://indexOfX/./node_modules/is-primitive/index.js","webpack://indexOfX/./node_modules/max-safe-integer/index.js","webpack://indexOfX/./node_modules/is-string/index.js","webpack://indexOfX/./node_modules/is-date-object/index.js","webpack://indexOfX/./node_modules/has-symbols/index.js","webpack://indexOfX/(webpack)/buildin/global.js","webpack://indexOfX/./node_modules/has-symbols/shams.js","webpack://indexOfX/../src/is-nan-x.js","webpack://indexOfX/../src/to-boolean-x.js","webpack://indexOfX/../src/is-falsey-x.js","webpack://indexOfX/../src/is-nil-x.js","webpack://indexOfX/../src/require-object-coercible-x.js","webpack://indexOfX/../src/to-object-x.js","webpack://indexOfX/../src/attempt-x.js","webpack://indexOfX/../src/has-symbol-support-x.js","webpack://indexOfX/../src/to-string-tag-x.js","webpack://indexOfX/../src/has-to-string-tag-x.js","webpack://indexOfX/../src/to-string-x.js","webpack://indexOfX/../src/require-coercible-to-string-x.js","webpack://indexOfX/../src/white-space-x.js","webpack://indexOfX/../src/trim-left-x.js","webpack://indexOfX/../src/trim-right-x.js","webpack://indexOfX/../src/trim-x.js","webpack://indexOfX/../src/normalize-space-x.js","webpack://indexOfX/../src/replace-comments-x.js","webpack://indexOfX/../src/is-function-x.js","webpack://indexOfX/../src/to-primitive-x.js","webpack://indexOfX/../src/nan-x.js","webpack://indexOfX/../src/parse-int-x.js","webpack://indexOfX/../src/to-number-x.js","webpack://indexOfX/../src/infinity-x.js","webpack://indexOfX/../src/is-finite-x.js","webpack://indexOfX/../src/math-sign-x.js","webpack://indexOfX/../src/to-integer-x.js","webpack://indexOfX/../src/to-length-x.js","webpack://indexOfX/../src/same-value-x.js","webpack://indexOfX/../src/same-value-zero-x.js","webpack://indexOfX/../src/to-string-symbols-supported-x.js","webpack://indexOfX/../src/assert-is-function-x.js","webpack://indexOfX/../src/has-boxed-string-x.js","webpack://indexOfX/../src/split-if-boxed-bug-x.js","webpack://indexOfX/../src/find-index-x.js","webpack://indexOfX/../src/is-integer-x.js","webpack://indexOfX/../src/is-safe-integer-x.js","webpack://indexOfX/../src/is-length-x.js","webpack://indexOfX/../src/is-array-like-x.js","webpack://indexOfX/../src/calculate-from-index-x.js","webpack://indexOfX/../src/index-of-x.js"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,CAAC;AACD,O;AC1BA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;AClFa;;AAEb;AACA,iBAAiB,mBAAO,CAAC,CAAa;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,SAAS,MAAK,IAAI,KAAK;AACvB;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;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S,GAAG,CAAhB,EAAmB;AACjB,aAAO,WAAW,CAAC,QAAD,EAAW,aAAX,EAA0B,SAA1B,EAAqC,QAArC,CAAlB;AACD;;AAED,WAAO,gBAAS,CAAC,QAAD,EAAW,UAAC,OAAD,EAAU,KAAV,EAAoB;AAAA;;AAC7C,aAAO,KAAK,IAAI,QAAT,IAAqB,QAAQ,CAAC,aAAD,EAAgB,OAAhB,CAApC;AACD,KAFe,YAAhB;AAGD;;AAED,MAAI,SAAS,GAAG,CAAZ,IAAkB,SAAS,GAAG,CAAZ,IAAiB,eAAQ,CAAC,QAAD,CAA/C,EAA4D;AAC1D;AACA,aAAS,GAAG,0BAAa,CAAC,QAAD,EAAW,SAAS,CAAC,CAAD,CAApB,CAAzB;;AAEA,QAAI,SAAS,IAAI,MAAjB,EAAyB;AACvB,aAAO,CAAC,CAAR;AACD;;AAED,QAAI,SAAS,GAAG,CAAhB,EAAmB;AACjB,eAAS,GAAG,CAAZ;AACD;AACF;;AAED,SAAO,QAAQ,CAAC,IAAT,CAAc,QAAd,EAAwB,aAAxB,EAAuC,SAAvC,CAAP;AACD,CA/DD;;AAiEe,0GAAf","file":"index-of-x.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"indexOfX\"] = factory();\n\telse\n\t\troot[\"indexOfX\"] = factory();\n})((function () {\n 'use strict';\n\n if (typeof self !== 'undefined') {\n return self;\n }\n\n if (typeof window !== 'undefined') {\n return window;\n }\n\n if (typeof global !== 'undefined') {\n return global;\n }\n\n return Function('return this')();\n}()), function() {\nreturn "," \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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","/*!\n * is-primitive \n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function isPrimitive(val) {\n if (typeof val === 'object') {\n return val === null;\n }\n return typeof val !== 'function';\n};\n","'use strict';\nmodule.exports = 9007199254740991;\n","'use strict';\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') { return true; }\n\tif (typeof value !== 'object') { return false; }\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateObject(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) { return false; }\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","'use strict';\n\nvar origSymbol = global.Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\n\n/* eslint complexity: [2, 17], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","/**\n * This method determines whether the passed value is NaN and its type is\n * `Number`. It is a more robust version of the original, global isNaN().\n *\n * @param {*} [value] - The value to be tested for NaN.\n * @returns {boolean} `true` if the given value is NaN and its type is Number;\n * otherwise, `false`.\n */\nconst isNaN = function isNaN(value) {\n /* eslint-disable-next-line no-self-compare */\n return value !== value;\n};\n\nexport default isNaN;\n","/**\n * The abstract operation ToBoolean converts argument to a value of type Boolean.\n *\n * @param {*} [value] - The value to be converted.\n * @returns {boolean} 'true' if value is truthy; otherwise 'false'.\n */\nconst toBoolean = function toBoolean(value) {\n return !!value;\n};\n\nexport default toBoolean;\n","import toBoolean from 'to-boolean-x';\n\n/**\n * This method tests if a given value is falsey.\n *\n * @param {*} [value] - The value to test.\n * @returns {boolean} `true` if the value is falsey: otherwise `false`.\n */\nconst isFalsey = function isFalsey(value) {\n return !toBoolean(value);\n};\n\nexport default isFalsey;\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n */\nconst isNil = function isNil(value) {\n /* eslint-disable-next-line lodash/prefer-is-nil */\n return value === null || typeof value === 'undefined';\n};\n\nexport default isNil;\n","import isNil from 'is-nil-x';\n\n/**\n * The abstract operation RequireObjectCoercible throws an error if argument\n * is a value that cannot be converted to an Object using ToObject.\n *\n * @param {*} [value] - The `value` to check.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {string} The `value`.\n */\nconst requireObjectCoercible = function requireObjectCoercible(value) {\n if (isNil(value)) {\n throw new TypeError(`Cannot call method on ${value}`);\n }\n\n return value;\n};\n\nexport default requireObjectCoercible;\n","import requireObjectCoercible from 'require-object-coercible-x';\n\nconst castObject = {}.constructor;\n\n/**\n * The abstract operation ToObject converts argument to a value of\n * type Object.\n *\n * @param {*} value - The `value` to convert.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {!object} The `value` converted to an object.\n */\nconst toObject = function toObject(value) {\n return castObject(requireObjectCoercible(value));\n};\n\nexport default toObject;\n","/**\n * This method attempts to invoke the function, returning either the result or\n * the caught error object. Any additional arguments are provided to the\n * function when it's invoked.\n *\n * @param {Function} [fn] - The function to attempt.\n * @param {...*} [args] - The arguments to invoke the function with.\n * @returns {object} Returns an object of the result.\n */\nconst attempt = function attempt(fn, ...args) {\n try {\n return {\n threw: false,\n /* eslint-disable-next-line babel/no-invalid-this */\n value: fn.apply(this, args),\n };\n } catch (e) {\n return {\n threw: true,\n value: e,\n };\n }\n};\n\nexport default attempt;\n","import attempt from 'attempt-x';\nimport isSymbol from 'is-symbol';\n\nconst hasSymbolSupport = attempt(() => {\n /* eslint-disable-next-line compat/compat */\n return typeof Symbol === 'function' && isSymbol(Symbol(''));\n});\n\n/**\n * Indicates if `Symbol`exists and creates the correct type.\n * `true`, if it exists and creates the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbolSupport.threw === false && hasSymbolSupport.value === true;\n","const nativeObjectToString = {}.toString;\n\n/**\n * The `toStringTag` method returns \"[object type]\", where type is the\n * object type.\n *\n * @param {*} [value] - The object of which to get the object type string.\n * @returns {string} The object type string.\n */\nconst toStringTag = function toStringTag(value) {\n if (value === null) {\n return '[object Null]';\n }\n\n if (typeof value === 'undefined') {\n return '[object Undefined]';\n }\n\n return nativeObjectToString.call(value);\n};\n\nexport default toStringTag;\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/**\n * Indicates if `Symbol.toStringTag`exists and is the correct type.\n * `true`, if it exists and is the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbols &&\n /* eslint-disable-next-line compat/compat */\n isSymbol(Symbol.toStringTag);\n","import isSymbol from 'is-symbol';\n\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a string';\nconst castString = ERROR_MESSAGE.constructor;\n/**\n * The abstract operation ToString converts argument to a value of type String.\n *\n * @param {*} [value] - The value to convert to a string.\n * @throws {TypeError} If `value` is a Symbol.\n * @returns {string} The converted value.\n */\nconst ToString = function ToString(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return castString(value);\n};\n\nexport default ToString;\n","import requireObjectCoercible from 'require-object-coercible-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method requires an argument is corecible then converts using ToString.\n *\n * @param {*} [value] - The value to converted to a string.\n * @throws {TypeError} If value is null or undefined.\n * @returns {string} The value as a string.\n */\nconst requireCoercibleToString = function requireCoercibleToString(value) {\n return toStr(requireObjectCoercible(value));\n};\n\nexport default requireCoercibleToString;\n","/**\n * A record of a white space character.\n *\n * @typedef {object} CharRecord\n * @property {number} code - The character code.\n * @property {string} description - A description of the character.\n * @property {boolean} es5 - Whether the spec lists this as a white space.\n * @property {boolean} es2015 - Whether the spec lists this as a white space.\n * @property {boolean} es2016 - Whether the spec lists this as a white space.\n * @property {boolean} es2017 - Whether the spec lists this as a white space.\n * @property {boolean} es2018 - Whether the spec lists this as a white space.\n * @property {string} string - The character string.\n */\n\n/**\n * An array of the whitespace char codes, string, descriptions and language\n * presence in the specifications.\n *\n * @type Array.\n */\nexport const list = [\n {\n code: 0x0009,\n description: 'Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0009',\n },\n {\n code: 0x000a,\n description: 'Line Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000a',\n },\n {\n code: 0x000b,\n description: 'Vertical Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000b',\n },\n {\n code: 0x000c,\n description: 'Form Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000c',\n },\n {\n code: 0x000d,\n description: 'Carriage Return',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000d',\n },\n {\n code: 0x0020,\n description: 'Space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0020',\n },\n /*\n {\n code: 0x0085,\n description: 'Next line',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u0085'\n }\n */\n {\n code: 0x00a0,\n description: 'No-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u00a0',\n },\n {\n code: 0x1680,\n description: 'Ogham space mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u1680',\n },\n {\n code: 0x180e,\n description: 'Mongolian vowel separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: false,\n es2018: false,\n string: '\\u180e',\n },\n {\n code: 0x2000,\n description: 'En quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2000',\n },\n {\n code: 0x2001,\n description: 'Em quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2001',\n },\n {\n code: 0x2002,\n description: 'En space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2002',\n },\n {\n code: 0x2003,\n description: 'Em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2003',\n },\n {\n code: 0x2004,\n description: 'Three-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2004',\n },\n {\n code: 0x2005,\n description: 'Four-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2005',\n },\n {\n code: 0x2006,\n description: 'Six-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2006',\n },\n {\n code: 0x2007,\n description: 'Figure space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2007',\n },\n {\n code: 0x2008,\n description: 'Punctuation space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2008',\n },\n {\n code: 0x2009,\n description: 'Thin space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2009',\n },\n {\n code: 0x200a,\n description: 'Hair space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u200a',\n },\n /*\n {\n code: 0x200b,\n description: 'Zero width space',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u200b'\n },\n */\n {\n code: 0x2028,\n description: 'Line separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2028',\n },\n {\n code: 0x2029,\n description: 'Paragraph separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2029',\n },\n {\n code: 0x202f,\n description: 'Narrow no-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u202f',\n },\n {\n code: 0x205f,\n description: 'Medium mathematical space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u205f',\n },\n {\n code: 0x3000,\n description: 'Ideographic space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u3000',\n },\n {\n code: 0xfeff,\n description: 'Byte Order Mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\ufeff',\n },\n];\n\n/**\n * A string of the ES5 to ES2016 whitespace characters.\n *\n * @type string\n */\nlet stringES2016 = '';\n\n/**\n * A string of the ES2017 to ES2018 whitespace characters.\n *\n * @type string\n */\nlet stringES2018 = '';\nconst {length} = list;\nfor (let i = 0; i < length; i += 1) {\n if (list[i].es2016) {\n stringES2016 += list[i].string;\n }\n\n if (list[i].es2018) {\n stringES2018 += list[i].string;\n }\n}\n\nconst string2018 = stringES2018;\n\nexport default string2018;\nexport const string2016 = stringES2016;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reLeft2016 = new RegExpCtr(`^[${string2016}]+`);\nconst reLeft = new RegExpCtr(`^[${whiteSpace}]+`);\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method removes whitespace from the left end of a string. (ES2016).\n *\n * @param {string} [string] - The string to trim the left end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The left trimmed string.\n */\nexport function trimLeft2016(string) {\n return replace.call(requireCoercibleToString(string), reLeft2016, EMPTY_STRING);\n}\n\n/**\n * This method removes whitespace from the left end of a string. (ES2018).\n *\n * @param {string} [string] - The string to trim the left end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The left trimmed string.\n */\nconst trimLeft2018 = function trimLeft2018(string) {\n return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING);\n};\n\nexport default trimLeft2018;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reRight2016 = new RegExpCtr(`[${string2016}]+$`);\nconst reRight2018 = new RegExpCtr(`[${whiteSpace}]+$`);\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method removes whitespace from the right end of a string. (ES2016).\n *\n * @param {string} [string] - The string to trim the right end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The right trimmed string.\n */\nexport function trimRight2016(string) {\n return replace.call(requireCoercibleToString(string), reRight2016, EMPTY_STRING);\n}\n\n/**\n * This method removes whitespace from the right end of a string. (ES2018).\n *\n * @param {string} [string] - The string to trim the right end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The right trimmed string.\n */\nconst trimRight2018 = function trimRight2018(string) {\n return replace.call(requireCoercibleToString(string), reRight2018, EMPTY_STRING);\n};\n\nexport default trimRight2018;\n","import trimLeft, {trimLeft2016} from 'trim-left-x';\nimport trimRight, {trimRight2016} from 'trim-right-x';\n\n/**\n * This method removes whitespace from the left and right end of a string.\n * (ES2016).\n *\n * @param {string} [string] - The string to trim the whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The trimmed string.\n */\nexport function trim2016(string) {\n return trimLeft2016(trimRight2016(string));\n}\n\n/**\n * This method removes whitespace from the left and right end of a string.\n * (ES2018).\n *\n * @param {string} [string] - The string to trim the whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The trimmed string.\n */\nconst trim2018 = function trim2018(string) {\n return trimLeft(trimRight(string));\n};\n\nexport default trim2018;\n","import trim, {trim2016} from 'trim-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst SPACE = ' ';\nconst RegExpCtr = /none/.constructor;\nconst reNormalize2016 = new RegExpCtr(`[${string2016}]+`, 'g');\nconst reNormalize2018 = new RegExpCtr(`[${whiteSpace}]+`, 'g');\nconst {replace} = SPACE;\n\n/**\n * This method strips leading and trailing white-space from a string,\n * replaces sequences of whitespace characters by a single space,\n * and returns the resulting string. (ES2016).\n *\n * @param {string} [string] - The string to be normalized.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The normalized string.\n */\nexport function normalizeSpace2016(string) {\n return replace.call(trim2016(string), reNormalize2016, SPACE);\n}\n\n/**\n * This method strips leading and trailing white-space from a string,\n * replaces sequences of whitespace characters by a single space,\n * and returns the resulting string. (ES2018).\n *\n * @param {string} [string] - The string to be normalized.\n * @throws {TypeError} If string is null or undefined or not coercible.\n */\nconst normalizeSpace2018 = function normalizeSpace2018(string) {\n return replace.call(trim(string), reNormalize2018, SPACE);\n};\n\nexport default normalizeSpace2018;\n","import toStr from 'to-string-x';\nimport requireCoercibleToString from 'require-coercible-to-string-x';\n\nconst EMPTY_STRING = '';\nconst STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/gm;\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method replaces comments in a string.\n *\n * @param {string} [string] - The string to be stripped.\n * @param {string} [replacement=''] - The string to be used as a replacement.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @throws {TypeError} If replacement is not coercible.\n * @returns {string} The new string with the comments replaced.\n */\nconst replaceComments = function replaceComments(string, replacement) {\n return replace.call(requireCoercibleToString(string), STRIP_COMMENTS, arguments.length > 1 ? toStr(replacement) : EMPTY_STRING);\n};\n\nexport default replaceComments;\n","import attempt from 'attempt-x';\nimport toBoolean from 'to-boolean-x';\nimport toStringTag from 'to-string-tag-x';\nimport hasToStringTag from 'has-to-string-tag-x';\nimport isPrimitive from 'is-primitive';\nimport normalise from 'normalize-space-x';\nimport deComment from 'replace-comments-x';\n\nconst FunctionCtr = attempt.constructor;\nconst castBoolean = true.constructor;\nconst SPACE = ' ';\nconst fToString = attempt.toString;\nconst funcTag = '[object Function]';\nconst genTag = '[object GeneratorFunction]';\nconst asyncTag = '[object AsyncFunction]';\nconst ctrRx = /^class /;\nconst {test} = ctrRx;\n\nconst hasNativeClass =\n attempt(() => {\n /* eslint-disable-next-line babel/new-cap */\n return FunctionCtr('\"use strict\"; return class My {};')();\n }).threw === false;\n\nconst testClassstring = function _testClassstring(value) {\n return test.call(ctrRx, normalise(deComment(fToString.call(value), SPACE)));\n};\n\nconst isES6ClassFn = function isES6ClassFunc(value) {\n const result = attempt(testClassstring, value);\n\n return result.threw === false && result.value;\n};\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @private\n * @param {*} value - The value to check.\n * @param {boolean} allowClass - Whether to filter ES6 classes.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n */\nconst tryFuncToString = function funcToString(value, allowClass) {\n if (hasNativeClass && allowClass === false && isES6ClassFn(value)) {\n return false;\n }\n\n return attempt.call(value, fToString).threw === false;\n};\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @param {*} value - The value to check.\n * @param {boolean} [allowClass=false] - Whether to filter ES6 classes.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n */\nconst isFunction = function isFunction(value, allowClass) {\n if (isPrimitive(value)) {\n return false;\n }\n\n if (hasToStringTag) {\n return tryFuncToString(value, toBoolean(allowClass));\n }\n\n if (hasNativeClass && castBoolean(allowClass) === false && isES6ClassFn(value)) {\n return false;\n }\n\n const strTag = toStringTag(value);\n\n return strTag === funcTag || strTag === genTag || strTag === asyncTag;\n};\n\nexport default isFunction;\n","import hasSymbols from 'has-symbol-support-x';\nimport isPrimitive from 'is-primitive';\nimport isDate from 'is-date-object';\nimport isSymbol from 'is-symbol';\nimport isFunction from 'is-function-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport isNil from 'is-nil-x';\n\nconst ZERO = 0;\nconst ONE = 1;\n/* eslint-disable-next-line no-void */\nconst UNDEFINED = void ZERO;\nconst NUMBER = 'number';\nconst STRING = 'string';\nconst DEFAULT = 'default';\n/** @type {StringConstructor} */\nconst StringCtr = STRING.constructor;\n/** @type {NumberConstructor} */\nconst NumberCtr = ZERO.constructor;\n/* eslint-disable-next-line compat/compat */\nconst symToPrimitive = hasSymbols && Symbol.toPrimitive;\n/* eslint-disable-next-line compat/compat */\nconst symValueOf = hasSymbols && Symbol.prototype.valueOf;\n\nconst toStringOrder = ['toString', 'valueOf'];\nconst toNumberOrder = ['valueOf', 'toString'];\nconst orderLength = 2;\n\n/**\n * @param {*} ordinary - The ordinary to convert.\n * @param {*} hint - The hint.\n * @returns {*} - The primitive.\n */\nconst ordinaryToPrimitive = function _ordinaryToPrimitive(ordinary, hint) {\n requireObjectCoercible(ordinary);\n\n if (typeof hint !== 'string' || (hint !== NUMBER && hint !== STRING)) {\n throw new TypeError('hint must be \"string\" or \"number\"');\n }\n\n const methodNames = hint === STRING ? toStringOrder : toNumberOrder;\n let method;\n let result;\n for (let i = ZERO; i < orderLength; i += ONE) {\n method = ordinary[methodNames[i]];\n\n if (isFunction(method)) {\n result = method.call(ordinary);\n\n if (isPrimitive(result)) {\n return result;\n }\n }\n }\n\n throw new TypeError('No default value');\n};\n\n/**\n * @param {*} object - The object.\n * @param {*} property - The property.\n * @returns {undefined|Function} - The method.\n */\nconst getMethod = function _getMethod(object, property) {\n const func = object[property];\n\n if (isNil(func) === false) {\n if (isFunction(func) === false) {\n throw new TypeError(`${func} returned for property ${property} of object ${object} is not a function`);\n }\n\n return func;\n }\n\n return UNDEFINED;\n};\n\n/**\n * Get the hint.\n *\n * @param {*} value - The value to compare.\n * @param {boolean} supplied - Was a value supplied.\n * @returns {string} - The hint string.\n */\nconst getHint = function getHint(value, supplied) {\n if (supplied) {\n if (value === StringCtr) {\n return STRING;\n }\n\n if (value === NumberCtr) {\n return NUMBER;\n }\n }\n\n return DEFAULT;\n};\n\n/**\n * Get the primitive from the exotic.\n *\n * @param {*} value - The exotic.\n * @returns {*} - The primitive.\n */\nconst getExoticToPrim = function getExoticToPrim(value) {\n if (hasSymbols) {\n if (symToPrimitive) {\n return getMethod(value, symToPrimitive);\n }\n\n if (isSymbol(value)) {\n return symValueOf;\n }\n }\n\n return UNDEFINED;\n};\n\n/**\n * This method converts a JavaScript object to a primitive value.\n * Note: When toPrimitive is called with no hint, then it generally behaves as\n * if the hint were Number. However, objects may over-ride this behaviour by\n * defining a @@toPrimitive method. Of the objects defined in this specification\n * only Date objects (see 20.3.4.45) and Symbol objects (see 19.4.3.4) over-ride\n * the default ToPrimitive behaviour. Date objects treat no hint as if the hint\n * were String.\n *\n * @param {*} input - The input to convert.\n * @param {NumberConstructor|StringConstructor} [preferredType] - The preferred type (String or Number).\n * @throws {TypeError} If unable to convert input to a primitive.\n * @returns {string|number} The converted input as a primitive.\n * @see {http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive}\n */\nconst toPrimitive = function toPrimitive(input, preferredType) {\n if (isPrimitive(input)) {\n return input;\n }\n\n const hint = getHint(preferredType, arguments.length > ONE);\n const exoticToPrim = getExoticToPrim(input);\n\n if (typeof exoticToPrim !== 'undefined') {\n const result = exoticToPrim.call(input, hint);\n\n if (isPrimitive(result)) {\n return result;\n }\n\n throw new TypeError('unable to convert exotic object to primitive');\n }\n\n const newHint = hint === DEFAULT && (isDate(input) || isSymbol(input)) ? STRING : hint;\n\n return ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint);\n};\n\nexport default toPrimitive;\n","/**\n * The constant NaN derived mathematically by 0 / 0.\n *\n * @type number\n */\nexport default 0 / 0;\n","import NAN from 'nan-x';\nimport toStr from 'to-string-x';\nimport trimLeft, {trimLeft2016} from 'trim-left-x';\n\nconst nativeParseInt = parseInt;\n/** @type {Function} */\nconst castNumber = (0).constructor;\n// noinspection JSPotentiallyInvalidConstructorUsage\nconst {charAt} = '';\nconst hexRegex = /^[-+]?0[xX]/;\nconst {test} = hexRegex;\n\n/**\n * This method parses a string argument and returns an integer of the specified\n * radix (the base in mathematical numeral systems). (ES2016).\n *\n * @param {string} [string] - The value to parse. If the string argument is not a\n * string, then it is converted to a string (using the ToString abstract\n * operation). Leading whitespace in the string argument is ignored.\n * @param {number} [radix] - An integer between 2 and 36 that represents the radix\n * (the base in mathematical numeral systems) of the above mentioned string.\n * Specify 10 for the decimal numeral system commonly used by humans. Always\n * specify this parameter to eliminate reader confusion and to guarantee\n * predictable behavior. Different implementations produce different results\n * when a radix is not specified, usually defaulting the value to 10.\n * @throws {TypeError} If target is a Symbol or is not coercible.\n * @returns {number} An integer number parsed from the given string. If the first\n * character cannot be converted to a number, NaN is returned.\n */\nexport function parseInt2016(string, radix) {\n const str = trimLeft2016(toStr(string));\n\n return nativeParseInt(str, castNumber(radix) || (test.call(hexRegex, str) ? 16 : 10));\n}\n\n/**\n * This method parses a string argument and returns an integer of the specified\n * radix (the base in mathematical numeral systems). (ES2018).\n *\n * @param {string} [string] - The value to parse. If the string argument is not a\n * string, then it is converted to a string (using the ToString abstract\n * operation). Leading whitespace in the string argument is ignored.\n * @param {number} [radix] - An integer between 2 and 36 that represents the radix\n * (the base in mathematical numeral systems) of the above mentioned string.\n * Specify 10 for the decimal numeral system commonly used by humans. Always\n * specify this parameter to eliminate reader confusion and to guarantee\n * predictable behavior. Different implementations produce different results\n * when a radix is not specified, usually defaulting the value to 10.\n * @throws {TypeError} If target is a Symbol or is not coercible.\n * @returns {number} An integer number parsed from the given string. If the first\n * character cannot be converted to a number, NaN is returned.\n */\nconst parseInt2018 = function parseInt2018(string, radix) {\n const str = trimLeft(toStr(string));\n\n if (charAt.call(str, 0) === '\\u180E') {\n return NAN;\n }\n\n return nativeParseInt(str, castNumber(radix) || (test.call(hexRegex, str) ? 16 : 10));\n};\n\nexport default parseInt2018;\n","import isSymbol from 'is-symbol';\nimport toPrimitive from 'to-primitive-x';\nimport trim, {trim2016} from 'trim-x';\nimport $parseInt, {parseInt2016} from 'parse-int-x';\nimport NAN from 'nan-x';\n\nconst binaryRadix = 2;\nconst octalRadix = 8;\nconst testCharsCount = 2;\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a number';\n\n/** @type {NumberConstructor} */\nconst castNumber = testCharsCount.constructor;\nconst pStrSlice = ERROR_MESSAGE.slice;\n\nconst binaryRegex = /^0b[01]+$/i;\nconst RegExpConstructor = binaryRegex.constructor;\n// Note that in IE 8, RegExp.prototype.test doesn't seem to exist: ie, \"test\" is\n// an own property of regexes. wtf.\nconst {test} = binaryRegex;\nconst isBinary = function _isBinary(value) {\n return test.call(binaryRegex, value);\n};\n\nconst octalRegex = /^0o[0-7]+$/i;\nconst isOctal = function _isOctal(value) {\n return test.call(octalRegex, value);\n};\n\nconst nonWSregex2016 = new RegExpConstructor('[\\u0085\\u200b\\ufffe]', 'g');\nconst hasNonWS2016 = function _hasNonWS(value) {\n return test.call(nonWSregex2016, value);\n};\n\nconst nonWSregex2018 = new RegExpConstructor('[\\u0085\\u180e\\u200b\\ufffe]', 'g');\nconst hasNonWS2018 = function _hasNonWS(value) {\n return test.call(nonWSregex2018, value);\n};\n\nconst invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i;\nconst isInvalidHexLiteral = function _isInvalidHexLiteral(value) {\n return test.call(invalidHexLiteral, value);\n};\n\n/**\n * This method converts argument to a value of type Number. (ES2016).\n *\n * @param {*} [argument] - The argument to convert to a number.\n * @throws {TypeError} - If argument is a Symbol or not coercible.\n * @returns {*} The argument converted to a number.\n */\nexport function toNumber2016(argument) {\n const value = toPrimitive(argument, Number);\n\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n if (typeof value === 'string') {\n if (isBinary(value)) {\n return toNumber2016(parseInt2016(pStrSlice.call(value, testCharsCount), binaryRadix));\n }\n\n if (isOctal(value)) {\n return toNumber2016(parseInt2016(pStrSlice.call(value, testCharsCount), octalRadix));\n }\n\n if (hasNonWS2016(value) || isInvalidHexLiteral(value)) {\n return NAN;\n }\n\n const trimmed = trim2016(value);\n\n if (trimmed !== value) {\n return toNumber2016(trimmed);\n }\n }\n\n return castNumber(value);\n}\n\n/**\n * This method converts argument to a value of type Number. (ES2018).\n *\n * @param {*} [argument] - The argument to convert to a number.\n * @throws {TypeError} - If argument is a Symbol or not coercible.\n * @returns {*} The argument converted to a number.\n */\nconst toNumber2018 = function toNumber2018(argument) {\n const value = toPrimitive(argument, castNumber);\n\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n if (typeof value === 'string') {\n if (isBinary(value)) {\n return toNumber2018($parseInt(pStrSlice.call(value, testCharsCount), binaryRadix));\n }\n\n if (isOctal(value)) {\n return toNumber2018($parseInt(pStrSlice.call(value, testCharsCount), octalRadix));\n }\n\n if (hasNonWS2018(value) || isInvalidHexLiteral(value)) {\n return NAN;\n }\n\n const trimmed = trim(value);\n\n if (trimmed !== value) {\n return toNumber2018(trimmed);\n }\n }\n\n return castNumber(value);\n};\n\nexport default toNumber2018;\n","/**\n * The constant value Infinity derived mathematically by 1 / 0.\n *\n * @type number\n */\nexport default 1 / 0;\n","import numberIsNaN from 'is-nan-x';\nimport INFINITY from 'infinity-x';\n\n/**\n * This method determines whether the passed value is a finite number.\n *\n * @param {*} [number] - The value to be tested for finiteness.\n * @returns {boolean} A Boolean indicating whether or not the given value is a finite number.\n */\nconst isFinite = function isFinite(number) {\n return typeof number === 'number' && numberIsNaN(number) === false && number !== INFINITY && number !== -INFINITY;\n};\n\nexport default isFinite;\n","import toNumber, {toNumber2016} from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\n\n/**\n * This method returns the sign of a number, indicating whether the number is positive,\n * negative or zero. (ES2016).\n *\n * @param {*} x - A number.\n * @returns {number} A number representing the sign of the given argument. If the argument\n * is a positive number, negative number, positive zero or negative zero, the function will\n * return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned.\n */\nexport function sign2016(x) {\n const n = toNumber2016(x);\n\n if (n === 0 || numberIsNaN(n)) {\n return n;\n }\n\n return n > 0 ? 1 : -1;\n}\n\n/**\n * This method returns the sign of a number, indicating whether the number is positive,\n * negative or zero. (ES2018).\n *\n * @param {*} x - A number.\n * @returns {number} A number representing the sign of the given argument. If the argument\n * is a positive number, negative number, positive zero or negative zero, the function will\n * return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned.\n */\nconst sign2018 = function sign2018(x) {\n const n = toNumber(x);\n\n if (n === 0 || numberIsNaN(n)) {\n return n;\n }\n\n return n > 0 ? 1 : -1;\n};\n\nexport default sign2018;\n","import toNumber, {toNumber2016} from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\nimport numberIsFinite from 'is-finite-x';\nimport mathSign, {sign2016} from 'math-sign-x';\n\nconst {abs, floor} = Math;\n\n/**\n * Converts `value` to an integer. (ES2016).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport function toInteger2016(value) {\n const number = toNumber2016(value);\n\n if (numberIsNaN(number)) {\n return 0;\n }\n\n if (number === 0 || numberIsFinite(number) === false) {\n return number;\n }\n\n return sign2016(number) * floor(abs(number));\n}\n\n/**\n * Converts `value` to an integer. (ES2018).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nconst toInteger2018 = function toInteger2018(value) {\n const number = toNumber(value);\n\n if (numberIsNaN(number)) {\n return 0;\n }\n\n if (number === 0 || numberIsFinite(number) === false) {\n return number;\n }\n\n return mathSign(number) * floor(abs(number));\n};\n\nexport default toInteger2018;\n","import toInteger, {toInteger2016} from 'to-integer-x';\nimport MAX_SAFE_INTEGER from 'max-safe-integer';\n\n/**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object. (ES2016).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport function toLength2016(value) {\n const len = toInteger2016(value);\n\n // includes converting -0 to +0\n if (len <= 0) {\n return 0;\n }\n\n if (len > MAX_SAFE_INTEGER) {\n return MAX_SAFE_INTEGER;\n }\n\n return len;\n}\n\n/**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object. (ES2018).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nconst toLength2018 = function toLength2018(value) {\n const len = toInteger(value);\n\n // includes converting -0 to +0\n if (len <= 0) {\n return 0;\n }\n\n if (len > MAX_SAFE_INTEGER) {\n return MAX_SAFE_INTEGER;\n }\n\n return len;\n};\n\nexport default toLength2018;\n","import numberIsNaN from 'is-nan-x';\n\n/**\n * This method is the comparison abstract operation SameValue(x, y), where x\n * and y are ECMAScript language values, produces true or false.\n *\n * @param {*} [value1] - The first value to compare.\n * @param {*} [value2] - The second value to compare.\n * @returns {boolean} A Boolean indicating whether or not the two arguments are\n * the same value.\n */\nconst sameValue = function sameValue(value1, value2) {\n if (value1 === 0 && value2 === 0) {\n return 1 / value1 === 1 / value2;\n }\n\n if (value1 === value2) {\n return true;\n }\n\n return numberIsNaN(value1) && numberIsNaN(value2);\n};\n\nexport default sameValue;\n","import sameValue from 'same-value-x';\n\n/**\n * This method determines whether two values are the same value.\n * SameValueZero differs from SameValue (`Object.is`) only in its treatment\n * of +0 and -0.\n *\n * @param {*} [x] - The first value to compare.\n * @param {*} [y] - The second value to compare.\n * @returns {boolean} A Boolean indicating whether or not the two arguments\n * are the same value.\n */\nconst sameValueZero = function sameValueZero(x, y) {\n return x === y || sameValue(x, y);\n};\n\nexport default sameValueZero;\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/* eslint-disable-next-line compat/compat */\nconst pToString = hasSymbols && Symbol.prototype.toString;\nconst isSymbolFn = typeof pToString === 'function' && isSymbol;\n/** @type {Function} */\nconst castString = ''.constructor;\n\n/**\n * The abstract operation ToString converts argument to a value of type String,\n * however the specification states that if the argument is a Symbol then a\n * 'TypeError' is thrown. This version also allows Symbols be converted to\n * a string. Other uncoercible exotics will still throw though.\n *\n * @param {*} [value] - The value to convert to a string.\n * @returns {string} The converted value.\n */\nconst toStringSymbolsSupported = function toStringSymbolsSupported(value) {\n return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value);\n};\n\nexport default toStringSymbolsSupported;\n","import isFunction from 'is-function-x';\nimport safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Tests `callback` to see if it is a function, throws a `TypeError` if it is\n * not. Otherwise returns the `callback`.\n *\n * @param {*} callback - The argument to be tested.\n * @throws {TypeError} Throws if `callback` is not a function.\n * @returns {*} Returns `callback` if it is function.\n */\nconst assertIsFunction = function assertIsFunction(callback) {\n if (isFunction(callback) === false) {\n const msg = isPrimitive(callback) ? safeToString(callback) : '#';\n throw new TypeError(`${msg} is not a function`);\n }\n\n return callback;\n};\n\nexport default assertIsFunction;\n","const string = 'a';\nconst boxedString = {}.constructor(string);\n\n/**\n * Check failure of by-index access of string characters (IE < 9)\n * and failure of `0 in boxedString` (Rhino).\n *\n * `true` if no failure; otherwise `false`.\n *\n * @type boolean\n */\nconst hasBoxed = boxedString[0] === string && 0 in boxedString;\n\nexport default hasBoxed;\n","import hasBoxed from 'has-boxed-string-x';\nimport isString from 'is-string';\n\nconst EMPTY_STRING = '';\nconst strSplit = EMPTY_STRING.split;\nconst isStringFn = hasBoxed === false && typeof strSplit === 'function' && isString;\n\n/**\n * This method tests if a value is a string with the boxed bug; splits to an\n * array for iteration; otherwise returns the original value.\n *\n * @param {*} [value] - The value to be tested.\n * @returns {*} An array or characters if value was a string with the boxed bug;\n * otherwise the value.\n */\nconst splitIfBoxedBug = function splitIfBoxedBug(value) {\n return isStringFn && isStringFn(value) ? strSplit.call(value, EMPTY_STRING) : value;\n};\n\nexport default splitIfBoxedBug;\n","import attempt from 'attempt-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst pFindIndex = typeof Array.prototype.findIndex === 'function' && Array.prototype.findIndex;\n\nlet isWorking;\n\nif (pFindIndex) {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = 1;\n let res = attempt.call(testArr, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === 0;\n\n if (isWorking) {\n res = attempt.call(1, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === -1;\n }\n\n if (isWorking) {\n isWorking = attempt.call([], pFindIndex).threw;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pFindIndex, (item) => {\n return item === 'c';\n });\n\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pFindIndex,\n (item) => {\n return item === 'c';\n },\n );\n\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\n/**\n * Like `findIndex`, this method returns an index in the array, if an element\n * in the array satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If array is `null` or `undefined`-.\n * @param {Function} callback - Function to execute on each value in the array,\n * taking three arguments: `element`, `index` and `array`.\n * @throws {TypeError} If `callback` is not a function.\n * @param {*} [thisArg] - Object to use as `this` when executing `callback`.\n * @returns {number} Returns index of positively tested element, otherwise -1.\n */\nlet findIdx;\n\nif (isWorking) {\n findIdx = function findIndex(array, callback) {\n const args = [callback];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return pFindIndex.apply(array, args);\n };\n} else {\n findIdx = function findIndex(array, callback) {\n const object = toObject(array);\n assertIsFunction(callback);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n let thisArg;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n thisArg = arguments[2];\n }\n\n let index = 0;\n while (index < length) {\n if (callback.call(thisArg, iterable[index], index, object)) {\n return index;\n }\n\n index += 1;\n }\n\n return -1;\n };\n}\n\nconst fi = findIdx;\n\nexport default fi;\n","import numberIsFinite from 'is-finite-x';\nimport toInteger from 'to-integer-x';\n\n/**\n * This method determines whether the passed value is an integer.\n *\n * @param {*} value - The value to be tested for being an integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is an integer.\n */\nconst isInteger = function isInteger(value) {\n return numberIsFinite(value) && toInteger(value) === value;\n};\n\nexport default isInteger;\n","import isInteger from 'is-integer-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\nconst MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n\n/**\n * This method determines whether the passed value is a safe integer.\n *\n * Can be exactly represented as an IEEE-754 double precision number, and\n * whose IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation.\n *\n * @param {*} value - The value to be tested for being a safe integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * safe integer.\n */\nconst isSafeInteger = function isSafeInteger(value) {\n return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n};\n\nexport default isSafeInteger;\n","import isSafeInteger from 'is-safe-integer-x';\n\n/**\n * This method checks if `value` is a valid array-like length.\n *\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nconst isLength = function isLength(value) {\n return isSafeInteger(value) && value >= 0;\n};\n\nexport default isLength;\n","import isNil from 'is-nil-x';\nimport isFunction from 'is-function-x';\nimport isLength from 'is-length-x';\n\n/**\n * Checks if value is array-like. A value is considered array-like if it's\n * not a function and has a `length` that's an integer greater than or\n * equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @param {*} value - The object to be tested.\n */\nconst isArrayLike = function isArrayLike(value) {\n return isNil(value) === false && isFunction(value, true) === false && isLength(value.length);\n};\n\nexport default isArrayLike;\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport toInteger from 'to-integer-x';\nimport isArrayLike from 'is-array-like-x';\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\n/**\n * This method calculates a fromIndex of a given value for an array.\n *\n * @param {Array} array - * The array on which to calculate the starting index.\n * @throws {TypeError} If array is null or undefined.\n * @param {number} fromIndex - * The position in this array at which to begin. A\n * negative value gives the index of array.length + fromIndex by asc.\n * @returns {number} The calculated fromIndex. Default is 0.\n */\nconst calcFromIndex = function calcFromIndex(array, fromIndex) {\n const object = toObject(array);\n\n if (isArrayLike(object) === false) {\n return 0;\n }\n\n const index = toInteger(fromIndex);\n\n return index >= 0 ? index : getMax(0, toLength(object.length) + index);\n};\n\nexport default calcFromIndex;\n","import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport isFalsey from 'is-falsey-x';\nimport toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport sameValue from 'same-value-x';\nimport findIndex from 'find-index-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport attempt from 'attempt-x';\n\nlet pIndexOf = typeof Array.prototype.indexOf === 'function' && Array.prototype.indexOf;\n\nlet isWorking;\n\nif (pIndexOf) {\n let res = attempt.call([0, 1], pIndexOf, 1, 2);\n isWorking = res.threw === false && res.value === -1;\n\n if (isWorking) {\n res = attempt.call([0, 1], pIndexOf, 1);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call([0, -0], pIndexOf, -0);\n isWorking = res.threw === false && res.value === 0;\n }\n\n if (isWorking) {\n const testArr = [];\n testArr.length = 2;\n /* eslint-disable-next-line no-void */\n testArr[1] = void 0;\n /* eslint-disable-next-line no-void */\n res = attempt.call(testArr, pIndexOf, void 0);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pIndexOf, 'c');\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pIndexOf,\n 'c',\n );\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\nif (isWorking !== true) {\n pIndexOf = function $pIndexOf(searchElement) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const length = toLength(this.length);\n\n if (length < 1) {\n return -1;\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n let i = arguments[1];\n while (i < length) {\n /* eslint-disable-next-line babel/no-invalid-this */\n if (i in this && this[i] === searchElement) {\n return i;\n }\n\n i += 1;\n }\n\n return -1;\n };\n}\n\n/**\n * This method returns an index in the array, if an element in the array\n * satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @private\n * @param {Array} array - The array to search.\n * @param {*} searchElement - Element to locate in the array.\n * @param {number} fromIndex - The index to start the search at.\n * @param {Function} extendFn - The comparison function to use.\n * @returns {number} Returns index of found element, otherwise -1.\n */\nconst findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extendFn) {\n let fIdx = fromIndex;\n const length = toLength(array.length);\n while (fIdx < length) {\n if (fIdx in array && extendFn(array[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method returns the first index at which a given element can be found\n * in the array, or -1 if it is not present.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If `array` is `null` or `undefined`.\n * @param {*} searchElement - Element to locate in the `array`.\n * @param {number} [fromIndex] - The index to start the search at. If the\n * index is greater than or equal to the array's length, -1 is returned,\n * which means the array will not be searched. If the provided index value is\n * a negative number, it is taken as the offset from the end of the array.\n * Note: if the provided index is negative, the array is still searched from\n * front to back. If the calculated index is less than 0, then the whole\n * array will be searched. Default: 0 (entire array is searched).\n * @param {string} [extend] - Extension type: `SameValue` or `SameValueZero`.\n * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nconst indexOf = function indexOf(array, searchElement) {\n const object = toObject(array);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n const argLength = arguments.length;\n /* eslint-disable-next-line prefer-rest-params */\n let extend = argLength > 2 && argLength > 3 ? arguments[3] : arguments[2];\n let extendFn;\n\n if (isString(extend)) {\n extend = extend.toLowerCase();\n\n if (extend === 'samevalue') {\n extendFn = sameValue;\n } else if (extend === 'samevaluezero') {\n extendFn = sameValueZero;\n }\n }\n\n let fromIndex = 0;\n\n if (extendFn && (searchElement === 0 || numberIsNaN(searchElement))) {\n if (argLength > 3) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n if (fromIndex > 0) {\n return findIdxFrom(iterable, searchElement, fromIndex, extendFn);\n }\n\n return findIndex(iterable, (element, index) => {\n return index in iterable && extendFn(searchElement, element);\n });\n }\n\n if (argLength > 3 || (argLength > 2 && isFalsey(extendFn))) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n return pIndexOf.call(iterable, searchElement, fromIndex);\n};\n\nexport default indexOf;\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/index-of-x.min.js b/dist/index-of-x.min.js index d06178a..079e4d0 100644 --- a/dist/index-of-x.min.js +++ b/dist/index-of-x.min.js @@ -2,13 +2,13 @@ { "author": "Graham Fairweather", "copywrite": "Copyright (c) 2015-2017", - "date": "2019-07-16T21:57:44.128Z", + "date": "2019-07-17T18:01:42.280Z", "describe": "", "description": "An extended ES6 indexOf.", "file": "index-of-x.min.js", - "hash": "d41b3c992bfe07a3b88a", + "hash": "49b45af11aab1a21c1e6", "license": "MIT", - "version": "3.0.3" + "version": "3.0.4" } */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.indexOfX=t():e.indexOfX=t()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=8)}([function(e,t,r){"use strict";var n=Object.prototype.toString;if(r(5)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==n.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,r){"use strict"; @@ -17,5 +17,5 @@ * * Copyright (c) 2014-present, Jon Schlinkert. * Released under the MIT License. - */e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,r){"use strict";e.exports=9007199254740991},function(e,t,r){"use strict";var n=String.prototype.valueOf,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object String]"===o.call(e))}},function(e,t,r){"use strict";var n=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(7);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(6))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,r){"use strict";function n(e){return e!=e}r.r(t);var o=r(3),i=r.n(o);function c(e){return!!e}function u(e){return!c(e)}function s(e){return null==e}function a(e){if(s(e))throw new TypeError("Cannot call method on ".concat(e));return e}var f={}.constructor;function l(e){return f(a(e))}var p=r(0),y=r.n(p);function d(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?T(t):J)}(W.call(e)," ")))},ie=function(e){var t=d(oe,e);return!1===t.threw&&t.value},ce=function(e,t){return(!ne||!1!==t||!ie(e))&&!1===d.call(e,W).threw};function ue(e,t){if(h()(e))return!1;if(j)return ce(e,c(t));if(ne&&u(t)&&ie(e))return!1;var r=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":S.call(e)}(e);return r===Y||r===Z||r===ee}var se=1,ae="number",fe="string",le="default",pe=fe.constructor,ye=(0).constructor,de=b&&Symbol.toPrimitive,ve=b&&Symbol.prototype.valueOf,be=["toString","valueOf"],ge=["valueOf","toString"],he=function(e,t){if(a(e),"string"!=typeof t||t!==ae&&t!==fe)throw new TypeError('hint must be "string" or "number"');for(var r,n,o=t===fe?be:ge,i=0;i<2;i+=se)if(ue(r=e[o[i]])&&(n=r.call(e),h()(n)))return n;throw new TypeError("No default value")},we=function(e,t){if(t){if(e===pe)return fe;if(e===ye)return ae}return le},me=function(e){if(b){if(de)return function(e,t){var r=e[t];if(!1===s(r)){if(!1===ue(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,de);if(y()(e))return ve}};function Se(e,t){if(h()(e))return e;var r=we(t,arguments.length>se),n=me(e);if(void 0!==n){var o=n.call(e,r);if(h()(o))return o;throw new TypeError("unable to convert exotic object to primitive")}var i=r===le&&(m()(e)||y()(e))?fe:r;return he(e,i===le?ae:i)}var je=NaN,Oe=parseInt,xe=(0).constructor,Te="".charAt,Ee=/^[-+]?0[xX]/,Pe=Ee.test;function Fe(e,t){var r=L(T(e));return"᠎"===Te.call(r,0)?je:Oe(r,xe(t)||(Pe.call(Ee,r)?16:10))}var Me=2,Ce=8,Ne=2,Ae="Cannot convert a Symbol value to a number",$e=Ne.constructor,ke=Ae.slice,_e=/^0b[01]+$/i,De=_e.constructor,Ie=_e.test,Le=function(e){return Ie.call(_e,e)},Xe=/^0o[0-7]+$/i,qe=function(e){return Ie.call(Xe,e)},ze=(new De("[…​￾]","g"),new De("[…᠎​￾]","g")),Be=function(e){return Ie.call(ze,e)},Ge=/^[-+]0x[0-9a-f]+$/i,He=function(e){return Ie.call(Ge,e)};function Re(e){var t=Se(e,$e);if(y()(t))throw new TypeError(Ae);if("string"==typeof t){if(Le(t))return Re(Fe(ke.call(t,Ne),Me));if(qe(t))return Re(Fe(ke.call(t,Ne),Ce));if(Be(t)||He(t))return je;var r=G(t);if(r!==t)return Re(r)}return $e(t)}var Ue=1/0;function Ve(e){return"number"==typeof e&&!1===n(e)&&e!==Ue&&e!==-Ue}var Je=Math.abs,Ke=Math.floor;function Qe(e){var t,r=Re(e);return n(r)?0:0===r||!1===Ve(r)?r:(0===(t=Re(r))||n(t)?t:t>0?1:-1)*Ke(Je(r))}var We=r(2),Ye=r.n(We);function Ze(e){var t=Qe(e);return t<=0?0:t>Ye.a?Ye.a:t}function et(e,t){return 0===e&&0===t?1/e==1/t:e===t||n(e)&&n(t)}function tt(e,t){return e===t||et(e,t)}var rt=b&&Symbol.prototype.toString,nt="function"==typeof rt&&y.a,ot="".constructor;function it(e){if(!1===ue(e)){var t=h()(e)?(r=e,nt&&nt(r)?rt.call(r):ot(r)):"#";throw new TypeError("".concat(t," is not a function"))}var r;return e}var ct={}.constructor("a"),ut="a"===ct[0]&&0 in ct,st="",at=st.split,ft=!1===ut&&"function"==typeof at&&i.a;function lt(e){return ft&&ft(e)?at.call(e,st):e}function pt(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}var yt,dt="function"==typeof Array.prototype.findIndex&&Array.prototype.findIndex;if(dt){var vt=[];vt.length=2,vt[1]=1;var bt=d.call(vt,dt,function(e,t){return pt(this,void 0),0===t}.bind(void 0));(yt=!1===bt.threw&&0===bt.value)&&(yt=!1===(bt=d.call(1,dt,function(e,t){return pt(this,void 0),0===t}.bind(void 0))).threw&&-1===bt.value),yt&&(yt=d.call([],dt).threw),yt&&(yt=!1===(bt=d.call("abc",dt,function(e){return pt(this,void 0),"c"===e}.bind(void 0))).threw&&2===bt.value),yt&&(yt=!1===(bt=d.call(function(){return arguments}("a","b","c"),dt,function(e){return pt(this,void 0),"c"===e}.bind(void 0))).threw&&2===bt.value)}var gt=yt?function(e,t){var r=[t];return arguments.length>2&&(r[1]=arguments[2]),dt.apply(e,r)}:function(e,t){var r=l(e);it(t);var n,o=lt(r),i=Ze(o.length);if(i<1)return-1;arguments.length>2&&(n=arguments[2]);for(var c=0;c=ht&&e<=Ye.a}function mt(e){return!1===s(e)&&!1===ue(e,!0)&&function(e){return wt(e)&&e>=0}(e.length)}var St=function(e,t){return e>=t?e:t};function jt(e,t){var r=l(e);if(!1===mt(r))return 0;var n=Qe(t);return n>=0?n:St(0,Ze(r.length)+n)}r.d(t,"default",function(){return Ft});var Ot,xt="function"==typeof Array.prototype.indexOf&&Array.prototype.indexOf;if(xt){var Tt=d.call([0,1],xt,1,2);if((Ot=!1===Tt.threw&&-1===Tt.value)&&(Ot=!1===(Tt=d.call([0,1],xt,1)).threw&&1===Tt.value),Ot&&(Ot=!1===(Tt=d.call([0,-0],xt,-0)).threw&&0===Tt.value),Ot){var Et=[];Et.length=2,Et[1]=void 0,Ot=!1===(Tt=d.call(Et,xt,void 0)).threw&&1===Tt.value}Ot&&(Ot=!1===(Tt=d.call("abc",xt,"c")).threw&&2===Tt.value),Ot&&(Ot=!1===(Tt=d.call(function(){return arguments}("a","b","c"),xt,"c")).threw&&2===Tt.value)}!0!==Ot&&(xt=function(e){var t=Ze(this.length);if(t<1)return-1;for(var r=arguments[1];r2&&a>3?arguments[3]:arguments[2];i()(f)&&("samevalue"===(f=f.toLowerCase())?s=et:"samevaluezero"===f&&(s=tt));var p=0;if(s&&(0===t||n(t))){if(a>3){if((p=jt(o,arguments[2]))>=c)return-1;p<0&&(p=0)}return p>0?Pt(o,t,p,s):gt(o,function(e,n){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,r),n in o&&s(t,e)}.bind(this))}if(a>3||a>2&&u(s)){if((p=jt(o,arguments[2]))>=c)return-1;p<0&&(p=0)}return xt.call(o,t,p)}}])}); + */e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,r){"use strict";e.exports=9007199254740991},function(e,t,r){"use strict";var n=String.prototype.valueOf,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object String]"===o.call(e))}},function(e,t,r){"use strict";var n=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(7);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(6))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,r){"use strict";r.r(t);var n=function(e){return e!=e},o=r(3),i=r.n(o),c=function(e){return!!e},u=function(e){return!c(e)},s=function(e){return null==e},a=function(e){if(s(e))throw new TypeError("Cannot call method on ".concat(e));return e},f={}.constructor,l=function(e){return f(a(e))},p=r(0),y=r.n(p),d=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?E(t):"")};var ee=d.constructor,te=(!0).constructor,re=d.toString,ne=/^class /,oe=ne.test,ie=!1===d(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),ee('"use strict"; return class My {};')()}.bind(void 0)).threw,ce=function(e){return oe.call(ne,Q(Z(re.call(e)," ")))},ue=function(e){var t=d(ce,e);return!1===t.threw&&t.value},se=function(e,t){if(h()(e))return!1;if(O)return function(e,t){return!(ie&&!1===t&&ue(e)||!1!==d.call(e,re).threw)}(e,c(t));if(ie&&!1===te(t)&&ue(e))return!1;var r=j(e);return"[object Function]"===r||"[object GeneratorFunction]"===r||"[object AsyncFunction]"===r},ae="string".constructor,fe=(0).constructor,le=b&&Symbol.toPrimitive,pe=b&&Symbol.prototype.valueOf,ye=["toString","valueOf"],de=["valueOf","toString"],ve=function(e,t){if(a(e),"string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');for(var r,n,o="string"===t?ye:de,i=0;i<2;i+=1)if(r=e[o[i]],se(r)&&(n=r.call(e),h()(n)))return n;throw new TypeError("No default value")},be=function(e,t){if(t){if(e===ae)return"string";if(e===fe)return"number"}return"default"},ge=function(e){if(b){if(le)return function(e,t){var r=e[t];if(!1===s(r)){if(!1===se(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,le);if(y()(e))return pe}},he=function(e,t){if(h()(e))return e;var r=be(t,arguments.length>1),n=ge(e);if(void 0!==n){var o=n.call(e,r);if(h()(o))return o;throw new TypeError("unable to convert exotic object to primitive")}var i="default"===r&&(m()(e)||y()(e))?"string":r;return ve(e,"default"===i?"number":i)},we=NaN,me=parseInt,Se=(0).constructor,je="".charAt,Oe=/^[-+]?0[xX]/,xe=Oe.test;var Te=function(e,t){var r=X(E(e));return"᠎"===je.call(r,0)?we:me(r,Se(t)||(xe.call(Oe,r)?16:10))},Ee=2,Pe=8,Fe=2,Me="Cannot convert a Symbol value to a number",Ce=Fe.constructor,Ne=Me.slice,Ae=/^0b[01]+$/i,$e=Ae.constructor,ke=Ae.test,_e=function(e){return ke.call(Ae,e)},De=/^0o[0-7]+$/i,Ie=function(e){return ke.call(De,e)},Le=(new $e("[…​￾]","g"),new $e("[…᠎​￾]","g")),Xe=/^[-+]0x[0-9a-f]+$/i,qe=function(e){return ke.call(Xe,e)};var ze=function e(t){var r=he(t,Ce);if(y()(r))throw new TypeError(Me);if("string"==typeof r){if(_e(r))return e(Te(Ne.call(r,Fe),Ee));if(Ie(r))return e(Te(Ne.call(r,Fe),Pe));if(function(e){return ke.call(Le,e)}(r)||qe(r))return we;var n=R(r);if(n!==r)return e(n)}return Ce(r)},Be=function(e){return"number"==typeof e&&!1===n(e)&&e!==1/0&&e!==-1/0};var Ge=function(e){var t=ze(e);return 0===t||n(t)?t:t>0?1:-1},He=Math.abs,Re=Math.floor;var Ue=function(e){var t=ze(e);return n(t)?0:0===t||!1===Be(t)?t:Ge(t)*Re(He(t))},Ve=r(2),Je=r.n(Ve);var Ke=function(e){var t=Ue(e);return t<=0?0:t>Je.a?Je.a:t},Qe=function(e,t){return 0===e&&0===t?1/e==1/t:e===t||n(e)&&n(t)},We=function(e,t){return e===t||Qe(e,t)},Ye=b&&Symbol.prototype.toString,Ze="function"==typeof Ye&&y.a,et="".constructor,tt=function(e){return Ze&&Ze(e)?Ye.call(e):et(e)},rt=function(e){if(!1===se(e)){var t=h()(e)?tt(e):"#";throw new TypeError("".concat(t," is not a function"))}return e},nt={}.constructor("a"),ot="a"===nt[0]&&0 in nt,it="".split,ct=!1===ot&&"function"==typeof it&&i.a,ut=function(e){return ct&&ct(e)?it.call(e,""):e};function st(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}var at,ft="function"==typeof Array.prototype.findIndex&&Array.prototype.findIndex;if(ft){var lt=[];lt.length=2,lt[1]=1;var pt=d.call(lt,ft,function(e,t){return st(this,void 0),0===t}.bind(void 0));(at=!1===pt.threw&&0===pt.value)&&(at=!1===(pt=d.call(1,ft,function(e,t){return st(this,void 0),0===t}.bind(void 0))).threw&&-1===pt.value),at&&(at=d.call([],ft).threw),at&&(at=!1===(pt=d.call("abc",ft,function(e){return st(this,void 0),"c"===e}.bind(void 0))).threw&&2===pt.value),at&&(at=!1===(pt=d.call(function(){return arguments}("a","b","c"),ft,function(e){return st(this,void 0),"c"===e}.bind(void 0))).threw&&2===pt.value)}var yt=at?function(e,t){var r=[t];return arguments.length>2&&(r[1]=arguments[2]),ft.apply(e,r)}:function(e,t){var r=l(e);rt(t);var n,o=ut(r),i=Ke(o.length);if(i<1)return-1;arguments.length>2&&(n=arguments[2]);for(var c=0;c=-9007199254740991&&e<=9007199254740991},bt=function(e){return vt(e)&&e>=0},gt=function(e){return!1===s(e)&&!1===se(e,!0)&&bt(e.length)},ht=function(e,t){var r=l(e);if(!1===gt(r))return 0;var n,o,i=Ue(t);return i>=0?i:(n=0,o=Ke(r.length)+i,n>=o?n:o)};function wt(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}var mt,St="function"==typeof Array.prototype.indexOf&&Array.prototype.indexOf;if(St){var jt=d.call([0,1],St,1,2);if((mt=!1===jt.threw&&-1===jt.value)&&(mt=!1===(jt=d.call([0,1],St,1)).threw&&1===jt.value),mt&&(mt=!1===(jt=d.call([0,-0],St,-0)).threw&&0===jt.value),mt){var Ot=[];Ot.length=2,Ot[1]=void 0,mt=!1===(jt=d.call(Ot,St,void 0)).threw&&1===jt.value}mt&&(mt=!1===(jt=d.call("abc",St,"c")).threw&&2===jt.value),mt&&(mt=!1===(jt=d.call(function(){return arguments}("a","b","c"),St,"c")).threw&&2===jt.value)}!0!==mt&&(St=function(e){var t=Ke(this.length);if(t<1)return-1;for(var r=arguments[1];r2&&f>3?arguments[3]:arguments[2];i()(p)&&("samevalue"===(p=p.toLowerCase())?a=Qe:"samevaluezero"===p&&(a=We));var y=0;if(a&&(0===t||n(t))){if(f>3){if((y=ht(c,arguments[2]))>=s)return-1;y<0&&(y=0)}return y>0?xt(c,t,y,a):yt(c,function(e,n){return wt(this,r),n in c&&a(t,e)}.bind(this))}if(f>3||f>2&&u(a)){if((y=ht(c,arguments[2]))>=s)return-1;y<0&&(y=0)}return St.call(c,t,y)}}])}); //# sourceMappingURL=index-of-x.min.js.map \ No newline at end of file diff --git a/dist/index-of-x.min.js.map b/dist/index-of-x.min.js.map index a873ccf..2e5af2c 100644 --- a/dist/index-of-x.min.js.map +++ b/dist/index-of-x.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://indexOfX/webpack/universalModuleDefinition","webpack://indexOfX/webpack/bootstrap","webpack://indexOfX/./node_modules/is-symbol/index.js","webpack://indexOfX/./node_modules/is-primitive/index.js","webpack://indexOfX/./node_modules/max-safe-integer/index.js","webpack://indexOfX/./node_modules/is-string/index.js","webpack://indexOfX/./node_modules/is-date-object/index.js","webpack://indexOfX/./node_modules/has-symbols/index.js","webpack://indexOfX/(webpack)/buildin/global.js","webpack://indexOfX/./node_modules/has-symbols/shams.js","webpack://indexOfX/../src/is-nan-x.js","webpack://indexOfX/../src/to-boolean-x.js","webpack://indexOfX/../src/is-falsey-x.js","webpack://indexOfX/../src/is-nil-x.js","webpack://indexOfX/../src/require-object-coercible-x.js","webpack://indexOfX/../src/to-object-x.js","webpack://indexOfX/../src/attempt-x.js","webpack://indexOfX/../src/has-symbol-support-x.js","webpack://indexOfX/../src/to-string-tag-x.js","webpack://indexOfX/../src/has-to-string-tag-x.js","webpack://indexOfX/../src/to-string-x.js","webpack://indexOfX/../src/require-coercible-to-string-x.js","webpack://indexOfX/../src/white-space-x.js","webpack://indexOfX/../src/trim-left-x.js","webpack://indexOfX/../src/trim-right-x.js","webpack://indexOfX/../src/trim-x.js","webpack://indexOfX/../src/normalize-space-x.js","webpack://indexOfX/../src/replace-comments-x.js","webpack://indexOfX/../src/is-function-x.js","webpack://indexOfX/../src/to-primitive-x.js","webpack://indexOfX/../src/nan-x.js","webpack://indexOfX/../src/parse-int-x.js","webpack://indexOfX/../src/to-number-x.js","webpack://indexOfX/../src/infinity-x.js","webpack://indexOfX/../src/is-finite-x.js","webpack://indexOfX/../src/to-integer-x.js","webpack://indexOfX/../src/math-sign-x.js","webpack://indexOfX/../src/to-length-x.js","webpack://indexOfX/../src/same-value-x.js","webpack://indexOfX/../src/same-value-zero-x.js","webpack://indexOfX/../src/to-string-symbols-supported-x.js","webpack://indexOfX/../src/assert-is-function-x.js","webpack://indexOfX/../src/has-boxed-string-x.js","webpack://indexOfX/../src/split-if-boxed-bug-x.js","webpack://indexOfX/../src/find-index-x.js","webpack://indexOfX/../src/is-safe-integer-x.js","webpack://indexOfX/../src/is-integer-x.js","webpack://indexOfX/../src/is-array-like-x.js","webpack://indexOfX/../src/is-length-x.js","webpack://indexOfX/../src/calculate-from-index-x.js","webpack://indexOfX/../src/index-of-x.js"],"names":["root","factory","exports","module","define","amd","self","window","global","Function","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","toStr","toString","symToStr","symStringRegex","valueOf","test","isSymbolObject","e","val","strValue","String","hasToStringTag","tryStringObject","getDay","Date","tryDateObject","origSymbol","hasSymbolSham","g","this","getOwnPropertySymbols","iterator","obj","sym","symObj","keys","length","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","is_nan_x_esm_isNaN","toBoolean","isFalsey","isNil","requireObjectCoercible","TypeError","concat","castObject","constructor","toObject","attempt","fn","_len","arguments","args","Array","_key","threw","apply","hasSymbolSupport","_newArrowCheck","is_symbol_default","undefined","has_symbol_support_x_esm","nativeObjectToString","has_to_string_tag_x_esm","ERROR_MESSAGE","castString","ToString","requireCoercibleToString","list","code","description","es5","es2015","es2016","es2017","es2018","string","stringES2016","stringES2018","white_space_x_esm_length","white_space_x_esm_i","white_space_x_esm","string2016","EMPTY_STRING","RegExpCtr","reLeft","replace","trimLeft2018","trim_right_x_esm_EMPTY_STRING","trim_right_x_esm_RegExpCtr","reRight2018","trim_right_x_esm_replace","trim2018","trimRight2018","SPACE","normalize_space_x_esm_RegExpCtr","reNormalize2018","normalize_space_x_esm_replace","replace_comments_x_esm_EMPTY_STRING","STRIP_COMMENTS","replace_comments_x_esm_replace","fToString","funcTag","genTag","asyncTag","ctrRx","hasNativeClass","is_function_x_esm_newArrowCheck","testClassstring","normalizeSpace2018","replacement","replaceComments","isES6ClassFn","result","tryFuncToString","allowClass","isFunction","is_primitive_default","strTag","ONE","NUMBER","STRING","DEFAULT","StringCtr","NumberCtr","symToPrimitive","toPrimitive","symValueOf","toStringOrder","toNumberOrder","ordinaryToPrimitive","ordinary","hint","method","methodNames","getHint","supplied","to_primitive_x_esm_getExoticToPrim","func","getMethod","input","preferredType","exoticToPrim","newHint","is_date_object_default","nan_x_esm","nativeParseInt","parseInt","castNumber","charAt","hexRegex","parse_int_x_esm_test","parseInt2018","radix","str","binaryRadix","octalRadix","testCharsCount","to_number_x_esm_ERROR_MESSAGE","to_number_x_esm_castNumber","pStrSlice","slice","binaryRegex","RegExpConstructor","to_number_x_esm_test","isBinary","octalRegex","isOctal","nonWSregex2018","hasNonWS2018","invalidHexLiteral","isInvalidHexLiteral","toNumber2018","argument","trimmed","infinity_x_esm","is_finite_x_esm_isFinite","number","abs","Math","floor","toInteger2018","toLength2018","len","max_safe_integer_default","a","sameValue","value1","value2","sameValueZero","x","y","pToString","isSymbolFn","to_string_symbols_supported_x_esm_castString","assertIsFunction","callback","msg","boxedString","has_boxed_string_x_esm","split_if_boxed_bug_x_esm_EMPTY_STRING","strSplit","split","isStringFn","is_string_default","splitIfBoxedBug","isWorking","pFindIndex","findIndex","testArr","res","item","idx","find_index_x_esm_newArrowCheck","find_index_x_esm","array","thisArg","iterable","index","MIN_SAFE_INTEGER","isSafeInteger","isInteger","isArrayLike","isLength","getMax","b","calcFromIndex","fromIndex","index_of_x_esm_isWorking","pIndexOf","indexOf","index_of_x_esm_res","index_of_x_esm_testArr","searchElement","findIdxFrom","extendFn","fIdx","_this","argLength","extend","toLowerCase","element","index_of_x_esm_newArrowCheck"],"mappings":";;;;;;;;;;;;;CAAA,SAAAA,EAAAC,GACA,iBAAAC,SAAA,iBAAAC,OACAA,OAAAD,QAAAD,IACA,mBAAAG,eAAAC,IACAD,OAAA,GAAAH,GACA,iBAAAC,QACAA,QAAA,SAAAD,IAEAD,EAAA,SAAAC,IARA,CASC,WACD,aAEA,0BAAAK,KACAA,KAGA,oBAAAC,OACAA,OAGA,oBAAAC,OACAA,OAGAC,SAAA,cAAAA,GAfC,GAgBA,WACD,mBCzBA,IAAAC,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAV,QAGA,IAAAC,EAAAO,EAAAE,GAAA,CACAC,EAAAD,EACAE,GAAA,EACAZ,QAAA,IAUA,OANAa,EAAAH,GAAAI,KAAAb,EAAAD,QAAAC,IAAAD,QAAAS,GAGAR,EAAAW,GAAA,EAGAX,EAAAD,QA0DA,OArDAS,EAAAM,EAAAF,EAGAJ,EAAAO,EAAAR,EAGAC,EAAAQ,EAAA,SAAAjB,EAAAkB,EAAAC,GACAV,EAAAW,EAAApB,EAAAkB,IACAG,OAAAC,eAAAtB,EAAAkB,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CV,EAAAgB,EAAA,SAAAzB,GACA,oBAAA0B,eAAAC,aACAN,OAAAC,eAAAtB,EAAA0B,OAAAC,YAAA,CAAwDC,MAAA,WAExDP,OAAAC,eAAAtB,EAAA,cAAiD4B,OAAA,KAQjDnB,EAAAoB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAAnB,EAAAmB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,iBAAAF,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AAKgP,EAAUgB,EAAeN","file":"index-of-x.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"indexOfX\"] = factory();\n\telse\n\t\troot[\"indexOfX\"] = factory();\n})((function () {\n 'use strict';\n\n if (typeof self !== 'undefined') {\n return self;\n }\n\n if (typeof window !== 'undefined') {\n return window;\n }\n\n if (typeof global !== 'undefined') {\n return global;\n }\n\n return Function('return this')();\n}()), function() {\nreturn "," \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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","/*!\n * is-primitive \n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function isPrimitive(val) {\n if (typeof val === 'object') {\n return val === null;\n }\n return typeof val !== 'function';\n};\n","'use strict';\nmodule.exports = 9007199254740991;\n","'use strict';\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') { return true; }\n\tif (typeof value !== 'object') { return false; }\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateObject(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) { return false; }\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","'use strict';\n\nvar origSymbol = global.Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\n\n/* eslint complexity: [2, 17], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","/**\n * This method determines whether the passed value is NaN and its type is\n * `Number`. It is a more robust version of the original, global isNaN().\n *\n * @param {*} [value] - The value to be tested for NaN.\n * @returns {boolean} `true` if the given value is NaN and its type is Number;\n * otherwise, `false`.\n */\nexport default function isNaN(value) {\n /* eslint-disable-next-line no-self-compare */\n return value !== value;\n}\n","/**\n * The abstract operation ToBoolean converts argument to a value of type Boolean.\n *\n * @param {*} [value] - The value to be converted.\n * @returns {boolean} 'true' if value is truthy; otherwise 'false'.\n */\nexport default function toBoolean(value) {\n return !!value;\n}\n","import toBoolean from 'to-boolean-x';\n\n/**\n * This method tests if a given value is falsey.\n *\n * @param {*} [value] - The value to test.\n * @returns {boolean} `true` if the value is falsey: otherwise `false`.\n */\nexport default function isFalsey(value) {\n return !toBoolean(value);\n}\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n */\nexport default function isNil(value) {\n /* eslint-disable-next-line lodash/prefer-is-nil */\n return value === null || typeof value === 'undefined';\n}\n","import isNil from 'is-nil-x';\n\n/**\n * The abstract operation RequireObjectCoercible throws an error if argument\n * is a value that cannot be converted to an Object using ToObject.\n *\n * @param {*} [value] - The `value` to check.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {string} The `value`.\n */\nexport default function requireObjectCoercible(value) {\n if (isNil(value)) {\n throw new TypeError(`Cannot call method on ${value}`);\n }\n\n return value;\n}\n","import requireObjectCoercible from 'require-object-coercible-x';\n\nconst castObject = {}.constructor;\n\n/**\n * The abstract operation ToObject converts argument to a value of\n * type Object.\n *\n * @param {*} value - The `value` to convert.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {!object} The `value` converted to an object.\n */\nexport default function toObject(value) {\n return castObject(requireObjectCoercible(value));\n}\n","/**\n * This method attempts to invoke the function, returning either the result or\n * the caught error object. Any additional arguments are provided to the\n * function when it's invoked.\n *\n * @param {Function} [fn] - The function to attempt.\n * @param {...*} [args] - The arguments to invoke the function with.\n * @returns {object} Returns an object of the result.\n */\nexport default function attempt(fn, ...args) {\n try {\n return {\n threw: false,\n /* eslint-disable-next-line babel/no-invalid-this */\n value: fn.apply(this, args),\n };\n } catch (e) {\n return {\n threw: true,\n value: e,\n };\n }\n}\n","import attempt from 'attempt-x';\nimport isSymbol from 'is-symbol';\n\nconst hasSymbolSupport = attempt(() => {\n /* eslint-disable-next-line compat/compat */\n return typeof Symbol === 'function' && isSymbol(Symbol(''));\n});\n\n/**\n * Indicates if `Symbol`exists and creates the correct type.\n * `true`, if it exists and creates the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbolSupport.threw === false && hasSymbolSupport.value === true;\n","const nativeObjectToString = {}.toString;\n\n/**\n * The `toStringTag` method returns \"[object type]\", where type is the\n * object type.\n *\n * @param {*} [value] - The object of which to get the object type string.\n * @returns {string} The object type string.\n */\nexport default function toStringTag(value) {\n if (value === null) {\n return '[object Null]';\n }\n\n if (typeof value === 'undefined') {\n return '[object Undefined]';\n }\n\n return nativeObjectToString.call(value);\n}\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/**\n * Indicates if `Symbol.toStringTag`exists and is the correct type.\n * `true`, if it exists and is the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbols &&\n /* eslint-disable-next-line compat/compat */\n isSymbol(Symbol.toStringTag);\n","import isSymbol from 'is-symbol';\n\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a string';\nconst castString = ERROR_MESSAGE.constructor;\n/**\n * The abstract operation ToString converts argument to a value of type String.\n *\n * @param {*} [value] - The value to convert to a string.\n * @throws {TypeError} If `value` is a Symbol.\n * @returns {string} The converted value.\n */\nexport default function ToString(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return castString(value);\n}\n","import requireObjectCoercible from 'require-object-coercible-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method requires an argument is corecible then converts using ToString.\n *\n * @param {*} [value] - The value to converted to a string.\n * @throws {TypeError} If value is null or undefined.\n * @returns {string} The value as a string.\n */\nexport default function requireCoercibleToString(value) {\n return toStr(requireObjectCoercible(value));\n}\n","/**\n * A record of a white space character.\n *\n * @typedef {object} CharRecord\n * @property {number} code - The character code.\n * @property {string} description - A description of the character.\n * @property {boolean} es5 - Whether the spec lists this as a white space.\n * @property {boolean} es2015 - Whether the spec lists this as a white space.\n * @property {boolean} es2016 - Whether the spec lists this as a white space.\n * @property {boolean} es2017 - Whether the spec lists this as a white space.\n * @property {boolean} es2018 - Whether the spec lists this as a white space.\n * @property {string} string - The character string.\n */\n\n/**\n * An array of the whitespace char codes, string, descriptions and language\n * presence in the specifications.\n *\n * @type Array.\n */\nexport const list = [\n {\n code: 0x0009,\n description: 'Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0009',\n },\n {\n code: 0x000a,\n description: 'Line Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000a',\n },\n {\n code: 0x000b,\n description: 'Vertical Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000b',\n },\n {\n code: 0x000c,\n description: 'Form Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000c',\n },\n {\n code: 0x000d,\n description: 'Carriage Return',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000d',\n },\n {\n code: 0x0020,\n description: 'Space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0020',\n },\n /*\n {\n code: 0x0085,\n description: 'Next line',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u0085'\n }\n */\n {\n code: 0x00a0,\n description: 'No-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u00a0',\n },\n {\n code: 0x1680,\n description: 'Ogham space mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u1680',\n },\n {\n code: 0x180e,\n description: 'Mongolian vowel separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: false,\n es2018: false,\n string: '\\u180e',\n },\n {\n code: 0x2000,\n description: 'En quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2000',\n },\n {\n code: 0x2001,\n description: 'Em quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2001',\n },\n {\n code: 0x2002,\n description: 'En space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2002',\n },\n {\n code: 0x2003,\n description: 'Em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2003',\n },\n {\n code: 0x2004,\n description: 'Three-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2004',\n },\n {\n code: 0x2005,\n description: 'Four-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2005',\n },\n {\n code: 0x2006,\n description: 'Six-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2006',\n },\n {\n code: 0x2007,\n description: 'Figure space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2007',\n },\n {\n code: 0x2008,\n description: 'Punctuation space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2008',\n },\n {\n code: 0x2009,\n description: 'Thin space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2009',\n },\n {\n code: 0x200a,\n description: 'Hair space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u200a',\n },\n /*\n {\n code: 0x200b,\n description: 'Zero width space',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u200b'\n },\n */\n {\n code: 0x2028,\n description: 'Line separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2028',\n },\n {\n code: 0x2029,\n description: 'Paragraph separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2029',\n },\n {\n code: 0x202f,\n description: 'Narrow no-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u202f',\n },\n {\n code: 0x205f,\n description: 'Medium mathematical space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u205f',\n },\n {\n code: 0x3000,\n description: 'Ideographic space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u3000',\n },\n {\n code: 0xfeff,\n description: 'Byte Order Mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\ufeff',\n },\n];\n\n/**\n * A string of the ES5 to ES2016 whitespace characters.\n *\n * @type string\n */\nlet stringES2016 = '';\n\n/**\n * A string of the ES2017 to ES2018 whitespace characters.\n *\n * @type string\n */\nlet stringES2018 = '';\nconst {length} = list;\nfor (let i = 0; i < length; i += 1) {\n if (list[i].es2016) {\n stringES2016 += list[i].string;\n }\n\n if (list[i].es2018) {\n stringES2018 += list[i].string;\n }\n}\n\nconst string2018 = stringES2018;\n\nexport default string2018;\nexport const string2016 = stringES2016;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reLeft2016 = new RegExpCtr(`^[${string2016}]+`);\nconst reLeft = new RegExpCtr(`^[${whiteSpace}]+`);\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method removes whitespace from the left end of a string. (ES2016).\n *\n * @param {string} [string] - The string to trim the left end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The left trimmed string.\n */\nexport function trimLeft2016(string) {\n return replace.call(requireCoercibleToString(string), reLeft2016, EMPTY_STRING);\n}\n\n/**\n * This method removes whitespace from the left end of a string. (ES2018).\n *\n * @param {string} [string] - The string to trim the left end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The left trimmed string.\n */\nexport default function trimLeft2018(string) {\n return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING);\n}\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reRight2016 = new RegExpCtr(`[${string2016}]+$`);\nconst reRight2018 = new RegExpCtr(`[${whiteSpace}]+$`);\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method removes whitespace from the right end of a string. (ES2016).\n *\n * @param {string} [string] - The string to trim the right end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The right trimmed string.\n */\nexport function trimRight2016(string) {\n return replace.call(requireCoercibleToString(string), reRight2016, EMPTY_STRING);\n}\n\n/**\n * This method removes whitespace from the right end of a string. (ES2018).\n *\n * @param {string} [string] - The string to trim the right end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The right trimmed string.\n */\nexport default function trimRight2018(string) {\n return replace.call(requireCoercibleToString(string), reRight2018, EMPTY_STRING);\n}\n","import trimLeft, {trimLeft2016} from 'trim-left-x';\nimport trimRight, {trimRight2016} from 'trim-right-x';\n\n/**\n * This method removes whitespace from the left and right end of a string.\n * (ES2016).\n *\n * @param {string} [string] - The string to trim the whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The trimmed string.\n */\nexport function trim2016(string) {\n return trimLeft2016(trimRight2016(string));\n}\n\n/**\n * This method removes whitespace from the left and right end of a string.\n * (ES2018).\n *\n * @param {string} [string] - The string to trim the whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The trimmed string.\n */\nexport default function trim2018(string) {\n return trimLeft(trimRight(string));\n}\n","import trim, {trim2016} from 'trim-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst SPACE = ' ';\nconst RegExpCtr = /none/.constructor;\nconst reNormalize2016 = new RegExpCtr(`[${string2016}]+`, 'g');\nconst reNormalize2018 = new RegExpCtr(`[${whiteSpace}]+`, 'g');\nconst {replace} = SPACE;\n\n/**\n * This method strips leading and trailing white-space from a string,\n * replaces sequences of whitespace characters by a single space,\n * and returns the resulting string. (ES2016).\n *\n * @param {string} [string] - The string to be normalized.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The normalized string.\n */\nexport function normalizeSpace2016(string) {\n return replace.call(trim2016(string), reNormalize2016, SPACE);\n}\n\n/**\n * This method strips leading and trailing white-space from a string,\n * replaces sequences of whitespace characters by a single space,\n * and returns the resulting string. (ES2018).\n *\n * @param {string} [string] - The string to be normalized.\n * @throws {TypeError} If string is null or undefined or not coercible.\n */\nexport default function normalizeSpace2018(string) {\n return replace.call(trim(string), reNormalize2018, SPACE);\n}\n","import toStr from 'to-string-x';\nimport requireCoercibleToString from 'require-coercible-to-string-x';\n\nconst EMPTY_STRING = '';\nconst STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/gm;\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method replaces comments in a string.\n *\n * @param {string} [string] - The string to be stripped.\n * @param {string} [replacement=''] - The string to be used as a replacement.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @throws {TypeError} If replacement is not coercible.\n * @returns {string} The new string with the comments replaced.\n */\nexport default function replaceComments(string, replacement) {\n return replace.call(requireCoercibleToString(string), STRIP_COMMENTS, arguments.length > 1 ? toStr(replacement) : EMPTY_STRING);\n}\n","import attempt from 'attempt-x';\nimport toBoolean from 'to-boolean-x';\nimport isFalsey from 'is-falsey-x';\nimport toStringTag from 'to-string-tag-x';\nimport hasToStringTag from 'has-to-string-tag-x';\nimport isPrimitive from 'is-primitive';\nimport normalise from 'normalize-space-x';\nimport deComment from 'replace-comments-x';\n\nconst SPACE = ' ';\nconst fToString = Function.prototype.toString;\nconst funcTag = '[object Function]';\nconst genTag = '[object GeneratorFunction]';\nconst asyncTag = '[object AsyncFunction]';\nconst ctrRx = /^class /;\nconst {test} = ctrRx;\n\nconst hasNativeClass =\n attempt(() => {\n /* eslint-disable-next-line no-new-func */\n return Function('\"use strict\"; return class My {};')();\n }).threw === false;\n\nconst testClassstring = function _testClassstring(value) {\n return test.call(ctrRx, normalise(deComment(fToString.call(value), SPACE)));\n};\n\nconst isES6ClassFn = function isES6ClassFunc(value) {\n const result = attempt(testClassstring, value);\n\n return result.threw === false && result.value;\n};\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @private\n * @param {*} value - The value to check.\n * @param {boolean} allowClass - Whether to filter ES6 classes.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n */\nconst tryFuncToString = function funcToString(value, allowClass) {\n if (hasNativeClass && allowClass === false && isES6ClassFn(value)) {\n return false;\n }\n\n return attempt.call(value, fToString).threw === false;\n};\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @param {*} value - The value to check.\n * @param {boolean} [allowClass=false] - Whether to filter ES6 classes.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n */\nexport default function isFunction(value, allowClass) {\n if (isPrimitive(value)) {\n return false;\n }\n\n if (hasToStringTag) {\n return tryFuncToString(value, toBoolean(allowClass));\n }\n\n if (hasNativeClass && isFalsey(allowClass) && isES6ClassFn(value)) {\n return false;\n }\n\n const strTag = toStringTag(value);\n\n return strTag === funcTag || strTag === genTag || strTag === asyncTag;\n}\n","import hasSymbols from 'has-symbol-support-x';\nimport isPrimitive from 'is-primitive';\nimport isDate from 'is-date-object';\nimport isSymbol from 'is-symbol';\nimport isFunction from 'is-function-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport isNil from 'is-nil-x';\n\nconst ZERO = 0;\nconst ONE = 1;\n/* eslint-disable-next-line no-void */\nconst UNDEFINED = void ZERO;\nconst NUMBER = 'number';\nconst STRING = 'string';\nconst DEFAULT = 'default';\n/** @type {StringConstructor} */\nconst StringCtr = STRING.constructor;\n/** @type {NumberConstructor} */\nconst NumberCtr = ZERO.constructor;\n/* eslint-disable-next-line compat/compat */\nconst symToPrimitive = hasSymbols && Symbol.toPrimitive;\n/* eslint-disable-next-line compat/compat */\nconst symValueOf = hasSymbols && Symbol.prototype.valueOf;\n\nconst toStringOrder = ['toString', 'valueOf'];\nconst toNumberOrder = ['valueOf', 'toString'];\nconst orderLength = 2;\n\n/**\n * @param {*} ordinary - The ordinary to convert.\n * @param {*} hint - The hint.\n * @returns {*} - The primitive.\n */\nconst ordinaryToPrimitive = function _ordinaryToPrimitive(ordinary, hint) {\n requireObjectCoercible(ordinary);\n\n if (typeof hint !== 'string' || (hint !== NUMBER && hint !== STRING)) {\n throw new TypeError('hint must be \"string\" or \"number\"');\n }\n\n const methodNames = hint === STRING ? toStringOrder : toNumberOrder;\n let method;\n let result;\n for (let i = ZERO; i < orderLength; i += ONE) {\n method = ordinary[methodNames[i]];\n\n if (isFunction(method)) {\n result = method.call(ordinary);\n\n if (isPrimitive(result)) {\n return result;\n }\n }\n }\n\n throw new TypeError('No default value');\n};\n\n/**\n * @param {*} object - The object.\n * @param {*} property - The property.\n * @returns {undefined|Function} - The method.\n */\nconst getMethod = function _getMethod(object, property) {\n const func = object[property];\n\n if (isNil(func) === false) {\n if (isFunction(func) === false) {\n throw new TypeError(`${func} returned for property ${property} of object ${object} is not a function`);\n }\n\n return func;\n }\n\n return UNDEFINED;\n};\n\n/**\n * Get the hint.\n *\n * @param {*} value - The value to compare.\n * @param {boolean} supplied - Was a value supplied.\n * @returns {string} - The hint string.\n */\nconst getHint = function getHint(value, supplied) {\n if (supplied) {\n if (value === StringCtr) {\n return STRING;\n }\n\n if (value === NumberCtr) {\n return NUMBER;\n }\n }\n\n return DEFAULT;\n};\n\n/**\n * Get the primitive from the exotic.\n *\n * @param {*} value - The exotic.\n * @returns {*} - The primitive.\n */\nconst getExoticToPrim = function getExoticToPrim(value) {\n if (hasSymbols) {\n if (symToPrimitive) {\n return getMethod(value, symToPrimitive);\n }\n\n if (isSymbol(value)) {\n return symValueOf;\n }\n }\n\n return UNDEFINED;\n};\n\n/**\n * This method converts a JavaScript object to a primitive value.\n * Note: When toPrimitive is called with no hint, then it generally behaves as\n * if the hint were Number. However, objects may over-ride this behaviour by\n * defining a @@toPrimitive method. Of the objects defined in this specification\n * only Date objects (see 20.3.4.45) and Symbol objects (see 19.4.3.4) over-ride\n * the default ToPrimitive behaviour. Date objects treat no hint as if the hint\n * were String.\n *\n * @param {*} input - The input to convert.\n * @param {NumberConstructor|StringConstructor} [preferredType] - The preferred type (String or Number).\n * @throws {TypeError} If unable to convert input to a primitive.\n * @returns {string|number} The converted input as a primitive.\n * @see {http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive}\n */\nexport default function toPrimitive(input, preferredType) {\n if (isPrimitive(input)) {\n return input;\n }\n\n const hint = getHint(preferredType, arguments.length > ONE);\n const exoticToPrim = getExoticToPrim(input);\n\n if (typeof exoticToPrim !== 'undefined') {\n const result = exoticToPrim.call(input, hint);\n\n if (isPrimitive(result)) {\n return result;\n }\n\n throw new TypeError('unable to convert exotic object to primitive');\n }\n\n const newHint = hint === DEFAULT && (isDate(input) || isSymbol(input)) ? STRING : hint;\n\n return ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint);\n}\n","/**\n * The constant NaN derived mathematically by 0 / 0.\n *\n * @type number\n */\nexport default 0 / 0;\n","import NAN from 'nan-x';\nimport toStr from 'to-string-x';\nimport trimLeft, {trimLeft2016} from 'trim-left-x';\n\nconst nativeParseInt = parseInt;\n/** @type {Function} */\nconst castNumber = (0).constructor;\n// noinspection JSPotentiallyInvalidConstructorUsage\nconst {charAt} = '';\nconst hexRegex = /^[-+]?0[xX]/;\nconst {test} = hexRegex;\n\n/**\n * This method parses a string argument and returns an integer of the specified\n * radix (the base in mathematical numeral systems). (ES2016).\n *\n * @param {string} [string] - The value to parse. If the string argument is not a\n * string, then it is converted to a string (using the ToString abstract\n * operation). Leading whitespace in the string argument is ignored.\n * @param {number} [radix] - An integer between 2 and 36 that represents the radix\n * (the base in mathematical numeral systems) of the above mentioned string.\n * Specify 10 for the decimal numeral system commonly used by humans. Always\n * specify this parameter to eliminate reader confusion and to guarantee\n * predictable behavior. Different implementations produce different results\n * when a radix is not specified, usually defaulting the value to 10.\n * @throws {TypeError} If target is a Symbol or is not coercible.\n * @returns {number} An integer number parsed from the given string. If the first\n * character cannot be converted to a number, NaN is returned.\n */\nexport function parseInt2016(string, radix) {\n const str = trimLeft2016(toStr(string));\n\n return nativeParseInt(str, castNumber(radix) || (test.call(hexRegex, str) ? 16 : 10));\n}\n\n/**\n * This method parses a string argument and returns an integer of the specified\n * radix (the base in mathematical numeral systems). (ES2018).\n *\n * @param {string} [string] - The value to parse. If the string argument is not a\n * string, then it is converted to a string (using the ToString abstract\n * operation). Leading whitespace in the string argument is ignored.\n * @param {number} [radix] - An integer between 2 and 36 that represents the radix\n * (the base in mathematical numeral systems) of the above mentioned string.\n * Specify 10 for the decimal numeral system commonly used by humans. Always\n * specify this parameter to eliminate reader confusion and to guarantee\n * predictable behavior. Different implementations produce different results\n * when a radix is not specified, usually defaulting the value to 10.\n * @throws {TypeError} If target is a Symbol or is not coercible.\n * @returns {number} An integer number parsed from the given string. If the first\n * character cannot be converted to a number, NaN is returned.\n */\nexport default function parseInt2018(string, radix) {\n const str = trimLeft(toStr(string));\n\n if (charAt.call(str, 0) === '\\u180E') {\n return NAN;\n }\n\n return nativeParseInt(str, castNumber(radix) || (test.call(hexRegex, str) ? 16 : 10));\n}\n","import isSymbol from 'is-symbol';\nimport toPrimitive from 'to-primitive-x';\nimport trim, {trim2016} from 'trim-x';\nimport $parseInt, {parseInt2016} from 'parse-int-x';\nimport NAN from 'nan-x';\n\nconst binaryRadix = 2;\nconst octalRadix = 8;\nconst testCharsCount = 2;\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a number';\n\n/** @type {NumberConstructor} */\nconst castNumber = testCharsCount.constructor;\nconst pStrSlice = ERROR_MESSAGE.slice;\n\nconst binaryRegex = /^0b[01]+$/i;\nconst RegExpConstructor = binaryRegex.constructor;\n// Note that in IE 8, RegExp.prototype.test doesn't seem to exist: ie, \"test\" is\n// an own property of regexes. wtf.\nconst {test} = binaryRegex;\nconst isBinary = function _isBinary(value) {\n return test.call(binaryRegex, value);\n};\n\nconst octalRegex = /^0o[0-7]+$/i;\nconst isOctal = function _isOctal(value) {\n return test.call(octalRegex, value);\n};\n\nconst nonWSregex2016 = new RegExpConstructor('[\\u0085\\u200b\\ufffe]', 'g');\nconst hasNonWS2016 = function _hasNonWS(value) {\n return test.call(nonWSregex2016, value);\n};\n\nconst nonWSregex2018 = new RegExpConstructor('[\\u0085\\u180e\\u200b\\ufffe]', 'g');\nconst hasNonWS2018 = function _hasNonWS(value) {\n return test.call(nonWSregex2018, value);\n};\n\nconst invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i;\nconst isInvalidHexLiteral = function _isInvalidHexLiteral(value) {\n return test.call(invalidHexLiteral, value);\n};\n\n/**\n * This method converts argument to a value of type Number. (ES2016).\n *\n * @param {*} [argument] - The argument to convert to a number.\n * @throws {TypeError} - If argument is a Symbol or not coercible.\n * @returns {*} The argument converted to a number.\n */\nexport function toNumber2016(argument) {\n const value = toPrimitive(argument, Number);\n\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n if (typeof value === 'string') {\n if (isBinary(value)) {\n return toNumber2016(parseInt2016(pStrSlice.call(value, testCharsCount), binaryRadix));\n }\n\n if (isOctal(value)) {\n return toNumber2016(parseInt2016(pStrSlice.call(value, testCharsCount), octalRadix));\n }\n\n if (hasNonWS2016(value) || isInvalidHexLiteral(value)) {\n return NAN;\n }\n\n const trimmed = trim2016(value);\n\n if (trimmed !== value) {\n return toNumber2016(trimmed);\n }\n }\n\n return castNumber(value);\n}\n\n/**\n * This method converts argument to a value of type Number. (ES2018).\n *\n * @param {*} [argument] - The argument to convert to a number.\n * @throws {TypeError} - If argument is a Symbol or not coercible.\n * @returns {*} The argument converted to a number.\n */\nexport default function toNumber2018(argument) {\n const value = toPrimitive(argument, castNumber);\n\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n if (typeof value === 'string') {\n if (isBinary(value)) {\n return toNumber2018($parseInt(pStrSlice.call(value, testCharsCount), binaryRadix));\n }\n\n if (isOctal(value)) {\n return toNumber2018($parseInt(pStrSlice.call(value, testCharsCount), octalRadix));\n }\n\n if (hasNonWS2018(value) || isInvalidHexLiteral(value)) {\n return NAN;\n }\n\n const trimmed = trim(value);\n\n if (trimmed !== value) {\n return toNumber2018(trimmed);\n }\n }\n\n return castNumber(value);\n}\n","/**\n * The constant value Infinity derived mathematically by 1 / 0.\n *\n * @type number\n */\nexport default 1 / 0;\n","import numberIsNaN from 'is-nan-x';\nimport INFINITY from 'infinity-x';\n\n/**\n * This method determines whether the passed value is a finite number.\n *\n * @param {*} [number] - The value to be tested for finiteness.\n * @returns {boolean} A Boolean indicating whether or not the given value is a finite number.\n */\nexport default function isFinite(number) {\n return typeof number === 'number' && numberIsNaN(number) === false && number !== INFINITY && number !== -INFINITY;\n}\n","import toNumber, {toNumber2016} from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\nimport numberIsFinite from 'is-finite-x';\nimport mathSign, {sign2016} from 'math-sign-x';\n\nconst {abs, floor} = Math;\n\n/**\n * Converts `value` to an integer. (ES2016).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport function toInteger2016(value) {\n const number = toNumber2016(value);\n\n if (numberIsNaN(number)) {\n return 0;\n }\n\n if (number === 0 || numberIsFinite(number) === false) {\n return number;\n }\n\n return sign2016(number) * floor(abs(number));\n}\n\n/**\n * Converts `value` to an integer. (ES2018).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport default function toInteger2018(value) {\n const number = toNumber(value);\n\n if (numberIsNaN(number)) {\n return 0;\n }\n\n if (number === 0 || numberIsFinite(number) === false) {\n return number;\n }\n\n return mathSign(number) * floor(abs(number));\n}\n","import toNumber, {toNumber2016} from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\n\n/**\n * This method returns the sign of a number, indicating whether the number is positive,\n * negative or zero. (ES2016).\n *\n * @param {*} x - A number.\n * @returns {number} A number representing the sign of the given argument. If the argument\n * is a positive number, negative number, positive zero or negative zero, the function will\n * return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned.\n */\nexport function sign2016(x) {\n const n = toNumber2016(x);\n\n if (n === 0 || numberIsNaN(n)) {\n return n;\n }\n\n return n > 0 ? 1 : -1;\n}\n\n/**\n * This method returns the sign of a number, indicating whether the number is positive,\n * negative or zero. (ES2018).\n *\n * @param {*} x - A number.\n * @returns {number} A number representing the sign of the given argument. If the argument\n * is a positive number, negative number, positive zero or negative zero, the function will\n * return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned.\n */\nexport default function sign2018(x) {\n const n = toNumber(x);\n\n if (n === 0 || numberIsNaN(n)) {\n return n;\n }\n\n return n > 0 ? 1 : -1;\n}\n","import toInteger, {toInteger2016} from 'to-integer-x';\nimport MAX_SAFE_INTEGER from 'max-safe-integer';\n\n/**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object. (ES2016).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport function toLength2016(value) {\n const len = toInteger2016(value);\n\n // includes converting -0 to +0\n if (len <= 0) {\n return 0;\n }\n\n if (len > MAX_SAFE_INTEGER) {\n return MAX_SAFE_INTEGER;\n }\n\n return len;\n}\n\n/**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object. (ES2018).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport default function toLength2018(value) {\n const len = toInteger(value);\n\n // includes converting -0 to +0\n if (len <= 0) {\n return 0;\n }\n\n if (len > MAX_SAFE_INTEGER) {\n return MAX_SAFE_INTEGER;\n }\n\n return len;\n}\n","import numberIsNaN from 'is-nan-x';\n\n/**\n * This method is the comparison abstract operation SameValue(x, y), where x\n * and y are ECMAScript language values, produces true or false.\n *\n * @param {*} [value1] - The first value to compare.\n * @param {*} [value2] - The second value to compare.\n * @returns {boolean} A Boolean indicating whether or not the two arguments are\n * the same value.\n */\nexport default function sameValue(value1, value2) {\n if (value1 === 0 && value2 === 0) {\n return 1 / value1 === 1 / value2;\n }\n\n if (value1 === value2) {\n return true;\n }\n\n return numberIsNaN(value1) && numberIsNaN(value2);\n}\n","import sameValue from 'same-value-x';\n\n/**\n * This method determines whether two values are the same value.\n * SameValueZero differs from SameValue (`Object.is`) only in its treatment\n * of +0 and -0.\n *\n * @param {*} [x] - The first value to compare.\n * @param {*} [y] - The second value to compare.\n * @returns {boolean} A Boolean indicating whether or not the two arguments\n * are the same value.\n */\nexport default function sameValueZero(x, y) {\n return x === y || sameValue(x, y);\n}\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/* eslint-disable-next-line compat/compat */\nconst pToString = hasSymbols && Symbol.prototype.toString;\nconst isSymbolFn = typeof pToString === 'function' && isSymbol;\n/** @type {Function} */\nconst castString = ''.constructor;\n\n/**\n * The abstract operation ToString converts argument to a value of type String,\n * however the specification states that if the argument is a Symbol then a\n * 'TypeError' is thrown. This version also allows Symbols be converted to\n * a string. Other uncoercible exotics will still throw though.\n *\n * @param {*} [value] - The value to convert to a string.\n * @returns {string} The converted value.\n */\nexport default function toStringSymbolsSupported(value) {\n return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value);\n}\n","import isFunction from 'is-function-x';\nimport safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Tests `callback` to see if it is a function, throws a `TypeError` if it is\n * not. Otherwise returns the `callback`.\n *\n * @param {*} callback - The argument to be tested.\n * @throws {TypeError} Throws if `callback` is not a function.\n * @returns {*} Returns `callback` if it is function.\n */\nexport default function assertIsFunction(callback) {\n if (isFunction(callback) === false) {\n const msg = isPrimitive(callback) ? safeToString(callback) : '#';\n throw new TypeError(`${msg} is not a function`);\n }\n\n return callback;\n}\n","const string = 'a';\nconst boxedString = {}.constructor(string);\n\n/**\n * Check failure of by-index access of string characters (IE < 9)\n * and failure of `0 in boxedString` (Rhino).\n *\n * `true` if no failure; otherwise `false`.\n *\n * @type boolean\n */\nconst hasBoxed = boxedString[0] === string && 0 in boxedString;\n\nexport default hasBoxed;\n","import hasBoxed from 'has-boxed-string-x';\nimport isString from 'is-string';\n\nconst EMPTY_STRING = '';\nconst strSplit = EMPTY_STRING.split;\nconst isStringFn = hasBoxed === false && typeof strSplit === 'function' && isString;\n\n/**\n * This method tests if a value is a string with the boxed bug; splits to an\n * array for iteration; otherwise returns the original value.\n *\n * @param {*} [value] - The value to be tested.\n * @returns {*} An array or characters if value was a string with the boxed bug;\n * otherwise the value.\n */\nexport default function splitIfBoxedBug(value) {\n return isStringFn && isStringFn(value) ? strSplit.call(value, EMPTY_STRING) : value;\n}\n","import attempt from 'attempt-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst pFindIndex = typeof Array.prototype.findIndex === 'function' && Array.prototype.findIndex;\n\nlet isWorking;\n\nif (pFindIndex) {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = 1;\n let res = attempt.call(testArr, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === 0;\n\n if (isWorking) {\n res = attempt.call(1, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === -1;\n }\n\n if (isWorking) {\n isWorking = attempt.call([], pFindIndex).threw;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pFindIndex, (item) => {\n return item === 'c';\n });\n\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pFindIndex,\n (item) => {\n return item === 'c';\n },\n );\n\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\n/**\n * Like `findIndex`, this method returns an index in the array, if an element\n * in the array satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If array is `null` or `undefined`-.\n * @param {Function} callback - Function to execute on each value in the array,\n * taking three arguments: `element`, `index` and `array`.\n * @throws {TypeError} If `callback` is not a function.\n * @param {*} [thisArg] - Object to use as `this` when executing `callback`.\n * @returns {number} Returns index of positively tested element, otherwise -1.\n */\nlet findIdx;\n\nif (isWorking) {\n findIdx = function findIndex(array, callback) {\n const args = [callback];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return pFindIndex.apply(array, args);\n };\n} else {\n findIdx = function findIndex(array, callback) {\n const object = toObject(array);\n assertIsFunction(callback);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n let thisArg;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n thisArg = arguments[2];\n }\n\n let index = 0;\n while (index < length) {\n if (callback.call(thisArg, iterable[index], index, object)) {\n return index;\n }\n\n index += 1;\n }\n\n return -1;\n };\n}\n\nconst fi = findIdx;\n\nexport default fi;\n","import isInteger from 'is-integer-x';\nimport MAX_SAFE_INTEGER from 'max-safe-integer';\n\nconst MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n\n/**\n * This method determines whether the passed value is a safe integer.\n *\n * Can be exactly represented as an IEEE-754 double precision number, and\n * whose IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation.\n *\n * @param {*} value - The value to be tested for being a safe integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * safe integer.\n */\nexport default function isSafeInteger(value) {\n return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n}\n","import numberIsFinite from 'is-finite-x';\nimport toInteger from 'to-integer-x';\n\n/**\n * This method determines whether the passed value is an integer.\n *\n * @param {*} value - The value to be tested for being an integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is an integer.\n */\nexport default function isInteger(value) {\n return numberIsFinite(value) && toInteger(value) === value;\n}\n","import isNil from 'is-nil-x';\nimport isFunction from 'is-function-x';\nimport isLength from 'is-length-x';\n\n/**\n * Checks if value is array-like. A value is considered array-like if it's\n * not a function and has a `length` that's an integer greater than or\n * equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @param {*} value - The object to be tested.\n */\nexport default function isArrayLike(value) {\n return isNil(value) === false && isFunction(value, true) === false && isLength(value.length);\n}\n","import isSafeInteger from 'is-safe-integer-x';\n\n/**\n * This method checks if `value` is a valid array-like length.\n *\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nexport default function isLength(value) {\n return isSafeInteger(value) && value >= 0;\n}\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport toInteger from 'to-integer-x';\nimport isArrayLike from 'is-array-like-x';\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\n/**\n * This method calculates a fromIndex of a given value for an array.\n *\n * @param {Array} array - * The array on which to calculate the starting index.\n * @throws {TypeError} If array is null or undefined.\n * @param {number} fromIndex - * The position in this array at which to begin. A\n * negative value gives the index of array.length + fromIndex by asc.\n * @returns {number} The calculated fromIndex. Default is 0.\n */\nexport default function calcFromIndex(array, fromIndex) {\n const object = toObject(array);\n\n if (isArrayLike(object) === false) {\n return 0;\n }\n\n const index = toInteger(fromIndex);\n\n return index >= 0 ? index : getMax(0, toLength(object.length) + index);\n}\n","import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport isFalsey from 'is-falsey-x';\nimport toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport sameValue from 'same-value-x';\nimport findIndex from 'find-index-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport attempt from 'attempt-x';\n\nlet pIndexOf = typeof Array.prototype.indexOf === 'function' && Array.prototype.indexOf;\n\nlet isWorking;\n\nif (pIndexOf) {\n let res = attempt.call([0, 1], pIndexOf, 1, 2);\n isWorking = res.threw === false && res.value === -1;\n\n if (isWorking) {\n res = attempt.call([0, 1], pIndexOf, 1);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call([0, -0], pIndexOf, -0);\n isWorking = res.threw === false && res.value === 0;\n }\n\n if (isWorking) {\n const testArr = [];\n testArr.length = 2;\n /* eslint-disable-next-line no-void */\n testArr[1] = void 0;\n /* eslint-disable-next-line no-void */\n res = attempt.call(testArr, pIndexOf, void 0);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pIndexOf, 'c');\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pIndexOf,\n 'c',\n );\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\nif (isWorking !== true) {\n pIndexOf = function $pIndexOf(searchElement) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const length = toLength(this.length);\n\n if (length < 1) {\n return -1;\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n let i = arguments[1];\n while (i < length) {\n /* eslint-disable-next-line babel/no-invalid-this */\n if (i in this && this[i] === searchElement) {\n return i;\n }\n\n i += 1;\n }\n\n return -1;\n };\n}\n\n/**\n * This method returns an index in the array, if an element in the array\n * satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @private\n * @param {Array} array - The array to search.\n * @param {*} searchElement - Element to locate in the array.\n * @param {number} fromIndex - The index to start the search at.\n * @param {Function} extendFn - The comparison function to use.\n * @returns {number} Returns index of found element, otherwise -1.\n */\nconst findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extendFn) {\n let fIdx = fromIndex;\n const length = toLength(array.length);\n while (fIdx < length) {\n if (fIdx in array && extendFn(array[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method returns the first index at which a given element can be found\n * in the array, or -1 if it is not present.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If `array` is `null` or `undefined`.\n * @param {*} searchElement - Element to locate in the `array`.\n * @param {number} [fromIndex] - The index to start the search at. If the\n * index is greater than or equal to the array's length, -1 is returned,\n * which means the array will not be searched. If the provided index value is\n * a negative number, it is taken as the offset from the end of the array.\n * Note: if the provided index is negative, the array is still searched from\n * front to back. If the calculated index is less than 0, then the whole\n * array will be searched. Default: 0 (entire array is searched).\n * @param {string} [extend] - Extension type: `SameValue` or `SameValueZero`.\n * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nexport default function indexOf(array, searchElement) {\n const object = toObject(array);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n const argLength = arguments.length;\n /* eslint-disable-next-line prefer-rest-params */\n let extend = argLength > 2 && argLength > 3 ? arguments[3] : arguments[2];\n let extendFn;\n\n if (isString(extend)) {\n extend = extend.toLowerCase();\n\n if (extend === 'samevalue') {\n extendFn = sameValue;\n } else if (extend === 'samevaluezero') {\n extendFn = sameValueZero;\n }\n }\n\n let fromIndex = 0;\n\n if (extendFn && (searchElement === 0 || numberIsNaN(searchElement))) {\n if (argLength > 3) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n if (fromIndex > 0) {\n return findIdxFrom(iterable, searchElement, fromIndex, extendFn);\n }\n\n return findIndex(iterable, (element, index) => {\n return index in iterable && extendFn(searchElement, element);\n });\n }\n\n if (argLength > 3 || (argLength > 2 && isFalsey(extendFn))) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n return pIndexOf.call(iterable, searchElement, fromIndex);\n}\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://indexOfX/webpack/universalModuleDefinition","webpack://indexOfX/webpack/bootstrap","webpack://indexOfX/./node_modules/is-symbol/index.js","webpack://indexOfX/./node_modules/is-primitive/index.js","webpack://indexOfX/./node_modules/max-safe-integer/index.js","webpack://indexOfX/./node_modules/is-string/index.js","webpack://indexOfX/./node_modules/is-date-object/index.js","webpack://indexOfX/./node_modules/has-symbols/index.js","webpack://indexOfX/(webpack)/buildin/global.js","webpack://indexOfX/./node_modules/has-symbols/shams.js","webpack://indexOfX/../src/is-nan-x.js","webpack://indexOfX/../src/to-boolean-x.js","webpack://indexOfX/../src/is-falsey-x.js","webpack://indexOfX/../src/is-nil-x.js","webpack://indexOfX/../src/require-object-coercible-x.js","webpack://indexOfX/../src/to-object-x.js","webpack://indexOfX/../src/attempt-x.js","webpack://indexOfX/../src/white-space-x.js","webpack://indexOfX/../src/has-symbol-support-x.js","webpack://indexOfX/../src/to-string-tag-x.js","webpack://indexOfX/../src/has-to-string-tag-x.js","webpack://indexOfX/../src/to-string-x.js","webpack://indexOfX/../src/require-coercible-to-string-x.js","webpack://indexOfX/../src/trim-left-x.js","webpack://indexOfX/../src/trim-right-x.js","webpack://indexOfX/../src/trim-x.js","webpack://indexOfX/../src/normalize-space-x.js","webpack://indexOfX/../src/replace-comments-x.js","webpack://indexOfX/../src/is-function-x.js","webpack://indexOfX/../src/to-primitive-x.js","webpack://indexOfX/../src/nan-x.js","webpack://indexOfX/../src/parse-int-x.js","webpack://indexOfX/../src/to-number-x.js","webpack://indexOfX/../src/is-finite-x.js","webpack://indexOfX/../src/infinity-x.js","webpack://indexOfX/../src/math-sign-x.js","webpack://indexOfX/../src/to-integer-x.js","webpack://indexOfX/../src/to-length-x.js","webpack://indexOfX/../src/same-value-x.js","webpack://indexOfX/../src/same-value-zero-x.js","webpack://indexOfX/../src/to-string-symbols-supported-x.js","webpack://indexOfX/../src/assert-is-function-x.js","webpack://indexOfX/../src/has-boxed-string-x.js","webpack://indexOfX/../src/split-if-boxed-bug-x.js","webpack://indexOfX/../src/find-index-x.js","webpack://indexOfX/../src/is-integer-x.js","webpack://indexOfX/../src/is-safe-integer-x.js","webpack://indexOfX/../src/is-length-x.js","webpack://indexOfX/../src/is-array-like-x.js","webpack://indexOfX/../src/calculate-from-index-x.js","webpack://indexOfX/../src/index-of-x.js"],"names":["root","factory","exports","module","define","amd","self","window","global","Function","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","toStr","toString","symToStr","symStringRegex","valueOf","test","isSymbolObject","e","val","strValue","String","hasToStringTag","tryStringObject","getDay","Date","tryDateObject","origSymbol","hasSymbolSham","g","this","getOwnPropertySymbols","iterator","obj","sym","symObj","keys","length","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","is_nan_x_esm","to_boolean_x_esm","is_falsey_x_esm","is_nil_x_esm","require_object_coercible_x_esm","TypeError","concat","castObject","constructor","to_object_x_esm","attempt_x_esm","fn","_len","arguments","args","Array","_key","threw","apply","hasSymbolSupport","_newArrowCheck","is_symbol_default","undefined","has_symbol_support_x_esm","nativeObjectToString","to_string_tag_x_esm","has_to_string_tag_x_esm","ERROR_MESSAGE","castString","to_string_x_esm","require_coercible_to_string_x_esm","list","code","description","es5","es2015","es2016","es2017","es2018","string","stringES2016","stringES2018","white_space_x_esm_length","white_space_x_esm_i","white_space_x_esm","string2016","EMPTY_STRING","RegExpCtr","reLeft","replace","trim_left_x_esm","trim_right_x_esm_EMPTY_STRING","trim_right_x_esm_RegExpCtr","reRight2018","trim_right_x_esm_replace","trim_right_x_esm","trim_x_esm","SPACE","normalize_space_x_esm_RegExpCtr","reNormalize2018","normalize_space_x_esm_replace","normalize_space_x_esm","STRIP_COMMENTS","replace_comments_x_esm_replace","replace_comments_x_esm","replacement","FunctionCtr","castBoolean","fToString","ctrRx","hasNativeClass","is_function_x_esm_newArrowCheck","testClassstring","isES6ClassFn","result","is_function_x_esm","allowClass","is_primitive_default","tryFuncToString","strTag","StringCtr","NumberCtr","symToPrimitive","toPrimitive","symValueOf","toStringOrder","toNumberOrder","ordinaryToPrimitive","ordinary","hint","method","methodNames","getHint","supplied","to_primitive_x_esm_getExoticToPrim","func","getMethod","to_primitive_x_esm","input","preferredType","exoticToPrim","newHint","is_date_object_default","nan_x_esm","nativeParseInt","parseInt","castNumber","charAt","hexRegex","parse_int_x_esm_test","parse_int_x_esm","radix","str","binaryRadix","octalRadix","testCharsCount","to_number_x_esm_ERROR_MESSAGE","to_number_x_esm_castNumber","pStrSlice","slice","binaryRegex","RegExpConstructor","to_number_x_esm_test","isBinary","octalRegex","isOctal","nonWSregex2018","invalidHexLiteral","isInvalidHexLiteral","to_number_x_esm","toNumber2018","argument","hasNonWS2018","trimmed","is_finite_x_esm","number","math_sign_x_esm","x","abs","Math","floor","to_integer_x_esm","to_length_x_esm","len","max_safe_integer_default","a","same_value_x_esm","value1","value2","same_value_zero_x_esm","y","pToString","isSymbolFn","to_string_symbols_supported_x_esm_castString","to_string_symbols_supported_x_esm","assert_is_function_x_esm","callback","msg","boxedString","hasBoxed","strSplit","split","isStringFn","is_string_default","split_if_boxed_bug_x_esm","isWorking","pFindIndex","findIndex","testArr","res","item","idx","find_index_x_esm_newArrowCheck","find_index_x_esm","array","thisArg","iterable","index","is_integer_x_esm","is_safe_integer_x_esm","is_length_x_esm","is_array_like_x_esm","calculate_from_index_x_esm","fromIndex","b","index_of_x_esm_isWorking","pIndexOf","indexOf","index_of_x_esm_res","index_of_x_esm_testArr","searchElement","findIdxFrom","extendFn","fIdx","__webpack_exports__","_this","argLength","extend","toLowerCase","element","index_of_x_esm_newArrowCheck"],"mappings":";;;;;;;;;;;;;CAAA,SAAAA,EAAAC,GACA,iBAAAC,SAAA,iBAAAC,OACAA,OAAAD,QAAAD,IACA,mBAAAG,eAAAC,IACAD,OAAA,GAAAH,GACA,iBAAAC,QACAA,QAAA,SAAAD,IAEAD,EAAA,SAAAC,IARA,CASC,WACD,aAEA,0BAAAK,KACAA,KAGA,oBAAAC,OACAA,OAGA,oBAAAC,OACAA,OAGAC,SAAA,cAAAA,GAfC,GAgBA,WACD,mBCzBA,IAAAC,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAV,QAGA,IAAAC,EAAAO,EAAAE,GAAA,CACAC,EAAAD,EACAE,GAAA,EACAZ,QAAA,IAUA,OANAa,EAAAH,GAAAI,KAAAb,EAAAD,QAAAC,IAAAD,QAAAS,GAGAR,EAAAW,GAAA,EAGAX,EAAAD,QA0DA,OArDAS,EAAAM,EAAAF,EAGAJ,EAAAO,EAAAR,EAGAC,EAAAQ,EAAA,SAAAjB,EAAAkB,EAAAC,GACAV,EAAAW,EAAApB,EAAAkB,IACAG,OAAAC,eAAAtB,EAAAkB,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CV,EAAAgB,EAAA,SAAAzB,GACA,oBAAA0B,eAAAC,aACAN,OAAAC,eAAAtB,EAAA0B,OAAAC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AU,SAACuB,EAAStB,GACnC,OAD6CuB,GAAArN,KAAAgN,GACtClB,KAASD,GAAYgB,EAASF,EAAeS,IADtC/O,KAAA2B,OAKlB,GAAIiN,EAAY,GAAMA,EAAY,GAAKlM,EAAS8L,GAAY,CAI1D,IAFAT,EAAYD,GAAcN,EAAUnK,UAAU,MAE7BnB,EACf,OAAQ,EAGN6L,EAAY,IACdA,EAAY,GAIhB,OAAOG,GAASvP,KAAK6O,EAAUc,EAAeP","file":"index-of-x.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"indexOfX\"] = factory();\n\telse\n\t\troot[\"indexOfX\"] = factory();\n})((function () {\n 'use strict';\n\n if (typeof self !== 'undefined') {\n return self;\n }\n\n if (typeof window !== 'undefined') {\n return window;\n }\n\n if (typeof global !== 'undefined') {\n return global;\n }\n\n return Function('return this')();\n}()), function() {\nreturn "," \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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","/*!\n * is-primitive \n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function isPrimitive(val) {\n if (typeof val === 'object') {\n return val === null;\n }\n return typeof val !== 'function';\n};\n","'use strict';\nmodule.exports = 9007199254740991;\n","'use strict';\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') { return true; }\n\tif (typeof value !== 'object') { return false; }\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateObject(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) { return false; }\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","'use strict';\n\nvar origSymbol = global.Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\n\n/* eslint complexity: [2, 17], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","/**\n * This method determines whether the passed value is NaN and its type is\n * `Number`. It is a more robust version of the original, global isNaN().\n *\n * @param {*} [value] - The value to be tested for NaN.\n * @returns {boolean} `true` if the given value is NaN and its type is Number;\n * otherwise, `false`.\n */\nconst isNaN = function isNaN(value) {\n /* eslint-disable-next-line no-self-compare */\n return value !== value;\n};\n\nexport default isNaN;\n","/**\n * The abstract operation ToBoolean converts argument to a value of type Boolean.\n *\n * @param {*} [value] - The value to be converted.\n * @returns {boolean} 'true' if value is truthy; otherwise 'false'.\n */\nconst toBoolean = function toBoolean(value) {\n return !!value;\n};\n\nexport default toBoolean;\n","import toBoolean from 'to-boolean-x';\n\n/**\n * This method tests if a given value is falsey.\n *\n * @param {*} [value] - The value to test.\n * @returns {boolean} `true` if the value is falsey: otherwise `false`.\n */\nconst isFalsey = function isFalsey(value) {\n return !toBoolean(value);\n};\n\nexport default isFalsey;\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n */\nconst isNil = function isNil(value) {\n /* eslint-disable-next-line lodash/prefer-is-nil */\n return value === null || typeof value === 'undefined';\n};\n\nexport default isNil;\n","import isNil from 'is-nil-x';\n\n/**\n * The abstract operation RequireObjectCoercible throws an error if argument\n * is a value that cannot be converted to an Object using ToObject.\n *\n * @param {*} [value] - The `value` to check.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {string} The `value`.\n */\nconst requireObjectCoercible = function requireObjectCoercible(value) {\n if (isNil(value)) {\n throw new TypeError(`Cannot call method on ${value}`);\n }\n\n return value;\n};\n\nexport default requireObjectCoercible;\n","import requireObjectCoercible from 'require-object-coercible-x';\n\nconst castObject = {}.constructor;\n\n/**\n * The abstract operation ToObject converts argument to a value of\n * type Object.\n *\n * @param {*} value - The `value` to convert.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {!object} The `value` converted to an object.\n */\nconst toObject = function toObject(value) {\n return castObject(requireObjectCoercible(value));\n};\n\nexport default toObject;\n","/**\n * This method attempts to invoke the function, returning either the result or\n * the caught error object. Any additional arguments are provided to the\n * function when it's invoked.\n *\n * @param {Function} [fn] - The function to attempt.\n * @param {...*} [args] - The arguments to invoke the function with.\n * @returns {object} Returns an object of the result.\n */\nconst attempt = function attempt(fn, ...args) {\n try {\n return {\n threw: false,\n /* eslint-disable-next-line babel/no-invalid-this */\n value: fn.apply(this, args),\n };\n } catch (e) {\n return {\n threw: true,\n value: e,\n };\n }\n};\n\nexport default attempt;\n","/**\n * A record of a white space character.\n *\n * @typedef {object} CharRecord\n * @property {number} code - The character code.\n * @property {string} description - A description of the character.\n * @property {boolean} es5 - Whether the spec lists this as a white space.\n * @property {boolean} es2015 - Whether the spec lists this as a white space.\n * @property {boolean} es2016 - Whether the spec lists this as a white space.\n * @property {boolean} es2017 - Whether the spec lists this as a white space.\n * @property {boolean} es2018 - Whether the spec lists this as a white space.\n * @property {string} string - The character string.\n */\n\n/**\n * An array of the whitespace char codes, string, descriptions and language\n * presence in the specifications.\n *\n * @type Array.\n */\nexport const list = [\n {\n code: 0x0009,\n description: 'Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0009',\n },\n {\n code: 0x000a,\n description: 'Line Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000a',\n },\n {\n code: 0x000b,\n description: 'Vertical Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000b',\n },\n {\n code: 0x000c,\n description: 'Form Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000c',\n },\n {\n code: 0x000d,\n description: 'Carriage Return',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000d',\n },\n {\n code: 0x0020,\n description: 'Space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0020',\n },\n /*\n {\n code: 0x0085,\n description: 'Next line',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u0085'\n }\n */\n {\n code: 0x00a0,\n description: 'No-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u00a0',\n },\n {\n code: 0x1680,\n description: 'Ogham space mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u1680',\n },\n {\n code: 0x180e,\n description: 'Mongolian vowel separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: false,\n es2018: false,\n string: '\\u180e',\n },\n {\n code: 0x2000,\n description: 'En quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2000',\n },\n {\n code: 0x2001,\n description: 'Em quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2001',\n },\n {\n code: 0x2002,\n description: 'En space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2002',\n },\n {\n code: 0x2003,\n description: 'Em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2003',\n },\n {\n code: 0x2004,\n description: 'Three-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2004',\n },\n {\n code: 0x2005,\n description: 'Four-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2005',\n },\n {\n code: 0x2006,\n description: 'Six-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2006',\n },\n {\n code: 0x2007,\n description: 'Figure space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2007',\n },\n {\n code: 0x2008,\n description: 'Punctuation space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2008',\n },\n {\n code: 0x2009,\n description: 'Thin space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2009',\n },\n {\n code: 0x200a,\n description: 'Hair space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u200a',\n },\n /*\n {\n code: 0x200b,\n description: 'Zero width space',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u200b'\n },\n */\n {\n code: 0x2028,\n description: 'Line separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2028',\n },\n {\n code: 0x2029,\n description: 'Paragraph separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2029',\n },\n {\n code: 0x202f,\n description: 'Narrow no-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u202f',\n },\n {\n code: 0x205f,\n description: 'Medium mathematical space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u205f',\n },\n {\n code: 0x3000,\n description: 'Ideographic space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u3000',\n },\n {\n code: 0xfeff,\n description: 'Byte Order Mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\ufeff',\n },\n];\n\n/**\n * A string of the ES5 to ES2016 whitespace characters.\n *\n * @type string\n */\nlet stringES2016 = '';\n\n/**\n * A string of the ES2017 to ES2018 whitespace characters.\n *\n * @type string\n */\nlet stringES2018 = '';\nconst {length} = list;\nfor (let i = 0; i < length; i += 1) {\n if (list[i].es2016) {\n stringES2016 += list[i].string;\n }\n\n if (list[i].es2018) {\n stringES2018 += list[i].string;\n }\n}\n\nconst string2018 = stringES2018;\n\nexport default string2018;\nexport const string2016 = stringES2016;\n","import attempt from 'attempt-x';\nimport isSymbol from 'is-symbol';\n\nconst hasSymbolSupport = attempt(() => {\n /* eslint-disable-next-line compat/compat */\n return typeof Symbol === 'function' && isSymbol(Symbol(''));\n});\n\n/**\n * Indicates if `Symbol`exists and creates the correct type.\n * `true`, if it exists and creates the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbolSupport.threw === false && hasSymbolSupport.value === true;\n","const nativeObjectToString = {}.toString;\n\n/**\n * The `toStringTag` method returns \"[object type]\", where type is the\n * object type.\n *\n * @param {*} [value] - The object of which to get the object type string.\n * @returns {string} The object type string.\n */\nconst toStringTag = function toStringTag(value) {\n if (value === null) {\n return '[object Null]';\n }\n\n if (typeof value === 'undefined') {\n return '[object Undefined]';\n }\n\n return nativeObjectToString.call(value);\n};\n\nexport default toStringTag;\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/**\n * Indicates if `Symbol.toStringTag`exists and is the correct type.\n * `true`, if it exists and is the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbols &&\n /* eslint-disable-next-line compat/compat */\n isSymbol(Symbol.toStringTag);\n","import isSymbol from 'is-symbol';\n\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a string';\nconst castString = ERROR_MESSAGE.constructor;\n/**\n * The abstract operation ToString converts argument to a value of type String.\n *\n * @param {*} [value] - The value to convert to a string.\n * @throws {TypeError} If `value` is a Symbol.\n * @returns {string} The converted value.\n */\nconst ToString = function ToString(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return castString(value);\n};\n\nexport default ToString;\n","import requireObjectCoercible from 'require-object-coercible-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method requires an argument is corecible then converts using ToString.\n *\n * @param {*} [value] - The value to converted to a string.\n * @throws {TypeError} If value is null or undefined.\n * @returns {string} The value as a string.\n */\nconst requireCoercibleToString = function requireCoercibleToString(value) {\n return toStr(requireObjectCoercible(value));\n};\n\nexport default requireCoercibleToString;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reLeft2016 = new RegExpCtr(`^[${string2016}]+`);\nconst reLeft = new RegExpCtr(`^[${whiteSpace}]+`);\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method removes whitespace from the left end of a string. (ES2016).\n *\n * @param {string} [string] - The string to trim the left end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The left trimmed string.\n */\nexport function trimLeft2016(string) {\n return replace.call(requireCoercibleToString(string), reLeft2016, EMPTY_STRING);\n}\n\n/**\n * This method removes whitespace from the left end of a string. (ES2018).\n *\n * @param {string} [string] - The string to trim the left end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The left trimmed string.\n */\nconst trimLeft2018 = function trimLeft2018(string) {\n return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING);\n};\n\nexport default trimLeft2018;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reRight2016 = new RegExpCtr(`[${string2016}]+$`);\nconst reRight2018 = new RegExpCtr(`[${whiteSpace}]+$`);\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method removes whitespace from the right end of a string. (ES2016).\n *\n * @param {string} [string] - The string to trim the right end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The right trimmed string.\n */\nexport function trimRight2016(string) {\n return replace.call(requireCoercibleToString(string), reRight2016, EMPTY_STRING);\n}\n\n/**\n * This method removes whitespace from the right end of a string. (ES2018).\n *\n * @param {string} [string] - The string to trim the right end whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The right trimmed string.\n */\nconst trimRight2018 = function trimRight2018(string) {\n return replace.call(requireCoercibleToString(string), reRight2018, EMPTY_STRING);\n};\n\nexport default trimRight2018;\n","import trimLeft, {trimLeft2016} from 'trim-left-x';\nimport trimRight, {trimRight2016} from 'trim-right-x';\n\n/**\n * This method removes whitespace from the left and right end of a string.\n * (ES2016).\n *\n * @param {string} [string] - The string to trim the whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The trimmed string.\n */\nexport function trim2016(string) {\n return trimLeft2016(trimRight2016(string));\n}\n\n/**\n * This method removes whitespace from the left and right end of a string.\n * (ES2018).\n *\n * @param {string} [string] - The string to trim the whitespace from.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The trimmed string.\n */\nconst trim2018 = function trim2018(string) {\n return trimLeft(trimRight(string));\n};\n\nexport default trim2018;\n","import trim, {trim2016} from 'trim-x';\nimport whiteSpace, {string2016} from 'white-space-x';\n\nconst SPACE = ' ';\nconst RegExpCtr = /none/.constructor;\nconst reNormalize2016 = new RegExpCtr(`[${string2016}]+`, 'g');\nconst reNormalize2018 = new RegExpCtr(`[${whiteSpace}]+`, 'g');\nconst {replace} = SPACE;\n\n/**\n * This method strips leading and trailing white-space from a string,\n * replaces sequences of whitespace characters by a single space,\n * and returns the resulting string. (ES2016).\n *\n * @param {string} [string] - The string to be normalized.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @returns {string} The normalized string.\n */\nexport function normalizeSpace2016(string) {\n return replace.call(trim2016(string), reNormalize2016, SPACE);\n}\n\n/**\n * This method strips leading and trailing white-space from a string,\n * replaces sequences of whitespace characters by a single space,\n * and returns the resulting string. (ES2018).\n *\n * @param {string} [string] - The string to be normalized.\n * @throws {TypeError} If string is null or undefined or not coercible.\n */\nconst normalizeSpace2018 = function normalizeSpace2018(string) {\n return replace.call(trim(string), reNormalize2018, SPACE);\n};\n\nexport default normalizeSpace2018;\n","import toStr from 'to-string-x';\nimport requireCoercibleToString from 'require-coercible-to-string-x';\n\nconst EMPTY_STRING = '';\nconst STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/gm;\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method replaces comments in a string.\n *\n * @param {string} [string] - The string to be stripped.\n * @param {string} [replacement=''] - The string to be used as a replacement.\n * @throws {TypeError} If string is null or undefined or not coercible.\n * @throws {TypeError} If replacement is not coercible.\n * @returns {string} The new string with the comments replaced.\n */\nconst replaceComments = function replaceComments(string, replacement) {\n return replace.call(requireCoercibleToString(string), STRIP_COMMENTS, arguments.length > 1 ? toStr(replacement) : EMPTY_STRING);\n};\n\nexport default replaceComments;\n","import attempt from 'attempt-x';\nimport toBoolean from 'to-boolean-x';\nimport toStringTag from 'to-string-tag-x';\nimport hasToStringTag from 'has-to-string-tag-x';\nimport isPrimitive from 'is-primitive';\nimport normalise from 'normalize-space-x';\nimport deComment from 'replace-comments-x';\n\nconst FunctionCtr = attempt.constructor;\nconst castBoolean = true.constructor;\nconst SPACE = ' ';\nconst fToString = attempt.toString;\nconst funcTag = '[object Function]';\nconst genTag = '[object GeneratorFunction]';\nconst asyncTag = '[object AsyncFunction]';\nconst ctrRx = /^class /;\nconst {test} = ctrRx;\n\nconst hasNativeClass =\n attempt(() => {\n /* eslint-disable-next-line babel/new-cap */\n return FunctionCtr('\"use strict\"; return class My {};')();\n }).threw === false;\n\nconst testClassstring = function _testClassstring(value) {\n return test.call(ctrRx, normalise(deComment(fToString.call(value), SPACE)));\n};\n\nconst isES6ClassFn = function isES6ClassFunc(value) {\n const result = attempt(testClassstring, value);\n\n return result.threw === false && result.value;\n};\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @private\n * @param {*} value - The value to check.\n * @param {boolean} allowClass - Whether to filter ES6 classes.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n */\nconst tryFuncToString = function funcToString(value, allowClass) {\n if (hasNativeClass && allowClass === false && isES6ClassFn(value)) {\n return false;\n }\n\n return attempt.call(value, fToString).threw === false;\n};\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @param {*} value - The value to check.\n * @param {boolean} [allowClass=false] - Whether to filter ES6 classes.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n */\nconst isFunction = function isFunction(value, allowClass) {\n if (isPrimitive(value)) {\n return false;\n }\n\n if (hasToStringTag) {\n return tryFuncToString(value, toBoolean(allowClass));\n }\n\n if (hasNativeClass && castBoolean(allowClass) === false && isES6ClassFn(value)) {\n return false;\n }\n\n const strTag = toStringTag(value);\n\n return strTag === funcTag || strTag === genTag || strTag === asyncTag;\n};\n\nexport default isFunction;\n","import hasSymbols from 'has-symbol-support-x';\nimport isPrimitive from 'is-primitive';\nimport isDate from 'is-date-object';\nimport isSymbol from 'is-symbol';\nimport isFunction from 'is-function-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport isNil from 'is-nil-x';\n\nconst ZERO = 0;\nconst ONE = 1;\n/* eslint-disable-next-line no-void */\nconst UNDEFINED = void ZERO;\nconst NUMBER = 'number';\nconst STRING = 'string';\nconst DEFAULT = 'default';\n/** @type {StringConstructor} */\nconst StringCtr = STRING.constructor;\n/** @type {NumberConstructor} */\nconst NumberCtr = ZERO.constructor;\n/* eslint-disable-next-line compat/compat */\nconst symToPrimitive = hasSymbols && Symbol.toPrimitive;\n/* eslint-disable-next-line compat/compat */\nconst symValueOf = hasSymbols && Symbol.prototype.valueOf;\n\nconst toStringOrder = ['toString', 'valueOf'];\nconst toNumberOrder = ['valueOf', 'toString'];\nconst orderLength = 2;\n\n/**\n * @param {*} ordinary - The ordinary to convert.\n * @param {*} hint - The hint.\n * @returns {*} - The primitive.\n */\nconst ordinaryToPrimitive = function _ordinaryToPrimitive(ordinary, hint) {\n requireObjectCoercible(ordinary);\n\n if (typeof hint !== 'string' || (hint !== NUMBER && hint !== STRING)) {\n throw new TypeError('hint must be \"string\" or \"number\"');\n }\n\n const methodNames = hint === STRING ? toStringOrder : toNumberOrder;\n let method;\n let result;\n for (let i = ZERO; i < orderLength; i += ONE) {\n method = ordinary[methodNames[i]];\n\n if (isFunction(method)) {\n result = method.call(ordinary);\n\n if (isPrimitive(result)) {\n return result;\n }\n }\n }\n\n throw new TypeError('No default value');\n};\n\n/**\n * @param {*} object - The object.\n * @param {*} property - The property.\n * @returns {undefined|Function} - The method.\n */\nconst getMethod = function _getMethod(object, property) {\n const func = object[property];\n\n if (isNil(func) === false) {\n if (isFunction(func) === false) {\n throw new TypeError(`${func} returned for property ${property} of object ${object} is not a function`);\n }\n\n return func;\n }\n\n return UNDEFINED;\n};\n\n/**\n * Get the hint.\n *\n * @param {*} value - The value to compare.\n * @param {boolean} supplied - Was a value supplied.\n * @returns {string} - The hint string.\n */\nconst getHint = function getHint(value, supplied) {\n if (supplied) {\n if (value === StringCtr) {\n return STRING;\n }\n\n if (value === NumberCtr) {\n return NUMBER;\n }\n }\n\n return DEFAULT;\n};\n\n/**\n * Get the primitive from the exotic.\n *\n * @param {*} value - The exotic.\n * @returns {*} - The primitive.\n */\nconst getExoticToPrim = function getExoticToPrim(value) {\n if (hasSymbols) {\n if (symToPrimitive) {\n return getMethod(value, symToPrimitive);\n }\n\n if (isSymbol(value)) {\n return symValueOf;\n }\n }\n\n return UNDEFINED;\n};\n\n/**\n * This method converts a JavaScript object to a primitive value.\n * Note: When toPrimitive is called with no hint, then it generally behaves as\n * if the hint were Number. However, objects may over-ride this behaviour by\n * defining a @@toPrimitive method. Of the objects defined in this specification\n * only Date objects (see 20.3.4.45) and Symbol objects (see 19.4.3.4) over-ride\n * the default ToPrimitive behaviour. Date objects treat no hint as if the hint\n * were String.\n *\n * @param {*} input - The input to convert.\n * @param {NumberConstructor|StringConstructor} [preferredType] - The preferred type (String or Number).\n * @throws {TypeError} If unable to convert input to a primitive.\n * @returns {string|number} The converted input as a primitive.\n * @see {http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive}\n */\nconst toPrimitive = function toPrimitive(input, preferredType) {\n if (isPrimitive(input)) {\n return input;\n }\n\n const hint = getHint(preferredType, arguments.length > ONE);\n const exoticToPrim = getExoticToPrim(input);\n\n if (typeof exoticToPrim !== 'undefined') {\n const result = exoticToPrim.call(input, hint);\n\n if (isPrimitive(result)) {\n return result;\n }\n\n throw new TypeError('unable to convert exotic object to primitive');\n }\n\n const newHint = hint === DEFAULT && (isDate(input) || isSymbol(input)) ? STRING : hint;\n\n return ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint);\n};\n\nexport default toPrimitive;\n","/**\n * The constant NaN derived mathematically by 0 / 0.\n *\n * @type number\n */\nexport default 0 / 0;\n","import NAN from 'nan-x';\nimport toStr from 'to-string-x';\nimport trimLeft, {trimLeft2016} from 'trim-left-x';\n\nconst nativeParseInt = parseInt;\n/** @type {Function} */\nconst castNumber = (0).constructor;\n// noinspection JSPotentiallyInvalidConstructorUsage\nconst {charAt} = '';\nconst hexRegex = /^[-+]?0[xX]/;\nconst {test} = hexRegex;\n\n/**\n * This method parses a string argument and returns an integer of the specified\n * radix (the base in mathematical numeral systems). (ES2016).\n *\n * @param {string} [string] - The value to parse. If the string argument is not a\n * string, then it is converted to a string (using the ToString abstract\n * operation). Leading whitespace in the string argument is ignored.\n * @param {number} [radix] - An integer between 2 and 36 that represents the radix\n * (the base in mathematical numeral systems) of the above mentioned string.\n * Specify 10 for the decimal numeral system commonly used by humans. Always\n * specify this parameter to eliminate reader confusion and to guarantee\n * predictable behavior. Different implementations produce different results\n * when a radix is not specified, usually defaulting the value to 10.\n * @throws {TypeError} If target is a Symbol or is not coercible.\n * @returns {number} An integer number parsed from the given string. If the first\n * character cannot be converted to a number, NaN is returned.\n */\nexport function parseInt2016(string, radix) {\n const str = trimLeft2016(toStr(string));\n\n return nativeParseInt(str, castNumber(radix) || (test.call(hexRegex, str) ? 16 : 10));\n}\n\n/**\n * This method parses a string argument and returns an integer of the specified\n * radix (the base in mathematical numeral systems). (ES2018).\n *\n * @param {string} [string] - The value to parse. If the string argument is not a\n * string, then it is converted to a string (using the ToString abstract\n * operation). Leading whitespace in the string argument is ignored.\n * @param {number} [radix] - An integer between 2 and 36 that represents the radix\n * (the base in mathematical numeral systems) of the above mentioned string.\n * Specify 10 for the decimal numeral system commonly used by humans. Always\n * specify this parameter to eliminate reader confusion and to guarantee\n * predictable behavior. Different implementations produce different results\n * when a radix is not specified, usually defaulting the value to 10.\n * @throws {TypeError} If target is a Symbol or is not coercible.\n * @returns {number} An integer number parsed from the given string. If the first\n * character cannot be converted to a number, NaN is returned.\n */\nconst parseInt2018 = function parseInt2018(string, radix) {\n const str = trimLeft(toStr(string));\n\n if (charAt.call(str, 0) === '\\u180E') {\n return NAN;\n }\n\n return nativeParseInt(str, castNumber(radix) || (test.call(hexRegex, str) ? 16 : 10));\n};\n\nexport default parseInt2018;\n","import isSymbol from 'is-symbol';\nimport toPrimitive from 'to-primitive-x';\nimport trim, {trim2016} from 'trim-x';\nimport $parseInt, {parseInt2016} from 'parse-int-x';\nimport NAN from 'nan-x';\n\nconst binaryRadix = 2;\nconst octalRadix = 8;\nconst testCharsCount = 2;\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a number';\n\n/** @type {NumberConstructor} */\nconst castNumber = testCharsCount.constructor;\nconst pStrSlice = ERROR_MESSAGE.slice;\n\nconst binaryRegex = /^0b[01]+$/i;\nconst RegExpConstructor = binaryRegex.constructor;\n// Note that in IE 8, RegExp.prototype.test doesn't seem to exist: ie, \"test\" is\n// an own property of regexes. wtf.\nconst {test} = binaryRegex;\nconst isBinary = function _isBinary(value) {\n return test.call(binaryRegex, value);\n};\n\nconst octalRegex = /^0o[0-7]+$/i;\nconst isOctal = function _isOctal(value) {\n return test.call(octalRegex, value);\n};\n\nconst nonWSregex2016 = new RegExpConstructor('[\\u0085\\u200b\\ufffe]', 'g');\nconst hasNonWS2016 = function _hasNonWS(value) {\n return test.call(nonWSregex2016, value);\n};\n\nconst nonWSregex2018 = new RegExpConstructor('[\\u0085\\u180e\\u200b\\ufffe]', 'g');\nconst hasNonWS2018 = function _hasNonWS(value) {\n return test.call(nonWSregex2018, value);\n};\n\nconst invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i;\nconst isInvalidHexLiteral = function _isInvalidHexLiteral(value) {\n return test.call(invalidHexLiteral, value);\n};\n\n/**\n * This method converts argument to a value of type Number. (ES2016).\n *\n * @param {*} [argument] - The argument to convert to a number.\n * @throws {TypeError} - If argument is a Symbol or not coercible.\n * @returns {*} The argument converted to a number.\n */\nexport function toNumber2016(argument) {\n const value = toPrimitive(argument, Number);\n\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n if (typeof value === 'string') {\n if (isBinary(value)) {\n return toNumber2016(parseInt2016(pStrSlice.call(value, testCharsCount), binaryRadix));\n }\n\n if (isOctal(value)) {\n return toNumber2016(parseInt2016(pStrSlice.call(value, testCharsCount), octalRadix));\n }\n\n if (hasNonWS2016(value) || isInvalidHexLiteral(value)) {\n return NAN;\n }\n\n const trimmed = trim2016(value);\n\n if (trimmed !== value) {\n return toNumber2016(trimmed);\n }\n }\n\n return castNumber(value);\n}\n\n/**\n * This method converts argument to a value of type Number. (ES2018).\n *\n * @param {*} [argument] - The argument to convert to a number.\n * @throws {TypeError} - If argument is a Symbol or not coercible.\n * @returns {*} The argument converted to a number.\n */\nconst toNumber2018 = function toNumber2018(argument) {\n const value = toPrimitive(argument, castNumber);\n\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n if (typeof value === 'string') {\n if (isBinary(value)) {\n return toNumber2018($parseInt(pStrSlice.call(value, testCharsCount), binaryRadix));\n }\n\n if (isOctal(value)) {\n return toNumber2018($parseInt(pStrSlice.call(value, testCharsCount), octalRadix));\n }\n\n if (hasNonWS2018(value) || isInvalidHexLiteral(value)) {\n return NAN;\n }\n\n const trimmed = trim(value);\n\n if (trimmed !== value) {\n return toNumber2018(trimmed);\n }\n }\n\n return castNumber(value);\n};\n\nexport default toNumber2018;\n","import numberIsNaN from 'is-nan-x';\nimport INFINITY from 'infinity-x';\n\n/**\n * This method determines whether the passed value is a finite number.\n *\n * @param {*} [number] - The value to be tested for finiteness.\n * @returns {boolean} A Boolean indicating whether or not the given value is a finite number.\n */\nconst isFinite = function isFinite(number) {\n return typeof number === 'number' && numberIsNaN(number) === false && number !== INFINITY && number !== -INFINITY;\n};\n\nexport default isFinite;\n","/**\n * The constant value Infinity derived mathematically by 1 / 0.\n *\n * @type number\n */\nexport default 1 / 0;\n","import toNumber, {toNumber2016} from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\n\n/**\n * This method returns the sign of a number, indicating whether the number is positive,\n * negative or zero. (ES2016).\n *\n * @param {*} x - A number.\n * @returns {number} A number representing the sign of the given argument. If the argument\n * is a positive number, negative number, positive zero or negative zero, the function will\n * return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned.\n */\nexport function sign2016(x) {\n const n = toNumber2016(x);\n\n if (n === 0 || numberIsNaN(n)) {\n return n;\n }\n\n return n > 0 ? 1 : -1;\n}\n\n/**\n * This method returns the sign of a number, indicating whether the number is positive,\n * negative or zero. (ES2018).\n *\n * @param {*} x - A number.\n * @returns {number} A number representing the sign of the given argument. If the argument\n * is a positive number, negative number, positive zero or negative zero, the function will\n * return 1, -1, 0 or -0 respectively. Otherwise, NaN is returned.\n */\nconst sign2018 = function sign2018(x) {\n const n = toNumber(x);\n\n if (n === 0 || numberIsNaN(n)) {\n return n;\n }\n\n return n > 0 ? 1 : -1;\n};\n\nexport default sign2018;\n","import toNumber, {toNumber2016} from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\nimport numberIsFinite from 'is-finite-x';\nimport mathSign, {sign2016} from 'math-sign-x';\n\nconst {abs, floor} = Math;\n\n/**\n * Converts `value` to an integer. (ES2016).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport function toInteger2016(value) {\n const number = toNumber2016(value);\n\n if (numberIsNaN(number)) {\n return 0;\n }\n\n if (number === 0 || numberIsFinite(number) === false) {\n return number;\n }\n\n return sign2016(number) * floor(abs(number));\n}\n\n/**\n * Converts `value` to an integer. (ES2018).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nconst toInteger2018 = function toInteger2018(value) {\n const number = toNumber(value);\n\n if (numberIsNaN(number)) {\n return 0;\n }\n\n if (number === 0 || numberIsFinite(number) === false) {\n return number;\n }\n\n return mathSign(number) * floor(abs(number));\n};\n\nexport default toInteger2018;\n","import toInteger, {toInteger2016} from 'to-integer-x';\nimport MAX_SAFE_INTEGER from 'max-safe-integer';\n\n/**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object. (ES2016).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nexport function toLength2016(value) {\n const len = toInteger2016(value);\n\n // includes converting -0 to +0\n if (len <= 0) {\n return 0;\n }\n\n if (len > MAX_SAFE_INTEGER) {\n return MAX_SAFE_INTEGER;\n }\n\n return len;\n}\n\n/**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object. (ES2018).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nconst toLength2018 = function toLength2018(value) {\n const len = toInteger(value);\n\n // includes converting -0 to +0\n if (len <= 0) {\n return 0;\n }\n\n if (len > MAX_SAFE_INTEGER) {\n return MAX_SAFE_INTEGER;\n }\n\n return len;\n};\n\nexport default toLength2018;\n","import numberIsNaN from 'is-nan-x';\n\n/**\n * This method is the comparison abstract operation SameValue(x, y), where x\n * and y are ECMAScript language values, produces true or false.\n *\n * @param {*} [value1] - The first value to compare.\n * @param {*} [value2] - The second value to compare.\n * @returns {boolean} A Boolean indicating whether or not the two arguments are\n * the same value.\n */\nconst sameValue = function sameValue(value1, value2) {\n if (value1 === 0 && value2 === 0) {\n return 1 / value1 === 1 / value2;\n }\n\n if (value1 === value2) {\n return true;\n }\n\n return numberIsNaN(value1) && numberIsNaN(value2);\n};\n\nexport default sameValue;\n","import sameValue from 'same-value-x';\n\n/**\n * This method determines whether two values are the same value.\n * SameValueZero differs from SameValue (`Object.is`) only in its treatment\n * of +0 and -0.\n *\n * @param {*} [x] - The first value to compare.\n * @param {*} [y] - The second value to compare.\n * @returns {boolean} A Boolean indicating whether or not the two arguments\n * are the same value.\n */\nconst sameValueZero = function sameValueZero(x, y) {\n return x === y || sameValue(x, y);\n};\n\nexport default sameValueZero;\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/* eslint-disable-next-line compat/compat */\nconst pToString = hasSymbols && Symbol.prototype.toString;\nconst isSymbolFn = typeof pToString === 'function' && isSymbol;\n/** @type {Function} */\nconst castString = ''.constructor;\n\n/**\n * The abstract operation ToString converts argument to a value of type String,\n * however the specification states that if the argument is a Symbol then a\n * 'TypeError' is thrown. This version also allows Symbols be converted to\n * a string. Other uncoercible exotics will still throw though.\n *\n * @param {*} [value] - The value to convert to a string.\n * @returns {string} The converted value.\n */\nconst toStringSymbolsSupported = function toStringSymbolsSupported(value) {\n return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value);\n};\n\nexport default toStringSymbolsSupported;\n","import isFunction from 'is-function-x';\nimport safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Tests `callback` to see if it is a function, throws a `TypeError` if it is\n * not. Otherwise returns the `callback`.\n *\n * @param {*} callback - The argument to be tested.\n * @throws {TypeError} Throws if `callback` is not a function.\n * @returns {*} Returns `callback` if it is function.\n */\nconst assertIsFunction = function assertIsFunction(callback) {\n if (isFunction(callback) === false) {\n const msg = isPrimitive(callback) ? safeToString(callback) : '#';\n throw new TypeError(`${msg} is not a function`);\n }\n\n return callback;\n};\n\nexport default assertIsFunction;\n","const string = 'a';\nconst boxedString = {}.constructor(string);\n\n/**\n * Check failure of by-index access of string characters (IE < 9)\n * and failure of `0 in boxedString` (Rhino).\n *\n * `true` if no failure; otherwise `false`.\n *\n * @type boolean\n */\nconst hasBoxed = boxedString[0] === string && 0 in boxedString;\n\nexport default hasBoxed;\n","import hasBoxed from 'has-boxed-string-x';\nimport isString from 'is-string';\n\nconst EMPTY_STRING = '';\nconst strSplit = EMPTY_STRING.split;\nconst isStringFn = hasBoxed === false && typeof strSplit === 'function' && isString;\n\n/**\n * This method tests if a value is a string with the boxed bug; splits to an\n * array for iteration; otherwise returns the original value.\n *\n * @param {*} [value] - The value to be tested.\n * @returns {*} An array or characters if value was a string with the boxed bug;\n * otherwise the value.\n */\nconst splitIfBoxedBug = function splitIfBoxedBug(value) {\n return isStringFn && isStringFn(value) ? strSplit.call(value, EMPTY_STRING) : value;\n};\n\nexport default splitIfBoxedBug;\n","import attempt from 'attempt-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst pFindIndex = typeof Array.prototype.findIndex === 'function' && Array.prototype.findIndex;\n\nlet isWorking;\n\nif (pFindIndex) {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = 1;\n let res = attempt.call(testArr, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === 0;\n\n if (isWorking) {\n res = attempt.call(1, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === -1;\n }\n\n if (isWorking) {\n isWorking = attempt.call([], pFindIndex).threw;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pFindIndex, (item) => {\n return item === 'c';\n });\n\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pFindIndex,\n (item) => {\n return item === 'c';\n },\n );\n\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\n/**\n * Like `findIndex`, this method returns an index in the array, if an element\n * in the array satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If array is `null` or `undefined`-.\n * @param {Function} callback - Function to execute on each value in the array,\n * taking three arguments: `element`, `index` and `array`.\n * @throws {TypeError} If `callback` is not a function.\n * @param {*} [thisArg] - Object to use as `this` when executing `callback`.\n * @returns {number} Returns index of positively tested element, otherwise -1.\n */\nlet findIdx;\n\nif (isWorking) {\n findIdx = function findIndex(array, callback) {\n const args = [callback];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return pFindIndex.apply(array, args);\n };\n} else {\n findIdx = function findIndex(array, callback) {\n const object = toObject(array);\n assertIsFunction(callback);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n let thisArg;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n thisArg = arguments[2];\n }\n\n let index = 0;\n while (index < length) {\n if (callback.call(thisArg, iterable[index], index, object)) {\n return index;\n }\n\n index += 1;\n }\n\n return -1;\n };\n}\n\nconst fi = findIdx;\n\nexport default fi;\n","import numberIsFinite from 'is-finite-x';\nimport toInteger from 'to-integer-x';\n\n/**\n * This method determines whether the passed value is an integer.\n *\n * @param {*} value - The value to be tested for being an integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is an integer.\n */\nconst isInteger = function isInteger(value) {\n return numberIsFinite(value) && toInteger(value) === value;\n};\n\nexport default isInteger;\n","import isInteger from 'is-integer-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\nconst MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n\n/**\n * This method determines whether the passed value is a safe integer.\n *\n * Can be exactly represented as an IEEE-754 double precision number, and\n * whose IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation.\n *\n * @param {*} value - The value to be tested for being a safe integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * safe integer.\n */\nconst isSafeInteger = function isSafeInteger(value) {\n return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n};\n\nexport default isSafeInteger;\n","import isSafeInteger from 'is-safe-integer-x';\n\n/**\n * This method checks if `value` is a valid array-like length.\n *\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nconst isLength = function isLength(value) {\n return isSafeInteger(value) && value >= 0;\n};\n\nexport default isLength;\n","import isNil from 'is-nil-x';\nimport isFunction from 'is-function-x';\nimport isLength from 'is-length-x';\n\n/**\n * Checks if value is array-like. A value is considered array-like if it's\n * not a function and has a `length` that's an integer greater than or\n * equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @param {*} value - The object to be tested.\n */\nconst isArrayLike = function isArrayLike(value) {\n return isNil(value) === false && isFunction(value, true) === false && isLength(value.length);\n};\n\nexport default isArrayLike;\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport toInteger from 'to-integer-x';\nimport isArrayLike from 'is-array-like-x';\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\n/**\n * This method calculates a fromIndex of a given value for an array.\n *\n * @param {Array} array - * The array on which to calculate the starting index.\n * @throws {TypeError} If array is null or undefined.\n * @param {number} fromIndex - * The position in this array at which to begin. A\n * negative value gives the index of array.length + fromIndex by asc.\n * @returns {number} The calculated fromIndex. Default is 0.\n */\nconst calcFromIndex = function calcFromIndex(array, fromIndex) {\n const object = toObject(array);\n\n if (isArrayLike(object) === false) {\n return 0;\n }\n\n const index = toInteger(fromIndex);\n\n return index >= 0 ? index : getMax(0, toLength(object.length) + index);\n};\n\nexport default calcFromIndex;\n","import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport isFalsey from 'is-falsey-x';\nimport toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport sameValue from 'same-value-x';\nimport findIndex from 'find-index-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport attempt from 'attempt-x';\n\nlet pIndexOf = typeof Array.prototype.indexOf === 'function' && Array.prototype.indexOf;\n\nlet isWorking;\n\nif (pIndexOf) {\n let res = attempt.call([0, 1], pIndexOf, 1, 2);\n isWorking = res.threw === false && res.value === -1;\n\n if (isWorking) {\n res = attempt.call([0, 1], pIndexOf, 1);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call([0, -0], pIndexOf, -0);\n isWorking = res.threw === false && res.value === 0;\n }\n\n if (isWorking) {\n const testArr = [];\n testArr.length = 2;\n /* eslint-disable-next-line no-void */\n testArr[1] = void 0;\n /* eslint-disable-next-line no-void */\n res = attempt.call(testArr, pIndexOf, void 0);\n isWorking = res.threw === false && res.value === 1;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pIndexOf, 'c');\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pIndexOf,\n 'c',\n );\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\nif (isWorking !== true) {\n pIndexOf = function $pIndexOf(searchElement) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const length = toLength(this.length);\n\n if (length < 1) {\n return -1;\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n let i = arguments[1];\n while (i < length) {\n /* eslint-disable-next-line babel/no-invalid-this */\n if (i in this && this[i] === searchElement) {\n return i;\n }\n\n i += 1;\n }\n\n return -1;\n };\n}\n\n/**\n * This method returns an index in the array, if an element in the array\n * satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @private\n * @param {Array} array - The array to search.\n * @param {*} searchElement - Element to locate in the array.\n * @param {number} fromIndex - The index to start the search at.\n * @param {Function} extendFn - The comparison function to use.\n * @returns {number} Returns index of found element, otherwise -1.\n */\nconst findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extendFn) {\n let fIdx = fromIndex;\n const length = toLength(array.length);\n while (fIdx < length) {\n if (fIdx in array && extendFn(array[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method returns the first index at which a given element can be found\n * in the array, or -1 if it is not present.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If `array` is `null` or `undefined`.\n * @param {*} searchElement - Element to locate in the `array`.\n * @param {number} [fromIndex] - The index to start the search at. If the\n * index is greater than or equal to the array's length, -1 is returned,\n * which means the array will not be searched. If the provided index value is\n * a negative number, it is taken as the offset from the end of the array.\n * Note: if the provided index is negative, the array is still searched from\n * front to back. If the calculated index is less than 0, then the whole\n * array will be searched. Default: 0 (entire array is searched).\n * @param {string} [extend] - Extension type: `SameValue` or `SameValueZero`.\n * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nconst indexOf = function indexOf(array, searchElement) {\n const object = toObject(array);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n const argLength = arguments.length;\n /* eslint-disable-next-line prefer-rest-params */\n let extend = argLength > 2 && argLength > 3 ? arguments[3] : arguments[2];\n let extendFn;\n\n if (isString(extend)) {\n extend = extend.toLowerCase();\n\n if (extend === 'samevalue') {\n extendFn = sameValue;\n } else if (extend === 'samevaluezero') {\n extendFn = sameValueZero;\n }\n }\n\n let fromIndex = 0;\n\n if (extendFn && (searchElement === 0 || numberIsNaN(searchElement))) {\n if (argLength > 3) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n if (fromIndex > 0) {\n return findIdxFrom(iterable, searchElement, fromIndex, extendFn);\n }\n\n return findIndex(iterable, (element, index) => {\n return index in iterable && extendFn(searchElement, element);\n });\n }\n\n if (argLength > 3 || (argLength > 2 && isFalsey(extendFn))) {\n /* eslint-disable-next-line prefer-rest-params */\n fromIndex = calcFromIndex(iterable, arguments[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n return pIndexOf.call(iterable, searchElement, fromIndex);\n};\n\nexport default indexOf;\n"],"sourceRoot":""} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index ad33eb1..c0a32a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "index-of-x", - "version": "3.0.3", + "version": "3.0.4", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1290,9 +1290,9 @@ "dev": true }, "@types/node": { - "version": "12.6.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.6.3.tgz", - "integrity": "sha512-7TEYTQT1/6PP53NftXXabIZDaZfaoBdeBm8Md/i7zsWRoBe0YwOXguyK8vhHs8ehgB/w9U4K/6EWuTyp0W6nIA==", + "version": "12.6.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.6.6.tgz", + "integrity": "sha512-SMgj3x28MkJyHdWaMv/g/ca3LYDi5gR7O8mX0VKazvFOnmlDXctSEdd/8jfSqozjKFK1R9If1QZWkafX7yQTpA==", "dev": true }, "@types/stack-utils": { @@ -1750,13 +1750,13 @@ } }, "assert-is-function-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/assert-is-function-x/-/assert-is-function-x-3.0.4.tgz", - "integrity": "sha512-Nugy8ARziYA7qnhPSm0E0PGGFVe3ito2uSMh+kvQNgXwNkMWlhL0fwkyjExQ9xqOZWlgyVAnVrvgOAxEzBxGzQ==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/assert-is-function-x/-/assert-is-function-x-3.0.6.tgz", + "integrity": "sha512-LmDIif3qza1hU4rYLEqP3UDb3s5e8HskRyXgCll8Anxs2/MALj5fY54/a4BRxgvoyhXXIlFSlXcufw3/R87fOA==", "requires": { - "is-function-x": "^4.0.11", + "is-function-x": "^4.0.13", "is-primitive": "^3.0.1", - "to-string-symbols-supported-x": "^2.0.6" + "to-string-symbols-supported-x": "^2.0.7" } }, "assert-plus": { @@ -1817,9 +1817,9 @@ "dev": true }, "attempt-x": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/attempt-x/-/attempt-x-2.0.6.tgz", - "integrity": "sha512-RCjDy9olhgb3tT4xJy6oK4wdMeBpMMR30/4ZtaW3q8CtS9kTyhg8S0hxLuTMUkcKtf5ZqnEoLZ5/oVSaaE9oOQ==" + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/attempt-x/-/attempt-x-2.0.7.tgz", + "integrity": "sha512-0zIoexTgHaPs6Al+dhewqdd/aGTMhzjolGUyzFvEejGoxEn9Ykb7Fd8iDqw3awRx/rq2oyGQ4J4IhCrzQFcq/g==" }, "aws-sign2": { "version": "0.7.0", @@ -2366,19 +2366,19 @@ } }, "cached-constructors-x": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/cached-constructors-x/-/cached-constructors-x-2.0.7.tgz", - "integrity": "sha512-BjxdcDPeSVAguFZ1C1D5Wi/RuLJYTH8Dm9PZgNmvCIKFdfYBhbLidyA57TppU7phJhTd/W9IverApI/3CaY6qg==" + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/cached-constructors-x/-/cached-constructors-x-2.0.8.tgz", + "integrity": "sha512-qhO2jzewcGe8UK7JDKH0wClr0mDCYEUvI1COtZOYMriN/dnvKPWWPLZ88SPk7eCkx3EQFuwtH/eM4Ls9GRKTlA==" }, "calculate-from-index-x": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/calculate-from-index-x/-/calculate-from-index-x-3.0.4.tgz", - "integrity": "sha512-6WDScBX9RL+Q8dBHKlLDa4/CUtkxXJdzaMfvws2rjAgQdwn3GEj/G8O/bKQksyIzG5lV/sHC10foAWiePYIQlA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/calculate-from-index-x/-/calculate-from-index-x-3.0.5.tgz", + "integrity": "sha512-LR58jnO4WJKu7AX2Q7j+CxkbUC2OlMF7A9bfA8NWNaa8EZdqTLcuZGacg/t+4zYmv0qCuUB1YvUKEInFVbmvSw==", "requires": { - "is-array-like-x": "^2.0.4", - "to-integer-x": "^4.0.11", - "to-length-x": "^4.0.6", - "to-object-x": "^2.0.4" + "is-array-like-x": "^2.0.5", + "to-integer-x": "^4.0.13", + "to-length-x": "^4.0.8", + "to-object-x": "^2.0.6" } }, "callsites": { @@ -3784,15 +3784,16 @@ } }, "eslint-plugin-compat": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-3.2.0.tgz", - "integrity": "sha512-m8sXkfh7gBV2upq3pUkXbYKi5y+qCGbvCxRASGYS9N2JDQH2dWdq1aZe0bBBOci4JECdsLD7M2CERqhseG6Zdg==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-3.3.0.tgz", + "integrity": "sha512-QCgYy3pZ+zH10dkBJus1xER0359h1UhJjufhQRqp9Owm6BEoLZeSqxf2zINwL1OGao9Yc96xPYIW3nQj5HUryg==", "dev": true, "requires": { "@babel/runtime": "^7.4.5", "ast-metadata-inferer": "^0.1.1", "browserslist": "^4.6.3", "caniuse-db": "^1.0.30000977", + "lodash.memoize": "4.1.2", "mdn-browser-compat-data": "^0.0.84", "semver": "^6.1.2" } @@ -3866,15 +3867,15 @@ } }, "eslint-plugin-jest": { - "version": "22.7.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.7.2.tgz", - "integrity": "sha512-Aecqe3ulBVI7amgOycVI8ZPL8o0SnGHOf3zn2/Ciu8TXyXDHcjtwD3hOs3ss/Qh/VAwlW/DMcuiXg5btgF+XMA==", + "version": "22.10.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.10.0.tgz", + "integrity": "sha512-iBEWJn60Z5bctcjacymUnOQ3xN3gdvGOy3tDHpalAa99r4+jwH0CvICsIIHBNXNlJxuklkbx+wxr49tXk6M0tg==", "dev": true }, "eslint-plugin-jsdoc": { - "version": "15.5.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-15.5.0.tgz", - "integrity": "sha512-NWWT2CwdzM5ID/bFyOLbEG7yJGfwR6cW7Ds8/vZ1v7cSkK1YwNqY1+7DDW91UpAfJf6tskFUgfv0jTp/kGfW7Q==", + "version": "15.5.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-15.5.2.tgz", + "integrity": "sha512-5s39RYGaqugWVoOfc6pAwj9yeNh7mclygBWTyYVJX+sGiNchwCtgHbn2AjeonOw0g168CPI3itiXetHj2Yo8gg==", "dev": true, "requires": { "comment-parser": "^0.5.5", @@ -4460,15 +4461,15 @@ } }, "find-index-x": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/find-index-x/-/find-index-x-3.0.3.tgz", - "integrity": "sha512-ix82SaHfHOrOM9jMY8djHVcS7wyubYk3i5NRMuA3d++EtKGq+24ehxNZVi+GGF/GJS/9rcp++pkiF7Nv75Ca0w==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/find-index-x/-/find-index-x-3.0.4.tgz", + "integrity": "sha512-VSK7PBX7j/w+EmcbGyU1c+nu8B565ULVyXLi0SHm7YBtSIKO7BInGGHK5/hPOJSo0RarHD/2ywQcuWXurCFzUw==", "requires": { - "assert-is-function-x": "^3.0.4", - "attempt-x": "^2.0.6", - "split-if-boxed-bug-x": "^2.0.7", - "to-length-x": "^4.0.6", - "to-object-x": "^2.0.4" + "assert-is-function-x": "^3.0.6", + "attempt-x": "^2.0.7", + "split-if-boxed-bug-x": "^2.0.8", + "to-length-x": "^4.0.8", + "to-object-x": "^2.0.6" } }, "find-replace": { @@ -5480,9 +5481,9 @@ } }, "has-boxed-string-x": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/has-boxed-string-x/-/has-boxed-string-x-2.0.7.tgz", - "integrity": "sha512-r7/hnJzbIOvx5Ca6UDYSHiq2fT43E9NZDfv9H0BURRc+I+NjJ5R7eF0kmYEqJAOX3ANuUcr0cU+0Dlfsz5uj+Q==" + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/has-boxed-string-x/-/has-boxed-string-x-2.0.8.tgz", + "integrity": "sha512-ZyUdlk7cNASk5SG+RVELPzs2QiXKJHPA1FcHytjrm+VwWS4RHy3FIQ+Z0wcJCkzCfIhorHVoGqAXATVS6ZZyhg==" }, "has-flag": { "version": "3.0.0", @@ -5491,11 +5492,11 @@ "dev": true }, "has-symbol-support-x": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-2.0.6.tgz", - "integrity": "sha512-HDjhblJzwXhpg+91+fuvmmzdokDZtk2/fhr7maNBGEL5m+zKFveplKwU03lm7Ljt9Ma7kK6sUf/3CyuyrxoMMg==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-2.0.7.tgz", + "integrity": "sha512-9vvFuTDOE2gd4FicYTcB0cVX1vBD+uPctRliAE8y8PHO4c6OGjgdi79ixVIa06avee+zUzNpxSffCD0McaBWQA==", "requires": { - "attempt-x": "^2.0.6", + "attempt-x": "^2.0.7", "is-symbol": "^1.0.2" } }, @@ -5505,11 +5506,11 @@ "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=" }, "has-to-string-tag-x": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-2.0.6.tgz", - "integrity": "sha512-A2B5wou31TNgkaeCxx+bk+uyvPedHOjok1EXXzeNRqXns5tPHBoxmV0PZ/ge3TV+4iyOIyiSXQGR57V9y6Swzw==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-2.0.8.tgz", + "integrity": "sha512-Xr+7+qbkogToRZbiyccp4cX5BFDzM+CinXnptOMzkWDgcqmeTtqzl6h/n6D4L+6L106hwqIFUhkPuXuOvNnnug==", "requires": { - "has-symbol-support-x": "^2.0.6", + "has-symbol-support-x": "^2.0.7", "is-symbol": "^1.0.2" } }, @@ -5746,9 +5747,9 @@ "dev": true }, "infinity-x": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/infinity-x/-/infinity-x-2.0.10.tgz", - "integrity": "sha512-YUpNvJkuYHRJPf8ryGV1rINStKgAIxeEg514m0NtzuQEvwYa1VVaZPrwzUaMJboVuqaNTkOk09xRtMXjKXcm7A==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/infinity-x/-/infinity-x-2.0.11.tgz", + "integrity": "sha512-0duZkDULagTEY8r20up90ifNs7HwX9dtBtO6/gM3LdHm2vSxtwNzFUX+dOw9QI2liD92SFlRMg2SPI6HZKm+EQ==" }, "inflight": { "version": "1.0.6", @@ -5858,13 +5859,13 @@ } }, "is-array-like-x": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-array-like-x/-/is-array-like-x-2.0.4.tgz", - "integrity": "sha512-/F/pmn6F7Pw2U6CtZDmIFD+Ix/RDx57codw4CGKOKtv4XZ16xOsRknErVfIBwDOEIV2mfwCBTrgqtV0srXstkw==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-array-like-x/-/is-array-like-x-2.0.5.tgz", + "integrity": "sha512-qFr6wjOl6YfMIiPz7FnrdcQDtl/KmZmHRGo2cgySkww2uMG+Ml4qodsMfr/jWQKdbrxSQAORbywpuFdtXHNmLQ==", "requires": { - "is-function-x": "^4.0.11", - "is-length-x": "^3.0.7", - "is-nil-x": "^2.0.9" + "is-function-x": "^4.0.13", + "is-length-x": "^3.0.9", + "is-nil-x": "^2.0.10" } }, "is-arrayish": { @@ -5960,20 +5961,20 @@ "dev": true }, "is-falsey-x": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/is-falsey-x/-/is-falsey-x-2.0.9.tgz", - "integrity": "sha512-T3MdDe9jaNL56kcVe/0Jmx83hR8gjbbBTyZYSfO4OAA1X241zxLrxAA//Z2k237pgSSp/vzjx5QNwj1RSzFyBg==", + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/is-falsey-x/-/is-falsey-x-2.0.10.tgz", + "integrity": "sha512-utgcFgrBbVOblAMoVcMcSPwntbmaaT9pjFjFBIp8354sAoCBs7Xrcb3YEltqGqrjmktN39xYOzxlT0Y8dFc0CQ==", "requires": { - "to-boolean-x": "^2.0.8" + "to-boolean-x": "^2.0.9" } }, "is-finite-x": { - "version": "4.0.9", - "resolved": "https://registry.npmjs.org/is-finite-x/-/is-finite-x-4.0.9.tgz", - "integrity": "sha512-pT20USfW3zve7SDhTl6Mi5Ak/5STeMR/5n8Cs0yOH1wRzoRQA2JYBtml/fX+yiY0skytGysLgynjKxqgJY1Shw==", + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/is-finite-x/-/is-finite-x-4.0.10.tgz", + "integrity": "sha512-MGfGGJR2bco2C1Qxo0/oM3aOO7g9qWpeYbrS8Lh2VW5tT5VQNDCQRnHQcClHEjVQj4fjfMZS7aqYI/rc1p7wgw==", "requires": { - "infinity-x": "^2.0.10", - "is-nan-x": "^2.0.12" + "infinity-x": "^2.0.11", + "is-nan-x": "^2.0.13" } }, "is-fullwidth-code-point": { @@ -5983,18 +5984,17 @@ "dev": true }, "is-function-x": { - "version": "4.0.11", - "resolved": "https://registry.npmjs.org/is-function-x/-/is-function-x-4.0.11.tgz", - "integrity": "sha512-jfmadm2KFxawQlRtKS7XAh4Qh9+JkqQMu4v12E8xeF4Zgg0nT5JoxkRFjkiptfm8ofKgdqJTkVUR2hvK4BPxng==", + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/is-function-x/-/is-function-x-4.0.13.tgz", + "integrity": "sha512-hSqaeDD01DjdCdVQwMtBFRe4NSfZrYpkT4Vp1KSH6hW6t4B8ETgxEB369k28AUlFhhQiqhcKm7gl61N4UvDNtA==", "requires": { - "attempt-x": "^2.0.6", - "has-to-string-tag-x": "^2.0.6", - "is-falsey-x": "^2.0.9", + "attempt-x": "^2.0.7", + "has-to-string-tag-x": "^2.0.8", "is-primitive": "^3.0.1", - "normalize-space-x": "^4.0.20", - "replace-comments-x": "^3.0.8", - "to-boolean-x": "^2.0.8", - "to-string-tag-x": "^2.0.10" + "normalize-space-x": "^4.0.22", + "replace-comments-x": "^3.0.10", + "to-boolean-x": "^2.0.9", + "to-string-tag-x": "^2.0.11" } }, "is-generator-fn": { @@ -6033,12 +6033,12 @@ } }, "is-integer-x": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/is-integer-x/-/is-integer-x-2.0.8.tgz", - "integrity": "sha512-yvo58wNBguQyb7pt5mePWA7J/FPxLXsTA4Gl5BZh3GbQ8bwsoFc9wJAOdxoXi4PM4ZlscuZvMO7E7xBqtYzsFQ==", + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/is-integer-x/-/is-integer-x-2.0.10.tgz", + "integrity": "sha512-Bm/AOze3Y/XkA1FZSHZvXDB+PScp72V/B+Qk+GtulmL1I9330SsIjJ4Dv3wc3/W9Gi9Qqbjygg/Rqf12Rl+kEA==", "requires": { - "is-finite-x": "^4.0.9", - "to-integer-x": "^4.0.11" + "is-finite-x": "^4.0.10", + "to-integer-x": "^4.0.13" } }, "is-js-type": { @@ -6051,22 +6051,22 @@ } }, "is-length-x": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/is-length-x/-/is-length-x-3.0.7.tgz", - "integrity": "sha512-ctPKX2p7b0oo9I1C+lgFw9vEnxbXSTEFzb7qf0klmFD5uThAbWPCq9XJ6z7TwAFCY+HdmAZNn0bmobAiGWdiLQ==", + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/is-length-x/-/is-length-x-3.0.9.tgz", + "integrity": "sha512-QPgnCZgQLTVLyIAionTb35U0fqZ8RLAt4FRMLysdL3LEQoLC4fHOjBkQv01XkudKS9fCzyWcq0P0YhIJKbThtA==", "requires": { - "is-safe-integer-x": "^2.0.7" + "is-safe-integer-x": "^2.0.9" } }, "is-nan-x": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/is-nan-x/-/is-nan-x-2.0.12.tgz", - "integrity": "sha512-mXahDfHBETME/EC0T9VqZynd9S2K0cyhUTpwRsLdgFbFkrRbqNK2UVRfUmzTOEK5800JeFHvyGA59wduNam6cQ==" + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/is-nan-x/-/is-nan-x-2.0.13.tgz", + "integrity": "sha512-ZBOjplW/3hNSel4g/vP9hZ+E7q4baQS5qsRouirt0+0th4NK+b3fnDE4wca7u04T98DEbtQ5nFjFY9I5Cutv0w==" }, "is-nil-x": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/is-nil-x/-/is-nil-x-2.0.9.tgz", - "integrity": "sha512-GQPusN1eWGeLupvFsjp7H0GknfL/lvSZbMvic5ho1e+593mkPjE4LipUqp1IVEDGUd+Yu1BK4AVd9ylCuRM1Vg==" + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/is-nil-x/-/is-nil-x-2.0.10.tgz", + "integrity": "sha512-zTSHLy+rUhWYMnHkNBdHS1QAMyPvIAGhZ3Ae/zFy/arf/Vsr2+zaWqWmqOo+9lyMD61punR7AqIJttXzC1//ng==" }, "is-npm": { "version": "1.0.0", @@ -6177,12 +6177,11 @@ "dev": true }, "is-safe-integer-x": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/is-safe-integer-x/-/is-safe-integer-x-2.0.7.tgz", - "integrity": "sha512-5oLIjVDmSIVk+0sJNIopnFIwS8Xu7hS0wprUtq6b8yob3ACU2PcnHF8xxAAJFQH2bByG3gafq8FTJ9+hdZgsEw==", + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/is-safe-integer-x/-/is-safe-integer-x-2.0.9.tgz", + "integrity": "sha512-QiKTMMi2hMCO5id+GmlLS63Dra7NcQ0mFOROxZ/HywKrFjr/MB+G9ckVTqnC3Qw6cZ/tEVVoxX5zslh50vjIRA==", "requires": { - "is-integer-x": "^2.0.8", - "max-safe-integer": "^2.0.0" + "is-integer-x": "^2.0.10" } }, "is-stream": { @@ -7246,6 +7245,12 @@ "integrity": "sha1-JC9mMRLdTG5jcoxgo8kJ0b2tvUw=", "dev": true }, + "lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "dev": true + }, "lodash.omit": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz", @@ -7384,12 +7389,12 @@ "dev": true }, "math-sign-x": { - "version": "4.0.11", - "resolved": "https://registry.npmjs.org/math-sign-x/-/math-sign-x-4.0.11.tgz", - "integrity": "sha512-2qUMV5EM1jP5/Bt8nrayCuzmSZWMo+UNfVvw43my/pHHbLoI2NWj50rSKEfnWcJyofBvNaW6KSI+spMIOY0p3A==", + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/math-sign-x/-/math-sign-x-4.0.13.tgz", + "integrity": "sha512-5NwzetKiARz5XU7pGbOhjBwJU9YJ50rAd+m7wvKaS/1zcS4KJX2gtCkI7blBB1C39L1Ez6dDN4cy+X42DFRfXg==", "requires": { - "is-nan-x": "^2.0.12", - "to-number-x": "^3.0.11" + "is-nan-x": "^2.0.13", + "to-number-x": "^3.0.13" } }, "max-safe-integer": { @@ -7640,9 +7645,9 @@ "optional": true }, "nan-x": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/nan-x/-/nan-x-2.0.10.tgz", - "integrity": "sha512-oKy1z4PnxQ7f3LFTQcoGdyXS8wGrozElLMpDVKNgS+PYeOPPWok5PUsm9PbYwkUVZxymOClkdIYFII8dq+Q40g==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/nan-x/-/nan-x-2.0.11.tgz", + "integrity": "sha512-otE8Dcv753/REDOSFBfhBTJyocedKvu8/C4BU9Qob4p3NfbdKtzvnyWFi/0pgrraLXMDgaBzCQq/aiQzel/Hwg==" }, "nanomatch": { "version": "1.2.13", @@ -7871,12 +7876,12 @@ "dev": true }, "normalize-space-x": { - "version": "4.0.20", - "resolved": "https://registry.npmjs.org/normalize-space-x/-/normalize-space-x-4.0.20.tgz", - "integrity": "sha512-WQqFOqvTxn9tPkMJrko0sqt1dvm5y8Tw6RpqdWknba7FTPrXxkkj8atQ6q7TSqfxdjW4fqYJC0Nj2LcQzRLXGg==", + "version": "4.0.22", + "resolved": "https://registry.npmjs.org/normalize-space-x/-/normalize-space-x-4.0.22.tgz", + "integrity": "sha512-Bkz+7mmOz+rFmz1/f1MxPW4r3k9jgwmSn1nHxuv9KN4Sq5VQ+EG4oERPDzr5MrxpiLLBJnUpixSASDh2gHaO7Q==", "requires": { - "trim-x": "^4.0.9", - "white-space-x": "^4.0.7" + "trim-x": "^4.0.11", + "white-space-x": "^4.0.8" } }, "npm-run-path": { @@ -8250,13 +8255,13 @@ } }, "parse-int-x": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/parse-int-x/-/parse-int-x-3.0.8.tgz", - "integrity": "sha512-aS++WdTiSczHataORJGz+ao251FjDFRGkDmRVL7AsTipni6uQZYQHIGfRbar8ctbQyiLPbCLYmyPvC4x7qM3eg==", + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/parse-int-x/-/parse-int-x-3.0.10.tgz", + "integrity": "sha512-BXDXeaXP4PfN+99NKMp079QWuTkHIpagYqUCC9npurTXAYngqXovkW5urCuY2/qXBRrm66OT00g7BTq/hN+EUA==", "requires": { - "nan-x": "^2.0.10", - "to-string-x": "^2.0.18", - "trim-left-x": "^4.0.9" + "nan-x": "^2.0.11", + "to-string-x": "^2.0.19", + "trim-left-x": "^4.0.11" } }, "parse-json": { @@ -9014,12 +9019,12 @@ "dev": true }, "replace-comments-x": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/replace-comments-x/-/replace-comments-x-3.0.8.tgz", - "integrity": "sha512-HKLTz7Mj9L9x8sI13yD45jzxx+ARB+n7uKfE3OvhAUKhNhCzOYIjVqIKF120hvXFeBRC0IAMaQ94cF3dY1s/uw==", + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/replace-comments-x/-/replace-comments-x-3.0.10.tgz", + "integrity": "sha512-QNdVz/jQYJq9O7xOvzGtomqQ/MO5LlE9AegYU8tspLuOR+nrcy1uXkrBjMjbHHsmAgCkI/6hGKxiWYU5HSQ9VA==", "requires": { - "require-coercible-to-string-x": "^2.0.8", - "to-string-x": "^2.0.18" + "require-coercible-to-string-x": "^2.0.10", + "to-string-x": "^2.0.19" } }, "request": { @@ -9089,12 +9094,12 @@ } }, "require-coercible-to-string-x": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/require-coercible-to-string-x/-/require-coercible-to-string-x-2.0.8.tgz", - "integrity": "sha512-708KndhNl94xLTNRkI0ShvxF9oNyzioY6k9nfZ40V2iOzVeJBRkuy0f169b+DtbbCFwpFaq/svBzgkgVEIMFQg==", + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/require-coercible-to-string-x/-/require-coercible-to-string-x-2.0.10.tgz", + "integrity": "sha512-sTTFMKVGW2GcKXjxlhrXZEIyTKSbkMtKe431gZFTwILOxTJujblOJpjURK3zkeIkVLbJL68U/Afzgr2ae690/Q==", "requires": { - "require-object-coercible-x": "^2.0.9", - "to-string-x": "^2.0.18" + "require-object-coercible-x": "^2.0.11", + "to-string-x": "^2.0.19" } }, "require-directory": { @@ -9110,11 +9115,11 @@ "dev": true }, "require-object-coercible-x": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/require-object-coercible-x/-/require-object-coercible-x-2.0.9.tgz", - "integrity": "sha512-Ilj30Ia9wD20aZn6r19eIuuPEGVDxokIpkyzYk7aud2jvV5DXcBotkmPZBUxylccjg7WodzQeqiI1XZhE0/tKw==", + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/require-object-coercible-x/-/require-object-coercible-x-2.0.11.tgz", + "integrity": "sha512-5a4ur+274aPnDJItUc0gH98bEksM+H6bWVP2e9ygqPjMB+WAGr69TmjI6sJwLkKyANN7pPGJfLDEWpSwBuPQMw==", "requires": { - "is-nil-x": "^2.0.9" + "is-nil-x": "^2.0.10" } }, "require-package-name": { @@ -9283,19 +9288,19 @@ "dev": true }, "same-value-x": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/same-value-x/-/same-value-x-2.0.11.tgz", - "integrity": "sha512-BKnQ7C/f8gBpc/a45EkbUL8TJbL5ZN1YYdTKwjja0d3FTdZqTGtEK2KnbOpmGQ3j4MKprzfCWfMVsWqBcJ2t4A==", + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/same-value-x/-/same-value-x-2.0.13.tgz", + "integrity": "sha512-mz1OAcIq8HOG4MIX4EVow2UNSMJlly41WXcDcl2xIyqUmAad8F1BKdi7PrC/PIQoyS3QIW9EqcIXicKEqWThkw==", "requires": { - "is-nan-x": "^2.0.12" + "is-nan-x": "^2.0.13" } }, "same-value-zero-x": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/same-value-zero-x/-/same-value-zero-x-2.0.11.tgz", - "integrity": "sha512-TUBUhxhkuDzmr2ddVp4cWbQYUvmz1O+oGpPiWaGW55NobnhtlM0ZkThkoZsGAEvwvzyhoYEO/e7sqfFkzMUNyQ==", + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/same-value-zero-x/-/same-value-zero-x-2.0.13.tgz", + "integrity": "sha512-nDOyD7lXOq8HMhnPa6oJXHiGT4DOs0wE2sIwlxjxvTz0suPhj8xXQ4PBZPaQq5WsYFr9XLM+jpmyeeehCs54JQ==", "requires": { - "same-value-x": "^2.0.11" + "same-value-x": "^2.0.13" } }, "sane": { @@ -9738,11 +9743,11 @@ "dev": true }, "split-if-boxed-bug-x": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/split-if-boxed-bug-x/-/split-if-boxed-bug-x-2.0.7.tgz", - "integrity": "sha512-c0JIuKZFnmYORNWgayEZph6vnKyl/rXlWYpcND2scWE7FMym5E0/ROBxy7LCsxjQo7koYJmGMktlLIC0tV9UDA==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/split-if-boxed-bug-x/-/split-if-boxed-bug-x-2.0.8.tgz", + "integrity": "sha512-vgM9d9rTlQG1/1L3P/F/SB53zxTsYr4A6+iV8tkzDO2MYvfmWB0L2JdBvHuDBS3x8skvKD2YaXoMoS6h+GXGtw==", "requires": { - "has-boxed-string-x": "^2.0.7", + "has-boxed-string-x": "^2.0.8", "is-string": "^1.0.4" } }, @@ -10292,9 +10297,9 @@ "dev": true }, "to-boolean-x": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/to-boolean-x/-/to-boolean-x-2.0.8.tgz", - "integrity": "sha512-sghQ7esu6DBRXuDvX6FVtrJ+2uXJnAnv8iiR6fpO1nb/JAjRAVSr/exQZEDxmA9uKuRbRrqWiBjPRQLkAIW5VQ==" + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/to-boolean-x/-/to-boolean-x-2.0.9.tgz", + "integrity": "sha512-O0QrDZCY+n45PzEqEmQVHFIwD0REPYAMSy7YgDLJTLf2qtpsXLRkT2plUVUODBMtDvuh2PsYbtJlJ/QxHl7xqw==" }, "to-fast-properties": { "version": "2.0.0", @@ -10303,35 +10308,35 @@ "dev": true }, "to-integer-x": { - "version": "4.0.11", - "resolved": "https://registry.npmjs.org/to-integer-x/-/to-integer-x-4.0.11.tgz", - "integrity": "sha512-6OHMuJ643FniFXpoavnd7XLkR9RUfWFhbeW4POPxy6p6nKCMF23ashItCDKFxG3anXxwqyoGvC1OlFwU4clcbw==", + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/to-integer-x/-/to-integer-x-4.0.13.tgz", + "integrity": "sha512-fuuNjfpQG+K3N5bm+D62J9EpW49/XCq4RbYXQ+QDTRn2l5CZ8rtY6eY6PtfWQjOIbo7r/TUvg/kPITZVYxcSPQ==", "requires": { - "is-finite-x": "^4.0.9", - "is-nan-x": "^2.0.12", - "math-sign-x": "^4.0.11", - "to-number-x": "^3.0.11" + "is-finite-x": "^4.0.10", + "is-nan-x": "^2.0.13", + "math-sign-x": "^4.0.13", + "to-number-x": "^3.0.13" } }, "to-length-x": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/to-length-x/-/to-length-x-4.0.6.tgz", - "integrity": "sha512-DUCKtMAfXkv4ZyBK40nLIuQt1ctDGwNQVnm+ERiK5JIOrsDl0oSYoiy9rc2U2M4oX/+pLQwzGmCZVApLwX0sVg==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/to-length-x/-/to-length-x-4.0.8.tgz", + "integrity": "sha512-5D7V/NVJb2tqKhcZHo2/emq/6M+WVolstQIxuFyEyOYDgz4c5RdwWO2QULu/Px/g1R0sxLriiLkD47zhF2+xOg==", "requires": { "max-safe-integer": "^2.0.0", - "to-integer-x": "^4.0.11" + "to-integer-x": "^4.0.13" } }, "to-number-x": { - "version": "3.0.11", - "resolved": "https://registry.npmjs.org/to-number-x/-/to-number-x-3.0.11.tgz", - "integrity": "sha512-hgpfIBwAonstIoRGrxtjL7IZG0c47hS2dTtPNELJdKYTxD/sXzcEvQbcJf6qhMCi/Bmz/LUoXYOcYFPp5t+5gA==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/to-number-x/-/to-number-x-3.0.13.tgz", + "integrity": "sha512-CDOwTQE2V00Nb16ijLWjmeg145YqvBsjN8qJyg0e9NewYouLAA21DJg1sGCQVDKjxTOtflr49hB2QpBoLcJnKA==", "requires": { "is-symbol": "^1.0.2", - "nan-x": "^2.0.10", - "parse-int-x": "^3.0.8", - "to-primitive-x": "^2.0.10", - "trim-x": "^4.0.9" + "nan-x": "^2.0.11", + "parse-int-x": "^3.0.10", + "to-primitive-x": "^2.0.12", + "trim-x": "^4.0.11" } }, "to-object-path": { @@ -10355,26 +10360,26 @@ } }, "to-object-x": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/to-object-x/-/to-object-x-2.0.4.tgz", - "integrity": "sha512-h8dWWZDuOb4xCF9Fbvr2LnLBn204tFGwyOitQgw4OUwe1rYqDZvO66Whavx+CYLtfHnCScyoT1TQw1Bsdy4XEw==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/to-object-x/-/to-object-x-2.0.6.tgz", + "integrity": "sha512-eXPPFpWrf7e2R7WDic4vYNJfAkQiqFEFfvXoGTeDe3gDTS8c0WXlrMoisw1v3AU74JR/aA1JonaA8cYJdj8rGQ==", "requires": { - "cached-constructors-x": "^2.0.7", - "require-object-coercible-x": "^2.0.9" + "cached-constructors-x": "^2.0.8", + "require-object-coercible-x": "^2.0.11" } }, "to-primitive-x": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/to-primitive-x/-/to-primitive-x-2.0.10.tgz", - "integrity": "sha512-EOD7C+vhLpbTB4N2vKfvyFJ7OCrGeW7wfYcQc4o/cW9qQJClgp+N/ogNIqApfTVeN83ErfsS4cuHiZwhny8hhw==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/to-primitive-x/-/to-primitive-x-2.0.12.tgz", + "integrity": "sha512-6iP4oIsIL50dO58vuSJY6yx/KjnVKKDLQ0IbPPVKOg5TKv419g/n5guib49MijazpOn+Qrs215CRm6znxUacKw==", "requires": { - "has-symbol-support-x": "^2.0.6", + "has-symbol-support-x": "^2.0.7", "is-date-object": "^1.0.1", - "is-function-x": "^4.0.11", - "is-nil-x": "^2.0.9", + "is-function-x": "^4.0.13", + "is-nil-x": "^2.0.10", "is-primitive": "^3.0.1", "is-symbol": "^1.0.2", - "require-object-coercible-x": "^2.0.9" + "require-object-coercible-x": "^2.0.11" } }, "to-regex": { @@ -10400,23 +10405,23 @@ } }, "to-string-symbols-supported-x": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/to-string-symbols-supported-x/-/to-string-symbols-supported-x-2.0.6.tgz", - "integrity": "sha512-urqSmxIRa5TroT2PC1M1GqEJqfx5Xykl0GPKBCNsq0bWBRw03q6CFIJZeOwe4H497Df83sjdlfEq5OYYuYF7Zg==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/to-string-symbols-supported-x/-/to-string-symbols-supported-x-2.0.7.tgz", + "integrity": "sha512-rAjvY6qeBapFkfOhMjVKPPO2tD8HfhZr4FwVMt5S6SRXBIIfF3o/rvYfDJkurJwDlwIkb0j2eIT4kzquDun7wA==", "requires": { - "has-symbol-support-x": "^2.0.6", + "has-symbol-support-x": "^2.0.7", "is-symbol": "^1.0.2" } }, "to-string-tag-x": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/to-string-tag-x/-/to-string-tag-x-2.0.10.tgz", - "integrity": "sha512-loVAuXm8hEb0S9iiy0MFOj1H8MwV1NGpQFZvOFYmuC6mt6HN9ZIEagsX4UMwOeGExLih5laj4v7jFy7pBFnk1Q==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/to-string-tag-x/-/to-string-tag-x-2.0.11.tgz", + "integrity": "sha512-/wLQB/OjhubC87+Sr3eQEcHUKSBi4SlR1b5+52Jr9tjHshOb37suWoPAcOQEtvoo0zKFmdVwHoJQmwXDbllhjg==" }, "to-string-x": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/to-string-x/-/to-string-x-2.0.18.tgz", - "integrity": "sha512-hNCrtUfhBd2au3keyLL8IHg6f9ILgD8kWjMQ22/9V19bqi609lIgJhSD2lWhJezxhnEDZw+052YQzOsgCyXR0Q==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/to-string-x/-/to-string-x-2.0.19.tgz", + "integrity": "sha512-6vSUIfH0LeCelQsCi2Ljz++XEcEL7A8jYAGNJBLxwiv6fUYZfeYZUrIWPJdogh6vruqDbIvNu0EzkrskYfxtIA==", "requires": { "is-symbol": "^1.0.2" } @@ -10462,12 +10467,12 @@ "dev": true }, "trim-left-x": { - "version": "4.0.9", - "resolved": "https://registry.npmjs.org/trim-left-x/-/trim-left-x-4.0.9.tgz", - "integrity": "sha512-m5iWCgdSOB7Pg9w11/kzd2awfX2fkEMbi9P9ZNdr04UWE/JnFaaFaDYoDdv80n+VeP9M2A19VfpWJRkIcxBj7g==", + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/trim-left-x/-/trim-left-x-4.0.11.tgz", + "integrity": "sha512-stXKwOxvY9vASvGX7qJWRdHXN//ijrbGdLxDJOP4MG6uV3T88vC8RgEsPA72msv3KIf6m+c5TwS1ME6d2xbo1A==", "requires": { - "require-coercible-to-string-x": "^2.0.8", - "white-space-x": "^4.0.7" + "require-coercible-to-string-x": "^2.0.10", + "white-space-x": "^4.0.8" } }, "trim-right": { @@ -10477,21 +10482,21 @@ "dev": true }, "trim-right-x": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/trim-right-x/-/trim-right-x-4.0.8.tgz", - "integrity": "sha512-ES+id0sWyd3sr5Mw/bOeY8Q6JbUiMoHwNunm8YL8TZEACrsyoMz8GWfgcJsuxXCSb2pXDJvtVYumoYnpgcr2Iw==", + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/trim-right-x/-/trim-right-x-4.0.10.tgz", + "integrity": "sha512-hUKfWPB1MS4UZyV/3+kU7N98qGoeQzqUVOkv3jUJFO7uGykcGjzOKkcZ8Lnx4CCyDFf+aaYqV2gZPlZXUzjSag==", "requires": { - "require-coercible-to-string-x": "^2.0.8", - "white-space-x": "^4.0.7" + "require-coercible-to-string-x": "^2.0.10", + "white-space-x": "^4.0.8" } }, "trim-x": { - "version": "4.0.9", - "resolved": "https://registry.npmjs.org/trim-x/-/trim-x-4.0.9.tgz", - "integrity": "sha512-X9wXWThx1zbTv2Bl9Q8AqKh2smMj//QEOGxvccnNK8VvSqjpldxY/16tuQkjLDsGEayoMKHLDXzdE01aP0tpTQ==", + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/trim-x/-/trim-x-4.0.11.tgz", + "integrity": "sha512-B1O3DlFjOibu6CmipNeA9SlBtLKpOjEd5ctZmzIaA/zyNyn1pqueyUyoKjGycGEJd3LvlhZ9L7havFFD3YINpw==", "requires": { - "trim-left-x": "^4.0.9", - "trim-right-x": "^4.0.8" + "trim-left-x": "^4.0.11", + "trim-right-x": "^4.0.10" } }, "tryer": { @@ -11030,9 +11035,9 @@ "dev": true }, "webpack": { - "version": "4.35.3", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.35.3.tgz", - "integrity": "sha512-xggQPwr9ILlXzz61lHzjvgoqGU08v5+Wnut19Uv3GaTtzN4xBTcwnobodrXE142EL1tOiS5WVEButooGzcQzTA==", + "version": "4.36.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.36.1.tgz", + "integrity": "sha512-Ej01/N9W8DVyhEpeQnbUdGvOECw0L46FxS12cCOs8gSK7bhUlrbHRnWkjiXckGlHjUrmL89kDpTRIkUk6Y+fKg==", "dev": true, "requires": { "@webassemblyjs/ast": "1.8.5", @@ -11346,9 +11351,9 @@ "dev": true }, "white-space-x": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/white-space-x/-/white-space-x-4.0.7.tgz", - "integrity": "sha512-hspseNCV/63Gn9XNCF1cBHCl/XOGvILuhk+iRs06FPsDm4r/9ZPaoq4bS5RAe69jHTRc5wQkK4LLreSWGueqwg==" + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/white-space-x/-/white-space-x-4.0.8.tgz", + "integrity": "sha512-49UKYk0WvEJh8PMRyWobszUwm64x5OgayNoO7E0ceVKgif6LIYpX7VSrFNPEUCJhsuWcF8KXWxDl72AQLD+3HA==" }, "widest-line": { "version": "2.0.1", diff --git a/package.json b/package.json index 7204fb7..b4cf49d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "index-of-x", - "version": "3.0.3", + "version": "3.0.4", "description": "An extended ES6 indexOf.", "homepage": "https://github.com/Xotic750/index-of-x", "author": { @@ -50,17 +50,17 @@ "url": "https://github.com/Xotic750/index-of-x/issues" }, "dependencies": { - "attempt-x": "^2.0.6", - "calculate-from-index-x": "^3.0.4", - "find-index-x": "^3.0.3", - "is-falsey-x": "^2.0.9", - "is-nan-x": "^2.0.12", + "attempt-x": "^2.0.7", + "calculate-from-index-x": "^3.0.5", + "find-index-x": "^3.0.4", + "is-falsey-x": "^2.0.10", + "is-nan-x": "^2.0.13", "is-string": "^1.0.4", - "same-value-x": "^2.0.11", - "same-value-zero-x": "^2.0.11", - "split-if-boxed-bug-x": "^2.0.7", - "to-length-x": "^4.0.6", - "to-object-x": "^2.0.4" + "same-value-x": "^2.0.13", + "same-value-zero-x": "^2.0.13", + "split-if-boxed-bug-x": "^2.0.8", + "to-length-x": "^4.0.8", + "to-object-x": "^2.0.6" }, "devDependencies": { "@babel/cli": "^7.5.0", @@ -76,7 +76,7 @@ "@babel/runtime": "^7.5.4", "@prorenata/eslint-config-vue": "^1.13.6", "@types/jest": "^24.0.15", - "@types/node": "^12.6.3", + "@types/node": "^12.6.6", "babel-core": "^7.0.0-0", "babel-eslint": "^10.0.2", "babel-loader": "^8.0.6", @@ -92,13 +92,13 @@ "eslint-import-resolver-webpack": "^0.11.1", "eslint-loader": "^2.2.1", "eslint-plugin-babel": "^5.3.0", - "eslint-plugin-compat": "^3.2.0", + "eslint-plugin-compat": "^3.3.0", "eslint-plugin-css-modules": "^2.11.0", "eslint-plugin-eslint-comments": "^3.1.2", "eslint-plugin-html": "^6.0.0", "eslint-plugin-import": "^2.18.0", - "eslint-plugin-jest": "^22.7.2", - "eslint-plugin-jsdoc": "^15.3.5", + "eslint-plugin-jest": "^22.9.0", + "eslint-plugin-jsdoc": "^15.5.2", "eslint-plugin-json": "^1.4.0", "eslint-plugin-lodash": "^5.1.0", "eslint-plugin-no-use-extend-native": "^0.4.1", @@ -125,7 +125,7 @@ "source-map-loader": "^0.2.4", "terser-webpack-plugin": "^1.3.0", "typescript": "^3.5.3", - "webpack": "^4.35.3", + "webpack": "^4.36.0", "webpack-bundle-analyzer": "^3.3.2", "webpack-cli": "^3.3.6", "webpack-merge": "^4.2.1" diff --git a/src/index-of-x.js b/src/index-of-x.js index 926de9e..4c8c1bb 100644 --- a/src/index-of-x.js +++ b/src/index-of-x.js @@ -125,7 +125,7 @@ const findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, exte * @returns {number} Returns index of found element, otherwise -1. */ // eslint-enable jsdoc/check-param-names -export default function indexOf(array, searchElement) { +const indexOf = function indexOf(array, searchElement) { const object = toObject(array); const iterable = splitIfBoxedBug(object); const length = toLength(iterable.length); @@ -188,4 +188,6 @@ export default function indexOf(array, searchElement) { } return pIndexOf.call(iterable, searchElement, fromIndex); -} +}; + +export default indexOf;