diff --git a/dist/array-intersection-x.js b/dist/array-intersection-x.js index 14e5a5a..c3ee882 100644 --- a/dist/array-intersection-x.js +++ b/dist/array-intersection-x.js @@ -2,13 +2,13 @@ { "author": "Graham Fairweather", "copywrite": "Copyright (c) 2017", - "date": "2019-08-20T13:53:35.168Z", + "date": "2019-08-20T20:12:12.999Z", "describe": "", "description": "Creates an array of unique values that are included in all given arrays.", "file": "array-intersection-x.js", - "hash": "4a45f9cf30f52410158d", + "hash": "410977b0ed250791fecf", "license": "MIT", - "version": "3.1.0" + "version": "3.1.1" } */ (function webpackUniversalModuleDefinition(root, factory) { @@ -149,7 +149,7 @@ return /******/ (function(modules) { // webpackBootstrap /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 7); +/******/ return __webpack_require__(__webpack_require__.s = 6); /******/ }) /************************************************************************/ /******/ ([ @@ -160,7 +160,7 @@ return /******/ (function(modules) { // webpackBootstrap var toStr = Object.prototype.toString; -var hasSymbols = __webpack_require__(4)(); +var hasSymbols = __webpack_require__(3)(); if (hasSymbols) { var symToStr = Symbol.prototype.toString; @@ -198,28 +198,6 @@ if (hasSymbols) { /* 1 */ /***/ (function(module, exports, __webpack_require__) { -"use strict"; -/*! - * is-primitive - * - * Copyright (c) 2014-present, Jon Schlinkert. - * Released under the MIT License. - */ - - - -module.exports = function isPrimitive(val) { - if (typeof val === 'object') { - return val === null; - } - return typeof val !== 'function'; -}; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - "use strict"; @@ -244,7 +222,7 @@ module.exports = function isString(value) { /***/ }), -/* 3 */ +/* 2 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -271,14 +249,14 @@ module.exports = function isDateObject(value) { /***/ }), -/* 4 */ +/* 3 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global) { var origSymbol = global.Symbol; -var hasSymbolSham = __webpack_require__(6); +var hasSymbolSham = __webpack_require__(5); module.exports = function hasNativeSymbols() { if (typeof origSymbol !== 'function') { return false; } @@ -289,10 +267,10 @@ module.exports = function hasNativeSymbols() { return hasSymbolSham(); }; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(5))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(4))) /***/ }), -/* 5 */ +/* 4 */ /***/ (function(module, exports) { var g; @@ -318,7 +296,7 @@ module.exports = g; /***/ }), -/* 6 */ +/* 5 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -367,245 +345,635 @@ module.exports = function hasSymbols() { /***/ }), -/* 7 */ +/* 6 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); -// CONCATENATED MODULE: ./node_modules/attempt-x/dist/attempt-x.esm.js +// CONCATENATED MODULE: ./node_modules/is-primitive-x/dist/is-primitive-x.esm.js +function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + /** - * This method attempts to invoke the function, returning either the result or - * the caught error object. Any additional arguments are provided to the - * function when it's invoked. + * Returns true if the value is a primitive. * - * @param {Function} [fn] - The function to attempt. - * @param {...*} [args] - The arguments to invoke the function with. - * @returns {object} Returns an object of the result. + * @param {*} [val] - The value to test. + * @returns {boolean} True if a primitive, otherwise false.. */ -var attempt = function attempt(fn) { - try { - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - return { - threw: false, - - /* eslint-disable-next-line babel/no-invalid-this */ - value: fn.apply(this, args) - }; - } catch (e) { - return { - threw: true, - value: e - }; - } +var isPrimitive = function isPrimitive(val) { + return _typeof(val) === 'object' ? val === null : typeof val !== 'function'; }; -/* harmony default export */ var attempt_x_esm = (attempt); +/* harmony default export */ var is_primitive_x_esm = (isPrimitive); -// CONCATENATED MODULE: ./node_modules/is-nil-x/dist/is-nil-x.esm.js +// EXTERNAL MODULE: ./node_modules/is-string/index.js +var is_string = __webpack_require__(1); +var is_string_default = /*#__PURE__*/__webpack_require__.n(is_string); + +// CONCATENATED MODULE: ./node_modules/has-boxed-string-x/dist/has-boxed-string-x.esm.js +var has_boxed_string_x_esm_string = 'a'; +var boxedString = {}.constructor(has_boxed_string_x_esm_string); /** - * Checks if `value` is `null` or `undefined`. + * Check failure of by-index access of string characters (IE < 9) + * and failure of `0 in boxedString` (Rhino). * - * @param {*} [value] - The value to check. - * @returns {boolean} Returns `true` if `value` is nullish, else `false`. + * `true` if no failure; otherwise `false`. + * + * @type boolean */ -var isNil = function isNil(value) { - /* eslint-disable-next-line lodash/prefer-is-nil */ - return value === null || typeof value === 'undefined'; -}; - -/* harmony default export */ var is_nil_x_esm = (isNil); +var hasBoxed = boxedString[0] === has_boxed_string_x_esm_string && 0 in boxedString; +/* harmony default export */ var has_boxed_string_x_esm = (hasBoxed); -// CONCATENATED MODULE: ./node_modules/require-object-coercible-x/dist/require-object-coercible-x.esm.js +// CONCATENATED MODULE: ./node_modules/noop-x/dist/noop-x.esm.js /** - * The abstract operation RequireObjectCoercible throws an error if argument - * is a value that cannot be converted to an Object using ToObject. + * This method returns undefined. * - * @param {*} [value] - The `value` to check. - * @throws {TypeError} If `value` is a `null` or `undefined`. - * @returns {string} The `value`. + * @returns {undefined} Always undefined. */ +var noop = function noop() {}; +/* eslint-disable-line lodash/prefer-noop */ -var require_object_coercible_x_esm_requireObjectCoercible = function requireObjectCoercible(value) { - if (is_nil_x_esm(value)) { - throw new TypeError("Cannot call method on ".concat(value)); - } - - return value; -}; -/* harmony default export */ var require_object_coercible_x_esm = (require_object_coercible_x_esm_requireObjectCoercible); +/* harmony default export */ var noop_x_esm = (noop); -// CONCATENATED MODULE: ./node_modules/to-object-x/dist/to-object-x.esm.js +// CONCATENATED MODULE: ./node_modules/has-working-bind-x/dist/has-working-bind-x.esm.js -var castObject = {}.constructor; -/** - * The abstract operation ToObject converts argument to a value of - * type Object. - * - * @param {*} value - The `value` to convert. - * @throws {TypeError} If `value` is a `null` or `undefined`. - * @returns {!object} The `value` converted to an object. - */ +var has_working_bind_x_esm_bind = noop_x_esm.bind; -var to_object_x_esm_toObject = function toObject(value) { - return castObject(require_object_coercible_x_esm(value)); -}; +var has_working_bind_x_esm_test1 = function test1() { + var a1 = null; + var a2 = null; + var context = null; + var testThis = []; -/* harmony default export */ var to_object_x_esm = (to_object_x_esm_toObject); + var test1Fn = function test1Fn(arg1, arg2) { + /* eslint-disable-next-line babel/no-invalid-this */ + context = this; + a1 = arg1; + a2 = arg2; + /* eslint-disable-next-line prefer-rest-params */ + return arguments; + }; -// CONCATENATED MODULE: ./node_modules/to-boolean-x/dist/to-boolean-x.esm.js -/** - * The abstract operation ToBoolean converts argument to a value of type Boolean. - * - * @param {*} [value] - The value to be converted. - * @returns {boolean} 'true' if value is truthy; otherwise 'false'. - */ -var toBoolean = function toBoolean(value) { - return !!value; + try { + var boundFn = has_working_bind_x_esm_bind.apply(test1Fn, [testThis, 1]); + var args = boundFn(2); + return boundFn.length === 1 && args.length === 2 && a1 === 1 && a2 === 2 && context === testThis; + } catch (e) { + return false; + } }; -/* harmony default export */ var to_boolean_x_esm = (toBoolean); +var has_working_bind_x_esm_test2 = function test2() { + var a1 = null; + var a2 = null; + var context = null; + var oracle = [1, 2, 3]; + var Ctr = function Ctr(arg1, arg2) { + a1 = arg1; + a2 = arg2; + context = this; + return oracle; + }; -// CONCATENATED MODULE: ./node_modules/to-string-tag-x/dist/to-string-tag-x.esm.js -var nativeObjectToString = {}.toString; + try { + var BoundFn = has_working_bind_x_esm_bind.apply(Ctr, [null]); + var returned = new BoundFn(1, 2); + return BoundFn.length === Ctr.length && returned === oracle && a1 === 1 && a2 === 2 && context !== oracle; + } catch (e) { + return false; + } +}; /** - * The `toStringTag` method returns "[object type]", where type is the - * object type. + * Indicates if the engine has a working bind function. * - * @param {*} [value] - The object of which to get the object type string. - * @returns {string} The object type string. + * @type {boolean} */ -var toStringTag = function toStringTag(value) { - if (value === null) { - return '[object Null]'; - } - - if (typeof value === 'undefined') { - return '[object Undefined]'; - } - - return nativeObjectToString.call(value); -}; - -/* harmony default export */ var to_string_tag_x_esm = (toStringTag); +var isWorking = typeof has_working_bind_x_esm_bind === 'function' && has_working_bind_x_esm_test1() && has_working_bind_x_esm_test2(); +/* harmony default export */ var has_working_bind_x_esm = (isWorking); -// EXTERNAL MODULE: ./node_modules/is-symbol/index.js -var is_symbol = __webpack_require__(0); -var is_symbol_default = /*#__PURE__*/__webpack_require__.n(is_symbol); -// CONCATENATED MODULE: ./node_modules/has-symbol-support-x/dist/has-symbol-support-x.esm.js -var has_symbol_support_x_esm_this = undefined; +// CONCATENATED MODULE: ./node_modules/util-pusher-x/dist/util-pusher-x.esm.js -function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } -var hasSymbolSupport = attempt_x_esm(function () { - _newArrowCheck(this, has_symbol_support_x_esm_this); +var EMPTY_STRING = ''; +var split = EMPTY_STRING.split; +var max = Math.max; +var util_pusher_x_esm_bind = is_primitive_x_esm.bind, + util_pusher_x_esm_call = is_primitive_x_esm.call; +var stringSplit = function stringSplit(string, pattern) { + // noinspection JSUnresolvedFunction + return split.call(string, pattern); +}; +var $split = has_working_bind_x_esm ? util_pusher_x_esm_bind.call(util_pusher_x_esm_call, split) : stringSplit; +var util_pusher_x_esm_getIterable = function getIterable(arrayLike) { + // noinspection JSUnresolvedFunction + return is_string_default()(arrayLike) ? $split(arrayLike, EMPTY_STRING) : arrayLike; +}; // eslint-disable jsdoc/no-undefined-types +// noinspection JSCommentMatchesSignature - /* eslint-disable-next-line compat/compat */ - return typeof Symbol === 'function' && is_symbol_default()(Symbol('')); -}.bind(undefined)); /** - * Indicates if `Symbol`exists and creates the correct type. - * `true`, if it exists and creates the correct type, otherwise `false`. + * This pushes or concatenates into a new or existing array. * - * @type boolean + * @param {Array} arrayLike - The source. + * @param {number} [from=0] - The from source index. + * @param {Array} [target=[]] - The target array. + * @returns {*} The target array. */ +// eslint-enable jsdoc/no-undefined-types -/* harmony default export */ var has_symbol_support_x_esm = (hasSymbolSupport.threw === false && hasSymbolSupport.value === true); - - -// CONCATENATED MODULE: ./node_modules/has-to-string-tag-x/dist/has-to-string-tag-x.esm.js - +var util_pusher_x_esm_pusher = function pusher(arrayLike, from) { + /* eslint-disable-next-line prefer-rest-params */ + var target = arguments.length > 2 ? arguments[2] : []; -/** - * Indicates if `Symbol.toStringTag`exists and is the correct type. - * `true`, if it exists and is the correct type, otherwise `false`. - * - * @type boolean - */ + if (typeof arrayLike !== 'string' && is_primitive_x_esm(arrayLike)) { + return target; + } -/* harmony default export */ var has_to_string_tag_x_esm = (has_symbol_support_x_esm && -/* eslint-disable-next-line compat/compat */ -is_symbol_default()(Symbol.toStringTag)); + var iterable = has_boxed_string_x_esm ? arrayLike : util_pusher_x_esm_getIterable(arrayLike); + var length = iterable.length; + for (var i = max(0, from) || 0; i < length; i += 1) { + target[target.length] = arrayLike[i]; + } -// EXTERNAL MODULE: ./node_modules/is-primitive/index.js -var is_primitive = __webpack_require__(1); -var is_primitive_default = /*#__PURE__*/__webpack_require__.n(is_primitive); + return target; +}; -// CONCATENATED MODULE: ./node_modules/to-string-x/dist/to-string-x.esm.js +/* harmony default export */ var util_pusher_x_esm = (util_pusher_x_esm_pusher); -var ERROR_MESSAGE = 'Cannot convert a Symbol value to a string'; -var castString = ERROR_MESSAGE.constructor; -/** - * The abstract operation ToString converts argument to a value of type String. - * - * @param {*} [value] - The value to convert to a string. - * @throws {TypeError} If `value` is a Symbol. - * @returns {string} The converted value. - */ -var to_string_x_esm_ToString = function ToString(value) { - if (is_symbol_default()(value)) { - throw new TypeError(ERROR_MESSAGE); - } +// CONCATENATED MODULE: ./node_modules/simple-bind-x/dist/simple-bind-x.esm.js +function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } - return castString(value); -}; +function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -/* harmony default export */ var to_string_x_esm = (to_string_x_esm_ToString); +function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } +function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -// CONCATENATED MODULE: ./node_modules/require-coercible-to-string-x/dist/require-coercible-to-string-x.esm.js -/** - * This method requires an argument is corecible then converts using ToString. - * - * @param {*} [value] - The value to converted to a string. - * @throws {TypeError} If value is null or undefined. - * @returns {string} The value as a string. - */ +var nativeBind = util_pusher_x_esm.bind, + simple_bind_x_esm_call = util_pusher_x_esm.call; +var ERROR_MESSAGE = 'bind called on incompatible '; +var simple_bind_x_esm_object = {}; +var ObjectCtr = simple_bind_x_esm_object.constructor; +var toStringTag = simple_bind_x_esm_object.toString; +var funcType = '[object Function]'; +var ZERO = 0; +var argsOffset = 2; -var require_coercible_to_string_x_esm_requireCoercibleToString = function requireCoercibleToString(value) { - return to_string_x_esm(require_object_coercible_x_esm(value)); +var getMax = function getMax(a, b) { + return a >= b ? a : b; }; -/* harmony default export */ var require_coercible_to_string_x_esm = (require_coercible_to_string_x_esm_requireCoercibleToString); - - -// CONCATENATED MODULE: ./node_modules/white-space-x/dist/white-space-x.esm.js -/** - * A record of a white space character. - * - * @typedef {object} CharRecord - * @property {number} code - The character code. - * @property {string} description - A description of the character. - * @property {boolean} es5 - Whether the spec lists this as a white space. - * @property {boolean} es2015 - Whether the spec lists this as a white space. - * @property {boolean} es2016 - Whether the spec lists this as a white space. - * @property {boolean} es2017 - Whether the spec lists this as a white space. - * @property {boolean} es2018 - Whether the spec lists this as a white space. - * @property {string} string - The character string. - */ +var simple_bind_x_esm_assertIsFunction = function assertIsFunction(value) { + if (typeof value !== 'function' && toStringTag.apply(value) !== funcType) { + throw new TypeError(ERROR_MESSAGE + value); + } +}; -/** - * An array of the whitespace char codes, string, descriptions and language - * presence in the specifications. +var boundFns = [function zero(binder) { + return function boundFn() { + /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ + return binder.apply(this, util_pusher_x_esm(arguments)); + }; +}, function one(binder, boundLength) { + return function boundFn(a) { + /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ + return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a])); + }; +}, function two(binder, boundLength) { + return function boundFn(a, b) { + /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ + return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b])); + }; +}, function three(binder, boundLength) { + /* eslint-disable-next-line max-params */ + return function boundFn(a, b, c) { + /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ + return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c])); + }; +}, function four(binder, boundLength) { + /* eslint-disable-next-line max-params */ + return function boundFn(a, b, c, d) { + /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ + return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c, d])); + }; +}, function five(binder, boundLength) { + /* eslint-disable-next-line max-params */ + return function boundFn(a, b, c, d, e) { + /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ + return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c, d, e])); + }; +}, function six(binder, boundLength) { + /* eslint-disable-next-line max-params */ + return function boundFn(a, b, c, d, e, f) { + /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ + return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c, d, e, f])); + }; +}, function seven(binder, boundLength) { + /* eslint-disable-next-line max-params */ + return function boundFn(a, b, c, d, e, f, g) { + /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ + return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c, d, e, f, g])); + }; +}, function eight(binder, boundLength) { + /* eslint-disable-next-line max-params */ + return function boundFn(a, b, c, d, e, f, g, h) { + /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ + return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c, d, e, f, g, h])); + }; +}]; + +var getBoundFn = function getBoundFn(args) { + var _args = _slicedToArray(args, 3), + binder = _args[0], + target = _args[1], + bindArgs = _args[2]; + + var boundLength = getMax(ZERO, target.length - getMax(ZERO, bindArgs.length - argsOffset)); + var fn = boundFns[boundLength]; + var boundFn = fn ? fn(binder, boundLength) : boundFns[ZERO](binder); + + if (target.prototype) { + /* eslint-disable-next-line lodash/prefer-noop */ + var Empty = function Empty() {}; + + Empty.prototype = target.prototype; + boundFn.prototype = new Empty(); + Empty.prototype = null; + } + + return boundFn; +}; + +var getResult = function getResult(target, boundArgs) { + /* eslint-disable-next-line babel/no-invalid-this */ + var result = target.apply(this, boundArgs); + /* eslint-disable-next-line babel/no-invalid-this,babel/new-cap */ + + return ObjectCtr(result) === result ? result : this; +}; + +var implementation = function bind(target, thisArg) { + simple_bind_x_esm_assertIsFunction(target); + /* eslint-disable-next-line prefer-rest-params */ + + var bindArgs = arguments; + var bound; + + var binder = function binder() { + /* eslint-disable-next-line prefer-rest-params */ + var boundArgs = util_pusher_x_esm(arguments, ZERO, util_pusher_x_esm(bindArgs, argsOffset)); + /* eslint-disable-next-line babel/no-invalid-this */ + + return this instanceof bound ? getResult.apply(this, [target, boundArgs]) : target.apply(thisArg, boundArgs); + }; + + bound = getBoundFn([binder, target, bindArgs]); + return bound; +}; +/** + * The bind() method creates a new function that, when called, has its this + * keyword set to the provided value, with a given sequence of arguments + * preceding any provided when the new function is called. + * + * @function bind + * @param {Function} target - The target function. + * @param {*} [thisArg] - The value to be passed as the this parameter to the target + * function when the bound function is called. The value is ignored if the + * bound function is constructed using the new operator. + * @param {...*} [args] - Arguments to prepend to arguments provided to the bound + * function when invoking the target function. + * @throws {TypeError} If target is not a function. + * @returns {Function} The bound function. + */ + +var $bind = has_working_bind_x_esm ? simple_bind_x_esm_call.bind(nativeBind) : implementation; +/* harmony default export */ var simple_bind_x_esm = ($bind); + + +// CONCATENATED MODULE: ./node_modules/simple-call-x/dist/simple-call-x.esm.js + + +var $TypeError = TypeError; +var nativeApply = simple_bind_x_esm.apply, + nativeCall = simple_bind_x_esm.call; +var $apply = simple_bind_x_esm(nativeCall, nativeApply); +var simple_call_x_esm_toStringTag = simple_bind_x_esm(nativeApply, {}.toString); +var simple_call_x_esm_ERROR_MESSAGE = ' is not a function'; +var simple_call_x_esm_funcType = '[object Function]'; + +var simple_call_x_esm_assertIsFunction = function assertIsFunction(value) { + if (typeof value !== 'function' && simple_call_x_esm_toStringTag(value) !== simple_call_x_esm_funcType) { + throw new $TypeError(value + simple_call_x_esm_ERROR_MESSAGE); + } + + return value; +}; // eslint-disable jsdoc/check-param-names +// noinspection JSCommentMatchesSignature + +/** + * The abstract operation Call is used to call the [[Call]] internal method of a function object. + * + * @function call + * @param {Function} F - The target function. + * @param {*} [V] - The context. + * @param {Array} [args] - Argument to call the function with. + * @throws {TypeError} If target is not a function. + * @returns {*} The the result of invoking the function. + * @see https://www.ecma-international.org/ecma-262/6.0/#sec-call + */ +// eslint-enable jsdoc/check-param-names + + +var simple_call_x_esm_call = function call(F, V) { + /* eslint-disable-next-line prefer-rest-params */ + return $apply(simple_call_x_esm_assertIsFunction(F), V, util_pusher_x_esm(arguments[2])); +}; + +/* harmony default export */ var simple_call_x_esm = (simple_call_x_esm_call); + + +// CONCATENATED MODULE: ./node_modules/attempt-x/dist/attempt-x.esm.js + + // eslint-disable jsdoc/check-param-names +// noinspection JSCommentMatchesSignature + +/** + * This method attempts to invoke the function, returning either the result or + * the caught error object. Any additional arguments are provided to the + * function when it's invoked. + * + * @function attempt + * @param {Function} [fn] - The function to attempt. + * @param {...*} [args] - The arguments to invoke the function with. + * @returns {object} Returns an object of the result. + */ +// eslint-disable jsdoc/check-param-names + +var attempt_x_esm_attempt = function attempt(fn) { + try { + return { + threw: false, + + /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ + value: simple_call_x_esm(fn, this, util_pusher_x_esm(arguments, 1)) + }; + } catch (e) { + return { + threw: true, + value: e + }; + } +}; + +/* harmony default export */ var attempt_x_esm = (attempt_x_esm_attempt); + + +// CONCATENATED MODULE: ./node_modules/is-nil-x/dist/is-nil-x.esm.js +/** + * Checks if `value` is `null` or `undefined`. + * + * @param {*} [value] - The value to check. + * @returns {boolean} Returns `true` if `value` is nullish, else `false`. + */ +var isNil = function isNil(value) { + /* eslint-disable-next-line lodash/prefer-is-nil */ + return value === null || typeof value === 'undefined'; +}; + +/* harmony default export */ var is_nil_x_esm = (isNil); + + +// CONCATENATED MODULE: ./node_modules/require-object-coercible-x/dist/require-object-coercible-x.esm.js + +/** + * The abstract operation RequireObjectCoercible throws an error if argument + * is a value that cannot be converted to an Object using ToObject. + * + * @param {*} [value] - The `value` to check. + * @throws {TypeError} If `value` is a `null` or `undefined`. + * @returns {string} The `value`. + */ + +var require_object_coercible_x_esm_requireObjectCoercible = function requireObjectCoercible(value) { + if (is_nil_x_esm(value)) { + throw new TypeError("Cannot call method on ".concat(value)); + } + + return value; +}; + +/* harmony default export */ var require_object_coercible_x_esm = (require_object_coercible_x_esm_requireObjectCoercible); + + +// CONCATENATED MODULE: ./node_modules/to-object-x/dist/to-object-x.esm.js + +var castObject = {}.constructor; +/** + * The abstract operation ToObject converts argument to a value of + * type Object. + * + * @param {*} value - The `value` to convert. + * @throws {TypeError} If `value` is a `null` or `undefined`. + * @returns {!object} The `value` converted to an object. + */ + +var to_object_x_esm_toObject = function toObject(value) { + return castObject(require_object_coercible_x_esm(value)); +}; + +/* harmony default export */ var to_object_x_esm = (to_object_x_esm_toObject); + + +// CONCATENATED MODULE: ./node_modules/to-boolean-x/dist/to-boolean-x.esm.js +/** + * The abstract operation ToBoolean converts argument to a value of type Boolean. + * + * @param {*} [value] - The value to be converted. + * @returns {boolean} 'true' if value is truthy; otherwise 'false'. + */ +var toBoolean = function toBoolean(value) { + return !!value; +}; + +/* harmony default export */ var to_boolean_x_esm = (toBoolean); + + +// CONCATENATED MODULE: ./node_modules/simple-methodize-x/dist/simple-methodize-x.esm.js + + +var simple_methodize_x_esm_toStringTag = {}.toString; +var simple_methodize_x_esm_ERROR_MESSAGE = 'methodize called on incompatible '; +var simple_methodize_x_esm_funcType = '[object Function]'; + +var simple_methodize_x_esm_assertIsFunction = function assertIsFunction(value) { + if (typeof value !== 'function' && simple_call_x_esm(simple_methodize_x_esm_toStringTag, value) !== simple_methodize_x_esm_funcType) { + throw new TypeError(simple_methodize_x_esm_ERROR_MESSAGE + value); + } + + return value; +}; +/** + * Methodize a prototype method. Compliant to 8 arguments. + * + * @param {Function} prototypeMethod - The prototype method to methodize. + * @throws {TypeError} If target is not a function. + * @returns {Function} The static method. + */ + + +var simple_methodize_x_esm_methodize = function methodize(prototypeMethod) { + simple_methodize_x_esm_assertIsFunction(prototypeMethod); + return function methodized() { + /* eslint-disable-next-line prefer-rest-params */ + return simple_call_x_esm(prototypeMethod, arguments[0], util_pusher_x_esm(arguments, 1)); + }; +}; + +/* harmony default export */ var simple_methodize_x_esm = (simple_methodize_x_esm_methodize); + + +// CONCATENATED MODULE: ./node_modules/to-string-tag-x/dist/to-string-tag-x.esm.js + +var methodizedToString = simple_methodize_x_esm({}.toString); +/** + * The `toStringTag` method returns "[object type]", where type is the + * object type. + * + * @param {*} [value] - The object of which to get the object type string. + * @returns {string} The object type string. + */ + +var to_string_tag_x_esm_toStringTag = function toStringTag(value) { + if (value === null) { + return '[object Null]'; + } + + if (typeof value === 'undefined') { + return '[object Undefined]'; + } + + return methodizedToString(value); +}; + +/* harmony default export */ var to_string_tag_x_esm = (to_string_tag_x_esm_toStringTag); + + +// EXTERNAL MODULE: ./node_modules/is-symbol/index.js +var is_symbol = __webpack_require__(0); +var is_symbol_default = /*#__PURE__*/__webpack_require__.n(is_symbol); + +// CONCATENATED MODULE: ./node_modules/has-symbol-support-x/dist/has-symbol-support-x.esm.js +var has_symbol_support_x_esm_this = undefined; + +function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } + + + +var hasSymbolSupport = attempt_x_esm(function () { + _newArrowCheck(this, has_symbol_support_x_esm_this); + + /* eslint-disable-next-line compat/compat */ + return typeof Symbol === 'function' && is_symbol_default()(Symbol('')); +}.bind(undefined)); +/** + * Indicates if `Symbol`exists and creates the correct type. + * `true`, if it exists and creates the correct type, otherwise `false`. + * + * @type boolean + */ + +/* harmony default export */ var has_symbol_support_x_esm = (hasSymbolSupport.threw === false && hasSymbolSupport.value === true); + + +// CONCATENATED MODULE: ./node_modules/has-to-string-tag-x/dist/has-to-string-tag-x.esm.js + + +/** + * Indicates if `Symbol.toStringTag`exists and is the correct type. + * `true`, if it exists and is the correct type, otherwise `false`. + * + * @type boolean + */ + +/* harmony default export */ var has_to_string_tag_x_esm = (has_symbol_support_x_esm && +/* eslint-disable-next-line compat/compat */ +is_symbol_default()(Symbol.toStringTag)); + + +// CONCATENATED MODULE: ./node_modules/to-string-x/dist/to-string-x.esm.js + +var to_string_x_esm_ERROR_MESSAGE = 'Cannot convert a Symbol value to a string'; +var castString = to_string_x_esm_ERROR_MESSAGE.constructor; +/** + * The abstract operation ToString converts argument to a value of type String. + * + * @param {*} [value] - The value to convert to a string. + * @throws {TypeError} If `value` is a Symbol. + * @returns {string} The converted value. + */ + +var to_string_x_esm_ToString = function ToString(value) { + if (is_symbol_default()(value)) { + throw new TypeError(to_string_x_esm_ERROR_MESSAGE); + } + + return castString(value); +}; + +/* harmony default export */ var to_string_x_esm = (to_string_x_esm_ToString); + + +// CONCATENATED MODULE: ./node_modules/require-coercible-to-string-x/dist/require-coercible-to-string-x.esm.js + + +/** + * This method requires an argument is corecible then converts using ToString. + * + * @param {*} [value] - The value to converted to a string. + * @throws {TypeError} If value is null or undefined. + * @returns {string} The value as a string. + */ + +var require_coercible_to_string_x_esm_requireCoercibleToString = function requireCoercibleToString(value) { + return to_string_x_esm(require_object_coercible_x_esm(value)); +}; + +/* harmony default export */ var require_coercible_to_string_x_esm = (require_coercible_to_string_x_esm_requireCoercibleToString); + + +// CONCATENATED MODULE: ./node_modules/white-space-x/dist/white-space-x.esm.js +/** + * A record of a white space character. + * + * @typedef {object} CharRecord + * @property {number} code - The character code. + * @property {string} description - A description of the character. + * @property {boolean} es5 - Whether the spec lists this as a white space. + * @property {boolean} es2015 - Whether the spec lists this as a white space. + * @property {boolean} es2016 - Whether the spec lists this as a white space. + * @property {boolean} es2017 - Whether the spec lists this as a white space. + * @property {boolean} es2018 - Whether the spec lists this as a white space. + * @property {string} string - The character string. + */ + +/** + * An array of the whitespace char codes, string, descriptions and language + * presence in the specifications. * * @type Array. */ @@ -904,10 +1272,11 @@ var string2016 = stringES2016; // CONCATENATED MODULE: ./node_modules/trim-left-x/dist/trim-left-x.esm.js -var EMPTY_STRING = ''; + +var trim_left_x_esm_EMPTY_STRING = ''; var RegExpCtr = /none/.constructor; var reLeft = new RegExpCtr("^[".concat(white_space_x_esm, "]+")); -var replace = EMPTY_STRING.replace; +var methodizedReplace = simple_methodize_x_esm(trim_left_x_esm_EMPTY_STRING.replace); /** * This method removes whitespace from the start of a string. (ES2019). * @@ -917,7 +1286,7 @@ var replace = EMPTY_STRING.replace; */ var trim_left_x_esm_trimStart = function trimStart(string) { - return replace.call(require_coercible_to_string_x_esm(string), reLeft, EMPTY_STRING); + return methodizedReplace(require_coercible_to_string_x_esm(string), reLeft, trim_left_x_esm_EMPTY_STRING); }; /* harmony default export */ var trim_left_x_esm = (trim_left_x_esm_trimStart); @@ -926,10 +1295,11 @@ var trim_left_x_esm_trimStart = function trimStart(string) { // CONCATENATED MODULE: ./node_modules/trim-right-x/dist/trim-right-x.esm.js + var trim_right_x_esm_EMPTY_STRING = ''; var trim_right_x_esm_RegExpCtr = /none/.constructor; -var reRight2018 = new trim_right_x_esm_RegExpCtr("[".concat(white_space_x_esm, "]+$")); -var trim_right_x_esm_replace = trim_right_x_esm_EMPTY_STRING.replace; +var reRight = new trim_right_x_esm_RegExpCtr("[".concat(white_space_x_esm, "]+$")); +var trim_right_x_esm_methodizedReplace = simple_methodize_x_esm(trim_right_x_esm_EMPTY_STRING.replace); /** * This method removes whitespace from the end of a string. (ES2019). * @@ -939,7 +1309,7 @@ var trim_right_x_esm_replace = trim_right_x_esm_EMPTY_STRING.replace; */ var trim_right_x_esm_trimEnd = function trimEnd(string) { - return trim_right_x_esm_replace.call(require_coercible_to_string_x_esm(string), reRight2018, trim_right_x_esm_EMPTY_STRING); + return trim_right_x_esm_methodizedReplace(require_coercible_to_string_x_esm(string), reRight, trim_right_x_esm_EMPTY_STRING); }; /* harmony default export */ var trim_right_x_esm = (trim_right_x_esm_trimEnd); @@ -967,10 +1337,11 @@ var trim_x_esm_trim = function trim(string) { // CONCATENATED MODULE: ./node_modules/normalize-space-x/dist/normalize-space-x.esm.js + var SPACE = ' '; var normalize_space_x_esm_RegExpCtr = /none/.constructor; -var reNormalize2018 = new normalize_space_x_esm_RegExpCtr("[".concat(white_space_x_esm, "]+"), 'g'); -var normalize_space_x_esm_replace = SPACE.replace; +var reNormalize = new normalize_space_x_esm_RegExpCtr("[".concat(white_space_x_esm, "]+"), 'g'); +var normalize_space_x_esm_methodizedReplace = simple_methodize_x_esm(SPACE.replace); /** * This method strips leading and trailing white-space from a string, * replaces sequences of whitespace characters by a single space, @@ -981,7 +1352,7 @@ var normalize_space_x_esm_replace = SPACE.replace; */ var normalize_space_x_esm_normalizeSpace = function normalizeSpace(string) { - return normalize_space_x_esm_replace.call(trim_x_esm(string), reNormalize2018, SPACE); + return normalize_space_x_esm_methodizedReplace(trim_x_esm(string), reNormalize, SPACE); }; /* harmony default export */ var normalize_space_x_esm = (normalize_space_x_esm_normalizeSpace); @@ -990,9 +1361,10 @@ var normalize_space_x_esm_normalizeSpace = function normalizeSpace(string) { // CONCATENATED MODULE: ./node_modules/replace-comments-x/dist/replace-comments-x.esm.js + var replace_comments_x_esm_EMPTY_STRING = ''; var STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm; -var replace_comments_x_esm_replace = replace_comments_x_esm_EMPTY_STRING.replace; +var replace_comments_x_esm_methodizedReplace = simple_methodize_x_esm(replace_comments_x_esm_EMPTY_STRING.replace); /** * This method replaces comments in a string. * @@ -1004,7 +1376,7 @@ var replace_comments_x_esm_replace = replace_comments_x_esm_EMPTY_STRING.replace */ var replace_comments_x_esm_replaceComments = function replaceComments(string, replacement) { - return replace_comments_x_esm_replace.call(require_coercible_to_string_x_esm(string), STRIP_COMMENTS, arguments.length > 1 ? to_string_x_esm(replacement) : replace_comments_x_esm_EMPTY_STRING); + return replace_comments_x_esm_methodizedReplace(require_coercible_to_string_x_esm(string), STRIP_COMMENTS, arguments.length > 1 ? to_string_x_esm(replacement) : replace_comments_x_esm_EMPTY_STRING); }; /* harmony default export */ var replace_comments_x_esm = (replace_comments_x_esm_replaceComments); @@ -1018,21 +1390,22 @@ var replace_comments_x_esm_replaceComments = function replaceComments(string, re + var FunctionCtr = attempt_x_esm.constructor; var is_function_x_esm_SPACE = ' '; -var fToString = attempt_x_esm.toString; +var methodizedFunctionToString = simple_methodize_x_esm(attempt_x_esm.toString); var funcTag = '[object Function]'; var genTag = '[object GeneratorFunction]'; var asyncTag = '[object AsyncFunction]'; var ctrRx = /^class /; -var test = ctrRx.test; +var methodizedTest = simple_methodize_x_esm(ctrRx.test); var hasNativeClass = attempt_x_esm(function attemptee() { /* eslint-disable-next-line babel/new-cap */ return FunctionCtr('"use strict"; return class My {};')(); }).threw === false; var is_function_x_esm_testClassString = function testClassString(value) { - return test.call(ctrRx, normalize_space_x_esm(replace_comments_x_esm(fToString.call(value), is_function_x_esm_SPACE))); + return methodizedTest(ctrRx, normalize_space_x_esm(replace_comments_x_esm(methodizedFunctionToString(value), is_function_x_esm_SPACE))); }; var isES6ClassFn = function isES6ClassFunc(value) { @@ -1055,7 +1428,9 @@ var tryFuncToString = function funcToString(value, allowClass) { return false; } - return attempt_x_esm.call(value, fToString).threw === false; + return attempt_x_esm(function attemptee() { + return methodizedFunctionToString(value); + }).threw === false; }; var is_function_x_esm_compareTags = function compareTags(value) { @@ -1073,7 +1448,7 @@ var is_function_x_esm_compareTags = function compareTags(value) { var is_function_x_esm_isFunction = function isFunction(value, allowClass) { - if (is_primitive_default()(value)) { + if (is_primitive_x_esm(value)) { return false; } @@ -1134,7 +1509,7 @@ var toStringSymbolsSupported = function toStringSymbolsSupported(value) { var assert_is_function_x_esm_assertIsFunction = function assertIsFunction(callback, message) { if (is_function_x_esm(callback) === false) { - var msg = arguments.length > 1 ? to_string_symbols_supported_x_esm(message) : "".concat(is_primitive_default()(callback) ? to_string_symbols_supported_x_esm(callback) : '#', " is not a function"); + var msg = arguments.length > 1 ? to_string_symbols_supported_x_esm(message) : "".concat(is_primitive_x_esm(callback) ? to_string_symbols_supported_x_esm(callback) : '#', " is not a function"); throw new TypeError(msg); } @@ -1145,7 +1520,7 @@ var assert_is_function_x_esm_assertIsFunction = function assertIsFunction(callba // EXTERNAL MODULE: ./node_modules/is-date-object/index.js -var is_date_object = __webpack_require__(3); +var is_date_object = __webpack_require__(2); var is_date_object_default = /*#__PURE__*/__webpack_require__.n(is_date_object); // CONCATENATED MODULE: ./node_modules/to-primitive-x/dist/to-primitive-x.esm.js @@ -1156,16 +1531,17 @@ var is_date_object_default = /*#__PURE__*/__webpack_require__.n(is_date_object); -var ZERO = 0; + +var to_primitive_x_esm_ZERO = 0; var ONE = 1; /* eslint-disable-next-line no-void */ -var UNDEFINED = void ZERO; +var UNDEFINED = void to_primitive_x_esm_ZERO; var NUMBER = 'number'; var STRING = 'string'; var DEFAULT = 'default'; var StringCtr = STRING.constructor; -var NumberCtr = ZERO.constructor; +var NumberCtr = to_primitive_x_esm_ZERO.constructor; /* eslint-disable-next-line compat/compat */ var symToPrimitive = has_symbol_support_x_esm && Symbol.toPrimitive; @@ -1194,16 +1570,14 @@ var to_primitive_x_esm_ordinaryToPrimitive = function ordinaryToPrimitive(ordina require_object_coercible_x_esm(ordinary); assertHint(hint); var methodNames = hint === STRING ? toStringOrder : toNumberOrder; - var method; - var result; - for (var i = ZERO; i < orderLength; i += ONE) { - method = ordinary[methodNames[i]]; + for (var i = to_primitive_x_esm_ZERO; i < orderLength; i += ONE) { + var method = ordinary[methodNames[i]]; if (is_function_x_esm(method)) { - result = method.call(ordinary); + var result = simple_call_x_esm(method, ordinary); - if (is_primitive_default()(result)) { + if (is_primitive_x_esm(result)) { return result; } } @@ -1279,9 +1653,9 @@ var to_primitive_x_esm_evalExotic = function evalExotic(obj) { var exoticToPrim = obj.exoticToPrim, input = obj.input, hint = obj.hint; - var result = exoticToPrim.call(input, hint); + var result = simple_call_x_esm(exoticToPrim, input, [hint]); - if (is_primitive_default()(result)) { + if (is_primitive_x_esm(result)) { return result; } @@ -1310,7 +1684,7 @@ var to_primitive_x_esm_evalPrimitive = function evalPrimitive(input, hint) { var to_primitive_x_esm_toPrimitive = function toPrimitive(input, preferredType) { - if (is_primitive_default()(input)) { + if (is_primitive_x_esm(input)) { return input; } @@ -1340,15 +1714,15 @@ var constantNAN = 0 / 0; + var nativeParseInt = parseInt; /** @type {Function} */ -var castNumber = 0 .constructor; // noinspection JSPotentiallyInvalidConstructorUsage - -var _ref = '', - charAt = _ref.charAt; +var castNumber = 0 .constructor; +var BAD_CHAR = "\u180E"; +var methodizedCharAt = simple_methodize_x_esm(BAD_CHAR.charAt); var hexRegex = /^[-+]?0[xX]/; -var parse_int_x_esm_test = hexRegex.test; +var parse_int_x_esm_methodizedTest = simple_methodize_x_esm(hexRegex.test); /** * This method parses a string argument and returns an integer of the specified * radix (the base in mathematical numeral systems). (ES2019). @@ -1370,11 +1744,11 @@ var parse_int_x_esm_test = hexRegex.test; var parse_int_x_esm_$parseInt = function $parseInt(string, radix) { var str = trim_left_x_esm(to_string_x_esm(string)); - if (charAt.call(str, 0) === "\u180E") { + if (methodizedCharAt(str, 0) === BAD_CHAR) { return nan_x_esm; } - return nativeParseInt(str, castNumber(radix) || (parse_int_x_esm_test.call(hexRegex, str) ? 16 : 10)); + return nativeParseInt(str, castNumber(radix) || (parse_int_x_esm_methodizedTest(hexRegex, str) ? 16 : 10)); }; /* harmony default export */ var parse_int_x_esm = (parse_int_x_esm_$parseInt); @@ -1386,38 +1760,39 @@ var parse_int_x_esm_$parseInt = function $parseInt(string, radix) { + var binaryRadix = 2; var octalRadix = 8; var testCharsCount = 2; var to_number_x_esm_ERROR_MESSAGE = 'Cannot convert a Symbol value to a number'; var to_number_x_esm_castNumber = testCharsCount.constructor; -var pStrSlice = to_number_x_esm_ERROR_MESSAGE.slice; +var methodizedStringSlice = simple_methodize_x_esm(to_number_x_esm_ERROR_MESSAGE.slice); var binaryRegex = /^0b[01]+$/i; var RegExpConstructor = binaryRegex.constructor; // Note that in IE 8, RegExp.prototype.test doesn't seem to exist: ie, "test" is // an own property of regexes. wtf. -var to_number_x_esm_test = binaryRegex.test; +var to_number_x_esm_methodizedTest = simple_methodize_x_esm(binaryRegex.test); var isBinary = function isBinary(value) { - return to_number_x_esm_test.call(binaryRegex, value); + return to_number_x_esm_methodizedTest(binaryRegex, value); }; var octalRegex = /^0o[0-7]+$/i; var isOctal = function isOctal(value) { - return to_number_x_esm_test.call(octalRegex, value); + return to_number_x_esm_methodizedTest(octalRegex, value); }; var nonWSregex = new RegExpConstructor("[\x85\u180E\u200B\uFFFE]", 'g'); var hasNonWS = function hasNonWS(value) { - return to_number_x_esm_test.call(nonWSregex, value); + return to_number_x_esm_methodizedTest(nonWSregex, value); }; var invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i; var isInvalidHexLiteral = function isInvalidHexLiteral(value) { - return to_number_x_esm_test.call(invalidHexLiteral, value); + return to_number_x_esm_methodizedTest(invalidHexLiteral, value); }; var to_number_x_esm_assertNotSymbol = function assertNotSymbol(value) { @@ -1429,7 +1804,7 @@ var to_number_x_esm_assertNotSymbol = function assertNotSymbol(value) { }; var to_number_x_esm_parseBase = function parseBase(value, radix) { - return parse_int_x_esm(pStrSlice.call(value, testCharsCount), radix); + return parse_int_x_esm(methodizedStringSlice(value, testCharsCount), radix); }; var parseString = function parseString(toNum, value) { @@ -1618,32 +1993,20 @@ var to_length_x_esm_toLength = function toLength(value) { /* harmony default export */ var to_length_x_esm = (to_length_x_esm_toLength); -// CONCATENATED MODULE: ./node_modules/has-boxed-string-x/dist/has-boxed-string-x.esm.js -var has_boxed_string_x_esm_string = 'a'; -var boxedString = {}.constructor(has_boxed_string_x_esm_string); -/** - * Check failure of by-index access of string characters (IE < 9) - * and failure of `0 in boxedString` (Rhino). - * - * `true` if no failure; otherwise `false`. - * - * @type boolean - */ - -var hasBoxed = boxedString[0] === has_boxed_string_x_esm_string && 0 in boxedString; -/* harmony default export */ var has_boxed_string_x_esm = (hasBoxed); +// CONCATENATED MODULE: ./node_modules/split-if-boxed-bug-x/dist/split-if-boxed-bug-x.esm.js -// EXTERNAL MODULE: ./node_modules/is-string/index.js -var is_string = __webpack_require__(2); -var is_string_default = /*#__PURE__*/__webpack_require__.n(is_string); -// CONCATENATED MODULE: ./node_modules/split-if-boxed-bug-x/dist/split-if-boxed-bug-x.esm.js +var split_if_boxed_bug_x_esm_EMPTY_STRING = ''; +var strSplit = simple_methodize_x_esm(split_if_boxed_bug_x_esm_EMPTY_STRING.split); +var identity = function splitIfBoxedBug(value) { + return value; +}; -var split_if_boxed_bug_x_esm_EMPTY_STRING = ''; -var strSplit = split_if_boxed_bug_x_esm_EMPTY_STRING.split; -var isStringFn = has_boxed_string_x_esm === false && typeof strSplit === 'function' && is_string_default.a; +var split_if_boxed_bug_x_esm_implementation = function splitIfBoxedBug(value) { + return is_string_default()(value) ? strSplit(value, split_if_boxed_bug_x_esm_EMPTY_STRING) : identity(value); +}; /** * This method tests if a value is a string with the boxed bug; splits to an * array for iteration; otherwise returns the original value. @@ -1653,44 +2016,16 @@ var isStringFn = has_boxed_string_x_esm === false && typeof strSplit === 'functi * otherwise the value. */ -var splitIfBoxedBug = function splitIfBoxedBug(value) { - return isStringFn && isStringFn(value) ? strSplit.call(value, split_if_boxed_bug_x_esm_EMPTY_STRING) : value; -}; - -/* harmony default export */ var split_if_boxed_bug_x_esm = (splitIfBoxedBug); +var $splitIfBoxedBug = has_boxed_string_x_esm ? identity : split_if_boxed_bug_x_esm_implementation; +/* harmony default export */ var split_if_boxed_bug_x_esm = ($splitIfBoxedBug); // CONCATENATED MODULE: ./node_modules/array-any-x/dist/array-any-x.esm.js -function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } - -function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } - -function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } - -function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } - - - -var performCallback = function performCallback(args) { - var _args = _slicedToArray(args, 6), - noThis = _args[0], - thisArg = _args[1], - callBack = _args[2], - iterable = _args[3], - index = _args[4], - object = _args[5]; - var item = iterable[index]; - return noThis ? callBack(item, index, object) : callBack.call(thisArg, item, index, object); -}; - -var array_any_x_esm_getIterableLengthPair = function getIterableLengthPair(object) { - var iterable = split_if_boxed_bug_x_esm(object); - return [iterable, to_length_x_esm(iterable.length)]; -}; // eslint-disable jsdoc/check-param-names + // eslint-disable jsdoc/check-param-names // noinspection JSCommentMatchesSignature /** @@ -1708,27 +2043,21 @@ var array_any_x_esm_getIterableLengthPair = function getIterableLengthPair(objec */ // eslint-enable jsdoc/check-param-names - var array_any_x_esm_any = function any(array, callBack /* , thisArg */ ) { var object = to_object_x_esm(array); // If no callback function or if callback is not a callable function assert_is_function_x_esm(callBack); - - var _getIterableLengthPai = array_any_x_esm_getIterableLengthPair(object), - _getIterableLengthPai2 = _slicedToArray(_getIterableLengthPai, 2), - iterable = _getIterableLengthPai2[0], - length = _getIterableLengthPai2[1]; - /* eslint-disable-next-line prefer-rest-params,no-void */ - - - var thisArg = arguments.length > 2 ? arguments[2] : void 0; - var noThis = typeof thisArg === 'undefined'; + var iterable = split_if_boxed_bug_x_esm(object); + var length = to_length_x_esm(iterable.length); if (length) { + /* eslint-disable-next-line prefer-rest-params */ + var thisArg = arguments[2]; + for (var index = 0; index < length; index += 1) { - if (performCallback([noThis, thisArg, callBack, iterable, index, object])) { + if (simple_call_x_esm(callBack, thisArg, [iterable[index], index, object])) { return true; } } @@ -1741,6 +2070,7 @@ var array_any_x_esm_any = function any(array, callBack // CONCATENATED MODULE: ./node_modules/array-all-x/dist/array-all-x.esm.js + // eslint-disable jsdoc/check-param-names // noinspection JSCommentMatchesSignature @@ -1759,14 +2089,12 @@ var array_any_x_esm_any = function any(array, callBack var array_all_x_esm_all = function all(array, callBack /* , thisArg */ ) { - var iteratee = function iteratee() { + array_any_x_esm(array, function iteratee() { /* eslint-disable-next-line prefer-rest-params,babel/no-invalid-this */ - callBack.call(this, arguments[0], arguments[1], arguments[2]); - }; + simple_call_x_esm(callBack, this, arguments); + }, /* eslint-disable-next-line prefer-rest-params */ - - - array_any_x_esm(array, iteratee, arguments[2]); + arguments[2]); }; /* harmony default export */ var array_all_x_esm = (array_all_x_esm_all); @@ -1787,50 +2115,62 @@ function array_filter_x_esm_arrayWithHoles(arr) { if (Array.isArray(arr)) return + + var nf = [].filter; -var nativeFilter = typeof nf === 'function' && nf; +var nativeFilter = typeof nf === 'function' && simple_methodize_x_esm(nf); var array_filter_x_esm_test1 = function test1() { var spy = 0; - var res = attempt_x_esm.call([1, 2], nativeFilter, function spyAdd1(item) { - spy += item; - return false; + var res = attempt_x_esm(function attemptee() { + return nativeFilter([1, 2], function spyAdd1(item) { + spy += item; + return false; + }); }); return res.threw === false && res.value && res.value.length === 0 && spy === 3; }; var array_filter_x_esm_test2 = function test2() { var spy = ''; - var res = attempt_x_esm.call(to_object_x_esm('abc'), nativeFilter, function spyAdd2(item, index) { - spy += item; - return index === 1; + var res = attempt_x_esm(function attemptee() { + return nativeFilter(to_object_x_esm('abc'), function spyAdd2(item, index) { + spy += item; + return index === 1; + }); }); return res.threw === false && res.value && res.value.length === 1 && res.value[0] === 'b' && spy === 'abc'; }; var array_filter_x_esm_test3 = function test3() { var spy = 0; - var res = attempt_x_esm.call(function getArgs() { - /* eslint-disable-next-line prefer-rest-params */ - return arguments; - }(1, 2, 3), nativeFilter, function spyAdd3(item, index) { - spy += item; - return index === 2; + var res = attempt_x_esm(function attemptee() { + var args = function getArgs() { + /* eslint-disable-next-line prefer-rest-params */ + return arguments; + }(1, 2, 3); + + return nativeFilter(args, function spyAdd3(item, index) { + spy += item; + return index === 2; + }); }); return res.threw === false && res.value && res.value.length === 1 && res.value[0] === 3 && spy === 6; }; var array_filter_x_esm_test4 = function test4() { var spy = 0; - var res = attempt_x_esm.call({ - 0: 1, - 1: 2, - 3: 3, - 4: 4, - length: 4 - }, nativeFilter, function spyAdd4(item) { - spy += item; - return false; + var res = attempt_x_esm(function attemptee() { + return nativeFilter({ + 0: 1, + 1: 2, + 3: 3, + 4: 4, + length: 4 + }, function spyAdd4(item) { + spy += item; + return false; + }); }); return res.threw === false && res.value && res.value.length === 0 && spy === 6; }; @@ -1844,17 +2184,19 @@ var getTest5Result = function getTest5Result(args) { return res.threw === false && res.value && res.value.length === 1 && res.value[0] === div && spy === div; }; -var array_filter_x_esm_test5 = function test5() { - var doc = typeof document !== 'undefined' && document; +var doc = typeof document !== 'undefined' && document; +var array_filter_x_esm_test5 = function test5() { if (doc) { var spy = null; var fragment = doc.createDocumentFragment(); var div = doc.createElement('div'); fragment.appendChild(div); - var res = attempt_x_esm.call(fragment.childNodes, nativeFilter, function spyAssign(item) { - spy = item; - return item; + var res = attempt_x_esm(function attemptee() { + return nativeFilter(fragment.childNodes, function spyAssign(item) { + spy = item; + return item; + }); }); return getTest5Result([res, div, spy]); } @@ -1862,12 +2204,12 @@ var array_filter_x_esm_test5 = function test5() { return true; }; -var array_filter_x_esm_test6 = function test6() { - var isStrict = function returnIsStrict() { - /* eslint-disable-next-line babel/no-invalid-this */ - return to_boolean_x_esm(this) === false; - }(); +var isStrict = function returnIsStrict() { + /* eslint-disable-next-line babel/no-invalid-this */ + return to_boolean_x_esm(this) === false; +}(); +var array_filter_x_esm_test6 = function test6() { if (isStrict) { var spy = null; @@ -1876,7 +2218,9 @@ var array_filter_x_esm_test6 = function test6() { spy = typeof this === 'string'; }; - var res = attempt_x_esm.call([1], nativeFilter, testThis, 'x'); + var res = attempt_x_esm(function attemptee() { + return nativeFilter([1], testThis, 'x'); + }); return res.threw === false && res.value && res.value.length === 0 && spy === true; } @@ -1885,30 +2229,24 @@ var array_filter_x_esm_test6 = function test6() { var array_filter_x_esm_test7 = function test7() { var spy = {}; - var fn = 'return nativeFilter.call("foo", function (_, __, context) {' + 'if (castBoolean(context) === false || typeof context !== "object") {' + 'spy.value = true;}});'; - /* eslint-disable-next-line no-new-func */ - - var res = attempt_x_esm(Function('nativeFilter', 'spy', 'castBoolean', fn), nativeFilter, spy, to_boolean_x_esm); + var fn = 'return nativeFilter("foo", function (_, __, context) {' + 'if (castBoolean(context) === false || typeof context !== "object") {' + 'spy.value = true;}});'; + var res = attempt_x_esm(function attemptee() { + /* eslint-disable-next-line no-new-func */ + return Function('nativeFilter', 'spy', 'castBoolean', fn)(nativeFilter, spy, to_boolean_x_esm); + }); return res.threw === false && res.value && res.value.length === 0 && spy.value !== true; }; -var isWorking = to_boolean_x_esm(nativeFilter) && array_filter_x_esm_test1() && array_filter_x_esm_test2() && array_filter_x_esm_test3() && array_filter_x_esm_test4() && array_filter_x_esm_test5() && array_filter_x_esm_test6() && array_filter_x_esm_test7(); +var array_filter_x_esm_isWorking = to_boolean_x_esm(nativeFilter) && array_filter_x_esm_test1() && array_filter_x_esm_test2() && array_filter_x_esm_test3() && array_filter_x_esm_test4() && array_filter_x_esm_test5() && array_filter_x_esm_test6() && array_filter_x_esm_test7(); var patchedFilter = function filter(array, callBack /* , thisArg */ ) { - require_object_coercible_x_esm(array); - var args = [assert_is_function_x_esm(callBack)]; - - if (arguments.length > 2) { - /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */ - args[1] = arguments[2]; - } - - return nativeFilter.apply(array, args); + /* eslint-disable-next-line prefer-rest-params, */ + return nativeFilter(require_object_coercible_x_esm(array), assert_is_function_x_esm(callBack), arguments[2]); }; -var implementation = function filter(array, callBack +var array_filter_x_esm_implementation = function filter(array, callBack /* , thisArg */ ) { var object = to_object_x_esm(array); // If no callback function or if callback is not a callable function @@ -1926,7 +2264,7 @@ var implementation = function filter(array, callBack var item = arguments[0]; /* eslint-disable-next-line babel/no-invalid-this */ - if (callBack.call(this, item, i, object)) { + if (simple_call_x_esm(callBack, this, [item, i, object])) { result[result.length] = item; } } @@ -1949,12 +2287,13 @@ var implementation = function filter(array, callBack * @returns {Array} A new array with the elements that pass the test. */ -var $filter = isWorking ? patchedFilter : implementation; +var $filter = array_filter_x_esm_isWorking ? patchedFilter : array_filter_x_esm_implementation; /* harmony default export */ var array_filter_x_esm = ($filter); // CONCATENATED MODULE: ./node_modules/array-reduce-x/dist/array-reduce-x.esm.js -function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +function array_reduce_x_esm_typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { array_reduce_x_esm_typeof = function _typeof(obj) { return typeof obj; }; } else { array_reduce_x_esm_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return array_reduce_x_esm_typeof(obj); } + @@ -1964,58 +2303,69 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat var natRed = [].reduce; -var nativeReduce = typeof natRed === 'function' && natRed; +var nativeReduce = typeof natRed === 'function' && simple_methodize_x_esm(natRed); var array_reduce_x_esm_test1 = function test1() { - return attempt_x_esm.call([], nativeReduce, function attemptee(acc) { - return acc; + return attempt_x_esm(function attemptee() { + return nativeReduce([], function iteratee(acc) { + return acc; + }); }).threw; }; var array_reduce_x_esm_test2 = function test2() { - var res = attempt_x_esm.call(to_object_x_esm('abc'), nativeReduce, function attemptee(acc, c) { - return acc + c; - }, 'x'); + var res = attempt_x_esm(function attemptee() { + return nativeReduce(to_object_x_esm('abc'), function iteratee(acc, c) { + return acc + c; + }, 'x'); + }); return res.threw === false && res.value === 'xabc'; }; -var array_reduce_x_esm_test3 = function test3() { - var res = attempt_x_esm.call(function getArgs() { - /* eslint-disable-next-line prefer-rest-params */ - return arguments; - }(1, 2, 3), nativeReduce, function attempte(acc, arg) { - return acc + arg; - }, 1); +var array_reduce_x_esm_test3 = function test3() { + var res = attempt_x_esm(function attemptee() { + var args = function getArgs() { + /* eslint-disable-next-line prefer-rest-params */ + return arguments; + }(1, 2, 3); + + return nativeReduce(args, function iteratee(acc, arg) { + return acc + arg; + }, 1); + }); return res.threw === false && res.value === 7; }; var array_reduce_x_esm_test4 = function test4() { - var res = attempt_x_esm.call({ - 0: 1, - 1: 2, - 3: 3, - 4: 4, - length: 4 - }, nativeReduce, function attempte(acc, arg) { - return acc + arg; - }, 2); + var res = attempt_x_esm(function attemptee() { + return nativeReduce({ + 0: 1, + 1: 2, + 3: 3, + 4: 4, + length: 4 + }, function iteratee(acc, arg) { + return acc + arg; + }, 2); + }); return res.threw === false && res.value === 8; }; -var array_reduce_x_esm_test5 = function test5() { - var doc = typeof document !== 'undefined' && document; - - if (doc) { - var fragment = doc.createDocumentFragment(); - var div = doc.createElement('div'); - fragment.appendChild(div); +var array_reduce_x_esm_doc = typeof document !== 'undefined' && document; - var atemptee = function attempte(acc, node) { - acc[acc.length] = node; - return acc; - }; +var iteratee5 = function iteratee5(acc, node) { + acc[acc.length] = node; + return acc; +}; - var res = attempt_x_esm.call(fragment.childNodes, nativeReduce, atemptee, []); +var array_reduce_x_esm_test5 = function test5() { + if (array_reduce_x_esm_doc) { + var fragment = array_reduce_x_esm_doc.createDocumentFragment(); + var div = array_reduce_x_esm_doc.createElement('div'); + fragment.appendChild(div); + var res = attempt_x_esm(function attemptee() { + return nativeReduce(fragment.childNodes, iteratee5, []); + }); return res.threw === false && res.value.length === 1 && res.value[0] === div; } @@ -2023,11 +2373,13 @@ var array_reduce_x_esm_test5 = function test5() { }; var array_reduce_x_esm_test6 = function test6() { - var res = attempt_x_esm.call('ab', nativeReduce, function attempte() { - /* eslint-disable-next-line prefer-rest-params */ - return arguments[3]; + var res = attempt_x_esm(function attemptee() { + return nativeReduce('ab', function iteratee() { + /* eslint-disable-next-line prefer-rest-params */ + return arguments[3]; + }); }); - return res.threw === false && _typeof(res.value) === 'object'; + return res.threw === false && array_reduce_x_esm_typeof(res.value) === 'object'; }; // ES5 15.4.4.21 // http://es5.github.com/#x15.4.4.21 // https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduce @@ -2039,14 +2391,10 @@ var patchedReduce = function reduce(array, callBack /* , initialValue */ ) { require_object_coercible_x_esm(array); - var args = [assert_is_function_x_esm(callBack)]; - - if (arguments.length > 2) { - /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */ - args[1] = arguments[2]; - } + assert_is_function_x_esm(callBack); + /* eslint-disable-next-line prefer-rest-params */ - return nativeReduce.apply(array, args); + return arguments.length > 2 ? nativeReduce(array, callBack, arguments[2]) : nativeReduce(array, callBack); }; var array_reduce_x_esm_implementation = function reduce(array, callBack @@ -2125,65 +2473,79 @@ var $reduce = array_reduce_x_esm_isWorking ? patchedReduce : array_reduce_x_esm_ + + var ns = [].some; -var nativeSome = typeof ns === 'function' && ns; +var nativeSome = typeof ns === 'function' && simple_methodize_x_esm(ns); var array_some_x_esm_test1 = function test1() { var spy = 0; - var res = attempt_x_esm.call([1, 2], nativeSome, function spyAdd1(item) { - spy += item; - return false; + var res = attempt_x_esm(function attemptee() { + return nativeSome([1, 2], function spyAdd1(item) { + spy += item; + return false; + }); }); return res.threw === false && res.value === false && spy === 3; }; var array_some_x_esm_test2 = function test2() { var spy = ''; - var res = attempt_x_esm.call(to_object_x_esm('abc'), nativeSome, function spyAdd2(item, index) { - spy += item; - return index === 1; + var res = attempt_x_esm(function attemptee() { + return nativeSome(to_object_x_esm('abc'), function spyAdd2(item, index) { + spy += item; + return index === 1; + }); }); return res.threw === false && res.value === true && spy === 'ab'; }; var array_some_x_esm_test3 = function test3() { var spy = 0; - var res = attempt_x_esm.call(function getArgs() { - /* eslint-disable-next-line prefer-rest-params */ - return arguments; - }(1, 2, 3), nativeSome, function spyAdd3(item, index) { - spy += item; - return index === 2; + var res = attempt_x_esm(function attemptee() { + var args = function getArgs() { + /* eslint-disable-next-line prefer-rest-params */ + return arguments; + }(1, 2, 3); + + return nativeSome(args, function spyAdd3(item, index) { + spy += item; + return index === 2; + }); }); return res.threw === false && res.value === true && spy === 6; }; var array_some_x_esm_test4 = function test4() { var spy = 0; - var res = attempt_x_esm.call({ - 0: 1, - 1: 2, - 3: 3, - 4: 4, - length: 4 - }, nativeSome, function spyAdd4(item) { - spy += item; - return false; + var res = attempt_x_esm(function attemptee() { + return nativeSome({ + 0: 1, + 1: 2, + 3: 3, + 4: 4, + length: 4 + }, function spyAdd4(item) { + spy += item; + return false; + }); }); return res.threw === false && res.value === false && spy === 6; }; -var array_some_x_esm_test5 = function test5() { - var doc = typeof document !== 'undefined' && document; +var array_some_x_esm_doc = typeof document !== 'undefined' && document; - if (doc) { +var array_some_x_esm_test5 = function test5() { + if (array_some_x_esm_doc) { var spy = null; - var fragment = doc.createDocumentFragment(); - var div = doc.createElement('div'); + var fragment = array_some_x_esm_doc.createDocumentFragment(); + var div = array_some_x_esm_doc.createElement('div'); fragment.appendChild(div); - var res = attempt_x_esm.call(fragment.childNodes, nativeSome, function spyAssign(item) { - spy = item; - return item; + var res = attempt_x_esm(function attemptee() { + return nativeSome(fragment.childNodes, function spyAssign(item) { + spy = item; + return item; + }); }); return res.threw === false && res.value === true && spy === div; } @@ -2191,13 +2553,13 @@ var array_some_x_esm_test5 = function test5() { return true; }; -var array_some_x_esm_test6 = function test6() { - var isStrict = function getIsStrict() { - /* eslint-disable-next-line babel/no-invalid-this */ - return to_boolean_x_esm(this) === false; - }(); +var array_some_x_esm_isStrict = function getIsStrict() { + /* eslint-disable-next-line babel/no-invalid-this */ + return to_boolean_x_esm(this) === false; +}(); - if (isStrict) { +var array_some_x_esm_test6 = function test6() { + if (array_some_x_esm_isStrict) { var spy = null; var thisTest = function thisTest() { @@ -2205,7 +2567,9 @@ var array_some_x_esm_test6 = function test6() { spy = typeof this === 'string'; }; - var res = attempt_x_esm.call([1], nativeSome, thisTest, 'x'); + var res = attempt_x_esm(function attemptee() { + return nativeSome([1], thisTest, 'x'); + }); return res.threw === false && res.value === false && spy === true; } @@ -2214,27 +2578,22 @@ var array_some_x_esm_test6 = function test6() { var array_some_x_esm_test7 = function test7() { var spy = {}; - var fn = 'return nativeSome.call("foo", function (_, __, context) {' + 'if (castBoolean(context) === false || typeof context !== "object") {' + 'spy.value = true;}});'; - /* eslint-disable-next-line no-new-func */ - - var res = attempt_x_esm(Function('nativeSome', 'spy', 'castBoolean', fn), nativeSome, spy, to_boolean_x_esm); + var fn = 'return nativeSome("foo", function (_, __, context) {' + 'if (castBoolean(context) === false || typeof context !== "object") {' + 'spy.value = true;}});'; + var res = attempt_x_esm(function attemptee() { + /* eslint-disable-next-line no-new-func */ + return Function('nativeSome', 'spy', 'castBoolean', fn)(nativeSome, spy, to_boolean_x_esm); + }); return res.threw === false && res.value === false && spy.value !== true; }; var array_some_x_esm_isWorking = to_boolean_x_esm(nativeSome) && array_some_x_esm_test1() && array_some_x_esm_test2() && array_some_x_esm_test3() && array_some_x_esm_test4() && array_some_x_esm_test5() && array_some_x_esm_test6() && array_some_x_esm_test7(); +console.log(array_some_x_esm_isWorking); var patchedSome = function some(array, callBack /* , thisArg */ ) { - require_object_coercible_x_esm(array); - var args = [assert_is_function_x_esm(callBack)]; - - if (arguments.length > 2) { - /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */ - args[1] = arguments[2]; - } - - return nativeSome.apply(array, args); + /* eslint-disable-next-line prefer-rest-params */ + return nativeSome(require_object_coercible_x_esm(array), assert_is_function_x_esm(callBack), arguments[2]); }; // ES5 15.4.4.17 // http://es5.github.com/#x15.4.4.17 // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/some @@ -2254,7 +2613,7 @@ var array_some_x_esm_implementation = function some(array, callBack if (i in arguments[2]) { /* eslint-disable-next-line prefer-rest-params,babel/no-invalid-this */ - if (callBack.call(this, arguments[0], i, object)) { + if (simple_call_x_esm(callBack, this, [arguments[0], i, object])) { return true; } } @@ -2532,7 +2891,7 @@ var is_array_like_x_esm_isArrayLike = function isArrayLike(value) { -var getMax = function getMax(a, b) { +var calculate_from_index_x_esm_getMax = function getMax(a, b) { return a >= b ? a : b; }; /** @@ -2554,7 +2913,7 @@ var calculate_from_index_x_esm_calcFromIndex = function calcFromIndex(array, fro } var index = to_integer_x_esm(fromIndex); - return index >= 0 ? index : getMax(0, to_length_x_esm(object.length) + index); + return index >= 0 ? index : calculate_from_index_x_esm_getMax(0, to_length_x_esm(object.length) + index); }; /* harmony default export */ var calculate_from_index_x_esm = (calculate_from_index_x_esm_calcFromIndex); @@ -2574,313 +2933,102 @@ function index_of_x_esm_newArrowCheck(innerThis, boundThis) { if (innerThis !== -var pIndexOf = typeof Array.prototype.indexOf === 'function' && Array.prototype.indexOf; -var index_of_x_esm_isWorking; - -if (pIndexOf) { - var index_of_x_esm_res = attempt_x_esm.call([0, 1], pIndexOf, 1, 2); - index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === -1; - - if (index_of_x_esm_isWorking) { - index_of_x_esm_res = attempt_x_esm.call([0, 1], pIndexOf, 1); - index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === 1; - } - - if (index_of_x_esm_isWorking) { - index_of_x_esm_res = attempt_x_esm.call([0, -0], pIndexOf, -0); - index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === 0; - } - - if (index_of_x_esm_isWorking) { - var index_of_x_esm_testArr = []; - index_of_x_esm_testArr.length = 2; - /* eslint-disable-next-line no-void */ - - index_of_x_esm_testArr[1] = void 0; - /* eslint-disable-next-line no-void */ - - index_of_x_esm_res = attempt_x_esm.call(index_of_x_esm_testArr, pIndexOf, void 0); - index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === 1; - } - - if (index_of_x_esm_isWorking) { - index_of_x_esm_res = attempt_x_esm.call('abc', pIndexOf, 'c'); - index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === 2; - } - - if (index_of_x_esm_isWorking) { - index_of_x_esm_res = attempt_x_esm.call(function getArgs() { - /* eslint-disable-next-line prefer-rest-params */ - return arguments; - }('a', 'b', 'c'), pIndexOf, 'c'); - index_of_x_esm_isWorking = index_of_x_esm_res.threw === false && index_of_x_esm_res.value === 2; - } -} - -if (index_of_x_esm_isWorking !== true) { - pIndexOf = function $pIndexOf(searchElement) { - /* eslint-disable-next-line babel/no-invalid-this */ - var length = to_length_x_esm(this.length); - - if (length < 1) { - return -1; - } - /* eslint-disable-next-line prefer-rest-params */ - - - var i = arguments[1]; - - while (i < length) { - /* eslint-disable-next-line babel/no-invalid-this */ - if (i in this && this[i] === searchElement) { - return i; - } - - i += 1; - } - - return -1; - }; -} -/** - * This method returns an index in the array, if an element in the array - * satisfies the provided testing function. Otherwise -1 is returned. - * - * @private - * @param {Array} array - The array to search. - * @param {*} searchElement - Element to locate in the array. - * @param {number} fromIndex - The index to start the search at. - * @param {Function} extendFn - The comparison function to use. - * @returns {number} Returns index of found element, otherwise -1. - */ - - -var findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extendFn) { - var fIdx = fromIndex; - var length = to_length_x_esm(array.length); - - while (fIdx < length) { - if (fIdx in array && extendFn(array[fIdx], searchElement)) { - return fIdx; - } - - fIdx += 1; - } - - return -1; -}; // eslint-disable jsdoc/check-param-names -// noinspection JSCommentMatchesSignature - -/** - * This method returns the first index at which a given element can be found - * in the array, or -1 if it is not present. - * - * @param {Array} array - The array to search. - * @throws {TypeError} If `array` is `null` or `undefined`. - * @param {*} searchElement - Element to locate in the `array`. - * @param {number} [fromIndex] - The index to start the search at. If the - * index is greater than or equal to the array's length, -1 is returned, - * which means the array will not be searched. If the provided index value is - * a negative number, it is taken as the offset from the end of the array. - * Note: if the provided index is negative, the array is still searched from - * front to back. If the calculated index is less than 0, then the whole - * array will be searched. Default: 0 (entire array is searched). - * @param {string} [extend] - Extension type: `SameValue` or `SameValueZero`. - * @returns {number} Returns index of found element, otherwise -1. - */ -// eslint-enable jsdoc/check-param-names - - -var index_of_x_esm_indexOf = function indexOf(array, searchElement) { - var _this = this; - - var object = to_object_x_esm(array); - var iterable = split_if_boxed_bug_x_esm(object); - var length = to_length_x_esm(iterable.length); - - if (length < 1) { - return -1; - } - - var argLength = arguments.length; - /* eslint-disable-next-line prefer-rest-params */ - - var extend = argLength > 2 && argLength > 3 ? arguments[3] : arguments[2]; - var extendFn; - - if (is_string_default()(extend)) { - extend = extend.toLowerCase(); - - if (extend === 'samevalue') { - extendFn = same_value_x_esm; - } else if (extend === 'samevaluezero') { - extendFn = same_value_zero_x_esm; - } - } - - var fromIndex = 0; - - if (extendFn && (searchElement === 0 || is_nan_x_esm(searchElement))) { - if (argLength > 3) { - /* eslint-disable-next-line prefer-rest-params */ - fromIndex = calculate_from_index_x_esm(iterable, arguments[2]); - - if (fromIndex >= length) { - return -1; - } - - if (fromIndex < 0) { - fromIndex = 0; - } - } - - if (fromIndex > 0) { - return findIdxFrom(iterable, searchElement, fromIndex, extendFn); - } - - return find_index_x_esm(iterable, function (element, index) { - index_of_x_esm_newArrowCheck(this, _this); - - return index in iterable && extendFn(searchElement, element); - }.bind(this)); - } - - if (argLength > 3 || argLength > 2 && to_boolean_x_esm(extendFn) === false) { - /* eslint-disable-next-line prefer-rest-params */ - fromIndex = calculate_from_index_x_esm(iterable, arguments[2]); - - if (fromIndex >= length) { - return -1; - } - - if (fromIndex < 0) { - fromIndex = 0; - } - } - - return pIndexOf.call(iterable, searchElement, fromIndex); -}; - -/* harmony default export */ var index_of_x_esm = (index_of_x_esm_indexOf); - - -// CONCATENATED MODULE: ./node_modules/array-includes-x/dist/array-includes-x.esm.js -function array_includes_x_esm_slicedToArray(arr, i) { return array_includes_x_esm_arrayWithHoles(arr) || array_includes_x_esm_iterableToArrayLimit(arr, i) || array_includes_x_esm_nonIterableRest(); } - -function array_includes_x_esm_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } - -function array_includes_x_esm_iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } - -function array_includes_x_esm_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } - - - - - - - - - - - -var ni = [].includes; -var nativeIncludes = typeof ni === 'function' && ni; - -var getArrayLike = function getArrayLike() { - return { - 1: 'a', - 2: NaN, - 3: -0, - length: 5 - }; -}; -var array_includes_x_esm_test1 = function test1() { - return attempt_x_esm.call(null, nativeIncludes, 'a').threw; -}; -var array_includes_x_esm_test2 = function test2() { - var arr = getArrayLike(); - /* eslint-disable-next-line no-void */ +var nio = [].indexOf; +var nativeIndexOf = typeof nio === 'function' && simple_methodize_x_esm(nio); +var mathMax = Math.max; - var res = attempt_x_esm.call(arr, nativeIncludes, void 0, -1); - return res.threw === false && res.value === true; +var index_of_x_esm_test1 = function test1() { + var res = attempt_x_esm(nativeIndexOf, [0, 1], 1, 2); + return res.threw === false && res.value === -1; }; -var array_includes_x_esm_test3 = function test3() { - var arr = getArrayLike(); - var res = attempt_x_esm.call(arr, nativeIncludes, NaN); - return res.threw === false && res.value === true; +var index_of_x_esm_test2 = function test2() { + var res = attempt_x_esm(nativeIndexOf, [0, 1], 1); + return res.threw === false && res.value === 1; }; -var array_includes_x_esm_test4 = function test4() { - var arr = getArrayLike(); - var res = attempt_x_esm.call(arr, nativeIncludes, 0); - return res.threw === false && res.value === true; +var index_of_x_esm_test3 = function test3() { + var res = attempt_x_esm(nativeIndexOf, [0, -0], -0); + return res.threw === false && res.value === 0; }; -var array_includes_x_esm_test5 = function test5() { +var index_of_x_esm_test4 = function test4() { var testArr = []; testArr.length = 2; - testArr[1] = null; /* eslint-disable-next-line no-void */ - var res = attempt_x_esm.call(testArr, nativeIncludes, void 0); - return res.threw === false && res.value === true; + testArr[1] = void 0; + /* eslint-disable-next-line no-void */ + + var res = attempt_x_esm(nativeIndexOf, testArr, void 0); + return res.threw === false && res.value === 1; }; -var array_includes_x_esm_test6 = function test6() { - var res = attempt_x_esm.call('abc', nativeIncludes, 'c'); - return res.threw === false && res.value === true; +var index_of_x_esm_test5 = function test5() { + var res = attempt_x_esm(nativeIndexOf, 'abc', 'c'); + return res.threw === false && res.value === 2; }; -var array_includes_x_esm_test7 = function test7() { - var res = attempt_x_esm.call(function getArgs() { +var index_of_x_esm_test6 = function test6() { + var args = function getArgs() { /* eslint-disable-next-line prefer-rest-params */ return arguments; - }('a', 'b', 'c'), nativeIncludes, 'c'); - return res.threw === false && res.value === true; + }('a', 'b', 'c'); + + var res = attempt_x_esm(nativeIndexOf, args, 'c'); + return res.threw === false && res.value === 2; }; -var array_includes_x_esm_isWorking = to_boolean_x_esm(nativeIncludes) && array_includes_x_esm_test1() && array_includes_x_esm_test2() && array_includes_x_esm_test3() && array_includes_x_esm_test4() && array_includes_x_esm_test5() && array_includes_x_esm_test6() && array_includes_x_esm_test7(); +var index_of_x_esm_isWorking = to_boolean_x_esm(nativeIndexOf) && index_of_x_esm_test1() && index_of_x_esm_test2() && index_of_x_esm_test3() && index_of_x_esm_test4() && index_of_x_esm_test5() && index_of_x_esm_test6(); +var index_of_x_esm_implementation = function indexOf(array, searchElement) { + var object = to_object_x_esm(array); // If no callback function or if callback is not a callable function -var array_includes_x_esm_patchedReduce = function includes(array, searchElement) { - require_object_coercible_x_esm(array); - var args = [searchElement]; + var iterable = split_if_boxed_bug_x_esm(object); + var length = to_length_x_esm(iterable.length); - if (arguments.length > 2) { - /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */ - args[1] = arguments[2]; + if (length === 0) { + return -1; } - return nativeIncludes.apply(array, args); -}; // eslint-disable jsdoc/check-param-names -// noinspection JSCommentMatchesSignature + var i = 0; + + if (arguments.length > 2) { + /* eslint-disable-next-line prefer-rest-params */ + i = to_integer_x_esm(arguments[2]); + } // handle negative indices + + i = i >= 0 ? i : mathMax(0, length + i); + + for (; i < length; i += 1) { + if (i in iterable && iterable[i] === searchElement) { + return i; + } + } + + return -1; +}; +var pIndexOf = index_of_x_esm_isWorking ? nativeIndexOf : index_of_x_esm_implementation; /** * This method returns an index in the array, if an element in the array * satisfies the provided testing function. Otherwise -1 is returned. * * @private - * @param {Array} object - The array to search. + * @param {Array} array - The array to search. * @param {*} searchElement - Element to locate in the array. * @param {number} fromIndex - The index to start the search at. + * @param {Function} extendFn - The comparison function to use. * @returns {number} Returns index of found element, otherwise -1. */ -// eslint-enable jsdoc/check-param-names - - -var array_includes_x_esm_findIdxFrom = function findIndexFrom(args) { - var _args = array_includes_x_esm_slicedToArray(args, 3), - object = _args[0], - searchElement = _args[1], - fromIndex = _args[2]; +var findIdxFrom = function findIndexFrom(array, searchElement, fromIndex, extendFn) { var fIdx = fromIndex; - var length = to_length_x_esm(object.length); + var length = to_length_x_esm(array.length); while (fIdx < length) { - if (same_value_zero_x_esm(object[fIdx], searchElement)) { + if (fIdx in array && extendFn(array[fIdx], searchElement)) { return fIdx; } @@ -2888,354 +3036,292 @@ var array_includes_x_esm_findIdxFrom = function findIndexFrom(args) { } return -1; -}; - -var array_includes_x_esm_runFindIndex = function runFindIndex(obj) { - var iterable = obj.iterable, - args = obj.args, - length = obj.length, - searchElement = obj.searchElement; - var fromIndex = calculate_from_index_x_esm(iterable, args[2]); - - if (fromIndex >= length) { - return -1; - } - - if (fromIndex < 0) { - fromIndex = 0; - } - - return fromIndex > 0 ? array_includes_x_esm_findIdxFrom([iterable, searchElement, fromIndex]) > -1 : find_index_x_esm(iterable, function predicate(element) { - return same_value_zero_x_esm(searchElement, element); - }) > -1; -}; - -var array_includes_x_esm_implementation = function includes(array, searchElement) { - var object = to_object_x_esm(array); - var iterable = split_if_boxed_bug_x_esm(object); - var length = to_length_x_esm(iterable.length); - - if (length < 1) { - return -1; - } - - if (typeof searchElement === 'undefined') { - /* eslint-disable-next-line prefer-rest-params */ - return array_includes_x_esm_runFindIndex({ - iterable: iterable, - args: arguments, - length: length, - searchElement: searchElement - }); - } - /* eslint-disable-next-line prefer-rest-params */ - +}; // eslint-disable jsdoc/check-param-names +// noinspection JSCommentMatchesSignature - return index_of_x_esm(iterable, searchElement, arguments[2], 'samevaluezero') > -1; -}; /** - * This method determines whether an array includes a certain element, - * returning true or false as appropriate. + * This method returns the first index at which a given element can be found + * in the array, or -1 if it is not present. * * @param {Array} array - The array to search. * @throws {TypeError} If `array` is `null` or `undefined`. * @param {*} searchElement - Element to locate in the `array`. - * @param {number} [fromIndex] - The position in this array at which to begin - * searching for searchElement. A negative value searches from the index of - * array.length + fromIndex by asc. Defaults to 0. - * @returns {boolean} `true` if searched element is included; otherwise `false`. - */ - -var $includes = array_includes_x_esm_isWorking ? array_includes_x_esm_patchedReduce : array_includes_x_esm_implementation; -/* harmony default export */ var array_includes_x_esm = ($includes); - - -// CONCATENATED MODULE: ./node_modules/is-primitive-x/dist/is-primitive-x.esm.js -function is_primitive_x_esm_typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { is_primitive_x_esm_typeof = function _typeof(obj) { return typeof obj; }; } else { is_primitive_x_esm_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return is_primitive_x_esm_typeof(obj); } - -/** - * Returns true if the value is a primitive. - * - * @param {*} [val] - The value to test. - * @returns {boolean} True if a primitive, otherwise false.. + * @param {number} [fromIndex] - The index to start the search at. If the + * index is greater than or equal to the array's length, -1 is returned, + * which means the array will not be searched. If the provided index value is + * a negative number, it is taken as the offset from the end of the array. + * Note: if the provided index is negative, the array is still searched from + * front to back. If the calculated index is less than 0, then the whole + * array will be searched. Default: 0 (entire array is searched). + * @param {string} [extend] - Extension type: `SameValue` or `SameValueZero`. + * @returns {number} Returns index of found element, otherwise -1. */ -var isPrimitive = function isPrimitive(val) { - return is_primitive_x_esm_typeof(val) === 'object' ? val === null : typeof val !== 'function'; -}; - -/* harmony default export */ var is_primitive_x_esm = (isPrimitive); - - -// CONCATENATED MODULE: ./node_modules/util-pusher-x/dist/util-pusher-x.esm.js - +// eslint-enable jsdoc/check-param-names -var util_pusher_x_esm_EMPTY_STRING = ''; -var split = util_pusher_x_esm_EMPTY_STRING.split; -var splitter = [util_pusher_x_esm_EMPTY_STRING]; -var util_pusher_x_esm_getIterable = function getIterable(arrayLike) { - // noinspection JSUnresolvedFunction - return is_string_default()(arrayLike) ? split.apply(arrayLike, splitter) : arrayLike; -}; // eslint-disable jsdoc/no-undefined-types -// noinspection JSCommentMatchesSignature +var index_of_x_esm_indexOf = function indexOf(array, searchElement) { + var _this = this; -/** - * This pushes or concatenates into a new or existing array. - * - * @param {Array} arrayLike - The source. - * @param {number} [from=0] - The from source index. - * @param {Array} [target=[]] - The target array. - * @returns {*} The target array. - */ -// eslint-enable jsdoc/no-undefined-types + var object = to_object_x_esm(array); + var iterable = split_if_boxed_bug_x_esm(object); + var length = to_length_x_esm(iterable.length); + if (length < 1) { + return -1; + } -var util_pusher_x_esm_pusher = function pusher(arrayLike, from) { + var argLength = arguments.length; /* eslint-disable-next-line prefer-rest-params */ - var target = arguments.length > 2 ? arguments[2] : []; - if (typeof arrayLike !== 'string' && is_primitive_x_esm(arrayLike)) { - return target; - } + var extend = argLength > 2 && argLength > 3 ? arguments[3] : arguments[2]; + var extendFn; - var iterable = util_pusher_x_esm_getIterable(arrayLike); - var length = iterable.length; + if (is_string_default()(extend)) { + extend = extend.toLowerCase(); - for (var i = from || 0; i < length; i += 1) { - target[target.length] = arrayLike[i]; + if (extend === 'samevalue') { + extendFn = same_value_x_esm; + } else if (extend === 'samevaluezero') { + extendFn = same_value_zero_x_esm; + } } - return target; -}; - -/* harmony default export */ var util_pusher_x_esm = (util_pusher_x_esm_pusher); - - -// CONCATENATED MODULE: ./node_modules/simple-bind-x/dist/simple-bind-x.esm.js -function simple_bind_x_esm_slicedToArray(arr, i) { return simple_bind_x_esm_arrayWithHoles(arr) || simple_bind_x_esm_iterableToArrayLimit(arr, i) || simple_bind_x_esm_nonIterableRest(); } - -function simple_bind_x_esm_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } - -function simple_bind_x_esm_iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } - -function simple_bind_x_esm_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } - - -var simple_bind_x_esm_ERROR_MESSAGE = 'bind called on incompatible '; -var simple_bind_x_esm_object = {}; -var ObjectCtr = simple_bind_x_esm_object.constructor; -var simple_bind_x_esm_toStringTag = simple_bind_x_esm_object.toString; -var funcType = '[object Function]'; -var simple_bind_x_esm_ZERO = 0; -var argsOffset = 2; - -var simple_bind_x_esm_getMax = function getMax(a, b) { - return a >= b ? a : b; -}; - -var simple_bind_x_esm_assertIsFunction = function assertIsFunction(value) { - if (typeof value !== 'function' && simple_bind_x_esm_toStringTag.apply(value) !== funcType) { - throw new TypeError(simple_bind_x_esm_ERROR_MESSAGE + value); - } -}; + var fromIndex = 0; -var boundFns = [function zero(binder) { - return function boundFn() { - /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ - return binder.apply(this, util_pusher_x_esm(arguments)); - }; -}, function one(binder, boundLength) { - return function boundFn(a) { - /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ - return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a])); - }; -}, function two(binder, boundLength) { - return function boundFn(a, b) { - /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ - return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b])); - }; -}, function three(binder, boundLength) { - /* eslint-disable-next-line max-params */ - return function boundFn(a, b, c) { - /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ - return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c])); - }; -}, function four(binder, boundLength) { - /* eslint-disable-next-line max-params */ - return function boundFn(a, b, c, d) { - /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ - return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c, d])); - }; -}, function five(binder, boundLength) { - /* eslint-disable-next-line max-params */ - return function boundFn(a, b, c, d, e) { - /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ - return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c, d, e])); - }; -}, function six(binder, boundLength) { - /* eslint-disable-next-line max-params */ - return function boundFn(a, b, c, d, e, f) { - /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ - return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c, d, e, f])); - }; -}, function seven(binder, boundLength) { - /* eslint-disable-next-line max-params */ - return function boundFn(a, b, c, d, e, f, g) { - /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ - return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c, d, e, f, g])); - }; -}, function eight(binder, boundLength) { - /* eslint-disable-next-line max-params */ - return function boundFn(a, b, c, d, e, f, g, h) { - /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */ - return binder.apply(this, util_pusher_x_esm(arguments, boundLength, [a, b, c, d, e, f, g, h])); - }; -}]; + if (extendFn && (searchElement === 0 || is_nan_x_esm(searchElement))) { + if (argLength > 3) { + /* eslint-disable-next-line prefer-rest-params */ + fromIndex = calculate_from_index_x_esm(iterable, arguments[2]); -var getBoundFn = function getBoundFn(args) { - var _args = simple_bind_x_esm_slicedToArray(args, 3), - binder = _args[0], - target = _args[1], - bindArgs = _args[2]; + if (fromIndex >= length) { + return -1; + } - var boundLength = simple_bind_x_esm_getMax(simple_bind_x_esm_ZERO, target.length - simple_bind_x_esm_getMax(simple_bind_x_esm_ZERO, bindArgs.length - argsOffset)); - var fn = boundFns[boundLength]; - var boundFn = fn ? fn(binder, boundLength) : boundFns[simple_bind_x_esm_ZERO](binder); + if (fromIndex < 0) { + fromIndex = 0; + } + } - if (target.prototype) { - /* eslint-disable-next-line lodash/prefer-noop */ - var Empty = function Empty() {}; + if (fromIndex > 0) { + return findIdxFrom(iterable, searchElement, fromIndex, extendFn); + } - Empty.prototype = target.prototype; - boundFn.prototype = new Empty(); - Empty.prototype = null; + return find_index_x_esm(iterable, function (element, index) { + index_of_x_esm_newArrowCheck(this, _this); + + return index in iterable && extendFn(searchElement, element); + }.bind(this)); } - return boundFn; + if (argLength > 3 || argLength > 2 && to_boolean_x_esm(extendFn) === false) { + /* eslint-disable-next-line prefer-rest-params */ + fromIndex = calculate_from_index_x_esm(iterable, arguments[2]); + + if (fromIndex >= length) { + return -1; + } + + if (fromIndex < 0) { + fromIndex = 0; + } + } + + return pIndexOf(iterable, searchElement, fromIndex); }; -var getResult = function getResult(target, boundArgs) { - /* eslint-disable-next-line babel/no-invalid-this */ - var result = target.apply(this, boundArgs); - /* eslint-disable-next-line babel/no-invalid-this,babel/new-cap */ +/* harmony default export */ var index_of_x_esm = (index_of_x_esm_indexOf); - return ObjectCtr(result) === result ? result : this; -}; // eslint-disable jsdoc/check-param-names -// noinspection JSCommentMatchesSignature -/** - * The bind() method creates a new function that, when called, has its this - * keyword set to the provided value, with a given sequence of arguments - * preceding any provided when the new function is called. - * - * @param {Function} target - The target function. - * @param {*} [thisArg] - The value to be passed as the this parameter to the target - * function when the bound function is called. The value is ignored if the - * bound function is constructed using the new operator. - * @param {...*} [args] - Arguments to prepend to arguments provided to the bound - * function when invoking the target function. - * @throws {TypeError} If target is not a function. - * @returns {Function} The bound function. - */ -// eslint-enable jsdoc/check-param-names +// CONCATENATED MODULE: ./node_modules/array-includes-x/dist/array-includes-x.esm.js +function array_includes_x_esm_slicedToArray(arr, i) { return array_includes_x_esm_arrayWithHoles(arr) || array_includes_x_esm_iterableToArrayLimit(arr, i) || array_includes_x_esm_nonIterableRest(); } +function array_includes_x_esm_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -var simple_bind_x_esm_bind = function bind(target, thisArg) { - simple_bind_x_esm_assertIsFunction(target); - /* eslint-disable-next-line prefer-rest-params */ +function array_includes_x_esm_iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } - var bindArgs = arguments; - var bound; +function array_includes_x_esm_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } - var binder = function binder() { - /* eslint-disable-next-line prefer-rest-params */ - var boundArgs = util_pusher_x_esm(arguments, simple_bind_x_esm_ZERO, util_pusher_x_esm(bindArgs, argsOffset)); - /* eslint-disable-next-line babel/no-invalid-this */ - return this instanceof bound ? getResult.apply(this, [target, boundArgs]) : target.apply(thisArg, boundArgs); + + + + + + + + + + +var ni = [].includes; +var nativeIncludes = typeof ni === 'function' && simple_methodize_x_esm(ni); + +var getArrayLike = function getArrayLike() { + return { + 1: 'a', + 2: NaN, + 3: -0, + length: 5 }; +}; - bound = getBoundFn([binder, target, bindArgs]); - return bound; +var array_includes_x_esm_test1 = function test1() { + return attempt_x_esm(null, nativeIncludes, 'a').threw; }; -/* harmony default export */ var simple_bind_x_esm = (simple_bind_x_esm_bind); +var array_includes_x_esm_test2 = function test2() { + var arr = getArrayLike(); + var res = attempt_x_esm(function attemptee() { + /* eslint-disable-next-line no-void */ + return nativeIncludes(arr, void 0, -1); + }); + return res.threw === false && res.value === true; +}; +var array_includes_x_esm_test3 = function test3() { + var arr = getArrayLike(); + var res = attempt_x_esm(function attemptee() { + return nativeIncludes(arr, NaN); + }); + return res.threw === false && res.value === true; +}; -// CONCATENATED MODULE: ./node_modules/simple-call-x/dist/simple-call-x.esm.js +var array_includes_x_esm_test4 = function test4() { + var arr = getArrayLike(); + var res = attempt_x_esm(function attemptee() { + return nativeIncludes(arr, 0); + }); + return res.threw === false && res.value === true; +}; +var array_includes_x_esm_test5 = function test5() { + var testArr = []; + testArr.length = 2; + testArr[1] = null; + var res = attempt_x_esm(function attemptee() { + /* eslint-disable-next-line no-void */ + return nativeIncludes(testArr, void 0); + }); + return res.threw === false && res.value === true; +}; -var $TypeError = TypeError; -var nativeApply = simple_bind_x_esm.apply, - nativeCall = simple_bind_x_esm.call; -var $apply = simple_bind_x_esm(nativeCall, nativeApply); -var simple_call_x_esm_toStringTag = simple_bind_x_esm(nativeApply, {}.toString); -var simple_call_x_esm_ERROR_MESSAGE = ' is not a function'; -var simple_call_x_esm_funcType = '[object Function]'; +var array_includes_x_esm_test6 = function test6() { + var res = attempt_x_esm(function attemptee() { + return nativeIncludes('abc', 'c'); + }); + return res.threw === false && res.value === true; +}; -var simple_call_x_esm_assertIsFunction = function assertIsFunction(value) { - if (typeof value !== 'function' && simple_call_x_esm_toStringTag(value) !== simple_call_x_esm_funcType) { - throw new $TypeError(value + simple_call_x_esm_ERROR_MESSAGE); - } +var array_includes_x_esm_test7 = function test7() { + var res = attempt_x_esm(function attemptee() { + var args = function getArgs() { + /* eslint-disable-next-line prefer-rest-params */ + return arguments; + }('a', 'b', 'c'); - return value; + return nativeIncludes(args, 'c'); + }); + return res.threw === false && res.value === true; +}; + +var array_includes_x_esm_isWorking = to_boolean_x_esm(nativeIncludes) && array_includes_x_esm_test1() && array_includes_x_esm_test2() && array_includes_x_esm_test3() && array_includes_x_esm_test4() && array_includes_x_esm_test5() && array_includes_x_esm_test6() && array_includes_x_esm_test7(); + +var array_includes_x_esm_patchedReduce = function includes(array, searchElement) { + /* eslint-disable-next-line prefer-rest-params */ + return nativeIncludes(require_object_coercible_x_esm(array), searchElement, arguments[2]); }; // eslint-disable jsdoc/check-param-names // noinspection JSCommentMatchesSignature /** - * The abstract operation Call is used to call the [[Call]] internal method of a function object. + * This method returns an index in the array, if an element in the array + * satisfies the provided testing function. Otherwise -1 is returned. * - * @function call - * @param {Function} F - The target function. - * @param {*} [V] - The context. - * @param {Array} [args] - Argument to call the function with. - * @throws {TypeError} If target is not a function. - * @returns {*} The the result of invoking the function. - * @see https://www.ecma-international.org/ecma-262/6.0/#sec-call + * @private + * @param {Array} object - The array to search. + * @param {*} searchElement - Element to locate in the array. + * @param {number} fromIndex - The index to start the search at. + * @returns {number} Returns index of found element, otherwise -1. */ // eslint-enable jsdoc/check-param-names -var simple_call_x_esm_call = function call(F, V) { - /* eslint-disable-next-line prefer-rest-params */ - return $apply(simple_call_x_esm_assertIsFunction(F), V, util_pusher_x_esm(arguments[2])); -}; +var array_includes_x_esm_findIdxFrom = function findIndexFrom(args) { + var _args = array_includes_x_esm_slicedToArray(args, 3), + object = _args[0], + searchElement = _args[1], + fromIndex = _args[2]; -/* harmony default export */ var simple_call_x_esm = (simple_call_x_esm_call); + var fIdx = fromIndex; + var length = to_length_x_esm(object.length); + while (fIdx < length) { + if (same_value_zero_x_esm(object[fIdx], searchElement)) { + return fIdx; + } -// CONCATENATED MODULE: ./node_modules/simple-methodize-x/dist/simple-methodize-x.esm.js + fIdx += 1; + } + return -1; +}; -var simple_methodize_x_esm_toStringTag = {}.toString; -var simple_methodize_x_esm_ERROR_MESSAGE = 'methodize called on incompatible '; -var simple_methodize_x_esm_funcType = '[object Function]'; +var array_includes_x_esm_runFindIndex = function runFindIndex(obj) { + var iterable = obj.iterable, + args = obj.args, + length = obj.length, + searchElement = obj.searchElement; + var fromIndex = calculate_from_index_x_esm(iterable, args[2]); -var simple_methodize_x_esm_assertIsFunction = function assertIsFunction(value) { - if (typeof value !== 'function' && simple_call_x_esm(simple_methodize_x_esm_toStringTag, value) !== simple_methodize_x_esm_funcType) { - throw new TypeError(simple_methodize_x_esm_ERROR_MESSAGE + value); + if (fromIndex >= length) { + return -1; } - return value; + if (fromIndex < 0) { + fromIndex = 0; + } + + return fromIndex > 0 ? array_includes_x_esm_findIdxFrom([iterable, searchElement, fromIndex]) > -1 : find_index_x_esm(iterable, function predicate(element) { + return same_value_zero_x_esm(searchElement, element); + }) > -1; }; -/** - * Methodize a prototype method. Compliant to 8 arguments. - * - * @param {Function} prototypeMethod - The prototype method to methodize. - * @throws {TypeError} If target is not a function. - * @returns {Function} The static method. - */ +var array_includes_x_esm_implementation = function includes(array, searchElement) { + var object = to_object_x_esm(array); + var iterable = split_if_boxed_bug_x_esm(object); + var length = to_length_x_esm(iterable.length); -var simple_methodize_x_esm_methodize = function methodize(prototypeMethod) { - simple_methodize_x_esm_assertIsFunction(prototypeMethod); - return function methodized() { + if (length < 1) { + return -1; + } + + if (typeof searchElement === 'undefined') { /* eslint-disable-next-line prefer-rest-params */ - return simple_call_x_esm(prototypeMethod, arguments[0], util_pusher_x_esm(arguments, 1)); - }; + return array_includes_x_esm_runFindIndex({ + iterable: iterable, + args: arguments, + length: length, + searchElement: searchElement + }); + } + /* eslint-disable-next-line prefer-rest-params */ + + + return index_of_x_esm(iterable, searchElement, arguments[2], 'samevaluezero') > -1; }; +/** + * This method determines whether an array includes a certain element, + * returning true or false as appropriate. + * + * @param {Array} array - The array to search. + * @throws {TypeError} If `array` is `null` or `undefined`. + * @param {*} searchElement - Element to locate in the `array`. + * @param {number} [fromIndex] - The position in this array at which to begin + * searching for searchElement. A negative value searches from the index of + * array.length + fromIndex by asc. Defaults to 0. + * @returns {boolean} `true` if searched element is included; otherwise `false`. + */ -/* harmony default export */ var simple_methodize_x_esm = (simple_methodize_x_esm_methodize); +var $includes = array_includes_x_esm_isWorking ? array_includes_x_esm_patchedReduce : array_includes_x_esm_implementation; +/* harmony default export */ var array_includes_x_esm = ($includes); // CONCATENATED MODULE: ./dist/array-intersection-x.esm.js diff --git a/dist/array-intersection-x.js.map b/dist/array-intersection-x.js.map index 2f5261d..1d27fc7 100644 --- a/dist/array-intersection-x.js.map +++ b/dist/array-intersection-x.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://arrayIntersectionX/webpack/universalModuleDefinition","webpack://arrayIntersectionX/webpack/bootstrap","webpack://arrayIntersectionX/./node_modules/is-symbol/index.js","webpack://arrayIntersectionX/./node_modules/is-primitive/index.js","webpack://arrayIntersectionX/./node_modules/is-string/index.js","webpack://arrayIntersectionX/./node_modules/is-date-object/index.js","webpack://arrayIntersectionX/./node_modules/has-symbols/index.js","webpack://arrayIntersectionX/(webpack)/buildin/global.js","webpack://arrayIntersectionX/./node_modules/has-symbols/shams.js","webpack://arrayIntersectionX/../src/attempt-x.js","webpack://arrayIntersectionX/../src/is-nil-x.js","webpack://arrayIntersectionX/../src/require-object-coercible-x.js","webpack://arrayIntersectionX/../src/to-object-x.js","webpack://arrayIntersectionX/../src/to-boolean-x.js","webpack://arrayIntersectionX/../src/to-string-tag-x.js","webpack://arrayIntersectionX/../src/has-symbol-support-x.js","webpack://arrayIntersectionX/../src/has-to-string-tag-x.js","webpack://arrayIntersectionX/../src/to-string-x.js","webpack://arrayIntersectionX/../src/require-coercible-to-string-x.js","webpack://arrayIntersectionX/../src/white-space-x.js","webpack://arrayIntersectionX/../src/trim-left-x.js","webpack://arrayIntersectionX/../src/trim-right-x.js","webpack://arrayIntersectionX/../src/trim-x.js","webpack://arrayIntersectionX/../src/normalize-space-x.js","webpack://arrayIntersectionX/../src/replace-comments-x.js","webpack://arrayIntersectionX/../src/is-function-x.js","webpack://arrayIntersectionX/../src/to-string-symbols-supported-x.js","webpack://arrayIntersectionX/../src/assert-is-function-x.js","webpack://arrayIntersectionX/../src/to-primitive-x.js","webpack://arrayIntersectionX/../src/nan-x.js","webpack://arrayIntersectionX/../src/parse-int-x.js","webpack://arrayIntersectionX/../src/to-number-x.js","webpack://arrayIntersectionX/../src/is-nan-x.js","webpack://arrayIntersectionX/../src/infinity-x.js","webpack://arrayIntersectionX/../src/is-finite-x.js","webpack://arrayIntersectionX/../src/math-sign-x.js","webpack://arrayIntersectionX/../src/to-integer-x.js","webpack://arrayIntersectionX/../src/to-length-x.js","webpack://arrayIntersectionX/../src/has-boxed-string-x.js","webpack://arrayIntersectionX/../src/split-if-boxed-bug-x.js","webpack://arrayIntersectionX/../src/array-any-x.js","webpack://arrayIntersectionX/../src/array-all-x.js","webpack://arrayIntersectionX/../src/array-filter-x.js","webpack://arrayIntersectionX/../src/array-reduce-x.js","webpack://arrayIntersectionX/../src/array-some-x.js","webpack://arrayIntersectionX/../src/same-value-x.js","webpack://arrayIntersectionX/../src/same-value-zero-x.js","webpack://arrayIntersectionX/../src/find-index-x.js","webpack://arrayIntersectionX/../src/is-integer-x.js","webpack://arrayIntersectionX/../src/is-safe-integer-x.js","webpack://arrayIntersectionX/../src/is-length-x.js","webpack://arrayIntersectionX/../src/is-array-like-x.js","webpack://arrayIntersectionX/../src/calculate-from-index-x.js","webpack://arrayIntersectionX/../src/index-of-x.js","webpack://arrayIntersectionX/../src/array-includes-x.js","webpack://arrayIntersectionX/../src/is-primitive-x.js","webpack://arrayIntersectionX/../src/util-pusher-x.js","webpack://arrayIntersectionX/../src/simple-bind-x.js","webpack://arrayIntersectionX/../src/simple-call-x.js","webpack://arrayIntersectionX/../src/simple-methodize-x.js","webpack://arrayIntersectionX/../src/array-intersection-x.js"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;;AAEA;;AAEA;;AAEA;AACA,GAAG;AACH;AACA;AACA,CAAC;AACD,O;QCvDA;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;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AA3B,EAAgC,iBAAM,CAAC,SAAD,EAAY,CAAZ,CAAtC,CAAX;AACD,GAHD;AAID,CAPD;;AASe,2FAAf;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AAEA,IAAM,KAAK,GAAG,sBAAS,CAAC,GAAG,KAAJ,CAAvB;;AAEA,IAAM,+BAAM,GAAG,SAAS,MAAT,CAAgB,KAAhB,EAAuB;AACpC,SAAO,YAAK,CAAC,KAAD,CAAL,KAAiB,KAAxB;AACD,CAFD;;AAIA,IAAM,sCAAa,GAAG,SAAS,aAAT,CAAuB,MAAvB,EAA+B;AACnD,SAAO,SAAS,OAAT,CAAiB,GAAjB,EAAsB,KAAtB,EAA6B;AAClC,QAAM,UAAU,GAAG,gBAAI,CAAC,MAAD,EAAS,SAAS,OAAT,CAAiB,KAAjB,EAAwB;AACtD,aAAO,oBAAa,CAAC,KAAD,EAAQ,KAAR,CAAb,KAAgC,KAAvC;AACD,KAFsB,CAAvB;;AAIA,QAAI,UAAU,KAAK,KAAf,IAAwB,oBAAa,CAAC,GAAD,EAAM,KAAN,CAAb,KAA8B,KAA1D,EAAiE;AAC/D,SAAG,CAAC,GAAG,CAAC,MAAL,CAAH,GAAkB,KAAlB;AACD;;AAED,WAAO,GAAP;AACD,GAVD;AAWD,CAZD,C,CAcA;AACA;;AACA;;;;;;;;AAQA;;;AACA,IAAM,qCAAY,GAAG,SAAS,YAAT,GAAwB;AAC3C;AACA,MAAM,MAAM,GAAG,kBAAM,CAAC,SAAD,EAAY,+BAAZ,CAArB;AACA,MAAM,MAAM,GAAG,EAAf;AAEA,SAAO,MAAM,CAAC,MAAP,GAAgB,CAAhB,GAAoB,MAApB,GAA6B,kBAAM,CAAC,KAAK,CAAC,MAAD,CAAN,EAAgB,sCAAa,CAAC,MAAD,CAA7B,EAAuC,MAAvC,CAA1C;AACD,CAND;;AAQe,mIAAf","file":"array-intersection-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[\"arrayIntersectionX\"] = factory();\n\telse\n\t\troot[\"arrayIntersectionX\"] = factory();\n})((function () {\n 'use strict';\n\n var ObjectCtr = {}.constructor;\n var objectPrototype = ObjectCtr.prototype;\n var defineProperty = ObjectCtr.defineProperty;\n var $globalThis;\n var getGlobalFallback = function() {\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 void 0;\n };\n\n var returnThis = function() {\n return this;\n };\n\n try {\n if (defineProperty) {\n defineProperty(objectPrototype, '$$globalThis$$', {\n get: returnThis,\n configurable: true\n });\n } else {\n objectPrototype.__defineGetter__('$$globalThis$$', returnThis);\n }\n\n $globalThis = typeof $$globalThis$$ === 'undefined' ? getGlobalFallback() : $$globalThis$$;\n\n delete objectPrototype.$$globalThis$$;\n\n return $globalThis;\n } catch (error) {\n return getGlobalFallback();\n }\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 = 7);\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","/*!\n * is-primitive \n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function isPrimitive(val) {\n if (typeof val === 'object') {\n return val === null;\n }\n return typeof val !== 'function';\n};\n","'use strict';\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') { return true; }\n\tif (typeof value !== 'object') { return false; }\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateObject(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) { return false; }\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","'use strict';\n\nvar origSymbol = global.Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\n\n/* eslint complexity: [2, 17], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","/**\n * This method 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 * Checks if `value` is `null` or `undefined`.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n */\nconst isNil = function isNil(value) {\n /* eslint-disable-next-line lodash/prefer-is-nil */\n return value === null || typeof value === 'undefined';\n};\n\nexport default isNil;\n","import isNil from 'is-nil-x';\n\n/**\n * The abstract operation RequireObjectCoercible throws an error if argument\n * is a value that cannot be converted to an Object using ToObject.\n *\n * @param {*} [value] - The `value` to check.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {string} The `value`.\n */\nconst requireObjectCoercible = function requireObjectCoercible(value) {\n if (isNil(value)) {\n throw new TypeError(`Cannot call method on ${value}`);\n }\n\n return value;\n};\n\nexport default requireObjectCoercible;\n","import requireObjectCoercible from 'require-object-coercible-x';\n\nconst castObject = {}.constructor;\n\n/**\n * The abstract operation ToObject converts argument to a value of\n * type Object.\n *\n * @param {*} value - The `value` to convert.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {!object} The `value` converted to an object.\n */\nconst toObject = function toObject(value) {\n return castObject(requireObjectCoercible(value));\n};\n\nexport default toObject;\n","/**\n * 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","const nativeObjectToString = {}.toString;\n\n/**\n * The `toStringTag` method returns \"[object type]\", where type is the\n * object type.\n *\n * @param {*} [value] - The object of which to get the object type string.\n * @returns {string} The object type string.\n */\nconst toStringTag = function toStringTag(value) {\n if (value === null) {\n return '[object Null]';\n }\n\n if (typeof value === 'undefined') {\n return '[object Undefined]';\n }\n\n return nativeObjectToString.call(value);\n};\n\nexport default toStringTag;\n","import 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","import isSymbol from 'is-symbol';\n\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a string';\nconst castString = ERROR_MESSAGE.constructor;\n/**\n * The abstract operation ToString converts argument to a value of type String.\n *\n * @param {*} [value] - The value to convert to a string.\n * @throws {TypeError} If `value` is a Symbol.\n * @returns {string} The converted value.\n */\nconst ToString = function ToString(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return castString(value);\n};\n\nexport default ToString;\n","import requireObjectCoercible from 'require-object-coercible-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method requires an argument is corecible then converts using ToString.\n *\n * @param {*} [value] - The value to converted to a string.\n * @throws {TypeError} If value is null or undefined.\n * @returns {string} The value as a string.\n */\nconst requireCoercibleToString = function requireCoercibleToString(value) {\n return toStr(requireObjectCoercible(value));\n};\n\nexport default requireCoercibleToString;\n","/**\n * A record of a white space character.\n *\n * @typedef {object} CharRecord\n * @property {number} code - The character code.\n * @property {string} description - A description of the character.\n * @property {boolean} es5 - Whether the spec lists this as a white space.\n * @property {boolean} es2015 - Whether the spec lists this as a white space.\n * @property {boolean} es2016 - Whether the spec lists this as a white space.\n * @property {boolean} es2017 - Whether the spec lists this as a white space.\n * @property {boolean} es2018 - Whether the spec lists this as a white space.\n * @property {string} string - The character string.\n */\n\n/**\n * An array of the whitespace char codes, string, descriptions and language\n * presence in the specifications.\n *\n * @type Array.\n */\nexport const list = [\n {\n code: 0x0009,\n description: 'Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0009',\n },\n {\n code: 0x000a,\n description: 'Line Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000a',\n },\n {\n code: 0x000b,\n description: 'Vertical Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000b',\n },\n {\n code: 0x000c,\n description: 'Form Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000c',\n },\n {\n code: 0x000d,\n description: 'Carriage Return',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000d',\n },\n {\n code: 0x0020,\n description: 'Space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0020',\n },\n /*\n {\n code: 0x0085,\n description: 'Next line',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u0085'\n }\n */\n {\n code: 0x00a0,\n description: 'No-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u00a0',\n },\n {\n code: 0x1680,\n description: 'Ogham space mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u1680',\n },\n {\n code: 0x180e,\n description: 'Mongolian vowel separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: false,\n es2018: false,\n string: '\\u180e',\n },\n {\n code: 0x2000,\n description: 'En quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2000',\n },\n {\n code: 0x2001,\n description: 'Em quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2001',\n },\n {\n code: 0x2002,\n description: 'En space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2002',\n },\n {\n code: 0x2003,\n description: 'Em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2003',\n },\n {\n code: 0x2004,\n description: 'Three-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2004',\n },\n {\n code: 0x2005,\n description: 'Four-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2005',\n },\n {\n code: 0x2006,\n description: 'Six-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2006',\n },\n {\n code: 0x2007,\n description: 'Figure space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2007',\n },\n {\n code: 0x2008,\n description: 'Punctuation space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2008',\n },\n {\n code: 0x2009,\n description: 'Thin space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2009',\n },\n {\n code: 0x200a,\n description: 'Hair space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u200a',\n },\n /*\n {\n code: 0x200b,\n description: 'Zero width space',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u200b'\n },\n */\n {\n code: 0x2028,\n description: 'Line separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2028',\n },\n {\n code: 0x2029,\n description: 'Paragraph separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2029',\n },\n {\n code: 0x202f,\n description: 'Narrow no-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u202f',\n },\n {\n code: 0x205f,\n description: 'Medium mathematical space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u205f',\n },\n {\n code: 0x3000,\n description: 'Ideographic space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u3000',\n },\n {\n code: 0xfeff,\n description: 'Byte Order Mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\ufeff',\n },\n];\n\n/**\n * A string of the ES5 to ES2016 whitespace characters.\n *\n * @type string\n */\nlet stringES2016 = '';\n\n/**\n * A string of the ES2017 to ES2018 whitespace characters.\n *\n * @type string\n */\nlet stringES2018 = '';\nconst {length} = list;\nfor (let i = 0; i < length; i += 1) {\n if (list[i].es2016) {\n stringES2016 += list[i].string;\n }\n\n if (list[i].es2018) {\n stringES2018 += list[i].string;\n }\n}\n\nconst string2018 = stringES2018;\n\nexport default string2018;\nexport const string2016 = stringES2016;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace 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 hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/* eslint-disable-next-line compat/compat */\nconst pToString = hasSymbols && Symbol.prototype.toString;\nconst isSymbolFn = typeof pToString === 'function' && isSymbol;\n/** @type {Function} */\nconst castString = ''.constructor;\n\n/**\n * The abstract operation ToString converts argument to a value of type String,\n * however the specification states that if the argument is a Symbol then a\n * 'TypeError' is thrown. This version also allows Symbols be converted to\n * a string. Other uncoercible exotics will still throw though.\n *\n * @param {*} [value] - The value to convert to a string.\n * @returns {string} The converted value.\n */\nconst toStringSymbolsSupported = function toStringSymbolsSupported(value) {\n return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value);\n};\n\nexport default toStringSymbolsSupported;\n","import isFunction from 'is-function-x';\nimport safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Tests `callback` to see if it is a function, throws a `TypeError` if it is\n * not. Otherwise returns the `callback`.\n *\n * @param {*} callback - The argument to be tested.\n * @param {string} [message] - An alternative user message.\n * @throws {TypeError} Throws if `callback` is not a function.\n * @returns {*} Returns `callback` if it is function.\n */\nconst assertIsFunction = function assertIsFunction(callback, message) {\n if (isFunction(callback) === false) {\n const msg =\n arguments.length > 1\n ? safeToString(message)\n : `${isPrimitive(callback) ? safeToString(callback) : '#'} is not a function`;\n\n throw new TypeError(msg);\n }\n\n return callback;\n};\n\nexport default assertIsFunction;\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","/**\n * The constant NaN derived mathematically by 0 / 0.\n *\n * @type number\n */\nconst constantNAN = 0 / 0;\n\nexport default constantNAN;\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 */\nconst constantInfinity = 1 / 0;\n\nexport default constantInfinity;\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 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","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 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 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 attempt from 'attempt-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport toBoolean from 'to-boolean-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\n\nconst natRed = [].reduce;\nconst nativeReduce = typeof natRed === 'function' && natRed;\n\nconst test1 = function test1() {\n return attempt.call([], nativeReduce, function attemptee(acc) {\n return acc;\n }).threw;\n};\n\nconst test2 = function test2() {\n const res = attempt.call(\n toObject('abc'),\n nativeReduce,\n function attemptee(acc, c) {\n return acc + c;\n },\n 'x',\n );\n\n return res.threw === false && res.value === 'xabc';\n};\n\nconst test3 = function test3() {\n const res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3),\n nativeReduce,\n function attempte(acc, arg) {\n return acc + arg;\n },\n 1,\n );\n\n return res.threw === false && res.value === 7;\n};\n\nconst test4 = function test4() {\n const res = attempt.call(\n {0: 1, 1: 2, 3: 3, 4: 4, length: 4},\n nativeReduce,\n function attempte(acc, arg) {\n return acc + arg;\n },\n 2,\n );\n\n return res.threw === false && res.value === 8;\n};\n\nconst test5 = function test5() {\n const doc = typeof document !== 'undefined' && document;\n\n if (doc) {\n const fragment = doc.createDocumentFragment();\n const div = doc.createElement('div');\n fragment.appendChild(div);\n\n const atemptee = function attempte(acc, node) {\n acc[acc.length] = node;\n\n return acc;\n };\n\n const res = attempt.call(fragment.childNodes, nativeReduce, atemptee, []);\n\n return res.threw === false && res.value.length === 1 && res.value[0] === div;\n }\n\n return true;\n};\n\nconst test6 = function test6() {\n const res = attempt.call('ab', nativeReduce, function attempte() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments[3];\n });\n\n return res.threw === false && typeof res.value === 'object';\n};\n\n// ES5 15.4.4.21\n// http://es5.github.com/#x15.4.4.21\n// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduce\nconst isWorking = toBoolean(nativeReduce) && test1() && test2() && test3() && test4() && test5() && test6();\n\nconst patchedReduce = function reduce(array, callBack /* , initialValue */) {\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 nativeReduce.apply(array, args);\n};\n\nexport const implementation = function reduce(array, callBack /* , initialValue */) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n assertIsFunction(callBack);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n const argsLength = arguments.length;\n\n // no value to return if no initial value and an empty array\n if (length === 0 && argsLength < 3) {\n throw new TypeError('Reduce of empty array with no initial value');\n }\n\n let i = 0;\n let result;\n\n if (argsLength > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n result = arguments[2];\n } else {\n do {\n if (i in iterable) {\n result = iterable[i];\n i += 1;\n break;\n }\n\n // if array contains no values, no initial value to return\n i += 1;\n\n if (i >= length) {\n throw new TypeError('Reduce of empty array with no initial value');\n }\n } while (true); /* eslint-disable-line no-constant-condition */\n }\n\n while (i < length) {\n if (i in iterable) {\n result = callBack(result, iterable[i], i, object);\n }\n\n i += 1;\n }\n\n return result;\n};\n\n/*\n * This method applies a function against an accumulator and each element in the\n * array (from left to right) to reduce it to a single value.\n *\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function to execute for each element.\n * @param {*} [initialValue] - Value to use as the first argument to the first\n * call of the callback. If no initial value is supplied, the first element in\n * the array will be used. Calling reduce on an empty array without an initial\n * value is an error.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n * @throws {TypeError} If called on an empty array without an initial value.\n * @returns {*} The value that results from the reduction.\n */\nconst $reduce = isWorking ? patchedReduce : implementation;\n\nexport default $reduce;\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 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 attempt from 'attempt-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst pFindIndex = typeof Array.prototype.findIndex === 'function' && Array.prototype.findIndex;\n\nlet isWorking;\n\nif (pFindIndex) {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = 1;\n let res = attempt.call(testArr, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === 0;\n\n if (isWorking) {\n res = attempt.call(1, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === -1;\n }\n\n if (isWorking) {\n isWorking = attempt.call([], pFindIndex).threw;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pFindIndex, (item) => {\n return item === 'c';\n });\n\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pFindIndex,\n (item) => {\n return item === 'c';\n },\n );\n\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\n/**\n * Like `findIndex`, this method returns an index in the array, if an element\n * in the array satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If array is `null` or `undefined`-.\n * @param {Function} callback - Function to execute on each value in the array,\n * taking three arguments: `element`, `index` and `array`.\n * @throws {TypeError} If `callback` is not a function.\n * @param {*} [thisArg] - Object to use as `this` when executing `callback`.\n * @returns {number} Returns index of positively tested element, otherwise -1.\n */\nlet findIdx;\n\nif (isWorking) {\n findIdx = function findIndex(array, callback) {\n const args = [callback];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return pFindIndex.apply(array, args);\n };\n} else {\n findIdx = function findIndex(array, callback) {\n const object = toObject(array);\n assertIsFunction(callback);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n let thisArg;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n thisArg = arguments[2];\n }\n\n let index = 0;\n while (index < length) {\n if (callback.call(thisArg, iterable[index], index, object)) {\n return index;\n }\n\n index += 1;\n }\n\n return -1;\n };\n}\n\nconst fi = findIdx;\n\nexport default fi;\n","import numberIsFinite from 'is-finite-x';\nimport toInteger from 'to-integer-x';\n\n/**\n * This method determines whether the passed value is an integer.\n *\n * @param {*} value - The value to be tested for being an integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is an integer.\n */\nconst isInteger = function isInteger(value) {\n return numberIsFinite(value) && toInteger(value) === value;\n};\n\nexport default isInteger;\n","import isInteger from 'is-integer-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\nconst MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n\n/**\n * This method determines whether the passed value is a safe integer.\n *\n * Can be exactly represented as an IEEE-754 double precision number, and\n * whose IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation.\n *\n * @param {*} value - The value to be tested for being a safe integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * safe integer.\n */\nconst isSafeInteger = function isSafeInteger(value) {\n return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n};\n\nexport default isSafeInteger;\n","import isSafeInteger from 'is-safe-integer-x';\n\n/**\n * This method checks if `value` is a valid array-like length.\n *\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nconst isLength = function isLength(value) {\n return isSafeInteger(value) && value >= 0;\n};\n\nexport default isLength;\n","import isNil from 'is-nil-x';\nimport isFunction from 'is-function-x';\nimport isLength from 'is-length-x';\n\n/**\n * Checks if value is array-like. A value is considered array-like if it's\n * not a function and has a `length` that's an integer greater than or\n * equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @param {*} value - The object to be tested.\n */\nconst isArrayLike = function isArrayLike(value) {\n return isNil(value) === false && isFunction(value, true) === false && isLength(value.length);\n};\n\nexport default isArrayLike;\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport toInteger from 'to-integer-x';\nimport isArrayLike from 'is-array-like-x';\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\n/**\n * This method calculates a fromIndex of a given value for an array.\n *\n * @param {Array} array - * The array on which to calculate the starting index.\n * @throws {TypeError} If array is null or undefined.\n * @param {number} fromIndex - * The position in this array at which to begin. A\n * negative value gives the index of array.length + fromIndex by asc.\n * @returns {number} The calculated fromIndex. Default is 0.\n */\nconst calcFromIndex = function calcFromIndex(array, fromIndex) {\n const object = toObject(array);\n\n if (isArrayLike(object) === false) {\n return 0;\n }\n\n const index = toInteger(fromIndex);\n\n return index >= 0 ? index : getMax(0, toLength(object.length) + index);\n};\n\nexport default calcFromIndex;\n","import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport 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 toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport findIndex from 'find-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport indexOf from 'index-of-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport toBoolean from 'to-boolean-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\n\nconst ni = [].includes;\nconst nativeIncludes = typeof ni === 'function' && ni;\n\nconst getArrayLike = function getArrayLike() {\n return {\n 1: 'a',\n 2: NaN,\n 3: -0,\n length: 5,\n };\n};\n\nconst test1 = function test1() {\n return attempt.call(null, nativeIncludes, 'a').threw;\n};\n\nconst test2 = function test2() {\n const arr = getArrayLike();\n /* eslint-disable-next-line no-void */\n const res = attempt.call(arr, nativeIncludes, void 0, -1);\n\n return res.threw === false && res.value === true;\n};\n\nconst test3 = function test3() {\n const arr = getArrayLike();\n const res = attempt.call(arr, nativeIncludes, NaN);\n\n return res.threw === false && res.value === true;\n};\n\nconst test4 = function test4() {\n const arr = getArrayLike();\n const res = attempt.call(arr, nativeIncludes, 0);\n\n return res.threw === false && res.value === true;\n};\n\nconst test5 = function test5() {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = null;\n /* eslint-disable-next-line no-void */\n const res = attempt.call(testArr, nativeIncludes, void 0);\n\n return res.threw === false && res.value === true;\n};\n\nconst test6 = function test6() {\n const res = attempt.call('abc', nativeIncludes, 'c');\n\n return res.threw === false && res.value === true;\n};\n\nconst test7 = function test7() {\n const res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n nativeIncludes,\n 'c',\n );\n\n return res.threw === false && res.value === true;\n};\n\nconst isWorking = toBoolean(nativeIncludes) && test1() && test2() && test3() && test4() && test5() && test6() && test7();\n\nconst patchedReduce = function includes(array, searchElement) {\n requireObjectCoercible(array);\n const args = [searchElement];\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 nativeIncludes.apply(array, args);\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\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} object - 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 * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nconst findIdxFrom = function findIndexFrom(args) {\n const [object, searchElement, fromIndex] = args;\n let fIdx = fromIndex;\n const length = toLength(object.length);\n while (fIdx < length) {\n if (sameValueZero(object[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\nconst runFindIndex = function runFindIndex(obj) {\n const {iterable, args, length, searchElement} = obj;\n let fromIndex = calcFromIndex(iterable, args[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n\n return fromIndex > 0\n ? findIdxFrom([iterable, searchElement, fromIndex]) > -1\n : findIndex(iterable, function predicate(element) {\n return sameValueZero(searchElement, element);\n }) > -1;\n};\n\nexport const implementation = function includes(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 if (typeof searchElement === 'undefined') {\n /* eslint-disable-next-line prefer-rest-params */\n return runFindIndex({iterable, args: arguments, length, searchElement});\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n return indexOf(iterable, searchElement, arguments[2], 'samevaluezero') > -1;\n};\n\n/**\n * This method determines whether an array includes a certain element,\n * returning true or false as appropriate.\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 position in this array at which to begin\n * searching for searchElement. A negative value searches from the index of\n * array.length + fromIndex by asc. Defaults to 0.\n * @returns {boolean} `true` if searched element is included; otherwise `false`.\n */\nconst $includes = isWorking ? patchedReduce : implementation;\n\nexport default $includes;\n","/**\n * Returns true if the value is a primitive.\n *\n * @param {*} [val] - The value to test.\n * @returns {boolean} True if a primitive, otherwise false..\n */\nconst isPrimitive = function isPrimitive(val) {\n return typeof val === 'object' ? val === null : typeof val !== 'function';\n};\n\nexport default isPrimitive;\n","import isPrimitive from 'is-primitive-x';\nimport isString from 'is-string';\n\nconst EMPTY_STRING = '';\nconst {split} = EMPTY_STRING;\nconst splitter = [EMPTY_STRING];\n\nconst getIterable = function getIterable(arrayLike) {\n // noinspection JSUnresolvedFunction\n return isString(arrayLike) ? split.apply(arrayLike, splitter) : arrayLike;\n};\n\n// eslint-disable jsdoc/no-undefined-types\n// noinspection JSCommentMatchesSignature\n/**\n * This pushes or concatenates into a new or existing array.\n *\n * @param {Array} arrayLike - The source.\n * @param {number} [from=0] - The from source index.\n * @param {Array} [target=[]] - The target array.\n * @returns {*} The target array.\n */\n// eslint-enable jsdoc/no-undefined-types\nconst pusher = function pusher(arrayLike, from) {\n /* eslint-disable-next-line prefer-rest-params */\n const target = arguments.length > 2 ? arguments[2] : [];\n\n if (typeof arrayLike !== 'string' && isPrimitive(arrayLike)) {\n return target;\n }\n\n const iterable = getIterable(arrayLike);\n const {length} = iterable;\n for (let i = from || 0; i < length; i += 1) {\n target[target.length] = arrayLike[i];\n }\n\n return target;\n};\n\nexport default pusher;\n","import pusher from 'util-pusher-x';\n\nconst ERROR_MESSAGE = 'bind called on incompatible ';\nconst object = {};\nconst ObjectCtr = object.constructor;\nconst toStringTag = object.toString;\nconst funcType = '[object Function]';\nconst ZERO = 0;\nconst argsOffset = 2;\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && toStringTag.apply(value) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + value);\n }\n};\n\nconst boundFns = [\n function zero(binder) {\n return function boundFn() {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments));\n };\n },\n function one(binder, boundLength) {\n return function boundFn(a) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a]));\n };\n },\n function two(binder, boundLength) {\n return function boundFn(a, b) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b]));\n };\n },\n function three(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c]));\n };\n },\n function four(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d]));\n };\n },\n function five(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e]));\n };\n },\n function six(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f]));\n };\n },\n function seven(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f, g) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f, g]));\n };\n },\n function eight(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f, g, h) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f, g, h]));\n };\n },\n];\n\nconst getBoundFn = function getBoundFn(args) {\n const [binder, target, bindArgs] = args;\n const boundLength = getMax(ZERO, target.length - getMax(ZERO, bindArgs.length - argsOffset));\n const fn = boundFns[boundLength];\n const boundFn = fn ? fn(binder, boundLength) : boundFns[ZERO](binder);\n\n if (target.prototype) {\n /* eslint-disable-next-line lodash/prefer-noop */\n const Empty = function Empty() {};\n\n Empty.prototype = target.prototype;\n boundFn.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return boundFn;\n};\n\nconst getResult = function getResult(target, boundArgs) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const result = target.apply(this, boundArgs);\n\n /* eslint-disable-next-line babel/no-invalid-this,babel/new-cap */\n return ObjectCtr(result) === result ? result : this;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * The bind() method creates a new function that, when called, has its this\n * keyword set to the provided value, with a given sequence of arguments\n * preceding any provided when the new function is called.\n *\n * @param {Function} target - The target function.\n * @param {*} [thisArg] - The value to be passed as the this parameter to the target\n * function when the bound function is called. The value is ignored if the\n * bound function is constructed using the new operator.\n * @param {...*} [args] - Arguments to prepend to arguments provided to the bound\n * function when invoking the target function.\n * @throws {TypeError} If target is not a function.\n * @returns {Function} The bound function.\n */\n// eslint-enable jsdoc/check-param-names\nconst bind = function bind(target, thisArg) {\n assertIsFunction(target);\n /* eslint-disable-next-line prefer-rest-params */\n const bindArgs = arguments;\n\n let bound;\n const binder = function binder() {\n /* eslint-disable-next-line prefer-rest-params */\n const boundArgs = pusher(arguments, ZERO, pusher(bindArgs, argsOffset));\n\n /* eslint-disable-next-line babel/no-invalid-this */\n return this instanceof bound ? getResult.apply(this, [target, boundArgs]) : target.apply(thisArg, boundArgs);\n };\n\n bound = getBoundFn([binder, target, bindArgs]);\n\n return bound;\n};\n\nexport default bind;\n","import pusher from 'util-pusher-x';\nimport bind from 'simple-bind-x';\n\nconst $TypeError = TypeError;\nconst {apply: nativeApply, call: nativeCall} = bind;\nconst $apply = bind(nativeCall, nativeApply);\nconst toStringTag = bind(nativeApply, {}.toString);\nconst ERROR_MESSAGE = ' is not a function';\nconst funcType = '[object Function]';\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && toStringTag(value) !== funcType) {\n throw new $TypeError(value + ERROR_MESSAGE);\n }\n\n return value;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * The abstract operation Call is used to call the [[Call]] internal method of a function object.\n *\n * @function call\n * @param {Function} F - The target function.\n * @param {*} [V] - The context.\n * @param {Array} [args] - Argument to call the function with.\n * @throws {TypeError} If target is not a function.\n * @returns {*} The the result of invoking the function.\n * @see https://www.ecma-international.org/ecma-262/6.0/#sec-call\n */\n// eslint-enable jsdoc/check-param-names\nconst call = function call(F, V) {\n /* eslint-disable-next-line prefer-rest-params */\n return $apply(assertIsFunction(F), V, pusher(arguments[2]));\n};\n\nexport default call;\n","import call from 'simple-call-x';\nimport pusher from 'util-pusher-x';\n\nconst toStringTag = {}.toString;\nconst ERROR_MESSAGE = 'methodize called on incompatible ';\nconst funcType = '[object Function]';\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && call(toStringTag, value) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + value);\n }\n\n return value;\n};\n\n/**\n * Methodize a prototype method. Compliant to 8 arguments.\n *\n * @param {Function} prototypeMethod - The prototype method to methodize.\n * @throws {TypeError} If target is not a function.\n * @returns {Function} The static method.\n */\nconst methodize = function methodize(prototypeMethod) {\n assertIsFunction(prototypeMethod);\n\n return function methodized() {\n /* eslint-disable-next-line prefer-rest-params */\n return call(prototypeMethod, arguments[0], pusher(arguments, 1));\n };\n};\n\nexport default methodize;\n","import filter from 'array-filter-x';\nimport reduce from 'array-reduce-x';\nimport some from 'array-some-x';\nimport arrayincludes from 'array-includes-x';\nimport isNil from 'is-nil-x';\nimport methodize from 'simple-methodize-x';\n\nconst shift = methodize([].shift);\n\nconst notNil = function notNil(value) {\n return isNil(value) === false;\n};\n\nconst createReducer = function createReducer(arrays) {\n return function reducer(acc, value) {\n const isIncluded = some(arrays, function exclude(array) {\n return arrayincludes(array, value) === false;\n });\n\n if (isIncluded === false && arrayincludes(acc, value) === false) {\n acc[acc.length] = value;\n }\n\n return acc;\n };\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method creates an array of unique values that are included in all given\n * arrays using SameValueZero for equality comparisons. The order and references\n * of result values are determined by the first array.\n *\n * @param {...Array} [array] - The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n */\n// eslint-enable jsdoc/check-param-names\nconst intersection = function intersection() {\n /* eslint-disable-next-line prefer-rest-params */\n const arrays = filter(arguments, notNil);\n const result = [];\n\n return arrays.length < 1 ? result : reduce(shift(arrays), createReducer(arrays), result);\n};\n\nexport default intersection;\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://arrayIntersectionX/webpack/universalModuleDefinition","webpack://arrayIntersectionX/webpack/bootstrap","webpack://arrayIntersectionX/./node_modules/is-symbol/index.js","webpack://arrayIntersectionX/./node_modules/is-string/index.js","webpack://arrayIntersectionX/./node_modules/is-date-object/index.js","webpack://arrayIntersectionX/./node_modules/has-symbols/index.js","webpack://arrayIntersectionX/(webpack)/buildin/global.js","webpack://arrayIntersectionX/./node_modules/has-symbols/shams.js","webpack://arrayIntersectionX/../src/is-primitive-x.js","webpack://arrayIntersectionX/../src/has-boxed-string-x.js","webpack://arrayIntersectionX/../src/noop-x.js","webpack://arrayIntersectionX/../src/has-working-bind-x.js","webpack://arrayIntersectionX/../src/util-pusher-x.js","webpack://arrayIntersectionX/../src/simple-bind-x.js","webpack://arrayIntersectionX/../src/simple-call-x.js","webpack://arrayIntersectionX/../src/attempt-x.js","webpack://arrayIntersectionX/../src/is-nil-x.js","webpack://arrayIntersectionX/../src/require-object-coercible-x.js","webpack://arrayIntersectionX/../src/to-object-x.js","webpack://arrayIntersectionX/../src/to-boolean-x.js","webpack://arrayIntersectionX/../src/simple-methodize-x.js","webpack://arrayIntersectionX/../src/to-string-tag-x.js","webpack://arrayIntersectionX/../src/has-symbol-support-x.js","webpack://arrayIntersectionX/../src/has-to-string-tag-x.js","webpack://arrayIntersectionX/../src/to-string-x.js","webpack://arrayIntersectionX/../src/require-coercible-to-string-x.js","webpack://arrayIntersectionX/../src/white-space-x.js","webpack://arrayIntersectionX/../src/trim-left-x.js","webpack://arrayIntersectionX/../src/trim-right-x.js","webpack://arrayIntersectionX/../src/trim-x.js","webpack://arrayIntersectionX/../src/normalize-space-x.js","webpack://arrayIntersectionX/../src/replace-comments-x.js","webpack://arrayIntersectionX/../src/is-function-x.js","webpack://arrayIntersectionX/../src/to-string-symbols-supported-x.js","webpack://arrayIntersectionX/../src/assert-is-function-x.js","webpack://arrayIntersectionX/../src/to-primitive-x.js","webpack://arrayIntersectionX/../src/nan-x.js","webpack://arrayIntersectionX/../src/parse-int-x.js","webpack://arrayIntersectionX/../src/to-number-x.js","webpack://arrayIntersectionX/../src/is-nan-x.js","webpack://arrayIntersectionX/../src/infinity-x.js","webpack://arrayIntersectionX/../src/is-finite-x.js","webpack://arrayIntersectionX/../src/math-sign-x.js","webpack://arrayIntersectionX/../src/to-integer-x.js","webpack://arrayIntersectionX/../src/to-length-x.js","webpack://arrayIntersectionX/../src/split-if-boxed-bug-x.js","webpack://arrayIntersectionX/../src/array-any-x.js","webpack://arrayIntersectionX/../src/array-all-x.js","webpack://arrayIntersectionX/../src/array-filter-x.js","webpack://arrayIntersectionX/../src/array-reduce-x.js","webpack://arrayIntersectionX/../src/array-some-x.js","webpack://arrayIntersectionX/../src/same-value-x.js","webpack://arrayIntersectionX/../src/same-value-zero-x.js","webpack://arrayIntersectionX/../src/find-index-x.js","webpack://arrayIntersectionX/../src/is-integer-x.js","webpack://arrayIntersectionX/../src/is-safe-integer-x.js","webpack://arrayIntersectionX/../src/is-length-x.js","webpack://arrayIntersectionX/../src/is-array-like-x.js","webpack://arrayIntersectionX/../src/calculate-from-index-x.js","webpack://arrayIntersectionX/../src/index-of-x.js","webpack://arrayIntersectionX/../src/array-includes-x.js","webpack://arrayIntersectionX/../src/array-intersection-x.js"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;;AAEA;;AAEA;;AAEA;AACA,GAAG;AACH;AACA;AACA,CAAC;AACD,O;QCvDA;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,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B;AACnD,SAAO,SAAS,OAAT,CAAiB,GAAjB,EAAsB,KAAtB,EAA6B;AAClC,QAAM,UAAU,GAAG,gBAAI,CAAC,MAAD,EAAS,SAAS,OAAT,CAAiB,KAAjB,EAAwB;AACtD,aAAO,oBAAa,CAAC,KAAD,EAAQ,KAAR,CAAb,KAAgC,KAAvC;AACD,KAFsB,CAAvB;;AAIA,QAAI,UAAU,KAAK,KAAf,IAAwB,oBAAa,CAAC,GAAD,EAAM,KAAN,CAAb,KAA8B,KAA1D,EAAiE;AAC/D,SAAG,CAAC,GAAG,CAAC,MAAL,CAAH,GAAkB,KAAlB;AACD;;AAED,WAAO,GAAP;AACD,GAVD;AAWD,CAZD,C,CAcA;AACA;;AACA;;;;;;;;AAQA;;;AACA,IAAM,qCAAY,GAAG,SAAS,YAAT,GAAwB;AAC3C;AACA,MAAM,MAAM,GAAG,kBAAM,CAAC,SAAD,EAAY,+BAAZ,CAArB;AACA,MAAM,MAAM,GAAG,EAAf;AAEA,SAAO,MAAM,CAAC,MAAP,GAAgB,CAAhB,GAAoB,MAApB,GAA6B,kBAAM,CAAC,KAAK,CAAC,MAAD,CAAN,EAAgB,sCAAa,CAAC,MAAD,CAA7B,EAAuC,MAAvC,CAA1C;AACD,CAND;;AAQe,mIAAf","file":"array-intersection-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[\"arrayIntersectionX\"] = factory();\n\telse\n\t\troot[\"arrayIntersectionX\"] = factory();\n})((function () {\n 'use strict';\n\n var ObjectCtr = {}.constructor;\n var objectPrototype = ObjectCtr.prototype;\n var defineProperty = ObjectCtr.defineProperty;\n var $globalThis;\n var getGlobalFallback = function() {\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 void 0;\n };\n\n var returnThis = function() {\n return this;\n };\n\n try {\n if (defineProperty) {\n defineProperty(objectPrototype, '$$globalThis$$', {\n get: returnThis,\n configurable: true\n });\n } else {\n objectPrototype.__defineGetter__('$$globalThis$$', returnThis);\n }\n\n $globalThis = typeof $$globalThis$$ === 'undefined' ? getGlobalFallback() : $$globalThis$$;\n\n delete objectPrototype.$$globalThis$$;\n\n return $globalThis;\n } catch (error) {\n return getGlobalFallback();\n }\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 = 6);\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 strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') { return true; }\n\tif (typeof value !== 'object') { return false; }\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateObject(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) { return false; }\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","'use strict';\n\nvar origSymbol = global.Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\n\n/* eslint complexity: [2, 17], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","/**\n * Returns true if the value is a primitive.\n *\n * @param {*} [val] - The value to test.\n * @returns {boolean} True if a primitive, otherwise false..\n */\nconst isPrimitive = function isPrimitive(val) {\n return typeof val === 'object' ? val === null : typeof val !== 'function';\n};\n\nexport default isPrimitive;\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","/**\n * This method returns undefined.\n *\n * @returns {undefined} Always undefined.\n */\nconst noop = function noop() {}; /* eslint-disable-line lodash/prefer-noop */\n\nexport default noop;\n","import noop from 'noop-x';\n\nconst {bind} = noop;\n\nconst test1 = function test1() {\n let a1 = null;\n let a2 = null;\n let context = null;\n const testThis = [];\n\n const test1Fn = function test1Fn(arg1, arg2) {\n /* eslint-disable-next-line babel/no-invalid-this */\n context = this;\n a1 = arg1;\n a2 = arg2;\n\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n };\n\n try {\n const boundFn = bind.apply(test1Fn, [testThis, 1]);\n const args = boundFn(2);\n\n return boundFn.length === 1 && args.length === 2 && a1 === 1 && a2 === 2 && context === testThis;\n } catch (e) {\n return false;\n }\n};\n\nconst test2 = function test2() {\n let a1 = null;\n let a2 = null;\n let context = null;\n const oracle = [1, 2, 3];\n\n const Ctr = function Ctr(arg1, arg2) {\n a1 = arg1;\n a2 = arg2;\n context = this;\n\n return oracle;\n };\n\n try {\n const BoundFn = bind.apply(Ctr, [null]);\n const returned = new BoundFn(1, 2);\n\n return BoundFn.length === Ctr.length && returned === oracle && a1 === 1 && a2 === 2 && context !== oracle;\n } catch (e) {\n return false;\n }\n};\n\n/**\n * Indicates if the engine has a working bind function.\n *\n * @type {boolean}\n */\nconst isWorking = typeof bind === 'function' && test1() && test2();\n\nexport default isWorking;\n","import isPrimitive from 'is-primitive-x';\nimport isString from 'is-string';\nimport hasBoxed from 'has-boxed-string-x';\nimport hasWorkingBind from 'has-working-bind-x';\n\nconst EMPTY_STRING = '';\nconst {split} = EMPTY_STRING;\nconst {max} = Math;\nconst {bind, call} = isPrimitive;\nexport const stringSplit = function stringSplit(string, pattern) {\n // noinspection JSUnresolvedFunction\n return split.call(string, pattern);\n};\n\nexport const $split = hasWorkingBind ? bind.call(call, split) : stringSplit;\n\nexport const getIterable = function getIterable(arrayLike) {\n // noinspection JSUnresolvedFunction\n return isString(arrayLike) ? $split(arrayLike, EMPTY_STRING) : arrayLike;\n};\n\n// eslint-disable jsdoc/no-undefined-types\n// noinspection JSCommentMatchesSignature\n/**\n * This pushes or concatenates into a new or existing array.\n *\n * @param {Array} arrayLike - The source.\n * @param {number} [from=0] - The from source index.\n * @param {Array} [target=[]] - The target array.\n * @returns {*} The target array.\n */\n// eslint-enable jsdoc/no-undefined-types\nconst pusher = function pusher(arrayLike, from) {\n /* eslint-disable-next-line prefer-rest-params */\n const target = arguments.length > 2 ? arguments[2] : [];\n\n if (typeof arrayLike !== 'string' && isPrimitive(arrayLike)) {\n return target;\n }\n\n const iterable = hasBoxed ? arrayLike : getIterable(arrayLike);\n const {length} = iterable;\n for (let i = max(0, from) || 0; i < length; i += 1) {\n target[target.length] = arrayLike[i];\n }\n\n return target;\n};\n\nexport default pusher;\n","import hasWorkingBind from 'has-working-bind-x';\nimport pusher from 'util-pusher-x';\n\nconst {bind: nativeBind, call} = pusher;\nconst ERROR_MESSAGE = 'bind called on incompatible ';\nconst object = {};\nconst ObjectCtr = object.constructor;\nconst toStringTag = object.toString;\nconst funcType = '[object Function]';\nconst ZERO = 0;\nconst argsOffset = 2;\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && toStringTag.apply(value) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + value);\n }\n};\n\nconst boundFns = [\n function zero(binder) {\n return function boundFn() {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments));\n };\n },\n function one(binder, boundLength) {\n return function boundFn(a) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a]));\n };\n },\n function two(binder, boundLength) {\n return function boundFn(a, b) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b]));\n };\n },\n function three(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c]));\n };\n },\n function four(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d]));\n };\n },\n function five(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e]));\n };\n },\n function six(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f]));\n };\n },\n function seven(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f, g) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f, g]));\n };\n },\n function eight(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f, g, h) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f, g, h]));\n };\n },\n];\n\nconst getBoundFn = function getBoundFn(args) {\n const [binder, target, bindArgs] = args;\n const boundLength = getMax(ZERO, target.length - getMax(ZERO, bindArgs.length - argsOffset));\n const fn = boundFns[boundLength];\n const boundFn = fn ? fn(binder, boundLength) : boundFns[ZERO](binder);\n\n if (target.prototype) {\n /* eslint-disable-next-line lodash/prefer-noop */\n const Empty = function Empty() {};\n\n Empty.prototype = target.prototype;\n boundFn.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return boundFn;\n};\n\nconst getResult = function getResult(target, boundArgs) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const result = target.apply(this, boundArgs);\n\n /* eslint-disable-next-line babel/no-invalid-this,babel/new-cap */\n return ObjectCtr(result) === result ? result : this;\n};\n\nexport const implementation = function bind(target, thisArg) {\n assertIsFunction(target);\n /* eslint-disable-next-line prefer-rest-params */\n const bindArgs = arguments;\n\n let bound;\n const binder = function binder() {\n /* eslint-disable-next-line prefer-rest-params */\n const boundArgs = pusher(arguments, ZERO, pusher(bindArgs, argsOffset));\n\n /* eslint-disable-next-line babel/no-invalid-this */\n return this instanceof bound ? getResult.apply(this, [target, boundArgs]) : target.apply(thisArg, boundArgs);\n };\n\n bound = getBoundFn([binder, target, bindArgs]);\n\n return bound;\n};\n\n/**\n * The bind() method creates a new function that, when called, has its this\n * keyword set to the provided value, with a given sequence of arguments\n * preceding any provided when the new function is called.\n *\n * @function bind\n * @param {Function} target - The target function.\n * @param {*} [thisArg] - The value to be passed as the this parameter to the target\n * function when the bound function is called. The value is ignored if the\n * bound function is constructed using the new operator.\n * @param {...*} [args] - Arguments to prepend to arguments provided to the bound\n * function when invoking the target function.\n * @throws {TypeError} If target is not a function.\n * @returns {Function} The bound function.\n */\nconst $bind = hasWorkingBind ? call.bind(nativeBind) : implementation;\n\nexport default $bind;\n","import pusher from 'util-pusher-x';\nimport bind from 'simple-bind-x';\n\nconst $TypeError = TypeError;\nconst {apply: nativeApply, call: nativeCall} = bind;\nconst $apply = bind(nativeCall, nativeApply);\nconst toStringTag = bind(nativeApply, {}.toString);\nconst ERROR_MESSAGE = ' is not a function';\nconst funcType = '[object Function]';\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && toStringTag(value) !== funcType) {\n throw new $TypeError(value + ERROR_MESSAGE);\n }\n\n return value;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * The abstract operation Call is used to call the [[Call]] internal method of a function object.\n *\n * @function call\n * @param {Function} F - The target function.\n * @param {*} [V] - The context.\n * @param {Array} [args] - Argument to call the function with.\n * @throws {TypeError} If target is not a function.\n * @returns {*} The the result of invoking the function.\n * @see https://www.ecma-international.org/ecma-262/6.0/#sec-call\n */\n// eslint-enable jsdoc/check-param-names\nconst call = function call(F, V) {\n /* eslint-disable-next-line prefer-rest-params */\n return $apply(assertIsFunction(F), V, pusher(arguments[2]));\n};\n\nexport default call;\n","import pusher from 'util-pusher-x';\nimport call from 'simple-call-x';\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\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 * @function attempt\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 */\n// eslint-disable jsdoc/check-param-names\nconst attempt = function attempt(fn) {\n try {\n return {\n threw: false,\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n value: call(fn, this, pusher(arguments, 1)),\n };\n } catch (e) {\n return {\n threw: true,\n value: e,\n };\n }\n};\n\nexport default attempt;\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n */\nconst isNil = function isNil(value) {\n /* eslint-disable-next-line lodash/prefer-is-nil */\n return value === null || typeof value === 'undefined';\n};\n\nexport default isNil;\n","import isNil from 'is-nil-x';\n\n/**\n * The abstract operation RequireObjectCoercible throws an error if argument\n * is a value that cannot be converted to an Object using ToObject.\n *\n * @param {*} [value] - The `value` to check.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {string} The `value`.\n */\nconst requireObjectCoercible = function requireObjectCoercible(value) {\n if (isNil(value)) {\n throw new TypeError(`Cannot call method on ${value}`);\n }\n\n return value;\n};\n\nexport default requireObjectCoercible;\n","import requireObjectCoercible from 'require-object-coercible-x';\n\nconst castObject = {}.constructor;\n\n/**\n * The abstract operation ToObject converts argument to a value of\n * type Object.\n *\n * @param {*} value - The `value` to convert.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {!object} The `value` converted to an object.\n */\nconst toObject = function toObject(value) {\n return castObject(requireObjectCoercible(value));\n};\n\nexport default toObject;\n","/**\n * 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 call from 'simple-call-x';\nimport pusher from 'util-pusher-x';\n\nconst toStringTag = {}.toString;\nconst ERROR_MESSAGE = 'methodize called on incompatible ';\nconst funcType = '[object Function]';\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && call(toStringTag, value) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + value);\n }\n\n return value;\n};\n\n/**\n * Methodize a prototype method. Compliant to 8 arguments.\n *\n * @param {Function} prototypeMethod - The prototype method to methodize.\n * @throws {TypeError} If target is not a function.\n * @returns {Function} The static method.\n */\nconst methodize = function methodize(prototypeMethod) {\n assertIsFunction(prototypeMethod);\n\n return function methodized() {\n /* eslint-disable-next-line prefer-rest-params */\n return call(prototypeMethod, arguments[0], pusher(arguments, 1));\n };\n};\n\nexport default methodize;\n","import methodize from 'simple-methodize-x';\n\nconst methodizedToString = methodize({}.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 methodizedToString(value);\n};\n\nexport default toStringTag;\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","import isSymbol from 'is-symbol';\n\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a string';\nconst castString = ERROR_MESSAGE.constructor;\n/**\n * The abstract operation ToString converts argument to a value of type String.\n *\n * @param {*} [value] - The value to convert to a string.\n * @throws {TypeError} If `value` is a Symbol.\n * @returns {string} The converted value.\n */\nconst ToString = function ToString(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return castString(value);\n};\n\nexport default ToString;\n","import requireObjectCoercible from 'require-object-coercible-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method requires an argument is corecible then converts using ToString.\n *\n * @param {*} [value] - The value to converted to a string.\n * @throws {TypeError} If value is null or undefined.\n * @returns {string} The value as a string.\n */\nconst requireCoercibleToString = function requireCoercibleToString(value) {\n return toStr(requireObjectCoercible(value));\n};\n\nexport default requireCoercibleToString;\n","/**\n * A record of a white space character.\n *\n * @typedef {object} CharRecord\n * @property {number} code - The character code.\n * @property {string} description - A description of the character.\n * @property {boolean} es5 - Whether the spec lists this as a white space.\n * @property {boolean} es2015 - Whether the spec lists this as a white space.\n * @property {boolean} es2016 - Whether the spec lists this as a white space.\n * @property {boolean} es2017 - Whether the spec lists this as a white space.\n * @property {boolean} es2018 - Whether the spec lists this as a white space.\n * @property {string} string - The character string.\n */\n\n/**\n * An array of the whitespace char codes, string, descriptions and language\n * presence in the specifications.\n *\n * @type Array.\n */\nexport const list = [\n {\n code: 0x0009,\n description: 'Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0009',\n },\n {\n code: 0x000a,\n description: 'Line Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000a',\n },\n {\n code: 0x000b,\n description: 'Vertical Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000b',\n },\n {\n code: 0x000c,\n description: 'Form Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000c',\n },\n {\n code: 0x000d,\n description: 'Carriage Return',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000d',\n },\n {\n code: 0x0020,\n description: 'Space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0020',\n },\n /*\n {\n code: 0x0085,\n description: 'Next line',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u0085'\n }\n */\n {\n code: 0x00a0,\n description: 'No-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u00a0',\n },\n {\n code: 0x1680,\n description: 'Ogham space mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u1680',\n },\n {\n code: 0x180e,\n description: 'Mongolian vowel separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: false,\n es2018: false,\n string: '\\u180e',\n },\n {\n code: 0x2000,\n description: 'En quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2000',\n },\n {\n code: 0x2001,\n description: 'Em quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2001',\n },\n {\n code: 0x2002,\n description: 'En space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2002',\n },\n {\n code: 0x2003,\n description: 'Em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2003',\n },\n {\n code: 0x2004,\n description: 'Three-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2004',\n },\n {\n code: 0x2005,\n description: 'Four-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2005',\n },\n {\n code: 0x2006,\n description: 'Six-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2006',\n },\n {\n code: 0x2007,\n description: 'Figure space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2007',\n },\n {\n code: 0x2008,\n description: 'Punctuation space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2008',\n },\n {\n code: 0x2009,\n description: 'Thin space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2009',\n },\n {\n code: 0x200a,\n description: 'Hair space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u200a',\n },\n /*\n {\n code: 0x200b,\n description: 'Zero width space',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u200b'\n },\n */\n {\n code: 0x2028,\n description: 'Line separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2028',\n },\n {\n code: 0x2029,\n description: 'Paragraph separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2029',\n },\n {\n code: 0x202f,\n description: 'Narrow no-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u202f',\n },\n {\n code: 0x205f,\n description: 'Medium mathematical space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u205f',\n },\n {\n code: 0x3000,\n description: 'Ideographic space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u3000',\n },\n {\n code: 0xfeff,\n description: 'Byte Order Mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\ufeff',\n },\n];\n\n/**\n * A string of the ES5 to ES2016 whitespace characters.\n *\n * @type string\n */\nlet stringES2016 = '';\n\n/**\n * A string of the ES2017 to ES2018 whitespace characters.\n *\n * @type string\n */\nlet stringES2018 = '';\nconst {length} = list;\nfor (let i = 0; i < length; i += 1) {\n if (list[i].es2016) {\n stringES2016 += list[i].string;\n }\n\n if (list[i].es2018) {\n stringES2018 += list[i].string;\n }\n}\n\nconst string2018 = stringES2018;\n\nexport default string2018;\nexport const string2016 = stringES2016;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace from 'white-space-x';\nimport methodize from 'simple-methodize-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reLeft = new RegExpCtr(`^[${whiteSpace}]+`);\nconst methodizedReplace = methodize(EMPTY_STRING.replace);\n\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 methodizedReplace(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';\nimport methodize from 'simple-methodize-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reRight = new RegExpCtr(`[${whiteSpace}]+$`);\nconst methodizedReplace = methodize(EMPTY_STRING.replace);\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 methodizedReplace(requireCoercibleToString(string), reRight, 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';\nimport methodize from 'simple-methodize-x';\n\nconst SPACE = ' ';\nconst RegExpCtr = /none/.constructor;\nconst reNormalize = new RegExpCtr(`[${whiteSpace}]+`, 'g');\nconst methodizedReplace = methodize(SPACE.replace);\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 methodizedReplace(trim(string), reNormalize, SPACE);\n};\n\nexport default normalizeSpace;\n","import toStr from 'to-string-x';\nimport requireCoercibleToString from 'require-coercible-to-string-x';\nimport methodize from 'simple-methodize-x';\n\nconst EMPTY_STRING = '';\nconst STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/gm;\nconst methodizedReplace = methodize(EMPTY_STRING.replace);\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 methodizedReplace(\n requireCoercibleToString(string),\n STRIP_COMMENTS,\n arguments.length > 1 ? toStr(replacement) : EMPTY_STRING,\n );\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-x';\nimport normalise from 'normalize-space-x';\nimport deComment from 'replace-comments-x';\nimport methodize from 'simple-methodize-x';\n\nconst FunctionCtr = attempt.constructor;\nconst SPACE = ' ';\nconst methodizedFunctionToString = methodize(attempt.toString);\nconst funcTag = '[object Function]';\nconst genTag = '[object GeneratorFunction]';\nconst asyncTag = '[object AsyncFunction]';\nconst ctrRx = /^class /;\nconst methodizedTest = methodize(ctrRx.test);\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 methodizedTest(ctrRx, normalise(deComment(methodizedFunctionToString(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 (\n attempt(function attemptee() {\n return methodizedFunctionToString(value);\n }).threw === false\n );\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 hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/* eslint-disable-next-line compat/compat */\nconst pToString = hasSymbols && Symbol.prototype.toString;\nconst isSymbolFn = typeof pToString === 'function' && isSymbol;\n/** @type {Function} */\nconst castString = ''.constructor;\n\n/**\n * The abstract operation ToString converts argument to a value of type String,\n * however the specification states that if the argument is a Symbol then a\n * 'TypeError' is thrown. This version also allows Symbols be converted to\n * a string. Other uncoercible exotics will still throw though.\n *\n * @param {*} [value] - The value to convert to a string.\n * @returns {string} The converted value.\n */\nconst toStringSymbolsSupported = function toStringSymbolsSupported(value) {\n return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value);\n};\n\nexport default toStringSymbolsSupported;\n","import isFunction from 'is-function-x';\nimport safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive-x';\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 * @param {string} [message] - An alternative user message.\n * @throws {TypeError} Throws if `callback` is not a function.\n * @returns {*} Returns `callback` if it is function.\n */\nconst assertIsFunction = function assertIsFunction(callback, message) {\n if (isFunction(callback) === false) {\n const msg =\n arguments.length > 1\n ? safeToString(message)\n : `${isPrimitive(callback) ? safeToString(callback) : '#'} is not a function`;\n\n throw new TypeError(msg);\n }\n\n return callback;\n};\n\nexport default assertIsFunction;\n","import hasSymbols from 'has-symbol-support-x';\nimport isPrimitive from 'is-primitive-x';\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';\nimport call from 'simple-call-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 for (let i = ZERO; i < orderLength; i += ONE) {\n const method = ordinary[methodNames[i]];\n\n if (isFunction(method)) {\n const result = call(method, 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 = call(exoticToPrim, 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","/**\n * The constant NaN derived mathematically by 0 / 0.\n *\n * @type number\n */\nconst constantNAN = 0 / 0;\n\nexport default constantNAN;\n","import NAN from 'nan-x';\nimport toStr from 'to-string-x';\nimport trimLeft from 'trim-left-x';\nimport methodize from 'simple-methodize-x';\n\nconst nativeParseInt = parseInt;\n/** @type {Function} */\nconst castNumber = (0).constructor;\nconst BAD_CHAR = '\\u180E';\nconst methodizedCharAt = methodize(BAD_CHAR.charAt);\nconst hexRegex = /^[-+]?0[xX]/;\nconst methodizedTest = methodize(hexRegex.test);\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 (methodizedCharAt(str, 0) === BAD_CHAR) {\n return NAN;\n }\n\n return nativeParseInt(str, castNumber(radix) || (methodizedTest(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';\nimport methodize from 'simple-methodize-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 methodizedStringSlice = methodize(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 methodizedTest = methodize(binaryRegex.test);\nconst isBinary = function isBinary(value) {\n return methodizedTest(binaryRegex, value);\n};\n\nconst octalRegex = /^0o[0-7]+$/i;\nconst isOctal = function isOctal(value) {\n return methodizedTest(octalRegex, value);\n};\n\nconst nonWSregex = new RegExpConstructor('[\\u0085\\u180e\\u200b\\ufffe]', 'g');\nconst hasNonWS = function hasNonWS(value) {\n return methodizedTest(nonWSregex, value);\n};\n\nconst invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i;\nconst isInvalidHexLiteral = function isInvalidHexLiteral(value) {\n return methodizedTest(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(methodizedStringSlice(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 */\nconst constantInfinity = 1 / 0;\n\nexport default constantInfinity;\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 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 hasBoxed from 'has-boxed-string-x';\nimport isString from 'is-string';\nimport methodize from 'simple-methodize-x';\n\nconst EMPTY_STRING = '';\nconst strSplit = methodize(EMPTY_STRING.split);\n\nconst identity = function splitIfBoxedBug(value) {\n return value;\n};\n\nexport const implementation = function splitIfBoxedBug(value) {\n return isString(value) ? strSplit(value, EMPTY_STRING) : identity(value);\n};\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 = hasBoxed ? identity : implementation;\n\nexport default $splitIfBoxedBug;\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';\nimport call from 'simple-call-x';\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 = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length) {\n /* eslint-disable-next-line prefer-rest-params */\n const thisArg = arguments[2];\n for (let index = 0; index < length; index += 1) {\n if (call(callBack, thisArg, [iterable[index], index, object])) {\n return true;\n }\n }\n }\n\n return false;\n};\n\nexport default any;\n","import any from 'array-any-x';\nimport call from 'simple-call-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 any(\n array,\n function iteratee() {\n /* eslint-disable-next-line prefer-rest-params,babel/no-invalid-this */\n call(callBack, this, arguments);\n },\n /* eslint-disable-next-line prefer-rest-params */\n arguments[2],\n );\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';\nimport methodize from 'simple-methodize-x';\nimport call from 'simple-call-x';\n\nconst nf = [].filter;\nconst nativeFilter = typeof nf === 'function' && methodize(nf);\n\nconst test1 = function test1() {\n let spy = 0;\n const res = attempt(function attemptee() {\n return nativeFilter([1, 2], function spyAdd1(item) {\n spy += item;\n\n return false;\n });\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(function attemptee() {\n return nativeFilter(toObject('abc'), function spyAdd2(item, index) {\n spy += item;\n\n return index === 1;\n });\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(function attemptee() {\n const args = (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3);\n\n return nativeFilter(args, 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(function attemptee() {\n return nativeFilter({0: 1, 1: 2, 3: 3, 4: 4, length: 4}, function spyAdd4(item) {\n spy += item;\n\n return false;\n });\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 doc = typeof document !== 'undefined' && document;\n\nconst test5 = function test5() {\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(function attemptee() {\n return nativeFilter(fragment.childNodes, function spyAssign(item) {\n spy = item;\n\n return item;\n });\n });\n\n return getTest5Result([res, div, spy]);\n }\n\n return true;\n};\n\nconst isStrict = (function returnIsStrict() {\n /* eslint-disable-next-line babel/no-invalid-this */\n return toBoolean(this) === false;\n})();\n\nconst test6 = function test6() {\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(function attemptee() {\n return nativeFilter([1], testThis, 'x');\n });\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(\"foo\", function (_, __, context) {' +\n 'if (castBoolean(context) === false || typeof context !== \"object\") {' +\n 'spy.value = true;}});';\n\n const res = attempt(function attemptee() {\n /* eslint-disable-next-line no-new-func */\n return Function('nativeFilter', 'spy', 'castBoolean', fn)(nativeFilter, spy, toBoolean);\n });\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 /* eslint-disable-next-line prefer-rest-params, */\n return nativeFilter(requireObjectCoercible(array), assertIsFunction(callBack), arguments[2]);\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 (call(callBack, 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 attempt from 'attempt-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport toBoolean from 'to-boolean-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport methodize from 'simple-methodize-x';\n\nconst natRed = [].reduce;\nconst nativeReduce = typeof natRed === 'function' && methodize(natRed);\n\nconst test1 = function test1() {\n return attempt(function attemptee() {\n return nativeReduce([], function iteratee(acc) {\n return acc;\n });\n }).threw;\n};\n\nconst test2 = function test2() {\n const res = attempt(function attemptee() {\n return nativeReduce(\n toObject('abc'),\n function iteratee(acc, c) {\n return acc + c;\n },\n 'x',\n );\n });\n\n return res.threw === false && res.value === 'xabc';\n};\n\nconst test3 = function test3() {\n const res = attempt(function attemptee() {\n const args = (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3);\n\n return nativeReduce(\n args,\n function iteratee(acc, arg) {\n return acc + arg;\n },\n 1,\n );\n });\n\n return res.threw === false && res.value === 7;\n};\n\nconst test4 = function test4() {\n const res = attempt(function attemptee() {\n return nativeReduce(\n {0: 1, 1: 2, 3: 3, 4: 4, length: 4},\n function iteratee(acc, arg) {\n return acc + arg;\n },\n 2,\n );\n });\n\n return res.threw === false && res.value === 8;\n};\n\nconst doc = typeof document !== 'undefined' && document;\n\nconst iteratee5 = function iteratee5(acc, node) {\n acc[acc.length] = node;\n\n return acc;\n};\n\nconst test5 = function test5() {\n if (doc) {\n const fragment = doc.createDocumentFragment();\n const div = doc.createElement('div');\n fragment.appendChild(div);\n\n const res = attempt(function attemptee() {\n return nativeReduce(fragment.childNodes, iteratee5, []);\n });\n\n return res.threw === false && res.value.length === 1 && res.value[0] === div;\n }\n\n return true;\n};\n\nconst test6 = function test6() {\n const res = attempt(function attemptee() {\n return nativeReduce('ab', function iteratee() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments[3];\n });\n });\n\n return res.threw === false && typeof res.value === 'object';\n};\n\n// ES5 15.4.4.21\n// http://es5.github.com/#x15.4.4.21\n// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduce\nconst isWorking = toBoolean(nativeReduce) && test1() && test2() && test3() && test4() && test5() && test6();\n\nconst patchedReduce = function reduce(array, callBack /* , initialValue */) {\n requireObjectCoercible(array);\n assertIsFunction(callBack);\n\n /* eslint-disable-next-line prefer-rest-params */\n return arguments.length > 2 ? nativeReduce(array, callBack, arguments[2]) : nativeReduce(array, callBack);\n};\n\nexport const implementation = function reduce(array, callBack /* , initialValue */) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n assertIsFunction(callBack);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n const argsLength = arguments.length;\n\n // no value to return if no initial value and an empty array\n if (length === 0 && argsLength < 3) {\n throw new TypeError('Reduce of empty array with no initial value');\n }\n\n let i = 0;\n let result;\n\n if (argsLength > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n result = arguments[2];\n } else {\n do {\n if (i in iterable) {\n result = iterable[i];\n i += 1;\n break;\n }\n\n // if array contains no values, no initial value to return\n i += 1;\n\n if (i >= length) {\n throw new TypeError('Reduce of empty array with no initial value');\n }\n } while (true); /* eslint-disable-line no-constant-condition */\n }\n\n while (i < length) {\n if (i in iterable) {\n result = callBack(result, iterable[i], i, object);\n }\n\n i += 1;\n }\n\n return result;\n};\n\n/*\n * This method applies a function against an accumulator and each element in the\n * array (from left to right) to reduce it to a single value.\n *\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function to execute for each element.\n * @param {*} [initialValue] - Value to use as the first argument to the first\n * call of the callback. If no initial value is supplied, the first element in\n * the array will be used. Calling reduce on an empty array without an initial\n * value is an error.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n * @throws {TypeError} If called on an empty array without an initial value.\n * @returns {*} The value that results from the reduction.\n */\nconst $reduce = isWorking ? patchedReduce : implementation;\n\nexport default $reduce;\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';\nimport methodize from 'simple-methodize-x';\nimport call from 'simple-call-x';\n\nconst ns = [].some;\nconst nativeSome = typeof ns === 'function' && methodize(ns);\n\nconst test1 = function test1() {\n let spy = 0;\n const res = attempt(function attemptee() {\n return nativeSome([1, 2], function spyAdd1(item) {\n spy += item;\n\n return false;\n });\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(function attemptee() {\n return nativeSome(toObject('abc'), function spyAdd2(item, index) {\n spy += item;\n\n return index === 1;\n });\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(function attemptee() {\n const args = (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3);\n\n return nativeSome(args, 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(function attemptee() {\n return nativeSome({0: 1, 1: 2, 3: 3, 4: 4, length: 4}, function spyAdd4(item) {\n spy += item;\n\n return false;\n });\n });\n\n return res.threw === false && res.value === false && spy === 6;\n};\n\nconst doc = typeof document !== 'undefined' && document;\n\nconst test5 = function test5() {\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(function attemptee() {\n return nativeSome(fragment.childNodes, function spyAssign(item) {\n spy = item;\n\n return item;\n });\n });\n\n return res.threw === false && res.value === true && spy === div;\n }\n\n return true;\n};\n\nconst isStrict = (function getIsStrict() {\n /* eslint-disable-next-line babel/no-invalid-this */\n return toBoolean(this) === false;\n})();\n\nconst test6 = function test6() {\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(function attemptee() {\n return nativeSome([1], thisTest, 'x');\n });\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(\"foo\", function (_, __, context) {' +\n 'if (castBoolean(context) === false || typeof context !== \"object\") {' +\n 'spy.value = true;}});';\n\n const res = attempt(function attemptee() {\n /* eslint-disable-next-line no-new-func */\n return Function('nativeSome', 'spy', 'castBoolean', fn)(nativeSome, spy, toBoolean);\n });\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\nconsole.log(isWorking);\n\nconst patchedSome = function some(array, callBack /* , thisArg */) {\n /* eslint-disable-next-line prefer-rest-params */\n return nativeSome(requireObjectCoercible(array), assertIsFunction(callBack), arguments[2]);\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 (call(callBack, 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 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 attempt from 'attempt-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst pFindIndex = typeof Array.prototype.findIndex === 'function' && Array.prototype.findIndex;\n\nlet isWorking;\n\nif (pFindIndex) {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = 1;\n let res = attempt.call(testArr, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === 0;\n\n if (isWorking) {\n res = attempt.call(1, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === -1;\n }\n\n if (isWorking) {\n isWorking = attempt.call([], pFindIndex).threw;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pFindIndex, (item) => {\n return item === 'c';\n });\n\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pFindIndex,\n (item) => {\n return item === 'c';\n },\n );\n\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\n/**\n * Like `findIndex`, this method returns an index in the array, if an element\n * in the array satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If array is `null` or `undefined`-.\n * @param {Function} callback - Function to execute on each value in the array,\n * taking three arguments: `element`, `index` and `array`.\n * @throws {TypeError} If `callback` is not a function.\n * @param {*} [thisArg] - Object to use as `this` when executing `callback`.\n * @returns {number} Returns index of positively tested element, otherwise -1.\n */\nlet findIdx;\n\nif (isWorking) {\n findIdx = function findIndex(array, callback) {\n const args = [callback];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return pFindIndex.apply(array, args);\n };\n} else {\n findIdx = function findIndex(array, callback) {\n const object = toObject(array);\n assertIsFunction(callback);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n let thisArg;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n thisArg = arguments[2];\n }\n\n let index = 0;\n while (index < length) {\n if (callback.call(thisArg, iterable[index], index, object)) {\n return index;\n }\n\n index += 1;\n }\n\n return -1;\n };\n}\n\nconst fi = findIdx;\n\nexport default fi;\n","import numberIsFinite from 'is-finite-x';\nimport toInteger from 'to-integer-x';\n\n/**\n * This method determines whether the passed value is an integer.\n *\n * @param {*} value - The value to be tested for being an integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is an integer.\n */\nconst isInteger = function isInteger(value) {\n return numberIsFinite(value) && toInteger(value) === value;\n};\n\nexport default isInteger;\n","import isInteger from 'is-integer-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\nconst MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n\n/**\n * This method determines whether the passed value is a safe integer.\n *\n * Can be exactly represented as an IEEE-754 double precision number, and\n * whose IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation.\n *\n * @param {*} value - The value to be tested for being a safe integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * safe integer.\n */\nconst isSafeInteger = function isSafeInteger(value) {\n return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n};\n\nexport default isSafeInteger;\n","import isSafeInteger from 'is-safe-integer-x';\n\n/**\n * This method checks if `value` is a valid array-like length.\n *\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nconst isLength = function isLength(value) {\n return isSafeInteger(value) && value >= 0;\n};\n\nexport default isLength;\n","import isNil from 'is-nil-x';\nimport isFunction from 'is-function-x';\nimport isLength from 'is-length-x';\n\n/**\n * Checks if value is array-like. A value is considered array-like if it's\n * not a function and has a `length` that's an integer greater than or\n * equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @param {*} value - The object to be tested.\n */\nconst isArrayLike = function isArrayLike(value) {\n return isNil(value) === false && isFunction(value, true) === false && isLength(value.length);\n};\n\nexport default isArrayLike;\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport toInteger from 'to-integer-x';\nimport isArrayLike from 'is-array-like-x';\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\n/**\n * This method calculates a fromIndex of a given value for an array.\n *\n * @param {Array} array - * The array on which to calculate the starting index.\n * @throws {TypeError} If array is null or undefined.\n * @param {number} fromIndex - * The position in this array at which to begin. A\n * negative value gives the index of array.length + fromIndex by asc.\n * @returns {number} The calculated fromIndex. Default is 0.\n */\nconst calcFromIndex = function calcFromIndex(array, fromIndex) {\n const object = toObject(array);\n\n if (isArrayLike(object) === false) {\n return 0;\n }\n\n const index = toInteger(fromIndex);\n\n return index >= 0 ? index : getMax(0, toLength(object.length) + index);\n};\n\nexport default calcFromIndex;\n","import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport 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';\nimport methodize from 'simple-methodize-x';\nimport toInteger from 'to-integer-x';\n\nconst nio = [].indexOf;\nconst nativeIndexOf = typeof nio === 'function' && methodize(nio);\nconst {max: mathMax} = Math;\n\nconst test1 = function test1() {\n const res = attempt(nativeIndexOf, [0, 1], 1, 2);\n\n return res.threw === false && res.value === -1;\n};\n\nconst test2 = function test2() {\n const res = attempt(nativeIndexOf, [0, 1], 1);\n\n return res.threw === false && res.value === 1;\n};\n\nconst test3 = function test3() {\n const res = attempt(nativeIndexOf, [0, -0], -0);\n\n return res.threw === false && res.value === 0;\n};\n\nconst test4 = function test4() {\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 const res = attempt(nativeIndexOf, testArr, void 0);\n\n return res.threw === false && res.value === 1;\n};\n\nconst test5 = function test5() {\n const res = attempt(nativeIndexOf, 'abc', 'c');\n\n return res.threw === false && res.value === 2;\n};\n\nconst test6 = function test6() {\n const args = (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c');\n\n const res = attempt(nativeIndexOf, args, 'c');\n\n return res.threw === false && res.value === 2;\n};\n\nconst isWorking = toBoolean(nativeIndexOf) && test1() && test2() && test3() && test4() && test5() && test6();\n\nexport const implementation = function indexOf(array, searchElement) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length === 0) {\n return -1;\n }\n\n let i = 0;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params */\n i = toInteger(arguments[2]);\n }\n\n // handle negative indices\n i = i >= 0 ? i : mathMax(0, length + i);\n for (; i < length; i += 1) {\n if (i in iterable && iterable[i] === searchElement) {\n return i;\n }\n }\n\n return -1;\n};\n\nconst pIndexOf = isWorking ? nativeIndexOf : implementation;\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(iterable, searchElement, fromIndex);\n};\n\nexport default indexOf;\n","import attempt from 'attempt-x';\nimport toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport findIndex from 'find-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport indexOf from 'index-of-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport toBoolean from 'to-boolean-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport methodize from 'simple-methodize-x';\n\nconst ni = [].includes;\nconst nativeIncludes = typeof ni === 'function' && methodize(ni);\n\nconst getArrayLike = function getArrayLike() {\n return {\n 1: 'a',\n 2: NaN,\n 3: -0,\n length: 5,\n };\n};\n\nconst test1 = function test1() {\n return attempt(null, nativeIncludes, 'a').threw;\n};\n\nconst test2 = function test2() {\n const arr = getArrayLike();\n const res = attempt(function attemptee() {\n /* eslint-disable-next-line no-void */\n return nativeIncludes(arr, void 0, -1);\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst test3 = function test3() {\n const arr = getArrayLike();\n const res = attempt(function attemptee() {\n return nativeIncludes(arr, NaN);\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst test4 = function test4() {\n const arr = getArrayLike();\n const res = attempt(function attemptee() {\n return nativeIncludes(arr, 0);\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst test5 = function test5() {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = null;\n const res = attempt(function attemptee() {\n /* eslint-disable-next-line no-void */\n return nativeIncludes(testArr, void 0);\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst test6 = function test6() {\n const res = attempt(function attemptee() {\n return nativeIncludes('abc', 'c');\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst test7 = function test7() {\n const res = attempt(function attemptee() {\n const args = (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c');\n\n return nativeIncludes(args, 'c');\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst isWorking = toBoolean(nativeIncludes) && test1() && test2() && test3() && test4() && test5() && test6() && test7();\n\nconst patchedReduce = function includes(array, searchElement) {\n /* eslint-disable-next-line prefer-rest-params */\n return nativeIncludes(requireObjectCoercible(array), searchElement, arguments[2]);\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\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} object - 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 * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nconst findIdxFrom = function findIndexFrom(args) {\n const [object, searchElement, fromIndex] = args;\n let fIdx = fromIndex;\n const length = toLength(object.length);\n while (fIdx < length) {\n if (sameValueZero(object[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\nconst runFindIndex = function runFindIndex(obj) {\n const {iterable, args, length, searchElement} = obj;\n let fromIndex = calcFromIndex(iterable, args[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n\n return fromIndex > 0\n ? findIdxFrom([iterable, searchElement, fromIndex]) > -1\n : findIndex(iterable, function predicate(element) {\n return sameValueZero(searchElement, element);\n }) > -1;\n};\n\nexport const implementation = function includes(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 if (typeof searchElement === 'undefined') {\n /* eslint-disable-next-line prefer-rest-params */\n return runFindIndex({iterable, args: arguments, length, searchElement});\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n return indexOf(iterable, searchElement, arguments[2], 'samevaluezero') > -1;\n};\n\n/**\n * This method determines whether an array includes a certain element,\n * returning true or false as appropriate.\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 position in this array at which to begin\n * searching for searchElement. A negative value searches from the index of\n * array.length + fromIndex by asc. Defaults to 0.\n * @returns {boolean} `true` if searched element is included; otherwise `false`.\n */\nconst $includes = isWorking ? patchedReduce : implementation;\n\nexport default $includes;\n","import filter from 'array-filter-x';\nimport reduce from 'array-reduce-x';\nimport some from 'array-some-x';\nimport arrayincludes from 'array-includes-x';\nimport isNil from 'is-nil-x';\nimport methodize from 'simple-methodize-x';\n\nconst shift = methodize([].shift);\n\nconst notNil = function notNil(value) {\n return isNil(value) === false;\n};\n\nconst createReducer = function createReducer(arrays) {\n return function reducer(acc, value) {\n const isIncluded = some(arrays, function exclude(array) {\n return arrayincludes(array, value) === false;\n });\n\n if (isIncluded === false && arrayincludes(acc, value) === false) {\n acc[acc.length] = value;\n }\n\n return acc;\n };\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method creates an array of unique values that are included in all given\n * arrays using SameValueZero for equality comparisons. The order and references\n * of result values are determined by the first array.\n *\n * @param {...Array} [array] - The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n */\n// eslint-enable jsdoc/check-param-names\nconst intersection = function intersection() {\n /* eslint-disable-next-line prefer-rest-params */\n const arrays = filter(arguments, notNil);\n const result = [];\n\n return arrays.length < 1 ? result : reduce(shift(arrays), createReducer(arrays), result);\n};\n\nexport default intersection;\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/array-intersection-x.min.js b/dist/array-intersection-x.min.js index dd2f97e..50911b0 100644 --- a/dist/array-intersection-x.min.js +++ b/dist/array-intersection-x.min.js @@ -2,20 +2,14 @@ { "author": "Graham Fairweather", "copywrite": "Copyright (c) 2017", - "date": "2019-08-20T13:53:35.168Z", + "date": "2019-08-20T20:12:12.999Z", "describe": "", "description": "Creates an array of unique values that are included in all given arrays.", "file": "array-intersection-x.min.js", - "hash": "abf6ea44d780d0ed0761", + "hash": "bfcf821490cf77aa6010", "license": "MIT", - "version": "3.1.0" + "version": "3.1.1" } */ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.arrayIntersectionX=n():t.arrayIntersectionX=n()}(function(){"use strict";var t,n={}.constructor,r=n.prototype,e=n.defineProperty,o=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0},u=function(){return this};try{return e?e(r,"$$globalThis$$",{get:u,configurable:!0}):r.__defineGetter__("$$globalThis$$",u),t="undefined"==typeof $$globalThis$$?o():$$globalThis$$,delete r.$$globalThis$$,t}catch(t){return o()}}(),function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=7)}([function(t,n,r){"use strict";var e=Object.prototype.toString;if(r(4)()){var o=Symbol.prototype.toString,u=/^Symbol\(.*\)$/;t.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==e.call(t))return!1;try{return function(t){return"symbol"==typeof t.valueOf()&&u.test(o.call(t))}(t)}catch(t){return!1}}}else t.exports=function(t){return!1}},function(t,n,r){"use strict"; -/*! - * is-primitive - * - * Copyright (c) 2014-present, Jon Schlinkert. - * Released under the MIT License. - */t.exports=function(t){return"object"==typeof t?null===t:"function"!=typeof t}},function(t,n,r){"use strict";var e=String.prototype.valueOf,o=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(t){return"string"==typeof t||"object"==typeof t&&(u?function(t){try{return e.call(t),!0}catch(t){return!1}}(t):"[object String]"===o.call(t))}},function(t,n,r){"use strict";var e=Date.prototype.getDay,o=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(t){return"object"==typeof t&&null!==t&&(u?function(t){try{return e.call(t),!0}catch(t){return!1}}(t):"[object Date]"===o.call(t))}},function(t,n,r){"use strict";(function(n){var e=n.Symbol,o=r(6);t.exports=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(5))},function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n,r){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},n=Symbol("test"),r=Object(n);if("string"==typeof n)return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(n in t[n]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var e=Object.getOwnPropertySymbols(t);if(1!==e.length||e[0]!==n)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,n);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(t,n,r){"use strict";r.r(n);var e=function(t){try{for(var n=arguments.length,r=new Array(n>1?n-1:0),e=1;e1?w(n):"")},L=e.constructor,R=e.toString,X=/^class /,q=X.test,G=!1===e(function(){return L('"use strict"; return class My {};')()}).threw,H=function(t){return q.call(X,D(z(R.call(t)," ")))},U=function(t){var n=e(H,t);return!1===n.threw&&n.value},V=function(t,n){return!b()(t)&&(h?function(t,n){return!(G&&!1===n&&U(t)||!1!==e.call(t,R).threw)}(t,a(n)):(!G||!1!==a(n)||!U(t))&&function(t){var n=f(t);return"[object Function]"===n||"[object GeneratorFunction]"===n||"[object AsyncFunction]"===n}(t))},J=v&&Symbol.prototype.toString,K="function"==typeof J&&p.a,Q="".constructor,W=function(t){return K&&K(t)?J.call(t):Q(t)},Y=function(t,n){if(!1===V(t)){var r=arguments.length>1?W(n):"".concat(b()(t)?W(t):"#"," is not a function");throw new TypeError(r)}return t},Z=r(3),tt=r.n(Z),nt="string".constructor,rt=(0).constructor,et=v&&Symbol.toPrimitive,ot=v&&Symbol.prototype.valueOf,ut=["toString","valueOf"],it=["valueOf","toString"],ct=function(t,n){u(t),function(t){if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"')}(n);for(var r,e,o="string"===n?ut:it,i=0;i<2;i+=1)if(r=t[o[i]],V(r)&&(e=r.call(t),b()(e)))return e;throw new TypeError("No default value")},at=function(t,n){if(n){if(t===nt)return"string";if(t===rt)return"number"}return"default"},lt=function(t){if(v){if(et)return function(t,n){var r=t[n];if(!1===o(r)){if(!1===V(r))throw new TypeError("".concat(r," returned for property ").concat(n," of object ").concat(t," is not a function"));return r}}(t,et);if(p()(t))return ot}},ft=function(t){var n=t.exoticToPrim,r=t.input,e=t.hint,o=n.call(r,e);if(b()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},st=function(t,n){var r="default"===n&&(tt()(t)||p()(t))?"string":n;return ct(t,"default"===r?"number":r)},pt=function(t,n){if(b()(t))return t;var r=at(n,arguments.length>1),e=lt(t);return void 0===e?st(t,r):ft({exoticToPrim:e,input:t,hint:r})},yt=parseInt,vt=(0).constructor,ht="".charAt,dt=/^[-+]?0[xX]/,bt=dt.test,gt=function(t,n){var r=F(w(t));return"᠎"===ht.call(r,0)?NaN:yt(r,vt(n)||(bt.call(dt,r)?16:10))},mt=2..constructor,wt="Cannot convert a Symbol value to a number".slice,St=/^0b[01]+$/i,jt=St.test,xt=/^0o[0-7]+$/i,Ot=new(0,St.constructor)("[…᠎​￾]","g"),Tt=/^[-+]0x[0-9a-f]+$/i,Et=function(t,n){return gt(wt.call(t,2),n)},$t=function(t,n){return function(t){return jt.call(St,t)}(n)?t(Et(n,2)):function(t){return jt.call(xt,t)}(n)?t(Et(n,8)):null},Nt=function(t,n){var r=$t(t,n);if(null!==r)return r;if(function(t){return jt.call(Ot,t)}(n)||function(t){return jt.call(Tt,t)}(n))return NaN;var e=C(n);return e!==n?t(e):null},Ft=function t(n){var r=function(t){if(p()(t))throw new TypeError("Cannot convert a Symbol value to a number");return t}(pt(n,mt));if("string"==typeof r){var e=Nt(t,r);if(null!==e)return e}return mt(r)},Pt=function(t){return t!=t},_t=function(t){return"number"==typeof t&&!1===Pt(t)&&t!==1/0&&t!==-1/0},At=function(t){var n=Ft(t);return 0===n||Pt(n)?n:n>0?1:-1},Ct=Math.abs,It=Math.floor,Mt=function(t){var n=Ft(t);return Pt(n)?0:0===n||!1===_t(n)?n:At(n)*It(Ct(n))},Dt=function(t){var n=Mt(t);return n<=0?0:n>9007199254740991?9007199254740991:n},kt={}.constructor("a"),Bt="a"===kt[0]&&0 in kt,zt=r(2),Lt=r.n(zt),Rt="".split,Xt=!1===Bt&&"function"==typeof Rt&&Lt.a,qt=function(t){return Xt&&Xt(t)?Rt.call(t,""):t};function Gt(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Ht=function(t){var n=Gt(t,6),r=n[0],e=n[1],o=n[2],u=n[3],i=n[4],c=n[5],a=u[i];return r?o(a,i,c):o.call(e,a,i,c)},Ut=function(t){var n=qt(t);return[n,Dt(n.length)]},Vt=function(t,n){var r=c(t);Y(n);var e=Ut(r),o=Gt(e,2),u=o[0],i=o[1],a=arguments.length>2?arguments[2]:void 0,l=void 0===a;if(i)for(var f=0;f2&&(r[1]=arguments[2]),Zt.apply(t,r)}:function(t,n){var r=c(t);Y(n);var e=[],o=function(){var t=arguments[1];if(t in arguments[2]){var o=arguments[0];n.call(this,o,t,r)&&(e[e.length]=o)}};return Jt(r,o,arguments[2]),e};function nn(t){return(nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var rn=[].reduce,en="function"==typeof rn&&rn,on=a(en)&&e.call([],en,function(t){return t}).threw&&function(){var t=e.call(c("abc"),en,function(t,n){return t+n},"x");return!1===t.threw&&"xabc"===t.value}()&&function(){var t=e.call(function(){return arguments}(1,2,3),en,function(t,n){return t+n},1);return!1===t.threw&&7===t.value}()&&function(){var t=e.call({0:1,1:2,3:3,4:4,length:4},en,function(t,n){return t+n},2);return!1===t.threw&&8===t.value}()&&function(){var t="undefined"!=typeof document&&document;if(t){var n=t.createDocumentFragment(),r=t.createElement("div");n.appendChild(r);var o=e.call(n.childNodes,en,function(t,n){return t[t.length]=n,t},[]);return!1===o.threw&&1===o.value.length&&o.value[0]===r}return!0}()&&function(){var t=e.call("ab",en,function(){return arguments[3]});return!1===t.threw&&"object"===nn(t.value)}()?function(t,n){u(t);var r=[Y(n)];return arguments.length>2&&(r[1]=arguments[2]),en.apply(t,r)}:function(t,n){var r=c(t);Y(n);var e=qt(r),o=Dt(e.length),u=arguments.length;if(0===o&&u<3)throw new TypeError("Reduce of empty array with no initial value");var i,a=0;if(u>2)i=arguments[2];else for(;;){if(a in e){i=e[a],a+=1;break}if((a+=1)>=o)throw new TypeError("Reduce of empty array with no initial value")}for(;a2&&(r[1]=arguments[2]),cn.apply(t,r)}:function(t,n){var r=c(t);Y(n);var e=function(){var t=arguments[1];return!!(t in arguments[2]&&n.call(this,arguments[0],t,r))};return Vt(r,e,arguments[2])},ln=function(t,n){return 0===t&&0===n?1/t==1/n:t===n||Pt(t)&&Pt(n)},fn=function(t,n){return t===n||ln(t,n)};function sn(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}var pn,yn="function"==typeof Array.prototype.findIndex&&Array.prototype.findIndex;if(yn){var vn=[];vn.length=2,vn[1]=1;var hn=e.call(vn,yn,function(t,n){return sn(this,void 0),0===n}.bind(void 0));(pn=!1===hn.threw&&0===hn.value)&&(pn=!1===(hn=e.call(1,yn,function(t,n){return sn(this,void 0),0===n}.bind(void 0))).threw&&-1===hn.value),pn&&(pn=e.call([],yn).threw),pn&&(pn=!1===(hn=e.call("abc",yn,function(t){return sn(this,void 0),"c"===t}.bind(void 0))).threw&&2===hn.value),pn&&(pn=!1===(hn=e.call(function(){return arguments}("a","b","c"),yn,function(t){return sn(this,void 0),"c"===t}.bind(void 0))).threw&&2===hn.value)}var dn=pn?function(t,n){var r=[n];return arguments.length>2&&(r[1]=arguments[2]),yn.apply(t,r)}:function(t,n){var r=c(t);Y(n);var e,o=qt(r),u=Dt(o.length);if(u<1)return-1;arguments.length>2&&(e=arguments[2]);for(var i=0;i=-9007199254740991&&t<=9007199254740991},mn=function(t){return gn(t)&&t>=0},wn=function(t){return!1===o(t)&&!1===V(t,!0)&&mn(t.length)},Sn=function(t,n){var r=c(t);if(!1===wn(r))return 0;var e,o,u=Mt(n);return u>=0?u:(e=0,o=Dt(r.length)+u,e>=o?e:o)};function jn(t,n){if(t!==n)throw new TypeError("Cannot instantiate an arrow function")}var xn,On="function"==typeof Array.prototype.indexOf&&Array.prototype.indexOf;if(On){var Tn=e.call([0,1],On,1,2);if((xn=!1===Tn.threw&&-1===Tn.value)&&(xn=!1===(Tn=e.call([0,1],On,1)).threw&&1===Tn.value),xn&&(xn=!1===(Tn=e.call([0,-0],On,-0)).threw&&0===Tn.value),xn){var En=[];En.length=2,En[1]=void 0,xn=!1===(Tn=e.call(En,On,void 0)).threw&&1===Tn.value}xn&&(xn=!1===(Tn=e.call("abc",On,"c")).threw&&2===Tn.value),xn&&(xn=!1===(Tn=e.call(function(){return arguments}("a","b","c"),On,"c")).threw&&2===Tn.value)}!0!==xn&&(On=function(t){var n=Dt(this.length);if(n<1)return-1;for(var r=arguments[1];r2&&l>3?arguments[3]:arguments[2];Lt()(f)&&("samevalue"===(f=f.toLowerCase())?i=ln:"samevaluezero"===f&&(i=fn));var s=0;if(i&&(0===n||Pt(n))){if(l>3){if((s=Sn(o,arguments[2]))>=u)return-1;s<0&&(s=0)}return s>0?$n(o,n,s,i):dn(o,function(t,e){return jn(this,r),e in o&&i(n,t)}.bind(this))}if(l>3||l>2&&!1===a(i)){if((s=Sn(o,arguments[2]))>=u)return-1;s<0&&(s=0)}return On.call(o,n,s)};function Fn(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Pn=[].includes,_n="function"==typeof Pn&&Pn,An=a(_n)&&e.call(null,_n,"a").threw&&function(){var t={1:"a",2:NaN,3:-0,length:5},n=e.call(t,_n,void 0,-1);return!1===n.threw&&!0===n.value}()&&function(){var t={1:"a",2:NaN,3:-0,length:5},n=e.call(t,_n,NaN);return!1===n.threw&&!0===n.value}()&&function(){var t={1:"a",2:NaN,3:-0,length:5},n=e.call(t,_n,0);return!1===n.threw&&!0===n.value}()&&function(){var t=[];t.length=2,t[1]=null;var n=e.call(t,_n,void 0);return!1===n.threw&&!0===n.value}()&&function(){var t=e.call("abc",_n,"c");return!1===t.threw&&!0===t.value}()&&function(){var t=e.call(function(){return arguments}("a","b","c"),_n,"c");return!1===t.threw&&!0===t.value}(),Cn=function(t){var n=t.iterable,r=t.args,e=t.length,o=t.searchElement,u=Sn(n,r[2]);return u>=e?-1:(u<0&&(u=0),u>0?function(t){for(var n=Fn(t,3),r=n[0],e=n[1],o=n[2],u=Dt(r.length);o-1:dn(n,function(t){return fn(o,t)})>-1)},In=An?function(t,n){u(t);var r=[n];return arguments.length>2&&(r[1]=arguments[2]),_n.apply(t,r)}:function(t,n){var r=c(t),e=qt(r),o=Dt(e.length);return o<1?-1:void 0===n?Cn({iterable:e,args:arguments,length:o,searchElement:n}):Nn(e,n,arguments[2],"samevaluezero")>-1};function Mn(t){return(Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Dn=function(t){return"object"===Mn(t)?null===t:"function"!=typeof t},kn="".split,Bn=[""],zn=function(t){return Lt()(t)?kn.apply(t,Bn):t},Ln=function(t,n){var r=arguments.length>2?arguments[2]:[];if("string"!=typeof t&&Dn(t))return r;for(var e=zn(t),o=e.length,u=n||0;u=n?t:n},Un=function(t){if("function"!=typeof t&&"[object Function]"!==Gn.apply(t))throw new TypeError("bind called on incompatible "+t)},Vn=[function(t){return function(){return t.apply(this,Ln(arguments))}},function(t,n){return function(r){return t.apply(this,Ln(arguments,n,[r]))}},function(t,n){return function(r,e){return t.apply(this,Ln(arguments,n,[r,e]))}},function(t,n){return function(r,e,o){return t.apply(this,Ln(arguments,n,[r,e,o]))}},function(t,n){return function(r,e,o,u){return t.apply(this,Ln(arguments,n,[r,e,o,u]))}},function(t,n){return function(r,e,o,u,i){return t.apply(this,Ln(arguments,n,[r,e,o,u,i]))}},function(t,n){return function(r,e,o,u,i,c){return t.apply(this,Ln(arguments,n,[r,e,o,u,i,c]))}},function(t,n){return function(r,e,o,u,i,c,a){return t.apply(this,Ln(arguments,n,[r,e,o,u,i,c,a]))}},function(t,n){return function(r,e,o,u,i,c,a,l){return t.apply(this,Ln(arguments,n,[r,e,o,u,i,c,a,l]))}}],Jn=function(t){var n=Rn(t,3),r=n[0],e=n[1],o=n[2],u=Hn(0,e.length-Hn(0,o.length-2)),i=Vn[u],c=i?i(r,u):Vn[0](r);if(e.prototype){var a=function(){};a.prototype=e.prototype,c.prototype=new a,a.prototype=null}return c},Kn=function(t,n){var r=t.apply(this,n);return qn(r)===r?r:this},Qn=function(t,n){Un(t);var r,e=arguments,o=function(){var o=Ln(arguments,0,Ln(e,2));return this instanceof r?Kn.apply(this,[t,o]):t.apply(n,o)};return r=Jn([o,t,e])},Wn=TypeError,Yn=Qn.apply,Zn=Qn(Qn.call,Yn),tr=Qn(Yn,{}.toString),nr=function(t){if("function"!=typeof t&&"[object Function]"!==tr(t))throw new Wn(t+" is not a function");return t},rr=function(t,n){return Zn(nr(t),n,Ln(arguments[2]))},er={}.toString,or=function(t){return function(t){if("function"!=typeof t&&"[object Function]"!==rr(er,t))throw new TypeError("methodize called on incompatible "+t)}(t),function(){return rr(t,arguments[0],Ln(arguments,1))}}([].shift),ur=function(t){return!1===o(t)},ir=function(t){return function(n,r){return!1===an(t,function(t){return!1===In(t,r)})&&!1===In(n,r)&&(n[n.length]=r),n}};n.default=function(){var t=tn(arguments,ur),n=[];return t.length<1?n:on(or(t),ir(t),n)}}])}); +!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.arrayIntersectionX=t():n.arrayIntersectionX=t()}(function(){"use strict";var n,t={}.constructor,r=t.prototype,e=t.defineProperty,o=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0},u=function(){return this};try{return e?e(r,"$$globalThis$$",{get:u,configurable:!0}):r.__defineGetter__("$$globalThis$$",u),n="undefined"==typeof $$globalThis$$?o():$$globalThis$$,delete r.$$globalThis$$,n}catch(n){return o()}}(),function(){return function(n){var t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)r.d(e,o,function(t){return n[t]}.bind(null,o));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=6)}([function(n,t,r){"use strict";var e=Object.prototype.toString;if(r(3)()){var o=Symbol.prototype.toString,u=/^Symbol\(.*\)$/;n.exports=function(n){if("symbol"==typeof n)return!0;if("[object Symbol]"!==e.call(n))return!1;try{return function(n){return"symbol"==typeof n.valueOf()&&u.test(o.call(n))}(n)}catch(n){return!1}}}else n.exports=function(n){return!1}},function(n,t,r){"use strict";var e=String.prototype.valueOf,o=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;n.exports=function(n){return"string"==typeof n||"object"==typeof n&&(u?function(n){try{return e.call(n),!0}catch(n){return!1}}(n):"[object String]"===o.call(n))}},function(n,t,r){"use strict";var e=Date.prototype.getDay,o=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;n.exports=function(n){return"object"==typeof n&&null!==n&&(u?function(n){try{return e.call(n),!0}catch(n){return!1}}(n):"[object Date]"===o.call(n))}},function(n,t,r){"use strict";(function(t){var e=t.Symbol,o=r(5);n.exports=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(4))},function(n,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"==typeof window&&(r=window)}n.exports=r},function(n,t,r){"use strict";n.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var n={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in n[t]=42,n)return!1;if("function"==typeof Object.keys&&0!==Object.keys(n).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(n).length)return!1;var e=Object.getOwnPropertySymbols(n);if(1!==e.length||e[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(n,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(n,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(n,t,r){"use strict";function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}r.r(t);var o=function(n){return"object"===e(n)?null===n:"function"!=typeof n},u=r(1),i=r.n(u),c={}.constructor("a"),f="a"===c[0]&&0 in c,a=function(){}.bind,l="function"==typeof a&&function(){var n=null,t=null,r=null,e=[];try{var o=a.apply(function(e,o){return r=this,n=e,t=o,arguments},[e,1]),u=o(2);return 1===o.length&&2===u.length&&1===n&&2===t&&r===e}catch(n){return!1}}()&&function(){var n=null,t=null,r=null,e=[1,2,3],o=function(o,u){return n=o,t=u,r=this,e};try{var u=a.apply(o,[null]),i=new u(1,2);return u.length===o.length&&i===e&&1===n&&2===t&&r!==e}catch(n){return!1}}(),s="".split,p=Math.max,v=o.bind,y=o.call,h=l?v.call(y,s):function(n,t){return s.call(n,t)},d=function(n){return i()(n)?h(n,""):n},b=function(n,t){var r=arguments.length>2?arguments[2]:[];if("string"!=typeof n&&o(n))return r;for(var e=f?n:d(n),u=e.length,i=p(0,t)||0;i=t?n:t},T=function(n){if("function"!=typeof n&&"[object Function]"!==x.apply(n))throw new TypeError("bind called on incompatible "+n)},E=[function(n){return function(){return n.apply(this,b(arguments))}},function(n,t){return function(r){return n.apply(this,b(arguments,t,[r]))}},function(n,t){return function(r,e){return n.apply(this,b(arguments,t,[r,e]))}},function(n,t){return function(r,e,o){return n.apply(this,b(arguments,t,[r,e,o]))}},function(n,t){return function(r,e,o,u){return n.apply(this,b(arguments,t,[r,e,o,u]))}},function(n,t){return function(r,e,o,u,i){return n.apply(this,b(arguments,t,[r,e,o,u,i]))}},function(n,t){return function(r,e,o,u,i,c){return n.apply(this,b(arguments,t,[r,e,o,u,i,c]))}},function(n,t){return function(r,e,o,u,i,c,f){return n.apply(this,b(arguments,t,[r,e,o,u,i,c,f]))}},function(n,t){return function(r,e,o,u,i,c,f,a){return n.apply(this,b(arguments,t,[r,e,o,u,i,c,f,a]))}}],$=function(n){var t=g(n,3),r=t[0],e=t[1],o=t[2],u=O(0,e.length-O(0,o.length-2)),i=E[u],c=i?i(r,u):E[0](r);if(e.prototype){var f=function(){};f.prototype=e.prototype,c.prototype=new f,f.prototype=null}return c},N=function(n,t){var r=n.apply(this,t);return j(r)===r?r:this},F=l?w.bind(m):function(n,t){T(n);var r,e=arguments,o=function(){var o=b(arguments,0,b(e,2));return this instanceof r?N.apply(this,[n,o]):n.apply(t,o)};return r=$([o,n,e])},P=TypeError,_=F.apply,C=F(F.call,_),M=F(_,{}.toString),A=function(n){if("function"!=typeof n&&"[object Function]"!==M(n))throw new P(n+" is not a function");return n},I=function(n,t){return C(A(n),t,b(arguments[2]))},D=function(n){try{return{threw:!1,value:I(n,this,b(arguments,1))}}catch(n){return{threw:!0,value:n}}},k=function(n){return null==n},B=function(n){if(k(n))throw new TypeError("Cannot call method on ".concat(n));return n},z={}.constructor,L=function(n){return z(B(n))},R=function(n){return!!n},X={}.toString,q=function(n){return function(n){if("function"!=typeof n&&"[object Function]"!==I(X,n))throw new TypeError("methodize called on incompatible "+n)}(n),function(){return I(n,arguments[0],b(arguments,1))}},G=q({}.toString),H=function(n){return null===n?"[object Null]":void 0===n?"[object Undefined]":G(n)},U=r(0),V=r.n(U);for(var J=D(function(){return function(n,t){if(n!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&V()(Symbol(""))}.bind(void 0)),K=!1===J.threw&&!0===J.value,Q=K&&V()(Symbol.toStringTag),W="Cannot convert a Symbol value to a string".constructor,Y=function(n){if(V()(n))throw new TypeError("Cannot convert a Symbol value to a string");return W(n)},Z=function(n){return Y(B(n))},nn=[{code:9,description:"Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\t"},{code:10,description:"Line Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\n"},{code:11,description:"Vertical Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\v"},{code:12,description:"Form Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\f"},{code:13,description:"Carriage Return",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\r"},{code:32,description:"Space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:160,description:"No-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:5760,description:"Ogham space mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:6158,description:"Mongolian vowel separator",es5:!0,es2015:!0,es2016:!0,es2017:!1,es2018:!1,string:"᠎"},{code:8192,description:"En quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8193,description:"Em quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8194,description:"En space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8195,description:"Em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8196,description:"Three-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8197,description:"Four-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8198,description:"Six-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8199,description:"Figure space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8200,description:"Punctuation space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8201,description:"Thin space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8202,description:"Hair space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8232,description:"Line separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2028"},{code:8233,description:"Paragraph separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2029"},{code:8239,description:"Narrow no-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8287,description:"Medium mathematical space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:12288,description:"Ideographic space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:65279,description:"Byte Order Mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\ufeff"}],tn="",rn=nn.length,en=0;en1?Y(t):"")},mn=D.constructor,wn=q(D.toString),Sn=/^class /,jn=q(Sn.test),xn=!1===D(function(){return mn('"use strict"; return class My {};')()}).threw,On=function(n){return jn(Sn,hn(gn(wn(n)," ")))},Tn=function(n){var t=D(On,n);return!1===t.threw&&t.value},En=function(n,t){return!o(n)&&(Q?function(n,t){return!(xn&&!1===t&&Tn(n)||!1!==D(function(){return wn(n)}).threw)}(n,R(t)):(!xn||!1!==R(t)||!Tn(n))&&function(n){var t=H(n);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(n))},$n=K&&Symbol.prototype.toString,Nn="function"==typeof $n&&V.a,Fn="".constructor,Pn=function(n){return Nn&&Nn(n)?$n.call(n):Fn(n)},_n=function(n,t){if(!1===En(n)){var r=arguments.length>1?Pn(t):"".concat(o(n)?Pn(n):"#"," is not a function");throw new TypeError(r)}return n},Cn=r(2),Mn=r.n(Cn),An="string".constructor,In=(0).constructor,Dn=K&&Symbol.toPrimitive,kn=K&&Symbol.prototype.valueOf,Bn=["toString","valueOf"],zn=["valueOf","toString"],Ln=function(n,t){B(n),function(n){if("string"!=typeof n||"number"!==n&&"string"!==n)throw new TypeError('hint must be "string" or "number"')}(t);for(var r="string"===t?Bn:zn,e=0;e<2;e+=1){var u=n[r[e]];if(En(u)){var i=I(u,n);if(o(i))return i}}throw new TypeError("No default value")},Rn=function(n,t){if(t){if(n===An)return"string";if(n===In)return"number"}return"default"},Xn=function(n){if(K){if(Dn)return function(n,t){var r=n[t];if(!1===k(r)){if(!1===En(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(n," is not a function"));return r}}(n,Dn);if(V()(n))return kn}},qn=function(n){var t=n.exoticToPrim,r=n.input,e=n.hint,u=I(t,r,[e]);if(o(u))return u;throw new TypeError("unable to convert exotic object to primitive")},Gn=function(n,t){var r="default"===t&&(Mn()(n)||V()(n))?"string":t;return Ln(n,"default"===r?"number":r)},Hn=function(n,t){if(o(n))return n;var r=Rn(t,arguments.length>1),e=Xn(n);return void 0===e?Gn(n,r):qn({exoticToPrim:e,input:n,hint:r})},Un=parseInt,Vn=(0).constructor,Jn=q("᠎".charAt),Kn=/^[-+]?0[xX]/,Qn=q(Kn.test),Wn=function(n,t){var r=fn(Y(n));return"᠎"===Jn(r,0)?NaN:Un(r,Vn(t)||(Qn(Kn,r)?16:10))},Yn=2..constructor,Zn=q("Cannot convert a Symbol value to a number".slice),nt=/^0b[01]+$/i,tt=nt.constructor,rt=q(nt.test),et=/^0o[0-7]+$/i,ot=new tt("[…᠎​￾]","g"),ut=/^[-+]0x[0-9a-f]+$/i,it=function(n,t){return Wn(Zn(n,2),t)},ct=function(n,t){return function(n){return rt(nt,n)}(t)?n(it(t,2)):function(n){return rt(et,n)}(t)?n(it(t,8)):null},ft=function(n,t){var r=ct(n,t);if(null!==r)return r;if(function(n){return rt(ot,n)}(t)||function(n){return rt(ut,n)}(t))return NaN;var e=pn(t);return e!==t?n(e):null},at=function n(t){var r=function(n){if(V()(n))throw new TypeError("Cannot convert a Symbol value to a number");return n}(Hn(t,Yn));if("string"==typeof r){var e=ft(n,r);if(null!==e)return e}return Yn(r)},lt=function(n){return n!=n},st=function(n){return"number"==typeof n&&!1===lt(n)&&n!==1/0&&n!==-1/0},pt=function(n){var t=at(n);return 0===t||lt(t)?t:t>0?1:-1},vt=Math.abs,yt=Math.floor,ht=function(n){var t=at(n);return lt(t)?0:0===t||!1===st(t)?t:pt(t)*yt(vt(t))},dt=function(n){var t=ht(n);return t<=0?0:t>9007199254740991?9007199254740991:t},bt=q("".split),gt=function(n){return n},mt=f?gt:function(n){return i()(n)?bt(n,""):gt(n)},wt=function(n,t){var r=L(n);_n(t);var e=mt(r),o=dt(e.length);if(o)for(var u=arguments[2],i=0;i2?Ct(n,t,arguments[2]):Ct(n,t)}:function(n,t){var r=L(n);_n(t);var e=mt(r),o=dt(e.length),u=arguments.length;if(0===o&&u<3)throw new TypeError("Reduce of empty array with no initial value");var i,c=0;if(u>2)i=arguments[2];else for(;;){if(c in e){i=e[c],c+=1;break}if((c+=1)>=o)throw new TypeError("Reduce of empty array with no initial value")}for(;c2&&(r[1]=arguments[2]),Ut.apply(n,r)}:function(n,t){var r=L(n);_n(t);var e,o=mt(r),u=dt(o.length);if(u<1)return-1;arguments.length>2&&(e=arguments[2]);for(var i=0;i=-9007199254740991&&n<=9007199254740991},Yt=function(n){return Wt(n)&&n>=0},Zt=function(n){return!1===k(n)&&!1===En(n,!0)&&Yt(n.length)},nr=function(n,t){var r=L(n);if(!1===Zt(r))return 0;var e,o,u=ht(t);return u>=0?u:(e=0,o=dt(r.length)+u,e>=o?e:o)};function tr(n,t){if(n!==t)throw new TypeError("Cannot instantiate an arrow function")}var rr=[].indexOf,er="function"==typeof rr&&q(rr),or=Math.max,ur=R(er)&&function(){var n=D(er,[0,1],1,2);return!1===n.threw&&-1===n.value}()&&function(){var n=D(er,[0,1],1);return!1===n.threw&&1===n.value}()&&function(){var n=D(er,[0,-0],-0);return!1===n.threw&&0===n.value}()&&function(){var n=[];n.length=2,n[1]=void 0;var t=D(er,n,void 0);return!1===t.threw&&1===t.value}()&&function(){var n=D(er,"abc","c");return!1===n.threw&&2===n.value}()&&function(){var n=function(){return arguments}("a","b","c"),t=D(er,n,"c");return!1===t.threw&&2===t.value}()?er:function(n,t){var r=L(n),e=mt(r),o=dt(e.length);if(0===o)return-1;var u=0;for(arguments.length>2&&(u=ht(arguments[2])),u=u>=0?u:or(0,o+u);u2&&f>3?arguments[3]:arguments[2];i()(a)&&("samevalue"===(a=a.toLowerCase())?c=Xt:"samevaluezero"===a&&(c=qt));var l=0;if(c&&(0===t||lt(t))){if(f>3){if((l=nr(o,arguments[2]))>=u)return-1;l<0&&(l=0)}return l>0?ir(o,t,l,c):Kt(o,function(n,e){return tr(this,r),e in o&&c(t,n)}.bind(this))}if(f>3||f>2&&!1===R(c)){if((l=nr(o,arguments[2]))>=u)return-1;l<0&&(l=0)}return ur(o,t,l)};function fr(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=n[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){o=!0,u=n}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ar=[].includes,lr="function"==typeof ar&&q(ar),sr=R(lr)&&D(null,lr,"a").threw&&function(){var n={1:"a",2:NaN,3:-0,length:5},t=D(function(){return lr(n,void 0,-1)});return!1===t.threw&&!0===t.value}()&&function(){var n={1:"a",2:NaN,3:-0,length:5},t=D(function(){return lr(n,NaN)});return!1===t.threw&&!0===t.value}()&&function(){var n={1:"a",2:NaN,3:-0,length:5},t=D(function(){return lr(n,0)});return!1===t.threw&&!0===t.value}()&&function(){var n=[];n.length=2,n[1]=null;var t=D(function(){return lr(n,void 0)});return!1===t.threw&&!0===t.value}()&&function(){var n=D(function(){return lr("abc","c")});return!1===n.threw&&!0===n.value}()&&function(){var n=D(function(){var n=function(){return arguments}("a","b","c");return lr(n,"c")});return!1===n.threw&&!0===n.value}(),pr=function(n){var t=n.iterable,r=n.args,e=n.length,o=n.searchElement,u=nr(t,r[2]);return u>=e?-1:(u<0&&(u=0),u>0?function(n){for(var t=fr(n,3),r=t[0],e=t[1],o=t[2],u=dt(r.length);o-1:Kt(t,function(n){return qt(o,n)})>-1)},vr=sr?function(n,t){return lr(B(n),t,arguments[2])}:function(n,t){var r=L(n),e=mt(r),o=dt(e.length);return o<1?-1:void 0===t?pr({iterable:e,args:arguments,length:o,searchElement:t}):cr(e,t,arguments[2],"samevaluezero")>-1},yr=q([].shift),hr=function(n){return!1===k(n)},dr=function(n){return function(t,r){return!1===Rt(n,function(n){return!1===vr(n,r)})&&!1===vr(t,r)&&(t[t.length]=r),t}};t.default=function(){var n=Ft(arguments,hr),t=[];return n.length<1?t:It(yr(n),dr(n),t)}}])}); //# sourceMappingURL=array-intersection-x.min.js.map \ No newline at end of file diff --git a/dist/array-intersection-x.min.js.map b/dist/array-intersection-x.min.js.map index 3210fb7..324eace 100644 --- a/dist/array-intersection-x.min.js.map +++ b/dist/array-intersection-x.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://arrayIntersectionX/webpack/universalModuleDefinition","webpack://arrayIntersectionX/webpack/bootstrap","webpack://arrayIntersectionX/./node_modules/is-symbol/index.js","webpack://arrayIntersectionX/./node_modules/is-primitive/index.js","webpack://arrayIntersectionX/./node_modules/is-string/index.js","webpack://arrayIntersectionX/./node_modules/is-date-object/index.js","webpack://arrayIntersectionX/./node_modules/has-symbols/index.js","webpack://arrayIntersectionX/(webpack)/buildin/global.js","webpack://arrayIntersectionX/./node_modules/has-symbols/shams.js","webpack://arrayIntersectionX/../src/attempt-x.js","webpack://arrayIntersectionX/../src/is-nil-x.js","webpack://arrayIntersectionX/../src/require-object-coercible-x.js","webpack://arrayIntersectionX/../src/to-object-x.js","webpack://arrayIntersectionX/../src/to-boolean-x.js","webpack://arrayIntersectionX/../src/to-string-tag-x.js","webpack://arrayIntersectionX/../src/white-space-x.js","webpack://arrayIntersectionX/../src/has-symbol-support-x.js","webpack://arrayIntersectionX/../src/has-to-string-tag-x.js","webpack://arrayIntersectionX/../src/to-string-x.js","webpack://arrayIntersectionX/../src/require-coercible-to-string-x.js","webpack://arrayIntersectionX/../src/trim-left-x.js","webpack://arrayIntersectionX/../src/trim-right-x.js","webpack://arrayIntersectionX/../src/trim-x.js","webpack://arrayIntersectionX/../src/normalize-space-x.js","webpack://arrayIntersectionX/../src/replace-comments-x.js","webpack://arrayIntersectionX/../src/is-function-x.js","webpack://arrayIntersectionX/../src/to-string-symbols-supported-x.js","webpack://arrayIntersectionX/../src/assert-is-function-x.js","webpack://arrayIntersectionX/../src/to-primitive-x.js","webpack://arrayIntersectionX/../src/parse-int-x.js","webpack://arrayIntersectionX/../src/nan-x.js","webpack://arrayIntersectionX/../src/to-number-x.js","webpack://arrayIntersectionX/../src/is-nan-x.js","webpack://arrayIntersectionX/../src/is-finite-x.js","webpack://arrayIntersectionX/../src/infinity-x.js","webpack://arrayIntersectionX/../src/math-sign-x.js","webpack://arrayIntersectionX/../src/to-integer-x.js","webpack://arrayIntersectionX/../src/to-length-x.js","webpack://arrayIntersectionX/../src/has-boxed-string-x.js","webpack://arrayIntersectionX/../src/split-if-boxed-bug-x.js","webpack://arrayIntersectionX/../src/array-any-x.js","webpack://arrayIntersectionX/../src/array-all-x.js","webpack://arrayIntersectionX/../src/array-filter-x.js","webpack://arrayIntersectionX/../src/array-reduce-x.js","webpack://arrayIntersectionX/../src/array-some-x.js","webpack://arrayIntersectionX/../src/same-value-x.js","webpack://arrayIntersectionX/../src/same-value-zero-x.js","webpack://arrayIntersectionX/../src/find-index-x.js","webpack://arrayIntersectionX/../src/is-integer-x.js","webpack://arrayIntersectionX/../src/is-safe-integer-x.js","webpack://arrayIntersectionX/../src/is-length-x.js","webpack://arrayIntersectionX/../src/is-array-like-x.js","webpack://arrayIntersectionX/../src/calculate-from-index-x.js","webpack://arrayIntersectionX/../src/index-of-x.js","webpack://arrayIntersectionX/../src/array-includes-x.js","webpack://arrayIntersectionX/../src/is-primitive-x.js","webpack://arrayIntersectionX/../src/util-pusher-x.js","webpack://arrayIntersectionX/../src/simple-bind-x.js","webpack://arrayIntersectionX/../src/simple-call-x.js","webpack://arrayIntersectionX/../src/simple-methodize-x.js","webpack://arrayIntersectionX/../src/array-intersection-x.js"],"names":["root","factory","exports","module","define","amd","$globalThis","ObjectCtr","constructor","objectPrototype","prototype","defineProperty","getGlobalFallback","self","window","global","returnThis","this","get","configurable","__defineGetter__","$$globalThis$$","error","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","enumerable","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","hasOwnProperty","p","s","toStr","toString","symToStr","symStringRegex","valueOf","test","isSymbolObject","e","val","strValue","String","hasToStringTag","tryStringObject","getDay","Date","tryDateObject","origSymbol","hasSymbolSham","g","Function","getOwnPropertySymbols","iterator","obj","sym","symObj","keys","length","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","attempt_x_esm","fn","_len","arguments","args","Array","_key","threw","apply","is_nil_x_esm","require_object_coercible_x_esm","TypeError","concat","castObject","to_object_x_esm","to_boolean_x_esm","nativeObjectToString","to_string_tag_x_esm","hasSymbolSupport","_newArrowCheck","is_symbol_default","undefined","has_symbol_support_x_esm","has_to_string_tag_x_esm","ERROR_MESSAGE","castString","to_string_x_esm","require_coercible_to_string_x_esm","list","code","description","es5","es2015","es2016","es2017","es2018","string","stringES2018","white_space_x_esm_length","white_space_x_esm_i","white_space_x_esm","reLeft","RegExpCtr","replace","trim_left_x_esm","reRight2018","trim_right_x_esm_RegExpCtr","trim_right_x_esm_replace","trim_right_x_esm","trim_x_esm","reNormalize2018","normalize_space_x_esm_RegExpCtr","normalize_space_x_esm_replace","normalize_space_x_esm","STRIP_COMMENTS","replace_comments_x_esm_replace","replace_comments_x_esm","replacement","FunctionCtr","fToString","ctrRx","hasNativeClass","is_function_x_esm_testClassString","isES6ClassFn","result","is_function_x_esm","allowClass","is_primitive_default","tryFuncToString","strTag","is_function_x_esm_compareTags","pToString","isSymbolFn","a","to_string_symbols_supported_x_esm_castString","to_string_symbols_supported_x_esm","assert_is_function_x_esm","callback","message","msg","StringCtr","NumberCtr","symToPrimitive","toPrimitive","symValueOf","toStringOrder","toNumberOrder","to_primitive_x_esm_ordinaryToPrimitive","ordinary","hint","assertHint","method","methodNames","getHint","supplied","to_primitive_x_esm_getExoticToPrim","func","to_primitive_x_esm_getMethod","to_primitive_x_esm_evalExotic","exoticToPrim","input","to_primitive_x_esm_evalPrimitive","newHint","is_date_object_default","to_primitive_x_esm","preferredType","nativeParseInt","parseInt","castNumber","charAt","hexRegex","parse_int_x_esm_test","parse_int_x_esm","radix","str","to_number_x_esm_castNumber","pStrSlice","slice","binaryRegex","to_number_x_esm_test","octalRegex","nonWSregex","RegExpConstructor","invalidHexLiteral","to_number_x_esm_parseBase","parseString","toNum","isBinary","isOctal","to_number_x_esm_convertString","hasNonWS","isInvalidHexLiteral","trimmed","to_number_x_esm","toNumber","argument","to_number_x_esm_assertNotSymbol","is_nan_x_esm","is_finite_x_esm","number","math_sign_x_esm","x","abs","Math","floor","to_integer_x_esm","to_length_x_esm","len","boxedString","has_boxed_string_x_esm","strSplit","split","isStringFn","is_string_default","split_if_boxed_bug_x_esm","performCallback","_args","_slicedToArray","noThis","thisArg","callBack","iterable","index","item","array_any_x_esm_getIterableLengthPair","array_any_x_esm","array","_getIterableLengthPai","_getIterableLengthPai2","array_all_x_esm","iteratee","spy","res","nf","filter","nativeFilter","array_filter_x_esm","array_filter_x_esm_test2","array_filter_x_esm_test3","0","1","3","4","array_filter_x_esm_test4","doc","document","fragment","createDocumentFragment","div","createElement","appendChild","array_filter_x_esm_slicedToArray","getTest5Result","childNodes","array_filter_x_esm_test5","array_filter_x_esm_test6","array_filter_x_esm_test7","predicate","natRed","reduce","nativeReduce","array_reduce_x_esm","acc","array_reduce_x_esm_test2","arg","array_reduce_x_esm_test3","array_reduce_x_esm_test4","node","array_reduce_x_esm_test5","_typeof","array_reduce_x_esm_test6","argsLength","some","nativeSome","array_some_x_esm","array_some_x_esm_test1","array_some_x_esm_test2","array_some_x_esm_test3","array_some_x_esm_test4","array_some_x_esm_test5","array_some_x_esm_test6","array_some_x_esm_test7","same_value_x_esm","value1","value2","same_value_zero_x_esm","y","find_index_x_esm_isWorking","pFindIndex","findIndex","find_index_x_esm_testArr","find_index_x_esm_res","idx","find_index_x_esm_newArrowCheck","find_index_x_esm","is_integer_x_esm","is_safe_integer_x_esm","is_length_x_esm","is_array_like_x_esm","calculate_from_index_x_esm","fromIndex","b","index_of_x_esm_isWorking","pIndexOf","indexOf","index_of_x_esm_res","index_of_x_esm_testArr","searchElement","findIdxFrom","extendFn","fIdx","index_of_x_esm","_this","argLength","extend","toLowerCase","element","index_of_x_esm_newArrowCheck","ni","includes","nativeIncludes","array_includes_x_esm_isWorking","arr","2","NaN","array_includes_x_esm_test2","array_includes_x_esm_test3","array_includes_x_esm_test4","testArr","array_includes_x_esm_test5","array_includes_x_esm_test6","array_includes_x_esm_test7","array_includes_x_esm_runFindIndex","array_includes_x_esm_slicedToArray","array_includes_x_esm_findIdxFrom","array_includes_x_esm","is_primitive_x_esm","is_primitive_x_esm_typeof","splitter","util_pusher_x_esm_getIterable","arrayLike","util_pusher_x_esm","from","target","simple_bind_x_esm_object","simple_bind_x_esm_toStringTag","simple_bind_x_esm_getMax","simple_bind_x_esm_assertIsFunction","boundFns","binder","boundLength","f","h","getBoundFn","simple_bind_x_esm_slicedToArray","bindArgs","boundFn","Empty","getResult","boundArgs","simple_bind_x_esm","bound","$TypeError","nativeApply","$apply","simple_call_x_esm_toStringTag","simple_call_x_esm_assertIsFunction","simple_call_x_esm","F","V","simple_methodize_x_esm_toStringTag","shift","prototypeMethod","simple_methodize_x_esm_assertIsFunction","simple_methodize_x_esm","array_intersection_x_esm_notNil","array_intersection_x_esm_createReducer","arrays","__webpack_exports__"],"mappings":";;;;;;;;;;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAA4B,mBAAID,IAEhCD,EAAyB,mBAAIC,IAR/B,CASI,WACF,aAEA,IAGIK,EAHAC,EAAY,GAAGC,YACfC,EAAkBF,EAAUG,UAC5BC,EAAiBJ,EAAUI,eAE3BC,EAAoB,WACtB,MAAoB,oBAATC,KACFA,KAGa,o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min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"arrayIntersectionX\"] = factory();\n\telse\n\t\troot[\"arrayIntersectionX\"] = factory();\n})((function () {\n 'use strict';\n\n var ObjectCtr = {}.constructor;\n var objectPrototype = ObjectCtr.prototype;\n var defineProperty = ObjectCtr.defineProperty;\n var $globalThis;\n var getGlobalFallback = function() {\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 void 0;\n };\n\n var returnThis = function() {\n return this;\n };\n\n try {\n if (defineProperty) {\n defineProperty(objectPrototype, '$$globalThis$$', {\n get: returnThis,\n configurable: true\n });\n } else {\n objectPrototype.__defineGetter__('$$globalThis$$', returnThis);\n }\n\n $globalThis = typeof $$globalThis$$ === 'undefined' ? getGlobalFallback() : $$globalThis$$;\n\n delete objectPrototype.$$globalThis$$;\n\n return $globalThis;\n } catch (error) {\n return getGlobalFallback();\n }\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 = 7);\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","/*!\n * is-primitive \n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function isPrimitive(val) {\n if (typeof val === 'object') {\n return val === null;\n }\n return typeof val !== 'function';\n};\n","'use strict';\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') { return true; }\n\tif (typeof value !== 'object') { return false; }\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateObject(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) { return false; }\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","'use strict';\n\nvar origSymbol = global.Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\n\n/* eslint complexity: [2, 17], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","/**\n * This method 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 * Checks if `value` is `null` or `undefined`.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n */\nconst isNil = function isNil(value) {\n /* eslint-disable-next-line lodash/prefer-is-nil */\n return value === null || typeof value === 'undefined';\n};\n\nexport default isNil;\n","import isNil from 'is-nil-x';\n\n/**\n * The abstract operation RequireObjectCoercible throws an error if argument\n * is a value that cannot be converted to an Object using ToObject.\n *\n * @param {*} [value] - The `value` to check.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {string} The `value`.\n */\nconst requireObjectCoercible = function requireObjectCoercible(value) {\n if (isNil(value)) {\n throw new TypeError(`Cannot call method on ${value}`);\n }\n\n return value;\n};\n\nexport default requireObjectCoercible;\n","import requireObjectCoercible from 'require-object-coercible-x';\n\nconst castObject = {}.constructor;\n\n/**\n * The abstract operation ToObject converts argument to a value of\n * type Object.\n *\n * @param {*} value - The `value` to convert.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {!object} The `value` converted to an object.\n */\nconst toObject = function toObject(value) {\n return castObject(requireObjectCoercible(value));\n};\n\nexport default toObject;\n","/**\n * 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","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 * A record of a white space character.\n *\n * @typedef {object} CharRecord\n * @property {number} code - The character code.\n * @property {string} description - A description of the character.\n * @property {boolean} es5 - Whether the spec lists this as a white space.\n * @property {boolean} es2015 - Whether the spec lists this as a white space.\n * @property {boolean} es2016 - Whether the spec lists this as a white space.\n * @property {boolean} es2017 - Whether the spec lists this as a white space.\n * @property {boolean} es2018 - Whether the spec lists this as a white space.\n * @property {string} string - The character string.\n */\n\n/**\n * An array of the whitespace char codes, string, descriptions and language\n * presence in the specifications.\n *\n * @type Array.\n */\nexport const list = [\n {\n code: 0x0009,\n description: 'Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0009',\n },\n {\n code: 0x000a,\n description: 'Line Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000a',\n },\n {\n code: 0x000b,\n description: 'Vertical Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000b',\n },\n {\n code: 0x000c,\n description: 'Form Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000c',\n },\n {\n code: 0x000d,\n description: 'Carriage Return',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000d',\n },\n {\n code: 0x0020,\n description: 'Space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0020',\n },\n /*\n {\n code: 0x0085,\n description: 'Next line',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u0085'\n }\n */\n {\n code: 0x00a0,\n description: 'No-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u00a0',\n },\n {\n code: 0x1680,\n description: 'Ogham space mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u1680',\n },\n {\n code: 0x180e,\n description: 'Mongolian vowel separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: false,\n es2018: false,\n string: '\\u180e',\n },\n {\n code: 0x2000,\n description: 'En quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2000',\n },\n {\n code: 0x2001,\n description: 'Em quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2001',\n },\n {\n code: 0x2002,\n description: 'En space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2002',\n },\n {\n code: 0x2003,\n description: 'Em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2003',\n },\n {\n code: 0x2004,\n description: 'Three-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2004',\n },\n {\n code: 0x2005,\n description: 'Four-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2005',\n },\n {\n code: 0x2006,\n description: 'Six-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2006',\n },\n {\n code: 0x2007,\n description: 'Figure space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2007',\n },\n {\n code: 0x2008,\n description: 'Punctuation space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2008',\n },\n {\n code: 0x2009,\n description: 'Thin space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2009',\n },\n {\n code: 0x200a,\n description: 'Hair space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u200a',\n },\n /*\n {\n code: 0x200b,\n description: 'Zero width space',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u200b'\n },\n */\n {\n code: 0x2028,\n description: 'Line separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2028',\n },\n {\n code: 0x2029,\n description: 'Paragraph separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2029',\n },\n {\n code: 0x202f,\n description: 'Narrow no-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u202f',\n },\n {\n code: 0x205f,\n description: 'Medium mathematical space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u205f',\n },\n {\n code: 0x3000,\n description: 'Ideographic space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u3000',\n },\n {\n code: 0xfeff,\n description: 'Byte Order Mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\ufeff',\n },\n];\n\n/**\n * A string of the ES5 to ES2016 whitespace characters.\n *\n * @type string\n */\nlet stringES2016 = '';\n\n/**\n * A string of the ES2017 to ES2018 whitespace characters.\n *\n * @type string\n */\nlet stringES2018 = '';\nconst {length} = list;\nfor (let i = 0; i < length; i += 1) {\n if (list[i].es2016) {\n stringES2016 += list[i].string;\n }\n\n if (list[i].es2018) {\n stringES2018 += list[i].string;\n }\n}\n\nconst string2018 = stringES2018;\n\nexport default string2018;\nexport const string2016 = stringES2016;\n","import attempt from 'attempt-x';\nimport isSymbol from 'is-symbol';\n\nconst hasSymbolSupport = attempt(() => {\n /* eslint-disable-next-line compat/compat */\n return typeof Symbol === 'function' && isSymbol(Symbol(''));\n});\n\n/**\n * Indicates if `Symbol`exists and creates the correct type.\n * `true`, if it exists and creates the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbolSupport.threw === false && hasSymbolSupport.value === true;\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/**\n * Indicates if `Symbol.toStringTag`exists and is the correct type.\n * `true`, if it exists and is the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbols &&\n /* eslint-disable-next-line compat/compat */\n isSymbol(Symbol.toStringTag);\n","import isSymbol from 'is-symbol';\n\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a string';\nconst castString = ERROR_MESSAGE.constructor;\n/**\n * The abstract operation ToString converts argument to a value of type String.\n *\n * @param {*} [value] - The value to convert to a string.\n * @throws {TypeError} If `value` is a Symbol.\n * @returns {string} The converted value.\n */\nconst ToString = function ToString(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return castString(value);\n};\n\nexport default ToString;\n","import requireObjectCoercible from 'require-object-coercible-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method requires an argument is corecible then converts using ToString.\n *\n * @param {*} [value] - The value to converted to a string.\n * @throws {TypeError} If value is null or undefined.\n * @returns {string} The value as a string.\n */\nconst requireCoercibleToString = function requireCoercibleToString(value) {\n return toStr(requireObjectCoercible(value));\n};\n\nexport default requireCoercibleToString;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace 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 hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/* eslint-disable-next-line compat/compat */\nconst pToString = hasSymbols && Symbol.prototype.toString;\nconst isSymbolFn = typeof pToString === 'function' && isSymbol;\n/** @type {Function} */\nconst castString = ''.constructor;\n\n/**\n * The abstract operation ToString converts argument to a value of type String,\n * however the specification states that if the argument is a Symbol then a\n * 'TypeError' is thrown. This version also allows Symbols be converted to\n * a string. Other uncoercible exotics will still throw though.\n *\n * @param {*} [value] - The value to convert to a string.\n * @returns {string} The converted value.\n */\nconst toStringSymbolsSupported = function toStringSymbolsSupported(value) {\n return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value);\n};\n\nexport default toStringSymbolsSupported;\n","import isFunction from 'is-function-x';\nimport safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive';\n\n/**\n * Tests `callback` to see if it is a function, throws a `TypeError` if it is\n * not. Otherwise returns the `callback`.\n *\n * @param {*} callback - The argument to be tested.\n * @param {string} [message] - An alternative user message.\n * @throws {TypeError} Throws if `callback` is not a function.\n * @returns {*} Returns `callback` if it is function.\n */\nconst assertIsFunction = function assertIsFunction(callback, message) {\n if (isFunction(callback) === false) {\n const msg =\n arguments.length > 1\n ? safeToString(message)\n : `${isPrimitive(callback) ? safeToString(callback) : '#'} is not a function`;\n\n throw new TypeError(msg);\n }\n\n return callback;\n};\n\nexport default assertIsFunction;\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 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","/**\n * The constant NaN derived mathematically by 0 / 0.\n *\n * @type number\n */\nconst constantNAN = 0 / 0;\n\nexport default constantNAN;\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","import numberIsNaN from 'is-nan-x';\nimport INFINITY from 'infinity-x';\n\n/**\n * This method determines whether the passed value is a finite number.\n *\n * @param {*} [number] - The value to be tested for finiteness.\n * @returns {boolean} A Boolean indicating whether or not the given value is a finite number.\n */\nconst isFinite = function isFinite(number) {\n return typeof number === 'number' && numberIsNaN(number) === false && number !== INFINITY && number !== -INFINITY;\n};\n\nexport default isFinite;\n","/**\n * The constant value Infinity derived mathematically by 1 / 0.\n *\n * @type number\n */\nconst constantInfinity = 1 / 0;\n\nexport default constantInfinity;\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 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","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 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 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 attempt from 'attempt-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport toBoolean from 'to-boolean-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\n\nconst natRed = [].reduce;\nconst nativeReduce = typeof natRed === 'function' && natRed;\n\nconst test1 = function test1() {\n return attempt.call([], nativeReduce, function attemptee(acc) {\n return acc;\n }).threw;\n};\n\nconst test2 = function test2() {\n const res = attempt.call(\n toObject('abc'),\n nativeReduce,\n function attemptee(acc, c) {\n return acc + c;\n },\n 'x',\n );\n\n return res.threw === false && res.value === 'xabc';\n};\n\nconst test3 = function test3() {\n const res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3),\n nativeReduce,\n function attempte(acc, arg) {\n return acc + arg;\n },\n 1,\n );\n\n return res.threw === false && res.value === 7;\n};\n\nconst test4 = function test4() {\n const res = attempt.call(\n {0: 1, 1: 2, 3: 3, 4: 4, length: 4},\n nativeReduce,\n function attempte(acc, arg) {\n return acc + arg;\n },\n 2,\n );\n\n return res.threw === false && res.value === 8;\n};\n\nconst test5 = function test5() {\n const doc = typeof document !== 'undefined' && document;\n\n if (doc) {\n const fragment = doc.createDocumentFragment();\n const div = doc.createElement('div');\n fragment.appendChild(div);\n\n const atemptee = function attempte(acc, node) {\n acc[acc.length] = node;\n\n return acc;\n };\n\n const res = attempt.call(fragment.childNodes, nativeReduce, atemptee, []);\n\n return res.threw === false && res.value.length === 1 && res.value[0] === div;\n }\n\n return true;\n};\n\nconst test6 = function test6() {\n const res = attempt.call('ab', nativeReduce, function attempte() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments[3];\n });\n\n return res.threw === false && typeof res.value === 'object';\n};\n\n// ES5 15.4.4.21\n// http://es5.github.com/#x15.4.4.21\n// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduce\nconst isWorking = toBoolean(nativeReduce) && test1() && test2() && test3() && test4() && test5() && test6();\n\nconst patchedReduce = function reduce(array, callBack /* , initialValue */) {\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 nativeReduce.apply(array, args);\n};\n\nexport const implementation = function reduce(array, callBack /* , initialValue */) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n assertIsFunction(callBack);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n const argsLength = arguments.length;\n\n // no value to return if no initial value and an empty array\n if (length === 0 && argsLength < 3) {\n throw new TypeError('Reduce of empty array with no initial value');\n }\n\n let i = 0;\n let result;\n\n if (argsLength > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n result = arguments[2];\n } else {\n do {\n if (i in iterable) {\n result = iterable[i];\n i += 1;\n break;\n }\n\n // if array contains no values, no initial value to return\n i += 1;\n\n if (i >= length) {\n throw new TypeError('Reduce of empty array with no initial value');\n }\n } while (true); /* eslint-disable-line no-constant-condition */\n }\n\n while (i < length) {\n if (i in iterable) {\n result = callBack(result, iterable[i], i, object);\n }\n\n i += 1;\n }\n\n return result;\n};\n\n/*\n * This method applies a function against an accumulator and each element in the\n * array (from left to right) to reduce it to a single value.\n *\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function to execute for each element.\n * @param {*} [initialValue] - Value to use as the first argument to the first\n * call of the callback. If no initial value is supplied, the first element in\n * the array will be used. Calling reduce on an empty array without an initial\n * value is an error.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n * @throws {TypeError} If called on an empty array without an initial value.\n * @returns {*} The value that results from the reduction.\n */\nconst $reduce = isWorking ? patchedReduce : implementation;\n\nexport default $reduce;\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 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 attempt from 'attempt-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst pFindIndex = typeof Array.prototype.findIndex === 'function' && Array.prototype.findIndex;\n\nlet isWorking;\n\nif (pFindIndex) {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = 1;\n let res = attempt.call(testArr, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === 0;\n\n if (isWorking) {\n res = attempt.call(1, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === -1;\n }\n\n if (isWorking) {\n isWorking = attempt.call([], pFindIndex).threw;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pFindIndex, (item) => {\n return item === 'c';\n });\n\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pFindIndex,\n (item) => {\n return item === 'c';\n },\n );\n\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\n/**\n * Like `findIndex`, this method returns an index in the array, if an element\n * in the array satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If array is `null` or `undefined`-.\n * @param {Function} callback - Function to execute on each value in the array,\n * taking three arguments: `element`, `index` and `array`.\n * @throws {TypeError} If `callback` is not a function.\n * @param {*} [thisArg] - Object to use as `this` when executing `callback`.\n * @returns {number} Returns index of positively tested element, otherwise -1.\n */\nlet findIdx;\n\nif (isWorking) {\n findIdx = function findIndex(array, callback) {\n const args = [callback];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return pFindIndex.apply(array, args);\n };\n} else {\n findIdx = function findIndex(array, callback) {\n const object = toObject(array);\n assertIsFunction(callback);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n let thisArg;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n thisArg = arguments[2];\n }\n\n let index = 0;\n while (index < length) {\n if (callback.call(thisArg, iterable[index], index, object)) {\n return index;\n }\n\n index += 1;\n }\n\n return -1;\n };\n}\n\nconst fi = findIdx;\n\nexport default fi;\n","import numberIsFinite from 'is-finite-x';\nimport toInteger from 'to-integer-x';\n\n/**\n * This method determines whether the passed value is an integer.\n *\n * @param {*} value - The value to be tested for being an integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is an integer.\n */\nconst isInteger = function isInteger(value) {\n return numberIsFinite(value) && toInteger(value) === value;\n};\n\nexport default isInteger;\n","import isInteger from 'is-integer-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\nconst MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n\n/**\n * This method determines whether the passed value is a safe integer.\n *\n * Can be exactly represented as an IEEE-754 double precision number, and\n * whose IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation.\n *\n * @param {*} value - The value to be tested for being a safe integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * safe integer.\n */\nconst isSafeInteger = function isSafeInteger(value) {\n return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n};\n\nexport default isSafeInteger;\n","import isSafeInteger from 'is-safe-integer-x';\n\n/**\n * This method checks if `value` is a valid array-like length.\n *\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nconst isLength = function isLength(value) {\n return isSafeInteger(value) && value >= 0;\n};\n\nexport default isLength;\n","import isNil from 'is-nil-x';\nimport isFunction from 'is-function-x';\nimport isLength from 'is-length-x';\n\n/**\n * Checks if value is array-like. A value is considered array-like if it's\n * not a function and has a `length` that's an integer greater than or\n * equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @param {*} value - The object to be tested.\n */\nconst isArrayLike = function isArrayLike(value) {\n return isNil(value) === false && isFunction(value, true) === false && isLength(value.length);\n};\n\nexport default isArrayLike;\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport toInteger from 'to-integer-x';\nimport isArrayLike from 'is-array-like-x';\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\n/**\n * This method calculates a fromIndex of a given value for an array.\n *\n * @param {Array} array - * The array on which to calculate the starting index.\n * @throws {TypeError} If array is null or undefined.\n * @param {number} fromIndex - * The position in this array at which to begin. A\n * negative value gives the index of array.length + fromIndex by asc.\n * @returns {number} The calculated fromIndex. Default is 0.\n */\nconst calcFromIndex = function calcFromIndex(array, fromIndex) {\n const object = toObject(array);\n\n if (isArrayLike(object) === false) {\n return 0;\n }\n\n const index = toInteger(fromIndex);\n\n return index >= 0 ? index : getMax(0, toLength(object.length) + index);\n};\n\nexport default calcFromIndex;\n","import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport 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 toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport findIndex from 'find-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport indexOf from 'index-of-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport toBoolean from 'to-boolean-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\n\nconst ni = [].includes;\nconst nativeIncludes = typeof ni === 'function' && ni;\n\nconst getArrayLike = function getArrayLike() {\n return {\n 1: 'a',\n 2: NaN,\n 3: -0,\n length: 5,\n };\n};\n\nconst test1 = function test1() {\n return attempt.call(null, nativeIncludes, 'a').threw;\n};\n\nconst test2 = function test2() {\n const arr = getArrayLike();\n /* eslint-disable-next-line no-void */\n const res = attempt.call(arr, nativeIncludes, void 0, -1);\n\n return res.threw === false && res.value === true;\n};\n\nconst test3 = function test3() {\n const arr = getArrayLike();\n const res = attempt.call(arr, nativeIncludes, NaN);\n\n return res.threw === false && res.value === true;\n};\n\nconst test4 = function test4() {\n const arr = getArrayLike();\n const res = attempt.call(arr, nativeIncludes, 0);\n\n return res.threw === false && res.value === true;\n};\n\nconst test5 = function test5() {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = null;\n /* eslint-disable-next-line no-void */\n const res = attempt.call(testArr, nativeIncludes, void 0);\n\n return res.threw === false && res.value === true;\n};\n\nconst test6 = function test6() {\n const res = attempt.call('abc', nativeIncludes, 'c');\n\n return res.threw === false && res.value === true;\n};\n\nconst test7 = function test7() {\n const res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n nativeIncludes,\n 'c',\n );\n\n return res.threw === false && res.value === true;\n};\n\nconst isWorking = toBoolean(nativeIncludes) && test1() && test2() && test3() && test4() && test5() && test6() && test7();\n\nconst patchedReduce = function includes(array, searchElement) {\n requireObjectCoercible(array);\n const args = [searchElement];\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 nativeIncludes.apply(array, args);\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\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} object - 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 * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nconst findIdxFrom = function findIndexFrom(args) {\n const [object, searchElement, fromIndex] = args;\n let fIdx = fromIndex;\n const length = toLength(object.length);\n while (fIdx < length) {\n if (sameValueZero(object[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\nconst runFindIndex = function runFindIndex(obj) {\n const {iterable, args, length, searchElement} = obj;\n let fromIndex = calcFromIndex(iterable, args[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n\n return fromIndex > 0\n ? findIdxFrom([iterable, searchElement, fromIndex]) > -1\n : findIndex(iterable, function predicate(element) {\n return sameValueZero(searchElement, element);\n }) > -1;\n};\n\nexport const implementation = function includes(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 if (typeof searchElement === 'undefined') {\n /* eslint-disable-next-line prefer-rest-params */\n return runFindIndex({iterable, args: arguments, length, searchElement});\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n return indexOf(iterable, searchElement, arguments[2], 'samevaluezero') > -1;\n};\n\n/**\n * This method determines whether an array includes a certain element,\n * returning true or false as appropriate.\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 position in this array at which to begin\n * searching for searchElement. A negative value searches from the index of\n * array.length + fromIndex by asc. Defaults to 0.\n * @returns {boolean} `true` if searched element is included; otherwise `false`.\n */\nconst $includes = isWorking ? patchedReduce : implementation;\n\nexport default $includes;\n","/**\n * Returns true if the value is a primitive.\n *\n * @param {*} [val] - The value to test.\n * @returns {boolean} True if a primitive, otherwise false..\n */\nconst isPrimitive = function isPrimitive(val) {\n return typeof val === 'object' ? val === null : typeof val !== 'function';\n};\n\nexport default isPrimitive;\n","import isPrimitive from 'is-primitive-x';\nimport isString from 'is-string';\n\nconst EMPTY_STRING = '';\nconst {split} = EMPTY_STRING;\nconst splitter = [EMPTY_STRING];\n\nconst getIterable = function getIterable(arrayLike) {\n // noinspection JSUnresolvedFunction\n return isString(arrayLike) ? split.apply(arrayLike, splitter) : arrayLike;\n};\n\n// eslint-disable jsdoc/no-undefined-types\n// noinspection JSCommentMatchesSignature\n/**\n * This pushes or concatenates into a new or existing array.\n *\n * @param {Array} arrayLike - The source.\n * @param {number} [from=0] - The from source index.\n * @param {Array} [target=[]] - The target array.\n * @returns {*} The target array.\n */\n// eslint-enable jsdoc/no-undefined-types\nconst pusher = function pusher(arrayLike, from) {\n /* eslint-disable-next-line prefer-rest-params */\n const target = arguments.length > 2 ? arguments[2] : [];\n\n if (typeof arrayLike !== 'string' && isPrimitive(arrayLike)) {\n return target;\n }\n\n const iterable = getIterable(arrayLike);\n const {length} = iterable;\n for (let i = from || 0; i < length; i += 1) {\n target[target.length] = arrayLike[i];\n }\n\n return target;\n};\n\nexport default pusher;\n","import pusher from 'util-pusher-x';\n\nconst ERROR_MESSAGE = 'bind called on incompatible ';\nconst object = {};\nconst ObjectCtr = object.constructor;\nconst toStringTag = object.toString;\nconst funcType = '[object Function]';\nconst ZERO = 0;\nconst argsOffset = 2;\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && toStringTag.apply(value) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + value);\n }\n};\n\nconst boundFns = [\n function zero(binder) {\n return function boundFn() {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments));\n };\n },\n function one(binder, boundLength) {\n return function boundFn(a) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a]));\n };\n },\n function two(binder, boundLength) {\n return function boundFn(a, b) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b]));\n };\n },\n function three(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c]));\n };\n },\n function four(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d]));\n };\n },\n function five(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e]));\n };\n },\n function six(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f]));\n };\n },\n function seven(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f, g) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f, g]));\n };\n },\n function eight(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f, g, h) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f, g, h]));\n };\n },\n];\n\nconst getBoundFn = function getBoundFn(args) {\n const [binder, target, bindArgs] = args;\n const boundLength = getMax(ZERO, target.length - getMax(ZERO, bindArgs.length - argsOffset));\n const fn = boundFns[boundLength];\n const boundFn = fn ? fn(binder, boundLength) : boundFns[ZERO](binder);\n\n if (target.prototype) {\n /* eslint-disable-next-line lodash/prefer-noop */\n const Empty = function Empty() {};\n\n Empty.prototype = target.prototype;\n boundFn.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return boundFn;\n};\n\nconst getResult = function getResult(target, boundArgs) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const result = target.apply(this, boundArgs);\n\n /* eslint-disable-next-line babel/no-invalid-this,babel/new-cap */\n return ObjectCtr(result) === result ? result : this;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * The bind() method creates a new function that, when called, has its this\n * keyword set to the provided value, with a given sequence of arguments\n * preceding any provided when the new function is called.\n *\n * @param {Function} target - The target function.\n * @param {*} [thisArg] - The value to be passed as the this parameter to the target\n * function when the bound function is called. The value is ignored if the\n * bound function is constructed using the new operator.\n * @param {...*} [args] - Arguments to prepend to arguments provided to the bound\n * function when invoking the target function.\n * @throws {TypeError} If target is not a function.\n * @returns {Function} The bound function.\n */\n// eslint-enable jsdoc/check-param-names\nconst bind = function bind(target, thisArg) {\n assertIsFunction(target);\n /* eslint-disable-next-line prefer-rest-params */\n const bindArgs = arguments;\n\n let bound;\n const binder = function binder() {\n /* eslint-disable-next-line prefer-rest-params */\n const boundArgs = pusher(arguments, ZERO, pusher(bindArgs, argsOffset));\n\n /* eslint-disable-next-line babel/no-invalid-this */\n return this instanceof bound ? getResult.apply(this, [target, boundArgs]) : target.apply(thisArg, boundArgs);\n };\n\n bound = getBoundFn([binder, target, bindArgs]);\n\n return bound;\n};\n\nexport default bind;\n","import pusher from 'util-pusher-x';\nimport bind from 'simple-bind-x';\n\nconst $TypeError = TypeError;\nconst {apply: nativeApply, call: nativeCall} = bind;\nconst $apply = bind(nativeCall, nativeApply);\nconst toStringTag = bind(nativeApply, {}.toString);\nconst ERROR_MESSAGE = ' is not a function';\nconst funcType = '[object Function]';\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && toStringTag(value) !== funcType) {\n throw new $TypeError(value + ERROR_MESSAGE);\n }\n\n return value;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * The abstract operation Call is used to call the [[Call]] internal method of a function object.\n *\n * @function call\n * @param {Function} F - The target function.\n * @param {*} [V] - The context.\n * @param {Array} [args] - Argument to call the function with.\n * @throws {TypeError} If target is not a function.\n * @returns {*} The the result of invoking the function.\n * @see https://www.ecma-international.org/ecma-262/6.0/#sec-call\n */\n// eslint-enable jsdoc/check-param-names\nconst call = function call(F, V) {\n /* eslint-disable-next-line prefer-rest-params */\n return $apply(assertIsFunction(F), V, pusher(arguments[2]));\n};\n\nexport default call;\n","import call from 'simple-call-x';\nimport pusher from 'util-pusher-x';\n\nconst toStringTag = {}.toString;\nconst ERROR_MESSAGE = 'methodize called on incompatible ';\nconst funcType = '[object Function]';\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && call(toStringTag, value) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + value);\n }\n\n return value;\n};\n\n/**\n * Methodize a prototype method. Compliant to 8 arguments.\n *\n * @param {Function} prototypeMethod - The prototype method to methodize.\n * @throws {TypeError} If target is not a function.\n * @returns {Function} The static method.\n */\nconst methodize = function methodize(prototypeMethod) {\n assertIsFunction(prototypeMethod);\n\n return function methodized() {\n /* eslint-disable-next-line prefer-rest-params */\n return call(prototypeMethod, arguments[0], pusher(arguments, 1));\n };\n};\n\nexport default methodize;\n","import filter from 'array-filter-x';\nimport reduce from 'array-reduce-x';\nimport some from 'array-some-x';\nimport arrayincludes from 'array-includes-x';\nimport isNil from 'is-nil-x';\nimport methodize from 'simple-methodize-x';\n\nconst shift = methodize([].shift);\n\nconst notNil = function notNil(value) {\n return isNil(value) === false;\n};\n\nconst createReducer = function createReducer(arrays) {\n return function reducer(acc, value) {\n const isIncluded = some(arrays, function exclude(array) {\n return arrayincludes(array, value) === false;\n });\n\n if (isIncluded === false && arrayincludes(acc, value) === false) {\n acc[acc.length] = value;\n }\n\n return acc;\n };\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method creates an array of unique values that are included in all given\n * arrays using SameValueZero for equality comparisons. The order and references\n * of result values are determined by the first array.\n *\n * @param {...Array} [array] - The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n */\n// eslint-enable jsdoc/check-param-names\nconst intersection = function intersection() {\n /* eslint-disable-next-line prefer-rest-params */\n const arrays = filter(arguments, notNil);\n const result = [];\n\n return arrays.length < 1 ? result : reduce(shift(arrays), createReducer(arrays), result);\n};\n\nexport default intersection;\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://arrayIntersectionX/webpack/universalModuleDefinition","webpack://arrayIntersectionX/webpack/bootstrap","webpack://arrayIntersectionX/./node_modules/is-symbol/index.js","webpack://arrayIntersectionX/./node_modules/is-string/index.js","webpack://arrayIntersectionX/./node_modules/is-date-object/index.js","webpack://arrayIntersectionX/./node_modules/has-symbols/index.js","webpack://arrayIntersectionX/(webpack)/buildin/global.js","webpack://arrayIntersectionX/./node_modules/has-symbols/shams.js","webpack://arrayIntersectionX/../src/is-primitive-x.js","webpack://arrayIntersectionX/../src/has-boxed-string-x.js","webpack://arrayIntersectionX/../src/has-working-bind-x.js","webpack://arrayIntersectionX/../src/noop-x.js","webpack://arrayIntersectionX/../src/util-pusher-x.js","webpack://arrayIntersectionX/../src/simple-bind-x.js","webpack://arrayIntersectionX/../src/simple-call-x.js","webpack://arrayIntersectionX/../src/attempt-x.js","webpack://arrayIntersectionX/../src/is-nil-x.js","webpack://arrayIntersectionX/../src/require-object-coercible-x.js","webpack://arrayIntersectionX/../src/to-object-x.js","webpack://arrayIntersectionX/../src/to-boolean-x.js","webpack://arrayIntersectionX/../src/simple-methodize-x.js","webpack://arrayIntersectionX/../src/to-string-tag-x.js","webpack://arrayIntersectionX/../src/white-space-x.js","webpack://arrayIntersectionX/../src/has-symbol-support-x.js","webpack://arrayIntersectionX/../src/has-to-string-tag-x.js","webpack://arrayIntersectionX/../src/to-string-x.js","webpack://arrayIntersectionX/../src/require-coercible-to-string-x.js","webpack://arrayIntersectionX/../src/trim-left-x.js","webpack://arrayIntersectionX/../src/trim-right-x.js","webpack://arrayIntersectionX/../src/trim-x.js","webpack://arrayIntersectionX/../src/normalize-space-x.js","webpack://arrayIntersectionX/../src/replace-comments-x.js","webpack://arrayIntersectionX/../src/is-function-x.js","webpack://arrayIntersectionX/../src/to-string-symbols-supported-x.js","webpack://arrayIntersectionX/../src/assert-is-function-x.js","webpack://arrayIntersectionX/../src/to-primitive-x.js","webpack://arrayIntersectionX/../src/parse-int-x.js","webpack://arrayIntersectionX/../src/nan-x.js","webpack://arrayIntersectionX/../src/to-number-x.js","webpack://arrayIntersectionX/../src/is-nan-x.js","webpack://arrayIntersectionX/../src/is-finite-x.js","webpack://arrayIntersectionX/../src/infinity-x.js","webpack://arrayIntersectionX/../src/math-sign-x.js","webpack://arrayIntersectionX/../src/to-integer-x.js","webpack://arrayIntersectionX/../src/to-length-x.js","webpack://arrayIntersectionX/../src/split-if-boxed-bug-x.js","webpack://arrayIntersectionX/../src/array-any-x.js","webpack://arrayIntersectionX/../src/array-all-x.js","webpack://arrayIntersectionX/../src/array-filter-x.js","webpack://arrayIntersectionX/../src/array-reduce-x.js","webpack://arrayIntersectionX/../src/array-some-x.js","webpack://arrayIntersectionX/../src/same-value-x.js","webpack://arrayIntersectionX/../src/same-value-zero-x.js","webpack://arrayIntersectionX/../src/find-index-x.js","webpack://arrayIntersectionX/../src/is-integer-x.js","webpack://arrayIntersectionX/../src/is-safe-integer-x.js","webpack://arrayIntersectionX/../src/is-length-x.js","webpack://arrayIntersectionX/../src/is-array-like-x.js","webpack://arrayIntersectionX/../src/calculate-from-index-x.js","webpack://arrayIntersectionX/../src/index-of-x.js","webpack://arrayIntersectionX/../src/array-includes-x.js","webpack://arrayIntersectionX/../src/array-intersection-x.js"],"names":["root","factory","exports","module","define","amd","$globalThis","ObjectCtr","constructor","objectPrototype","prototype","defineProperty","getGlobalFallback","self","window","global","returnThis","this","get","configurable","__defineGetter__","$$globalThis$$","error","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","enumerable","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","hasOwnProperty","p","s","toStr","toString","symToStr","symStringRegex","valueOf","test","isSymbolObject","e","strValue","String","hasToStringTag","tryStringObject","getDay","Date","tryDateObject","origSymbol","hasSymbolSham","g","Function","getOwnPropertySymbols","iterator","obj","sym","symObj","keys","length","getOwnPropertyNames","syms","propertyIsEnumerable","getOwnPropertyDescriptor","descriptor","is_primitive_x_esm","val","_typeof","boxedString","has_boxed_string_x_esm","has_working_bind_x_esm_bind","has_working_bind_x_esm","a1","a2","context","testThis","boundFn","apply","arg1","arg2","arguments","args","has_working_bind_x_esm_test1","oracle","Ctr","BoundFn","returned","has_working_bind_x_esm_test2","split","max","Math","util_pusher_x_esm_bind","util_pusher_x_esm_call","$split","string","pattern","util_pusher_x_esm_getIterable","arrayLike","is_string_default","util_pusher_x_esm","from","target","iterable","nativeBind","simple_bind_x_esm_call","simple_bind_x_esm_object","getMax","a","b","simple_bind_x_esm_assertIsFunction","TypeError","boundFns","binder","boundLength","f","h","getBoundFn","_args","_slicedToArray","bindArgs","fn","Empty","getResult","boundArgs","result","simple_bind_x_esm","thisArg","bound","$TypeError","nativeApply","$apply","simple_call_x_esm_toStringTag","simple_call_x_esm_assertIsFunction","simple_call_x_esm","F","V","attempt_x_esm","threw","is_nil_x_esm","require_object_coercible_x_esm","concat","castObject","to_object_x_esm","to_boolean_x_esm","simple_methodize_x_esm_toStringTag","simple_methodize_x_esm","prototypeMethod","simple_methodize_x_esm_assertIsFunction","methodizedToString","to_string_tag_x_esm","hasSymbolSupport","_newArrowCheck","is_symbol_default","undefined","has_symbol_support_x_esm","has_to_string_tag_x_esm","castString","to_string_x_esm","require_coercible_to_string_x_esm","list","code","description","es5","es2015","es2016","es2017","es2018","stringES2018","white_space_x_esm_length","white_space_x_esm_i","white_space_x_esm","reLeft","RegExpCtr","methodizedReplace","replace","trim_left_x_esm","reRight","trim_right_x_esm_RegExpCtr","trim_right_x_esm_methodizedReplace","trim_right_x_esm","trim_x_esm","reNormalize","normalize_space_x_esm_RegExpCtr","normalize_space_x_esm_methodizedReplace","normalize_space_x_esm","STRIP_COMMENTS","replace_comments_x_esm_methodizedReplace","replace_comments_x_esm","replacement","FunctionCtr","methodizedFunctionToString","ctrRx","methodizedTest","hasNativeClass","is_function_x_esm_testClassString","isES6ClassFn","is_function_x_esm","allowClass","tryFuncToString","strTag","is_function_x_esm_compareTags","pToString","isSymbolFn","to_string_symbols_supported_x_esm_castString","to_string_symbols_supported_x_esm","assert_is_function_x_esm","callback","message","msg","StringCtr","NumberCtr","symToPrimitive","toPrimitive","symValueOf","toStringOrder","toNumberOrder","to_primitive_x_esm_ordinaryToPrimitive","ordinary","hint","assertHint","methodNames","method","getHint","supplied","to_primitive_x_esm_getExoticToPrim","func","to_primitive_x_esm_getMethod","to_primitive_x_esm_evalExotic","exoticToPrim","input","to_primitive_x_esm_evalPrimitive","newHint","is_date_object_default","to_primitive_x_esm","preferredType","nativeParseInt","parseInt","castNumber","methodizedCharAt","charAt","hexRegex","parse_int_x_esm_methodizedTest","parse_int_x_esm","radix","str","to_number_x_esm_castNumber","methodizedStringSlice","slice","binaryRegex","RegExpConstructor","to_number_x_esm_methodizedTest","octalRegex","nonWSregex","invalidHexLiteral","to_number_x_esm_parseBase","parseString","toNum","isBinary","isOctal","to_number_x_esm_convertString","hasNonWS","isInvalidHexLiteral","trimmed","to_number_x_esm","toNumber","argument","to_number_x_esm_assertNotSymbol","is_nan_x_esm","is_finite_x_esm","number","math_sign_x_esm","x","abs","floor","to_integer_x_esm","to_length_x_esm","len","strSplit","identity","split_if_boxed_bug_x_esm","array_any_x_esm","array","callBack","index","array_all_x_esm","spy","res","nf","filter","nativeFilter","doc","document","isStrict","array_filter_x_esm","item","array_filter_x_esm_test2","array_filter_x_esm_test3","0","1","3","4","array_filter_x_esm_test4","fragment","createDocumentFragment","div","createElement","appendChild","array_filter_x_esm_slicedToArray","getTest5Result","childNodes","array_filter_x_esm_test5","array_filter_x_esm_test6","array_filter_x_esm_test7","predicate","natRed","reduce","nativeReduce","array_reduce_x_esm_doc","iteratee5","acc","node","array_reduce_x_esm","array_reduce_x_esm_test2","arg","array_reduce_x_esm_test3","array_reduce_x_esm_test4","array_reduce_x_esm_test5","array_reduce_x_esm_typeof","array_reduce_x_esm_test6","argsLength","some","nativeSome","array_some_x_esm_doc","array_some_x_esm_isStrict","array_some_x_esm_isWorking","array_some_x_esm_test1","array_some_x_esm_test2","array_some_x_esm_test3","array_some_x_esm_test4","array_some_x_esm_test5","thisTest","array_some_x_esm_test6","array_some_x_esm_test7","console","log","array_some_x_esm","iteratee","same_value_x_esm","value1","value2","same_value_zero_x_esm","y","find_index_x_esm_isWorking","pFindIndex","Array","findIndex","find_index_x_esm_testArr","find_index_x_esm_res","idx","find_index_x_esm_newArrowCheck","find_index_x_esm","is_integer_x_esm","is_safe_integer_x_esm","is_length_x_esm","is_array_like_x_esm","calculate_from_index_x_esm","fromIndex","nio","indexOf","nativeIndexOf","mathMax","pIndexOf","index_of_x_esm_test1","index_of_x_esm_test2","index_of_x_esm_test3","testArr","index_of_x_esm_test4","index_of_x_esm_test5","index_of_x_esm_test6","searchElement","findIdxFrom","extendFn","fIdx","index_of_x_esm","_this","argLength","extend","toLowerCase","element","index_of_x_esm_newArrowCheck","ni","includes","nativeIncludes","array_includes_x_esm_isWorking","arr","2","NaN","array_includes_x_esm_test2","array_includes_x_esm_test3","array_includes_x_esm_test4","array_includes_x_esm_test5","array_includes_x_esm_test6","array_includes_x_esm_test7","array_includes_x_esm_runFindIndex","array_includes_x_esm_slicedToArray","array_includes_x_esm_findIdxFrom","array_includes_x_esm","shift","array_intersection_x_esm_notNil","array_intersection_x_esm_createReducer","arrays","__webpack_exports__"],"mappings":";;;;;;;;;;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAA4B,mBAAID,IAEhCD,EAAyB,mBAAIC,IAR/B,CASI,WACF,aAEA,IAGIK,EAHAC,EAAY,GAAGC,YACfC,EAAkBF,EAAUG,UAC5BC,EAAiBJ,EAAUI,eAE3BC,EAAoB,WACtB,MAAoB,oBAATC,KACFA,KAGa,oBAAXC,OACFA,OAGa,oBAAXC,OACFA,YADT,GAOEC,EAAa,WACf,OAAOC,MAGT,IAcE,OAbIN,EACFA,EAAeF,EAAiB,iBAAkB,CAChDS,IAAKF,EACLG,cAAc,IAGhBV,EAAgBW,iBAAiB,iBAAkBJ,GAGrDV,EAAwC,oBAAnBe,eAAiCT,IAAsBS,sBAErEZ,EAAgBY,eAEhBf,EACP,MAAOgB,GACP,OAAOV,KA3CR,GA6CG,WACN,O,YCtDE,IAAIW,EAAmB,GAGvB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AEjC,OAAIA,EAAS,GACH,OAGmB,IAAlBgU,EAEFwB,GAAa,CAAC7S,WAAUrB,KAAMD,UAAWrB,SAAQgU,kBAInDI,GAAQzR,EAAUqR,EAAe3S,UAAU,GAAI,kBAAoB,GCvJtEuU,GAAQtQ,EAAU,GAAGsQ,OAErBC,GAAS,SAAgBpY,GAC7B,OAAwB,IAAjBsH,EAAMtH,IAGTqY,GAAgB,SAAuBC,GAC3C,OAAO,SAAiB3F,EAAK3S,GAS3B,OAJmB,IAJAqU,GAAKiE,EAAQ,SAAiBjI,GAC/C,OAAuC,IAAhC6H,GAAc7H,EAAOrQ,OAG4B,IAA9BkY,GAAcvF,EAAK3S,KAC7C2S,EAAIA,EAAIpQ,QAAUvC,GAGb2S,IAuBI4F,EAAA,QARM,WAEnB,IAAMD,EAASrH,GAAOrN,UAAWwU,IAC3B5R,EAAS,GAEf,OAAO8R,EAAO/V,OAAS,EAAIiE,EAASqM,GAAOsF,GAAMG,GAASD,GAAcC,GAAS9R","file":"array-intersection-x.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"arrayIntersectionX\"] = factory();\n\telse\n\t\troot[\"arrayIntersectionX\"] = factory();\n})((function () {\n 'use strict';\n\n var ObjectCtr = {}.constructor;\n var objectPrototype = ObjectCtr.prototype;\n var defineProperty = ObjectCtr.defineProperty;\n var $globalThis;\n var getGlobalFallback = function() {\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 void 0;\n };\n\n var returnThis = function() {\n return this;\n };\n\n try {\n if (defineProperty) {\n defineProperty(objectPrototype, '$$globalThis$$', {\n get: returnThis,\n configurable: true\n });\n } else {\n objectPrototype.__defineGetter__('$$globalThis$$', returnThis);\n }\n\n $globalThis = typeof $$globalThis$$ === 'undefined' ? getGlobalFallback() : $$globalThis$$;\n\n delete objectPrototype.$$globalThis$$;\n\n return $globalThis;\n } catch (error) {\n return getGlobalFallback();\n }\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 = 6);\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 strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') { return true; }\n\tif (typeof value !== 'object') { return false; }\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateObject(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) { return false; }\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","'use strict';\n\nvar origSymbol = global.Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\n\n/* eslint complexity: [2, 17], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","/**\n * Returns true if the value is a primitive.\n *\n * @param {*} [val] - The value to test.\n * @returns {boolean} True if a primitive, otherwise false..\n */\nconst isPrimitive = function isPrimitive(val) {\n return typeof val === 'object' ? val === null : typeof val !== 'function';\n};\n\nexport default isPrimitive;\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 noop from 'noop-x';\n\nconst {bind} = noop;\n\nconst test1 = function test1() {\n let a1 = null;\n let a2 = null;\n let context = null;\n const testThis = [];\n\n const test1Fn = function test1Fn(arg1, arg2) {\n /* eslint-disable-next-line babel/no-invalid-this */\n context = this;\n a1 = arg1;\n a2 = arg2;\n\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n };\n\n try {\n const boundFn = bind.apply(test1Fn, [testThis, 1]);\n const args = boundFn(2);\n\n return boundFn.length === 1 && args.length === 2 && a1 === 1 && a2 === 2 && context === testThis;\n } catch (e) {\n return false;\n }\n};\n\nconst test2 = function test2() {\n let a1 = null;\n let a2 = null;\n let context = null;\n const oracle = [1, 2, 3];\n\n const Ctr = function Ctr(arg1, arg2) {\n a1 = arg1;\n a2 = arg2;\n context = this;\n\n return oracle;\n };\n\n try {\n const BoundFn = bind.apply(Ctr, [null]);\n const returned = new BoundFn(1, 2);\n\n return BoundFn.length === Ctr.length && returned === oracle && a1 === 1 && a2 === 2 && context !== oracle;\n } catch (e) {\n return false;\n }\n};\n\n/**\n * Indicates if the engine has a working bind function.\n *\n * @type {boolean}\n */\nconst isWorking = typeof bind === 'function' && test1() && test2();\n\nexport default isWorking;\n","/**\n * This method returns undefined.\n *\n * @returns {undefined} Always undefined.\n */\nconst noop = function noop() {}; /* eslint-disable-line lodash/prefer-noop */\n\nexport default noop;\n","import isPrimitive from 'is-primitive-x';\nimport isString from 'is-string';\nimport hasBoxed from 'has-boxed-string-x';\nimport hasWorkingBind from 'has-working-bind-x';\n\nconst EMPTY_STRING = '';\nconst {split} = EMPTY_STRING;\nconst {max} = Math;\nconst {bind, call} = isPrimitive;\nexport const stringSplit = function stringSplit(string, pattern) {\n // noinspection JSUnresolvedFunction\n return split.call(string, pattern);\n};\n\nexport const $split = hasWorkingBind ? bind.call(call, split) : stringSplit;\n\nexport const getIterable = function getIterable(arrayLike) {\n // noinspection JSUnresolvedFunction\n return isString(arrayLike) ? $split(arrayLike, EMPTY_STRING) : arrayLike;\n};\n\n// eslint-disable jsdoc/no-undefined-types\n// noinspection JSCommentMatchesSignature\n/**\n * This pushes or concatenates into a new or existing array.\n *\n * @param {Array} arrayLike - The source.\n * @param {number} [from=0] - The from source index.\n * @param {Array} [target=[]] - The target array.\n * @returns {*} The target array.\n */\n// eslint-enable jsdoc/no-undefined-types\nconst pusher = function pusher(arrayLike, from) {\n /* eslint-disable-next-line prefer-rest-params */\n const target = arguments.length > 2 ? arguments[2] : [];\n\n if (typeof arrayLike !== 'string' && isPrimitive(arrayLike)) {\n return target;\n }\n\n const iterable = hasBoxed ? arrayLike : getIterable(arrayLike);\n const {length} = iterable;\n for (let i = max(0, from) || 0; i < length; i += 1) {\n target[target.length] = arrayLike[i];\n }\n\n return target;\n};\n\nexport default pusher;\n","import hasWorkingBind from 'has-working-bind-x';\nimport pusher from 'util-pusher-x';\n\nconst {bind: nativeBind, call} = pusher;\nconst ERROR_MESSAGE = 'bind called on incompatible ';\nconst object = {};\nconst ObjectCtr = object.constructor;\nconst toStringTag = object.toString;\nconst funcType = '[object Function]';\nconst ZERO = 0;\nconst argsOffset = 2;\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && toStringTag.apply(value) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + value);\n }\n};\n\nconst boundFns = [\n function zero(binder) {\n return function boundFn() {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments));\n };\n },\n function one(binder, boundLength) {\n return function boundFn(a) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a]));\n };\n },\n function two(binder, boundLength) {\n return function boundFn(a, b) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b]));\n };\n },\n function three(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c]));\n };\n },\n function four(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d]));\n };\n },\n function five(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e]));\n };\n },\n function six(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f]));\n };\n },\n function seven(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f, g) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f, g]));\n };\n },\n function eight(binder, boundLength) {\n /* eslint-disable-next-line max-params */\n return function boundFn(a, b, c, d, e, f, g, h) {\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n return binder.apply(this, pusher(arguments, boundLength, [a, b, c, d, e, f, g, h]));\n };\n },\n];\n\nconst getBoundFn = function getBoundFn(args) {\n const [binder, target, bindArgs] = args;\n const boundLength = getMax(ZERO, target.length - getMax(ZERO, bindArgs.length - argsOffset));\n const fn = boundFns[boundLength];\n const boundFn = fn ? fn(binder, boundLength) : boundFns[ZERO](binder);\n\n if (target.prototype) {\n /* eslint-disable-next-line lodash/prefer-noop */\n const Empty = function Empty() {};\n\n Empty.prototype = target.prototype;\n boundFn.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return boundFn;\n};\n\nconst getResult = function getResult(target, boundArgs) {\n /* eslint-disable-next-line babel/no-invalid-this */\n const result = target.apply(this, boundArgs);\n\n /* eslint-disable-next-line babel/no-invalid-this,babel/new-cap */\n return ObjectCtr(result) === result ? result : this;\n};\n\nexport const implementation = function bind(target, thisArg) {\n assertIsFunction(target);\n /* eslint-disable-next-line prefer-rest-params */\n const bindArgs = arguments;\n\n let bound;\n const binder = function binder() {\n /* eslint-disable-next-line prefer-rest-params */\n const boundArgs = pusher(arguments, ZERO, pusher(bindArgs, argsOffset));\n\n /* eslint-disable-next-line babel/no-invalid-this */\n return this instanceof bound ? getResult.apply(this, [target, boundArgs]) : target.apply(thisArg, boundArgs);\n };\n\n bound = getBoundFn([binder, target, bindArgs]);\n\n return bound;\n};\n\n/**\n * The bind() method creates a new function that, when called, has its this\n * keyword set to the provided value, with a given sequence of arguments\n * preceding any provided when the new function is called.\n *\n * @function bind\n * @param {Function} target - The target function.\n * @param {*} [thisArg] - The value to be passed as the this parameter to the target\n * function when the bound function is called. The value is ignored if the\n * bound function is constructed using the new operator.\n * @param {...*} [args] - Arguments to prepend to arguments provided to the bound\n * function when invoking the target function.\n * @throws {TypeError} If target is not a function.\n * @returns {Function} The bound function.\n */\nconst $bind = hasWorkingBind ? call.bind(nativeBind) : implementation;\n\nexport default $bind;\n","import pusher from 'util-pusher-x';\nimport bind from 'simple-bind-x';\n\nconst $TypeError = TypeError;\nconst {apply: nativeApply, call: nativeCall} = bind;\nconst $apply = bind(nativeCall, nativeApply);\nconst toStringTag = bind(nativeApply, {}.toString);\nconst ERROR_MESSAGE = ' is not a function';\nconst funcType = '[object Function]';\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && toStringTag(value) !== funcType) {\n throw new $TypeError(value + ERROR_MESSAGE);\n }\n\n return value;\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * The abstract operation Call is used to call the [[Call]] internal method of a function object.\n *\n * @function call\n * @param {Function} F - The target function.\n * @param {*} [V] - The context.\n * @param {Array} [args] - Argument to call the function with.\n * @throws {TypeError} If target is not a function.\n * @returns {*} The the result of invoking the function.\n * @see https://www.ecma-international.org/ecma-262/6.0/#sec-call\n */\n// eslint-enable jsdoc/check-param-names\nconst call = function call(F, V) {\n /* eslint-disable-next-line prefer-rest-params */\n return $apply(assertIsFunction(F), V, pusher(arguments[2]));\n};\n\nexport default call;\n","import pusher from 'util-pusher-x';\nimport call from 'simple-call-x';\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\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 * @function attempt\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 */\n// eslint-disable jsdoc/check-param-names\nconst attempt = function attempt(fn) {\n try {\n return {\n threw: false,\n /* eslint-disable-next-line babel/no-invalid-this,prefer-rest-params */\n value: call(fn, this, pusher(arguments, 1)),\n };\n } catch (e) {\n return {\n threw: true,\n value: e,\n };\n }\n};\n\nexport default attempt;\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @param {*} [value] - The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n */\nconst isNil = function isNil(value) {\n /* eslint-disable-next-line lodash/prefer-is-nil */\n return value === null || typeof value === 'undefined';\n};\n\nexport default isNil;\n","import isNil from 'is-nil-x';\n\n/**\n * The abstract operation RequireObjectCoercible throws an error if argument\n * is a value that cannot be converted to an Object using ToObject.\n *\n * @param {*} [value] - The `value` to check.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {string} The `value`.\n */\nconst requireObjectCoercible = function requireObjectCoercible(value) {\n if (isNil(value)) {\n throw new TypeError(`Cannot call method on ${value}`);\n }\n\n return value;\n};\n\nexport default requireObjectCoercible;\n","import requireObjectCoercible from 'require-object-coercible-x';\n\nconst castObject = {}.constructor;\n\n/**\n * The abstract operation ToObject converts argument to a value of\n * type Object.\n *\n * @param {*} value - The `value` to convert.\n * @throws {TypeError} If `value` is a `null` or `undefined`.\n * @returns {!object} The `value` converted to an object.\n */\nconst toObject = function toObject(value) {\n return castObject(requireObjectCoercible(value));\n};\n\nexport default toObject;\n","/**\n * 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 call from 'simple-call-x';\nimport pusher from 'util-pusher-x';\n\nconst toStringTag = {}.toString;\nconst ERROR_MESSAGE = 'methodize called on incompatible ';\nconst funcType = '[object Function]';\n\nconst assertIsFunction = function assertIsFunction(value) {\n if (typeof value !== 'function' && call(toStringTag, value) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + value);\n }\n\n return value;\n};\n\n/**\n * Methodize a prototype method. Compliant to 8 arguments.\n *\n * @param {Function} prototypeMethod - The prototype method to methodize.\n * @throws {TypeError} If target is not a function.\n * @returns {Function} The static method.\n */\nconst methodize = function methodize(prototypeMethod) {\n assertIsFunction(prototypeMethod);\n\n return function methodized() {\n /* eslint-disable-next-line prefer-rest-params */\n return call(prototypeMethod, arguments[0], pusher(arguments, 1));\n };\n};\n\nexport default methodize;\n","import methodize from 'simple-methodize-x';\n\nconst methodizedToString = methodize({}.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 methodizedToString(value);\n};\n\nexport default toStringTag;\n","/**\n * A record of a white space character.\n *\n * @typedef {object} CharRecord\n * @property {number} code - The character code.\n * @property {string} description - A description of the character.\n * @property {boolean} es5 - Whether the spec lists this as a white space.\n * @property {boolean} es2015 - Whether the spec lists this as a white space.\n * @property {boolean} es2016 - Whether the spec lists this as a white space.\n * @property {boolean} es2017 - Whether the spec lists this as a white space.\n * @property {boolean} es2018 - Whether the spec lists this as a white space.\n * @property {string} string - The character string.\n */\n\n/**\n * An array of the whitespace char codes, string, descriptions and language\n * presence in the specifications.\n *\n * @type Array.\n */\nexport const list = [\n {\n code: 0x0009,\n description: 'Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0009',\n },\n {\n code: 0x000a,\n description: 'Line Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000a',\n },\n {\n code: 0x000b,\n description: 'Vertical Tab',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000b',\n },\n {\n code: 0x000c,\n description: 'Form Feed',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000c',\n },\n {\n code: 0x000d,\n description: 'Carriage Return',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u000d',\n },\n {\n code: 0x0020,\n description: 'Space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u0020',\n },\n /*\n {\n code: 0x0085,\n description: 'Next line',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u0085'\n }\n */\n {\n code: 0x00a0,\n description: 'No-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u00a0',\n },\n {\n code: 0x1680,\n description: 'Ogham space mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u1680',\n },\n {\n code: 0x180e,\n description: 'Mongolian vowel separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: false,\n es2018: false,\n string: '\\u180e',\n },\n {\n code: 0x2000,\n description: 'En quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2000',\n },\n {\n code: 0x2001,\n description: 'Em quad',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2001',\n },\n {\n code: 0x2002,\n description: 'En space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2002',\n },\n {\n code: 0x2003,\n description: 'Em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2003',\n },\n {\n code: 0x2004,\n description: 'Three-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2004',\n },\n {\n code: 0x2005,\n description: 'Four-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2005',\n },\n {\n code: 0x2006,\n description: 'Six-per-em space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2006',\n },\n {\n code: 0x2007,\n description: 'Figure space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2007',\n },\n {\n code: 0x2008,\n description: 'Punctuation space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2008',\n },\n {\n code: 0x2009,\n description: 'Thin space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2009',\n },\n {\n code: 0x200a,\n description: 'Hair space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u200a',\n },\n /*\n {\n code: 0x200b,\n description: 'Zero width space',\n es5: false,\n es2015: false,\n es2016: false,\n es2017: false,\n es2018: false,\n string: '\\u200b'\n },\n */\n {\n code: 0x2028,\n description: 'Line separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2028',\n },\n {\n code: 0x2029,\n description: 'Paragraph separator',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u2029',\n },\n {\n code: 0x202f,\n description: 'Narrow no-break space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u202f',\n },\n {\n code: 0x205f,\n description: 'Medium mathematical space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u205f',\n },\n {\n code: 0x3000,\n description: 'Ideographic space',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\u3000',\n },\n {\n code: 0xfeff,\n description: 'Byte Order Mark',\n es5: true,\n es2015: true,\n es2016: true,\n es2017: true,\n es2018: true,\n string: '\\ufeff',\n },\n];\n\n/**\n * A string of the ES5 to ES2016 whitespace characters.\n *\n * @type string\n */\nlet stringES2016 = '';\n\n/**\n * A string of the ES2017 to ES2018 whitespace characters.\n *\n * @type string\n */\nlet stringES2018 = '';\nconst {length} = list;\nfor (let i = 0; i < length; i += 1) {\n if (list[i].es2016) {\n stringES2016 += list[i].string;\n }\n\n if (list[i].es2018) {\n stringES2018 += list[i].string;\n }\n}\n\nconst string2018 = stringES2018;\n\nexport default string2018;\nexport const string2016 = stringES2016;\n","import attempt from 'attempt-x';\nimport isSymbol from 'is-symbol';\n\nconst hasSymbolSupport = attempt(() => {\n /* eslint-disable-next-line compat/compat */\n return typeof Symbol === 'function' && isSymbol(Symbol(''));\n});\n\n/**\n * Indicates if `Symbol`exists and creates the correct type.\n * `true`, if it exists and creates the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbolSupport.threw === false && hasSymbolSupport.value === true;\n","import hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/**\n * Indicates if `Symbol.toStringTag`exists and is the correct type.\n * `true`, if it exists and is the correct type, otherwise `false`.\n *\n * @type boolean\n */\nexport default hasSymbols &&\n /* eslint-disable-next-line compat/compat */\n isSymbol(Symbol.toStringTag);\n","import isSymbol from 'is-symbol';\n\nconst ERROR_MESSAGE = 'Cannot convert a Symbol value to a string';\nconst castString = ERROR_MESSAGE.constructor;\n/**\n * The abstract operation ToString converts argument to a value of type String.\n *\n * @param {*} [value] - The value to convert to a string.\n * @throws {TypeError} If `value` is a Symbol.\n * @returns {string} The converted value.\n */\nconst ToString = function ToString(value) {\n if (isSymbol(value)) {\n throw new TypeError(ERROR_MESSAGE);\n }\n\n return castString(value);\n};\n\nexport default ToString;\n","import requireObjectCoercible from 'require-object-coercible-x';\nimport toStr from 'to-string-x';\n\n/**\n * This method requires an argument is corecible then converts using ToString.\n *\n * @param {*} [value] - The value to converted to a string.\n * @throws {TypeError} If value is null or undefined.\n * @returns {string} The value as a string.\n */\nconst requireCoercibleToString = function requireCoercibleToString(value) {\n return toStr(requireObjectCoercible(value));\n};\n\nexport default requireCoercibleToString;\n","import requireCoercibleToString from 'require-coercible-to-string-x';\nimport whiteSpace from 'white-space-x';\nimport methodize from 'simple-methodize-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reLeft = new RegExpCtr(`^[${whiteSpace}]+`);\nconst methodizedReplace = methodize(EMPTY_STRING.replace);\n\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 methodizedReplace(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';\nimport methodize from 'simple-methodize-x';\n\nconst EMPTY_STRING = '';\nconst RegExpCtr = /none/.constructor;\nconst reRight = new RegExpCtr(`[${whiteSpace}]+$`);\nconst methodizedReplace = methodize(EMPTY_STRING.replace);\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 methodizedReplace(requireCoercibleToString(string), reRight, 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';\nimport methodize from 'simple-methodize-x';\n\nconst SPACE = ' ';\nconst RegExpCtr = /none/.constructor;\nconst reNormalize = new RegExpCtr(`[${whiteSpace}]+`, 'g');\nconst methodizedReplace = methodize(SPACE.replace);\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 methodizedReplace(trim(string), reNormalize, SPACE);\n};\n\nexport default normalizeSpace;\n","import toStr from 'to-string-x';\nimport requireCoercibleToString from 'require-coercible-to-string-x';\nimport methodize from 'simple-methodize-x';\n\nconst EMPTY_STRING = '';\nconst STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/gm;\nconst methodizedReplace = methodize(EMPTY_STRING.replace);\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 methodizedReplace(\n requireCoercibleToString(string),\n STRIP_COMMENTS,\n arguments.length > 1 ? toStr(replacement) : EMPTY_STRING,\n );\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-x';\nimport normalise from 'normalize-space-x';\nimport deComment from 'replace-comments-x';\nimport methodize from 'simple-methodize-x';\n\nconst FunctionCtr = attempt.constructor;\nconst SPACE = ' ';\nconst methodizedFunctionToString = methodize(attempt.toString);\nconst funcTag = '[object Function]';\nconst genTag = '[object GeneratorFunction]';\nconst asyncTag = '[object AsyncFunction]';\nconst ctrRx = /^class /;\nconst methodizedTest = methodize(ctrRx.test);\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 methodizedTest(ctrRx, normalise(deComment(methodizedFunctionToString(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 (\n attempt(function attemptee() {\n return methodizedFunctionToString(value);\n }).threw === false\n );\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 hasSymbols from 'has-symbol-support-x';\nimport isSymbol from 'is-symbol';\n\n/* eslint-disable-next-line compat/compat */\nconst pToString = hasSymbols && Symbol.prototype.toString;\nconst isSymbolFn = typeof pToString === 'function' && isSymbol;\n/** @type {Function} */\nconst castString = ''.constructor;\n\n/**\n * The abstract operation ToString converts argument to a value of type String,\n * however the specification states that if the argument is a Symbol then a\n * 'TypeError' is thrown. This version also allows Symbols be converted to\n * a string. Other uncoercible exotics will still throw though.\n *\n * @param {*} [value] - The value to convert to a string.\n * @returns {string} The converted value.\n */\nconst toStringSymbolsSupported = function toStringSymbolsSupported(value) {\n return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value);\n};\n\nexport default toStringSymbolsSupported;\n","import isFunction from 'is-function-x';\nimport safeToString from 'to-string-symbols-supported-x';\nimport isPrimitive from 'is-primitive-x';\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 * @param {string} [message] - An alternative user message.\n * @throws {TypeError} Throws if `callback` is not a function.\n * @returns {*} Returns `callback` if it is function.\n */\nconst assertIsFunction = function assertIsFunction(callback, message) {\n if (isFunction(callback) === false) {\n const msg =\n arguments.length > 1\n ? safeToString(message)\n : `${isPrimitive(callback) ? safeToString(callback) : '#'} is not a function`;\n\n throw new TypeError(msg);\n }\n\n return callback;\n};\n\nexport default assertIsFunction;\n","import hasSymbols from 'has-symbol-support-x';\nimport isPrimitive from 'is-primitive-x';\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';\nimport call from 'simple-call-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 for (let i = ZERO; i < orderLength; i += ONE) {\n const method = ordinary[methodNames[i]];\n\n if (isFunction(method)) {\n const result = call(method, 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 = call(exoticToPrim, 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 NAN from 'nan-x';\nimport toStr from 'to-string-x';\nimport trimLeft from 'trim-left-x';\nimport methodize from 'simple-methodize-x';\n\nconst nativeParseInt = parseInt;\n/** @type {Function} */\nconst castNumber = (0).constructor;\nconst BAD_CHAR = '\\u180E';\nconst methodizedCharAt = methodize(BAD_CHAR.charAt);\nconst hexRegex = /^[-+]?0[xX]/;\nconst methodizedTest = methodize(hexRegex.test);\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 (methodizedCharAt(str, 0) === BAD_CHAR) {\n return NAN;\n }\n\n return nativeParseInt(str, castNumber(radix) || (methodizedTest(hexRegex, str) ? 16 : 10));\n};\n\nexport default $parseInt;\n","/**\n * The constant NaN derived mathematically by 0 / 0.\n *\n * @type number\n */\nconst constantNAN = 0 / 0;\n\nexport default constantNAN;\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';\nimport methodize from 'simple-methodize-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 methodizedStringSlice = methodize(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 methodizedTest = methodize(binaryRegex.test);\nconst isBinary = function isBinary(value) {\n return methodizedTest(binaryRegex, value);\n};\n\nconst octalRegex = /^0o[0-7]+$/i;\nconst isOctal = function isOctal(value) {\n return methodizedTest(octalRegex, value);\n};\n\nconst nonWSregex = new RegExpConstructor('[\\u0085\\u180e\\u200b\\ufffe]', 'g');\nconst hasNonWS = function hasNonWS(value) {\n return methodizedTest(nonWSregex, value);\n};\n\nconst invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i;\nconst isInvalidHexLiteral = function isInvalidHexLiteral(value) {\n return methodizedTest(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(methodizedStringSlice(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","import numberIsNaN from 'is-nan-x';\nimport INFINITY from 'infinity-x';\n\n/**\n * This method determines whether the passed value is a finite number.\n *\n * @param {*} [number] - The value to be tested for finiteness.\n * @returns {boolean} A Boolean indicating whether or not the given value is a finite number.\n */\nconst isFinite = function isFinite(number) {\n return typeof number === 'number' && numberIsNaN(number) === false && number !== INFINITY && number !== -INFINITY;\n};\n\nexport default isFinite;\n","/**\n * The constant value Infinity derived mathematically by 1 / 0.\n *\n * @type number\n */\nconst constantInfinity = 1 / 0;\n\nexport default constantInfinity;\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 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 hasBoxed from 'has-boxed-string-x';\nimport isString from 'is-string';\nimport methodize from 'simple-methodize-x';\n\nconst EMPTY_STRING = '';\nconst strSplit = methodize(EMPTY_STRING.split);\n\nconst identity = function splitIfBoxedBug(value) {\n return value;\n};\n\nexport const implementation = function splitIfBoxedBug(value) {\n return isString(value) ? strSplit(value, EMPTY_STRING) : identity(value);\n};\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 = hasBoxed ? identity : implementation;\n\nexport default $splitIfBoxedBug;\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';\nimport call from 'simple-call-x';\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 = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length) {\n /* eslint-disable-next-line prefer-rest-params */\n const thisArg = arguments[2];\n for (let index = 0; index < length; index += 1) {\n if (call(callBack, thisArg, [iterable[index], index, object])) {\n return true;\n }\n }\n }\n\n return false;\n};\n\nexport default any;\n","import any from 'array-any-x';\nimport call from 'simple-call-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 any(\n array,\n function iteratee() {\n /* eslint-disable-next-line prefer-rest-params,babel/no-invalid-this */\n call(callBack, this, arguments);\n },\n /* eslint-disable-next-line prefer-rest-params */\n arguments[2],\n );\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';\nimport methodize from 'simple-methodize-x';\nimport call from 'simple-call-x';\n\nconst nf = [].filter;\nconst nativeFilter = typeof nf === 'function' && methodize(nf);\n\nconst test1 = function test1() {\n let spy = 0;\n const res = attempt(function attemptee() {\n return nativeFilter([1, 2], function spyAdd1(item) {\n spy += item;\n\n return false;\n });\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(function attemptee() {\n return nativeFilter(toObject('abc'), function spyAdd2(item, index) {\n spy += item;\n\n return index === 1;\n });\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(function attemptee() {\n const args = (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3);\n\n return nativeFilter(args, 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(function attemptee() {\n return nativeFilter({0: 1, 1: 2, 3: 3, 4: 4, length: 4}, function spyAdd4(item) {\n spy += item;\n\n return false;\n });\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 doc = typeof document !== 'undefined' && document;\n\nconst test5 = function test5() {\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(function attemptee() {\n return nativeFilter(fragment.childNodes, function spyAssign(item) {\n spy = item;\n\n return item;\n });\n });\n\n return getTest5Result([res, div, spy]);\n }\n\n return true;\n};\n\nconst isStrict = (function returnIsStrict() {\n /* eslint-disable-next-line babel/no-invalid-this */\n return toBoolean(this) === false;\n})();\n\nconst test6 = function test6() {\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(function attemptee() {\n return nativeFilter([1], testThis, 'x');\n });\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(\"foo\", function (_, __, context) {' +\n 'if (castBoolean(context) === false || typeof context !== \"object\") {' +\n 'spy.value = true;}});';\n\n const res = attempt(function attemptee() {\n /* eslint-disable-next-line no-new-func */\n return Function('nativeFilter', 'spy', 'castBoolean', fn)(nativeFilter, spy, toBoolean);\n });\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 /* eslint-disable-next-line prefer-rest-params, */\n return nativeFilter(requireObjectCoercible(array), assertIsFunction(callBack), arguments[2]);\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 (call(callBack, 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 attempt from 'attempt-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport toBoolean from 'to-boolean-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport methodize from 'simple-methodize-x';\n\nconst natRed = [].reduce;\nconst nativeReduce = typeof natRed === 'function' && methodize(natRed);\n\nconst test1 = function test1() {\n return attempt(function attemptee() {\n return nativeReduce([], function iteratee(acc) {\n return acc;\n });\n }).threw;\n};\n\nconst test2 = function test2() {\n const res = attempt(function attemptee() {\n return nativeReduce(\n toObject('abc'),\n function iteratee(acc, c) {\n return acc + c;\n },\n 'x',\n );\n });\n\n return res.threw === false && res.value === 'xabc';\n};\n\nconst test3 = function test3() {\n const res = attempt(function attemptee() {\n const args = (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3);\n\n return nativeReduce(\n args,\n function iteratee(acc, arg) {\n return acc + arg;\n },\n 1,\n );\n });\n\n return res.threw === false && res.value === 7;\n};\n\nconst test4 = function test4() {\n const res = attempt(function attemptee() {\n return nativeReduce(\n {0: 1, 1: 2, 3: 3, 4: 4, length: 4},\n function iteratee(acc, arg) {\n return acc + arg;\n },\n 2,\n );\n });\n\n return res.threw === false && res.value === 8;\n};\n\nconst doc = typeof document !== 'undefined' && document;\n\nconst iteratee5 = function iteratee5(acc, node) {\n acc[acc.length] = node;\n\n return acc;\n};\n\nconst test5 = function test5() {\n if (doc) {\n const fragment = doc.createDocumentFragment();\n const div = doc.createElement('div');\n fragment.appendChild(div);\n\n const res = attempt(function attemptee() {\n return nativeReduce(fragment.childNodes, iteratee5, []);\n });\n\n return res.threw === false && res.value.length === 1 && res.value[0] === div;\n }\n\n return true;\n};\n\nconst test6 = function test6() {\n const res = attempt(function attemptee() {\n return nativeReduce('ab', function iteratee() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments[3];\n });\n });\n\n return res.threw === false && typeof res.value === 'object';\n};\n\n// ES5 15.4.4.21\n// http://es5.github.com/#x15.4.4.21\n// https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduce\nconst isWorking = toBoolean(nativeReduce) && test1() && test2() && test3() && test4() && test5() && test6();\n\nconst patchedReduce = function reduce(array, callBack /* , initialValue */) {\n requireObjectCoercible(array);\n assertIsFunction(callBack);\n\n /* eslint-disable-next-line prefer-rest-params */\n return arguments.length > 2 ? nativeReduce(array, callBack, arguments[2]) : nativeReduce(array, callBack);\n};\n\nexport const implementation = function reduce(array, callBack /* , initialValue */) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n assertIsFunction(callBack);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n const argsLength = arguments.length;\n\n // no value to return if no initial value and an empty array\n if (length === 0 && argsLength < 3) {\n throw new TypeError('Reduce of empty array with no initial value');\n }\n\n let i = 0;\n let result;\n\n if (argsLength > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n result = arguments[2];\n } else {\n do {\n if (i in iterable) {\n result = iterable[i];\n i += 1;\n break;\n }\n\n // if array contains no values, no initial value to return\n i += 1;\n\n if (i >= length) {\n throw new TypeError('Reduce of empty array with no initial value');\n }\n } while (true); /* eslint-disable-line no-constant-condition */\n }\n\n while (i < length) {\n if (i in iterable) {\n result = callBack(result, iterable[i], i, object);\n }\n\n i += 1;\n }\n\n return result;\n};\n\n/*\n * This method applies a function against an accumulator and each element in the\n * array (from left to right) to reduce it to a single value.\n *\n * @param {Array} array - The array to iterate over.\n * @param {Function} callBack - Function to execute for each element.\n * @param {*} [initialValue] - Value to use as the first argument to the first\n * call of the callback. If no initial value is supplied, the first element in\n * the array will be used. Calling reduce on an empty array without an initial\n * value is an error.\n * @throws {TypeError} If array is null or undefined.\n * @throws {TypeError} If callBack is not a function.\n * @throws {TypeError} If called on an empty array without an initial value.\n * @returns {*} The value that results from the reduction.\n */\nconst $reduce = isWorking ? patchedReduce : implementation;\n\nexport default $reduce;\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';\nimport methodize from 'simple-methodize-x';\nimport call from 'simple-call-x';\n\nconst ns = [].some;\nconst nativeSome = typeof ns === 'function' && methodize(ns);\n\nconst test1 = function test1() {\n let spy = 0;\n const res = attempt(function attemptee() {\n return nativeSome([1, 2], function spyAdd1(item) {\n spy += item;\n\n return false;\n });\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(function attemptee() {\n return nativeSome(toObject('abc'), function spyAdd2(item, index) {\n spy += item;\n\n return index === 1;\n });\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(function attemptee() {\n const args = (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })(1, 2, 3);\n\n return nativeSome(args, 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(function attemptee() {\n return nativeSome({0: 1, 1: 2, 3: 3, 4: 4, length: 4}, function spyAdd4(item) {\n spy += item;\n\n return false;\n });\n });\n\n return res.threw === false && res.value === false && spy === 6;\n};\n\nconst doc = typeof document !== 'undefined' && document;\n\nconst test5 = function test5() {\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(function attemptee() {\n return nativeSome(fragment.childNodes, function spyAssign(item) {\n spy = item;\n\n return item;\n });\n });\n\n return res.threw === false && res.value === true && spy === div;\n }\n\n return true;\n};\n\nconst isStrict = (function getIsStrict() {\n /* eslint-disable-next-line babel/no-invalid-this */\n return toBoolean(this) === false;\n})();\n\nconst test6 = function test6() {\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(function attemptee() {\n return nativeSome([1], thisTest, 'x');\n });\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(\"foo\", function (_, __, context) {' +\n 'if (castBoolean(context) === false || typeof context !== \"object\") {' +\n 'spy.value = true;}});';\n\n const res = attempt(function attemptee() {\n /* eslint-disable-next-line no-new-func */\n return Function('nativeSome', 'spy', 'castBoolean', fn)(nativeSome, spy, toBoolean);\n });\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\nconsole.log(isWorking);\n\nconst patchedSome = function some(array, callBack /* , thisArg */) {\n /* eslint-disable-next-line prefer-rest-params */\n return nativeSome(requireObjectCoercible(array), assertIsFunction(callBack), arguments[2]);\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 (call(callBack, 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 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 attempt from 'attempt-x';\nimport toLength from 'to-length-x';\nimport toObject from 'to-object-x';\nimport assertIsFunction from 'assert-is-function-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\n\nconst pFindIndex = typeof Array.prototype.findIndex === 'function' && Array.prototype.findIndex;\n\nlet isWorking;\n\nif (pFindIndex) {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = 1;\n let res = attempt.call(testArr, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === 0;\n\n if (isWorking) {\n res = attempt.call(1, pFindIndex, (item, idx) => {\n return idx === 0;\n });\n\n isWorking = res.threw === false && res.value === -1;\n }\n\n if (isWorking) {\n isWorking = attempt.call([], pFindIndex).threw;\n }\n\n if (isWorking) {\n res = attempt.call('abc', pFindIndex, (item) => {\n return item === 'c';\n });\n\n isWorking = res.threw === false && res.value === 2;\n }\n\n if (isWorking) {\n res = attempt.call(\n (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c'),\n pFindIndex,\n (item) => {\n return item === 'c';\n },\n );\n\n isWorking = res.threw === false && res.value === 2;\n }\n}\n\n/**\n * Like `findIndex`, this method returns an index in the array, if an element\n * in the array satisfies the provided testing function. Otherwise -1 is returned.\n *\n * @param {Array} array - The array to search.\n * @throws {TypeError} If array is `null` or `undefined`-.\n * @param {Function} callback - Function to execute on each value in the array,\n * taking three arguments: `element`, `index` and `array`.\n * @throws {TypeError} If `callback` is not a function.\n * @param {*} [thisArg] - Object to use as `this` when executing `callback`.\n * @returns {number} Returns index of positively tested element, otherwise -1.\n */\nlet findIdx;\n\nif (isWorking) {\n findIdx = function findIndex(array, callback) {\n const args = [callback];\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n args[1] = arguments[2];\n }\n\n return pFindIndex.apply(array, args);\n };\n} else {\n findIdx = function findIndex(array, callback) {\n const object = toObject(array);\n assertIsFunction(callback);\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length < 1) {\n return -1;\n }\n\n let thisArg;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params,prefer-destructuring */\n thisArg = arguments[2];\n }\n\n let index = 0;\n while (index < length) {\n if (callback.call(thisArg, iterable[index], index, object)) {\n return index;\n }\n\n index += 1;\n }\n\n return -1;\n };\n}\n\nconst fi = findIdx;\n\nexport default fi;\n","import numberIsFinite from 'is-finite-x';\nimport toInteger from 'to-integer-x';\n\n/**\n * This method determines whether the passed value is an integer.\n *\n * @param {*} value - The value to be tested for being an integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is an integer.\n */\nconst isInteger = function isInteger(value) {\n return numberIsFinite(value) && toInteger(value) === value;\n};\n\nexport default isInteger;\n","import isInteger from 'is-integer-x';\n\nconst MAX_SAFE_INTEGER = 9007199254740991;\nconst MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;\n\n/**\n * This method determines whether the passed value is a safe integer.\n *\n * Can be exactly represented as an IEEE-754 double precision number, and\n * whose IEEE-754 representation cannot be the result of rounding any other\n * integer to fit the IEEE-754 representation.\n *\n * @param {*} value - The value to be tested for being a safe integer.\n * @returns {boolean} A Boolean indicating whether or not the given value is a\n * safe integer.\n */\nconst isSafeInteger = function isSafeInteger(value) {\n return isInteger(value) && value >= MIN_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n};\n\nexport default isSafeInteger;\n","import isSafeInteger from 'is-safe-integer-x';\n\n/**\n * This method checks if `value` is a valid array-like length.\n *\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\nconst isLength = function isLength(value) {\n return isSafeInteger(value) && value >= 0;\n};\n\nexport default isLength;\n","import isNil from 'is-nil-x';\nimport isFunction from 'is-function-x';\nimport isLength from 'is-length-x';\n\n/**\n * Checks if value is array-like. A value is considered array-like if it's\n * not a function and has a `length` that's an integer greater than or\n * equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @param {*} value - The object to be tested.\n */\nconst isArrayLike = function isArrayLike(value) {\n return isNil(value) === false && isFunction(value, true) === false && isLength(value.length);\n};\n\nexport default isArrayLike;\n","import toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport toInteger from 'to-integer-x';\nimport isArrayLike from 'is-array-like-x';\n\nconst getMax = function getMax(a, b) {\n return a >= b ? a : b;\n};\n\n/**\n * This method calculates a fromIndex of a given value for an array.\n *\n * @param {Array} array - * The array on which to calculate the starting index.\n * @throws {TypeError} If array is null or undefined.\n * @param {number} fromIndex - * The position in this array at which to begin. A\n * negative value gives the index of array.length + fromIndex by asc.\n * @returns {number} The calculated fromIndex. Default is 0.\n */\nconst calcFromIndex = function calcFromIndex(array, fromIndex) {\n const object = toObject(array);\n\n if (isArrayLike(object) === false) {\n return 0;\n }\n\n const index = toInteger(fromIndex);\n\n return index >= 0 ? index : getMax(0, toLength(object.length) + index);\n};\n\nexport default calcFromIndex;\n","import numberIsNaN from 'is-nan-x';\nimport isString from 'is-string';\nimport 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';\nimport methodize from 'simple-methodize-x';\nimport toInteger from 'to-integer-x';\n\nconst nio = [].indexOf;\nconst nativeIndexOf = typeof nio === 'function' && methodize(nio);\nconst {max: mathMax} = Math;\n\nconst test1 = function test1() {\n const res = attempt(nativeIndexOf, [0, 1], 1, 2);\n\n return res.threw === false && res.value === -1;\n};\n\nconst test2 = function test2() {\n const res = attempt(nativeIndexOf, [0, 1], 1);\n\n return res.threw === false && res.value === 1;\n};\n\nconst test3 = function test3() {\n const res = attempt(nativeIndexOf, [0, -0], -0);\n\n return res.threw === false && res.value === 0;\n};\n\nconst test4 = function test4() {\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 const res = attempt(nativeIndexOf, testArr, void 0);\n\n return res.threw === false && res.value === 1;\n};\n\nconst test5 = function test5() {\n const res = attempt(nativeIndexOf, 'abc', 'c');\n\n return res.threw === false && res.value === 2;\n};\n\nconst test6 = function test6() {\n const args = (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c');\n\n const res = attempt(nativeIndexOf, args, 'c');\n\n return res.threw === false && res.value === 2;\n};\n\nconst isWorking = toBoolean(nativeIndexOf) && test1() && test2() && test3() && test4() && test5() && test6();\n\nexport const implementation = function indexOf(array, searchElement) {\n const object = toObject(array);\n // If no callback function or if callback is not a callable function\n const iterable = splitIfBoxedBug(object);\n const length = toLength(iterable.length);\n\n if (length === 0) {\n return -1;\n }\n\n let i = 0;\n\n if (arguments.length > 2) {\n /* eslint-disable-next-line prefer-rest-params */\n i = toInteger(arguments[2]);\n }\n\n // handle negative indices\n i = i >= 0 ? i : mathMax(0, length + i);\n for (; i < length; i += 1) {\n if (i in iterable && iterable[i] === searchElement) {\n return i;\n }\n }\n\n return -1;\n};\n\nconst pIndexOf = isWorking ? nativeIndexOf : implementation;\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(iterable, searchElement, fromIndex);\n};\n\nexport default indexOf;\n","import attempt from 'attempt-x';\nimport toObject from 'to-object-x';\nimport toLength from 'to-length-x';\nimport sameValueZero from 'same-value-zero-x';\nimport findIndex from 'find-index-x';\nimport splitIfBoxedBug from 'split-if-boxed-bug-x';\nimport indexOf from 'index-of-x';\nimport calcFromIndex from 'calculate-from-index-x';\nimport toBoolean from 'to-boolean-x';\nimport requireObjectCoercible from 'require-object-coercible-x';\nimport methodize from 'simple-methodize-x';\n\nconst ni = [].includes;\nconst nativeIncludes = typeof ni === 'function' && methodize(ni);\n\nconst getArrayLike = function getArrayLike() {\n return {\n 1: 'a',\n 2: NaN,\n 3: -0,\n length: 5,\n };\n};\n\nconst test1 = function test1() {\n return attempt(null, nativeIncludes, 'a').threw;\n};\n\nconst test2 = function test2() {\n const arr = getArrayLike();\n const res = attempt(function attemptee() {\n /* eslint-disable-next-line no-void */\n return nativeIncludes(arr, void 0, -1);\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst test3 = function test3() {\n const arr = getArrayLike();\n const res = attempt(function attemptee() {\n return nativeIncludes(arr, NaN);\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst test4 = function test4() {\n const arr = getArrayLike();\n const res = attempt(function attemptee() {\n return nativeIncludes(arr, 0);\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst test5 = function test5() {\n const testArr = [];\n testArr.length = 2;\n testArr[1] = null;\n const res = attempt(function attemptee() {\n /* eslint-disable-next-line no-void */\n return nativeIncludes(testArr, void 0);\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst test6 = function test6() {\n const res = attempt(function attemptee() {\n return nativeIncludes('abc', 'c');\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst test7 = function test7() {\n const res = attempt(function attemptee() {\n const args = (function getArgs() {\n /* eslint-disable-next-line prefer-rest-params */\n return arguments;\n })('a', 'b', 'c');\n\n return nativeIncludes(args, 'c');\n });\n\n return res.threw === false && res.value === true;\n};\n\nconst isWorking = toBoolean(nativeIncludes) && test1() && test2() && test3() && test4() && test5() && test6() && test7();\n\nconst patchedReduce = function includes(array, searchElement) {\n /* eslint-disable-next-line prefer-rest-params */\n return nativeIncludes(requireObjectCoercible(array), searchElement, arguments[2]);\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\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} object - 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 * @returns {number} Returns index of found element, otherwise -1.\n */\n// eslint-enable jsdoc/check-param-names\nconst findIdxFrom = function findIndexFrom(args) {\n const [object, searchElement, fromIndex] = args;\n let fIdx = fromIndex;\n const length = toLength(object.length);\n while (fIdx < length) {\n if (sameValueZero(object[fIdx], searchElement)) {\n return fIdx;\n }\n\n fIdx += 1;\n }\n\n return -1;\n};\n\nconst runFindIndex = function runFindIndex(obj) {\n const {iterable, args, length, searchElement} = obj;\n let fromIndex = calcFromIndex(iterable, args[2]);\n\n if (fromIndex >= length) {\n return -1;\n }\n\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n\n return fromIndex > 0\n ? findIdxFrom([iterable, searchElement, fromIndex]) > -1\n : findIndex(iterable, function predicate(element) {\n return sameValueZero(searchElement, element);\n }) > -1;\n};\n\nexport const implementation = function includes(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 if (typeof searchElement === 'undefined') {\n /* eslint-disable-next-line prefer-rest-params */\n return runFindIndex({iterable, args: arguments, length, searchElement});\n }\n\n /* eslint-disable-next-line prefer-rest-params */\n return indexOf(iterable, searchElement, arguments[2], 'samevaluezero') > -1;\n};\n\n/**\n * This method determines whether an array includes a certain element,\n * returning true or false as appropriate.\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 position in this array at which to begin\n * searching for searchElement. A negative value searches from the index of\n * array.length + fromIndex by asc. Defaults to 0.\n * @returns {boolean} `true` if searched element is included; otherwise `false`.\n */\nconst $includes = isWorking ? patchedReduce : implementation;\n\nexport default $includes;\n","import filter from 'array-filter-x';\nimport reduce from 'array-reduce-x';\nimport some from 'array-some-x';\nimport arrayincludes from 'array-includes-x';\nimport isNil from 'is-nil-x';\nimport methodize from 'simple-methodize-x';\n\nconst shift = methodize([].shift);\n\nconst notNil = function notNil(value) {\n return isNil(value) === false;\n};\n\nconst createReducer = function createReducer(arrays) {\n return function reducer(acc, value) {\n const isIncluded = some(arrays, function exclude(array) {\n return arrayincludes(array, value) === false;\n });\n\n if (isIncluded === false && arrayincludes(acc, value) === false) {\n acc[acc.length] = value;\n }\n\n return acc;\n };\n};\n\n// eslint-disable jsdoc/check-param-names\n// noinspection JSCommentMatchesSignature\n/**\n * This method creates an array of unique values that are included in all given\n * arrays using SameValueZero for equality comparisons. The order and references\n * of result values are determined by the first array.\n *\n * @param {...Array} [array] - The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n */\n// eslint-enable jsdoc/check-param-names\nconst intersection = function intersection() {\n /* eslint-disable-next-line prefer-rest-params */\n const arrays = filter(arguments, notNil);\n const result = [];\n\n return arrays.length < 1 ? result : reduce(shift(arrays), createReducer(arrays), result);\n};\n\nexport default intersection;\n"],"sourceRoot":""} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 62e3d42..404d20e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "array-intersection-x", - "version": "3.1.0", + "version": "3.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2012,21 +2012,23 @@ "dev": true }, "array-all-x": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/array-all-x/-/array-all-x-1.1.0.tgz", - "integrity": "sha512-lQ2Qca/mSEAQmJLD9qpnRrL02/LNa+krqdDMxo4I83slR1iTXSO7RojJlmDCtT32po42NzpLMS1okozbgwgCoA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-all-x/-/array-all-x-1.1.1.tgz", + "integrity": "sha512-oG4aXG6O1zmKa7hFGgzPw6rrmJWI/Bcfw31iC+zrbd14i6HI+8E6CKTCk8hu+rfkpoimneowCNr1CU2Y2IM4Pw==", "requires": { - "array-any-x": "^1.1.0" + "array-any-x": "^1.1.1", + "simple-call-x": "^1.0.2" } }, "array-any-x": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/array-any-x/-/array-any-x-1.1.0.tgz", - "integrity": "sha512-uaD8PAFsSrgbi5ooucigdbgS/+5BkJSzfgVEWBxhci0rP9lqIjV4LCb+RRSgqo98oQDJHfzbyNZLiQzwcX3VyA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-any-x/-/array-any-x-1.1.1.tgz", + "integrity": "sha512-p1SbH9hd8aLD5ZAggQ6qrrmrTTJkd5RF7/brz/RWcYqAkU7tlFKoE1GJhPwePc2ViqUrmaTKLgKmWkjjghi1AA==", "requires": { - "assert-is-function-x": "^3.1.0", - "split-if-boxed-bug-x": "^2.1.0", - "to-length-x": "^4.2.0", + "assert-is-function-x": "^3.1.1", + "simple-call-x": "^1.0.2", + "split-if-boxed-bug-x": "^2.1.1", + "to-length-x": "^4.2.1", "to-object-x": "^2.2.0" } }, @@ -2037,14 +2039,16 @@ "dev": true }, "array-filter-x": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-filter-x/-/array-filter-x-3.1.0.tgz", - "integrity": "sha512-AeloS6TxSq2/x75G1HXJR1YJkfM5YZy7yY30Kg8+NXAggiMPIAJFsoqYG8HoFU3SvemqMYp0zcfJ50ZYG5Qd0g==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/array-filter-x/-/array-filter-x-3.1.1.tgz", + "integrity": "sha512-Ex7b8i3O8Wp5kDcqv9seWzUUzKqQVIgzZC9WLehStkzCWdSyCyGhr1QUrXCFm+TGbqY7ukPn2ElH9FQjV6X9qg==", "requires": { - "array-all-x": "^1.1.0", - "assert-is-function-x": "^3.1.0", - "attempt-x": "^2.1.0", + "array-all-x": "^1.1.1", + "assert-is-function-x": "^3.1.1", + "attempt-x": "^2.1.1", "require-object-coercible-x": "^2.1.0", + "simple-call-x": "^1.0.2", + "simple-methodize-x": "^1.0.3", "to-boolean-x": "^2.1.0", "to-object-x": "^2.2.0" } @@ -2072,45 +2076,49 @@ } }, "array-includes-x": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-includes-x/-/array-includes-x-3.1.0.tgz", - "integrity": "sha512-WZmDC+iRwXON/erE5UaUef3fbgamNvuQk0r1UY+Wakdmn2NPvraOr3xchokE9cbzOMfKd/kEiAknIHM+m99o6A==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/array-includes-x/-/array-includes-x-3.1.1.tgz", + "integrity": "sha512-cU+dSCFMTPyGj/OJ/qoaS4kmJsuBTnlvL6Cax++4Nr3Ukbr0pJdQ6WYCYftJy+3NW2/KXcE7bt4k9U2xjGaxDQ==", "requires": { - "attempt-x": "^2.1.0", - "calculate-from-index-x": "^3.1.0", - "find-index-x": "^3.1.0", - "index-of-x": "^3.1.0", + "attempt-x": "^2.1.1", + "calculate-from-index-x": "^3.1.1", + "find-index-x": "^3.1.1", + "index-of-x": "^3.1.1", "require-object-coercible-x": "^2.1.0", "same-value-zero-x": "^2.1.0", - "split-if-boxed-bug-x": "^2.1.0", + "simple-methodize-x": "^1.0.3", + "split-if-boxed-bug-x": "^2.1.1", "to-boolean-x": "^2.1.0", - "to-length-x": "^4.2.0", + "to-length-x": "^4.2.1", "to-object-x": "^2.2.0" } }, "array-reduce-x": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-reduce-x/-/array-reduce-x-3.1.0.tgz", - "integrity": "sha512-+Ix/owjQAEyY8XkMTYWLoE1uwMi+BIIeX0SNS3J38YrYMoh2PnrUb5nMcQvO+IagSUrdqA2AOFbIRihpmLeMlw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/array-reduce-x/-/array-reduce-x-3.1.1.tgz", + "integrity": "sha512-xe4grYKoMq0Tp2NvMkGLoycFGRxewZSoHgswFfnuRXG8TBgeIufY1+Q1+2H4NEftHFEcJZKe0c9e5qEfWbL0Aw==", "requires": { - "assert-is-function-x": "^3.1.0", - "attempt-x": "^2.1.0", + "assert-is-function-x": "^3.1.1", + "attempt-x": "^2.1.1", "require-object-coercible-x": "^2.1.0", - "split-if-boxed-bug-x": "^2.1.0", + "simple-methodize-x": "^1.0.3", + "split-if-boxed-bug-x": "^2.1.1", "to-boolean-x": "^2.1.0", - "to-length-x": "^4.2.0", + "to-length-x": "^4.2.1", "to-object-x": "^2.2.0" } }, "array-some-x": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-some-x/-/array-some-x-3.1.0.tgz", - "integrity": "sha512-TfezzkTNZyYSDiizAaYQs5sNPeuoON6t3DqYmhZ3/HjynHhzzm6v5wPqG3Spi0X7lh8sOythi1LmNHIRMgK7Gg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/array-some-x/-/array-some-x-3.1.1.tgz", + "integrity": "sha512-QI4fxaldI3tWzRpPJ2jWYRrlkPW7Qvr1Gp9vqsbz+gVpb6Ib2K7Dsxt0RBCVHynxOOF94buKMx6UtI+Bs5GWww==", "requires": { - "array-any-x": "^1.1.0", - "assert-is-function-x": "^3.1.0", - "attempt-x": "^2.1.0", + "array-any-x": "^1.1.1", + "assert-is-function-x": "^3.1.1", + "attempt-x": "^2.1.1", "require-object-coercible-x": "^2.1.0", + "simple-call-x": "^1.0.2", + "simple-methodize-x": "^1.0.3", "to-boolean-x": "^2.1.0", "to-object-x": "^2.2.0" } @@ -2169,13 +2177,13 @@ } }, "assert-is-function-x": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/assert-is-function-x/-/assert-is-function-x-3.1.0.tgz", - "integrity": "sha512-YjSgPgkvhiu90F2wQPWwO9LYdajWynQ4oVL2XqFIKCu+b3YmBTb/ZxLpySOOoAobl9FE5oQbbyHhnyxyZQT7MA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/assert-is-function-x/-/assert-is-function-x-3.1.1.tgz", + "integrity": "sha512-kjQLBMSBk+RPNF9aTEHZFsDpCc8KOQIkTFt7jo9xtrWFknAvEzzp++m8y2yQBINQNA6SaG3cGELDmlXpiPlg3Q==", "requires": { - "is-function-x": "^4.1.0", - "is-primitive": "^3.0.1", - "to-string-symbols-supported-x": "^2.1.0" + "is-function-x": "^4.1.1", + "is-primitive-x": "^1.0.0", + "to-string-symbols-supported-x": "^2.1.1" } }, "assert-plus": { @@ -2236,9 +2244,13 @@ "dev": true }, "attempt-x": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/attempt-x/-/attempt-x-2.1.0.tgz", - "integrity": "sha512-6uEwpmnyxZbzZWGwDyvbEEZY1mNWMpMZsLmvBm9sx8WVK2AjT+QWsNVTJe4dS0pE4BXMyPHcX1DD84Rcw2GUEg==" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/attempt-x/-/attempt-x-2.1.1.tgz", + "integrity": "sha512-mcwu+LMK5Nc/+64aix4Wn3Ujl3tAY+5SVLteD83ypo822dx8Cg+gDRggOxA+NKikulbn7/FSNE53hnxmLo+Pvg==", + "requires": { + "simple-call-x": "^1.0.2", + "util-pusher-x": "^1.0.2" + } }, "aws-sign2": { "version": "0.7.0", @@ -2782,13 +2794,13 @@ } }, "calculate-from-index-x": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/calculate-from-index-x/-/calculate-from-index-x-3.1.0.tgz", - "integrity": "sha512-hBjjjvwuWjXJiv7Gdiu0ti2jDZADaEp2ju2SR/gOWnEvca20UUMqWagOdZns4qdv7KW+OD23q4mijRgJddwTkQ==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/calculate-from-index-x/-/calculate-from-index-x-3.1.1.tgz", + "integrity": "sha512-Yspi8RCiNgYQdMURr/Q+ZeugLYiNjxy147lH+2IsNrF64wcBfm59y/122gPDo11RAgv5hxyQfRlG/+xhICAqEg==", "requires": { - "is-array-like-x": "^2.1.0", - "to-integer-x": "^4.2.0", - "to-length-x": "^4.2.0", + "is-array-like-x": "^2.1.1", + "to-integer-x": "^4.2.1", + "to-length-x": "^4.2.1", "to-object-x": "^2.2.0" } }, @@ -4747,14 +4759,14 @@ } }, "find-index-x": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/find-index-x/-/find-index-x-3.1.0.tgz", - "integrity": "sha512-9pVh4fb0O45aU7E/KxuhSNfO7VvXRKNyYhVU8UOW3jz4sgX3j80+cx+17iT1tnDWV9N8fFW4ljfYOVEOXU/X/Q==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/find-index-x/-/find-index-x-3.1.1.tgz", + "integrity": "sha512-B51rydqGiwihV7vJ3nyadLOs14afuVNqQX5WfVSXzsWpTEoIloWsnc/QTWP5EKIschfzhagXszSY4VSXsP4VuQ==", "requires": { - "assert-is-function-x": "^3.1.0", - "attempt-x": "^2.1.0", - "split-if-boxed-bug-x": "^2.1.0", - "to-length-x": "^4.2.0", + "assert-is-function-x": "^3.1.1", + "attempt-x": "^2.1.1", + "split-if-boxed-bug-x": "^2.1.1", + "to-length-x": "^4.2.1", "to-object-x": "^2.2.0" } }, @@ -5698,11 +5710,11 @@ "dev": true }, "has-symbol-support-x": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-2.1.0.tgz", - "integrity": "sha512-W+CLT3KPPgWfBPIFovyONfzafrGtl9mwsrxVgit7M8uKASIzJFyU0T+6xRwlTz+me6xHstRWaHZa7HWoAnghBw==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-2.1.1.tgz", + "integrity": "sha512-pgnuC8pSEQQNOq69BGNW+Z8dKHrZbPI3PvzElA4e5n1E5dygqAjJVx358LVySDPLykq4D8WLnCciySv4gMA4jQ==", "requires": { - "attempt-x": "^2.1.0", + "attempt-x": "^2.1.1", "is-symbol": "^1.0.2" } }, @@ -5712,11 +5724,11 @@ "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=" }, "has-to-string-tag-x": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-2.1.0.tgz", - "integrity": "sha512-EgUnsXY7dzPPH2F1zeVDtcPzHDy3tTQtG17WTw/PU6o1P7pJNAulNEj4nSyj6fs9dX9K2RlXC/tolyo5oMYPLw==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-2.1.1.tgz", + "integrity": "sha512-FxA7uJfP4CU9S2exqn+IhQQRiERx7jDwo3b+R38auiGKTs3Uzbyx7+fEe739Hs7DhruwWVFtl3DGvXU4VnF8Pg==", "requires": { - "has-symbol-support-x": "^2.1.0", + "has-symbol-support-x": "^2.1.1", "is-symbol": "^1.0.2" } }, @@ -5752,6 +5764,14 @@ } } }, + "has-working-bind-x": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-working-bind-x/-/has-working-bind-x-1.0.0.tgz", + "integrity": "sha512-Z4KjFE3r1KAO5vqZWg2epVp2XbK1rI6Z5/e3XDHLrK4MyjESNWRNCVdrzxaKdux0nOziSFT9ZAU89opyHfJIUw==", + "requires": { + "noop-x": "^1.2.0" + } + }, "hash-base": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz", @@ -5944,20 +5964,22 @@ "dev": true }, "index-of-x": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/index-of-x/-/index-of-x-3.1.0.tgz", - "integrity": "sha512-0Z1IGYOjIT17+PwujkWzE0+tJNA7ot2gCE0/sQDjrQVNc/mmTASTiindLN8MZv3XULPAFRarjruK+noK38qO1A==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/index-of-x/-/index-of-x-3.1.1.tgz", + "integrity": "sha512-N5qzHe69zX6Vc9pgtKQ/zbeDcUPWGsUZDBvCv7wZ9cIEZ61PueZ+VWH5DeWSJGJA4uScwd+9RU67VlIi6Hfylw==", "requires": { - "attempt-x": "^2.1.0", - "calculate-from-index-x": "^3.1.0", - "find-index-x": "^3.1.0", + "attempt-x": "^2.1.1", + "calculate-from-index-x": "^3.1.1", + "find-index-x": "^3.1.1", "is-nan-x": "^2.1.0", "is-string": "^1.0.4", "same-value-x": "^2.1.0", "same-value-zero-x": "^2.1.0", - "split-if-boxed-bug-x": "^2.1.0", + "simple-methodize-x": "^1.0.3", + "split-if-boxed-bug-x": "^2.1.1", "to-boolean-x": "^2.1.0", - "to-length-x": "^4.2.0", + "to-integer-x": "^4.2.1", + "to-length-x": "^4.2.1", "to-object-x": "^2.2.0" } }, @@ -6082,12 +6104,12 @@ } }, "is-array-like-x": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-array-like-x/-/is-array-like-x-2.1.0.tgz", - "integrity": "sha512-n/PUkhUm9IJ6ktLKw8TJYeFItwPDEubl3/T+ysZekQzesupvCvuuf+l/pDjVI6hJQFdWdzZt5qkUhbzCbzm1kw==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-array-like-x/-/is-array-like-x-2.1.1.tgz", + "integrity": "sha512-NtBlyk6sXeKQazmC2A+CILp8Fx0vdfw5CmWna34opEsZYQubrNjK7hRnAKeQbiXVBppniea3h7dNDzda3QkbAg==", "requires": { - "is-function-x": "^4.1.0", - "is-length-x": "^3.2.0", + "is-function-x": "^4.1.1", + "is-length-x": "^3.2.1", "is-nil-x": "^2.1.0" } }, @@ -6199,17 +6221,18 @@ "dev": true }, "is-function-x": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-function-x/-/is-function-x-4.1.0.tgz", - "integrity": "sha512-7wj4VvUEc/UOFLfT1j5b8I3rzTaQMXMUR5I1bkVJSJWRymW5kJrt/g/K/PeyhuUI9ENbXfXGCTziPmQBA6KcQQ==", - "requires": { - "attempt-x": "^2.1.0", - "has-to-string-tag-x": "^2.1.0", - "is-primitive": "^3.0.1", - "normalize-space-x": "^4.1.0", - "replace-comments-x": "^3.1.0", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/is-function-x/-/is-function-x-4.1.1.tgz", + "integrity": "sha512-kMgKQzLTt1qFiLB1LwjFSeFOQaSBcofOKtDHk5upyDBnAy7uf4E5a7zZW0xuVyEWPSUq5k154YsJr0sFkf6yJw==", + "requires": { + "attempt-x": "^2.1.1", + "has-to-string-tag-x": "^2.1.1", + "is-primitive-x": "^1.0.0", + "normalize-space-x": "^4.1.1", + "replace-comments-x": "^3.1.1", + "simple-methodize-x": "^1.0.3", "to-boolean-x": "^2.1.0", - "to-string-tag-x": "^2.1.0" + "to-string-tag-x": "^2.1.1" } }, "is-generator-fn": { @@ -6248,12 +6271,12 @@ } }, "is-integer-x": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-integer-x/-/is-integer-x-2.2.0.tgz", - "integrity": "sha512-0gswZhSq7jCVoEVaT+atbfTPkba8J223+ER6w98kIgFcrD5PNb2Tt4WfTweTKc0rj6S69o6M9n1ufUxc09K/Dg==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-integer-x/-/is-integer-x-2.2.1.tgz", + "integrity": "sha512-Hr/CRP86OJAuq0EDgnuH24ZMRLnrz1SmhL+EqkyeQL+EvJL9Mv6gOzLOjvYOwnbxkw6zT3140xVQ4Bu16lsttQ==", "requires": { "is-finite-x": "^4.2.0", - "to-integer-x": "^4.2.0" + "to-integer-x": "^4.2.1" } }, "is-js-type": { @@ -6266,11 +6289,11 @@ } }, "is-length-x": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/is-length-x/-/is-length-x-3.2.0.tgz", - "integrity": "sha512-WtClAavqCjw2YbnMoUry7Vn2Uyyu8PZjnrGTTlPAM0rRcqWYF2gpI+K/SbQjA0rVrd3L90wTPnWbgRBDUfDC/Q==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is-length-x/-/is-length-x-3.2.1.tgz", + "integrity": "sha512-UYXToiYmImfVtg8FM6UvO4w0fIW3Dh0+i05sv3WFed9rHUgLukwE7W3royHeMnWJ4igLUriP9RpeNPfVzNHIpg==", "requires": { - "is-safe-integer-x": "^2.2.0" + "is-safe-integer-x": "^2.2.1" } }, "is-nan-x": { @@ -6349,11 +6372,6 @@ "isobject": "^3.0.1" } }, - "is-primitive": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-3.0.1.tgz", - "integrity": "sha512-GljRxhWvlCNRfZyORiH77FwdFwGcMO620o37EOYC0ORWdq+WYNVqW0w2Juzew4M+L81l6/QS3t5gkkihyRqv9w==" - }, "is-primitive-x": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-primitive-x/-/is-primitive-x-1.0.0.tgz", @@ -6397,11 +6415,11 @@ "dev": true }, "is-safe-integer-x": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-safe-integer-x/-/is-safe-integer-x-2.2.0.tgz", - "integrity": "sha512-DYri9c3iu7hCIY5KmYnA/fsM6J8E4TzMpfXCGXOcJcikcnre1kstf7BIfIKDKaRxRFfyGGD4/vOnZNELx5WQ+w==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-safe-integer-x/-/is-safe-integer-x-2.2.1.tgz", + "integrity": "sha512-HblcpwNC07YsGIQKe7lCWU3Weio5weCYDhsRFcw2hNv/dqgFDodENXNk1dpO0vUveZCGCuCryRBOajoZ0hFlDA==", "requires": { - "is-integer-x": "^2.2.0" + "is-integer-x": "^2.2.1" } }, "is-stream": { @@ -7469,12 +7487,12 @@ } }, "math-sign-x": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/math-sign-x/-/math-sign-x-4.2.0.tgz", - "integrity": "sha512-f+/TntMDyMSmVCsGwz2Fsn1hPHzbhjH0xbBNU5ZxE04NraTannM7U9G+1W4puIBz5kD9ZJpPb23fnD7iAvDkZw==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/math-sign-x/-/math-sign-x-4.2.1.tgz", + "integrity": "sha512-OIzGmJ2LAqRmzagZjdhZ7NP4NZ1G8MNfuEKFyIuPJUf0qyIFLXzPRU/jWnCIZjaOGjTnbeSAQi9SCf+Sp/dXfg==", "requires": { "is-nan-x": "^2.1.0", - "to-number-x": "^3.2.0" + "to-number-x": "^3.2.1" } }, "md5.js": { @@ -7952,11 +7970,12 @@ "dev": true }, "normalize-space-x": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/normalize-space-x/-/normalize-space-x-4.1.0.tgz", - "integrity": "sha512-teUSSrTafvFVlLOYU1qvuL7sG0WomB1dhet01dgMNIJFBtJnXndSHQmT3DQ/uJ9c16lCWIE9ydQkoaYSLg3TLw==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/normalize-space-x/-/normalize-space-x-4.1.1.tgz", + "integrity": "sha512-/ykM/zBoMRHXQGTief5lQkuUbt16l2WqCwtg+JIfXaNE9acgkQV69syHDgvEPPU351QpxWyGr+lpQlDhOvqySg==", "requires": { - "trim-x": "^4.1.0", + "simple-methodize-x": "^1.0.3", + "trim-x": "^4.1.1", "white-space-x": "^4.1.0" } }, @@ -8323,13 +8342,14 @@ } }, "parse-int-x": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/parse-int-x/-/parse-int-x-3.2.0.tgz", - "integrity": "sha512-8WPt8jwUpeQxF+OPgBuwA3vJVycZRXaQ7+W3ol7XShjD5okO2I8ZQUfdrJdy0gxlcF4TKcPF7mVxwJDM8DcFiw==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/parse-int-x/-/parse-int-x-3.2.1.tgz", + "integrity": "sha512-I/q1rZCXnstsVsp9dlM0QPI00yhdmHr2dsOCsUTRKcmAZDFb357Ujp1ySSNmACtfpiGmDNBpNAJC/SWdFgm59w==", "requires": { "nan-x": "^2.2.0", + "simple-methodize-x": "^1.0.3", "to-string-x": "^2.1.0", - "trim-left-x": "^4.1.0" + "trim-left-x": "^4.1.1" } }, "parse-json": { @@ -9036,11 +9056,12 @@ "dev": true }, "replace-comments-x": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/replace-comments-x/-/replace-comments-x-3.1.0.tgz", - "integrity": "sha512-I9ds9gOpj0UHyabyWdvQQ3BJAMCZf5fdtCHfD4QtV78s+Ve/fyGIyS9CsF69beVPsROREXQJ8INVOGn1vEulYA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/replace-comments-x/-/replace-comments-x-3.1.1.tgz", + "integrity": "sha512-rvDbWDzleokK3zRb7u4/VbkGcgXxZvcYx1PZTkouJ7YVknDGTigs4mj93V2kAQIepHDOEhOnC1U1GDHQkx4pLA==", "requires": { "require-coercible-to-string-x": "^2.1.0", + "simple-methodize-x": "^1.0.3", "to-string-x": "^2.1.0" } }, @@ -9502,29 +9523,30 @@ "dev": true }, "simple-bind-x": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-bind-x/-/simple-bind-x-1.0.1.tgz", - "integrity": "sha512-OIo1q1wYvm3GMqFsP8E23Lb1bJzHNOJBGAeV0sSIVqxsGXF6fe5WoA5I2qAUzrUp6cWWKAGbTuJf32cjxTyfDA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/simple-bind-x/-/simple-bind-x-1.0.2.tgz", + "integrity": "sha512-97fOo8CRKVC89ELu1YJuCeeZp3RWQp5taB8ryT+C4NupBimrXzez0tvLccEvwImUlXU3r/ohbRJApXio4KHCVA==", "requires": { - "util-pusher-x": "^1.0.1" + "has-working-bind-x": "^1.0.0", + "util-pusher-x": "^1.0.2" } }, "simple-call-x": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-call-x/-/simple-call-x-1.0.1.tgz", - "integrity": "sha512-jVJsqi1bBY6J1jjXZ5Dzu0y9Peku2c/06HqRxkPIIu8jGtOZEV9JXx8Ep6Hjlrr1WNB6z2tBzrobgCwZIJGYcg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/simple-call-x/-/simple-call-x-1.0.2.tgz", + "integrity": "sha512-mdutrZPVfe0ub82f13FCyaH+IYl6LCQif/Zg4emgCBszTjvFeHxD7RNUQ14q1Dx0BBncYEtlWdTrnBBqD6wMlA==", "requires": { - "simple-bind-x": "^1.0.1", - "util-pusher-x": "^1.0.1" + "simple-bind-x": "^1.0.2", + "util-pusher-x": "^1.0.2" } }, "simple-methodize-x": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/simple-methodize-x/-/simple-methodize-x-1.0.2.tgz", - "integrity": "sha512-FQcrBBwOxoD/pufXeOQkZvn+v+gyQWEiE4ETIA7aAzBnMq+Lw5p32foXOH3LXPs0ln9ruv1nk19Is1dqQTGMPQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/simple-methodize-x/-/simple-methodize-x-1.0.3.tgz", + "integrity": "sha512-BkngaW/mzvc5vYbjP5eJ7/1ai9jxx4e8M16ZDU9qydxUJukumNmcyNRIgyln6E5pgkIEfKCNwRpiZXOgIbgc8w==", "requires": { - "simple-call-x": "^1.0.1", - "util-pusher-x": "^1.0.1" + "simple-call-x": "^1.0.2", + "util-pusher-x": "^1.0.2" } }, "sisteransi": { @@ -9749,12 +9771,13 @@ "dev": true }, "split-if-boxed-bug-x": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/split-if-boxed-bug-x/-/split-if-boxed-bug-x-2.1.0.tgz", - "integrity": "sha512-+FRVSyijx5S0bf1trO6oHcueaHSUc56te8Yd2SwQgJQMsAg43qTdF1baoearTifcZJvHvB0oFE+i+SAWeR26NQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/split-if-boxed-bug-x/-/split-if-boxed-bug-x-2.1.1.tgz", + "integrity": "sha512-G2wJZb06DUSOHGfsBvzbVqiBEffgiMXAs8nIAXlTnwPBk967OiVvjf54lxuML6rF8yaK1dk+MvdfbAvirpzyuw==", "requires": { "has-boxed-string-x": "^2.1.0", - "is-string": "^1.0.4" + "is-string": "^1.0.4", + "simple-methodize-x": "^1.0.3" } }, "split-string": { @@ -10211,34 +10234,35 @@ "dev": true }, "to-integer-x": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/to-integer-x/-/to-integer-x-4.2.0.tgz", - "integrity": "sha512-JN+hKI68LY2uKBPdELS8jiM5ocDc1Uh8+dsL531uPCICKBpYkVLGgMd94QqqjXssR8Qo3JfeGtNj4bUjS1xc+w==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/to-integer-x/-/to-integer-x-4.2.1.tgz", + "integrity": "sha512-tf7pyYZitVoTKwkinrZc2kThrNBWZzUp5bd9HMzurEC0h+4YiOZ98M1xRDZlG9ZEsS0y+VLAJ8D9B3UaCA6Q4Q==", "requires": { "is-finite-x": "^4.2.0", "is-nan-x": "^2.1.0", - "math-sign-x": "^4.2.0", - "to-number-x": "^3.2.0" + "math-sign-x": "^4.2.1", + "to-number-x": "^3.2.1" } }, "to-length-x": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/to-length-x/-/to-length-x-4.2.0.tgz", - "integrity": "sha512-P8jL84/1UtkiS8TjyAZG35IIFZQA5M1gSLJFSvJqVFqM8v2hnwQGg81RA/V1ZPJfFq7xLQ1NyhVG9epclBgdXg==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/to-length-x/-/to-length-x-4.2.1.tgz", + "integrity": "sha512-VgApT3ZUpHYzN5kI4BrNLQM5tL1EjQDDj1JisUr/ilgJv1fJDdS1mOkzzdyIXd5qi8NShaajlw6hwV+BMSjs+Q==", "requires": { - "to-integer-x": "^4.2.0" + "to-integer-x": "^4.2.1" } }, "to-number-x": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/to-number-x/-/to-number-x-3.2.0.tgz", - "integrity": "sha512-iFkuktGkWLFsWoYC1i1ebVwZBP0X0EOhMJw8Wl36zCkNR/lMVL3OHMpk5HxL2L+ErtDpCgz3wjI2tl2GpPWk7A==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/to-number-x/-/to-number-x-3.2.1.tgz", + "integrity": "sha512-2OkCd3LUc5zInuRbhs1LVUAGms4KZ87ZdIpyImx7IMOr6hYl1B/oEnOYYRg70jyh4r8lHWSUCPM4WxGjmXtVaA==", "requires": { "is-symbol": "^1.0.2", "nan-x": "^2.2.0", - "parse-int-x": "^3.2.0", - "to-primitive-x": "^2.1.0", - "trim-x": "^4.1.0" + "parse-int-x": "^3.2.1", + "simple-methodize-x": "^1.0.3", + "to-primitive-x": "^2.1.1", + "trim-x": "^4.1.1" } }, "to-object-path": { @@ -10271,17 +10295,18 @@ } }, "to-primitive-x": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/to-primitive-x/-/to-primitive-x-2.1.0.tgz", - "integrity": "sha512-ST5X+tVskm+lEIPamAVfZRrKvbdFwZ3bj14RIhdaVs68cq2taJqYg09ymQeUk/L04M5ASIbvyE86PoEI/uGmrA==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-primitive-x/-/to-primitive-x-2.1.1.tgz", + "integrity": "sha512-OFxNbJlM+fb+xsygh/dVWpfpIfq8Q4n4tAhByE/fcv/SxK1GljYFE6jEH3ToThzQ45e3MvB8aFX3ycyR97y5Xg==", "requires": { - "has-symbol-support-x": "^2.1.0", + "has-symbol-support-x": "^2.1.1", "is-date-object": "^1.0.1", - "is-function-x": "^4.1.0", + "is-function-x": "^4.1.1", "is-nil-x": "^2.1.0", - "is-primitive": "^3.0.1", + "is-primitive-x": "^1.0.0", "is-symbol": "^1.0.2", - "require-object-coercible-x": "^2.1.0" + "require-object-coercible-x": "^2.1.0", + "simple-call-x": "^1.0.2" } }, "to-regex": { @@ -10307,18 +10332,21 @@ } }, "to-string-symbols-supported-x": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/to-string-symbols-supported-x/-/to-string-symbols-supported-x-2.1.0.tgz", - "integrity": "sha512-iuHT/91KAIXoOO//QY6yscol4jR5Cv9apzIl30Y7csZS6x//hSrU7PWTvCFK38iutxLhFpKlE4jvVI3Kkw7r5A==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-string-symbols-supported-x/-/to-string-symbols-supported-x-2.1.1.tgz", + "integrity": "sha512-YO+JdMLbi42/aoOctyFgbLuwR986gbTbDY7/OEVIofs7FL0rJfFYy0Etgmfsnpp4hGLFv08FlpGL2vk2ZJWXHA==", "requires": { - "has-symbol-support-x": "^2.1.0", + "has-symbol-support-x": "^2.1.1", "is-symbol": "^1.0.2" } }, "to-string-tag-x": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/to-string-tag-x/-/to-string-tag-x-2.1.0.tgz", - "integrity": "sha512-DrjW0guAGniY8jN5VRl9rBuuv2aQzeIdV1SP57cKFU7bpZessZRIkSnwjdjTGWjttqvzjlNTBpiCY64nlnBhKg==" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-string-tag-x/-/to-string-tag-x-2.1.1.tgz", + "integrity": "sha512-9SRWEhOexcpxkQwBSMV8coivaQ+6HcwWSUiru//HPRr+CM5JyYcMaFH7jMgukcMUzaAWHMZuwLFYblChCBj69g==", + "requires": { + "simple-methodize-x": "^1.0.3" + } }, "to-string-x": { "version": "2.1.0", @@ -10363,11 +10391,12 @@ } }, "trim-left-x": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/trim-left-x/-/trim-left-x-4.1.0.tgz", - "integrity": "sha512-uVWUuX0cSnlDPaeR/mvjNLny7Da4T6DUKRxnYDtu/dgNZakXmm/eRYmyqoJesAwS7iTGDyVTAg9lbQ4SdxZAFQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/trim-left-x/-/trim-left-x-4.1.1.tgz", + "integrity": "sha512-xHHKFXP8WaW9ReR4ECwnTxtsOHiuP95WhqZyWQOC/ghsrSn/MF/xWeGK/AU6MGv0VwGxq4EuYNvMzxZzvafMcQ==", "requires": { "require-coercible-to-string-x": "^2.1.0", + "simple-methodize-x": "^1.0.3", "white-space-x": "^4.1.0" } }, @@ -10378,21 +10407,22 @@ "dev": true }, "trim-right-x": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/trim-right-x/-/trim-right-x-4.1.0.tgz", - "integrity": "sha512-B6EWSocfh7ATa+YUUW0Ql6pFHyoPRRVF/OeyxVfU7VUzp4RRuN21ZQ3KLqDpDlFrZpMGOkqX8pM1liG8ZTGAXA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/trim-right-x/-/trim-right-x-4.1.1.tgz", + "integrity": "sha512-e3sirp+ZNMXx1u8HJEtlKae4DVx3FUi+w0/ra+SDHQlGF9R5W1TYCVsYANiPMmFByOwgrEWRFJw7W2a1pWcbqA==", "requires": { "require-coercible-to-string-x": "^2.1.0", + "simple-methodize-x": "^1.0.3", "white-space-x": "^4.1.0" } }, "trim-x": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/trim-x/-/trim-x-4.1.0.tgz", - "integrity": "sha512-Bhoa45qGDlQkjcK+UdRkqgEfkh5v/KxBMDYj51Z7vL2esW226yNBd4K3GBJKxUPvg+9rbGMLmOG2ujPoYAbnPw==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/trim-x/-/trim-x-4.1.1.tgz", + "integrity": "sha512-Ab8TR+gw3NLeQNINY4t8ngafJmgNFhTZuPHiLzq69bAIz99JrhrV9wVJ6MeO6fLryPxYHUrQ7OF5vhAYBu9d/w==", "requires": { - "trim-left-x": "^4.1.0", - "trim-right-x": "^4.1.0" + "trim-left-x": "^4.1.1", + "trim-right-x": "^4.1.1" } }, "tryer": { @@ -10726,11 +10756,12 @@ "dev": true }, "util-pusher-x": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/util-pusher-x/-/util-pusher-x-1.0.1.tgz", - "integrity": "sha512-gAhxuUfuFMI6QAO+GhYiBkGyWDwuVE/C+a/sqBUDcNuD4CJew09Dl5N3SF3tcZEtibHN2PnHwWVEiaGW/JyBQQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-pusher-x/-/util-pusher-x-1.0.2.tgz", + "integrity": "sha512-Sk/h7ZVVh+edhgAHzgOln53qhY63V2N+T/KEwUBfs0biatPzAfwhhWSbHzUEEF1Ywn4tIjczCZcPiNv5ezNqSg==", "requires": { "has-boxed-string-x": "^2.1.0", + "has-working-bind-x": "^1.0.0", "is-primitive-x": "^1.0.0", "is-string": "^1.0.4" } diff --git a/package.json b/package.json index 879ca80..161c6e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "array-intersection-x", - "version": "3.1.0", + "version": "3.1.1", "description": "Creates an array of unique values that are included in all given arrays.", "homepage": "https://github.com/Xotic750/array-intersection-x", "author": { @@ -51,12 +51,12 @@ "url": "https://github.com/Xotic750/array-intersection-x/issues" }, "dependencies": { - "array-filter-x": "^3.1.0", - "array-includes-x": "^3.1.0", - "array-reduce-x": "^3.1.0", - "array-some-x": "^3.1.0", + "array-filter-x": "^3.1.1", + "array-includes-x": "^3.1.1", + "array-reduce-x": "^3.1.1", + "array-some-x": "^3.1.1", "is-nil-x": "^2.1.0", - "simple-methodize-x": "^1.0.2" + "simple-methodize-x": "^1.0.3" }, "devDependencies": { "@babel/cli": "^7.5.5",