UNPKG

195 kBSource Map (JSON)View Raw
1{"version":3,"sources":["webpack://deepEqualX/webpack/universalModuleDefinition","webpack://deepEqualX/webpack/bootstrap","webpack://deepEqualX/./node_modules/is-primitive/index.js","webpack://deepEqualX/./node_modules/is-string/index.js","webpack://deepEqualX/./node_modules/is-symbol/index.js","webpack://deepEqualX/./node_modules/is-arguments/index.js","webpack://deepEqualX/./node_modules/is-date-object/index.js","webpack://deepEqualX/./node_modules/is-object/index.js","webpack://deepEqualX/./node_modules/is-buffer/index.js","webpack://deepEqualX/./node_modules/stable/stable.js","webpack://deepEqualX/./node_modules/object-keys/isArguments.js","webpack://deepEqualX/./node_modules/object-keys/index.js","webpack://deepEqualX/./node_modules/has-symbols/index.js","webpack://deepEqualX/(webpack)/buildin/global.js","webpack://deepEqualX/./node_modules/has-symbols/shams.js","webpack://deepEqualX/./node_modules/object-keys/implementation.js","webpack://deepEqualX/../src/to-string-tag-x.js","webpack://deepEqualX/../src/attempt-x.js","webpack://deepEqualX/../src/to-boolean-x.js","webpack://deepEqualX/../src/has-symbol-support-x.js","webpack://deepEqualX/../src/has-to-string-tag-x.js","webpack://deepEqualX/../src/is-nil-x.js","webpack://deepEqualX/../src/require-object-coercible-x.js","webpack://deepEqualX/../src/to-string-x.js","webpack://deepEqualX/../src/require-coercible-to-string-x.js","webpack://deepEqualX/../src/white-space-x.js","webpack://deepEqualX/../src/trim-left-x.js","webpack://deepEqualX/../src/trim-right-x.js","webpack://deepEqualX/../src/trim-x.js","webpack://deepEqualX/../src/normalize-space-x.js","webpack://deepEqualX/../src/replace-comments-x.js","webpack://deepEqualX/../src/is-function-x.js","webpack://deepEqualX/../src/is-object-like-x.js","webpack://deepEqualX/../src/to-object-x.js","webpack://deepEqualX/../src/get-prototype-of-x.js","webpack://deepEqualX/../src/is-error-x.js","webpack://deepEqualX/../src/to-primitive-x.js","webpack://deepEqualX/../src/to-property-key-x.js","webpack://deepEqualX/../src/has-own-property-x.js","webpack://deepEqualX/../src/to-string-symbols-supported-x.js","webpack://deepEqualX/../src/nan-x.js","webpack://deepEqualX/../src/parse-int-x.js","webpack://deepEqualX/../src/to-number-x.js","webpack://deepEqualX/../src/is-nan-x.js","webpack://deepEqualX/../src/infinity-x.js","webpack://deepEqualX/../src/is-finite-x.js","webpack://deepEqualX/../src/math-sign-x.js","webpack://deepEqualX/../src/to-integer-x.js","webpack://deepEqualX/../src/math-clamp-x.js","webpack://deepEqualX/../src/is-index-x.js","webpack://deepEqualX/../src/property-is-enumerable-x.js","webpack://deepEqualX/../src/object-get-own-property-descriptor-x.js","webpack://deepEqualX/../src/is-integer-x.js","webpack://deepEqualX/../src/is-safe-integer-x.js","webpack://deepEqualX/../src/is-length-x.js","webpack://deepEqualX/../src/is-map-x.js","webpack://deepEqualX/../src/is-set-x.js","webpack://deepEqualX/../src/assert-is-object-x.js","webpack://deepEqualX/../src/object-define-property-x.js","webpack://deepEqualX/../src/is-regexp-x.js","webpack://deepEqualX/../src/to-length-x.js","webpack://deepEqualX/../src/same-value-x.js","webpack://deepEqualX/../src/same-value-zero-x.js","webpack://deepEqualX/../src/assert-is-function-x.js","webpack://deepEqualX/../src/has-boxed-string-x.js","webpack://deepEqualX/../src/split-if-boxed-bug-x.js","webpack://deepEqualX/../src/find-index-x.js","webpack://deepEqualX/../src/is-array-like-x.js","webpack://deepEqualX/../src/calculate-from-index-x.js","webpack://deepEqualX/../src/index-of-x.js","webpack://deepEqualX/../src/is-array-x.js","webpack://deepEqualX/../src/array-like-slice-x.js","webpack://deepEqualX/../src/array-slice-x.js","webpack://deepEqualX/../src/array-any-x.js","webpack://deepEqualX/../src/array-some-x.js","webpack://deepEqualX/../src/array-all-x.js","webpack://deepEqualX/../src/array-filter-x.js","webpack://deepEqualX/../src/object-keys-x.js","webpack://deepEqualX/../src/deep-equal-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;QC1BA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;AClFA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;AACA;AACA;;;;;;;;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,iBAAiB,mBAAO,CAAC,EAAa;;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;;AAEb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED,0DAA0D;;AAE1D;;;;;;;;AC9Ba;;AAEb;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mDAAmD,cAAc;AACjE;AACA;;;;;;;;ACnBa;;AAEb;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;ACVA;AACA;;AAEA;AACA,EAAE,KAA4D;AAC9D,EAAE,SAC2B;AAC7B,CAAC,qBAAqB;;AAEtB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB,WAAW;AAChC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,CAAC;;;;;;;;AC5GY;;AAEb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBa;;AAEb;AACA,aAAa,mBAAO,CAAC,CAAe;;AAEpC;AACA,4CAA4C,oBAAoB,EAAE,GAAG,mBAAO,CAAC,EAAkB;;AAE/F;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,wCAAwC;AACxC;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;;;;;;;;AC/BA,8CAAa;;AAEb;AACA,oBAAoB,mBAAO,CAAC,EAAS;;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;;AAExF,wGAAwG,cAAc;;AAEtH;AACA,4CAA4C,cAAc;;AAE1D,6DAA6D,cAAc;;AAE3E;AACA;AACA,sEAAsE,cAAc;AACpF;;AAEA;AACA;;;;;;;;ACzCa;;AAEb;AACA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,CAAe,EAAE;AACvC;AACA,0CAA0C,iBAAiB;AAC3D,uDAAuD;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,cAAc;AACpD;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA;;AAEA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,kBAAkB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AnB,EAA2B,QAA3B,EAAqC;AACrD;AACA,SAAO,8BAAa,CAAC,CAAC,MAAD,EAAS,QAAT,EAAmB,gBAAS,CAAC,SAAS,CAAC,CAAD,CAAV,CAA5B,CAAD,CAApB;AACD,CAHD;;AAKe,gHAAf","file":"deep-equal-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[\"deepEqualX\"] = factory();\n\telse\n\t\troot[\"deepEqualX\"] = 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 = 14);\n","/*!\n * is-primitive <https://github.com/jonschlinkert/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';\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 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","'use strict';\n\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\nvar toStr = Object.prototype.toString;\n\nvar isStandardArguments = function isArguments(value) {\n\tif (hasToStringTag && value && typeof value === 'object' && Symbol.toStringTag in value) {\n\t\treturn false;\n\t}\n\treturn toStr.call(value) === '[object Arguments]';\n};\n\nvar isLegacyArguments = function isArguments(value) {\n\tif (isStandardArguments(value)) {\n\t\treturn true;\n\t}\n\treturn value !== null &&\n\t\ttypeof value === 'object' &&\n\t\ttypeof value.length === 'number' &&\n\t\tvalue.length >= 0 &&\n\t\ttoStr.call(value) !== '[object Array]' &&\n\t\ttoStr.call(value.callee) === '[object Function]';\n};\n\nvar supportsStandardArguments = (function () {\n\treturn isStandardArguments(arguments);\n}());\n\nisStandardArguments.isLegacyArguments = isLegacyArguments; // for tests\n\nmodule.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;\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\nmodule.exports = function isObject(x) {\n\treturn typeof x === \"object\" && x !== null;\n};\n","/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n\nmodule.exports = function isBuffer (obj) {\n return obj != null && obj.constructor != null &&\n typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n","//! stable.js 0.1.8, https://github.com/Two-Screen/stable\n//! © 2018 Angry Bytes and contributors. MIT licensed.\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global.stable = factory());\n}(this, (function () { 'use strict';\n\n // A stable array sort, because `Array#sort()` is not guaranteed stable.\n // This is an implementation of merge sort, without recursion.\n\n var stable = function (arr, comp) {\n return exec(arr.slice(), comp)\n };\n\n stable.inplace = function (arr, comp) {\n var result = exec(arr, comp);\n\n // This simply copies back if the result isn't in the original array,\n // which happens on an odd number of passes.\n if (result !== arr) {\n pass(result, null, arr.length, arr);\n }\n\n return arr\n };\n\n // Execute the sort using the input array and a second buffer as work space.\n // Returns one of those two, containing the final result.\n function exec(arr, comp) {\n if (typeof(comp) !== 'function') {\n comp = function (a, b) {\n return String(a).localeCompare(b)\n };\n }\n\n // Short-circuit when there's nothing to sort.\n var len = arr.length;\n if (len <= 1) {\n return arr\n }\n\n // Rather than dividing input, simply iterate chunks of 1, 2, 4, 8, etc.\n // Chunks are the size of the left or right hand in merge sort.\n // Stop when the left-hand covers all of the array.\n var buffer = new Array(len);\n for (var chk = 1; chk < len; chk *= 2) {\n pass(arr, comp, chk, buffer);\n\n var tmp = arr;\n arr = buffer;\n buffer = tmp;\n }\n\n return arr\n }\n\n // Run a single pass with the given chunk size.\n var pass = function (arr, comp, chk, result) {\n var len = arr.length;\n var i = 0;\n // Step size / double chunk size.\n var dbl = chk * 2;\n // Bounds of the left and right chunks.\n var l, r, e;\n // Iterators over the left and right chunk.\n var li, ri;\n\n // Iterate over pairs of chunks.\n for (l = 0; l < len; l += dbl) {\n r = l + chk;\n e = r + chk;\n if (r > len) r = len;\n if (e > len) e = len;\n\n // Iterate both chunks in parallel.\n li = l;\n ri = r;\n while (true) {\n // Compare the chunks.\n if (li < r && ri < e) {\n // This works for a regular `sort()` compatible comparator,\n // but also for a simple comparator like: `a > b`\n if (comp(arr[li], arr[ri]) <= 0) {\n result[i++] = arr[li++];\n }\n else {\n result[i++] = arr[ri++];\n }\n }\n // Nothing to compare, just flush what's left.\n else if (li < r) {\n result[i++] = arr[li++];\n }\n else if (ri < e) {\n result[i++] = arr[ri++];\n }\n // Both iterators are at the chunk ends.\n else {\n break\n }\n }\n }\n };\n\n return stable;\n\n})));\n","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n","'use strict';\n\nvar slice = Array.prototype.slice;\nvar isArgs = require('./isArguments');\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation');\n\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\tvar args = Object.keys(arguments);\n\t\t\treturn args && args.length === arguments.length;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t}\n\t\t\t\treturn originalKeys(object);\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\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","'use strict';\n\nvar keysShim;\nif (!Object.keys) {\n\t// modified from https://github.com/es-shims/es5-shim\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar toStr = Object.prototype.toString;\n\tvar isArgs = require('./isArguments'); // eslint-disable-line global-require\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\tvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\n\tvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n\tvar dontEnums = [\n\t\t'toString',\n\t\t'toLocaleString',\n\t\t'valueOf',\n\t\t'hasOwnProperty',\n\t\t'isPrototypeOf',\n\t\t'propertyIsEnumerable',\n\t\t'constructor'\n\t];\n\tvar equalsConstructorPrototype = function (o) {\n\t\tvar ctor = o.constructor;\n\t\treturn ctor && ctor.prototype === o;\n\t};\n\tvar excludedKeys = {\n\t\t$applicationCache: true,\n\t\t$console: true,\n\t\t$external: true,\n\t\t$frame: true,\n\t\t$frameElement: true,\n\t\t$frames: true,\n\t\t$innerHeight: true,\n\t\t$innerWidth: true,\n\t\t$onmozfullscreenchange: true,\n\t\t$onmozfullscreenerror: true,\n\t\t$outerHeight: true,\n\t\t$outerWidth: true,\n\t\t$pageXOffset: true,\n\t\t$pageYOffset: true,\n\t\t$parent: true,\n\t\t$scrollLeft: true,\n\t\t$scrollTop: true,\n\t\t$scrollX: true,\n\t\t$scrollY: true,\n\t\t$self: true,\n\t\t$webkitIndexedDB: true,\n\t\t$webkitStorageInfo: true,\n\t\t$window: true\n\t};\n\tvar hasAutomationEqualityBug = (function () {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined') { return false; }\n\t\tfor (var k in window) {\n\t\t\ttry {\n\t\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}());\n\tvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t}\n\t\ttry {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object';\n\t\tvar isFunction = toStr.call(object) === '[object Function]';\n\t\tvar isArguments = isArgs(object);\n\t\tvar isString = isObject && toStr.call(object) === '[object String]';\n\t\tvar theKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError('Object.keys called on a non-object');\n\t\t}\n\n\t\tvar skipProto = hasProtoEnumBug && isFunction;\n\t\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\t\ttheKeys.push(String(i));\n\t\t\t}\n\t\t}\n\n\t\tif (isArguments && object.length > 0) {\n\t\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\t\ttheKeys.push(String(j));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (var name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(String(name));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn theKeys;\n\t};\n}\nmodule.exports = keysShim;\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","/**\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 * 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 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","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","/**\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 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.<CharRecord>\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 from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reLeft = new RegExpCtr(`^[${whiteSpace}]+`);\nconst {replace} = EMPTY_STRING;\n/**\n * This method removes whitespace from the start of a string. (ES2019).\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 trimStart = function trimStart(string) {\n return replace.call(requireCoercibleToString(string), reLeft, EMPTY_STRING);\n};\n\nexport default trimStart;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace from 'white-space-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reRight2018 = new RegExpCtr(`[${whiteSpace}]+$`);\nconst {replace} = EMPTY_STRING;\n\n/**\n * This method removes whitespace from the end of a string. (ES2019).\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 trimEnd = function trimEnd(string) {\n return replace.call(requireCoercibleToString(string), reRight2018, EMPTY_STRING);\n};\n\nexport default trimEnd;\n","import trimStart from 'trim-left-x';\nimport trimEnd from 'trim-right-x';\n\n/**\n * This method removes whitespace from the start and end of a string.\n * (ES2019).\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 trim = function trim(string) {\n return trimStart(trimEnd(string));\n};\n\nexport default trim;\n","import trim from 'trim-x';\nimport whiteSpace from 'white-space-x';\n\nconst SPACE = ' ';\nconst RegExpCtr = /none/.constructor;\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. (ES2019).\n *\n * @param {string} [string] - The string to be normalized.\n * @throws {TypeError} If string is null or undefined or not coercible.\n */\nconst normalizeSpace = function normalizeSpace(string) {\n return replace.call(trim(string), reNormalize2018, SPACE);\n};\n\nexport default normalizeSpace;\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 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(function attemptee() {\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\nconst compareTags = function compareTags(value) {\n const strTag = toStringTag(value);\n\n return strTag === funcTag || strTag === genTag || strTag === asyncTag;\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 && toBoolean(allowClass) === false && isES6ClassFn(value)) {\n return false;\n }\n\n return compareTags(value);\n};\n\nexport default isFunction;\n","import isFunction from 'is-function-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not a\n * primitive and not a function.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n */\nconst isObjectLike = function isObjectLike(value) {\n return isPrimitive(value) === false && isFunction(value, true) === false;\n};\n\nexport default isObjectLike;\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","import isFunction from 'is-function-x';\nimport toObject from 'to-object-x';\nimport toBoolean from 'to-boolean-x';\n\nconst ObjectCtr = {}.constructor;\nconst nativeGetPrototypeOf = ObjectCtr.getPrototypeOf;\n\nconst test1 = function test1() {\n const prototypeOfCtr = {};\n /* eslint-disable-next-line lodash/prefer-noop */\n const Ctr = function Ctr() {};\n\n Ctr.prototype = prototypeOfCtr;\n const ctr = new Ctr();\n\n try {\n return nativeGetPrototypeOf(ctr) === prototypeOfCtr;\n } catch (ignore) {\n return false;\n }\n};\n\nconst isWorking = toBoolean(nativeGetPrototypeOf) && test1();\n\nconst patchedGetPrototypeOf = function getPrototypeOf(obj) {\n return nativeGetPrototypeOf(toObject(obj));\n};\n\nexport const implementation = function getPrototypeOf(obj) {\n const object = toObject(obj);\n /* eslint-disable-next-line no-proto */\n const proto = object.__proto__;\n\n if (proto || proto === null) {\n return proto;\n }\n\n if (isFunction(object.constructor)) {\n return object.constructor.prototype;\n }\n\n if (object instanceof ObjectCtr) {\n return ObjectCtr.prototype;\n }\n\n return null;\n};\n\n/**\n * This method returns the prototype (i.e. The value of the internal [[Prototype]] property)\n * of the specified object.\n *\n * @function getPrototypeOf\n * @param {*} obj - The object whose prototype is to be returned.\n * @returns {object} The prototype of the given object. If there are no inherited properties, null is returned.\n */\nconst gpo = isWorking ? patchedGetPrototypeOf : implementation;\n\nexport default gpo;\n","import toStringTag from 'to-string-tag-x';\nimport isObjectLike from 'is-object-like-x';\nimport $getPrototypeOf from 'get-prototype-of-x';\n\nlet errorCheck = function checkIfError(value) {\n return toStringTag(value) === '[object Error]';\n};\n\nif (errorCheck(Error.prototype) === false) {\n const errorProto = Error.prototype;\n const testStringTag = errorCheck;\n errorCheck = function checkIfError(value) {\n return value === errorProto || testStringTag(value);\n };\n}\n\n/**\n * Determine whether or not a given `value` is an `Error` type.\n *\n * @param {*} value - The object to be tested.\n * @returns {boolean} Returns `true` if `value` is an `Error` type,\n * else `false`.\n */\nconst isError = function isError(value) {\n if (isObjectLike(value) === false) {\n return false;\n }\n\n let object = value;\n let maxLoop = 100;\n while (object && maxLoop > -1) {\n if (errorCheck(object)) {\n return true;\n }\n\n object = $getPrototypeOf(object);\n maxLoop -= 1;\n }\n\n return false;\n};\n\nexport default isError;\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';\nconst StringCtr = STRING.constructor;\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\nconst assertHint = function assertHint(hint) {\n if (typeof hint !== 'string' || (hint !== NUMBER && hint !== STRING)) {\n throw new TypeError('hint must be \"string\" or \"number\"');\n }\n\n return hint;\n};\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 assertHint(hint);\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\nconst evalExotic = function evalExotic(obj) {\n const {exoticToPrim, input, hint} = obj;\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\nconst evalPrimitive = function evalPrimitive(input, hint) {\n const newHint = hint === DEFAULT && (isDate(input) || isSymbol(input)) ? STRING : hint;\n\n return ordinaryToPrimitive(input, newHint === DEFAULT ? NUMBER : newHint);\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 {Function} [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 return typeof exoticToPrim === 'undefined' ? evalPrimitive(input, hint) : evalExotic({exoticToPrim, input, hint});\n};\n\nexport default toPrimitive;\n","import hasSymbols from 'has-symbol-support-x';\nimport toPrimitive from 'to-primitive-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method Converts argument to a value that can be used as a property key.\n *\n * @param {*} argument - The argument to convert to a property key.\n * @throws {TypeError} If argument is not a symbol and is not coercible to a string.\n * @returns {string|symbol} The converted argument.\n */\nconst toPropertyKey = function toPropertyKey(argument) {\n const key = toPrimitive(argument, String);\n\n return hasSymbols && typeof key === 'symbol' ? key : toStr(key);\n};\n\nexport default toPropertyKey;\n","import toObject from 'to-object-x';\nimport toPropertyKey from 'to-property-key-x';\n\nconst hop = {}.hasOwnProperty;\n\n/**\n * The `hasOwnProperty` method returns a boolean indicating whether\n * the `object` has the specified `property`. Does not attempt to fix known\n * issues in older browsers, but does ES6ify the method.\n *\n * @param {!object} object - The object to test.\n * @throws {TypeError} If object is null or undefined.\n * @param {string|number|symbol} property - The name or Symbol of the property to test.\n * @returns {boolean} `true` if the property is set on `object`, else `false`.\n */\nconst hasOwnProperty = function hasOwnProperty(object, property) {\n return hop.call(toObject(object), toPropertyKey(property));\n};\n\nexport default hasOwnProperty;\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","/**\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 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). (ES2019).\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 $parseInt = function $parseInt(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 $parseInt;\n","import isSymbol from 'is-symbol';\nimport toPrimitive from 'to-primitive-x';\nimport trim from 'trim-x';\nimport $parseInt 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\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 nonWSregex = new RegExpConstructor('[\\u0085\\u180e\\u200b\\ufffe]', 'g');\nconst hasNonWS = function hasNonWS(value) {\n return test.call(nonWSregex, value);\n};\n\nconst invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i;\nconst isInvalidHexLiteral = function isInvalidHexLiteral(value) {\n return test.call(invalidHexLiteral, value);\n};\n\nconst assertNotSymbol = function assertNotSymbol(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return value;\n};\n\nconst parseBase = function parseBase(value, radix) {\n return $parseInt(pStrSlice.call(value, testCharsCount), radix);\n};\n\nconst parseString = function parseString(toNum, value) {\n if (isBinary(value)) {\n return toNum(parseBase(value, binaryRadix));\n }\n\n if (isOctal(value)) {\n return toNum(parseBase(value, octalRadix));\n }\n\n return null;\n};\n\nconst convertString = function convertString(toNum, value) {\n const val = parseString(toNum, value);\n\n if (val !== null) {\n return val;\n }\n\n if (hasNonWS(value) || isInvalidHexLiteral(value)) {\n return NAN;\n }\n\n const trimmed = trim(value);\n\n if (trimmed !== value) {\n return toNum(trimmed);\n }\n\n return null;\n};\n\n/**\n * This method converts argument to a value of type Number. (ES2019).\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 toNumber = function toNumber(argument) {\n const value = assertNotSymbol(toPrimitive(argument, castNumber));\n\n if (typeof value === 'string') {\n const val = convertString(toNumber, value);\n\n if (val !== null) {\n return val;\n }\n }\n\n return castNumber(value);\n};\n\nexport default toNumber;\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 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 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. (ES2019).\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 sign = function sign(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 sign;\n","import toNumber from 'to-number-x';\nimport numberIsNaN from 'is-nan-x';\nimport numberIsFinite from 'is-finite-x';\nimport mathSign from 'math-sign-x';\n\nconst {abs, floor} = Math;\n\n/**\n * Converts `value` to an integer. (ES2019).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nconst toInteger = function toInteger(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 toInteger;\n","import toNumber from 'to-number-x';\n\nconst getMaxMin = function getMaxMin(args) {\n const minVal = toNumber(args[1]);\n const result = args.length < 3 ? {max: minVal, min: 0} : {max: toNumber(args[2]), min: minVal};\n\n if (result.min > result.max) {\n throw new RangeError('\"min\" must be less than \"max\"');\n }\n\n return result;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method clamp a number to min and max limits inclusive.\n *\n * @param {number} value - The number to be clamped.\n * @param {number} [min=0] - The minimum number.\n * @param {number} max - The maximum number.\n * @throws {RangeError} If min > max.\n * @returns {number} The clamped number.\n */\n// eslint-enable jsdoc/check-param-names\nconst clamp = function clamp(value) {\n const number = toNumber(value);\n\n if (arguments.length < 2) {\n return number;\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n const {max, min} = getMaxMin(arguments);\n\n if (number < min) {\n return min;\n }\n\n if (number > max) {\n return max;\n }\n\n return number;\n};\n\nexport default clamp;\n","import safeToString from 'to-string-symbols-supported-x';\nimport toInteger from 'to-integer-x';\nimport toNumber from 'to-number-x';\nimport mathClamp from 'math-clamp-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\nconst reIsUint = /^(?:0|[1-9]\\d*)$/;\nconst rxTest = reIsUint.test;\n\n/**\n * This method determines whether the passed value is a zero based index.\n * JavaScript arrays are zero-indexed: the first element of an array is at\n * index 0, and the last element is at the index equal to the value of the\n * array's length property minus 1.\n *\n * @param {number|string} value - The value to be tested for being a zero based index.\n * @param {number} [length=MAX_SAFE_INTEGER] - The length that sets the upper bound.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * zero based index within bounds.\n */\nconst isIndex = function isIndex(value, length) {\n const string = safeToString(value);\n\n if (rxTest.call(reIsUint, string) === false) {\n return false;\n }\n\n const number = toNumber(string);\n\n if (arguments.length > 1) {\n return number < mathClamp(toInteger(length), MAX_SAFE_INTEGER);\n }\n\n return number < MAX_SAFE_INTEGER;\n};\n\nexport default isIndex;\n","import toPropertyKey from 'to-property-key-x';\nimport toObject from 'to-object-x';\n\nconst propIsEnumerable = {}.propertyIsEnumerable;\n\n/**\n * This method returns a Boolean indicating whether the specified property is\n * enumerable. Does not attempt to fix bugs in IE<9 or old Opera, otherwise it\n * does ES6ify the method.\n *\n * @param {!object} object - The object on which to test the property.\n * @param {string|symbol} property - The name of the property to test.\n * @throws {TypeError} If target is null or undefined.\n * @returns {boolean} A Boolean indicating whether the specified property is\n * enumerable.\n */\nconst propertyIsEnumerable = function propertyIsEnumerable(object, property) {\n return propIsEnumerable.call(toObject(object), toPropertyKey(property));\n};\n\nexport default propertyIsEnumerable;\n","import toObject from 'to-object-x';\nimport toPropertyKey from 'to-property-key-x';\nimport attempt from 'attempt-x';\nimport hasSymbolSupport from 'has-symbol-support-x';\nimport owns from 'has-own-property-x';\nimport isPrimitive from 'is-primitive';\nimport isString from 'is-string';\nimport isIndex from 'is-index-x';\nimport propertyIsEnumerable from 'property-is-enumerable-x';\nimport toBoolean from 'to-boolean-x';\n\nconst EMPTY_STRING = '';\nconst {charAt} = EMPTY_STRING;\nconst ObjectCtr = {}.constructor;\nconst ngopd = ObjectCtr.getOwnPropertyDescriptor;\nconst nativeGOPD = typeof ngopd === 'function' && ngopd;\nlet getOPDFallback1;\nlet getOPDFallback2;\n\n// ES5 15.2.3.3\n// http://es5.github.com/#x15.2.3.3\n\nconst doesGOPDWork = function doesGOPDWork(object, prop) {\n object[toPropertyKey(prop)] = 0;\n const testResult = attempt(nativeGOPD, object, prop);\n\n return testResult.threw === false && testResult.value.value === 0;\n};\n\n// check whether getOwnPropertyDescriptor works if it's given. Otherwise, shim partially.\n/**\n * This method returns a property descriptor for an own property (that is,\n * one directly present on an object and not in the object's prototype chain)\n * of a given object.\n *\n * @param {*} object - The object in which to look for the property.\n * @param {*} property - The name of the property whose description is to be retrieved.\n * @returns {object} A property descriptor of the given property if it exists on the object, undefined otherwise.\n */\nlet $getOwnPropertyDescriptor;\n\nif (nativeGOPD) {\n const doc = typeof document !== 'undefined' && document;\n const getOPDWorksOnDom = doc ? doesGOPDWork(doc.createElement('div'), 'sentinel') : true;\n\n if (getOPDWorksOnDom) {\n const res = attempt(nativeGOPD, toObject('abc'), 1);\n const worksWithStr = res.threw === false && res.value && res.value.value === 'b';\n\n if (worksWithStr) {\n const getOPDWorksOnObject = doesGOPDWork({}, 'sentinel');\n\n if (getOPDWorksOnObject) {\n const worksWithPrim = attempt(nativeGOPD, 42, 'name').threw === false;\n /* eslint-disable-next-line compat/compat */\n const worksWithObjSym = hasSymbolSupport && doesGOPDWork({}, toObject(Symbol(EMPTY_STRING)));\n\n if (worksWithObjSym) {\n if (worksWithPrim) {\n $getOwnPropertyDescriptor = nativeGOPD;\n } else {\n $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {\n return nativeGOPD(toObject(object), property);\n };\n }\n } else if (worksWithPrim) {\n $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {\n return nativeGOPD(object, toPropertyKey(property));\n };\n } else {\n $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {\n return nativeGOPD(toObject(object), toPropertyKey(property));\n };\n }\n } else {\n getOPDFallback1 = nativeGOPD;\n }\n } else {\n getOPDFallback2 = nativeGOPD;\n }\n }\n}\n\nif (toBoolean($getOwnPropertyDescriptor) === false || getOPDFallback1 || getOPDFallback2) {\n const prototypeOfObject = ObjectCtr.prototype;\n\n // If JS engine supports accessors creating shortcuts.\n let lookupGetter;\n let lookupSetter;\n const supportsAccessors = owns(prototypeOfObject, '__defineGetter__');\n\n if (supportsAccessors) {\n /* eslint-disable-next-line no-underscore-dangle */\n const lg = prototypeOfObject.__lookupGetter__;\n /* eslint-disable-next-line no-underscore-dangle */\n const ls = prototypeOfObject.__lookupSetter__;\n lookupGetter = function $lookupGetter(object, property) {\n return lg.call(object, property);\n };\n\n lookupSetter = function $lookupSetter(object, property) {\n return ls.call(object, property);\n };\n }\n\n $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(object, property) {\n const obj = toObject(object);\n const propKey = toPropertyKey(property);\n\n let result;\n\n // make a valiant attempt to use the real getOwnPropertyDescriptor for I8's DOM elements.\n if (getOPDFallback1) {\n result = attempt.call(toObject, getOPDFallback1, obj, propKey);\n\n if (result.threw === false) {\n return result.value;\n }\n // try the shim if the real one doesn't work\n }\n\n const isStringIndex = isString(obj) && isIndex(propKey, obj.length);\n\n if (getOPDFallback2 && isStringIndex === false) {\n result = attempt.call(toObject, getOPDFallback2, obj, propKey);\n\n if (result.threw === false) {\n return result.value;\n }\n // try the shim if the real one doesn't work\n }\n\n /* eslint-disable-next-line no-void */\n let descriptor = void 0;\n\n // If object does not owns property return undefined immediately.\n if (isStringIndex === false && owns(obj, propKey) === false) {\n return descriptor;\n }\n\n // If object has a property then it's for sure `configurable`, and\n // probably `enumerable`. Detect enumerability though.\n descriptor = {\n configurable: isPrimitive(object) === false && isStringIndex === false,\n enumerable: propertyIsEnumerable(obj, propKey),\n };\n\n // If JS engine supports accessor properties then property may be a\n // getter or setter.\n if (supportsAccessors) {\n // Unfortunately `__lookupGetter__` will return a getter even\n // if object has own non getter property along with a same named\n // inherited getter. To avoid misbehavior we temporary remove\n // `__proto__` so that `__lookupGetter__` will return getter only\n // if it's owned by an object.\n /* eslint-disable-next-line no-proto */\n const prototype = obj.__proto__;\n const notPrototypeOfObject = obj !== prototypeOfObject;\n\n // avoid recursion problem, breaking in Opera Mini when\n // Object.getOwnPropertyDescriptor(Object.prototype, 'toString')\n // or any other Object.prototype accessor\n if (notPrototypeOfObject) {\n /* eslint-disable-next-line no-proto */\n obj.__proto__ = prototypeOfObject;\n }\n\n const getter = lookupGetter(obj, propKey);\n const setter = lookupSetter(obj, propKey);\n\n if (notPrototypeOfObject) {\n // Once we have getter and setter we can put values back.\n /* eslint-disable-next-line no-proto */\n obj.__proto__ = prototype;\n }\n\n if (getter || setter) {\n if (getter) {\n descriptor.get = getter;\n }\n\n if (setter) {\n descriptor.set = setter;\n }\n\n // If it was accessor property we're done and return here\n // in order to avoid adding `value` to the descriptor.\n return descriptor;\n }\n }\n\n // If we got this far we know that object has an own property that is\n // not an accessor so we set it as a value and return descriptor.\n if (isStringIndex) {\n descriptor.value = charAt.call(obj, propKey);\n descriptor.writable = false;\n } else {\n descriptor.value = obj[propKey];\n descriptor.writable = true;\n }\n\n return descriptor;\n };\n}\n\nconst gOPS = $getOwnPropertyDescriptor;\n\nexport default gOPS;\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 gOPD from 'object-get-own-property-descriptor-x';\nimport attempt from 'attempt-x';\nimport isObjectLike from 'is-object-like-x';\nimport isLength from 'is-length-x';\n\nconst test1 = function test1() {\n return attempt(function createMap() {\n /* eslint-disable-next-line compat/compat */\n return new Map();\n });\n};\n\nconst getFromDescriptor = function getFromDescriptor(descriptor) {\n const resTest1 = test1();\n\n if (resTest1.threw === false && isObjectLike(resTest1.value)) {\n const res = attempt.call(resTest1.value, descriptor.get);\n\n if (res.threw === false && isLength(res.value)) {\n return descriptor.get;\n }\n }\n\n return null;\n};\n\nconst getGetter = function getGetter() {\n if (typeof Map === 'function') {\n /* eslint-disable-next-line compat/compat */\n const descriptor = gOPD(Map.prototype, 'size');\n\n if (descriptor && typeof descriptor.get === 'function') {\n const getter = getFromDescriptor(descriptor);\n\n if (getter !== null) {\n return getter;\n }\n }\n }\n\n return null;\n};\n\nconst getSize = getGetter();\n\n/**\n * Determine if an `object` is a `Map`.\n *\n * @param {*} object - The object to test.\n * @returns {boolean} `true` if the `object` is a `Map`,\n * else `false`.\n */\nconst isMap = function isMap(object) {\n if (getSize === null || isObjectLike(object) === false) {\n return false;\n }\n\n const result = attempt.call(object, getSize);\n\n return result.threw === false && isLength(result.value);\n};\n\nexport default isMap;\n","import gOPD from 'object-get-own-property-descriptor-x';\nimport attempt from 'attempt-x';\nimport isObjectLike from 'is-object-like-x';\nimport isLength from 'is-length-x';\n\nconst test1 = function test1() {\n return attempt(function createSet() {\n /* eslint-disable-next-line compat/compat */\n return new Set();\n });\n};\n\nconst getFromDescriptor = function getFromDescriptor(descriptor) {\n const resTest1 = test1();\n\n if (resTest1.threw === false && isObjectLike(resTest1.value)) {\n const res = attempt.call(resTest1.value, descriptor.get);\n\n if (res.threw === false && isLength(res.value)) {\n return descriptor.get;\n }\n }\n\n return null;\n};\n\nconst getGetter = function getGetter() {\n if (typeof Set === 'function') {\n /* eslint-disable-next-line compat/compat */\n const descriptor = gOPD(Set.prototype, 'size');\n\n if (descriptor && typeof descriptor.get === 'function') {\n const getter = getFromDescriptor(descriptor);\n\n if (getter !== null) {\n return getter;\n }\n }\n }\n\n return null;\n};\n\nconst getSize = getGetter();\n\n/**\n * Determine if an `object` is a `Set`.\n *\n * @param {*} object - The object to test.\n * @returns {boolean} `true` if the `object` is a `Set`,\n * else `false`.\n */\nconst isSet = function isSet(object) {\n if (getSize === null || isObjectLike(object) === false) {\n return false;\n }\n\n const result = attempt.call(object, getSize);\n\n return result.threw === false && isLength(result.value);\n};\n\nexport default isSet;\n","import safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Tests `value` to see if it is an object, throws a `TypeError` if it is\n * not. Otherwise returns the `value`.\n *\n * @param {*} value - The argument to be tested.\n * @throws {TypeError} Throws if `value` is not an object.\n * @returns {*} Returns `value` if it is an object.\n */\nconst assertIsObject = function assertIsObject(value) {\n if (isPrimitive(value)) {\n throw new TypeError(`${safeToString(value)} is not an object`);\n }\n\n return value;\n};\n\nexport default assertIsObject;\n","import attempt from 'attempt-x';\nimport toObject from 'to-object-x';\nimport toPropertyKey from 'to-property-key-x';\nimport has from 'has-own-property-x';\nimport isFunction from 'is-function-x';\nimport assertIsObject from 'assert-is-object-x';\nimport toBoolean from 'to-boolean-x';\n\nconst ObjectCtr = {}.constructor;\nconst nd = ObjectCtr.defineProperty;\nconst nativeDefProp = typeof nd === 'function' && nd;\nlet definePropertyFallback;\n\nconst toPropertyDescriptor = function toPropertyDescriptor(desc) {\n const object = toObject(desc);\n const descriptor = {};\n\n if (has(object, 'enumerable')) {\n descriptor.enumerable = toBoolean(object.enumerable);\n }\n\n if (has(object, 'configurable')) {\n descriptor.configurable = toBoolean(object.configurable);\n }\n\n if (has(object, 'value')) {\n descriptor.value = object.value;\n }\n\n if (has(object, 'writable')) {\n descriptor.writable = toBoolean(object.writable);\n }\n\n if (has(object, 'get')) {\n const getter = object.get;\n\n if (typeof getter !== 'undefined' && isFunction(getter) === false) {\n throw new TypeError('getter must be a function');\n }\n\n descriptor.get = getter;\n }\n\n if (has(object, 'set')) {\n const setter = object.set;\n\n if (typeof setter !== 'undefined' && isFunction(setter) === false) {\n throw new TypeError('setter must be a function');\n }\n\n descriptor.set = setter;\n }\n\n if ((has(descriptor, 'get') || has(descriptor, 'set')) && (has(descriptor, 'value') || has(descriptor, 'writable'))) {\n throw new TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');\n }\n\n return descriptor;\n};\n\n// ES5 15.2.3.6\n// http://es5.github.com/#x15.2.3.6\n\n// Patch for WebKit and IE8 standard mode\n// Designed by hax <hax.github.com>\n// related issue: https://github.com/es-shims/es5-shim/issues#issue/5\n// IE8 Reference:\n// http://msdn.microsoft.com/en-us/library/dd282900.aspx\n// http://msdn.microsoft.com/en-us/library/dd229916.aspx\n// WebKit Bugs:\n// https://bugs.webkit.org/show_bug.cgi?id=36423\n\n/**\n * This method defines a new property directly on an object, or modifies an\n * existing property on an object, and returns the object.\n *\n * @param {object} object - The object on which to define the property.\n * @param {string} property - The name of the property to be defined or modified.\n * @param {object} descriptor - The descriptor for the property being defined or modified.\n * @returns {object} The object that was passed to the function.\n * });.\n */\nlet $defineProperty;\n\n// check whether defineProperty works if it's given. Otherwise, shim partially.\nif (nativeDefProp) {\n const testWorksWith = function testWorksWith(object) {\n const testResult = attempt(nativeDefProp, object, 'sentinel', {});\n\n return testResult.threw === false && testResult.value === object && 'sentinel' in object;\n };\n\n const doc = typeof document !== 'undefined' && document;\n\n if (testWorksWith({}) && (toBoolean(doc) === false || testWorksWith(doc.createElement('div')))) {\n $defineProperty = function defineProperty(object, property, descriptor) {\n return nativeDefProp(assertIsObject(object), toPropertyKey(property), toPropertyDescriptor(descriptor));\n };\n } else {\n definePropertyFallback = nativeDefProp;\n }\n}\n\nif (toBoolean(nativeDefProp) === false || definePropertyFallback) {\n const prototypeOfObject = ObjectCtr.prototype;\n // If JS engine supports accessors creating shortcuts.\n const supportsAccessors = has(prototypeOfObject, '__defineGetter__');\n /* eslint-disable-next-line no-underscore-dangle */\n const defineGetter = supportsAccessors && prototypeOfObject.__defineGetter_;\n /* eslint-disable-next-line no-underscore-dangle,no-restricted-properties */\n const defineSetter = supportsAccessors && prototypeOfObject.__defineSetter__;\n /* eslint-disable-next-line no-underscore-dangle */\n const lookupGetter = supportsAccessors && prototypeOfObject.__lookupGetter__;\n /* eslint-disable-next-line no-underscore-dangle */\n const lookupSetter = supportsAccessors && prototypeOfObject.__lookupSetter__;\n\n $defineProperty = function defineProperty(object, property, descriptor) {\n assertIsObject(object);\n const propKey = toPropertyKey(property);\n const propDesc = toPropertyDescriptor(descriptor);\n\n // make a valiant attempt to use the real defineProperty for IE8's DOM elements.\n if (definePropertyFallback) {\n const result = attempt.call(ObjectCtr, definePropertyFallback, object, propKey, propDesc);\n\n if (result.threw === false) {\n return result.value;\n }\n // try the shim if the real one doesn't work\n }\n\n // If it's a data property.\n if (has(propDesc, 'value')) {\n // fail silently if 'writable', 'enumerable', or 'configurable' are requested but not supported\n if (supportsAccessors && (lookupGetter.call(object, propKey) || lookupSetter.call(object, propKey))) {\n // As accessors are supported only on engines implementing\n // `__proto__` we can safely override `__proto__` while defining\n // a property to make sure that we don't hit an inherited accessor.\n /* eslint-disable-next-line no-proto */\n const prototype = object.__proto__;\n /* eslint-disable-next-line no-proto */\n object.__proto__ = prototypeOfObject;\n // Deleting a property anyway since getter / setter may be defined on object itself.\n delete object[propKey];\n object[propKey] = propDesc.value;\n // Setting original `__proto__` back now.\n /* eslint-disable-next-line no-proto */\n object.__proto__ = prototype;\n } else {\n object[propKey] = propDesc.value;\n }\n } else {\n if (supportsAccessors === false && (propDesc.get || propDesc.set)) {\n throw new TypeError('getters & setters can not be defined on this javascript engine');\n }\n\n // If we got that far then getters and setters can be defined !!\n if (propDesc.get) {\n defineGetter.call(object, propKey, propDesc.get);\n }\n\n if (propDesc.set) {\n defineSetter.call(object, propKey, propDesc.set);\n }\n }\n\n return object;\n };\n}\n\nconst defProp = $defineProperty;\n\nexport default defProp;\n","import isObjectLike from 'is-object-like-x';\nimport hasToStringTag from 'has-to-string-tag-x';\nimport has from 'has-own-property-x';\nimport gOPD from 'object-get-own-property-descriptor-x';\nimport defineProperty from 'object-define-property-x';\nimport toStringTag from 'to-string-tag-x';\n\nconst regexExec = /none/.exec;\nconst regexClass = '[object RegExp]';\n\nconst tryRegexExecCall = function tryRegexExec(value, descriptor) {\n try {\n value.lastIndex = 0;\n regexExec.call(value);\n\n return true;\n } catch (e) {\n return false;\n } finally {\n defineProperty(value, 'lastIndex', descriptor);\n }\n};\n\n/**\n * This method tests if a value is a regex.\n *\n * @param {*} value - The value to test.\n * @returns {boolean} `true` if value is a regex; otherwise `false`.\n */\nconst isRegex = function isRegex(value) {\n if (isObjectLike(value) === false) {\n return false;\n }\n\n if (hasToStringTag === false) {\n return toStringTag(value) === regexClass;\n }\n\n const descriptor = gOPD(value, 'lastIndex');\n const hasLastIndexDataProperty = descriptor && has(descriptor, 'value');\n\n if (hasLastIndexDataProperty !== true) {\n return false;\n }\n\n return tryRegexExecCall(value, descriptor);\n};\n\nexport default isRegex;\n","import toInteger from 'to-integer-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object. (ES2019).\n *\n * @param {*} value - The value to convert.\n * @returns {number} Returns the converted integer.\n */\nconst toLength = function toLength(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 toLength;\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 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) : '#<Object>';\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 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 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';\nimport toBoolean from 'to-boolean-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 && toBoolean(extendFn) === false)) {\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","import attempt from 'attempt-x';\nimport toStringTag from 'to-string-tag-x';\n\nconst nia = [].isArray;\nconst nativeIsArray = typeof nia === 'function' && nia;\n\nconst testResult = attempt(function attemptee() {\n return nativeIsArray([]) === true && nativeIsArray({length: 0}) === false;\n});\n\nconst isWorking = testResult.threw === false && testResult.value === true;\n\nexport const implementation = function isArray(value) {\n return toStringTag(value) === '[object Array]';\n};\n\n/**\n * Determines whether the passed value is an Array.\n *\n * @param {*} value - The value to test.\n * @returns {boolean} - True if an array; otherwise false.\n */\nconst isArray = isWorking ? nativeIsArray : implementation;\n\nexport default isArray;\n","import toObject from 'to-object-x';\nimport toInteger from 'to-integer-x';\nimport toLength from 'to-length-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst getMax = function _getMax(a, b) {\n return a >= b ? a : b;\n};\n\nconst getMin = function _getMin(a, b) {\n return a <= b ? a : b;\n};\n\nconst setRelative = function _setRelative(value, length) {\n return value < 0 ? getMax(length + value, 0) : getMin(value, length);\n};\n\n/**\n * The slice() method returns a shallow copy of a portion of an array into a new\n * array object selected from begin to end (end not included). The original\n * array will not be modified.\n *\n * @param {!object} arrayLike - The array like object to slice.\n * @param {number} [start] - Zero-based index at which to begin extraction.\n * A negative index can be used, indicating an offset from the end of the\n * sequence. Running slice(-2) extracts the last two elements in the sequence.\n * If begin is undefined, slice begins from index 0.\n * @param {number} [end] - Zero-based index before which to end extraction.\n * Slice extracts up to but not including end. For example, slice([0,1,2,3,4],1,4)\n * extracts the second element through the fourth element (elements indexed\n * 1, 2, and 3).\n * A negative index can be used, indicating an offset from the end of the\n * sequence. Running slice(2,-1) extracts the third element through the second-to-last\n * element in the sequence.\n * If end is omitted, slice extracts through the end of the sequence (arr.length).\n * If end is greater than the length of the sequence, slice extracts through\n * the end of the sequence (arr.length).\n * @returns {Array} A new array containing the extracted elements.\n */\nconst slice = function slice(arrayLike, start, end) {\n const iterable = splitIfBoxedBug(toObject(arrayLike));\n const length = toLength(iterable.length);\n let k = setRelative(toInteger(start), length);\n const relativeEnd = typeof end === 'undefined' ? length : toInteger(end);\n const finalEnd = setRelative(relativeEnd, length);\n const val = [];\n val.length = getMax(finalEnd - k, 0);\n let next = 0;\n while (k < finalEnd) {\n if (k in iterable) {\n val[next] = iterable[k];\n }\n\n next += 1;\n k += 1;\n }\n\n return val;\n};\n\nexport default slice;\n","import toObject from 'to-object-x';\nimport isArguments from 'is-arguments';\nimport isArray from 'is-array-x';\nimport arrayLikeSlice from 'array-like-slice-x';\nimport attempt from 'attempt-x';\nimport isString from 'is-string';\n\nconst nativeSlice = [].slice;\n\nconst testArray = function testArray() {\n const res = attempt.call([1, 2, 3], nativeSlice, 1, 2);\n\n return res.threw || isArray(res.value) === false || res.value.length !== 1 || res.value[0] !== 2;\n};\n\nconst testString = function testString() {\n const res = attempt.call('abc', nativeSlice, 1, 2);\n\n return res.threw || isArray(res.value) === false || res.value.length !== 1 || res.value[0] !== 'b';\n};\n\nconst testDOM = function testDOM() {\n const doc = typeof document !== 'undefined' && document;\n const resultDocElement = doc ? attempt.call(doc.documentElement, nativeSlice).threw : false;\n\n return resultDocElement ? resultDocElement.threw : false;\n};\n\nconst failArray = testArray();\nconst failString = testString();\nconst failDOM = testDOM();\n\n/**\n * The slice() method returns a shallow copy of a portion of an array into a new\n * array object selected from begin to end (end not included). The original\n * array will not be modified.\n *\n * @param {Array|object} array - The array to slice.\n * @param {number} [start] - Zero-based index at which to begin extraction.\n * A negative index can be used, indicating an offset from the end of the\n * sequence. Running slice(-2) extracts the last two elements in the sequence.\n * If begin is undefined, slice begins from index 0.\n * @param {number} [end] - Zero-based index before which to end extraction.\n * Slice extracts up to but not including end. For example, slice(1,4)\n * extracts the second element through the fourth element (elements indexed\n * 1, 2, and 3).\n * A negative index can be used, indicating an offset from the end of the\n * sequence. Running slice(2,-1) extracts the third element through the second-to-last\n * element in the sequence.\n * If end is omitted, slice extracts through the end of the\n * sequence (arr.length).\n * If end is greater than the length of the sequence, slice extracts through\n * the end of the sequence (arr.length).\n * @returns {Array} A new array containing the extracted elements.\n */\nconst slice = function slice(array, start, end) {\n const object = toObject(array);\n\n if (failArray || (failDOM && isArray(object) === false) || (failString && isString(object)) || isArguments(object)) {\n return arrayLikeSlice(object, start, end);\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n return nativeSlice.apply(object, arrayLikeSlice(arguments, 1));\n};\n\nexport default slice;\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport assertIsFunction from 'assert-is-function-x';\n\nconst performCallback = function performCallback(args) {\n const [noThis, thisArg, callBack, iterable, index, object] = args;\n const item = iterable[index];\n\n return noThis ? callBack(item, index, object) : callBack.call(thisArg, item, index, object);\n};\n\nconst getIterableLengthPair = function getIterableLengthPair(object) {\n const iterable = splitIfBoxedBug(object);\n\n return [iterable, toLength(iterable.length)];\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method tests whether some element in the array passes the test\n * implemented by the provided function.\n *\n * @function any\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function to test for each element.\n * @param {*} [thisArg] - Value to use as this when executing callback.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n * @returns {boolean} `true` if the callback function returns a truthy value for\n * any array element; otherwise, `false`.\n */\n// eslint-enable jsdoc/check-param-names\nconst any = function any(array, callBack /* , thisArg */) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n assertIsFunction(callBack);\n const [iterable, length] = getIterableLengthPair(object);\n /* eslint-disable-next-line prefer-rest-params,no-void */\n const thisArg = arguments.length > 2 ? arguments[2] : void 0;\n const noThis = typeof thisArg === 'undefined';\n\n if (length) {\n for (let index = 0; index < length; index += 1) {\n if (performCallback([noThis, thisArg, callBack, iterable, index, object])) {\n return true;\n }\n }\n }\n\n return false;\n};\n\nexport default any;\n","import attempt from 'attempt-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport any from 'array-any-x';\nimport toBoolean from 'to-boolean-x';\n\nconst ns = [].some;\nconst nativeSome = typeof ns === 'function' && ns;\n\nconst test1 = function test1() {\n let spy = 0;\n const res = attempt.call([1, 2], nativeSome, function spyAdd1(item) {\n spy += item;\n\n return false;\n });\n\n return res.threw === false && res.value === false && spy === 3;\n};\n\nconst test2 = function test2() {\n let spy = '';\n const res = attempt.call(toObject('abc'), nativeSome, function spyAdd2(item, index) {\n spy += item;\n\n return index === 1;\n });\n\n return res.threw === false && res.value === true && spy === 'ab';\n};\n\nconst test3 = function test3() {\n let spy = 0;\n const res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3),\n nativeSome,\n function spyAdd3(item, index) {\n spy += item;\n\n return index === 2;\n },\n );\n\n return res.threw === false && res.value === true && spy === 6;\n};\n\nconst test4 = function test4() {\n let spy = 0;\n const res = attempt.call({0: 1, 1: 2, 3: 3, 4: 4, length: 4}, nativeSome, function spyAdd4(item) {\n spy += item;\n\n return false;\n });\n\n return res.threw === false && res.value === false && spy === 6;\n};\n\nconst test5 = function test5() {\n const doc = typeof document !== 'undefined' && document;\n\n if (doc) {\n let spy = null;\n const fragment = doc.createDocumentFragment();\n const div = doc.createElement('div');\n fragment.appendChild(div);\n const res = attempt.call(fragment.childNodes, nativeSome, function spyAssign(item) {\n spy = item;\n\n return item;\n });\n\n return res.threw === false && res.value === true && spy === div;\n }\n\n return true;\n};\n\nconst test6 = function test6() {\n const isStrict = (function getIsStrict() {\n /* eslint-disable-next-line babel/no-invalid-this */\n return toBoolean(this) === false;\n })();\n\n if (isStrict) {\n let spy = null;\n\n const thisTest = function thisTest() {\n /* eslint-disable-next-line babel/no-invalid-this */\n spy = typeof this === 'string';\n };\n\n const res = attempt.call([1], nativeSome, thisTest, 'x');\n\n return res.threw === false && res.value === false && spy === true;\n }\n\n return true;\n};\n\nconst test7 = function test7() {\n const spy = {};\n const fn =\n 'return nativeSome.call(\"foo\", function (_, __, context) {' +\n 'if (castBoolean(context) === false || typeof context !== \"object\") {' +\n 'spy.value = true;}});';\n\n /* eslint-disable-next-line no-new-func */\n const res = attempt(Function('nativeSome', 'spy', 'castBoolean', fn), nativeSome, spy, toBoolean);\n\n return res.threw === false && res.value === false && spy.value !== true;\n};\n\nconst isWorking = toBoolean(nativeSome) && test1() && test2() && test3() && test4() && test5() && test6() && test7();\n\nconst patchedSome = function some(array, callBack /* , thisArg */) {\n requireObjectCoercible(array);\n const args = [assertIsFunction(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 nativeSome.apply(array, args);\n};\n\n// ES5 15.4.4.17\n// http://es5.github.com/#x15.4.4.17\n// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/some\nexport const implementation = function some(array, callBack /* , thisArg */) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n assertIsFunction(callBack);\n\n const iteratee = function iteratee() {\n /* eslint-disable-next-line prefer-rest-params */\n const i = arguments[1];\n\n /* eslint-disable-next-line prefer-rest-params */\n if (i in arguments[2]) {\n /* eslint-disable-next-line prefer-rest-params,babel/no-invalid-this */\n if (callBack.call(this, arguments[0], i, object)) {\n return true;\n }\n }\n\n return false;\n };\n\n /* eslint-disable-next-line prefer-rest-params */\n return any(object, iteratee, arguments[2]);\n};\n\n/**\n * This method tests whether some element in the array passes the test\n * implemented by the provided function.\n *\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function to test for each element.\n * @param {*} [thisArg] - Value to use as this when executing callback.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n * @returns {boolean} `true` if the callback function returns a truthy value for\n * any array element; otherwise, `false`.\n */\nconst $some = isWorking ? patchedSome : implementation;\n\nexport default $some;\n","import any from 'array-any-x';\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method executes a provided function once for each array element.\n *\n * @function all\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function to execute for each element.\n * @param {*} [thisArg] - Value to use as this when executing callback.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n */\n// eslint-enable jsdoc/check-param-names\nconst all = function all(array, callBack /* , thisArg */) {\n const iteratee = function iteratee() {\n /* eslint-disable-next-line prefer-rest-params,babel/no-invalid-this */\n callBack.call(this, arguments[0], arguments[1], arguments[2]);\n };\n\n /* eslint-disable-next-line prefer-rest-params */\n any(array, iteratee, arguments[2]);\n};\n\nexport default all;\n","import attempt from 'attempt-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport all from 'array-all-x';\nimport toBoolean from 'to-boolean-x';\n\nconst nf = [].filter;\nconst nativeFilter = typeof nf === 'function' && nf;\n\nconst test1 = function test1() {\n let spy = 0;\n const res = attempt.call([1, 2], nativeFilter, function spyAdd1(item) {\n spy += item;\n\n return false;\n });\n\n return res.threw === false && res.value && res.value.length === 0 && spy === 3;\n};\n\nconst test2 = function test2() {\n let spy = '';\n const res = attempt.call(toObject('abc'), nativeFilter, function spyAdd2(item, index) {\n spy += item;\n\n return index === 1;\n });\n\n return res.threw === false && res.value && res.value.length === 1 && res.value[0] === 'b' && spy === 'abc';\n};\n\nconst test3 = function test3() {\n let spy = 0;\n const res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3),\n nativeFilter,\n function spyAdd3(item, index) {\n spy += item;\n\n return index === 2;\n },\n );\n\n return res.threw === false && res.value && res.value.length === 1 && res.value[0] === 3 && spy === 6;\n};\n\nconst test4 = function test4() {\n let spy = 0;\n const res = attempt.call({0: 1, 1: 2, 3: 3, 4: 4, length: 4}, nativeFilter, function spyAdd4(item) {\n spy += item;\n\n return false;\n });\n\n return res.threw === false && res.value && res.value.length === 0 && spy === 6;\n};\n\nconst getTest5Result = function getTest5Result(args) {\n const [res, div, spy] = args;\n\n return res.threw === false && res.value && res.value.length === 1 && res.value[0] === div && spy === div;\n};\n\nconst test5 = function test5() {\n const doc = typeof document !== 'undefined' && document;\n\n if (doc) {\n let spy = null;\n const fragment = doc.createDocumentFragment();\n const div = doc.createElement('div');\n fragment.appendChild(div);\n const res = attempt.call(fragment.childNodes, nativeFilter, function spyAssign(item) {\n spy = item;\n\n return item;\n });\n\n return getTest5Result([res, div, spy]);\n }\n\n return true;\n};\n\nconst test6 = function test6() {\n const isStrict = (function returnIsStrict() {\n /* eslint-disable-next-line babel/no-invalid-this */\n return toBoolean(this) === false;\n })();\n\n if (isStrict) {\n let spy = null;\n\n const testThis = function testThis() {\n /* eslint-disable-next-line babel/no-invalid-this */\n spy = typeof this === 'string';\n };\n\n const res = attempt.call([1], nativeFilter, testThis, 'x');\n\n return res.threw === false && res.value && res.value.length === 0 && spy === true;\n }\n\n return true;\n};\n\nconst test7 = function test7() {\n const spy = {};\n const fn =\n 'return nativeFilter.call(\"foo\", function (_, __, context) {' +\n 'if (castBoolean(context) === false || typeof context !== \"object\") {' +\n 'spy.value = true;}});';\n\n /* eslint-disable-next-line no-new-func */\n const res = attempt(Function('nativeFilter', 'spy', 'castBoolean', fn), nativeFilter, spy, toBoolean);\n\n return res.threw === false && res.value && res.value.length === 0 && spy.value !== true;\n};\n\nconst isWorking = toBoolean(nativeFilter) && test1() && test2() && test3() && test4() && test5() && test6() && test7();\n\nconst patchedFilter = function filter(array, callBack /* , thisArg */) {\n requireObjectCoercible(array);\n const args = [assertIsFunction(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 nativeFilter.apply(array, args);\n};\n\nexport const implementation = function filter(array, callBack /* , thisArg */) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n assertIsFunction(callBack);\n\n const result = [];\n\n const predicate = function predicate() {\n /* eslint-disable-next-line prefer-rest-params */\n const i = arguments[1];\n\n /* eslint-disable-next-line prefer-rest-params */\n if (i in arguments[2]) {\n /* eslint-disable-next-line prefer-rest-params */\n const item = arguments[0];\n\n /* eslint-disable-next-line babel/no-invalid-this */\n if (callBack.call(this, item, i, object)) {\n result[result.length] = item;\n }\n }\n };\n\n /* eslint-disable-next-line prefer-rest-params */\n all(object, predicate, arguments[2]);\n\n return result;\n};\n\n/**\n * This method creates a new array with all elements that pass the test\n * implemented by the provided function.\n *\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function is a predicate, to test each element.\n * @param {*} [thisArg] - Value to use as this when executing callback.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n * @returns {Array} A new array with the elements that pass the test.\n */\nconst $filter = isWorking ? patchedFilter : implementation;\n\nexport default $filter;\n","import toObject from 'to-object-x';\nimport attempt from 'attempt-x';\nimport isArray from 'is-array-x';\nimport isArguments from 'is-arguments';\nimport arraySlice from 'array-like-slice-x';\nimport splitIfBoxed from 'split-if-boxed-bug-x';\nimport isString from 'is-string';\nimport isRegexp from 'is-regexp-x';\nimport has from 'has-own-property-x';\nimport objKeys from 'object-keys';\n\nconst ObjectCtr = {}.constructor;\nconst nativeKeys = typeof ObjectCtr.keys === 'function' && ObjectCtr.keys;\n\nlet isWorking;\nlet throwsWithNull;\nlet worksWithPrim;\nlet worksWithRegex;\nlet worksWithArgs;\nlet worksWithStr;\n\nif (nativeKeys) {\n const isCorrectRes = function _isCorrectRes(r, length) {\n return r.threw === false && isArray(r.value) && r.value.length === length;\n };\n\n const either = function _either(r, a, b) {\n const x = r.value[0];\n const y = r.value[1];\n\n return (x === a && y === b) || (x === b && y === a);\n };\n\n let testObj = {a: 1, b: 2};\n let res = attempt(nativeKeys, testObj);\n isWorking = isCorrectRes(res, 2) && either(res, 'a', 'b');\n\n if (isWorking) {\n testObj = Object('a');\n testObj.y = 1;\n res = attempt(nativeKeys, testObj);\n isWorking = isCorrectRes(res, 2) && either(res, '0', 'y');\n }\n\n if (isWorking) {\n throwsWithNull = attempt(nativeKeys, null).threw;\n worksWithPrim = isCorrectRes(attempt(nativeKeys, 42), 0);\n worksWithRegex = attempt(nativeKeys, /a/g).threw === false;\n\n res = attempt(\n nativeKeys,\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2),\n );\n\n worksWithArgs = isCorrectRes(res, 2) && either(res, '0', '1');\n\n res = attempt(nativeKeys, Object('ab'));\n worksWithStr = isCorrectRes(res, 2) && either(res, '0', '1');\n }\n}\n\n/**\n * This method returns an array of a given object's own enumerable properties,\n * in the same order as that provided by a for...in loop (the difference being\n * that a for-in loop enumerates properties in the prototype chain as well).\n *\n * @param {*} obj - The object of which the enumerable own properties are to be returned.\n * @returns {Array} An array of strings that represent all the enumerable properties of the given object.\n */\nlet objectKeys;\n\nif (isWorking) {\n if (throwsWithNull && worksWithPrim && worksWithRegex && worksWithArgs && worksWithStr) {\n objectKeys = nativeKeys;\n } else {\n objectKeys = function keys(object) {\n let obj = toObject ? toObject(object) : object;\n\n if (worksWithArgs !== true && isArguments(obj)) {\n obj = arraySlice(obj);\n } else if (worksWithStr !== true && isString(obj)) {\n obj = splitIfBoxed(obj);\n } else if (worksWithRegex !== true && isRegexp(obj)) {\n const regexKeys = [];\n /* eslint-disable-next-line no-restricted-syntax */\n for (const key in obj) {\n // noinspection JSUnfilteredForInLoop\n if (has(obj, key)) {\n regexKeys[regexKeys.length] = key;\n }\n }\n\n return regexKeys;\n }\n\n return nativeKeys(obj);\n };\n }\n} else {\n objectKeys = function keys(object) {\n return objKeys(toObject(object));\n };\n}\n\nconst ok = objectKeys;\n\nexport default ok;\n","import isDate from 'is-date-object';\nimport isArguments from 'is-arguments';\nimport isPrimitive from 'is-primitive';\nimport isObject from 'is-object';\nimport isBuffer from 'is-buffer';\nimport isString from 'is-string';\nimport isError from 'is-error-x';\nimport isMap from 'is-map-x';\nimport isSet from 'is-set-x';\nimport isNil from 'is-nil-x';\nimport isRegExp from 'is-regexp-x';\nimport indexOf from 'index-of-x';\nimport slice from 'array-slice-x';\nimport some from 'array-some-x';\nimport filter from 'array-filter-x';\nimport sort from 'stable';\nimport $keys from 'object-keys-x';\nimport $getPrototypeOf from 'get-prototype-of-x';\nimport hasBoxedString from 'has-boxed-string-x';\nimport toBoolean from 'to-boolean-x';\n\n// Check failure of by-index access of string characters (IE < 9)\n// and failure of `0 in boxedString` (Rhino)\nconst hasBoxedStringBug = hasBoxedString === false;\n// Used to detect unsigned integer values.\nconst reIsUint = /^(?:0|[1-9]\\d*)$/;\n/* eslint-disable-next-line compat/compat */\nconst hasMapEnumerables = typeof Map === 'function' ? $keys(new Map()) : [];\n/* eslint-disable-next-line compat/compat */\nconst hasSetEnumerables = typeof Set === 'function' ? $keys(new Set()) : [];\nlet hasErrorEnumerables;\n\ntry {\n // noinspection ExceptionCaughtLocallyJS\n throw new Error('a');\n} catch (e) {\n hasErrorEnumerables = $keys(e);\n}\n\nconst indexNotFound = -1;\nconst maxSafeIndex = 4294967295; // (2^32)-1\n\n/**\n * Checks if `value` is a valid string index. Specifically for boxed string\n * bug fix and not general purpose.\n *\n * @private\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is valid index, else `false`.\n */\nconst isIndex = function isIndex(value) {\n let num = indexNotFound;\n\n if (reIsUint.test(value)) {\n num = Number(value);\n }\n\n return num > indexNotFound && num % 1 === 0 && num < maxSafeIndex;\n};\n\n// eslint-disable jsdoc/require-param\n// noinspection JSCommentMatchesSignature\n/**\n * Get an object's key avoiding boxed string bug. Specifically for boxed\n * string bug fix and not general purpose.\n *\n * @private\n * @param {Array|string|object} object - The object to get the `value` from.\n * @param {string|number} key - The `key` reference to the `value`.\n * @param {boolean} isStr - Is the object a string.\n * @param {boolean} isIdx - Is the `key` a character index.\n * @returns {*} Returns the `value` referenced by the `key`.\n */\n// eslint-enable jsdoc/require-param\nconst getItem = function getItem(args) {\n const [object, key, isStr, isIdx] = args;\n\n return isStr && isIdx ? object.charAt(key) : object[key];\n};\n\n/**\n * Filter `keys` of unwanted Error enumerables. Specifically for Error has\n * unwanted enumerables fix and not general purpose.\n *\n * @private\n * @param {Array} keys - The Error object's keys.\n * @param {Array} unwanted - The unwanted keys.\n * @returns {Array} Returns the filtered keys.\n */\nconst filterUnwanted = function filterUnwanted(keys, unwanted) {\n return unwanted.length\n ? filter(keys, function predicate(key) {\n return indexOf(unwanted, key) === indexNotFound;\n })\n : keys;\n};\n\n// eslint-disable jsdoc/require-param\n// noinspection JSCommentMatchesSignature\n/**\n * Tests for deep equality. Primitive values are compared with the equal\n * comparison operator ( == ). This only considers enumerable properties.\n * It does not test object prototypes, attached symbols, or non-enumerable\n * properties. This can lead to some potentially surprising results. If\n * `strict` is `true` then Primitive values are compared with the strict\n * equal comparison operator ( === ).\n *\n * @private\n * @param {*} actual - First comparison object.\n * @param {*} expected - Second comparison object.\n * @param {boolean} [strict] - Comparison mode. If set to `true` use `===`.\n * @param {object} previousStack - The circular stack.\n * @returns {boolean} `true` if `actual` and `expected` are deemed equal,\n * otherwise `false`.\n */\n// eslint-enable jsdoc/require-param\nconst baseDeepEqual = function baseDeepEqual(args) {\n const [actual, expected, strict, previousStack] = args;\n\n // 7.1. All identical values are equivalent, as determined by ===.\n if (actual === expected) {\n return true;\n }\n\n if (isBuffer(actual) && isBuffer(expected)) {\n return (\n actual.length === expected.length &&\n some(actual, function predicate(item, index) {\n return item !== expected[index];\n }) === false\n );\n }\n\n // 7.2. If the expected value is a Date object, the actual value is\n // equivalent if it is also a Date object that refers to the same time.\n if (isDate(actual) && isDate(expected)) {\n return actual.getTime() === expected.getTime();\n }\n\n // 7.3 If the expected value is a RegExp object, the actual value is\n // equivalent if it is also a RegExp object with the same `source` and\n // properties (`global`, `multiline`, `lastIndex`, `ignoreCase` & `sticky`).\n if (isRegExp(actual) && isRegExp(expected)) {\n return actual.toString() === expected.toString() && actual.lastIndex === expected.lastIndex;\n }\n\n // 7.4. Other pairs that do not both pass typeof value == 'object',\n // equivalence is determined by == or strict ===.\n if (isObject(actual) === false && isObject(expected) === false) {\n if (strict) {\n return actual === expected;\n }\n\n // noinspection EqualityComparisonWithCoercionJS\n return actual == expected; /* eslint-disable-line eqeqeq */\n }\n\n // 7.5 For all other Object pairs, including Array objects, equivalence is\n // determined by having the same number of owned properties (as verified\n // with Object.prototype.hasOwnProperty.call), the same set of keys\n // (although not necessarily the same order), equivalent values for every\n // corresponding key, and an identical 'prototype' property. Note: this\n // accounts for both named and indexed properties on Arrays.\n if (isNil(actual) || isNil(expected)) {\n return false;\n }\n\n /* jshint eqnull:false */\n // This only considers enumerable properties. It does not test object\n // prototypes, attached symbols, or non-enumerable properties. This can\n // lead to some potentially surprising results.\n if (strict && $getPrototypeOf(actual) !== $getPrototypeOf(expected)) {\n return false;\n }\n\n // if one is actual primitive, the other must be same\n if (isPrimitive(actual) || isPrimitive(expected)) {\n return actual === expected;\n }\n\n let ka = isArguments(actual);\n let kb = isArguments(expected);\n const aNotB = ka && kb === false;\n const bNotA = ka === false && kb;\n\n if (aNotB || bNotA) {\n return false;\n }\n\n if (ka) {\n if (ka.length !== kb.length) {\n return false;\n }\n\n return baseDeepEqual([slice(actual), slice(expected), strict, null]);\n }\n\n ka = $keys(actual);\n kb = $keys(expected);\n\n // having the same number of owned properties (keys incorporates hasOwnProperty)\n if (ka.length !== kb.length) {\n return false;\n }\n\n if (isObject(actual)) {\n if (isError(actual)) {\n ka = filterUnwanted(ka, hasErrorEnumerables);\n } else if (isMap(actual)) {\n ka = filterUnwanted(ka, hasMapEnumerables);\n } else if (isSet(actual)) {\n ka = filterUnwanted(ka, hasSetEnumerables);\n }\n }\n\n if (isObject(expected)) {\n if (isError(expected)) {\n kb = filterUnwanted(kb, hasErrorEnumerables);\n } else if (isMap(expected)) {\n kb = filterUnwanted(kb, hasMapEnumerables);\n } else if (isSet(expected)) {\n kb = filterUnwanted(kb, hasSetEnumerables);\n }\n }\n\n // the same set of keys (although not necessarily the same order),\n sort.inplace(ka);\n sort.inplace(kb);\n let aIsString;\n let bIsString;\n\n if (hasBoxedStringBug) {\n aIsString = isString(actual);\n bIsString = isString(expected);\n }\n\n // ~~~cheap key test\n // equivalent values for every corresponding key, and\n // ~~~possibly expensive deep test\n return (\n some(ka, function predicate(key, index) {\n if (key !== kb[index]) {\n return true;\n }\n\n const isIdx = (aIsString || bIsString) && isIndex(key);\n const stack = previousStack || [actual];\n const item = getItem([actual, key, aIsString, isIdx]);\n const isPrim = isPrimitive(item);\n\n if (isPrim === false) {\n if (indexOf(stack, item) !== indexNotFound) {\n throw new RangeError('Circular object');\n }\n\n stack.push(item);\n }\n\n const result = baseDeepEqual([item, getItem([expected, key, bIsString, isIdx]), strict, stack]) === false;\n\n if (isPrim === false) {\n stack.pop();\n }\n\n return result;\n }) === false\n );\n};\n\n// eslint-enable jsdoc/require-param\n// noinspection JSCommentMatchesSignature\n/**\n * Tests for deep equality. Primitive values are compared with the equal\n * comparison operator ( == ). This only considers enumerable properties.\n * It does not test object prototypes, attached symbols, or non-enumerable\n * properties. This can lead to some potentially surprising results. If\n * `strict` is `true` then Primitive values are compared with the strict\n * equal comparison operator ( === ).\n *\n * @param {*} actual - First comparison object.\n * @param {*} expected - Second comparison object.\n * @param {boolean} [strict] - Comparison mode. If set to `true` use `===`.\n * @returns {boolean} `true` if `actual` and `expected` are deemed equal,\n * otherwise `false`.\n * @see https://nodejs.org/api/assert.html\n */\n// eslint-disable jsdoc/require-param\nconst deepEqual = function deepEqual(actual, expected) {\n /* eslint-disable-next-line prefer-rest-params */\n return baseDeepEqual([actual, expected, toBoolean(arguments[2])]);\n};\n\nexport default deepEqual;\n"],"sourceRoot":""}
\No newline at end of file