From b98f14bed4007731b11306398c545f9cedb420ba Mon Sep 17 00:00:00 2001 From: IshavSohal Date: Mon, 8 Jul 2024 12:58:07 -0400 Subject: [PATCH] fix behavior of left, right, home, end keys --- dist/vue3-treeselect.common.js | 4245 ++-- dist/vue3-treeselect.common.js.map | 2 +- dist/vue3-treeselect.umd.js | 4299 ++-- dist/vue3-treeselect.umd.js.map | 2 +- dist/vue3-treeselect.umd.min.js | 2 +- dist/vue3-treeselect.umd.min.js.map | 2 +- docs/app.css | 2 +- docs/app.min.js | 2 +- package-lock.json | 31329 ++++++++------------------ src/components/Input.vue | 29 - vue.config.js | 14 + webpack.config.js | 19 +- 12 files changed, 14992 insertions(+), 24955 deletions(-) diff --git a/dist/vue3-treeselect.common.js b/dist/vue3-treeselect.common.js index 4268c75..dc1f6dc 100644 --- a/dist/vue3-treeselect.common.js +++ b/dist/vue3-treeselect.common.js @@ -87,9 +87,54 @@ module.exports = /************************************************************************/ /******/ ({ +/***/ "00b4": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove from `core-js@4` since it's moved to entry points +__webpack_require__("ac1f"); +var $ = __webpack_require__("23e7"); +var call = __webpack_require__("c65b"); +var isCallable = __webpack_require__("1626"); +var anObject = __webpack_require__("825a"); +var toString = __webpack_require__("577e"); + +var DELEGATES_TO_EXEC = function () { + var execCalled = false; + var re = /[ac]/; + re.exec = function () { + execCalled = true; + return /./.exec.apply(this, arguments); + }; + return re.test('abc') === true && execCalled; +}(); + +var nativeTest = /./.test; + +// `RegExp.prototype.test` method +// https://tc39.es/ecma262/#sec-regexp.prototype.test +$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, { + test: function (S) { + var R = anObject(this); + var string = toString(S); + var exec = R.exec; + if (!isCallable(exec)) return call(nativeTest, R, string); + var result = call(exec, R, string); + if (result === null) return false; + anObject(result); + return true; + } +}); + + +/***/ }), + /***/ "00ee": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var wellKnownSymbol = __webpack_require__("b622"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); @@ -158,27 +203,18 @@ module.exports = getRawTag; /***/ "0366": /***/ (function(module, exports, __webpack_require__) { -var aFunction = __webpack_require__("1c0b"); +"use strict"; + +var uncurryThis = __webpack_require__("4625"); +var aCallable = __webpack_require__("59ed"); +var NATIVE_BIND = __webpack_require__("40d5"); + +var bind = uncurryThis(uncurryThis.bind); // optional / simple context binding -module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 0: return function () { - return fn.call(that); - }; - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { +module.exports = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { return fn.apply(that, arguments); }; }; @@ -194,8 +230,8 @@ module.exports = function (fn, that, length) { var $ = __webpack_require__("23e7"); var flattenIntoArray = __webpack_require__("a2bf"); var toObject = __webpack_require__("7b0b"); -var toLength = __webpack_require__("50c4"); -var toInteger = __webpack_require__("a691"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var toIntegerOrInfinity = __webpack_require__("5926"); var arraySpeciesCreate = __webpack_require__("65f0"); // `Array.prototype.flat` method @@ -204,38 +240,146 @@ $({ target: 'Array', proto: true }, { flat: function flat(/* depthArg = 1 */) { var depthArg = arguments.length ? arguments[0] : undefined; var O = toObject(this); - var sourceLen = toLength(O.length); + var sourceLen = lengthOfArrayLike(O); var A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg)); + A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg)); return A; } }); +/***/ }), + +/***/ "04d1": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var userAgent = __webpack_require__("342f"); + +var firefox = userAgent.match(/firefox\/(\d+)/i); + +module.exports = !!firefox && +firefox[1]; + + +/***/ }), + +/***/ "04f8": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable es/no-symbol -- required for testing */ +var V8_VERSION = __webpack_require__("2d00"); +var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); + +var $String = global.String; + +// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing +module.exports = !!Object.getOwnPropertySymbols && !fails(function () { + var symbol = Symbol('symbol detection'); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, + // of course, fail. + return !$String(symbol) || !(Object(symbol) instanceof Symbol) || + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && V8_VERSION && V8_VERSION < 41; +}); + + /***/ }), /***/ "06cf": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); +var call = __webpack_require__("c65b"); var propertyIsEnumerableModule = __webpack_require__("d1e7"); var createPropertyDescriptor = __webpack_require__("5c6c"); var toIndexedObject = __webpack_require__("fc6a"); -var toPrimitive = __webpack_require__("c04e"); -var has = __webpack_require__("5135"); +var toPropertyKey = __webpack_require__("a04b"); +var hasOwn = __webpack_require__("1a2d"); var IE8_DOM_DEFINE = __webpack_require__("0cfb"); -var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor -exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { +exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject(O); - P = toPrimitive(P, true); + P = toPropertyKey(P); if (IE8_DOM_DEFINE) try { - return nativeGetOwnPropertyDescriptor(O, P); + return $getOwnPropertyDescriptor(O, P); } catch (error) { /* empty */ } - if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); +}; + + +/***/ }), + +/***/ "07fa": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var toLength = __webpack_require__("50c4"); + +// `LengthOfArrayLike` abstract operation +// https://tc39.es/ecma262/#sec-lengthofarraylike +module.exports = function (obj) { + return toLength(obj.length); +}; + + +/***/ }), + +/***/ "083a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var tryToString = __webpack_require__("0d51"); + +var $TypeError = TypeError; + +module.exports = function (O, P) { + if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O)); +}; + + +/***/ }), + +/***/ "0b42": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isArray = __webpack_require__("e8b5"); +var isConstructor = __webpack_require__("68ee"); +var isObject = __webpack_require__("861d"); +var wellKnownSymbol = __webpack_require__("b622"); + +var SPECIES = wellKnownSymbol('species'); +var $Array = Array; + +// a part of `ArraySpeciesCreate` abstract operation +// https://tc39.es/ecma262/#sec-arrayspeciescreate +module.exports = function (originalArray) { + var C; + if (isArray(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined; + else if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array : C; }; @@ -244,13 +388,20 @@ exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnProper /***/ "0cb2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var toObject = __webpack_require__("7b0b"); var floor = Math.floor; -var replace = ''.replace; -var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d\d?|<[^>]*>)/g; -var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d\d?)/g; - +var charAt = uncurryThis(''.charAt); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); +// eslint-disable-next-line redos/no-vulnerable -- safe +var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; + +// `GetSubstitution` abstract operation // https://tc39.es/ecma262/#sec-getsubstitution module.exports = function (matched, str, position, captures, namedCaptures, replacement) { var tailPos = position + matched.length; @@ -260,15 +411,15 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl namedCaptures = toObject(namedCaptures); symbols = SUBSTITUTION_SYMBOLS; } - return replace.call(replacement, symbols, function (match, ch) { + return replace(replacement, symbols, function (match, ch) { var capture; - switch (ch.charAt(0)) { + switch (charAt(ch, 0)) { case '$': return '$'; case '&': return matched; - case '`': return str.slice(0, position); - case "'": return str.slice(tailPos); + case '`': return stringSlice(str, 0, position); + case "'": return stringSlice(str, tailPos); case '<': - capture = namedCaptures[ch.slice(1, -1)]; + capture = namedCaptures[stringSlice(ch, 1, -1)]; break; default: // \d\d? var n = +ch; @@ -276,7 +427,7 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl if (n > m) { var f = floor(n / 10); if (f === 0) return match; - if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); + if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1); return match; } capture = captures[n - 1]; @@ -291,158 +442,57 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl /***/ "0cfb": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); var fails = __webpack_require__("d039"); var createElement = __webpack_require__("cc12"); -// Thank's IE8 for his funny defineProperty +// Thanks to IE8 for its funny defineProperty module.exports = !DESCRIPTORS && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } - }).a != 7; + }).a !== 7; }); /***/ }), -/***/ "1276": +/***/ "0d51": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784"); -var isRegExp = __webpack_require__("44e7"); -var anObject = __webpack_require__("825a"); -var requireObjectCoercible = __webpack_require__("1d80"); -var speciesConstructor = __webpack_require__("4840"); -var advanceStringIndex = __webpack_require__("8aa5"); -var toLength = __webpack_require__("50c4"); -var callRegExpExec = __webpack_require__("14c3"); -var regexpExec = __webpack_require__("9263"); -var fails = __webpack_require__("d039"); +var $String = String; -var arrayPush = [].push; -var min = Math.min; -var MAX_UINT32 = 0xFFFFFFFF; +module.exports = function (argument) { + try { + return $String(argument); + } catch (error) { + return 'Object'; + } +}; -// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError -var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); }); -// @@split logic -fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) { - var internalSplit; - if ( - 'abbc'.split(/(b)*/)[1] == 'c' || - 'test'.split(/(?:)/, -1).length != 4 || - 'ab'.split(/(?:ab)*/).length != 2 || - '.'.split(/(.?)(.?)/).length != 4 || - '.'.split(/()()/).length > 1 || - ''.split(/.?/).length - ) { - // based on es5-shim implementation, need to rework it - internalSplit = function (separator, limit) { - var string = String(requireObjectCoercible(this)); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (separator === undefined) return [string]; - // If `separator` is not a regex, use native split - if (!isRegExp(separator)) { - return nativeSplit.call(string, separator, lim); - } - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + - (separator.sticky ? 'y' : ''); - var lastLastIndex = 0; - // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + 'g'); - var match, lastIndex, lastLength; - while (match = regexpExec.call(separatorCopy, string)) { - lastIndex = separatorCopy.lastIndex; - if (lastIndex > lastLastIndex) { - output.push(string.slice(lastLastIndex, match.index)); - if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1)); - lastLength = match[0].length; - lastLastIndex = lastIndex; - if (output.length >= lim) break; - } - if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop - } - if (lastLastIndex === string.length) { - if (lastLength || !separatorCopy.test('')) output.push(''); - } else output.push(string.slice(lastLastIndex)); - return output.length > lim ? output.slice(0, lim) : output; - }; - // Chakra, V8 - } else if ('0'.split(undefined, 0).length) { - internalSplit = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit); - }; - } else internalSplit = nativeSplit; +/***/ }), - return [ - // `String.prototype.split` method - // https://tc39.es/ecma262/#sec-string.prototype.split - function split(separator, limit) { - var O = requireObjectCoercible(this); - var splitter = separator == undefined ? undefined : separator[SPLIT]; - return splitter !== undefined - ? splitter.call(separator, O, limit) - : internalSplit.call(String(O), separator, limit); - }, - // `RegExp.prototype[@@split]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@split - // - // NOTE: This cannot be properly polyfilled in engines that don't support - // the 'y' flag. - function (regexp, limit) { - var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - var C = speciesConstructor(rx, RegExp); - - var unicodeMatching = rx.unicode; - var flags = (rx.ignoreCase ? 'i' : '') + - (rx.multiline ? 'm' : '') + - (rx.unicode ? 'u' : '') + - (SUPPORTS_Y ? 'y' : 'g'); - - // ^(? + rx + ) is needed, in combination with some S slicing, to - // simulate the 'y' flag. - var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; - var p = 0; - var q = 0; - var A = []; - while (q < S.length) { - splitter.lastIndex = SUPPORTS_Y ? q : 0; - var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); - var e; - if ( - z === null || - (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p - ) { - q = advanceStringIndex(S, q, unicodeMatching); - } else { - A.push(S.slice(p, q)); - if (A.length === lim) return A; - for (var i = 1; i <= z.length - 1; i++) { - A.push(z[i]); - if (A.length === lim) return A; - } - q = p = e; - } - } - A.push(S.slice(p)); - return A; - } - ]; -}, !SUPPORTS_Y); +/***/ "107c": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); + +// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError +var $RegExp = global.RegExp; + +module.exports = fails(function () { + var re = $RegExp('(?b)', 'g'); + return re.exec('b').groups.a !== 'b' || + 'b'.replace(re, '$c') !== 'bc'; +}); /***/ }), @@ -481,6 +531,69 @@ function isObjectLike(value) { module.exports = isObjectLike; +/***/ }), + +/***/ "13d2": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); +var hasOwn = __webpack_require__("1a2d"); +var DESCRIPTORS = __webpack_require__("83ab"); +var CONFIGURABLE_FUNCTION_NAME = __webpack_require__("5e77").CONFIGURABLE; +var inspectSource = __webpack_require__("8925"); +var InternalStateModule = __webpack_require__("69f3"); + +var enforceInternalState = InternalStateModule.enforce; +var getInternalState = InternalStateModule.get; +var $String = String; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; +var stringSlice = uncurryThis(''.slice); +var replace = uncurryThis(''.replace); +var join = uncurryThis([].join); + +var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; +}); + +var TEMPLATE = String(String).split('String'); + +var makeBuiltIn = module.exports = function (value, name, options) { + if (stringSlice($String(name), 0, 7) === 'Symbol(') { + name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; + } + if (options && options.getter) name = 'get ' + name; + if (options && options.setter) name = 'set ' + name; + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); + else value.name = name; + } + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { + defineProperty(value, 'length', { value: options.arity }); + } + try { + if (options && hasOwn(options, 'constructor') && options.constructor) { + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } + var state = enforceInternalState(value); + if (!hasOwn(state, 'source')) { + state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); + } return value; +}; + +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +// eslint-disable-next-line no-extend-native -- required +Function.prototype.toString = makeBuiltIn(function toString() { + return isCallable(this) && getInternalState(this).source || inspectSource(this); +}, 'toString'); + + /***/ }), /***/ "13d5": @@ -491,21 +604,20 @@ module.exports = isObjectLike; var $ = __webpack_require__("23e7"); var $reduce = __webpack_require__("d58f").left; var arrayMethodIsStrict = __webpack_require__("a640"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var CHROME_VERSION = __webpack_require__("2d00"); var IS_NODE = __webpack_require__("605d"); -var STRICT_METHOD = arrayMethodIsStrict('reduce'); -var USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 }); // Chrome 80-82 has a critical bug // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; +var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce'); // `Array.prototype.reduce` method // https://tc39.es/ecma262/#sec-array.prototype.reduce -$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, { +$({ target: 'Array', proto: true, forced: FORCED }, { reduce: function reduce(callbackfn /* , initialValue */) { - return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + var length = arguments.length; + return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined); } }); @@ -515,28 +627,78 @@ $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || C /***/ "14c3": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var call = __webpack_require__("c65b"); +var anObject = __webpack_require__("825a"); +var isCallable = __webpack_require__("1626"); var classof = __webpack_require__("c6b6"); var regexpExec = __webpack_require__("9263"); +var $TypeError = TypeError; + // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec module.exports = function (R, S) { var exec = R.exec; - if (typeof exec === 'function') { - var result = exec.call(R, S); - if (typeof result !== 'object') { - throw TypeError('RegExp exec method returned something other than an Object or null'); - } + if (isCallable(exec)) { + var result = call(exec, R, S); + if (result !== null) anObject(result); return result; } + if (classof(R) === 'RegExp') return call(regexpExec, R, S); + throw new $TypeError('RegExp#exec called on incompatible receiver'); +}; - if (classof(R) !== 'RegExp') { - throw TypeError('RegExp#exec called on incompatible receiver'); - } - return regexpExec.call(R, S); +/***/ }), + +/***/ "14d9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var toObject = __webpack_require__("7b0b"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var setArrayLength = __webpack_require__("3a34"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); +var fails = __webpack_require__("d039"); + +var INCORRECT_TO_LENGTH = fails(function () { + return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; +}); + +// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError +// https://bugs.chromium.org/p/v8/issues/detail?id=12681 +var properErrorOnNonWritableLength = function () { + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).push(); + } catch (error) { + return error instanceof TypeError; + } }; +var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); + +// `Array.prototype.push` method +// https://tc39.es/ecma262/#sec-array.prototype.push +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + push: function push(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + doesNotExceedSafeInteger(len + argCount); + for (var i = 0; i < argCount; i++) { + O[len] = arguments[i]; + len++; + } + setArrayLength(O, len); + return len; + } +}); /***/ }), @@ -544,22 +706,65 @@ module.exports = function (R, S) { /***/ "159b": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var DOMIterables = __webpack_require__("fdbc"); +var DOMTokenListPrototype = __webpack_require__("785a"); var forEach = __webpack_require__("17c2"); var createNonEnumerableProperty = __webpack_require__("9112"); -for (var COLLECTION_NAME in DOMIterables) { - var Collection = global[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; +var handlePrototype = function (CollectionPrototype) { // some Chrome versions have non-configurable methods on DOMTokenList if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach); } catch (error) { CollectionPrototype.forEach = forEach; } +}; + +for (var COLLECTION_NAME in DOMIterables) { + if (DOMIterables[COLLECTION_NAME]) { + handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype); + } } +handlePrototype(DOMTokenListPrototype); + + +/***/ }), + +/***/ "1626": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot +var documentAll = typeof document == 'object' && document.all; + +// `IsCallable` abstract operation +// https://tc39.es/ecma262/#sec-iscallable +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing +module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; +} : function (argument) { + return typeof argument == 'function'; +}; + + +/***/ }), + +/***/ "1787": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isObject = __webpack_require__("861d"); + +module.exports = function (argument) { + return isObject(argument) || argument === null; +}; + /***/ }), @@ -570,18 +775,37 @@ for (var COLLECTION_NAME in DOMIterables) { var $forEach = __webpack_require__("b727").forEach; var arrayMethodIsStrict = __webpack_require__("a640"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var STRICT_METHOD = arrayMethodIsStrict('forEach'); -var USES_TO_LENGTH = arrayMethodUsesToLength('forEach'); // `Array.prototype.forEach` method implementation // https://tc39.es/ecma262/#sec-array.prototype.foreach -module.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) { +module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) { return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); +// eslint-disable-next-line es/no-array-prototype-foreach -- safe } : [].forEach; +/***/ }), + +/***/ "1a2d": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var toObject = __webpack_require__("7b0b"); + +var hasOwnProperty = uncurryThis({}.hasOwnProperty); + +// `HasOwnProperty` abstract operation +// https://tc39.es/ecma262/#sec-hasownproperty +// eslint-disable-next-line es/no-object-hasown -- safe +module.exports = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty(toObject(it), key); +}; + + /***/ }), /***/ "1a8c": @@ -625,6 +849,8 @@ module.exports = isObject; /***/ "1be4": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var getBuiltIn = __webpack_require__("d066"); module.exports = getBuiltIn('document', 'documentElement'); @@ -632,25 +858,19 @@ module.exports = getBuiltIn('document', 'documentElement'); /***/ }), -/***/ "1c0b": -/***/ (function(module, exports) { - -module.exports = function (it) { - if (typeof it != 'function') { - throw TypeError(String(it) + ' is not a function'); - } return it; -}; +/***/ "1d80": +/***/ (function(module, exports, __webpack_require__) { +"use strict"; -/***/ }), +var isNullOrUndefined = __webpack_require__("7234"); -/***/ "1d80": -/***/ (function(module, exports) { +var $TypeError = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); + if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); return it; }; @@ -692,6 +912,8 @@ module.exports = once; /***/ "1dde": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); var wellKnownSymbol = __webpack_require__("b622"); var V8_VERSION = __webpack_require__("2d00"); @@ -718,7 +940,9 @@ module.exports = function (METHOD_NAME) { /***/ "23cb": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("a691"); +"use strict"; + +var toIntegerOrInfinity = __webpack_require__("5926"); var max = Math.max; var min = Math.min; @@ -727,7 +951,7 @@ var min = Math.min; // Let integer be ? ToInteger(index). // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). module.exports = function (index, length) { - var integer = toInteger(index); + var integer = toIntegerOrInfinity(index); return integer < 0 ? max(integer + length, 0) : min(integer, length); }; @@ -737,27 +961,30 @@ module.exports = function (index, length) { /***/ "23e7": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var getOwnPropertyDescriptor = __webpack_require__("06cf").f; var createNonEnumerableProperty = __webpack_require__("9112"); -var redefine = __webpack_require__("6eeb"); -var setGlobal = __webpack_require__("ce4e"); +var defineBuiltIn = __webpack_require__("cb2d"); +var defineGlobalProperty = __webpack_require__("6374"); var copyConstructorProperties = __webpack_require__("e893"); var isForced = __webpack_require__("94ca"); /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key */ module.exports = function (options, source) { var TARGET = options.target; @@ -767,28 +994,27 @@ module.exports = function (options, source) { if (GLOBAL) { target = global; } else if (STATIC) { - target = global[TARGET] || setGlobal(TARGET, {}); + target = global[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global[TARGET] || {}).prototype; + target = global[TARGET] && global[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; - if (options.noTargetGet) { + if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contained in target if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty === typeof targetProperty) continue; + if (typeof sourceProperty == typeof targetProperty) continue; copyConstructorProperties(sourceProperty, targetProperty); } // add a flag to not completely full polyfills if (options.sham || (targetProperty && targetProperty.sham)) { createNonEnumerableProperty(sourceProperty, 'sham', true); } - // extend global - redefine(target, key, sourceProperty, options); + defineBuiltIn(target, key, sourceProperty, options); } }; @@ -798,6 +1024,8 @@ module.exports = function (options, source) { /***/ "241c": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var internalObjectKeys = __webpack_require__("ca84"); var enumBugKeys = __webpack_require__("7839"); @@ -805,6 +1033,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype'); // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames +// eslint-disable-next-line es/no-object-getownpropertynames -- safe exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return internalObjectKeys(O, hiddenKeys); }; @@ -817,28 +1046,29 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { "use strict"; -var redefine = __webpack_require__("6eeb"); +var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER; +var defineBuiltIn = __webpack_require__("cb2d"); var anObject = __webpack_require__("825a"); +var $toString = __webpack_require__("577e"); var fails = __webpack_require__("d039"); -var flags = __webpack_require__("ad6d"); +var getRegExpFlags = __webpack_require__("90d8"); var TO_STRING = 'toString'; var RegExpPrototype = RegExp.prototype; var nativeToString = RegExpPrototype[TO_STRING]; -var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); +var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; }); // FF44- RegExp#toString has a wrong name -var INCORRECT_NAME = nativeToString.name != TO_STRING; +var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING; // `RegExp.prototype.toString` method // https://tc39.es/ecma262/#sec-regexp.prototype.tostring if (NOT_GENERIC || INCORRECT_NAME) { - redefine(RegExp.prototype, TO_STRING, function toString() { + defineBuiltIn(RegExpPrototype, TO_STRING, function toString() { var R = anObject(this); - var p = String(R.source); - var rf = R.flags; - var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf); - return '/' + p + '/' + f; + var pattern = $toString(R.source); + var flags = $toString(getRegExpFlags(R)); + return '/' + pattern + '/' + flags; }, { unsafe: true }); } @@ -901,31 +1131,59 @@ var root = freeGlobal || freeSelf || Function('return this')(); module.exports = root; +/***/ }), + +/***/ "2ba4": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__("40d5"); + +var FunctionPrototype = Function.prototype; +var apply = FunctionPrototype.apply; +var call = FunctionPrototype.call; + +// eslint-disable-next-line es/no-reflect -- safe +module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { + return call.apply(apply, arguments); +}); + + /***/ }), /***/ "2d00": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var userAgent = __webpack_require__("342f"); var process = global.process; -var versions = process && process.versions; +var Deno = global.Deno; +var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; if (v8) { match = v8.split('.'); - version = match[0] + match[1]; -} else if (userAgent) { + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 + // but their correct versions are not interesting for us + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); +} + +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` +// so check `userAgent` even if `.v8` exists, but 0 +if (!version && userAgent) { match = userAgent.match(/Edge\/(\d+)/); if (!match || match[1] >= 74) { match = userAgent.match(/Chrome\/(\d+)/); - if (match) version = match[1]; + if (match) version = +match[1]; } } -module.exports = version && +version; +module.exports = version; /***/ }), @@ -965,6 +1223,8 @@ module.exports = fuzzysearch; /***/ "3410": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var $ = __webpack_require__("23e7"); var fails = __webpack_require__("d039"); var toObject = __webpack_require__("7b0b"); @@ -988,9 +1248,25 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PR /***/ "342f": /***/ (function(module, exports, __webpack_require__) { -var getBuiltIn = __webpack_require__("d066"); +"use strict"; + +module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; + + +/***/ }), -module.exports = getBuiltIn('navigator', 'userAgent') || ''; +/***/ "3511": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $TypeError = TypeError; +var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + +module.exports = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); + return it; +}; /***/ }), @@ -1033,35 +1309,92 @@ module.exports = baseGetTag; /***/ "37e8": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("aed9"); var definePropertyModule = __webpack_require__("9bf2"); var anObject = __webpack_require__("825a"); +var toIndexedObject = __webpack_require__("fc6a"); var objectKeys = __webpack_require__("df75"); // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties -module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { +// eslint-disable-next-line es/no-object-defineproperties -- safe +exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); + var props = toIndexedObject(Properties); var keys = objectKeys(Properties); var length = keys.length; var index = 0; var key; - while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]); + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); return O; }; +/***/ }), + +/***/ "3a34": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__("83ab"); +var isArray = __webpack_require__("e8b5"); + +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// Safari < 13 does not throw an error in this case +var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { + // makes no sense without proper strict mode support + if (this !== undefined) return true; + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).length = 1; + } catch (error) { + return error instanceof TypeError; + } +}(); + +module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { + if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { + throw new $TypeError('Cannot set read only .length'); + } return O.length = length; +} : function (O, length) { + return O.length = length; +}; + + +/***/ }), + +/***/ "3a9b": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); + +module.exports = uncurryThis({}.isPrototypeOf); + + /***/ }), /***/ "3bbe": /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__("861d"); +"use strict"; -module.exports = function (it) { - if (!isObject(it) && it !== null) { - throw TypeError("Can't set " + String(it) + ' as a prototype'); - } return it; +var isPossiblePrototype = __webpack_require__("1787"); + +var $String = String; +var $TypeError = TypeError; + +module.exports = function (argument) { + if (isPossiblePrototype(argument)) return argument; + throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); }; @@ -1070,6 +1403,8 @@ module.exports = function (it) { /***/ "4069": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + // this method was added to unscopables after implementation // in popular engines, so it's moved to a separate module var addToUnscopables = __webpack_require__("44d2"); @@ -1078,6 +1413,20 @@ var addToUnscopables = __webpack_require__("44d2"); addToUnscopables('flat'); +/***/ }), + +/***/ "408a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); + +// `thisNumberValue` abstract operation +// https://tc39.es/ecma262/#sec-thisnumbervalue +module.exports = uncurryThis(1.0.valueOf); + + /***/ }), /***/ "408c": @@ -1108,6 +1457,23 @@ var now = function() { module.exports = now; +/***/ }), + +/***/ "40d5": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("d039"); + +module.exports = !fails(function () { + // eslint-disable-next-line es/no-function-prototype-bind -- safe + var test = (function () { /* empty */ }).bind(); + // eslint-disable-next-line no-prototype-builtins -- safe + return typeof test != 'function' || test.hasOwnProperty('prototype'); +}); + + /***/ }), /***/ "4160": @@ -1120,7 +1486,8 @@ var forEach = __webpack_require__("17c2"); // `Array.prototype.forEach` method // https://tc39.es/ecma262/#sec-array.prototype.foreach -$({ target: 'Array', proto: true, forced: [].forEach != forEach }, { +// eslint-disable-next-line es/no-array-prototype-foreach -- safe +$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, { forEach: forEach }); @@ -1130,6 +1497,8 @@ $({ target: 'Array', proto: true, forced: [].forEach != forEach }, { /***/ "428f": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); module.exports = global; @@ -1167,19 +1536,23 @@ module.exports = last; /***/ "44ad": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var fails = __webpack_require__("d039"); var classof = __webpack_require__("c6b6"); -var split = ''.split; +var $Object = Object; +var split = uncurryThis(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings module.exports = fails(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins - return !Object('z').propertyIsEnumerable(0); + // eslint-disable-next-line no-prototype-builtins -- safe + return !$Object('z').propertyIsEnumerable(0); }) ? function (it) { - return classof(it) == 'String' ? split.call(it, '') : Object(it); -} : Object; + return classof(it) === 'String' ? split(it, '') : $Object(it); +} : $Object; /***/ }), @@ -1187,17 +1560,19 @@ module.exports = fails(function () { /***/ "44d2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var wellKnownSymbol = __webpack_require__("b622"); var create = __webpack_require__("7c73"); -var definePropertyModule = __webpack_require__("9bf2"); +var defineProperty = __webpack_require__("9bf2").f; var UNSCOPABLES = wellKnownSymbol('unscopables'); var ArrayPrototype = Array.prototype; // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -if (ArrayPrototype[UNSCOPABLES] == undefined) { - definePropertyModule.f(ArrayPrototype, UNSCOPABLES, { +if (ArrayPrototype[UNSCOPABLES] === undefined) { + defineProperty(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); @@ -1209,25 +1584,6 @@ module.exports = function (key) { }; -/***/ }), - -/***/ "44e7": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("861d"); -var classof = __webpack_require__("c6b6"); -var wellKnownSymbol = __webpack_require__("b622"); - -var MATCH = wellKnownSymbol('match'); - -// `IsRegExp` abstract operation -// https://tc39.es/ecma262/#sec-isregexp -module.exports = function (it) { - var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); -}; - - /***/ }), /***/ "45fc": @@ -1238,14 +1594,12 @@ module.exports = function (it) { var $ = __webpack_require__("23e7"); var $some = __webpack_require__("b727").some; var arrayMethodIsStrict = __webpack_require__("a640"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var STRICT_METHOD = arrayMethodIsStrict('some'); -var USES_TO_LENGTH = arrayMethodUsesToLength('some'); // `Array.prototype.some` method // https://tc39.es/ecma262/#sec-array.prototype.some -$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, { some: function some(callbackfn /* , thisArg */) { return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -1254,36 +1608,44 @@ $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, { /***/ }), -/***/ "4840": +/***/ "4625": /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__("825a"); -var aFunction = __webpack_require__("1c0b"); -var wellKnownSymbol = __webpack_require__("b622"); +"use strict"; -var SPECIES = wellKnownSymbol('species'); +var classofRaw = __webpack_require__("c6b6"); +var uncurryThis = __webpack_require__("e330"); -// `SpeciesConstructor` abstract operation -// https://tc39.es/ecma262/#sec-speciesconstructor -module.exports = function (O, defaultConstructor) { - var C = anObject(O).constructor; - var S; - return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S); +module.exports = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis(fn); }; /***/ }), -/***/ "4930": +/***/ "485a": /***/ (function(module, exports, __webpack_require__) { -var fails = __webpack_require__("d039"); +"use strict"; -module.exports = !!Object.getOwnPropertySymbols && !fails(function () { - // Chrome 38 Symbol has incorrect toString conversion - // eslint-disable-next-line no-undef - return !String(Symbol()); -}); +var call = __webpack_require__("c65b"); +var isCallable = __webpack_require__("1626"); +var isObject = __webpack_require__("861d"); + +var $TypeError = TypeError; + +// `OrdinaryToPrimitive` abstract operation +// https://tc39.es/ecma262/#sec-ordinarytoprimitive +module.exports = function (input, pref) { + var fn, val; + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + throw new $TypeError("Can't convert object to primitive value"); +}; /***/ }), @@ -1349,28 +1711,57 @@ function toInteger(value) { module.exports = toInteger; +/***/ }), + +/***/ "4cef": +/***/ (function(module, exports) { + +/** Used to match a single whitespace character. */ +var reWhitespace = /\s/; + +/** + * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace + * character of `string`. + * + * @private + * @param {string} string The string to inspect. + * @returns {number} Returns the index of the last non-whitespace character. + */ +function trimmedEndIndex(string) { + var index = string.length; + + while (index-- && reWhitespace.test(string.charAt(index))) {} + return index; +} + +module.exports = trimmedEndIndex; + + /***/ }), /***/ "4d64": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var toIndexedObject = __webpack_require__("fc6a"); -var toLength = __webpack_require__("50c4"); var toAbsoluteIndex = __webpack_require__("23cb"); +var lengthOfArrayLike = __webpack_require__("07fa"); // `Array.prototype.{ indexOf, includes }` methods implementation var createMethod = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIndexedObject($this); - var length = toLength(O.length); + var length = lengthOfArrayLike(O); + if (length === 0) return !IS_INCLUDES && -1; var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare - if (IS_INCLUDES && el != el) while (length > index) { + // eslint-disable-next-line no-self-compare -- NaN check + if (IS_INCLUDES && el !== el) while (length > index) { value = O[index++]; - // eslint-disable-next-line no-self-compare - if (value != value) return true; + // eslint-disable-next-line no-self-compare -- NaN check + if (value !== value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (;length > index; index++) { if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; @@ -1398,16 +1789,13 @@ module.exports = { var $ = __webpack_require__("23e7"); var $filter = __webpack_require__("b727").filter; var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); -// Edge 14- issue -var USES_TO_LENGTH = arrayMethodUsesToLength('filter'); // `Array.prototype.filter` method // https://tc39.es/ecma262/#sec-array.prototype.filter // with adding support of @@species -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { filter: function filter(callbackfn /* , thisArg */) { return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -1422,13 +1810,23 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT "use strict"; var $ = __webpack_require__("23e7"); -var aFunction = __webpack_require__("1c0b"); +var uncurryThis = __webpack_require__("e330"); +var aCallable = __webpack_require__("59ed"); var toObject = __webpack_require__("7b0b"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var deletePropertyOrThrow = __webpack_require__("083a"); +var toString = __webpack_require__("577e"); var fails = __webpack_require__("d039"); +var internalSort = __webpack_require__("addb"); var arrayMethodIsStrict = __webpack_require__("a640"); +var FF = __webpack_require__("04d1"); +var IE_OR_EDGE = __webpack_require__("d998"); +var V8 = __webpack_require__("2d00"); +var WEBKIT = __webpack_require__("512c"); var test = []; -var nativeSort = test.sort; +var nativeSort = uncurryThis(test.sort); +var push = uncurryThis(test.push); // IE8- var FAILS_ON_UNDEFINED = fails(function () { @@ -1441,15 +1839,79 @@ var FAILS_ON_NULL = fails(function () { // Old WebKit var STRICT_METHOD = arrayMethodIsStrict('sort'); -var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD; +var STABLE_SORT = !fails(function () { + // feature detection can be too slow, so check engines versions + if (V8) return V8 < 70; + if (FF && FF > 3) return; + if (IE_OR_EDGE) return true; + if (WEBKIT) return WEBKIT < 603; + + var result = ''; + var code, chr, value, index; + + // generate an array with more 512 elements (Chakra and old V8 fails only in this case) + for (code = 65; code < 76; code++) { + chr = String.fromCharCode(code); + + switch (code) { + case 66: case 69: case 70: case 72: value = 3; break; + case 68: case 71: value = 4; break; + default: value = 2; + } + + for (index = 0; index < 47; index++) { + test.push({ k: chr + index, v: value }); + } + } + + test.sort(function (a, b) { return b.v - a.v; }); + + for (index = 0; index < test.length; index++) { + chr = test[index].k.charAt(0); + if (result.charAt(result.length - 1) !== chr) result += chr; + } + + return result !== 'DGBEFHACIJK'; +}); + +var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; + +var getSortCompare = function (comparefn) { + return function (x, y) { + if (y === undefined) return -1; + if (x === undefined) return 1; + if (comparefn !== undefined) return +comparefn(x, y) || 0; + return toString(x) > toString(y) ? 1 : -1; + }; +}; // `Array.prototype.sort` method // https://tc39.es/ecma262/#sec-array.prototype.sort $({ target: 'Array', proto: true, forced: FORCED }, { sort: function sort(comparefn) { - return comparefn === undefined - ? nativeSort.call(toObject(this)) - : nativeSort.call(toObject(this), aFunction(comparefn)); + if (comparefn !== undefined) aCallable(comparefn); + + var array = toObject(this); + + if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn); + + var items = []; + var arrayLength = lengthOfArrayLike(array); + var itemsLength, index; + + for (index = 0; index < arrayLength; index++) { + if (index in array) push(items, array[index]); + } + + internalSort(items, getSortCompare(comparefn)); + + itemsLength = lengthOfArrayLike(items); + index = 0; + + while (index < itemsLength) array[index] = items[index++]; + while (index < arrayLength) deletePropertyOrThrow(array, index++); + + return array; } }); @@ -1459,27 +1921,32 @@ $({ target: 'Array', proto: true, forced: FORCED }, { /***/ "50c4": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("a691"); +"use strict"; + +var toIntegerOrInfinity = __webpack_require__("5926"); var min = Math.min; // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength module.exports = function (argument) { - return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + var len = toIntegerOrInfinity(argument); + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; /***/ }), -/***/ "5135": -/***/ (function(module, exports) { +/***/ "512c": +/***/ (function(module, exports, __webpack_require__) { -var hasOwnProperty = {}.hasOwnProperty; +"use strict"; -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); -}; +var userAgent = __webpack_require__("342f"); + +var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); + +module.exports = !!webkit && +webkit[1]; /***/ }), @@ -1489,26 +1956,64 @@ module.exports = function (it, key) { "use strict"; +var apply = __webpack_require__("2ba4"); +var call = __webpack_require__("c65b"); +var uncurryThis = __webpack_require__("e330"); var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784"); +var fails = __webpack_require__("d039"); var anObject = __webpack_require__("825a"); +var isCallable = __webpack_require__("1626"); +var isNullOrUndefined = __webpack_require__("7234"); +var toIntegerOrInfinity = __webpack_require__("5926"); var toLength = __webpack_require__("50c4"); -var toInteger = __webpack_require__("a691"); +var toString = __webpack_require__("577e"); var requireObjectCoercible = __webpack_require__("1d80"); var advanceStringIndex = __webpack_require__("8aa5"); +var getMethod = __webpack_require__("dc4a"); var getSubstitution = __webpack_require__("0cb2"); var regExpExec = __webpack_require__("14c3"); +var wellKnownSymbol = __webpack_require__("b622"); +var REPLACE = wellKnownSymbol('replace'); var max = Math.max; var min = Math.min; +var concat = uncurryThis([].concat); +var push = uncurryThis([].push); +var stringIndexOf = uncurryThis(''.indexOf); +var stringSlice = uncurryThis(''.slice); var maybeToString = function (it) { return it === undefined ? it : String(it); }; +// IE <= 11 replaces $0 with the whole match, as if it was $& +// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 +var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing + return 'a'.replace(/./, '$0') === '$0'; +})(); + +// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string +var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { + if (/./[REPLACE]) { + return /./[REPLACE]('a', '$0') === ''; + } + return false; +})(); + +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive + return ''.replace(re, '$') !== '7'; +}); + // @@replace logic -fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) { - var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE; - var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0; +fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) { var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; return [ @@ -1516,42 +2021,46 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma // https://tc39.es/ecma262/#sec-string.prototype.replace function replace(searchValue, replaceValue) { var O = requireObjectCoercible(this); - var replacer = searchValue == undefined ? undefined : searchValue[REPLACE]; - return replacer !== undefined - ? replacer.call(searchValue, O, replaceValue) - : nativeReplace.call(String(O), searchValue, replaceValue); + var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE); + return replacer + ? call(replacer, searchValue, O, replaceValue) + : call(nativeReplace, toString(O), searchValue, replaceValue); }, // `RegExp.prototype[@@replace]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace - function (regexp, replaceValue) { + function (string, replaceValue) { + var rx = anObject(this); + var S = toString(string); + if ( - (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) || - (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1) + typeof replaceValue == 'string' && + stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && + stringIndexOf(replaceValue, '$<') === -1 ) { - var res = maybeCallNative(nativeReplace, regexp, this, replaceValue); + var res = maybeCallNative(nativeReplace, rx, S, replaceValue); if (res.done) return res.value; } - var rx = anObject(regexp); - var S = String(this); - - var functionalReplace = typeof replaceValue === 'function'; - if (!functionalReplace) replaceValue = String(replaceValue); + var functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString(replaceValue); var global = rx.global; + var fullUnicode; if (global) { - var fullUnicode = rx.unicode; + fullUnicode = rx.unicode; rx.lastIndex = 0; } + var results = []; + var result; while (true) { - var result = regExpExec(rx, S); + result = regExpExec(rx, S); if (result === null) break; - results.push(result); + push(results, result); if (!global) break; - var matchStr = String(result[0]); + var matchStr = toString(result[0]); if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); } @@ -1560,32 +2069,34 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma for (var i = 0; i < results.length; i++) { result = results[i]; - var matched = String(result[0]); - var position = max(min(toInteger(result.index), S.length), 0); + var matched = toString(result[0]); + var position = max(min(toIntegerOrInfinity(result.index), S.length), 0); var captures = []; + var replacement; // NOTE: This is equivalent to // captures = result.slice(1).map(maybeToString) // but for some reason `nativeSlice.call(result, 1, result.length)` (called in // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); + for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j])); var namedCaptures = result.groups; if (functionalReplace) { - var replacerArgs = [matched].concat(captures, position, S); - if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); - var replacement = String(replaceValue.apply(undefined, replacerArgs)); + var replacerArgs = concat([matched], captures, position, S); + if (namedCaptures !== undefined) push(replacerArgs, namedCaptures); + replacement = toString(apply(replaceValue, undefined, replacerArgs)); } else { replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); } if (position >= nextSourcePosition) { - accumulatedResult += S.slice(nextSourcePosition, position) + replacement; + accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement; nextSourcePosition = position + matched.length; } } - return accumulatedResult + S.slice(nextSourcePosition); + + return accumulatedResult + stringSlice(S, nextSourcePosition); } ]; -}); +}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); /***/ }), @@ -1593,16 +2104,13 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma /***/ "5692": /***/ (function(module, exports, __webpack_require__) { -var IS_PURE = __webpack_require__("c430"); +"use strict"; + var store = __webpack_require__("c6cd"); -(module.exports = function (key, value) { - return store[key] || (store[key] = value !== undefined ? value : {}); -})('versions', []).push({ - version: '3.8.2', - mode: IS_PURE ? 'pure' : 'global', - copyright: '© 2021 Denis Pushkarev (zloirock.ru)' -}); +module.exports = function (key, value) { + return store[key] || (store[key] = value || {}); +}; /***/ }), @@ -1610,16 +2118,38 @@ var store = __webpack_require__("c6cd"); /***/ "56ef": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var getBuiltIn = __webpack_require__("d066"); +var uncurryThis = __webpack_require__("e330"); var getOwnPropertyNamesModule = __webpack_require__("241c"); var getOwnPropertySymbolsModule = __webpack_require__("7418"); var anObject = __webpack_require__("825a"); +var concat = uncurryThis([].concat); + // all object keys, includes non-enumerable and symbols module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { var keys = getOwnPropertyNamesModule.f(anObject(it)); var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; +}; + + +/***/ }), + +/***/ "577e": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var classof = __webpack_require__("f5df"); + +var $String = String; + +module.exports = function (argument) { + if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); }; @@ -1638,11 +2168,13 @@ module.exports = freeGlobal; /***/ }), /***/ "5899": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; // a string of all valid unicode whitespaces -// eslint-disable-next-line max-len -module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; +module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; /***/ }), @@ -1650,19 +2182,23 @@ module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u /***/ "58a8": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var requireObjectCoercible = __webpack_require__("1d80"); +var toString = __webpack_require__("577e"); var whitespaces = __webpack_require__("5899"); -var whitespace = '[' + whitespaces + ']'; -var ltrim = RegExp('^' + whitespace + whitespace + '*'); -var rtrim = RegExp(whitespace + whitespace + '*$'); +var replace = uncurryThis(''.replace); +var ltrim = RegExp('^[' + whitespaces + ']+'); +var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$'); // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation var createMethod = function (TYPE) { return function ($this) { - var string = String(requireObjectCoercible($this)); - if (TYPE & 1) string = string.replace(ltrim, ''); - if (TYPE & 2) string = string.replace(rtrim, ''); + var string = toString(requireObjectCoercible($this)); + if (TYPE & 1) string = replace(string, ltrim, ''); + if (TYPE & 2) string = replace(string, rtrim, '$1'); return string; }; }; @@ -1682,8 +2218,47 @@ module.exports = { /***/ }), -/***/ "5c6c": -/***/ (function(module, exports) { +/***/ "5926": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var trunc = __webpack_require__("b42e"); + +// `ToIntegerOrInfinity` abstract operation +// https://tc39.es/ecma262/#sec-tointegerorinfinity +module.exports = function (argument) { + var number = +argument; + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); +}; + + +/***/ }), + +/***/ "59ed": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__("1626"); +var tryToString = __webpack_require__("0d51"); + +var $TypeError = TypeError; + +// `Assert: IsCallable(argument) is true` +module.exports = function (argument) { + if (isCallable(argument)) return argument; + throw new $TypeError(tryToString(argument) + ' is not a function'); +}; + + +/***/ }), + +/***/ "5c6c": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = function (bitmap, value) { return { @@ -1695,15 +2270,64 @@ module.exports = function (bitmap, value) { }; +/***/ }), + +/***/ "5e77": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__("83ab"); +var hasOwn = __webpack_require__("1a2d"); + +var FunctionPrototype = Function.prototype; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + +var EXISTS = hasOwn(FunctionPrototype, 'name'); +// additional protection from minified / mangled / dropped function names +var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; +var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); + +module.exports = { + EXISTS: EXISTS, + PROPER: PROPER, + CONFIGURABLE: CONFIGURABLE +}; + + /***/ }), /***/ "605d": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var global = __webpack_require__("da84"); var classof = __webpack_require__("c6b6"); + +module.exports = classof(global.process) === 'process'; + + +/***/ }), + +/***/ "6374": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + var global = __webpack_require__("da84"); -module.exports = classof(global.process) == 'process'; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; + +module.exports = function (key, value) { + try { + defineProperty(global, key, { value: value, configurable: true, writable: true }); + } catch (error) { + global[key] = value; + } return value; +}; /***/ }), @@ -1760,22 +2384,33 @@ module.exports = toFinite; /***/ "6547": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("a691"); +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var toIntegerOrInfinity = __webpack_require__("5926"); +var toString = __webpack_require__("577e"); var requireObjectCoercible = __webpack_require__("1d80"); -// `String.prototype.{ codePointAt, at }` methods implementation +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var stringSlice = uncurryThis(''.slice); + var createMethod = function (CONVERT_TO_STRING) { return function ($this, pos) { - var S = String(requireObjectCoercible($this)); - var position = toInteger(pos); + var S = toString(requireObjectCoercible($this)); + var position = toIntegerOrInfinity(pos); var size = S.length; var first, second; if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; - first = S.charCodeAt(position); + first = charCodeAt(S, position); return first < 0xD800 || first > 0xDBFF || position + 1 === size - || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF - ? CONVERT_TO_STRING ? S.charAt(position) : first - : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; + || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF + ? CONVERT_TO_STRING + ? charAt(S, position) + : first + : CONVERT_TO_STRING + ? stringSlice(S, position, position + 2) + : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; }; }; @@ -1794,42 +2429,95 @@ module.exports = { /***/ "65f0": /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__("861d"); -var isArray = __webpack_require__("e8b5"); -var wellKnownSymbol = __webpack_require__("b622"); +"use strict"; -var SPECIES = wellKnownSymbol('species'); +var arraySpeciesConstructor = __webpack_require__("0b42"); // `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate module.exports = function (originalArray, length) { - var C; - if (isArray(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; - else if (isObject(C)) { - C = C[SPECIES]; - if (C === null) C = undefined; - } - } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); +}; + + +/***/ }), + +/***/ "68ee": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); +var classof = __webpack_require__("f5df"); +var getBuiltIn = __webpack_require__("d066"); +var inspectSource = __webpack_require__("8925"); + +var noop = function () { /* empty */ }; +var construct = getBuiltIn('Reflect', 'construct'); +var constructorRegExp = /^\s*(?:class|function)\b/; +var exec = uncurryThis(constructorRegExp.exec); +var INCORRECT_TO_STRING = !constructorRegExp.test(noop); + +var isConstructorModern = function isConstructor(argument) { + if (!isCallable(argument)) return false; + try { + construct(noop, [], argument); + return true; + } catch (error) { + return false; + } +}; + +var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable(argument)) return false; + switch (classof(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } }; +isConstructorLegacy.sham = true; + +// `IsConstructor` abstract operation +// https://tc39.es/ecma262/#sec-isconstructor +module.exports = !construct || fails(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; +}) ? isConstructorLegacy : isConstructorModern; + /***/ }), /***/ "69f3": /***/ (function(module, exports, __webpack_require__) { -var NATIVE_WEAK_MAP = __webpack_require__("7f9a"); +"use strict"; + +var NATIVE_WEAK_MAP = __webpack_require__("cdce"); var global = __webpack_require__("da84"); var isObject = __webpack_require__("861d"); var createNonEnumerableProperty = __webpack_require__("9112"); -var objectHas = __webpack_require__("5135"); +var hasOwn = __webpack_require__("1a2d"); var shared = __webpack_require__("c6cd"); var sharedKey = __webpack_require__("f772"); var hiddenKeys = __webpack_require__("d012"); +var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; +var TypeError = global.TypeError; var WeakMap = global.WeakMap; var set, get, has; @@ -1841,40 +2529,44 @@ var getterFor = function (TYPE) { return function (it) { var state; if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw TypeError('Incompatible receiver, ' + TYPE + ' required'); + throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; -if (NATIVE_WEAK_MAP) { +if (NATIVE_WEAK_MAP || shared.state) { var store = shared.state || (shared.state = new WeakMap()); - var wmget = store.get; - var wmhas = store.has; - var wmset = store.set; + /* eslint-disable no-self-assign -- prototype methods protection */ + store.get = store.get; + store.has = store.has; + store.set = store.set; + /* eslint-enable no-self-assign -- prototype methods protection */ set = function (it, metadata) { + if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; - wmset.call(store, it, metadata); + store.set(it, metadata); return metadata; }; get = function (it) { - return wmget.call(store, it) || {}; + return store.get(it) || {}; }; has = function (it) { - return wmhas.call(store, it); + return store.has(it); }; } else { var STATE = sharedKey('state'); hiddenKeys[STATE] = true; set = function (it, metadata) { + if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty(it, STATE, metadata); return metadata; }; get = function (it) { - return objectHas(it, STATE) ? it[STATE] : {}; + return hasOwn(it, STATE) ? it[STATE] : {}; }; has = function (it) { - return objectHas(it, STATE); + return hasOwn(it, STATE); }; } @@ -1889,49 +2581,21 @@ module.exports = { /***/ }), -/***/ "6eeb": +/***/ "6b0d": /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__("da84"); -var createNonEnumerableProperty = __webpack_require__("9112"); -var has = __webpack_require__("5135"); -var setGlobal = __webpack_require__("ce4e"); -var inspectSource = __webpack_require__("8925"); -var InternalStateModule = __webpack_require__("69f3"); - -var getInternalState = InternalStateModule.get; -var enforceInternalState = InternalStateModule.enforce; -var TEMPLATE = String(String).split('String'); +"use strict"; -(module.exports = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var state; - if (typeof value == 'function') { - if (typeof key == 'string' && !has(value, 'name')) { - createNonEnumerableProperty(value, 'name', key); +Object.defineProperty(exports, "__esModule", { value: true }); +// runtime helper for setting properties on components +// in a tree-shakable way +exports.default = (sfc, props) => { + const target = sfc.__vccOpts || sfc; + for (const [key, val] of props) { + target[key] = val; } - state = enforceInternalState(value); - if (!state.source) { - state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); - } - } - if (O === global) { - if (simple) O[key] = value; - else setGlobal(key, value); - return; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty(O, key, value); -// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative -})(Function.prototype, 'toString', function toString() { - return typeof this == 'function' && getInternalState(this).source || inspectSource(this); -}); + return target; +}; /***/ }), @@ -1939,6 +2603,9 @@ var TEMPLATE = String(String).split('String'); /***/ "7156": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var isCallable = __webpack_require__("1626"); var isObject = __webpack_require__("861d"); var setPrototypeOf = __webpack_require__("d2bb"); @@ -1949,7 +2616,7 @@ module.exports = function ($this, dummy, Wrapper) { // it can work only with native `setPrototypeOf` setPrototypeOf && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - typeof (NewTarget = dummy.constructor) == 'function' && + isCallable(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype @@ -1958,6 +2625,38 @@ module.exports = function ($this, dummy, Wrapper) { }; +/***/ }), + +/***/ "7234": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// we can't use just `it == null` since of `document.all` special case +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec +module.exports = function (it) { + return it === null || it === undefined; +}; + + +/***/ }), + +/***/ "7282": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var aCallable = __webpack_require__("59ed"); + +module.exports = function (object, key, method) { + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); + } catch (error) { /* empty */ } +}; + + /***/ }), /***/ "72f0": @@ -1994,15 +2693,20 @@ module.exports = constant; /***/ }), /***/ "7418": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe exports.f = Object.getOwnPropertySymbols; /***/ }), /***/ "7839": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; // IE8- don't enum bug keys module.exports = [ @@ -2016,17 +2720,37 @@ module.exports = [ ]; +/***/ }), + +/***/ "785a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList` +var documentCreateElement = __webpack_require__("cc12"); + +var classList = documentCreateElement('span').classList; +var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype; + +module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype; + + /***/ }), /***/ "7b0b": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var requireObjectCoercible = __webpack_require__("1d80"); +var $Object = Object; + // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject module.exports = function (argument) { - return Object(requireObjectCoercible(argument)); + return $Object(requireObjectCoercible(argument)); }; @@ -2035,8 +2759,11 @@ module.exports = function (argument) { /***/ "7c73": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +/* global ActiveXObject -- old IE, WSH */ var anObject = __webpack_require__("825a"); -var defineProperties = __webpack_require__("37e8"); +var definePropertiesModule = __webpack_require__("37e8"); var enumBugKeys = __webpack_require__("7839"); var hiddenKeys = __webpack_require__("d012"); var html = __webpack_require__("1be4"); @@ -2089,10 +2816,13 @@ var NullProtoObjectViaIFrame = function () { var activeXDocument; var NullProtoObject = function () { try { - /* global ActiveXObject */ - activeXDocument = document.domain && new ActiveXObject('htmlfile'); + activeXDocument = new ActiveXObject('htmlfile'); } catch (error) { /* ignore */ } - NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame(); + NullProtoObject = typeof document != 'undefined' + ? document.domain && activeXDocument + ? NullProtoObjectViaActiveX(activeXDocument) // old IE + : NullProtoObjectViaIFrame() + : NullProtoObjectViaActiveX(activeXDocument); // WSH var length = enumBugKeys.length; while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; return NullProtoObject(); @@ -2102,6 +2832,7 @@ hiddenKeys[IE_PROTO] = true; // `Object.create` method // https://tc39.es/ecma262/#sec-object.create +// eslint-disable-next-line es/no-object-create -- safe module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { @@ -2111,34 +2842,26 @@ module.exports = Object.create || function create(O, Properties) { // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = NullProtoObject(); - return Properties === undefined ? result : defineProperties(result, Properties); + return Properties === undefined ? result : definePropertiesModule.f(result, Properties); }; -/***/ }), - -/***/ "7f9a": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("da84"); -var inspectSource = __webpack_require__("8925"); - -var WeakMap = global.WeakMap; - -module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap)); - - /***/ }), /***/ "825a": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var isObject = __webpack_require__("861d"); -module.exports = function (it) { - if (!isObject(it)) { - throw TypeError(String(it) + ' is not an object'); - } return it; +var $String = String; +var $TypeError = TypeError; + +// `Assert: Type(argument) is Object` +module.exports = function (argument) { + if (isObject(argument)) return argument; + throw new $TypeError($String(argument) + ' is not an object'); }; @@ -2147,11 +2870,14 @@ module.exports = function (it) { /***/ "83ab": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); // Detect IE8's incomplete defineProperty implementation module.exports = !fails(function () { - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; }); @@ -2162,24 +2888,27 @@ module.exports = !fails(function () { "use strict"; -var toPrimitive = __webpack_require__("c04e"); +var DESCRIPTORS = __webpack_require__("83ab"); var definePropertyModule = __webpack_require__("9bf2"); var createPropertyDescriptor = __webpack_require__("5c6c"); module.exports = function (object, key, value) { - var propertyKey = toPrimitive(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; + if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; }; /***/ }), /***/ "861d": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__("1626"); module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; + return typeof it == 'object' ? it !== null : isCallable(it); }; @@ -2188,14 +2917,18 @@ module.exports = function (it) { /***/ "8925": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var isCallable = __webpack_require__("1626"); var store = __webpack_require__("c6cd"); -var functionToString = Function.toString; +var functionToString = uncurryThis(Function.toString); -// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper -if (typeof store.inspectSource != 'function') { +// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper +if (!isCallable(store.inspectSource)) { store.inspectSource = function (it) { - return functionToString.call(it); + return functionToString(it); }; } @@ -2225,16 +2958,68 @@ module.exports = function (S, index, unicode) { module.exports = require("vue"); +/***/ }), + +/***/ "8d74": +/***/ (function(module, exports, __webpack_require__) { + +var trimmedEndIndex = __webpack_require__("4cef"); + +/** Used to match leading whitespace. */ +var reTrimStart = /^\s+/; + +/** + * The base implementation of `_.trim`. + * + * @private + * @param {string} string The string to trim. + * @returns {string} Returns the trimmed string. + */ +function baseTrim(string) { + return string + ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '') + : string; +} + +module.exports = baseTrim; + + +/***/ }), + +/***/ "90d8": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__("c65b"); +var hasOwn = __webpack_require__("1a2d"); +var isPrototypeOf = __webpack_require__("3a9b"); +var regExpFlags = __webpack_require__("ad6d"); + +var RegExpPrototype = RegExp.prototype; + +module.exports = function (R) { + var flags = R.flags; + return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R) + ? call(regExpFlags, R) : flags; +}; + + /***/ }), /***/ "90e3": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var id = 0; var postfix = Math.random(); +var toString = uncurryThis(1.0.toString); module.exports = function (key) { - return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); }; @@ -2243,6 +3028,8 @@ module.exports = function (key) { /***/ "9112": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); var definePropertyModule = __webpack_require__("9bf2"); var createPropertyDescriptor = __webpack_require__("5c6c"); @@ -2262,51 +3049,73 @@ module.exports = DESCRIPTORS ? function (object, key, value) { "use strict"; +/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ +/* eslint-disable regexp/no-useless-quantifier -- testing */ +var call = __webpack_require__("c65b"); +var uncurryThis = __webpack_require__("e330"); +var toString = __webpack_require__("577e"); var regexpFlags = __webpack_require__("ad6d"); var stickyHelpers = __webpack_require__("9f7f"); +var shared = __webpack_require__("5692"); +var create = __webpack_require__("7c73"); +var getInternalState = __webpack_require__("69f3").get; +var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3"); +var UNSUPPORTED_NCG = __webpack_require__("107c"); +var nativeReplace = shared('native-string-replace', String.prototype.replace); var nativeExec = RegExp.prototype.exec; -// This always refers to the native implementation, because the -// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, -// which loads this file before patching the method. -var nativeReplace = String.prototype.replace; - var patchedExec = nativeExec; +var charAt = uncurryThis(''.charAt); +var indexOf = uncurryThis(''.indexOf); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/; var re2 = /b*/g; - nativeExec.call(re1, 'a'); - nativeExec.call(re2, 'a'); + call(nativeExec, re1, 'a'); + call(nativeExec, re2, 'a'); return re1.lastIndex !== 0 || re2.lastIndex !== 0; })(); -var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET; +var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; // nonparticipating capturing group, copied from es5-shim's String#split patch. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; -var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y; +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; if (PATCH) { - patchedExec = function exec(str) { + patchedExec = function exec(string) { var re = this; - var lastIndex, reCopy, match, i; + var state = getInternalState(re); + var str = toString(string); + var raw = state.raw; + var result, reCopy, lastIndex, match, i, object, group; + + if (raw) { + raw.lastIndex = re.lastIndex; + result = call(patchedExec, raw, str); + re.lastIndex = raw.lastIndex; + return result; + } + + var groups = state.groups; var sticky = UNSUPPORTED_Y && re.sticky; - var flags = regexpFlags.call(re); + var flags = call(regexpFlags, re); var source = re.source; var charsAdded = 0; var strCopy = str; if (sticky) { - flags = flags.replace('y', ''); - if (flags.indexOf('g') === -1) { + flags = replace(flags, 'y', ''); + if (indexOf(flags, 'g') === -1) { flags += 'g'; } - strCopy = String(str).slice(re.lastIndex); + strCopy = stringSlice(str, re.lastIndex); // Support anchored sticky behavior. - if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) { + if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) { source = '(?: ' + source + ')'; strCopy = ' ' + strCopy; charsAdded++; @@ -2321,12 +3130,12 @@ if (PATCH) { } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - match = nativeExec.call(sticky ? reCopy : re, strCopy); + match = call(nativeExec, sticky ? reCopy : re, strCopy); if (sticky) { if (match) { - match.input = match.input.slice(charsAdded); - match[0] = match[0].slice(charsAdded); + match.input = stringSlice(match.input, charsAdded); + match[0] = stringSlice(match[0], charsAdded); match.index = re.lastIndex; re.lastIndex += match[0].length; } else re.lastIndex = 0; @@ -2335,14 +3144,22 @@ if (PATCH) { } if (NPCG_INCLUDED && match && match.length > 1) { // Fix browsers whose `exec` methods don't consistently return `undefined` - // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ - nativeReplace.call(match[0], reCopy, function () { + // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ + call(nativeReplace, match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined; } }); } + if (match && groups) { + match.groups = object = create(null); + for (i = 0; i < groups.length; i++) { + group = groups[i]; + object[group[0]] = match[group[1]]; + } + } + return match; }; } @@ -2355,15 +3172,18 @@ module.exports = patchedExec; /***/ "94ca": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); var replacement = /#|\.prototype\./; var isForced = function (feature, detection) { var value = data[normalize(feature)]; - return value == POLYFILL ? true - : value == NATIVE ? false - : typeof detection == 'function' ? fails(detection) + return value === POLYFILL ? true + : value === NATIVE ? false + : isCallable(detection) ? fails(detection) : !!detection; }; @@ -2390,7 +3210,8 @@ var fails = __webpack_require__("d039"); var isArray = __webpack_require__("e8b5"); var isObject = __webpack_require__("861d"); var toObject = __webpack_require__("7b0b"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); var createProperty = __webpack_require__("8418"); var arraySpeciesCreate = __webpack_require__("65f0"); var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); @@ -2398,8 +3219,6 @@ var wellKnownSymbol = __webpack_require__("b622"); var V8_VERSION = __webpack_require__("2d00"); var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; -var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation @@ -2410,21 +3229,20 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { return array.concat()[0] !== array; }); -var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat'); - var isConcatSpreadable = function (O) { if (!isObject(O)) return false; var spreadable = O[IS_CONCAT_SPREADABLE]; return spreadable !== undefined ? !!spreadable : isArray(O); }; -var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; +var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat'); // `Array.prototype.concat` method // https://tc39.es/ecma262/#sec-array.prototype.concat // with adding support of @@isConcatSpreadable and @@species -$({ target: 'Array', proto: true, forced: FORCED }, { - concat: function concat(arg) { // eslint-disable-line no-unused-vars +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { var O = toObject(this); var A = arraySpeciesCreate(O, 0); var n = 0; @@ -2432,11 +3250,11 @@ $({ target: 'Array', proto: true, forced: FORCED }, { for (i = -1, length = arguments.length; i < length; i++) { E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { - len = toLength(E.length); - if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + len = lengthOfArrayLike(E); + doesNotExceedSafeInteger(n + len); for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + 1); createProperty(A, n++, E); } } @@ -2451,23 +3269,48 @@ $({ target: 'Array', proto: true, forced: FORCED }, { /***/ "9bf2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); var IE8_DOM_DEFINE = __webpack_require__("0cfb"); +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("aed9"); var anObject = __webpack_require__("825a"); -var toPrimitive = __webpack_require__("c04e"); +var toPropertyKey = __webpack_require__("a04b"); -var nativeDefineProperty = Object.defineProperty; +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var $defineProperty = Object.defineProperty; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +var ENUMERABLE = 'enumerable'; +var CONFIGURABLE = 'configurable'; +var WRITABLE = 'writable'; // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty -exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) { +exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { + var current = $getOwnPropertyDescriptor(O, P); + if (current && current[WRITABLE]) { + O[P] = Attributes.value; + Attributes = { + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], + writable: false + }; + } + } return $defineProperty(O, P, Attributes); +} : $defineProperty : function defineProperty(O, P, Attributes) { anObject(O); - P = toPrimitive(P, true); + P = toPropertyKey(P); anObject(Attributes); if (IE8_DOM_DEFINE) try { - return nativeDefineProperty(O, P, Attributes); + return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); + if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; @@ -2493,29 +3336,55 @@ module.exports = Symbol; "use strict"; - var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); -// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError, -// so we use an intermediate function. -function RE(s, f) { - return RegExp(s, f); -} +// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError +var $RegExp = global.RegExp; -exports.UNSUPPORTED_Y = fails(function () { - // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var re = RE('a', 'y'); +var UNSUPPORTED_Y = fails(function () { + var re = $RegExp('a', 'y'); re.lastIndex = 2; - return re.exec('abcd') != null; + return re.exec('abcd') !== null; }); -exports.BROKEN_CARET = fails(function () { +// UC Browser bug +// https://github.com/zloirock/core-js/issues/1008 +var MISSED_STICKY = UNSUPPORTED_Y || fails(function () { + return !$RegExp('a', 'y').sticky; +}); + +var BROKEN_CARET = UNSUPPORTED_Y || fails(function () { // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 - var re = RE('^r', 'gy'); + var re = $RegExp('^r', 'gy'); re.lastIndex = 2; - return re.exec('str') != null; + return re.exec('str') !== null; }); +module.exports = { + BROKEN_CARET: BROKEN_CARET, + MISSED_STICKY: MISSED_STICKY, + UNSUPPORTED_Y: UNSUPPORTED_Y +}; + + +/***/ }), + +/***/ "a04b": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var toPrimitive = __webpack_require__("c04e"); +var isSymbol = __webpack_require__("d9b5"); + +// `ToPropertyKey` abstract operation +// https://tc39.es/ecma262/#sec-topropertykey +module.exports = function (argument) { + var key = toPrimitive(argument, 'string'); + return isSymbol(key) ? key : key + ''; +}; + /***/ }), @@ -2525,20 +3394,21 @@ exports.BROKEN_CARET = fails(function () { "use strict"; var $ = __webpack_require__("23e7"); +var uncurryThis = __webpack_require__("e330"); var IndexedObject = __webpack_require__("44ad"); var toIndexedObject = __webpack_require__("fc6a"); var arrayMethodIsStrict = __webpack_require__("a640"); -var nativeJoin = [].join; +var nativeJoin = uncurryThis([].join); -var ES3_STRINGS = IndexedObject != Object; -var STRICT_METHOD = arrayMethodIsStrict('join', ','); +var ES3_STRINGS = IndexedObject !== Object; +var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ','); // `Array.prototype.join` method // https://tc39.es/ecma262/#sec-array.prototype.join -$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, { +$({ target: 'Array', proto: true, forced: FORCED }, { join: function join(separator) { - return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); + return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator); } }); @@ -2551,7 +3421,8 @@ $({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, { "use strict"; var isArray = __webpack_require__("e8b5"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); var bind = __webpack_require__("0366"); // `FlattenIntoArray` abstract operation @@ -2559,17 +3430,18 @@ var bind = __webpack_require__("0366"); var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { var targetIndex = start; var sourceIndex = 0; - var mapFn = mapper ? bind(mapper, thisArg, 3) : false; - var element; + var mapFn = mapper ? bind(mapper, thisArg) : false; + var element, elementLen; while (sourceIndex < sourceLen) { if (sourceIndex in source) { element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; if (depth > 0 && isArray(element)) { - targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; + elementLen = lengthOfArrayLike(element); + targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1; } else { - if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length'); + doesNotExceedSafeInteger(targetIndex + 1); target[targetIndex] = element; } @@ -2591,30 +3463,29 @@ module.exports = flattenIntoArray; "use strict"; var $ = __webpack_require__("23e7"); -var toAbsoluteIndex = __webpack_require__("23cb"); -var toInteger = __webpack_require__("a691"); -var toLength = __webpack_require__("50c4"); var toObject = __webpack_require__("7b0b"); +var toAbsoluteIndex = __webpack_require__("23cb"); +var toIntegerOrInfinity = __webpack_require__("5926"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var setArrayLength = __webpack_require__("3a34"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); var arraySpeciesCreate = __webpack_require__("65f0"); var createProperty = __webpack_require__("8418"); +var deletePropertyOrThrow = __webpack_require__("083a"); var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); -var USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 }); var max = Math.max; var min = Math.min; -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; -var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; // `Array.prototype.splice` method // https://tc39.es/ecma262/#sec-array.prototype.splice // with adding support of @@species -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { splice: function splice(start, deleteCount /* , ...items */) { var O = toObject(this); - var len = toLength(O.length); + var len = lengthOfArrayLike(O); var actualStart = toAbsoluteIndex(start, len); var argumentsLength = arguments.length; var insertCount, actualDeleteCount, A, k, from, to; @@ -2625,11 +3496,9 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT actualDeleteCount = len - actualStart; } else { insertCount = argumentsLength - 2; - actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart); - } - if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) { - throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); } + doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); A = arraySpeciesCreate(O, actualDeleteCount); for (k = 0; k < actualDeleteCount; k++) { from = actualStart + k; @@ -2641,21 +3510,21 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT from = k + actualDeleteCount; to = k + insertCount; if (from in O) O[to] = O[from]; - else delete O[to]; + else deletePropertyOrThrow(O, to); } - for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; + for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1); } else if (insertCount > actualDeleteCount) { for (k = len - actualDeleteCount; k > actualStart; k--) { from = k + actualDeleteCount - 1; to = k + insertCount - 1; if (from in O) O[to] = O[from]; - else delete O[to]; + else deletePropertyOrThrow(O, to); } } for (k = 0; k < insertCount; k++) { O[k + actualStart] = arguments[k + 2]; } - O.length = len - actualDeleteCount + insertCount; + setArrayLength(O, len - actualDeleteCount + insertCount); return A; } }); @@ -2671,14 +3540,12 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT var $ = __webpack_require__("23e7"); var $every = __webpack_require__("b727").every; var arrayMethodIsStrict = __webpack_require__("a640"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var STRICT_METHOD = arrayMethodIsStrict('every'); -var USES_TO_LENGTH = arrayMethodUsesToLength('every'); // `Array.prototype.every` method // https://tc39.es/ecma262/#sec-array.prototype.every -$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, { every: function every(callbackfn /* , thisArg */) { return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -2697,27 +3564,12 @@ var fails = __webpack_require__("d039"); module.exports = function (METHOD_NAME, argument) { var method = [][METHOD_NAME]; return !!method && fails(function () { - // eslint-disable-next-line no-useless-call,no-throw-literal - method.call(null, argument || function () { throw 1; }, 1); + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); }); }; -/***/ }), - -/***/ "a691": -/***/ (function(module, exports) { - -var ceil = Math.ceil; -var floor = Math.floor; - -// `ToInteger` abstract operation -// https://tc39.es/ecma262/#sec-tointeger -module.exports = function (argument) { - return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); -}; - - /***/ }), /***/ "a9e3": @@ -2725,49 +3577,73 @@ module.exports = function (argument) { "use strict"; +var $ = __webpack_require__("23e7"); +var IS_PURE = __webpack_require__("c430"); var DESCRIPTORS = __webpack_require__("83ab"); var global = __webpack_require__("da84"); +var path = __webpack_require__("428f"); +var uncurryThis = __webpack_require__("e330"); var isForced = __webpack_require__("94ca"); -var redefine = __webpack_require__("6eeb"); -var has = __webpack_require__("5135"); -var classof = __webpack_require__("c6b6"); +var hasOwn = __webpack_require__("1a2d"); var inheritIfRequired = __webpack_require__("7156"); +var isPrototypeOf = __webpack_require__("3a9b"); +var isSymbol = __webpack_require__("d9b5"); var toPrimitive = __webpack_require__("c04e"); var fails = __webpack_require__("d039"); -var create = __webpack_require__("7c73"); var getOwnPropertyNames = __webpack_require__("241c").f; var getOwnPropertyDescriptor = __webpack_require__("06cf").f; var defineProperty = __webpack_require__("9bf2").f; +var thisNumberValue = __webpack_require__("408a"); var trim = __webpack_require__("58a8").trim; var NUMBER = 'Number'; var NativeNumber = global[NUMBER]; +var PureNumberNamespace = path[NUMBER]; var NumberPrototype = NativeNumber.prototype; - -// Opera ~12 has broken Object#toString -var BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER; +var TypeError = global.TypeError; +var stringSlice = uncurryThis(''.slice); +var charCodeAt = uncurryThis(''.charCodeAt); + +// `ToNumeric` abstract operation +// https://tc39.es/ecma262/#sec-tonumeric +var toNumeric = function (value) { + var primValue = toPrimitive(value, 'number'); + return typeof primValue == 'bigint' ? primValue : toNumber(primValue); +}; // `ToNumber` abstract operation // https://tc39.es/ecma262/#sec-tonumber var toNumber = function (argument) { - var it = toPrimitive(argument, false); + var it = toPrimitive(argument, 'number'); var first, third, radix, maxCode, digits, length, index, code; + if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number'); if (typeof it == 'string' && it.length > 2) { it = trim(it); - first = it.charCodeAt(0); + first = charCodeAt(it, 0); if (first === 43 || first === 45) { - third = it.charCodeAt(2); + third = charCodeAt(it, 2); if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix } else if (first === 48) { - switch (it.charCodeAt(1)) { - case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i - case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i - default: return +it; + switch (charCodeAt(it, 1)) { + // fast equal of /^0b[01]+$/i + case 66: + case 98: + radix = 2; + maxCode = 49; + break; + // fast equal of /^0o[0-7]+$/i + case 79: + case 111: + radix = 8; + maxCode = 55; + break; + default: + return +it; } - digits = it.slice(2); + digits = stringSlice(it, 2); length = digits.length; for (index = 0; index < length; index++) { - code = digits.charCodeAt(index); + code = charCodeAt(digits, index); // parseInt parses a string to a first unavailable symbol // but ToNumber should return NaN if a string contains unavailable symbols if (code < 48 || code > maxCode) return NaN; @@ -2776,34 +3652,82 @@ var toNumber = function (argument) { } return +it; }; +var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1')); + +var calledWithNew = function (dummy) { + // includes check on 1..constructor(foo) case + return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); }); +}; + // `Number` constructor // https://tc39.es/ecma262/#sec-number-constructor -if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) { - var NumberWrapper = function Number(value) { - var it = arguments.length < 1 ? 0 : value; - var dummy = this; - return dummy instanceof NumberWrapper - // check on 1..constructor(foo) case - && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER) - ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it); - }; - for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : ( +var NumberWrapper = function Number(value) { + var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); + return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n; +}; + +NumberWrapper.prototype = NumberPrototype; +if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper; + +$({ global: true, constructor: true, wrap: true, forced: FORCED }, { + Number: NumberWrapper +}); + +// Use `internal/copy-constructor-properties` helper in `core-js@4` +var copyConstructorProperties = function (target, source) { + for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : ( // ES3: 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + // ES2015 (in case, if modules with ES2015 Number statics required before): - 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + - 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' + + 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' + // ESNext 'fromString,range' ).split(','), j = 0, key; keys.length > j; j++) { - if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) { - defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key)); + if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); } } - NumberWrapper.prototype = NumberPrototype; - NumberPrototype.constructor = NumberWrapper; - redefine(global, NUMBER, NumberWrapper); -} +}; + +if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace); +if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber); + + +/***/ }), + +/***/ "aa1f": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__("83ab"); +var fails = __webpack_require__("d039"); +var anObject = __webpack_require__("825a"); +var normalizeStringArgument = __webpack_require__("e391"); + +var nativeErrorToString = Error.prototype.toString; + +var INCORRECT_TO_STRING = fails(function () { + if (DESCRIPTORS) { + // Chrome 32- incorrectly call accessor + // eslint-disable-next-line es/no-object-create, es/no-object-defineproperty -- safe + var object = Object.create(Object.defineProperty({}, 'name', { get: function () { + return this === object; + } })); + if (nativeErrorToString.call(object) !== 'true') return true; + } + // FF10- does not properly handle non-strings + return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1' + // IE8 does not properly handle defaults + || nativeErrorToString.call({}) !== 'Error'; +}); + +module.exports = INCORRECT_TO_STRING ? function toString() { + var O = anObject(this); + var name = normalizeStringArgument(O.name, 'Error'); + var message = normalizeStringArgument(O.message); + return !name ? message : !message ? name : name + ': ' + message; +} : nativeErrorToString; /***/ }), @@ -2837,11 +3761,13 @@ var anObject = __webpack_require__("825a"); module.exports = function () { var that = anObject(this); var result = ''; + if (that.hasIndices) result += 'd'; if (that.global) result += 'g'; if (that.ignoreCase) result += 'i'; if (that.multiline) result += 'm'; if (that.dotAll) result += 's'; if (that.unicode) result += 'u'; + if (that.unicodeSets) result += 'v'; if (that.sticky) result += 'y'; return result; }; @@ -2849,37 +3775,74 @@ module.exports = function () { /***/ }), -/***/ "ae40": +/***/ "addb": /***/ (function(module, exports, __webpack_require__) { -var DESCRIPTORS = __webpack_require__("83ab"); -var fails = __webpack_require__("d039"); -var has = __webpack_require__("5135"); +"use strict"; -var defineProperty = Object.defineProperty; -var cache = {}; +var arraySlice = __webpack_require__("f36a"); -var thrower = function (it) { throw it; }; +var floor = Math.floor; -module.exports = function (METHOD_NAME, options) { - if (has(cache, METHOD_NAME)) return cache[METHOD_NAME]; - if (!options) options = {}; - var method = [][METHOD_NAME]; - var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false; - var argument0 = has(options, 0) ? options[0] : thrower; - var argument1 = has(options, 1) ? options[1] : undefined; +var sort = function (array, comparefn) { + var length = array.length; - return cache[METHOD_NAME] = !!method && !fails(function () { - if (ACCESSORS && !DESCRIPTORS) return true; - var O = { length: -1 }; + if (length < 8) { + // insertion sort + var i = 1; + var element, j; - if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower }); - else O[1] = 1; + while (i < length) { + j = i; + element = array[i]; + while (j && comparefn(array[j - 1], element) > 0) { + array[j] = array[--j]; + } + if (j !== i++) array[j] = element; + } + } else { + // merge sort + var middle = floor(length / 2); + var left = sort(arraySlice(array, 0, middle), comparefn); + var right = sort(arraySlice(array, middle), comparefn); + var llength = left.length; + var rlength = right.length; + var lindex = 0; + var rindex = 0; + + while (lindex < llength || rindex < rlength) { + array[lindex + rindex] = (lindex < llength && rindex < rlength) + ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] + : lindex < llength ? left[lindex++] : right[rindex++]; + } + } - method.call(O, argument0, argument1); - }); + return array; }; +module.exports = sort; + + +/***/ }), + +/***/ "aed9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__("83ab"); +var fails = __webpack_require__("d039"); + +// V8 ~ Chrome 36- +// https://bugs.chromium.org/p/v8/issues/detail?id=3334 +module.exports = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(function () { /* empty */ }, 'prototype', { + value: 42, + writable: false + }).prototype !== 42; +}); + /***/ }), @@ -3096,20 +4059,37 @@ function debounce(func, wait, options) { module.exports = debounce; +/***/ }), + +/***/ "b42e": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var ceil = Math.ceil; +var floor = Math.floor; + +// `Math.trunc` method +// https://tc39.es/ecma262/#sec-math.trunc +// eslint-disable-next-line es/no-math-trunc -- safe +module.exports = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); +}; + + /***/ }), /***/ "b4b0": /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__("1a8c"), +var baseTrim = __webpack_require__("8d74"), + isObject = __webpack_require__("1a8c"), isSymbol = __webpack_require__("ffd6"); /** Used as references for various `Number` constants. */ var NAN = 0 / 0; -/** Used to match leading and trailing whitespace. */ -var reTrim = /^\s+|\s+$/g; - /** Used to detect bad signed hexadecimal string values. */ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; @@ -3159,7 +4139,7 @@ function toNumber(value) { if (typeof value != 'string') { return value === 0 ? value : +value; } - value = value.replace(reTrim, ''); + value = baseTrim(value); var isBinary = reIsBinary.test(value); return (isBinary || reIsOctal.test(value)) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) @@ -3174,21 +4154,24 @@ module.exports = toNumber; /***/ "b622": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var shared = __webpack_require__("5692"); -var has = __webpack_require__("5135"); +var hasOwn = __webpack_require__("1a2d"); var uid = __webpack_require__("90e3"); -var NATIVE_SYMBOL = __webpack_require__("4930"); +var NATIVE_SYMBOL = __webpack_require__("04f8"); var USE_SYMBOL_AS_UID = __webpack_require__("fdbf"); -var WellKnownSymbolsStore = shared('wks'); var Symbol = global.Symbol; -var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; +var WellKnownSymbolsStore = shared('wks'); +var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; module.exports = function (name) { - if (!has(WellKnownSymbolsStore, name)) { - if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name]; - else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name); + if (!hasOwn(WellKnownSymbolsStore, name)) { + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) + ? Symbol[name] + : createWellKnownSymbol('Symbol.' + name); } return WellKnownSymbolsStore[name]; }; @@ -3198,6 +4181,8 @@ module.exports = function (name) { /***/ "b64b": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var $ = __webpack_require__("23e7"); var toObject = __webpack_require__("7b0b"); var nativeKeys = __webpack_require__("df75"); @@ -3219,31 +4204,34 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { /***/ "b727": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var bind = __webpack_require__("0366"); +var uncurryThis = __webpack_require__("e330"); var IndexedObject = __webpack_require__("44ad"); var toObject = __webpack_require__("7b0b"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); var arraySpeciesCreate = __webpack_require__("65f0"); -var push = [].push; +var push = uncurryThis([].push); -// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation +// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation var createMethod = function (TYPE) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var IS_FILTER_OUT = TYPE == 7; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + var IS_MAP = TYPE === 1; + var IS_FILTER = TYPE === 2; + var IS_SOME = TYPE === 3; + var IS_EVERY = TYPE === 4; + var IS_FIND_INDEX = TYPE === 6; + var IS_FILTER_REJECT = TYPE === 7; + var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; return function ($this, callbackfn, that, specificCreate) { var O = toObject($this); var self = IndexedObject(O); - var boundFunction = bind(callbackfn, that, 3); - var length = toLength(self.length); + var length = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); var index = 0; var create = specificCreate || arraySpeciesCreate; - var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; var value, result; for (;length > index; index++) if (NO_HOLES || index in self) { value = self[index]; @@ -3254,10 +4242,10 @@ var createMethod = function (TYPE) { case 3: return true; // some case 5: return value; // find case 6: return index; // findIndex - case 2: push.call(target, value); // filter + case 2: push(target, value); // filter } else switch (TYPE) { case 4: return false; // every - case 7: push.call(target, value); // filterOut + case 7: push(target, value); // filterReject } } } @@ -3287,9 +4275,9 @@ module.exports = { // `Array.prototype.findIndex` method // https://tc39.es/ecma262/#sec-array.prototype.findIndex findIndex: createMethod(6), - // `Array.prototype.filterOut` method + // `Array.prototype.filterReject` method // https://github.com/tc39/proposal-array-filtering - filterOut: createMethod(7) + filterReject: createMethod(7) }; @@ -3322,39 +4310,75 @@ module.exports = noop; /***/ "c04e": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var call = __webpack_require__("c65b"); var isObject = __webpack_require__("861d"); +var isSymbol = __webpack_require__("d9b5"); +var getMethod = __webpack_require__("dc4a"); +var ordinaryToPrimitive = __webpack_require__("485a"); +var wellKnownSymbol = __webpack_require__("b622"); + +var $TypeError = TypeError; +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); // `ToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-toprimitive -// instead of the ES6 spec version, we didn't implement @@toPrimitive case -// and the second argument - flag - preferred type is a string -module.exports = function (input, PREFERRED_STRING) { - if (!isObject(input)) return input; - var fn, val; - if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; - if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val; - if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; - throw TypeError("Can't convert object to primitive value"); +module.exports = function (input, pref) { + if (!isObject(input) || isSymbol(input)) return input; + var exoticToPrim = getMethod(input, TO_PRIMITIVE); + var result; + if (exoticToPrim) { + if (pref === undefined) pref = 'default'; + result = call(exoticToPrim, input, pref); + if (!isObject(result) || isSymbol(result)) return result; + throw new $TypeError("Can't convert object to primitive value"); + } + if (pref === undefined) pref = 'number'; + return ordinaryToPrimitive(input, pref); }; /***/ }), /***/ "c430": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = false; +/***/ }), + +/***/ "c65b": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__("40d5"); + +var call = Function.prototype.call; + +module.exports = NATIVE_BIND ? call.bind(call) : function () { + return call.apply(call, arguments); +}; + + /***/ }), /***/ "c6b6": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); -var toString = {}.toString; +var toString = uncurryThis({}.toString); +var stringSlice = uncurryThis(''.slice); module.exports = function (it) { - return toString.call(it).slice(8, -1); + return stringSlice(toString(it), 8, -1); }; @@ -3363,13 +4387,22 @@ module.exports = function (it) { /***/ "c6cd": /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__("da84"); -var setGlobal = __webpack_require__("ce4e"); +"use strict"; + +var IS_PURE = __webpack_require__("c430"); +var globalThis = __webpack_require__("da84"); +var defineGlobalProperty = __webpack_require__("6374"); var SHARED = '__core-js_shared__'; -var store = global[SHARED] || setGlobal(SHARED, {}); +var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); -module.exports = store; +(store.versions || (store.versions = [])).push({ + version: '3.37.1', + mode: IS_PURE ? 'pure' : 'global', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE', + source: 'https://github.com/zloirock/core-js' +}); /***/ }), @@ -3404,6 +4437,9 @@ module.exports = g; /***/ "c8d2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER; var fails = __webpack_require__("d039"); var whitespaces = __webpack_require__("5899"); @@ -3413,7 +4449,9 @@ var non = '\u200B\u0085\u180E'; // of whitespaces and has a correct name module.exports = function (METHOD_NAME) { return fails(function () { - return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME; + return !!whitespaces[METHOD_NAME]() + || non[METHOD_NAME]() !== non + || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME); }); }; @@ -3425,25 +4463,26 @@ module.exports = function (METHOD_NAME) { "use strict"; +/* eslint-disable es/no-array-prototype-indexof -- required for testing */ var $ = __webpack_require__("23e7"); +var uncurryThis = __webpack_require__("4625"); var $indexOf = __webpack_require__("4d64").indexOf; var arrayMethodIsStrict = __webpack_require__("a640"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); -var nativeIndexOf = [].indexOf; +var nativeIndexOf = uncurryThis([].indexOf); -var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0; -var STRICT_METHOD = arrayMethodIsStrict('indexOf'); -var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 }); +var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; +var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf'); // `Array.prototype.indexOf` method // https://tc39.es/ecma262/#sec-array.prototype.indexof -$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: FORCED }, { indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { + var fromIndex = arguments.length > 1 ? arguments[1] : undefined; return NEGATIVE_ZERO // convert -0 to +0 - ? nativeIndexOf.apply(this, arguments) || 0 - : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined); + ? nativeIndexOf(this, searchElement, fromIndex) || 0 + : $indexOf(this, searchElement, fromIndex); } }); @@ -3453,30 +4492,73 @@ $({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !US /***/ "ca84": /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__("5135"); +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var hasOwn = __webpack_require__("1a2d"); var toIndexedObject = __webpack_require__("fc6a"); var indexOf = __webpack_require__("4d64").indexOf; var hiddenKeys = __webpack_require__("d012"); +var push = uncurryThis([].push); + module.exports = function (object, names) { var O = toIndexedObject(object); var i = 0; var result = []; var key; - for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~indexOf(result, key) || result.push(key); + while (names.length > i) if (hasOwn(O, key = names[i++])) { + ~indexOf(result, key) || push(result, key); } return result; }; +/***/ }), + +/***/ "cb2d": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__("1626"); +var definePropertyModule = __webpack_require__("9bf2"); +var makeBuiltIn = __webpack_require__("13d2"); +var defineGlobalProperty = __webpack_require__("6374"); + +module.exports = function (O, key, value, options) { + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; + if (isCallable(value)) makeBuiltIn(value, name, options); + if (options.global) { + if (simple) O[key] = value; + else defineGlobalProperty(key, value); + } else { + try { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + } catch (error) { /* empty */ } + if (simple) O[key] = value; + else definePropertyModule.f(O, key, { + value: value, + enumerable: false, + configurable: !options.nonConfigurable, + writable: !options.nonWritable + }); + } return O; +}; + + /***/ }), /***/ "cc12": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var isObject = __webpack_require__("861d"); @@ -3519,25 +4601,25 @@ module.exports = identity; /***/ }), -/***/ "ce4e": +/***/ "cdce": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); -var createNonEnumerableProperty = __webpack_require__("9112"); +var isCallable = __webpack_require__("1626"); -module.exports = function (key, value) { - try { - createNonEnumerableProperty(global, key, value); - } catch (error) { - global[key] = value; - } return value; -}; +var WeakMap = global.WeakMap; + +module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); /***/ }), /***/ "d012": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = {}; @@ -3545,7 +4627,9 @@ module.exports = {}; /***/ }), /***/ "d039": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = function (exec) { try { @@ -3561,16 +4645,17 @@ module.exports = function (exec) { /***/ "d066": /***/ (function(module, exports, __webpack_require__) { -var path = __webpack_require__("428f"); +"use strict"; + var global = __webpack_require__("da84"); +var isCallable = __webpack_require__("1626"); -var aFunction = function (variable) { - return typeof variable == 'function' ? variable : undefined; +var aFunction = function (argument) { + return isCallable(argument) ? argument : undefined; }; module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) - : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method]; + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; }; @@ -3588,18 +4673,19 @@ module.exports = function (namespace, method) { "use strict"; -var nativePropertyIsEnumerable = {}.propertyIsEnumerable; +var $propertyIsEnumerable = {}.propertyIsEnumerable; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug -var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); +var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); // `Object.prototype.propertyIsEnumerable` method implementation // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { var descriptor = getOwnPropertyDescriptor(this, V); return !!descriptor && descriptor.enumerable; -} : nativePropertyIsEnumerable; +} : $propertyIsEnumerable; /***/ }), @@ -3607,26 +4693,32 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { /***/ "d2bb": /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__("825a"); +"use strict"; + +/* eslint-disable no-proto -- safe */ +var uncurryThisAccessor = __webpack_require__("7282"); +var isObject = __webpack_require__("861d"); +var requireObjectCoercible = __webpack_require__("1d80"); var aPossiblePrototype = __webpack_require__("3bbe"); // `Object.setPrototypeOf` method // https://tc39.es/ecma262/#sec-object.setprototypeof // Works with __proto__ only. Old v8 can't work with null proto objects. -/* eslint-disable no-proto */ +// eslint-disable-next-line es/no-object-setprototypeof -- safe module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { var CORRECT_SETTER = false; var test = {}; var setter; try { - setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; - setter.call(test, []); + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); + setter(test, []); CORRECT_SETTER = test instanceof Array; } catch (error) { /* empty */ } return function setPrototypeOf(O, proto) { - anObject(O); + requireObjectCoercible(O); aPossiblePrototype(proto); - if (CORRECT_SETTER) setter.call(O, proto); + if (!isObject(O)) return O; + if (CORRECT_SETTER) setter(O, proto); else O.__proto__ = proto; return O; }; @@ -3638,14 +4730,35 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { /***/ "d3b7": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee"); -var redefine = __webpack_require__("6eeb"); +var defineBuiltIn = __webpack_require__("cb2d"); var toString = __webpack_require__("b041"); // `Object.prototype.toString` method // https://tc39.es/ecma262/#sec-object.prototype.tostring if (!TO_STRING_TAG_SUPPORT) { - redefine(Object.prototype, 'toString', toString, { unsafe: true }); + defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true }); +} + + +/***/ }), + +/***/ "d401": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var defineBuiltIn = __webpack_require__("cb2d"); +var errorToString = __webpack_require__("aa1f"); + +var ErrorPrototype = Error.prototype; + +// `Error.prototype.toString` method fix +// https://tc39.es/ecma262/#sec-error.prototype.tostring +if (ErrorPrototype.toString !== errorToString) { + defineBuiltIn(ErrorPrototype, 'toString', errorToString); } @@ -3654,18 +4767,25 @@ if (!TO_STRING_TAG_SUPPORT) { /***/ "d58f": /***/ (function(module, exports, __webpack_require__) { -var aFunction = __webpack_require__("1c0b"); +"use strict"; + +var aCallable = __webpack_require__("59ed"); var toObject = __webpack_require__("7b0b"); var IndexedObject = __webpack_require__("44ad"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); + +var $TypeError = TypeError; + +var REDUCE_EMPTY = 'Reduce of empty array with no initial value'; // `Array.prototype.{ reduce, reduceRight }` methods implementation var createMethod = function (IS_RIGHT) { return function (that, callbackfn, argumentsLength, memo) { - aFunction(callbackfn); var O = toObject(that); var self = IndexedObject(O); - var length = toLength(O.length); + var length = lengthOfArrayLike(O); + aCallable(callbackfn); + if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY); var index = IS_RIGHT ? length - 1 : 0; var i = IS_RIGHT ? -1 : 1; if (argumentsLength < 2) while (true) { @@ -3676,7 +4796,7 @@ var createMethod = function (IS_RIGHT) { } index += i; if (IS_RIGHT ? index < 0 : length <= index) { - throw TypeError('Reduce of empty array with no initial value'); + throw new $TypeError(REDUCE_EMPTY); } } for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { @@ -3705,60 +4825,24 @@ module.exports = { // TODO: Remove from `core-js@4` since it's moved to entry points __webpack_require__("ac1f"); -var redefine = __webpack_require__("6eeb"); +var call = __webpack_require__("c65b"); +var defineBuiltIn = __webpack_require__("cb2d"); +var regexpExec = __webpack_require__("9263"); var fails = __webpack_require__("d039"); var wellKnownSymbol = __webpack_require__("b622"); -var regexpExec = __webpack_require__("9263"); var createNonEnumerableProperty = __webpack_require__("9112"); var SPECIES = wellKnownSymbol('species'); +var RegExpPrototype = RegExp.prototype; -var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { - // #replace needs built-in support for named groups. - // #match works fine because it just return the exec results, even if it has - // a "grops" property. - var re = /./; - re.exec = function () { - var result = []; - result.groups = { a: '7' }; - return result; - }; - return ''.replace(re, '$') !== '7'; -}); - -// IE <= 11 replaces $0 with the whole match, as if it was $& -// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 -var REPLACE_KEEPS_$0 = (function () { - return 'a'.replace(/./, '$0') === '$0'; -})(); - -var REPLACE = wellKnownSymbol('replace'); -// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string -var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { - if (/./[REPLACE]) { - return /./[REPLACE]('a', '$0') === ''; - } - return false; -})(); - -// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec -// Weex JS has frozen built-in prototypes, so use try / catch wrapper -var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { - var re = /(?:)/; - var originalExec = re.exec; - re.exec = function () { return originalExec.apply(this, arguments); }; - var result = 'ab'.split(re); - return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; -}); - -module.exports = function (KEY, length, exec, sham) { +module.exports = function (KEY, exec, FORCED, SHAM) { var SYMBOL = wellKnownSymbol(KEY); var DELEGATES_TO_SYMBOL = !fails(function () { - // String methods call symbol-named RegEp methods + // String methods call symbol-named RegExp methods var O = {}; O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) != 7; + return ''[KEY](O) !== 7; }); var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { @@ -3779,7 +4863,10 @@ module.exports = function (KEY, length, exec, sham) { re[SYMBOL] = /./[SYMBOL]; } - re.exec = function () { execCalled = true; return null; }; + re.exec = function () { + execCalled = true; + return null; + }; re[SYMBOL](''); return !execCalled; @@ -3788,44 +4875,28 @@ module.exports = function (KEY, length, exec, sham) { if ( !DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || - (KEY === 'replace' && !( - REPLACE_SUPPORTS_NAMED_GROUPS && - REPLACE_KEEPS_$0 && - !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE - )) || - (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) + FORCED ) { var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - if (regexp.exec === regexpExec) { + var $exec = regexp.exec; + if ($exec === regexpExec || $exec === RegExpPrototype.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. - return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; + return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) }; } - return { done: true, value: nativeMethod.call(str, regexp, arg2) }; + return { done: true, value: call(nativeMethod, str, regexp, arg2) }; } return { done: false }; - }, { - REPLACE_KEEPS_$0: REPLACE_KEEPS_$0, - REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE }); - var stringMethod = methods[0]; - var regexMethod = methods[1]; - - redefine(String.prototype, KEY, stringMethod); - redefine(RegExp.prototype, SYMBOL, length == 2 - // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) - // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function (string, arg) { return regexMethod.call(string, this, arg); } - // 21.2.5.6 RegExp.prototype[@@match](string) - // 21.2.5.9 RegExp.prototype[@@search](string) - : function (string) { return regexMethod.call(string, this); } - ); + + defineBuiltIn(String.prototype, KEY, methods[0]); + defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); } - if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true); + if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); }; @@ -3839,16 +4910,13 @@ module.exports = function (KEY, length, exec, sham) { var $ = __webpack_require__("23e7"); var $map = __webpack_require__("b727").map; var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map'); -// FF49- issue -var USES_TO_LENGTH = arrayMethodUsesToLength('map'); // `Array.prototype.map` method // https://tc39.es/ecma262/#sec-array.prototype.map // with adding support of @@species -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { map: function map(callbackfn /* , thisArg */) { return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -3857,35 +4925,94 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT /***/ }), -/***/ "da84": +/***/ "d998": /***/ (function(module, exports, __webpack_require__) { -/* WEBPACK VAR INJECTION */(function(global) {var check = function (it) { - return it && it.Math == Math && it; -}; +"use strict"; + +var UA = __webpack_require__("342f"); + +module.exports = /MSIE|Trident/.test(UA); + + +/***/ }), + +/***/ "d9b5": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__("d066"); +var isCallable = __webpack_require__("1626"); +var isPrototypeOf = __webpack_require__("3a9b"); +var USE_SYMBOL_AS_UID = __webpack_require__("fdbf"); + +var $Object = Object; + +module.exports = USE_SYMBOL_AS_UID ? function (it) { + return typeof it == 'symbol'; +} : function (it) { + var $Symbol = getBuiltIn('Symbol'); + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); +}; + + +/***/ }), + +/***/ "da84": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(global) { +var check = function (it) { + return it && it.Math === Math && it; +}; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 module.exports = - // eslint-disable-next-line no-undef + // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe check(typeof self == 'object' && self) || check(typeof global == 'object' && global) || - // eslint-disable-next-line no-new-func + check(typeof this == 'object' && this) || + // eslint-disable-next-line no-new-func -- fallback (function () { return this; })() || Function('return this')(); /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba"))) +/***/ }), + +/***/ "dc4a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var aCallable = __webpack_require__("59ed"); +var isNullOrUndefined = __webpack_require__("7234"); + +// `GetMethod` abstract operation +// https://tc39.es/ecma262/#sec-getmethod +module.exports = function (V, P) { + var func = V[P]; + return isNullOrUndefined(func) ? undefined : aCallable(func); +}; + + /***/ }), /***/ "df75": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var internalObjectKeys = __webpack_require__("ca84"); var enumBugKeys = __webpack_require__("7839"); // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys +// eslint-disable-next-line es/no-object-keys -- safe module.exports = Object.keys || function keys(O) { return internalObjectKeys(O, enumBugKeys); }; @@ -3943,22 +5070,28 @@ module.exports = before; /***/ "e163": /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__("5135"); +"use strict"; + +var hasOwn = __webpack_require__("1a2d"); +var isCallable = __webpack_require__("1626"); var toObject = __webpack_require__("7b0b"); var sharedKey = __webpack_require__("f772"); var CORRECT_PROTOTYPE_GETTER = __webpack_require__("e177"); var IE_PROTO = sharedKey('IE_PROTO'); -var ObjectPrototype = Object.prototype; +var $Object = Object; +var ObjectPrototype = $Object.prototype; // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof -module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectPrototype : null; +// eslint-disable-next-line es/no-object-getprototypeof -- safe +module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { + var object = toObject(O); + if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; + var constructor = object.constructor; + if (isCallable(constructor) && object instanceof constructor) { + return constructor.prototype; + } return object instanceof $Object ? ObjectPrototype : null; }; @@ -3967,32 +5100,111 @@ module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) /***/ "e177": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); module.exports = !fails(function () { function F() { /* empty */ } F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing return Object.getPrototypeOf(new F()) !== F.prototype; }); +/***/ }), + +/***/ "e267": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var isArray = __webpack_require__("e8b5"); +var isCallable = __webpack_require__("1626"); +var classof = __webpack_require__("c6b6"); +var toString = __webpack_require__("577e"); + +var push = uncurryThis([].push); + +module.exports = function (replacer) { + if (isCallable(replacer)) return replacer; + if (!isArray(replacer)) return; + var rawLength = replacer.length; + var keys = []; + for (var i = 0; i < rawLength; i++) { + var element = replacer[i]; + if (typeof element == 'string') push(keys, element); + else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element)); + } + var keysLength = keys.length; + var root = true; + return function (key, value) { + if (root) { + root = false; + return value; + } + if (isArray(this)) return value; + for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value; + }; +}; + + +/***/ }), + +/***/ "e330": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__("40d5"); + +var FunctionPrototype = Function.prototype; +var call = FunctionPrototype.call; +var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); + +module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { + return function () { + return call.apply(fn, arguments); + }; +}; + + +/***/ }), + +/***/ "e391": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var toString = __webpack_require__("577e"); + +module.exports = function (argument, $default) { + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); +}; + + /***/ }), /***/ "e893": /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__("5135"); +"use strict"; + +var hasOwn = __webpack_require__("1a2d"); var ownKeys = __webpack_require__("56ef"); var getOwnPropertyDescriptorModule = __webpack_require__("06cf"); var definePropertyModule = __webpack_require__("9bf2"); -module.exports = function (target, source) { +module.exports = function (target, source, exceptions) { var keys = ownKeys(source); var defineProperty = definePropertyModule.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; - if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } } }; @@ -4002,27 +5214,157 @@ module.exports = function (target, source) { /***/ "e8b5": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var classof = __webpack_require__("c6b6"); // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray -module.exports = Array.isArray || function isArray(arg) { - return classof(arg) == 'Array'; +// eslint-disable-next-line es/no-array-isarray -- safe +module.exports = Array.isArray || function isArray(argument) { + return classof(argument) === 'Array'; }; +/***/ }), + +/***/ "e9c4": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var getBuiltIn = __webpack_require__("d066"); +var apply = __webpack_require__("2ba4"); +var call = __webpack_require__("c65b"); +var uncurryThis = __webpack_require__("e330"); +var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); +var isSymbol = __webpack_require__("d9b5"); +var arraySlice = __webpack_require__("f36a"); +var getReplacerFunction = __webpack_require__("e267"); +var NATIVE_SYMBOL = __webpack_require__("04f8"); + +var $String = String; +var $stringify = getBuiltIn('JSON', 'stringify'); +var exec = uncurryThis(/./.exec); +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var replace = uncurryThis(''.replace); +var numberToString = uncurryThis(1.0.toString); + +var tester = /[\uD800-\uDFFF]/g; +var low = /^[\uD800-\uDBFF]$/; +var hi = /^[\uDC00-\uDFFF]$/; + +var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () { + var symbol = getBuiltIn('Symbol')('stringify detection'); + // MS Edge converts symbol values to JSON as {} + return $stringify([symbol]) !== '[null]' + // WebKit converts symbol values to JSON as null + || $stringify({ a: symbol }) !== '{}' + // V8 throws on boxed symbols + || $stringify(Object(symbol)) !== '{}'; +}); + +// https://github.com/tc39/proposal-well-formed-stringify +var ILL_FORMED_UNICODE = fails(function () { + return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' + || $stringify('\uDEAD') !== '"\\udead"'; +}); + +var stringifyWithSymbolsFix = function (it, replacer) { + var args = arraySlice(arguments); + var $replacer = getReplacerFunction(replacer); + if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined + args[1] = function (key, value) { + // some old implementations (like WebKit) could pass numbers as keys + if (isCallable($replacer)) value = call($replacer, this, $String(key), value); + if (!isSymbol(value)) return value; + }; + return apply($stringify, null, args); +}; + +var fixIllFormed = function (match, offset, string) { + var prev = charAt(string, offset - 1); + var next = charAt(string, offset + 1); + if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) { + return '\\u' + numberToString(charCodeAt(match, 0), 16); + } return match; +}; + +if ($stringify) { + // `JSON.stringify` method + // https://tc39.es/ecma262/#sec-json.stringify + $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + stringify: function stringify(it, replacer, space) { + var args = arraySlice(arguments); + var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args); + return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result; + } + }); +} + + +/***/ }), + +/***/ "f36a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); + +module.exports = uncurryThis([].slice); + + +/***/ }), + +/***/ "f4b3": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var fails = __webpack_require__("d039"); +var toObject = __webpack_require__("7b0b"); +var toPrimitive = __webpack_require__("c04e"); + +var FORCED = fails(function () { + return new Date(NaN).toJSON() !== null + || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; +}); + +// `Date.prototype.toJSON` method +// https://tc39.es/ecma262/#sec-date.prototype.tojson +$({ target: 'Date', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + toJSON: function toJSON(key) { + var O = toObject(this); + var pv = toPrimitive(O, 'number'); + return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); + } +}); + + /***/ }), /***/ "f5df": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee"); +var isCallable = __webpack_require__("1626"); var classofRaw = __webpack_require__("c6b6"); var wellKnownSymbol = __webpack_require__("b622"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var $Object = Object; + // ES3 wrong here -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { @@ -4036,11 +5378,11 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case - : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback - : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; + : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; }; @@ -4049,6 +5391,8 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { /***/ "f772": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var shared = __webpack_require__("5692"); var uid = __webpack_require__("90e3"); @@ -4094,17 +5438,13 @@ if (typeof window !== 'undefined') { // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf"); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Treeselect.vue?vue&type=template&id=4fa337e8 +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Treeselect.vue?vue&type=template&id=4fa337e8 function Treeselectvue_type_template_id_4fa337e8_render(_ctx, _cache, $props, $setup, $data, $options) { var _component_HiddenFields = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("HiddenFields"); - var _component_Control = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Control"); - var _component_MenuPortal = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("MenuPortal"); - var _component_Menu = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Menu"); - return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", { ref: "wrapper", class: _ctx.wrapperClass @@ -4118,195 +5458,226 @@ function Treeselectvue_type_template_id_4fa337e8_render(_ctx, _cache, $props, $s ref: "menu" }, null, 512))], 2); } -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js -var es_array_concat = __webpack_require__("99af"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.every.js -var es_array_every = __webpack_require__("a623"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js -var es_array_filter = __webpack_require__("4de4"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js -var es_array_flat = __webpack_require__("0481"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js -var es_array_for_each = __webpack_require__("4160"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js -var es_array_index_of = __webpack_require__("c975"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js -var es_array_map = __webpack_require__("d81d"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js -var es_array_reduce = __webpack_require__("13d5"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js -var es_array_slice = __webpack_require__("fb6a"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.some.js -var es_array_some = __webpack_require__("45fc"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js -var es_array_sort = __webpack_require__("4e82"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat.js -var es_array_unscopables_flat = __webpack_require__("4069"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js -var es_number_constructor = __webpack_require__("a9e3"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js -var es_regexp_exec = __webpack_require__("ac1f"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js -var es_string_replace = __webpack_require__("5319"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js -var es_string_split = __webpack_require__("1276"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js -var es_string_trim = __webpack_require__("498a"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js -var web_dom_collections_for_each = __webpack_require__("159b"); - // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; +function _arrayWithHoles(r) { + if (Array.isArray(r)) return r; } -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js -function _iterableToArrayLimit(arr, i) { - if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; - 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 { +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +function _iterableToArrayLimit(r, l) { + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (null != t) { + var e, + n, + i, + u, + a = [], + f = !0, + o = !1; try { - if (!_n && _i["return"] != null) _i["return"](); + if (i = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) return; + f = !1; + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); + } catch (r) { + o = !0, n = r; } finally { - if (_d) throw _e; + try { + if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; + } finally { + if (o) throw n; + } } + return a; } - - return _arr; } -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js -function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - return arr2; +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +function _arrayLikeToArray(r, a) { + (null == a || a > r.length) && (a = r.length); + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; + return n; } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js -function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); +function _unsupportedIterableToArray(r, a) { + if (r) { + if ("string" == typeof r) return _arrayLikeToArray(r, a); + var t = {}.toString.call(r).slice(8, -1); + return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; + } } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js -function _slicedToArray(arr, i) { - return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); +function _slicedToArray(r, e) { + return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); } -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +function _typeof(o) { + "@babel/helpers - typeof"; + + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { + return typeof o; + } : function (o) { + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; + }, _typeof(o); +} + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js + +function toPrimitive(t, r) { + if ("object" != _typeof(t) || !t) return t; + var e = t[Symbol.toPrimitive]; + if (void 0 !== e) { + var i = e.call(t, r || "default"); + if ("object" != _typeof(i)) return i; + throw new TypeError("@@toPrimitive must return a primitive value."); } + return ("string" === r ? String : Number)(t); +} + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js - return obj; + +function toPropertyKey(t) { + var i = toPrimitive(t, "string"); + return "symbol" == _typeof(i) ? i : i + ""; } + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + +function _defineProperty(e, r, t) { + return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { + value: t, + enumerable: !0, + configurable: !0, + writable: !0 + }) : e[r] = t, e; +} + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return _arrayLikeToArray(arr); +function _arrayWithoutHoles(r) { + if (Array.isArray(r)) return _arrayLikeToArray(r); } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); +function _iterableToArray(r) { + if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js -function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +function _toConsumableArray(r) { + return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); +} + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js + +function ownKeys(e, r) { + var t = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + r && (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), t.push.apply(t, o); + } + return t; +} +function _objectSpread2(e) { + for (var r = 1; r < arguments.length; r++) { + var t = null != arguments[r] ? arguments[r] : {}; + r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { + _defineProperty(e, r, t[r]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { + Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); + }); + } + return e; +} + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js +var es_array_concat = __webpack_require__("99af"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.every.js +var es_array_every = __webpack_require__("a623"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js +var es_array_filter = __webpack_require__("4de4"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js +var es_array_flat = __webpack_require__("0481"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js +var es_array_for_each = __webpack_require__("4160"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js +var es_array_index_of = __webpack_require__("c975"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js +var es_array_map = __webpack_require__("d81d"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js +var es_array_push = __webpack_require__("14d9"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js +var es_array_reduce = __webpack_require__("13d5"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js +var es_array_slice = __webpack_require__("fb6a"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.some.js +var es_array_some = __webpack_require__("45fc"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js +var es_array_sort = __webpack_require__("4e82"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat.js +var es_array_unscopables_flat = __webpack_require__("4069"); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.date.to-json.js +var es_date_to_json = __webpack_require__("f4b3"); -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js +var es_json_stringify = __webpack_require__("e9c4"); - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - if (enumerableOnly) symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - keys.push.apply(keys, symbols); - } +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js +var es_number_constructor = __webpack_require__("a9e3"); - return keys; -} +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js +var es_object_to_string = __webpack_require__("d3b7"); -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js +var es_regexp_exec = __webpack_require__("ac1f"); - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js +var es_string_replace = __webpack_require__("5319"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js +var es_string_trim = __webpack_require__("498a"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js +var web_dom_collections_for_each = __webpack_require__("159b"); - return target; -} // EXTERNAL MODULE: ./node_modules/fuzzysearch/index.js var fuzzysearch = __webpack_require__("2e39"); var fuzzysearch_default = /*#__PURE__*/__webpack_require__.n(fuzzysearch); @@ -4335,11 +5706,9 @@ var createMap = function createMap() { // CONCATENATED MODULE: ./src/utils/quickDiff.js function quickDiff(arrA, arrB) { if (arrA.length !== arrB.length) return true; - for (var i = 0; i < arrA.length; i++) { if (arrA[i] !== arrB[i]) return true; } - return false; } // EXTERNAL MODULE: ./node_modules/lodash/noop.js @@ -4350,15 +5719,12 @@ var noop_default = /*#__PURE__*/__webpack_require__.n(noop); -var warning = true ? -/* istanbul ignore next */ -noop_default.a : undefined; +var warning = true ? /* istanbul ignore next */noop_default.a : undefined; // CONCATENATED MODULE: ./src/utils/find.js function find(arr, predicate, ctx) { for (var i = 0, len = arr.length; i < len; i++) { if (predicate.call(ctx, arr[i], i, arr)) return arr[i]; } - return undefined; } // CONCATENATED MODULE: ./src/utils/onLeftClick.js @@ -4369,7 +5735,6 @@ function onLeftClick(mouseDownHandler) { for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } - mouseDownHandler.call.apply(mouseDownHandler, [this, evt].concat(args)); } }; @@ -4380,7 +5745,6 @@ function scrollIntoView($scrollingEl, $focusedEl) { var scrollingReact = $scrollingEl.getBoundingClientRect(); var focusedRect = $focusedEl.getBoundingClientRect(); var overScroll = $focusedEl.offsetHeight / 3; - if (focusedRect.bottom + overScroll > scrollingReact.bottom) { $scrollingEl.scrollTop = Math.min($focusedEl.offsetTop + $focusedEl.clientHeight - $scrollingEl.offsetHeight + overScroll, $scrollingEl.scrollHeight); } else if (focusedRect.top - overScroll < scrollingReact.top) { @@ -4411,30 +5775,36 @@ function removeFromArray(arr, elem) { } // CONCATENATED MODULE: ./src/constants.js // Magic value that indicates a root level node. -var NO_PARENT_NODE = null; // Types of checked state. +var NO_PARENT_NODE = null; +// Types of checked state. var UNCHECKED = 0; var INDETERMINATE = 1; -var CHECKED = 2; // Types of count number. +var CHECKED = 2; +// Types of count number. var ALL_CHILDREN = 'ALL_CHILDREN'; var ALL_DESCENDANTS = 'ALL_DESCENDANTS'; var LEAF_CHILDREN = 'LEAF_CHILDREN'; -var LEAF_DESCENDANTS = 'LEAF_DESCENDANTS'; // Action types of delayed loading. +var LEAF_DESCENDANTS = 'LEAF_DESCENDANTS'; +// Action types of delayed loading. var LOAD_ROOT_OPTIONS = 'LOAD_ROOT_OPTIONS'; var LOAD_CHILDREN_OPTIONS = 'LOAD_CHILDREN_OPTIONS'; -var ASYNC_SEARCH = 'ASYNC_SEARCH'; // Acceptable values of `valueConsistsOf` prop. +var ASYNC_SEARCH = 'ASYNC_SEARCH'; +// Acceptable values of `valueConsistsOf` prop. var ALL = 'ALL'; var BRANCH_PRIORITY = 'BRANCH_PRIORITY'; var LEAF_PRIORITY = 'LEAF_PRIORITY'; -var ALL_WITH_INDETERMINATE = 'ALL_WITH_INDETERMINATE'; // Acceptable values of `sortValueBy` prop. +var ALL_WITH_INDETERMINATE = 'ALL_WITH_INDETERMINATE'; +// Acceptable values of `sortValueBy` prop. var ORDER_SELECTED = 'ORDER_SELECTED'; var LEVEL = 'LEVEL'; -var INDEX = 'INDEX'; // Key codes look-up table. +var INDEX = 'INDEX'; +// Key codes look-up table. var KEY_CODES = { BACKSPACE: 8, ENTER: 13, @@ -4446,13 +5816,10 @@ var KEY_CODES = { ARROW_RIGHT: 39, ARROW_DOWN: 40, DELETE: 46 -}; // Other constants. +}; -var INPUT_DEBOUNCE_DELAY = false ? -/* to speed up unit testing */ -undefined : -/* istanbul ignore next */ -200; +// Other constants. +var INPUT_DEBOUNCE_DELAY = false ? /* to speed up unit testing */undefined : /* istanbul ignore next */200; var MIN_INPUT_WIDTH = 5; var MENU_BUFFER = 40; // CONCATENATED MODULE: ./src/mixins/treeselectMixin.js @@ -4479,12 +5846,13 @@ var MENU_BUFFER = 40; + + function sortValueByIndex(a, b) { var i = 0; - do { if (a.level < i) return -1; if (b.level < i) return 1; @@ -4492,11 +5860,9 @@ function sortValueByIndex(a, b) { i++; } while (true); } - function sortValueByLevel(a, b) { return a.level === b.level ? sortValueByIndex(a, b) : a.level - b.level; } - function createAsyncOptionsStates() { return { isLoaded: false, @@ -4504,24 +5870,18 @@ function createAsyncOptionsStates() { loadingError: '' }; } - function stringifyOptionPropValue(value) { if (typeof value === 'string') return value; - if (typeof value === 'number' && !isNaN_isNaN(value)) return value + ''; // istanbul ignore next - + if (typeof value === 'number' && !isNaN_isNaN(value)) return value + ''; + // istanbul ignore next return ''; } - function match(enableFuzzyMatch, needle, haystack) { return enableFuzzyMatch ? fuzzysearch_default()(needle, haystack) : includes(haystack, needle); } - function getErrorMessage(err) { - return err.message || - /* istanbul ignore next */ - String(err); + return err.message || /* istanbul ignore next */String(err); } - var instanceId = 0; /* harmony default export */ var treeselectMixin = ({ provide: function provide() { @@ -4539,7 +5899,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * When an ancestor node is selected/deselected, whether its disabled descendants should be selected/deselected. * You may want to use this in conjunction with `allowClearingDisabled` prop. @@ -4548,7 +5907,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Whether the menu should be always open. */ @@ -4556,7 +5914,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Append the menu to ? */ @@ -4564,7 +5921,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Whether to enable async search mode. */ @@ -4572,7 +5928,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Automatically focus the component on mount? */ @@ -4580,7 +5935,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Automatically load root options on mount. When set to `false`, root options will be loaded when the menu is opened. */ @@ -4588,7 +5942,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * When user deselects a node, automatically deselect its ancestors. Applies to flat mode only. */ @@ -4596,7 +5949,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * When user deselects a node, automatically deselect its descendants. Applies to flat mode only. */ @@ -4604,7 +5956,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * When user selects a node, automatically select its ancestors. Applies to flat mode only. */ @@ -4612,7 +5963,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * When user selects a node, automatically select its descendants. Applies to flat mode only. */ @@ -4620,7 +5970,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Whether pressing backspace key removes the last item if there is no text input. */ @@ -4628,7 +5977,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Function that processes before clearing all input fields. * Return `false` to prevent value from being cleared. @@ -4638,7 +5986,6 @@ var instanceId = 0; type: Function, default: constant_default()(true) }, - /** * Show branch nodes before leaf nodes? */ @@ -4646,7 +5993,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Should cache results of every search request? */ @@ -4654,7 +6000,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Show an "×" button that resets value? */ @@ -4662,7 +6007,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Title for the "×" button when `multiple: true`. */ @@ -4670,7 +6014,6 @@ var instanceId = 0; type: String, default: 'Clear all' }, - /** * Whether to clear the search input after selecting. * Use only when `multiple` is `true`. @@ -4680,7 +6023,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Title for the "×" button. */ @@ -4688,7 +6030,6 @@ var instanceId = 0; type: String, default: 'Clear value' }, - /** * Whether to close the menu after selecting an option? * Use only when `multiple` is `true`. @@ -4697,7 +6038,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * How many levels of branch nodes should be automatically expanded when loaded. * Set `Infinity` to make all branch nodes expanded by default. @@ -4706,7 +6046,6 @@ var instanceId = 0; type: Number, default: 0 }, - /** * The default set of options to show before the user starts searching. Used for async search mode. * When set to `true`, the results for search query as a empty string will be autoloaded. @@ -4715,7 +6054,6 @@ var instanceId = 0; defaultOptions: { default: false }, - /** * Whether pressing delete key removes the last item if there is no text input. */ @@ -4723,7 +6061,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Delimiter to use to join multiple values for the hidden field value. */ @@ -4731,7 +6068,6 @@ var instanceId = 0; type: String, default: ',' }, - /** * Only show the nodes that match the search value directly, excluding its ancestors. * @@ -4741,7 +6077,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Prevent branch nodes from being selected? */ @@ -4749,7 +6084,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Disable the control? */ @@ -4757,7 +6091,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Disable the fuzzy matching functionality? */ @@ -4765,7 +6098,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Whether to enable flat mode or not. Non-flat mode (default) means: * - Whenever a branch node gets checked, all its children will be checked too @@ -4776,7 +6108,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Will be passed with all events as the last param. * Useful for identifying events origin. @@ -4788,7 +6119,6 @@ var instanceId = 0; }, type: [String, Number] }, - /** * Joins multiple values into a single form field with the `delimiter` (legacy mode). */ @@ -4796,7 +6126,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Limit the display of selected options. * The rest will be hidden within the limitText string. @@ -4805,7 +6134,6 @@ var instanceId = 0; type: Number, default: Infinity }, - /** * Function that processes the message shown when selected elements pass the defined limit. * @type {function(number): string} @@ -4817,7 +6145,6 @@ var instanceId = 0; return "and ".concat(count, " more"); } }, - /** * Text displayed when loading options. */ @@ -4825,7 +6152,6 @@ var instanceId = 0; type: String, default: 'Loading...' }, - /** * Used for dynamically loading options. * @type {function({action: string, callback: (function((Error|string)=): void), parentNode: node=, instanceId}): void} @@ -4833,7 +6159,6 @@ var instanceId = 0; loadOptions: { type: Function }, - /** * Which node properties to filter on. */ @@ -4841,7 +6166,6 @@ var instanceId = 0; type: Array, default: constant_default()(['label']) }, - /** * Sets `maxHeight` style value of the menu. */ @@ -4849,7 +6173,6 @@ var instanceId = 0; type: Number, default: 300 }, - /** * Set `true` to allow selecting multiple options (a.k.a., multi-select mode). */ @@ -4857,14 +6180,12 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Generates a hidden tag with this field name for html forms. */ name: { type: String }, - /** * Text displayed when a branch node has no children. */ @@ -4872,7 +6193,6 @@ var instanceId = 0; type: String, default: 'No sub-options.' }, - /** * Text displayed when there are no available options. */ @@ -4880,7 +6200,6 @@ var instanceId = 0; type: String, default: 'No options available.' }, - /** * Text displayed when there are no matching search results. */ @@ -4888,7 +6207,6 @@ var instanceId = 0; type: String, default: 'No results found...' }, - /** * Used for normalizing source data. * @type {function(node, instanceId): node} @@ -4897,7 +6215,6 @@ var instanceId = 0; type: Function, default: identity_default.a }, - /** * By default (`auto`), the menu will open below the control. If there is not * enough space, vue-treeselect will automatically flip the menu. @@ -4918,7 +6235,6 @@ var instanceId = 0; return includes(acceptableValues, value); } }, - /** * Whether to automatically open the menu when the control is clicked. */ @@ -4926,7 +6242,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Whether to automatically open the menu when the control is focused. */ @@ -4934,7 +6249,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Array of available options. * @type {node[]} @@ -4942,7 +6256,6 @@ var instanceId = 0; options: { type: Array }, - /** * Field placeholder, displayed when there's no value. */ @@ -4950,7 +6263,6 @@ var instanceId = 0; type: String, default: 'Select...' }, - /** * Applies HTML5 required attribute when needed. */ @@ -4958,7 +6270,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Text displayed asking user whether to retry loading children options. */ @@ -4966,7 +6277,6 @@ var instanceId = 0; type: String, default: 'Retry?' }, - /** * Title for the retry button. */ @@ -4974,7 +6284,6 @@ var instanceId = 0; type: String, default: 'Click to retry' }, - /** * Enable searching feature? */ @@ -4982,7 +6291,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Search in ancestor nodes too. */ @@ -4990,7 +6298,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Text tip to prompt for async search. */ @@ -4998,7 +6305,6 @@ var instanceId = 0; type: String, default: 'Type to search...' }, - /** * Whether to show a children count next to the label of each branch node. */ @@ -5006,7 +6312,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Used in conjunction with `showCount` to specify which type of count number should be displayed. * Acceptable values: @@ -5023,14 +6328,12 @@ var instanceId = 0; return includes(acceptableValues, value); } }, - /** * Whether to show children count when searching. * Fallbacks to the value of `showCount` when not specified. * @type {boolean} */ showCountOnSearch: null, - /** * In which order the selected options should be displayed in trigger & sorted in `value` array. * Used for multi-select mode only. @@ -5047,7 +6350,6 @@ var instanceId = 0; return includes(acceptableValues, value); } }, - /** * Tab index of the control. */ @@ -5055,7 +6357,6 @@ var instanceId = 0; type: Number, default: 0 }, - /** * The value of the control. * Should be `id` or `node` object for single-select mode, or an array of `id` or `node` object for multi-select mode. @@ -5064,7 +6365,6 @@ var instanceId = 0; * @type {?Array} */ modelValue: null, - /** * Which kind of nodes should be included in the `value` array in multi-select mode. * Acceptable values: @@ -5081,7 +6381,6 @@ var instanceId = 0; return includes(acceptableValues, value); } }, - /** * Format of `value` prop. * Note that, when set to `"object"`, only `id` & `label` properties are required in each `node` object in `value` prop. @@ -5093,7 +6392,6 @@ var instanceId = 0; type: String, default: 'id' }, - /** * z-index of the menu. */ @@ -5149,7 +6447,6 @@ var instanceId = 0; }, computed: { /* eslint-disable valid-jsdoc */ - /** * Normalized nodes that have been selected. * @type {node[]} @@ -5157,35 +6454,31 @@ var instanceId = 0; selectedNodes: function selectedNodes() { return this.forest.selectedNodeIds.map(this.getNode); }, - /** * Id list of selected nodes with `sortValueBy` prop applied. * @type {nodeId[]} */ internalValue: function internalValue() { var _this = this; + var internalValue; - var internalValue; // istanbul ignore else - + // istanbul ignore else if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) { internalValue = this.forest.selectedNodeIds.slice(); } else if (this.valueConsistsOf === BRANCH_PRIORITY) { internalValue = this.forest.selectedNodeIds.filter(function (id) { var node = _this.getNode(id); - if (node.isRootNode) return true; return !_this.isSelected(node.parentNode); }); } else if (this.valueConsistsOf === LEAF_PRIORITY) { internalValue = this.forest.selectedNodeIds.filter(function (id) { var node = _this.getNode(id); - if (node.isLeaf) return true; return node.children.length === 0; }); } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) { var _internalValue; - var indeterminateNodeIds = []; internalValue = this.forest.selectedNodeIds.slice(); this.selectedNodes.forEach(function (selectedNode) { @@ -5195,10 +6488,8 @@ var instanceId = 0; indeterminateNodeIds.push(ancestor.id); }); }); - (_internalValue = internalValue).push.apply(_internalValue, indeterminateNodeIds); } - if (this.sortValueBy === LEVEL) { internalValue.sort(function (a, b) { return sortValueByLevel(_this.getNode(a), _this.getNode(b)); @@ -5208,10 +6499,8 @@ var instanceId = 0; return sortValueByIndex(_this.getNode(a), _this.getNode(b)); }); } - return internalValue; }, - /** * Has any option been selected? * @type {boolean} @@ -5219,7 +6508,6 @@ var instanceId = 0; hasValue: function hasValue() { return this.internalValue.length > 0; }, - /** * Single-select mode? * @type {boolean} @@ -5227,7 +6515,6 @@ var instanceId = 0; single: function single() { return !this.multiple; }, - /** * Id list of nodes displayed in the menu. Nodes that are considered NOT visible: * - descendants of a collapsed branch node @@ -5238,21 +6525,18 @@ var instanceId = 0; */ visibleOptionIds: function visibleOptionIds() { var _this2 = this; - var visibleOptionIds = []; this.traverseAllNodesByIndex(function (node) { if (!_this2.localSearch.active || _this2.shouldOptionBeIncludedInSearchResult(node)) { visibleOptionIds.push(node.id); - } // Skip the traversal of descendants of a branch node if it's not expanded. - - + } + // Skip the traversal of descendants of a branch node if it's not expanded. if (node.isBranch && !_this2.shouldExpand(node)) { return false; } }); return visibleOptionIds; }, - /** * Has any option should be displayed in the menu? * @type {boolean} @@ -5260,7 +6544,6 @@ var instanceId = 0; hasVisibleOptions: function hasVisibleOptions() { return this.visibleOptionIds.length !== 0; }, - /** * Should show children count when searching? * @type {boolean} @@ -5271,7 +6554,6 @@ var instanceId = 0; // https://github.com/vuejs/vue/issues/6358 return typeof this.showCountOnSearch === 'boolean' ? this.showCountOnSearch : this.showCount; }, - /** * Is there any branch node? * @type {boolean} @@ -5283,9 +6565,7 @@ var instanceId = 0; }, shouldFlattenOptions: function shouldFlattenOptions() { return this.localSearch.active && this.flattenSearchResults; - } - /* eslint-enable valid-jsdoc */ - + } /* eslint-enable valid-jsdoc */ }, watch: { alwaysOpen: function alwaysOpen(newValue) { @@ -5302,10 +6582,10 @@ var instanceId = 0; this.initialize(); }, internalValue: function internalValue(newValue, oldValue) { - var hasChanged = quickDiff(newValue, oldValue); // #122 + var hasChanged = quickDiff(newValue, oldValue); + // #122 // Vue would trigger this watcher when `newValue` and `oldValue` are shallow-equal. // We emit the `input` event only when the value actually changes. - if (hasChanged) this.$emit('update:modelValue', this.getValue(), this.getInstanceId()); }, matchKeys: function matchKeys() { @@ -5319,8 +6599,8 @@ var instanceId = 0; }, options: { handler: function handler() { - if (this.async) return; // Re-initialize options when the `options` prop has changed. - + if (this.async) return; + // Re-initialize options when the `options` prop has changed. this.initialize(); this.rootOptionsStates.isLoaded = Array.isArray(this.options); }, @@ -5333,7 +6613,6 @@ var instanceId = 0; } else { this.handleLocalSearch(); } - this.$emit('search-change', this.trigger.searchQuery, this.getInstanceId()); }, value: function value() { @@ -5345,13 +6624,11 @@ var instanceId = 0; methods: { verifyProps: function verifyProps() { var _this3 = this; - warning(function () { return _this3.async ? _this3.searchable : true; }, function () { return 'For async search mode, the value of "searchable" prop must be true.'; }); - if (this.options == null && !this.loadOptions) { warning(function () { return false; @@ -5359,7 +6636,6 @@ var instanceId = 0; return 'Are you meant to dynamically load options? You need to use "loadOptions" prop.'; }); } - if (this.flat) { warning(function () { return _this3.multiple; @@ -5367,7 +6643,6 @@ var instanceId = 0; return 'You are using flat mode. But you forgot to add "multiple=true"?'; }); } - if (!this.flat) { var propNames = ['autoSelectAncestors', 'autoSelectDescendants', 'autoDeselectAncestors', 'autoDeselectDescendants']; propNames.forEach(function (propName) { @@ -5384,19 +6659,18 @@ var instanceId = 0; }, initialize: function initialize() { var options = this.async ? this.getRemoteSearchEntry().options : this.options; - if (Array.isArray(options)) { // In case we are re-initializing options, keep the old state tree temporarily. var prevNodeMap = this.forest.nodeMap; this.forest.nodeMap = createMap(); this.keepDataOfSelectedNodes(prevNodeMap); - this.forest.normalizedOptions = this.normalize(NO_PARENT_NODE, options, prevNodeMap); // Cases that need fixing `selectedNodeIds`: + this.forest.normalizedOptions = this.normalize(NO_PARENT_NODE, options, prevNodeMap); + // Cases that need fixing `selectedNodeIds`: // 1) Children options of a checked node have been delayed loaded, // we should also mark these children as checked. (multi-select mode) // 2) Root options have been delayed loaded, we need to initialize states // of these nodes. (multi-select mode) // 3) Async search mode. - this.fixSelectedNodeIds(this.internalValue); } else { this.forest.normalizedOptions = []; @@ -5407,11 +6681,9 @@ var instanceId = 0; }, getValue: function getValue() { var _this4 = this; - if (this.valueFormat === 'id') { return this.multiple ? this.internalValue.slice() : this.internalValue[0]; } - var rawNodes = this.internalValue.map(function (id) { return _this4.getNode(id).raw; }); @@ -5430,6 +6702,7 @@ var instanceId = 0; // In case there is a default selected node that is not loaded into the tree yet, // we create a fallback node to keep the component working. // When the real data is loaded, we'll override this fake node. + var raw = this.extractNodeFromValue(id); var label = this.enhancedNormalizer(raw).label || "".concat(id, " (unknown)"); var fallbackNode = { @@ -5442,22 +6715,21 @@ var instanceId = 0; isLeaf: true, isBranch: false, isDisabled: false, + childrenIgnoreDisabled: false, isNew: false, index: [-1], level: 0, raw: raw }; - return this.forest.nodeMap[id] = fallbackNode; // return this.$ set(this.forest.nodeMap, id, fallbackNode) + return this.forest.nodeMap[id] = fallbackNode; + // return this.$ set(this.forest.nodeMap, id, fallbackNode) }, extractCheckedNodeIdsFromValue: function extractCheckedNodeIdsFromValue() { var _this5 = this; - if (this.modelValue == null) return []; - if (this.valueFormat === 'id') { return this.multiple ? this.modelValue.slice() : [this.modelValue]; } - return (this.multiple ? this.modelValue : [this.modelValue]).map(function (node) { return _this5.enhancedNormalizer(node); }).map(function (node) { @@ -5466,15 +6738,12 @@ var instanceId = 0; }, extractNodeFromValue: function extractNodeFromValue(id) { var _this6 = this; - var defaultNode = { id: id }; - if (this.valueFormat === 'id') { return defaultNode; } - var valueArray = this.multiple ? Array.isArray(this.modelValue) ? this.modelValue : [] : this.modelValue ? [this.modelValue] : []; var matched = find(valueArray, function (node) { return node && _this6.enhancedNormalizer(node).id === id; @@ -5483,17 +6752,15 @@ var instanceId = 0; }, fixSelectedNodeIds: function fixSelectedNodeIds(nodeIdListOfPrevValue) { var _this7 = this; + var nextSelectedNodeIds = []; - var nextSelectedNodeIds = []; // istanbul ignore else - + // istanbul ignore else if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) { nextSelectedNodeIds = nodeIdListOfPrevValue; } else if (this.valueConsistsOf === BRANCH_PRIORITY) { nodeIdListOfPrevValue.forEach(function (nodeId) { nextSelectedNodeIds.push(nodeId); - var node = _this7.getNode(nodeId); - if (node.isBranch) _this7.traverseDescendantsBFS(node, function (descendant) { nextSelectedNodeIds.push(descendant.id); }); @@ -5501,7 +6768,6 @@ var instanceId = 0; } else if (this.valueConsistsOf === LEAF_PRIORITY) { var map = createMap(); var queue = nodeIdListOfPrevValue.slice(); - while (queue.length) { var nodeId = queue.shift(); var node = this.getNode(nodeId); @@ -5512,45 +6778,36 @@ var instanceId = 0; } } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) { var _map = createMap(); - var _queue = nodeIdListOfPrevValue.filter(function (nodeId) { var node = _this7.getNode(nodeId); - return node.isLeaf || node.children.length === 0; }); - while (_queue.length) { var _nodeId = _queue.shift(); - var _node = this.getNode(_nodeId); - nextSelectedNodeIds.push(_nodeId); if (_node.isRootNode) continue; if (!(_node.parentNode.id in _map)) _map[_node.parentNode.id] = _node.parentNode.children.length; if (--_map[_node.parentNode.id] === 0) _queue.push(_node.parentNode.id); } } - - var hasChanged = quickDiff(this.forest.selectedNodeIds, nextSelectedNodeIds); // If `nextSelectedNodeIds` doesn't actually differ from old `selectedNodeIds`, + var hasChanged = quickDiff(this.forest.selectedNodeIds, nextSelectedNodeIds); + // If `nextSelectedNodeIds` doesn't actually differ from old `selectedNodeIds`, // we don't make the assignment to avoid triggering its watchers which may cause // unnecessary calculations. - if (hasChanged) this.forest.selectedNodeIds = nextSelectedNodeIds; this.buildForestState(); }, keepDataOfSelectedNodes: function keepDataOfSelectedNodes(prevNodeMap) { var _this8 = this; - // In case there is any selected node that is not present in the new `options` array. // It could be useful for async search mode. this.forest.selectedNodeIds.forEach(function (id) { if (!prevNodeMap[id]) return; - var node = _objectSpread2(_objectSpread2({}, prevNodeMap[id]), {}, { isFallbackNode: true - }); // this.$ set(this.forest.nodeMap, id, node) - - + }); + // this.$ set(this.forest.nodeMap, id, node) _this8.forest.nodeMap[id] = node; }); }, @@ -5562,7 +6819,6 @@ var instanceId = 0; // istanbul ignore if if (!parentNode.isBranch) return; var queue = parentNode.children.slice(); - while (queue.length) { var currNode = queue[0]; if (currNode.isBranch) queue.push.apply(queue, _toConsumableArray(currNode.children)); @@ -5572,22 +6828,18 @@ var instanceId = 0; }, traverseDescendantsDFS: function traverseDescendantsDFS(parentNode, callback) { var _this9 = this; - if (!parentNode.isBranch) return; parentNode.children.forEach(function (child) { // deep-level node first _this9.traverseDescendantsDFS(child, callback); - callback(child); }); }, traverseAllNodesDFS: function traverseAllNodesDFS(callback) { var _this10 = this; - this.forest.normalizedOptions.forEach(function (rootNode) { // deep-level node first _this10.traverseDescendantsDFS(rootNode, callback); - callback(rootNode); }); }, @@ -5598,10 +6850,10 @@ var instanceId = 0; walk(child); } }); - }; // To simplify the code logic of traversal, - // we create a fake root node that holds all the root options. - + }; + // To simplify the code logic of traversal, + // we create a fake root node that holds all the root options. walk({ children: this.forest.normalizedOptions }); @@ -5630,18 +6882,15 @@ var instanceId = 0; evt.stopPropagation(); if (this.disabled) return; var isClickedOnValueContainer = this.getValueContainer().$el.contains(evt.target); - if (isClickedOnValueContainer && !this.menu.isOpen && (this.openOnClick || this.trigger.isFocused)) { this.openMenu(); } - if (this._blurOnSelect) { this.blurInput(); } else { // Focus the input or prevent blurring. this.focusInput(); } - this.resetFlags(); }), handleClickOutside: function handleClickOutside(evt) { @@ -5653,32 +6902,30 @@ var instanceId = 0; }, handleLocalSearch: function handleLocalSearch() { var _this11 = this; - var searchQuery = this.trigger.searchQuery; - var done = function done() { return _this11.resetHighlightedOptionWhenNecessary(true); }; - if (!searchQuery) { // Exit sync search mode. this.localSearch.active = false; return done(); - } // Enter sync search mode. - + } - this.localSearch.active = true; // Reset states. + // Enter sync search mode. + this.localSearch.active = true; + // Reset states. this.localSearch.noResults = true; this.traverseAllNodesDFS(function (node) { if (node.isBranch) { - var _this11$localSearch$c; - node.isExpandedOnSearch = false; node.showAllChildrenOnSearch = false; node.isMatched = false; node.hasMatchedDescendants = false; - _this11.localSearch.countMap[node.id] = (_this11$localSearch$c = {}, _defineProperty(_this11$localSearch$c, ALL_CHILDREN, 0), _defineProperty(_this11$localSearch$c, ALL_DESCENDANTS, 0), _defineProperty(_this11$localSearch$c, LEAF_CHILDREN, 0), _defineProperty(_this11$localSearch$c, LEAF_DESCENDANTS, 0), _this11$localSearch$c); // this.$ set(this.localSearch.countMap, node.id, { + _this11.localSearch.countMap[node.id] = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ALL_CHILDREN, 0), ALL_DESCENDANTS, 0), LEAF_CHILDREN, 0), LEAF_DESCENDANTS, 0); + + // this.$ set(this.localSearch.countMap, node.id, { // [ALL_CHILDREN]: 0, // [ALL_DESCENDANTS]: 0, // [LEAF_CHILDREN]: 0, @@ -5698,7 +6945,6 @@ var instanceId = 0; return match(!_this11.disableFuzzyMatching, lowerCasedSearchQuery, node.lowerCased[matchKey]); }); } - if (node.isMatched) { _this11.localSearch.noResults = false; node.ancestors.forEach(function (ancestor) { @@ -5707,14 +6953,12 @@ var instanceId = 0; if (node.isLeaf) node.ancestors.forEach(function (ancestor) { return _this11.localSearch.countMap[ancestor.id][LEAF_DESCENDANTS]++; }); - if (node.parentNode !== NO_PARENT_NODE) { - _this11.localSearch.countMap[node.parentNode.id][ALL_CHILDREN] += 1; // istanbul ignore else - + _this11.localSearch.countMap[node.parentNode.id][ALL_CHILDREN] += 1; + // istanbul ignore else if (node.isLeaf) _this11.localSearch.countMap[node.parentNode.id][LEAF_CHILDREN] += 1; } } - if ((node.isMatched || node.isBranch && node.isExpandedOnSearch) && node.parentNode !== NO_PARENT_NODE) { node.parentNode.isExpandedOnSearch = true; node.parentNode.hasMatchedDescendants = true; @@ -5724,20 +6968,15 @@ var instanceId = 0; }, handleRemoteSearch: function handleRemoteSearch() { var _this12 = this; - var searchQuery = this.trigger.searchQuery; var entry = this.getRemoteSearchEntry(); - var done = function done() { _this12.initialize(); - _this12.resetHighlightedOptionWhenNecessary(true); }; - if ((searchQuery === '' || this.cacheOptions) && entry.isLoaded) { return done(); } - this.callLoadOptionsProp({ action: ASYNC_SEARCH, args: { @@ -5753,9 +6992,9 @@ var instanceId = 0; }, succeed: function succeed(options) { entry.isLoaded = true; - entry.options = options; // When the request completes, the search query may have changed. + entry.options = options; + // When the request completes, the search query may have changed. // We only show these options if they are for the current search query. - if (_this12.trigger.searchQuery === searchQuery) done(); }, fail: function fail(err) { @@ -5768,14 +7007,12 @@ var instanceId = 0; }, getRemoteSearchEntry: function getRemoteSearchEntry() { var _this13 = this; - var searchQuery = this.trigger.searchQuery; - var entry = this.remoteSearch[searchQuery] || _objectSpread2(_objectSpread2({}, createAsyncOptionsStates()), {}, { options: [] - }); // Vue doesn't support directly watching on objects. - + }); + // Vue doesn't support directly watching on objects. this.$watch(function () { return entry.options; }, function () { @@ -5784,7 +7021,6 @@ var instanceId = 0; }, { deep: true }); - if (searchQuery === '') { if (Array.isArray(this.defaultOptions)) { entry.options = this.defaultOptions; @@ -5795,12 +7031,10 @@ var instanceId = 0; return entry; } } - if (!this.remoteSearch[searchQuery]) { // this.$ set(this.remoteSearch, searchQuery, entry) this.remoteSearch[searchQuery] = entry; } - return entry; }, shouldExpand: function shouldExpand(node) { @@ -5808,20 +7042,19 @@ var instanceId = 0; }, shouldOptionBeIncludedInSearchResult: function shouldOptionBeIncludedInSearchResult(node) { // 1) This option is matched. - if (node.isMatched) return true; // 2) This option is not matched, but has matched descendant(s). - - if (node.isBranch && node.hasMatchedDescendants && !this.flattenSearchResults) return true; // 3) This option's parent has no matched descendants, + if (node.isMatched) return true; + // 2) This option is not matched, but has matched descendant(s). + if (node.isBranch && node.hasMatchedDescendants && !this.flattenSearchResults) return true; + // 3) This option's parent has no matched descendants, // but after being expanded, all its children should be shown. - - if (!node.isRootNode && node.parentNode.showAllChildrenOnSearch) return true; // 4) The default case. - + if (!node.isRootNode && node.parentNode.showAllChildrenOnSearch) return true; + // 4) The default case. return false; }, shouldShowOptionInMenu: function shouldShowOptionInMenu(node) { if (this.localSearch.active && !this.shouldOptionBeIncludedInSearchResult(node)) { return false; } - return true; }, getControl: function getControl() { @@ -5833,18 +7066,33 @@ var instanceId = 0; return $menu && $menu.nodeName !== '#comment' ? $menu : null; }, setCurrentHighlightedOption: function setCurrentHighlightedOption(node) { + var _this14 = this; + var scroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; var prev = this.menu.current; - if (prev != null && prev in this.forest.nodeMap) { this.forest.nodeMap[prev].isHighlighted = false; } + this.menu.current = node.id; + node.isHighlighted = true; + if (this.menu.isOpen && scroll) { + var scrollToOption = function scrollToOption() { + var $menu = _this14.getMenu(); + var $option = $menu.querySelector(".vue-treeselect__option[data-id=\"".concat(node.id, "\"]")); + if ($option) scrollIntoView($menu, $option); + }; - this.menu.current = node?.id; + // In case `openMenu()` is just called and the menu is not rendered yet. + if (this.getMenu()) { + scrollToOption(); + } else { + // istanbul ignore next + this.$nextTick(scrollToOption); + } + } }, resetHighlightedOptionWhenNecessary: function resetHighlightedOptionWhenNecessary() { var forceReset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var current = this.menu.current; - if (forceReset || current == null || !(current in this.forest.nodeMap) || !this.shouldShowOptionInMenu(this.getNode(current))) { this.highlightFirstOption(); } @@ -5900,35 +7148,30 @@ var instanceId = 0; }, toggleExpanded: function toggleExpanded(node) { var nextState; - if (this.localSearch.active) { nextState = node.isExpandedOnSearch = !node.isExpandedOnSearch; if (nextState) node.showAllChildrenOnSearch = true; } else { nextState = node.isExpanded = !node.isExpanded; } - if (nextState && !node.childrenStates.isLoaded) { this.loadChildrenOptions(node); } }, buildForestState: function buildForestState() { var _this15 = this; - var selectedNodeMap = createMap(); this.forest.selectedNodeIds.forEach(function (selectedNodeId) { selectedNodeMap[selectedNodeId] = true; }); this.forest.selectedNodeMap = selectedNodeMap; var checkedStateMap = createMap(); - if (this.multiple) { this.traverseAllNodesByIndex(function (node) { checkedStateMap[node.id] = UNCHECKED; }); this.selectedNodes.forEach(function (selectedNode) { checkedStateMap[selectedNode.id] = CHECKED; - if (!_this15.flat && !_this15.disableBranchNodes) { selectedNode.ancestors.forEach(function (ancestorNode) { if (!_this15.isSelected(ancestorNode)) { @@ -5938,7 +7181,6 @@ var instanceId = 0; } }); } - this.forest.checkedStateMap = checkedStateMap; }, enhancedNormalizer: function enhancedNormalizer(raw) { @@ -5946,35 +7188,31 @@ var instanceId = 0; }, normalize: function normalize(parentNode, nodes, prevNodeMap) { var _this16 = this; - var normalizedOptions = nodes.map(function (node) { return [_this16.enhancedNormalizer(node), node]; }).map(function (_ref, index) { var _ref2 = _slicedToArray(_ref, 2), - node = _ref2[0], - raw = _ref2[1]; - + node = _ref2[0], + raw = _ref2[1]; _this16.checkDuplication(node); - _this16.verifyNodeShape(node); - var id = node.id, - label = node.label, - children = node.children, - isDefaultExpanded = node.isDefaultExpanded; + label = node.label, + children = node.children, + isDefaultExpanded = node.isDefaultExpanded; var isRootNode = parentNode === NO_PARENT_NODE; var level = isRootNode ? 0 : parentNode.level + 1; var isBranch = Array.isArray(children) || children === null; var isLeaf = !isBranch; - var isDisabled = !!node.isDisabled || !_this16.flat && !isRootNode && parentNode.isDisabled; + var childrenIgnoreDisabled = node.childrenIgnoreDisabled; + var isDisabled = !!node.isDisabled || !_this16.flat && !isRootNode && parentNode.isDisabled && !parentNode.childrenIgnoreDisabled; var isNew = !!node.isNew; - var lowerCased = _this16.matchKeys.reduce(function (prev, key) { return _objectSpread2(_objectSpread2({}, prev), {}, _defineProperty({}, key, stringifyOptionPropValue(node[key]).toLocaleLowerCase())); }, {}); + var nestedSearchLabel = isRootNode ? lowerCased.label : parentNode.nestedSearchLabel + ' ' + lowerCased.label; - var nestedSearchLabel = isRootNode ? lowerCased.label : parentNode.nestedSearchLabel + ' ' + lowerCased.label; // this.$ set(this.forest.nodeMap, id, createMap()) - + // this.$ set(this.forest.nodeMap, id, createMap()) _this16.forest.nodeMap[id] = createMap(); var normalized = _this16.forest.nodeMap[id]; normalized.id = id; @@ -5985,6 +7223,7 @@ var instanceId = 0; normalized.parentNode = parentNode; normalized.lowerCased = lowerCased; normalized.nestedSearchLabel = nestedSearchLabel; + normalized.childrenIgnoreDisabled = childrenIgnoreDisabled; normalized.isDisabled = isDisabled; normalized.isNew = isNew; normalized.isMatched = false; @@ -5992,7 +7231,9 @@ var instanceId = 0; normalized.isBranch = isBranch; normalized.isLeaf = isLeaf; normalized.isRootNode = isRootNode; - normalized.raw = raw; // this.$ set(normalized, 'id', id) + normalized.raw = raw; + + // this.$ set(normalized, 'id', id) // this.$ set(normalized, 'label', label) // this.$ set(normalized, 'level', level) // this.$ set(normalized, 'ancestors', isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors)) @@ -6010,20 +7251,22 @@ var instanceId = 0; // this.$ set(normalized, 'raw', raw) if (isBranch) { - var _normalized$count; + var isLoaded = Array.isArray(children); - var isLoaded = Array.isArray(children); // this.$ set(normalized, 'childrenStates', { + // this.$ set(normalized, 'childrenStates', { // ...createAsyncOptionsStates(), // isLoaded, // }) - normalized.childrenStates = _objectSpread2(_objectSpread2({}, createAsyncOptionsStates()), {}, { isLoaded: isLoaded - }); // this.$ set(normalized, 'isExpanded', typeof isDefaultExpanded === 'boolean' + }); + + // this.$ set(normalized, 'isExpanded', typeof isDefaultExpanded === 'boolean' // ? isDefaultExpanded // : level < this.defaultExpandLevel) + normalized.isExpanded = typeof isDefaultExpanded === 'boolean' ? isDefaultExpanded : level < _this16.defaultExpandLevel; - normalized.isExpanded = typeof isDefaultExpanded === 'boolean' ? isDefaultExpanded : level < _this16.defaultExpandLevel; // this.$ set(normalized, 'hasMatchedDescendants', false) + // this.$ set(normalized, 'hasMatchedDescendants', false) // this.$ set(normalized, 'hasDisabledDescendants', false) // this.$ set(normalized, 'isExpandedOnSearch', false) // this.$ set(normalized, 'showAllChildrenOnSearch', false) @@ -6036,20 +7279,19 @@ var instanceId = 0; // this.$ set(normalized, 'children', isLoaded // ? this.normalize(normalized, children, prevNodeMap) // : []) - normalized.hasMatchedDescendants = false; normalized.hasDisabledDescendants = false; normalized.isExpandedOnSearch = false; normalized.showAllChildrenOnSearch = false; - normalized.count = (_normalized$count = {}, _defineProperty(_normalized$count, ALL_CHILDREN, 0), _defineProperty(_normalized$count, ALL_DESCENDANTS, 0), _defineProperty(_normalized$count, LEAF_CHILDREN, 0), _defineProperty(_normalized$count, LEAF_DESCENDANTS, 0), _normalized$count); // this.$ set(normalized, 'children', isLoaded + normalized.count = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ALL_CHILDREN, 0), ALL_DESCENDANTS, 0), LEAF_CHILDREN, 0), LEAF_DESCENDANTS, 0); + + // this.$ set(normalized, 'children', isLoaded // ? this.normalize(normalized, children, prevNodeMap) // : []) - normalized.children = isLoaded ? _this16.normalize(normalized, children, prevNodeMap) : []; if (isDefaultExpanded === true) normalized.ancestors.forEach(function (ancestor) { ancestor.isExpanded = true; }); - if (!isLoaded && typeof _this16.loadOptions !== 'function') { warning(function () { return false; @@ -6060,46 +7302,42 @@ var instanceId = 0; _this16.loadChildrenOptions(normalized); } } - normalized.ancestors.forEach(function (ancestor) { return ancestor.count[ALL_DESCENDANTS]++; }); if (isLeaf) normalized.ancestors.forEach(function (ancestor) { return ancestor.count[LEAF_DESCENDANTS]++; }); - if (!isRootNode) { parentNode.count[ALL_CHILDREN] += 1; if (isLeaf) parentNode.count[LEAF_CHILDREN] += 1; if (isDisabled) parentNode.hasDisabledDescendants = true; - } // Preserve previous states. - + } + // Preserve previous states. if (prevNodeMap && prevNodeMap[id]) { var prev = prevNodeMap[id]; normalized.isMatched = prev.isMatched; normalized.showAllChildrenOnSearch = prev.showAllChildrenOnSearch; normalized.isHighlighted = prev.isHighlighted; - if (prev.isBranch && normalized.isBranch) { normalized.isExpanded = prev.isExpanded; - normalized.isExpandedOnSearch = prev.isExpandedOnSearch; // #97 + normalized.isExpandedOnSearch = prev.isExpandedOnSearch; + // #97 // If `isLoaded` was true, but IS NOT now, we consider this branch node // to be reset to unloaded state by the user of this component. - if (prev.childrenStates.isLoaded && !normalized.childrenStates.isLoaded) { // Make sure the node is collapsed, then the user can load its // children again (by expanding). - normalized.isExpanded = false; // We have reset `childrenStates` and don't want to preserve states here. + normalized.isExpanded = false; + // We have reset `childrenStates` and don't want to preserve states here. } else { normalized.childrenStates = _objectSpread2({}, prev.childrenStates); } } } - return normalized; }); - if (this.branchNodesFirst) { var branchNodes = normalizedOptions.filter(function (option) { return option.isBranch; @@ -6109,12 +7347,10 @@ var instanceId = 0; }); normalizedOptions = branchNodes.concat(leafNodes); } - return normalizedOptions; }, loadRootOptions: function loadRootOptions() { var _this17 = this; - this.callLoadOptionsProp({ action: LOAD_ROOT_OPTIONS, isPending: function isPending() { @@ -6125,8 +7361,8 @@ var instanceId = 0; _this17.rootOptionsStates.loadingError = ''; }, succeed: function succeed() { - _this17.rootOptionsStates.isLoaded = true; // Wait for `options` being re-initialized. - + _this17.rootOptionsStates.isLoaded = true; + // Wait for `options` being re-initialized. _this17.$nextTick(function () { _this17.resetHighlightedOptionWhenNecessary(true); }); @@ -6141,11 +7377,11 @@ var instanceId = 0; }, loadChildrenOptions: function loadChildrenOptions(parentNode) { var _this18 = this; - // The options may be re-initialized anytime during the loading process. // So `parentNode` can be stale and we use `getNode()` to avoid that. + var id = parentNode.id, - raw = parentNode.raw; + raw = parentNode.raw; this.callLoadOptionsProp({ action: LOAD_CHILDREN_OPTIONS, args: { @@ -6175,17 +7411,15 @@ var instanceId = 0; }, callLoadOptionsProp: function callLoadOptionsProp(_ref3) { var action = _ref3.action, - args = _ref3.args, - isPending = _ref3.isPending, - start = _ref3.start, - succeed = _ref3.succeed, - fail = _ref3.fail, - end = _ref3.end; - + args = _ref3.args, + isPending = _ref3.isPending, + start = _ref3.start, + succeed = _ref3.succeed, + fail = _ref3.fail, + end = _ref3.end; if (!this.loadOptions || isPending()) { return; } - start(); var callback = once_default()(function (err, result) { if (err) { @@ -6193,7 +7427,6 @@ var instanceId = 0; } else { succeed(result); } - end(); }); var result = this.loadOptions(_objectSpread2(_objectSpread2({ @@ -6203,7 +7436,6 @@ var instanceId = 0; }, args), {}, { callback: callback })); - if (is_promise_default()(result)) { result.then(function () { callback(); @@ -6217,7 +7449,6 @@ var instanceId = 0; }, checkDuplication: function checkDuplication(node) { var _this19 = this; - warning(function () { return !(node.id in _this19.forest.nodeMap && !_this19.forest.nodeMap[node.id].isFallbackNode); }, function () { @@ -6235,34 +7466,28 @@ var instanceId = 0; if (this.disabled || node.isDisabled) { return; } - if (this.single) { this.clear(); } - var nextState = this.multiple && !this.flat ? this.forest.checkedStateMap[node.id] === UNCHECKED : !this.isSelected(node); - if (nextState) { this._selectNode(node); } else { this._deselectNode(node); } - this.buildForestState(); - if (nextState) { this.$emit('select', node.raw, this.getInstanceId()); } else { this.$emit('deselect', node.raw, this.getInstanceId()); } - if (this.localSearch.active && nextState && (this.single || this.clearOnSelect)) { this.resetSearchQuery(); } - if (this.single && this.closeOnSelect) { - this.closeMenu(); // istanbul ignore else + this.closeMenu(); + // istanbul ignore else if (this.searchable) { this._blurOnSelect = true; } @@ -6270,32 +7495,25 @@ var instanceId = 0; }, clear: function clear() { var _this20 = this; - if (this.hasValue) { if (this.single || this.allowClearingDisabled) { this.forest.selectedNodeIds = []; - } else - /* if (this.multiple && !this.allowClearingDisabled) */ - { + } else /* if (this.multiple && !this.allowClearingDisabled) */{ this.forest.selectedNodeIds = this.forest.selectedNodeIds.filter(function (nodeId) { return _this20.getNode(nodeId).isDisabled; }); } - this.buildForestState(); } }, // This is meant to be called only by `select()`. _selectNode: function _selectNode(node) { var _this21 = this; - if (this.single || this.disableBranchNodes) { return this.addValue(node); } - if (this.flat) { this.addValue(node); - if (this.autoSelectAncestors) { node.ancestors.forEach(function (ancestor) { if (!_this21.isSelected(ancestor) && !ancestor.isDisabled) _this21.addValue(ancestor); @@ -6305,20 +7523,12 @@ var instanceId = 0; if (!_this21.isSelected(descendant) && !descendant.isDisabled) _this21.addValue(descendant); }); } - return; } - - var isFullyChecked = node.isLeaf || - /* node.isBranch && */ - !node.hasDisabledDescendants || - /* node.isBranch && */ - this.allowSelectingDisabledDescendants; - + var isFullyChecked = node.isLeaf || ( /* node.isBranch && */!node.hasDisabledDescendants) || ( /* node.isBranch && */this.allowSelectingDisabledDescendants); if (isFullyChecked) { this.addValue(node); } - if (node.isBranch) { this.traverseDescendantsBFS(node, function (descendant) { if (!descendant.isDisabled || _this21.allowSelectingDisabledDescendants) { @@ -6326,26 +7536,21 @@ var instanceId = 0; } }); } - if (isFullyChecked) { var curr = node; - while ((curr = curr.parentNode) !== NO_PARENT_NODE) { - if (curr.children.every(this.isSelected)) this.addValue(curr);else break; + if (curr.children.every(this.isSelected) && !curr.childrenIgnoreDisabled) this.addValue(curr);else break; } } }, // This is meant to be called only by `select()`. _deselectNode: function _deselectNode(node) { var _this22 = this; - if (this.disableBranchNodes) { return this.removeValue(node); } - if (this.flat) { this.removeValue(node); - if (this.autoDeselectAncestors) { node.ancestors.forEach(function (ancestor) { if (_this22.isSelected(ancestor) && !ancestor.isDisabled) _this22.removeValue(ancestor); @@ -6355,30 +7560,20 @@ var instanceId = 0; if (_this22.isSelected(descendant) && !descendant.isDisabled) _this22.removeValue(descendant); }); } - return; } - var hasUncheckedSomeDescendants = false; - if (node.isBranch) { this.traverseDescendantsDFS(node, function (descendant) { if (!descendant.isDisabled || _this22.allowSelectingDisabledDescendants) { _this22.removeValue(descendant); - hasUncheckedSomeDescendants = true; } }); } - - if (node.isLeaf || - /* node.isBranch && */ - hasUncheckedSomeDescendants || - /* node.isBranch && */ - node.children.length === 0) { + if (node.isLeaf || /* node.isBranch && */hasUncheckedSomeDescendants || /* node.isBranch && */node.children.length === 0) { this.removeValue(node); var curr = node; - while ((curr = curr.parentNode) !== NO_PARENT_NODE) { if (this.isSelected(curr)) this.removeValue(curr);else break; } @@ -6400,13 +7595,13 @@ var instanceId = 0; this.select(lastSelectedNode); // deselect }, saveMenuScrollPosition: function saveMenuScrollPosition() { - var $menu = this.getMenu(); // istanbul ignore else - + var $menu = this.getMenu(); + // istanbul ignore else if ($menu) this.menu.lastScrollPosition = $menu.scrollTop; }, restoreMenuScrollPosition: function restoreMenuScrollPosition() { - var $menu = this.getMenu(); // istanbul ignore else - + var $menu = this.getMenu(); + // istanbul ignore else if ($menu) $menu.scrollTop = this.menu.lastScrollPosition; } }, @@ -6428,21 +7623,21 @@ var instanceId = 0; // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.join.js var es_array_join = __webpack_require__("a15b"); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/HiddenFields.vue?vue&type=script&lang=js +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/HiddenFields.vue?vue&type=script&lang=js -function stringifyValue(value) { - if (typeof value === 'string') return value; // istanbul ignore else - - if (value != null && !isNaN_isNaN(value)) return JSON.stringify(value); // istanbul ignore next +function stringifyValue(value) { + if (typeof value === 'string') return value; + // istanbul ignore else + if (value != null && !isNaN_isNaN(value)) return JSON.stringify(value); + // istanbul ignore next return ''; } - /* harmony default export */ var HiddenFieldsvue_type_script_lang_js = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ name: 'vue-treeselect--hidden-fields', inject: ['instance'], @@ -6467,9 +7662,11 @@ function stringifyValue(value) { -/* harmony default export */ var HiddenFields = (HiddenFieldsvue_type_script_lang_js); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js -var es_object_to_string = __webpack_require__("d3b7"); +const __exports__ = HiddenFieldsvue_type_script_lang_js; + +/* harmony default export */ var HiddenFields = (__exports__); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.to-string.js +var es_error_to_string = __webpack_require__("d401"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js var es_regexp_to_string = __webpack_require__("25f0"); @@ -6484,32 +7681,14 @@ var es_object_get_prototype_of = __webpack_require__("3410"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js var es_object_keys = __webpack_require__("b64b"); -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -function _typeof(obj) { - "@babel/helpers - typeof"; - - 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); -} // CONCATENATED MODULE: ./src/utils/deepExtend.js - function isPlainObject(value) { if (value == null || _typeof(value) !== 'object') return false; return Object.getPrototypeOf(value) === Object.prototype; } - function copy(obj, key, value) { if (isPlainObject(value)) { obj[key] || (obj[key] = {}); @@ -6518,20 +7697,16 @@ function copy(obj, key, value) { obj[key] = value; } } - function deepExtend(target, source) { if (isPlainObject(source)) { var keys = Object.keys(source); - for (var i = 0, len = keys.length; i < len; i++) { copy(target, keys[i], source[keys[i]]); } } - return target; } -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Input.vue?vue&type=script&lang=js - +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Input.vue?vue&type=script&lang=js @@ -6542,7 +7717,6 @@ function deepExtend(target, source) { function _isSlot(s) { return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !Object(external_commonjs_vue_commonjs2_vue_root_Vue_["isVNode"])(s); } - var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HOME, KEY_CODES.ARROW_LEFT, KEY_CODES.ARROW_UP, KEY_CODES.ARROW_RIGHT, KEY_CODES.ARROW_DOWN]; /* harmony default export */ var Inputvue_type_script_lang_js = ({ name: 'vue-treeselect--input', @@ -6589,7 +7763,6 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO }, focus: function focus() { var instance = this.instance; - if (!instance.disabled) { this.$refs.input && this.$refs.input.focus(); } @@ -6599,26 +7772,25 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO }, onFocus: function onFocus() { var instance = this.instance; - instance.trigger.isFocused = true; // istanbul ignore else - + instance.trigger.isFocused = true; + // istanbul ignore else if (instance.openOnFocus) instance.openMenu(); }, onBlur: function onBlur() { var instance = this.instance; - var menu = instance.getMenu(); // #15 - // istanbul ignore next + var menu = instance.getMenu(); + // #15 + // istanbul ignore next if (menu && document.activeElement === menu) { return this.focus(); } - instance.trigger.isFocused = false; instance.closeMenu(); }, onInput: function onInput(evt) { var value = evt.target.value; this.value = value; - if (value) { this.debouncedCallback(); } else { @@ -6628,29 +7800,23 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO }, // 用 keyUp 事件存在一个问题,删除输入框最后一个字符也会导致取消选中最后一项 onKeyDown: function onKeyDown(evt) { - var instance = this.instance; // https://css-tricks.com/snippets/javascript/javascript-keycodes/ + var instance = this.instance; + // https://css-tricks.com/snippets/javascript/javascript-keycodes/ // https://stackoverflow.com/questions/4471582/javascript-keycode-vs-which - - var key = 'which' in evt ? evt.which : - /* istanbul ignore next */ - evt.keyCode; + var key = 'which' in evt ? evt.which : /* istanbul ignore next */evt.keyCode; if (evt.ctrlKey || evt.shiftKey || evt.altKey || evt.metaKey) return; - if (!instance.menu.isOpen && includes(keysThatRequireMenuBeingOpen, key)) { evt.preventDefault(); return instance.openMenu(); } - switch (key) { case KEY_CODES.BACKSPACE: { if (instance.backspaceRemoves && !this.value.length) { instance.removeLastValue(); } - break; } - case KEY_CODES.ENTER: { evt.preventDefault(); @@ -6660,7 +7826,6 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO instance.select(current); break; } - case KEY_CODES.ESCAPE: { if (this.value.length) { @@ -6668,74 +7833,27 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO } else if (instance.menu.isOpen) { instance.closeMenu(); } - - break; - } - - case KEY_CODES.END: - { - evt.preventDefault(); - instance.highlightLastOption(); - break; - } - - case KEY_CODES.HOME: - { - evt.preventDefault(); - instance.highlightFirstOption(); - break; - } - - case KEY_CODES.ARROW_LEFT: - { - var _current = instance.getNode(instance.menu.current); - - if (_current.isBranch && instance.shouldExpand(_current)) { - evt.preventDefault(); - instance.toggleExpanded(_current); - } else if (!_current.isRootNode && (_current.isLeaf || _current.isBranch && !instance.shouldExpand(_current))) { - evt.preventDefault(); - instance.setCurrentHighlightedOption(_current.parentNode); - } - break; } - case KEY_CODES.ARROW_UP: { evt.preventDefault(); instance.highlightPrevOption(); break; } - - case KEY_CODES.ARROW_RIGHT: - { - var _current2 = instance.getNode(instance.menu.current); - - if (_current2.isBranch && !instance.shouldExpand(_current2)) { - evt.preventDefault(); - instance.toggleExpanded(_current2); - } - - break; - } - case KEY_CODES.ARROW_DOWN: { evt.preventDefault(); instance.highlightNextOption(); break; } - case KEY_CODES.DELETE: { if (instance.deleteRemoves && !this.value.length) { instance.removeLastValue(); } - break; } - default: { // istanbul ignore else @@ -6756,12 +7874,10 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO var instance = this.instance; var props = {}; var children = []; - if (instance.searchable && !instance.disabled) { children.push(this.renderInput()); if (this.needAutoSize) children.push(this.renderSizer()); } - if (!instance.searchable) { deepExtend(props, { on: { @@ -6772,7 +7888,6 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO ref: 'input' }); } - if (!instance.searchable && !instance.disabled) { deepExtend(props, { attrs: { @@ -6780,7 +7895,6 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO } }); } - return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["mergeProps"])({ "class": "vue-treeselect__input-container" }, props), _isSlot(children) ? children : { @@ -6831,8 +7945,10 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO -/* harmony default export */ var Input = (Inputvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Placeholder.vue?vue&type=script&lang=js +const Input_exports_ = Inputvue_type_script_lang_js; + +/* harmony default export */ var Input = (Input_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Placeholder.vue?vue&type=script&lang=js /* harmony default export */ var Placeholdervue_type_script_lang_js = ({ name: 'vue-treeselect--placeholder', @@ -6854,8 +7970,10 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO -/* harmony default export */ var Placeholder = (Placeholdervue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/SingleValue.vue?vue&type=script&lang=js +const Placeholder_exports_ = Placeholdervue_type_script_lang_js; + +/* harmony default export */ var Placeholder = (Placeholder_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/SingleValue.vue?vue&type=script&lang=js @@ -6875,7 +7993,7 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO render: function render() { var h = arguments[0]; var instance = this.instance, - renderValueContainer = this.$parent.renderValueContainer; + renderValueContainer = this.$parent.renderValueContainer; var shouldShowValue = instance.hasValue && !instance.trigger.searchQuery; return renderValueContainer([shouldShowValue && Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__single-value" @@ -6888,34 +8006,39 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO -/* harmony default export */ var SingleValue = (SingleValuevue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/icons/Delete.vue?vue&type=template&id=12b4a02e +const SingleValue_exports_ = SingleValuevue_type_script_lang_js; + +/* harmony default export */ var SingleValue = (SingleValue_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icons/Delete.vue?vue&type=template&id=12b4a02e var _hoisted_1 = { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 348.333 348.333" }; - var _hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("path", { d: "M336.559 68.611L231.016 174.165l105.543 105.549c15.699 15.705 15.699 41.145 0 56.85-7.844 7.844-18.128 11.769-28.407 11.769-10.296 0-20.581-3.919-28.419-11.769L174.167 231.003 68.609 336.563c-7.843 7.844-18.128 11.769-28.416 11.769-10.285 0-20.563-3.919-28.413-11.769-15.699-15.698-15.699-41.139 0-56.85l105.54-105.549L11.774 68.611c-15.699-15.699-15.699-41.145 0-56.844 15.696-15.687 41.127-15.687 56.829 0l105.563 105.554L279.721 11.767c15.705-15.687 41.139-15.687 56.832 0 15.705 15.699 15.705 41.145.006 56.844z" }, null, -1); - function Deletevue_type_template_id_12b4a02e_render(_ctx, _cache, $props, $setup, $data, $options) { return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("svg", _hoisted_1, [_hoisted_2]); } -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/icons/Delete.vue?vue&type=script&lang=js +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icons/Delete.vue?vue&type=script&lang=js /* harmony default export */ var Deletevue_type_script_lang_js = ({ name: 'vue-treeselect--x' }); +// EXTERNAL MODULE: ./node_modules/vue-loader-v16/dist/exportHelper.js +var exportHelper = __webpack_require__("6b0d"); +var exportHelper_default = /*#__PURE__*/__webpack_require__.n(exportHelper); + // CONCATENATED MODULE: ./src/components/icons/Delete.vue -Deletevue_type_script_lang_js.render = Deletevue_type_template_id_12b4a02e_render -/* harmony default export */ var Delete = (Deletevue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/MultiValueItem.vue?vue&type=script&lang=js +const Delete_exports_ = /*#__PURE__*/exportHelper_default()(Deletevue_type_script_lang_js, [['render',Deletevue_type_template_id_12b4a02e_render]]) + +/* harmony default export */ var Delete = (Delete_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/MultiValueItem.vue?vue&type=script&lang=js @@ -6925,7 +8048,6 @@ Deletevue_type_script_lang_js.render = Deletevue_type_template_id_12b4a02e_rende function MultiValueItemvue_type_script_lang_js_isSlot(s) { return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !Object(external_commonjs_vue_commonjs2_vue_root_Vue_["isVNode"])(s); } - /* harmony default export */ var MultiValueItemvue_type_script_lang_js = ({ name: 'vue-treeselect--multi-value-item', inject: ['instance'], @@ -6938,15 +8060,16 @@ function MultiValueItemvue_type_script_lang_js_isSlot(s) { methods: { handleMouseDown: onLeftClick(function handleMouseDown() { var instance = this.instance, - node = this.node; // Deselect this node. + node = this.node; + // Deselect this node. instance.select(node); }) }, render: function render() { var h = arguments[0]; var instance = this.instance, - node = this.node; + node = this.node; var itemClass = { 'vue-treeselect__multi-value-item': true, 'vue-treeselect__multi-value-item-disabled': node.isDisabled, @@ -6976,9 +8099,10 @@ function MultiValueItemvue_type_script_lang_js_isSlot(s) { -/* harmony default export */ var MultiValueItem = (MultiValueItemvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/MultiValue.vue?vue&type=script&lang=js +const MultiValueItem_exports_ = MultiValueItemvue_type_script_lang_js; +/* harmony default export */ var MultiValueItem = (MultiValueItem_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/MultiValue.vue?vue&type=script&lang=js @@ -7013,10 +8137,9 @@ function MultiValueItemvue_type_script_lang_js_isSlot(s) { } }, render: function render() { - var _this = this; - var h = arguments[0]; - var renderValueContainer = this.$parent.renderValueContainer; // const transitionGroupProps = { + var renderValueContainer = this.$parent.renderValueContainer; + // const transitionGroupProps = { // props: { // tag: 'div', // name: 'vue-treeselect__multi-value-item--transition', @@ -7024,43 +8147,39 @@ function MultiValueItemvue_type_script_lang_js_isSlot(s) { // }, // } - return renderValueContainer(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("transition-group"), { + return renderValueContainer(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__multi-value", "tag": "div", "name": "vue-treeselect__multi-value-item--transition", "appear": true - }, { - default: function _default() { - return [_this.renderMultiValueItems(), _this.renderExceedLimitTip(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Placeholder, { - "key": "placeholder" - }, null), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Input, { - "ref": "input", - "key": "input" - }, null)]; - } - })); + }, [this.renderMultiValueItems(), this.renderExceedLimitTip(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Placeholder, { + "key": "placeholder" + }, null), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Input, { + "ref": "input", + "key": "input" + }, null)])); } }); // CONCATENATED MODULE: ./src/components/MultiValue.vue -/* harmony default export */ var MultiValue = (MultiValuevue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/icons/Arrow.vue?vue&type=template&id=5d5151cb +const MultiValue_exports_ = MultiValuevue_type_script_lang_js; + +/* harmony default export */ var MultiValue = (MultiValue_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icons/Arrow.vue?vue&type=template&id=5d5151cb var Arrowvue_type_template_id_5d5151cb_hoisted_1 = { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 292.362 292.362" }; - var Arrowvue_type_template_id_5d5151cb_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("path", { d: "M286.935 69.377c-3.614-3.617-7.898-5.424-12.848-5.424H18.274c-4.952 0-9.233 1.807-12.85 5.424C1.807 72.998 0 77.279 0 82.228c0 4.948 1.807 9.229 5.424 12.847l127.907 127.907c3.621 3.617 7.902 5.428 12.85 5.428s9.233-1.811 12.847-5.428L286.935 95.074c3.613-3.617 5.427-7.898 5.427-12.847 0-4.948-1.814-9.229-5.427-12.85z" }, null, -1); - function Arrowvue_type_template_id_5d5151cb_render(_ctx, _cache, $props, $setup, $data, $options) { return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("svg", Arrowvue_type_template_id_5d5151cb_hoisted_1, [Arrowvue_type_template_id_5d5151cb_hoisted_2]); } -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/icons/Arrow.vue?vue&type=script&lang=js +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icons/Arrow.vue?vue&type=script&lang=js /* harmony default export */ var Arrowvue_type_script_lang_js = ({ name: 'vue-treeselect--arrow' }); @@ -7068,11 +8187,12 @@ function Arrowvue_type_template_id_5d5151cb_render(_ctx, _cache, $props, $setup, -Arrowvue_type_script_lang_js.render = Arrowvue_type_template_id_5d5151cb_render -/* harmony default export */ var Arrow = (Arrowvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Control.vue?vue&type=script&lang=js +const Arrow_exports_ = /*#__PURE__*/exportHelper_default()(Arrowvue_type_script_lang_js, [['render',Arrowvue_type_template_id_5d5151cb_render]]) + +/* harmony default export */ var Arrow = (Arrow_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Control.vue?vue&type=script&lang=js @@ -7086,13 +8206,11 @@ Arrowvue_type_script_lang_js.render = Arrowvue_type_template_id_5d5151cb_render function Controlvue_type_script_lang_js_isSlot(s) { return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !Object(external_commonjs_vue_commonjs2_vue_root_Vue_["isVNode"])(s); } - /* harmony default export */ var Controlvue_type_script_lang_js = ({ name: 'vue-treeselect--control', inject: ['instance'], computed: { /* eslint-disable valid-jsdoc */ - /** * Should show the "×" button that resets value? * @return {boolean} @@ -7101,19 +8219,17 @@ function Controlvue_type_script_lang_js_isSlot(s) { var instance = this.instance; return instance.clearable && !instance.disabled && instance.hasValue && (this.hasUndisabledValue || instance.allowClearingDisabled); }, - /** * Should show the arrow button that toggles menu? * @return {boolean} */ shouldShowArrow: function shouldShowArrow() { var instance = this.instance; - if (!instance.alwaysOpen) return true; // Even with `alwaysOpen: true`, sometimes the menu is still closed, + if (!instance.alwaysOpen) return true; + // Even with `alwaysOpen: true`, sometimes the menu is still closed, // e.g. when the control is disabled. - return !instance.menu.isOpen; }, - /** * Has any undisabled option been selected? * @type {boolean} @@ -7123,9 +8239,7 @@ function Controlvue_type_script_lang_js_isSlot(s) { return instance.hasValue && instance.internalValue.some(function (id) { return !instance.getNode(id).isDisabled; }); - } - /* eslint-enable valid-jsdoc */ - + } /* eslint-enable valid-jsdoc */ }, methods: { renderX: function renderX() { @@ -7165,15 +8279,14 @@ function Controlvue_type_script_lang_js_isSlot(s) { * class, since we are targeting to support IE9 without the * need of any polyfill. */ + evt.stopPropagation(); evt.preventDefault(); var instance = this.instance; var result = instance.beforeClearAll(); - var handler = function handler(shouldClear) { if (shouldClear) instance.clear(); }; - if (is_promise_default()(result)) { // The handler will be called async. result.then(handler); @@ -7181,7 +8294,8 @@ function Controlvue_type_script_lang_js_isSlot(s) { // Keep the same behavior here. setTimeout(function () { return handler(result); - }, 0); // Also, note that IE9 requires: + }, 0); + // Also, note that IE9 requires: // setTimeout(() => fn(...args), delay) // Instead of: // setTimeout(fn, delay, ...args) @@ -7190,8 +8304,9 @@ function Controlvue_type_script_lang_js_isSlot(s) { handleMouseDownOnArrow: onLeftClick(function handleMouseDownOnArrow(evt) { evt.preventDefault(); evt.stopPropagation(); - var instance = this.instance; // Focus the input or prevent blurring. + var instance = this.instance; + // Focus the input or prevent blurring. instance.focusInput(); instance.toggleMenu(); }), @@ -7223,7 +8338,9 @@ function Controlvue_type_script_lang_js_isSlot(s) { -/* harmony default export */ var Control = (Controlvue_type_script_lang_js); +const Control_exports_ = Controlvue_type_script_lang_js; + +/* harmony default export */ var Control = (Control_exports_); // CONCATENATED MODULE: ./node_modules/watch-size/index.es.mjs var index_es_index = (function (element, listener) { var expand = document.createElement('_'); @@ -7287,29 +8404,27 @@ var index_es_index = (function (element, listener) { + + var intervalId; var registered = []; var INTERVAL_DURATION = 100; - function run() { intervalId = setInterval(function () { registered.forEach(test); }, INTERVAL_DURATION); } - function stop() { clearInterval(intervalId); intervalId = null; } - function test(item) { var $el = item.$el, - listener = item.listener, - lastWidth = item.lastWidth, - lastHeight = item.lastHeight; + listener = item.listener, + lastWidth = item.lastWidth, + lastHeight = item.lastHeight; var width = $el.offsetWidth; var height = $el.offsetHeight; - if (lastWidth !== width || lastHeight !== height) { item.lastWidth = width; item.lastHeight = height; @@ -7319,7 +8434,6 @@ function test(item) { }); } } - function watchSizeForIE9($el, listener) { var item = { $el: $el, @@ -7327,64 +8441,60 @@ function watchSizeForIE9($el, listener) { lastWidth: null, lastHeight: null }; - var unwatch = function unwatch() { removeFromArray(registered, item); if (!registered.length) stop(); }; - - registered.push(item); // The original watch-size will call the listener on initialization. + registered.push(item); + // The original watch-size will call the listener on initialization. // Keep the same behavior here. - test(item); run(); return unwatch; } - function watchSize($el, listener) { // See: https://stackoverflow.com/a/31293352 - var isIE9 = document.documentMode === 9; // watch-size will call the listener on initialization. + var isIE9 = document.documentMode === 9; + // watch-size will call the listener on initialization. // Disable this behavior with a lock to achieve a clearer code logic. - var locked = true; - var wrappedListener = function wrappedListener() { return locked || listener.apply(void 0, arguments); }; - var implementation = isIE9 ? watchSizeForIE9 : index_es; var removeSizeWatcher = implementation($el, wrappedListener); locked = false; // unlock after initialization return removeSizeWatcher; } +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js +var es_regexp_test = __webpack_require__("00b4"); + // CONCATENATED MODULE: ./src/utils/setupResizeAndScrollEventListeners.js + + + function findScrollParents($el) { var $scrollParents = []; var $parent = $el.parentNode; - while ($parent && $parent.nodeName !== 'BODY' && $parent.nodeType === document.ELEMENT_NODE) { if (isScrollElment($parent)) $scrollParents.push($parent); $parent = $parent.parentNode; } - $scrollParents.push(window); return $scrollParents; } - function isScrollElment($el) { // Firefox wants us to check `-x` and `-y` variations as well var _getComputedStyle = getComputedStyle($el), - overflow = _getComputedStyle.overflow, - overflowX = _getComputedStyle.overflowX, - overflowY = _getComputedStyle.overflowY; - + overflow = _getComputedStyle.overflow, + overflowX = _getComputedStyle.overflowX, + overflowY = _getComputedStyle.overflowY; return /(auto|scroll|overlay)/.test(overflow + overflowY + overflowX); } - function setupResizeAndScrollEventListeners($el, listener) { var $scrollParents = findScrollParents($el); window.addEventListener('resize', listener, { @@ -7406,8 +8516,7 @@ function setupResizeAndScrollEventListeners($el, listener) { }); }; } -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Tip.vue?vue&type=script&lang=js - +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Tip.vue?vue&type=script&lang=js /* harmony default export */ var Tipvue_type_script_lang_js = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ name: 'vue-treeselect--tip', @@ -7425,7 +8534,7 @@ function setupResizeAndScrollEventListeners($el, listener) { render: function render(context) { var h = arguments[0]; var type = this.type, - icon = this.icon; + icon = this.icon; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__tip vue-treeselect__".concat(type, "-tip") }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { @@ -7441,11 +8550,10 @@ function setupResizeAndScrollEventListeners($el, listener) { -/* harmony default export */ var Tip = (Tipvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Option.vue?vue&type=script&lang=js - - +const Tip_exports_ = Tipvue_type_script_lang_js; +/* harmony default export */ var Tip = (Tip_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Option.vue?vue&type=script&lang=js @@ -7459,7 +8567,6 @@ function setupResizeAndScrollEventListeners($el, listener) { function Optionvue_type_script_lang_js_isSlot(s) { return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !Object(external_commonjs_vue_commonjs2_vue_root_Vue_["isVNode"])(s); } - var arrowPlaceholder, checkMark, minusMark; var Option = { name: 'vue-treeselect--option', @@ -7473,12 +8580,12 @@ var Option = { computed: { shouldExpand: function shouldExpand() { var instance = this.instance, - node = this.node; + node = this.node; return node.isBranch && instance.shouldExpand(node); }, shouldShow: function shouldShow() { var instance = this.instance, - node = this.node; + node = this.node; return instance.shouldShowOptionInMenu(node); } }, @@ -7486,7 +8593,7 @@ var Option = { renderOption: function renderOption() { // var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; var optionClass = { 'vue-treeselect__option': true, 'vue-treeselect__option--disabled': node.isDisabled, @@ -7511,12 +8618,9 @@ var Option = { renderArrow: function renderArrow() { // var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; if (instance.shouldFlattenOptions && this.shouldShow) return null; - if (node.isBranch) { - var _slot; - var arrowClass = { 'vue-treeselect__option-arrow': true, 'vue-treeselect__option-arrow--rotated': this.shouldExpand @@ -7524,30 +8628,23 @@ var Option = { return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__option-arrow-container", "onMousedown": this.handleMouseDownOnArrow - }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("transition"), { + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "name": "vue-treeselect__option-arrow--prepare", "appear": true - }, Optionvue_type_script_lang_js_isSlot(_slot = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Arrow, { + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Arrow, { "class": arrowClass - }, null)) ? _slot : { - default: function _default() { - return [_slot]; - } - })]); - } // For leaf nodes, we render a placeholder to keep its label aligned to + }, null)])]); + } + + // For leaf nodes, we render a placeholder to keep its label aligned to // branch nodes. Unless there is no branch nodes at all (a normal // non-tree select). - - - if ( - /*node.isLeaf && */ - instance.hasBranchNodes) { + if ( /*node.isLeaf && */instance.hasBranchNodes) { if (!arrowPlaceholder) arrowPlaceholder = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__option-arrow-placeholder" }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("\xA0")]); return arrowPlaceholder; } - return null; }, renderLabelContainer: function renderLabelContainer(children) { @@ -7564,7 +8661,7 @@ var Option = { renderCheckboxContainer: function renderCheckboxContainer(children) { // var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; if (instance.single) return null; if (instance.disableBranchNodes && node.isBranch) return null; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { @@ -7578,7 +8675,7 @@ var Option = { renderCheckbox: function renderCheckbox() { // var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; var checkedState = instance.forest.checkedStateMap[node.id]; var checkboxClass = { 'vue-treeselect__checkbox': true, @@ -7600,7 +8697,7 @@ var Option = { renderLabel: function renderLabel() { // var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; var shouldShowCount = node.isBranch && (instance.localSearch.active ? instance.showCountOnSearchComputed : instance.showCount); var count = shouldShowCount ? instance.localSearch.active ? instance.localSearch.countMap[node.id][instance.showCountOf] : node.count[instance.showCountOf] : NaN; var labelClassName = 'vue-treeselect__label'; @@ -7633,7 +8730,7 @@ var Option = { renderNoChildrenTip: function renderNoChildrenTip() { // var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; if (!node.childrenStates.isLoaded || node.children.length) return null; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "no-children", @@ -7647,7 +8744,7 @@ var Option = { renderLoadingChildrenTip: function renderLoadingChildrenTip() { // var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; if (!node.childrenStates.isLoading) return null; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "loading", @@ -7660,10 +8757,9 @@ var Option = { }, renderLoadingChildrenErrorTip: function renderLoadingChildrenErrorTip() { var _this = this; - // var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; if (!node.childrenStates.loadingError) return null; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "error", @@ -7680,21 +8776,21 @@ var Option = { }, handleMouseEnterOption: function handleMouseEnterOption(evt) { var instance = this.instance, - node = this.node; // Equivalent to `self` modifier. - // istanbul ignore next + node = this.node; + // Equivalent to `self` modifier. + // istanbul ignore next if (evt.target !== evt.currentTarget) return; instance.setCurrentHighlightedOption(node, false); }, handleMouseDownOnArrow: onLeftClick(function handleMouseDownOnOptionArrow() { var instance = this.instance, - node = this.node; + node = this.node; instance.toggleExpanded(node); }), handleMouseDownOnLabelContainer: onLeftClick(function handleMouseDownOnLabelContainer() { var instance = this.instance, - node = this.node; - + node = this.node; if (node.isBranch && instance.disableBranchNodes) { instance.toggleExpanded(node); } else { @@ -7703,55 +8799,41 @@ var Option = { }), handleMouseDownOnRetry: onLeftClick(function handleMouseDownOnRetry() { var instance = this.instance, - node = this.node; + node = this.node; instance.loadChildrenOptions(node); }) }, render: function render() { - var _slot2; - var h = arguments[0]; var node = this.node; var indentLevel = this.instance.shouldFlattenOptions ? 0 : node.level; - var listItemClass = _defineProperty({ 'vue-treeselect__list-item': true }, "vue-treeselect__indent-level-".concat(indentLevel), true); - return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": listItemClass - }, [this.renderOption(), node.isBranch ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("transition"), { + }, [this.renderOption(), node.isBranch ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "name": "vue-treeselect__list--transition" - }, Optionvue_type_script_lang_js_isSlot(_slot2 = this.renderSubOptionsList()) ? _slot2 : { - default: function _default() { - return [_slot2]; - } - }) : '']); + }, [this.renderSubOptionsList()]) : '']); } -}; // eslint-disable-next-line vue/require-direct-export +}; +// eslint-disable-next-line vue/require-direct-export /* harmony default export */ var Optionvue_type_script_lang_js = (Option); // CONCATENATED MODULE: ./src/components/Option.vue -/* harmony default export */ var components_Option = (Optionvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Menu.vue?vue&type=script&lang=js - - - - +const Option_exports_ = Optionvue_type_script_lang_js; +/* harmony default export */ var components_Option = (Option_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Menu.vue?vue&type=script&lang=js -function Menuvue_type_script_lang_js_isSlot(s) { - return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !Object(external_commonjs_vue_commonjs2_vue_root_Vue_["isVNode"])(s); -} - var directionMap = { top: 'top', bottom: 'bottom', @@ -7820,7 +8902,6 @@ var directionMap = { }, renderNormalMenuInner: function renderNormalMenuInner() { var instance = this.instance; - if (instance.rootOptionsStates.isLoading) { return this.renderLoadingOptionsTip(); } else if (instance.rootOptionsStates.loadingError) { @@ -7833,7 +8914,6 @@ var directionMap = { }, renderLocalSearchMenuInner: function renderLocalSearchMenuInner() { var instance = this.instance; - if (instance.rootOptionsStates.isLoading) { return this.renderLoadingOptionsTip(); } else if (instance.rootOptionsStates.loadingError) { @@ -7851,7 +8931,6 @@ var directionMap = { var entry = instance.getRemoteSearchEntry(); var shouldShowSearchPromptTip = instance.trigger.searchQuery === '' && !instance.defaultOptions; var shouldShowNoResultsTip = shouldShowSearchPromptTip ? false : entry.isLoaded && entry.options.length === 0; - if (shouldShowSearchPromptTip) { return this.renderSearchPromptTip(); } else if (entry.isLoading) { @@ -7919,7 +8998,9 @@ var directionMap = { renderAsyncSearchLoadingErrorTip: function renderAsyncSearchLoadingErrorTip() { // var h = this.$createElement; var instance = this.instance; - var entry = instance.getRemoteSearchEntry(); // TODO: retryTitle? + var entry = instance.getRemoteSearchEntry(); + + // TODO: retryTitle? return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "error", @@ -7981,7 +9062,6 @@ var directionMap = { var isControlInViewport = controlRect.top >= 0 && controlRect.top <= viewportHeight || controlRect.top < 0 && controlRect.bottom > 0; var hasEnoughSpaceBelow = spaceBelow > menuHeight + MENU_BUFFER; var hasEnoughSpaceAbove = spaceAbove > menuHeight + MENU_BUFFER; - if (!isControlInViewport) { instance.closeMenu(); } else if (instance.openDirection !== 'auto') { @@ -7994,8 +9074,9 @@ var directionMap = { }, setupMenuSizeWatcher: function setupMenuSizeWatcher() { var instance = this.instance; - var $menu = instance.getMenu(); // istanbul ignore next + var $menu = instance.getMenu(); + // istanbul ignore next if (this.menuSizeWatcher) return; this.menuSizeWatcher = { remove: watchSize($menu, this.adjustMenuOpenDirection) @@ -8003,8 +9084,9 @@ var directionMap = { }, setupMenuResizeAndScrollEventListeners: function setupMenuResizeAndScrollEventListeners() { var instance = this.instance; - var $control = instance.getControl(); // istanbul ignore next + var $control = instance.getControl(); + // istanbul ignore next if (this.menuResizeAndScrollEventListeners) return; this.menuResizeAndScrollEventListeners = { remove: setupResizeAndScrollEventListeners($control, this.adjustMenuOpenDirection) @@ -8022,28 +9104,24 @@ var directionMap = { } }, render: function render() { - var _slot; - var h = arguments[0]; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "ref": "menu-container", "class": "vue-treeselect__menu-container", "style": this.menuContainerStyle - }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("transition"), { + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "name": "vue-treeselect__menu--transition" - }, Menuvue_type_script_lang_js_isSlot(_slot = this.renderMenu()) ? _slot : { - default: function _default() { - return [_slot]; - } - })]); + }, [this.renderMenu()])]); } }); // CONCATENATED MODULE: ./src/components/Menu.vue -/* harmony default export */ var Menu = (Menuvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/MenuPortal.vue?vue&type=script&lang=js +const Menu_exports_ = Menuvue_type_script_lang_js; + +/* harmony default export */ var Menu = (Menu_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/MenuPortal.vue?vue&type=script&lang=js @@ -8086,8 +9164,9 @@ var PortalTarget = { }, setupControlResizeAndScrollEventListeners: function setupControlResizeAndScrollEventListeners() { var instance = this.instance; - var $control = instance.getControl(); // istanbul ignore next + var $control = instance.getControl(); + // istanbul ignore next if (this.controlResizeAndScrollEventListeners) return; this.controlResizeAndScrollEventListeners = { remove: setupResizeAndScrollEventListeners($control, this.updateMenuContainerOffset) @@ -8095,15 +9174,14 @@ var PortalTarget = { }, setupControlSizeWatcher: function setupControlSizeWatcher() { var _this = this; - var instance = this.instance; - var $control = instance.getControl(); // istanbul ignore next + var $control = instance.getControl(); + // istanbul ignore next if (this.controlSizeWatcher) return; this.controlSizeWatcher = { remove: watchSize($control, function () { _this.updateWidth(); - _this.updateMenuContainerOffset(); }) }; @@ -8138,8 +9216,9 @@ var PortalTarget = { var transformVariations = ['transform', 'webkitTransform', 'MozTransform', 'msTransform']; var transform = find(transformVariations, function (t) { return t in document.body.style; - }); // IE9 doesn't support `translate3d()`. + }); + // IE9 doesn't support `translate3d()`. menuContainerStyle[transform] = "translate(".concat(left, ", ").concat(top, ")"); } }, @@ -8181,7 +9260,8 @@ var placeholder; this.portalTarget = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createApp"])(_objectSpread2({ parent: this }, PortalTarget)); - this.portalTarget.mount(el); // this.portalTarget = new Vue({ + this.portalTarget.mount(el); + // this.portalTarget = new Vue({ // el, // parent: this, // ...PortalTarget, @@ -8206,8 +9286,10 @@ var placeholder; -/* harmony default export */ var MenuPortal = (MenuPortalvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Treeselect.vue?vue&type=script&lang=js +const MenuPortal_exports_ = MenuPortalvue_type_script_lang_js; + +/* harmony default export */ var MenuPortal = (MenuPortal_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Treeselect.vue?vue&type=script&lang=js @@ -8240,7 +9322,9 @@ var placeholder; 'vue-treeselect--append-to-body': this.appendToBody }; } - } // render() { + } + + // render() { // return ( //
// @@ -8249,15 +9333,16 @@ var placeholder; //
// ) // }, - })); // CONCATENATED MODULE: ./src/components/Treeselect.vue -Treeselectvue_type_script_lang_js.render = Treeselectvue_type_template_id_4fa337e8_render -/* harmony default export */ var Treeselect = (Treeselectvue_type_script_lang_js); + +const Treeselect_exports_ = /*#__PURE__*/exportHelper_default()(Treeselectvue_type_script_lang_js, [['render',Treeselectvue_type_template_id_4fa337e8_render]]) + +/* harmony default export */ var Treeselect = (Treeselect_exports_); // EXTERNAL MODULE: ./styles/style.less var style = __webpack_require__("d15f"); @@ -8283,30 +9368,30 @@ var style = __webpack_require__("d15f"); "use strict"; var $ = __webpack_require__("23e7"); -var isObject = __webpack_require__("861d"); var isArray = __webpack_require__("e8b5"); +var isConstructor = __webpack_require__("68ee"); +var isObject = __webpack_require__("861d"); var toAbsoluteIndex = __webpack_require__("23cb"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); var toIndexedObject = __webpack_require__("fc6a"); var createProperty = __webpack_require__("8418"); var wellKnownSymbol = __webpack_require__("b622"); var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); +var nativeSlice = __webpack_require__("f36a"); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); -var USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 }); var SPECIES = wellKnownSymbol('species'); -var nativeSlice = [].slice; +var $Array = Array; var max = Math.max; // `Array.prototype.slice` method // https://tc39.es/ecma262/#sec-array.prototype.slice // fallback for not array-like ES3 strings and DOM objects -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { slice: function slice(start, end) { var O = toIndexedObject(this); - var length = toLength(O.length); + var length = lengthOfArrayLike(O); var k = toAbsoluteIndex(start, length); var fin = toAbsoluteIndex(end === undefined ? length : end, length); // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible @@ -8314,17 +9399,17 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT if (isArray(O)) { Constructor = O.constructor; // cross-realm fallback - if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) { + if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) { Constructor = undefined; } else if (isObject(Constructor)) { Constructor = Constructor[SPECIES]; if (Constructor === null) Constructor = undefined; } - if (Constructor === Array || Constructor === undefined) { - return nativeSlice.call(O, k, fin); + if (Constructor === $Array || Constructor === undefined) { + return nativeSlice(O, k, fin); } } - result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); + result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0)); for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); result.length = n; return result; @@ -8337,6 +9422,8 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT /***/ "fc6a": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + // toObject with fallback for non-array-like ES3 strings var IndexedObject = __webpack_require__("44ad"); var requireObjectCoercible = __webpack_require__("1d80"); @@ -8346,10 +9433,31 @@ module.exports = function (it) { }; +/***/ }), + +/***/ "fce3": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); + +// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError +var $RegExp = global.RegExp; + +module.exports = fails(function () { + var re = $RegExp('.', 's'); + return !(re.dotAll && re.test('\n') && re.flags === 's'); +}); + + /***/ }), /***/ "fdbc": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; // iterable DOM collections // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods @@ -8393,12 +9501,13 @@ module.exports = { /***/ "fdbf": /***/ (function(module, exports, __webpack_require__) { -var NATIVE_SYMBOL = __webpack_require__("4930"); +"use strict"; + +/* eslint-disable es/no-symbol -- required for testing */ +var NATIVE_SYMBOL = __webpack_require__("04f8"); module.exports = NATIVE_SYMBOL - // eslint-disable-next-line no-undef && !Symbol.sham - // eslint-disable-next-line no-undef && typeof Symbol.iterator == 'symbol'; diff --git a/dist/vue3-treeselect.common.js.map b/dist/vue3-treeselect.common.js.map index e0d2ddb..6b431d1 100644 --- a/dist/vue3-treeselect.common.js.map +++ b/dist/vue3-treeselect.common.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://vue3-treeselect/webpack/bootstrap","webpack://vue3-treeselect/./node_modules/core-js/internals/to-string-tag-support.js","webpack://vue3-treeselect/./node_modules/lodash/_getRawTag.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-bind-context.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.flat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-substitution.js","webpack://vue3-treeselect/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.split.js","webpack://vue3-treeselect/./node_modules/lodash/isObjectLike.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.reduce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://vue3-treeselect/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-for-each.js","webpack://vue3-treeselect/./node_modules/lodash/isObject.js","webpack://vue3-treeselect/./node_modules/core-js/internals/html.js","webpack://vue3-treeselect/./node_modules/core-js/internals/a-function.js","webpack://vue3-treeselect/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue3-treeselect/./node_modules/lodash/once.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue3-treeselect/./node_modules/core-js/internals/export.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://vue3-treeselect/./node_modules/is-promise/index.js","webpack://vue3-treeselect/./node_modules/lodash/_objectToString.js","webpack://vue3-treeselect/./node_modules/lodash/_root.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue3-treeselect/./node_modules/fuzzysearch/index.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue3-treeselect/./node_modules/lodash/_baseGetTag.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-define-properties.js","webpack://vue3-treeselect/./node_modules/core-js/internals/a-possible-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.unscopables.flat.js","webpack://vue3-treeselect/./node_modules/lodash/now.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/path.js","webpack://vue3-treeselect/./node_modules/lodash/last.js","webpack://vue3-treeselect/./node_modules/core-js/internals/indexed-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/add-to-unscopables.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-regexp.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.some.js","webpack://vue3-treeselect/./node_modules/core-js/internals/species-constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/native-symbol.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.trim.js","webpack://vue3-treeselect/./node_modules/lodash/toInteger.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-includes.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.filter.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.sort.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-length.js","webpack://vue3-treeselect/./node_modules/core-js/internals/has.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.replace.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared.js","webpack://vue3-treeselect/./node_modules/core-js/internals/own-keys.js","webpack://vue3-treeselect/./node_modules/lodash/_freeGlobal.js","webpack://vue3-treeselect/./node_modules/core-js/internals/whitespaces.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-trim.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-is-node.js","webpack://vue3-treeselect/./node_modules/lodash/toFinite.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-multibyte.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-species-create.js","webpack://vue3-treeselect/./node_modules/core-js/internals/internal-state.js","webpack://vue3-treeselect/./node_modules/core-js/internals/redefine.js","webpack://vue3-treeselect/./node_modules/core-js/internals/inherit-if-required.js","webpack://vue3-treeselect/./node_modules/lodash/constant.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue3-treeselect/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-create.js","webpack://vue3-treeselect/./node_modules/core-js/internals/native-weak-map.js","webpack://vue3-treeselect/./node_modules/core-js/internals/an-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/descriptors.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-property.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/inspect-source.js","webpack://vue3-treeselect/./node_modules/core-js/internals/advance-string-index.js","webpack://vue3-treeselect/external {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://vue3-treeselect/./node_modules/core-js/internals/uid.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-exec.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-forced.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.concat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-define-property.js","webpack://vue3-treeselect/./node_modules/lodash/_Symbol.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.join.js","webpack://vue3-treeselect/./node_modules/core-js/internals/flatten-into-array.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.splice.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.every.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-is-strict.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-integer.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.number.constructor.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.exec.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-flags.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-uses-to-length.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-to-string.js","webpack://vue3-treeselect/./node_modules/lodash/debounce.js","webpack://vue3-treeselect/./node_modules/lodash/toNumber.js","webpack://vue3-treeselect/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-iteration.js","webpack://vue3-treeselect/./node_modules/lodash/noop.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-primitive.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-pure.js","webpack://vue3-treeselect/./node_modules/core-js/internals/classof-raw.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared-store.js","webpack://vue3-treeselect/(webpack)/buildin/global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-trim-forced.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.index-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue3-treeselect/./node_modules/core-js/internals/document-create-element.js","webpack://vue3-treeselect/./node_modules/lodash/identity.js","webpack://vue3-treeselect/./node_modules/core-js/internals/set-global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/hidden-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/fails.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-built-in.js","webpack://vue3-treeselect/./styles/style.less?71e1","webpack://vue3-treeselect/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.to-string.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-reduce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.map.js","webpack://vue3-treeselect/./node_modules/core-js/internals/global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-keys.js","webpack://vue3-treeselect/./node_modules/lodash/before.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://vue3-treeselect/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-array.js","webpack://vue3-treeselect/./node_modules/core-js/internals/classof.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared-key.js","webpack://vue3-treeselect/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue3-treeselect/./src/components/Treeselect.vue","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack://vue3-treeselect/./src/utils/isNaN.js","webpack://vue3-treeselect/./src/utils/includes.js","webpack://vue3-treeselect/./src/utils/createMap.js","webpack://vue3-treeselect/./src/utils/quickDiff.js","webpack://vue3-treeselect/./src/utils/warning.js","webpack://vue3-treeselect/./src/utils/find.js","webpack://vue3-treeselect/./src/utils/onLeftClick.js","webpack://vue3-treeselect/./src/utils/scrollIntoView.js","webpack://vue3-treeselect/./src/utils/removeFromArray.js","webpack://vue3-treeselect/./src/constants.js","webpack://vue3-treeselect/./src/mixins/treeselectMixin.js","webpack://vue3-treeselect/./src/components/HiddenFields.vue","webpack://vue3-treeselect/./src/components/HiddenFields.vue?fd65","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://vue3-treeselect/./src/utils/deepExtend.js","webpack://vue3-treeselect/./src/components/Input.vue","webpack://vue3-treeselect/./src/components/Input.vue?3c3f","webpack://vue3-treeselect/./src/components/Placeholder.vue","webpack://vue3-treeselect/./src/components/Placeholder.vue?7a81","webpack://vue3-treeselect/./src/components/SingleValue.vue","webpack://vue3-treeselect/./src/components/SingleValue.vue?79da","webpack://vue3-treeselect/./src/components/icons/Delete.vue","webpack://vue3-treeselect/./src/components/icons/Delete.vue?0d08","webpack://vue3-treeselect/./src/components/MultiValueItem.vue","webpack://vue3-treeselect/./src/components/MultiValueItem.vue?e2c9","webpack://vue3-treeselect/./src/components/MultiValue.vue","webpack://vue3-treeselect/./src/components/MultiValue.vue?60e5","webpack://vue3-treeselect/./src/components/icons/Arrow.vue","webpack://vue3-treeselect/./src/components/icons/Arrow.vue?159d","webpack://vue3-treeselect/./src/components/Control.vue","webpack://vue3-treeselect/./src/components/Control.vue?146e","webpack://vue3-treeselect/./node_modules/watch-size/index.es.mjs","webpack://vue3-treeselect/./src/utils/watchSize.js","webpack://vue3-treeselect/./src/utils/setupResizeAndScrollEventListeners.js","webpack://vue3-treeselect/./src/components/Tip.vue","webpack://vue3-treeselect/./src/components/Tip.vue?5c1c","webpack://vue3-treeselect/./src/components/Option.vue","webpack://vue3-treeselect/./src/components/Option.vue?a930","webpack://vue3-treeselect/./src/components/Menu.vue","webpack://vue3-treeselect/./src/components/Menu.vue?8317","webpack://vue3-treeselect/./src/components/MenuPortal.vue","webpack://vue3-treeselect/./src/components/MenuPortal.vue?9e65","webpack://vue3-treeselect/./src/components/Treeselect.vue?5ba3","webpack://vue3-treeselect/./src/index.js","webpack://vue3-treeselect/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.slice.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/dom-iterables.js","webpack://vue3-treeselect/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue3-treeselect/./node_modules/lodash/isSymbol.js"],"names":["_arrayWithHoles","arr","Array","isArray","_iterableToArrayLimit","i","Symbol","iterator","Object","_arr","_n","_d","_e","undefined","_i","_s","next","done","push","value","length","err","_arrayLikeToArray","len","arr2","_unsupportedIterableToArray","o","minLen","arrayLikeToArray","n","prototype","toString","call","slice","constructor","name","from","test","_nonIterableRest","TypeError","_slicedToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","_defineProperty","obj","key","defineProperty","enumerable","configurable","writable","_arrayWithoutHoles","_iterableToArray","iter","_nonIterableSpread","_toConsumableArray","arrayWithoutHoles","iterableToArray","nonIterableSpread","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","apply","_objectSpread2","target","arguments","source","forEach","getOwnPropertyDescriptors","defineProperties","isNaN","x","includes","arrOrStr","elem","indexOf","createMap","create","quickDiff","arrA","arrB","warning","process","noop","find","predicate","ctx","onLeftClick","mouseDownHandler","onMouseDown","evt","type","button","args","scrollIntoView","$scrollingEl","$focusedEl","scrollingReact","getBoundingClientRect","focusedRect","overScroll","offsetHeight","bottom","scrollTop","Math","min","offsetTop","clientHeight","scrollHeight","top","max","removeFromArray","idx","splice","NO_PARENT_NODE","UNCHECKED","INDETERMINATE","CHECKED","ALL_CHILDREN","ALL_DESCENDANTS","LEAF_CHILDREN","LEAF_DESCENDANTS","LOAD_ROOT_OPTIONS","LOAD_CHILDREN_OPTIONS","ASYNC_SEARCH","ALL","BRANCH_PRIORITY","LEAF_PRIORITY","ALL_WITH_INDETERMINATE","ORDER_SELECTED","LEVEL","INDEX","KEY_CODES","BACKSPACE","ENTER","ESCAPE","END","HOME","ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN","DELETE","INPUT_DEBOUNCE_DELAY","MIN_INPUT_WIDTH","MENU_BUFFER","sortValueByIndex","a","b","level","index","sortValueByLevel","createAsyncOptionsStates","isLoaded","isLoading","loadingError","stringifyOptionPropValue","match","enableFuzzyMatch","needle","haystack","fuzzysearch","getErrorMessage","message","String","instanceId","provide","instance","props","allowClearingDisabled","Boolean","default","allowSelectingDisabledDescendants","alwaysOpen","appendToBody","async","autoFocus","autoLoadRootOptions","autoDeselectAncestors","autoDeselectDescendants","autoSelectAncestors","autoSelectDescendants","backspaceRemoves","beforeClearAll","Function","constant","branchNodesFirst","cacheOptions","clearable","clearAllText","clearOnSelect","clearValueText","closeOnSelect","defaultExpandLevel","Number","defaultOptions","deleteRemoves","delimiter","flattenSearchResults","disableBranchNodes","disabled","disableFuzzyMatching","flat","joinValues","limit","Infinity","limitText","limitTextDefault","count","loadingText","loadOptions","matchKeys","maxHeight","multiple","noChildrenText","noOptionsText","noResultsText","normalizer","identity","openDirection","validator","acceptableValues","openOnClick","openOnFocus","options","placeholder","required","retryText","retryTitle","searchable","searchNested","searchPromptText","showCount","showCountOf","showCountOnSearch","sortValueBy","tabIndex","modelValue","valueConsistsOf","valueFormat","zIndex","data","trigger","isFocused","searchQuery","menu","isOpen","current","lastScrollPosition","placement","forest","normalizedOptions","nodeMap","checkedStateMap","selectedNodeIds","extractCheckedNodeIdsFromValue","selectedNodeMap","rootOptionsStates","localSearch","active","noResults","countMap","remoteSearch","computed","selectedNodes","map","getNode","internalValue","single","id","node","isRootNode","isSelected","parentNode","isLeaf","children","indeterminateNodeIds","selectedNode","ancestors","ancestor","sort","hasValue","visibleOptionIds","traverseAllNodesByIndex","shouldOptionBeIncludedInSearchResult","isBranch","shouldExpand","hasVisibleOptions","showCountOnSearchComputed","hasBranchNodes","some","rootNode","shouldFlattenOptions","watch","newValue","openMenu","closeMenu","initialize","oldValue","hasChanged","$emit","getValue","getInstanceId","buildForestState","handler","deep","immediate","handleRemoteSearch","handleLocalSearch","nodeIdsFromValue","fixSelectedNodeIds","methods","verifyProps","propNames","propName","resetFlags","_blurOnSelect","getRemoteSearchEntry","prevNodeMap","keepDataOfSelectedNodes","normalize","rawNodes","raw","nodeId","createFallbackNode","extractNodeFromValue","label","enhancedNormalizer","fallbackNode","isFallbackNode","isDisabled","isNew","defaultNode","valueArray","matched","nodeIdListOfPrevValue","nextSelectedNodeIds","traverseDescendantsBFS","descendant","queue","shift","callback","currNode","traverseDescendantsDFS","child","traverseAllNodesDFS","walk","toggleClickOutsideEvent","enabled","document","addEventListener","handleClickOutside","removeEventListener","getValueContainer","$refs","control","getInput","input","focusInput","focus","blurInput","blur","handleMouseDown","preventDefault","stopPropagation","isClickedOnValueContainer","$el","contains","wrapper","resetHighlightedOptionWhenNecessary","isExpandedOnSearch","showAllChildrenOnSearch","isMatched","hasMatchedDescendants","lowerCasedSearchQuery","trim","toLocaleLowerCase","splitSearchQuery","replace","split","every","filterValue","nestedSearchLabel","matchKey","lowerCased","entry","callLoadOptionsProp","action","isPending","start","succeed","fail","end","$watch","isExpanded","shouldShowOptionInMenu","getControl","getMenu","ref","portal","portalTarget","$menu","nodeName","setCurrentHighlightedOption","scroll","prev","isHighlighted","scrollToOption","$option","querySelector","$nextTick","forceReset","highlightFirstOption","first","highlightPrevOption","highlightLastOption","highlightNextOption","last","getLast","resetSearchQuery","saveMenuScrollPosition","restoreMenuScrollPosition","loadRootOptions","toggleMenu","toggleExpanded","nextState","childrenStates","loadChildrenOptions","selectedNodeId","ancestorNode","nodes","checkDuplication","verifyNodeShape","isDefaultExpanded","reduce","normalized","concat","hasDisabledDescendants","branchNodes","option","leafNodes","once","result","isPromise","then","catch","console","error","JSON","stringify","select","clear","_selectNode","_deselectNode","addValue","isFullyChecked","curr","removeValue","hasUncheckedSomeDescendants","removeLastValue","lastValue","lastSelectedNode","created","mounted","unmounted","_typeof","isPlainObject","getPrototypeOf","copy","deepExtend","intervalId","registered","INTERVAL_DURATION","run","setInterval","stop","clearInterval","item","listener","lastWidth","lastHeight","width","offsetWidth","height","watchSizeForIE9","unwatch","watchSize","isIE9","documentMode","locked","wrappedListener","implementation","watchSizeForBrowsersOtherThanIE9","removeSizeWatcher","findScrollParents","$scrollParents","$parent","nodeType","ELEMENT_NODE","isScrollElment","window","getComputedStyle","overflow","overflowX","overflowY","setupResizeAndScrollEventListeners","passive","scrollParent","removeEventListeners","$scrollParent","Treeselect"],"mappings":";;QAAA;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,sBAAsB,mBAAO,CAAC,MAAgC;;AAE9D;AACA;;AAEA;;AAEA;;;;;;;;ACPA,aAAa,mBAAO,CAAC,MAAW;;AAEhC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC7CA,gBAAgB,m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,CAAC,MAAwB;AAC/C,eAAe,mBAAO,CAAC,MAAwB;AAC/C,6BAA6B,mBAAO,CAAC,MAAuC;AAC5E,yBAAyB,mBAAO,CAAC,MAAkC;AACnE,yBAAyB,mBAAO,CAAC,MAAmC;AACpE,eAAe,mBAAO,CAAC,MAAwB;AAC/C,qBAAqB,mBAAO,CAAC,MAAmC;AAChE,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,YAAY,mBAAO,CAAC,MAAoB;;AAExC;AACA;AACA;;AAEA;AACA,qCAAqC,iCAAiC,EAAE;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E;AAC/E;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yBAAyB,mBAAmB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACrID;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;AC5Ba;AACb,QAAQ,mBAAO,CAAC,MAAqB;AACrC,cAAc,mBAAO,CAAC,MAA2B;AACjD,0BAA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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA,eAAe,mBAAO,CAAC,MAAwB;AAC/C,cAAc,mBAAO,CAAC,MAAuB;AAC7C,sBAAsB,mBAAO,CAAC,MAAgC;;AAE9D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACnBA,sBAAsB,mBAAO,CAAC,MAA8B;AAC5D,aAAa,mBAAO,CAAC,MAAqB;AAC1C,eAAe,mBAAO,CAAC,MAAwB;AAC/C,kCAAkC,mBAAO,CAAC,MAA6C;AACvF,gBAAgB,mBAAO,CAAC,MAAkB;AAC1C,aAAa,mBAAO,CAAC,MAA2B;AAChD,gBAAgB,mBAAO,CAAC,MAAyB;AACjD,iBAAiB,mBAAO,CAAC,MAA0B;;AAEnD;AACA;;AAEA;AACA,uCAAuC;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/DA,aAAa,mBAAO,CAAC,MAAqB;AAC1C,kCAAkC,mBAAO,CAAC,MAA6C;AACvF,UAAU,mBAAO,CAAC,MAAkB;AACpC,gBAAgB,mBAAO,CAAC,MAAyB;AACjD,oBAAoB,mBAAO,CAAC,MAA6B;AACzD,0BAA0B,mBAAO,CAAC,MAA6B;;AAE/D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;ACvCD,eAAe,mBAAO,CAAC,MAAwB;AAC/C,qBAAqB,mBAAO,CAAC,MAAsC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,SAAS;AACtB;AACA;AACA,wCAAwC,SAAS;AACjD;AACA;AACA,WAAW,SAAS,GAAG,SAAS;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACzBA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,6BAA6B,mBAAO,CAAC,MAAuC;;AAE5E;AACA;AACA;AACA;AACA;;;;;;;;ACNA,eAAe,mBAAO,CAAC,MAAwB;AAC/C,uBAAuB,mBAAO,CAAC,MAAuC;AACtE,kBAAkB,mBAAO,CAAC,MAA4B;AACtD,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,WAAW,mBAAO,CAAC,MAAmB;AACtC,4BAA4B,mBAAO,CAAC,MAAsC;AAC1E,gBAAgB,mBAAO,CAAC,MAAyB;;AAEjD;AACA;AACA;AACA;AACA;;AAEA,oCAAoC;;AAEpC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;AC7EA,aAAa,mBAAO,CAAC,MAAqB;AAC1C,oBAAoB,mBAAO,CAAC,MAA6B;;AAEzD;;AAEA;;;;;;;;ACL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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC9LA,eAAe,mBAAO,CAAC,MAAY;AACnC,eAAe,mBAAO,CAAC,MAAY;;AAEnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACjEA,aAAa,mBAAO,CAAC,MAAqB;AAC1C,aAAa,mBAAO,CAAC,MAAqB;AAC1C,UAAU,mBAAO,CAAC,MAAkB;AACpC,UAAU,mBAAO,CAAC,MAAkB;AACpC,oBAAoB,mBAAO,CAAC,MAA4B;AACxD,wBAAwB,mBAAO,CAAC,MAAgC;;AAEhE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;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;AACA,yBAAyB,4CAA4C;AACrE;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,WAAW;AACxD;AACA;AACA;;AAEA,2BAA2B,mBAAmB,aAAa;;AAE3D;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA,gBAAgB;AAChB;AACA,cAAc;AACd,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA,gCAAgC,4CAA4C;AAC5E;AACA;AACA,2BAA2B,uCAAuC;AAClE;AACA;;AAEA;AACA;;;;;;;;;AC5Ha;AACb,QAAQ,mBAAO,CAAC,MAAqB;AACrC,WAAW,mBAAO,CAAC,MAA8B;AACjD,mCAAmC,mBAAO,CAAC,MAA+C;AAC1F,8BAA8B,mBAAO,CAAC,MAA0C;;AAEhF;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG,gFAAgF;AACnF;AACA;AACA;AACA,CAAC;;;;;;;;ACjBD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,aAAa,EAAE;;;;;;;;;ACZ/B,yBAAyB,mBAAO,CAAC,MAAmC;AACpE,kBAAkB,mBAAO,CAAC,MAA4B;;AAEtD;AACA;AACA;AACA;AACA;;;;;;;;ACPA,gBAAgB,mBAAO,CAAC,MAAa;;AAErC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;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,MAAuB;AAC7C,sBAAsB,mBAAO,CAAC,MAAgC;AAC9D,eAAe,mBAAO,CAAC,MAAwB;AAC/C,sBAAsB,mBAAO,CAAC,MAAgC;AAC9D,qBAAqB,mBAAO,CAAC,MAA8B;AAC3D,sBAAsB,mBAAO,CAAC,MAAgC;AAC9D,mCAAmC,mBAAO,CAAC,MAA+C;AAC1F,8BAA8B,mBAAO,CAAC,MAA0C;;AAEhF;AACA,uDAAuD,8BAA8B;;AAErF;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG,gFAAgF;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA,CAAC;;;;;;;;AChDD;AACA,oBAAoB,mBAAO,CAAC,MAA6B;AACzD,6BAA6B,mBAAO,CAAC,MAAuC;;AAE5E;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA,oBAAoB,mBAAO,CAAC,MAA4B;;AAExD;AACA;AACA;AACA;AACA;;;;;;;;ACNA,iBAAiB,mBAAO,CAAC,MAAe;AACxC,mBAAmB,mBAAO,CAAC,MAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA","file":"vue3-treeselect.common.js","sourcesContent":[" \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 = \"fb15\");\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));\n return A;\n }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return nativeGetOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar replace = ''.replace;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d\\d?)/g;\n\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\n\nvar arrayPush = [].push;\nvar min = Math.min;\nvar MAX_UINT32 = 0xFFFFFFFF;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output.length > lim ? output.slice(0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n}, !SUPPORTS_Y);\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var classof = require('./classof-raw');\nvar regexpExec = require('./regexp-exec');\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n\n if (classof(R) !== 'RegExp') {\n throw TypeError('RegExp#exec called on incompatible receiver');\n }\n\n return regexpExec.call(R, S);\n};\n\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n}\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n} : [].forEach;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var before = require('./before');\n\n/**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\nfunction once(func) {\n return before(2, func);\n}\n\nmodule.exports = once;\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar redefine = require('../internals/redefine');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\nvar flags = require('../internals/regexp-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n redefine(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var p = String(R.source);\n var rf = R.flags;\n var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);\n return '/' + p + '/' + f;\n }, { unsafe: true });\n}\n","module.exports = isPromise;\nmodule.exports.default = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = match[0] + match[1];\n} else if (userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = match[1];\n }\n}\n\nmodule.exports = version && +version;\n","'use strict';\n\nfunction fuzzysearch (needle, haystack) {\n var tlen = haystack.length;\n var qlen = needle.length;\n if (qlen > tlen) {\n return false;\n }\n if (qlen === tlen) {\n return needle === haystack;\n }\n outer: for (var i = 0, j = 0; i < qlen; i++) {\n var nch = needle.charCodeAt(i);\n while (j < tlen) {\n if (haystack.charCodeAt(j++) === nch) {\n continue outer;\n }\n }\n return false;\n }\n return true;\n}\n\nmodule.exports = fuzzysearch;\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // Chrome 38 Symbol has incorrect toString conversion\n // eslint-disable-next-line no-undef\n return !String(Symbol());\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n// Edge 14- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar test = [];\nvar nativeSort = test.sort;\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD;\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? nativeSort.call(toObject(this))\n : nativeSort.call(toObject(this), aFunction(comparefn));\n }\n});\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\nvar max = Math.max;\nvar min = Math.min;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {\n var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;\n var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n return replacer !== undefined\n ? replacer.call(searchValue, O, replaceValue)\n : nativeReplace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n if (\n (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||\n (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)\n ) {\n var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);\n if (res.done) return res.value;\n }\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n results.push(result);\n if (!global) break;\n\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n});\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.8.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","// a string of all valid unicode whitespaces\n// eslint-disable-next-line max-len\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var requireObjectCoercible = require('../internals/require-object-coercible');\nvar whitespaces = require('../internals/whitespaces');\n\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = String(requireObjectCoercible($this));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n metadata.facade = it;\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var state;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) {\n createNonEnumerableProperty(value, 'name', key);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","var isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n typeof (NewTarget = dummy.constructor) == 'function' &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","exports.f = Object.getOwnPropertySymbols;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n /* global ActiveXObject */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPrimitive(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","var store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","module.exports = require(\"vue\");","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nvar regexpFlags = require('./regexp-flags');\nvar stickyHelpers = require('./regexp-sticky-helpers');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = regexpFlags.call(re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = flags.replace('y', '');\n if (flags.indexOf('g') === -1) {\n flags += 'g';\n }\n\n strCopy = String(str).slice(re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = nativeExec.call(sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = match.input.slice(charsAdded);\n match[0] = match[0].slice(charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","var fails = require('../internals/fails');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : typeof detection == 'function' ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n concat: function concat(arg) { // eslint-disable-line no-unused-vars\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = toLength(E.length);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","'use strict';\n\nvar fails = require('./fails');\n\n// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,\n// so we use an intermediate function.\nfunction RE(s, f) {\n return RegExp(s, f);\n}\n\nexports.UNSUPPORTED_Y = fails(function () {\n // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\n var re = RE('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\nexports.BROKEN_CARET = fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = RE('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = [].join;\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar STRICT_METHOD = arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {\n join: function join(separator) {\n return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg, 3) : false;\n var element;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.es/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar has = require('../internals/has');\nvar classof = require('../internals/classof-raw');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\n\n// Opera ~12 has broken Object#toString\nvar BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n var first, third, radix, maxCode, digits, length, index, code;\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = it.charCodeAt(0);\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = it.slice(2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = digits.charCodeAt(index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var dummy = this;\n return dummy instanceof NumberWrapper\n // check on 1..constructor(foo) case\n && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)\n ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);\n };\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n redefine(global, NUMBER, NumberWrapper);\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\n\nvar defineProperty = Object.defineProperty;\nvar cache = {};\n\nvar thrower = function (it) { throw it; };\n\nmodule.exports = function (METHOD_NAME, options) {\n if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];\n if (!options) options = {};\n var method = [][METHOD_NAME];\n var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;\n var argument0 = has(options, 0) ? options[0] : thrower;\n var argument1 = has(options, 1) ? options[1] : undefined;\n\n return cache[METHOD_NAME] = !!method && !fails(function () {\n if (ACCESSORS && !DESCRIPTORS) return true;\n var O = { length: -1 };\n\n if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });\n else O[1] = 1;\n\n method.call(O, argument0, argument1);\n });\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","var isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name)) {\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","var bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = [].push;\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_OUT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push.call(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push.call(target, value); // filterOut\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterOut` method\n // https://github.com/tc39/proposal-array-filtering\n filterOut: createMethod(7)\n};\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n","var isObject = require('../internals/is-object');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n if (!isObject(input)) return input;\n var fn, val;\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","module.exports = false;\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\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","var fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar nativeIndexOf = [].indexOf;\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('indexOf');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (key, value) {\n try {\n createNonEnumerableProperty(global, key, value);\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","module.exports = {};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\n\nvar aFunction = function (variable) {\n return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","// extracted by mini-css-extract-plugin","'use strict';\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\n","var anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n setter.call(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter.call(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","var aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = toLength(O.length);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar regexpExec = require('../internals/regexp-exec');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$
') !== '7';\n});\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\nvar REPLACE = wellKnownSymbol('replace');\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\nmodule.exports = function (KEY, length, exec, sham) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !(\n REPLACE_SUPPORTS_NAMED_GROUPS &&\n REPLACE_KEEPS_$0 &&\n !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n )) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }, {\n REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,\n REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n });\n var stringMethod = methods[0];\n var regexMethod = methods[1];\n\n redefine(String.prototype, KEY, stringMethod);\n redefine(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return regexMethod.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return regexMethod.call(string, this); }\n );\n }\n\n if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n// FF49- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line no-undef\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func\n (function () { return this; })() || Function('return this')();\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var toInteger = require('./toInteger');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\nfunction before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n}\n\nmodule.exports = before;\n","var has = require('../internals/has');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var has = require('../internals/has');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\nmodule.exports = Array.isArray || function isArray(arg) {\n return classof(arg) == 'Array';\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","\r\n\r\n\r\n","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayLikeToArray from \"@babel/runtime/helpers/esm/arrayLikeToArray\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"@babel/runtime/helpers/esm/arrayWithHoles\";\nimport iterableToArrayLimit from \"@babel/runtime/helpers/esm/iterableToArrayLimit\";\nimport unsupportedIterableToArray from \"@babel/runtime/helpers/esm/unsupportedIterableToArray\";\nimport nonIterableRest from \"@babel/runtime/helpers/esm/nonIterableRest\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","import arrayLikeToArray from \"@babel/runtime/helpers/esm/arrayLikeToArray\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"@babel/runtime/helpers/esm/arrayWithoutHoles\";\nimport iterableToArray from \"@babel/runtime/helpers/esm/iterableToArray\";\nimport unsupportedIterableToArray from \"@babel/runtime/helpers/esm/unsupportedIterableToArray\";\nimport nonIterableSpread from \"@babel/runtime/helpers/esm/nonIterableSpread\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}","export function isNaN(x) {\r\n return x !== x\r\n}\r\n","export function includes(arrOrStr, elem) {\r\n return arrOrStr.indexOf(elem) !== -1\r\n}\r\n","export const createMap = () => Object.create(null)\r\n","export function quickDiff(arrA, arrB) {\r\n if (arrA.length !== arrB.length) return true\r\n\r\n for (let i = 0; i < arrA.length; i++) {\r\n if (arrA[i] !== arrB[i]) return true\r\n }\r\n\r\n return false\r\n}\r\n","import { noop } from './noop'\r\n\r\nexport const warning = process.env.NODE_ENV === 'production'\r\n ? /* istanbul ignore next */ noop\r\n : function warning(checker, complainer) {\r\n if (!checker()) {\r\n const message = [ '[Vue-Treeselect Warning]' ].concat(complainer())\r\n // eslint-disable-next-line no-console\r\n console.error(...message)\r\n }\r\n }\r\n","export function find(arr, predicate, ctx) {\r\n for (let i = 0, len = arr.length; i < len; i++) {\r\n if (predicate.call(ctx, arr[i], i, arr)) return arr[i]\r\n }\r\n return undefined\r\n}\r\n","export function onLeftClick(mouseDownHandler) {\r\n return function onMouseDown(evt, ...args) {\r\n if (evt.type === 'mousedown' && evt.button === 0) {\r\n mouseDownHandler.call(this, evt, ...args)\r\n }\r\n }\r\n}\r\n","// from react-select\r\nexport function scrollIntoView($scrollingEl, $focusedEl) {\r\n const scrollingReact = $scrollingEl.getBoundingClientRect()\r\n const focusedRect = $focusedEl.getBoundingClientRect()\r\n const overScroll = $focusedEl.offsetHeight / 3\r\n\r\n if (focusedRect.bottom + overScroll > scrollingReact.bottom) {\r\n $scrollingEl.scrollTop = Math.min(\r\n $focusedEl.offsetTop + $focusedEl.clientHeight - $scrollingEl.offsetHeight + overScroll,\r\n $scrollingEl.scrollHeight,\r\n )\r\n } else if (focusedRect.top - overScroll < scrollingReact.top) {\r\n $scrollingEl.scrollTop = Math.max($focusedEl.offsetTop - overScroll, 0)\r\n }\r\n}\r\n","export function removeFromArray(arr, elem) {\r\n const idx = arr.indexOf(elem)\r\n if (idx !== -1) arr.splice(idx, 1)\r\n}\r\n","// Magic value that indicates a root level node.\r\nexport const NO_PARENT_NODE = null\r\n\r\n// Types of checked state.\r\nexport const UNCHECKED = 0\r\nexport const INDETERMINATE = 1\r\nexport const CHECKED = 2\r\n\r\n// Types of count number.\r\nexport const ALL_CHILDREN = 'ALL_CHILDREN'\r\nexport const ALL_DESCENDANTS = 'ALL_DESCENDANTS'\r\nexport const LEAF_CHILDREN = 'LEAF_CHILDREN'\r\nexport const LEAF_DESCENDANTS = 'LEAF_DESCENDANTS'\r\n\r\n// Action types of delayed loading.\r\nexport const LOAD_ROOT_OPTIONS = 'LOAD_ROOT_OPTIONS'\r\nexport const LOAD_CHILDREN_OPTIONS = 'LOAD_CHILDREN_OPTIONS'\r\nexport const ASYNC_SEARCH = 'ASYNC_SEARCH'\r\n\r\n// Acceptable values of `valueConsistsOf` prop.\r\nexport const ALL = 'ALL'\r\nexport const BRANCH_PRIORITY = 'BRANCH_PRIORITY'\r\nexport const LEAF_PRIORITY = 'LEAF_PRIORITY'\r\nexport const ALL_WITH_INDETERMINATE = 'ALL_WITH_INDETERMINATE'\r\n\r\n// Acceptable values of `sortValueBy` prop.\r\nexport const ORDER_SELECTED = 'ORDER_SELECTED'\r\nexport const LEVEL = 'LEVEL'\r\nexport const INDEX = 'INDEX'\r\n\r\n// Key codes look-up table.\r\nexport const KEY_CODES = {\r\n BACKSPACE: 8,\r\n ENTER: 13,\r\n ESCAPE: 27,\r\n END: 35,\r\n HOME: 36,\r\n ARROW_LEFT: 37,\r\n ARROW_UP: 38,\r\n ARROW_RIGHT: 39,\r\n ARROW_DOWN: 40,\r\n DELETE: 46,\r\n}\r\n\r\n// Other constants.\r\nexport const INPUT_DEBOUNCE_DELAY = process.env.NODE_ENV === 'testing'\r\n ? /* to speed up unit testing */ 10\r\n : /* istanbul ignore next */ 200\r\nexport const MIN_INPUT_WIDTH = 5\r\nexport const MENU_BUFFER = 40\r\n","import fuzzysearch from 'fuzzysearch'\r\n\r\nimport {\r\n warning,\r\n onLeftClick, scrollIntoView,\r\n isNaN, isPromise, once,\r\n identity, constant, createMap,\r\n quickDiff, last as getLast, includes, find, removeFromArray,\r\n} from '../utils'\r\n\r\nimport {\r\n NO_PARENT_NODE,\r\n UNCHECKED, INDETERMINATE, CHECKED,\r\n LOAD_ROOT_OPTIONS, LOAD_CHILDREN_OPTIONS, ASYNC_SEARCH,\r\n ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE,\r\n ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS,\r\n ORDER_SELECTED, LEVEL, INDEX,\r\n} from '../constants'\r\n\r\nfunction sortValueByIndex(a, b) {\r\n let i = 0\r\n do {\r\n if (a.level < i) return -1\r\n if (b.level < i) return 1\r\n if (a.index[i] !== b.index[i]) return a.index[i] - b.index[i]\r\n i++\r\n } while (true)\r\n}\r\n\r\nfunction sortValueByLevel(a, b) {\r\n return a.level === b.level\r\n ? sortValueByIndex(a, b)\r\n : a.level - b.level\r\n}\r\n\r\nfunction createAsyncOptionsStates() {\r\n return {\r\n isLoaded: false,\r\n isLoading: false,\r\n loadingError: '',\r\n }\r\n}\r\n\r\nfunction stringifyOptionPropValue(value) {\r\n if (typeof value === 'string') return value\r\n if (typeof value === 'number' && !isNaN(value)) return value + ''\r\n // istanbul ignore next\r\n return ''\r\n}\r\n\r\nfunction match(enableFuzzyMatch, needle, haystack) {\r\n return enableFuzzyMatch\r\n ? fuzzysearch(needle, haystack)\r\n : includes(haystack, needle)\r\n}\r\n\r\nfunction getErrorMessage(err) {\r\n return err.message || /* istanbul ignore next */String(err)\r\n}\r\n\r\nlet instanceId = 0\r\n\r\nexport default {\r\n provide() {\r\n return {\r\n // Enable access to the instance of root component of vue-treeselect\r\n // across hierarchy.\r\n instance: this,\r\n }\r\n },\r\n\r\n props: {\r\n /**\r\n * Whether to allow resetting value even if there are disabled selected nodes.\r\n */\r\n allowClearingDisabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When an ancestor node is selected/deselected, whether its disabled descendants should be selected/deselected.\r\n * You may want to use this in conjunction with `allowClearingDisabled` prop.\r\n */\r\n allowSelectingDisabledDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether the menu should be always open.\r\n */\r\n alwaysOpen: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Append the menu to ?\r\n */\r\n appendToBody: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable async search mode.\r\n */\r\n async: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically focus the component on mount?\r\n */\r\n autoFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically load root options on mount. When set to `false`, root options will be loaded when the menu is opened.\r\n */\r\n autoLoadRootOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its ancestors. Applies to flat mode only.\r\n */\r\n autoDeselectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its descendants. Applies to flat mode only.\r\n */\r\n autoDeselectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its ancestors. Applies to flat mode only.\r\n */\r\n autoSelectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its descendants. Applies to flat mode only.\r\n */\r\n autoSelectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing backspace key removes the last item if there is no text input.\r\n */\r\n backspaceRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Function that processes before clearing all input fields.\r\n * Return `false` to prevent value from being cleared.\r\n * @type {function(): (boolean|Promise)}\r\n */\r\n beforeClearAll: {\r\n type: Function,\r\n default: constant(true),\r\n },\r\n\r\n /**\r\n * Show branch nodes before leaf nodes?\r\n */\r\n branchNodesFirst: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Should cache results of every search request?\r\n */\r\n cacheOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Show an \"×\" button that resets value?\r\n */\r\n clearable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button when `multiple: true`.\r\n */\r\n clearAllText: {\r\n type: String,\r\n default: 'Clear all',\r\n },\r\n\r\n /**\r\n * Whether to clear the search input after selecting.\r\n * Use only when `multiple` is `true`.\r\n * For single-select mode, it **always** clears the input after selecting an option regardless of the prop value.\r\n */\r\n clearOnSelect: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button.\r\n */\r\n clearValueText: {\r\n type: String,\r\n default: 'Clear value',\r\n },\r\n\r\n /**\r\n * Whether to close the menu after selecting an option?\r\n * Use only when `multiple` is `true`.\r\n */\r\n closeOnSelect: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * How many levels of branch nodes should be automatically expanded when loaded.\r\n * Set `Infinity` to make all branch nodes expanded by default.\r\n */\r\n defaultExpandLevel: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The default set of options to show before the user starts searching. Used for async search mode.\r\n * When set to `true`, the results for search query as a empty string will be autoloaded.\r\n * @type {boolean|node[]}\r\n */\r\n defaultOptions: {\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing delete key removes the last item if there is no text input.\r\n */\r\n deleteRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Delimiter to use to join multiple values for the hidden field value.\r\n */\r\n delimiter: {\r\n type: String,\r\n default: ',',\r\n },\r\n\r\n /**\r\n * Only show the nodes that match the search value directly, excluding its ancestors.\r\n *\r\n * @type {Object}\r\n */\r\n flattenSearchResults: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Prevent branch nodes from being selected?\r\n */\r\n disableBranchNodes: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the control?\r\n */\r\n disabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the fuzzy matching functionality?\r\n */\r\n disableFuzzyMatching: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable flat mode or not. Non-flat mode (default) means:\r\n * - Whenever a branch node gets checked, all its children will be checked too\r\n * - Whenever a branch node has all children checked, the branch node itself will be checked too\r\n * Set `true` to disable this mechanism\r\n */\r\n flat: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Will be passed with all events as the last param.\r\n * Useful for identifying events origin.\r\n */\r\n instanceId: {\r\n // Add two trailing \"$\" to distinguish from explictly specified ids.\r\n default: () => `${instanceId++}$$`,\r\n type: [ String, Number ],\r\n },\r\n\r\n /**\r\n * Joins multiple values into a single form field with the `delimiter` (legacy mode).\r\n */\r\n joinValues: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Limit the display of selected options.\r\n * The rest will be hidden within the limitText string.\r\n */\r\n limit: {\r\n type: Number,\r\n default: Infinity,\r\n },\r\n\r\n /**\r\n * Function that processes the message shown when selected elements pass the defined limit.\r\n * @type {function(number): string}\r\n */\r\n limitText: {\r\n type: Function,\r\n default: function limitTextDefault(count) { // eslint-disable-line func-name-matching\r\n return `and ${count} more`\r\n },\r\n },\r\n\r\n /**\r\n * Text displayed when loading options.\r\n */\r\n loadingText: {\r\n type: String,\r\n default: 'Loading...',\r\n },\r\n\r\n /**\r\n * Used for dynamically loading options.\r\n * @type {function({action: string, callback: (function((Error|string)=): void), parentNode: node=, instanceId}): void}\r\n */\r\n loadOptions: {\r\n type: Function,\r\n },\r\n\r\n /**\r\n * Which node properties to filter on.\r\n */\r\n matchKeys: {\r\n type: Array,\r\n default: constant([ 'label' ]),\r\n },\r\n\r\n /**\r\n * Sets `maxHeight` style value of the menu.\r\n */\r\n maxHeight: {\r\n type: Number,\r\n default: 300,\r\n },\r\n\r\n /**\r\n * Set `true` to allow selecting multiple options (a.k.a., multi-select mode).\r\n */\r\n multiple: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Generates a hidden tag with this field name for html forms.\r\n */\r\n name: {\r\n type: String,\r\n },\r\n\r\n /**\r\n * Text displayed when a branch node has no children.\r\n */\r\n noChildrenText: {\r\n type: String,\r\n default: 'No sub-options.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no available options.\r\n */\r\n noOptionsText: {\r\n type: String,\r\n default: 'No options available.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no matching search results.\r\n */\r\n noResultsText: {\r\n type: String,\r\n default: 'No results found...',\r\n },\r\n\r\n /**\r\n * Used for normalizing source data.\r\n * @type {function(node, instanceId): node}\r\n */\r\n normalizer: {\r\n type: Function,\r\n default: identity,\r\n },\r\n\r\n /**\r\n * By default (`auto`), the menu will open below the control. If there is not\r\n * enough space, vue-treeselect will automatically flip the menu.\r\n * You can use one of other four options to force the menu to be always opened\r\n * to specified direction.\r\n * Acceptable values:\r\n * - `\"auto\"`\r\n * - `\"below\"`\r\n * - `\"bottom\"`\r\n * - `\"above\"`\r\n * - `\"top\"`\r\n */\r\n openDirection: {\r\n type: String,\r\n default: 'auto',\r\n validator(value) {\r\n const acceptableValues = [ 'auto', 'top', 'bottom', 'above', 'below' ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is clicked.\r\n */\r\n openOnClick: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is focused.\r\n */\r\n openOnFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Array of available options.\r\n * @type {node[]}\r\n */\r\n options: {\r\n type: Array,\r\n },\r\n\r\n /**\r\n * Field placeholder, displayed when there's no value.\r\n */\r\n placeholder: {\r\n type: String,\r\n default: 'Select...',\r\n },\r\n\r\n /**\r\n * Applies HTML5 required attribute when needed.\r\n */\r\n required: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text displayed asking user whether to retry loading children options.\r\n */\r\n retryText: {\r\n type: String,\r\n default: 'Retry?',\r\n },\r\n\r\n /**\r\n * Title for the retry button.\r\n */\r\n retryTitle: {\r\n type: String,\r\n default: 'Click to retry',\r\n },\r\n\r\n /**\r\n * Enable searching feature?\r\n */\r\n searchable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Search in ancestor nodes too.\r\n */\r\n searchNested: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text tip to prompt for async search.\r\n */\r\n searchPromptText: {\r\n type: String,\r\n default: 'Type to search...',\r\n },\r\n\r\n /**\r\n * Whether to show a children count next to the label of each branch node.\r\n */\r\n showCount: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Used in conjunction with `showCount` to specify which type of count number should be displayed.\r\n * Acceptable values:\r\n * - \"ALL_CHILDREN\"\r\n * - \"ALL_DESCENDANTS\"\r\n * - \"LEAF_CHILDREN\"\r\n * - \"LEAF_DESCENDANTS\"\r\n */\r\n showCountOf: {\r\n type: String,\r\n default: ALL_CHILDREN,\r\n validator(value) {\r\n const acceptableValues = [ ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to show children count when searching.\r\n * Fallbacks to the value of `showCount` when not specified.\r\n * @type {boolean}\r\n */\r\n showCountOnSearch: null,\r\n\r\n /**\r\n * In which order the selected options should be displayed in trigger & sorted in `value` array.\r\n * Used for multi-select mode only.\r\n * Acceptable values:\r\n * - \"ORDER_SELECTED\"\r\n * - \"LEVEL\"\r\n * - \"INDEX\"\r\n */\r\n sortValueBy: {\r\n type: String,\r\n default: ORDER_SELECTED,\r\n validator(value) {\r\n const acceptableValues = [ ORDER_SELECTED, LEVEL, INDEX ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Tab index of the control.\r\n */\r\n tabIndex: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The value of the control.\r\n * Should be `id` or `node` object for single-select mode, or an array of `id` or `node` object for multi-select mode.\r\n * Its format depends on the `valueFormat` prop.\r\n * For most cases, just use `v-model` instead.\r\n * @type {?Array}\r\n */\r\n modelValue: null,\r\n\r\n /**\r\n * Which kind of nodes should be included in the `value` array in multi-select mode.\r\n * Acceptable values:\r\n * - \"ALL\" - Any node that is checked will be included in the `value` array\r\n * - \"BRANCH_PRIORITY\" (default) - If a branch node is checked, all its descendants will be excluded in the `value` array\r\n * - \"LEAF_PRIORITY\" - If a branch node is checked, this node itself and its branch descendants will be excluded from the `value` array but its leaf descendants will be included\r\n * - \"ALL_WITH_INDETERMINATE\" - Any node that is checked will be included in the `value` array, plus indeterminate nodes\r\n */\r\n valueConsistsOf: {\r\n type: String,\r\n default: BRANCH_PRIORITY,\r\n validator(value) {\r\n const acceptableValues = [ ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Format of `value` prop.\r\n * Note that, when set to `\"object\"`, only `id` & `label` properties are required in each `node` object in `value` prop.\r\n * Acceptable values:\r\n * - \"id\"\r\n * - \"object\"\r\n */\r\n valueFormat: {\r\n type: String,\r\n default: 'id',\r\n },\r\n\r\n /**\r\n * z-index of the menu.\r\n */\r\n zIndex: {\r\n type: [ Number, String ],\r\n default: 999,\r\n },\r\n },\r\n\r\n data() {\r\n return {\r\n trigger: {\r\n // Is the control focused?\r\n isFocused: false,\r\n // User entered search query - value of the input.\r\n searchQuery: '',\r\n },\r\n\r\n menu: {\r\n // Is the menu opened?\r\n isOpen: false,\r\n // Id of current highlighted option.\r\n current: null,\r\n // The scroll position before last menu closing.\r\n lastScrollPosition: 0,\r\n // Which direction to open the menu.\r\n placement: 'bottom',\r\n },\r\n\r\n forest: {\r\n // Normalized options.\r\n normalizedOptions: [],\r\n // map for quick look-up.\r\n nodeMap: createMap(),\r\n // map, used for multi-select mode.\r\n checkedStateMap: createMap(),\r\n // Id list of all selected options.\r\n selectedNodeIds: this.extractCheckedNodeIdsFromValue(),\r\n // map for fast checking:\r\n // if (forest.selectedNodeIds.indexOf(id) !== -1) forest.selectedNodeMap[id] === true\r\n selectedNodeMap: createMap(),\r\n },\r\n\r\n // States of root options.\r\n rootOptionsStates: createAsyncOptionsStates(),\r\n\r\n localSearch: {\r\n // Has user entered any query to search local options?\r\n active: false,\r\n // Has any options matched the search query?\r\n noResults: true,\r\n // map for counting matched children/descendants.\r\n countMap: createMap(),\r\n },\r\n\r\n // map.\r\n remoteSearch: createMap(),\r\n }\r\n },\r\n\r\n computed: {\r\n /* eslint-disable valid-jsdoc */\r\n /**\r\n * Normalized nodes that have been selected.\r\n * @type {node[]}\r\n */\r\n selectedNodes() {\r\n return this.forest.selectedNodeIds.map(this.getNode)\r\n },\r\n /**\r\n * Id list of selected nodes with `sortValueBy` prop applied.\r\n * @type {nodeId[]}\r\n */\r\n internalValue() {\r\n let internalValue\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isRootNode) return true\r\n return !this.isSelected(node.parentNode)\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isLeaf) return true\r\n return node.children.length === 0\r\n })\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const indeterminateNodeIds = []\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n this.selectedNodes.forEach(selectedNode => {\r\n selectedNode.ancestors.forEach(ancestor => {\r\n if (includes(indeterminateNodeIds, ancestor.id)) return\r\n if (includes(internalValue, ancestor.id)) return\r\n indeterminateNodeIds.push(ancestor.id)\r\n })\r\n })\r\n internalValue.push(...indeterminateNodeIds)\r\n }\r\n\r\n if (this.sortValueBy === LEVEL) {\r\n internalValue.sort((a, b) => sortValueByLevel(this.getNode(a), this.getNode(b)))\r\n } else if (this.sortValueBy === INDEX) {\r\n internalValue.sort((a, b) => sortValueByIndex(this.getNode(a), this.getNode(b)))\r\n }\r\n\r\n return internalValue\r\n },\r\n /**\r\n * Has any option been selected?\r\n * @type {boolean}\r\n */\r\n hasValue() {\r\n return this.internalValue.length > 0\r\n },\r\n /**\r\n * Single-select mode?\r\n * @type {boolean}\r\n */\r\n single() {\r\n return !this.multiple\r\n },\r\n /**\r\n * Id list of nodes displayed in the menu. Nodes that are considered NOT visible:\r\n * - descendants of a collapsed branch node\r\n * - in local search mode, nodes that are not matched, unless\r\n * - it's a branch node and has matched descendants\r\n * - it's a leaf node and its parent node is explicitly set to show all children\r\n * @type {id[]}\r\n */\r\n visibleOptionIds() {\r\n const visibleOptionIds = []\r\n\r\n this.traverseAllNodesByIndex(node => {\r\n if (!this.localSearch.active || this.shouldOptionBeIncludedInSearchResult(node)) {\r\n visibleOptionIds.push(node.id)\r\n }\r\n // Skip the traversal of descendants of a branch node if it's not expanded.\r\n if (node.isBranch && !this.shouldExpand(node)) {\r\n return false\r\n }\r\n })\r\n\r\n return visibleOptionIds\r\n },\r\n /**\r\n * Has any option should be displayed in the menu?\r\n * @type {boolean}\r\n */\r\n hasVisibleOptions() {\r\n return this.visibleOptionIds.length !== 0\r\n },\r\n /**\r\n * Should show children count when searching?\r\n * @type {boolean}\r\n */\r\n showCountOnSearchComputed() {\r\n // Vue doesn't allow setting default prop value based on another prop value.\r\n // So use computed property as a workaround.\r\n // https://github.com/vuejs/vue/issues/6358\r\n return typeof this.showCountOnSearch === 'boolean'\r\n ? this.showCountOnSearch\r\n : this.showCount\r\n },\r\n /**\r\n * Is there any branch node?\r\n * @type {boolean}\r\n */\r\n hasBranchNodes() {\r\n return this.forest.normalizedOptions.some(rootNode => rootNode.isBranch)\r\n },\r\n shouldFlattenOptions() {\r\n return this.localSearch.active && this.flattenSearchResults\r\n },\r\n /* eslint-enable valid-jsdoc */\r\n },\r\n\r\n watch: {\r\n alwaysOpen(newValue) {\r\n if (newValue) this.openMenu()\r\n else this.closeMenu()\r\n },\r\n\r\n branchNodesFirst() {\r\n this.initialize()\r\n },\r\n\r\n disabled(newValue) {\r\n // force close the menu after disabling the control\r\n if (newValue && this.menu.isOpen) this.closeMenu()\r\n else if (!newValue && !this.menu.isOpen && this.alwaysOpen) this.openMenu()\r\n },\r\n\r\n flat() {\r\n this.initialize()\r\n },\r\n\r\n internalValue(newValue, oldValue) {\r\n const hasChanged = quickDiff(newValue, oldValue)\r\n // #122\r\n // Vue would trigger this watcher when `newValue` and `oldValue` are shallow-equal.\r\n // We emit the `input` event only when the value actually changes.\r\n if (hasChanged) this.$emit('update:modelValue', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n matchKeys() {\r\n this.initialize()\r\n },\r\n\r\n multiple(newValue) {\r\n // We need to rebuild the state when switching from single-select mode\r\n // to multi-select mode.\r\n // istanbul ignore else\r\n if (newValue) this.buildForestState()\r\n },\r\n\r\n options: {\r\n handler() {\r\n if (this.async) return\r\n // Re-initialize options when the `options` prop has changed.\r\n this.initialize()\r\n this.rootOptionsStates.isLoaded = Array.isArray(this.options)\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n\r\n 'trigger.searchQuery'() {\r\n if (this.async) {\r\n this.handleRemoteSearch()\r\n } else {\r\n this.handleLocalSearch()\r\n }\r\n\r\n this.$emit('search-change', this.trigger.searchQuery, this.getInstanceId())\r\n },\r\n\r\n value() {\r\n const nodeIdsFromValue = this.extractCheckedNodeIdsFromValue()\r\n const hasChanged = quickDiff(nodeIdsFromValue, this.internalValue)\r\n if (hasChanged) this.fixSelectedNodeIds(nodeIdsFromValue)\r\n },\r\n },\r\n\r\n methods: {\r\n verifyProps() {\r\n warning(\r\n () => this.async ? this.searchable : true,\r\n () => 'For async search mode, the value of \"searchable\" prop must be true.',\r\n )\r\n\r\n if (this.options == null && !this.loadOptions) {\r\n warning(\r\n () => false,\r\n () => 'Are you meant to dynamically load options? You need to use \"loadOptions\" prop.',\r\n )\r\n }\r\n\r\n if (this.flat) {\r\n warning(\r\n () => this.multiple,\r\n () => 'You are using flat mode. But you forgot to add \"multiple=true\"?',\r\n )\r\n }\r\n\r\n if (!this.flat) {\r\n const propNames = [\r\n 'autoSelectAncestors',\r\n 'autoSelectDescendants',\r\n 'autoDeselectAncestors',\r\n 'autoDeselectDescendants',\r\n ]\r\n\r\n propNames.forEach(propName => {\r\n warning(\r\n () => !this[propName],\r\n () => `\"${propName}\" only applies to flat mode.`,\r\n )\r\n })\r\n }\r\n },\r\n\r\n resetFlags() {\r\n this._blurOnSelect = false\r\n },\r\n\r\n initialize() {\r\n const options = this.async\r\n ? this.getRemoteSearchEntry().options\r\n : this.options\r\n\r\n if (Array.isArray(options)) {\r\n // In case we are re-initializing options, keep the old state tree temporarily.\r\n const prevNodeMap = this.forest.nodeMap\r\n this.forest.nodeMap = createMap()\r\n this.keepDataOfSelectedNodes(prevNodeMap)\r\n this.forest.normalizedOptions = this.normalize(NO_PARENT_NODE, options, prevNodeMap)\r\n // Cases that need fixing `selectedNodeIds`:\r\n // 1) Children options of a checked node have been delayed loaded,\r\n // we should also mark these children as checked. (multi-select mode)\r\n // 2) Root options have been delayed loaded, we need to initialize states\r\n // of these nodes. (multi-select mode)\r\n // 3) Async search mode.\r\n this.fixSelectedNodeIds(this.internalValue)\r\n } else {\r\n this.forest.normalizedOptions = []\r\n }\r\n },\r\n\r\n getInstanceId() {\r\n return this.instanceId == null ? this.id : this.instanceId\r\n },\r\n\r\n getValue() {\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.internalValue.slice()\r\n : this.internalValue[0]\r\n }\r\n\r\n const rawNodes = this.internalValue.map(id => this.getNode(id).raw)\r\n return this.multiple ? rawNodes : rawNodes[0]\r\n },\r\n\r\n getNode(nodeId) {\r\n warning(\r\n () => nodeId != null,\r\n () => `Invalid node id: ${nodeId}`,\r\n )\r\n\r\n if (nodeId == null) return null\r\n\r\n return nodeId in this.forest.nodeMap\r\n ? this.forest.nodeMap[nodeId]\r\n : this.createFallbackNode(nodeId)\r\n },\r\n\r\n createFallbackNode(id) {\r\n // In case there is a default selected node that is not loaded into the tree yet,\r\n // we create a fallback node to keep the component working.\r\n // When the real data is loaded, we'll override this fake node.\r\n\r\n const raw = this.extractNodeFromValue(id)\r\n const label = this.enhancedNormalizer(raw).label || `${id} (unknown)`\r\n const fallbackNode = {\r\n id,\r\n label,\r\n ancestors: [],\r\n parentNode: NO_PARENT_NODE,\r\n isFallbackNode: true,\r\n isRootNode: true,\r\n isLeaf: true,\r\n isBranch: false,\r\n isDisabled: false,\r\n isNew: false,\r\n index: [ -1 ],\r\n level: 0,\r\n raw,\r\n }\r\n\r\n return this.forest.nodeMap[id] = fallbackNode\r\n // return this.$ set(this.forest.nodeMap, id, fallbackNode)\r\n },\r\n\r\n extractCheckedNodeIdsFromValue() {\r\n if (this.modelValue == null) return []\r\n\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.modelValue.slice()\r\n : [ this.modelValue ]\r\n }\r\n\r\n return (this.multiple ? this.modelValue : [ this.modelValue ])\r\n .map(node => this.enhancedNormalizer(node))\r\n .map(node => node.id)\r\n },\r\n\r\n extractNodeFromValue(id) {\r\n const defaultNode = { id }\r\n\r\n if (this.valueFormat === 'id') {\r\n return defaultNode\r\n }\r\n\r\n const valueArray = this.multiple\r\n ? Array.isArray(this.modelValue) ? this.modelValue : []\r\n : this.modelValue ? [ this.modelValue ] : []\r\n const matched = find(\r\n valueArray,\r\n node => node && this.enhancedNormalizer(node).id === id,\r\n )\r\n\r\n return matched || defaultNode\r\n },\r\n\r\n fixSelectedNodeIds(nodeIdListOfPrevValue) {\r\n let nextSelectedNodeIds = []\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n nextSelectedNodeIds = nodeIdListOfPrevValue\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n nodeIdListOfPrevValue.forEach(nodeId => {\r\n nextSelectedNodeIds.push(nodeId)\r\n const node = this.getNode(nodeId)\r\n if (node.isBranch) this.traverseDescendantsBFS(node, descendant => {\r\n nextSelectedNodeIds.push(descendant.id)\r\n })\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.slice()\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.filter(nodeId => {\r\n const node = this.getNode(nodeId)\r\n return node.isLeaf || node.children.length === 0\r\n })\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n }\r\n\r\n const hasChanged = quickDiff(this.forest.selectedNodeIds, nextSelectedNodeIds)\r\n // If `nextSelectedNodeIds` doesn't actually differ from old `selectedNodeIds`,\r\n // we don't make the assignment to avoid triggering its watchers which may cause\r\n // unnecessary calculations.\r\n if (hasChanged) this.forest.selectedNodeIds = nextSelectedNodeIds\r\n\r\n this.buildForestState()\r\n },\r\n\r\n keepDataOfSelectedNodes(prevNodeMap) {\r\n // In case there is any selected node that is not present in the new `options` array.\r\n // It could be useful for async search mode.\r\n this.forest.selectedNodeIds.forEach(id => {\r\n if (!prevNodeMap[id]) return\r\n const node = {\r\n ...prevNodeMap[id],\r\n isFallbackNode: true,\r\n }\r\n // this.$ set(this.forest.nodeMap, id, node)\r\n this.forest.nodeMap[id] = node\r\n })\r\n },\r\n\r\n isSelected(node) {\r\n // whether a node is selected (single-select mode) or fully-checked (multi-select mode)\r\n return this.forest.selectedNodeMap[node.id] === true\r\n },\r\n\r\n traverseDescendantsBFS(parentNode, callback) {\r\n // istanbul ignore if\r\n if (!parentNode.isBranch) return\r\n const queue = parentNode.children.slice()\r\n while (queue.length) {\r\n const currNode = queue[0]\r\n if (currNode.isBranch) queue.push(...currNode.children)\r\n callback(currNode)\r\n queue.shift()\r\n }\r\n },\r\n\r\n traverseDescendantsDFS(parentNode, callback) {\r\n if (!parentNode.isBranch) return\r\n parentNode.children.forEach(child => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(child, callback)\r\n callback(child)\r\n })\r\n },\r\n\r\n traverseAllNodesDFS(callback) {\r\n this.forest.normalizedOptions.forEach(rootNode => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(rootNode, callback)\r\n callback(rootNode)\r\n })\r\n },\r\n\r\n traverseAllNodesByIndex(callback) {\r\n const walk = parentNode => {\r\n parentNode.children.forEach(child => {\r\n if (callback(child) !== false && child.isBranch) {\r\n walk(child)\r\n }\r\n })\r\n }\r\n\r\n // To simplify the code logic of traversal,\r\n // we create a fake root node that holds all the root options.\r\n walk({ children: this.forest.normalizedOptions })\r\n },\r\n\r\n toggleClickOutsideEvent(enabled) {\r\n if (enabled) {\r\n document.addEventListener('mousedown', this.handleClickOutside, false)\r\n } else {\r\n document.removeEventListener('mousedown', this.handleClickOutside, false)\r\n }\r\n },\r\n\r\n getValueContainer() {\r\n return this.$refs.control.$refs['value-container']\r\n },\r\n\r\n getInput() {\r\n return this.getValueContainer().$refs.input\r\n },\r\n\r\n focusInput() {\r\n this.getInput().focus()\r\n },\r\n\r\n blurInput() {\r\n this.getInput().blur()\r\n },\r\n\r\n handleMouseDown: onLeftClick(function handleMouseDown(evt) {\r\n evt.preventDefault()\r\n evt.stopPropagation()\r\n\r\n if (this.disabled) return\r\n\r\n const isClickedOnValueContainer = this.getValueContainer().$el.contains(evt.target)\r\n if (isClickedOnValueContainer && !this.menu.isOpen && (this.openOnClick || this.trigger.isFocused)) {\r\n this.openMenu()\r\n }\r\n\r\n if (this._blurOnSelect) {\r\n this.blurInput()\r\n } else {\r\n // Focus the input or prevent blurring.\r\n this.focusInput()\r\n }\r\n\r\n this.resetFlags()\r\n }),\r\n\r\n handleClickOutside(evt) {\r\n // istanbul ignore else\r\n if (this.$refs.wrapper && !this.$refs.wrapper.contains(evt.target)) {\r\n this.blurInput()\r\n this.closeMenu()\r\n }\r\n },\r\n\r\n handleLocalSearch() {\r\n const { searchQuery } = this.trigger\r\n const done = () => this.resetHighlightedOptionWhenNecessary(true)\r\n\r\n if (!searchQuery) {\r\n // Exit sync search mode.\r\n this.localSearch.active = false\r\n return done()\r\n }\r\n\r\n // Enter sync search mode.\r\n this.localSearch.active = true\r\n\r\n // Reset states.\r\n this.localSearch.noResults = true\r\n this.traverseAllNodesDFS(node => {\r\n if (node.isBranch) {\r\n node.isExpandedOnSearch = false\r\n node.showAllChildrenOnSearch = false\r\n node.isMatched = false\r\n node.hasMatchedDescendants = false\r\n\r\n this.localSearch.countMap[node.id] = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(this.localSearch.countMap, node.id, {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n }\r\n })\r\n\r\n const lowerCasedSearchQuery = searchQuery.trim().toLocaleLowerCase()\r\n const splitSearchQuery = lowerCasedSearchQuery.replace(/\\s+/g, ' ').split(' ')\r\n this.traverseAllNodesDFS(node => {\r\n if (this.searchNested && splitSearchQuery.length > 1) {\r\n node.isMatched = splitSearchQuery.every(filterValue =>\r\n match(false, filterValue, node.nestedSearchLabel),\r\n )\r\n } else {\r\n node.isMatched = this.matchKeys.some(matchKey =>\r\n match(!this.disableFuzzyMatching, lowerCasedSearchQuery, node.lowerCased[matchKey]),\r\n )\r\n }\r\n\r\n if (node.isMatched) {\r\n this.localSearch.noResults = false\r\n node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][ALL_DESCENDANTS]++)\r\n if (node.isLeaf) node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][LEAF_DESCENDANTS]++)\r\n if (node.parentNode !== NO_PARENT_NODE) {\r\n this.localSearch.countMap[node.parentNode.id][ALL_CHILDREN] += 1\r\n // istanbul ignore else\r\n if (node.isLeaf) this.localSearch.countMap[node.parentNode.id][LEAF_CHILDREN] += 1\r\n }\r\n }\r\n\r\n if (\r\n (node.isMatched || (node.isBranch && node.isExpandedOnSearch)) &&\r\n node.parentNode !== NO_PARENT_NODE\r\n ) {\r\n node.parentNode.isExpandedOnSearch = true\r\n node.parentNode.hasMatchedDescendants = true\r\n }\r\n })\r\n\r\n done()\r\n },\r\n\r\n handleRemoteSearch() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.getRemoteSearchEntry()\r\n const done = () => {\r\n this.initialize()\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n }\r\n\r\n if ((searchQuery === '' || this.cacheOptions) && entry.isLoaded) {\r\n return done()\r\n }\r\n\r\n this.callLoadOptionsProp({\r\n action: ASYNC_SEARCH,\r\n args: { searchQuery },\r\n isPending() {\r\n return entry.isLoading\r\n },\r\n start: () => {\r\n entry.isLoading = true\r\n entry.isLoaded = false\r\n entry.loadingError = ''\r\n },\r\n succeed: options => {\r\n entry.isLoaded = true\r\n entry.options = options\r\n // When the request completes, the search query may have changed.\r\n // We only show these options if they are for the current search query.\r\n if (this.trigger.searchQuery === searchQuery) done()\r\n },\r\n fail: err => {\r\n entry.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n entry.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n getRemoteSearchEntry() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.remoteSearch[searchQuery] || {\r\n ...createAsyncOptionsStates(),\r\n options: [],\r\n }\r\n\r\n // Vue doesn't support directly watching on objects.\r\n this.$watch(\r\n () => entry.options,\r\n () => {\r\n // TODO: potential redundant re-initialization.\r\n if (this.trigger.searchQuery === searchQuery) this.initialize()\r\n },\r\n { deep: true },\r\n )\r\n\r\n if (searchQuery === '') {\r\n if (Array.isArray(this.defaultOptions)) {\r\n entry.options = this.defaultOptions\r\n entry.isLoaded = true\r\n return entry\r\n } else if (this.defaultOptions !== true) {\r\n entry.isLoaded = true\r\n return entry\r\n }\r\n }\r\n\r\n if (!this.remoteSearch[searchQuery]) {\r\n // this.$ set(this.remoteSearch, searchQuery, entry)\r\n this.remoteSearch[searchQuery] = entry;\r\n }\r\n\r\n return entry\r\n },\r\n\r\n shouldExpand(node) {\r\n return this.localSearch.active ? node.isExpandedOnSearch : node.isExpanded\r\n },\r\n\r\n shouldOptionBeIncludedInSearchResult(node) {\r\n // 1) This option is matched.\r\n if (node.isMatched) return true\r\n // 2) This option is not matched, but has matched descendant(s).\r\n if (node.isBranch && node.hasMatchedDescendants && !this.flattenSearchResults) return true\r\n // 3) This option's parent has no matched descendants,\r\n // but after being expanded, all its children should be shown.\r\n if (!node.isRootNode && node.parentNode.showAllChildrenOnSearch) return true\r\n // 4) The default case.\r\n return false\r\n },\r\n\r\n shouldShowOptionInMenu(node) {\r\n if (this.localSearch.active && !this.shouldOptionBeIncludedInSearchResult(node)) {\r\n return false\r\n }\r\n return true\r\n },\r\n\r\n getControl() {\r\n return this.$refs.control.$el\r\n },\r\n\r\n getMenu() {\r\n const ref = this.appendToBody ? this.$refs.portal.portalTarget : this\r\n const $menu = ref.$refs.menu.$refs.menu\r\n return $menu && $menu.nodeName !== '#comment' ? $menu : null\r\n },\r\n\r\n setCurrentHighlightedOption(node, scroll = true) {\r\n const prev = this.menu.current\r\n if (prev != null && prev in this.forest.nodeMap) {\r\n this.forest.nodeMap[prev].isHighlighted = false\r\n }\r\n\r\n this.menu.current = node.id\r\n node.isHighlighted = true\r\n\r\n if (this.menu.isOpen && scroll) {\r\n const scrollToOption = () => {\r\n const $menu = this.getMenu()\r\n const $option = $menu.querySelector(`.vue-treeselect__option[data-id=\"${node.id}\"]`)\r\n if ($option) scrollIntoView($menu, $option)\r\n }\r\n\r\n // In case `openMenu()` is just called and the menu is not rendered yet.\r\n if (this.getMenu()) {\r\n scrollToOption()\r\n } else {\r\n // istanbul ignore next\r\n this.$nextTick(scrollToOption)\r\n }\r\n }\r\n },\r\n\r\n resetHighlightedOptionWhenNecessary(forceReset = false) {\r\n const { current } = this.menu\r\n\r\n if (\r\n forceReset || current == null ||\r\n !(current in this.forest.nodeMap) ||\r\n !this.shouldShowOptionInMenu(this.getNode(current))\r\n ) {\r\n this.highlightFirstOption()\r\n }\r\n },\r\n\r\n highlightFirstOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const first = this.visibleOptionIds[0]\r\n this.setCurrentHighlightedOption(this.getNode(first))\r\n },\r\n\r\n highlightPrevOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const prev = this.visibleOptionIds.indexOf(this.menu.current) - 1\r\n if (prev === -1) return this.highlightLastOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[prev]))\r\n },\r\n\r\n highlightNextOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const next = this.visibleOptionIds.indexOf(this.menu.current) + 1\r\n if (next === this.visibleOptionIds.length) return this.highlightFirstOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[next]))\r\n },\r\n\r\n highlightLastOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const last = getLast(this.visibleOptionIds)\r\n this.setCurrentHighlightedOption(this.getNode(last))\r\n },\r\n\r\n resetSearchQuery() {\r\n this.trigger.searchQuery = ''\r\n },\r\n\r\n closeMenu() {\r\n if (!this.menu.isOpen || (!this.disabled && this.alwaysOpen)) return\r\n this.saveMenuScrollPosition()\r\n this.menu.isOpen = false\r\n this.toggleClickOutsideEvent(false)\r\n this.resetSearchQuery()\r\n this.$emit('close', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n openMenu() {\r\n if (this.disabled || this.menu.isOpen) return\r\n this.menu.isOpen = true\r\n this.$nextTick(this.resetHighlightedOptionWhenNecessary)\r\n this.$nextTick(this.restoreMenuScrollPosition)\r\n if (!this.options && !this.async) this.loadRootOptions()\r\n this.toggleClickOutsideEvent(true)\r\n this.$emit('open', this.getInstanceId())\r\n },\r\n\r\n toggleMenu() {\r\n if (this.menu.isOpen) {\r\n this.closeMenu()\r\n } else {\r\n this.openMenu()\r\n }\r\n },\r\n\r\n toggleExpanded(node) {\r\n let nextState\r\n\r\n if (this.localSearch.active) {\r\n nextState = node.isExpandedOnSearch = !node.isExpandedOnSearch\r\n if (nextState) node.showAllChildrenOnSearch = true\r\n } else {\r\n nextState = node.isExpanded = !node.isExpanded\r\n }\r\n\r\n if (nextState && !node.childrenStates.isLoaded) {\r\n this.loadChildrenOptions(node)\r\n }\r\n },\r\n\r\n buildForestState() {\r\n const selectedNodeMap = createMap()\r\n this.forest.selectedNodeIds.forEach(selectedNodeId => {\r\n selectedNodeMap[selectedNodeId] = true\r\n })\r\n this.forest.selectedNodeMap = selectedNodeMap\r\n\r\n const checkedStateMap = createMap()\r\n if (this.multiple) {\r\n this.traverseAllNodesByIndex(node => {\r\n checkedStateMap[node.id] = UNCHECKED\r\n })\r\n\r\n this.selectedNodes.forEach(selectedNode => {\r\n checkedStateMap[selectedNode.id] = CHECKED\r\n\r\n if (!this.flat && !this.disableBranchNodes) {\r\n selectedNode.ancestors.forEach(ancestorNode => {\r\n if (!this.isSelected(ancestorNode)) {\r\n checkedStateMap[ancestorNode.id] = INDETERMINATE\r\n }\r\n })\r\n }\r\n })\r\n }\r\n this.forest.checkedStateMap = checkedStateMap\r\n },\r\n\r\n enhancedNormalizer(raw) {\r\n return {\r\n ...raw,\r\n ...this.normalizer(raw, this.getInstanceId()),\r\n }\r\n },\r\n\r\n normalize(parentNode, nodes, prevNodeMap) {\r\n let normalizedOptions = nodes\r\n .map(node => [ this.enhancedNormalizer(node), node ])\r\n .map(([ node, raw ], index) => {\r\n this.checkDuplication(node)\r\n this.verifyNodeShape(node)\r\n\r\n const { id, label, children, isDefaultExpanded } = node\r\n const isRootNode = parentNode === NO_PARENT_NODE\r\n const level = isRootNode ? 0 : parentNode.level + 1\r\n const isBranch = Array.isArray(children) || children === null\r\n const isLeaf = !isBranch\r\n const isDisabled = !!node.isDisabled || (!this.flat && !isRootNode && parentNode.isDisabled)\r\n const isNew = !!node.isNew\r\n const lowerCased = this.matchKeys.reduce((prev, key) => ({\r\n ...prev,\r\n [key]: stringifyOptionPropValue(node[key]).toLocaleLowerCase(),\r\n }), {})\r\n const nestedSearchLabel = isRootNode\r\n ? lowerCased.label\r\n : parentNode.nestedSearchLabel + ' ' + lowerCased.label\r\n\r\n // this.$ set(this.forest.nodeMap, id, createMap())\r\n this.forest.nodeMap[id] = createMap();\r\n\r\n const normalized = this.forest.nodeMap[id];\r\n\r\n normalized.id = id;\r\n normalized.label = label;\r\n normalized.level = level;\r\n normalized.ancestors = isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors);\r\n normalized.index = (isRootNode ? [] : parentNode.index).concat(index);\r\n normalized.parentNode = parentNode;\r\n normalized.lowerCased = lowerCased;\r\n normalized.nestedSearchLabel = nestedSearchLabel;\r\n normalized.isDisabled = isDisabled;\r\n normalized.isNew = isNew;\r\n normalized.isMatched = false;\r\n normalized.isHighlighted = false;\r\n normalized.isBranch = isBranch;\r\n normalized.isLeaf = isLeaf;\r\n normalized.isRootNode = isRootNode;\r\n normalized.raw = raw;\r\n\r\n // this.$ set(normalized, 'id', id)\r\n // this.$ set(normalized, 'label', label)\r\n // this.$ set(normalized, 'level', level)\r\n // this.$ set(normalized, 'ancestors', isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors))\r\n // this.$ set(normalized, 'index', (isRootNode ? [] : parentNode.index).concat(index))\r\n // this.$ set(normalized, 'parentNode', parentNode)\r\n // this.$ set(normalized, 'lowerCased', lowerCased)\r\n // this.$ set(normalized, 'nestedSearchLabel', nestedSearchLabel)\r\n // this.$ set(normalized, 'isDisabled', isDisabled)\r\n // this.$ set(normalized, 'isNew', isNew)\r\n // this.$ set(normalized, 'isMatched', false)\r\n // this.$ set(normalized, 'isHighlighted', false)\r\n // this.$ set(normalized, 'isBranch', isBranch)\r\n // this.$ set(normalized, 'isLeaf', isLeaf)\r\n // this.$ set(normalized, 'isRootNode', isRootNode)\r\n // this.$ set(normalized, 'raw', raw)\r\n\r\n if (isBranch) {\r\n const isLoaded = Array.isArray(children)\r\n\r\n // this.$ set(normalized, 'childrenStates', {\r\n // ...createAsyncOptionsStates(),\r\n // isLoaded,\r\n // })\r\n normalized.childrenStates = {...createAsyncOptionsStates(),isLoaded}\r\n \r\n // this.$ set(normalized, 'isExpanded', typeof isDefaultExpanded === 'boolean'\r\n // ? isDefaultExpanded\r\n // : level < this.defaultExpandLevel)\r\n normalized.isExpanded = typeof isDefaultExpanded === 'boolean' ? isDefaultExpanded : level < this.defaultExpandLevel;\r\n \r\n // this.$ set(normalized, 'hasMatchedDescendants', false)\r\n // this.$ set(normalized, 'hasDisabledDescendants', false)\r\n // this.$ set(normalized, 'isExpandedOnSearch', false)\r\n // this.$ set(normalized, 'showAllChildrenOnSearch', false)\r\n // this.$ set(normalized, 'count', {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.hasMatchedDescendants = false;\r\n normalized.hasDisabledDescendants = false;\r\n normalized.isExpandedOnSearch = false;\r\n normalized.showAllChildrenOnSearch = false;\r\n normalized.count = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.children = isLoaded ? this.normalize(normalized, children, prevNodeMap) :[];\r\n\r\n if (isDefaultExpanded === true) normalized.ancestors.forEach(ancestor => {\r\n ancestor.isExpanded = true\r\n })\r\n\r\n if (!isLoaded && typeof this.loadOptions !== 'function') {\r\n warning(\r\n () => false,\r\n () => 'Unloaded branch node detected. \"loadOptions\" prop is required to load its children.',\r\n )\r\n } else if (!isLoaded && normalized.isExpanded) {\r\n this.loadChildrenOptions(normalized)\r\n }\r\n }\r\n\r\n normalized.ancestors.forEach(ancestor => ancestor.count[ALL_DESCENDANTS]++)\r\n if (isLeaf) normalized.ancestors.forEach(ancestor => ancestor.count[LEAF_DESCENDANTS]++)\r\n if (!isRootNode) {\r\n parentNode.count[ALL_CHILDREN] += 1\r\n if (isLeaf) parentNode.count[LEAF_CHILDREN] += 1\r\n if (isDisabled) parentNode.hasDisabledDescendants = true\r\n }\r\n\r\n // Preserve previous states.\r\n if (prevNodeMap && prevNodeMap[id]) {\r\n const prev = prevNodeMap[id]\r\n\r\n normalized.isMatched = prev.isMatched\r\n normalized.showAllChildrenOnSearch = prev.showAllChildrenOnSearch\r\n normalized.isHighlighted = prev.isHighlighted\r\n\r\n if (prev.isBranch && normalized.isBranch) {\r\n normalized.isExpanded = prev.isExpanded\r\n normalized.isExpandedOnSearch = prev.isExpandedOnSearch\r\n // #97\r\n // If `isLoaded` was true, but IS NOT now, we consider this branch node\r\n // to be reset to unloaded state by the user of this component.\r\n if (prev.childrenStates.isLoaded && !normalized.childrenStates.isLoaded) {\r\n // Make sure the node is collapsed, then the user can load its\r\n // children again (by expanding).\r\n normalized.isExpanded = false\r\n // We have reset `childrenStates` and don't want to preserve states here.\r\n } else {\r\n normalized.childrenStates = { ...prev.childrenStates }\r\n }\r\n }\r\n }\r\n\r\n return normalized\r\n })\r\n\r\n if (this.branchNodesFirst) {\r\n const branchNodes = normalizedOptions.filter(option => option.isBranch)\r\n const leafNodes = normalizedOptions.filter(option => option.isLeaf)\r\n normalizedOptions = branchNodes.concat(leafNodes)\r\n }\r\n\r\n return normalizedOptions\r\n },\r\n\r\n loadRootOptions() {\r\n this.callLoadOptionsProp({\r\n action: LOAD_ROOT_OPTIONS,\r\n isPending: () => {\r\n return this.rootOptionsStates.isLoading\r\n },\r\n start: () => {\r\n this.rootOptionsStates.isLoading = true\r\n this.rootOptionsStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.rootOptionsStates.isLoaded = true\r\n // Wait for `options` being re-initialized.\r\n this.$nextTick(() => {\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n })\r\n },\r\n fail: err => {\r\n this.rootOptionsStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.rootOptionsStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n loadChildrenOptions(parentNode) {\r\n // The options may be re-initialized anytime during the loading process.\r\n // So `parentNode` can be stale and we use `getNode()` to avoid that.\r\n\r\n const { id, raw } = parentNode\r\n\r\n this.callLoadOptionsProp({\r\n action: LOAD_CHILDREN_OPTIONS,\r\n args: {\r\n // We always pass the raw node instead of the normalized node to any\r\n // callback provided by the user of this component.\r\n // Because the shape of the raw node is more likely to be closing to\r\n // what the back-end API service of the application needs.\r\n parentNode: raw,\r\n },\r\n isPending: () => {\r\n return this.getNode(id).childrenStates.isLoading\r\n },\r\n start: () => {\r\n this.getNode(id).childrenStates.isLoading = true\r\n this.getNode(id).childrenStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.getNode(id).childrenStates.isLoaded = true\r\n },\r\n fail: err => {\r\n this.getNode(id).childrenStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.getNode(id).childrenStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n callLoadOptionsProp({ action, args, isPending, start, succeed, fail, end }) {\r\n if (!this.loadOptions || isPending()) {\r\n return\r\n }\r\n\r\n start()\r\n\r\n const callback = once((err, result) => {\r\n if (err) {\r\n fail(err)\r\n } else {\r\n succeed(result)\r\n }\r\n\r\n end()\r\n })\r\n const result = this.loadOptions({\r\n id: this.getInstanceId(),\r\n instanceId: this.getInstanceId(),\r\n action,\r\n ...args,\r\n callback,\r\n })\r\n\r\n if (isPromise(result)) {\r\n result.then(() => {\r\n callback()\r\n }, err => {\r\n callback(err)\r\n }).catch(err => {\r\n // istanbul ignore next\r\n console.error(err)\r\n })\r\n }\r\n },\r\n\r\n checkDuplication(node) {\r\n warning(\r\n () => !((node.id in this.forest.nodeMap) && !this.forest.nodeMap[node.id].isFallbackNode),\r\n () => `Detected duplicate presence of node id ${JSON.stringify(node.id)}. ` +\r\n `Their labels are \"${this.forest.nodeMap[node.id].label}\" and \"${node.label}\" respectively.`,\r\n )\r\n },\r\n\r\n verifyNodeShape(node) {\r\n warning(\r\n () => !(node.children === undefined && node.isBranch === true),\r\n () => 'Are you meant to declare an unloaded branch node? ' +\r\n '`isBranch: true` is no longer supported, please use `children: null` instead.',\r\n )\r\n },\r\n\r\n select(node) {\r\n if (this.disabled || node.isDisabled) {\r\n return\r\n }\r\n\r\n if (this.single) {\r\n this.clear()\r\n }\r\n\r\n const nextState = this.multiple && !this.flat\r\n ? this.forest.checkedStateMap[node.id] === UNCHECKED\r\n : !this.isSelected(node)\r\n\r\n if (nextState) {\r\n this._selectNode(node)\r\n } else {\r\n this._deselectNode(node)\r\n }\r\n\r\n this.buildForestState()\r\n\r\n if (nextState) {\r\n this.$emit('select', node.raw, this.getInstanceId())\r\n } else {\r\n this.$emit('deselect', node.raw, this.getInstanceId())\r\n }\r\n\r\n if (this.localSearch.active && nextState && (this.single || this.clearOnSelect)) {\r\n this.resetSearchQuery()\r\n }\r\n\r\n if (this.single && this.closeOnSelect) {\r\n this.closeMenu()\r\n\r\n // istanbul ignore else\r\n if (this.searchable) {\r\n this._blurOnSelect = true\r\n }\r\n }\r\n },\r\n\r\n clear() {\r\n if (this.hasValue) {\r\n if (this.single || this.allowClearingDisabled) {\r\n this.forest.selectedNodeIds = []\r\n } else /* if (this.multiple && !this.allowClearingDisabled) */ {\r\n this.forest.selectedNodeIds = this.forest.selectedNodeIds.filter(nodeId =>\r\n this.getNode(nodeId).isDisabled,\r\n )\r\n }\r\n\r\n this.buildForestState()\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _selectNode(node) {\r\n if (this.single || this.disableBranchNodes) {\r\n return this.addValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.addValue(node)\r\n\r\n if (this.autoSelectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (!this.isSelected(ancestor) && !ancestor.isDisabled) this.addValue(ancestor)\r\n })\r\n } else if (this.autoSelectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!this.isSelected(descendant) && !descendant.isDisabled) this.addValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n const isFullyChecked = (\r\n node.isLeaf ||\r\n (/* node.isBranch && */!node.hasDisabledDescendants) ||\r\n (/* node.isBranch && */this.allowSelectingDisabledDescendants)\r\n )\r\n if (isFullyChecked) {\r\n this.addValue(node)\r\n }\r\n\r\n if (node.isBranch) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.addValue(descendant)\r\n }\r\n })\r\n }\r\n\r\n if (isFullyChecked) {\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (curr.children.every(this.isSelected)) this.addValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _deselectNode(node) {\r\n if (this.disableBranchNodes) {\r\n return this.removeValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.removeValue(node)\r\n\r\n if (this.autoDeselectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (this.isSelected(ancestor) && !ancestor.isDisabled) this.removeValue(ancestor)\r\n })\r\n } else if (this.autoDeselectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (this.isSelected(descendant) && !descendant.isDisabled) this.removeValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n let hasUncheckedSomeDescendants = false\r\n if (node.isBranch) {\r\n this.traverseDescendantsDFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.removeValue(descendant)\r\n hasUncheckedSomeDescendants = true\r\n }\r\n })\r\n }\r\n\r\n if (\r\n node.isLeaf ||\r\n /* node.isBranch && */hasUncheckedSomeDescendants ||\r\n /* node.isBranch && */node.children.length === 0\r\n ) {\r\n this.removeValue(node)\r\n\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (this.isSelected(curr)) this.removeValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n addValue(node) {\r\n this.forest.selectedNodeIds.push(node.id)\r\n this.forest.selectedNodeMap[node.id] = true\r\n },\r\n\r\n removeValue(node) {\r\n removeFromArray(this.forest.selectedNodeIds, node.id)\r\n delete this.forest.selectedNodeMap[node.id]\r\n },\r\n\r\n removeLastValue() {\r\n if (!this.hasValue) return\r\n if (this.single) return this.clear()\r\n const lastValue = getLast(this.internalValue)\r\n const lastSelectedNode = this.getNode(lastValue)\r\n this.select(lastSelectedNode) // deselect\r\n },\r\n\r\n saveMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) this.menu.lastScrollPosition = $menu.scrollTop\r\n },\r\n\r\n restoreMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) $menu.scrollTop = this.menu.lastScrollPosition\r\n },\r\n },\r\n\r\n created() {\r\n this.verifyProps()\r\n this.resetFlags()\r\n },\r\n\r\n mounted() {\r\n if (this.autoFocus) this.focusInput()\r\n if (!this.options && !this.async && this.autoLoadRootOptions) this.loadRootOptions()\r\n if (this.alwaysOpen) this.openMenu()\r\n if (this.async && this.defaultOptions) this.handleRemoteSearch()\r\n },\r\n\r\n unmounted() {\r\n // istanbul ignore next\r\n this.toggleClickOutsideEvent(false)\r\n },\r\n}\r\n","\r\n","import script from \"./HiddenFields.vue?vue&type=script&lang=js\"\nexport * from \"./HiddenFields.vue?vue&type=script&lang=js\"\n\nexport default script","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","function isPlainObject(value) {\r\n if (value == null || typeof value !== 'object') return false\r\n return Object.getPrototypeOf(value) === Object.prototype\r\n}\r\n\r\nfunction copy(obj, key, value) {\r\n if (isPlainObject(value)) {\r\n obj[key] || (obj[key] = {})\r\n deepExtend(obj[key], value)\r\n } else {\r\n obj[key] = value\r\n }\r\n}\r\n\r\nexport function deepExtend(target, source) {\r\n if (isPlainObject(source)) {\r\n const keys = Object.keys(source)\r\n\r\n for (let i = 0, len = keys.length; i < len; i++) {\r\n copy(target, keys[i], source[keys[i]])\r\n }\r\n }\r\n\r\n return target\r\n}\r\n","\r\n","import script from \"./Input.vue?vue&type=script&lang=js\"\nexport * from \"./Input.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./Placeholder.vue?vue&type=script&lang=js\"\nexport * from \"./Placeholder.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./SingleValue.vue?vue&type=script&lang=js\"\nexport * from \"./SingleValue.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n\r\n\r\n","import { render } from \"./Delete.vue?vue&type=template&id=12b4a02e\"\nimport script from \"./Delete.vue?vue&type=script&lang=js\"\nexport * from \"./Delete.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\r\n","import script from \"./MultiValueItem.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValueItem.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./MultiValue.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValue.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n\r\n\r\n","import { render } from \"./Arrow.vue?vue&type=template&id=5d5151cb\"\nimport script from \"./Arrow.vue?vue&type=script&lang=js\"\nexport * from \"./Arrow.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\r\n","import script from \"./Control.vue?vue&type=script&lang=js\"\nexport * from \"./Control.vue?vue&type=script&lang=js\"\n\nexport default script","var index = (function (element, listener) {\n\tvar expand = document.createElement('_');\n\tvar shrink = expand.appendChild(document.createElement('_'));\n\tvar expandChild = expand.appendChild(document.createElement('_'));\n\tvar shrinkChild = shrink.appendChild(document.createElement('_'));\n\n\tvar lastWidth = void 0,\n\t lastHeight = void 0;\n\n\tshrink.style.cssText = expand.style.cssText = 'height:100%;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;transition:0s;width:100%;z-index:-1';\n\tshrinkChild.style.cssText = expandChild.style.cssText = 'display:block;height:100%;transition:0s;width:100%';\n\tshrinkChild.style.width = shrinkChild.style.height = '200%';\n\n\telement.appendChild(expand);\n\n\ttest();\n\n\treturn stop;\n\n\tfunction test() {\n\t\tunbind();\n\n\t\tvar width = element.offsetWidth;\n\t\tvar height = element.offsetHeight;\n\n\t\tif (width !== lastWidth || height !== lastHeight) {\n\t\t\tlastWidth = width;\n\t\t\tlastHeight = height;\n\n\t\t\texpandChild.style.width = width * 2 + 'px';\n\t\t\texpandChild.style.height = height * 2 + 'px';\n\n\t\t\texpand.scrollLeft = expand.scrollWidth;\n\t\t\texpand.scrollTop = expand.scrollHeight;\n\t\t\tshrink.scrollLeft = shrink.scrollWidth;\n\t\t\tshrink.scrollTop = shrink.scrollHeight;\n\n\t\t\tlistener({ width: width, height: height });\n\t\t}\n\n\t\tshrink.addEventListener('scroll', test);\n\t\texpand.addEventListener('scroll', test);\n\t}\n\n\tfunction unbind() {\n\t\tshrink.removeEventListener('scroll', test);\n\t\texpand.removeEventListener('scroll', test);\n\t}\n\n\tfunction stop() {\n\t\tunbind();\n\n\t\telement.removeChild(expand);\n\t}\n});\n\nexport default index;\n","import watchSizeForBrowsersOtherThanIE9 from 'watch-size'\r\nimport { removeFromArray } from './removeFromArray'\r\n\r\nlet intervalId\r\nconst registered = []\r\nconst INTERVAL_DURATION = 100\r\n\r\nfunction run() {\r\n intervalId = setInterval(() => {\r\n registered.forEach(test)\r\n }, INTERVAL_DURATION)\r\n}\r\n\r\nfunction stop() {\r\n clearInterval(intervalId)\r\n intervalId = null\r\n}\r\n\r\nfunction test(item) {\r\n const { $el, listener, lastWidth, lastHeight } = item\r\n const width = $el.offsetWidth\r\n const height = $el.offsetHeight\r\n\r\n if (lastWidth !== width || lastHeight !== height) {\r\n item.lastWidth = width\r\n item.lastHeight = height\r\n\r\n listener({ width, height })\r\n }\r\n}\r\n\r\nfunction watchSizeForIE9($el, listener) {\r\n const item = {\r\n $el,\r\n listener,\r\n lastWidth: null,\r\n lastHeight: null,\r\n }\r\n const unwatch = () => {\r\n removeFromArray(registered, item)\r\n if (!registered.length) stop()\r\n }\r\n\r\n registered.push(item)\r\n // The original watch-size will call the listener on initialization.\r\n // Keep the same behavior here.\r\n test(item)\r\n run()\r\n\r\n return unwatch\r\n}\r\n\r\nexport function watchSize($el, listener) {\r\n // See: https://stackoverflow.com/a/31293352\r\n const isIE9 = document.documentMode === 9\r\n // watch-size will call the listener on initialization.\r\n // Disable this behavior with a lock to achieve a clearer code logic.\r\n let locked = true\r\n const wrappedListener = (...args) => locked || listener(...args)\r\n const implementation = isIE9\r\n ? watchSizeForIE9\r\n : watchSizeForBrowsersOtherThanIE9\r\n const removeSizeWatcher = implementation($el, wrappedListener)\r\n locked = false // unlock after initialization\r\n\r\n return removeSizeWatcher\r\n}\r\n","function findScrollParents($el) {\r\n const $scrollParents = []\r\n let $parent = $el.parentNode\r\n\r\n while ($parent && $parent.nodeName !== 'BODY' && $parent.nodeType === document.ELEMENT_NODE) {\r\n if (isScrollElment($parent)) $scrollParents.push($parent)\r\n $parent = $parent.parentNode\r\n }\r\n $scrollParents.push(window)\r\n\r\n return $scrollParents\r\n}\r\n\r\nfunction isScrollElment($el) {\r\n // Firefox wants us to check `-x` and `-y` variations as well\r\n const { overflow, overflowX, overflowY } = getComputedStyle($el)\r\n return /(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)\r\n}\r\n\r\nexport function setupResizeAndScrollEventListeners($el, listener) {\r\n const $scrollParents = findScrollParents($el)\r\n\r\n window.addEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach(scrollParent => {\r\n scrollParent.addEventListener('scroll', listener, { passive: true })\r\n })\r\n\r\n return function removeEventListeners() {\r\n window.removeEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach($scrollParent => {\r\n $scrollParent.removeEventListener('scroll', listener, { passive: true })\r\n })\r\n }\r\n}\r\n","\r\n","import script from \"./Tip.vue?vue&type=script&lang=js\"\nexport * from \"./Tip.vue?vue&type=script&lang=js\"\n\nexport default script","","import script from \"./Option.vue?vue&type=script&lang=js\"\nexport * from \"./Option.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./Menu.vue?vue&type=script&lang=js\"\nexport * from \"./Menu.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./MenuPortal.vue?vue&type=script&lang=js\"\nexport * from \"./MenuPortal.vue?vue&type=script&lang=js\"\n\nexport default script","import { render } from \"./Treeselect.vue?vue&type=template&id=4fa337e8\"\nimport script from \"./Treeselect.vue?vue&type=script&lang=js\"\nexport * from \"./Treeselect.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","import Treeselect from './components/Treeselect'\r\nimport treeselectMixin from './mixins/treeselectMixin'\r\nimport '../styles/style.less'\r\n\r\nexport default Treeselect\r\nexport { Treeselect, treeselectMixin }\r\nexport {\r\n // Delayed loading.\r\n LOAD_ROOT_OPTIONS,\r\n LOAD_CHILDREN_OPTIONS,\r\n ASYNC_SEARCH,\r\n} from './constants'\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","'use strict';\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar SPECIES = wellKnownSymbol('species');\nvar nativeSlice = [].slice;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = toLength(O.length);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return nativeSlice.call(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n // eslint-disable-next-line no-undef\n && !Symbol.sham\n // eslint-disable-next-line no-undef\n && typeof Symbol.iterator == 'symbol';\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://vue3-treeselect/webpack/bootstrap","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.test.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-string-tag-support.js","webpack://vue3-treeselect/./node_modules/lodash/_getRawTag.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-bind-context.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.flat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-ff-version.js","webpack://vue3-treeselect/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/length-of-array-like.js","webpack://vue3-treeselect/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-species-constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-substitution.js","webpack://vue3-treeselect/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue3-treeselect/./node_modules/core-js/internals/try-to-string.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://vue3-treeselect/./node_modules/lodash/isObjectLike.js","webpack://vue3-treeselect/./node_modules/core-js/internals/make-built-in.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.reduce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.push.js","webpack://vue3-treeselect/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-callable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-possible-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/has-own-property.js","webpack://vue3-treeselect/./node_modules/lodash/isObject.js","webpack://vue3-treeselect/./node_modules/core-js/internals/html.js","webpack://vue3-treeselect/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue3-treeselect/./node_modules/lodash/once.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue3-treeselect/./node_modules/core-js/internals/export.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://vue3-treeselect/./node_modules/is-promise/index.js","webpack://vue3-treeselect/./node_modules/lodash/_objectToString.js","webpack://vue3-treeselect/./node_modules/lodash/_root.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-apply.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue3-treeselect/./node_modules/fuzzysearch/index.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue3-treeselect/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://vue3-treeselect/./node_modules/lodash/_baseGetTag.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-define-properties.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-set-length.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/a-possible-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.unscopables.flat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/this-number-value.js","webpack://vue3-treeselect/./node_modules/lodash/now.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-bind-native.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/path.js","webpack://vue3-treeselect/./node_modules/lodash/last.js","webpack://vue3-treeselect/./node_modules/core-js/internals/indexed-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/add-to-unscopables.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.some.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://vue3-treeselect/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.trim.js","webpack://vue3-treeselect/./node_modules/lodash/toInteger.js","webpack://vue3-treeselect/./node_modules/lodash/_trimmedEndIndex.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-includes.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.filter.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.sort.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-length.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-webkit-version.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.replace.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared.js","webpack://vue3-treeselect/./node_modules/core-js/internals/own-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-string.js","webpack://vue3-treeselect/./node_modules/lodash/_freeGlobal.js","webpack://vue3-treeselect/./node_modules/core-js/internals/whitespaces.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-trim.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://vue3-treeselect/./node_modules/core-js/internals/a-callable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-name.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-is-node.js","webpack://vue3-treeselect/./node_modules/core-js/internals/define-global-property.js","webpack://vue3-treeselect/./node_modules/lodash/toFinite.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-multibyte.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-species-create.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/internal-state.js","webpack://vue3-treeselect/./node_modules/vue-loader-v16/dist/exportHelper.js","webpack://vue3-treeselect/./node_modules/core-js/internals/inherit-if-required.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://vue3-treeselect/./node_modules/lodash/constant.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue3-treeselect/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-create.js","webpack://vue3-treeselect/./node_modules/core-js/internals/an-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/descriptors.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-property.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/inspect-source.js","webpack://vue3-treeselect/./node_modules/core-js/internals/advance-string-index.js","webpack://vue3-treeselect/external {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://vue3-treeselect/./node_modules/lodash/_baseTrim.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-get-flags.js","webpack://vue3-treeselect/./node_modules/core-js/internals/uid.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-exec.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-forced.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.concat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-define-property.js","webpack://vue3-treeselect/./node_modules/lodash/_Symbol.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-property-key.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.join.js","webpack://vue3-treeselect/./node_modules/core-js/internals/flatten-into-array.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.splice.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.every.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-is-strict.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.number.constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/error-to-string.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.exec.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-flags.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-sort.js","webpack://vue3-treeselect/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-to-string.js","webpack://vue3-treeselect/./node_modules/lodash/debounce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/math-trunc.js","webpack://vue3-treeselect/./node_modules/lodash/toNumber.js","webpack://vue3-treeselect/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-iteration.js","webpack://vue3-treeselect/./node_modules/lodash/noop.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-primitive.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-pure.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-call.js","webpack://vue3-treeselect/./node_modules/core-js/internals/classof-raw.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared-store.js","webpack://vue3-treeselect/(webpack)/buildin/global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-trim-forced.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.index-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue3-treeselect/./node_modules/core-js/internals/define-built-in.js","webpack://vue3-treeselect/./node_modules/core-js/internals/document-create-element.js","webpack://vue3-treeselect/./node_modules/lodash/identity.js","webpack://vue3-treeselect/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://vue3-treeselect/./node_modules/core-js/internals/hidden-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/fails.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-built-in.js","webpack://vue3-treeselect/./styles/style.less?fa18","webpack://vue3-treeselect/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.to-string.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.error.to-string.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-reduce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.map.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-symbol.js","webpack://vue3-treeselect/./node_modules/core-js/internals/global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-method.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-keys.js","webpack://vue3-treeselect/./node_modules/lodash/before.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-json-replacer-function.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-uncurry-this.js","webpack://vue3-treeselect/./node_modules/core-js/internals/normalize-string-argument.js","webpack://vue3-treeselect/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-array.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.json.stringify.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-slice.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.date.to-json.js","webpack://vue3-treeselect/./node_modules/core-js/internals/classof.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared-key.js","webpack://vue3-treeselect/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue3-treeselect/./src/components/Treeselect.vue","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack://vue3-treeselect/./src/utils/isNaN.js","webpack://vue3-treeselect/./src/utils/includes.js","webpack://vue3-treeselect/./src/utils/createMap.js","webpack://vue3-treeselect/./src/utils/quickDiff.js","webpack://vue3-treeselect/./src/utils/warning.js","webpack://vue3-treeselect/./src/utils/find.js","webpack://vue3-treeselect/./src/utils/onLeftClick.js","webpack://vue3-treeselect/./src/utils/scrollIntoView.js","webpack://vue3-treeselect/./src/utils/removeFromArray.js","webpack://vue3-treeselect/./src/constants.js","webpack://vue3-treeselect/./src/mixins/treeselectMixin.js","webpack://vue3-treeselect/./src/components/HiddenFields.vue","webpack://vue3-treeselect/./src/components/HiddenFields.vue?e58b","webpack://vue3-treeselect/./src/utils/deepExtend.js","webpack://vue3-treeselect/./src/components/Input.vue","webpack://vue3-treeselect/./src/components/Input.vue?fc70","webpack://vue3-treeselect/./src/components/Placeholder.vue","webpack://vue3-treeselect/./src/components/Placeholder.vue?01b9","webpack://vue3-treeselect/./src/components/SingleValue.vue","webpack://vue3-treeselect/./src/components/SingleValue.vue?3239","webpack://vue3-treeselect/./src/components/icons/Delete.vue","webpack://vue3-treeselect/./src/components/icons/Delete.vue?d2f2","webpack://vue3-treeselect/./src/components/MultiValueItem.vue","webpack://vue3-treeselect/./src/components/MultiValueItem.vue?06c2","webpack://vue3-treeselect/./src/components/MultiValue.vue","webpack://vue3-treeselect/./src/components/MultiValue.vue?66e6","webpack://vue3-treeselect/./src/components/icons/Arrow.vue","webpack://vue3-treeselect/./src/components/icons/Arrow.vue?06bc","webpack://vue3-treeselect/./src/components/Control.vue","webpack://vue3-treeselect/./src/components/Control.vue?899c","webpack://vue3-treeselect/./node_modules/watch-size/index.es.mjs","webpack://vue3-treeselect/./src/utils/watchSize.js","webpack://vue3-treeselect/./src/utils/setupResizeAndScrollEventListeners.js","webpack://vue3-treeselect/./src/components/Tip.vue","webpack://vue3-treeselect/./src/components/Tip.vue?d7ae","webpack://vue3-treeselect/./src/components/Option.vue","webpack://vue3-treeselect/./src/components/Option.vue?b989","webpack://vue3-treeselect/./src/components/Menu.vue","webpack://vue3-treeselect/./src/components/Menu.vue?d1ee","webpack://vue3-treeselect/./src/components/MenuPortal.vue","webpack://vue3-treeselect/./src/components/MenuPortal.vue?9bba","webpack://vue3-treeselect/./src/components/Treeselect.vue?28b4","webpack://vue3-treeselect/./src/index.js","webpack://vue3-treeselect/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.slice.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://vue3-treeselect/./node_modules/core-js/internals/dom-iterables.js","webpack://vue3-treeselect/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue3-treeselect/./node_modules/lodash/isSymbol.js"],"names":["_createBlock","ref","class","_ctx","wrapperClass","_createVNode","_component_HiddenFields","_component_Control","appendToBody","_component_MenuPortal","_component_Menu","_arrayWithHoles","r","Array","isArray","_iterableToArrayLimit","l","t","Symbol","iterator","e","n","i","u","a","f","o","call","next","Object","done","push","value","length","_arrayLikeToArray","_unsupportedIterableToArray","arrayLikeToArray","toString","slice","constructor","name","from","test","_nonIterableRest","TypeError","_slicedToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","_typeof","prototype","toPrimitive","String","Number","toPropertyKey","_defineProperty","defineProperty","enumerable","configurable","writable","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","_toConsumableArray","arrayWithoutHoles","iterableToArray","nonIterableSpread","ownKeys","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","apply","_objectSpread2","arguments","forEach","getOwnPropertyDescriptors","defineProperties","isNaN","x","includes","arrOrStr","elem","indexOf","createMap","create","quickDiff","arrA","arrB","warning","process","noop","find","arr","predicate","ctx","len","undefined","onLeftClick","mouseDownHandler","onMouseDown","evt","type","button","_len","args","_key","concat","scrollIntoView","$scrollingEl","$focusedEl","scrollingReact","getBoundingClientRect","focusedRect","overScroll","offsetHeight","bottom","scrollTop","Math","min","offsetTop","clientHeight","scrollHeight","top","max","removeFromArray","idx","splice","NO_PARENT_NODE","UNCHECKED","INDETERMINATE","CHECKED","ALL_CHILDREN","ALL_DESCENDANTS","LEAF_CHILDREN","LEAF_DESCENDANTS","LOAD_ROOT_OPTIONS","LOAD_CHILDREN_OPTIONS","ASYNC_SEARCH","ALL","BRANCH_PRIORITY","LEAF_PRIORITY","ALL_WITH_INDETERMINATE","ORDER_SELECTED","LEVEL","INDEX","KEY_CODES","BACKSPACE","ENTER","ESCAPE","END","HOME","ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN","DELETE","INPUT_DEBOUNCE_DELAY","MIN_INPUT_WIDTH","MENU_BUFFER","sortValueByIndex","b","level","index","sortValueByLevel","createAsyncOptionsStates","isLoaded","isLoading","loadingError","stringifyOptionPropValue","match","enableFuzzyMatch","needle","haystack","fuzzysearch","getErrorMessage","err","message","instanceId","provide","instance","props","allowClearingDisabled","Boolean","default","allowSelectingDisabledDescendants","alwaysOpen","async","autoFocus","autoLoadRootOptions","autoDeselectAncestors","autoDeselectDescendants","autoSelectAncestors","autoSelectDescendants","backspaceRemoves","beforeClearAll","Function","constant","branchNodesFirst","cacheOptions","clearable","clearAllText","clearOnSelect","clearValueText","closeOnSelect","defaultExpandLevel","defaultOptions","deleteRemoves","delimiter","flattenSearchResults","disableBranchNodes","disabled","disableFuzzyMatching","flat","_default","joinValues","limit","Infinity","limitText","limitTextDefault","count","loadingText","loadOptions","matchKeys","maxHeight","multiple","noChildrenText","noOptionsText","noResultsText","normalizer","identity","openDirection","validator","acceptableValues","openOnClick","openOnFocus","options","placeholder","required","retryText","retryTitle","searchable","searchNested","searchPromptText","showCount","showCountOf","showCountOnSearch","sortValueBy","tabIndex","modelValue","valueConsistsOf","valueFormat","zIndex","data","trigger","isFocused","searchQuery","menu","isOpen","current","lastScrollPosition","placement","forest","normalizedOptions","nodeMap","checkedStateMap","selectedNodeIds","extractCheckedNodeIdsFromValue","selectedNodeMap","rootOptionsStates","localSearch","active","noResults","countMap","remoteSearch","computed","selectedNodes","map","getNode","internalValue","_this","single","id","node","isRootNode","isSelected","parentNode","isLeaf","children","_internalValue","indeterminateNodeIds","selectedNode","ancestors","ancestor","sort","hasValue","visibleOptionIds","_this2","traverseAllNodesByIndex","shouldOptionBeIncludedInSearchResult","isBranch","shouldExpand","hasVisibleOptions","showCountOnSearchComputed","hasBranchNodes","some","rootNode","shouldFlattenOptions","watch","newValue","openMenu","closeMenu","initialize","oldValue","hasChanged","$emit","getValue","getInstanceId","buildForestState","handler","deep","immediate","triggerSearchQuery","handleRemoteSearch","handleLocalSearch","nodeIdsFromValue","fixSelectedNodeIds","methods","verifyProps","_this3","propNames","propName","resetFlags","_blurOnSelect","getRemoteSearchEntry","prevNodeMap","keepDataOfSelectedNodes","normalize","_this4","rawNodes","raw","nodeId","createFallbackNode","extractNodeFromValue","label","enhancedNormalizer","fallbackNode","isFallbackNode","isDisabled","childrenIgnoreDisabled","isNew","_this5","_this6","defaultNode","valueArray","matched","nodeIdListOfPrevValue","_this7","nextSelectedNodeIds","traverseDescendantsBFS","descendant","queue","shift","_this8","_objectSpread","callback","currNode","traverseDescendantsDFS","_this9","child","traverseAllNodesDFS","_this10","walk","toggleClickOutsideEvent","enabled","document","addEventListener","handleClickOutside","removeEventListener","getValueContainer","$refs","control","getInput","input","focusInput","focus","blurInput","blur","handleMouseDown","preventDefault","stopPropagation","isClickedOnValueContainer","$el","contains","target","wrapper","_this11","resetHighlightedOptionWhenNecessary","isExpandedOnSearch","showAllChildrenOnSearch","isMatched","hasMatchedDescendants","lowerCasedSearchQuery","trim","toLocaleLowerCase","splitSearchQuery","replace","split","every","filterValue","nestedSearchLabel","matchKey","lowerCased","_this12","entry","callLoadOptionsProp","action","isPending","start","succeed","fail","end","_this13","$watch","isExpanded","shouldShowOptionInMenu","getControl","getMenu","portal","portalTarget","$menu","nodeName","setCurrentHighlightedOption","_this14","scroll","prev","isHighlighted","scrollToOption","$option","querySelector","$nextTick","forceReset","highlightFirstOption","first","highlightPrevOption","highlightLastOption","highlightNextOption","last","getLast","resetSearchQuery","saveMenuScrollPosition","restoreMenuScrollPosition","loadRootOptions","toggleMenu","toggleExpanded","nextState","childrenStates","loadChildrenOptions","_this15","selectedNodeId","ancestorNode","nodes","_this16","_ref","_ref2","checkDuplication","verifyNodeShape","isDefaultExpanded","reduce","key","normalized","hasDisabledDescendants","branchNodes","option","leafNodes","_this17","_this18","_ref3","once","result","isPromise","then","catch","console","error","_this19","JSON","stringify","select","clear","_selectNode","_deselectNode","_this20","_this21","addValue","isFullyChecked","curr","_this22","removeValue","hasUncheckedSomeDescendants","removeLastValue","lastValue","lastSelectedNode","created","mounted","unmounted","stringifyValue","defineComponent","inject","functional","render","context","h","stringifiedValues","join","stringifiedValue","isPlainObject","getPrototypeOf","copy","obj","deepExtend","source","_isSlot","s","_isVNode","keysThatRequireMenuBeingOpen","inputWidth","needAutoSize","inputStyle","width","instanceTriggerSearchQuery","updateInputWidth","debouncedCallback","debounce","updateSearchQuery","leading","trailing","onInput","onFocus","onBlur","activeElement","cancel","onKeyDown","which","keyCode","ctrlKey","shiftKey","altKey","metaKey","renderInputContainer","$createElement","renderInput","renderSizer","on","keydown","attrs","_mergeProps","sizer","scrollWidth","placeholderClass","renderSingleValueLabel","customValueLabelRenderer","$slots","renderValueContainer","$parent","shouldShowValue","Placeholder","Input","xmlns","viewBox","d","_hoisted_1","_hoisted_2","itemClass","labelRenderer","DeleteIcon","renderMultiValueItems","MultiValueItem","renderExceedLimitTip","shouldShowX","hasUndisabledValue","shouldShowArrow","renderX","title","handleMouseDownOnX","renderArrow","arrowClass","handleMouseDownOnArrow","ArrowIcon","shouldClear","setTimeout","ValueContainer","SingleValue","MultiValue","intervalId","registered","INTERVAL_DURATION","run","setInterval","stop","clearInterval","item","listener","lastWidth","lastHeight","offsetWidth","height","watchSizeForIE9","unwatch","watchSize","isIE9","documentMode","locked","wrappedListener","implementation","watchSizeForBrowsersOtherThanIE9","removeSizeWatcher","findScrollParents","$scrollParents","nodeType","ELEMENT_NODE","isScrollElment","window","_getComputedStyle","getComputedStyle","overflow","overflowX","overflowY","setupResizeAndScrollEventListeners","passive","scrollParent","removeEventListeners","$scrollParent","icon","arrowPlaceholder","checkMark","minusMark","Option","shouldShow","renderOption","optionClass","handleMouseEnterOption","renderLabelContainer","renderCheckboxContainer","renderCheckbox","renderLabel","renderSubOptionsList","renderSubOptions","renderNoChildrenTip","renderLoadingChildrenTip","renderLoadingChildrenErrorTip","_createTextVNode","handleMouseDownOnLabelContainer","checkedState","checkboxClass","shouldShowCount","NaN","labelClassName","countClassName","customLabelRenderer","childNode","_resolveComponent","Tip","handleMouseDownOnRetry","currentTarget","handleMouseDownOnOptionArrow","indentLevel","listItemClass","directionMap","above","below","menuStyle","menuContainerStyle","instanceMenuIsOpen","onMenuOpen","onMenuClose","menuSizeWatcher","menuResizeAndScrollEventListeners","renderMenu","renderBeforeList","renderAsyncSearchMenuInner","renderLocalSearchMenuInner","renderNormalMenuInner","renderAfterList","beforeListRenderer","afterListRenderer","renderLoadingOptionsTip","renderLoadingRootOptionsErrorTip","renderNoAvailableOptionsTip","renderOptionList","renderNoResultsTip","shouldShowSearchPromptTip","shouldShowNoResultsTip","renderSearchPromptTip","renderAsyncSearchLoadingErrorTip","adjustMenuOpenDirection","setupMenuSizeWatcher","setupMenuResizeAndScrollEventListeners","removeMenuSizeWatcher","removeMenuResizeAndScrollEventListeners","$control","menuRect","controlRect","menuHeight","viewportHeight","innerHeight","spaceAbove","spaceBelow","isControlInViewport","hasEnoughSpaceBelow","hasEnoughSpaceAbove","remove","PortalTarget","setupHandlers","removeHandlers","instanceMenuPlacement","updateMenuContainerOffset","controlResizeAndScrollEventListeners","controlSizeWatcher","updateWidth","setupControlResizeAndScrollEventListeners","setupControlSizeWatcher","removeControlResizeAndScrollEventListeners","removeControlSizeWatcher","$portalTarget","style","portalTargetRect","offsetY","left","round","transformVariations","transform","body","portalTargetClass","portalTargetStyle","Menu","setup","teardown","el","createElement","appendChild","createApp","parent","mount","removeChild","innerHTML","$destroy","mixins","treeselectMixin","components","HiddenFields","Control","MenuPortal","Treeselect"],"mappings":";;QAAA;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;QAC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+B;AAC7D,iBAAiB,mBAAO,CAAC,MAAmC;AAC5D,sBAAsB,mBAAO,CAAC,MAAgC;;AAE9D;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,qBAAqB,oBAAoB;AACzC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;;;;;;;AC7IY;AACb,YAAY,mBAAO,CAAC,MAA2B;;AAE/C;AACA,gDAAgD;AAChD;;;;;;;;;ACLa;AACb,iBAAiB,mBAAO,CAAC,MAA2B;AACpD,kBAAkB,mBAAO,CAAC,MAAoC;AAC9D,gCAAgC,mBAAO,CAAC,MAA4C;AACpF,kCAAkC,mBAAO,CAAC,MAA8C;AACxF,eAAe,mBAAO,CAAC,MAAwB;;AAE/C;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACda;AACb,cAAc,mBAAO,CAAC,MAAsB;;AAE5C;;AAEA;AACA;AACA;AACA;;;;;;;;ACRA;AACA;;AAEA;;;;;;;;;;ACHa;AACb;AACA;AACA;;;;;;;;;ACHa;AACb,kBAAkB,mBAAO,CAAC,MAAoC;AAC9D,6BAA6B,mBAAO,CAAC,MA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;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtEa;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACVa;AACb,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,eAAe,mBAAO,CAAC,MAAwB;AAC/C,qBAAqB,mBAAO,CAAC,MAAsC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClBa;AACb;AACA;AACA;AACA;AACA;;;;;;;;;ACLa;AACb,kBAAkB,mBAAO,CAAC,MAAoC;AAC9D,gBAAgB,mBAAO,CAAC,MAAyB;;AAEjD;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,SAAS;AACtB;AACA;AACA,wCAAwC,SAAS;AACjD;AACA;AACA,WAAW,SAAS,GAAG,SAAS;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACzBa;AACb;AACA;;;;;;;;;ACFa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACVa;AACb;AACA,4BAA4B,mBAAO,CAAC,MAAsC;;AAE1E;AACA;;AAEA;;;;;;;;;ACPa;AACb,6BAA6B,mBAAO,CAAC,MAAuC;;AAE5E;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;ACTa;AACb;AACA,eAAe,mBAAO,CAAC,MAAwB;AAC/C,6BAA6B,mBAAO,CAAC,MAAuC;AAC5E,kBAAkB,mBAAO,CAAC,MAA4B;AACtD,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,WAAW,mBAAO,CAAC,MAAmB;AACtC,4BA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a,mBAAO,CAAC,MAA+B;AACpD,wBAAwB,mBAAO,CAAC,MAAkC;AAClE,oBAAoB,mBAAO,CAAC,MAAqC;AACjE,eAAe,mBAAO,CAAC,MAAwB;AAC/C,kBAAkB,mBAAO,CAAC,MAA2B;AACrD,YAAY,mBAAO,CAAC,MAAoB;AACxC,0BAA0B,mBAAO,CAAC,MAA4C;AAC9E,+BAA+B,mBAAO,CAAC,MAAiD;AACxF,qBAAqB,mBAAO,CAAC,MAAqC;AAClE,sBAAsB,mBAAO,CAAC,MAAgC;AAC9D,WAAW,mBAAO,CAAC,MAA0B;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD;AACpD,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,gBAAgB;AACrC;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA,qEAAqE,wBAAwB,EAAE;AAC/F;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,GAAG,8DAA8D;AACjE;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,iBAAiB;AAC5C;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;AClHa;AACb,kBAAkB,mBAAO,CAAC,MAA0B;AACpD,YAAY,mBAAO,CAAC,MAAoB;AACxC,eAAe,mBAAO,CAAC,MAAwB;AAC/C,8BAA8B,mBAAO,CAAC,MAAwC;;AAE9E;;AAEA;AACA;AACA;AACA;AACA,uDAAuD,WAAW;AAClE;AACA,KAAK,EAAE;AACP;AACA;AACA;AACA,mCAAmC,sBAAsB;AACzD;AACA,kCAAkC;AAClC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;AC5BY;AACb,QAAQ,mBAAO,CAAC,MAAqB;AACrC,WAAW,mBAAO,CAAC,MAA0B;;AAE7C;AACA;AACA,GAAG,2DAA2D;AAC9D;AACA,CAAC;;;;;;;;;ACRY;AACb,eAAe,mBAAO,CAAC,MAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjBa;AACb,iBAAiB,mBAAO,CAAC,MAA0B;;AAEnD;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;ACzCa;AACb,kBAAkB,mBAAO,CAAC,MAA0B;AACpD,YAAY,mBAAO,CAAC,MAAoB;;AAExC;AACA;AACA;AACA;AACA,4CAA4C,cAAc;AAC1D;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;ACZY;AACb,4BAA4B,mBAAO,CAAC,MAAoC;AACxE,cAAc,mBAAO,CAAC,MAAsB;;AAE5C;AACA;AACA,2CAA2C;AAC3C;AACA;;;;;;;;ACRA,eAAe,mBAAO,CAAC,MAAY;AACnC,UAAU,mBAAO,CAAC,MAAO;AACzB,eAAe,mBAAO,CAAC,MAAY;;AAEnC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,WAAW,OAAO,YAAY;AAC9B,WAAW,QAAQ;AACnB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,8CAA8C,kBAAkB;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;AC9La;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACVA,eAAe,mBAAO,CAAC,MAAa;AACpC,eAAe,mBAAO,CAAC,MAAY;AACnC,eAAe,mBAAO,CAAC,MAAY;;AAEnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;AC/Da;AACb,aAAa,mBAAO,CAAC,MAAqB;AAC1C,aAAa,mBAAO,CAAC,MAAqB;AAC1C,aAAa,mBAAO,CAAC,MAA+B;AACpD,UAAU,mBA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AACA;AACA,CAAC;;;;;;;;;ACVY;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnCa;AACb;AACA,oBAAoB,mBAAO,CAAC,MAA2C;;AAEvE;AACA;AACA;;;;;;;;ACNA,iBAAiB,mBAAO,CAAC,MAAe;AACxC,mBAAmB,mBAAO,CAAC,MAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA","file":"vue3-treeselect.common.js","sourcesContent":[" \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 = \"fb15\");\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar anObject = require('../internals/an-object');\nvar toString = require('../internals/to-string');\n\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\n\nvar nativeTest = /./.test;\n\n// `RegExp.prototype.test` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.test\n$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {\n test: function (S) {\n var R = anObject(this);\n var string = toString(S);\n var exec = R.exec;\n if (!isCallable(exec)) return call(nativeTest, R, string);\n var result = call(exec, R, string);\n if (result === null) return false;\n anObject(result);\n return true;\n }\n});\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));\n return A;\n }\n});\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: FORCED }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw new $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nmodule.exports = function (argument) {\n return isObject(argument) || argument === null;\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var before = require('./before');\n\n/**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\nfunction once(func) {\n return before(2, func);\n}\n\nmodule.exports = once;\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\nvar global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = global[TARGET] && global[TARGET].prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, { unsafe: true });\n}\n","module.exports = isPromise;\nmodule.exports.default = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\n\nfunction fuzzysearch (needle, haystack) {\n var tlen = haystack.length;\n var qlen = needle.length;\n if (qlen > tlen) {\n return false;\n }\n if (qlen === tlen) {\n return needle === haystack;\n }\n outer: for (var i = 0, j = 0; i < qlen; i++) {\n var nch = needle.charCodeAt(i);\n while (j < tlen) {\n if (haystack.charCodeAt(j++) === nch) {\n continue outer;\n }\n }\n return false;\n }\n return true;\n}\n\nmodule.exports = fuzzysearch;\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw new $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar isPossiblePrototype = require('../internals/is-possible-prototype');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (isPossiblePrototype(argument)) return argument;\n throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\n// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {\n forEach: forEach\n});\n","'use strict';\nvar global = require('../internals/global');\n\nmodule.exports = global;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n if (length === 0) return !IS_INCLUDES && -1;\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n var fullUnicode;\n if (global) {\n fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n\n var results = [];\n var result;\n while (true) {\n result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n var replacement;\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar global = require('../internals/global');\nvar classof = require('../internals/classof-raw');\n\nmodule.exports = classof(global.process) === 'process';\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.test(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, [], argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\n// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n else object[key] = value;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","module.exports = require(\"vue\");","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') !== null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') !== null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = uncurryThis([].join);\n\nvar ES3_STRINGS = IndexedObject !== Object;\nvar FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: FORCED }, {\n join: function join(separator) {\n return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg) : false;\n var element, elementLen;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n elementLen = lengthOfArrayLike(element);\n targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;\n } else {\n doesNotExceedSafeInteger(targetIndex + 1);\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n setArrayLength(O, len - actualDeleteCount + insertCount);\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar path = require('../internals/path');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar stringSlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n // fast equal of /^0b[01]+$/i\n case 66:\n case 98:\n radix = 2;\n maxCode = 49;\n break;\n // fast equal of /^0o[0-7]+$/i\n case 79:\n case 111:\n radix = 8;\n maxCode = 55;\n break;\n default:\n return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\n\nvar nativeErrorToString = Error.prototype.toString;\n\nvar INCORRECT_TO_STRING = fails(function () {\n if (DESCRIPTORS) {\n // Chrome 32- incorrectly call accessor\n // eslint-disable-next-line es/no-object-create, es/no-object-defineproperty -- safe\n var object = Object.create(Object.defineProperty({}, 'name', { get: function () {\n return this === object;\n } }));\n if (nativeErrorToString.call(object) !== 'true') return true;\n }\n // FF10- does not properly handle non-strings\n return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'\n // IE8 does not properly handle defaults\n || nativeErrorToString.call({}) !== 'Error';\n});\n\nmodule.exports = INCORRECT_TO_STRING ? function toString() {\n var O = anObject(this);\n var name = normalizeStringArgument(O.name, 'Error');\n var message = normalizeStringArgument(O.message);\n return !name ? message : !message ? name : name + ': ' + message;\n} : nativeErrorToString;\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\nvar arraySlice = require('../internals/array-slice');\n\nvar floor = Math.floor;\n\nvar sort = function (array, comparefn) {\n var length = array.length;\n\n if (length < 8) {\n // insertion sort\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n }\n } else {\n // merge sort\n var middle = floor(length / 2);\n var left = sort(arraySlice(array, 0, middle), comparefn);\n var right = sort(arraySlice(array, middle), comparefn);\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n }\n }\n\n return array;\n};\n\nmodule.exports = sort;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE === 1;\n var IS_FILTER = TYPE === 2;\n var IS_SOME = TYPE === 3;\n var IS_EVERY = TYPE === 4;\n var IS_FIND_INDEX = TYPE === 6;\n var IS_FILTER_REJECT = TYPE === 7;\n var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(self);\n var boundFunction = bind(callbackfn, that);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n version: '3.37.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\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';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nmodule.exports = {};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","// extracted by mini-css-extract-plugin","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar isObject = require('../internals/is-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n requireObjectCoercible(O);\n aPossiblePrototype(proto);\n if (!isObject(O)) return O;\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\nvar errorToString = require('../internals/error-to-string');\n\nvar ErrorPrototype = Error.prototype;\n\n// `Error.prototype.toString` method fix\n// https://tc39.es/ecma262/#sec-error.prototype.tostring\nif (ErrorPrototype.toString !== errorToString) {\n defineBuiltIn(ErrorPrototype, 'toString', errorToString);\n}\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\nvar REDUCE_EMPTY = 'Reduce of empty array with no initial value';\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n aCallable(callbackfn);\n if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw new $TypeError(REDUCE_EMPTY);\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegExp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) !== 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () {\n execCalled = true;\n return null;\n };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) };\n }\n return { done: true, value: call(nativeMethod, str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var toInteger = require('./toInteger');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\nfunction before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n}\n\nmodule.exports = before;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')('stringify detection');\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) !== '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) !== '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) !== '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = fails(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.es/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O, 'number');\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","\r\n\r\n\r\n","function _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nexport { _arrayWithHoles as default };","function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nexport { _iterableToArrayLimit as default };","function _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nexport { _arrayLikeToArray as default };","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;\n }\n}\nexport { _unsupportedIterableToArray as default };","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableRest as default };","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nfunction _slicedToArray(r, e) {\n return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();\n}\nexport { _slicedToArray as default };","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\nexport { _typeof as default };","import _typeof from \"./typeof.js\";\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nexport { toPrimitive as default };","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nexport { toPropertyKey as default };","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nfunction _arrayWithoutHoles(r) {\n if (Array.isArray(r)) return arrayLikeToArray(r);\n}\nexport { _arrayWithoutHoles as default };","function _iterableToArray(r) {\n if (\"undefined\" != typeof Symbol && null != r[Symbol.iterator] || null != r[\"@@iterator\"]) return Array.from(r);\n}\nexport { _iterableToArray as default };","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableSpread as default };","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nfunction _toConsumableArray(r) {\n return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread();\n}\nexport { _toConsumableArray as default };","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}\nexport { _objectSpread2 as default };","export function isNaN(x) {\r\n return x !== x\r\n}\r\n","export function includes(arrOrStr, elem) {\r\n return arrOrStr.indexOf(elem) !== -1\r\n}\r\n","export const createMap = () => Object.create(null)\r\n","export function quickDiff(arrA, arrB) {\r\n if (arrA.length !== arrB.length) return true\r\n\r\n for (let i = 0; i < arrA.length; i++) {\r\n if (arrA[i] !== arrB[i]) return true\r\n }\r\n\r\n return false\r\n}\r\n","import { noop } from './noop'\r\n\r\nexport const warning = process.env.NODE_ENV === 'production'\r\n ? /* istanbul ignore next */ noop\r\n : function warning(checker, complainer) {\r\n if (!checker()) {\r\n const message = [ '[Vue-Treeselect Warning]' ].concat(complainer())\r\n // eslint-disable-next-line no-console\r\n console.error(...message)\r\n }\r\n }\r\n","export function find(arr, predicate, ctx) {\r\n for (let i = 0, len = arr.length; i < len; i++) {\r\n if (predicate.call(ctx, arr[i], i, arr)) return arr[i]\r\n }\r\n return undefined\r\n}\r\n","export function onLeftClick(mouseDownHandler) {\r\n return function onMouseDown(evt, ...args) {\r\n if (evt.type === 'mousedown' && evt.button === 0) {\r\n mouseDownHandler.call(this, evt, ...args)\r\n }\r\n }\r\n}\r\n","// from react-select\r\nexport function scrollIntoView($scrollingEl, $focusedEl) {\r\n const scrollingReact = $scrollingEl.getBoundingClientRect()\r\n const focusedRect = $focusedEl.getBoundingClientRect()\r\n const overScroll = $focusedEl.offsetHeight / 3\r\n\r\n if (focusedRect.bottom + overScroll > scrollingReact.bottom) {\r\n $scrollingEl.scrollTop = Math.min(\r\n $focusedEl.offsetTop + $focusedEl.clientHeight - $scrollingEl.offsetHeight + overScroll,\r\n $scrollingEl.scrollHeight,\r\n )\r\n } else if (focusedRect.top - overScroll < scrollingReact.top) {\r\n $scrollingEl.scrollTop = Math.max($focusedEl.offsetTop - overScroll, 0)\r\n }\r\n}\r\n","export function removeFromArray(arr, elem) {\r\n const idx = arr.indexOf(elem)\r\n if (idx !== -1) arr.splice(idx, 1)\r\n}\r\n","// Magic value that indicates a root level node.\r\nexport const NO_PARENT_NODE = null\r\n\r\n// Types of checked state.\r\nexport const UNCHECKED = 0\r\nexport const INDETERMINATE = 1\r\nexport const CHECKED = 2\r\n\r\n// Types of count number.\r\nexport const ALL_CHILDREN = 'ALL_CHILDREN'\r\nexport const ALL_DESCENDANTS = 'ALL_DESCENDANTS'\r\nexport const LEAF_CHILDREN = 'LEAF_CHILDREN'\r\nexport const LEAF_DESCENDANTS = 'LEAF_DESCENDANTS'\r\n\r\n// Action types of delayed loading.\r\nexport const LOAD_ROOT_OPTIONS = 'LOAD_ROOT_OPTIONS'\r\nexport const LOAD_CHILDREN_OPTIONS = 'LOAD_CHILDREN_OPTIONS'\r\nexport const ASYNC_SEARCH = 'ASYNC_SEARCH'\r\n\r\n// Acceptable values of `valueConsistsOf` prop.\r\nexport const ALL = 'ALL'\r\nexport const BRANCH_PRIORITY = 'BRANCH_PRIORITY'\r\nexport const LEAF_PRIORITY = 'LEAF_PRIORITY'\r\nexport const ALL_WITH_INDETERMINATE = 'ALL_WITH_INDETERMINATE'\r\n\r\n// Acceptable values of `sortValueBy` prop.\r\nexport const ORDER_SELECTED = 'ORDER_SELECTED'\r\nexport const LEVEL = 'LEVEL'\r\nexport const INDEX = 'INDEX'\r\n\r\n// Key codes look-up table.\r\nexport const KEY_CODES = {\r\n BACKSPACE: 8,\r\n ENTER: 13,\r\n ESCAPE: 27,\r\n END: 35,\r\n HOME: 36,\r\n ARROW_LEFT: 37,\r\n ARROW_UP: 38,\r\n ARROW_RIGHT: 39,\r\n ARROW_DOWN: 40,\r\n DELETE: 46,\r\n}\r\n\r\n// Other constants.\r\nexport const INPUT_DEBOUNCE_DELAY = process.env.NODE_ENV === 'testing'\r\n ? /* to speed up unit testing */ 10\r\n : /* istanbul ignore next */ 200\r\nexport const MIN_INPUT_WIDTH = 5\r\nexport const MENU_BUFFER = 40\r\n","import fuzzysearch from 'fuzzysearch'\r\n\r\nimport {\r\n warning,\r\n onLeftClick, scrollIntoView,\r\n isNaN, isPromise, once,\r\n identity, constant, createMap,\r\n quickDiff, last as getLast, includes, find, removeFromArray,\r\n} from '../utils'\r\n\r\nimport {\r\n NO_PARENT_NODE,\r\n UNCHECKED, INDETERMINATE, CHECKED,\r\n LOAD_ROOT_OPTIONS, LOAD_CHILDREN_OPTIONS, ASYNC_SEARCH,\r\n ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE,\r\n ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS,\r\n ORDER_SELECTED, LEVEL, INDEX,\r\n} from '../constants'\r\n\r\nfunction sortValueByIndex(a, b) {\r\n let i = 0\r\n do {\r\n if (a.level < i) return -1\r\n if (b.level < i) return 1\r\n if (a.index[i] !== b.index[i]) return a.index[i] - b.index[i]\r\n i++\r\n } while (true)\r\n}\r\n\r\nfunction sortValueByLevel(a, b) {\r\n return a.level === b.level\r\n ? sortValueByIndex(a, b)\r\n : a.level - b.level\r\n}\r\n\r\nfunction createAsyncOptionsStates() {\r\n return {\r\n isLoaded: false,\r\n isLoading: false,\r\n loadingError: '',\r\n }\r\n}\r\n\r\nfunction stringifyOptionPropValue(value) {\r\n if (typeof value === 'string') return value\r\n if (typeof value === 'number' && !isNaN(value)) return value + ''\r\n // istanbul ignore next\r\n return ''\r\n}\r\n\r\nfunction match(enableFuzzyMatch, needle, haystack) {\r\n return enableFuzzyMatch\r\n ? fuzzysearch(needle, haystack)\r\n : includes(haystack, needle)\r\n}\r\n\r\nfunction getErrorMessage(err) {\r\n return err.message || /* istanbul ignore next */String(err)\r\n}\r\n\r\nlet instanceId = 0\r\n\r\nexport default {\r\n provide() {\r\n return {\r\n // Enable access to the instance of root component of vue-treeselect\r\n // across hierarchy.\r\n instance: this,\r\n }\r\n },\r\n\r\n props: {\r\n /**\r\n * Whether to allow resetting value even if there are disabled selected nodes.\r\n */\r\n allowClearingDisabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When an ancestor node is selected/deselected, whether its disabled descendants should be selected/deselected.\r\n * You may want to use this in conjunction with `allowClearingDisabled` prop.\r\n */\r\n allowSelectingDisabledDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether the menu should be always open.\r\n */\r\n alwaysOpen: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Append the menu to ?\r\n */\r\n appendToBody: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable async search mode.\r\n */\r\n async: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically focus the component on mount?\r\n */\r\n autoFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically load root options on mount. When set to `false`, root options will be loaded when the menu is opened.\r\n */\r\n autoLoadRootOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its ancestors. Applies to flat mode only.\r\n */\r\n autoDeselectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its descendants. Applies to flat mode only.\r\n */\r\n autoDeselectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its ancestors. Applies to flat mode only.\r\n */\r\n autoSelectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its descendants. Applies to flat mode only.\r\n */\r\n autoSelectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing backspace key removes the last item if there is no text input.\r\n */\r\n backspaceRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Function that processes before clearing all input fields.\r\n * Return `false` to prevent value from being cleared.\r\n * @type {function(): (boolean|Promise)}\r\n */\r\n beforeClearAll: {\r\n type: Function,\r\n default: constant(true),\r\n },\r\n\r\n /**\r\n * Show branch nodes before leaf nodes?\r\n */\r\n branchNodesFirst: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Should cache results of every search request?\r\n */\r\n cacheOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Show an \"×\" button that resets value?\r\n */\r\n clearable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button when `multiple: true`.\r\n */\r\n clearAllText: {\r\n type: String,\r\n default: 'Clear all',\r\n },\r\n\r\n /**\r\n * Whether to clear the search input after selecting.\r\n * Use only when `multiple` is `true`.\r\n * For single-select mode, it **always** clears the input after selecting an option regardless of the prop value.\r\n */\r\n clearOnSelect: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button.\r\n */\r\n clearValueText: {\r\n type: String,\r\n default: 'Clear value',\r\n },\r\n\r\n /**\r\n * Whether to close the menu after selecting an option?\r\n * Use only when `multiple` is `true`.\r\n */\r\n closeOnSelect: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * How many levels of branch nodes should be automatically expanded when loaded.\r\n * Set `Infinity` to make all branch nodes expanded by default.\r\n */\r\n defaultExpandLevel: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The default set of options to show before the user starts searching. Used for async search mode.\r\n * When set to `true`, the results for search query as a empty string will be autoloaded.\r\n * @type {boolean|node[]}\r\n */\r\n defaultOptions: {\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing delete key removes the last item if there is no text input.\r\n */\r\n deleteRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Delimiter to use to join multiple values for the hidden field value.\r\n */\r\n delimiter: {\r\n type: String,\r\n default: ',',\r\n },\r\n\r\n /**\r\n * Only show the nodes that match the search value directly, excluding its ancestors.\r\n *\r\n * @type {Object}\r\n */\r\n flattenSearchResults: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Prevent branch nodes from being selected?\r\n */\r\n disableBranchNodes: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the control?\r\n */\r\n disabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the fuzzy matching functionality?\r\n */\r\n disableFuzzyMatching: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable flat mode or not. Non-flat mode (default) means:\r\n * - Whenever a branch node gets checked, all its children will be checked too\r\n * - Whenever a branch node has all children checked, the branch node itself will be checked too\r\n * Set `true` to disable this mechanism\r\n */\r\n flat: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Will be passed with all events as the last param.\r\n * Useful for identifying events origin.\r\n */\r\n instanceId: {\r\n // Add two trailing \"$\" to distinguish from explictly specified ids.\r\n default: () => `${instanceId++}$$`,\r\n type: [ String, Number ],\r\n },\r\n\r\n /**\r\n * Joins multiple values into a single form field with the `delimiter` (legacy mode).\r\n */\r\n joinValues: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Limit the display of selected options.\r\n * The rest will be hidden within the limitText string.\r\n */\r\n limit: {\r\n type: Number,\r\n default: Infinity,\r\n },\r\n\r\n /**\r\n * Function that processes the message shown when selected elements pass the defined limit.\r\n * @type {function(number): string}\r\n */\r\n limitText: {\r\n type: Function,\r\n default: function limitTextDefault(count) { // eslint-disable-line func-name-matching\r\n return `and ${count} more`\r\n },\r\n },\r\n\r\n /**\r\n * Text displayed when loading options.\r\n */\r\n loadingText: {\r\n type: String,\r\n default: 'Loading...',\r\n },\r\n\r\n /**\r\n * Used for dynamically loading options.\r\n * @type {function({action: string, callback: (function((Error|string)=): void), parentNode: node=, instanceId}): void}\r\n */\r\n loadOptions: {\r\n type: Function,\r\n },\r\n\r\n /**\r\n * Which node properties to filter on.\r\n */\r\n matchKeys: {\r\n type: Array,\r\n default: constant([ 'label' ]),\r\n },\r\n\r\n /**\r\n * Sets `maxHeight` style value of the menu.\r\n */\r\n maxHeight: {\r\n type: Number,\r\n default: 300,\r\n },\r\n\r\n /**\r\n * Set `true` to allow selecting multiple options (a.k.a., multi-select mode).\r\n */\r\n multiple: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Generates a hidden tag with this field name for html forms.\r\n */\r\n name: {\r\n type: String,\r\n },\r\n\r\n /**\r\n * Text displayed when a branch node has no children.\r\n */\r\n noChildrenText: {\r\n type: String,\r\n default: 'No sub-options.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no available options.\r\n */\r\n noOptionsText: {\r\n type: String,\r\n default: 'No options available.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no matching search results.\r\n */\r\n noResultsText: {\r\n type: String,\r\n default: 'No results found...',\r\n },\r\n\r\n /**\r\n * Used for normalizing source data.\r\n * @type {function(node, instanceId): node}\r\n */\r\n normalizer: {\r\n type: Function,\r\n default: identity,\r\n },\r\n\r\n /**\r\n * By default (`auto`), the menu will open below the control. If there is not\r\n * enough space, vue-treeselect will automatically flip the menu.\r\n * You can use one of other four options to force the menu to be always opened\r\n * to specified direction.\r\n * Acceptable values:\r\n * - `\"auto\"`\r\n * - `\"below\"`\r\n * - `\"bottom\"`\r\n * - `\"above\"`\r\n * - `\"top\"`\r\n */\r\n openDirection: {\r\n type: String,\r\n default: 'auto',\r\n validator(value) {\r\n const acceptableValues = [ 'auto', 'top', 'bottom', 'above', 'below' ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is clicked.\r\n */\r\n openOnClick: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is focused.\r\n */\r\n openOnFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Array of available options.\r\n * @type {node[]}\r\n */\r\n options: {\r\n type: Array,\r\n },\r\n\r\n /**\r\n * Field placeholder, displayed when there's no value.\r\n */\r\n placeholder: {\r\n type: String,\r\n default: 'Select...',\r\n },\r\n\r\n /**\r\n * Applies HTML5 required attribute when needed.\r\n */\r\n required: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text displayed asking user whether to retry loading children options.\r\n */\r\n retryText: {\r\n type: String,\r\n default: 'Retry?',\r\n },\r\n\r\n /**\r\n * Title for the retry button.\r\n */\r\n retryTitle: {\r\n type: String,\r\n default: 'Click to retry',\r\n },\r\n\r\n /**\r\n * Enable searching feature?\r\n */\r\n searchable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Search in ancestor nodes too.\r\n */\r\n searchNested: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text tip to prompt for async search.\r\n */\r\n searchPromptText: {\r\n type: String,\r\n default: 'Type to search...',\r\n },\r\n\r\n /**\r\n * Whether to show a children count next to the label of each branch node.\r\n */\r\n showCount: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Used in conjunction with `showCount` to specify which type of count number should be displayed.\r\n * Acceptable values:\r\n * - \"ALL_CHILDREN\"\r\n * - \"ALL_DESCENDANTS\"\r\n * - \"LEAF_CHILDREN\"\r\n * - \"LEAF_DESCENDANTS\"\r\n */\r\n showCountOf: {\r\n type: String,\r\n default: ALL_CHILDREN,\r\n validator(value) {\r\n const acceptableValues = [ ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to show children count when searching.\r\n * Fallbacks to the value of `showCount` when not specified.\r\n * @type {boolean}\r\n */\r\n showCountOnSearch: null,\r\n\r\n /**\r\n * In which order the selected options should be displayed in trigger & sorted in `value` array.\r\n * Used for multi-select mode only.\r\n * Acceptable values:\r\n * - \"ORDER_SELECTED\"\r\n * - \"LEVEL\"\r\n * - \"INDEX\"\r\n */\r\n sortValueBy: {\r\n type: String,\r\n default: ORDER_SELECTED,\r\n validator(value) {\r\n const acceptableValues = [ ORDER_SELECTED, LEVEL, INDEX ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Tab index of the control.\r\n */\r\n tabIndex: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The value of the control.\r\n * Should be `id` or `node` object for single-select mode, or an array of `id` or `node` object for multi-select mode.\r\n * Its format depends on the `valueFormat` prop.\r\n * For most cases, just use `v-model` instead.\r\n * @type {?Array}\r\n */\r\n modelValue: null,\r\n\r\n /**\r\n * Which kind of nodes should be included in the `value` array in multi-select mode.\r\n * Acceptable values:\r\n * - \"ALL\" - Any node that is checked will be included in the `value` array\r\n * - \"BRANCH_PRIORITY\" (default) - If a branch node is checked, all its descendants will be excluded in the `value` array\r\n * - \"LEAF_PRIORITY\" - If a branch node is checked, this node itself and its branch descendants will be excluded from the `value` array but its leaf descendants will be included\r\n * - \"ALL_WITH_INDETERMINATE\" - Any node that is checked will be included in the `value` array, plus indeterminate nodes\r\n */\r\n valueConsistsOf: {\r\n type: String,\r\n default: BRANCH_PRIORITY,\r\n validator(value) {\r\n const acceptableValues = [ ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Format of `value` prop.\r\n * Note that, when set to `\"object\"`, only `id` & `label` properties are required in each `node` object in `value` prop.\r\n * Acceptable values:\r\n * - \"id\"\r\n * - \"object\"\r\n */\r\n valueFormat: {\r\n type: String,\r\n default: 'id',\r\n },\r\n\r\n /**\r\n * z-index of the menu.\r\n */\r\n zIndex: {\r\n type: [ Number, String ],\r\n default: 999,\r\n },\r\n },\r\n\r\n data() {\r\n return {\r\n trigger: {\r\n // Is the control focused?\r\n isFocused: false,\r\n // User entered search query - value of the input.\r\n searchQuery: '',\r\n },\r\n\r\n menu: {\r\n // Is the menu opened?\r\n isOpen: false,\r\n // Id of current highlighted option.\r\n current: null,\r\n // The scroll position before last menu closing.\r\n lastScrollPosition: 0,\r\n // Which direction to open the menu.\r\n placement: 'bottom',\r\n },\r\n\r\n forest: {\r\n // Normalized options.\r\n normalizedOptions: [],\r\n // map for quick look-up.\r\n nodeMap: createMap(),\r\n // map, used for multi-select mode.\r\n checkedStateMap: createMap(),\r\n // Id list of all selected options.\r\n selectedNodeIds: this.extractCheckedNodeIdsFromValue(),\r\n // map for fast checking:\r\n // if (forest.selectedNodeIds.indexOf(id) !== -1) forest.selectedNodeMap[id] === true\r\n selectedNodeMap: createMap(),\r\n },\r\n\r\n // States of root options.\r\n rootOptionsStates: createAsyncOptionsStates(),\r\n\r\n localSearch: {\r\n // Has user entered any query to search local options?\r\n active: false,\r\n // Has any options matched the search query?\r\n noResults: true,\r\n // map for counting matched children/descendants.\r\n countMap: createMap(),\r\n },\r\n\r\n // map.\r\n remoteSearch: createMap(),\r\n }\r\n },\r\n\r\n computed: {\r\n /* eslint-disable valid-jsdoc */\r\n /**\r\n * Normalized nodes that have been selected.\r\n * @type {node[]}\r\n */\r\n selectedNodes() {\r\n return this.forest.selectedNodeIds.map(this.getNode)\r\n },\r\n /**\r\n * Id list of selected nodes with `sortValueBy` prop applied.\r\n * @type {nodeId[]}\r\n */\r\n internalValue() {\r\n let internalValue\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isRootNode) return true\r\n return !this.isSelected(node.parentNode)\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isLeaf) return true\r\n return node.children.length === 0\r\n })\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const indeterminateNodeIds = []\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n this.selectedNodes.forEach(selectedNode => {\r\n selectedNode.ancestors.forEach(ancestor => {\r\n if (includes(indeterminateNodeIds, ancestor.id)) return\r\n if (includes(internalValue, ancestor.id)) return\r\n indeterminateNodeIds.push(ancestor.id)\r\n })\r\n })\r\n internalValue.push(...indeterminateNodeIds)\r\n }\r\n\r\n if (this.sortValueBy === LEVEL) {\r\n internalValue.sort((a, b) => sortValueByLevel(this.getNode(a), this.getNode(b)))\r\n } else if (this.sortValueBy === INDEX) {\r\n internalValue.sort((a, b) => sortValueByIndex(this.getNode(a), this.getNode(b)))\r\n }\r\n\r\n return internalValue\r\n },\r\n /**\r\n * Has any option been selected?\r\n * @type {boolean}\r\n */\r\n hasValue() {\r\n return this.internalValue.length > 0\r\n },\r\n /**\r\n * Single-select mode?\r\n * @type {boolean}\r\n */\r\n single() {\r\n return !this.multiple\r\n },\r\n /**\r\n * Id list of nodes displayed in the menu. Nodes that are considered NOT visible:\r\n * - descendants of a collapsed branch node\r\n * - in local search mode, nodes that are not matched, unless\r\n * - it's a branch node and has matched descendants\r\n * - it's a leaf node and its parent node is explicitly set to show all children\r\n * @type {id[]}\r\n */\r\n visibleOptionIds() {\r\n const visibleOptionIds = []\r\n\r\n this.traverseAllNodesByIndex(node => {\r\n if (!this.localSearch.active || this.shouldOptionBeIncludedInSearchResult(node)) {\r\n visibleOptionIds.push(node.id)\r\n }\r\n // Skip the traversal of descendants of a branch node if it's not expanded.\r\n if (node.isBranch && !this.shouldExpand(node)) {\r\n return false\r\n }\r\n })\r\n\r\n return visibleOptionIds\r\n },\r\n /**\r\n * Has any option should be displayed in the menu?\r\n * @type {boolean}\r\n */\r\n hasVisibleOptions() {\r\n return this.visibleOptionIds.length !== 0\r\n },\r\n /**\r\n * Should show children count when searching?\r\n * @type {boolean}\r\n */\r\n showCountOnSearchComputed() {\r\n // Vue doesn't allow setting default prop value based on another prop value.\r\n // So use computed property as a workaround.\r\n // https://github.com/vuejs/vue/issues/6358\r\n return typeof this.showCountOnSearch === 'boolean'\r\n ? this.showCountOnSearch\r\n : this.showCount\r\n },\r\n /**\r\n * Is there any branch node?\r\n * @type {boolean}\r\n */\r\n hasBranchNodes() {\r\n return this.forest.normalizedOptions.some(rootNode => rootNode.isBranch)\r\n },\r\n shouldFlattenOptions() {\r\n return this.localSearch.active && this.flattenSearchResults\r\n },\r\n /* eslint-enable valid-jsdoc */\r\n },\r\n\r\n watch: {\r\n alwaysOpen(newValue) {\r\n if (newValue) this.openMenu()\r\n else this.closeMenu()\r\n },\r\n\r\n branchNodesFirst() {\r\n this.initialize()\r\n },\r\n\r\n disabled(newValue) {\r\n // force close the menu after disabling the control\r\n if (newValue && this.menu.isOpen) this.closeMenu()\r\n else if (!newValue && !this.menu.isOpen && this.alwaysOpen) this.openMenu()\r\n },\r\n\r\n flat() {\r\n this.initialize()\r\n },\r\n\r\n internalValue(newValue, oldValue) {\r\n const hasChanged = quickDiff(newValue, oldValue)\r\n // #122\r\n // Vue would trigger this watcher when `newValue` and `oldValue` are shallow-equal.\r\n // We emit the `input` event only when the value actually changes.\r\n if (hasChanged) this.$emit('update:modelValue', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n matchKeys() {\r\n this.initialize()\r\n },\r\n\r\n multiple(newValue) {\r\n // We need to rebuild the state when switching from single-select mode\r\n // to multi-select mode.\r\n // istanbul ignore else\r\n if (newValue) this.buildForestState()\r\n },\r\n\r\n options: {\r\n handler() {\r\n if (this.async) return\r\n // Re-initialize options when the `options` prop has changed.\r\n this.initialize()\r\n this.rootOptionsStates.isLoaded = Array.isArray(this.options)\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n\r\n 'trigger.searchQuery'() {\r\n if (this.async) {\r\n this.handleRemoteSearch()\r\n } else {\r\n this.handleLocalSearch()\r\n }\r\n\r\n this.$emit('search-change', this.trigger.searchQuery, this.getInstanceId())\r\n },\r\n\r\n value() {\r\n const nodeIdsFromValue = this.extractCheckedNodeIdsFromValue()\r\n const hasChanged = quickDiff(nodeIdsFromValue, this.internalValue)\r\n if (hasChanged) this.fixSelectedNodeIds(nodeIdsFromValue)\r\n },\r\n },\r\n\r\n methods: {\r\n verifyProps() {\r\n warning(\r\n () => this.async ? this.searchable : true,\r\n () => 'For async search mode, the value of \"searchable\" prop must be true.',\r\n )\r\n\r\n if (this.options == null && !this.loadOptions) {\r\n warning(\r\n () => false,\r\n () => 'Are you meant to dynamically load options? You need to use \"loadOptions\" prop.',\r\n )\r\n }\r\n\r\n if (this.flat) {\r\n warning(\r\n () => this.multiple,\r\n () => 'You are using flat mode. But you forgot to add \"multiple=true\"?',\r\n )\r\n }\r\n\r\n if (!this.flat) {\r\n const propNames = [\r\n 'autoSelectAncestors',\r\n 'autoSelectDescendants',\r\n 'autoDeselectAncestors',\r\n 'autoDeselectDescendants',\r\n ]\r\n\r\n propNames.forEach(propName => {\r\n warning(\r\n () => !this[propName],\r\n () => `\"${propName}\" only applies to flat mode.`,\r\n )\r\n })\r\n }\r\n },\r\n\r\n resetFlags() {\r\n this._blurOnSelect = false\r\n },\r\n\r\n initialize() {\r\n const options = this.async\r\n ? this.getRemoteSearchEntry().options\r\n : this.options\r\n\r\n if (Array.isArray(options)) {\r\n // In case we are re-initializing options, keep the old state tree temporarily.\r\n const prevNodeMap = this.forest.nodeMap\r\n this.forest.nodeMap = createMap()\r\n this.keepDataOfSelectedNodes(prevNodeMap)\r\n this.forest.normalizedOptions = this.normalize(NO_PARENT_NODE, options, prevNodeMap)\r\n // Cases that need fixing `selectedNodeIds`:\r\n // 1) Children options of a checked node have been delayed loaded,\r\n // we should also mark these children as checked. (multi-select mode)\r\n // 2) Root options have been delayed loaded, we need to initialize states\r\n // of these nodes. (multi-select mode)\r\n // 3) Async search mode.\r\n this.fixSelectedNodeIds(this.internalValue)\r\n } else {\r\n this.forest.normalizedOptions = []\r\n }\r\n },\r\n\r\n getInstanceId() {\r\n return this.instanceId == null ? this.id : this.instanceId\r\n },\r\n\r\n getValue() {\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.internalValue.slice()\r\n : this.internalValue[0]\r\n }\r\n\r\n const rawNodes = this.internalValue.map(id => this.getNode(id).raw)\r\n return this.multiple ? rawNodes : rawNodes[0]\r\n },\r\n\r\n getNode(nodeId) {\r\n warning(\r\n () => nodeId != null,\r\n () => `Invalid node id: ${nodeId}`,\r\n )\r\n\r\n if (nodeId == null) return null\r\n\r\n return nodeId in this.forest.nodeMap\r\n ? this.forest.nodeMap[nodeId]\r\n : this.createFallbackNode(nodeId)\r\n },\r\n\r\n createFallbackNode(id) {\r\n // In case there is a default selected node that is not loaded into the tree yet,\r\n // we create a fallback node to keep the component working.\r\n // When the real data is loaded, we'll override this fake node.\r\n\r\n const raw = this.extractNodeFromValue(id)\r\n const label = this.enhancedNormalizer(raw).label || `${id} (unknown)`\r\n const fallbackNode = {\r\n id,\r\n label,\r\n ancestors: [],\r\n parentNode: NO_PARENT_NODE,\r\n isFallbackNode: true,\r\n isRootNode: true,\r\n isLeaf: true,\r\n isBranch: false,\r\n isDisabled: false,\r\n childrenIgnoreDisabled: false,\r\n isNew: false,\r\n index: [ -1 ],\r\n level: 0,\r\n raw,\r\n }\r\n\r\n return this.forest.nodeMap[id] = fallbackNode\r\n // return this.$ set(this.forest.nodeMap, id, fallbackNode)\r\n },\r\n\r\n extractCheckedNodeIdsFromValue() {\r\n if (this.modelValue == null) return []\r\n\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.modelValue.slice()\r\n : [ this.modelValue ]\r\n }\r\n\r\n return (this.multiple ? this.modelValue : [ this.modelValue ])\r\n .map(node => this.enhancedNormalizer(node))\r\n .map(node => node.id)\r\n },\r\n\r\n extractNodeFromValue(id) {\r\n const defaultNode = { id }\r\n\r\n if (this.valueFormat === 'id') {\r\n return defaultNode\r\n }\r\n\r\n const valueArray = this.multiple\r\n ? Array.isArray(this.modelValue) ? this.modelValue : []\r\n : this.modelValue ? [ this.modelValue ] : []\r\n const matched = find(\r\n valueArray,\r\n node => node && this.enhancedNormalizer(node).id === id,\r\n )\r\n\r\n return matched || defaultNode\r\n },\r\n\r\n fixSelectedNodeIds(nodeIdListOfPrevValue) {\r\n let nextSelectedNodeIds = []\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n nextSelectedNodeIds = nodeIdListOfPrevValue\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n nodeIdListOfPrevValue.forEach(nodeId => {\r\n nextSelectedNodeIds.push(nodeId)\r\n const node = this.getNode(nodeId)\r\n if (node.isBranch) this.traverseDescendantsBFS(node, descendant => {\r\n nextSelectedNodeIds.push(descendant.id)\r\n })\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.slice()\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.filter(nodeId => {\r\n const node = this.getNode(nodeId)\r\n return node.isLeaf || node.children.length === 0\r\n })\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n }\r\n\r\n const hasChanged = quickDiff(this.forest.selectedNodeIds, nextSelectedNodeIds)\r\n // If `nextSelectedNodeIds` doesn't actually differ from old `selectedNodeIds`,\r\n // we don't make the assignment to avoid triggering its watchers which may cause\r\n // unnecessary calculations.\r\n if (hasChanged) this.forest.selectedNodeIds = nextSelectedNodeIds\r\n\r\n this.buildForestState()\r\n },\r\n\r\n keepDataOfSelectedNodes(prevNodeMap) {\r\n // In case there is any selected node that is not present in the new `options` array.\r\n // It could be useful for async search mode.\r\n this.forest.selectedNodeIds.forEach(id => {\r\n if (!prevNodeMap[id]) return\r\n const node = {\r\n ...prevNodeMap[id],\r\n isFallbackNode: true,\r\n }\r\n // this.$ set(this.forest.nodeMap, id, node)\r\n this.forest.nodeMap[id] = node\r\n })\r\n },\r\n\r\n isSelected(node) {\r\n // whether a node is selected (single-select mode) or fully-checked (multi-select mode)\r\n return this.forest.selectedNodeMap[node.id] === true\r\n },\r\n\r\n traverseDescendantsBFS(parentNode, callback) {\r\n // istanbul ignore if\r\n if (!parentNode.isBranch) return\r\n const queue = parentNode.children.slice()\r\n while (queue.length) {\r\n const currNode = queue[0]\r\n if (currNode.isBranch) queue.push(...currNode.children)\r\n callback(currNode)\r\n queue.shift()\r\n }\r\n },\r\n\r\n traverseDescendantsDFS(parentNode, callback) {\r\n if (!parentNode.isBranch) return\r\n parentNode.children.forEach(child => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(child, callback)\r\n callback(child)\r\n })\r\n },\r\n\r\n traverseAllNodesDFS(callback) {\r\n this.forest.normalizedOptions.forEach(rootNode => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(rootNode, callback)\r\n callback(rootNode)\r\n })\r\n },\r\n\r\n traverseAllNodesByIndex(callback) {\r\n const walk = parentNode => {\r\n parentNode.children.forEach(child => {\r\n if (callback(child) !== false && child.isBranch) {\r\n walk(child)\r\n }\r\n })\r\n }\r\n\r\n // To simplify the code logic of traversal,\r\n // we create a fake root node that holds all the root options.\r\n walk({ children: this.forest.normalizedOptions })\r\n },\r\n\r\n toggleClickOutsideEvent(enabled) {\r\n if (enabled) {\r\n document.addEventListener('mousedown', this.handleClickOutside, false)\r\n } else {\r\n document.removeEventListener('mousedown', this.handleClickOutside, false)\r\n }\r\n },\r\n\r\n getValueContainer() {\r\n return this.$refs.control.$refs['value-container']\r\n },\r\n\r\n getInput() {\r\n return this.getValueContainer().$refs.input\r\n },\r\n\r\n focusInput() {\r\n this.getInput().focus()\r\n },\r\n\r\n blurInput() {\r\n this.getInput().blur()\r\n },\r\n\r\n handleMouseDown: onLeftClick(function handleMouseDown(evt) {\r\n evt.preventDefault()\r\n evt.stopPropagation()\r\n\r\n if (this.disabled) return\r\n\r\n const isClickedOnValueContainer = this.getValueContainer().$el.contains(evt.target)\r\n if (isClickedOnValueContainer && !this.menu.isOpen && (this.openOnClick || this.trigger.isFocused)) {\r\n this.openMenu()\r\n }\r\n\r\n if (this._blurOnSelect) {\r\n this.blurInput()\r\n } else {\r\n // Focus the input or prevent blurring.\r\n this.focusInput()\r\n }\r\n\r\n this.resetFlags()\r\n }),\r\n\r\n handleClickOutside(evt) {\r\n // istanbul ignore else\r\n if (this.$refs.wrapper && !this.$refs.wrapper.contains(evt.target)) {\r\n this.blurInput()\r\n this.closeMenu()\r\n }\r\n },\r\n\r\n handleLocalSearch() {\r\n const { searchQuery } = this.trigger\r\n const done = () => this.resetHighlightedOptionWhenNecessary(true)\r\n\r\n if (!searchQuery) {\r\n // Exit sync search mode.\r\n this.localSearch.active = false\r\n return done()\r\n }\r\n\r\n // Enter sync search mode.\r\n this.localSearch.active = true\r\n\r\n // Reset states.\r\n this.localSearch.noResults = true\r\n this.traverseAllNodesDFS(node => {\r\n if (node.isBranch) {\r\n node.isExpandedOnSearch = false\r\n node.showAllChildrenOnSearch = false\r\n node.isMatched = false\r\n node.hasMatchedDescendants = false\r\n\r\n this.localSearch.countMap[node.id] = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(this.localSearch.countMap, node.id, {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n }\r\n })\r\n\r\n const lowerCasedSearchQuery = searchQuery.trim().toLocaleLowerCase()\r\n const splitSearchQuery = lowerCasedSearchQuery.replace(/\\s+/g, ' ').split(' ')\r\n this.traverseAllNodesDFS(node => {\r\n if (this.searchNested && splitSearchQuery.length > 1) {\r\n node.isMatched = splitSearchQuery.every(filterValue =>\r\n match(false, filterValue, node.nestedSearchLabel),\r\n )\r\n } else {\r\n node.isMatched = this.matchKeys.some(matchKey =>\r\n match(!this.disableFuzzyMatching, lowerCasedSearchQuery, node.lowerCased[matchKey]),\r\n )\r\n }\r\n\r\n if (node.isMatched) {\r\n this.localSearch.noResults = false\r\n node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][ALL_DESCENDANTS]++)\r\n if (node.isLeaf) node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][LEAF_DESCENDANTS]++)\r\n if (node.parentNode !== NO_PARENT_NODE) {\r\n this.localSearch.countMap[node.parentNode.id][ALL_CHILDREN] += 1\r\n // istanbul ignore else\r\n if (node.isLeaf) this.localSearch.countMap[node.parentNode.id][LEAF_CHILDREN] += 1\r\n }\r\n }\r\n\r\n if (\r\n (node.isMatched || (node.isBranch && node.isExpandedOnSearch)) &&\r\n node.parentNode !== NO_PARENT_NODE\r\n ) {\r\n node.parentNode.isExpandedOnSearch = true\r\n node.parentNode.hasMatchedDescendants = true\r\n }\r\n })\r\n\r\n done()\r\n },\r\n\r\n handleRemoteSearch() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.getRemoteSearchEntry()\r\n const done = () => {\r\n this.initialize()\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n }\r\n\r\n if ((searchQuery === '' || this.cacheOptions) && entry.isLoaded) {\r\n return done()\r\n }\r\n\r\n this.callLoadOptionsProp({\r\n action: ASYNC_SEARCH,\r\n args: { searchQuery },\r\n isPending() {\r\n return entry.isLoading\r\n },\r\n start: () => {\r\n entry.isLoading = true\r\n entry.isLoaded = false\r\n entry.loadingError = ''\r\n },\r\n succeed: options => {\r\n entry.isLoaded = true\r\n entry.options = options\r\n // When the request completes, the search query may have changed.\r\n // We only show these options if they are for the current search query.\r\n if (this.trigger.searchQuery === searchQuery) done()\r\n },\r\n fail: err => {\r\n entry.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n entry.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n getRemoteSearchEntry() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.remoteSearch[searchQuery] || {\r\n ...createAsyncOptionsStates(),\r\n options: [],\r\n }\r\n\r\n // Vue doesn't support directly watching on objects.\r\n this.$watch(\r\n () => entry.options,\r\n () => {\r\n // TODO: potential redundant re-initialization.\r\n if (this.trigger.searchQuery === searchQuery) this.initialize()\r\n },\r\n { deep: true },\r\n )\r\n\r\n if (searchQuery === '') {\r\n if (Array.isArray(this.defaultOptions)) {\r\n entry.options = this.defaultOptions\r\n entry.isLoaded = true\r\n return entry\r\n } else if (this.defaultOptions !== true) {\r\n entry.isLoaded = true\r\n return entry\r\n }\r\n }\r\n\r\n if (!this.remoteSearch[searchQuery]) {\r\n // this.$ set(this.remoteSearch, searchQuery, entry)\r\n this.remoteSearch[searchQuery] = entry;\r\n }\r\n\r\n return entry\r\n },\r\n\r\n shouldExpand(node) {\r\n return this.localSearch.active ? node.isExpandedOnSearch : node.isExpanded\r\n },\r\n\r\n shouldOptionBeIncludedInSearchResult(node) {\r\n // 1) This option is matched.\r\n if (node.isMatched) return true\r\n // 2) This option is not matched, but has matched descendant(s).\r\n if (node.isBranch && node.hasMatchedDescendants && !this.flattenSearchResults) return true\r\n // 3) This option's parent has no matched descendants,\r\n // but after being expanded, all its children should be shown.\r\n if (!node.isRootNode && node.parentNode.showAllChildrenOnSearch) return true\r\n // 4) The default case.\r\n return false\r\n },\r\n\r\n shouldShowOptionInMenu(node) {\r\n if (this.localSearch.active && !this.shouldOptionBeIncludedInSearchResult(node)) {\r\n return false\r\n }\r\n return true\r\n },\r\n\r\n getControl() {\r\n return this.$refs.control.$el\r\n },\r\n\r\n getMenu() {\r\n const ref = this.appendToBody ? this.$refs.portal.portalTarget : this\r\n const $menu = ref.$refs.menu.$refs.menu\r\n return $menu && $menu.nodeName !== '#comment' ? $menu : null\r\n },\r\n\r\n setCurrentHighlightedOption(node, scroll = true) {\r\n const prev = this.menu.current\r\n if (prev != null && prev in this.forest.nodeMap) {\r\n this.forest.nodeMap[prev].isHighlighted = false\r\n }\r\n\r\n this.menu.current = node.id\r\n node.isHighlighted = true\r\n\r\n if (this.menu.isOpen && scroll) {\r\n const scrollToOption = () => {\r\n const $menu = this.getMenu()\r\n const $option = $menu.querySelector(`.vue-treeselect__option[data-id=\"${node.id}\"]`)\r\n if ($option) scrollIntoView($menu, $option)\r\n }\r\n\r\n // In case `openMenu()` is just called and the menu is not rendered yet.\r\n if (this.getMenu()) {\r\n scrollToOption()\r\n } else {\r\n // istanbul ignore next\r\n this.$nextTick(scrollToOption)\r\n }\r\n }\r\n },\r\n\r\n resetHighlightedOptionWhenNecessary(forceReset = false) {\r\n const { current } = this.menu\r\n\r\n if (\r\n forceReset || current == null ||\r\n !(current in this.forest.nodeMap) ||\r\n !this.shouldShowOptionInMenu(this.getNode(current))\r\n ) {\r\n this.highlightFirstOption()\r\n }\r\n },\r\n\r\n highlightFirstOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const first = this.visibleOptionIds[0]\r\n this.setCurrentHighlightedOption(this.getNode(first))\r\n },\r\n\r\n highlightPrevOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const prev = this.visibleOptionIds.indexOf(this.menu.current) - 1\r\n if (prev === -1) return this.highlightLastOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[prev]))\r\n },\r\n\r\n highlightNextOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const next = this.visibleOptionIds.indexOf(this.menu.current) + 1\r\n if (next === this.visibleOptionIds.length) return this.highlightFirstOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[next]))\r\n },\r\n\r\n highlightLastOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const last = getLast(this.visibleOptionIds)\r\n this.setCurrentHighlightedOption(this.getNode(last))\r\n },\r\n\r\n resetSearchQuery() {\r\n this.trigger.searchQuery = ''\r\n },\r\n\r\n closeMenu() {\r\n if (!this.menu.isOpen || (!this.disabled && this.alwaysOpen)) return\r\n this.saveMenuScrollPosition()\r\n this.menu.isOpen = false\r\n this.toggleClickOutsideEvent(false)\r\n this.resetSearchQuery()\r\n this.$emit('close', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n openMenu() {\r\n if (this.disabled || this.menu.isOpen) return\r\n this.menu.isOpen = true\r\n this.$nextTick(this.resetHighlightedOptionWhenNecessary)\r\n this.$nextTick(this.restoreMenuScrollPosition)\r\n if (!this.options && !this.async) this.loadRootOptions()\r\n this.toggleClickOutsideEvent(true)\r\n this.$emit('open', this.getInstanceId())\r\n },\r\n\r\n toggleMenu() {\r\n if (this.menu.isOpen) {\r\n this.closeMenu()\r\n } else {\r\n this.openMenu()\r\n }\r\n },\r\n\r\n toggleExpanded(node) {\r\n let nextState\r\n\r\n if (this.localSearch.active) {\r\n nextState = node.isExpandedOnSearch = !node.isExpandedOnSearch\r\n if (nextState) node.showAllChildrenOnSearch = true\r\n } else {\r\n nextState = node.isExpanded = !node.isExpanded\r\n }\r\n\r\n if (nextState && !node.childrenStates.isLoaded) {\r\n this.loadChildrenOptions(node)\r\n }\r\n },\r\n\r\n buildForestState() {\r\n const selectedNodeMap = createMap()\r\n this.forest.selectedNodeIds.forEach(selectedNodeId => {\r\n selectedNodeMap[selectedNodeId] = true\r\n })\r\n this.forest.selectedNodeMap = selectedNodeMap\r\n\r\n const checkedStateMap = createMap()\r\n if (this.multiple) {\r\n this.traverseAllNodesByIndex(node => {\r\n checkedStateMap[node.id] = UNCHECKED\r\n })\r\n\r\n this.selectedNodes.forEach(selectedNode => {\r\n checkedStateMap[selectedNode.id] = CHECKED\r\n\r\n if (!this.flat && !this.disableBranchNodes) {\r\n selectedNode.ancestors.forEach(ancestorNode => {\r\n if (!this.isSelected(ancestorNode)) {\r\n checkedStateMap[ancestorNode.id] = INDETERMINATE\r\n }\r\n })\r\n }\r\n })\r\n }\r\n this.forest.checkedStateMap = checkedStateMap\r\n },\r\n\r\n enhancedNormalizer(raw) {\r\n return {\r\n ...raw,\r\n ...this.normalizer(raw, this.getInstanceId()),\r\n }\r\n },\r\n\r\n normalize(parentNode, nodes, prevNodeMap) {\r\n let normalizedOptions = nodes\r\n .map(node => [ this.enhancedNormalizer(node), node ])\r\n .map(([ node, raw ], index) => {\r\n this.checkDuplication(node)\r\n this.verifyNodeShape(node)\r\n\r\n const { id, label, children, isDefaultExpanded } = node\r\n const isRootNode = parentNode === NO_PARENT_NODE\r\n const level = isRootNode ? 0 : parentNode.level + 1\r\n const isBranch = Array.isArray(children) || children === null\r\n const isLeaf = !isBranch\r\n const childrenIgnoreDisabled = node.childrenIgnoreDisabled\r\n const isDisabled = !!node.isDisabled || (!this.flat && !isRootNode && parentNode.isDisabled && !parentNode.childrenIgnoreDisabled) \r\n const isNew = !!node.isNew\r\n const lowerCased = this.matchKeys.reduce((prev, key) => ({\r\n ...prev,\r\n [key]: stringifyOptionPropValue(node[key]).toLocaleLowerCase(),\r\n }), {})\r\n const nestedSearchLabel = isRootNode\r\n ? lowerCased.label\r\n : parentNode.nestedSearchLabel + ' ' + lowerCased.label\r\n\r\n // this.$ set(this.forest.nodeMap, id, createMap())\r\n this.forest.nodeMap[id] = createMap();\r\n\r\n const normalized = this.forest.nodeMap[id];\r\n\r\n normalized.id = id;\r\n normalized.label = label;\r\n normalized.level = level;\r\n normalized.ancestors = isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors);\r\n normalized.index = (isRootNode ? [] : parentNode.index).concat(index);\r\n normalized.parentNode = parentNode;\r\n normalized.lowerCased = lowerCased;\r\n normalized.nestedSearchLabel = nestedSearchLabel;\r\n normalized.childrenIgnoreDisabled = childrenIgnoreDisabled;\r\n normalized.isDisabled = isDisabled;\r\n normalized.isNew = isNew;\r\n normalized.isMatched = false;\r\n normalized.isHighlighted = false;\r\n normalized.isBranch = isBranch;\r\n normalized.isLeaf = isLeaf;\r\n normalized.isRootNode = isRootNode;\r\n normalized.raw = raw;\r\n\r\n // this.$ set(normalized, 'id', id)\r\n // this.$ set(normalized, 'label', label)\r\n // this.$ set(normalized, 'level', level)\r\n // this.$ set(normalized, 'ancestors', isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors))\r\n // this.$ set(normalized, 'index', (isRootNode ? [] : parentNode.index).concat(index))\r\n // this.$ set(normalized, 'parentNode', parentNode)\r\n // this.$ set(normalized, 'lowerCased', lowerCased)\r\n // this.$ set(normalized, 'nestedSearchLabel', nestedSearchLabel)\r\n // this.$ set(normalized, 'isDisabled', isDisabled)\r\n // this.$ set(normalized, 'isNew', isNew)\r\n // this.$ set(normalized, 'isMatched', false)\r\n // this.$ set(normalized, 'isHighlighted', false)\r\n // this.$ set(normalized, 'isBranch', isBranch)\r\n // this.$ set(normalized, 'isLeaf', isLeaf)\r\n // this.$ set(normalized, 'isRootNode', isRootNode)\r\n // this.$ set(normalized, 'raw', raw)\r\n\r\n if (isBranch) {\r\n const isLoaded = Array.isArray(children)\r\n\r\n // this.$ set(normalized, 'childrenStates', {\r\n // ...createAsyncOptionsStates(),\r\n // isLoaded,\r\n // })\r\n normalized.childrenStates = {...createAsyncOptionsStates(),isLoaded}\r\n \r\n // this.$ set(normalized, 'isExpanded', typeof isDefaultExpanded === 'boolean'\r\n // ? isDefaultExpanded\r\n // : level < this.defaultExpandLevel)\r\n normalized.isExpanded = typeof isDefaultExpanded === 'boolean' ? isDefaultExpanded : level < this.defaultExpandLevel;\r\n \r\n // this.$ set(normalized, 'hasMatchedDescendants', false)\r\n // this.$ set(normalized, 'hasDisabledDescendants', false)\r\n // this.$ set(normalized, 'isExpandedOnSearch', false)\r\n // this.$ set(normalized, 'showAllChildrenOnSearch', false)\r\n // this.$ set(normalized, 'count', {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.hasMatchedDescendants = false;\r\n normalized.hasDisabledDescendants = false;\r\n normalized.isExpandedOnSearch = false;\r\n normalized.showAllChildrenOnSearch = false;\r\n normalized.count = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.children = isLoaded ? this.normalize(normalized, children, prevNodeMap) :[];\r\n\r\n if (isDefaultExpanded === true) normalized.ancestors.forEach(ancestor => {\r\n ancestor.isExpanded = true\r\n })\r\n\r\n if (!isLoaded && typeof this.loadOptions !== 'function') {\r\n warning(\r\n () => false,\r\n () => 'Unloaded branch node detected. \"loadOptions\" prop is required to load its children.',\r\n )\r\n } else if (!isLoaded && normalized.isExpanded) {\r\n this.loadChildrenOptions(normalized)\r\n }\r\n }\r\n\r\n normalized.ancestors.forEach(ancestor => ancestor.count[ALL_DESCENDANTS]++)\r\n if (isLeaf) normalized.ancestors.forEach(ancestor => ancestor.count[LEAF_DESCENDANTS]++)\r\n if (!isRootNode) {\r\n parentNode.count[ALL_CHILDREN] += 1\r\n if (isLeaf) parentNode.count[LEAF_CHILDREN] += 1\r\n if (isDisabled) parentNode.hasDisabledDescendants = true\r\n }\r\n\r\n // Preserve previous states.\r\n if (prevNodeMap && prevNodeMap[id]) {\r\n const prev = prevNodeMap[id]\r\n\r\n normalized.isMatched = prev.isMatched\r\n normalized.showAllChildrenOnSearch = prev.showAllChildrenOnSearch\r\n normalized.isHighlighted = prev.isHighlighted\r\n\r\n if (prev.isBranch && normalized.isBranch) {\r\n normalized.isExpanded = prev.isExpanded\r\n normalized.isExpandedOnSearch = prev.isExpandedOnSearch\r\n // #97\r\n // If `isLoaded` was true, but IS NOT now, we consider this branch node\r\n // to be reset to unloaded state by the user of this component.\r\n if (prev.childrenStates.isLoaded && !normalized.childrenStates.isLoaded) {\r\n // Make sure the node is collapsed, then the user can load its\r\n // children again (by expanding).\r\n normalized.isExpanded = false\r\n // We have reset `childrenStates` and don't want to preserve states here.\r\n } else {\r\n normalized.childrenStates = { ...prev.childrenStates }\r\n }\r\n }\r\n }\r\n\r\n return normalized\r\n })\r\n\r\n if (this.branchNodesFirst) {\r\n const branchNodes = normalizedOptions.filter(option => option.isBranch)\r\n const leafNodes = normalizedOptions.filter(option => option.isLeaf)\r\n normalizedOptions = branchNodes.concat(leafNodes)\r\n }\r\n\r\n return normalizedOptions\r\n },\r\n\r\n loadRootOptions() {\r\n this.callLoadOptionsProp({\r\n action: LOAD_ROOT_OPTIONS,\r\n isPending: () => {\r\n return this.rootOptionsStates.isLoading\r\n },\r\n start: () => {\r\n this.rootOptionsStates.isLoading = true\r\n this.rootOptionsStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.rootOptionsStates.isLoaded = true\r\n // Wait for `options` being re-initialized.\r\n this.$nextTick(() => {\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n })\r\n },\r\n fail: err => {\r\n this.rootOptionsStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.rootOptionsStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n loadChildrenOptions(parentNode) {\r\n // The options may be re-initialized anytime during the loading process.\r\n // So `parentNode` can be stale and we use `getNode()` to avoid that.\r\n\r\n const { id, raw } = parentNode\r\n\r\n this.callLoadOptionsProp({\r\n action: LOAD_CHILDREN_OPTIONS,\r\n args: {\r\n // We always pass the raw node instead of the normalized node to any\r\n // callback provided by the user of this component.\r\n // Because the shape of the raw node is more likely to be closing to\r\n // what the back-end API service of the application needs.\r\n parentNode: raw,\r\n },\r\n isPending: () => {\r\n return this.getNode(id).childrenStates.isLoading\r\n },\r\n start: () => {\r\n this.getNode(id).childrenStates.isLoading = true\r\n this.getNode(id).childrenStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.getNode(id).childrenStates.isLoaded = true\r\n },\r\n fail: err => {\r\n this.getNode(id).childrenStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.getNode(id).childrenStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n callLoadOptionsProp({ action, args, isPending, start, succeed, fail, end }) {\r\n if (!this.loadOptions || isPending()) {\r\n return\r\n }\r\n\r\n start()\r\n\r\n const callback = once((err, result) => {\r\n if (err) {\r\n fail(err)\r\n } else {\r\n succeed(result)\r\n }\r\n\r\n end()\r\n })\r\n const result = this.loadOptions({\r\n id: this.getInstanceId(),\r\n instanceId: this.getInstanceId(),\r\n action,\r\n ...args,\r\n callback,\r\n })\r\n\r\n if (isPromise(result)) {\r\n result.then(() => {\r\n callback()\r\n }, err => {\r\n callback(err)\r\n }).catch(err => {\r\n // istanbul ignore next\r\n console.error(err)\r\n })\r\n }\r\n },\r\n\r\n checkDuplication(node) {\r\n warning(\r\n () => !((node.id in this.forest.nodeMap) && !this.forest.nodeMap[node.id].isFallbackNode),\r\n () => `Detected duplicate presence of node id ${JSON.stringify(node.id)}. ` +\r\n `Their labels are \"${this.forest.nodeMap[node.id].label}\" and \"${node.label}\" respectively.`,\r\n )\r\n },\r\n\r\n verifyNodeShape(node) {\r\n warning(\r\n () => !(node.children === undefined && node.isBranch === true),\r\n () => 'Are you meant to declare an unloaded branch node? ' +\r\n '`isBranch: true` is no longer supported, please use `children: null` instead.',\r\n )\r\n },\r\n\r\n select(node) {\r\n if (this.disabled || node.isDisabled) {\r\n return\r\n }\r\n\r\n if (this.single) {\r\n this.clear()\r\n }\r\n\r\n const nextState = this.multiple && !this.flat\r\n ? this.forest.checkedStateMap[node.id] === UNCHECKED\r\n : !this.isSelected(node)\r\n\r\n if (nextState) {\r\n this._selectNode(node)\r\n } else {\r\n this._deselectNode(node)\r\n }\r\n\r\n this.buildForestState()\r\n\r\n if (nextState) {\r\n this.$emit('select', node.raw, this.getInstanceId())\r\n } else {\r\n this.$emit('deselect', node.raw, this.getInstanceId())\r\n }\r\n\r\n if (this.localSearch.active && nextState && (this.single || this.clearOnSelect)) {\r\n this.resetSearchQuery()\r\n }\r\n\r\n if (this.single && this.closeOnSelect) {\r\n this.closeMenu()\r\n\r\n // istanbul ignore else\r\n if (this.searchable) {\r\n this._blurOnSelect = true\r\n }\r\n }\r\n },\r\n\r\n clear() {\r\n if (this.hasValue) {\r\n if (this.single || this.allowClearingDisabled) {\r\n this.forest.selectedNodeIds = []\r\n } else /* if (this.multiple && !this.allowClearingDisabled) */ {\r\n this.forest.selectedNodeIds = this.forest.selectedNodeIds.filter(nodeId =>\r\n this.getNode(nodeId).isDisabled,\r\n )\r\n }\r\n\r\n this.buildForestState()\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _selectNode(node) {\r\n if (this.single || this.disableBranchNodes) {\r\n return this.addValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.addValue(node)\r\n\r\n if (this.autoSelectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (!this.isSelected(ancestor) && !ancestor.isDisabled) this.addValue(ancestor)\r\n })\r\n } else if (this.autoSelectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!this.isSelected(descendant) && !descendant.isDisabled) this.addValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n const isFullyChecked = (\r\n node.isLeaf ||\r\n (/* node.isBranch && */!node.hasDisabledDescendants) ||\r\n (/* node.isBranch && */this.allowSelectingDisabledDescendants)\r\n )\r\n if (isFullyChecked) {\r\n this.addValue(node)\r\n }\r\n\r\n if (node.isBranch) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.addValue(descendant)\r\n }\r\n })\r\n }\r\n\r\n if (isFullyChecked) {\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (curr.children.every(this.isSelected) && !curr.childrenIgnoreDisabled) this.addValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _deselectNode(node) {\r\n if (this.disableBranchNodes) {\r\n return this.removeValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.removeValue(node)\r\n\r\n if (this.autoDeselectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (this.isSelected(ancestor) && !ancestor.isDisabled) this.removeValue(ancestor)\r\n })\r\n } else if (this.autoDeselectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (this.isSelected(descendant) && !descendant.isDisabled) this.removeValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n let hasUncheckedSomeDescendants = false\r\n if (node.isBranch) {\r\n this.traverseDescendantsDFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.removeValue(descendant)\r\n hasUncheckedSomeDescendants = true\r\n }\r\n })\r\n }\r\n\r\n if (\r\n node.isLeaf ||\r\n /* node.isBranch && */hasUncheckedSomeDescendants ||\r\n /* node.isBranch && */node.children.length === 0\r\n ) {\r\n this.removeValue(node)\r\n\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (this.isSelected(curr)) this.removeValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n addValue(node) {\r\n this.forest.selectedNodeIds.push(node.id)\r\n this.forest.selectedNodeMap[node.id] = true\r\n },\r\n\r\n removeValue(node) {\r\n removeFromArray(this.forest.selectedNodeIds, node.id)\r\n delete this.forest.selectedNodeMap[node.id]\r\n },\r\n\r\n removeLastValue() {\r\n if (!this.hasValue) return\r\n if (this.single) return this.clear()\r\n const lastValue = getLast(this.internalValue)\r\n const lastSelectedNode = this.getNode(lastValue)\r\n this.select(lastSelectedNode) // deselect\r\n },\r\n\r\n saveMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) this.menu.lastScrollPosition = $menu.scrollTop\r\n },\r\n\r\n restoreMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) $menu.scrollTop = this.menu.lastScrollPosition\r\n },\r\n },\r\n\r\n created() {\r\n this.verifyProps()\r\n this.resetFlags()\r\n },\r\n\r\n mounted() {\r\n if (this.autoFocus) this.focusInput()\r\n if (!this.options && !this.async && this.autoLoadRootOptions) this.loadRootOptions()\r\n if (this.alwaysOpen) this.openMenu()\r\n if (this.async && this.defaultOptions) this.handleRemoteSearch()\r\n },\r\n\r\n unmounted() {\r\n // istanbul ignore next\r\n this.toggleClickOutsideEvent(false)\r\n },\r\n}\r\n","\r\n","import script from \"./HiddenFields.vue?vue&type=script&lang=js\"\nexport * from \"./HiddenFields.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","function isPlainObject(value) {\r\n if (value == null || typeof value !== 'object') return false\r\n return Object.getPrototypeOf(value) === Object.prototype\r\n}\r\n\r\nfunction copy(obj, key, value) {\r\n if (isPlainObject(value)) {\r\n obj[key] || (obj[key] = {})\r\n deepExtend(obj[key], value)\r\n } else {\r\n obj[key] = value\r\n }\r\n}\r\n\r\nexport function deepExtend(target, source) {\r\n if (isPlainObject(source)) {\r\n const keys = Object.keys(source)\r\n\r\n for (let i = 0, len = keys.length; i < len; i++) {\r\n copy(target, keys[i], source[keys[i]])\r\n }\r\n }\r\n\r\n return target\r\n}\r\n","\r\n","import script from \"./Input.vue?vue&type=script&lang=js\"\nexport * from \"./Input.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./Placeholder.vue?vue&type=script&lang=js\"\nexport * from \"./Placeholder.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./SingleValue.vue?vue&type=script&lang=js\"\nexport * from \"./SingleValue.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./Delete.vue?vue&type=template&id=12b4a02e\"\nimport script from \"./Delete.vue?vue&type=script&lang=js\"\nexport * from \"./Delete.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\sohali\\\\vue3-treeselect\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n","import script from \"./MultiValueItem.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValueItem.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./MultiValue.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValue.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./Arrow.vue?vue&type=template&id=5d5151cb\"\nimport script from \"./Arrow.vue?vue&type=script&lang=js\"\nexport * from \"./Arrow.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\sohali\\\\vue3-treeselect\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n","import script from \"./Control.vue?vue&type=script&lang=js\"\nexport * from \"./Control.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","var index = (function (element, listener) {\n\tvar expand = document.createElement('_');\n\tvar shrink = expand.appendChild(document.createElement('_'));\n\tvar expandChild = expand.appendChild(document.createElement('_'));\n\tvar shrinkChild = shrink.appendChild(document.createElement('_'));\n\n\tvar lastWidth = void 0,\n\t lastHeight = void 0;\n\n\tshrink.style.cssText = expand.style.cssText = 'height:100%;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;transition:0s;width:100%;z-index:-1';\n\tshrinkChild.style.cssText = expandChild.style.cssText = 'display:block;height:100%;transition:0s;width:100%';\n\tshrinkChild.style.width = shrinkChild.style.height = '200%';\n\n\telement.appendChild(expand);\n\n\ttest();\n\n\treturn stop;\n\n\tfunction test() {\n\t\tunbind();\n\n\t\tvar width = element.offsetWidth;\n\t\tvar height = element.offsetHeight;\n\n\t\tif (width !== lastWidth || height !== lastHeight) {\n\t\t\tlastWidth = width;\n\t\t\tlastHeight = height;\n\n\t\t\texpandChild.style.width = width * 2 + 'px';\n\t\t\texpandChild.style.height = height * 2 + 'px';\n\n\t\t\texpand.scrollLeft = expand.scrollWidth;\n\t\t\texpand.scrollTop = expand.scrollHeight;\n\t\t\tshrink.scrollLeft = shrink.scrollWidth;\n\t\t\tshrink.scrollTop = shrink.scrollHeight;\n\n\t\t\tlistener({ width: width, height: height });\n\t\t}\n\n\t\tshrink.addEventListener('scroll', test);\n\t\texpand.addEventListener('scroll', test);\n\t}\n\n\tfunction unbind() {\n\t\tshrink.removeEventListener('scroll', test);\n\t\texpand.removeEventListener('scroll', test);\n\t}\n\n\tfunction stop() {\n\t\tunbind();\n\n\t\telement.removeChild(expand);\n\t}\n});\n\nexport default index;\n","import watchSizeForBrowsersOtherThanIE9 from 'watch-size'\r\nimport { removeFromArray } from './removeFromArray'\r\n\r\nlet intervalId\r\nconst registered = []\r\nconst INTERVAL_DURATION = 100\r\n\r\nfunction run() {\r\n intervalId = setInterval(() => {\r\n registered.forEach(test)\r\n }, INTERVAL_DURATION)\r\n}\r\n\r\nfunction stop() {\r\n clearInterval(intervalId)\r\n intervalId = null\r\n}\r\n\r\nfunction test(item) {\r\n const { $el, listener, lastWidth, lastHeight } = item\r\n const width = $el.offsetWidth\r\n const height = $el.offsetHeight\r\n\r\n if (lastWidth !== width || lastHeight !== height) {\r\n item.lastWidth = width\r\n item.lastHeight = height\r\n\r\n listener({ width, height })\r\n }\r\n}\r\n\r\nfunction watchSizeForIE9($el, listener) {\r\n const item = {\r\n $el,\r\n listener,\r\n lastWidth: null,\r\n lastHeight: null,\r\n }\r\n const unwatch = () => {\r\n removeFromArray(registered, item)\r\n if (!registered.length) stop()\r\n }\r\n\r\n registered.push(item)\r\n // The original watch-size will call the listener on initialization.\r\n // Keep the same behavior here.\r\n test(item)\r\n run()\r\n\r\n return unwatch\r\n}\r\n\r\nexport function watchSize($el, listener) {\r\n // See: https://stackoverflow.com/a/31293352\r\n const isIE9 = document.documentMode === 9\r\n // watch-size will call the listener on initialization.\r\n // Disable this behavior with a lock to achieve a clearer code logic.\r\n let locked = true\r\n const wrappedListener = (...args) => locked || listener(...args)\r\n const implementation = isIE9\r\n ? watchSizeForIE9\r\n : watchSizeForBrowsersOtherThanIE9\r\n const removeSizeWatcher = implementation($el, wrappedListener)\r\n locked = false // unlock after initialization\r\n\r\n return removeSizeWatcher\r\n}\r\n","function findScrollParents($el) {\r\n const $scrollParents = []\r\n let $parent = $el.parentNode\r\n\r\n while ($parent && $parent.nodeName !== 'BODY' && $parent.nodeType === document.ELEMENT_NODE) {\r\n if (isScrollElment($parent)) $scrollParents.push($parent)\r\n $parent = $parent.parentNode\r\n }\r\n $scrollParents.push(window)\r\n\r\n return $scrollParents\r\n}\r\n\r\nfunction isScrollElment($el) {\r\n // Firefox wants us to check `-x` and `-y` variations as well\r\n const { overflow, overflowX, overflowY } = getComputedStyle($el)\r\n return /(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)\r\n}\r\n\r\nexport function setupResizeAndScrollEventListeners($el, listener) {\r\n const $scrollParents = findScrollParents($el)\r\n\r\n window.addEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach(scrollParent => {\r\n scrollParent.addEventListener('scroll', listener, { passive: true })\r\n })\r\n\r\n return function removeEventListeners() {\r\n window.removeEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach($scrollParent => {\r\n $scrollParent.removeEventListener('scroll', listener, { passive: true })\r\n })\r\n }\r\n}\r\n","\r\n","import script from \"./Tip.vue?vue&type=script&lang=js\"\nexport * from \"./Tip.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","","import script from \"./Option.vue?vue&type=script&lang=js\"\nexport * from \"./Option.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./Menu.vue?vue&type=script&lang=js\"\nexport * from \"./Menu.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./MenuPortal.vue?vue&type=script&lang=js\"\nexport * from \"./MenuPortal.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Treeselect.vue?vue&type=template&id=4fa337e8\"\nimport script from \"./Treeselect.vue?vue&type=script&lang=js\"\nexport * from \"./Treeselect.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\sohali\\\\vue3-treeselect\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Treeselect from './components/Treeselect'\r\nimport treeselectMixin from './mixins/treeselectMixin'\r\nimport '../styles/style.less'\r\n\r\nexport default Treeselect\r\nexport { Treeselect, treeselectMixin }\r\nexport {\r\n // Delayed loading.\r\n LOAD_ROOT_OPTIONS,\r\n LOAD_CHILDREN_OPTIONS,\r\n ASYNC_SEARCH,\r\n} from './constants'\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.test('\\n') && re.flags === 's');\n});\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/vue3-treeselect.umd.js b/dist/vue3-treeselect.umd.js index 19477f1..a46ad26 100644 --- a/dist/vue3-treeselect.umd.js +++ b/dist/vue3-treeselect.umd.js @@ -96,9 +96,54 @@ return /******/ (function(modules) { // webpackBootstrap /************************************************************************/ /******/ ({ +/***/ "00b4": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove from `core-js@4` since it's moved to entry points +__webpack_require__("ac1f"); +var $ = __webpack_require__("23e7"); +var call = __webpack_require__("c65b"); +var isCallable = __webpack_require__("1626"); +var anObject = __webpack_require__("825a"); +var toString = __webpack_require__("577e"); + +var DELEGATES_TO_EXEC = function () { + var execCalled = false; + var re = /[ac]/; + re.exec = function () { + execCalled = true; + return /./.exec.apply(this, arguments); + }; + return re.test('abc') === true && execCalled; +}(); + +var nativeTest = /./.test; + +// `RegExp.prototype.test` method +// https://tc39.es/ecma262/#sec-regexp.prototype.test +$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, { + test: function (S) { + var R = anObject(this); + var string = toString(S); + var exec = R.exec; + if (!isCallable(exec)) return call(nativeTest, R, string); + var result = call(exec, R, string); + if (result === null) return false; + anObject(result); + return true; + } +}); + + +/***/ }), + /***/ "00ee": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var wellKnownSymbol = __webpack_require__("b622"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); @@ -167,27 +212,18 @@ module.exports = getRawTag; /***/ "0366": /***/ (function(module, exports, __webpack_require__) { -var aFunction = __webpack_require__("1c0b"); +"use strict"; + +var uncurryThis = __webpack_require__("4625"); +var aCallable = __webpack_require__("59ed"); +var NATIVE_BIND = __webpack_require__("40d5"); + +var bind = uncurryThis(uncurryThis.bind); // optional / simple context binding -module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 0: return function () { - return fn.call(that); - }; - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { +module.exports = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { return fn.apply(that, arguments); }; }; @@ -203,8 +239,8 @@ module.exports = function (fn, that, length) { var $ = __webpack_require__("23e7"); var flattenIntoArray = __webpack_require__("a2bf"); var toObject = __webpack_require__("7b0b"); -var toLength = __webpack_require__("50c4"); -var toInteger = __webpack_require__("a691"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var toIntegerOrInfinity = __webpack_require__("5926"); var arraySpeciesCreate = __webpack_require__("65f0"); // `Array.prototype.flat` method @@ -213,38 +249,146 @@ $({ target: 'Array', proto: true }, { flat: function flat(/* depthArg = 1 */) { var depthArg = arguments.length ? arguments[0] : undefined; var O = toObject(this); - var sourceLen = toLength(O.length); + var sourceLen = lengthOfArrayLike(O); var A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg)); + A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg)); return A; } }); +/***/ }), + +/***/ "04d1": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var userAgent = __webpack_require__("342f"); + +var firefox = userAgent.match(/firefox\/(\d+)/i); + +module.exports = !!firefox && +firefox[1]; + + +/***/ }), + +/***/ "04f8": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable es/no-symbol -- required for testing */ +var V8_VERSION = __webpack_require__("2d00"); +var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); + +var $String = global.String; + +// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing +module.exports = !!Object.getOwnPropertySymbols && !fails(function () { + var symbol = Symbol('symbol detection'); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, + // of course, fail. + return !$String(symbol) || !(Object(symbol) instanceof Symbol) || + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && V8_VERSION && V8_VERSION < 41; +}); + + /***/ }), /***/ "06cf": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); +var call = __webpack_require__("c65b"); var propertyIsEnumerableModule = __webpack_require__("d1e7"); var createPropertyDescriptor = __webpack_require__("5c6c"); var toIndexedObject = __webpack_require__("fc6a"); -var toPrimitive = __webpack_require__("c04e"); -var has = __webpack_require__("5135"); +var toPropertyKey = __webpack_require__("a04b"); +var hasOwn = __webpack_require__("1a2d"); var IE8_DOM_DEFINE = __webpack_require__("0cfb"); -var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor -exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { +exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject(O); - P = toPrimitive(P, true); + P = toPropertyKey(P); if (IE8_DOM_DEFINE) try { - return nativeGetOwnPropertyDescriptor(O, P); + return $getOwnPropertyDescriptor(O, P); } catch (error) { /* empty */ } - if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); +}; + + +/***/ }), + +/***/ "07fa": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var toLength = __webpack_require__("50c4"); + +// `LengthOfArrayLike` abstract operation +// https://tc39.es/ecma262/#sec-lengthofarraylike +module.exports = function (obj) { + return toLength(obj.length); +}; + + +/***/ }), + +/***/ "083a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var tryToString = __webpack_require__("0d51"); + +var $TypeError = TypeError; + +module.exports = function (O, P) { + if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O)); +}; + + +/***/ }), + +/***/ "0b42": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isArray = __webpack_require__("e8b5"); +var isConstructor = __webpack_require__("68ee"); +var isObject = __webpack_require__("861d"); +var wellKnownSymbol = __webpack_require__("b622"); + +var SPECIES = wellKnownSymbol('species'); +var $Array = Array; + +// a part of `ArraySpeciesCreate` abstract operation +// https://tc39.es/ecma262/#sec-arrayspeciescreate +module.exports = function (originalArray) { + var C; + if (isArray(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined; + else if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array : C; }; @@ -253,13 +397,20 @@ exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnProper /***/ "0cb2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var toObject = __webpack_require__("7b0b"); var floor = Math.floor; -var replace = ''.replace; -var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d\d?|<[^>]*>)/g; -var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d\d?)/g; - +var charAt = uncurryThis(''.charAt); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); +// eslint-disable-next-line redos/no-vulnerable -- safe +var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; + +// `GetSubstitution` abstract operation // https://tc39.es/ecma262/#sec-getsubstitution module.exports = function (matched, str, position, captures, namedCaptures, replacement) { var tailPos = position + matched.length; @@ -269,15 +420,15 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl namedCaptures = toObject(namedCaptures); symbols = SUBSTITUTION_SYMBOLS; } - return replace.call(replacement, symbols, function (match, ch) { + return replace(replacement, symbols, function (match, ch) { var capture; - switch (ch.charAt(0)) { + switch (charAt(ch, 0)) { case '$': return '$'; case '&': return matched; - case '`': return str.slice(0, position); - case "'": return str.slice(tailPos); + case '`': return stringSlice(str, 0, position); + case "'": return stringSlice(str, tailPos); case '<': - capture = namedCaptures[ch.slice(1, -1)]; + capture = namedCaptures[stringSlice(ch, 1, -1)]; break; default: // \d\d? var n = +ch; @@ -285,7 +436,7 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl if (n > m) { var f = floor(n / 10); if (f === 0) return match; - if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); + if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1); return match; } capture = captures[n - 1]; @@ -300,158 +451,57 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl /***/ "0cfb": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); var fails = __webpack_require__("d039"); var createElement = __webpack_require__("cc12"); -// Thank's IE8 for his funny defineProperty +// Thanks to IE8 for its funny defineProperty module.exports = !DESCRIPTORS && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } - }).a != 7; + }).a !== 7; }); /***/ }), -/***/ "1276": +/***/ "0d51": /***/ (function(module, exports, __webpack_require__) { "use strict"; -var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784"); -var isRegExp = __webpack_require__("44e7"); -var anObject = __webpack_require__("825a"); -var requireObjectCoercible = __webpack_require__("1d80"); -var speciesConstructor = __webpack_require__("4840"); -var advanceStringIndex = __webpack_require__("8aa5"); -var toLength = __webpack_require__("50c4"); -var callRegExpExec = __webpack_require__("14c3"); -var regexpExec = __webpack_require__("9263"); -var fails = __webpack_require__("d039"); +var $String = String; -var arrayPush = [].push; -var min = Math.min; -var MAX_UINT32 = 0xFFFFFFFF; +module.exports = function (argument) { + try { + return $String(argument); + } catch (error) { + return 'Object'; + } +}; -// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError -var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); }); -// @@split logic -fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) { - var internalSplit; - if ( - 'abbc'.split(/(b)*/)[1] == 'c' || - 'test'.split(/(?:)/, -1).length != 4 || - 'ab'.split(/(?:ab)*/).length != 2 || - '.'.split(/(.?)(.?)/).length != 4 || - '.'.split(/()()/).length > 1 || - ''.split(/.?/).length - ) { - // based on es5-shim implementation, need to rework it - internalSplit = function (separator, limit) { - var string = String(requireObjectCoercible(this)); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (separator === undefined) return [string]; - // If `separator` is not a regex, use native split - if (!isRegExp(separator)) { - return nativeSplit.call(string, separator, lim); - } - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + - (separator.sticky ? 'y' : ''); - var lastLastIndex = 0; - // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + 'g'); - var match, lastIndex, lastLength; - while (match = regexpExec.call(separatorCopy, string)) { - lastIndex = separatorCopy.lastIndex; - if (lastIndex > lastLastIndex) { - output.push(string.slice(lastLastIndex, match.index)); - if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1)); - lastLength = match[0].length; - lastLastIndex = lastIndex; - if (output.length >= lim) break; - } - if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop - } - if (lastLastIndex === string.length) { - if (lastLength || !separatorCopy.test('')) output.push(''); - } else output.push(string.slice(lastLastIndex)); - return output.length > lim ? output.slice(0, lim) : output; - }; - // Chakra, V8 - } else if ('0'.split(undefined, 0).length) { - internalSplit = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit); - }; - } else internalSplit = nativeSplit; +/***/ }), - return [ - // `String.prototype.split` method - // https://tc39.es/ecma262/#sec-string.prototype.split - function split(separator, limit) { - var O = requireObjectCoercible(this); - var splitter = separator == undefined ? undefined : separator[SPLIT]; - return splitter !== undefined - ? splitter.call(separator, O, limit) - : internalSplit.call(String(O), separator, limit); - }, - // `RegExp.prototype[@@split]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@split - // - // NOTE: This cannot be properly polyfilled in engines that don't support - // the 'y' flag. - function (regexp, limit) { - var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - var C = speciesConstructor(rx, RegExp); - - var unicodeMatching = rx.unicode; - var flags = (rx.ignoreCase ? 'i' : '') + - (rx.multiline ? 'm' : '') + - (rx.unicode ? 'u' : '') + - (SUPPORTS_Y ? 'y' : 'g'); - - // ^(? + rx + ) is needed, in combination with some S slicing, to - // simulate the 'y' flag. - var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; - var p = 0; - var q = 0; - var A = []; - while (q < S.length) { - splitter.lastIndex = SUPPORTS_Y ? q : 0; - var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); - var e; - if ( - z === null || - (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p - ) { - q = advanceStringIndex(S, q, unicodeMatching); - } else { - A.push(S.slice(p, q)); - if (A.length === lim) return A; - for (var i = 1; i <= z.length - 1; i++) { - A.push(z[i]); - if (A.length === lim) return A; - } - q = p = e; - } - } - A.push(S.slice(p)); - return A; - } - ]; -}, !SUPPORTS_Y); +/***/ "107c": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); + +// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError +var $RegExp = global.RegExp; + +module.exports = fails(function () { + var re = $RegExp('(?b)', 'g'); + return re.exec('b').groups.a !== 'b' || + 'b'.replace(re, '$c') !== 'bc'; +}); /***/ }), @@ -490,6 +540,69 @@ function isObjectLike(value) { module.exports = isObjectLike; +/***/ }), + +/***/ "13d2": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); +var hasOwn = __webpack_require__("1a2d"); +var DESCRIPTORS = __webpack_require__("83ab"); +var CONFIGURABLE_FUNCTION_NAME = __webpack_require__("5e77").CONFIGURABLE; +var inspectSource = __webpack_require__("8925"); +var InternalStateModule = __webpack_require__("69f3"); + +var enforceInternalState = InternalStateModule.enforce; +var getInternalState = InternalStateModule.get; +var $String = String; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; +var stringSlice = uncurryThis(''.slice); +var replace = uncurryThis(''.replace); +var join = uncurryThis([].join); + +var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; +}); + +var TEMPLATE = String(String).split('String'); + +var makeBuiltIn = module.exports = function (value, name, options) { + if (stringSlice($String(name), 0, 7) === 'Symbol(') { + name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; + } + if (options && options.getter) name = 'get ' + name; + if (options && options.setter) name = 'set ' + name; + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); + else value.name = name; + } + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { + defineProperty(value, 'length', { value: options.arity }); + } + try { + if (options && hasOwn(options, 'constructor') && options.constructor) { + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } + var state = enforceInternalState(value); + if (!hasOwn(state, 'source')) { + state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); + } return value; +}; + +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +// eslint-disable-next-line no-extend-native -- required +Function.prototype.toString = makeBuiltIn(function toString() { + return isCallable(this) && getInternalState(this).source || inspectSource(this); +}, 'toString'); + + /***/ }), /***/ "13d5": @@ -500,21 +613,20 @@ module.exports = isObjectLike; var $ = __webpack_require__("23e7"); var $reduce = __webpack_require__("d58f").left; var arrayMethodIsStrict = __webpack_require__("a640"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var CHROME_VERSION = __webpack_require__("2d00"); var IS_NODE = __webpack_require__("605d"); -var STRICT_METHOD = arrayMethodIsStrict('reduce'); -var USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 }); // Chrome 80-82 has a critical bug // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; +var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce'); // `Array.prototype.reduce` method // https://tc39.es/ecma262/#sec-array.prototype.reduce -$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, { +$({ target: 'Array', proto: true, forced: FORCED }, { reduce: function reduce(callbackfn /* , initialValue */) { - return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + var length = arguments.length; + return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined); } }); @@ -524,28 +636,78 @@ $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || C /***/ "14c3": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var call = __webpack_require__("c65b"); +var anObject = __webpack_require__("825a"); +var isCallable = __webpack_require__("1626"); var classof = __webpack_require__("c6b6"); var regexpExec = __webpack_require__("9263"); +var $TypeError = TypeError; + // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec module.exports = function (R, S) { var exec = R.exec; - if (typeof exec === 'function') { - var result = exec.call(R, S); - if (typeof result !== 'object') { - throw TypeError('RegExp exec method returned something other than an Object or null'); - } + if (isCallable(exec)) { + var result = call(exec, R, S); + if (result !== null) anObject(result); return result; } + if (classof(R) === 'RegExp') return call(regexpExec, R, S); + throw new $TypeError('RegExp#exec called on incompatible receiver'); +}; - if (classof(R) !== 'RegExp') { - throw TypeError('RegExp#exec called on incompatible receiver'); - } - return regexpExec.call(R, S); +/***/ }), + +/***/ "14d9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var toObject = __webpack_require__("7b0b"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var setArrayLength = __webpack_require__("3a34"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); +var fails = __webpack_require__("d039"); + +var INCORRECT_TO_LENGTH = fails(function () { + return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; +}); + +// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError +// https://bugs.chromium.org/p/v8/issues/detail?id=12681 +var properErrorOnNonWritableLength = function () { + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).push(); + } catch (error) { + return error instanceof TypeError; + } }; +var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); + +// `Array.prototype.push` method +// https://tc39.es/ecma262/#sec-array.prototype.push +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + push: function push(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + doesNotExceedSafeInteger(len + argCount); + for (var i = 0; i < argCount; i++) { + O[len] = arguments[i]; + len++; + } + setArrayLength(O, len); + return len; + } +}); /***/ }), @@ -553,22 +715,65 @@ module.exports = function (R, S) { /***/ "159b": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var DOMIterables = __webpack_require__("fdbc"); +var DOMTokenListPrototype = __webpack_require__("785a"); var forEach = __webpack_require__("17c2"); var createNonEnumerableProperty = __webpack_require__("9112"); -for (var COLLECTION_NAME in DOMIterables) { - var Collection = global[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; +var handlePrototype = function (CollectionPrototype) { // some Chrome versions have non-configurable methods on DOMTokenList if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach); } catch (error) { CollectionPrototype.forEach = forEach; } +}; + +for (var COLLECTION_NAME in DOMIterables) { + if (DOMIterables[COLLECTION_NAME]) { + handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype); + } } +handlePrototype(DOMTokenListPrototype); + + +/***/ }), + +/***/ "1626": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot +var documentAll = typeof document == 'object' && document.all; + +// `IsCallable` abstract operation +// https://tc39.es/ecma262/#sec-iscallable +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing +module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; +} : function (argument) { + return typeof argument == 'function'; +}; + + +/***/ }), + +/***/ "1787": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isObject = __webpack_require__("861d"); + +module.exports = function (argument) { + return isObject(argument) || argument === null; +}; + /***/ }), @@ -579,18 +784,37 @@ for (var COLLECTION_NAME in DOMIterables) { var $forEach = __webpack_require__("b727").forEach; var arrayMethodIsStrict = __webpack_require__("a640"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var STRICT_METHOD = arrayMethodIsStrict('forEach'); -var USES_TO_LENGTH = arrayMethodUsesToLength('forEach'); // `Array.prototype.forEach` method implementation // https://tc39.es/ecma262/#sec-array.prototype.foreach -module.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) { +module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) { return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); +// eslint-disable-next-line es/no-array-prototype-foreach -- safe } : [].forEach; +/***/ }), + +/***/ "1a2d": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var toObject = __webpack_require__("7b0b"); + +var hasOwnProperty = uncurryThis({}.hasOwnProperty); + +// `HasOwnProperty` abstract operation +// https://tc39.es/ecma262/#sec-hasownproperty +// eslint-disable-next-line es/no-object-hasown -- safe +module.exports = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty(toObject(it), key); +}; + + /***/ }), /***/ "1a8c": @@ -634,6 +858,8 @@ module.exports = isObject; /***/ "1be4": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var getBuiltIn = __webpack_require__("d066"); module.exports = getBuiltIn('document', 'documentElement'); @@ -641,25 +867,19 @@ module.exports = getBuiltIn('document', 'documentElement'); /***/ }), -/***/ "1c0b": -/***/ (function(module, exports) { - -module.exports = function (it) { - if (typeof it != 'function') { - throw TypeError(String(it) + ' is not a function'); - } return it; -}; +/***/ "1d80": +/***/ (function(module, exports, __webpack_require__) { +"use strict"; -/***/ }), +var isNullOrUndefined = __webpack_require__("7234"); -/***/ "1d80": -/***/ (function(module, exports) { +var $TypeError = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); + if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); return it; }; @@ -701,6 +921,8 @@ module.exports = once; /***/ "1dde": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); var wellKnownSymbol = __webpack_require__("b622"); var V8_VERSION = __webpack_require__("2d00"); @@ -727,7 +949,9 @@ module.exports = function (METHOD_NAME) { /***/ "23cb": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("a691"); +"use strict"; + +var toIntegerOrInfinity = __webpack_require__("5926"); var max = Math.max; var min = Math.min; @@ -736,7 +960,7 @@ var min = Math.min; // Let integer be ? ToInteger(index). // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). module.exports = function (index, length) { - var integer = toInteger(index); + var integer = toIntegerOrInfinity(index); return integer < 0 ? max(integer + length, 0) : min(integer, length); }; @@ -746,27 +970,30 @@ module.exports = function (index, length) { /***/ "23e7": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var getOwnPropertyDescriptor = __webpack_require__("06cf").f; var createNonEnumerableProperty = __webpack_require__("9112"); -var redefine = __webpack_require__("6eeb"); -var setGlobal = __webpack_require__("ce4e"); +var defineBuiltIn = __webpack_require__("cb2d"); +var defineGlobalProperty = __webpack_require__("6374"); var copyConstructorProperties = __webpack_require__("e893"); var isForced = __webpack_require__("94ca"); /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key */ module.exports = function (options, source) { var TARGET = options.target; @@ -776,28 +1003,27 @@ module.exports = function (options, source) { if (GLOBAL) { target = global; } else if (STATIC) { - target = global[TARGET] || setGlobal(TARGET, {}); + target = global[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global[TARGET] || {}).prototype; + target = global[TARGET] && global[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; - if (options.noTargetGet) { + if (options.dontCallGetSet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contained in target if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty === typeof targetProperty) continue; + if (typeof sourceProperty == typeof targetProperty) continue; copyConstructorProperties(sourceProperty, targetProperty); } // add a flag to not completely full polyfills if (options.sham || (targetProperty && targetProperty.sham)) { createNonEnumerableProperty(sourceProperty, 'sham', true); } - // extend global - redefine(target, key, sourceProperty, options); + defineBuiltIn(target, key, sourceProperty, options); } }; @@ -807,6 +1033,8 @@ module.exports = function (options, source) { /***/ "241c": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var internalObjectKeys = __webpack_require__("ca84"); var enumBugKeys = __webpack_require__("7839"); @@ -814,6 +1042,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype'); // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames +// eslint-disable-next-line es/no-object-getownpropertynames -- safe exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return internalObjectKeys(O, hiddenKeys); }; @@ -826,28 +1055,29 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { "use strict"; -var redefine = __webpack_require__("6eeb"); +var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER; +var defineBuiltIn = __webpack_require__("cb2d"); var anObject = __webpack_require__("825a"); +var $toString = __webpack_require__("577e"); var fails = __webpack_require__("d039"); -var flags = __webpack_require__("ad6d"); +var getRegExpFlags = __webpack_require__("90d8"); var TO_STRING = 'toString'; var RegExpPrototype = RegExp.prototype; var nativeToString = RegExpPrototype[TO_STRING]; -var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); +var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; }); // FF44- RegExp#toString has a wrong name -var INCORRECT_NAME = nativeToString.name != TO_STRING; +var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING; // `RegExp.prototype.toString` method // https://tc39.es/ecma262/#sec-regexp.prototype.tostring if (NOT_GENERIC || INCORRECT_NAME) { - redefine(RegExp.prototype, TO_STRING, function toString() { + defineBuiltIn(RegExpPrototype, TO_STRING, function toString() { var R = anObject(this); - var p = String(R.source); - var rf = R.flags; - var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf); - return '/' + p + '/' + f; + var pattern = $toString(R.source); + var flags = $toString(getRegExpFlags(R)); + return '/' + pattern + '/' + flags; }, { unsafe: true }); } @@ -910,31 +1140,59 @@ var root = freeGlobal || freeSelf || Function('return this')(); module.exports = root; +/***/ }), + +/***/ "2ba4": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__("40d5"); + +var FunctionPrototype = Function.prototype; +var apply = FunctionPrototype.apply; +var call = FunctionPrototype.call; + +// eslint-disable-next-line es/no-reflect -- safe +module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { + return call.apply(apply, arguments); +}); + + /***/ }), /***/ "2d00": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var userAgent = __webpack_require__("342f"); var process = global.process; -var versions = process && process.versions; +var Deno = global.Deno; +var versions = process && process.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; if (v8) { match = v8.split('.'); - version = match[0] + match[1]; -} else if (userAgent) { + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 + // but their correct versions are not interesting for us + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); +} + +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` +// so check `userAgent` even if `.v8` exists, but 0 +if (!version && userAgent) { match = userAgent.match(/Edge\/(\d+)/); if (!match || match[1] >= 74) { match = userAgent.match(/Chrome\/(\d+)/); - if (match) version = match[1]; + if (match) version = +match[1]; } } -module.exports = version && +version; +module.exports = version; /***/ }), @@ -974,6 +1232,8 @@ module.exports = fuzzysearch; /***/ "3410": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var $ = __webpack_require__("23e7"); var fails = __webpack_require__("d039"); var toObject = __webpack_require__("7b0b"); @@ -997,9 +1257,25 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PR /***/ "342f": /***/ (function(module, exports, __webpack_require__) { -var getBuiltIn = __webpack_require__("d066"); +"use strict"; + +module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; + + +/***/ }), -module.exports = getBuiltIn('navigator', 'userAgent') || ''; +/***/ "3511": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $TypeError = TypeError; +var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + +module.exports = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); + return it; +}; /***/ }), @@ -1042,35 +1318,92 @@ module.exports = baseGetTag; /***/ "37e8": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("aed9"); var definePropertyModule = __webpack_require__("9bf2"); var anObject = __webpack_require__("825a"); +var toIndexedObject = __webpack_require__("fc6a"); var objectKeys = __webpack_require__("df75"); // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties -module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { +// eslint-disable-next-line es/no-object-defineproperties -- safe +exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); + var props = toIndexedObject(Properties); var keys = objectKeys(Properties); var length = keys.length; var index = 0; var key; - while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]); + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); return O; }; +/***/ }), + +/***/ "3a34": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__("83ab"); +var isArray = __webpack_require__("e8b5"); + +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// Safari < 13 does not throw an error in this case +var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { + // makes no sense without proper strict mode support + if (this !== undefined) return true; + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).length = 1; + } catch (error) { + return error instanceof TypeError; + } +}(); + +module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { + if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { + throw new $TypeError('Cannot set read only .length'); + } return O.length = length; +} : function (O, length) { + return O.length = length; +}; + + +/***/ }), + +/***/ "3a9b": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); + +module.exports = uncurryThis({}.isPrototypeOf); + + /***/ }), /***/ "3bbe": /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__("861d"); +"use strict"; -module.exports = function (it) { - if (!isObject(it) && it !== null) { - throw TypeError("Can't set " + String(it) + ' as a prototype'); - } return it; +var isPossiblePrototype = __webpack_require__("1787"); + +var $String = String; +var $TypeError = TypeError; + +module.exports = function (argument) { + if (isPossiblePrototype(argument)) return argument; + throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); }; @@ -1079,6 +1412,8 @@ module.exports = function (it) { /***/ "4069": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + // this method was added to unscopables after implementation // in popular engines, so it's moved to a separate module var addToUnscopables = __webpack_require__("44d2"); @@ -1087,6 +1422,20 @@ var addToUnscopables = __webpack_require__("44d2"); addToUnscopables('flat'); +/***/ }), + +/***/ "408a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); + +// `thisNumberValue` abstract operation +// https://tc39.es/ecma262/#sec-thisnumbervalue +module.exports = uncurryThis(1.0.valueOf); + + /***/ }), /***/ "408c": @@ -1117,6 +1466,23 @@ var now = function() { module.exports = now; +/***/ }), + +/***/ "40d5": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("d039"); + +module.exports = !fails(function () { + // eslint-disable-next-line es/no-function-prototype-bind -- safe + var test = (function () { /* empty */ }).bind(); + // eslint-disable-next-line no-prototype-builtins -- safe + return typeof test != 'function' || test.hasOwnProperty('prototype'); +}); + + /***/ }), /***/ "4160": @@ -1129,7 +1495,8 @@ var forEach = __webpack_require__("17c2"); // `Array.prototype.forEach` method // https://tc39.es/ecma262/#sec-array.prototype.foreach -$({ target: 'Array', proto: true, forced: [].forEach != forEach }, { +// eslint-disable-next-line es/no-array-prototype-foreach -- safe +$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, { forEach: forEach }); @@ -1139,6 +1506,8 @@ $({ target: 'Array', proto: true, forced: [].forEach != forEach }, { /***/ "428f": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); module.exports = global; @@ -1176,19 +1545,23 @@ module.exports = last; /***/ "44ad": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var fails = __webpack_require__("d039"); var classof = __webpack_require__("c6b6"); -var split = ''.split; +var $Object = Object; +var split = uncurryThis(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings module.exports = fails(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins - return !Object('z').propertyIsEnumerable(0); + // eslint-disable-next-line no-prototype-builtins -- safe + return !$Object('z').propertyIsEnumerable(0); }) ? function (it) { - return classof(it) == 'String' ? split.call(it, '') : Object(it); -} : Object; + return classof(it) === 'String' ? split(it, '') : $Object(it); +} : $Object; /***/ }), @@ -1196,17 +1569,19 @@ module.exports = fails(function () { /***/ "44d2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var wellKnownSymbol = __webpack_require__("b622"); var create = __webpack_require__("7c73"); -var definePropertyModule = __webpack_require__("9bf2"); +var defineProperty = __webpack_require__("9bf2").f; var UNSCOPABLES = wellKnownSymbol('unscopables'); var ArrayPrototype = Array.prototype; // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -if (ArrayPrototype[UNSCOPABLES] == undefined) { - definePropertyModule.f(ArrayPrototype, UNSCOPABLES, { +if (ArrayPrototype[UNSCOPABLES] === undefined) { + defineProperty(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create(null) }); @@ -1218,25 +1593,6 @@ module.exports = function (key) { }; -/***/ }), - -/***/ "44e7": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("861d"); -var classof = __webpack_require__("c6b6"); -var wellKnownSymbol = __webpack_require__("b622"); - -var MATCH = wellKnownSymbol('match'); - -// `IsRegExp` abstract operation -// https://tc39.es/ecma262/#sec-isregexp -module.exports = function (it) { - var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); -}; - - /***/ }), /***/ "45fc": @@ -1247,14 +1603,12 @@ module.exports = function (it) { var $ = __webpack_require__("23e7"); var $some = __webpack_require__("b727").some; var arrayMethodIsStrict = __webpack_require__("a640"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var STRICT_METHOD = arrayMethodIsStrict('some'); -var USES_TO_LENGTH = arrayMethodUsesToLength('some'); // `Array.prototype.some` method // https://tc39.es/ecma262/#sec-array.prototype.some -$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, { some: function some(callbackfn /* , thisArg */) { return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -1263,36 +1617,44 @@ $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, { /***/ }), -/***/ "4840": +/***/ "4625": /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__("825a"); -var aFunction = __webpack_require__("1c0b"); -var wellKnownSymbol = __webpack_require__("b622"); +"use strict"; -var SPECIES = wellKnownSymbol('species'); +var classofRaw = __webpack_require__("c6b6"); +var uncurryThis = __webpack_require__("e330"); -// `SpeciesConstructor` abstract operation -// https://tc39.es/ecma262/#sec-speciesconstructor -module.exports = function (O, defaultConstructor) { - var C = anObject(O).constructor; - var S; - return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S); +module.exports = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis(fn); }; /***/ }), -/***/ "4930": +/***/ "485a": /***/ (function(module, exports, __webpack_require__) { -var fails = __webpack_require__("d039"); +"use strict"; -module.exports = !!Object.getOwnPropertySymbols && !fails(function () { - // Chrome 38 Symbol has incorrect toString conversion - // eslint-disable-next-line no-undef - return !String(Symbol()); -}); +var call = __webpack_require__("c65b"); +var isCallable = __webpack_require__("1626"); +var isObject = __webpack_require__("861d"); + +var $TypeError = TypeError; + +// `OrdinaryToPrimitive` abstract operation +// https://tc39.es/ecma262/#sec-ordinarytoprimitive +module.exports = function (input, pref) { + var fn, val; + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + throw new $TypeError("Can't convert object to primitive value"); +}; /***/ }), @@ -1358,28 +1720,57 @@ function toInteger(value) { module.exports = toInteger; +/***/ }), + +/***/ "4cef": +/***/ (function(module, exports) { + +/** Used to match a single whitespace character. */ +var reWhitespace = /\s/; + +/** + * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace + * character of `string`. + * + * @private + * @param {string} string The string to inspect. + * @returns {number} Returns the index of the last non-whitespace character. + */ +function trimmedEndIndex(string) { + var index = string.length; + + while (index-- && reWhitespace.test(string.charAt(index))) {} + return index; +} + +module.exports = trimmedEndIndex; + + /***/ }), /***/ "4d64": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var toIndexedObject = __webpack_require__("fc6a"); -var toLength = __webpack_require__("50c4"); var toAbsoluteIndex = __webpack_require__("23cb"); +var lengthOfArrayLike = __webpack_require__("07fa"); // `Array.prototype.{ indexOf, includes }` methods implementation var createMethod = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIndexedObject($this); - var length = toLength(O.length); + var length = lengthOfArrayLike(O); + if (length === 0) return !IS_INCLUDES && -1; var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare - if (IS_INCLUDES && el != el) while (length > index) { + // eslint-disable-next-line no-self-compare -- NaN check + if (IS_INCLUDES && el !== el) while (length > index) { value = O[index++]; - // eslint-disable-next-line no-self-compare - if (value != value) return true; + // eslint-disable-next-line no-self-compare -- NaN check + if (value !== value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (;length > index; index++) { if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; @@ -1407,16 +1798,13 @@ module.exports = { var $ = __webpack_require__("23e7"); var $filter = __webpack_require__("b727").filter; var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); -// Edge 14- issue -var USES_TO_LENGTH = arrayMethodUsesToLength('filter'); // `Array.prototype.filter` method // https://tc39.es/ecma262/#sec-array.prototype.filter // with adding support of @@species -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { filter: function filter(callbackfn /* , thisArg */) { return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -1431,13 +1819,23 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT "use strict"; var $ = __webpack_require__("23e7"); -var aFunction = __webpack_require__("1c0b"); +var uncurryThis = __webpack_require__("e330"); +var aCallable = __webpack_require__("59ed"); var toObject = __webpack_require__("7b0b"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var deletePropertyOrThrow = __webpack_require__("083a"); +var toString = __webpack_require__("577e"); var fails = __webpack_require__("d039"); +var internalSort = __webpack_require__("addb"); var arrayMethodIsStrict = __webpack_require__("a640"); +var FF = __webpack_require__("04d1"); +var IE_OR_EDGE = __webpack_require__("d998"); +var V8 = __webpack_require__("2d00"); +var WEBKIT = __webpack_require__("512c"); var test = []; -var nativeSort = test.sort; +var nativeSort = uncurryThis(test.sort); +var push = uncurryThis(test.push); // IE8- var FAILS_ON_UNDEFINED = fails(function () { @@ -1450,15 +1848,79 @@ var FAILS_ON_NULL = fails(function () { // Old WebKit var STRICT_METHOD = arrayMethodIsStrict('sort'); -var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD; +var STABLE_SORT = !fails(function () { + // feature detection can be too slow, so check engines versions + if (V8) return V8 < 70; + if (FF && FF > 3) return; + if (IE_OR_EDGE) return true; + if (WEBKIT) return WEBKIT < 603; + + var result = ''; + var code, chr, value, index; + + // generate an array with more 512 elements (Chakra and old V8 fails only in this case) + for (code = 65; code < 76; code++) { + chr = String.fromCharCode(code); + + switch (code) { + case 66: case 69: case 70: case 72: value = 3; break; + case 68: case 71: value = 4; break; + default: value = 2; + } + + for (index = 0; index < 47; index++) { + test.push({ k: chr + index, v: value }); + } + } + + test.sort(function (a, b) { return b.v - a.v; }); + + for (index = 0; index < test.length; index++) { + chr = test[index].k.charAt(0); + if (result.charAt(result.length - 1) !== chr) result += chr; + } + + return result !== 'DGBEFHACIJK'; +}); + +var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; + +var getSortCompare = function (comparefn) { + return function (x, y) { + if (y === undefined) return -1; + if (x === undefined) return 1; + if (comparefn !== undefined) return +comparefn(x, y) || 0; + return toString(x) > toString(y) ? 1 : -1; + }; +}; // `Array.prototype.sort` method // https://tc39.es/ecma262/#sec-array.prototype.sort $({ target: 'Array', proto: true, forced: FORCED }, { sort: function sort(comparefn) { - return comparefn === undefined - ? nativeSort.call(toObject(this)) - : nativeSort.call(toObject(this), aFunction(comparefn)); + if (comparefn !== undefined) aCallable(comparefn); + + var array = toObject(this); + + if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn); + + var items = []; + var arrayLength = lengthOfArrayLike(array); + var itemsLength, index; + + for (index = 0; index < arrayLength; index++) { + if (index in array) push(items, array[index]); + } + + internalSort(items, getSortCompare(comparefn)); + + itemsLength = lengthOfArrayLike(items); + index = 0; + + while (index < itemsLength) array[index] = items[index++]; + while (index < arrayLength) deletePropertyOrThrow(array, index++); + + return array; } }); @@ -1468,27 +1930,32 @@ $({ target: 'Array', proto: true, forced: FORCED }, { /***/ "50c4": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("a691"); +"use strict"; + +var toIntegerOrInfinity = __webpack_require__("5926"); var min = Math.min; // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength module.exports = function (argument) { - return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + var len = toIntegerOrInfinity(argument); + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; /***/ }), -/***/ "5135": -/***/ (function(module, exports) { +/***/ "512c": +/***/ (function(module, exports, __webpack_require__) { -var hasOwnProperty = {}.hasOwnProperty; +"use strict"; -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); -}; +var userAgent = __webpack_require__("342f"); + +var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); + +module.exports = !!webkit && +webkit[1]; /***/ }), @@ -1498,26 +1965,64 @@ module.exports = function (it, key) { "use strict"; +var apply = __webpack_require__("2ba4"); +var call = __webpack_require__("c65b"); +var uncurryThis = __webpack_require__("e330"); var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784"); +var fails = __webpack_require__("d039"); var anObject = __webpack_require__("825a"); +var isCallable = __webpack_require__("1626"); +var isNullOrUndefined = __webpack_require__("7234"); +var toIntegerOrInfinity = __webpack_require__("5926"); var toLength = __webpack_require__("50c4"); -var toInteger = __webpack_require__("a691"); +var toString = __webpack_require__("577e"); var requireObjectCoercible = __webpack_require__("1d80"); var advanceStringIndex = __webpack_require__("8aa5"); +var getMethod = __webpack_require__("dc4a"); var getSubstitution = __webpack_require__("0cb2"); var regExpExec = __webpack_require__("14c3"); +var wellKnownSymbol = __webpack_require__("b622"); +var REPLACE = wellKnownSymbol('replace'); var max = Math.max; var min = Math.min; +var concat = uncurryThis([].concat); +var push = uncurryThis([].push); +var stringIndexOf = uncurryThis(''.indexOf); +var stringSlice = uncurryThis(''.slice); var maybeToString = function (it) { return it === undefined ? it : String(it); }; +// IE <= 11 replaces $0 with the whole match, as if it was $& +// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 +var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing + return 'a'.replace(/./, '$0') === '$0'; +})(); + +// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string +var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { + if (/./[REPLACE]) { + return /./[REPLACE]('a', '$0') === ''; + } + return false; +})(); + +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive + return ''.replace(re, '$') !== '7'; +}); + // @@replace logic -fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) { - var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE; - var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0; +fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) { var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; return [ @@ -1525,42 +2030,46 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma // https://tc39.es/ecma262/#sec-string.prototype.replace function replace(searchValue, replaceValue) { var O = requireObjectCoercible(this); - var replacer = searchValue == undefined ? undefined : searchValue[REPLACE]; - return replacer !== undefined - ? replacer.call(searchValue, O, replaceValue) - : nativeReplace.call(String(O), searchValue, replaceValue); + var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE); + return replacer + ? call(replacer, searchValue, O, replaceValue) + : call(nativeReplace, toString(O), searchValue, replaceValue); }, // `RegExp.prototype[@@replace]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace - function (regexp, replaceValue) { + function (string, replaceValue) { + var rx = anObject(this); + var S = toString(string); + if ( - (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) || - (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1) + typeof replaceValue == 'string' && + stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && + stringIndexOf(replaceValue, '$<') === -1 ) { - var res = maybeCallNative(nativeReplace, regexp, this, replaceValue); + var res = maybeCallNative(nativeReplace, rx, S, replaceValue); if (res.done) return res.value; } - var rx = anObject(regexp); - var S = String(this); - - var functionalReplace = typeof replaceValue === 'function'; - if (!functionalReplace) replaceValue = String(replaceValue); + var functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString(replaceValue); var global = rx.global; + var fullUnicode; if (global) { - var fullUnicode = rx.unicode; + fullUnicode = rx.unicode; rx.lastIndex = 0; } + var results = []; + var result; while (true) { - var result = regExpExec(rx, S); + result = regExpExec(rx, S); if (result === null) break; - results.push(result); + push(results, result); if (!global) break; - var matchStr = String(result[0]); + var matchStr = toString(result[0]); if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); } @@ -1569,32 +2078,34 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma for (var i = 0; i < results.length; i++) { result = results[i]; - var matched = String(result[0]); - var position = max(min(toInteger(result.index), S.length), 0); + var matched = toString(result[0]); + var position = max(min(toIntegerOrInfinity(result.index), S.length), 0); var captures = []; + var replacement; // NOTE: This is equivalent to // captures = result.slice(1).map(maybeToString) // but for some reason `nativeSlice.call(result, 1, result.length)` (called in // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); + for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j])); var namedCaptures = result.groups; if (functionalReplace) { - var replacerArgs = [matched].concat(captures, position, S); - if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); - var replacement = String(replaceValue.apply(undefined, replacerArgs)); + var replacerArgs = concat([matched], captures, position, S); + if (namedCaptures !== undefined) push(replacerArgs, namedCaptures); + replacement = toString(apply(replaceValue, undefined, replacerArgs)); } else { replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); } if (position >= nextSourcePosition) { - accumulatedResult += S.slice(nextSourcePosition, position) + replacement; + accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement; nextSourcePosition = position + matched.length; } } - return accumulatedResult + S.slice(nextSourcePosition); + + return accumulatedResult + stringSlice(S, nextSourcePosition); } ]; -}); +}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); /***/ }), @@ -1602,16 +2113,13 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma /***/ "5692": /***/ (function(module, exports, __webpack_require__) { -var IS_PURE = __webpack_require__("c430"); +"use strict"; + var store = __webpack_require__("c6cd"); -(module.exports = function (key, value) { - return store[key] || (store[key] = value !== undefined ? value : {}); -})('versions', []).push({ - version: '3.8.2', - mode: IS_PURE ? 'pure' : 'global', - copyright: '© 2021 Denis Pushkarev (zloirock.ru)' -}); +module.exports = function (key, value) { + return store[key] || (store[key] = value || {}); +}; /***/ }), @@ -1619,16 +2127,38 @@ var store = __webpack_require__("c6cd"); /***/ "56ef": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var getBuiltIn = __webpack_require__("d066"); +var uncurryThis = __webpack_require__("e330"); var getOwnPropertyNamesModule = __webpack_require__("241c"); var getOwnPropertySymbolsModule = __webpack_require__("7418"); var anObject = __webpack_require__("825a"); +var concat = uncurryThis([].concat); + // all object keys, includes non-enumerable and symbols module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { var keys = getOwnPropertyNamesModule.f(anObject(it)); var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; +}; + + +/***/ }), + +/***/ "577e": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var classof = __webpack_require__("f5df"); + +var $String = String; + +module.exports = function (argument) { + if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); }; @@ -1647,11 +2177,13 @@ module.exports = freeGlobal; /***/ }), /***/ "5899": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; // a string of all valid unicode whitespaces -// eslint-disable-next-line max-len -module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; +module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; /***/ }), @@ -1659,19 +2191,23 @@ module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u /***/ "58a8": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var requireObjectCoercible = __webpack_require__("1d80"); +var toString = __webpack_require__("577e"); var whitespaces = __webpack_require__("5899"); -var whitespace = '[' + whitespaces + ']'; -var ltrim = RegExp('^' + whitespace + whitespace + '*'); -var rtrim = RegExp(whitespace + whitespace + '*$'); +var replace = uncurryThis(''.replace); +var ltrim = RegExp('^[' + whitespaces + ']+'); +var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$'); // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation var createMethod = function (TYPE) { return function ($this) { - var string = String(requireObjectCoercible($this)); - if (TYPE & 1) string = string.replace(ltrim, ''); - if (TYPE & 2) string = string.replace(rtrim, ''); + var string = toString(requireObjectCoercible($this)); + if (TYPE & 1) string = replace(string, ltrim, ''); + if (TYPE & 2) string = replace(string, rtrim, '$1'); return string; }; }; @@ -1691,8 +2227,47 @@ module.exports = { /***/ }), -/***/ "5c6c": -/***/ (function(module, exports) { +/***/ "5926": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var trunc = __webpack_require__("b42e"); + +// `ToIntegerOrInfinity` abstract operation +// https://tc39.es/ecma262/#sec-tointegerorinfinity +module.exports = function (argument) { + var number = +argument; + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); +}; + + +/***/ }), + +/***/ "59ed": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__("1626"); +var tryToString = __webpack_require__("0d51"); + +var $TypeError = TypeError; + +// `Assert: IsCallable(argument) is true` +module.exports = function (argument) { + if (isCallable(argument)) return argument; + throw new $TypeError(tryToString(argument) + ' is not a function'); +}; + + +/***/ }), + +/***/ "5c6c": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = function (bitmap, value) { return { @@ -1704,15 +2279,64 @@ module.exports = function (bitmap, value) { }; +/***/ }), + +/***/ "5e77": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__("83ab"); +var hasOwn = __webpack_require__("1a2d"); + +var FunctionPrototype = Function.prototype; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + +var EXISTS = hasOwn(FunctionPrototype, 'name'); +// additional protection from minified / mangled / dropped function names +var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; +var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); + +module.exports = { + EXISTS: EXISTS, + PROPER: PROPER, + CONFIGURABLE: CONFIGURABLE +}; + + /***/ }), /***/ "605d": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var global = __webpack_require__("da84"); var classof = __webpack_require__("c6b6"); + +module.exports = classof(global.process) === 'process'; + + +/***/ }), + +/***/ "6374": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + var global = __webpack_require__("da84"); -module.exports = classof(global.process) == 'process'; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; + +module.exports = function (key, value) { + try { + defineProperty(global, key, { value: value, configurable: true, writable: true }); + } catch (error) { + global[key] = value; + } return value; +}; /***/ }), @@ -1769,22 +2393,33 @@ module.exports = toFinite; /***/ "6547": /***/ (function(module, exports, __webpack_require__) { -var toInteger = __webpack_require__("a691"); +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var toIntegerOrInfinity = __webpack_require__("5926"); +var toString = __webpack_require__("577e"); var requireObjectCoercible = __webpack_require__("1d80"); -// `String.prototype.{ codePointAt, at }` methods implementation +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var stringSlice = uncurryThis(''.slice); + var createMethod = function (CONVERT_TO_STRING) { return function ($this, pos) { - var S = String(requireObjectCoercible($this)); - var position = toInteger(pos); + var S = toString(requireObjectCoercible($this)); + var position = toIntegerOrInfinity(pos); var size = S.length; var first, second; if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; - first = S.charCodeAt(position); + first = charCodeAt(S, position); return first < 0xD800 || first > 0xDBFF || position + 1 === size - || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF - ? CONVERT_TO_STRING ? S.charAt(position) : first - : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; + || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF + ? CONVERT_TO_STRING + ? charAt(S, position) + : first + : CONVERT_TO_STRING + ? stringSlice(S, position, position + 2) + : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; }; }; @@ -1803,42 +2438,95 @@ module.exports = { /***/ "65f0": /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__("861d"); -var isArray = __webpack_require__("e8b5"); -var wellKnownSymbol = __webpack_require__("b622"); +"use strict"; -var SPECIES = wellKnownSymbol('species'); +var arraySpeciesConstructor = __webpack_require__("0b42"); // `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate module.exports = function (originalArray, length) { - var C; - if (isArray(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; - else if (isObject(C)) { - C = C[SPECIES]; - if (C === null) C = undefined; - } - } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); +}; + + +/***/ }), + +/***/ "68ee": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); +var classof = __webpack_require__("f5df"); +var getBuiltIn = __webpack_require__("d066"); +var inspectSource = __webpack_require__("8925"); + +var noop = function () { /* empty */ }; +var construct = getBuiltIn('Reflect', 'construct'); +var constructorRegExp = /^\s*(?:class|function)\b/; +var exec = uncurryThis(constructorRegExp.exec); +var INCORRECT_TO_STRING = !constructorRegExp.test(noop); + +var isConstructorModern = function isConstructor(argument) { + if (!isCallable(argument)) return false; + try { + construct(noop, [], argument); + return true; + } catch (error) { + return false; + } +}; + +var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable(argument)) return false; + switch (classof(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } }; +isConstructorLegacy.sham = true; + +// `IsConstructor` abstract operation +// https://tc39.es/ecma262/#sec-isconstructor +module.exports = !construct || fails(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; +}) ? isConstructorLegacy : isConstructorModern; + /***/ }), /***/ "69f3": /***/ (function(module, exports, __webpack_require__) { -var NATIVE_WEAK_MAP = __webpack_require__("7f9a"); +"use strict"; + +var NATIVE_WEAK_MAP = __webpack_require__("cdce"); var global = __webpack_require__("da84"); var isObject = __webpack_require__("861d"); var createNonEnumerableProperty = __webpack_require__("9112"); -var objectHas = __webpack_require__("5135"); +var hasOwn = __webpack_require__("1a2d"); var shared = __webpack_require__("c6cd"); var sharedKey = __webpack_require__("f772"); var hiddenKeys = __webpack_require__("d012"); +var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; +var TypeError = global.TypeError; var WeakMap = global.WeakMap; var set, get, has; @@ -1850,40 +2538,44 @@ var getterFor = function (TYPE) { return function (it) { var state; if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw TypeError('Incompatible receiver, ' + TYPE + ' required'); + throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; -if (NATIVE_WEAK_MAP) { +if (NATIVE_WEAK_MAP || shared.state) { var store = shared.state || (shared.state = new WeakMap()); - var wmget = store.get; - var wmhas = store.has; - var wmset = store.set; + /* eslint-disable no-self-assign -- prototype methods protection */ + store.get = store.get; + store.has = store.has; + store.set = store.set; + /* eslint-enable no-self-assign -- prototype methods protection */ set = function (it, metadata) { + if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; - wmset.call(store, it, metadata); + store.set(it, metadata); return metadata; }; get = function (it) { - return wmget.call(store, it) || {}; + return store.get(it) || {}; }; has = function (it) { - return wmhas.call(store, it); + return store.has(it); }; } else { var STATE = sharedKey('state'); hiddenKeys[STATE] = true; set = function (it, metadata) { + if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty(it, STATE, metadata); return metadata; }; get = function (it) { - return objectHas(it, STATE) ? it[STATE] : {}; + return hasOwn(it, STATE) ? it[STATE] : {}; }; has = function (it) { - return objectHas(it, STATE); + return hasOwn(it, STATE); }; } @@ -1898,49 +2590,21 @@ module.exports = { /***/ }), -/***/ "6eeb": +/***/ "6b0d": /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__("da84"); -var createNonEnumerableProperty = __webpack_require__("9112"); -var has = __webpack_require__("5135"); -var setGlobal = __webpack_require__("ce4e"); -var inspectSource = __webpack_require__("8925"); -var InternalStateModule = __webpack_require__("69f3"); - -var getInternalState = InternalStateModule.get; -var enforceInternalState = InternalStateModule.enforce; -var TEMPLATE = String(String).split('String'); +"use strict"; -(module.exports = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var state; - if (typeof value == 'function') { - if (typeof key == 'string' && !has(value, 'name')) { - createNonEnumerableProperty(value, 'name', key); +Object.defineProperty(exports, "__esModule", { value: true }); +// runtime helper for setting properties on components +// in a tree-shakable way +exports.default = (sfc, props) => { + const target = sfc.__vccOpts || sfc; + for (const [key, val] of props) { + target[key] = val; } - state = enforceInternalState(value); - if (!state.source) { - state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); - } - } - if (O === global) { - if (simple) O[key] = value; - else setGlobal(key, value); - return; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty(O, key, value); -// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative -})(Function.prototype, 'toString', function toString() { - return typeof this == 'function' && getInternalState(this).source || inspectSource(this); -}); + return target; +}; /***/ }), @@ -1948,6 +2612,9 @@ var TEMPLATE = String(String).split('String'); /***/ "7156": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var isCallable = __webpack_require__("1626"); var isObject = __webpack_require__("861d"); var setPrototypeOf = __webpack_require__("d2bb"); @@ -1958,7 +2625,7 @@ module.exports = function ($this, dummy, Wrapper) { // it can work only with native `setPrototypeOf` setPrototypeOf && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - typeof (NewTarget = dummy.constructor) == 'function' && + isCallable(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype @@ -1967,6 +2634,38 @@ module.exports = function ($this, dummy, Wrapper) { }; +/***/ }), + +/***/ "7234": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// we can't use just `it == null` since of `document.all` special case +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec +module.exports = function (it) { + return it === null || it === undefined; +}; + + +/***/ }), + +/***/ "7282": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var aCallable = __webpack_require__("59ed"); + +module.exports = function (object, key, method) { + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); + } catch (error) { /* empty */ } +}; + + /***/ }), /***/ "72f0": @@ -2003,15 +2702,20 @@ module.exports = constant; /***/ }), /***/ "7418": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe exports.f = Object.getOwnPropertySymbols; /***/ }), /***/ "7839": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; // IE8- don't enum bug keys module.exports = [ @@ -2025,17 +2729,37 @@ module.exports = [ ]; +/***/ }), + +/***/ "785a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList` +var documentCreateElement = __webpack_require__("cc12"); + +var classList = documentCreateElement('span').classList; +var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype; + +module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype; + + /***/ }), /***/ "7b0b": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var requireObjectCoercible = __webpack_require__("1d80"); +var $Object = Object; + // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject module.exports = function (argument) { - return Object(requireObjectCoercible(argument)); + return $Object(requireObjectCoercible(argument)); }; @@ -2044,8 +2768,11 @@ module.exports = function (argument) { /***/ "7c73": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +/* global ActiveXObject -- old IE, WSH */ var anObject = __webpack_require__("825a"); -var defineProperties = __webpack_require__("37e8"); +var definePropertiesModule = __webpack_require__("37e8"); var enumBugKeys = __webpack_require__("7839"); var hiddenKeys = __webpack_require__("d012"); var html = __webpack_require__("1be4"); @@ -2098,10 +2825,13 @@ var NullProtoObjectViaIFrame = function () { var activeXDocument; var NullProtoObject = function () { try { - /* global ActiveXObject */ - activeXDocument = document.domain && new ActiveXObject('htmlfile'); + activeXDocument = new ActiveXObject('htmlfile'); } catch (error) { /* ignore */ } - NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame(); + NullProtoObject = typeof document != 'undefined' + ? document.domain && activeXDocument + ? NullProtoObjectViaActiveX(activeXDocument) // old IE + : NullProtoObjectViaIFrame() + : NullProtoObjectViaActiveX(activeXDocument); // WSH var length = enumBugKeys.length; while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; return NullProtoObject(); @@ -2111,6 +2841,7 @@ hiddenKeys[IE_PROTO] = true; // `Object.create` method // https://tc39.es/ecma262/#sec-object.create +// eslint-disable-next-line es/no-object-create -- safe module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { @@ -2120,34 +2851,26 @@ module.exports = Object.create || function create(O, Properties) { // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = NullProtoObject(); - return Properties === undefined ? result : defineProperties(result, Properties); + return Properties === undefined ? result : definePropertiesModule.f(result, Properties); }; -/***/ }), - -/***/ "7f9a": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("da84"); -var inspectSource = __webpack_require__("8925"); - -var WeakMap = global.WeakMap; - -module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap)); - - /***/ }), /***/ "825a": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var isObject = __webpack_require__("861d"); -module.exports = function (it) { - if (!isObject(it)) { - throw TypeError(String(it) + ' is not an object'); - } return it; +var $String = String; +var $TypeError = TypeError; + +// `Assert: Type(argument) is Object` +module.exports = function (argument) { + if (isObject(argument)) return argument; + throw new $TypeError($String(argument) + ' is not an object'); }; @@ -2156,11 +2879,14 @@ module.exports = function (it) { /***/ "83ab": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); // Detect IE8's incomplete defineProperty implementation module.exports = !fails(function () { - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; }); @@ -2171,24 +2897,27 @@ module.exports = !fails(function () { "use strict"; -var toPrimitive = __webpack_require__("c04e"); +var DESCRIPTORS = __webpack_require__("83ab"); var definePropertyModule = __webpack_require__("9bf2"); var createPropertyDescriptor = __webpack_require__("5c6c"); module.exports = function (object, key, value) { - var propertyKey = toPrimitive(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; + if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; }; /***/ }), /***/ "861d": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__("1626"); module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; + return typeof it == 'object' ? it !== null : isCallable(it); }; @@ -2197,14 +2926,18 @@ module.exports = function (it) { /***/ "8925": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var isCallable = __webpack_require__("1626"); var store = __webpack_require__("c6cd"); -var functionToString = Function.toString; +var functionToString = uncurryThis(Function.toString); -// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper -if (typeof store.inspectSource != 'function') { +// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper +if (!isCallable(store.inspectSource)) { store.inspectSource = function (it) { - return functionToString.call(it); + return functionToString(it); }; } @@ -2234,16 +2967,68 @@ module.exports = function (S, index, unicode) { module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__; +/***/ }), + +/***/ "8d74": +/***/ (function(module, exports, __webpack_require__) { + +var trimmedEndIndex = __webpack_require__("4cef"); + +/** Used to match leading whitespace. */ +var reTrimStart = /^\s+/; + +/** + * The base implementation of `_.trim`. + * + * @private + * @param {string} string The string to trim. + * @returns {string} Returns the trimmed string. + */ +function baseTrim(string) { + return string + ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '') + : string; +} + +module.exports = baseTrim; + + +/***/ }), + +/***/ "90d8": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__("c65b"); +var hasOwn = __webpack_require__("1a2d"); +var isPrototypeOf = __webpack_require__("3a9b"); +var regExpFlags = __webpack_require__("ad6d"); + +var RegExpPrototype = RegExp.prototype; + +module.exports = function (R) { + var flags = R.flags; + return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R) + ? call(regExpFlags, R) : flags; +}; + + /***/ }), /***/ "90e3": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); var id = 0; var postfix = Math.random(); +var toString = uncurryThis(1.0.toString); module.exports = function (key) { - return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); }; @@ -2252,6 +3037,8 @@ module.exports = function (key) { /***/ "9112": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); var definePropertyModule = __webpack_require__("9bf2"); var createPropertyDescriptor = __webpack_require__("5c6c"); @@ -2271,51 +3058,73 @@ module.exports = DESCRIPTORS ? function (object, key, value) { "use strict"; +/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ +/* eslint-disable regexp/no-useless-quantifier -- testing */ +var call = __webpack_require__("c65b"); +var uncurryThis = __webpack_require__("e330"); +var toString = __webpack_require__("577e"); var regexpFlags = __webpack_require__("ad6d"); var stickyHelpers = __webpack_require__("9f7f"); +var shared = __webpack_require__("5692"); +var create = __webpack_require__("7c73"); +var getInternalState = __webpack_require__("69f3").get; +var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3"); +var UNSUPPORTED_NCG = __webpack_require__("107c"); +var nativeReplace = shared('native-string-replace', String.prototype.replace); var nativeExec = RegExp.prototype.exec; -// This always refers to the native implementation, because the -// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, -// which loads this file before patching the method. -var nativeReplace = String.prototype.replace; - var patchedExec = nativeExec; +var charAt = uncurryThis(''.charAt); +var indexOf = uncurryThis(''.indexOf); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/; var re2 = /b*/g; - nativeExec.call(re1, 'a'); - nativeExec.call(re2, 'a'); + call(nativeExec, re1, 'a'); + call(nativeExec, re2, 'a'); return re1.lastIndex !== 0 || re2.lastIndex !== 0; })(); -var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET; +var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; // nonparticipating capturing group, copied from es5-shim's String#split patch. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; -var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y; +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; if (PATCH) { - patchedExec = function exec(str) { + patchedExec = function exec(string) { var re = this; - var lastIndex, reCopy, match, i; + var state = getInternalState(re); + var str = toString(string); + var raw = state.raw; + var result, reCopy, lastIndex, match, i, object, group; + + if (raw) { + raw.lastIndex = re.lastIndex; + result = call(patchedExec, raw, str); + re.lastIndex = raw.lastIndex; + return result; + } + + var groups = state.groups; var sticky = UNSUPPORTED_Y && re.sticky; - var flags = regexpFlags.call(re); + var flags = call(regexpFlags, re); var source = re.source; var charsAdded = 0; var strCopy = str; if (sticky) { - flags = flags.replace('y', ''); - if (flags.indexOf('g') === -1) { + flags = replace(flags, 'y', ''); + if (indexOf(flags, 'g') === -1) { flags += 'g'; } - strCopy = String(str).slice(re.lastIndex); + strCopy = stringSlice(str, re.lastIndex); // Support anchored sticky behavior. - if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) { + if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) { source = '(?: ' + source + ')'; strCopy = ' ' + strCopy; charsAdded++; @@ -2330,12 +3139,12 @@ if (PATCH) { } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - match = nativeExec.call(sticky ? reCopy : re, strCopy); + match = call(nativeExec, sticky ? reCopy : re, strCopy); if (sticky) { if (match) { - match.input = match.input.slice(charsAdded); - match[0] = match[0].slice(charsAdded); + match.input = stringSlice(match.input, charsAdded); + match[0] = stringSlice(match[0], charsAdded); match.index = re.lastIndex; re.lastIndex += match[0].length; } else re.lastIndex = 0; @@ -2344,14 +3153,22 @@ if (PATCH) { } if (NPCG_INCLUDED && match && match.length > 1) { // Fix browsers whose `exec` methods don't consistently return `undefined` - // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ - nativeReplace.call(match[0], reCopy, function () { + // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ + call(nativeReplace, match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined; } }); } + if (match && groups) { + match.groups = object = create(null); + for (i = 0; i < groups.length; i++) { + group = groups[i]; + object[group[0]] = match[group[1]]; + } + } + return match; }; } @@ -2364,15 +3181,18 @@ module.exports = patchedExec; /***/ "94ca": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); var replacement = /#|\.prototype\./; var isForced = function (feature, detection) { var value = data[normalize(feature)]; - return value == POLYFILL ? true - : value == NATIVE ? false - : typeof detection == 'function' ? fails(detection) + return value === POLYFILL ? true + : value === NATIVE ? false + : isCallable(detection) ? fails(detection) : !!detection; }; @@ -2399,7 +3219,8 @@ var fails = __webpack_require__("d039"); var isArray = __webpack_require__("e8b5"); var isObject = __webpack_require__("861d"); var toObject = __webpack_require__("7b0b"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); var createProperty = __webpack_require__("8418"); var arraySpeciesCreate = __webpack_require__("65f0"); var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); @@ -2407,8 +3228,6 @@ var wellKnownSymbol = __webpack_require__("b622"); var V8_VERSION = __webpack_require__("2d00"); var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; -var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation @@ -2419,21 +3238,20 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { return array.concat()[0] !== array; }); -var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat'); - var isConcatSpreadable = function (O) { if (!isObject(O)) return false; var spreadable = O[IS_CONCAT_SPREADABLE]; return spreadable !== undefined ? !!spreadable : isArray(O); }; -var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; +var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat'); // `Array.prototype.concat` method // https://tc39.es/ecma262/#sec-array.prototype.concat // with adding support of @@isConcatSpreadable and @@species -$({ target: 'Array', proto: true, forced: FORCED }, { - concat: function concat(arg) { // eslint-disable-line no-unused-vars +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { var O = toObject(this); var A = arraySpeciesCreate(O, 0); var n = 0; @@ -2441,11 +3259,11 @@ $({ target: 'Array', proto: true, forced: FORCED }, { for (i = -1, length = arguments.length; i < length; i++) { E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { - len = toLength(E.length); - if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + len = lengthOfArrayLike(E); + doesNotExceedSafeInteger(n + len); for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + doesNotExceedSafeInteger(n + 1); createProperty(A, n++, E); } } @@ -2460,23 +3278,48 @@ $({ target: 'Array', proto: true, forced: FORCED }, { /***/ "9bf2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var DESCRIPTORS = __webpack_require__("83ab"); var IE8_DOM_DEFINE = __webpack_require__("0cfb"); +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("aed9"); var anObject = __webpack_require__("825a"); -var toPrimitive = __webpack_require__("c04e"); +var toPropertyKey = __webpack_require__("a04b"); -var nativeDefineProperty = Object.defineProperty; +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var $defineProperty = Object.defineProperty; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +var ENUMERABLE = 'enumerable'; +var CONFIGURABLE = 'configurable'; +var WRITABLE = 'writable'; // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty -exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) { +exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { + var current = $getOwnPropertyDescriptor(O, P); + if (current && current[WRITABLE]) { + O[P] = Attributes.value; + Attributes = { + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], + writable: false + }; + } + } return $defineProperty(O, P, Attributes); +} : $defineProperty : function defineProperty(O, P, Attributes) { anObject(O); - P = toPrimitive(P, true); + P = toPropertyKey(P); anObject(Attributes); if (IE8_DOM_DEFINE) try { - return nativeDefineProperty(O, P, Attributes); + return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); + if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; @@ -2502,29 +3345,55 @@ module.exports = Symbol; "use strict"; - var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); -// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError, -// so we use an intermediate function. -function RE(s, f) { - return RegExp(s, f); -} +// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError +var $RegExp = global.RegExp; -exports.UNSUPPORTED_Y = fails(function () { - // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var re = RE('a', 'y'); +var UNSUPPORTED_Y = fails(function () { + var re = $RegExp('a', 'y'); re.lastIndex = 2; - return re.exec('abcd') != null; + return re.exec('abcd') !== null; }); -exports.BROKEN_CARET = fails(function () { +// UC Browser bug +// https://github.com/zloirock/core-js/issues/1008 +var MISSED_STICKY = UNSUPPORTED_Y || fails(function () { + return !$RegExp('a', 'y').sticky; +}); + +var BROKEN_CARET = UNSUPPORTED_Y || fails(function () { // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 - var re = RE('^r', 'gy'); + var re = $RegExp('^r', 'gy'); re.lastIndex = 2; - return re.exec('str') != null; + return re.exec('str') !== null; }); +module.exports = { + BROKEN_CARET: BROKEN_CARET, + MISSED_STICKY: MISSED_STICKY, + UNSUPPORTED_Y: UNSUPPORTED_Y +}; + + +/***/ }), + +/***/ "a04b": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var toPrimitive = __webpack_require__("c04e"); +var isSymbol = __webpack_require__("d9b5"); + +// `ToPropertyKey` abstract operation +// https://tc39.es/ecma262/#sec-topropertykey +module.exports = function (argument) { + var key = toPrimitive(argument, 'string'); + return isSymbol(key) ? key : key + ''; +}; + /***/ }), @@ -2534,20 +3403,21 @@ exports.BROKEN_CARET = fails(function () { "use strict"; var $ = __webpack_require__("23e7"); +var uncurryThis = __webpack_require__("e330"); var IndexedObject = __webpack_require__("44ad"); var toIndexedObject = __webpack_require__("fc6a"); var arrayMethodIsStrict = __webpack_require__("a640"); -var nativeJoin = [].join; +var nativeJoin = uncurryThis([].join); -var ES3_STRINGS = IndexedObject != Object; -var STRICT_METHOD = arrayMethodIsStrict('join', ','); +var ES3_STRINGS = IndexedObject !== Object; +var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ','); // `Array.prototype.join` method // https://tc39.es/ecma262/#sec-array.prototype.join -$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, { +$({ target: 'Array', proto: true, forced: FORCED }, { join: function join(separator) { - return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); + return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator); } }); @@ -2560,7 +3430,8 @@ $({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, { "use strict"; var isArray = __webpack_require__("e8b5"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); var bind = __webpack_require__("0366"); // `FlattenIntoArray` abstract operation @@ -2568,17 +3439,18 @@ var bind = __webpack_require__("0366"); var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { var targetIndex = start; var sourceIndex = 0; - var mapFn = mapper ? bind(mapper, thisArg, 3) : false; - var element; + var mapFn = mapper ? bind(mapper, thisArg) : false; + var element, elementLen; while (sourceIndex < sourceLen) { if (sourceIndex in source) { element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; if (depth > 0 && isArray(element)) { - targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; + elementLen = lengthOfArrayLike(element); + targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1; } else { - if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length'); + doesNotExceedSafeInteger(targetIndex + 1); target[targetIndex] = element; } @@ -2600,30 +3472,29 @@ module.exports = flattenIntoArray; "use strict"; var $ = __webpack_require__("23e7"); -var toAbsoluteIndex = __webpack_require__("23cb"); -var toInteger = __webpack_require__("a691"); -var toLength = __webpack_require__("50c4"); var toObject = __webpack_require__("7b0b"); +var toAbsoluteIndex = __webpack_require__("23cb"); +var toIntegerOrInfinity = __webpack_require__("5926"); +var lengthOfArrayLike = __webpack_require__("07fa"); +var setArrayLength = __webpack_require__("3a34"); +var doesNotExceedSafeInteger = __webpack_require__("3511"); var arraySpeciesCreate = __webpack_require__("65f0"); var createProperty = __webpack_require__("8418"); +var deletePropertyOrThrow = __webpack_require__("083a"); var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); -var USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 }); var max = Math.max; var min = Math.min; -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; -var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; // `Array.prototype.splice` method // https://tc39.es/ecma262/#sec-array.prototype.splice // with adding support of @@species -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { splice: function splice(start, deleteCount /* , ...items */) { var O = toObject(this); - var len = toLength(O.length); + var len = lengthOfArrayLike(O); var actualStart = toAbsoluteIndex(start, len); var argumentsLength = arguments.length; var insertCount, actualDeleteCount, A, k, from, to; @@ -2634,11 +3505,9 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT actualDeleteCount = len - actualStart; } else { insertCount = argumentsLength - 2; - actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart); - } - if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) { - throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); } + doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); A = arraySpeciesCreate(O, actualDeleteCount); for (k = 0; k < actualDeleteCount; k++) { from = actualStart + k; @@ -2650,21 +3519,21 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT from = k + actualDeleteCount; to = k + insertCount; if (from in O) O[to] = O[from]; - else delete O[to]; + else deletePropertyOrThrow(O, to); } - for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; + for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1); } else if (insertCount > actualDeleteCount) { for (k = len - actualDeleteCount; k > actualStart; k--) { from = k + actualDeleteCount - 1; to = k + insertCount - 1; if (from in O) O[to] = O[from]; - else delete O[to]; + else deletePropertyOrThrow(O, to); } } for (k = 0; k < insertCount; k++) { O[k + actualStart] = arguments[k + 2]; } - O.length = len - actualDeleteCount + insertCount; + setArrayLength(O, len - actualDeleteCount + insertCount); return A; } }); @@ -2680,14 +3549,12 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT var $ = __webpack_require__("23e7"); var $every = __webpack_require__("b727").every; var arrayMethodIsStrict = __webpack_require__("a640"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var STRICT_METHOD = arrayMethodIsStrict('every'); -var USES_TO_LENGTH = arrayMethodUsesToLength('every'); // `Array.prototype.every` method // https://tc39.es/ecma262/#sec-array.prototype.every -$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, { every: function every(callbackfn /* , thisArg */) { return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -2706,27 +3573,12 @@ var fails = __webpack_require__("d039"); module.exports = function (METHOD_NAME, argument) { var method = [][METHOD_NAME]; return !!method && fails(function () { - // eslint-disable-next-line no-useless-call,no-throw-literal - method.call(null, argument || function () { throw 1; }, 1); + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); }); }; -/***/ }), - -/***/ "a691": -/***/ (function(module, exports) { - -var ceil = Math.ceil; -var floor = Math.floor; - -// `ToInteger` abstract operation -// https://tc39.es/ecma262/#sec-tointeger -module.exports = function (argument) { - return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); -}; - - /***/ }), /***/ "a9e3": @@ -2734,49 +3586,73 @@ module.exports = function (argument) { "use strict"; +var $ = __webpack_require__("23e7"); +var IS_PURE = __webpack_require__("c430"); var DESCRIPTORS = __webpack_require__("83ab"); var global = __webpack_require__("da84"); +var path = __webpack_require__("428f"); +var uncurryThis = __webpack_require__("e330"); var isForced = __webpack_require__("94ca"); -var redefine = __webpack_require__("6eeb"); -var has = __webpack_require__("5135"); -var classof = __webpack_require__("c6b6"); +var hasOwn = __webpack_require__("1a2d"); var inheritIfRequired = __webpack_require__("7156"); +var isPrototypeOf = __webpack_require__("3a9b"); +var isSymbol = __webpack_require__("d9b5"); var toPrimitive = __webpack_require__("c04e"); var fails = __webpack_require__("d039"); -var create = __webpack_require__("7c73"); var getOwnPropertyNames = __webpack_require__("241c").f; var getOwnPropertyDescriptor = __webpack_require__("06cf").f; var defineProperty = __webpack_require__("9bf2").f; +var thisNumberValue = __webpack_require__("408a"); var trim = __webpack_require__("58a8").trim; var NUMBER = 'Number'; var NativeNumber = global[NUMBER]; +var PureNumberNamespace = path[NUMBER]; var NumberPrototype = NativeNumber.prototype; - -// Opera ~12 has broken Object#toString -var BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER; +var TypeError = global.TypeError; +var stringSlice = uncurryThis(''.slice); +var charCodeAt = uncurryThis(''.charCodeAt); + +// `ToNumeric` abstract operation +// https://tc39.es/ecma262/#sec-tonumeric +var toNumeric = function (value) { + var primValue = toPrimitive(value, 'number'); + return typeof primValue == 'bigint' ? primValue : toNumber(primValue); +}; // `ToNumber` abstract operation // https://tc39.es/ecma262/#sec-tonumber var toNumber = function (argument) { - var it = toPrimitive(argument, false); + var it = toPrimitive(argument, 'number'); var first, third, radix, maxCode, digits, length, index, code; + if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number'); if (typeof it == 'string' && it.length > 2) { it = trim(it); - first = it.charCodeAt(0); + first = charCodeAt(it, 0); if (first === 43 || first === 45) { - third = it.charCodeAt(2); + third = charCodeAt(it, 2); if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix } else if (first === 48) { - switch (it.charCodeAt(1)) { - case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i - case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i - default: return +it; + switch (charCodeAt(it, 1)) { + // fast equal of /^0b[01]+$/i + case 66: + case 98: + radix = 2; + maxCode = 49; + break; + // fast equal of /^0o[0-7]+$/i + case 79: + case 111: + radix = 8; + maxCode = 55; + break; + default: + return +it; } - digits = it.slice(2); + digits = stringSlice(it, 2); length = digits.length; for (index = 0; index < length; index++) { - code = digits.charCodeAt(index); + code = charCodeAt(digits, index); // parseInt parses a string to a first unavailable symbol // but ToNumber should return NaN if a string contains unavailable symbols if (code < 48 || code > maxCode) return NaN; @@ -2785,34 +3661,82 @@ var toNumber = function (argument) { } return +it; }; +var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1')); + +var calledWithNew = function (dummy) { + // includes check on 1..constructor(foo) case + return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); }); +}; + // `Number` constructor // https://tc39.es/ecma262/#sec-number-constructor -if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) { - var NumberWrapper = function Number(value) { - var it = arguments.length < 1 ? 0 : value; - var dummy = this; - return dummy instanceof NumberWrapper - // check on 1..constructor(foo) case - && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER) - ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it); - }; - for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : ( +var NumberWrapper = function Number(value) { + var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); + return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n; +}; + +NumberWrapper.prototype = NumberPrototype; +if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper; + +$({ global: true, constructor: true, wrap: true, forced: FORCED }, { + Number: NumberWrapper +}); + +// Use `internal/copy-constructor-properties` helper in `core-js@4` +var copyConstructorProperties = function (target, source) { + for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : ( // ES3: 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + // ES2015 (in case, if modules with ES2015 Number statics required before): - 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + - 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' + + 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' + // ESNext 'fromString,range' ).split(','), j = 0, key; keys.length > j; j++) { - if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) { - defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key)); + if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); } } - NumberWrapper.prototype = NumberPrototype; - NumberPrototype.constructor = NumberWrapper; - redefine(global, NUMBER, NumberWrapper); -} +}; + +if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace); +if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber); + + +/***/ }), + +/***/ "aa1f": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__("83ab"); +var fails = __webpack_require__("d039"); +var anObject = __webpack_require__("825a"); +var normalizeStringArgument = __webpack_require__("e391"); + +var nativeErrorToString = Error.prototype.toString; + +var INCORRECT_TO_STRING = fails(function () { + if (DESCRIPTORS) { + // Chrome 32- incorrectly call accessor + // eslint-disable-next-line es/no-object-create, es/no-object-defineproperty -- safe + var object = Object.create(Object.defineProperty({}, 'name', { get: function () { + return this === object; + } })); + if (nativeErrorToString.call(object) !== 'true') return true; + } + // FF10- does not properly handle non-strings + return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1' + // IE8 does not properly handle defaults + || nativeErrorToString.call({}) !== 'Error'; +}); + +module.exports = INCORRECT_TO_STRING ? function toString() { + var O = anObject(this); + var name = normalizeStringArgument(O.name, 'Error'); + var message = normalizeStringArgument(O.message); + return !name ? message : !message ? name : name + ': ' + message; +} : nativeErrorToString; /***/ }), @@ -2846,11 +3770,13 @@ var anObject = __webpack_require__("825a"); module.exports = function () { var that = anObject(this); var result = ''; + if (that.hasIndices) result += 'd'; if (that.global) result += 'g'; if (that.ignoreCase) result += 'i'; if (that.multiline) result += 'm'; if (that.dotAll) result += 's'; if (that.unicode) result += 'u'; + if (that.unicodeSets) result += 'v'; if (that.sticky) result += 'y'; return result; }; @@ -2858,37 +3784,74 @@ module.exports = function () { /***/ }), -/***/ "ae40": +/***/ "addb": /***/ (function(module, exports, __webpack_require__) { -var DESCRIPTORS = __webpack_require__("83ab"); -var fails = __webpack_require__("d039"); -var has = __webpack_require__("5135"); +"use strict"; -var defineProperty = Object.defineProperty; -var cache = {}; +var arraySlice = __webpack_require__("f36a"); -var thrower = function (it) { throw it; }; +var floor = Math.floor; -module.exports = function (METHOD_NAME, options) { - if (has(cache, METHOD_NAME)) return cache[METHOD_NAME]; - if (!options) options = {}; - var method = [][METHOD_NAME]; - var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false; - var argument0 = has(options, 0) ? options[0] : thrower; - var argument1 = has(options, 1) ? options[1] : undefined; +var sort = function (array, comparefn) { + var length = array.length; - return cache[METHOD_NAME] = !!method && !fails(function () { - if (ACCESSORS && !DESCRIPTORS) return true; - var O = { length: -1 }; + if (length < 8) { + // insertion sort + var i = 1; + var element, j; - if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower }); - else O[1] = 1; + while (i < length) { + j = i; + element = array[i]; + while (j && comparefn(array[j - 1], element) > 0) { + array[j] = array[--j]; + } + if (j !== i++) array[j] = element; + } + } else { + // merge sort + var middle = floor(length / 2); + var left = sort(arraySlice(array, 0, middle), comparefn); + var right = sort(arraySlice(array, middle), comparefn); + var llength = left.length; + var rlength = right.length; + var lindex = 0; + var rindex = 0; + + while (lindex < llength || rindex < rlength) { + array[lindex + rindex] = (lindex < llength && rindex < rlength) + ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] + : lindex < llength ? left[lindex++] : right[rindex++]; + } + } - method.call(O, argument0, argument1); - }); + return array; }; +module.exports = sort; + + +/***/ }), + +/***/ "aed9": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__("83ab"); +var fails = __webpack_require__("d039"); + +// V8 ~ Chrome 36- +// https://bugs.chromium.org/p/v8/issues/detail?id=3334 +module.exports = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(function () { /* empty */ }, 'prototype', { + value: 42, + writable: false + }).prototype !== 42; +}); + /***/ }), @@ -3105,20 +4068,37 @@ function debounce(func, wait, options) { module.exports = debounce; +/***/ }), + +/***/ "b42e": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var ceil = Math.ceil; +var floor = Math.floor; + +// `Math.trunc` method +// https://tc39.es/ecma262/#sec-math.trunc +// eslint-disable-next-line es/no-math-trunc -- safe +module.exports = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); +}; + + /***/ }), /***/ "b4b0": /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__("1a8c"), +var baseTrim = __webpack_require__("8d74"), + isObject = __webpack_require__("1a8c"), isSymbol = __webpack_require__("ffd6"); /** Used as references for various `Number` constants. */ var NAN = 0 / 0; -/** Used to match leading and trailing whitespace. */ -var reTrim = /^\s+|\s+$/g; - /** Used to detect bad signed hexadecimal string values. */ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; @@ -3168,7 +4148,7 @@ function toNumber(value) { if (typeof value != 'string') { return value === 0 ? value : +value; } - value = value.replace(reTrim, ''); + value = baseTrim(value); var isBinary = reIsBinary.test(value); return (isBinary || reIsOctal.test(value)) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) @@ -3183,21 +4163,24 @@ module.exports = toNumber; /***/ "b622": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var shared = __webpack_require__("5692"); -var has = __webpack_require__("5135"); +var hasOwn = __webpack_require__("1a2d"); var uid = __webpack_require__("90e3"); -var NATIVE_SYMBOL = __webpack_require__("4930"); +var NATIVE_SYMBOL = __webpack_require__("04f8"); var USE_SYMBOL_AS_UID = __webpack_require__("fdbf"); -var WellKnownSymbolsStore = shared('wks'); var Symbol = global.Symbol; -var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; +var WellKnownSymbolsStore = shared('wks'); +var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; module.exports = function (name) { - if (!has(WellKnownSymbolsStore, name)) { - if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name]; - else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name); + if (!hasOwn(WellKnownSymbolsStore, name)) { + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) + ? Symbol[name] + : createWellKnownSymbol('Symbol.' + name); } return WellKnownSymbolsStore[name]; }; @@ -3207,6 +4190,8 @@ module.exports = function (name) { /***/ "b64b": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var $ = __webpack_require__("23e7"); var toObject = __webpack_require__("7b0b"); var nativeKeys = __webpack_require__("df75"); @@ -3228,31 +4213,34 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { /***/ "b727": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var bind = __webpack_require__("0366"); +var uncurryThis = __webpack_require__("e330"); var IndexedObject = __webpack_require__("44ad"); var toObject = __webpack_require__("7b0b"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); var arraySpeciesCreate = __webpack_require__("65f0"); -var push = [].push; +var push = uncurryThis([].push); -// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation +// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation var createMethod = function (TYPE) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var IS_FILTER_OUT = TYPE == 7; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + var IS_MAP = TYPE === 1; + var IS_FILTER = TYPE === 2; + var IS_SOME = TYPE === 3; + var IS_EVERY = TYPE === 4; + var IS_FIND_INDEX = TYPE === 6; + var IS_FILTER_REJECT = TYPE === 7; + var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; return function ($this, callbackfn, that, specificCreate) { var O = toObject($this); var self = IndexedObject(O); - var boundFunction = bind(callbackfn, that, 3); - var length = toLength(self.length); + var length = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); var index = 0; var create = specificCreate || arraySpeciesCreate; - var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; var value, result; for (;length > index; index++) if (NO_HOLES || index in self) { value = self[index]; @@ -3263,10 +4251,10 @@ var createMethod = function (TYPE) { case 3: return true; // some case 5: return value; // find case 6: return index; // findIndex - case 2: push.call(target, value); // filter + case 2: push(target, value); // filter } else switch (TYPE) { case 4: return false; // every - case 7: push.call(target, value); // filterOut + case 7: push(target, value); // filterReject } } } @@ -3296,9 +4284,9 @@ module.exports = { // `Array.prototype.findIndex` method // https://tc39.es/ecma262/#sec-array.prototype.findIndex findIndex: createMethod(6), - // `Array.prototype.filterOut` method + // `Array.prototype.filterReject` method // https://github.com/tc39/proposal-array-filtering - filterOut: createMethod(7) + filterReject: createMethod(7) }; @@ -3331,39 +4319,75 @@ module.exports = noop; /***/ "c04e": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var call = __webpack_require__("c65b"); var isObject = __webpack_require__("861d"); +var isSymbol = __webpack_require__("d9b5"); +var getMethod = __webpack_require__("dc4a"); +var ordinaryToPrimitive = __webpack_require__("485a"); +var wellKnownSymbol = __webpack_require__("b622"); + +var $TypeError = TypeError; +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); // `ToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-toprimitive -// instead of the ES6 spec version, we didn't implement @@toPrimitive case -// and the second argument - flag - preferred type is a string -module.exports = function (input, PREFERRED_STRING) { - if (!isObject(input)) return input; - var fn, val; - if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; - if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val; - if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; - throw TypeError("Can't convert object to primitive value"); +module.exports = function (input, pref) { + if (!isObject(input) || isSymbol(input)) return input; + var exoticToPrim = getMethod(input, TO_PRIMITIVE); + var result; + if (exoticToPrim) { + if (pref === undefined) pref = 'default'; + result = call(exoticToPrim, input, pref); + if (!isObject(result) || isSymbol(result)) return result; + throw new $TypeError("Can't convert object to primitive value"); + } + if (pref === undefined) pref = 'number'; + return ordinaryToPrimitive(input, pref); }; /***/ }), /***/ "c430": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = false; +/***/ }), + +/***/ "c65b": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__("40d5"); + +var call = Function.prototype.call; + +module.exports = NATIVE_BIND ? call.bind(call) : function () { + return call.apply(call, arguments); +}; + + /***/ }), /***/ "c6b6": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); -var toString = {}.toString; +var toString = uncurryThis({}.toString); +var stringSlice = uncurryThis(''.slice); module.exports = function (it) { - return toString.call(it).slice(8, -1); + return stringSlice(toString(it), 8, -1); }; @@ -3372,13 +4396,22 @@ module.exports = function (it) { /***/ "c6cd": /***/ (function(module, exports, __webpack_require__) { -var global = __webpack_require__("da84"); -var setGlobal = __webpack_require__("ce4e"); +"use strict"; + +var IS_PURE = __webpack_require__("c430"); +var globalThis = __webpack_require__("da84"); +var defineGlobalProperty = __webpack_require__("6374"); var SHARED = '__core-js_shared__'; -var store = global[SHARED] || setGlobal(SHARED, {}); +var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); -module.exports = store; +(store.versions || (store.versions = [])).push({ + version: '3.37.1', + mode: IS_PURE ? 'pure' : 'global', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE', + source: 'https://github.com/zloirock/core-js' +}); /***/ }), @@ -3413,6 +4446,9 @@ module.exports = g; /***/ "c8d2": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER; var fails = __webpack_require__("d039"); var whitespaces = __webpack_require__("5899"); @@ -3422,7 +4458,9 @@ var non = '\u200B\u0085\u180E'; // of whitespaces and has a correct name module.exports = function (METHOD_NAME) { return fails(function () { - return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME; + return !!whitespaces[METHOD_NAME]() + || non[METHOD_NAME]() !== non + || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME); }); }; @@ -3434,25 +4472,26 @@ module.exports = function (METHOD_NAME) { "use strict"; +/* eslint-disable es/no-array-prototype-indexof -- required for testing */ var $ = __webpack_require__("23e7"); +var uncurryThis = __webpack_require__("4625"); var $indexOf = __webpack_require__("4d64").indexOf; var arrayMethodIsStrict = __webpack_require__("a640"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); -var nativeIndexOf = [].indexOf; +var nativeIndexOf = uncurryThis([].indexOf); -var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0; -var STRICT_METHOD = arrayMethodIsStrict('indexOf'); -var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 }); +var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; +var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf'); // `Array.prototype.indexOf` method // https://tc39.es/ecma262/#sec-array.prototype.indexof -$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: FORCED }, { indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { + var fromIndex = arguments.length > 1 ? arguments[1] : undefined; return NEGATIVE_ZERO // convert -0 to +0 - ? nativeIndexOf.apply(this, arguments) || 0 - : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined); + ? nativeIndexOf(this, searchElement, fromIndex) || 0 + : $indexOf(this, searchElement, fromIndex); } }); @@ -3462,30 +4501,73 @@ $({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !US /***/ "ca84": /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__("5135"); +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var hasOwn = __webpack_require__("1a2d"); var toIndexedObject = __webpack_require__("fc6a"); var indexOf = __webpack_require__("4d64").indexOf; var hiddenKeys = __webpack_require__("d012"); +var push = uncurryThis([].push); + module.exports = function (object, names) { var O = toIndexedObject(object); var i = 0; var result = []; var key; - for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~indexOf(result, key) || result.push(key); + while (names.length > i) if (hasOwn(O, key = names[i++])) { + ~indexOf(result, key) || push(result, key); } return result; }; +/***/ }), + +/***/ "cb2d": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__("1626"); +var definePropertyModule = __webpack_require__("9bf2"); +var makeBuiltIn = __webpack_require__("13d2"); +var defineGlobalProperty = __webpack_require__("6374"); + +module.exports = function (O, key, value, options) { + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; + if (isCallable(value)) makeBuiltIn(value, name, options); + if (options.global) { + if (simple) O[key] = value; + else defineGlobalProperty(key, value); + } else { + try { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + } catch (error) { /* empty */ } + if (simple) O[key] = value; + else definePropertyModule.f(O, key, { + value: value, + enumerable: false, + configurable: !options.nonConfigurable, + writable: !options.nonWritable + }); + } return O; +}; + + /***/ }), /***/ "cc12": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); var isObject = __webpack_require__("861d"); @@ -3528,25 +4610,25 @@ module.exports = identity; /***/ }), -/***/ "ce4e": +/***/ "cdce": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var global = __webpack_require__("da84"); -var createNonEnumerableProperty = __webpack_require__("9112"); +var isCallable = __webpack_require__("1626"); -module.exports = function (key, value) { - try { - createNonEnumerableProperty(global, key, value); - } catch (error) { - global[key] = value; - } return value; -}; +var WeakMap = global.WeakMap; + +module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); /***/ }), /***/ "d012": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = {}; @@ -3554,7 +4636,9 @@ module.exports = {}; /***/ }), /***/ "d039": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; module.exports = function (exec) { try { @@ -3570,16 +4654,17 @@ module.exports = function (exec) { /***/ "d066": /***/ (function(module, exports, __webpack_require__) { -var path = __webpack_require__("428f"); +"use strict"; + var global = __webpack_require__("da84"); +var isCallable = __webpack_require__("1626"); -var aFunction = function (variable) { - return typeof variable == 'function' ? variable : undefined; +var aFunction = function (argument) { + return isCallable(argument) ? argument : undefined; }; module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) - : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method]; + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; }; @@ -3597,18 +4682,19 @@ module.exports = function (namespace, method) { "use strict"; -var nativePropertyIsEnumerable = {}.propertyIsEnumerable; +var $propertyIsEnumerable = {}.propertyIsEnumerable; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug -var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); +var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); // `Object.prototype.propertyIsEnumerable` method implementation // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { var descriptor = getOwnPropertyDescriptor(this, V); return !!descriptor && descriptor.enumerable; -} : nativePropertyIsEnumerable; +} : $propertyIsEnumerable; /***/ }), @@ -3616,26 +4702,32 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { /***/ "d2bb": /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__("825a"); +"use strict"; + +/* eslint-disable no-proto -- safe */ +var uncurryThisAccessor = __webpack_require__("7282"); +var isObject = __webpack_require__("861d"); +var requireObjectCoercible = __webpack_require__("1d80"); var aPossiblePrototype = __webpack_require__("3bbe"); // `Object.setPrototypeOf` method // https://tc39.es/ecma262/#sec-object.setprototypeof // Works with __proto__ only. Old v8 can't work with null proto objects. -/* eslint-disable no-proto */ +// eslint-disable-next-line es/no-object-setprototypeof -- safe module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { var CORRECT_SETTER = false; var test = {}; var setter; try { - setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; - setter.call(test, []); + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); + setter(test, []); CORRECT_SETTER = test instanceof Array; } catch (error) { /* empty */ } return function setPrototypeOf(O, proto) { - anObject(O); + requireObjectCoercible(O); aPossiblePrototype(proto); - if (CORRECT_SETTER) setter.call(O, proto); + if (!isObject(O)) return O; + if (CORRECT_SETTER) setter(O, proto); else O.__proto__ = proto; return O; }; @@ -3647,14 +4739,35 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { /***/ "d3b7": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee"); -var redefine = __webpack_require__("6eeb"); +var defineBuiltIn = __webpack_require__("cb2d"); var toString = __webpack_require__("b041"); // `Object.prototype.toString` method // https://tc39.es/ecma262/#sec-object.prototype.tostring if (!TO_STRING_TAG_SUPPORT) { - redefine(Object.prototype, 'toString', toString, { unsafe: true }); + defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true }); +} + + +/***/ }), + +/***/ "d401": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var defineBuiltIn = __webpack_require__("cb2d"); +var errorToString = __webpack_require__("aa1f"); + +var ErrorPrototype = Error.prototype; + +// `Error.prototype.toString` method fix +// https://tc39.es/ecma262/#sec-error.prototype.tostring +if (ErrorPrototype.toString !== errorToString) { + defineBuiltIn(ErrorPrototype, 'toString', errorToString); } @@ -3663,18 +4776,25 @@ if (!TO_STRING_TAG_SUPPORT) { /***/ "d58f": /***/ (function(module, exports, __webpack_require__) { -var aFunction = __webpack_require__("1c0b"); +"use strict"; + +var aCallable = __webpack_require__("59ed"); var toObject = __webpack_require__("7b0b"); var IndexedObject = __webpack_require__("44ad"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); + +var $TypeError = TypeError; + +var REDUCE_EMPTY = 'Reduce of empty array with no initial value'; // `Array.prototype.{ reduce, reduceRight }` methods implementation var createMethod = function (IS_RIGHT) { return function (that, callbackfn, argumentsLength, memo) { - aFunction(callbackfn); var O = toObject(that); var self = IndexedObject(O); - var length = toLength(O.length); + var length = lengthOfArrayLike(O); + aCallable(callbackfn); + if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY); var index = IS_RIGHT ? length - 1 : 0; var i = IS_RIGHT ? -1 : 1; if (argumentsLength < 2) while (true) { @@ -3685,7 +4805,7 @@ var createMethod = function (IS_RIGHT) { } index += i; if (IS_RIGHT ? index < 0 : length <= index) { - throw TypeError('Reduce of empty array with no initial value'); + throw new $TypeError(REDUCE_EMPTY); } } for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { @@ -3714,60 +4834,24 @@ module.exports = { // TODO: Remove from `core-js@4` since it's moved to entry points __webpack_require__("ac1f"); -var redefine = __webpack_require__("6eeb"); +var call = __webpack_require__("c65b"); +var defineBuiltIn = __webpack_require__("cb2d"); +var regexpExec = __webpack_require__("9263"); var fails = __webpack_require__("d039"); var wellKnownSymbol = __webpack_require__("b622"); -var regexpExec = __webpack_require__("9263"); var createNonEnumerableProperty = __webpack_require__("9112"); var SPECIES = wellKnownSymbol('species'); +var RegExpPrototype = RegExp.prototype; -var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { - // #replace needs built-in support for named groups. - // #match works fine because it just return the exec results, even if it has - // a "grops" property. - var re = /./; - re.exec = function () { - var result = []; - result.groups = { a: '7' }; - return result; - }; - return ''.replace(re, '$') !== '7'; -}); - -// IE <= 11 replaces $0 with the whole match, as if it was $& -// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 -var REPLACE_KEEPS_$0 = (function () { - return 'a'.replace(/./, '$0') === '$0'; -})(); - -var REPLACE = wellKnownSymbol('replace'); -// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string -var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { - if (/./[REPLACE]) { - return /./[REPLACE]('a', '$0') === ''; - } - return false; -})(); - -// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec -// Weex JS has frozen built-in prototypes, so use try / catch wrapper -var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { - var re = /(?:)/; - var originalExec = re.exec; - re.exec = function () { return originalExec.apply(this, arguments); }; - var result = 'ab'.split(re); - return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; -}); - -module.exports = function (KEY, length, exec, sham) { +module.exports = function (KEY, exec, FORCED, SHAM) { var SYMBOL = wellKnownSymbol(KEY); var DELEGATES_TO_SYMBOL = !fails(function () { - // String methods call symbol-named RegEp methods + // String methods call symbol-named RegExp methods var O = {}; O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) != 7; + return ''[KEY](O) !== 7; }); var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { @@ -3788,7 +4872,10 @@ module.exports = function (KEY, length, exec, sham) { re[SYMBOL] = /./[SYMBOL]; } - re.exec = function () { execCalled = true; return null; }; + re.exec = function () { + execCalled = true; + return null; + }; re[SYMBOL](''); return !execCalled; @@ -3797,44 +4884,28 @@ module.exports = function (KEY, length, exec, sham) { if ( !DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || - (KEY === 'replace' && !( - REPLACE_SUPPORTS_NAMED_GROUPS && - REPLACE_KEEPS_$0 && - !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE - )) || - (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) + FORCED ) { var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - if (regexp.exec === regexpExec) { + var $exec = regexp.exec; + if ($exec === regexpExec || $exec === RegExpPrototype.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. - return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; + return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) }; } - return { done: true, value: nativeMethod.call(str, regexp, arg2) }; + return { done: true, value: call(nativeMethod, str, regexp, arg2) }; } return { done: false }; - }, { - REPLACE_KEEPS_$0: REPLACE_KEEPS_$0, - REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE }); - var stringMethod = methods[0]; - var regexMethod = methods[1]; - - redefine(String.prototype, KEY, stringMethod); - redefine(RegExp.prototype, SYMBOL, length == 2 - // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) - // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function (string, arg) { return regexMethod.call(string, this, arg); } - // 21.2.5.6 RegExp.prototype[@@match](string) - // 21.2.5.9 RegExp.prototype[@@search](string) - : function (string) { return regexMethod.call(string, this); } - ); + + defineBuiltIn(String.prototype, KEY, methods[0]); + defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); } - if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true); + if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); }; @@ -3848,16 +4919,13 @@ module.exports = function (KEY, length, exec, sham) { var $ = __webpack_require__("23e7"); var $map = __webpack_require__("b727").map; var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map'); -// FF49- issue -var USES_TO_LENGTH = arrayMethodUsesToLength('map'); // `Array.prototype.map` method // https://tc39.es/ecma262/#sec-array.prototype.map // with adding support of @@species -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { map: function map(callbackfn /* , thisArg */) { return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } @@ -3866,35 +4934,94 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT /***/ }), -/***/ "da84": +/***/ "d998": /***/ (function(module, exports, __webpack_require__) { -/* WEBPACK VAR INJECTION */(function(global) {var check = function (it) { - return it && it.Math == Math && it; -}; +"use strict"; + +var UA = __webpack_require__("342f"); + +module.exports = /MSIE|Trident/.test(UA); + + +/***/ }), + +/***/ "d9b5": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__("d066"); +var isCallable = __webpack_require__("1626"); +var isPrototypeOf = __webpack_require__("3a9b"); +var USE_SYMBOL_AS_UID = __webpack_require__("fdbf"); + +var $Object = Object; + +module.exports = USE_SYMBOL_AS_UID ? function (it) { + return typeof it == 'symbol'; +} : function (it) { + var $Symbol = getBuiltIn('Symbol'); + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); +}; + + +/***/ }), + +/***/ "da84": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(global) { +var check = function (it) { + return it && it.Math === Math && it; +}; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 module.exports = - // eslint-disable-next-line no-undef + // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe check(typeof self == 'object' && self) || check(typeof global == 'object' && global) || - // eslint-disable-next-line no-new-func + check(typeof this == 'object' && this) || + // eslint-disable-next-line no-new-func -- fallback (function () { return this; })() || Function('return this')(); /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba"))) +/***/ }), + +/***/ "dc4a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var aCallable = __webpack_require__("59ed"); +var isNullOrUndefined = __webpack_require__("7234"); + +// `GetMethod` abstract operation +// https://tc39.es/ecma262/#sec-getmethod +module.exports = function (V, P) { + var func = V[P]; + return isNullOrUndefined(func) ? undefined : aCallable(func); +}; + + /***/ }), /***/ "df75": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var internalObjectKeys = __webpack_require__("ca84"); var enumBugKeys = __webpack_require__("7839"); // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys +// eslint-disable-next-line es/no-object-keys -- safe module.exports = Object.keys || function keys(O) { return internalObjectKeys(O, enumBugKeys); }; @@ -3952,22 +5079,28 @@ module.exports = before; /***/ "e163": /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__("5135"); +"use strict"; + +var hasOwn = __webpack_require__("1a2d"); +var isCallable = __webpack_require__("1626"); var toObject = __webpack_require__("7b0b"); var sharedKey = __webpack_require__("f772"); var CORRECT_PROTOTYPE_GETTER = __webpack_require__("e177"); var IE_PROTO = sharedKey('IE_PROTO'); -var ObjectPrototype = Object.prototype; +var $Object = Object; +var ObjectPrototype = $Object.prototype; // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof -module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectPrototype : null; +// eslint-disable-next-line es/no-object-getprototypeof -- safe +module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { + var object = toObject(O); + if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; + var constructor = object.constructor; + if (isCallable(constructor) && object instanceof constructor) { + return constructor.prototype; + } return object instanceof $Object ? ObjectPrototype : null; }; @@ -3976,32 +5109,111 @@ module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) /***/ "e177": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var fails = __webpack_require__("d039"); module.exports = !fails(function () { function F() { /* empty */ } F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing return Object.getPrototypeOf(new F()) !== F.prototype; }); +/***/ }), + +/***/ "e267": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); +var isArray = __webpack_require__("e8b5"); +var isCallable = __webpack_require__("1626"); +var classof = __webpack_require__("c6b6"); +var toString = __webpack_require__("577e"); + +var push = uncurryThis([].push); + +module.exports = function (replacer) { + if (isCallable(replacer)) return replacer; + if (!isArray(replacer)) return; + var rawLength = replacer.length; + var keys = []; + for (var i = 0; i < rawLength; i++) { + var element = replacer[i]; + if (typeof element == 'string') push(keys, element); + else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element)); + } + var keysLength = keys.length; + var root = true; + return function (key, value) { + if (root) { + root = false; + return value; + } + if (isArray(this)) return value; + for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value; + }; +}; + + +/***/ }), + +/***/ "e330": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__("40d5"); + +var FunctionPrototype = Function.prototype; +var call = FunctionPrototype.call; +var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); + +module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { + return function () { + return call.apply(fn, arguments); + }; +}; + + +/***/ }), + +/***/ "e391": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var toString = __webpack_require__("577e"); + +module.exports = function (argument, $default) { + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); +}; + + /***/ }), /***/ "e893": /***/ (function(module, exports, __webpack_require__) { -var has = __webpack_require__("5135"); +"use strict"; + +var hasOwn = __webpack_require__("1a2d"); var ownKeys = __webpack_require__("56ef"); var getOwnPropertyDescriptorModule = __webpack_require__("06cf"); var definePropertyModule = __webpack_require__("9bf2"); -module.exports = function (target, source) { +module.exports = function (target, source, exceptions) { var keys = ownKeys(source); var defineProperty = definePropertyModule.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; - if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } } }; @@ -4011,27 +5223,157 @@ module.exports = function (target, source) { /***/ "e8b5": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var classof = __webpack_require__("c6b6"); // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray -module.exports = Array.isArray || function isArray(arg) { - return classof(arg) == 'Array'; +// eslint-disable-next-line es/no-array-isarray -- safe +module.exports = Array.isArray || function isArray(argument) { + return classof(argument) === 'Array'; }; +/***/ }), + +/***/ "e9c4": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var getBuiltIn = __webpack_require__("d066"); +var apply = __webpack_require__("2ba4"); +var call = __webpack_require__("c65b"); +var uncurryThis = __webpack_require__("e330"); +var fails = __webpack_require__("d039"); +var isCallable = __webpack_require__("1626"); +var isSymbol = __webpack_require__("d9b5"); +var arraySlice = __webpack_require__("f36a"); +var getReplacerFunction = __webpack_require__("e267"); +var NATIVE_SYMBOL = __webpack_require__("04f8"); + +var $String = String; +var $stringify = getBuiltIn('JSON', 'stringify'); +var exec = uncurryThis(/./.exec); +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var replace = uncurryThis(''.replace); +var numberToString = uncurryThis(1.0.toString); + +var tester = /[\uD800-\uDFFF]/g; +var low = /^[\uD800-\uDBFF]$/; +var hi = /^[\uDC00-\uDFFF]$/; + +var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () { + var symbol = getBuiltIn('Symbol')('stringify detection'); + // MS Edge converts symbol values to JSON as {} + return $stringify([symbol]) !== '[null]' + // WebKit converts symbol values to JSON as null + || $stringify({ a: symbol }) !== '{}' + // V8 throws on boxed symbols + || $stringify(Object(symbol)) !== '{}'; +}); + +// https://github.com/tc39/proposal-well-formed-stringify +var ILL_FORMED_UNICODE = fails(function () { + return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' + || $stringify('\uDEAD') !== '"\\udead"'; +}); + +var stringifyWithSymbolsFix = function (it, replacer) { + var args = arraySlice(arguments); + var $replacer = getReplacerFunction(replacer); + if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined + args[1] = function (key, value) { + // some old implementations (like WebKit) could pass numbers as keys + if (isCallable($replacer)) value = call($replacer, this, $String(key), value); + if (!isSymbol(value)) return value; + }; + return apply($stringify, null, args); +}; + +var fixIllFormed = function (match, offset, string) { + var prev = charAt(string, offset - 1); + var next = charAt(string, offset + 1); + if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) { + return '\\u' + numberToString(charCodeAt(match, 0), 16); + } return match; +}; + +if ($stringify) { + // `JSON.stringify` method + // https://tc39.es/ecma262/#sec-json.stringify + $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + stringify: function stringify(it, replacer, space) { + var args = arraySlice(arguments); + var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args); + return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result; + } + }); +} + + +/***/ }), + +/***/ "f36a": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__("e330"); + +module.exports = uncurryThis([].slice); + + +/***/ }), + +/***/ "f4b3": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__("23e7"); +var fails = __webpack_require__("d039"); +var toObject = __webpack_require__("7b0b"); +var toPrimitive = __webpack_require__("c04e"); + +var FORCED = fails(function () { + return new Date(NaN).toJSON() !== null + || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; +}); + +// `Date.prototype.toJSON` method +// https://tc39.es/ecma262/#sec-date.prototype.tojson +$({ target: 'Date', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + toJSON: function toJSON(key) { + var O = toObject(this); + var pv = toPrimitive(O, 'number'); + return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); + } +}); + + /***/ }), /***/ "f5df": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee"); +var isCallable = __webpack_require__("1626"); var classofRaw = __webpack_require__("c6b6"); var wellKnownSymbol = __webpack_require__("b622"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var $Object = Object; + // ES3 wrong here -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { @@ -4045,11 +5387,11 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case - : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback - : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; + : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; }; @@ -4058,6 +5400,8 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { /***/ "f772": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + var shared = __webpack_require__("5692"); var uid = __webpack_require__("90e3"); @@ -4103,17 +5447,13 @@ if (typeof window !== 'undefined') { // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf"); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Treeselect.vue?vue&type=template&id=4fa337e8 +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Treeselect.vue?vue&type=template&id=4fa337e8 function Treeselectvue_type_template_id_4fa337e8_render(_ctx, _cache, $props, $setup, $data, $options) { var _component_HiddenFields = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("HiddenFields"); - var _component_Control = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Control"); - var _component_MenuPortal = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("MenuPortal"); - var _component_Menu = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Menu"); - return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("div", { ref: "wrapper", class: _ctx.wrapperClass @@ -4127,195 +5467,226 @@ function Treeselectvue_type_template_id_4fa337e8_render(_ctx, _cache, $props, $s ref: "menu" }, null, 512))], 2); } -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js -var es_array_concat = __webpack_require__("99af"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.every.js -var es_array_every = __webpack_require__("a623"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js -var es_array_filter = __webpack_require__("4de4"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js -var es_array_flat = __webpack_require__("0481"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js -var es_array_for_each = __webpack_require__("4160"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js -var es_array_index_of = __webpack_require__("c975"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js -var es_array_map = __webpack_require__("d81d"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js -var es_array_reduce = __webpack_require__("13d5"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js -var es_array_slice = __webpack_require__("fb6a"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.some.js -var es_array_some = __webpack_require__("45fc"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js -var es_array_sort = __webpack_require__("4e82"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat.js -var es_array_unscopables_flat = __webpack_require__("4069"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js -var es_number_constructor = __webpack_require__("a9e3"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js -var es_regexp_exec = __webpack_require__("ac1f"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js -var es_string_replace = __webpack_require__("5319"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js -var es_string_split = __webpack_require__("1276"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js -var es_string_trim = __webpack_require__("498a"); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js -var web_dom_collections_for_each = __webpack_require__("159b"); - // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; +function _arrayWithHoles(r) { + if (Array.isArray(r)) return r; } -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js -function _iterableToArrayLimit(arr, i) { - if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; - 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 { +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +function _iterableToArrayLimit(r, l) { + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (null != t) { + var e, + n, + i, + u, + a = [], + f = !0, + o = !1; try { - if (!_n && _i["return"] != null) _i["return"](); + if (i = (t = t.call(r)).next, 0 === l) { + if (Object(t) !== t) return; + f = !1; + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); + } catch (r) { + o = !0, n = r; } finally { - if (_d) throw _e; + try { + if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; + } finally { + if (o) throw n; + } } + return a; } - - return _arr; } -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js -function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - return arr2; +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +function _arrayLikeToArray(r, a) { + (null == a || a > r.length) && (a = r.length); + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; + return n; } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js -function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); +function _unsupportedIterableToArray(r, a) { + if (r) { + if ("string" == typeof r) return _arrayLikeToArray(r, a); + var t = {}.toString.call(r).slice(8, -1); + return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; + } } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js -function _slicedToArray(arr, i) { - return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); +function _slicedToArray(r, e) { + return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); } -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +function _typeof(o) { + "@babel/helpers - typeof"; + + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { + return typeof o; + } : function (o) { + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; + }, _typeof(o); +} + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js + +function toPrimitive(t, r) { + if ("object" != _typeof(t) || !t) return t; + var e = t[Symbol.toPrimitive]; + if (void 0 !== e) { + var i = e.call(t, r || "default"); + if ("object" != _typeof(i)) return i; + throw new TypeError("@@toPrimitive must return a primitive value."); } + return ("string" === r ? String : Number)(t); +} + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js - return obj; + +function toPropertyKey(t) { + var i = toPrimitive(t, "string"); + return "symbol" == _typeof(i) ? i : i + ""; } + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + +function _defineProperty(e, r, t) { + return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { + value: t, + enumerable: !0, + configurable: !0, + writable: !0 + }) : e[r] = t, e; +} + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return _arrayLikeToArray(arr); +function _arrayWithoutHoles(r) { + if (Array.isArray(r)) return _arrayLikeToArray(r); } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); +function _iterableToArray(r) { + if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js -function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); -} -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +function _toConsumableArray(r) { + return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); +} + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js + +function ownKeys(e, r) { + var t = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + r && (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), t.push.apply(t, o); + } + return t; +} +function _objectSpread2(e) { + for (var r = 1; r < arguments.length; r++) { + var t = null != arguments[r] ? arguments[r] : {}; + r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { + _defineProperty(e, r, t[r]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { + Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); + }); + } + return e; +} + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js +var es_array_concat = __webpack_require__("99af"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.every.js +var es_array_every = __webpack_require__("a623"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js +var es_array_filter = __webpack_require__("4de4"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js +var es_array_flat = __webpack_require__("0481"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js +var es_array_for_each = __webpack_require__("4160"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js +var es_array_index_of = __webpack_require__("c975"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js +var es_array_map = __webpack_require__("d81d"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js +var es_array_push = __webpack_require__("14d9"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js +var es_array_reduce = __webpack_require__("13d5"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js +var es_array_slice = __webpack_require__("fb6a"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.some.js +var es_array_some = __webpack_require__("45fc"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js +var es_array_sort = __webpack_require__("4e82"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat.js +var es_array_unscopables_flat = __webpack_require__("4069"); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.date.to-json.js +var es_date_to_json = __webpack_require__("f4b3"); -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js +var es_json_stringify = __webpack_require__("e9c4"); - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - if (enumerableOnly) symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - keys.push.apply(keys, symbols); - } +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js +var es_number_constructor = __webpack_require__("a9e3"); - return keys; -} +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js +var es_object_to_string = __webpack_require__("d3b7"); -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js +var es_regexp_exec = __webpack_require__("ac1f"); - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js +var es_string_replace = __webpack_require__("5319"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js +var es_string_trim = __webpack_require__("498a"); + +// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js +var web_dom_collections_for_each = __webpack_require__("159b"); - return target; -} // EXTERNAL MODULE: ./node_modules/fuzzysearch/index.js var fuzzysearch = __webpack_require__("2e39"); var fuzzysearch_default = /*#__PURE__*/__webpack_require__.n(fuzzysearch); @@ -4344,11 +5715,9 @@ var createMap = function createMap() { // CONCATENATED MODULE: ./src/utils/quickDiff.js function quickDiff(arrA, arrB) { if (arrA.length !== arrB.length) return true; - for (var i = 0; i < arrA.length; i++) { if (arrA[i] !== arrB[i]) return true; } - return false; } // EXTERNAL MODULE: ./node_modules/lodash/noop.js @@ -4359,15 +5728,12 @@ var noop_default = /*#__PURE__*/__webpack_require__.n(noop); -var warning = true ? -/* istanbul ignore next */ -noop_default.a : undefined; +var warning = true ? /* istanbul ignore next */noop_default.a : undefined; // CONCATENATED MODULE: ./src/utils/find.js function find(arr, predicate, ctx) { for (var i = 0, len = arr.length; i < len; i++) { if (predicate.call(ctx, arr[i], i, arr)) return arr[i]; } - return undefined; } // CONCATENATED MODULE: ./src/utils/onLeftClick.js @@ -4378,7 +5744,6 @@ function onLeftClick(mouseDownHandler) { for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } - mouseDownHandler.call.apply(mouseDownHandler, [this, evt].concat(args)); } }; @@ -4389,7 +5754,6 @@ function scrollIntoView($scrollingEl, $focusedEl) { var scrollingReact = $scrollingEl.getBoundingClientRect(); var focusedRect = $focusedEl.getBoundingClientRect(); var overScroll = $focusedEl.offsetHeight / 3; - if (focusedRect.bottom + overScroll > scrollingReact.bottom) { $scrollingEl.scrollTop = Math.min($focusedEl.offsetTop + $focusedEl.clientHeight - $scrollingEl.offsetHeight + overScroll, $scrollingEl.scrollHeight); } else if (focusedRect.top - overScroll < scrollingReact.top) { @@ -4420,30 +5784,36 @@ function removeFromArray(arr, elem) { } // CONCATENATED MODULE: ./src/constants.js // Magic value that indicates a root level node. -var NO_PARENT_NODE = null; // Types of checked state. +var NO_PARENT_NODE = null; +// Types of checked state. var UNCHECKED = 0; var INDETERMINATE = 1; -var CHECKED = 2; // Types of count number. +var CHECKED = 2; +// Types of count number. var ALL_CHILDREN = 'ALL_CHILDREN'; var ALL_DESCENDANTS = 'ALL_DESCENDANTS'; var LEAF_CHILDREN = 'LEAF_CHILDREN'; -var LEAF_DESCENDANTS = 'LEAF_DESCENDANTS'; // Action types of delayed loading. +var LEAF_DESCENDANTS = 'LEAF_DESCENDANTS'; +// Action types of delayed loading. var LOAD_ROOT_OPTIONS = 'LOAD_ROOT_OPTIONS'; var LOAD_CHILDREN_OPTIONS = 'LOAD_CHILDREN_OPTIONS'; -var ASYNC_SEARCH = 'ASYNC_SEARCH'; // Acceptable values of `valueConsistsOf` prop. +var ASYNC_SEARCH = 'ASYNC_SEARCH'; +// Acceptable values of `valueConsistsOf` prop. var ALL = 'ALL'; var BRANCH_PRIORITY = 'BRANCH_PRIORITY'; var LEAF_PRIORITY = 'LEAF_PRIORITY'; -var ALL_WITH_INDETERMINATE = 'ALL_WITH_INDETERMINATE'; // Acceptable values of `sortValueBy` prop. +var ALL_WITH_INDETERMINATE = 'ALL_WITH_INDETERMINATE'; +// Acceptable values of `sortValueBy` prop. var ORDER_SELECTED = 'ORDER_SELECTED'; var LEVEL = 'LEVEL'; -var INDEX = 'INDEX'; // Key codes look-up table. +var INDEX = 'INDEX'; +// Key codes look-up table. var KEY_CODES = { BACKSPACE: 8, ENTER: 13, @@ -4455,13 +5825,10 @@ var KEY_CODES = { ARROW_RIGHT: 39, ARROW_DOWN: 40, DELETE: 46 -}; // Other constants. +}; -var INPUT_DEBOUNCE_DELAY = false ? -/* to speed up unit testing */ -undefined : -/* istanbul ignore next */ -200; +// Other constants. +var INPUT_DEBOUNCE_DELAY = false ? /* to speed up unit testing */undefined : /* istanbul ignore next */200; var MIN_INPUT_WIDTH = 5; var MENU_BUFFER = 40; // CONCATENATED MODULE: ./src/mixins/treeselectMixin.js @@ -4488,12 +5855,13 @@ var MENU_BUFFER = 40; + + function sortValueByIndex(a, b) { var i = 0; - do { if (a.level < i) return -1; if (b.level < i) return 1; @@ -4501,11 +5869,9 @@ function sortValueByIndex(a, b) { i++; } while (true); } - function sortValueByLevel(a, b) { return a.level === b.level ? sortValueByIndex(a, b) : a.level - b.level; } - function createAsyncOptionsStates() { return { isLoaded: false, @@ -4513,24 +5879,18 @@ function createAsyncOptionsStates() { loadingError: '' }; } - function stringifyOptionPropValue(value) { if (typeof value === 'string') return value; - if (typeof value === 'number' && !isNaN_isNaN(value)) return value + ''; // istanbul ignore next - + if (typeof value === 'number' && !isNaN_isNaN(value)) return value + ''; + // istanbul ignore next return ''; } - function match(enableFuzzyMatch, needle, haystack) { return enableFuzzyMatch ? fuzzysearch_default()(needle, haystack) : includes(haystack, needle); } - function getErrorMessage(err) { - return err.message || - /* istanbul ignore next */ - String(err); + return err.message || /* istanbul ignore next */String(err); } - var instanceId = 0; /* harmony default export */ var treeselectMixin = ({ provide: function provide() { @@ -4548,7 +5908,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * When an ancestor node is selected/deselected, whether its disabled descendants should be selected/deselected. * You may want to use this in conjunction with `allowClearingDisabled` prop. @@ -4557,7 +5916,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Whether the menu should be always open. */ @@ -4565,7 +5923,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Append the menu to ? */ @@ -4573,7 +5930,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Whether to enable async search mode. */ @@ -4581,7 +5937,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Automatically focus the component on mount? */ @@ -4589,7 +5944,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Automatically load root options on mount. When set to `false`, root options will be loaded when the menu is opened. */ @@ -4597,7 +5951,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * When user deselects a node, automatically deselect its ancestors. Applies to flat mode only. */ @@ -4605,7 +5958,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * When user deselects a node, automatically deselect its descendants. Applies to flat mode only. */ @@ -4613,7 +5965,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * When user selects a node, automatically select its ancestors. Applies to flat mode only. */ @@ -4621,7 +5972,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * When user selects a node, automatically select its descendants. Applies to flat mode only. */ @@ -4629,7 +5979,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Whether pressing backspace key removes the last item if there is no text input. */ @@ -4637,7 +5986,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Function that processes before clearing all input fields. * Return `false` to prevent value from being cleared. @@ -4647,7 +5995,6 @@ var instanceId = 0; type: Function, default: constant_default()(true) }, - /** * Show branch nodes before leaf nodes? */ @@ -4655,7 +6002,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Should cache results of every search request? */ @@ -4663,7 +6009,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Show an "×" button that resets value? */ @@ -4671,7 +6016,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Title for the "×" button when `multiple: true`. */ @@ -4679,7 +6023,6 @@ var instanceId = 0; type: String, default: 'Clear all' }, - /** * Whether to clear the search input after selecting. * Use only when `multiple` is `true`. @@ -4689,7 +6032,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Title for the "×" button. */ @@ -4697,7 +6039,6 @@ var instanceId = 0; type: String, default: 'Clear value' }, - /** * Whether to close the menu after selecting an option? * Use only when `multiple` is `true`. @@ -4706,7 +6047,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * How many levels of branch nodes should be automatically expanded when loaded. * Set `Infinity` to make all branch nodes expanded by default. @@ -4715,7 +6055,6 @@ var instanceId = 0; type: Number, default: 0 }, - /** * The default set of options to show before the user starts searching. Used for async search mode. * When set to `true`, the results for search query as a empty string will be autoloaded. @@ -4724,7 +6063,6 @@ var instanceId = 0; defaultOptions: { default: false }, - /** * Whether pressing delete key removes the last item if there is no text input. */ @@ -4732,7 +6070,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Delimiter to use to join multiple values for the hidden field value. */ @@ -4740,7 +6077,6 @@ var instanceId = 0; type: String, default: ',' }, - /** * Only show the nodes that match the search value directly, excluding its ancestors. * @@ -4750,7 +6086,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Prevent branch nodes from being selected? */ @@ -4758,7 +6093,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Disable the control? */ @@ -4766,7 +6100,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Disable the fuzzy matching functionality? */ @@ -4774,7 +6107,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Whether to enable flat mode or not. Non-flat mode (default) means: * - Whenever a branch node gets checked, all its children will be checked too @@ -4785,7 +6117,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Will be passed with all events as the last param. * Useful for identifying events origin. @@ -4797,7 +6128,6 @@ var instanceId = 0; }, type: [String, Number] }, - /** * Joins multiple values into a single form field with the `delimiter` (legacy mode). */ @@ -4805,7 +6135,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Limit the display of selected options. * The rest will be hidden within the limitText string. @@ -4814,7 +6143,6 @@ var instanceId = 0; type: Number, default: Infinity }, - /** * Function that processes the message shown when selected elements pass the defined limit. * @type {function(number): string} @@ -4826,7 +6154,6 @@ var instanceId = 0; return "and ".concat(count, " more"); } }, - /** * Text displayed when loading options. */ @@ -4834,7 +6161,6 @@ var instanceId = 0; type: String, default: 'Loading...' }, - /** * Used for dynamically loading options. * @type {function({action: string, callback: (function((Error|string)=): void), parentNode: node=, instanceId}): void} @@ -4842,7 +6168,6 @@ var instanceId = 0; loadOptions: { type: Function }, - /** * Which node properties to filter on. */ @@ -4850,7 +6175,6 @@ var instanceId = 0; type: Array, default: constant_default()(['label']) }, - /** * Sets `maxHeight` style value of the menu. */ @@ -4858,7 +6182,6 @@ var instanceId = 0; type: Number, default: 300 }, - /** * Set `true` to allow selecting multiple options (a.k.a., multi-select mode). */ @@ -4866,14 +6189,12 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Generates a hidden tag with this field name for html forms. */ name: { type: String }, - /** * Text displayed when a branch node has no children. */ @@ -4881,7 +6202,6 @@ var instanceId = 0; type: String, default: 'No sub-options.' }, - /** * Text displayed when there are no available options. */ @@ -4889,7 +6209,6 @@ var instanceId = 0; type: String, default: 'No options available.' }, - /** * Text displayed when there are no matching search results. */ @@ -4897,7 +6216,6 @@ var instanceId = 0; type: String, default: 'No results found...' }, - /** * Used for normalizing source data. * @type {function(node, instanceId): node} @@ -4906,7 +6224,6 @@ var instanceId = 0; type: Function, default: identity_default.a }, - /** * By default (`auto`), the menu will open below the control. If there is not * enough space, vue-treeselect will automatically flip the menu. @@ -4927,7 +6244,6 @@ var instanceId = 0; return includes(acceptableValues, value); } }, - /** * Whether to automatically open the menu when the control is clicked. */ @@ -4935,7 +6251,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Whether to automatically open the menu when the control is focused. */ @@ -4943,7 +6258,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Array of available options. * @type {node[]} @@ -4951,7 +6265,6 @@ var instanceId = 0; options: { type: Array }, - /** * Field placeholder, displayed when there's no value. */ @@ -4959,7 +6272,6 @@ var instanceId = 0; type: String, default: 'Select...' }, - /** * Applies HTML5 required attribute when needed. */ @@ -4967,7 +6279,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Text displayed asking user whether to retry loading children options. */ @@ -4975,7 +6286,6 @@ var instanceId = 0; type: String, default: 'Retry?' }, - /** * Title for the retry button. */ @@ -4983,7 +6293,6 @@ var instanceId = 0; type: String, default: 'Click to retry' }, - /** * Enable searching feature? */ @@ -4991,7 +6300,6 @@ var instanceId = 0; type: Boolean, default: true }, - /** * Search in ancestor nodes too. */ @@ -4999,7 +6307,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Text tip to prompt for async search. */ @@ -5007,7 +6314,6 @@ var instanceId = 0; type: String, default: 'Type to search...' }, - /** * Whether to show a children count next to the label of each branch node. */ @@ -5015,7 +6321,6 @@ var instanceId = 0; type: Boolean, default: false }, - /** * Used in conjunction with `showCount` to specify which type of count number should be displayed. * Acceptable values: @@ -5032,14 +6337,12 @@ var instanceId = 0; return includes(acceptableValues, value); } }, - /** * Whether to show children count when searching. * Fallbacks to the value of `showCount` when not specified. * @type {boolean} */ showCountOnSearch: null, - /** * In which order the selected options should be displayed in trigger & sorted in `value` array. * Used for multi-select mode only. @@ -5056,7 +6359,6 @@ var instanceId = 0; return includes(acceptableValues, value); } }, - /** * Tab index of the control. */ @@ -5064,7 +6366,6 @@ var instanceId = 0; type: Number, default: 0 }, - /** * The value of the control. * Should be `id` or `node` object for single-select mode, or an array of `id` or `node` object for multi-select mode. @@ -5073,7 +6374,6 @@ var instanceId = 0; * @type {?Array} */ modelValue: null, - /** * Which kind of nodes should be included in the `value` array in multi-select mode. * Acceptable values: @@ -5090,7 +6390,6 @@ var instanceId = 0; return includes(acceptableValues, value); } }, - /** * Format of `value` prop. * Note that, when set to `"object"`, only `id` & `label` properties are required in each `node` object in `value` prop. @@ -5102,7 +6401,6 @@ var instanceId = 0; type: String, default: 'id' }, - /** * z-index of the menu. */ @@ -5158,7 +6456,6 @@ var instanceId = 0; }, computed: { /* eslint-disable valid-jsdoc */ - /** * Normalized nodes that have been selected. * @type {node[]} @@ -5166,35 +6463,31 @@ var instanceId = 0; selectedNodes: function selectedNodes() { return this.forest.selectedNodeIds.map(this.getNode); }, - /** * Id list of selected nodes with `sortValueBy` prop applied. * @type {nodeId[]} */ internalValue: function internalValue() { var _this = this; + var internalValue; - var internalValue; // istanbul ignore else - + // istanbul ignore else if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) { internalValue = this.forest.selectedNodeIds.slice(); } else if (this.valueConsistsOf === BRANCH_PRIORITY) { internalValue = this.forest.selectedNodeIds.filter(function (id) { var node = _this.getNode(id); - if (node.isRootNode) return true; return !_this.isSelected(node.parentNode); }); } else if (this.valueConsistsOf === LEAF_PRIORITY) { internalValue = this.forest.selectedNodeIds.filter(function (id) { var node = _this.getNode(id); - if (node.isLeaf) return true; return node.children.length === 0; }); } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) { var _internalValue; - var indeterminateNodeIds = []; internalValue = this.forest.selectedNodeIds.slice(); this.selectedNodes.forEach(function (selectedNode) { @@ -5204,10 +6497,8 @@ var instanceId = 0; indeterminateNodeIds.push(ancestor.id); }); }); - (_internalValue = internalValue).push.apply(_internalValue, indeterminateNodeIds); } - if (this.sortValueBy === LEVEL) { internalValue.sort(function (a, b) { return sortValueByLevel(_this.getNode(a), _this.getNode(b)); @@ -5217,10 +6508,8 @@ var instanceId = 0; return sortValueByIndex(_this.getNode(a), _this.getNode(b)); }); } - return internalValue; }, - /** * Has any option been selected? * @type {boolean} @@ -5228,7 +6517,6 @@ var instanceId = 0; hasValue: function hasValue() { return this.internalValue.length > 0; }, - /** * Single-select mode? * @type {boolean} @@ -5236,7 +6524,6 @@ var instanceId = 0; single: function single() { return !this.multiple; }, - /** * Id list of nodes displayed in the menu. Nodes that are considered NOT visible: * - descendants of a collapsed branch node @@ -5247,21 +6534,18 @@ var instanceId = 0; */ visibleOptionIds: function visibleOptionIds() { var _this2 = this; - var visibleOptionIds = []; this.traverseAllNodesByIndex(function (node) { if (!_this2.localSearch.active || _this2.shouldOptionBeIncludedInSearchResult(node)) { visibleOptionIds.push(node.id); - } // Skip the traversal of descendants of a branch node if it's not expanded. - - + } + // Skip the traversal of descendants of a branch node if it's not expanded. if (node.isBranch && !_this2.shouldExpand(node)) { return false; } }); return visibleOptionIds; }, - /** * Has any option should be displayed in the menu? * @type {boolean} @@ -5269,7 +6553,6 @@ var instanceId = 0; hasVisibleOptions: function hasVisibleOptions() { return this.visibleOptionIds.length !== 0; }, - /** * Should show children count when searching? * @type {boolean} @@ -5280,7 +6563,6 @@ var instanceId = 0; // https://github.com/vuejs/vue/issues/6358 return typeof this.showCountOnSearch === 'boolean' ? this.showCountOnSearch : this.showCount; }, - /** * Is there any branch node? * @type {boolean} @@ -5292,9 +6574,7 @@ var instanceId = 0; }, shouldFlattenOptions: function shouldFlattenOptions() { return this.localSearch.active && this.flattenSearchResults; - } - /* eslint-enable valid-jsdoc */ - + } /* eslint-enable valid-jsdoc */ }, watch: { alwaysOpen: function alwaysOpen(newValue) { @@ -5311,10 +6591,10 @@ var instanceId = 0; this.initialize(); }, internalValue: function internalValue(newValue, oldValue) { - var hasChanged = quickDiff(newValue, oldValue); // #122 + var hasChanged = quickDiff(newValue, oldValue); + // #122 // Vue would trigger this watcher when `newValue` and `oldValue` are shallow-equal. // We emit the `input` event only when the value actually changes. - if (hasChanged) this.$emit('update:modelValue', this.getValue(), this.getInstanceId()); }, matchKeys: function matchKeys() { @@ -5328,8 +6608,8 @@ var instanceId = 0; }, options: { handler: function handler() { - if (this.async) return; // Re-initialize options when the `options` prop has changed. - + if (this.async) return; + // Re-initialize options when the `options` prop has changed. this.initialize(); this.rootOptionsStates.isLoaded = Array.isArray(this.options); }, @@ -5342,7 +6622,6 @@ var instanceId = 0; } else { this.handleLocalSearch(); } - this.$emit('search-change', this.trigger.searchQuery, this.getInstanceId()); }, value: function value() { @@ -5354,13 +6633,11 @@ var instanceId = 0; methods: { verifyProps: function verifyProps() { var _this3 = this; - warning(function () { return _this3.async ? _this3.searchable : true; }, function () { return 'For async search mode, the value of "searchable" prop must be true.'; }); - if (this.options == null && !this.loadOptions) { warning(function () { return false; @@ -5368,7 +6645,6 @@ var instanceId = 0; return 'Are you meant to dynamically load options? You need to use "loadOptions" prop.'; }); } - if (this.flat) { warning(function () { return _this3.multiple; @@ -5376,7 +6652,6 @@ var instanceId = 0; return 'You are using flat mode. But you forgot to add "multiple=true"?'; }); } - if (!this.flat) { var propNames = ['autoSelectAncestors', 'autoSelectDescendants', 'autoDeselectAncestors', 'autoDeselectDescendants']; propNames.forEach(function (propName) { @@ -5393,19 +6668,18 @@ var instanceId = 0; }, initialize: function initialize() { var options = this.async ? this.getRemoteSearchEntry().options : this.options; - if (Array.isArray(options)) { // In case we are re-initializing options, keep the old state tree temporarily. var prevNodeMap = this.forest.nodeMap; this.forest.nodeMap = createMap(); this.keepDataOfSelectedNodes(prevNodeMap); - this.forest.normalizedOptions = this.normalize(NO_PARENT_NODE, options, prevNodeMap); // Cases that need fixing `selectedNodeIds`: + this.forest.normalizedOptions = this.normalize(NO_PARENT_NODE, options, prevNodeMap); + // Cases that need fixing `selectedNodeIds`: // 1) Children options of a checked node have been delayed loaded, // we should also mark these children as checked. (multi-select mode) // 2) Root options have been delayed loaded, we need to initialize states // of these nodes. (multi-select mode) // 3) Async search mode. - this.fixSelectedNodeIds(this.internalValue); } else { this.forest.normalizedOptions = []; @@ -5416,11 +6690,9 @@ var instanceId = 0; }, getValue: function getValue() { var _this4 = this; - if (this.valueFormat === 'id') { return this.multiple ? this.internalValue.slice() : this.internalValue[0]; } - var rawNodes = this.internalValue.map(function (id) { return _this4.getNode(id).raw; }); @@ -5439,6 +6711,7 @@ var instanceId = 0; // In case there is a default selected node that is not loaded into the tree yet, // we create a fallback node to keep the component working. // When the real data is loaded, we'll override this fake node. + var raw = this.extractNodeFromValue(id); var label = this.enhancedNormalizer(raw).label || "".concat(id, " (unknown)"); var fallbackNode = { @@ -5451,22 +6724,21 @@ var instanceId = 0; isLeaf: true, isBranch: false, isDisabled: false, + childrenIgnoreDisabled: false, isNew: false, index: [-1], level: 0, raw: raw }; - return this.forest.nodeMap[id] = fallbackNode; // return this.$ set(this.forest.nodeMap, id, fallbackNode) + return this.forest.nodeMap[id] = fallbackNode; + // return this.$ set(this.forest.nodeMap, id, fallbackNode) }, extractCheckedNodeIdsFromValue: function extractCheckedNodeIdsFromValue() { var _this5 = this; - if (this.modelValue == null) return []; - if (this.valueFormat === 'id') { return this.multiple ? this.modelValue.slice() : [this.modelValue]; } - return (this.multiple ? this.modelValue : [this.modelValue]).map(function (node) { return _this5.enhancedNormalizer(node); }).map(function (node) { @@ -5475,15 +6747,12 @@ var instanceId = 0; }, extractNodeFromValue: function extractNodeFromValue(id) { var _this6 = this; - var defaultNode = { id: id }; - if (this.valueFormat === 'id') { return defaultNode; } - var valueArray = this.multiple ? Array.isArray(this.modelValue) ? this.modelValue : [] : this.modelValue ? [this.modelValue] : []; var matched = find(valueArray, function (node) { return node && _this6.enhancedNormalizer(node).id === id; @@ -5492,17 +6761,15 @@ var instanceId = 0; }, fixSelectedNodeIds: function fixSelectedNodeIds(nodeIdListOfPrevValue) { var _this7 = this; + var nextSelectedNodeIds = []; - var nextSelectedNodeIds = []; // istanbul ignore else - + // istanbul ignore else if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) { nextSelectedNodeIds = nodeIdListOfPrevValue; } else if (this.valueConsistsOf === BRANCH_PRIORITY) { nodeIdListOfPrevValue.forEach(function (nodeId) { nextSelectedNodeIds.push(nodeId); - var node = _this7.getNode(nodeId); - if (node.isBranch) _this7.traverseDescendantsBFS(node, function (descendant) { nextSelectedNodeIds.push(descendant.id); }); @@ -5510,7 +6777,6 @@ var instanceId = 0; } else if (this.valueConsistsOf === LEAF_PRIORITY) { var map = createMap(); var queue = nodeIdListOfPrevValue.slice(); - while (queue.length) { var nodeId = queue.shift(); var node = this.getNode(nodeId); @@ -5521,45 +6787,36 @@ var instanceId = 0; } } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) { var _map = createMap(); - var _queue = nodeIdListOfPrevValue.filter(function (nodeId) { var node = _this7.getNode(nodeId); - return node.isLeaf || node.children.length === 0; }); - while (_queue.length) { var _nodeId = _queue.shift(); - var _node = this.getNode(_nodeId); - nextSelectedNodeIds.push(_nodeId); if (_node.isRootNode) continue; if (!(_node.parentNode.id in _map)) _map[_node.parentNode.id] = _node.parentNode.children.length; if (--_map[_node.parentNode.id] === 0) _queue.push(_node.parentNode.id); } } - - var hasChanged = quickDiff(this.forest.selectedNodeIds, nextSelectedNodeIds); // If `nextSelectedNodeIds` doesn't actually differ from old `selectedNodeIds`, + var hasChanged = quickDiff(this.forest.selectedNodeIds, nextSelectedNodeIds); + // If `nextSelectedNodeIds` doesn't actually differ from old `selectedNodeIds`, // we don't make the assignment to avoid triggering its watchers which may cause // unnecessary calculations. - if (hasChanged) this.forest.selectedNodeIds = nextSelectedNodeIds; this.buildForestState(); }, keepDataOfSelectedNodes: function keepDataOfSelectedNodes(prevNodeMap) { var _this8 = this; - // In case there is any selected node that is not present in the new `options` array. // It could be useful for async search mode. this.forest.selectedNodeIds.forEach(function (id) { if (!prevNodeMap[id]) return; - var node = _objectSpread2(_objectSpread2({}, prevNodeMap[id]), {}, { isFallbackNode: true - }); // this.$ set(this.forest.nodeMap, id, node) - - + }); + // this.$ set(this.forest.nodeMap, id, node) _this8.forest.nodeMap[id] = node; }); }, @@ -5571,7 +6828,6 @@ var instanceId = 0; // istanbul ignore if if (!parentNode.isBranch) return; var queue = parentNode.children.slice(); - while (queue.length) { var currNode = queue[0]; if (currNode.isBranch) queue.push.apply(queue, _toConsumableArray(currNode.children)); @@ -5581,22 +6837,18 @@ var instanceId = 0; }, traverseDescendantsDFS: function traverseDescendantsDFS(parentNode, callback) { var _this9 = this; - if (!parentNode.isBranch) return; parentNode.children.forEach(function (child) { // deep-level node first _this9.traverseDescendantsDFS(child, callback); - callback(child); }); }, traverseAllNodesDFS: function traverseAllNodesDFS(callback) { var _this10 = this; - this.forest.normalizedOptions.forEach(function (rootNode) { // deep-level node first _this10.traverseDescendantsDFS(rootNode, callback); - callback(rootNode); }); }, @@ -5607,10 +6859,10 @@ var instanceId = 0; walk(child); } }); - }; // To simplify the code logic of traversal, - // we create a fake root node that holds all the root options. - + }; + // To simplify the code logic of traversal, + // we create a fake root node that holds all the root options. walk({ children: this.forest.normalizedOptions }); @@ -5639,18 +6891,15 @@ var instanceId = 0; evt.stopPropagation(); if (this.disabled) return; var isClickedOnValueContainer = this.getValueContainer().$el.contains(evt.target); - if (isClickedOnValueContainer && !this.menu.isOpen && (this.openOnClick || this.trigger.isFocused)) { this.openMenu(); } - if (this._blurOnSelect) { this.blurInput(); } else { // Focus the input or prevent blurring. this.focusInput(); } - this.resetFlags(); }), handleClickOutside: function handleClickOutside(evt) { @@ -5662,32 +6911,30 @@ var instanceId = 0; }, handleLocalSearch: function handleLocalSearch() { var _this11 = this; - var searchQuery = this.trigger.searchQuery; - var done = function done() { return _this11.resetHighlightedOptionWhenNecessary(true); }; - if (!searchQuery) { // Exit sync search mode. this.localSearch.active = false; return done(); - } // Enter sync search mode. - + } - this.localSearch.active = true; // Reset states. + // Enter sync search mode. + this.localSearch.active = true; + // Reset states. this.localSearch.noResults = true; this.traverseAllNodesDFS(function (node) { if (node.isBranch) { - var _this11$localSearch$c; - node.isExpandedOnSearch = false; node.showAllChildrenOnSearch = false; node.isMatched = false; node.hasMatchedDescendants = false; - _this11.localSearch.countMap[node.id] = (_this11$localSearch$c = {}, _defineProperty(_this11$localSearch$c, ALL_CHILDREN, 0), _defineProperty(_this11$localSearch$c, ALL_DESCENDANTS, 0), _defineProperty(_this11$localSearch$c, LEAF_CHILDREN, 0), _defineProperty(_this11$localSearch$c, LEAF_DESCENDANTS, 0), _this11$localSearch$c); // this.$ set(this.localSearch.countMap, node.id, { + _this11.localSearch.countMap[node.id] = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ALL_CHILDREN, 0), ALL_DESCENDANTS, 0), LEAF_CHILDREN, 0), LEAF_DESCENDANTS, 0); + + // this.$ set(this.localSearch.countMap, node.id, { // [ALL_CHILDREN]: 0, // [ALL_DESCENDANTS]: 0, // [LEAF_CHILDREN]: 0, @@ -5707,7 +6954,6 @@ var instanceId = 0; return match(!_this11.disableFuzzyMatching, lowerCasedSearchQuery, node.lowerCased[matchKey]); }); } - if (node.isMatched) { _this11.localSearch.noResults = false; node.ancestors.forEach(function (ancestor) { @@ -5716,14 +6962,12 @@ var instanceId = 0; if (node.isLeaf) node.ancestors.forEach(function (ancestor) { return _this11.localSearch.countMap[ancestor.id][LEAF_DESCENDANTS]++; }); - if (node.parentNode !== NO_PARENT_NODE) { - _this11.localSearch.countMap[node.parentNode.id][ALL_CHILDREN] += 1; // istanbul ignore else - + _this11.localSearch.countMap[node.parentNode.id][ALL_CHILDREN] += 1; + // istanbul ignore else if (node.isLeaf) _this11.localSearch.countMap[node.parentNode.id][LEAF_CHILDREN] += 1; } } - if ((node.isMatched || node.isBranch && node.isExpandedOnSearch) && node.parentNode !== NO_PARENT_NODE) { node.parentNode.isExpandedOnSearch = true; node.parentNode.hasMatchedDescendants = true; @@ -5733,20 +6977,15 @@ var instanceId = 0; }, handleRemoteSearch: function handleRemoteSearch() { var _this12 = this; - var searchQuery = this.trigger.searchQuery; var entry = this.getRemoteSearchEntry(); - var done = function done() { _this12.initialize(); - _this12.resetHighlightedOptionWhenNecessary(true); }; - if ((searchQuery === '' || this.cacheOptions) && entry.isLoaded) { return done(); } - this.callLoadOptionsProp({ action: ASYNC_SEARCH, args: { @@ -5762,9 +7001,9 @@ var instanceId = 0; }, succeed: function succeed(options) { entry.isLoaded = true; - entry.options = options; // When the request completes, the search query may have changed. + entry.options = options; + // When the request completes, the search query may have changed. // We only show these options if they are for the current search query. - if (_this12.trigger.searchQuery === searchQuery) done(); }, fail: function fail(err) { @@ -5777,14 +7016,12 @@ var instanceId = 0; }, getRemoteSearchEntry: function getRemoteSearchEntry() { var _this13 = this; - var searchQuery = this.trigger.searchQuery; - var entry = this.remoteSearch[searchQuery] || _objectSpread2(_objectSpread2({}, createAsyncOptionsStates()), {}, { options: [] - }); // Vue doesn't support directly watching on objects. - + }); + // Vue doesn't support directly watching on objects. this.$watch(function () { return entry.options; }, function () { @@ -5793,7 +7030,6 @@ var instanceId = 0; }, { deep: true }); - if (searchQuery === '') { if (Array.isArray(this.defaultOptions)) { entry.options = this.defaultOptions; @@ -5804,12 +7040,10 @@ var instanceId = 0; return entry; } } - if (!this.remoteSearch[searchQuery]) { // this.$ set(this.remoteSearch, searchQuery, entry) this.remoteSearch[searchQuery] = entry; } - return entry; }, shouldExpand: function shouldExpand(node) { @@ -5817,20 +7051,19 @@ var instanceId = 0; }, shouldOptionBeIncludedInSearchResult: function shouldOptionBeIncludedInSearchResult(node) { // 1) This option is matched. - if (node.isMatched) return true; // 2) This option is not matched, but has matched descendant(s). - - if (node.isBranch && node.hasMatchedDescendants && !this.flattenSearchResults) return true; // 3) This option's parent has no matched descendants, + if (node.isMatched) return true; + // 2) This option is not matched, but has matched descendant(s). + if (node.isBranch && node.hasMatchedDescendants && !this.flattenSearchResults) return true; + // 3) This option's parent has no matched descendants, // but after being expanded, all its children should be shown. - - if (!node.isRootNode && node.parentNode.showAllChildrenOnSearch) return true; // 4) The default case. - + if (!node.isRootNode && node.parentNode.showAllChildrenOnSearch) return true; + // 4) The default case. return false; }, shouldShowOptionInMenu: function shouldShowOptionInMenu(node) { if (this.localSearch.active && !this.shouldOptionBeIncludedInSearchResult(node)) { return false; } - return true; }, getControl: function getControl() { @@ -5842,18 +7075,33 @@ var instanceId = 0; return $menu && $menu.nodeName !== '#comment' ? $menu : null; }, setCurrentHighlightedOption: function setCurrentHighlightedOption(node) { + var _this14 = this; + var scroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; var prev = this.menu.current; - if (prev != null && prev in this.forest.nodeMap) { this.forest.nodeMap[prev].isHighlighted = false; } + this.menu.current = node.id; + node.isHighlighted = true; + if (this.menu.isOpen && scroll) { + var scrollToOption = function scrollToOption() { + var $menu = _this14.getMenu(); + var $option = $menu.querySelector(".vue-treeselect__option[data-id=\"".concat(node.id, "\"]")); + if ($option) scrollIntoView($menu, $option); + }; - this.menu.current = node?.id; + // In case `openMenu()` is just called and the menu is not rendered yet. + if (this.getMenu()) { + scrollToOption(); + } else { + // istanbul ignore next + this.$nextTick(scrollToOption); + } + } }, resetHighlightedOptionWhenNecessary: function resetHighlightedOptionWhenNecessary() { var forceReset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var current = this.menu.current; - if (forceReset || current == null || !(current in this.forest.nodeMap) || !this.shouldShowOptionInMenu(this.getNode(current))) { this.highlightFirstOption(); } @@ -5909,35 +7157,30 @@ var instanceId = 0; }, toggleExpanded: function toggleExpanded(node) { var nextState; - if (this.localSearch.active) { nextState = node.isExpandedOnSearch = !node.isExpandedOnSearch; if (nextState) node.showAllChildrenOnSearch = true; } else { nextState = node.isExpanded = !node.isExpanded; } - if (nextState && !node.childrenStates.isLoaded) { this.loadChildrenOptions(node); } }, buildForestState: function buildForestState() { var _this15 = this; - var selectedNodeMap = createMap(); this.forest.selectedNodeIds.forEach(function (selectedNodeId) { selectedNodeMap[selectedNodeId] = true; }); this.forest.selectedNodeMap = selectedNodeMap; var checkedStateMap = createMap(); - if (this.multiple) { this.traverseAllNodesByIndex(function (node) { checkedStateMap[node.id] = UNCHECKED; }); this.selectedNodes.forEach(function (selectedNode) { checkedStateMap[selectedNode.id] = CHECKED; - if (!_this15.flat && !_this15.disableBranchNodes) { selectedNode.ancestors.forEach(function (ancestorNode) { if (!_this15.isSelected(ancestorNode)) { @@ -5947,7 +7190,6 @@ var instanceId = 0; } }); } - this.forest.checkedStateMap = checkedStateMap; }, enhancedNormalizer: function enhancedNormalizer(raw) { @@ -5955,35 +7197,31 @@ var instanceId = 0; }, normalize: function normalize(parentNode, nodes, prevNodeMap) { var _this16 = this; - var normalizedOptions = nodes.map(function (node) { return [_this16.enhancedNormalizer(node), node]; }).map(function (_ref, index) { var _ref2 = _slicedToArray(_ref, 2), - node = _ref2[0], - raw = _ref2[1]; - + node = _ref2[0], + raw = _ref2[1]; _this16.checkDuplication(node); - _this16.verifyNodeShape(node); - var id = node.id, - label = node.label, - children = node.children, - isDefaultExpanded = node.isDefaultExpanded; + label = node.label, + children = node.children, + isDefaultExpanded = node.isDefaultExpanded; var isRootNode = parentNode === NO_PARENT_NODE; var level = isRootNode ? 0 : parentNode.level + 1; var isBranch = Array.isArray(children) || children === null; var isLeaf = !isBranch; - var isDisabled = !!node.isDisabled || !_this16.flat && !isRootNode && parentNode.isDisabled; + var childrenIgnoreDisabled = node.childrenIgnoreDisabled; + var isDisabled = !!node.isDisabled || !_this16.flat && !isRootNode && parentNode.isDisabled && !parentNode.childrenIgnoreDisabled; var isNew = !!node.isNew; - var lowerCased = _this16.matchKeys.reduce(function (prev, key) { return _objectSpread2(_objectSpread2({}, prev), {}, _defineProperty({}, key, stringifyOptionPropValue(node[key]).toLocaleLowerCase())); }, {}); + var nestedSearchLabel = isRootNode ? lowerCased.label : parentNode.nestedSearchLabel + ' ' + lowerCased.label; - var nestedSearchLabel = isRootNode ? lowerCased.label : parentNode.nestedSearchLabel + ' ' + lowerCased.label; // this.$ set(this.forest.nodeMap, id, createMap()) - + // this.$ set(this.forest.nodeMap, id, createMap()) _this16.forest.nodeMap[id] = createMap(); var normalized = _this16.forest.nodeMap[id]; normalized.id = id; @@ -5994,6 +7232,7 @@ var instanceId = 0; normalized.parentNode = parentNode; normalized.lowerCased = lowerCased; normalized.nestedSearchLabel = nestedSearchLabel; + normalized.childrenIgnoreDisabled = childrenIgnoreDisabled; normalized.isDisabled = isDisabled; normalized.isNew = isNew; normalized.isMatched = false; @@ -6001,7 +7240,9 @@ var instanceId = 0; normalized.isBranch = isBranch; normalized.isLeaf = isLeaf; normalized.isRootNode = isRootNode; - normalized.raw = raw; // this.$ set(normalized, 'id', id) + normalized.raw = raw; + + // this.$ set(normalized, 'id', id) // this.$ set(normalized, 'label', label) // this.$ set(normalized, 'level', level) // this.$ set(normalized, 'ancestors', isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors)) @@ -6019,20 +7260,22 @@ var instanceId = 0; // this.$ set(normalized, 'raw', raw) if (isBranch) { - var _normalized$count; + var isLoaded = Array.isArray(children); - var isLoaded = Array.isArray(children); // this.$ set(normalized, 'childrenStates', { + // this.$ set(normalized, 'childrenStates', { // ...createAsyncOptionsStates(), // isLoaded, // }) - normalized.childrenStates = _objectSpread2(_objectSpread2({}, createAsyncOptionsStates()), {}, { isLoaded: isLoaded - }); // this.$ set(normalized, 'isExpanded', typeof isDefaultExpanded === 'boolean' + }); + + // this.$ set(normalized, 'isExpanded', typeof isDefaultExpanded === 'boolean' // ? isDefaultExpanded // : level < this.defaultExpandLevel) + normalized.isExpanded = typeof isDefaultExpanded === 'boolean' ? isDefaultExpanded : level < _this16.defaultExpandLevel; - normalized.isExpanded = typeof isDefaultExpanded === 'boolean' ? isDefaultExpanded : level < _this16.defaultExpandLevel; // this.$ set(normalized, 'hasMatchedDescendants', false) + // this.$ set(normalized, 'hasMatchedDescendants', false) // this.$ set(normalized, 'hasDisabledDescendants', false) // this.$ set(normalized, 'isExpandedOnSearch', false) // this.$ set(normalized, 'showAllChildrenOnSearch', false) @@ -6045,20 +7288,19 @@ var instanceId = 0; // this.$ set(normalized, 'children', isLoaded // ? this.normalize(normalized, children, prevNodeMap) // : []) - normalized.hasMatchedDescendants = false; normalized.hasDisabledDescendants = false; normalized.isExpandedOnSearch = false; normalized.showAllChildrenOnSearch = false; - normalized.count = (_normalized$count = {}, _defineProperty(_normalized$count, ALL_CHILDREN, 0), _defineProperty(_normalized$count, ALL_DESCENDANTS, 0), _defineProperty(_normalized$count, LEAF_CHILDREN, 0), _defineProperty(_normalized$count, LEAF_DESCENDANTS, 0), _normalized$count); // this.$ set(normalized, 'children', isLoaded + normalized.count = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ALL_CHILDREN, 0), ALL_DESCENDANTS, 0), LEAF_CHILDREN, 0), LEAF_DESCENDANTS, 0); + + // this.$ set(normalized, 'children', isLoaded // ? this.normalize(normalized, children, prevNodeMap) // : []) - normalized.children = isLoaded ? _this16.normalize(normalized, children, prevNodeMap) : []; if (isDefaultExpanded === true) normalized.ancestors.forEach(function (ancestor) { ancestor.isExpanded = true; }); - if (!isLoaded && typeof _this16.loadOptions !== 'function') { warning(function () { return false; @@ -6069,46 +7311,42 @@ var instanceId = 0; _this16.loadChildrenOptions(normalized); } } - normalized.ancestors.forEach(function (ancestor) { return ancestor.count[ALL_DESCENDANTS]++; }); if (isLeaf) normalized.ancestors.forEach(function (ancestor) { return ancestor.count[LEAF_DESCENDANTS]++; }); - if (!isRootNode) { parentNode.count[ALL_CHILDREN] += 1; if (isLeaf) parentNode.count[LEAF_CHILDREN] += 1; if (isDisabled) parentNode.hasDisabledDescendants = true; - } // Preserve previous states. - + } + // Preserve previous states. if (prevNodeMap && prevNodeMap[id]) { var prev = prevNodeMap[id]; normalized.isMatched = prev.isMatched; normalized.showAllChildrenOnSearch = prev.showAllChildrenOnSearch; normalized.isHighlighted = prev.isHighlighted; - if (prev.isBranch && normalized.isBranch) { normalized.isExpanded = prev.isExpanded; - normalized.isExpandedOnSearch = prev.isExpandedOnSearch; // #97 + normalized.isExpandedOnSearch = prev.isExpandedOnSearch; + // #97 // If `isLoaded` was true, but IS NOT now, we consider this branch node // to be reset to unloaded state by the user of this component. - if (prev.childrenStates.isLoaded && !normalized.childrenStates.isLoaded) { // Make sure the node is collapsed, then the user can load its // children again (by expanding). - normalized.isExpanded = false; // We have reset `childrenStates` and don't want to preserve states here. + normalized.isExpanded = false; + // We have reset `childrenStates` and don't want to preserve states here. } else { normalized.childrenStates = _objectSpread2({}, prev.childrenStates); } } } - return normalized; }); - if (this.branchNodesFirst) { var branchNodes = normalizedOptions.filter(function (option) { return option.isBranch; @@ -6118,12 +7356,10 @@ var instanceId = 0; }); normalizedOptions = branchNodes.concat(leafNodes); } - return normalizedOptions; }, loadRootOptions: function loadRootOptions() { var _this17 = this; - this.callLoadOptionsProp({ action: LOAD_ROOT_OPTIONS, isPending: function isPending() { @@ -6134,8 +7370,8 @@ var instanceId = 0; _this17.rootOptionsStates.loadingError = ''; }, succeed: function succeed() { - _this17.rootOptionsStates.isLoaded = true; // Wait for `options` being re-initialized. - + _this17.rootOptionsStates.isLoaded = true; + // Wait for `options` being re-initialized. _this17.$nextTick(function () { _this17.resetHighlightedOptionWhenNecessary(true); }); @@ -6150,11 +7386,11 @@ var instanceId = 0; }, loadChildrenOptions: function loadChildrenOptions(parentNode) { var _this18 = this; - // The options may be re-initialized anytime during the loading process. // So `parentNode` can be stale and we use `getNode()` to avoid that. + var id = parentNode.id, - raw = parentNode.raw; + raw = parentNode.raw; this.callLoadOptionsProp({ action: LOAD_CHILDREN_OPTIONS, args: { @@ -6184,17 +7420,15 @@ var instanceId = 0; }, callLoadOptionsProp: function callLoadOptionsProp(_ref3) { var action = _ref3.action, - args = _ref3.args, - isPending = _ref3.isPending, - start = _ref3.start, - succeed = _ref3.succeed, - fail = _ref3.fail, - end = _ref3.end; - + args = _ref3.args, + isPending = _ref3.isPending, + start = _ref3.start, + succeed = _ref3.succeed, + fail = _ref3.fail, + end = _ref3.end; if (!this.loadOptions || isPending()) { return; } - start(); var callback = once_default()(function (err, result) { if (err) { @@ -6202,7 +7436,6 @@ var instanceId = 0; } else { succeed(result); } - end(); }); var result = this.loadOptions(_objectSpread2(_objectSpread2({ @@ -6212,7 +7445,6 @@ var instanceId = 0; }, args), {}, { callback: callback })); - if (is_promise_default()(result)) { result.then(function () { callback(); @@ -6226,7 +7458,6 @@ var instanceId = 0; }, checkDuplication: function checkDuplication(node) { var _this19 = this; - warning(function () { return !(node.id in _this19.forest.nodeMap && !_this19.forest.nodeMap[node.id].isFallbackNode); }, function () { @@ -6244,34 +7475,28 @@ var instanceId = 0; if (this.disabled || node.isDisabled) { return; } - if (this.single) { this.clear(); } - var nextState = this.multiple && !this.flat ? this.forest.checkedStateMap[node.id] === UNCHECKED : !this.isSelected(node); - if (nextState) { this._selectNode(node); } else { this._deselectNode(node); } - this.buildForestState(); - if (nextState) { this.$emit('select', node.raw, this.getInstanceId()); } else { this.$emit('deselect', node.raw, this.getInstanceId()); } - if (this.localSearch.active && nextState && (this.single || this.clearOnSelect)) { this.resetSearchQuery(); } - if (this.single && this.closeOnSelect) { - this.closeMenu(); // istanbul ignore else + this.closeMenu(); + // istanbul ignore else if (this.searchable) { this._blurOnSelect = true; } @@ -6279,32 +7504,25 @@ var instanceId = 0; }, clear: function clear() { var _this20 = this; - if (this.hasValue) { if (this.single || this.allowClearingDisabled) { this.forest.selectedNodeIds = []; - } else - /* if (this.multiple && !this.allowClearingDisabled) */ - { + } else /* if (this.multiple && !this.allowClearingDisabled) */{ this.forest.selectedNodeIds = this.forest.selectedNodeIds.filter(function (nodeId) { return _this20.getNode(nodeId).isDisabled; }); } - this.buildForestState(); } }, // This is meant to be called only by `select()`. _selectNode: function _selectNode(node) { var _this21 = this; - if (this.single || this.disableBranchNodes) { return this.addValue(node); } - if (this.flat) { this.addValue(node); - if (this.autoSelectAncestors) { node.ancestors.forEach(function (ancestor) { if (!_this21.isSelected(ancestor) && !ancestor.isDisabled) _this21.addValue(ancestor); @@ -6314,20 +7532,12 @@ var instanceId = 0; if (!_this21.isSelected(descendant) && !descendant.isDisabled) _this21.addValue(descendant); }); } - return; } - - var isFullyChecked = node.isLeaf || - /* node.isBranch && */ - !node.hasDisabledDescendants || - /* node.isBranch && */ - this.allowSelectingDisabledDescendants; - + var isFullyChecked = node.isLeaf || ( /* node.isBranch && */!node.hasDisabledDescendants) || ( /* node.isBranch && */this.allowSelectingDisabledDescendants); if (isFullyChecked) { this.addValue(node); } - if (node.isBranch) { this.traverseDescendantsBFS(node, function (descendant) { if (!descendant.isDisabled || _this21.allowSelectingDisabledDescendants) { @@ -6335,26 +7545,21 @@ var instanceId = 0; } }); } - if (isFullyChecked) { var curr = node; - while ((curr = curr.parentNode) !== NO_PARENT_NODE) { - if (curr.children.every(this.isSelected)) this.addValue(curr);else break; + if (curr.children.every(this.isSelected) && !curr.childrenIgnoreDisabled) this.addValue(curr);else break; } } }, // This is meant to be called only by `select()`. _deselectNode: function _deselectNode(node) { var _this22 = this; - if (this.disableBranchNodes) { return this.removeValue(node); } - if (this.flat) { this.removeValue(node); - if (this.autoDeselectAncestors) { node.ancestors.forEach(function (ancestor) { if (_this22.isSelected(ancestor) && !ancestor.isDisabled) _this22.removeValue(ancestor); @@ -6364,30 +7569,20 @@ var instanceId = 0; if (_this22.isSelected(descendant) && !descendant.isDisabled) _this22.removeValue(descendant); }); } - return; } - var hasUncheckedSomeDescendants = false; - if (node.isBranch) { this.traverseDescendantsDFS(node, function (descendant) { if (!descendant.isDisabled || _this22.allowSelectingDisabledDescendants) { _this22.removeValue(descendant); - hasUncheckedSomeDescendants = true; } }); } - - if (node.isLeaf || - /* node.isBranch && */ - hasUncheckedSomeDescendants || - /* node.isBranch && */ - node.children.length === 0) { + if (node.isLeaf || /* node.isBranch && */hasUncheckedSomeDescendants || /* node.isBranch && */node.children.length === 0) { this.removeValue(node); var curr = node; - while ((curr = curr.parentNode) !== NO_PARENT_NODE) { if (this.isSelected(curr)) this.removeValue(curr);else break; } @@ -6409,13 +7604,13 @@ var instanceId = 0; this.select(lastSelectedNode); // deselect }, saveMenuScrollPosition: function saveMenuScrollPosition() { - var $menu = this.getMenu(); // istanbul ignore else - + var $menu = this.getMenu(); + // istanbul ignore else if ($menu) this.menu.lastScrollPosition = $menu.scrollTop; }, restoreMenuScrollPosition: function restoreMenuScrollPosition() { - var $menu = this.getMenu(); // istanbul ignore else - + var $menu = this.getMenu(); + // istanbul ignore else if ($menu) $menu.scrollTop = this.menu.lastScrollPosition; } }, @@ -6437,21 +7632,21 @@ var instanceId = 0; // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.join.js var es_array_join = __webpack_require__("a15b"); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/HiddenFields.vue?vue&type=script&lang=js +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/HiddenFields.vue?vue&type=script&lang=js -function stringifyValue(value) { - if (typeof value === 'string') return value; // istanbul ignore else - - if (value != null && !isNaN_isNaN(value)) return JSON.stringify(value); // istanbul ignore next +function stringifyValue(value) { + if (typeof value === 'string') return value; + // istanbul ignore else + if (value != null && !isNaN_isNaN(value)) return JSON.stringify(value); + // istanbul ignore next return ''; } - /* harmony default export */ var HiddenFieldsvue_type_script_lang_js = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ name: 'vue-treeselect--hidden-fields', inject: ['instance'], @@ -6476,9 +7671,11 @@ function stringifyValue(value) { -/* harmony default export */ var HiddenFields = (HiddenFieldsvue_type_script_lang_js); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js -var es_object_to_string = __webpack_require__("d3b7"); +const __exports__ = HiddenFieldsvue_type_script_lang_js; + +/* harmony default export */ var HiddenFields = (__exports__); +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.to-string.js +var es_error_to_string = __webpack_require__("d401"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js var es_regexp_to_string = __webpack_require__("25f0"); @@ -6493,32 +7690,14 @@ var es_object_get_prototype_of = __webpack_require__("3410"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js var es_object_keys = __webpack_require__("b64b"); -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -function _typeof(obj) { - "@babel/helpers - typeof"; - - 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); -} // CONCATENATED MODULE: ./src/utils/deepExtend.js - function isPlainObject(value) { if (value == null || _typeof(value) !== 'object') return false; return Object.getPrototypeOf(value) === Object.prototype; } - function copy(obj, key, value) { if (isPlainObject(value)) { obj[key] || (obj[key] = {}); @@ -6527,20 +7706,16 @@ function copy(obj, key, value) { obj[key] = value; } } - function deepExtend(target, source) { if (isPlainObject(source)) { var keys = Object.keys(source); - for (var i = 0, len = keys.length; i < len; i++) { copy(target, keys[i], source[keys[i]]); } } - return target; } -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Input.vue?vue&type=script&lang=js - +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Input.vue?vue&type=script&lang=js @@ -6551,7 +7726,6 @@ function deepExtend(target, source) { function _isSlot(s) { return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !Object(external_commonjs_vue_commonjs2_vue_root_Vue_["isVNode"])(s); } - var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HOME, KEY_CODES.ARROW_LEFT, KEY_CODES.ARROW_UP, KEY_CODES.ARROW_RIGHT, KEY_CODES.ARROW_DOWN]; /* harmony default export */ var Inputvue_type_script_lang_js = ({ name: 'vue-treeselect--input', @@ -6598,7 +7772,6 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO }, focus: function focus() { var instance = this.instance; - if (!instance.disabled) { this.$refs.input && this.$refs.input.focus(); } @@ -6608,26 +7781,25 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO }, onFocus: function onFocus() { var instance = this.instance; - instance.trigger.isFocused = true; // istanbul ignore else - + instance.trigger.isFocused = true; + // istanbul ignore else if (instance.openOnFocus) instance.openMenu(); }, onBlur: function onBlur() { var instance = this.instance; - var menu = instance.getMenu(); // #15 - // istanbul ignore next + var menu = instance.getMenu(); + // #15 + // istanbul ignore next if (menu && document.activeElement === menu) { return this.focus(); } - instance.trigger.isFocused = false; instance.closeMenu(); }, onInput: function onInput(evt) { var value = evt.target.value; this.value = value; - if (value) { this.debouncedCallback(); } else { @@ -6637,29 +7809,23 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO }, // 用 keyUp 事件存在一个问题,删除输入框最后一个字符也会导致取消选中最后一项 onKeyDown: function onKeyDown(evt) { - var instance = this.instance; // https://css-tricks.com/snippets/javascript/javascript-keycodes/ + var instance = this.instance; + // https://css-tricks.com/snippets/javascript/javascript-keycodes/ // https://stackoverflow.com/questions/4471582/javascript-keycode-vs-which - - var key = 'which' in evt ? evt.which : - /* istanbul ignore next */ - evt.keyCode; + var key = 'which' in evt ? evt.which : /* istanbul ignore next */evt.keyCode; if (evt.ctrlKey || evt.shiftKey || evt.altKey || evt.metaKey) return; - if (!instance.menu.isOpen && includes(keysThatRequireMenuBeingOpen, key)) { evt.preventDefault(); return instance.openMenu(); } - switch (key) { case KEY_CODES.BACKSPACE: { if (instance.backspaceRemoves && !this.value.length) { instance.removeLastValue(); } - break; } - case KEY_CODES.ENTER: { evt.preventDefault(); @@ -6669,7 +7835,6 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO instance.select(current); break; } - case KEY_CODES.ESCAPE: { if (this.value.length) { @@ -6677,74 +7842,27 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO } else if (instance.menu.isOpen) { instance.closeMenu(); } - - break; - } - - case KEY_CODES.END: - { - evt.preventDefault(); - instance.highlightLastOption(); - break; - } - - case KEY_CODES.HOME: - { - evt.preventDefault(); - instance.highlightFirstOption(); - break; - } - - case KEY_CODES.ARROW_LEFT: - { - var _current = instance.getNode(instance.menu.current); - - if (_current.isBranch && instance.shouldExpand(_current)) { - evt.preventDefault(); - instance.toggleExpanded(_current); - } else if (!_current.isRootNode && (_current.isLeaf || _current.isBranch && !instance.shouldExpand(_current))) { - evt.preventDefault(); - instance.setCurrentHighlightedOption(_current.parentNode); - } - break; } - case KEY_CODES.ARROW_UP: { evt.preventDefault(); instance.highlightPrevOption(); break; } - - case KEY_CODES.ARROW_RIGHT: - { - var _current2 = instance.getNode(instance.menu.current); - - if (_current2.isBranch && !instance.shouldExpand(_current2)) { - evt.preventDefault(); - instance.toggleExpanded(_current2); - } - - break; - } - case KEY_CODES.ARROW_DOWN: { evt.preventDefault(); instance.highlightNextOption(); break; } - case KEY_CODES.DELETE: { if (instance.deleteRemoves && !this.value.length) { instance.removeLastValue(); } - break; } - default: { // istanbul ignore else @@ -6761,16 +7879,14 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO } }, renderInputContainer: function renderInputContainer() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; var props = {}; var children = []; - if (instance.searchable && !instance.disabled) { children.push(this.renderInput()); if (this.needAutoSize) children.push(this.renderSizer()); } - if (!instance.searchable) { deepExtend(props, { on: { @@ -6781,7 +7897,6 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO ref: 'input' }); } - if (!instance.searchable && !instance.disabled) { deepExtend(props, { attrs: { @@ -6789,7 +7904,6 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO } }); } - return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["mergeProps"])({ "class": "vue-treeselect__input-container" }, props), _isSlot(children) ? children : { @@ -6799,7 +7913,7 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO }); }, renderInput: function renderInput() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("input", { "ref": "input", @@ -6818,7 +7932,7 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO }, null); }, renderSizer: function renderSizer() { - // var h = this.$createElement; + var h = this.$createElement; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "ref": "sizer", "class": "vue-treeselect__sizer" @@ -6840,8 +7954,10 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO -/* harmony default export */ var Input = (Inputvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Placeholder.vue?vue&type=script&lang=js +const Input_exports_ = Inputvue_type_script_lang_js; + +/* harmony default export */ var Input = (Input_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Placeholder.vue?vue&type=script&lang=js /* harmony default export */ var Placeholdervue_type_script_lang_js = ({ name: 'vue-treeselect--placeholder', @@ -6863,8 +7979,10 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO -/* harmony default export */ var Placeholder = (Placeholdervue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/SingleValue.vue?vue&type=script&lang=js +const Placeholder_exports_ = Placeholdervue_type_script_lang_js; + +/* harmony default export */ var Placeholder = (Placeholder_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/SingleValue.vue?vue&type=script&lang=js @@ -6884,7 +8002,7 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO render: function render() { var h = arguments[0]; var instance = this.instance, - renderValueContainer = this.$parent.renderValueContainer; + renderValueContainer = this.$parent.renderValueContainer; var shouldShowValue = instance.hasValue && !instance.trigger.searchQuery; return renderValueContainer([shouldShowValue && Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__single-value" @@ -6897,34 +8015,39 @@ var keysThatRequireMenuBeingOpen = [KEY_CODES.ENTER, KEY_CODES.END, KEY_CODES.HO -/* harmony default export */ var SingleValue = (SingleValuevue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/icons/Delete.vue?vue&type=template&id=12b4a02e +const SingleValue_exports_ = SingleValuevue_type_script_lang_js; + +/* harmony default export */ var SingleValue = (SingleValue_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icons/Delete.vue?vue&type=template&id=12b4a02e var _hoisted_1 = { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 348.333 348.333" }; - var _hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("path", { d: "M336.559 68.611L231.016 174.165l105.543 105.549c15.699 15.705 15.699 41.145 0 56.85-7.844 7.844-18.128 11.769-28.407 11.769-10.296 0-20.581-3.919-28.419-11.769L174.167 231.003 68.609 336.563c-7.843 7.844-18.128 11.769-28.416 11.769-10.285 0-20.563-3.919-28.413-11.769-15.699-15.698-15.699-41.139 0-56.85l105.54-105.549L11.774 68.611c-15.699-15.699-15.699-41.145 0-56.844 15.696-15.687 41.127-15.687 56.829 0l105.563 105.554L279.721 11.767c15.705-15.687 41.139-15.687 56.832 0 15.705 15.699 15.705 41.145.006 56.844z" }, null, -1); - function Deletevue_type_template_id_12b4a02e_render(_ctx, _cache, $props, $setup, $data, $options) { return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("svg", _hoisted_1, [_hoisted_2]); } -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/icons/Delete.vue?vue&type=script&lang=js +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icons/Delete.vue?vue&type=script&lang=js /* harmony default export */ var Deletevue_type_script_lang_js = ({ name: 'vue-treeselect--x' }); +// EXTERNAL MODULE: ./node_modules/vue-loader-v16/dist/exportHelper.js +var exportHelper = __webpack_require__("6b0d"); +var exportHelper_default = /*#__PURE__*/__webpack_require__.n(exportHelper); + // CONCATENATED MODULE: ./src/components/icons/Delete.vue -Deletevue_type_script_lang_js.render = Deletevue_type_template_id_12b4a02e_render -/* harmony default export */ var Delete = (Deletevue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/MultiValueItem.vue?vue&type=script&lang=js +const Delete_exports_ = /*#__PURE__*/exportHelper_default()(Deletevue_type_script_lang_js, [['render',Deletevue_type_template_id_12b4a02e_render]]) + +/* harmony default export */ var Delete = (Delete_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/MultiValueItem.vue?vue&type=script&lang=js @@ -6934,7 +8057,6 @@ Deletevue_type_script_lang_js.render = Deletevue_type_template_id_12b4a02e_rende function MultiValueItemvue_type_script_lang_js_isSlot(s) { return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !Object(external_commonjs_vue_commonjs2_vue_root_Vue_["isVNode"])(s); } - /* harmony default export */ var MultiValueItemvue_type_script_lang_js = ({ name: 'vue-treeselect--multi-value-item', inject: ['instance'], @@ -6947,15 +8069,16 @@ function MultiValueItemvue_type_script_lang_js_isSlot(s) { methods: { handleMouseDown: onLeftClick(function handleMouseDown() { var instance = this.instance, - node = this.node; // Deselect this node. + node = this.node; + // Deselect this node. instance.select(node); }) }, render: function render() { var h = arguments[0]; var instance = this.instance, - node = this.node; + node = this.node; var itemClass = { 'vue-treeselect__multi-value-item': true, 'vue-treeselect__multi-value-item-disabled': node.isDisabled, @@ -6985,9 +8108,10 @@ function MultiValueItemvue_type_script_lang_js_isSlot(s) { -/* harmony default export */ var MultiValueItem = (MultiValueItemvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/MultiValue.vue?vue&type=script&lang=js +const MultiValueItem_exports_ = MultiValueItemvue_type_script_lang_js; +/* harmony default export */ var MultiValueItem = (MultiValueItem_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/MultiValue.vue?vue&type=script&lang=js @@ -6999,7 +8123,7 @@ function MultiValueItemvue_type_script_lang_js_isSlot(s) { inject: ['instance'], methods: { renderMultiValueItems: function renderMultiValueItems() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; return instance.internalValue.slice(0, instance.limit).map(instance.getNode).map(function (node) { return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(MultiValueItem, { @@ -7009,7 +8133,7 @@ function MultiValueItemvue_type_script_lang_js_isSlot(s) { }); }, renderExceedLimitTip: function renderExceedLimitTip() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; var count = instance.internalValue.length - instance.limit; if (count <= 0) return null; @@ -7022,10 +8146,9 @@ function MultiValueItemvue_type_script_lang_js_isSlot(s) { } }, render: function render() { - var _this = this; - var h = arguments[0]; - var renderValueContainer = this.$parent.renderValueContainer; // const transitionGroupProps = { + var renderValueContainer = this.$parent.renderValueContainer; + // const transitionGroupProps = { // props: { // tag: 'div', // name: 'vue-treeselect__multi-value-item--transition', @@ -7033,43 +8156,39 @@ function MultiValueItemvue_type_script_lang_js_isSlot(s) { // }, // } - return renderValueContainer(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("transition-group"), { + return renderValueContainer(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__multi-value", "tag": "div", "name": "vue-treeselect__multi-value-item--transition", "appear": true - }, { - default: function _default() { - return [_this.renderMultiValueItems(), _this.renderExceedLimitTip(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Placeholder, { - "key": "placeholder" - }, null), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Input, { - "ref": "input", - "key": "input" - }, null)]; - } - })); + }, [this.renderMultiValueItems(), this.renderExceedLimitTip(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Placeholder, { + "key": "placeholder" + }, null), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Input, { + "ref": "input", + "key": "input" + }, null)])); } }); // CONCATENATED MODULE: ./src/components/MultiValue.vue -/* harmony default export */ var MultiValue = (MultiValuevue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/icons/Arrow.vue?vue&type=template&id=5d5151cb +const MultiValue_exports_ = MultiValuevue_type_script_lang_js; + +/* harmony default export */ var MultiValue = (MultiValue_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icons/Arrow.vue?vue&type=template&id=5d5151cb var Arrowvue_type_template_id_5d5151cb_hoisted_1 = { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 292.362 292.362" }; - var Arrowvue_type_template_id_5d5151cb_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("path", { d: "M286.935 69.377c-3.614-3.617-7.898-5.424-12.848-5.424H18.274c-4.952 0-9.233 1.807-12.85 5.424C1.807 72.998 0 77.279 0 82.228c0 4.948 1.807 9.229 5.424 12.847l127.907 127.907c3.621 3.617 7.902 5.428 12.85 5.428s9.233-1.811 12.847-5.428L286.935 95.074c3.613-3.617 5.427-7.898 5.427-12.847 0-4.948-1.814-9.229-5.427-12.85z" }, null, -1); - function Arrowvue_type_template_id_5d5151cb_render(_ctx, _cache, $props, $setup, $data, $options) { return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("svg", Arrowvue_type_template_id_5d5151cb_hoisted_1, [Arrowvue_type_template_id_5d5151cb_hoisted_2]); } -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/icons/Arrow.vue?vue&type=script&lang=js +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icons/Arrow.vue?vue&type=script&lang=js /* harmony default export */ var Arrowvue_type_script_lang_js = ({ name: 'vue-treeselect--arrow' }); @@ -7077,11 +8196,12 @@ function Arrowvue_type_template_id_5d5151cb_render(_ctx, _cache, $props, $setup, -Arrowvue_type_script_lang_js.render = Arrowvue_type_template_id_5d5151cb_render -/* harmony default export */ var Arrow = (Arrowvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Control.vue?vue&type=script&lang=js +const Arrow_exports_ = /*#__PURE__*/exportHelper_default()(Arrowvue_type_script_lang_js, [['render',Arrowvue_type_template_id_5d5151cb_render]]) + +/* harmony default export */ var Arrow = (Arrow_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Control.vue?vue&type=script&lang=js @@ -7095,13 +8215,11 @@ Arrowvue_type_script_lang_js.render = Arrowvue_type_template_id_5d5151cb_render function Controlvue_type_script_lang_js_isSlot(s) { return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !Object(external_commonjs_vue_commonjs2_vue_root_Vue_["isVNode"])(s); } - /* harmony default export */ var Controlvue_type_script_lang_js = ({ name: 'vue-treeselect--control', inject: ['instance'], computed: { /* eslint-disable valid-jsdoc */ - /** * Should show the "×" button that resets value? * @return {boolean} @@ -7110,19 +8228,17 @@ function Controlvue_type_script_lang_js_isSlot(s) { var instance = this.instance; return instance.clearable && !instance.disabled && instance.hasValue && (this.hasUndisabledValue || instance.allowClearingDisabled); }, - /** * Should show the arrow button that toggles menu? * @return {boolean} */ shouldShowArrow: function shouldShowArrow() { var instance = this.instance; - if (!instance.alwaysOpen) return true; // Even with `alwaysOpen: true`, sometimes the menu is still closed, + if (!instance.alwaysOpen) return true; + // Even with `alwaysOpen: true`, sometimes the menu is still closed, // e.g. when the control is disabled. - return !instance.menu.isOpen; }, - /** * Has any undisabled option been selected? * @type {boolean} @@ -7132,13 +8248,11 @@ function Controlvue_type_script_lang_js_isSlot(s) { return instance.hasValue && instance.internalValue.some(function (id) { return !instance.getNode(id).isDisabled; }); - } - /* eslint-enable valid-jsdoc */ - + } /* eslint-enable valid-jsdoc */ }, methods: { renderX: function renderX() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; var title = instance.multiple ? instance.clearAllText : instance.clearValueText; if (!this.shouldShowX) return null; @@ -7151,7 +8265,7 @@ function Controlvue_type_script_lang_js_isSlot(s) { }, null)]); }, renderArrow: function renderArrow() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; var arrowClass = { 'vue-treeselect__control-arrow': true, @@ -7174,15 +8288,14 @@ function Controlvue_type_script_lang_js_isSlot(s) { * class, since we are targeting to support IE9 without the * need of any polyfill. */ + evt.stopPropagation(); evt.preventDefault(); var instance = this.instance; var result = instance.beforeClearAll(); - var handler = function handler(shouldClear) { if (shouldClear) instance.clear(); }; - if (is_promise_default()(result)) { // The handler will be called async. result.then(handler); @@ -7190,7 +8303,8 @@ function Controlvue_type_script_lang_js_isSlot(s) { // Keep the same behavior here. setTimeout(function () { return handler(result); - }, 0); // Also, note that IE9 requires: + }, 0); + // Also, note that IE9 requires: // setTimeout(() => fn(...args), delay) // Instead of: // setTimeout(fn, delay, ...args) @@ -7199,14 +8313,15 @@ function Controlvue_type_script_lang_js_isSlot(s) { handleMouseDownOnArrow: onLeftClick(function handleMouseDownOnArrow(evt) { evt.preventDefault(); evt.stopPropagation(); - var instance = this.instance; // Focus the input or prevent blurring. + var instance = this.instance; + // Focus the input or prevent blurring. instance.focusInput(); instance.toggleMenu(); }), // This is meant to be called by child `` component. renderValueContainer: function renderValueContainer(children) { - // var h = this.$createElement; + var h = this.$createElement; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__value-container" }, Controlvue_type_script_lang_js_isSlot(children) ? children : { @@ -7232,7 +8347,9 @@ function Controlvue_type_script_lang_js_isSlot(s) { -/* harmony default export */ var Control = (Controlvue_type_script_lang_js); +const Control_exports_ = Controlvue_type_script_lang_js; + +/* harmony default export */ var Control = (Control_exports_); // CONCATENATED MODULE: ./node_modules/watch-size/index.es.mjs var index_es_index = (function (element, listener) { var expand = document.createElement('_'); @@ -7296,29 +8413,27 @@ var index_es_index = (function (element, listener) { + + var intervalId; var registered = []; var INTERVAL_DURATION = 100; - function run() { intervalId = setInterval(function () { registered.forEach(test); }, INTERVAL_DURATION); } - function stop() { clearInterval(intervalId); intervalId = null; } - function test(item) { var $el = item.$el, - listener = item.listener, - lastWidth = item.lastWidth, - lastHeight = item.lastHeight; + listener = item.listener, + lastWidth = item.lastWidth, + lastHeight = item.lastHeight; var width = $el.offsetWidth; var height = $el.offsetHeight; - if (lastWidth !== width || lastHeight !== height) { item.lastWidth = width; item.lastHeight = height; @@ -7328,7 +8443,6 @@ function test(item) { }); } } - function watchSizeForIE9($el, listener) { var item = { $el: $el, @@ -7336,64 +8450,60 @@ function watchSizeForIE9($el, listener) { lastWidth: null, lastHeight: null }; - var unwatch = function unwatch() { removeFromArray(registered, item); if (!registered.length) stop(); }; - - registered.push(item); // The original watch-size will call the listener on initialization. + registered.push(item); + // The original watch-size will call the listener on initialization. // Keep the same behavior here. - test(item); run(); return unwatch; } - function watchSize($el, listener) { // See: https://stackoverflow.com/a/31293352 - var isIE9 = document.documentMode === 9; // watch-size will call the listener on initialization. + var isIE9 = document.documentMode === 9; + // watch-size will call the listener on initialization. // Disable this behavior with a lock to achieve a clearer code logic. - var locked = true; - var wrappedListener = function wrappedListener() { return locked || listener.apply(void 0, arguments); }; - var implementation = isIE9 ? watchSizeForIE9 : index_es; var removeSizeWatcher = implementation($el, wrappedListener); locked = false; // unlock after initialization return removeSizeWatcher; } +// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js +var es_regexp_test = __webpack_require__("00b4"); + // CONCATENATED MODULE: ./src/utils/setupResizeAndScrollEventListeners.js + + + function findScrollParents($el) { var $scrollParents = []; var $parent = $el.parentNode; - while ($parent && $parent.nodeName !== 'BODY' && $parent.nodeType === document.ELEMENT_NODE) { if (isScrollElment($parent)) $scrollParents.push($parent); $parent = $parent.parentNode; } - $scrollParents.push(window); return $scrollParents; } - function isScrollElment($el) { // Firefox wants us to check `-x` and `-y` variations as well var _getComputedStyle = getComputedStyle($el), - overflow = _getComputedStyle.overflow, - overflowX = _getComputedStyle.overflowX, - overflowY = _getComputedStyle.overflowY; - + overflow = _getComputedStyle.overflow, + overflowX = _getComputedStyle.overflowX, + overflowY = _getComputedStyle.overflowY; return /(auto|scroll|overlay)/.test(overflow + overflowY + overflowX); } - function setupResizeAndScrollEventListeners($el, listener) { var $scrollParents = findScrollParents($el); window.addEventListener('resize', listener, { @@ -7415,8 +8525,7 @@ function setupResizeAndScrollEventListeners($el, listener) { }); }; } -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Tip.vue?vue&type=script&lang=js - +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Tip.vue?vue&type=script&lang=js /* harmony default export */ var Tipvue_type_script_lang_js = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ name: 'vue-treeselect--tip', @@ -7434,7 +8543,7 @@ function setupResizeAndScrollEventListeners($el, listener) { render: function render(context) { var h = arguments[0]; var type = this.type, - icon = this.icon; + icon = this.icon; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__tip vue-treeselect__".concat(type, "-tip") }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { @@ -7450,11 +8559,10 @@ function setupResizeAndScrollEventListeners($el, listener) { -/* harmony default export */ var Tip = (Tipvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Option.vue?vue&type=script&lang=js - - +const Tip_exports_ = Tipvue_type_script_lang_js; +/* harmony default export */ var Tip = (Tip_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Option.vue?vue&type=script&lang=js @@ -7468,7 +8576,6 @@ function setupResizeAndScrollEventListeners($el, listener) { function Optionvue_type_script_lang_js_isSlot(s) { return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !Object(external_commonjs_vue_commonjs2_vue_root_Vue_["isVNode"])(s); } - var arrowPlaceholder, checkMark, minusMark; var Option = { name: 'vue-treeselect--option', @@ -7482,20 +8589,20 @@ var Option = { computed: { shouldExpand: function shouldExpand() { var instance = this.instance, - node = this.node; + node = this.node; return node.isBranch && instance.shouldExpand(node); }, shouldShow: function shouldShow() { var instance = this.instance, - node = this.node; + node = this.node; return instance.shouldShowOptionInMenu(node); } }, methods: { renderOption: function renderOption() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; var optionClass = { 'vue-treeselect__option': true, 'vue-treeselect__option--disabled': node.isDisabled, @@ -7511,21 +8618,18 @@ var Option = { }, [this.renderArrow(), this.renderLabelContainer([this.renderCheckboxContainer([this.renderCheckbox()]), this.renderLabel()])]); }, renderSubOptionsList: function renderSubOptionsList() { - // var h = this.$createElement; + var h = this.$createElement; if (!this.shouldExpand) return null; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__list" }, [this.renderSubOptions(), this.renderNoChildrenTip(), this.renderLoadingChildrenTip(), this.renderLoadingChildrenErrorTip()]); }, renderArrow: function renderArrow() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; if (instance.shouldFlattenOptions && this.shouldShow) return null; - if (node.isBranch) { - var _slot; - var arrowClass = { 'vue-treeselect__option-arrow': true, 'vue-treeselect__option-arrow--rotated': this.shouldExpand @@ -7533,34 +8637,27 @@ var Option = { return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__option-arrow-container", "onMousedown": this.handleMouseDownOnArrow - }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("transition"), { + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "name": "vue-treeselect__option-arrow--prepare", "appear": true - }, Optionvue_type_script_lang_js_isSlot(_slot = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Arrow, { + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Arrow, { "class": arrowClass - }, null)) ? _slot : { - default: function _default() { - return [_slot]; - } - })]); - } // For leaf nodes, we render a placeholder to keep its label aligned to + }, null)])]); + } + + // For leaf nodes, we render a placeholder to keep its label aligned to // branch nodes. Unless there is no branch nodes at all (a normal // non-tree select). - - - if ( - /*node.isLeaf && */ - instance.hasBranchNodes) { + if ( /*node.isLeaf && */instance.hasBranchNodes) { if (!arrowPlaceholder) arrowPlaceholder = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__option-arrow-placeholder" }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("\xA0")]); return arrowPlaceholder; } - return null; }, renderLabelContainer: function renderLabelContainer(children) { - // var h = this.$createElement; + var h = this.$createElement; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__label-container", "onMousedown": this.handleMouseDownOnLabelContainer @@ -7571,9 +8668,9 @@ var Option = { }); }, renderCheckboxContainer: function renderCheckboxContainer(children) { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; if (instance.single) return null; if (instance.disableBranchNodes && node.isBranch) return null; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { @@ -7585,9 +8682,9 @@ var Option = { }); }, renderCheckbox: function renderCheckbox() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; var checkedState = instance.forest.checkedStateMap[node.id]; var checkboxClass = { 'vue-treeselect__checkbox': true, @@ -7607,9 +8704,9 @@ var Option = { }, [checkMark, minusMark]); }, renderLabel: function renderLabel() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; var shouldShowCount = node.isBranch && (instance.localSearch.active ? instance.showCountOnSearchComputed : instance.showCount); var count = shouldShowCount ? instance.localSearch.active ? instance.localSearch.countMap[node.id][instance.showCountOf] : node.count[instance.showCountOf] : NaN; var labelClassName = 'vue-treeselect__label'; @@ -7629,7 +8726,7 @@ var Option = { }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("("), count, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(")")])]); }, renderSubOptions: function renderSubOptions() { - // var h = this.$createElement; + var h = this.$createElement; var node = this.node; if (!node.childrenStates.isLoaded) return null; return node.children.map(function (childNode) { @@ -7640,9 +8737,9 @@ var Option = { }); }, renderNoChildrenTip: function renderNoChildrenTip() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; if (!node.childrenStates.isLoaded || node.children.length) return null; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "no-children", @@ -7654,9 +8751,9 @@ var Option = { }); }, renderLoadingChildrenTip: function renderLoadingChildrenTip() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; if (!node.childrenStates.isLoading) return null; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "loading", @@ -7669,10 +8766,9 @@ var Option = { }, renderLoadingChildrenErrorTip: function renderLoadingChildrenErrorTip() { var _this = this; - - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance, - node = this.node; + node = this.node; if (!node.childrenStates.loadingError) return null; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "error", @@ -7689,21 +8785,21 @@ var Option = { }, handleMouseEnterOption: function handleMouseEnterOption(evt) { var instance = this.instance, - node = this.node; // Equivalent to `self` modifier. - // istanbul ignore next + node = this.node; + // Equivalent to `self` modifier. + // istanbul ignore next if (evt.target !== evt.currentTarget) return; instance.setCurrentHighlightedOption(node, false); }, handleMouseDownOnArrow: onLeftClick(function handleMouseDownOnOptionArrow() { var instance = this.instance, - node = this.node; + node = this.node; instance.toggleExpanded(node); }), handleMouseDownOnLabelContainer: onLeftClick(function handleMouseDownOnLabelContainer() { var instance = this.instance, - node = this.node; - + node = this.node; if (node.isBranch && instance.disableBranchNodes) { instance.toggleExpanded(node); } else { @@ -7712,55 +8808,41 @@ var Option = { }), handleMouseDownOnRetry: onLeftClick(function handleMouseDownOnRetry() { var instance = this.instance, - node = this.node; + node = this.node; instance.loadChildrenOptions(node); }) }, render: function render() { - var _slot2; - var h = arguments[0]; var node = this.node; var indentLevel = this.instance.shouldFlattenOptions ? 0 : node.level; - var listItemClass = _defineProperty({ 'vue-treeselect__list-item': true }, "vue-treeselect__indent-level-".concat(indentLevel), true); - return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": listItemClass - }, [this.renderOption(), node.isBranch ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("transition"), { + }, [this.renderOption(), node.isBranch ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "name": "vue-treeselect__list--transition" - }, Optionvue_type_script_lang_js_isSlot(_slot2 = this.renderSubOptionsList()) ? _slot2 : { - default: function _default() { - return [_slot2]; - } - }) : '']); + }, [this.renderSubOptionsList()]) : '']); } -}; // eslint-disable-next-line vue/require-direct-export +}; +// eslint-disable-next-line vue/require-direct-export /* harmony default export */ var Optionvue_type_script_lang_js = (Option); // CONCATENATED MODULE: ./src/components/Option.vue -/* harmony default export */ var components_Option = (Optionvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Menu.vue?vue&type=script&lang=js - - - - +const Option_exports_ = Optionvue_type_script_lang_js; +/* harmony default export */ var components_Option = (Option_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Menu.vue?vue&type=script&lang=js -function Menuvue_type_script_lang_js_isSlot(s) { - return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !Object(external_commonjs_vue_commonjs2_vue_root_Vue_["isVNode"])(s); -} - var directionMap = { top: 'top', bottom: 'bottom', @@ -7807,7 +8889,7 @@ var directionMap = { }, methods: { renderMenu: function renderMenu() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; if (!instance.menu.isOpen) return null; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { @@ -7829,7 +8911,6 @@ var directionMap = { }, renderNormalMenuInner: function renderNormalMenuInner() { var instance = this.instance; - if (instance.rootOptionsStates.isLoading) { return this.renderLoadingOptionsTip(); } else if (instance.rootOptionsStates.loadingError) { @@ -7842,7 +8923,6 @@ var directionMap = { }, renderLocalSearchMenuInner: function renderLocalSearchMenuInner() { var instance = this.instance; - if (instance.rootOptionsStates.isLoading) { return this.renderLoadingOptionsTip(); } else if (instance.rootOptionsStates.loadingError) { @@ -7860,7 +8940,6 @@ var directionMap = { var entry = instance.getRemoteSearchEntry(); var shouldShowSearchPromptTip = instance.trigger.searchQuery === '' && !instance.defaultOptions; var shouldShowNoResultsTip = shouldShowSearchPromptTip ? false : entry.isLoaded && entry.options.length === 0; - if (shouldShowSearchPromptTip) { return this.renderSearchPromptTip(); } else if (entry.isLoading) { @@ -7874,7 +8953,7 @@ var directionMap = { } }, renderOptionList: function renderOptionList() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "class": "vue-treeselect__list" @@ -7886,7 +8965,7 @@ var directionMap = { })]); }, renderSearchPromptTip: function renderSearchPromptTip() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "search-prompt", @@ -7898,7 +8977,7 @@ var directionMap = { }); }, renderLoadingOptionsTip: function renderLoadingOptionsTip() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "loading", @@ -7910,7 +8989,7 @@ var directionMap = { }); }, renderLoadingRootOptionsErrorTip: function renderLoadingRootOptionsErrorTip() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "error", @@ -7926,9 +9005,11 @@ var directionMap = { }); }, renderAsyncSearchLoadingErrorTip: function renderAsyncSearchLoadingErrorTip() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; - var entry = instance.getRemoteSearchEntry(); // TODO: retryTitle? + var entry = instance.getRemoteSearchEntry(); + + // TODO: retryTitle? return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "error", @@ -7944,7 +9025,7 @@ var directionMap = { }); }, renderNoAvailableOptionsTip: function renderNoAvailableOptionsTip() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "no-options", @@ -7956,7 +9037,7 @@ var directionMap = { }); }, renderNoResultsTip: function renderNoResultsTip() { - // var h = this.$createElement; + var h = this.$createElement; var instance = this.instance; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Tip, { "type": "no-results", @@ -7990,7 +9071,6 @@ var directionMap = { var isControlInViewport = controlRect.top >= 0 && controlRect.top <= viewportHeight || controlRect.top < 0 && controlRect.bottom > 0; var hasEnoughSpaceBelow = spaceBelow > menuHeight + MENU_BUFFER; var hasEnoughSpaceAbove = spaceAbove > menuHeight + MENU_BUFFER; - if (!isControlInViewport) { instance.closeMenu(); } else if (instance.openDirection !== 'auto') { @@ -8003,8 +9083,9 @@ var directionMap = { }, setupMenuSizeWatcher: function setupMenuSizeWatcher() { var instance = this.instance; - var $menu = instance.getMenu(); // istanbul ignore next + var $menu = instance.getMenu(); + // istanbul ignore next if (this.menuSizeWatcher) return; this.menuSizeWatcher = { remove: watchSize($menu, this.adjustMenuOpenDirection) @@ -8012,8 +9093,9 @@ var directionMap = { }, setupMenuResizeAndScrollEventListeners: function setupMenuResizeAndScrollEventListeners() { var instance = this.instance; - var $control = instance.getControl(); // istanbul ignore next + var $control = instance.getControl(); + // istanbul ignore next if (this.menuResizeAndScrollEventListeners) return; this.menuResizeAndScrollEventListeners = { remove: setupResizeAndScrollEventListeners($control, this.adjustMenuOpenDirection) @@ -8031,28 +9113,24 @@ var directionMap = { } }, render: function render() { - var _slot; - var h = arguments[0]; return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "ref": "menu-container", "class": "vue-treeselect__menu-container", "style": this.menuContainerStyle - }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("transition"), { + }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", { "name": "vue-treeselect__menu--transition" - }, Menuvue_type_script_lang_js_isSlot(_slot = this.renderMenu()) ? _slot : { - default: function _default() { - return [_slot]; - } - })]); + }, [this.renderMenu()])]); } }); // CONCATENATED MODULE: ./src/components/Menu.vue -/* harmony default export */ var Menu = (Menuvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/MenuPortal.vue?vue&type=script&lang=js +const Menu_exports_ = Menuvue_type_script_lang_js; + +/* harmony default export */ var Menu = (Menu_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/MenuPortal.vue?vue&type=script&lang=js @@ -8095,8 +9173,9 @@ var PortalTarget = { }, setupControlResizeAndScrollEventListeners: function setupControlResizeAndScrollEventListeners() { var instance = this.instance; - var $control = instance.getControl(); // istanbul ignore next + var $control = instance.getControl(); + // istanbul ignore next if (this.controlResizeAndScrollEventListeners) return; this.controlResizeAndScrollEventListeners = { remove: setupResizeAndScrollEventListeners($control, this.updateMenuContainerOffset) @@ -8104,15 +9183,14 @@ var PortalTarget = { }, setupControlSizeWatcher: function setupControlSizeWatcher() { var _this = this; - var instance = this.instance; - var $control = instance.getControl(); // istanbul ignore next + var $control = instance.getControl(); + // istanbul ignore next if (this.controlSizeWatcher) return; this.controlSizeWatcher = { remove: watchSize($control, function () { _this.updateWidth(); - _this.updateMenuContainerOffset(); }) }; @@ -8147,8 +9225,9 @@ var PortalTarget = { var transformVariations = ['transform', 'webkitTransform', 'MozTransform', 'msTransform']; var transform = find(transformVariations, function (t) { return t in document.body.style; - }); // IE9 doesn't support `translate3d()`. + }); + // IE9 doesn't support `translate3d()`. menuContainerStyle[transform] = "translate(".concat(left, ", ").concat(top, ")"); } }, @@ -8190,7 +9269,8 @@ var placeholder; this.portalTarget = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createApp"])(_objectSpread2({ parent: this }, PortalTarget)); - this.portalTarget.mount(el); // this.portalTarget = new Vue({ + this.portalTarget.mount(el); + // this.portalTarget = new Vue({ // el, // parent: this, // ...PortalTarget, @@ -8215,8 +9295,10 @@ var placeholder; -/* harmony default export */ var MenuPortal = (MenuPortalvue_type_script_lang_js); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Treeselect.vue?vue&type=script&lang=js +const MenuPortal_exports_ = MenuPortalvue_type_script_lang_js; + +/* harmony default export */ var MenuPortal = (MenuPortal_exports_); +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Treeselect.vue?vue&type=script&lang=js @@ -8249,7 +9331,9 @@ var placeholder; 'vue-treeselect--append-to-body': this.appendToBody }; } - } // render() { + } + + // render() { // return ( //
// @@ -8258,15 +9342,16 @@ var placeholder; //
// ) // }, - })); // CONCATENATED MODULE: ./src/components/Treeselect.vue -Treeselectvue_type_script_lang_js.render = Treeselectvue_type_template_id_4fa337e8_render -/* harmony default export */ var Treeselect = (Treeselectvue_type_script_lang_js); + +const Treeselect_exports_ = /*#__PURE__*/exportHelper_default()(Treeselectvue_type_script_lang_js, [['render',Treeselectvue_type_template_id_4fa337e8_render]]) + +/* harmony default export */ var Treeselect = (Treeselect_exports_); // EXTERNAL MODULE: ./styles/style.less var style = __webpack_require__("d15f"); @@ -8292,30 +9377,30 @@ var style = __webpack_require__("d15f"); "use strict"; var $ = __webpack_require__("23e7"); -var isObject = __webpack_require__("861d"); var isArray = __webpack_require__("e8b5"); +var isConstructor = __webpack_require__("68ee"); +var isObject = __webpack_require__("861d"); var toAbsoluteIndex = __webpack_require__("23cb"); -var toLength = __webpack_require__("50c4"); +var lengthOfArrayLike = __webpack_require__("07fa"); var toIndexedObject = __webpack_require__("fc6a"); var createProperty = __webpack_require__("8418"); var wellKnownSymbol = __webpack_require__("b622"); var arrayMethodHasSpeciesSupport = __webpack_require__("1dde"); -var arrayMethodUsesToLength = __webpack_require__("ae40"); +var nativeSlice = __webpack_require__("f36a"); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); -var USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 }); var SPECIES = wellKnownSymbol('species'); -var nativeSlice = [].slice; +var $Array = Array; var max = Math.max; // `Array.prototype.slice` method // https://tc39.es/ecma262/#sec-array.prototype.slice // fallback for not array-like ES3 strings and DOM objects -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { slice: function slice(start, end) { var O = toIndexedObject(this); - var length = toLength(O.length); + var length = lengthOfArrayLike(O); var k = toAbsoluteIndex(start, length); var fin = toAbsoluteIndex(end === undefined ? length : end, length); // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible @@ -8323,17 +9408,17 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT if (isArray(O)) { Constructor = O.constructor; // cross-realm fallback - if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) { + if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) { Constructor = undefined; } else if (isObject(Constructor)) { Constructor = Constructor[SPECIES]; if (Constructor === null) Constructor = undefined; } - if (Constructor === Array || Constructor === undefined) { - return nativeSlice.call(O, k, fin); + if (Constructor === $Array || Constructor === undefined) { + return nativeSlice(O, k, fin); } } - result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); + result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0)); for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); result.length = n; return result; @@ -8346,6 +9431,8 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGT /***/ "fc6a": /***/ (function(module, exports, __webpack_require__) { +"use strict"; + // toObject with fallback for non-array-like ES3 strings var IndexedObject = __webpack_require__("44ad"); var requireObjectCoercible = __webpack_require__("1d80"); @@ -8355,10 +9442,31 @@ module.exports = function (it) { }; +/***/ }), + +/***/ "fce3": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__("d039"); +var global = __webpack_require__("da84"); + +// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError +var $RegExp = global.RegExp; + +module.exports = fails(function () { + var re = $RegExp('.', 's'); + return !(re.dotAll && re.test('\n') && re.flags === 's'); +}); + + /***/ }), /***/ "fdbc": -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; // iterable DOM collections // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods @@ -8402,12 +9510,13 @@ module.exports = { /***/ "fdbf": /***/ (function(module, exports, __webpack_require__) { -var NATIVE_SYMBOL = __webpack_require__("4930"); +"use strict"; + +/* eslint-disable es/no-symbol -- required for testing */ +var NATIVE_SYMBOL = __webpack_require__("04f8"); module.exports = NATIVE_SYMBOL - // eslint-disable-next-line no-undef && !Symbol.sham - // eslint-disable-next-line no-undef && typeof Symbol.iterator == 'symbol'; diff --git a/dist/vue3-treeselect.umd.js.map b/dist/vue3-treeselect.umd.js.map index 590db13..9220c0e 100644 --- a/dist/vue3-treeselect.umd.js.map +++ b/dist/vue3-treeselect.umd.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://vue3-treeselect/webpack/universalModuleDefinition","webpack://vue3-treeselect/webpack/bootstrap","webpack://vue3-treeselect/./node_modules/core-js/internals/to-string-tag-support.js","webpack://vue3-treeselect/./node_modules/lodash/_getRawTag.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-bind-context.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.flat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-substitution.js","webpack://vue3-treeselect/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.split.js","webpack://vue3-treeselect/./node_modules/lodash/isObjectLike.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.reduce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://vue3-treeselect/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-for-each.js","webpack://vue3-treeselect/./node_modules/lodash/isObject.js","webpack://vue3-treeselect/./node_modules/core-js/internals/html.js","webpack://vue3-treeselect/./node_modules/core-js/internals/a-function.js","webpack://vue3-treeselect/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue3-treeselect/./node_modules/lodash/once.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue3-treeselect/./node_modules/core-js/internals/export.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://vue3-treeselect/./node_modules/is-promise/index.js","webpack://vue3-treeselect/./node_modules/lodash/_objectToString.js","webpack://vue3-treeselect/./node_modules/lodash/_root.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue3-treeselect/./node_modules/fuzzysearch/index.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue3-treeselect/./node_modules/lodash/_baseGetTag.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-define-properties.js","webpack://vue3-treeselect/./node_modules/core-js/internals/a-possible-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.unscopables.flat.js","webpack://vue3-treeselect/./node_modules/lodash/now.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/path.js","webpack://vue3-treeselect/./node_modules/lodash/last.js","webpack://vue3-treeselect/./node_modules/core-js/internals/indexed-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/add-to-unscopables.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-regexp.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.some.js","webpack://vue3-treeselect/./node_modules/core-js/internals/species-constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/native-symbol.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.trim.js","webpack://vue3-treeselect/./node_modules/lodash/toInteger.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-includes.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.filter.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.sort.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-length.js","webpack://vue3-treeselect/./node_modules/core-js/internals/has.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.replace.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared.js","webpack://vue3-treeselect/./node_modules/core-js/internals/own-keys.js","webpack://vue3-treeselect/./node_modules/lodash/_freeGlobal.js","webpack://vue3-treeselect/./node_modules/core-js/internals/whitespaces.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-trim.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-is-node.js","webpack://vue3-treeselect/./node_modules/lodash/toFinite.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-multibyte.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-species-create.js","webpack://vue3-treeselect/./node_modules/core-js/internals/internal-state.js","webpack://vue3-treeselect/./node_modules/core-js/internals/redefine.js","webpack://vue3-treeselect/./node_modules/core-js/internals/inherit-if-required.js","webpack://vue3-treeselect/./node_modules/lodash/constant.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue3-treeselect/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-create.js","webpack://vue3-treeselect/./node_modules/core-js/internals/native-weak-map.js","webpack://vue3-treeselect/./node_modules/core-js/internals/an-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/descriptors.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-property.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/inspect-source.js","webpack://vue3-treeselect/./node_modules/core-js/internals/advance-string-index.js","webpack://vue3-treeselect/external {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://vue3-treeselect/./node_modules/core-js/internals/uid.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-exec.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-forced.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.concat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-define-property.js","webpack://vue3-treeselect/./node_modules/lodash/_Symbol.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.join.js","webpack://vue3-treeselect/./node_modules/core-js/internals/flatten-into-array.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.splice.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.every.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-is-strict.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-integer.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.number.constructor.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.exec.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-flags.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-uses-to-length.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-to-string.js","webpack://vue3-treeselect/./node_modules/lodash/debounce.js","webpack://vue3-treeselect/./node_modules/lodash/toNumber.js","webpack://vue3-treeselect/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-iteration.js","webpack://vue3-treeselect/./node_modules/lodash/noop.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-primitive.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-pure.js","webpack://vue3-treeselect/./node_modules/core-js/internals/classof-raw.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared-store.js","webpack://vue3-treeselect/(webpack)/buildin/global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-trim-forced.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.index-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue3-treeselect/./node_modules/core-js/internals/document-create-element.js","webpack://vue3-treeselect/./node_modules/lodash/identity.js","webpack://vue3-treeselect/./node_modules/core-js/internals/set-global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/hidden-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/fails.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-built-in.js","webpack://vue3-treeselect/./styles/style.less?71e1","webpack://vue3-treeselect/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.to-string.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-reduce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.map.js","webpack://vue3-treeselect/./node_modules/core-js/internals/global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-keys.js","webpack://vue3-treeselect/./node_modules/lodash/before.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://vue3-treeselect/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-array.js","webpack://vue3-treeselect/./node_modules/core-js/internals/classof.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared-key.js","webpack://vue3-treeselect/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue3-treeselect/./src/components/Treeselect.vue","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack://vue3-treeselect/./src/utils/isNaN.js","webpack://vue3-treeselect/./src/utils/includes.js","webpack://vue3-treeselect/./src/utils/createMap.js","webpack://vue3-treeselect/./src/utils/quickDiff.js","webpack://vue3-treeselect/./src/utils/warning.js","webpack://vue3-treeselect/./src/utils/find.js","webpack://vue3-treeselect/./src/utils/onLeftClick.js","webpack://vue3-treeselect/./src/utils/scrollIntoView.js","webpack://vue3-treeselect/./src/utils/removeFromArray.js","webpack://vue3-treeselect/./src/constants.js","webpack://vue3-treeselect/./src/mixins/treeselectMixin.js","webpack://vue3-treeselect/./src/components/HiddenFields.vue","webpack://vue3-treeselect/./src/components/HiddenFields.vue?fd65","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://vue3-treeselect/./src/utils/deepExtend.js","webpack://vue3-treeselect/./src/components/Input.vue","webpack://vue3-treeselect/./src/components/Input.vue?3c3f","webpack://vue3-treeselect/./src/components/Placeholder.vue","webpack://vue3-treeselect/./src/components/Placeholder.vue?7a81","webpack://vue3-treeselect/./src/components/SingleValue.vue","webpack://vue3-treeselect/./src/components/SingleValue.vue?79da","webpack://vue3-treeselect/./src/components/icons/Delete.vue","webpack://vue3-treeselect/./src/components/icons/Delete.vue?0d08","webpack://vue3-treeselect/./src/components/MultiValueItem.vue","webpack://vue3-treeselect/./src/components/MultiValueItem.vue?e2c9","webpack://vue3-treeselect/./src/components/MultiValue.vue","webpack://vue3-treeselect/./src/components/MultiValue.vue?60e5","webpack://vue3-treeselect/./src/components/icons/Arrow.vue","webpack://vue3-treeselect/./src/components/icons/Arrow.vue?159d","webpack://vue3-treeselect/./src/components/Control.vue","webpack://vue3-treeselect/./src/components/Control.vue?146e","webpack://vue3-treeselect/./node_modules/watch-size/index.es.mjs","webpack://vue3-treeselect/./src/utils/watchSize.js","webpack://vue3-treeselect/./src/utils/setupResizeAndScrollEventListeners.js","webpack://vue3-treeselect/./src/components/Tip.vue","webpack://vue3-treeselect/./src/components/Tip.vue?5c1c","webpack://vue3-treeselect/./src/components/Option.vue","webpack://vue3-treeselect/./src/components/Option.vue?a930","webpack://vue3-treeselect/./src/components/Menu.vue","webpack://vue3-treeselect/./src/components/Menu.vue?8317","webpack://vue3-treeselect/./src/components/MenuPortal.vue","webpack://vue3-treeselect/./src/components/MenuPortal.vue?9e65","webpack://vue3-treeselect/./src/components/Treeselect.vue?5ba3","webpack://vue3-treeselect/./src/index.js","webpack://vue3-treeselect/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.slice.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/dom-iterables.js","webpack://vue3-treeselect/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue3-treeselect/./node_modules/lodash/isSymbol.js"],"names":["_arrayWithHoles","arr","Array","isArray","_iterableToArrayLimit","i","Symbol","iterator","Object","_arr","_n","_d","_e","undefined","_i","_s","next","done","push","value","length","err","_arrayLikeToArray","len","arr2","_unsupportedIterableToArray","o","minLen","arrayLikeToArray","n","prototype","toString","call","slice","constructor","name","from","test","_nonIterableRest","TypeError","_slicedToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","_defineProperty","obj","key","defineProperty","enumerable","configurable","writable","_arrayWithoutHoles","_iterableToArray","iter","_nonIterableSpread","_toConsumableArray","arrayWithoutHoles","iterableToArray","nonIterableSpread","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","apply","_objectSpread2","target","arguments","source","forEach","getOwnPropertyDescriptors","defineProperties","isNaN","x","includes","arrOrStr","elem","indexOf","createMap","create","quickDiff","arrA","arrB","warning","process","noop","find","predicate","ctx","onLeftClick","mouseDownHandler","onMouseDown","evt","type","button","args","scrollIntoView","$scrollingEl","$focusedEl","scrollingReact","getBoundingClientRect","focusedRect","overScroll","offsetHeight","bottom","scrollTop","Math","min","offsetTop","clientHeight","scrollHeight","top","max","removeFromArray","idx","splice","NO_PARENT_NODE","UNCHECKED","INDETERMINATE","CHECKED","ALL_CHILDREN","ALL_DESCENDANTS","LEAF_CHILDREN","LEAF_DESCENDANTS","LOAD_ROOT_OPTIONS","LOAD_CHILDREN_OPTIONS","ASYNC_SEARCH","ALL","BRANCH_PRIORITY","LEAF_PRIORITY","ALL_WITH_INDETERMINATE","ORDER_SELECTED","LEVEL","INDEX","KEY_CODES","BACKSPACE","ENTER","ESCAPE","END","HOME","ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN","DELETE","INPUT_DEBOUNCE_DELAY","MIN_INPUT_WIDTH","MENU_BUFFER","sortValueByIndex","a","b","level","index","sortValueByLevel","createAsyncOptionsStates","isLoaded","isLoading","loadingError","stringifyOptionPropValue","match","enableFuzzyMatch","needle","haystack","fuzzysearch","getErrorMessage","message","String","instanceId","provide","instance","props","allowClearingDisabled","Boolean","default","allowSelectingDisabledDescendants","alwaysOpen","appendToBody","async","autoFocus","autoLoadRootOptions","autoDeselectAncestors","autoDeselectDescendants","autoSelectAncestors","autoSelectDescendants","backspaceRemoves","beforeClearAll","Function","constant","branchNodesFirst","cacheOptions","clearable","clearAllText","clearOnSelect","clearValueText","closeOnSelect","defaultExpandLevel","Number","defaultOptions","deleteRemoves","delimiter","flattenSearchResults","disableBranchNodes","disabled","disableFuzzyMatching","flat","joinValues","limit","Infinity","limitText","limitTextDefault","count","loadingText","loadOptions","matchKeys","maxHeight","multiple","noChildrenText","noOptionsText","noResultsText","normalizer","identity","openDirection","validator","acceptableValues","openOnClick","openOnFocus","options","placeholder","required","retryText","retryTitle","searchable","searchNested","searchPromptText","showCount","showCountOf","showCountOnSearch","sortValueBy","tabIndex","modelValue","valueConsistsOf","valueFormat","zIndex","data","trigger","isFocused","searchQuery","menu","isOpen","current","lastScrollPosition","placement","forest","normalizedOptions","nodeMap","checkedStateMap","selectedNodeIds","extractCheckedNodeIdsFromValue","selectedNodeMap","rootOptionsStates","localSearch","active","noResults","countMap","remoteSearch","computed","selectedNodes","map","getNode","internalValue","single","id","node","isRootNode","isSelected","parentNode","isLeaf","children","indeterminateNodeIds","selectedNode","ancestors","ancestor","sort","hasValue","visibleOptionIds","traverseAllNodesByIndex","shouldOptionBeIncludedInSearchResult","isBranch","shouldExpand","hasVisibleOptions","showCountOnSearchComputed","hasBranchNodes","some","rootNode","shouldFlattenOptions","watch","newValue","openMenu","closeMenu","initialize","oldValue","hasChanged","$emit","getValue","getInstanceId","buildForestState","handler","deep","immediate","handleRemoteSearch","handleLocalSearch","nodeIdsFromValue","fixSelectedNodeIds","methods","verifyProps","propNames","propName","resetFlags","_blurOnSelect","getRemoteSearchEntry","prevNodeMap","keepDataOfSelectedNodes","normalize","rawNodes","raw","nodeId","createFallbackNode","extractNodeFromValue","label","enhancedNormalizer","fallbackNode","isFallbackNode","isDisabled","isNew","defaultNode","valueArray","matched","nodeIdListOfPrevValue","nextSelectedNodeIds","traverseDescendantsBFS","descendant","queue","shift","callback","currNode","traverseDescendantsDFS","child","traverseAllNodesDFS","walk","toggleClickOutsideEvent","enabled","document","addEventListener","handleClickOutside","removeEventListener","getValueContainer","$refs","control","getInput","input","focusInput","focus","blurInput","blur","handleMouseDown","preventDefault","stopPropagation","isClickedOnValueContainer","$el","contains","wrapper","resetHighlightedOptionWhenNecessary","isExpandedOnSearch","showAllChildrenOnSearch","isMatched","hasMatchedDescendants","lowerCasedSearchQuery","trim","toLocaleLowerCase","splitSearchQuery","replace","split","every","filterValue","nestedSearchLabel","matchKey","lowerCased","entry","callLoadOptionsProp","action","isPending","start","succeed","fail","end","$watch","isExpanded","shouldShowOptionInMenu","getControl","getMenu","ref","portal","portalTarget","$menu","nodeName","setCurrentHighlightedOption","scroll","prev","isHighlighted","scrollToOption","$option","querySelector","$nextTick","forceReset","highlightFirstOption","first","highlightPrevOption","highlightLastOption","highlightNextOption","last","getLast","resetSearchQuery","saveMenuScrollPosition","restoreMenuScrollPosition","loadRootOptions","toggleMenu","toggleExpanded","nextState","childrenStates","loadChildrenOptions","selectedNodeId","ancestorNode","nodes","checkDuplication","verifyNodeShape","isDefaultExpanded","reduce","normalized","concat","hasDisabledDescendants","branchNodes","option","leafNodes","once","result","isPromise","then","catch","console","error","JSON","stringify","select","clear","_selectNode","_deselectNode","addValue","isFullyChecked","curr","removeValue","hasUncheckedSomeDescendants","removeLastValue","lastValue","lastSelectedNode","created","mounted","unmounted","_typeof","isPlainObject","getPrototypeOf","copy","deepExtend","intervalId","registered","INTERVAL_DURATION","run","setInterval","stop","clearInterval","item","listener","lastWidth","lastHeight","width","offsetWidth","height","watchSizeForIE9","unwatch","watchSize","isIE9","documentMode","locked","wrappedListener","implementation","watchSizeForBrowsersOtherThanIE9","removeSizeWatcher","findScrollParents","$scrollParents","$parent","nodeType","ELEMENT_NODE","isScrollElment","window","getComputedStyle","overflow","overflowX","overflowY","setupResizeAndScrollEventListeners","passive","scrollParent","removeEventListeners","$scrollParent","Treeselect"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;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,sBAAsB,mBAAO,CAAC,MAAgC;;AAE9D;AACA;;AAEA;;AAEA;;;;;;;;ACPA,aAAa,mBAAO,CAAC,MAAW;;AAEhC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,MAAyB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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E,yBAAyB,mBAAO,CAAC,MAAmC;AACpE,eAAe,mBAAO,CAAC,MAAwB;AAC/C,qBAAqB,mBAAO,CAAC,MAAmC;AAChE,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,YAAY,mBAAO,CAAC,MAAoB;;AAExC;AACA;AACA;;AAEA;AACA,qCAAqC,iCAAiC,EAAE;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E;AAC/E;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yBAAyB,mBAAmB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACrID;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;AC5Ba;AACb,QAAQ,mBAAO,CAAC,MAAqB;AACrC,cAAc,mBAAO,CAAC,MAA2B;AACjD,0BAA0B,mBAAO,CAAC,MAAqC;AACvE,8BAA8B,mBAAO,CAAC,MAA0C;AAChF,qBAAqB,mBAAO,CAAC,MAAgC;AAC7D,cAAc,mBAAO,CAAC,MAA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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,SAAS;AACtB;AACA;AACA,wCAAwC,SAAS;AACjD;AACA;AACA,WAAW,SAAS,GAAG,SAAS;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACzBA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,6BAA6B,mBAAO,CAAC,MAAuC;;AAE5E;AACA;AACA;AACA;AACA;;;;;;;;ACNA,eAAe,mBAAO,CAAC,MAAwB;AAC/C,uBAAuB,mBAAO,CAAC,MAAuC;AACtE,kBAAkB,mBAAO,CAAC,MAA4B;AACtD,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,WAAW,mBAAO,CAAC,MAAmB;AACtC,4BAA4B,mBAAO,CAAC,MAAsC;AAC1E,gBAAgB,mBAAO,CAAC,MAAyB;;AAEjD;AACA;AACA;AACA;AACA;;AAEA,oCAAoC;;AAEpC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;AC7EA,aAAa,mBAAO,CAAC,MAAqB;AAC1C,oBAAoB,mBAAO,CAAC,MAA6B;;AAEzD;;AAEA;;;;;;;;ACLA,eAAe,mBAAO,CAAC,MAAwB;;AAE/C;AACA;AACA;AACA,GAAG;AACH;;;;;;;;ACNA,YAAY,mBAAO,CAAC,MAAoB;;AAExC;AACA;AACA,iCA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CAAC,MAAqB;AACrC,WAAW,mBAAO,CAAC,MAA0B;;AAE7C;AACA;AACA,GAAG,2DAA2D;AAC9D;AACA,CAAC;;;;;;;;;ACRY;AACb,eAAe,mBAAO,CAAC,MAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA,kBAAkB,mBAAO,CAAC,MAA0B;AACpD,YAAY,mBAAO,CAAC,MAAoB;AACxC,UAAU,mBAAO,CAAC,MAAkB;;AAEpC;AACA;;AAEA,6BAA6B,UAAU;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa;;AAEb,yCAAyC,iCAAiC;AAC1E;;AAEA;AACA,GAAG;AACH;;;;;;;;;AC1Ba;AACb,4BAA4B,mBAAO,CAAC,MAAoC;AACxE,cAAc,mBAAO,CAAC,MAAsB;;AAE5C;AACA;AACA,2CAA2C;AAC3C;AACA;;;;;;;;ACRA,eAAe,mBAAO,CAAC,MAAY;AACnC,UAAU,mBAAO,CAAC,MAAO;AACzB,eAAe,mBAAO,CAAC,MAAY;;AAEnC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,WAAW,OAAO,YAAY;AAC9B,WAAW,QAAQ;AACnB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,8CAA8C,kBAAkB;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC9LA,eAAe,mBAAO,CAAC,MAAY;AACnC,eAAe,mBAAO,CAAC,MAAY;;AAEnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACjEA,aAAa,mBAAO,CAAC,MAAqB;AAC1C,aAAa,mBAAO,CAAC,MAAqB;AAC1C,UAAU,mBAAO,CAAC,MAAkB;AACpC,UAAU,mBAAO,CAAC,MAAkB;AACpC,oBAAoB,mBAAO,CAAC,MAA4B;AACxD,wBAAwB,mBAAO,CAAC,MAAgC;;AAEhE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;AChBA,QAAQ,mBAAO,CAAC,MAAqB;AACrC,eAAe,mBAAO,CAAC,MAAwB;AAC/C,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,YAAY,mBAAO,CAAC,MAAoB;;AAExC,6CAA6C,eAAe,EAAE;;AAE9D;AACA;AACA,GAAG,4DAA4D;AAC/D;AACA;AACA;AACA,CAAC;;;;;;;;ACbD,WAAW,mBAAO,CAAC,MAAoC;AACvD,oBAAoB,mBAAO,CAAC,MAA6B;AACzD,eAAe,mBAAO,CAAC,MAAwB;AAC/C,eAAe,mBAAO,CAAC,MAAwB;AAC/C,yBAAyB,mBAAO,CAAC,MAAmC;;AAEpE;;AAEA,qBAAqB,gEAAgE;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,2CAA2C;AAC3C;AACA,8BAA8B;AAC9B,+BAA+B;AAC/B,+BAA+B;AAC/B,2CAA2C;AAC3C,SAAS;AACT,+BAA+B;AAC/B,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AChBA,eAAe,mBAAO,CAAC,MAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACbA;;;;;;;;ACAA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;ACJA,aAAa,mBAAO,CAAC,MAAqB;AAC1C,gBAAgB,mBAAO,CAAC,MAAyB;;AAEjD;AACA,kDAAkD;;AAElD;;;;;;;;ACNA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C;;;;;;;;ACnBA,YAAY,mBAAO,CAAC,MAAoB;AACxC,kBAAkB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,eAAe,mBAAO,CAAC,MAAwB;AAC/C,yBAAyB,mBAAO,CAAC,MAAmC;;AAEpE;AACA;AACA;AACA;AACA,4DAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACvBD,4BAA4B,mBAAO,CAAC,MAAoC;AACxE,eAAe,mBAAO,CAAC,MAAuB;AAC9C,eAAe,mBAAO,CAAC,MAA+B;;AAEtD;AACA;AACA;AACA,oDAAoD,eAAe;AACnE;;;;;;;;ACRA,gBAAgB,mBAAO,CAAC,MAAyB;AACjD,eAAe,mBAAO,CAAC,MAAwB;AAC/C,oBAAoB,mBAAO,CAAC,MAA6B;AACzD,eAAe,mBAAO,CAAC,MAAwB;;AAE/C,qBAAqB,sBAAsB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,uCAAuC;AACjD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvCa;AACb;AACA,mBAAO,CAAC,MAA2B;AACnC,eAAe,mBAAO,CAAC,MAAuB;AAC9C,YAAY,mBAAO,CAAC,MAAoB;AACxC,sBAAsB,mBAAO,CAAC,MAAgC;AAC9D,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,kCAAkC,mBAAO,CAAC,MAA6C;;AAEvF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,yBAAyB,4CAA4C;AACrE;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,WAAW;AACxD;AACA;AACA;;AAEA,2BAA2B,mBAAmB,aAAa;;AAE3D;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA,gBAAgB;AAChB;AACA,cAAc;AACd,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA,gCAAgC,4CAA4C;AAC5E;AACA;AACA,2BAA2B,uCAAuC;AAClE;AACA;;AAEA;AACA;;;;;;;;;AC5Ha;AACb,QAAQ,mBAAO,CAAC,MAAqB;AACrC,WAAW,mBAAO,CAAC,MAA8B;AACjD,mCAAmC,mBAAO,CAAC,MAA+C;AAC1F,8BAA8B,mBAAO,CAAC,MAA0C;;AAEhF;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG,gFAAgF;AACnF;AACA;AACA;AACA,CAAC;;;;;;;;ACjBD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,aAAa,EAAE;;;;;;;;;ACZ/B,yBAAyB,mBAAO,CAAC,MAAmC;AACpE,kBAAkB,mBAAO,CAAC,MAA4B;;AAEtD;AACA;AACA;AACA;AACA;;;;;;;;ACPA,gBAAgB,mBAAO,CAAC,MAAa;;AAErC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;ACvCA,UAAU,mBAAO,CAAC,MAAkB;AACpC,eAAe,mBAAO,CAAC,MAAwB;AAC/C,gBAAgB,mBAAO,CAAC,MAAyB;AACjD,+BAA+B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AAqB,mBAAO,CAAC,MAA8B;AAC3D,sBAAsB,mBAAO,CAAC,MAAgC;AAC9D,mCAAmC,mBAAO,CAAC,MAA+C;AAC1F,8BAA8B,mBAAO,CAAC,MAA0C;;AAEhF;AACA,uDAAuD,8BAA8B;;AAErF;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG,gFAAgF;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA,CAAC;;;;;;;;AChDD;AACA,oBAAoB,mBAAO,CAAC,MAA6B;AACzD,6BAA6B,mBAAO,CAAC,MAAuC;;AAE5E;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA,oBAAoB,mBAAO,CAAC,MAA4B;;AAExD;AACA;AACA;AACA;AACA;;;;;;;;ACNA,iBAAiB,mBAAO,CAAC,MAAe;AACxC,mBAAmB,mBAAO,CAAC,MAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA","file":"vue3-treeselect.umd.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"vue3-treeselect\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"vue3-treeselect\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__8bbf__) {\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 = \"fb15\");\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));\n return A;\n }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return nativeGetOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar replace = ''.replace;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d\\d?)/g;\n\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\n\nvar arrayPush = [].push;\nvar min = Math.min;\nvar MAX_UINT32 = 0xFFFFFFFF;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output.length > lim ? output.slice(0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n}, !SUPPORTS_Y);\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var classof = require('./classof-raw');\nvar regexpExec = require('./regexp-exec');\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n\n if (classof(R) !== 'RegExp') {\n throw TypeError('RegExp#exec called on incompatible receiver');\n }\n\n return regexpExec.call(R, S);\n};\n\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n}\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n} : [].forEach;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var before = require('./before');\n\n/**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\nfunction once(func) {\n return before(2, func);\n}\n\nmodule.exports = once;\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar redefine = require('../internals/redefine');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\nvar flags = require('../internals/regexp-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n redefine(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var p = String(R.source);\n var rf = R.flags;\n var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);\n return '/' + p + '/' + f;\n }, { unsafe: true });\n}\n","module.exports = isPromise;\nmodule.exports.default = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = match[0] + match[1];\n} else if (userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = match[1];\n }\n}\n\nmodule.exports = version && +version;\n","'use strict';\n\nfunction fuzzysearch (needle, haystack) {\n var tlen = haystack.length;\n var qlen = needle.length;\n if (qlen > tlen) {\n return false;\n }\n if (qlen === tlen) {\n return needle === haystack;\n }\n outer: for (var i = 0, j = 0; i < qlen; i++) {\n var nch = needle.charCodeAt(i);\n while (j < tlen) {\n if (haystack.charCodeAt(j++) === nch) {\n continue outer;\n }\n }\n return false;\n }\n return true;\n}\n\nmodule.exports = fuzzysearch;\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // Chrome 38 Symbol has incorrect toString conversion\n // eslint-disable-next-line no-undef\n return !String(Symbol());\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n// Edge 14- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar test = [];\nvar nativeSort = test.sort;\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD;\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? nativeSort.call(toObject(this))\n : nativeSort.call(toObject(this), aFunction(comparefn));\n }\n});\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\nvar max = Math.max;\nvar min = Math.min;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {\n var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;\n var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n return replacer !== undefined\n ? replacer.call(searchValue, O, replaceValue)\n : nativeReplace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n if (\n (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||\n (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)\n ) {\n var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);\n if (res.done) return res.value;\n }\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n results.push(result);\n if (!global) break;\n\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n});\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.8.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","// a string of all valid unicode whitespaces\n// eslint-disable-next-line max-len\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var requireObjectCoercible = require('../internals/require-object-coercible');\nvar whitespaces = require('../internals/whitespaces');\n\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = String(requireObjectCoercible($this));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n metadata.facade = it;\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var state;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) {\n createNonEnumerableProperty(value, 'name', key);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","var isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n typeof (NewTarget = dummy.constructor) == 'function' &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","exports.f = Object.getOwnPropertySymbols;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n /* global ActiveXObject */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPrimitive(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","var store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nvar regexpFlags = require('./regexp-flags');\nvar stickyHelpers = require('./regexp-sticky-helpers');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = regexpFlags.call(re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = flags.replace('y', '');\n if (flags.indexOf('g') === -1) {\n flags += 'g';\n }\n\n strCopy = String(str).slice(re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = nativeExec.call(sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = match.input.slice(charsAdded);\n match[0] = match[0].slice(charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","var fails = require('../internals/fails');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : typeof detection == 'function' ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n concat: function concat(arg) { // eslint-disable-line no-unused-vars\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = toLength(E.length);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","'use strict';\n\nvar fails = require('./fails');\n\n// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,\n// so we use an intermediate function.\nfunction RE(s, f) {\n return RegExp(s, f);\n}\n\nexports.UNSUPPORTED_Y = fails(function () {\n // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\n var re = RE('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\nexports.BROKEN_CARET = fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = RE('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = [].join;\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar STRICT_METHOD = arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {\n join: function join(separator) {\n return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg, 3) : false;\n var element;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.es/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar has = require('../internals/has');\nvar classof = require('../internals/classof-raw');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\n\n// Opera ~12 has broken Object#toString\nvar BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n var first, third, radix, maxCode, digits, length, index, code;\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = it.charCodeAt(0);\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = it.slice(2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = digits.charCodeAt(index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var dummy = this;\n return dummy instanceof NumberWrapper\n // check on 1..constructor(foo) case\n && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)\n ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);\n };\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n redefine(global, NUMBER, NumberWrapper);\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\n\nvar defineProperty = Object.defineProperty;\nvar cache = {};\n\nvar thrower = function (it) { throw it; };\n\nmodule.exports = function (METHOD_NAME, options) {\n if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];\n if (!options) options = {};\n var method = [][METHOD_NAME];\n var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;\n var argument0 = has(options, 0) ? options[0] : thrower;\n var argument1 = has(options, 1) ? options[1] : undefined;\n\n return cache[METHOD_NAME] = !!method && !fails(function () {\n if (ACCESSORS && !DESCRIPTORS) return true;\n var O = { length: -1 };\n\n if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });\n else O[1] = 1;\n\n method.call(O, argument0, argument1);\n });\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","var isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name)) {\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","var bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = [].push;\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_OUT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push.call(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push.call(target, value); // filterOut\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterOut` method\n // https://github.com/tc39/proposal-array-filtering\n filterOut: createMethod(7)\n};\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n","var isObject = require('../internals/is-object');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n if (!isObject(input)) return input;\n var fn, val;\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","module.exports = false;\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\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","var fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar nativeIndexOf = [].indexOf;\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('indexOf');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (key, value) {\n try {\n createNonEnumerableProperty(global, key, value);\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","module.exports = {};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\n\nvar aFunction = function (variable) {\n return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","// extracted by mini-css-extract-plugin","'use strict';\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\n","var anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n setter.call(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter.call(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","var aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = toLength(O.length);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar regexpExec = require('../internals/regexp-exec');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$
') !== '7';\n});\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\nvar REPLACE = wellKnownSymbol('replace');\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\nmodule.exports = function (KEY, length, exec, sham) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !(\n REPLACE_SUPPORTS_NAMED_GROUPS &&\n REPLACE_KEEPS_$0 &&\n !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n )) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }, {\n REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,\n REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n });\n var stringMethod = methods[0];\n var regexMethod = methods[1];\n\n redefine(String.prototype, KEY, stringMethod);\n redefine(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return regexMethod.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return regexMethod.call(string, this); }\n );\n }\n\n if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n// FF49- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line no-undef\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func\n (function () { return this; })() || Function('return this')();\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var toInteger = require('./toInteger');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\nfunction before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n}\n\nmodule.exports = before;\n","var has = require('../internals/has');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var has = require('../internals/has');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\nmodule.exports = Array.isArray || function isArray(arg) {\n return classof(arg) == 'Array';\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","\r\n\r\n\r\n","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayLikeToArray from \"@babel/runtime/helpers/esm/arrayLikeToArray\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"@babel/runtime/helpers/esm/arrayWithHoles\";\nimport iterableToArrayLimit from \"@babel/runtime/helpers/esm/iterableToArrayLimit\";\nimport unsupportedIterableToArray from \"@babel/runtime/helpers/esm/unsupportedIterableToArray\";\nimport nonIterableRest from \"@babel/runtime/helpers/esm/nonIterableRest\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","import arrayLikeToArray from \"@babel/runtime/helpers/esm/arrayLikeToArray\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"@babel/runtime/helpers/esm/arrayWithoutHoles\";\nimport iterableToArray from \"@babel/runtime/helpers/esm/iterableToArray\";\nimport unsupportedIterableToArray from \"@babel/runtime/helpers/esm/unsupportedIterableToArray\";\nimport nonIterableSpread from \"@babel/runtime/helpers/esm/nonIterableSpread\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}","export function isNaN(x) {\r\n return x !== x\r\n}\r\n","export function includes(arrOrStr, elem) {\r\n return arrOrStr.indexOf(elem) !== -1\r\n}\r\n","export const createMap = () => Object.create(null)\r\n","export function quickDiff(arrA, arrB) {\r\n if (arrA.length !== arrB.length) return true\r\n\r\n for (let i = 0; i < arrA.length; i++) {\r\n if (arrA[i] !== arrB[i]) return true\r\n }\r\n\r\n return false\r\n}\r\n","import { noop } from './noop'\r\n\r\nexport const warning = process.env.NODE_ENV === 'production'\r\n ? /* istanbul ignore next */ noop\r\n : function warning(checker, complainer) {\r\n if (!checker()) {\r\n const message = [ '[Vue-Treeselect Warning]' ].concat(complainer())\r\n // eslint-disable-next-line no-console\r\n console.error(...message)\r\n }\r\n }\r\n","export function find(arr, predicate, ctx) {\r\n for (let i = 0, len = arr.length; i < len; i++) {\r\n if (predicate.call(ctx, arr[i], i, arr)) return arr[i]\r\n }\r\n return undefined\r\n}\r\n","export function onLeftClick(mouseDownHandler) {\r\n return function onMouseDown(evt, ...args) {\r\n if (evt.type === 'mousedown' && evt.button === 0) {\r\n mouseDownHandler.call(this, evt, ...args)\r\n }\r\n }\r\n}\r\n","// from react-select\r\nexport function scrollIntoView($scrollingEl, $focusedEl) {\r\n const scrollingReact = $scrollingEl.getBoundingClientRect()\r\n const focusedRect = $focusedEl.getBoundingClientRect()\r\n const overScroll = $focusedEl.offsetHeight / 3\r\n\r\n if (focusedRect.bottom + overScroll > scrollingReact.bottom) {\r\n $scrollingEl.scrollTop = Math.min(\r\n $focusedEl.offsetTop + $focusedEl.clientHeight - $scrollingEl.offsetHeight + overScroll,\r\n $scrollingEl.scrollHeight,\r\n )\r\n } else if (focusedRect.top - overScroll < scrollingReact.top) {\r\n $scrollingEl.scrollTop = Math.max($focusedEl.offsetTop - overScroll, 0)\r\n }\r\n}\r\n","export function removeFromArray(arr, elem) {\r\n const idx = arr.indexOf(elem)\r\n if (idx !== -1) arr.splice(idx, 1)\r\n}\r\n","// Magic value that indicates a root level node.\r\nexport const NO_PARENT_NODE = null\r\n\r\n// Types of checked state.\r\nexport const UNCHECKED = 0\r\nexport const INDETERMINATE = 1\r\nexport const CHECKED = 2\r\n\r\n// Types of count number.\r\nexport const ALL_CHILDREN = 'ALL_CHILDREN'\r\nexport const ALL_DESCENDANTS = 'ALL_DESCENDANTS'\r\nexport const LEAF_CHILDREN = 'LEAF_CHILDREN'\r\nexport const LEAF_DESCENDANTS = 'LEAF_DESCENDANTS'\r\n\r\n// Action types of delayed loading.\r\nexport const LOAD_ROOT_OPTIONS = 'LOAD_ROOT_OPTIONS'\r\nexport const LOAD_CHILDREN_OPTIONS = 'LOAD_CHILDREN_OPTIONS'\r\nexport const ASYNC_SEARCH = 'ASYNC_SEARCH'\r\n\r\n// Acceptable values of `valueConsistsOf` prop.\r\nexport const ALL = 'ALL'\r\nexport const BRANCH_PRIORITY = 'BRANCH_PRIORITY'\r\nexport const LEAF_PRIORITY = 'LEAF_PRIORITY'\r\nexport const ALL_WITH_INDETERMINATE = 'ALL_WITH_INDETERMINATE'\r\n\r\n// Acceptable values of `sortValueBy` prop.\r\nexport const ORDER_SELECTED = 'ORDER_SELECTED'\r\nexport const LEVEL = 'LEVEL'\r\nexport const INDEX = 'INDEX'\r\n\r\n// Key codes look-up table.\r\nexport const KEY_CODES = {\r\n BACKSPACE: 8,\r\n ENTER: 13,\r\n ESCAPE: 27,\r\n END: 35,\r\n HOME: 36,\r\n ARROW_LEFT: 37,\r\n ARROW_UP: 38,\r\n ARROW_RIGHT: 39,\r\n ARROW_DOWN: 40,\r\n DELETE: 46,\r\n}\r\n\r\n// Other constants.\r\nexport const INPUT_DEBOUNCE_DELAY = process.env.NODE_ENV === 'testing'\r\n ? /* to speed up unit testing */ 10\r\n : /* istanbul ignore next */ 200\r\nexport const MIN_INPUT_WIDTH = 5\r\nexport const MENU_BUFFER = 40\r\n","import fuzzysearch from 'fuzzysearch'\r\n\r\nimport {\r\n warning,\r\n onLeftClick, scrollIntoView,\r\n isNaN, isPromise, once,\r\n identity, constant, createMap,\r\n quickDiff, last as getLast, includes, find, removeFromArray,\r\n} from '../utils'\r\n\r\nimport {\r\n NO_PARENT_NODE,\r\n UNCHECKED, INDETERMINATE, CHECKED,\r\n LOAD_ROOT_OPTIONS, LOAD_CHILDREN_OPTIONS, ASYNC_SEARCH,\r\n ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE,\r\n ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS,\r\n ORDER_SELECTED, LEVEL, INDEX,\r\n} from '../constants'\r\n\r\nfunction sortValueByIndex(a, b) {\r\n let i = 0\r\n do {\r\n if (a.level < i) return -1\r\n if (b.level < i) return 1\r\n if (a.index[i] !== b.index[i]) return a.index[i] - b.index[i]\r\n i++\r\n } while (true)\r\n}\r\n\r\nfunction sortValueByLevel(a, b) {\r\n return a.level === b.level\r\n ? sortValueByIndex(a, b)\r\n : a.level - b.level\r\n}\r\n\r\nfunction createAsyncOptionsStates() {\r\n return {\r\n isLoaded: false,\r\n isLoading: false,\r\n loadingError: '',\r\n }\r\n}\r\n\r\nfunction stringifyOptionPropValue(value) {\r\n if (typeof value === 'string') return value\r\n if (typeof value === 'number' && !isNaN(value)) return value + ''\r\n // istanbul ignore next\r\n return ''\r\n}\r\n\r\nfunction match(enableFuzzyMatch, needle, haystack) {\r\n return enableFuzzyMatch\r\n ? fuzzysearch(needle, haystack)\r\n : includes(haystack, needle)\r\n}\r\n\r\nfunction getErrorMessage(err) {\r\n return err.message || /* istanbul ignore next */String(err)\r\n}\r\n\r\nlet instanceId = 0\r\n\r\nexport default {\r\n provide() {\r\n return {\r\n // Enable access to the instance of root component of vue-treeselect\r\n // across hierarchy.\r\n instance: this,\r\n }\r\n },\r\n\r\n props: {\r\n /**\r\n * Whether to allow resetting value even if there are disabled selected nodes.\r\n */\r\n allowClearingDisabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When an ancestor node is selected/deselected, whether its disabled descendants should be selected/deselected.\r\n * You may want to use this in conjunction with `allowClearingDisabled` prop.\r\n */\r\n allowSelectingDisabledDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether the menu should be always open.\r\n */\r\n alwaysOpen: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Append the menu to ?\r\n */\r\n appendToBody: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable async search mode.\r\n */\r\n async: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically focus the component on mount?\r\n */\r\n autoFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically load root options on mount. When set to `false`, root options will be loaded when the menu is opened.\r\n */\r\n autoLoadRootOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its ancestors. Applies to flat mode only.\r\n */\r\n autoDeselectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its descendants. Applies to flat mode only.\r\n */\r\n autoDeselectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its ancestors. Applies to flat mode only.\r\n */\r\n autoSelectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its descendants. Applies to flat mode only.\r\n */\r\n autoSelectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing backspace key removes the last item if there is no text input.\r\n */\r\n backspaceRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Function that processes before clearing all input fields.\r\n * Return `false` to prevent value from being cleared.\r\n * @type {function(): (boolean|Promise)}\r\n */\r\n beforeClearAll: {\r\n type: Function,\r\n default: constant(true),\r\n },\r\n\r\n /**\r\n * Show branch nodes before leaf nodes?\r\n */\r\n branchNodesFirst: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Should cache results of every search request?\r\n */\r\n cacheOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Show an \"×\" button that resets value?\r\n */\r\n clearable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button when `multiple: true`.\r\n */\r\n clearAllText: {\r\n type: String,\r\n default: 'Clear all',\r\n },\r\n\r\n /**\r\n * Whether to clear the search input after selecting.\r\n * Use only when `multiple` is `true`.\r\n * For single-select mode, it **always** clears the input after selecting an option regardless of the prop value.\r\n */\r\n clearOnSelect: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button.\r\n */\r\n clearValueText: {\r\n type: String,\r\n default: 'Clear value',\r\n },\r\n\r\n /**\r\n * Whether to close the menu after selecting an option?\r\n * Use only when `multiple` is `true`.\r\n */\r\n closeOnSelect: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * How many levels of branch nodes should be automatically expanded when loaded.\r\n * Set `Infinity` to make all branch nodes expanded by default.\r\n */\r\n defaultExpandLevel: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The default set of options to show before the user starts searching. Used for async search mode.\r\n * When set to `true`, the results for search query as a empty string will be autoloaded.\r\n * @type {boolean|node[]}\r\n */\r\n defaultOptions: {\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing delete key removes the last item if there is no text input.\r\n */\r\n deleteRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Delimiter to use to join multiple values for the hidden field value.\r\n */\r\n delimiter: {\r\n type: String,\r\n default: ',',\r\n },\r\n\r\n /**\r\n * Only show the nodes that match the search value directly, excluding its ancestors.\r\n *\r\n * @type {Object}\r\n */\r\n flattenSearchResults: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Prevent branch nodes from being selected?\r\n */\r\n disableBranchNodes: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the control?\r\n */\r\n disabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the fuzzy matching functionality?\r\n */\r\n disableFuzzyMatching: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable flat mode or not. Non-flat mode (default) means:\r\n * - Whenever a branch node gets checked, all its children will be checked too\r\n * - Whenever a branch node has all children checked, the branch node itself will be checked too\r\n * Set `true` to disable this mechanism\r\n */\r\n flat: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Will be passed with all events as the last param.\r\n * Useful for identifying events origin.\r\n */\r\n instanceId: {\r\n // Add two trailing \"$\" to distinguish from explictly specified ids.\r\n default: () => `${instanceId++}$$`,\r\n type: [ String, Number ],\r\n },\r\n\r\n /**\r\n * Joins multiple values into a single form field with the `delimiter` (legacy mode).\r\n */\r\n joinValues: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Limit the display of selected options.\r\n * The rest will be hidden within the limitText string.\r\n */\r\n limit: {\r\n type: Number,\r\n default: Infinity,\r\n },\r\n\r\n /**\r\n * Function that processes the message shown when selected elements pass the defined limit.\r\n * @type {function(number): string}\r\n */\r\n limitText: {\r\n type: Function,\r\n default: function limitTextDefault(count) { // eslint-disable-line func-name-matching\r\n return `and ${count} more`\r\n },\r\n },\r\n\r\n /**\r\n * Text displayed when loading options.\r\n */\r\n loadingText: {\r\n type: String,\r\n default: 'Loading...',\r\n },\r\n\r\n /**\r\n * Used for dynamically loading options.\r\n * @type {function({action: string, callback: (function((Error|string)=): void), parentNode: node=, instanceId}): void}\r\n */\r\n loadOptions: {\r\n type: Function,\r\n },\r\n\r\n /**\r\n * Which node properties to filter on.\r\n */\r\n matchKeys: {\r\n type: Array,\r\n default: constant([ 'label' ]),\r\n },\r\n\r\n /**\r\n * Sets `maxHeight` style value of the menu.\r\n */\r\n maxHeight: {\r\n type: Number,\r\n default: 300,\r\n },\r\n\r\n /**\r\n * Set `true` to allow selecting multiple options (a.k.a., multi-select mode).\r\n */\r\n multiple: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Generates a hidden tag with this field name for html forms.\r\n */\r\n name: {\r\n type: String,\r\n },\r\n\r\n /**\r\n * Text displayed when a branch node has no children.\r\n */\r\n noChildrenText: {\r\n type: String,\r\n default: 'No sub-options.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no available options.\r\n */\r\n noOptionsText: {\r\n type: String,\r\n default: 'No options available.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no matching search results.\r\n */\r\n noResultsText: {\r\n type: String,\r\n default: 'No results found...',\r\n },\r\n\r\n /**\r\n * Used for normalizing source data.\r\n * @type {function(node, instanceId): node}\r\n */\r\n normalizer: {\r\n type: Function,\r\n default: identity,\r\n },\r\n\r\n /**\r\n * By default (`auto`), the menu will open below the control. If there is not\r\n * enough space, vue-treeselect will automatically flip the menu.\r\n * You can use one of other four options to force the menu to be always opened\r\n * to specified direction.\r\n * Acceptable values:\r\n * - `\"auto\"`\r\n * - `\"below\"`\r\n * - `\"bottom\"`\r\n * - `\"above\"`\r\n * - `\"top\"`\r\n */\r\n openDirection: {\r\n type: String,\r\n default: 'auto',\r\n validator(value) {\r\n const acceptableValues = [ 'auto', 'top', 'bottom', 'above', 'below' ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is clicked.\r\n */\r\n openOnClick: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is focused.\r\n */\r\n openOnFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Array of available options.\r\n * @type {node[]}\r\n */\r\n options: {\r\n type: Array,\r\n },\r\n\r\n /**\r\n * Field placeholder, displayed when there's no value.\r\n */\r\n placeholder: {\r\n type: String,\r\n default: 'Select...',\r\n },\r\n\r\n /**\r\n * Applies HTML5 required attribute when needed.\r\n */\r\n required: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text displayed asking user whether to retry loading children options.\r\n */\r\n retryText: {\r\n type: String,\r\n default: 'Retry?',\r\n },\r\n\r\n /**\r\n * Title for the retry button.\r\n */\r\n retryTitle: {\r\n type: String,\r\n default: 'Click to retry',\r\n },\r\n\r\n /**\r\n * Enable searching feature?\r\n */\r\n searchable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Search in ancestor nodes too.\r\n */\r\n searchNested: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text tip to prompt for async search.\r\n */\r\n searchPromptText: {\r\n type: String,\r\n default: 'Type to search...',\r\n },\r\n\r\n /**\r\n * Whether to show a children count next to the label of each branch node.\r\n */\r\n showCount: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Used in conjunction with `showCount` to specify which type of count number should be displayed.\r\n * Acceptable values:\r\n * - \"ALL_CHILDREN\"\r\n * - \"ALL_DESCENDANTS\"\r\n * - \"LEAF_CHILDREN\"\r\n * - \"LEAF_DESCENDANTS\"\r\n */\r\n showCountOf: {\r\n type: String,\r\n default: ALL_CHILDREN,\r\n validator(value) {\r\n const acceptableValues = [ ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to show children count when searching.\r\n * Fallbacks to the value of `showCount` when not specified.\r\n * @type {boolean}\r\n */\r\n showCountOnSearch: null,\r\n\r\n /**\r\n * In which order the selected options should be displayed in trigger & sorted in `value` array.\r\n * Used for multi-select mode only.\r\n * Acceptable values:\r\n * - \"ORDER_SELECTED\"\r\n * - \"LEVEL\"\r\n * - \"INDEX\"\r\n */\r\n sortValueBy: {\r\n type: String,\r\n default: ORDER_SELECTED,\r\n validator(value) {\r\n const acceptableValues = [ ORDER_SELECTED, LEVEL, INDEX ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Tab index of the control.\r\n */\r\n tabIndex: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The value of the control.\r\n * Should be `id` or `node` object for single-select mode, or an array of `id` or `node` object for multi-select mode.\r\n * Its format depends on the `valueFormat` prop.\r\n * For most cases, just use `v-model` instead.\r\n * @type {?Array}\r\n */\r\n modelValue: null,\r\n\r\n /**\r\n * Which kind of nodes should be included in the `value` array in multi-select mode.\r\n * Acceptable values:\r\n * - \"ALL\" - Any node that is checked will be included in the `value` array\r\n * - \"BRANCH_PRIORITY\" (default) - If a branch node is checked, all its descendants will be excluded in the `value` array\r\n * - \"LEAF_PRIORITY\" - If a branch node is checked, this node itself and its branch descendants will be excluded from the `value` array but its leaf descendants will be included\r\n * - \"ALL_WITH_INDETERMINATE\" - Any node that is checked will be included in the `value` array, plus indeterminate nodes\r\n */\r\n valueConsistsOf: {\r\n type: String,\r\n default: BRANCH_PRIORITY,\r\n validator(value) {\r\n const acceptableValues = [ ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Format of `value` prop.\r\n * Note that, when set to `\"object\"`, only `id` & `label` properties are required in each `node` object in `value` prop.\r\n * Acceptable values:\r\n * - \"id\"\r\n * - \"object\"\r\n */\r\n valueFormat: {\r\n type: String,\r\n default: 'id',\r\n },\r\n\r\n /**\r\n * z-index of the menu.\r\n */\r\n zIndex: {\r\n type: [ Number, String ],\r\n default: 999,\r\n },\r\n },\r\n\r\n data() {\r\n return {\r\n trigger: {\r\n // Is the control focused?\r\n isFocused: false,\r\n // User entered search query - value of the input.\r\n searchQuery: '',\r\n },\r\n\r\n menu: {\r\n // Is the menu opened?\r\n isOpen: false,\r\n // Id of current highlighted option.\r\n current: null,\r\n // The scroll position before last menu closing.\r\n lastScrollPosition: 0,\r\n // Which direction to open the menu.\r\n placement: 'bottom',\r\n },\r\n\r\n forest: {\r\n // Normalized options.\r\n normalizedOptions: [],\r\n // map for quick look-up.\r\n nodeMap: createMap(),\r\n // map, used for multi-select mode.\r\n checkedStateMap: createMap(),\r\n // Id list of all selected options.\r\n selectedNodeIds: this.extractCheckedNodeIdsFromValue(),\r\n // map for fast checking:\r\n // if (forest.selectedNodeIds.indexOf(id) !== -1) forest.selectedNodeMap[id] === true\r\n selectedNodeMap: createMap(),\r\n },\r\n\r\n // States of root options.\r\n rootOptionsStates: createAsyncOptionsStates(),\r\n\r\n localSearch: {\r\n // Has user entered any query to search local options?\r\n active: false,\r\n // Has any options matched the search query?\r\n noResults: true,\r\n // map for counting matched children/descendants.\r\n countMap: createMap(),\r\n },\r\n\r\n // map.\r\n remoteSearch: createMap(),\r\n }\r\n },\r\n\r\n computed: {\r\n /* eslint-disable valid-jsdoc */\r\n /**\r\n * Normalized nodes that have been selected.\r\n * @type {node[]}\r\n */\r\n selectedNodes() {\r\n return this.forest.selectedNodeIds.map(this.getNode)\r\n },\r\n /**\r\n * Id list of selected nodes with `sortValueBy` prop applied.\r\n * @type {nodeId[]}\r\n */\r\n internalValue() {\r\n let internalValue\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isRootNode) return true\r\n return !this.isSelected(node.parentNode)\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isLeaf) return true\r\n return node.children.length === 0\r\n })\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const indeterminateNodeIds = []\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n this.selectedNodes.forEach(selectedNode => {\r\n selectedNode.ancestors.forEach(ancestor => {\r\n if (includes(indeterminateNodeIds, ancestor.id)) return\r\n if (includes(internalValue, ancestor.id)) return\r\n indeterminateNodeIds.push(ancestor.id)\r\n })\r\n })\r\n internalValue.push(...indeterminateNodeIds)\r\n }\r\n\r\n if (this.sortValueBy === LEVEL) {\r\n internalValue.sort((a, b) => sortValueByLevel(this.getNode(a), this.getNode(b)))\r\n } else if (this.sortValueBy === INDEX) {\r\n internalValue.sort((a, b) => sortValueByIndex(this.getNode(a), this.getNode(b)))\r\n }\r\n\r\n return internalValue\r\n },\r\n /**\r\n * Has any option been selected?\r\n * @type {boolean}\r\n */\r\n hasValue() {\r\n return this.internalValue.length > 0\r\n },\r\n /**\r\n * Single-select mode?\r\n * @type {boolean}\r\n */\r\n single() {\r\n return !this.multiple\r\n },\r\n /**\r\n * Id list of nodes displayed in the menu. Nodes that are considered NOT visible:\r\n * - descendants of a collapsed branch node\r\n * - in local search mode, nodes that are not matched, unless\r\n * - it's a branch node and has matched descendants\r\n * - it's a leaf node and its parent node is explicitly set to show all children\r\n * @type {id[]}\r\n */\r\n visibleOptionIds() {\r\n const visibleOptionIds = []\r\n\r\n this.traverseAllNodesByIndex(node => {\r\n if (!this.localSearch.active || this.shouldOptionBeIncludedInSearchResult(node)) {\r\n visibleOptionIds.push(node.id)\r\n }\r\n // Skip the traversal of descendants of a branch node if it's not expanded.\r\n if (node.isBranch && !this.shouldExpand(node)) {\r\n return false\r\n }\r\n })\r\n\r\n return visibleOptionIds\r\n },\r\n /**\r\n * Has any option should be displayed in the menu?\r\n * @type {boolean}\r\n */\r\n hasVisibleOptions() {\r\n return this.visibleOptionIds.length !== 0\r\n },\r\n /**\r\n * Should show children count when searching?\r\n * @type {boolean}\r\n */\r\n showCountOnSearchComputed() {\r\n // Vue doesn't allow setting default prop value based on another prop value.\r\n // So use computed property as a workaround.\r\n // https://github.com/vuejs/vue/issues/6358\r\n return typeof this.showCountOnSearch === 'boolean'\r\n ? this.showCountOnSearch\r\n : this.showCount\r\n },\r\n /**\r\n * Is there any branch node?\r\n * @type {boolean}\r\n */\r\n hasBranchNodes() {\r\n return this.forest.normalizedOptions.some(rootNode => rootNode.isBranch)\r\n },\r\n shouldFlattenOptions() {\r\n return this.localSearch.active && this.flattenSearchResults\r\n },\r\n /* eslint-enable valid-jsdoc */\r\n },\r\n\r\n watch: {\r\n alwaysOpen(newValue) {\r\n if (newValue) this.openMenu()\r\n else this.closeMenu()\r\n },\r\n\r\n branchNodesFirst() {\r\n this.initialize()\r\n },\r\n\r\n disabled(newValue) {\r\n // force close the menu after disabling the control\r\n if (newValue && this.menu.isOpen) this.closeMenu()\r\n else if (!newValue && !this.menu.isOpen && this.alwaysOpen) this.openMenu()\r\n },\r\n\r\n flat() {\r\n this.initialize()\r\n },\r\n\r\n internalValue(newValue, oldValue) {\r\n const hasChanged = quickDiff(newValue, oldValue)\r\n // #122\r\n // Vue would trigger this watcher when `newValue` and `oldValue` are shallow-equal.\r\n // We emit the `input` event only when the value actually changes.\r\n if (hasChanged) this.$emit('update:modelValue', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n matchKeys() {\r\n this.initialize()\r\n },\r\n\r\n multiple(newValue) {\r\n // We need to rebuild the state when switching from single-select mode\r\n // to multi-select mode.\r\n // istanbul ignore else\r\n if (newValue) this.buildForestState()\r\n },\r\n\r\n options: {\r\n handler() {\r\n if (this.async) return\r\n // Re-initialize options when the `options` prop has changed.\r\n this.initialize()\r\n this.rootOptionsStates.isLoaded = Array.isArray(this.options)\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n\r\n 'trigger.searchQuery'() {\r\n if (this.async) {\r\n this.handleRemoteSearch()\r\n } else {\r\n this.handleLocalSearch()\r\n }\r\n\r\n this.$emit('search-change', this.trigger.searchQuery, this.getInstanceId())\r\n },\r\n\r\n value() {\r\n const nodeIdsFromValue = this.extractCheckedNodeIdsFromValue()\r\n const hasChanged = quickDiff(nodeIdsFromValue, this.internalValue)\r\n if (hasChanged) this.fixSelectedNodeIds(nodeIdsFromValue)\r\n },\r\n },\r\n\r\n methods: {\r\n verifyProps() {\r\n warning(\r\n () => this.async ? this.searchable : true,\r\n () => 'For async search mode, the value of \"searchable\" prop must be true.',\r\n )\r\n\r\n if (this.options == null && !this.loadOptions) {\r\n warning(\r\n () => false,\r\n () => 'Are you meant to dynamically load options? You need to use \"loadOptions\" prop.',\r\n )\r\n }\r\n\r\n if (this.flat) {\r\n warning(\r\n () => this.multiple,\r\n () => 'You are using flat mode. But you forgot to add \"multiple=true\"?',\r\n )\r\n }\r\n\r\n if (!this.flat) {\r\n const propNames = [\r\n 'autoSelectAncestors',\r\n 'autoSelectDescendants',\r\n 'autoDeselectAncestors',\r\n 'autoDeselectDescendants',\r\n ]\r\n\r\n propNames.forEach(propName => {\r\n warning(\r\n () => !this[propName],\r\n () => `\"${propName}\" only applies to flat mode.`,\r\n )\r\n })\r\n }\r\n },\r\n\r\n resetFlags() {\r\n this._blurOnSelect = false\r\n },\r\n\r\n initialize() {\r\n const options = this.async\r\n ? this.getRemoteSearchEntry().options\r\n : this.options\r\n\r\n if (Array.isArray(options)) {\r\n // In case we are re-initializing options, keep the old state tree temporarily.\r\n const prevNodeMap = this.forest.nodeMap\r\n this.forest.nodeMap = createMap()\r\n this.keepDataOfSelectedNodes(prevNodeMap)\r\n this.forest.normalizedOptions = this.normalize(NO_PARENT_NODE, options, prevNodeMap)\r\n // Cases that need fixing `selectedNodeIds`:\r\n // 1) Children options of a checked node have been delayed loaded,\r\n // we should also mark these children as checked. (multi-select mode)\r\n // 2) Root options have been delayed loaded, we need to initialize states\r\n // of these nodes. (multi-select mode)\r\n // 3) Async search mode.\r\n this.fixSelectedNodeIds(this.internalValue)\r\n } else {\r\n this.forest.normalizedOptions = []\r\n }\r\n },\r\n\r\n getInstanceId() {\r\n return this.instanceId == null ? this.id : this.instanceId\r\n },\r\n\r\n getValue() {\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.internalValue.slice()\r\n : this.internalValue[0]\r\n }\r\n\r\n const rawNodes = this.internalValue.map(id => this.getNode(id).raw)\r\n return this.multiple ? rawNodes : rawNodes[0]\r\n },\r\n\r\n getNode(nodeId) {\r\n warning(\r\n () => nodeId != null,\r\n () => `Invalid node id: ${nodeId}`,\r\n )\r\n\r\n if (nodeId == null) return null\r\n\r\n return nodeId in this.forest.nodeMap\r\n ? this.forest.nodeMap[nodeId]\r\n : this.createFallbackNode(nodeId)\r\n },\r\n\r\n createFallbackNode(id) {\r\n // In case there is a default selected node that is not loaded into the tree yet,\r\n // we create a fallback node to keep the component working.\r\n // When the real data is loaded, we'll override this fake node.\r\n\r\n const raw = this.extractNodeFromValue(id)\r\n const label = this.enhancedNormalizer(raw).label || `${id} (unknown)`\r\n const fallbackNode = {\r\n id,\r\n label,\r\n ancestors: [],\r\n parentNode: NO_PARENT_NODE,\r\n isFallbackNode: true,\r\n isRootNode: true,\r\n isLeaf: true,\r\n isBranch: false,\r\n isDisabled: false,\r\n isNew: false,\r\n index: [ -1 ],\r\n level: 0,\r\n raw,\r\n }\r\n\r\n return this.forest.nodeMap[id] = fallbackNode\r\n // return this.$ set(this.forest.nodeMap, id, fallbackNode)\r\n },\r\n\r\n extractCheckedNodeIdsFromValue() {\r\n if (this.modelValue == null) return []\r\n\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.modelValue.slice()\r\n : [ this.modelValue ]\r\n }\r\n\r\n return (this.multiple ? this.modelValue : [ this.modelValue ])\r\n .map(node => this.enhancedNormalizer(node))\r\n .map(node => node.id)\r\n },\r\n\r\n extractNodeFromValue(id) {\r\n const defaultNode = { id }\r\n\r\n if (this.valueFormat === 'id') {\r\n return defaultNode\r\n }\r\n\r\n const valueArray = this.multiple\r\n ? Array.isArray(this.modelValue) ? this.modelValue : []\r\n : this.modelValue ? [ this.modelValue ] : []\r\n const matched = find(\r\n valueArray,\r\n node => node && this.enhancedNormalizer(node).id === id,\r\n )\r\n\r\n return matched || defaultNode\r\n },\r\n\r\n fixSelectedNodeIds(nodeIdListOfPrevValue) {\r\n let nextSelectedNodeIds = []\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n nextSelectedNodeIds = nodeIdListOfPrevValue\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n nodeIdListOfPrevValue.forEach(nodeId => {\r\n nextSelectedNodeIds.push(nodeId)\r\n const node = this.getNode(nodeId)\r\n if (node.isBranch) this.traverseDescendantsBFS(node, descendant => {\r\n nextSelectedNodeIds.push(descendant.id)\r\n })\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.slice()\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.filter(nodeId => {\r\n const node = this.getNode(nodeId)\r\n return node.isLeaf || node.children.length === 0\r\n })\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n }\r\n\r\n const hasChanged = quickDiff(this.forest.selectedNodeIds, nextSelectedNodeIds)\r\n // If `nextSelectedNodeIds` doesn't actually differ from old `selectedNodeIds`,\r\n // we don't make the assignment to avoid triggering its watchers which may cause\r\n // unnecessary calculations.\r\n if (hasChanged) this.forest.selectedNodeIds = nextSelectedNodeIds\r\n\r\n this.buildForestState()\r\n },\r\n\r\n keepDataOfSelectedNodes(prevNodeMap) {\r\n // In case there is any selected node that is not present in the new `options` array.\r\n // It could be useful for async search mode.\r\n this.forest.selectedNodeIds.forEach(id => {\r\n if (!prevNodeMap[id]) return\r\n const node = {\r\n ...prevNodeMap[id],\r\n isFallbackNode: true,\r\n }\r\n // this.$ set(this.forest.nodeMap, id, node)\r\n this.forest.nodeMap[id] = node\r\n })\r\n },\r\n\r\n isSelected(node) {\r\n // whether a node is selected (single-select mode) or fully-checked (multi-select mode)\r\n return this.forest.selectedNodeMap[node.id] === true\r\n },\r\n\r\n traverseDescendantsBFS(parentNode, callback) {\r\n // istanbul ignore if\r\n if (!parentNode.isBranch) return\r\n const queue = parentNode.children.slice()\r\n while (queue.length) {\r\n const currNode = queue[0]\r\n if (currNode.isBranch) queue.push(...currNode.children)\r\n callback(currNode)\r\n queue.shift()\r\n }\r\n },\r\n\r\n traverseDescendantsDFS(parentNode, callback) {\r\n if (!parentNode.isBranch) return\r\n parentNode.children.forEach(child => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(child, callback)\r\n callback(child)\r\n })\r\n },\r\n\r\n traverseAllNodesDFS(callback) {\r\n this.forest.normalizedOptions.forEach(rootNode => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(rootNode, callback)\r\n callback(rootNode)\r\n })\r\n },\r\n\r\n traverseAllNodesByIndex(callback) {\r\n const walk = parentNode => {\r\n parentNode.children.forEach(child => {\r\n if (callback(child) !== false && child.isBranch) {\r\n walk(child)\r\n }\r\n })\r\n }\r\n\r\n // To simplify the code logic of traversal,\r\n // we create a fake root node that holds all the root options.\r\n walk({ children: this.forest.normalizedOptions })\r\n },\r\n\r\n toggleClickOutsideEvent(enabled) {\r\n if (enabled) {\r\n document.addEventListener('mousedown', this.handleClickOutside, false)\r\n } else {\r\n document.removeEventListener('mousedown', this.handleClickOutside, false)\r\n }\r\n },\r\n\r\n getValueContainer() {\r\n return this.$refs.control.$refs['value-container']\r\n },\r\n\r\n getInput() {\r\n return this.getValueContainer().$refs.input\r\n },\r\n\r\n focusInput() {\r\n this.getInput().focus()\r\n },\r\n\r\n blurInput() {\r\n this.getInput().blur()\r\n },\r\n\r\n handleMouseDown: onLeftClick(function handleMouseDown(evt) {\r\n evt.preventDefault()\r\n evt.stopPropagation()\r\n\r\n if (this.disabled) return\r\n\r\n const isClickedOnValueContainer = this.getValueContainer().$el.contains(evt.target)\r\n if (isClickedOnValueContainer && !this.menu.isOpen && (this.openOnClick || this.trigger.isFocused)) {\r\n this.openMenu()\r\n }\r\n\r\n if (this._blurOnSelect) {\r\n this.blurInput()\r\n } else {\r\n // Focus the input or prevent blurring.\r\n this.focusInput()\r\n }\r\n\r\n this.resetFlags()\r\n }),\r\n\r\n handleClickOutside(evt) {\r\n // istanbul ignore else\r\n if (this.$refs.wrapper && !this.$refs.wrapper.contains(evt.target)) {\r\n this.blurInput()\r\n this.closeMenu()\r\n }\r\n },\r\n\r\n handleLocalSearch() {\r\n const { searchQuery } = this.trigger\r\n const done = () => this.resetHighlightedOptionWhenNecessary(true)\r\n\r\n if (!searchQuery) {\r\n // Exit sync search mode.\r\n this.localSearch.active = false\r\n return done()\r\n }\r\n\r\n // Enter sync search mode.\r\n this.localSearch.active = true\r\n\r\n // Reset states.\r\n this.localSearch.noResults = true\r\n this.traverseAllNodesDFS(node => {\r\n if (node.isBranch) {\r\n node.isExpandedOnSearch = false\r\n node.showAllChildrenOnSearch = false\r\n node.isMatched = false\r\n node.hasMatchedDescendants = false\r\n\r\n this.localSearch.countMap[node.id] = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(this.localSearch.countMap, node.id, {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n }\r\n })\r\n\r\n const lowerCasedSearchQuery = searchQuery.trim().toLocaleLowerCase()\r\n const splitSearchQuery = lowerCasedSearchQuery.replace(/\\s+/g, ' ').split(' ')\r\n this.traverseAllNodesDFS(node => {\r\n if (this.searchNested && splitSearchQuery.length > 1) {\r\n node.isMatched = splitSearchQuery.every(filterValue =>\r\n match(false, filterValue, node.nestedSearchLabel),\r\n )\r\n } else {\r\n node.isMatched = this.matchKeys.some(matchKey =>\r\n match(!this.disableFuzzyMatching, lowerCasedSearchQuery, node.lowerCased[matchKey]),\r\n )\r\n }\r\n\r\n if (node.isMatched) {\r\n this.localSearch.noResults = false\r\n node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][ALL_DESCENDANTS]++)\r\n if (node.isLeaf) node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][LEAF_DESCENDANTS]++)\r\n if (node.parentNode !== NO_PARENT_NODE) {\r\n this.localSearch.countMap[node.parentNode.id][ALL_CHILDREN] += 1\r\n // istanbul ignore else\r\n if (node.isLeaf) this.localSearch.countMap[node.parentNode.id][LEAF_CHILDREN] += 1\r\n }\r\n }\r\n\r\n if (\r\n (node.isMatched || (node.isBranch && node.isExpandedOnSearch)) &&\r\n node.parentNode !== NO_PARENT_NODE\r\n ) {\r\n node.parentNode.isExpandedOnSearch = true\r\n node.parentNode.hasMatchedDescendants = true\r\n }\r\n })\r\n\r\n done()\r\n },\r\n\r\n handleRemoteSearch() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.getRemoteSearchEntry()\r\n const done = () => {\r\n this.initialize()\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n }\r\n\r\n if ((searchQuery === '' || this.cacheOptions) && entry.isLoaded) {\r\n return done()\r\n }\r\n\r\n this.callLoadOptionsProp({\r\n action: ASYNC_SEARCH,\r\n args: { searchQuery },\r\n isPending() {\r\n return entry.isLoading\r\n },\r\n start: () => {\r\n entry.isLoading = true\r\n entry.isLoaded = false\r\n entry.loadingError = ''\r\n },\r\n succeed: options => {\r\n entry.isLoaded = true\r\n entry.options = options\r\n // When the request completes, the search query may have changed.\r\n // We only show these options if they are for the current search query.\r\n if (this.trigger.searchQuery === searchQuery) done()\r\n },\r\n fail: err => {\r\n entry.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n entry.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n getRemoteSearchEntry() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.remoteSearch[searchQuery] || {\r\n ...createAsyncOptionsStates(),\r\n options: [],\r\n }\r\n\r\n // Vue doesn't support directly watching on objects.\r\n this.$watch(\r\n () => entry.options,\r\n () => {\r\n // TODO: potential redundant re-initialization.\r\n if (this.trigger.searchQuery === searchQuery) this.initialize()\r\n },\r\n { deep: true },\r\n )\r\n\r\n if (searchQuery === '') {\r\n if (Array.isArray(this.defaultOptions)) {\r\n entry.options = this.defaultOptions\r\n entry.isLoaded = true\r\n return entry\r\n } else if (this.defaultOptions !== true) {\r\n entry.isLoaded = true\r\n return entry\r\n }\r\n }\r\n\r\n if (!this.remoteSearch[searchQuery]) {\r\n // this.$ set(this.remoteSearch, searchQuery, entry)\r\n this.remoteSearch[searchQuery] = entry;\r\n }\r\n\r\n return entry\r\n },\r\n\r\n shouldExpand(node) {\r\n return this.localSearch.active ? node.isExpandedOnSearch : node.isExpanded\r\n },\r\n\r\n shouldOptionBeIncludedInSearchResult(node) {\r\n // 1) This option is matched.\r\n if (node.isMatched) return true\r\n // 2) This option is not matched, but has matched descendant(s).\r\n if (node.isBranch && node.hasMatchedDescendants && !this.flattenSearchResults) return true\r\n // 3) This option's parent has no matched descendants,\r\n // but after being expanded, all its children should be shown.\r\n if (!node.isRootNode && node.parentNode.showAllChildrenOnSearch) return true\r\n // 4) The default case.\r\n return false\r\n },\r\n\r\n shouldShowOptionInMenu(node) {\r\n if (this.localSearch.active && !this.shouldOptionBeIncludedInSearchResult(node)) {\r\n return false\r\n }\r\n return true\r\n },\r\n\r\n getControl() {\r\n return this.$refs.control.$el\r\n },\r\n\r\n getMenu() {\r\n const ref = this.appendToBody ? this.$refs.portal.portalTarget : this\r\n const $menu = ref.$refs.menu.$refs.menu\r\n return $menu && $menu.nodeName !== '#comment' ? $menu : null\r\n },\r\n\r\n setCurrentHighlightedOption(node, scroll = true) {\r\n const prev = this.menu.current\r\n if (prev != null && prev in this.forest.nodeMap) {\r\n this.forest.nodeMap[prev].isHighlighted = false\r\n }\r\n\r\n this.menu.current = node.id\r\n node.isHighlighted = true\r\n\r\n if (this.menu.isOpen && scroll) {\r\n const scrollToOption = () => {\r\n const $menu = this.getMenu()\r\n const $option = $menu.querySelector(`.vue-treeselect__option[data-id=\"${node.id}\"]`)\r\n if ($option) scrollIntoView($menu, $option)\r\n }\r\n\r\n // In case `openMenu()` is just called and the menu is not rendered yet.\r\n if (this.getMenu()) {\r\n scrollToOption()\r\n } else {\r\n // istanbul ignore next\r\n this.$nextTick(scrollToOption)\r\n }\r\n }\r\n },\r\n\r\n resetHighlightedOptionWhenNecessary(forceReset = false) {\r\n const { current } = this.menu\r\n\r\n if (\r\n forceReset || current == null ||\r\n !(current in this.forest.nodeMap) ||\r\n !this.shouldShowOptionInMenu(this.getNode(current))\r\n ) {\r\n this.highlightFirstOption()\r\n }\r\n },\r\n\r\n highlightFirstOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const first = this.visibleOptionIds[0]\r\n this.setCurrentHighlightedOption(this.getNode(first))\r\n },\r\n\r\n highlightPrevOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const prev = this.visibleOptionIds.indexOf(this.menu.current) - 1\r\n if (prev === -1) return this.highlightLastOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[prev]))\r\n },\r\n\r\n highlightNextOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const next = this.visibleOptionIds.indexOf(this.menu.current) + 1\r\n if (next === this.visibleOptionIds.length) return this.highlightFirstOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[next]))\r\n },\r\n\r\n highlightLastOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const last = getLast(this.visibleOptionIds)\r\n this.setCurrentHighlightedOption(this.getNode(last))\r\n },\r\n\r\n resetSearchQuery() {\r\n this.trigger.searchQuery = ''\r\n },\r\n\r\n closeMenu() {\r\n if (!this.menu.isOpen || (!this.disabled && this.alwaysOpen)) return\r\n this.saveMenuScrollPosition()\r\n this.menu.isOpen = false\r\n this.toggleClickOutsideEvent(false)\r\n this.resetSearchQuery()\r\n this.$emit('close', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n openMenu() {\r\n if (this.disabled || this.menu.isOpen) return\r\n this.menu.isOpen = true\r\n this.$nextTick(this.resetHighlightedOptionWhenNecessary)\r\n this.$nextTick(this.restoreMenuScrollPosition)\r\n if (!this.options && !this.async) this.loadRootOptions()\r\n this.toggleClickOutsideEvent(true)\r\n this.$emit('open', this.getInstanceId())\r\n },\r\n\r\n toggleMenu() {\r\n if (this.menu.isOpen) {\r\n this.closeMenu()\r\n } else {\r\n this.openMenu()\r\n }\r\n },\r\n\r\n toggleExpanded(node) {\r\n let nextState\r\n\r\n if (this.localSearch.active) {\r\n nextState = node.isExpandedOnSearch = !node.isExpandedOnSearch\r\n if (nextState) node.showAllChildrenOnSearch = true\r\n } else {\r\n nextState = node.isExpanded = !node.isExpanded\r\n }\r\n\r\n if (nextState && !node.childrenStates.isLoaded) {\r\n this.loadChildrenOptions(node)\r\n }\r\n },\r\n\r\n buildForestState() {\r\n const selectedNodeMap = createMap()\r\n this.forest.selectedNodeIds.forEach(selectedNodeId => {\r\n selectedNodeMap[selectedNodeId] = true\r\n })\r\n this.forest.selectedNodeMap = selectedNodeMap\r\n\r\n const checkedStateMap = createMap()\r\n if (this.multiple) {\r\n this.traverseAllNodesByIndex(node => {\r\n checkedStateMap[node.id] = UNCHECKED\r\n })\r\n\r\n this.selectedNodes.forEach(selectedNode => {\r\n checkedStateMap[selectedNode.id] = CHECKED\r\n\r\n if (!this.flat && !this.disableBranchNodes) {\r\n selectedNode.ancestors.forEach(ancestorNode => {\r\n if (!this.isSelected(ancestorNode)) {\r\n checkedStateMap[ancestorNode.id] = INDETERMINATE\r\n }\r\n })\r\n }\r\n })\r\n }\r\n this.forest.checkedStateMap = checkedStateMap\r\n },\r\n\r\n enhancedNormalizer(raw) {\r\n return {\r\n ...raw,\r\n ...this.normalizer(raw, this.getInstanceId()),\r\n }\r\n },\r\n\r\n normalize(parentNode, nodes, prevNodeMap) {\r\n let normalizedOptions = nodes\r\n .map(node => [ this.enhancedNormalizer(node), node ])\r\n .map(([ node, raw ], index) => {\r\n this.checkDuplication(node)\r\n this.verifyNodeShape(node)\r\n\r\n const { id, label, children, isDefaultExpanded } = node\r\n const isRootNode = parentNode === NO_PARENT_NODE\r\n const level = isRootNode ? 0 : parentNode.level + 1\r\n const isBranch = Array.isArray(children) || children === null\r\n const isLeaf = !isBranch\r\n const isDisabled = !!node.isDisabled || (!this.flat && !isRootNode && parentNode.isDisabled)\r\n const isNew = !!node.isNew\r\n const lowerCased = this.matchKeys.reduce((prev, key) => ({\r\n ...prev,\r\n [key]: stringifyOptionPropValue(node[key]).toLocaleLowerCase(),\r\n }), {})\r\n const nestedSearchLabel = isRootNode\r\n ? lowerCased.label\r\n : parentNode.nestedSearchLabel + ' ' + lowerCased.label\r\n\r\n // this.$ set(this.forest.nodeMap, id, createMap())\r\n this.forest.nodeMap[id] = createMap();\r\n\r\n const normalized = this.forest.nodeMap[id];\r\n\r\n normalized.id = id;\r\n normalized.label = label;\r\n normalized.level = level;\r\n normalized.ancestors = isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors);\r\n normalized.index = (isRootNode ? [] : parentNode.index).concat(index);\r\n normalized.parentNode = parentNode;\r\n normalized.lowerCased = lowerCased;\r\n normalized.nestedSearchLabel = nestedSearchLabel;\r\n normalized.isDisabled = isDisabled;\r\n normalized.isNew = isNew;\r\n normalized.isMatched = false;\r\n normalized.isHighlighted = false;\r\n normalized.isBranch = isBranch;\r\n normalized.isLeaf = isLeaf;\r\n normalized.isRootNode = isRootNode;\r\n normalized.raw = raw;\r\n\r\n // this.$ set(normalized, 'id', id)\r\n // this.$ set(normalized, 'label', label)\r\n // this.$ set(normalized, 'level', level)\r\n // this.$ set(normalized, 'ancestors', isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors))\r\n // this.$ set(normalized, 'index', (isRootNode ? [] : parentNode.index).concat(index))\r\n // this.$ set(normalized, 'parentNode', parentNode)\r\n // this.$ set(normalized, 'lowerCased', lowerCased)\r\n // this.$ set(normalized, 'nestedSearchLabel', nestedSearchLabel)\r\n // this.$ set(normalized, 'isDisabled', isDisabled)\r\n // this.$ set(normalized, 'isNew', isNew)\r\n // this.$ set(normalized, 'isMatched', false)\r\n // this.$ set(normalized, 'isHighlighted', false)\r\n // this.$ set(normalized, 'isBranch', isBranch)\r\n // this.$ set(normalized, 'isLeaf', isLeaf)\r\n // this.$ set(normalized, 'isRootNode', isRootNode)\r\n // this.$ set(normalized, 'raw', raw)\r\n\r\n if (isBranch) {\r\n const isLoaded = Array.isArray(children)\r\n\r\n // this.$ set(normalized, 'childrenStates', {\r\n // ...createAsyncOptionsStates(),\r\n // isLoaded,\r\n // })\r\n normalized.childrenStates = {...createAsyncOptionsStates(),isLoaded}\r\n \r\n // this.$ set(normalized, 'isExpanded', typeof isDefaultExpanded === 'boolean'\r\n // ? isDefaultExpanded\r\n // : level < this.defaultExpandLevel)\r\n normalized.isExpanded = typeof isDefaultExpanded === 'boolean' ? isDefaultExpanded : level < this.defaultExpandLevel;\r\n \r\n // this.$ set(normalized, 'hasMatchedDescendants', false)\r\n // this.$ set(normalized, 'hasDisabledDescendants', false)\r\n // this.$ set(normalized, 'isExpandedOnSearch', false)\r\n // this.$ set(normalized, 'showAllChildrenOnSearch', false)\r\n // this.$ set(normalized, 'count', {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.hasMatchedDescendants = false;\r\n normalized.hasDisabledDescendants = false;\r\n normalized.isExpandedOnSearch = false;\r\n normalized.showAllChildrenOnSearch = false;\r\n normalized.count = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.children = isLoaded ? this.normalize(normalized, children, prevNodeMap) :[];\r\n\r\n if (isDefaultExpanded === true) normalized.ancestors.forEach(ancestor => {\r\n ancestor.isExpanded = true\r\n })\r\n\r\n if (!isLoaded && typeof this.loadOptions !== 'function') {\r\n warning(\r\n () => false,\r\n () => 'Unloaded branch node detected. \"loadOptions\" prop is required to load its children.',\r\n )\r\n } else if (!isLoaded && normalized.isExpanded) {\r\n this.loadChildrenOptions(normalized)\r\n }\r\n }\r\n\r\n normalized.ancestors.forEach(ancestor => ancestor.count[ALL_DESCENDANTS]++)\r\n if (isLeaf) normalized.ancestors.forEach(ancestor => ancestor.count[LEAF_DESCENDANTS]++)\r\n if (!isRootNode) {\r\n parentNode.count[ALL_CHILDREN] += 1\r\n if (isLeaf) parentNode.count[LEAF_CHILDREN] += 1\r\n if (isDisabled) parentNode.hasDisabledDescendants = true\r\n }\r\n\r\n // Preserve previous states.\r\n if (prevNodeMap && prevNodeMap[id]) {\r\n const prev = prevNodeMap[id]\r\n\r\n normalized.isMatched = prev.isMatched\r\n normalized.showAllChildrenOnSearch = prev.showAllChildrenOnSearch\r\n normalized.isHighlighted = prev.isHighlighted\r\n\r\n if (prev.isBranch && normalized.isBranch) {\r\n normalized.isExpanded = prev.isExpanded\r\n normalized.isExpandedOnSearch = prev.isExpandedOnSearch\r\n // #97\r\n // If `isLoaded` was true, but IS NOT now, we consider this branch node\r\n // to be reset to unloaded state by the user of this component.\r\n if (prev.childrenStates.isLoaded && !normalized.childrenStates.isLoaded) {\r\n // Make sure the node is collapsed, then the user can load its\r\n // children again (by expanding).\r\n normalized.isExpanded = false\r\n // We have reset `childrenStates` and don't want to preserve states here.\r\n } else {\r\n normalized.childrenStates = { ...prev.childrenStates }\r\n }\r\n }\r\n }\r\n\r\n return normalized\r\n })\r\n\r\n if (this.branchNodesFirst) {\r\n const branchNodes = normalizedOptions.filter(option => option.isBranch)\r\n const leafNodes = normalizedOptions.filter(option => option.isLeaf)\r\n normalizedOptions = branchNodes.concat(leafNodes)\r\n }\r\n\r\n return normalizedOptions\r\n },\r\n\r\n loadRootOptions() {\r\n this.callLoadOptionsProp({\r\n action: LOAD_ROOT_OPTIONS,\r\n isPending: () => {\r\n return this.rootOptionsStates.isLoading\r\n },\r\n start: () => {\r\n this.rootOptionsStates.isLoading = true\r\n this.rootOptionsStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.rootOptionsStates.isLoaded = true\r\n // Wait for `options` being re-initialized.\r\n this.$nextTick(() => {\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n })\r\n },\r\n fail: err => {\r\n this.rootOptionsStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.rootOptionsStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n loadChildrenOptions(parentNode) {\r\n // The options may be re-initialized anytime during the loading process.\r\n // So `parentNode` can be stale and we use `getNode()` to avoid that.\r\n\r\n const { id, raw } = parentNode\r\n\r\n this.callLoadOptionsProp({\r\n action: LOAD_CHILDREN_OPTIONS,\r\n args: {\r\n // We always pass the raw node instead of the normalized node to any\r\n // callback provided by the user of this component.\r\n // Because the shape of the raw node is more likely to be closing to\r\n // what the back-end API service of the application needs.\r\n parentNode: raw,\r\n },\r\n isPending: () => {\r\n return this.getNode(id).childrenStates.isLoading\r\n },\r\n start: () => {\r\n this.getNode(id).childrenStates.isLoading = true\r\n this.getNode(id).childrenStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.getNode(id).childrenStates.isLoaded = true\r\n },\r\n fail: err => {\r\n this.getNode(id).childrenStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.getNode(id).childrenStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n callLoadOptionsProp({ action, args, isPending, start, succeed, fail, end }) {\r\n if (!this.loadOptions || isPending()) {\r\n return\r\n }\r\n\r\n start()\r\n\r\n const callback = once((err, result) => {\r\n if (err) {\r\n fail(err)\r\n } else {\r\n succeed(result)\r\n }\r\n\r\n end()\r\n })\r\n const result = this.loadOptions({\r\n id: this.getInstanceId(),\r\n instanceId: this.getInstanceId(),\r\n action,\r\n ...args,\r\n callback,\r\n })\r\n\r\n if (isPromise(result)) {\r\n result.then(() => {\r\n callback()\r\n }, err => {\r\n callback(err)\r\n }).catch(err => {\r\n // istanbul ignore next\r\n console.error(err)\r\n })\r\n }\r\n },\r\n\r\n checkDuplication(node) {\r\n warning(\r\n () => !((node.id in this.forest.nodeMap) && !this.forest.nodeMap[node.id].isFallbackNode),\r\n () => `Detected duplicate presence of node id ${JSON.stringify(node.id)}. ` +\r\n `Their labels are \"${this.forest.nodeMap[node.id].label}\" and \"${node.label}\" respectively.`,\r\n )\r\n },\r\n\r\n verifyNodeShape(node) {\r\n warning(\r\n () => !(node.children === undefined && node.isBranch === true),\r\n () => 'Are you meant to declare an unloaded branch node? ' +\r\n '`isBranch: true` is no longer supported, please use `children: null` instead.',\r\n )\r\n },\r\n\r\n select(node) {\r\n if (this.disabled || node.isDisabled) {\r\n return\r\n }\r\n\r\n if (this.single) {\r\n this.clear()\r\n }\r\n\r\n const nextState = this.multiple && !this.flat\r\n ? this.forest.checkedStateMap[node.id] === UNCHECKED\r\n : !this.isSelected(node)\r\n\r\n if (nextState) {\r\n this._selectNode(node)\r\n } else {\r\n this._deselectNode(node)\r\n }\r\n\r\n this.buildForestState()\r\n\r\n if (nextState) {\r\n this.$emit('select', node.raw, this.getInstanceId())\r\n } else {\r\n this.$emit('deselect', node.raw, this.getInstanceId())\r\n }\r\n\r\n if (this.localSearch.active && nextState && (this.single || this.clearOnSelect)) {\r\n this.resetSearchQuery()\r\n }\r\n\r\n if (this.single && this.closeOnSelect) {\r\n this.closeMenu()\r\n\r\n // istanbul ignore else\r\n if (this.searchable) {\r\n this._blurOnSelect = true\r\n }\r\n }\r\n },\r\n\r\n clear() {\r\n if (this.hasValue) {\r\n if (this.single || this.allowClearingDisabled) {\r\n this.forest.selectedNodeIds = []\r\n } else /* if (this.multiple && !this.allowClearingDisabled) */ {\r\n this.forest.selectedNodeIds = this.forest.selectedNodeIds.filter(nodeId =>\r\n this.getNode(nodeId).isDisabled,\r\n )\r\n }\r\n\r\n this.buildForestState()\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _selectNode(node) {\r\n if (this.single || this.disableBranchNodes) {\r\n return this.addValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.addValue(node)\r\n\r\n if (this.autoSelectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (!this.isSelected(ancestor) && !ancestor.isDisabled) this.addValue(ancestor)\r\n })\r\n } else if (this.autoSelectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!this.isSelected(descendant) && !descendant.isDisabled) this.addValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n const isFullyChecked = (\r\n node.isLeaf ||\r\n (/* node.isBranch && */!node.hasDisabledDescendants) ||\r\n (/* node.isBranch && */this.allowSelectingDisabledDescendants)\r\n )\r\n if (isFullyChecked) {\r\n this.addValue(node)\r\n }\r\n\r\n if (node.isBranch) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.addValue(descendant)\r\n }\r\n })\r\n }\r\n\r\n if (isFullyChecked) {\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (curr.children.every(this.isSelected)) this.addValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _deselectNode(node) {\r\n if (this.disableBranchNodes) {\r\n return this.removeValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.removeValue(node)\r\n\r\n if (this.autoDeselectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (this.isSelected(ancestor) && !ancestor.isDisabled) this.removeValue(ancestor)\r\n })\r\n } else if (this.autoDeselectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (this.isSelected(descendant) && !descendant.isDisabled) this.removeValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n let hasUncheckedSomeDescendants = false\r\n if (node.isBranch) {\r\n this.traverseDescendantsDFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.removeValue(descendant)\r\n hasUncheckedSomeDescendants = true\r\n }\r\n })\r\n }\r\n\r\n if (\r\n node.isLeaf ||\r\n /* node.isBranch && */hasUncheckedSomeDescendants ||\r\n /* node.isBranch && */node.children.length === 0\r\n ) {\r\n this.removeValue(node)\r\n\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (this.isSelected(curr)) this.removeValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n addValue(node) {\r\n this.forest.selectedNodeIds.push(node.id)\r\n this.forest.selectedNodeMap[node.id] = true\r\n },\r\n\r\n removeValue(node) {\r\n removeFromArray(this.forest.selectedNodeIds, node.id)\r\n delete this.forest.selectedNodeMap[node.id]\r\n },\r\n\r\n removeLastValue() {\r\n if (!this.hasValue) return\r\n if (this.single) return this.clear()\r\n const lastValue = getLast(this.internalValue)\r\n const lastSelectedNode = this.getNode(lastValue)\r\n this.select(lastSelectedNode) // deselect\r\n },\r\n\r\n saveMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) this.menu.lastScrollPosition = $menu.scrollTop\r\n },\r\n\r\n restoreMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) $menu.scrollTop = this.menu.lastScrollPosition\r\n },\r\n },\r\n\r\n created() {\r\n this.verifyProps()\r\n this.resetFlags()\r\n },\r\n\r\n mounted() {\r\n if (this.autoFocus) this.focusInput()\r\n if (!this.options && !this.async && this.autoLoadRootOptions) this.loadRootOptions()\r\n if (this.alwaysOpen) this.openMenu()\r\n if (this.async && this.defaultOptions) this.handleRemoteSearch()\r\n },\r\n\r\n unmounted() {\r\n // istanbul ignore next\r\n this.toggleClickOutsideEvent(false)\r\n },\r\n}\r\n","\r\n","import script from \"./HiddenFields.vue?vue&type=script&lang=js\"\nexport * from \"./HiddenFields.vue?vue&type=script&lang=js\"\n\nexport default script","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","function isPlainObject(value) {\r\n if (value == null || typeof value !== 'object') return false\r\n return Object.getPrototypeOf(value) === Object.prototype\r\n}\r\n\r\nfunction copy(obj, key, value) {\r\n if (isPlainObject(value)) {\r\n obj[key] || (obj[key] = {})\r\n deepExtend(obj[key], value)\r\n } else {\r\n obj[key] = value\r\n }\r\n}\r\n\r\nexport function deepExtend(target, source) {\r\n if (isPlainObject(source)) {\r\n const keys = Object.keys(source)\r\n\r\n for (let i = 0, len = keys.length; i < len; i++) {\r\n copy(target, keys[i], source[keys[i]])\r\n }\r\n }\r\n\r\n return target\r\n}\r\n","\r\n","import script from \"./Input.vue?vue&type=script&lang=js\"\nexport * from \"./Input.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./Placeholder.vue?vue&type=script&lang=js\"\nexport * from \"./Placeholder.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./SingleValue.vue?vue&type=script&lang=js\"\nexport * from \"./SingleValue.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n\r\n\r\n","import { render } from \"./Delete.vue?vue&type=template&id=12b4a02e\"\nimport script from \"./Delete.vue?vue&type=script&lang=js\"\nexport * from \"./Delete.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\r\n","import script from \"./MultiValueItem.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValueItem.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./MultiValue.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValue.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n\r\n\r\n","import { render } from \"./Arrow.vue?vue&type=template&id=5d5151cb\"\nimport script from \"./Arrow.vue?vue&type=script&lang=js\"\nexport * from \"./Arrow.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\r\n","import script from \"./Control.vue?vue&type=script&lang=js\"\nexport * from \"./Control.vue?vue&type=script&lang=js\"\n\nexport default script","var index = (function (element, listener) {\n\tvar expand = document.createElement('_');\n\tvar shrink = expand.appendChild(document.createElement('_'));\n\tvar expandChild = expand.appendChild(document.createElement('_'));\n\tvar shrinkChild = shrink.appendChild(document.createElement('_'));\n\n\tvar lastWidth = void 0,\n\t lastHeight = void 0;\n\n\tshrink.style.cssText = expand.style.cssText = 'height:100%;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;transition:0s;width:100%;z-index:-1';\n\tshrinkChild.style.cssText = expandChild.style.cssText = 'display:block;height:100%;transition:0s;width:100%';\n\tshrinkChild.style.width = shrinkChild.style.height = '200%';\n\n\telement.appendChild(expand);\n\n\ttest();\n\n\treturn stop;\n\n\tfunction test() {\n\t\tunbind();\n\n\t\tvar width = element.offsetWidth;\n\t\tvar height = element.offsetHeight;\n\n\t\tif (width !== lastWidth || height !== lastHeight) {\n\t\t\tlastWidth = width;\n\t\t\tlastHeight = height;\n\n\t\t\texpandChild.style.width = width * 2 + 'px';\n\t\t\texpandChild.style.height = height * 2 + 'px';\n\n\t\t\texpand.scrollLeft = expand.scrollWidth;\n\t\t\texpand.scrollTop = expand.scrollHeight;\n\t\t\tshrink.scrollLeft = shrink.scrollWidth;\n\t\t\tshrink.scrollTop = shrink.scrollHeight;\n\n\t\t\tlistener({ width: width, height: height });\n\t\t}\n\n\t\tshrink.addEventListener('scroll', test);\n\t\texpand.addEventListener('scroll', test);\n\t}\n\n\tfunction unbind() {\n\t\tshrink.removeEventListener('scroll', test);\n\t\texpand.removeEventListener('scroll', test);\n\t}\n\n\tfunction stop() {\n\t\tunbind();\n\n\t\telement.removeChild(expand);\n\t}\n});\n\nexport default index;\n","import watchSizeForBrowsersOtherThanIE9 from 'watch-size'\r\nimport { removeFromArray } from './removeFromArray'\r\n\r\nlet intervalId\r\nconst registered = []\r\nconst INTERVAL_DURATION = 100\r\n\r\nfunction run() {\r\n intervalId = setInterval(() => {\r\n registered.forEach(test)\r\n }, INTERVAL_DURATION)\r\n}\r\n\r\nfunction stop() {\r\n clearInterval(intervalId)\r\n intervalId = null\r\n}\r\n\r\nfunction test(item) {\r\n const { $el, listener, lastWidth, lastHeight } = item\r\n const width = $el.offsetWidth\r\n const height = $el.offsetHeight\r\n\r\n if (lastWidth !== width || lastHeight !== height) {\r\n item.lastWidth = width\r\n item.lastHeight = height\r\n\r\n listener({ width, height })\r\n }\r\n}\r\n\r\nfunction watchSizeForIE9($el, listener) {\r\n const item = {\r\n $el,\r\n listener,\r\n lastWidth: null,\r\n lastHeight: null,\r\n }\r\n const unwatch = () => {\r\n removeFromArray(registered, item)\r\n if (!registered.length) stop()\r\n }\r\n\r\n registered.push(item)\r\n // The original watch-size will call the listener on initialization.\r\n // Keep the same behavior here.\r\n test(item)\r\n run()\r\n\r\n return unwatch\r\n}\r\n\r\nexport function watchSize($el, listener) {\r\n // See: https://stackoverflow.com/a/31293352\r\n const isIE9 = document.documentMode === 9\r\n // watch-size will call the listener on initialization.\r\n // Disable this behavior with a lock to achieve a clearer code logic.\r\n let locked = true\r\n const wrappedListener = (...args) => locked || listener(...args)\r\n const implementation = isIE9\r\n ? watchSizeForIE9\r\n : watchSizeForBrowsersOtherThanIE9\r\n const removeSizeWatcher = implementation($el, wrappedListener)\r\n locked = false // unlock after initialization\r\n\r\n return removeSizeWatcher\r\n}\r\n","function findScrollParents($el) {\r\n const $scrollParents = []\r\n let $parent = $el.parentNode\r\n\r\n while ($parent && $parent.nodeName !== 'BODY' && $parent.nodeType === document.ELEMENT_NODE) {\r\n if (isScrollElment($parent)) $scrollParents.push($parent)\r\n $parent = $parent.parentNode\r\n }\r\n $scrollParents.push(window)\r\n\r\n return $scrollParents\r\n}\r\n\r\nfunction isScrollElment($el) {\r\n // Firefox wants us to check `-x` and `-y` variations as well\r\n const { overflow, overflowX, overflowY } = getComputedStyle($el)\r\n return /(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)\r\n}\r\n\r\nexport function setupResizeAndScrollEventListeners($el, listener) {\r\n const $scrollParents = findScrollParents($el)\r\n\r\n window.addEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach(scrollParent => {\r\n scrollParent.addEventListener('scroll', listener, { passive: true })\r\n })\r\n\r\n return function removeEventListeners() {\r\n window.removeEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach($scrollParent => {\r\n $scrollParent.removeEventListener('scroll', listener, { passive: true })\r\n })\r\n }\r\n}\r\n","\r\n","import script from \"./Tip.vue?vue&type=script&lang=js\"\nexport * from \"./Tip.vue?vue&type=script&lang=js\"\n\nexport default script","","import script from \"./Option.vue?vue&type=script&lang=js\"\nexport * from \"./Option.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./Menu.vue?vue&type=script&lang=js\"\nexport * from \"./Menu.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./MenuPortal.vue?vue&type=script&lang=js\"\nexport * from \"./MenuPortal.vue?vue&type=script&lang=js\"\n\nexport default script","import { render } from \"./Treeselect.vue?vue&type=template&id=4fa337e8\"\nimport script from \"./Treeselect.vue?vue&type=script&lang=js\"\nexport * from \"./Treeselect.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","import Treeselect from './components/Treeselect'\r\nimport treeselectMixin from './mixins/treeselectMixin'\r\nimport '../styles/style.less'\r\n\r\nexport default Treeselect\r\nexport { Treeselect, treeselectMixin }\r\nexport {\r\n // Delayed loading.\r\n LOAD_ROOT_OPTIONS,\r\n LOAD_CHILDREN_OPTIONS,\r\n ASYNC_SEARCH,\r\n} from './constants'\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","'use strict';\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar SPECIES = wellKnownSymbol('species');\nvar nativeSlice = [].slice;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = toLength(O.length);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return nativeSlice.call(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n // eslint-disable-next-line no-undef\n && !Symbol.sham\n // eslint-disable-next-line no-undef\n && typeof Symbol.iterator == 'symbol';\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://vue3-treeselect/webpack/universalModuleDefinition","webpack://vue3-treeselect/webpack/bootstrap","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.test.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-string-tag-support.js","webpack://vue3-treeselect/./node_modules/lodash/_getRawTag.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-bind-context.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.flat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-ff-version.js","webpack://vue3-treeselect/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/length-of-array-like.js","webpack://vue3-treeselect/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-species-constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-substitution.js","webpack://vue3-treeselect/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue3-treeselect/./node_modules/core-js/internals/try-to-string.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://vue3-treeselect/./node_modules/lodash/isObjectLike.js","webpack://vue3-treeselect/./node_modules/core-js/internals/make-built-in.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.reduce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.push.js","webpack://vue3-treeselect/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-callable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-possible-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/has-own-property.js","webpack://vue3-treeselect/./node_modules/lodash/isObject.js","webpack://vue3-treeselect/./node_modules/core-js/internals/html.js","webpack://vue3-treeselect/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue3-treeselect/./node_modules/lodash/once.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue3-treeselect/./node_modules/core-js/internals/export.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://vue3-treeselect/./node_modules/is-promise/index.js","webpack://vue3-treeselect/./node_modules/lodash/_objectToString.js","webpack://vue3-treeselect/./node_modules/lodash/_root.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-apply.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue3-treeselect/./node_modules/fuzzysearch/index.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue3-treeselect/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://vue3-treeselect/./node_modules/lodash/_baseGetTag.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-define-properties.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-set-length.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/a-possible-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.unscopables.flat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/this-number-value.js","webpack://vue3-treeselect/./node_modules/lodash/now.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-bind-native.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/path.js","webpack://vue3-treeselect/./node_modules/lodash/last.js","webpack://vue3-treeselect/./node_modules/core-js/internals/indexed-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/add-to-unscopables.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.some.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://vue3-treeselect/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.trim.js","webpack://vue3-treeselect/./node_modules/lodash/toInteger.js","webpack://vue3-treeselect/./node_modules/lodash/_trimmedEndIndex.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-includes.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.filter.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.sort.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-length.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-webkit-version.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.replace.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared.js","webpack://vue3-treeselect/./node_modules/core-js/internals/own-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-string.js","webpack://vue3-treeselect/./node_modules/lodash/_freeGlobal.js","webpack://vue3-treeselect/./node_modules/core-js/internals/whitespaces.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-trim.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://vue3-treeselect/./node_modules/core-js/internals/a-callable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-name.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-is-node.js","webpack://vue3-treeselect/./node_modules/core-js/internals/define-global-property.js","webpack://vue3-treeselect/./node_modules/lodash/toFinite.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-multibyte.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-species-create.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/internal-state.js","webpack://vue3-treeselect/./node_modules/vue-loader-v16/dist/exportHelper.js","webpack://vue3-treeselect/./node_modules/core-js/internals/inherit-if-required.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://vue3-treeselect/./node_modules/lodash/constant.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue3-treeselect/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-create.js","webpack://vue3-treeselect/./node_modules/core-js/internals/an-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/descriptors.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-property.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/inspect-source.js","webpack://vue3-treeselect/./node_modules/core-js/internals/advance-string-index.js","webpack://vue3-treeselect/external {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://vue3-treeselect/./node_modules/lodash/_baseTrim.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-get-flags.js","webpack://vue3-treeselect/./node_modules/core-js/internals/uid.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-exec.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-forced.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.concat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-define-property.js","webpack://vue3-treeselect/./node_modules/lodash/_Symbol.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-property-key.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.join.js","webpack://vue3-treeselect/./node_modules/core-js/internals/flatten-into-array.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.splice.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.every.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-is-strict.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.number.constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/error-to-string.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.exec.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-flags.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-sort.js","webpack://vue3-treeselect/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-to-string.js","webpack://vue3-treeselect/./node_modules/lodash/debounce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/math-trunc.js","webpack://vue3-treeselect/./node_modules/lodash/toNumber.js","webpack://vue3-treeselect/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-iteration.js","webpack://vue3-treeselect/./node_modules/lodash/noop.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-primitive.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-pure.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-call.js","webpack://vue3-treeselect/./node_modules/core-js/internals/classof-raw.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared-store.js","webpack://vue3-treeselect/(webpack)/buildin/global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-trim-forced.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.index-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue3-treeselect/./node_modules/core-js/internals/define-built-in.js","webpack://vue3-treeselect/./node_modules/core-js/internals/document-create-element.js","webpack://vue3-treeselect/./node_modules/lodash/identity.js","webpack://vue3-treeselect/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://vue3-treeselect/./node_modules/core-js/internals/hidden-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/fails.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-built-in.js","webpack://vue3-treeselect/./styles/style.less?fa18","webpack://vue3-treeselect/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.to-string.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.error.to-string.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-reduce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.map.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-symbol.js","webpack://vue3-treeselect/./node_modules/core-js/internals/global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-method.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-keys.js","webpack://vue3-treeselect/./node_modules/lodash/before.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-json-replacer-function.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-uncurry-this.js","webpack://vue3-treeselect/./node_modules/core-js/internals/normalize-string-argument.js","webpack://vue3-treeselect/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-array.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.json.stringify.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-slice.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.date.to-json.js","webpack://vue3-treeselect/./node_modules/core-js/internals/classof.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared-key.js","webpack://vue3-treeselect/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue3-treeselect/./src/components/Treeselect.vue","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack://vue3-treeselect/./src/utils/isNaN.js","webpack://vue3-treeselect/./src/utils/includes.js","webpack://vue3-treeselect/./src/utils/createMap.js","webpack://vue3-treeselect/./src/utils/quickDiff.js","webpack://vue3-treeselect/./src/utils/warning.js","webpack://vue3-treeselect/./src/utils/find.js","webpack://vue3-treeselect/./src/utils/onLeftClick.js","webpack://vue3-treeselect/./src/utils/scrollIntoView.js","webpack://vue3-treeselect/./src/utils/removeFromArray.js","webpack://vue3-treeselect/./src/constants.js","webpack://vue3-treeselect/./src/mixins/treeselectMixin.js","webpack://vue3-treeselect/./src/components/HiddenFields.vue","webpack://vue3-treeselect/./src/components/HiddenFields.vue?e58b","webpack://vue3-treeselect/./src/utils/deepExtend.js","webpack://vue3-treeselect/./src/components/Input.vue","webpack://vue3-treeselect/./src/components/Input.vue?fc70","webpack://vue3-treeselect/./src/components/Placeholder.vue","webpack://vue3-treeselect/./src/components/Placeholder.vue?01b9","webpack://vue3-treeselect/./src/components/SingleValue.vue","webpack://vue3-treeselect/./src/components/SingleValue.vue?3239","webpack://vue3-treeselect/./src/components/icons/Delete.vue","webpack://vue3-treeselect/./src/components/icons/Delete.vue?d2f2","webpack://vue3-treeselect/./src/components/MultiValueItem.vue","webpack://vue3-treeselect/./src/components/MultiValueItem.vue?06c2","webpack://vue3-treeselect/./src/components/MultiValue.vue","webpack://vue3-treeselect/./src/components/MultiValue.vue?66e6","webpack://vue3-treeselect/./src/components/icons/Arrow.vue","webpack://vue3-treeselect/./src/components/icons/Arrow.vue?06bc","webpack://vue3-treeselect/./src/components/Control.vue","webpack://vue3-treeselect/./src/components/Control.vue?899c","webpack://vue3-treeselect/./node_modules/watch-size/index.es.mjs","webpack://vue3-treeselect/./src/utils/watchSize.js","webpack://vue3-treeselect/./src/utils/setupResizeAndScrollEventListeners.js","webpack://vue3-treeselect/./src/components/Tip.vue","webpack://vue3-treeselect/./src/components/Tip.vue?d7ae","webpack://vue3-treeselect/./src/components/Option.vue","webpack://vue3-treeselect/./src/components/Option.vue?b989","webpack://vue3-treeselect/./src/components/Menu.vue","webpack://vue3-treeselect/./src/components/Menu.vue?d1ee","webpack://vue3-treeselect/./src/components/MenuPortal.vue","webpack://vue3-treeselect/./src/components/MenuPortal.vue?9bba","webpack://vue3-treeselect/./src/components/Treeselect.vue?28b4","webpack://vue3-treeselect/./src/index.js","webpack://vue3-treeselect/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.slice.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://vue3-treeselect/./node_modules/core-js/internals/dom-iterables.js","webpack://vue3-treeselect/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue3-treeselect/./node_modules/lodash/isSymbol.js"],"names":["_createBlock","ref","class","_ctx","wrapperClass","_createVNode","_component_HiddenFields","_component_Control","appendToBody","_component_MenuPortal","_component_Menu","_arrayWithHoles","r","Array","isArray","_iterableToArrayLimit","l","t","Symbol","iterator","e","n","i","u","a","f","o","call","next","Object","done","push","value","length","_arrayLikeToArray","_unsupportedIterableToArray","arrayLikeToArray","toString","slice","constructor","name","from","test","_nonIterableRest","TypeError","_slicedToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","_typeof","prototype","toPrimitive","String","Number","toPropertyKey","_defineProperty","defineProperty","enumerable","configurable","writable","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","_toConsumableArray","arrayWithoutHoles","iterableToArray","nonIterableSpread","ownKeys","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","apply","_objectSpread2","arguments","forEach","getOwnPropertyDescriptors","defineProperties","isNaN","x","includes","arrOrStr","elem","indexOf","createMap","create","quickDiff","arrA","arrB","warning","process","noop","find","arr","predicate","ctx","len","undefined","onLeftClick","mouseDownHandler","onMouseDown","evt","type","button","_len","args","_key","concat","scrollIntoView","$scrollingEl","$focusedEl","scrollingReact","getBoundingClientRect","focusedRect","overScroll","offsetHeight","bottom","scrollTop","Math","min","offsetTop","clientHeight","scrollHeight","top","max","removeFromArray","idx","splice","NO_PARENT_NODE","UNCHECKED","INDETERMINATE","CHECKED","ALL_CHILDREN","ALL_DESCENDANTS","LEAF_CHILDREN","LEAF_DESCENDANTS","LOAD_ROOT_OPTIONS","LOAD_CHILDREN_OPTIONS","ASYNC_SEARCH","ALL","BRANCH_PRIORITY","LEAF_PRIORITY","ALL_WITH_INDETERMINATE","ORDER_SELECTED","LEVEL","INDEX","KEY_CODES","BACKSPACE","ENTER","ESCAPE","END","HOME","ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN","DELETE","INPUT_DEBOUNCE_DELAY","MIN_INPUT_WIDTH","MENU_BUFFER","sortValueByIndex","b","level","index","sortValueByLevel","createAsyncOptionsStates","isLoaded","isLoading","loadingError","stringifyOptionPropValue","match","enableFuzzyMatch","needle","haystack","fuzzysearch","getErrorMessage","err","message","instanceId","provide","instance","props","allowClearingDisabled","Boolean","default","allowSelectingDisabledDescendants","alwaysOpen","async","autoFocus","autoLoadRootOptions","autoDeselectAncestors","autoDeselectDescendants","autoSelectAncestors","autoSelectDescendants","backspaceRemoves","beforeClearAll","Function","constant","branchNodesFirst","cacheOptions","clearable","clearAllText","clearOnSelect","clearValueText","closeOnSelect","defaultExpandLevel","defaultOptions","deleteRemoves","delimiter","flattenSearchResults","disableBranchNodes","disabled","disableFuzzyMatching","flat","_default","joinValues","limit","Infinity","limitText","limitTextDefault","count","loadingText","loadOptions","matchKeys","maxHeight","multiple","noChildrenText","noOptionsText","noResultsText","normalizer","identity","openDirection","validator","acceptableValues","openOnClick","openOnFocus","options","placeholder","required","retryText","retryTitle","searchable","searchNested","searchPromptText","showCount","showCountOf","showCountOnSearch","sortValueBy","tabIndex","modelValue","valueConsistsOf","valueFormat","zIndex","data","trigger","isFocused","searchQuery","menu","isOpen","current","lastScrollPosition","placement","forest","normalizedOptions","nodeMap","checkedStateMap","selectedNodeIds","extractCheckedNodeIdsFromValue","selectedNodeMap","rootOptionsStates","localSearch","active","noResults","countMap","remoteSearch","computed","selectedNodes","map","getNode","internalValue","_this","single","id","node","isRootNode","isSelected","parentNode","isLeaf","children","_internalValue","indeterminateNodeIds","selectedNode","ancestors","ancestor","sort","hasValue","visibleOptionIds","_this2","traverseAllNodesByIndex","shouldOptionBeIncludedInSearchResult","isBranch","shouldExpand","hasVisibleOptions","showCountOnSearchComputed","hasBranchNodes","some","rootNode","shouldFlattenOptions","watch","newValue","openMenu","closeMenu","initialize","oldValue","hasChanged","$emit","getValue","getInstanceId","buildForestState","handler","deep","immediate","triggerSearchQuery","handleRemoteSearch","handleLocalSearch","nodeIdsFromValue","fixSelectedNodeIds","methods","verifyProps","_this3","propNames","propName","resetFlags","_blurOnSelect","getRemoteSearchEntry","prevNodeMap","keepDataOfSelectedNodes","normalize","_this4","rawNodes","raw","nodeId","createFallbackNode","extractNodeFromValue","label","enhancedNormalizer","fallbackNode","isFallbackNode","isDisabled","childrenIgnoreDisabled","isNew","_this5","_this6","defaultNode","valueArray","matched","nodeIdListOfPrevValue","_this7","nextSelectedNodeIds","traverseDescendantsBFS","descendant","queue","shift","_this8","_objectSpread","callback","currNode","traverseDescendantsDFS","_this9","child","traverseAllNodesDFS","_this10","walk","toggleClickOutsideEvent","enabled","document","addEventListener","handleClickOutside","removeEventListener","getValueContainer","$refs","control","getInput","input","focusInput","focus","blurInput","blur","handleMouseDown","preventDefault","stopPropagation","isClickedOnValueContainer","$el","contains","target","wrapper","_this11","resetHighlightedOptionWhenNecessary","isExpandedOnSearch","showAllChildrenOnSearch","isMatched","hasMatchedDescendants","lowerCasedSearchQuery","trim","toLocaleLowerCase","splitSearchQuery","replace","split","every","filterValue","nestedSearchLabel","matchKey","lowerCased","_this12","entry","callLoadOptionsProp","action","isPending","start","succeed","fail","end","_this13","$watch","isExpanded","shouldShowOptionInMenu","getControl","getMenu","portal","portalTarget","$menu","nodeName","setCurrentHighlightedOption","_this14","scroll","prev","isHighlighted","scrollToOption","$option","querySelector","$nextTick","forceReset","highlightFirstOption","first","highlightPrevOption","highlightLastOption","highlightNextOption","last","getLast","resetSearchQuery","saveMenuScrollPosition","restoreMenuScrollPosition","loadRootOptions","toggleMenu","toggleExpanded","nextState","childrenStates","loadChildrenOptions","_this15","selectedNodeId","ancestorNode","nodes","_this16","_ref","_ref2","checkDuplication","verifyNodeShape","isDefaultExpanded","reduce","key","normalized","hasDisabledDescendants","branchNodes","option","leafNodes","_this17","_this18","_ref3","once","result","isPromise","then","catch","console","error","_this19","JSON","stringify","select","clear","_selectNode","_deselectNode","_this20","_this21","addValue","isFullyChecked","curr","_this22","removeValue","hasUncheckedSomeDescendants","removeLastValue","lastValue","lastSelectedNode","created","mounted","unmounted","stringifyValue","defineComponent","inject","functional","render","context","h","stringifiedValues","join","stringifiedValue","isPlainObject","getPrototypeOf","copy","obj","deepExtend","source","_isSlot","s","_isVNode","keysThatRequireMenuBeingOpen","inputWidth","needAutoSize","inputStyle","width","instanceTriggerSearchQuery","updateInputWidth","debouncedCallback","debounce","updateSearchQuery","leading","trailing","onInput","onFocus","onBlur","activeElement","cancel","onKeyDown","which","keyCode","ctrlKey","shiftKey","altKey","metaKey","renderInputContainer","$createElement","renderInput","renderSizer","on","keydown","attrs","_mergeProps","sizer","scrollWidth","placeholderClass","renderSingleValueLabel","customValueLabelRenderer","$slots","renderValueContainer","$parent","shouldShowValue","Placeholder","Input","xmlns","viewBox","d","_hoisted_1","_hoisted_2","itemClass","labelRenderer","DeleteIcon","renderMultiValueItems","MultiValueItem","renderExceedLimitTip","shouldShowX","hasUndisabledValue","shouldShowArrow","renderX","title","handleMouseDownOnX","renderArrow","arrowClass","handleMouseDownOnArrow","ArrowIcon","shouldClear","setTimeout","ValueContainer","SingleValue","MultiValue","intervalId","registered","INTERVAL_DURATION","run","setInterval","stop","clearInterval","item","listener","lastWidth","lastHeight","offsetWidth","height","watchSizeForIE9","unwatch","watchSize","isIE9","documentMode","locked","wrappedListener","implementation","watchSizeForBrowsersOtherThanIE9","removeSizeWatcher","findScrollParents","$scrollParents","nodeType","ELEMENT_NODE","isScrollElment","window","_getComputedStyle","getComputedStyle","overflow","overflowX","overflowY","setupResizeAndScrollEventListeners","passive","scrollParent","removeEventListeners","$scrollParent","icon","arrowPlaceholder","checkMark","minusMark","Option","shouldShow","renderOption","optionClass","handleMouseEnterOption","renderLabelContainer","renderCheckboxContainer","renderCheckbox","renderLabel","renderSubOptionsList","renderSubOptions","renderNoChildrenTip","renderLoadingChildrenTip","renderLoadingChildrenErrorTip","_createTextVNode","handleMouseDownOnLabelContainer","checkedState","checkboxClass","shouldShowCount","NaN","labelClassName","countClassName","customLabelRenderer","childNode","_resolveComponent","Tip","handleMouseDownOnRetry","currentTarget","handleMouseDownOnOptionArrow","indentLevel","listItemClass","directionMap","above","below","menuStyle","menuContainerStyle","instanceMenuIsOpen","onMenuOpen","onMenuClose","menuSizeWatcher","menuResizeAndScrollEventListeners","renderMenu","renderBeforeList","renderAsyncSearchMenuInner","renderLocalSearchMenuInner","renderNormalMenuInner","renderAfterList","beforeListRenderer","afterListRenderer","renderLoadingOptionsTip","renderLoadingRootOptionsErrorTip","renderNoAvailableOptionsTip","renderOptionList","renderNoResultsTip","shouldShowSearchPromptTip","shouldShowNoResultsTip","renderSearchPromptTip","renderAsyncSearchLoadingErrorTip","adjustMenuOpenDirection","setupMenuSizeWatcher","setupMenuResizeAndScrollEventListeners","removeMenuSizeWatcher","removeMenuResizeAndScrollEventListeners","$control","menuRect","controlRect","menuHeight","viewportHeight","innerHeight","spaceAbove","spaceBelow","isControlInViewport","hasEnoughSpaceBelow","hasEnoughSpaceAbove","remove","PortalTarget","setupHandlers","removeHandlers","instanceMenuPlacement","updateMenuContainerOffset","controlResizeAndScrollEventListeners","controlSizeWatcher","updateWidth","setupControlResizeAndScrollEventListeners","setupControlSizeWatcher","removeControlResizeAndScrollEventListeners","removeControlSizeWatcher","$portalTarget","style","portalTargetRect","offsetY","left","round","transformVariations","transform","body","portalTargetClass","portalTargetStyle","Menu","setup","teardown","el","createElement","appendChild","createApp","parent","mount","removeChild","innerHTML","$destroy","mixins","treeselectMixin","components","HiddenFields","Control","MenuPortal","Treeselect"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;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,0C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C;;AAE9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;ACtBa;AACb,kBAAkB,mBAAO,CAAC,MAAoC;AAC9D,eAAe,mBAAO,CAAC,MAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA,yCAAyC,IAAI;AAC7C,kDAAkD,IAAI;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;AC7Ca;AACb,kBAAkB,mBAAO,CAAC,MAA0B;AACpD,YAAY,mBAAO,CAAC,MAAoB;AACxC,oBAAoB,mBAAO,CAAC,MAAsC;;AAElE;AACA;AACA;AACA;AACA,sBAAsB,UAAU;AAChC,GAAG;AACH,CAAC;;;;;;;;;ACXY;AACb;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;ACTa;AACb,YAAY,mBAAO,CAAC,MAAoB;AACxC,aAAa,mBAAO,CAAC,MAAqB;;AAE1C;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;AC5Ba;AACb,kBAAkB,mBAAO,CAAC,MAAoC;AAC9D,YAAY,mBAAO,CAAC,MAAoB;AACxC,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,aAAa,mBAAO,CAAC,MAA+B;AACpD,kBAAkB,mBAAO,CAAC,MAA0B;AACpD,iCAAiC,mBAAO,CAAC,MAA4B;AACrE,oBAAoB,mBAAO,CAAC,MAA6B;AACz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/C,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,wBAAwB,mBAAO,CAAC,MAAmC;AACnE,0BAA0B,mBAAO,CAAC,MAAqC;AACvE,eAAe,mBAAO,CAAC,MAAwB;AAC/C,eAAe,mBAAO,CAAC,MAAwB;AAC/C,6BAA6B,mBAAO,CAAC,MAAuC;AAC5E,yBAAyB,mBAAO,CAAC,MAAmC;AACpE,gBAAgB,mBAAO,CAAC,MAAyB;AACjD,sBAAsB,mBAAO,CAAC,MAA+B;AAC7D,iBAAiB,mBAAO,CAAC,MAAmC;AAC5D,sBAAsB,mBAAO,CAAC,MAAgC;;AAE9D;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,qBAAqB,oBAAoB;AACzC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;;;;;;;AC7IY;AACb,YAAY,mBAAO,CAAC,MAA2B;;AAE/C;AACA,gDAAgD;AAChD;;;;;;;;;ACLa;AACb,iBAAiB,mBAAO,CAAC,MAA2B;AACpD,kBAAkB,mBAAO,CAAC,MAAoC;AAC9D,gCAAgC,mBAAO,CAAC,MAA4C;AACpF,kCAAkC,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MAAY;;AAEnC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACzCa;AACb,kBAAkB,mBAAO,CAAC,MAAoC;AAC9D,0BAA0B,mBAAO,CAAC,MAAqC;AACvE,eAAe,mBAAO,CAAC,MAAwB;AAC/C,6BAA6B,mBAAO,CAAC,MAAuC;;AAE5E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACpCa;AACb,8BAA8B,mBAAO,CAAC,MAAwC;;AAE9E;AACA;AACA;AACA;AACA;;;;;;;;;ACPa;AACb,kBAAkB,mBAAO,CAAC,MAAoC;AAC9D,YAAY,mBAAO,CAAC,MAAoB;AACxC,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,cAAc,mBAAO,CAAC,MAAsB;AAC5C,iBAAiB,mBAAO,CAAC,MAA2B;AACpD,oBAAoB,mBAAO,CAAC,MAA6B;;AAEzD,wBAAwB;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,eAAe,EAAE;AAC1D;AACA,CAAC;;;;;;;;;ACnDY;AACb,sBAAsB,mBAAO,CAAC,MAAuC;AACrE,aAAa,mBAAO,CAAC,MAAqB;AAC1C,eAAe,mBAAO,CAAC,MAAwB;AAC/C,kCAAkC,mBAAO,CAAC,MAA6C;AACvF,aAAa,mBAAO,CAAC,MAA+B;AACpD,aAAa,mBAAO,CAAC,MAA2B;AAChD,gBAAgB,mBAAO,CAAC,MAAyB;AACjD,iBAAiB,mBAAO,CAAC,MAA0B;;AAEnD;AACA;AACA;AACA;;AAEA;AACA,uCAAuC;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtEa;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACVa;AACb,iBAAiB,mBAAO,CAAC,MAA0B;AACnD,eAAe,mBAAO,CAAC,MAAwB;AAC/C,qBAAqB,mBAAO,CAAC,MAAsC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClBa;AACb;AACA;AACA;AACA;AACA;;;;;;;;;ACLa;AACb,kBAAkB,mBAAO,CAAC,MAAoC;AAC9D,gBAAgB,mBAAO,CAAC,MAAyB;;AAEjD;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,SAAS;AACtB;AACA;AACA,wCAAwC,SAAS;AACjD;AACA;AACA,WAAW,SAAS,GAAG,SAAS;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACzBa;AACb;AACA;;;;;;;;;ACFa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACVa;AACb;AACA,4BAA4B,mBAAO,CAAC,MAAsC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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,WAAW,OAAO,YAAY;AAC9B,WAAW,QAAQ;AACnB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,QAAQ;AACnB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,8CAA8C,kBAAkB;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;AC9La;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACVA,eAAe,mBAAO,CAAC,MAAa;AACpC,eAAe,mBAAO,CAAC,MAAY;AACnC,eAAe,mBAAO,CAAC,MAAY;;AAEnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,OA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A;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA,CAAC;;;;;;;;;AChDY;AACb;AACA,oBAAoB,mBAAO,CAAC,MAA6B;AACzD,6BAA6B,mBAAO,CAAC,MAAuC;;AAE5E;AACA;AACA;;;;;;;;;ACPa;AACb,YAAY,mBAAO,CAAC,MAAoB;AACxC,aAAa,mBAAO,CAAC,MAAqB;;AAE1C;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;;;;;;;ACVY;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnCa;AACb;AACA,oBAAoB,mBAAO,CAAC,MAA2C;;AAEvE;AACA;AACA;;;;;;;;ACNA,iBAAiB,mBAAO,CAAC,MAAe;AACxC,mBAAmB,mBAAO,CAAC,MAAgB;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA","file":"vue3-treeselect.umd.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"vue3-treeselect\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"vue3-treeselect\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__8bbf__) {\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 = \"fb15\");\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar anObject = require('../internals/an-object');\nvar toString = require('../internals/to-string');\n\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\n\nvar nativeTest = /./.test;\n\n// `RegExp.prototype.test` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.test\n$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {\n test: function (S) {\n var R = anObject(this);\n var string = toString(S);\n var exec = R.exec;\n if (!isCallable(exec)) return call(nativeTest, R, string);\n var result = call(exec, R, string);\n if (result === null) return false;\n anObject(result);\n return true;\n }\n});\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));\n return A;\n }\n});\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: FORCED }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw new $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nmodule.exports = function (argument) {\n return isObject(argument) || argument === null;\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var before = require('./before');\n\n/**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\nfunction once(func) {\n return before(2, func);\n}\n\nmodule.exports = once;\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\nvar global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = global[TARGET] && global[TARGET].prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, { unsafe: true });\n}\n","module.exports = isPromise;\nmodule.exports.default = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\n\nfunction fuzzysearch (needle, haystack) {\n var tlen = haystack.length;\n var qlen = needle.length;\n if (qlen > tlen) {\n return false;\n }\n if (qlen === tlen) {\n return needle === haystack;\n }\n outer: for (var i = 0, j = 0; i < qlen; i++) {\n var nch = needle.charCodeAt(i);\n while (j < tlen) {\n if (haystack.charCodeAt(j++) === nch) {\n continue outer;\n }\n }\n return false;\n }\n return true;\n}\n\nmodule.exports = fuzzysearch;\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw new $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar isPossiblePrototype = require('../internals/is-possible-prototype');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (isPossiblePrototype(argument)) return argument;\n throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\n// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {\n forEach: forEach\n});\n","'use strict';\nvar global = require('../internals/global');\n\nmodule.exports = global;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n if (length === 0) return !IS_INCLUDES && -1;\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n var fullUnicode;\n if (global) {\n fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n\n var results = [];\n var result;\n while (true) {\n result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n var replacement;\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar global = require('../internals/global');\nvar classof = require('../internals/classof-raw');\n\nmodule.exports = classof(global.process) === 'process';\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.test(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, [], argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\n// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n else object[key] = value;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') !== null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') !== null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = uncurryThis([].join);\n\nvar ES3_STRINGS = IndexedObject !== Object;\nvar FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: FORCED }, {\n join: function join(separator) {\n return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg) : false;\n var element, elementLen;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n elementLen = lengthOfArrayLike(element);\n targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;\n } else {\n doesNotExceedSafeInteger(targetIndex + 1);\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n setArrayLength(O, len - actualDeleteCount + insertCount);\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar path = require('../internals/path');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar stringSlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n // fast equal of /^0b[01]+$/i\n case 66:\n case 98:\n radix = 2;\n maxCode = 49;\n break;\n // fast equal of /^0o[0-7]+$/i\n case 79:\n case 111:\n radix = 8;\n maxCode = 55;\n break;\n default:\n return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\n\nvar nativeErrorToString = Error.prototype.toString;\n\nvar INCORRECT_TO_STRING = fails(function () {\n if (DESCRIPTORS) {\n // Chrome 32- incorrectly call accessor\n // eslint-disable-next-line es/no-object-create, es/no-object-defineproperty -- safe\n var object = Object.create(Object.defineProperty({}, 'name', { get: function () {\n return this === object;\n } }));\n if (nativeErrorToString.call(object) !== 'true') return true;\n }\n // FF10- does not properly handle non-strings\n return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'\n // IE8 does not properly handle defaults\n || nativeErrorToString.call({}) !== 'Error';\n});\n\nmodule.exports = INCORRECT_TO_STRING ? function toString() {\n var O = anObject(this);\n var name = normalizeStringArgument(O.name, 'Error');\n var message = normalizeStringArgument(O.message);\n return !name ? message : !message ? name : name + ': ' + message;\n} : nativeErrorToString;\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\nvar arraySlice = require('../internals/array-slice');\n\nvar floor = Math.floor;\n\nvar sort = function (array, comparefn) {\n var length = array.length;\n\n if (length < 8) {\n // insertion sort\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n }\n } else {\n // merge sort\n var middle = floor(length / 2);\n var left = sort(arraySlice(array, 0, middle), comparefn);\n var right = sort(arraySlice(array, middle), comparefn);\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n }\n }\n\n return array;\n};\n\nmodule.exports = sort;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE === 1;\n var IS_FILTER = TYPE === 2;\n var IS_SOME = TYPE === 3;\n var IS_EVERY = TYPE === 4;\n var IS_FIND_INDEX = TYPE === 6;\n var IS_FILTER_REJECT = TYPE === 7;\n var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(self);\n var boundFunction = bind(callbackfn, that);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n version: '3.37.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\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';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nmodule.exports = {};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","// extracted by mini-css-extract-plugin","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar isObject = require('../internals/is-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n requireObjectCoercible(O);\n aPossiblePrototype(proto);\n if (!isObject(O)) return O;\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\nvar errorToString = require('../internals/error-to-string');\n\nvar ErrorPrototype = Error.prototype;\n\n// `Error.prototype.toString` method fix\n// https://tc39.es/ecma262/#sec-error.prototype.tostring\nif (ErrorPrototype.toString !== errorToString) {\n defineBuiltIn(ErrorPrototype, 'toString', errorToString);\n}\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\nvar REDUCE_EMPTY = 'Reduce of empty array with no initial value';\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n aCallable(callbackfn);\n if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw new $TypeError(REDUCE_EMPTY);\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegExp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) !== 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () {\n execCalled = true;\n return null;\n };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) };\n }\n return { done: true, value: call(nativeMethod, str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var toInteger = require('./toInteger');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\nfunction before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n}\n\nmodule.exports = before;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')('stringify detection');\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) !== '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) !== '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) !== '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = fails(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.es/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O, 'number');\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","\r\n\r\n\r\n","function _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nexport { _arrayWithHoles as default };","function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nexport { _iterableToArrayLimit as default };","function _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nexport { _arrayLikeToArray as default };","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;\n }\n}\nexport { _unsupportedIterableToArray as default };","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableRest as default };","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nfunction _slicedToArray(r, e) {\n return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();\n}\nexport { _slicedToArray as default };","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\nexport { _typeof as default };","import _typeof from \"./typeof.js\";\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nexport { toPrimitive as default };","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nexport { toPropertyKey as default };","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nfunction _arrayWithoutHoles(r) {\n if (Array.isArray(r)) return arrayLikeToArray(r);\n}\nexport { _arrayWithoutHoles as default };","function _iterableToArray(r) {\n if (\"undefined\" != typeof Symbol && null != r[Symbol.iterator] || null != r[\"@@iterator\"]) return Array.from(r);\n}\nexport { _iterableToArray as default };","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableSpread as default };","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nfunction _toConsumableArray(r) {\n return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread();\n}\nexport { _toConsumableArray as default };","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}\nexport { _objectSpread2 as default };","export function isNaN(x) {\r\n return x !== x\r\n}\r\n","export function includes(arrOrStr, elem) {\r\n return arrOrStr.indexOf(elem) !== -1\r\n}\r\n","export const createMap = () => Object.create(null)\r\n","export function quickDiff(arrA, arrB) {\r\n if (arrA.length !== arrB.length) return true\r\n\r\n for (let i = 0; i < arrA.length; i++) {\r\n if (arrA[i] !== arrB[i]) return true\r\n }\r\n\r\n return false\r\n}\r\n","import { noop } from './noop'\r\n\r\nexport const warning = process.env.NODE_ENV === 'production'\r\n ? /* istanbul ignore next */ noop\r\n : function warning(checker, complainer) {\r\n if (!checker()) {\r\n const message = [ '[Vue-Treeselect Warning]' ].concat(complainer())\r\n // eslint-disable-next-line no-console\r\n console.error(...message)\r\n }\r\n }\r\n","export function find(arr, predicate, ctx) {\r\n for (let i = 0, len = arr.length; i < len; i++) {\r\n if (predicate.call(ctx, arr[i], i, arr)) return arr[i]\r\n }\r\n return undefined\r\n}\r\n","export function onLeftClick(mouseDownHandler) {\r\n return function onMouseDown(evt, ...args) {\r\n if (evt.type === 'mousedown' && evt.button === 0) {\r\n mouseDownHandler.call(this, evt, ...args)\r\n }\r\n }\r\n}\r\n","// from react-select\r\nexport function scrollIntoView($scrollingEl, $focusedEl) {\r\n const scrollingReact = $scrollingEl.getBoundingClientRect()\r\n const focusedRect = $focusedEl.getBoundingClientRect()\r\n const overScroll = $focusedEl.offsetHeight / 3\r\n\r\n if (focusedRect.bottom + overScroll > scrollingReact.bottom) {\r\n $scrollingEl.scrollTop = Math.min(\r\n $focusedEl.offsetTop + $focusedEl.clientHeight - $scrollingEl.offsetHeight + overScroll,\r\n $scrollingEl.scrollHeight,\r\n )\r\n } else if (focusedRect.top - overScroll < scrollingReact.top) {\r\n $scrollingEl.scrollTop = Math.max($focusedEl.offsetTop - overScroll, 0)\r\n }\r\n}\r\n","export function removeFromArray(arr, elem) {\r\n const idx = arr.indexOf(elem)\r\n if (idx !== -1) arr.splice(idx, 1)\r\n}\r\n","// Magic value that indicates a root level node.\r\nexport const NO_PARENT_NODE = null\r\n\r\n// Types of checked state.\r\nexport const UNCHECKED = 0\r\nexport const INDETERMINATE = 1\r\nexport const CHECKED = 2\r\n\r\n// Types of count number.\r\nexport const ALL_CHILDREN = 'ALL_CHILDREN'\r\nexport const ALL_DESCENDANTS = 'ALL_DESCENDANTS'\r\nexport const LEAF_CHILDREN = 'LEAF_CHILDREN'\r\nexport const LEAF_DESCENDANTS = 'LEAF_DESCENDANTS'\r\n\r\n// Action types of delayed loading.\r\nexport const LOAD_ROOT_OPTIONS = 'LOAD_ROOT_OPTIONS'\r\nexport const LOAD_CHILDREN_OPTIONS = 'LOAD_CHILDREN_OPTIONS'\r\nexport const ASYNC_SEARCH = 'ASYNC_SEARCH'\r\n\r\n// Acceptable values of `valueConsistsOf` prop.\r\nexport const ALL = 'ALL'\r\nexport const BRANCH_PRIORITY = 'BRANCH_PRIORITY'\r\nexport const LEAF_PRIORITY = 'LEAF_PRIORITY'\r\nexport const ALL_WITH_INDETERMINATE = 'ALL_WITH_INDETERMINATE'\r\n\r\n// Acceptable values of `sortValueBy` prop.\r\nexport const ORDER_SELECTED = 'ORDER_SELECTED'\r\nexport const LEVEL = 'LEVEL'\r\nexport const INDEX = 'INDEX'\r\n\r\n// Key codes look-up table.\r\nexport const KEY_CODES = {\r\n BACKSPACE: 8,\r\n ENTER: 13,\r\n ESCAPE: 27,\r\n END: 35,\r\n HOME: 36,\r\n ARROW_LEFT: 37,\r\n ARROW_UP: 38,\r\n ARROW_RIGHT: 39,\r\n ARROW_DOWN: 40,\r\n DELETE: 46,\r\n}\r\n\r\n// Other constants.\r\nexport const INPUT_DEBOUNCE_DELAY = process.env.NODE_ENV === 'testing'\r\n ? /* to speed up unit testing */ 10\r\n : /* istanbul ignore next */ 200\r\nexport const MIN_INPUT_WIDTH = 5\r\nexport const MENU_BUFFER = 40\r\n","import fuzzysearch from 'fuzzysearch'\r\n\r\nimport {\r\n warning,\r\n onLeftClick, scrollIntoView,\r\n isNaN, isPromise, once,\r\n identity, constant, createMap,\r\n quickDiff, last as getLast, includes, find, removeFromArray,\r\n} from '../utils'\r\n\r\nimport {\r\n NO_PARENT_NODE,\r\n UNCHECKED, INDETERMINATE, CHECKED,\r\n LOAD_ROOT_OPTIONS, LOAD_CHILDREN_OPTIONS, ASYNC_SEARCH,\r\n ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE,\r\n ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS,\r\n ORDER_SELECTED, LEVEL, INDEX,\r\n} from '../constants'\r\n\r\nfunction sortValueByIndex(a, b) {\r\n let i = 0\r\n do {\r\n if (a.level < i) return -1\r\n if (b.level < i) return 1\r\n if (a.index[i] !== b.index[i]) return a.index[i] - b.index[i]\r\n i++\r\n } while (true)\r\n}\r\n\r\nfunction sortValueByLevel(a, b) {\r\n return a.level === b.level\r\n ? sortValueByIndex(a, b)\r\n : a.level - b.level\r\n}\r\n\r\nfunction createAsyncOptionsStates() {\r\n return {\r\n isLoaded: false,\r\n isLoading: false,\r\n loadingError: '',\r\n }\r\n}\r\n\r\nfunction stringifyOptionPropValue(value) {\r\n if (typeof value === 'string') return value\r\n if (typeof value === 'number' && !isNaN(value)) return value + ''\r\n // istanbul ignore next\r\n return ''\r\n}\r\n\r\nfunction match(enableFuzzyMatch, needle, haystack) {\r\n return enableFuzzyMatch\r\n ? fuzzysearch(needle, haystack)\r\n : includes(haystack, needle)\r\n}\r\n\r\nfunction getErrorMessage(err) {\r\n return err.message || /* istanbul ignore next */String(err)\r\n}\r\n\r\nlet instanceId = 0\r\n\r\nexport default {\r\n provide() {\r\n return {\r\n // Enable access to the instance of root component of vue-treeselect\r\n // across hierarchy.\r\n instance: this,\r\n }\r\n },\r\n\r\n props: {\r\n /**\r\n * Whether to allow resetting value even if there are disabled selected nodes.\r\n */\r\n allowClearingDisabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When an ancestor node is selected/deselected, whether its disabled descendants should be selected/deselected.\r\n * You may want to use this in conjunction with `allowClearingDisabled` prop.\r\n */\r\n allowSelectingDisabledDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether the menu should be always open.\r\n */\r\n alwaysOpen: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Append the menu to ?\r\n */\r\n appendToBody: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable async search mode.\r\n */\r\n async: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically focus the component on mount?\r\n */\r\n autoFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically load root options on mount. When set to `false`, root options will be loaded when the menu is opened.\r\n */\r\n autoLoadRootOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its ancestors. Applies to flat mode only.\r\n */\r\n autoDeselectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its descendants. Applies to flat mode only.\r\n */\r\n autoDeselectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its ancestors. Applies to flat mode only.\r\n */\r\n autoSelectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its descendants. Applies to flat mode only.\r\n */\r\n autoSelectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing backspace key removes the last item if there is no text input.\r\n */\r\n backspaceRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Function that processes before clearing all input fields.\r\n * Return `false` to prevent value from being cleared.\r\n * @type {function(): (boolean|Promise)}\r\n */\r\n beforeClearAll: {\r\n type: Function,\r\n default: constant(true),\r\n },\r\n\r\n /**\r\n * Show branch nodes before leaf nodes?\r\n */\r\n branchNodesFirst: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Should cache results of every search request?\r\n */\r\n cacheOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Show an \"×\" button that resets value?\r\n */\r\n clearable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button when `multiple: true`.\r\n */\r\n clearAllText: {\r\n type: String,\r\n default: 'Clear all',\r\n },\r\n\r\n /**\r\n * Whether to clear the search input after selecting.\r\n * Use only when `multiple` is `true`.\r\n * For single-select mode, it **always** clears the input after selecting an option regardless of the prop value.\r\n */\r\n clearOnSelect: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button.\r\n */\r\n clearValueText: {\r\n type: String,\r\n default: 'Clear value',\r\n },\r\n\r\n /**\r\n * Whether to close the menu after selecting an option?\r\n * Use only when `multiple` is `true`.\r\n */\r\n closeOnSelect: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * How many levels of branch nodes should be automatically expanded when loaded.\r\n * Set `Infinity` to make all branch nodes expanded by default.\r\n */\r\n defaultExpandLevel: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The default set of options to show before the user starts searching. Used for async search mode.\r\n * When set to `true`, the results for search query as a empty string will be autoloaded.\r\n * @type {boolean|node[]}\r\n */\r\n defaultOptions: {\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing delete key removes the last item if there is no text input.\r\n */\r\n deleteRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Delimiter to use to join multiple values for the hidden field value.\r\n */\r\n delimiter: {\r\n type: String,\r\n default: ',',\r\n },\r\n\r\n /**\r\n * Only show the nodes that match the search value directly, excluding its ancestors.\r\n *\r\n * @type {Object}\r\n */\r\n flattenSearchResults: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Prevent branch nodes from being selected?\r\n */\r\n disableBranchNodes: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the control?\r\n */\r\n disabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the fuzzy matching functionality?\r\n */\r\n disableFuzzyMatching: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable flat mode or not. Non-flat mode (default) means:\r\n * - Whenever a branch node gets checked, all its children will be checked too\r\n * - Whenever a branch node has all children checked, the branch node itself will be checked too\r\n * Set `true` to disable this mechanism\r\n */\r\n flat: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Will be passed with all events as the last param.\r\n * Useful for identifying events origin.\r\n */\r\n instanceId: {\r\n // Add two trailing \"$\" to distinguish from explictly specified ids.\r\n default: () => `${instanceId++}$$`,\r\n type: [ String, Number ],\r\n },\r\n\r\n /**\r\n * Joins multiple values into a single form field with the `delimiter` (legacy mode).\r\n */\r\n joinValues: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Limit the display of selected options.\r\n * The rest will be hidden within the limitText string.\r\n */\r\n limit: {\r\n type: Number,\r\n default: Infinity,\r\n },\r\n\r\n /**\r\n * Function that processes the message shown when selected elements pass the defined limit.\r\n * @type {function(number): string}\r\n */\r\n limitText: {\r\n type: Function,\r\n default: function limitTextDefault(count) { // eslint-disable-line func-name-matching\r\n return `and ${count} more`\r\n },\r\n },\r\n\r\n /**\r\n * Text displayed when loading options.\r\n */\r\n loadingText: {\r\n type: String,\r\n default: 'Loading...',\r\n },\r\n\r\n /**\r\n * Used for dynamically loading options.\r\n * @type {function({action: string, callback: (function((Error|string)=): void), parentNode: node=, instanceId}): void}\r\n */\r\n loadOptions: {\r\n type: Function,\r\n },\r\n\r\n /**\r\n * Which node properties to filter on.\r\n */\r\n matchKeys: {\r\n type: Array,\r\n default: constant([ 'label' ]),\r\n },\r\n\r\n /**\r\n * Sets `maxHeight` style value of the menu.\r\n */\r\n maxHeight: {\r\n type: Number,\r\n default: 300,\r\n },\r\n\r\n /**\r\n * Set `true` to allow selecting multiple options (a.k.a., multi-select mode).\r\n */\r\n multiple: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Generates a hidden tag with this field name for html forms.\r\n */\r\n name: {\r\n type: String,\r\n },\r\n\r\n /**\r\n * Text displayed when a branch node has no children.\r\n */\r\n noChildrenText: {\r\n type: String,\r\n default: 'No sub-options.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no available options.\r\n */\r\n noOptionsText: {\r\n type: String,\r\n default: 'No options available.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no matching search results.\r\n */\r\n noResultsText: {\r\n type: String,\r\n default: 'No results found...',\r\n },\r\n\r\n /**\r\n * Used for normalizing source data.\r\n * @type {function(node, instanceId): node}\r\n */\r\n normalizer: {\r\n type: Function,\r\n default: identity,\r\n },\r\n\r\n /**\r\n * By default (`auto`), the menu will open below the control. If there is not\r\n * enough space, vue-treeselect will automatically flip the menu.\r\n * You can use one of other four options to force the menu to be always opened\r\n * to specified direction.\r\n * Acceptable values:\r\n * - `\"auto\"`\r\n * - `\"below\"`\r\n * - `\"bottom\"`\r\n * - `\"above\"`\r\n * - `\"top\"`\r\n */\r\n openDirection: {\r\n type: String,\r\n default: 'auto',\r\n validator(value) {\r\n const acceptableValues = [ 'auto', 'top', 'bottom', 'above', 'below' ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is clicked.\r\n */\r\n openOnClick: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is focused.\r\n */\r\n openOnFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Array of available options.\r\n * @type {node[]}\r\n */\r\n options: {\r\n type: Array,\r\n },\r\n\r\n /**\r\n * Field placeholder, displayed when there's no value.\r\n */\r\n placeholder: {\r\n type: String,\r\n default: 'Select...',\r\n },\r\n\r\n /**\r\n * Applies HTML5 required attribute when needed.\r\n */\r\n required: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text displayed asking user whether to retry loading children options.\r\n */\r\n retryText: {\r\n type: String,\r\n default: 'Retry?',\r\n },\r\n\r\n /**\r\n * Title for the retry button.\r\n */\r\n retryTitle: {\r\n type: String,\r\n default: 'Click to retry',\r\n },\r\n\r\n /**\r\n * Enable searching feature?\r\n */\r\n searchable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Search in ancestor nodes too.\r\n */\r\n searchNested: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text tip to prompt for async search.\r\n */\r\n searchPromptText: {\r\n type: String,\r\n default: 'Type to search...',\r\n },\r\n\r\n /**\r\n * Whether to show a children count next to the label of each branch node.\r\n */\r\n showCount: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Used in conjunction with `showCount` to specify which type of count number should be displayed.\r\n * Acceptable values:\r\n * - \"ALL_CHILDREN\"\r\n * - \"ALL_DESCENDANTS\"\r\n * - \"LEAF_CHILDREN\"\r\n * - \"LEAF_DESCENDANTS\"\r\n */\r\n showCountOf: {\r\n type: String,\r\n default: ALL_CHILDREN,\r\n validator(value) {\r\n const acceptableValues = [ ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to show children count when searching.\r\n * Fallbacks to the value of `showCount` when not specified.\r\n * @type {boolean}\r\n */\r\n showCountOnSearch: null,\r\n\r\n /**\r\n * In which order the selected options should be displayed in trigger & sorted in `value` array.\r\n * Used for multi-select mode only.\r\n * Acceptable values:\r\n * - \"ORDER_SELECTED\"\r\n * - \"LEVEL\"\r\n * - \"INDEX\"\r\n */\r\n sortValueBy: {\r\n type: String,\r\n default: ORDER_SELECTED,\r\n validator(value) {\r\n const acceptableValues = [ ORDER_SELECTED, LEVEL, INDEX ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Tab index of the control.\r\n */\r\n tabIndex: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The value of the control.\r\n * Should be `id` or `node` object for single-select mode, or an array of `id` or `node` object for multi-select mode.\r\n * Its format depends on the `valueFormat` prop.\r\n * For most cases, just use `v-model` instead.\r\n * @type {?Array}\r\n */\r\n modelValue: null,\r\n\r\n /**\r\n * Which kind of nodes should be included in the `value` array in multi-select mode.\r\n * Acceptable values:\r\n * - \"ALL\" - Any node that is checked will be included in the `value` array\r\n * - \"BRANCH_PRIORITY\" (default) - If a branch node is checked, all its descendants will be excluded in the `value` array\r\n * - \"LEAF_PRIORITY\" - If a branch node is checked, this node itself and its branch descendants will be excluded from the `value` array but its leaf descendants will be included\r\n * - \"ALL_WITH_INDETERMINATE\" - Any node that is checked will be included in the `value` array, plus indeterminate nodes\r\n */\r\n valueConsistsOf: {\r\n type: String,\r\n default: BRANCH_PRIORITY,\r\n validator(value) {\r\n const acceptableValues = [ ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Format of `value` prop.\r\n * Note that, when set to `\"object\"`, only `id` & `label` properties are required in each `node` object in `value` prop.\r\n * Acceptable values:\r\n * - \"id\"\r\n * - \"object\"\r\n */\r\n valueFormat: {\r\n type: String,\r\n default: 'id',\r\n },\r\n\r\n /**\r\n * z-index of the menu.\r\n */\r\n zIndex: {\r\n type: [ Number, String ],\r\n default: 999,\r\n },\r\n },\r\n\r\n data() {\r\n return {\r\n trigger: {\r\n // Is the control focused?\r\n isFocused: false,\r\n // User entered search query - value of the input.\r\n searchQuery: '',\r\n },\r\n\r\n menu: {\r\n // Is the menu opened?\r\n isOpen: false,\r\n // Id of current highlighted option.\r\n current: null,\r\n // The scroll position before last menu closing.\r\n lastScrollPosition: 0,\r\n // Which direction to open the menu.\r\n placement: 'bottom',\r\n },\r\n\r\n forest: {\r\n // Normalized options.\r\n normalizedOptions: [],\r\n // map for quick look-up.\r\n nodeMap: createMap(),\r\n // map, used for multi-select mode.\r\n checkedStateMap: createMap(),\r\n // Id list of all selected options.\r\n selectedNodeIds: this.extractCheckedNodeIdsFromValue(),\r\n // map for fast checking:\r\n // if (forest.selectedNodeIds.indexOf(id) !== -1) forest.selectedNodeMap[id] === true\r\n selectedNodeMap: createMap(),\r\n },\r\n\r\n // States of root options.\r\n rootOptionsStates: createAsyncOptionsStates(),\r\n\r\n localSearch: {\r\n // Has user entered any query to search local options?\r\n active: false,\r\n // Has any options matched the search query?\r\n noResults: true,\r\n // map for counting matched children/descendants.\r\n countMap: createMap(),\r\n },\r\n\r\n // map.\r\n remoteSearch: createMap(),\r\n }\r\n },\r\n\r\n computed: {\r\n /* eslint-disable valid-jsdoc */\r\n /**\r\n * Normalized nodes that have been selected.\r\n * @type {node[]}\r\n */\r\n selectedNodes() {\r\n return this.forest.selectedNodeIds.map(this.getNode)\r\n },\r\n /**\r\n * Id list of selected nodes with `sortValueBy` prop applied.\r\n * @type {nodeId[]}\r\n */\r\n internalValue() {\r\n let internalValue\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isRootNode) return true\r\n return !this.isSelected(node.parentNode)\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isLeaf) return true\r\n return node.children.length === 0\r\n })\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const indeterminateNodeIds = []\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n this.selectedNodes.forEach(selectedNode => {\r\n selectedNode.ancestors.forEach(ancestor => {\r\n if (includes(indeterminateNodeIds, ancestor.id)) return\r\n if (includes(internalValue, ancestor.id)) return\r\n indeterminateNodeIds.push(ancestor.id)\r\n })\r\n })\r\n internalValue.push(...indeterminateNodeIds)\r\n }\r\n\r\n if (this.sortValueBy === LEVEL) {\r\n internalValue.sort((a, b) => sortValueByLevel(this.getNode(a), this.getNode(b)))\r\n } else if (this.sortValueBy === INDEX) {\r\n internalValue.sort((a, b) => sortValueByIndex(this.getNode(a), this.getNode(b)))\r\n }\r\n\r\n return internalValue\r\n },\r\n /**\r\n * Has any option been selected?\r\n * @type {boolean}\r\n */\r\n hasValue() {\r\n return this.internalValue.length > 0\r\n },\r\n /**\r\n * Single-select mode?\r\n * @type {boolean}\r\n */\r\n single() {\r\n return !this.multiple\r\n },\r\n /**\r\n * Id list of nodes displayed in the menu. Nodes that are considered NOT visible:\r\n * - descendants of a collapsed branch node\r\n * - in local search mode, nodes that are not matched, unless\r\n * - it's a branch node and has matched descendants\r\n * - it's a leaf node and its parent node is explicitly set to show all children\r\n * @type {id[]}\r\n */\r\n visibleOptionIds() {\r\n const visibleOptionIds = []\r\n\r\n this.traverseAllNodesByIndex(node => {\r\n if (!this.localSearch.active || this.shouldOptionBeIncludedInSearchResult(node)) {\r\n visibleOptionIds.push(node.id)\r\n }\r\n // Skip the traversal of descendants of a branch node if it's not expanded.\r\n if (node.isBranch && !this.shouldExpand(node)) {\r\n return false\r\n }\r\n })\r\n\r\n return visibleOptionIds\r\n },\r\n /**\r\n * Has any option should be displayed in the menu?\r\n * @type {boolean}\r\n */\r\n hasVisibleOptions() {\r\n return this.visibleOptionIds.length !== 0\r\n },\r\n /**\r\n * Should show children count when searching?\r\n * @type {boolean}\r\n */\r\n showCountOnSearchComputed() {\r\n // Vue doesn't allow setting default prop value based on another prop value.\r\n // So use computed property as a workaround.\r\n // https://github.com/vuejs/vue/issues/6358\r\n return typeof this.showCountOnSearch === 'boolean'\r\n ? this.showCountOnSearch\r\n : this.showCount\r\n },\r\n /**\r\n * Is there any branch node?\r\n * @type {boolean}\r\n */\r\n hasBranchNodes() {\r\n return this.forest.normalizedOptions.some(rootNode => rootNode.isBranch)\r\n },\r\n shouldFlattenOptions() {\r\n return this.localSearch.active && this.flattenSearchResults\r\n },\r\n /* eslint-enable valid-jsdoc */\r\n },\r\n\r\n watch: {\r\n alwaysOpen(newValue) {\r\n if (newValue) this.openMenu()\r\n else this.closeMenu()\r\n },\r\n\r\n branchNodesFirst() {\r\n this.initialize()\r\n },\r\n\r\n disabled(newValue) {\r\n // force close the menu after disabling the control\r\n if (newValue && this.menu.isOpen) this.closeMenu()\r\n else if (!newValue && !this.menu.isOpen && this.alwaysOpen) this.openMenu()\r\n },\r\n\r\n flat() {\r\n this.initialize()\r\n },\r\n\r\n internalValue(newValue, oldValue) {\r\n const hasChanged = quickDiff(newValue, oldValue)\r\n // #122\r\n // Vue would trigger this watcher when `newValue` and `oldValue` are shallow-equal.\r\n // We emit the `input` event only when the value actually changes.\r\n if (hasChanged) this.$emit('update:modelValue', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n matchKeys() {\r\n this.initialize()\r\n },\r\n\r\n multiple(newValue) {\r\n // We need to rebuild the state when switching from single-select mode\r\n // to multi-select mode.\r\n // istanbul ignore else\r\n if (newValue) this.buildForestState()\r\n },\r\n\r\n options: {\r\n handler() {\r\n if (this.async) return\r\n // Re-initialize options when the `options` prop has changed.\r\n this.initialize()\r\n this.rootOptionsStates.isLoaded = Array.isArray(this.options)\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n\r\n 'trigger.searchQuery'() {\r\n if (this.async) {\r\n this.handleRemoteSearch()\r\n } else {\r\n this.handleLocalSearch()\r\n }\r\n\r\n this.$emit('search-change', this.trigger.searchQuery, this.getInstanceId())\r\n },\r\n\r\n value() {\r\n const nodeIdsFromValue = this.extractCheckedNodeIdsFromValue()\r\n const hasChanged = quickDiff(nodeIdsFromValue, this.internalValue)\r\n if (hasChanged) this.fixSelectedNodeIds(nodeIdsFromValue)\r\n },\r\n },\r\n\r\n methods: {\r\n verifyProps() {\r\n warning(\r\n () => this.async ? this.searchable : true,\r\n () => 'For async search mode, the value of \"searchable\" prop must be true.',\r\n )\r\n\r\n if (this.options == null && !this.loadOptions) {\r\n warning(\r\n () => false,\r\n () => 'Are you meant to dynamically load options? You need to use \"loadOptions\" prop.',\r\n )\r\n }\r\n\r\n if (this.flat) {\r\n warning(\r\n () => this.multiple,\r\n () => 'You are using flat mode. But you forgot to add \"multiple=true\"?',\r\n )\r\n }\r\n\r\n if (!this.flat) {\r\n const propNames = [\r\n 'autoSelectAncestors',\r\n 'autoSelectDescendants',\r\n 'autoDeselectAncestors',\r\n 'autoDeselectDescendants',\r\n ]\r\n\r\n propNames.forEach(propName => {\r\n warning(\r\n () => !this[propName],\r\n () => `\"${propName}\" only applies to flat mode.`,\r\n )\r\n })\r\n }\r\n },\r\n\r\n resetFlags() {\r\n this._blurOnSelect = false\r\n },\r\n\r\n initialize() {\r\n const options = this.async\r\n ? this.getRemoteSearchEntry().options\r\n : this.options\r\n\r\n if (Array.isArray(options)) {\r\n // In case we are re-initializing options, keep the old state tree temporarily.\r\n const prevNodeMap = this.forest.nodeMap\r\n this.forest.nodeMap = createMap()\r\n this.keepDataOfSelectedNodes(prevNodeMap)\r\n this.forest.normalizedOptions = this.normalize(NO_PARENT_NODE, options, prevNodeMap)\r\n // Cases that need fixing `selectedNodeIds`:\r\n // 1) Children options of a checked node have been delayed loaded,\r\n // we should also mark these children as checked. (multi-select mode)\r\n // 2) Root options have been delayed loaded, we need to initialize states\r\n // of these nodes. (multi-select mode)\r\n // 3) Async search mode.\r\n this.fixSelectedNodeIds(this.internalValue)\r\n } else {\r\n this.forest.normalizedOptions = []\r\n }\r\n },\r\n\r\n getInstanceId() {\r\n return this.instanceId == null ? this.id : this.instanceId\r\n },\r\n\r\n getValue() {\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.internalValue.slice()\r\n : this.internalValue[0]\r\n }\r\n\r\n const rawNodes = this.internalValue.map(id => this.getNode(id).raw)\r\n return this.multiple ? rawNodes : rawNodes[0]\r\n },\r\n\r\n getNode(nodeId) {\r\n warning(\r\n () => nodeId != null,\r\n () => `Invalid node id: ${nodeId}`,\r\n )\r\n\r\n if (nodeId == null) return null\r\n\r\n return nodeId in this.forest.nodeMap\r\n ? this.forest.nodeMap[nodeId]\r\n : this.createFallbackNode(nodeId)\r\n },\r\n\r\n createFallbackNode(id) {\r\n // In case there is a default selected node that is not loaded into the tree yet,\r\n // we create a fallback node to keep the component working.\r\n // When the real data is loaded, we'll override this fake node.\r\n\r\n const raw = this.extractNodeFromValue(id)\r\n const label = this.enhancedNormalizer(raw).label || `${id} (unknown)`\r\n const fallbackNode = {\r\n id,\r\n label,\r\n ancestors: [],\r\n parentNode: NO_PARENT_NODE,\r\n isFallbackNode: true,\r\n isRootNode: true,\r\n isLeaf: true,\r\n isBranch: false,\r\n isDisabled: false,\r\n childrenIgnoreDisabled: false,\r\n isNew: false,\r\n index: [ -1 ],\r\n level: 0,\r\n raw,\r\n }\r\n\r\n return this.forest.nodeMap[id] = fallbackNode\r\n // return this.$ set(this.forest.nodeMap, id, fallbackNode)\r\n },\r\n\r\n extractCheckedNodeIdsFromValue() {\r\n if (this.modelValue == null) return []\r\n\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.modelValue.slice()\r\n : [ this.modelValue ]\r\n }\r\n\r\n return (this.multiple ? this.modelValue : [ this.modelValue ])\r\n .map(node => this.enhancedNormalizer(node))\r\n .map(node => node.id)\r\n },\r\n\r\n extractNodeFromValue(id) {\r\n const defaultNode = { id }\r\n\r\n if (this.valueFormat === 'id') {\r\n return defaultNode\r\n }\r\n\r\n const valueArray = this.multiple\r\n ? Array.isArray(this.modelValue) ? this.modelValue : []\r\n : this.modelValue ? [ this.modelValue ] : []\r\n const matched = find(\r\n valueArray,\r\n node => node && this.enhancedNormalizer(node).id === id,\r\n )\r\n\r\n return matched || defaultNode\r\n },\r\n\r\n fixSelectedNodeIds(nodeIdListOfPrevValue) {\r\n let nextSelectedNodeIds = []\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n nextSelectedNodeIds = nodeIdListOfPrevValue\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n nodeIdListOfPrevValue.forEach(nodeId => {\r\n nextSelectedNodeIds.push(nodeId)\r\n const node = this.getNode(nodeId)\r\n if (node.isBranch) this.traverseDescendantsBFS(node, descendant => {\r\n nextSelectedNodeIds.push(descendant.id)\r\n })\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.slice()\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.filter(nodeId => {\r\n const node = this.getNode(nodeId)\r\n return node.isLeaf || node.children.length === 0\r\n })\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n }\r\n\r\n const hasChanged = quickDiff(this.forest.selectedNodeIds, nextSelectedNodeIds)\r\n // If `nextSelectedNodeIds` doesn't actually differ from old `selectedNodeIds`,\r\n // we don't make the assignment to avoid triggering its watchers which may cause\r\n // unnecessary calculations.\r\n if (hasChanged) this.forest.selectedNodeIds = nextSelectedNodeIds\r\n\r\n this.buildForestState()\r\n },\r\n\r\n keepDataOfSelectedNodes(prevNodeMap) {\r\n // In case there is any selected node that is not present in the new `options` array.\r\n // It could be useful for async search mode.\r\n this.forest.selectedNodeIds.forEach(id => {\r\n if (!prevNodeMap[id]) return\r\n const node = {\r\n ...prevNodeMap[id],\r\n isFallbackNode: true,\r\n }\r\n // this.$ set(this.forest.nodeMap, id, node)\r\n this.forest.nodeMap[id] = node\r\n })\r\n },\r\n\r\n isSelected(node) {\r\n // whether a node is selected (single-select mode) or fully-checked (multi-select mode)\r\n return this.forest.selectedNodeMap[node.id] === true\r\n },\r\n\r\n traverseDescendantsBFS(parentNode, callback) {\r\n // istanbul ignore if\r\n if (!parentNode.isBranch) return\r\n const queue = parentNode.children.slice()\r\n while (queue.length) {\r\n const currNode = queue[0]\r\n if (currNode.isBranch) queue.push(...currNode.children)\r\n callback(currNode)\r\n queue.shift()\r\n }\r\n },\r\n\r\n traverseDescendantsDFS(parentNode, callback) {\r\n if (!parentNode.isBranch) return\r\n parentNode.children.forEach(child => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(child, callback)\r\n callback(child)\r\n })\r\n },\r\n\r\n traverseAllNodesDFS(callback) {\r\n this.forest.normalizedOptions.forEach(rootNode => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(rootNode, callback)\r\n callback(rootNode)\r\n })\r\n },\r\n\r\n traverseAllNodesByIndex(callback) {\r\n const walk = parentNode => {\r\n parentNode.children.forEach(child => {\r\n if (callback(child) !== false && child.isBranch) {\r\n walk(child)\r\n }\r\n })\r\n }\r\n\r\n // To simplify the code logic of traversal,\r\n // we create a fake root node that holds all the root options.\r\n walk({ children: this.forest.normalizedOptions })\r\n },\r\n\r\n toggleClickOutsideEvent(enabled) {\r\n if (enabled) {\r\n document.addEventListener('mousedown', this.handleClickOutside, false)\r\n } else {\r\n document.removeEventListener('mousedown', this.handleClickOutside, false)\r\n }\r\n },\r\n\r\n getValueContainer() {\r\n return this.$refs.control.$refs['value-container']\r\n },\r\n\r\n getInput() {\r\n return this.getValueContainer().$refs.input\r\n },\r\n\r\n focusInput() {\r\n this.getInput().focus()\r\n },\r\n\r\n blurInput() {\r\n this.getInput().blur()\r\n },\r\n\r\n handleMouseDown: onLeftClick(function handleMouseDown(evt) {\r\n evt.preventDefault()\r\n evt.stopPropagation()\r\n\r\n if (this.disabled) return\r\n\r\n const isClickedOnValueContainer = this.getValueContainer().$el.contains(evt.target)\r\n if (isClickedOnValueContainer && !this.menu.isOpen && (this.openOnClick || this.trigger.isFocused)) {\r\n this.openMenu()\r\n }\r\n\r\n if (this._blurOnSelect) {\r\n this.blurInput()\r\n } else {\r\n // Focus the input or prevent blurring.\r\n this.focusInput()\r\n }\r\n\r\n this.resetFlags()\r\n }),\r\n\r\n handleClickOutside(evt) {\r\n // istanbul ignore else\r\n if (this.$refs.wrapper && !this.$refs.wrapper.contains(evt.target)) {\r\n this.blurInput()\r\n this.closeMenu()\r\n }\r\n },\r\n\r\n handleLocalSearch() {\r\n const { searchQuery } = this.trigger\r\n const done = () => this.resetHighlightedOptionWhenNecessary(true)\r\n\r\n if (!searchQuery) {\r\n // Exit sync search mode.\r\n this.localSearch.active = false\r\n return done()\r\n }\r\n\r\n // Enter sync search mode.\r\n this.localSearch.active = true\r\n\r\n // Reset states.\r\n this.localSearch.noResults = true\r\n this.traverseAllNodesDFS(node => {\r\n if (node.isBranch) {\r\n node.isExpandedOnSearch = false\r\n node.showAllChildrenOnSearch = false\r\n node.isMatched = false\r\n node.hasMatchedDescendants = false\r\n\r\n this.localSearch.countMap[node.id] = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(this.localSearch.countMap, node.id, {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n }\r\n })\r\n\r\n const lowerCasedSearchQuery = searchQuery.trim().toLocaleLowerCase()\r\n const splitSearchQuery = lowerCasedSearchQuery.replace(/\\s+/g, ' ').split(' ')\r\n this.traverseAllNodesDFS(node => {\r\n if (this.searchNested && splitSearchQuery.length > 1) {\r\n node.isMatched = splitSearchQuery.every(filterValue =>\r\n match(false, filterValue, node.nestedSearchLabel),\r\n )\r\n } else {\r\n node.isMatched = this.matchKeys.some(matchKey =>\r\n match(!this.disableFuzzyMatching, lowerCasedSearchQuery, node.lowerCased[matchKey]),\r\n )\r\n }\r\n\r\n if (node.isMatched) {\r\n this.localSearch.noResults = false\r\n node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][ALL_DESCENDANTS]++)\r\n if (node.isLeaf) node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][LEAF_DESCENDANTS]++)\r\n if (node.parentNode !== NO_PARENT_NODE) {\r\n this.localSearch.countMap[node.parentNode.id][ALL_CHILDREN] += 1\r\n // istanbul ignore else\r\n if (node.isLeaf) this.localSearch.countMap[node.parentNode.id][LEAF_CHILDREN] += 1\r\n }\r\n }\r\n\r\n if (\r\n (node.isMatched || (node.isBranch && node.isExpandedOnSearch)) &&\r\n node.parentNode !== NO_PARENT_NODE\r\n ) {\r\n node.parentNode.isExpandedOnSearch = true\r\n node.parentNode.hasMatchedDescendants = true\r\n }\r\n })\r\n\r\n done()\r\n },\r\n\r\n handleRemoteSearch() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.getRemoteSearchEntry()\r\n const done = () => {\r\n this.initialize()\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n }\r\n\r\n if ((searchQuery === '' || this.cacheOptions) && entry.isLoaded) {\r\n return done()\r\n }\r\n\r\n this.callLoadOptionsProp({\r\n action: ASYNC_SEARCH,\r\n args: { searchQuery },\r\n isPending() {\r\n return entry.isLoading\r\n },\r\n start: () => {\r\n entry.isLoading = true\r\n entry.isLoaded = false\r\n entry.loadingError = ''\r\n },\r\n succeed: options => {\r\n entry.isLoaded = true\r\n entry.options = options\r\n // When the request completes, the search query may have changed.\r\n // We only show these options if they are for the current search query.\r\n if (this.trigger.searchQuery === searchQuery) done()\r\n },\r\n fail: err => {\r\n entry.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n entry.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n getRemoteSearchEntry() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.remoteSearch[searchQuery] || {\r\n ...createAsyncOptionsStates(),\r\n options: [],\r\n }\r\n\r\n // Vue doesn't support directly watching on objects.\r\n this.$watch(\r\n () => entry.options,\r\n () => {\r\n // TODO: potential redundant re-initialization.\r\n if (this.trigger.searchQuery === searchQuery) this.initialize()\r\n },\r\n { deep: true },\r\n )\r\n\r\n if (searchQuery === '') {\r\n if (Array.isArray(this.defaultOptions)) {\r\n entry.options = this.defaultOptions\r\n entry.isLoaded = true\r\n return entry\r\n } else if (this.defaultOptions !== true) {\r\n entry.isLoaded = true\r\n return entry\r\n }\r\n }\r\n\r\n if (!this.remoteSearch[searchQuery]) {\r\n // this.$ set(this.remoteSearch, searchQuery, entry)\r\n this.remoteSearch[searchQuery] = entry;\r\n }\r\n\r\n return entry\r\n },\r\n\r\n shouldExpand(node) {\r\n return this.localSearch.active ? node.isExpandedOnSearch : node.isExpanded\r\n },\r\n\r\n shouldOptionBeIncludedInSearchResult(node) {\r\n // 1) This option is matched.\r\n if (node.isMatched) return true\r\n // 2) This option is not matched, but has matched descendant(s).\r\n if (node.isBranch && node.hasMatchedDescendants && !this.flattenSearchResults) return true\r\n // 3) This option's parent has no matched descendants,\r\n // but after being expanded, all its children should be shown.\r\n if (!node.isRootNode && node.parentNode.showAllChildrenOnSearch) return true\r\n // 4) The default case.\r\n return false\r\n },\r\n\r\n shouldShowOptionInMenu(node) {\r\n if (this.localSearch.active && !this.shouldOptionBeIncludedInSearchResult(node)) {\r\n return false\r\n }\r\n return true\r\n },\r\n\r\n getControl() {\r\n return this.$refs.control.$el\r\n },\r\n\r\n getMenu() {\r\n const ref = this.appendToBody ? this.$refs.portal.portalTarget : this\r\n const $menu = ref.$refs.menu.$refs.menu\r\n return $menu && $menu.nodeName !== '#comment' ? $menu : null\r\n },\r\n\r\n setCurrentHighlightedOption(node, scroll = true) {\r\n const prev = this.menu.current\r\n if (prev != null && prev in this.forest.nodeMap) {\r\n this.forest.nodeMap[prev].isHighlighted = false\r\n }\r\n\r\n this.menu.current = node.id\r\n node.isHighlighted = true\r\n\r\n if (this.menu.isOpen && scroll) {\r\n const scrollToOption = () => {\r\n const $menu = this.getMenu()\r\n const $option = $menu.querySelector(`.vue-treeselect__option[data-id=\"${node.id}\"]`)\r\n if ($option) scrollIntoView($menu, $option)\r\n }\r\n\r\n // In case `openMenu()` is just called and the menu is not rendered yet.\r\n if (this.getMenu()) {\r\n scrollToOption()\r\n } else {\r\n // istanbul ignore next\r\n this.$nextTick(scrollToOption)\r\n }\r\n }\r\n },\r\n\r\n resetHighlightedOptionWhenNecessary(forceReset = false) {\r\n const { current } = this.menu\r\n\r\n if (\r\n forceReset || current == null ||\r\n !(current in this.forest.nodeMap) ||\r\n !this.shouldShowOptionInMenu(this.getNode(current))\r\n ) {\r\n this.highlightFirstOption()\r\n }\r\n },\r\n\r\n highlightFirstOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const first = this.visibleOptionIds[0]\r\n this.setCurrentHighlightedOption(this.getNode(first))\r\n },\r\n\r\n highlightPrevOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const prev = this.visibleOptionIds.indexOf(this.menu.current) - 1\r\n if (prev === -1) return this.highlightLastOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[prev]))\r\n },\r\n\r\n highlightNextOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const next = this.visibleOptionIds.indexOf(this.menu.current) + 1\r\n if (next === this.visibleOptionIds.length) return this.highlightFirstOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[next]))\r\n },\r\n\r\n highlightLastOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const last = getLast(this.visibleOptionIds)\r\n this.setCurrentHighlightedOption(this.getNode(last))\r\n },\r\n\r\n resetSearchQuery() {\r\n this.trigger.searchQuery = ''\r\n },\r\n\r\n closeMenu() {\r\n if (!this.menu.isOpen || (!this.disabled && this.alwaysOpen)) return\r\n this.saveMenuScrollPosition()\r\n this.menu.isOpen = false\r\n this.toggleClickOutsideEvent(false)\r\n this.resetSearchQuery()\r\n this.$emit('close', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n openMenu() {\r\n if (this.disabled || this.menu.isOpen) return\r\n this.menu.isOpen = true\r\n this.$nextTick(this.resetHighlightedOptionWhenNecessary)\r\n this.$nextTick(this.restoreMenuScrollPosition)\r\n if (!this.options && !this.async) this.loadRootOptions()\r\n this.toggleClickOutsideEvent(true)\r\n this.$emit('open', this.getInstanceId())\r\n },\r\n\r\n toggleMenu() {\r\n if (this.menu.isOpen) {\r\n this.closeMenu()\r\n } else {\r\n this.openMenu()\r\n }\r\n },\r\n\r\n toggleExpanded(node) {\r\n let nextState\r\n\r\n if (this.localSearch.active) {\r\n nextState = node.isExpandedOnSearch = !node.isExpandedOnSearch\r\n if (nextState) node.showAllChildrenOnSearch = true\r\n } else {\r\n nextState = node.isExpanded = !node.isExpanded\r\n }\r\n\r\n if (nextState && !node.childrenStates.isLoaded) {\r\n this.loadChildrenOptions(node)\r\n }\r\n },\r\n\r\n buildForestState() {\r\n const selectedNodeMap = createMap()\r\n this.forest.selectedNodeIds.forEach(selectedNodeId => {\r\n selectedNodeMap[selectedNodeId] = true\r\n })\r\n this.forest.selectedNodeMap = selectedNodeMap\r\n\r\n const checkedStateMap = createMap()\r\n if (this.multiple) {\r\n this.traverseAllNodesByIndex(node => {\r\n checkedStateMap[node.id] = UNCHECKED\r\n })\r\n\r\n this.selectedNodes.forEach(selectedNode => {\r\n checkedStateMap[selectedNode.id] = CHECKED\r\n\r\n if (!this.flat && !this.disableBranchNodes) {\r\n selectedNode.ancestors.forEach(ancestorNode => {\r\n if (!this.isSelected(ancestorNode)) {\r\n checkedStateMap[ancestorNode.id] = INDETERMINATE\r\n }\r\n })\r\n }\r\n })\r\n }\r\n this.forest.checkedStateMap = checkedStateMap\r\n },\r\n\r\n enhancedNormalizer(raw) {\r\n return {\r\n ...raw,\r\n ...this.normalizer(raw, this.getInstanceId()),\r\n }\r\n },\r\n\r\n normalize(parentNode, nodes, prevNodeMap) {\r\n let normalizedOptions = nodes\r\n .map(node => [ this.enhancedNormalizer(node), node ])\r\n .map(([ node, raw ], index) => {\r\n this.checkDuplication(node)\r\n this.verifyNodeShape(node)\r\n\r\n const { id, label, children, isDefaultExpanded } = node\r\n const isRootNode = parentNode === NO_PARENT_NODE\r\n const level = isRootNode ? 0 : parentNode.level + 1\r\n const isBranch = Array.isArray(children) || children === null\r\n const isLeaf = !isBranch\r\n const childrenIgnoreDisabled = node.childrenIgnoreDisabled\r\n const isDisabled = !!node.isDisabled || (!this.flat && !isRootNode && parentNode.isDisabled && !parentNode.childrenIgnoreDisabled) \r\n const isNew = !!node.isNew\r\n const lowerCased = this.matchKeys.reduce((prev, key) => ({\r\n ...prev,\r\n [key]: stringifyOptionPropValue(node[key]).toLocaleLowerCase(),\r\n }), {})\r\n const nestedSearchLabel = isRootNode\r\n ? lowerCased.label\r\n : parentNode.nestedSearchLabel + ' ' + lowerCased.label\r\n\r\n // this.$ set(this.forest.nodeMap, id, createMap())\r\n this.forest.nodeMap[id] = createMap();\r\n\r\n const normalized = this.forest.nodeMap[id];\r\n\r\n normalized.id = id;\r\n normalized.label = label;\r\n normalized.level = level;\r\n normalized.ancestors = isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors);\r\n normalized.index = (isRootNode ? [] : parentNode.index).concat(index);\r\n normalized.parentNode = parentNode;\r\n normalized.lowerCased = lowerCased;\r\n normalized.nestedSearchLabel = nestedSearchLabel;\r\n normalized.childrenIgnoreDisabled = childrenIgnoreDisabled;\r\n normalized.isDisabled = isDisabled;\r\n normalized.isNew = isNew;\r\n normalized.isMatched = false;\r\n normalized.isHighlighted = false;\r\n normalized.isBranch = isBranch;\r\n normalized.isLeaf = isLeaf;\r\n normalized.isRootNode = isRootNode;\r\n normalized.raw = raw;\r\n\r\n // this.$ set(normalized, 'id', id)\r\n // this.$ set(normalized, 'label', label)\r\n // this.$ set(normalized, 'level', level)\r\n // this.$ set(normalized, 'ancestors', isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors))\r\n // this.$ set(normalized, 'index', (isRootNode ? [] : parentNode.index).concat(index))\r\n // this.$ set(normalized, 'parentNode', parentNode)\r\n // this.$ set(normalized, 'lowerCased', lowerCased)\r\n // this.$ set(normalized, 'nestedSearchLabel', nestedSearchLabel)\r\n // this.$ set(normalized, 'isDisabled', isDisabled)\r\n // this.$ set(normalized, 'isNew', isNew)\r\n // this.$ set(normalized, 'isMatched', false)\r\n // this.$ set(normalized, 'isHighlighted', false)\r\n // this.$ set(normalized, 'isBranch', isBranch)\r\n // this.$ set(normalized, 'isLeaf', isLeaf)\r\n // this.$ set(normalized, 'isRootNode', isRootNode)\r\n // this.$ set(normalized, 'raw', raw)\r\n\r\n if (isBranch) {\r\n const isLoaded = Array.isArray(children)\r\n\r\n // this.$ set(normalized, 'childrenStates', {\r\n // ...createAsyncOptionsStates(),\r\n // isLoaded,\r\n // })\r\n normalized.childrenStates = {...createAsyncOptionsStates(),isLoaded}\r\n \r\n // this.$ set(normalized, 'isExpanded', typeof isDefaultExpanded === 'boolean'\r\n // ? isDefaultExpanded\r\n // : level < this.defaultExpandLevel)\r\n normalized.isExpanded = typeof isDefaultExpanded === 'boolean' ? isDefaultExpanded : level < this.defaultExpandLevel;\r\n \r\n // this.$ set(normalized, 'hasMatchedDescendants', false)\r\n // this.$ set(normalized, 'hasDisabledDescendants', false)\r\n // this.$ set(normalized, 'isExpandedOnSearch', false)\r\n // this.$ set(normalized, 'showAllChildrenOnSearch', false)\r\n // this.$ set(normalized, 'count', {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.hasMatchedDescendants = false;\r\n normalized.hasDisabledDescendants = false;\r\n normalized.isExpandedOnSearch = false;\r\n normalized.showAllChildrenOnSearch = false;\r\n normalized.count = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.children = isLoaded ? this.normalize(normalized, children, prevNodeMap) :[];\r\n\r\n if (isDefaultExpanded === true) normalized.ancestors.forEach(ancestor => {\r\n ancestor.isExpanded = true\r\n })\r\n\r\n if (!isLoaded && typeof this.loadOptions !== 'function') {\r\n warning(\r\n () => false,\r\n () => 'Unloaded branch node detected. \"loadOptions\" prop is required to load its children.',\r\n )\r\n } else if (!isLoaded && normalized.isExpanded) {\r\n this.loadChildrenOptions(normalized)\r\n }\r\n }\r\n\r\n normalized.ancestors.forEach(ancestor => ancestor.count[ALL_DESCENDANTS]++)\r\n if (isLeaf) normalized.ancestors.forEach(ancestor => ancestor.count[LEAF_DESCENDANTS]++)\r\n if (!isRootNode) {\r\n parentNode.count[ALL_CHILDREN] += 1\r\n if (isLeaf) parentNode.count[LEAF_CHILDREN] += 1\r\n if (isDisabled) parentNode.hasDisabledDescendants = true\r\n }\r\n\r\n // Preserve previous states.\r\n if (prevNodeMap && prevNodeMap[id]) {\r\n const prev = prevNodeMap[id]\r\n\r\n normalized.isMatched = prev.isMatched\r\n normalized.showAllChildrenOnSearch = prev.showAllChildrenOnSearch\r\n normalized.isHighlighted = prev.isHighlighted\r\n\r\n if (prev.isBranch && normalized.isBranch) {\r\n normalized.isExpanded = prev.isExpanded\r\n normalized.isExpandedOnSearch = prev.isExpandedOnSearch\r\n // #97\r\n // If `isLoaded` was true, but IS NOT now, we consider this branch node\r\n // to be reset to unloaded state by the user of this component.\r\n if (prev.childrenStates.isLoaded && !normalized.childrenStates.isLoaded) {\r\n // Make sure the node is collapsed, then the user can load its\r\n // children again (by expanding).\r\n normalized.isExpanded = false\r\n // We have reset `childrenStates` and don't want to preserve states here.\r\n } else {\r\n normalized.childrenStates = { ...prev.childrenStates }\r\n }\r\n }\r\n }\r\n\r\n return normalized\r\n })\r\n\r\n if (this.branchNodesFirst) {\r\n const branchNodes = normalizedOptions.filter(option => option.isBranch)\r\n const leafNodes = normalizedOptions.filter(option => option.isLeaf)\r\n normalizedOptions = branchNodes.concat(leafNodes)\r\n }\r\n\r\n return normalizedOptions\r\n },\r\n\r\n loadRootOptions() {\r\n this.callLoadOptionsProp({\r\n action: LOAD_ROOT_OPTIONS,\r\n isPending: () => {\r\n return this.rootOptionsStates.isLoading\r\n },\r\n start: () => {\r\n this.rootOptionsStates.isLoading = true\r\n this.rootOptionsStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.rootOptionsStates.isLoaded = true\r\n // Wait for `options` being re-initialized.\r\n this.$nextTick(() => {\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n })\r\n },\r\n fail: err => {\r\n this.rootOptionsStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.rootOptionsStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n loadChildrenOptions(parentNode) {\r\n // The options may be re-initialized anytime during the loading process.\r\n // So `parentNode` can be stale and we use `getNode()` to avoid that.\r\n\r\n const { id, raw } = parentNode\r\n\r\n this.callLoadOptionsProp({\r\n action: LOAD_CHILDREN_OPTIONS,\r\n args: {\r\n // We always pass the raw node instead of the normalized node to any\r\n // callback provided by the user of this component.\r\n // Because the shape of the raw node is more likely to be closing to\r\n // what the back-end API service of the application needs.\r\n parentNode: raw,\r\n },\r\n isPending: () => {\r\n return this.getNode(id).childrenStates.isLoading\r\n },\r\n start: () => {\r\n this.getNode(id).childrenStates.isLoading = true\r\n this.getNode(id).childrenStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.getNode(id).childrenStates.isLoaded = true\r\n },\r\n fail: err => {\r\n this.getNode(id).childrenStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.getNode(id).childrenStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n callLoadOptionsProp({ action, args, isPending, start, succeed, fail, end }) {\r\n if (!this.loadOptions || isPending()) {\r\n return\r\n }\r\n\r\n start()\r\n\r\n const callback = once((err, result) => {\r\n if (err) {\r\n fail(err)\r\n } else {\r\n succeed(result)\r\n }\r\n\r\n end()\r\n })\r\n const result = this.loadOptions({\r\n id: this.getInstanceId(),\r\n instanceId: this.getInstanceId(),\r\n action,\r\n ...args,\r\n callback,\r\n })\r\n\r\n if (isPromise(result)) {\r\n result.then(() => {\r\n callback()\r\n }, err => {\r\n callback(err)\r\n }).catch(err => {\r\n // istanbul ignore next\r\n console.error(err)\r\n })\r\n }\r\n },\r\n\r\n checkDuplication(node) {\r\n warning(\r\n () => !((node.id in this.forest.nodeMap) && !this.forest.nodeMap[node.id].isFallbackNode),\r\n () => `Detected duplicate presence of node id ${JSON.stringify(node.id)}. ` +\r\n `Their labels are \"${this.forest.nodeMap[node.id].label}\" and \"${node.label}\" respectively.`,\r\n )\r\n },\r\n\r\n verifyNodeShape(node) {\r\n warning(\r\n () => !(node.children === undefined && node.isBranch === true),\r\n () => 'Are you meant to declare an unloaded branch node? ' +\r\n '`isBranch: true` is no longer supported, please use `children: null` instead.',\r\n )\r\n },\r\n\r\n select(node) {\r\n if (this.disabled || node.isDisabled) {\r\n return\r\n }\r\n\r\n if (this.single) {\r\n this.clear()\r\n }\r\n\r\n const nextState = this.multiple && !this.flat\r\n ? this.forest.checkedStateMap[node.id] === UNCHECKED\r\n : !this.isSelected(node)\r\n\r\n if (nextState) {\r\n this._selectNode(node)\r\n } else {\r\n this._deselectNode(node)\r\n }\r\n\r\n this.buildForestState()\r\n\r\n if (nextState) {\r\n this.$emit('select', node.raw, this.getInstanceId())\r\n } else {\r\n this.$emit('deselect', node.raw, this.getInstanceId())\r\n }\r\n\r\n if (this.localSearch.active && nextState && (this.single || this.clearOnSelect)) {\r\n this.resetSearchQuery()\r\n }\r\n\r\n if (this.single && this.closeOnSelect) {\r\n this.closeMenu()\r\n\r\n // istanbul ignore else\r\n if (this.searchable) {\r\n this._blurOnSelect = true\r\n }\r\n }\r\n },\r\n\r\n clear() {\r\n if (this.hasValue) {\r\n if (this.single || this.allowClearingDisabled) {\r\n this.forest.selectedNodeIds = []\r\n } else /* if (this.multiple && !this.allowClearingDisabled) */ {\r\n this.forest.selectedNodeIds = this.forest.selectedNodeIds.filter(nodeId =>\r\n this.getNode(nodeId).isDisabled,\r\n )\r\n }\r\n\r\n this.buildForestState()\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _selectNode(node) {\r\n if (this.single || this.disableBranchNodes) {\r\n return this.addValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.addValue(node)\r\n\r\n if (this.autoSelectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (!this.isSelected(ancestor) && !ancestor.isDisabled) this.addValue(ancestor)\r\n })\r\n } else if (this.autoSelectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!this.isSelected(descendant) && !descendant.isDisabled) this.addValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n const isFullyChecked = (\r\n node.isLeaf ||\r\n (/* node.isBranch && */!node.hasDisabledDescendants) ||\r\n (/* node.isBranch && */this.allowSelectingDisabledDescendants)\r\n )\r\n if (isFullyChecked) {\r\n this.addValue(node)\r\n }\r\n\r\n if (node.isBranch) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.addValue(descendant)\r\n }\r\n })\r\n }\r\n\r\n if (isFullyChecked) {\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (curr.children.every(this.isSelected) && !curr.childrenIgnoreDisabled) this.addValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _deselectNode(node) {\r\n if (this.disableBranchNodes) {\r\n return this.removeValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.removeValue(node)\r\n\r\n if (this.autoDeselectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (this.isSelected(ancestor) && !ancestor.isDisabled) this.removeValue(ancestor)\r\n })\r\n } else if (this.autoDeselectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (this.isSelected(descendant) && !descendant.isDisabled) this.removeValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n let hasUncheckedSomeDescendants = false\r\n if (node.isBranch) {\r\n this.traverseDescendantsDFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.removeValue(descendant)\r\n hasUncheckedSomeDescendants = true\r\n }\r\n })\r\n }\r\n\r\n if (\r\n node.isLeaf ||\r\n /* node.isBranch && */hasUncheckedSomeDescendants ||\r\n /* node.isBranch && */node.children.length === 0\r\n ) {\r\n this.removeValue(node)\r\n\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (this.isSelected(curr)) this.removeValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n addValue(node) {\r\n this.forest.selectedNodeIds.push(node.id)\r\n this.forest.selectedNodeMap[node.id] = true\r\n },\r\n\r\n removeValue(node) {\r\n removeFromArray(this.forest.selectedNodeIds, node.id)\r\n delete this.forest.selectedNodeMap[node.id]\r\n },\r\n\r\n removeLastValue() {\r\n if (!this.hasValue) return\r\n if (this.single) return this.clear()\r\n const lastValue = getLast(this.internalValue)\r\n const lastSelectedNode = this.getNode(lastValue)\r\n this.select(lastSelectedNode) // deselect\r\n },\r\n\r\n saveMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) this.menu.lastScrollPosition = $menu.scrollTop\r\n },\r\n\r\n restoreMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) $menu.scrollTop = this.menu.lastScrollPosition\r\n },\r\n },\r\n\r\n created() {\r\n this.verifyProps()\r\n this.resetFlags()\r\n },\r\n\r\n mounted() {\r\n if (this.autoFocus) this.focusInput()\r\n if (!this.options && !this.async && this.autoLoadRootOptions) this.loadRootOptions()\r\n if (this.alwaysOpen) this.openMenu()\r\n if (this.async && this.defaultOptions) this.handleRemoteSearch()\r\n },\r\n\r\n unmounted() {\r\n // istanbul ignore next\r\n this.toggleClickOutsideEvent(false)\r\n },\r\n}\r\n","\r\n","import script from \"./HiddenFields.vue?vue&type=script&lang=js\"\nexport * from \"./HiddenFields.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","function isPlainObject(value) {\r\n if (value == null || typeof value !== 'object') return false\r\n return Object.getPrototypeOf(value) === Object.prototype\r\n}\r\n\r\nfunction copy(obj, key, value) {\r\n if (isPlainObject(value)) {\r\n obj[key] || (obj[key] = {})\r\n deepExtend(obj[key], value)\r\n } else {\r\n obj[key] = value\r\n }\r\n}\r\n\r\nexport function deepExtend(target, source) {\r\n if (isPlainObject(source)) {\r\n const keys = Object.keys(source)\r\n\r\n for (let i = 0, len = keys.length; i < len; i++) {\r\n copy(target, keys[i], source[keys[i]])\r\n }\r\n }\r\n\r\n return target\r\n}\r\n","\r\n","import script from \"./Input.vue?vue&type=script&lang=js\"\nexport * from \"./Input.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./Placeholder.vue?vue&type=script&lang=js\"\nexport * from \"./Placeholder.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./SingleValue.vue?vue&type=script&lang=js\"\nexport * from \"./SingleValue.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./Delete.vue?vue&type=template&id=12b4a02e\"\nimport script from \"./Delete.vue?vue&type=script&lang=js\"\nexport * from \"./Delete.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\sohali\\\\vue3-treeselect\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n","import script from \"./MultiValueItem.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValueItem.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./MultiValue.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValue.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./Arrow.vue?vue&type=template&id=5d5151cb\"\nimport script from \"./Arrow.vue?vue&type=script&lang=js\"\nexport * from \"./Arrow.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\sohali\\\\vue3-treeselect\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n","import script from \"./Control.vue?vue&type=script&lang=js\"\nexport * from \"./Control.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","var index = (function (element, listener) {\n\tvar expand = document.createElement('_');\n\tvar shrink = expand.appendChild(document.createElement('_'));\n\tvar expandChild = expand.appendChild(document.createElement('_'));\n\tvar shrinkChild = shrink.appendChild(document.createElement('_'));\n\n\tvar lastWidth = void 0,\n\t lastHeight = void 0;\n\n\tshrink.style.cssText = expand.style.cssText = 'height:100%;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;transition:0s;width:100%;z-index:-1';\n\tshrinkChild.style.cssText = expandChild.style.cssText = 'display:block;height:100%;transition:0s;width:100%';\n\tshrinkChild.style.width = shrinkChild.style.height = '200%';\n\n\telement.appendChild(expand);\n\n\ttest();\n\n\treturn stop;\n\n\tfunction test() {\n\t\tunbind();\n\n\t\tvar width = element.offsetWidth;\n\t\tvar height = element.offsetHeight;\n\n\t\tif (width !== lastWidth || height !== lastHeight) {\n\t\t\tlastWidth = width;\n\t\t\tlastHeight = height;\n\n\t\t\texpandChild.style.width = width * 2 + 'px';\n\t\t\texpandChild.style.height = height * 2 + 'px';\n\n\t\t\texpand.scrollLeft = expand.scrollWidth;\n\t\t\texpand.scrollTop = expand.scrollHeight;\n\t\t\tshrink.scrollLeft = shrink.scrollWidth;\n\t\t\tshrink.scrollTop = shrink.scrollHeight;\n\n\t\t\tlistener({ width: width, height: height });\n\t\t}\n\n\t\tshrink.addEventListener('scroll', test);\n\t\texpand.addEventListener('scroll', test);\n\t}\n\n\tfunction unbind() {\n\t\tshrink.removeEventListener('scroll', test);\n\t\texpand.removeEventListener('scroll', test);\n\t}\n\n\tfunction stop() {\n\t\tunbind();\n\n\t\telement.removeChild(expand);\n\t}\n});\n\nexport default index;\n","import watchSizeForBrowsersOtherThanIE9 from 'watch-size'\r\nimport { removeFromArray } from './removeFromArray'\r\n\r\nlet intervalId\r\nconst registered = []\r\nconst INTERVAL_DURATION = 100\r\n\r\nfunction run() {\r\n intervalId = setInterval(() => {\r\n registered.forEach(test)\r\n }, INTERVAL_DURATION)\r\n}\r\n\r\nfunction stop() {\r\n clearInterval(intervalId)\r\n intervalId = null\r\n}\r\n\r\nfunction test(item) {\r\n const { $el, listener, lastWidth, lastHeight } = item\r\n const width = $el.offsetWidth\r\n const height = $el.offsetHeight\r\n\r\n if (lastWidth !== width || lastHeight !== height) {\r\n item.lastWidth = width\r\n item.lastHeight = height\r\n\r\n listener({ width, height })\r\n }\r\n}\r\n\r\nfunction watchSizeForIE9($el, listener) {\r\n const item = {\r\n $el,\r\n listener,\r\n lastWidth: null,\r\n lastHeight: null,\r\n }\r\n const unwatch = () => {\r\n removeFromArray(registered, item)\r\n if (!registered.length) stop()\r\n }\r\n\r\n registered.push(item)\r\n // The original watch-size will call the listener on initialization.\r\n // Keep the same behavior here.\r\n test(item)\r\n run()\r\n\r\n return unwatch\r\n}\r\n\r\nexport function watchSize($el, listener) {\r\n // See: https://stackoverflow.com/a/31293352\r\n const isIE9 = document.documentMode === 9\r\n // watch-size will call the listener on initialization.\r\n // Disable this behavior with a lock to achieve a clearer code logic.\r\n let locked = true\r\n const wrappedListener = (...args) => locked || listener(...args)\r\n const implementation = isIE9\r\n ? watchSizeForIE9\r\n : watchSizeForBrowsersOtherThanIE9\r\n const removeSizeWatcher = implementation($el, wrappedListener)\r\n locked = false // unlock after initialization\r\n\r\n return removeSizeWatcher\r\n}\r\n","function findScrollParents($el) {\r\n const $scrollParents = []\r\n let $parent = $el.parentNode\r\n\r\n while ($parent && $parent.nodeName !== 'BODY' && $parent.nodeType === document.ELEMENT_NODE) {\r\n if (isScrollElment($parent)) $scrollParents.push($parent)\r\n $parent = $parent.parentNode\r\n }\r\n $scrollParents.push(window)\r\n\r\n return $scrollParents\r\n}\r\n\r\nfunction isScrollElment($el) {\r\n // Firefox wants us to check `-x` and `-y` variations as well\r\n const { overflow, overflowX, overflowY } = getComputedStyle($el)\r\n return /(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)\r\n}\r\n\r\nexport function setupResizeAndScrollEventListeners($el, listener) {\r\n const $scrollParents = findScrollParents($el)\r\n\r\n window.addEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach(scrollParent => {\r\n scrollParent.addEventListener('scroll', listener, { passive: true })\r\n })\r\n\r\n return function removeEventListeners() {\r\n window.removeEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach($scrollParent => {\r\n $scrollParent.removeEventListener('scroll', listener, { passive: true })\r\n })\r\n }\r\n}\r\n","\r\n","import script from \"./Tip.vue?vue&type=script&lang=js\"\nexport * from \"./Tip.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","","import script from \"./Option.vue?vue&type=script&lang=js\"\nexport * from \"./Option.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./Menu.vue?vue&type=script&lang=js\"\nexport * from \"./Menu.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./MenuPortal.vue?vue&type=script&lang=js\"\nexport * from \"./MenuPortal.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Treeselect.vue?vue&type=template&id=4fa337e8\"\nimport script from \"./Treeselect.vue?vue&type=script&lang=js\"\nexport * from \"./Treeselect.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\sohali\\\\vue3-treeselect\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Treeselect from './components/Treeselect'\r\nimport treeselectMixin from './mixins/treeselectMixin'\r\nimport '../styles/style.less'\r\n\r\nexport default Treeselect\r\nexport { Treeselect, treeselectMixin }\r\nexport {\r\n // Delayed loading.\r\n LOAD_ROOT_OPTIONS,\r\n LOAD_CHILDREN_OPTIONS,\r\n ASYNC_SEARCH,\r\n} from './constants'\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.test('\\n') && re.flags === 's');\n});\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/vue3-treeselect.umd.min.js b/dist/vue3-treeselect.umd.min.js index 9533e43..d52b9fa 100644 --- a/dist/vue3-treeselect.umd.min.js +++ b/dist/vue3-treeselect.umd.min.js @@ -1,2 +1,2 @@ -(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vue3-treeselect"]=t(require("vue")):e["vue3-treeselect"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"00fd":function(e,t,n){var r=n("9e69"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function c(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}e.exports=c},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"0481":function(e,t,n){"use strict";var r=n("23e7"),i=n("a2bf"),o=n("7b0b"),a=n("50c4"),s=n("a691"),c=n("65f0");r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=o(this),n=a(t.length),r=c(t,0);return r.length=i(r,t,t,n,0,void 0===e?1:s(e)),r}})},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),c=n("5135"),u=n("0cfb"),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=s(t,!0),u)try{return l(e,t)}catch(n){}if(c(e,t))return o(!i.f.call(e,t),e[t])}},"0cb2":function(e,t,n){var r=n("7b0b"),i=Math.floor,o="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;e.exports=function(e,t,n,c,u,l){var d=n+e.length,f=c.length,h=s;return void 0!==u&&(u=r(u),h=a),o.call(l,h,(function(r,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return r;if(s>f){var l=i(s/10);return 0===l?r:l<=f?void 0===c[l-1]?o.charAt(1):c[l-1]+o.charAt(1):r}a=c[s-1]}return void 0===a?"":a}))}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1276:function(e,t,n){"use strict";var r=n("d784"),i=n("44e7"),o=n("825a"),a=n("1d80"),s=n("4840"),c=n("8aa5"),u=n("50c4"),l=n("14c3"),d=n("9263"),f=n("d039"),h=[].push,p=Math.min,v=4294967295,b=!f((function(){return!RegExp(v,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),o=void 0===n?v:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,o);var s,c,u,l=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,b=new RegExp(e.source,f+"g");while(s=d.call(b,r)){if(c=b.lastIndex,c>p&&(l.push(r.slice(p,s.index)),s.length>1&&s.index=o))break;b.lastIndex===s.index&&b.lastIndex++}return p===r.length?!u&&b.test("")||l.push(""):l.push(r.slice(p)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var d=o(e),f=String(this),h=s(d,RegExp),g=d.unicode,m=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(b?"y":"g"),y=new h(b?d:"^(?:"+d.source+")",m),O=void 0===i?v:i>>>0;if(0===O)return[];if(0===f.length)return null===l(y,f)?[f]:[];var S=0,x=0,N=[];while(x79&&s<83;r({target:"Array",proto:!0,forced:!u||!l||d},{reduce:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(e,t,n){var r=n("c6b6"),i=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),o=n("17c2"),a=n("9112");for(var s in i){var c=r[s],u=c&&c.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(l){u.forEach=o}}},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=n("ae40"),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"1a8c":function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1d92":function(e,t,n){var r=n("e0ef");function i(e){return r(2,e)}e.exports=i},"1dde":function(e,t,n){var r=n("d039"),i=n("b622"),o=n("2d00"),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),c=n("e893"),u=n("94ca");e.exports=function(e,t){var n,l,d,f,h,p,v=e.target,b=e.global,g=e.stat;if(l=b?r:g?r[v]||s(v,{}):(r[v]||{}).prototype,l)for(d in t){if(h=t[d],e.noTargetGet?(p=i(l,d),f=p&&p.value):f=l[d],n=u(b?d:v+(g?".":"#")+d,e.forced),!n&&void 0!==f){if(typeof h===typeof f)continue;c(h,f)}(e.sham||f&&f.sham)&&o(h,"sham",!0),a(l,d,h,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"25f0":function(e,t,n){"use strict";var r=n("6eeb"),i=n("825a"),o=n("d039"),a=n("ad6d"),s="toString",c=RegExp.prototype,u=c[s],l=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),d=u.name!=s;(l||d)&&r(RegExp.prototype,s,(function(){var e=i(this),t=String(e.source),n=e.flags,r=String(void 0===n&&e instanceof RegExp&&!("flags"in c)?a.call(e):n);return"/"+t+"/"+r}),{unsafe:!0})},2655:function(e,t){function n(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}e.exports=n,e.exports.default=n},"29f3":function(e,t){var n=Object.prototype,r=n.toString;function i(e){return r.call(e)}e.exports=i},"2b3e":function(e,t,n){var r=n("585a"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},"2d00":function(e,t,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,c=s&&s.versions,u=c&&c.v8;u?(r=u.split("."),i=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},"2e39":function(e,t,n){"use strict";function r(e,t){var n=t.length,r=e.length;if(r>n)return!1;if(r===n)return e===t;e:for(var i=0,o=0;ic)i.f(e,n=r[c++],t[n]);return e}},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},4069:function(e,t,n){var r=n("44d2");r("flat")},"408c":function(e,t,n){var r=n("2b3e"),i=function(){return r.Date.now()};e.exports=i},4160:function(e,t,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"428f":function(e,t,n){var r=n("da84");e.exports=r},4416:function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),a=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},"45fc":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").some,o=n("a640"),a=n("ae40"),s=o("some"),c=a("some");r({target:"Array",proto:!0,forced:!s||!c},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},4840:function(e,t,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),a=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},4930:function(e,t,n){var r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"498a":function(e,t,n){"use strict";var r=n("23e7"),i=n("58a8").trim,o=n("c8d2");r({target:"String",proto:!0,forced:o("trim")},{trim:function(){return i(this)}})},"4b17":function(e,t,n){var r=n("6428");function i(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}e.exports=i},"4d64":function(e,t,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),a=function(e){return function(t,n,a){var s,c=r(t),u=i(c.length),l=o(a,u);if(e&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").filter,o=n("1dde"),a=n("ae40"),s=o("filter"),c=a("filter");r({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4e82":function(e,t,n){"use strict";var r=n("23e7"),i=n("1c0b"),o=n("7b0b"),a=n("d039"),s=n("a640"),c=[],u=c.sort,l=a((function(){c.sort(void 0)})),d=a((function(){c.sort(null)})),f=s("sort"),h=l||!d||!f;r({target:"Array",proto:!0,forced:h},{sort:function(e){return void 0===e?u.call(o(this)):u.call(o(this),i(e))}})},"50c4":function(e,t,n){var r=n("a691"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5319:function(e,t,n){"use strict";var r=n("d784"),i=n("825a"),o=n("50c4"),a=n("a691"),s=n("1d80"),c=n("8aa5"),u=n("0cb2"),l=n("14c3"),d=Math.max,f=Math.min,h=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var p=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=r.REPLACE_KEEPS_$0,b=p?"$":"$0";return[function(n,r){var i=s(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!p&&v||"string"===typeof r&&-1===r.indexOf(b)){var s=n(t,e,this,r);if(s.done)return s.value}var g=i(e),m=String(this),y="function"===typeof r;y||(r=String(r));var O=g.global;if(O){var S=g.unicode;g.lastIndex=0}var x=[];while(1){var N=l(g,m);if(null===N)break;if(x.push(N),!O)break;var E=String(N[0]);""===E&&(g.lastIndex=c(m,o(g.lastIndex),S))}for(var w="",j=0,_=0;_=j&&(w+=m.slice(j,L)+V,j=L+C.length)}return w+m.slice(j)}]}))},5692:function(e,t,n){var r=n("c430"),i=n("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),i=n("241c"),o=n("7418"),a=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},"585a":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("c8ba"))},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,n){var r=n("1d80"),i=n("5899"),o="["+i+"]",a=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"605d":function(e,t,n){var r=n("c6b6"),i=n("da84");e.exports="process"==r(i.process)},6428:function(e,t,n){var r=n("b4b0"),i=1/0,o=17976931348623157e292;function a(e){if(!e)return 0===e?e:0;if(e=r(e),e===i||e===-i){var t=e<0?-1:1;return t*o}return e===e?e:0}e.exports=a},6547:function(e,t,n){var r=n("a691"),i=n("1d80"),o=function(e){return function(t,n){var o,a,s=String(i(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}};e.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(e,t,n){var r=n("861d"),i=n("e8b5"),o=n("b622"),a=o("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var r,i,o,a=n("7f9a"),s=n("da84"),c=n("861d"),u=n("9112"),l=n("5135"),d=n("c6cd"),f=n("f772"),h=n("d012"),p=s.WeakMap,v=function(e){return o(e)?i(e):r(e,{})},b=function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var g=d.state||(d.state=new p),m=g.get,y=g.has,O=g.set;r=function(e,t){return t.facade=e,O.call(g,e,t),t},i=function(e){return m.call(g,e)||{}},o=function(e){return y.call(g,e)}}else{var S=f("state");h[S]=!0,r=function(e,t){return t.facade=e,u(e,S,t),t},i=function(e){return l(e,S)?e[S]:{}},o=function(e){return l(e,S)}}e.exports={set:r,get:i,has:o,enforce:v,getterFor:b}},"6eeb":function(e,t,n){var r=n("da84"),i=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),c=n("69f3"),u=c.get,l=c.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var c,u=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),c=l(n),c.source||(c.source=d.join("string"==typeof t?t:""))),e!==r?(u?!h&&e[t]&&(f=!0):delete e[t],f?e[t]=n:i(e,t,n)):f?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},7156:function(e,t,n){var r=n("861d"),i=n("d2bb");e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},"72f0":function(e,t){function n(e){return function(){return e}}e.exports=n},7418:function(e,t){t.f=Object.getOwnPropertySymbols},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7c73":function(e,t,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),c=n("1be4"),u=n("cc12"),l=n("f772"),d=">",f="<",h="prototype",p="script",v=l("IE_PROTO"),b=function(){},g=function(e){return f+p+d+e+f+"/"+p+d},m=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=u("iframe"),n="java"+p+":";return t.style.display="none",c.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},O=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}O=r?m(r):y();var e=a.length;while(e--)delete O[h][a[e]];return O()};s[v]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(b[h]=i(e),n=new b,b[h]=null,n[v]=e):n=O(),void 0===t?n:o(n,t)}},"7f9a":function(e,t,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var r=n("c04e"),i=n("9bf2"),o=n("5c6c");e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8925:function(e,t,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8bbf":function(t,n){t.exports=e},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("ad6d"),i=n("9f7f"),o=RegExp.prototype.exec,a=String.prototype.replace,s=o,c=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),u=i.UNSUPPORTED_Y||i.BROKEN_CARET,l=void 0!==/()??/.exec("")[1],d=c||l||u;d&&(s=function(e){var t,n,i,s,d=this,f=u&&d.sticky,h=r.call(d),p=d.source,v=0,b=e;return f&&(h=h.replace("y",""),-1===h.indexOf("g")&&(h+="g"),b=String(e).slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==e[d.lastIndex-1])&&(p="(?: "+p+")",b=" "+b,v++),n=new RegExp("^(?:"+p+")",h)),l&&(n=new RegExp("^"+p+"$(?!\\s)",h)),c&&(t=d.lastIndex),i=o.call(f?n:d,b),f?i?(i.input=i.input.slice(v),i[0]=i[0].slice(v),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:c&&i&&(d.lastIndex=d.global?i.index+i[0].length:t),l&&i&&i.length>1&&a.call(i[0],n,(function(){for(s=1;s=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),m=d("concat"),y=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)},O=!g||!m;r({target:"Array",proto:!0,forced:O},{concat:function(e){var t,n,r,i,o,a=s(this),d=l(a,0),f=0;for(t=-1,r=arguments.length;tv)throw TypeError(b);for(n=0;n=v)throw TypeError(b);u(d,f++,o)}return d.length=f,d}})},"9bf2":function(e,t,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9e69":function(e,t,n){var r=n("2b3e"),i=r.Symbol;e.exports=i},"9f7f":function(e,t,n){"use strict";var r=n("d039");function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a15b:function(e,t,n){"use strict";var r=n("23e7"),i=n("44ad"),o=n("fc6a"),a=n("a640"),s=[].join,c=i!=Object,u=a("join",",");r({target:"Array",proto:!0,forced:c||!u},{join:function(e){return s.call(o(this),void 0===e?",":e)}})},a2bf:function(e,t,n){"use strict";var r=n("e8b5"),i=n("50c4"),o=n("0366"),a=function(e,t,n,s,c,u,l,d){var f,h=c,p=0,v=!!l&&o(l,d,3);while(p0&&r(f))h=a(e,t,f,i(f.length),h,u-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[h]=f}h++}p++}return h};e.exports=a},a434:function(e,t,n){"use strict";var r=n("23e7"),i=n("23cb"),o=n("a691"),a=n("50c4"),s=n("7b0b"),c=n("65f0"),u=n("8418"),l=n("1dde"),d=n("ae40"),f=l("splice"),h=d("splice",{ACCESSORS:!0,0:0,1:2}),p=Math.max,v=Math.min,b=9007199254740991,g="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!f||!h},{splice:function(e,t){var n,r,l,d,f,h,m=s(this),y=a(m.length),O=i(e,y),S=arguments.length;if(0===S?n=r=0:1===S?(n=0,r=y-O):(n=S-2,r=v(p(o(t),0),y-O)),y+n-r>b)throw TypeError(g);for(l=c(m,r),d=0;dy-r+n;d--)delete m[d-1]}else if(n>r)for(d=y-r;d>O;d--)f=d+r-1,h=d+n-1,f in m?m[h]=m[f]:delete m[h];for(d=0;d1?arguments[1]:void 0)}})},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a9e3:function(e,t,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("94ca"),a=n("6eeb"),s=n("5135"),c=n("c6b6"),u=n("7156"),l=n("c04e"),d=n("d039"),f=n("7c73"),h=n("241c").f,p=n("06cf").f,v=n("9bf2").f,b=n("58a8").trim,g="Number",m=i[g],y=m.prototype,O=c(f(y))==g,S=function(e){var t,n,r,i,o,a,s,c,u=l(e,!1);if("string"==typeof u&&u.length>2)if(u=b(u),t=u.charCodeAt(0),43===t||45===t){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(o=u.slice(2),a=o.length,s=0;si)return NaN;return parseInt(o,r)}return+u};if(o(g,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var x,N=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof N&&(O?d((function(){y.valueOf.call(n)})):c(n)!=g)?u(new m(S(t)),n,N):S(t)},E=r?h(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),w=0;E.length>w;w++)s(m,x=E[w])&&!s(N,x)&&v(N,x,p(m,x));N.prototype=y,y.constructor=N,a(i,g,N)}},ac1f:function(e,t,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ae40:function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("5135"),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,l=o(t,0)?t[0]:c,d=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,l,d)}))}},b041:function(e,t,n){"use strict";var r=n("00ee"),i=n("f5df");e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b047:function(e,t,n){var r=n("1a8c"),i=n("408c"),o=n("b4b0"),a="Expected a function",s=Math.max,c=Math.min;function u(e,t,n){var u,l,d,f,h,p,v=0,b=!1,g=!1,m=!0;if("function"!=typeof e)throw new TypeError(a);function y(t){var n=u,r=l;return u=l=void 0,v=t,f=e.apply(r,n),f}function O(e){return v=e,h=setTimeout(N,t),b?y(e):f}function S(e){var n=e-p,r=e-v,i=t-n;return g?c(i,d-r):i}function x(e){var n=e-p,r=e-v;return void 0===p||n>=t||n<0||g&&r>=d}function N(){var e=i();if(x(e))return E(e);h=setTimeout(N,S(e))}function E(e){return h=void 0,m&&u?y(e):(u=l=void 0,f)}function w(){void 0!==h&&clearTimeout(h),v=0,u=p=l=h=void 0}function j(){return void 0===h?f:E(i())}function _(){var e=i(),n=x(e);if(u=arguments,l=this,p=e,n){if(void 0===h)return O(p);if(g)return clearTimeout(h),h=setTimeout(N,t),y(p)}return void 0===h&&(h=setTimeout(N,t)),f}return t=o(t)||0,r(n)&&(b=!!n.leading,g="maxWait"in n,d=g?s(o(n.maxWait)||0,t):d,m="trailing"in n?!!n.trailing:m),_.cancel=w,_.flush=j,_}e.exports=u},b4b0:function(e,t,n){var r=n("1a8c"),i=n("ffd6"),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;function d(e){if("number"==typeof e)return e;if(i(e))return o;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):s.test(e)?o:+e}e.exports=d},b622:function(e,t,n){var r=n("da84"),i=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),c=n("fdbf"),u=i("wks"),l=r.Symbol,d=c?l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(l,e)?u[e]=l[e]:u[e]=d("Symbol."+e)),u[e]}},b64b:function(e,t,n){var r=n("23e7"),i=n("7b0b"),o=n("df75"),a=n("d039"),s=a((function(){o(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(e){return o(i(e))}})},b727:function(e,t,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),a=n("50c4"),s=n("65f0"),c=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,d=6==e,f=7==e,h=5==e||d;return function(p,v,b,g){for(var m,y,O=o(p),S=i(O),x=r(v,b,3),N=a(S.length),E=0,w=g||s,j=t?w(p,N):n||f?w(p,0):void 0;N>E;E++)if((h||E in S)&&(m=S[E],y=x(m,E,O),e))if(t)j[E]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return E;case 2:c.call(j,m)}else switch(e){case 4:return!1;case 7:c.call(j,m)}return d?-1:u||l?l:j}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},bcdf:function(e,t){function n(){}e.exports=n},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c8d2:function(e,t,n){var r=n("d039"),i=n("5899"),o="​…᠎";e.exports=function(e){return r((function(){return!!i[e]()||o[e]()!=o||i[e].name!==e}))}},c975:function(e,t,n){"use strict";var r=n("23e7"),i=n("4d64").indexOf,o=n("a640"),a=n("ae40"),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,u=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:c||!u||!l},{indexOf:function(e){return c?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},ca84:function(e,t,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=i(e),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);while(t.length>c)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},cc12:function(e,t,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},cd9d:function(e,t){function n(e){return e}e.exports=n},ce4e:function(e,t,n){var r=n("da84"),i=n("9112");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("428f"),i=n("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},d15f:function(e,t,n){},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},d2bb:function(e,t,n){var r=n("825a"),i=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(e,t,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d58f:function(e,t,n){var r=n("1c0b"),i=n("7b0b"),o=n("44ad"),a=n("50c4"),s=function(e){return function(t,n,s,c){r(n);var u=i(t),l=o(u),d=a(u.length),f=e?d-1:0,h=e?-1:1;if(s<2)while(1){if(f in l){c=l[f],f+=h;break}if(f+=h,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=h)f in l&&(c=n(c,l[f],f,u));return c}};e.exports={left:s(!1),right:s(!0)}},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),i=n("d039"),o=n("b622"),a=n("9263"),s=n("9112"),c=o("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),l=function(){return"$0"==="a".replace(/./,"$0")}(),d=o("replace"),f=function(){return!!/./[d]&&""===/./[d]("a","$0")}(),h=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var p=o(e),v=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),b=v&&!i((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!v||!b||"replace"===e&&(!u||!l||f)||"split"===e&&!h){var g=/./[p],m=n(p,""[e],(function(e,t,n,r,i){return t.exec===a?v&&!i?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=m[0],O=m[1];r(String.prototype,e,y),r(RegExp.prototype,p,2==t?function(e,t){return O.call(e,this,t)}:function(e){return O.call(e,this)})}d&&s(RegExp.prototype[p],"sham",!0)}},d81d:function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").map,o=n("1dde"),a=n("ae40"),s=o("map"),c=a("map");r({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},df75:function(e,t,n){var r=n("ca84"),i=n("7839");e.exports=Object.keys||function(e){return r(e,i)}},e0ef:function(e,t,n){var r=n("4b17"),i="Expected a function";function o(e,t){var n;if("function"!=typeof t)throw new TypeError(i);return e=r(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}e.exports=o},e163:function(e,t,n){var r=n("5135"),i=n("7b0b"),o=n("f772"),a=n("e177"),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},e177:function(e,t,n){var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e893:function(e,t,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=i(t),s=a.f,c=o.f,u=0;ue.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),i=1;in.bottom?e.scrollTop=Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight):r.top-i0},single:function(){return!this.multiple},visibleOptionIds:function(){var e=this,t=[];return this.traverseAllNodesByIndex((function(n){if(e.localSearch.active&&!e.shouldOptionBeIncludedInSearchResult(n)||t.push(n.id),n.isBranch&&!e.shouldExpand(n))return!1})),t},hasVisibleOptions:function(){return 0!==this.visibleOptionIds.length},showCountOnSearchComputed:function(){return"boolean"===typeof this.showCountOnSearch?this.showCountOnSearch:this.showCount},hasBranchNodes:function(){return this.forest.normalizedOptions.some((function(e){return e.isBranch}))},shouldFlattenOptions:function(){return this.localSearch.active&&this.flattenSearchResults}},watch:{alwaysOpen:function(e){e?this.openMenu():this.closeMenu()},branchNodesFirst:function(){this.initialize()},disabled:function(e){e&&this.menu.isOpen?this.closeMenu():e||this.menu.isOpen||!this.alwaysOpen||this.openMenu()},flat:function(){this.initialize()},internalValue:function(e,t){var n=L(e,t);n&&this.$emit("update:modelValue",this.getValue(),this.getInstanceId())},matchKeys:function(){this.initialize()},multiple:function(e){e&&this.buildForestState()},options:{handler:function(){this.async||(this.initialize(),this.rootOptionsStates.isLoaded=Array.isArray(this.options))},deep:!0,immediate:!0},"trigger.searchQuery":function(){this.async?this.handleRemoteSearch():this.handleLocalSearch(),this.$emit("search-change",this.trigger.searchQuery,this.getInstanceId())},value:function(){var e=this.extractCheckedNodeIdsFromValue(),t=L(e,this.internalValue);t&&this.fixSelectedNodeIds(e)}},methods:{verifyProps:function(){var e=this;if(T((function(){return!e.async||e.searchable}),(function(){return'For async search mode, the value of "searchable" prop must be true.'})),null!=this.options||this.loadOptions||T((function(){return!1}),(function(){return'Are you meant to dynamically load options? You need to use "loadOptions" prop.'})),this.flat&&T((function(){return e.multiple}),(function(){return'You are using flat mode. But you forgot to add "multiple=true"?'})),!this.flat){var t=["autoSelectAncestors","autoSelectDescendants","autoDeselectAncestors","autoDeselectDescendants"];t.forEach((function(t){T((function(){return!e[t]}),(function(){return'"'.concat(t,'" only applies to flat mode.')}))}))}},resetFlags:function(){this._blurOnSelect=!1},initialize:function(){var e=this.async?this.getRemoteSearchEntry().options:this.options;if(Array.isArray(e)){var t=this.forest.nodeMap;this.forest.nodeMap=C(),this.keepDataOfSelectedNodes(t),this.forest.normalizedOptions=this.normalize(W,e,t),this.fixSelectedNodeIds(this.internalValue)}else this.forest.normalizedOptions=[]},getInstanceId:function(){return null==this.instanceId?this.id:this.instanceId},getValue:function(){var e=this;if("id"===this.valueFormat)return this.multiple?this.internalValue.slice():this.internalValue[0];var t=this.internalValue.map((function(t){return e.getNode(t).raw}));return this.multiple?t:t[0]},getNode:function(e){return T((function(){return null!=e}),(function(){return"Invalid node id: ".concat(e)})),null==e?null:e in this.forest.nodeMap?this.forest.nodeMap[e]:this.createFallbackNode(e)},createFallbackNode:function(e){var t=this.extractNodeFromValue(e),n=this.enhancedNormalizer(t).label||"".concat(e," (unknown)"),r={id:e,label:n,ancestors:[],parentNode:W,isFallbackNode:!0,isRootNode:!0,isLeaf:!0,isBranch:!1,isDisabled:!1,isNew:!1,index:[-1],level:0,raw:t};return this.forest.nodeMap[e]=r},extractCheckedNodeIdsFromValue:function(){var e=this;return null==this.modelValue?[]:"id"===this.valueFormat?this.multiple?this.modelValue.slice():[this.modelValue]:(this.multiple?this.modelValue:[this.modelValue]).map((function(t){return e.enhancedNormalizer(t)})).map((function(e){return e.id}))},extractNodeFromValue:function(e){var t=this,n={id:e};if("id"===this.valueFormat)return n;var r=this.multiple?Array.isArray(this.modelValue)?this.modelValue:[]:this.modelValue?[this.modelValue]:[],i=I(r,(function(n){return n&&t.enhancedNormalizer(n).id===e}));return i||n},fixSelectedNodeIds:function(e){var t=this,n=[];if(this.single||this.flat||this.disableBranchNodes||this.valueConsistsOf===ee)n=e;else if(this.valueConsistsOf===te)e.forEach((function(e){n.push(e);var r=t.getNode(e);r.isBranch&&t.traverseDescendantsBFS(r,(function(e){n.push(e.id)}))}));else if(this.valueConsistsOf===ne){var r=C(),i=e.slice();while(i.length){var o=i.shift(),a=this.getNode(o);n.push(o),a.isRootNode||(a.parentNode.id in r||(r[a.parentNode.id]=a.parentNode.children.length),0===--r[a.parentNode.id]&&i.push(a.parentNode.id))}}else if(this.valueConsistsOf===re){var s=C(),c=e.filter((function(e){var n=t.getNode(e);return n.isLeaf||0===n.children.length}));while(c.length){var u=c.shift(),l=this.getNode(u);n.push(u),l.isRootNode||(l.parentNode.id in s||(s[l.parentNode.id]=l.parentNode.children.length),0===--s[l.parentNode.id]&&c.push(l.parentNode.id))}}var d=L(this.forest.selectedNodeIds,n);d&&(this.forest.selectedNodeIds=n),this.buildForestState()},keepDataOfSelectedNodes:function(e){var t=this;this.forest.selectedNodeIds.forEach((function(n){if(e[n]){var r=y(y({},e[n]),{},{isFallbackNode:!0});t.forest.nodeMap[n]=r}}))},isSelected:function(e){return!0===this.forest.selectedNodeMap[e.id]},traverseDescendantsBFS:function(e,t){if(e.isBranch){var n=e.children.slice();while(n.length){var r=n[0];r.isBranch&&n.push.apply(n,g(r.children)),t(r),n.shift()}}},traverseDescendantsDFS:function(e,t){var n=this;e.isBranch&&e.children.forEach((function(e){n.traverseDescendantsDFS(e,t),t(e)}))},traverseAllNodesDFS:function(e){var t=this;this.forest.normalizedOptions.forEach((function(n){t.traverseDescendantsDFS(n,e),e(n)}))},traverseAllNodesByIndex:function(e){var t=function t(n){n.children.forEach((function(n){!1!==e(n)&&n.isBranch&&t(n)}))};t({children:this.forest.normalizedOptions})},toggleClickOutsideEvent:function(e){e?document.addEventListener("mousedown",this.handleClickOutside,!1):document.removeEventListener("mousedown",this.handleClickOutside,!1)},getValueContainer:function(){return this.$refs.control.$refs["value-container"]},getInput:function(){return this.getValueContainer().$refs.input},focusInput:function(){this.getInput().focus()},blurInput:function(){this.getInput().blur()},handleMouseDown:V((function(e){if(e.preventDefault(),e.stopPropagation(),!this.disabled){var t=this.getValueContainer().$el.contains(e.target);t&&!this.menu.isOpen&&(this.openOnClick||this.trigger.isFocused)&&this.openMenu(),this._blurOnSelect?this.blurInput():this.focusInput(),this.resetFlags()}})),handleClickOutside:function(e){this.$refs.wrapper&&!this.$refs.wrapper.contains(e.target)&&(this.blurInput(),this.closeMenu())},handleLocalSearch:function(){var e=this,t=this.trigger.searchQuery,n=function(){return e.resetHighlightedOptionWhenNecessary(!0)};if(!t)return this.localSearch.active=!1,n();this.localSearch.active=!0,this.localSearch.noResults=!0,this.traverseAllNodesDFS((function(t){var n;t.isBranch&&(t.isExpandedOnSearch=!1,t.showAllChildrenOnSearch=!1,t.isMatched=!1,t.hasMatchedDescendants=!1,e.localSearch.countMap[t.id]=(n={},h(n,K,0),h(n,G,0),h(n,q,0),h(n,X,0),n))}));var r=t.trim().toLocaleLowerCase(),i=r.replace(/\s+/g," ").split(" ");this.traverseAllNodesDFS((function(t){e.searchNested&&i.length>1?t.isMatched=i.every((function(e){return ve(!1,e,t.nestedSearchLabel)})):t.isMatched=e.matchKeys.some((function(n){return ve(!e.disableFuzzyMatching,r,t.lowerCased[n])})),t.isMatched&&(e.localSearch.noResults=!1,t.ancestors.forEach((function(t){return e.localSearch.countMap[t.id][G]++})),t.isLeaf&&t.ancestors.forEach((function(t){return e.localSearch.countMap[t.id][X]++})),t.parentNode!==W&&(e.localSearch.countMap[t.parentNode.id][K]+=1,t.isLeaf&&(e.localSearch.countMap[t.parentNode.id][q]+=1))),(t.isMatched||t.isBranch&&t.isExpandedOnSearch)&&t.parentNode!==W&&(t.parentNode.isExpandedOnSearch=!0,t.parentNode.hasMatchedDescendants=!0)})),n()},handleRemoteSearch:function(){var e=this,t=this.trigger.searchQuery,n=this.getRemoteSearchEntry(),r=function(){e.initialize(),e.resetHighlightedOptionWhenNecessary(!0)};if((""===t||this.cacheOptions)&&n.isLoaded)return r();this.callLoadOptionsProp({action:Z,args:{searchQuery:t},isPending:function(){return n.isLoading},start:function(){n.isLoading=!0,n.isLoaded=!1,n.loadingError=""},succeed:function(i){n.isLoaded=!0,n.options=i,e.trigger.searchQuery===t&&r()},fail:function(e){n.loadingError=be(e)},end:function(){n.isLoading=!1}})},getRemoteSearchEntry:function(){var e=this,t=this.trigger.searchQuery,n=this.remoteSearch[t]||y(y({},he()),{},{options:[]});if(this.$watch((function(){return n.options}),(function(){e.trigger.searchQuery===t&&e.initialize()}),{deep:!0}),""===t){if(Array.isArray(this.defaultOptions))return n.options=this.defaultOptions,n.isLoaded=!0,n;if(!0!==this.defaultOptions)return n.isLoaded=!0,n}return this.remoteSearch[t]||(this.remoteSearch[t]=n),n},shouldExpand:function(e){return this.localSearch.active?e.isExpandedOnSearch:e.isExpanded},shouldOptionBeIncludedInSearchResult:function(e){return!!e.isMatched||(!(!e.isBranch||!e.hasMatchedDescendants||this.flattenSearchResults)||!(e.isRootNode||!e.parentNode.showAllChildrenOnSearch))},shouldShowOptionInMenu:function(e){return!(this.localSearch.active&&!this.shouldOptionBeIncludedInSearchResult(e))},getControl:function(){return this.$refs.control.$el},getMenu:function(){var e=this.appendToBody?this.$refs.portal.portalTarget:this,t=e.$refs.menu.$refs.menu;return t&&"#comment"!==t.nodeName?t:null},setCurrentHighlightedOption:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.menu.current;if(null!=r&&r in this.forest.nodeMap&&(this.forest.nodeMap[r].isHighlighted=!1),this.menu.current=e.id,e.isHighlighted=!0,this.menu.isOpen&&n){var i=function(){var n=t.getMenu(),r=n.querySelector('.vue-treeselect__option[data-id="'.concat(e.id,'"]'));r&&R(n,r)};this.getMenu()?i():this.$nextTick(i)}},resetHighlightedOptionWhenNecessary:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.menu.current;!e&&null!=t&&t in this.forest.nodeMap&&this.shouldShowOptionInMenu(this.getNode(t))||this.highlightFirstOption()},highlightFirstOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds[0];this.setCurrentHighlightedOption(this.getNode(e))}},highlightPrevOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds.indexOf(this.menu.current)-1;if(-1===e)return this.highlightLastOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[e]))}},highlightNextOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds.indexOf(this.menu.current)+1;if(e===this.visibleOptionIds.length)return this.highlightFirstOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[e]))}},highlightLastOption:function(){if(this.hasVisibleOptions){var e=B()(this.visibleOptionIds);this.setCurrentHighlightedOption(this.getNode(e))}},resetSearchQuery:function(){this.trigger.searchQuery=""},closeMenu:function(){!this.menu.isOpen||!this.disabled&&this.alwaysOpen||(this.saveMenuScrollPosition(),this.menu.isOpen=!1,this.toggleClickOutsideEvent(!1),this.resetSearchQuery(),this.$emit("close",this.getValue(),this.getInstanceId()))},openMenu:function(){this.disabled||this.menu.isOpen||(this.menu.isOpen=!0,this.$nextTick(this.resetHighlightedOptionWhenNecessary),this.$nextTick(this.restoreMenuScrollPosition),this.options||this.async||this.loadRootOptions(),this.toggleClickOutsideEvent(!0),this.$emit("open",this.getInstanceId()))},toggleMenu:function(){this.menu.isOpen?this.closeMenu():this.openMenu()},toggleExpanded:function(e){var t;this.localSearch.active?(t=e.isExpandedOnSearch=!e.isExpandedOnSearch,t&&(e.showAllChildrenOnSearch=!0)):t=e.isExpanded=!e.isExpanded,t&&!e.childrenStates.isLoaded&&this.loadChildrenOptions(e)},buildForestState:function(){var e=this,t=C();this.forest.selectedNodeIds.forEach((function(e){t[e]=!0})),this.forest.selectedNodeMap=t;var n=C();this.multiple&&(this.traverseAllNodesByIndex((function(e){n[e.id]=H})),this.selectedNodes.forEach((function(t){n[t.id]=Q,e.flat||e.disableBranchNodes||t.ancestors.forEach((function(t){e.isSelected(t)||(n[t.id]=U)}))}))),this.forest.checkedStateMap=n},enhancedNormalizer:function(e){return y(y({},e),this.normalizer(e,this.getInstanceId()))},normalize:function(e,t,n){var r=this,i=t.map((function(e){return[r.enhancedNormalizer(e),e]})).map((function(t,i){var o=f(t,2),a=o[0],s=o[1];r.checkDuplication(a),r.verifyNodeShape(a);var c=a.id,u=a.label,l=a.children,d=a.isDefaultExpanded,p=e===W,v=p?0:e.level+1,b=Array.isArray(l)||null===l,g=!b,m=!!a.isDisabled||!r.flat&&!p&&e.isDisabled,O=!!a.isNew,S=r.matchKeys.reduce((function(e,t){return y(y({},e),{},h({},t,pe(a[t]).toLocaleLowerCase()))}),{}),x=p?S.label:e.nestedSearchLabel+" "+S.label;r.forest.nodeMap[c]=C();var N=r.forest.nodeMap[c];if(N.id=c,N.label=u,N.level=v,N.ancestors=p?[]:[e].concat(e.ancestors),N.index=(p?[]:e.index).concat(i),N.parentNode=e,N.lowerCased=S,N.nestedSearchLabel=x,N.isDisabled=m,N.isNew=O,N.isMatched=!1,N.isHighlighted=!1,N.isBranch=b,N.isLeaf=g,N.isRootNode=p,N.raw=s,b){var E,w=Array.isArray(l);N.childrenStates=y(y({},he()),{},{isLoaded:w}),N.isExpanded="boolean"===typeof d?d:v=0&&i.top<=a||i.top<0&&i.bottom>0,l=c>o+le,d=s>o+le;u?"auto"!==e.openDirection?e.menu.placement=Et[e.openDirection]:e.menu.placement=l||!d?"bottom":"top":e.closeMenu()}},setupMenuSizeWatcher:function(){var e=this.instance,t=e.getMenu();this.menuSizeWatcher||(this.menuSizeWatcher={remove:ut(t,this.adjustMenuOpenDirection)})},setupMenuResizeAndScrollEventListeners:function(){var e=this.instance,t=e.getControl();this.menuResizeAndScrollEventListeners||(this.menuResizeAndScrollEventListeners={remove:ft(t,this.adjustMenuOpenDirection)})},removeMenuSizeWatcher:function(){this.menuSizeWatcher&&(this.menuSizeWatcher.remove(),this.menuSizeWatcher=null)},removeMenuResizeAndScrollEventListeners:function(){this.menuResizeAndScrollEventListeners&&(this.menuResizeAndScrollEventListeners.remove(),this.menuResizeAndScrollEventListeners=null)}},render:function(){var e;return Object(o["createVNode"])("div",{ref:"menu-container",class:"vue-treeselect__menu-container",style:this.menuContainerStyle},[Object(o["createVNode"])(Object(o["resolveComponent"])("transition"),{name:"vue-treeselect__menu--transition"},xt(e=this.renderMenu())?e:{default:function(){return[e]}})])}},jt=wt,_t={name:"vue-treeselect--portal-target",inject:["instance"],watch:{"instance.menu.isOpen":function(e){e?this.setupHandlers():this.removeHandlers()},"instance.menu.placement":function(){this.updateMenuContainerOffset()}},created:function(){this.controlResizeAndScrollEventListeners=null,this.controlSizeWatcher=null},mounted:function(){var e=this.instance;e.menu.isOpen&&this.setupHandlers()},methods:{setupHandlers:function(){this.updateWidth(),this.updateMenuContainerOffset(),this.setupControlResizeAndScrollEventListeners(),this.setupControlSizeWatcher()},removeHandlers:function(){this.removeControlResizeAndScrollEventListeners(),this.removeControlSizeWatcher()},setupControlResizeAndScrollEventListeners:function(){var e=this.instance,t=e.getControl();this.controlResizeAndScrollEventListeners||(this.controlResizeAndScrollEventListeners={remove:ft(t,this.updateMenuContainerOffset)})},setupControlSizeWatcher:function(){var e=this,t=this.instance,n=t.getControl();this.controlSizeWatcher||(this.controlSizeWatcher={remove:ut(n,(function(){e.updateWidth(),e.updateMenuContainerOffset()}))})},removeControlResizeAndScrollEventListeners:function(){this.controlResizeAndScrollEventListeners&&(this.controlResizeAndScrollEventListeners.remove(),this.controlResizeAndScrollEventListeners=null)},removeControlSizeWatcher:function(){this.controlSizeWatcher&&(this.controlSizeWatcher.remove(),this.controlSizeWatcher=null)},updateWidth:function(){var e=this.instance,t=this.$el,n=e.getControl(),r=n.getBoundingClientRect();t.style.width=r.width+"px"},updateMenuContainerOffset:function(){var e=this.instance,t=e.getControl(),n=this.$el,r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),o="bottom"===e.menu.placement?r.height:0,a=Math.round(r.left-i.left)+"px",s=Math.round(r.top-i.top+o)+"px",c=this.$refs.menu.$refs["menu-container"].style,u=["transform","webkitTransform","MozTransform","msTransform"],l=I(u,(function(e){return e in document.body.style}));c[l]="translate(".concat(a,", ").concat(s,")")}},render:function(){var e=this.instance,t=["vue-treeselect__portal-target",e.wrapperClass],n={zIndex:e.zIndex};return Object(o["createVNode"])("div",{class:t,style:n,"data-instance-id":e.getInstanceId()},[Object(o["createVNode"])(jt,{ref:"menu"},null)])},unmounted:function(){this.removeHandlers()}},Ct={name:"vue-treeselect--menu-portal",created:function(){this.portalTarget=null},mounted:function(){this.setup()},unmounted:function(){this.teardown()},methods:{setup:function(){var e=document.createElement("div");document.body.appendChild(e),this.portalTarget=Object(o["createApp"])(y({parent:this},_t)),this.portalTarget.mount(e)},teardown:function(){document.body.removeChild(this.portalTarget.$el),this.portalTarget.$el.innerHTML="",this.portalTarget.$destroy(),this.portalTarget=null}},render:function(){return Nt||(Nt=Object(o["createVNode"])("div",{class:"vue-treeselect__menu-placeholder"},null)),Nt}},Lt=Ct,Mt=Object(o["defineComponent"])({name:"vue-treeselect",mixins:[me],components:{HiddenFields:Se,Control:et,Menu:jt,MenuPortal:Lt},computed:{wrapperClass:function(){return{"vue-treeselect":!0,"vue-treeselect--single":this.single,"vue-treeselect--multi":this.multiple,"vue-treeselect--searchable":this.searchable,"vue-treeselect--disabled":this.disabled,"vue-treeselect--focused":this.trigger.isFocused,"vue-treeselect--has-value":this.hasValue,"vue-treeselect--open":this.menu.isOpen,"vue-treeselect--open-above":"top"===this.menu.placement,"vue-treeselect--open-below":"bottom"===this.menu.placement,"vue-treeselect--branch-nodes-disabled":this.disableBranchNodes,"vue-treeselect--append-to-body":this.appendToBody}}}});Mt.render=a;var At=Mt,Tt=(n("d15f"),At);t["default"]=Tt},fb6a:function(e,t,n){"use strict";var r=n("23e7"),i=n("861d"),o=n("e8b5"),a=n("23cb"),s=n("50c4"),c=n("fc6a"),u=n("8418"),l=n("b622"),d=n("1dde"),f=n("ae40"),h=d("slice"),p=f("slice",{ACCESSORS:!0,0:0,1:2}),v=l("species"),b=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!h||!p},{slice:function(e,t){var n,r,l,d=c(this),f=s(d.length),h=a(e,f),p=a(void 0===t?f:t,f);if(o(d)&&(n=d.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?i(n)&&(n=n[v],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return b.call(d,h,p);for(r=new(void 0===n?Array:n)(g(p-h,0)),l=0;h]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,f){var h=n+e.length,p=r.length,v=l;return void 0!==d&&(d=i(d),v=u),a(f,v,(function(i,a){var u;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,h);case"<":u=d[c(a,1,-1)];break;default:var l=+a;if(0===l)return i;if(l>p){var f=o(l/10);return 0===f?i:f<=p?void 0===r[f-1]?s(a,1):r[f-1]+s(a,1):i}u=r[l-1]}return void 0===u?"":u}))}},"0cfb":function(e,t,n){"use strict";var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(e,t,n){"use strict";var r=String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},"107c":function(e,t,n){"use strict";var r=n("d039"),i=n("da84"),o=i.RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},1310:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},"13d2":function(e,t,n){"use strict";var r=n("e330"),i=n("d039"),o=n("1626"),s=n("1a2d"),a=n("83ab"),c=n("5e77").CONFIGURABLE,u=n("8925"),l=n("69f3"),d=l.enforce,f=l.get,h=String,p=Object.defineProperty,v=r("".slice),b=r("".replace),g=r([].join),m=a&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),O=e.exports=function(e,t,n){"Symbol("===v(h(t),0,7)&&(t="["+b(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),m&&n&&s(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=d(e);return s(r,"source")||(r.source=g(y,"string"==typeof t?t:"")),e};Function.prototype.toString=O((function(){return o(this)&&f(this).source||u(this)}),"toString")},"13d5":function(e,t,n){"use strict";var r=n("23e7"),i=n("d58f").left,o=n("a640"),s=n("2d00"),a=n("605d"),c=!a&&s>79&&s<83,u=c||!o("reduce");r({target:"Array",proto:!0,forced:u},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},"14c3":function(e,t,n){"use strict";var r=n("c65b"),i=n("825a"),o=n("1626"),s=n("c6b6"),a=n("9263"),c=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var u=r(n,e,t);return null!==u&&i(u),u}if("RegExp"===s(e))return r(a,e,t);throw new c("RegExp#exec called on incompatible receiver")}},"14d9":function(e,t,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),s=n("3a34"),a=n("3511"),c=n("d039"),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=u||!l();r({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=i(this),n=o(t),r=arguments.length;a(n+r);for(var c=0;c1?arguments[1]:void 0)}},"1a2d":function(e,t,n){"use strict";var r=n("e330"),i=n("7b0b"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},"1a8c":function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},"1be4":function(e,t,n){"use strict";var r=n("d066");e.exports=r("document","documentElement")},"1d80":function(e,t,n){"use strict";var r=n("7234"),i=TypeError;e.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},"1d92":function(e,t,n){var r=n("e0ef");function i(e){return r(2,e)}e.exports=i},"1dde":function(e,t,n){"use strict";var r=n("d039"),i=n("b622"),o=n("2d00"),s=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[],n=t.constructor={};return n[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"23cb":function(e,t,n){"use strict";var r=n("5926"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){"use strict";var r=n("da84"),i=n("06cf").f,o=n("9112"),s=n("cb2d"),a=n("6374"),c=n("e893"),u=n("94ca");e.exports=function(e,t){var n,l,d,f,h,p,v=e.target,b=e.global,g=e.stat;if(l=b?r:g?r[v]||a(v,{}):r[v]&&r[v].prototype,l)for(d in t){if(h=t[d],e.dontCallGetSet?(p=i(l,d),f=p&&p.value):f=l[d],n=u(b?d:v+(g?".":"#")+d,e.forced),!n&&void 0!==f){if(typeof h==typeof f)continue;c(h,f)}(e.sham||f&&f.sham)&&o(h,"sham",!0),s(l,d,h,e)}}},"241c":function(e,t,n){"use strict";var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"25f0":function(e,t,n){"use strict";var r=n("5e77").PROPER,i=n("cb2d"),o=n("825a"),s=n("577e"),a=n("d039"),c=n("90d8"),u="toString",l=RegExp.prototype,d=l[u],f=a((function(){return"/a/b"!==d.call({source:"a",flags:"b"})})),h=r&&d.name!==u;(f||h)&&i(l,u,(function(){var e=o(this),t=s(e.source),n=s(c(e));return"/"+t+"/"+n}),{unsafe:!0})},2655:function(e,t){function n(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}e.exports=n,e.exports.default=n},"29f3":function(e,t){var n=Object.prototype,r=n.toString;function i(e){return r.call(e)}e.exports=i},"2b3e":function(e,t,n){var r=n("585a"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},"2ba4":function(e,t,n){"use strict";var r=n("40d5"),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(o):function(){return s.apply(o,arguments)})},"2d00":function(e,t,n){"use strict";var r,i,o=n("da84"),s=n("342f"),a=o.process,c=o.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),e.exports=i},"2e39":function(e,t,n){"use strict";function r(e,t){var n=t.length,r=e.length;if(r>n)return!1;if(r===n)return e===t;e:for(var i=0,o=0;ii)throw r("Maximum allowed index exceeded");return e}},3729:function(e,t,n){var r=n("9e69"),i=n("00fd"),o=n("29f3"),s="[object Null]",a="[object Undefined]",c=r?r.toStringTag:void 0;function u(e){return null==e?void 0===e?a:s:c&&c in Object(e)?i(e):o(e)}e.exports=u},"37e8":function(e,t,n){"use strict";var r=n("83ab"),i=n("aed9"),o=n("9bf2"),s=n("825a"),a=n("fc6a"),c=n("df75");t.f=r&&!i?Object.defineProperties:function(e,t){s(e);var n,r=a(t),i=c(t),u=i.length,l=0;while(u>l)o.f(e,n=i[l++],r[n]);return e}},"3a34":function(e,t,n){"use strict";var r=n("83ab"),i=n("e8b5"),o=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!s(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"3a9b":function(e,t,n){"use strict";var r=n("e330");e.exports=r({}.isPrototypeOf)},"3bbe":function(e,t,n){"use strict";var r=n("1787"),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},4069:function(e,t,n){"use strict";var r=n("44d2");r("flat")},"408a":function(e,t,n){"use strict";var r=n("e330");e.exports=r(1..valueOf)},"408c":function(e,t,n){var r=n("2b3e"),i=function(){return r.Date.now()};e.exports=i},"40d5":function(e,t,n){"use strict";var r=n("d039");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4160:function(e,t,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},"428f":function(e,t,n){"use strict";var r=n("da84");e.exports=r},4416:function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},"44ad":function(e,t,n){"use strict";var r=n("e330"),i=n("d039"),o=n("c6b6"),s=Object,a=r("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?a(e,""):s(e)}:s},"44d2":function(e,t,n){"use strict";var r=n("b622"),i=n("7c73"),o=n("9bf2").f,s=r("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},"45fc":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").some,o=n("a640"),s=o("some");r({target:"Array",proto:!0,forced:!s},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},4625:function(e,t,n){"use strict";var r=n("c6b6"),i=n("e330");e.exports=function(e){if("Function"===r(e))return i(e)}},"485a":function(e,t,n){"use strict";var r=n("c65b"),i=n("1626"),o=n("861d"),s=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!o(a=r(n,e)))return a;if(i(n=e.valueOf)&&!o(a=r(n,e)))return a;if("string"!==t&&i(n=e.toString)&&!o(a=r(n,e)))return a;throw new s("Can't convert object to primitive value")}},"498a":function(e,t,n){"use strict";var r=n("23e7"),i=n("58a8").trim,o=n("c8d2");r({target:"String",proto:!0,forced:o("trim")},{trim:function(){return i(this)}})},"4b17":function(e,t,n){var r=n("6428");function i(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}e.exports=i},"4cef":function(e,t){var n=/\s/;function r(e){var t=e.length;while(t--&&n.test(e.charAt(t)));return t}e.exports=r},"4d64":function(e,t,n){"use strict";var r=n("fc6a"),i=n("23cb"),o=n("07fa"),s=function(e){return function(t,n,s){var a=r(t),c=o(a);if(0===c)return!e&&-1;var u,l=i(s,c);if(e&&n!==n){while(c>l)if(u=a[l++],u!==u)return!0}else for(;c>l;l++)if((e||l in a)&&a[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").filter,o=n("1dde"),s=o("filter");r({target:"Array",proto:!0,forced:!s},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4e82":function(e,t,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("59ed"),s=n("7b0b"),a=n("07fa"),c=n("083a"),u=n("577e"),l=n("d039"),d=n("addb"),f=n("a640"),h=n("04d1"),p=n("d998"),v=n("2d00"),b=n("512c"),g=[],m=i(g.sort),y=i(g.push),O=l((function(){g.sort(void 0)})),S=l((function(){g.sort(null)})),x=f("sort"),N=!l((function(){if(v)return v<70;if(!(h&&h>3)){if(p)return!0;if(b)return b<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)g.push({k:t+r,v:n})}for(g.sort((function(e,t){return t.v-e.v})),r=0;ru(n)?1:-1}};r({target:"Array",proto:!0,forced:w},{sort:function(e){void 0!==e&&o(e);var t=s(this);if(N)return void 0===e?m(t):m(t,e);var n,r,i=[],u=a(t);for(r=0;r0?i(t,9007199254740991):0}},"512c":function(e,t,n){"use strict";var r=n("342f"),i=r.match(/AppleWebKit\/(\d+)\./);e.exports=!!i&&+i[1]},5319:function(e,t,n){"use strict";var r=n("2ba4"),i=n("c65b"),o=n("e330"),s=n("d784"),a=n("d039"),c=n("825a"),u=n("1626"),l=n("7234"),d=n("5926"),f=n("50c4"),h=n("577e"),p=n("1d80"),v=n("8aa5"),b=n("dc4a"),g=n("0cb2"),m=n("14c3"),y=n("b622"),O=y("replace"),S=Math.max,x=Math.min,N=o([].concat),w=o([].push),E=o("".indexOf),j=o("".slice),_=function(e){return void 0===e?e:String(e)},C=function(){return"$0"==="a".replace(/./,"$0")}(),M=function(){return!!/./[O]&&""===/./[O]("a","$0")}(),L=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}));s("replace",(function(e,t,n){var o=M?"$":"$0";return[function(e,n){var r=p(this),o=l(e)?void 0:b(e,O);return o?i(o,e,r,n):i(t,h(r),e,n)},function(e,i){var s=c(this),a=h(e);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var l=n(t,s,a,i);if(l.done)return l.value}var p=u(i);p||(i=h(i));var b,y=s.global;y&&(b=s.unicode,s.lastIndex=0);var O,C=[];while(1){if(O=m(s,a),null===O)break;if(w(C,O),!y)break;var M=h(O[0]);""===M&&(s.lastIndex=v(a,f(s.lastIndex),b))}for(var L="",I=0,A=0;A=I&&(L+=j(a,I,D)+T,I=D+V.length)}return L+j(a,I)}]}),!L||!C||M)},5692:function(e,t,n){"use strict";var r=n("c6cd");e.exports=function(e,t){return r[e]||(r[e]=t||{})}},"56ef":function(e,t,n){"use strict";var r=n("d066"),i=n("e330"),o=n("241c"),s=n("7418"),a=n("825a"),c=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=s.f;return n?c(t,n(e)):t}},"577e":function(e,t,n){"use strict";var r=n("f5df"),i=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},"585a":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("c8ba"))},5899:function(e,t,n){"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,n){"use strict";var r=n("e330"),i=n("1d80"),o=n("577e"),s=n("5899"),a=r("".replace),c=RegExp("^["+s+"]+"),u=RegExp("(^|[^"+s+"])["+s+"]+$"),l=function(e){return function(t){var n=o(i(t));return 1&e&&(n=a(n,c,"")),2&e&&(n=a(n,u,"$1")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},5926:function(e,t,n){"use strict";var r=n("b42e");e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},"59ed":function(e,t,n){"use strict";var r=n("1626"),i=n("0d51"),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a function")}},"5c6c":function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5e77":function(e,t,n){"use strict";var r=n("83ab"),i=n("1a2d"),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},"605d":function(e,t,n){"use strict";var r=n("da84"),i=n("c6b6");e.exports="process"===i(r.process)},6374:function(e,t,n){"use strict";var r=n("da84"),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6428:function(e,t,n){var r=n("b4b0"),i=1/0,o=17976931348623157e292;function s(e){if(!e)return 0===e?e:0;if(e=r(e),e===i||e===-i){var t=e<0?-1:1;return t*o}return e===e?e:0}e.exports=s},6547:function(e,t,n){"use strict";var r=n("e330"),i=n("5926"),o=n("577e"),s=n("1d80"),a=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,d=o(s(t)),f=i(n),h=d.length;return f<0||f>=h?e?"":void 0:(r=c(d,f),r<55296||r>56319||f+1===h||(l=c(d,f+1))<56320||l>57343?e?a(d,f):r:e?u(d,f,f+2):l-56320+(r-55296<<10)+65536)}};e.exports={codeAt:l(!1),charAt:l(!0)}},"65f0":function(e,t,n){"use strict";var r=n("0b42");e.exports=function(e,t){return new(r(e))(0===t?0:t)}},"68ee":function(e,t,n){"use strict";var r=n("e330"),i=n("d039"),o=n("1626"),s=n("f5df"),a=n("d066"),c=n("8925"),u=function(){},l=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),h=!d.test(u),p=function(e){if(!o(e))return!1;try{return l(u,[],e),!0}catch(t){return!1}},v=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(d,c(e))}catch(t){return!0}};v.sham=!0,e.exports=!l||i((function(){var e;return p(p.call)||!p(Object)||!p((function(){e=!0}))||e}))?v:p},"69f3":function(e,t,n){"use strict";var r,i,o,s=n("cdce"),a=n("da84"),c=n("861d"),u=n("9112"),l=n("1a2d"),d=n("c6cd"),f=n("f772"),h=n("d012"),p="Object already initialized",v=a.TypeError,b=a.WeakMap,g=function(e){return o(e)?i(e):r(e,{})},m=function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw new v("Incompatible receiver, "+e+" required");return n}};if(s||d.state){var y=d.state||(d.state=new b);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new v(p);return t.facade=e,y.set(e,t),t},i=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var O=f("state");h[O]=!0,r=function(e,t){if(l(e,O))throw new v(p);return t.facade=e,u(e,O,t),t},i=function(e){return l(e,O)?e[O]:{}},o=function(e){return l(e,O)}}e.exports={set:r,get:i,has:o,enforce:g,getterFor:m}},"6b0d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n}},7156:function(e,t,n){"use strict";var r=n("1626"),i=n("861d"),o=n("d2bb");e.exports=function(e,t,n){var s,a;return o&&r(s=t.constructor)&&s!==n&&i(a=s.prototype)&&a!==n.prototype&&o(e,a),e}},7234:function(e,t,n){"use strict";e.exports=function(e){return null===e||void 0===e}},7282:function(e,t,n){"use strict";var r=n("e330"),i=n("59ed");e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(o){}}},"72f0":function(e,t){function n(e){return function(){return e}}e.exports=n},7418:function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols},7839:function(e,t,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(e,t,n){"use strict";var r=n("cc12"),i=r("span").classList,o=i&&i.constructor&&i.constructor.prototype;e.exports=o===Object.prototype?void 0:o},"7b0b":function(e,t,n){"use strict";var r=n("1d80"),i=Object;e.exports=function(e){return i(r(e))}},"7c73":function(e,t,n){"use strict";var r,i=n("825a"),o=n("37e8"),s=n("7839"),a=n("d012"),c=n("1be4"),u=n("cc12"),l=n("f772"),d=">",f="<",h="prototype",p="script",v=l("IE_PROTO"),b=function(){},g=function(e){return f+p+d+e+f+"/"+p+d},m=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=u("iframe"),n="java"+p+":";return t.style.display="none",c.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},O=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}O="undefined"!=typeof document?document.domain&&r?m(r):y():m(r);var e=s.length;while(e--)delete O[h][s[e]];return O()};a[v]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(b[h]=i(e),n=new b,b[h]=null,n[v]=e):n=O(),void 0===t?n:o.f(n,t)}},"825a":function(e,t,n){"use strict";var r=n("861d"),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not an object")}},"83ab":function(e,t,n){"use strict";var r=n("d039");e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var r=n("83ab"),i=n("9bf2"),o=n("5c6c");e.exports=function(e,t,n){r?i.f(e,t,o(0,n)):e[t]=n}},"861d":function(e,t,n){"use strict";var r=n("1626");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},8925:function(e,t,n){"use strict";var r=n("e330"),i=n("1626"),o=n("c6cd"),s=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8bbf":function(t,n){t.exports=e},"8d74":function(e,t,n){var r=n("4cef"),i=/^\s+/;function o(e){return e?e.slice(0,r(e)+1).replace(i,""):e}e.exports=o},"90d8":function(e,t,n){"use strict";var r=n("c65b"),i=n("1a2d"),o=n("3a9b"),s=n("ad6d"),a=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in a||i(e,"flags")||!o(a,e)?t:r(s,e)}},"90e3":function(e,t,n){"use strict";var r=n("e330"),i=0,o=Math.random(),s=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},9112:function(e,t,n){"use strict";var r=n("83ab"),i=n("9bf2"),o=n("5c6c");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("c65b"),i=n("e330"),o=n("577e"),s=n("ad6d"),a=n("9f7f"),c=n("5692"),u=n("7c73"),l=n("69f3").get,d=n("fce3"),f=n("107c"),h=c("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,v=p,b=i("".charAt),g=i("".indexOf),m=i("".replace),y=i("".slice),O=function(){var e=/a/,t=/b*/g;return r(p,e,"a"),r(p,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),S=a.BROKEN_CARET,x=void 0!==/()??/.exec("")[1],N=O||x||S||d||f;N&&(v=function(e){var t,n,i,a,c,d,f,N=this,w=l(N),E=o(e),j=w.raw;if(j)return j.lastIndex=N.lastIndex,t=r(v,j,E),N.lastIndex=j.lastIndex,t;var _=w.groups,C=S&&N.sticky,M=r(s,N),L=N.source,I=0,A=E;if(C&&(M=m(M,"y",""),-1===g(M,"g")&&(M+="g"),A=y(E,N.lastIndex),N.lastIndex>0&&(!N.multiline||N.multiline&&"\n"!==b(E,N.lastIndex-1))&&(L="(?: "+L+")",A=" "+A,I++),n=new RegExp("^(?:"+L+")",M)),x&&(n=new RegExp("^"+L+"$(?!\\s)",M)),O&&(i=N.lastIndex),a=r(p,C?n:N,A),C?a?(a.input=y(a.input,I),a[0]=y(a[0],I),a.index=N.lastIndex,N.lastIndex+=a[0].length):N.lastIndex=0:O&&a&&(N.lastIndex=N.global?a.index+a[0].length:i),x&&a&&a.length>1&&r(h,a[0],n,(function(){for(c=1;c=51||!i((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),g=function(e){if(!s(e))return!1;var t=e[v];return void 0!==t?!!t:o(e)},m=!b||!f("concat");r({target:"Array",proto:!0,arity:1,forced:m},{concat:function(e){var t,n,r,i,o,s=a(this),f=d(s,0),h=0;for(t=-1,r=arguments.length;t0&&r(h)?(p=i(h),v=a(e,t,h,p,v,l-1)-1):(o(v+1),e[v]=h),v++),b++;return v};e.exports=a},a434:function(e,t,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("23cb"),s=n("5926"),a=n("07fa"),c=n("3a34"),u=n("3511"),l=n("65f0"),d=n("8418"),f=n("083a"),h=n("1dde"),p=h("splice"),v=Math.max,b=Math.min;r({target:"Array",proto:!0,forced:!p},{splice:function(e,t){var n,r,h,p,g,m,y=i(this),O=a(y),S=o(e,O),x=arguments.length;for(0===x?n=r=0:1===x?(n=0,r=O-S):(n=x-2,r=b(v(s(t),0),O-S)),u(O+n-r),h=l(y,r),p=0;pO-r+n;p--)f(y,p-1)}else if(n>r)for(p=O-r;p>S;p--)g=p+r-1,m=p+n-1,g in y?y[m]=y[g]:f(y,m);for(p=0;p1?arguments[1]:void 0)}})},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},a9e3:function(e,t,n){"use strict";var r=n("23e7"),i=n("c430"),o=n("83ab"),s=n("da84"),a=n("428f"),c=n("e330"),u=n("94ca"),l=n("1a2d"),d=n("7156"),f=n("3a9b"),h=n("d9b5"),p=n("c04e"),v=n("d039"),b=n("241c").f,g=n("06cf").f,m=n("9bf2").f,y=n("408a"),O=n("58a8").trim,S="Number",x=s[S],N=a[S],w=x.prototype,E=s.TypeError,j=c("".slice),_=c("".charCodeAt),C=function(e){var t=p(e,"number");return"bigint"==typeof t?t:M(t)},M=function(e){var t,n,r,i,o,s,a,c,u=p(e,"number");if(h(u))throw new E("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=O(u),t=_(u,0),43===t||45===t){if(n=_(u,2),88===n||120===n)return NaN}else if(48===t){switch(_(u,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(o=j(u,2),s=o.length,a=0;ai)return NaN;return parseInt(o,r)}return+u},L=u(S,!x(" 0o1")||!x("0b1")||x("+0x1")),I=function(e){return f(w,e)&&v((function(){y(e)}))},A=function(e){var t=arguments.length<1?0:x(C(e));return I(this)?d(Object(t),this,A):t};A.prototype=w,L&&!i&&(w.constructor=A),r({global:!0,constructor:!0,wrap:!0,forced:L},{Number:A});var T=function(e,t){for(var n,r=o?b(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)l(t,n=r[i])&&!l(e,n)&&m(e,n,g(t,n))};i&&N&&T(a[S],N),(L||i)&&T(a[S],x)},aa1f:function(e,t,n){"use strict";var r=n("83ab"),i=n("d039"),o=n("825a"),s=n("e391"),a=Error.prototype.toString,c=i((function(){if(r){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==a.call(e))return!0}return"2: 1"!==a.call({message:1,name:2})||"Error"!==a.call({})}));e.exports=c?function(){var e=o(this),t=s(e.name,"Error"),n=s(e.message);return t?n?t+": "+n:t:n}:a},ac1f:function(e,t,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},addb:function(e,t,n){"use strict";var r=n("f36a"),i=Math.floor,o=function(e,t){var n=e.length;if(n<8){var s,a,c=1;while(c0)e[a]=e[--a];a!==c++&&(e[a]=s)}}else{var u=i(n/2),l=o(r(e,0,u),t),d=o(r(e,u),t),f=l.length,h=d.length,p=0,v=0;while(p=t||n<0||g&&r>=d}function N(){var e=i();if(x(e))return w(e);h=setTimeout(N,S(e))}function w(e){return h=void 0,m&&u?y(e):(u=l=void 0,f)}function E(){void 0!==h&&clearTimeout(h),v=0,u=p=l=h=void 0}function j(){return void 0===h?f:w(i())}function _(){var e=i(),n=x(e);if(u=arguments,l=this,p=e,n){if(void 0===h)return O(p);if(g)return clearTimeout(h),h=setTimeout(N,t),y(p)}return void 0===h&&(h=setTimeout(N,t)),f}return t=o(t)||0,r(n)&&(b=!!n.leading,g="maxWait"in n,d=g?a(o(n.maxWait)||0,t):d,m="trailing"in n?!!n.trailing:m),_.cancel=E,_.flush=j,_}e.exports=u},b42e:function(e,t,n){"use strict";var r=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?i:r)(t)}},b4b0:function(e,t,n){var r=n("8d74"),i=n("1a8c"),o=n("ffd6"),s=NaN,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;function d(e){if("number"==typeof e)return e;if(o(e))return s;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?s:+e}e.exports=d},b622:function(e,t,n){"use strict";var r=n("da84"),i=n("5692"),o=n("1a2d"),s=n("90e3"),a=n("04f8"),c=n("fdbf"),u=r.Symbol,l=i("wks"),d=c?u["for"]||u:u&&u.withoutSetter||s;e.exports=function(e){return o(l,e)||(l[e]=a&&o(u,e)?u[e]:d("Symbol."+e)),l[e]}},b64b:function(e,t,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("df75"),s=n("d039"),a=s((function(){o(1)}));r({target:"Object",stat:!0,forced:a},{keys:function(e){return o(i(e))}})},b727:function(e,t,n){"use strict";var r=n("0366"),i=n("e330"),o=n("44ad"),s=n("7b0b"),a=n("07fa"),c=n("65f0"),u=i([].push),l=function(e){var t=1===e,n=2===e,i=3===e,l=4===e,d=6===e,f=7===e,h=5===e||d;return function(p,v,b,g){for(var m,y,O=s(p),S=o(O),x=a(S),N=r(v,b),w=0,E=g||c,j=t?E(p,x):n||f?E(p,0):void 0;x>w;w++)if((h||w in S)&&(m=S[w],y=N(m,w,O),e))if(t)j[w]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:u(j,m)}else switch(e){case 4:return!1;case 7:u(j,m)}return d?-1:i||l?l:j}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},bcdf:function(e,t){function n(){}e.exports=n},c04e:function(e,t,n){"use strict";var r=n("c65b"),i=n("861d"),o=n("d9b5"),s=n("dc4a"),a=n("485a"),c=n("b622"),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,c=s(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!i(n)||o(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},c430:function(e,t,n){"use strict";e.exports=!1},c65b:function(e,t,n){"use strict";var r=n("40d5"),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},c6b6:function(e,t,n){"use strict";var r=n("e330"),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},c6cd:function(e,t,n){"use strict";var r=n("c430"),i=n("da84"),o=n("6374"),s="__core-js_shared__",a=e.exports=i[s]||o(s,{});(a.versions||(a.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c8d2:function(e,t,n){"use strict";var r=n("5e77").PROPER,i=n("d039"),o=n("5899"),s="​…᠎";e.exports=function(e){return i((function(){return!!o[e]()||s[e]()!==s||r&&o[e].name!==e}))}},c975:function(e,t,n){"use strict";var r=n("23e7"),i=n("4625"),o=n("4d64").indexOf,s=n("a640"),a=i([].indexOf),c=!!a&&1/a([1],1,-0)<0,u=c||!s("indexOf");r({target:"Array",proto:!0,forced:u},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return c?a(this,e,t)||0:o(this,e,t)}})},ca84:function(e,t,n){"use strict";var r=n("e330"),i=n("1a2d"),o=n("fc6a"),s=n("4d64").indexOf,a=n("d012"),c=r([].push);e.exports=function(e,t){var n,r=o(e),u=0,l=[];for(n in r)!i(a,n)&&i(r,n)&&c(l,n);while(t.length>u)i(r,n=t[u++])&&(~s(l,n)||c(l,n));return l}},cb2d:function(e,t,n){"use strict";var r=n("1626"),i=n("9bf2"),o=n("13d2"),s=n("6374");e.exports=function(e,t,n,a){a||(a={});var c=a.enumerable,u=void 0!==a.name?a.name:t;if(r(n)&&o(n,u,a),a.global)c?e[t]=n:s(t,n);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(l){}c?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},cc12:function(e,t,n){"use strict";var r=n("da84"),i=n("861d"),o=r.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},cd9d:function(e,t){function n(e){return e}e.exports=n},cdce:function(e,t,n){"use strict";var r=n("da84"),i=n("1626"),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},d012:function(e,t,n){"use strict";e.exports={}},d039:function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){"use strict";var r=n("da84"),i=n("1626"),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},d15f:function(e,t,n){},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},d2bb:function(e,t,n){"use strict";var r=n("7282"),i=n("861d"),o=n("1d80"),s=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=r(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(a){}return function(n,r){return o(n),s(r),i(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},d3b7:function(e,t,n){"use strict";var r=n("00ee"),i=n("cb2d"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d401:function(e,t,n){"use strict";var r=n("cb2d"),i=n("aa1f"),o=Error.prototype;o.toString!==i&&r(o,"toString",i)},d58f:function(e,t,n){"use strict";var r=n("59ed"),i=n("7b0b"),o=n("44ad"),s=n("07fa"),a=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(t,n,u,l){var d=i(t),f=o(d),h=s(d);if(r(n),0===h&&u<2)throw new a(c);var p=e?h-1:0,v=e?-1:1;if(u<2)while(1){if(p in f){l=f[p],p+=v;break}if(p+=v,e?p<0:h<=p)throw new a(c)}for(;e?p>=0:h>p;p+=v)p in f&&(l=n(l,f[p],p,d));return l}};e.exports={left:u(!1),right:u(!0)}},d784:function(e,t,n){"use strict";n("ac1f");var r=n("c65b"),i=n("cb2d"),o=n("9263"),s=n("d039"),a=n("b622"),c=n("9112"),u=a("species"),l=RegExp.prototype;e.exports=function(e,t,n,d){var f=a(e),h=!s((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),p=h&&!s((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!p||n){var v=/./[f],b=t(f,""[e],(function(e,t,n,i,s){var a=t.exec;return a===o||a===l.exec?h&&!s?{done:!0,value:r(v,t,n,i)}:{done:!0,value:r(e,n,t,i)}:{done:!1}}));i(String.prototype,e,b[0]),i(l,f,b[1])}d&&c(l[f],"sham",!0)}},d81d:function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").map,o=n("1dde"),s=o("map");r({target:"Array",proto:!0,forced:!s},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},d998:function(e,t,n){"use strict";var r=n("342f");e.exports=/MSIE|Trident/.test(r)},d9b5:function(e,t,n){"use strict";var r=n("d066"),i=n("1626"),o=n("3a9b"),s=n("fdbf"),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,a(e))}},da84:function(e,t,n){"use strict";(function(t){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dc4a:function(e,t,n){"use strict";var r=n("59ed"),i=n("7234");e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},df75:function(e,t,n){"use strict";var r=n("ca84"),i=n("7839");e.exports=Object.keys||function(e){return r(e,i)}},e0ef:function(e,t,n){var r=n("4b17"),i="Expected a function";function o(e,t){var n;if("function"!=typeof t)throw new TypeError(i);return e=r(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}e.exports=o},e163:function(e,t,n){"use strict";var r=n("1a2d"),i=n("1626"),o=n("7b0b"),s=n("f772"),a=n("e177"),c=s("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=o(e);if(r(t,c))return t[c];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},e177:function(e,t,n){"use strict";var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e267:function(e,t,n){"use strict";var r=n("e330"),i=n("e8b5"),o=n("1626"),s=n("c6b6"),a=n("577e"),c=r([].push);e.exports=function(e){if(o(e))return e;if(i(e)){for(var t=e.length,n=[],r=0;re.length)&&(t=e.length);for(var n=0,r=Array(t);n1?n-1:0),i=1;in.bottom?e.scrollTop=Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight):r.top-i0},single:function(){return!this.multiple},visibleOptionIds:function(){var e=this,t=[];return this.traverseAllNodesByIndex((function(n){if(e.localSearch.active&&!e.shouldOptionBeIncludedInSearchResult(n)||t.push(n.id),n.isBranch&&!e.shouldExpand(n))return!1})),t},hasVisibleOptions:function(){return 0!==this.visibleOptionIds.length},showCountOnSearchComputed:function(){return"boolean"===typeof this.showCountOnSearch?this.showCountOnSearch:this.showCount},hasBranchNodes:function(){return this.forest.normalizedOptions.some((function(e){return e.isBranch}))},shouldFlattenOptions:function(){return this.localSearch.active&&this.flattenSearchResults}},watch:{alwaysOpen:function(e){e?this.openMenu():this.closeMenu()},branchNodesFirst:function(){this.initialize()},disabled:function(e){e&&this.menu.isOpen?this.closeMenu():e||this.menu.isOpen||!this.alwaysOpen||this.openMenu()},flat:function(){this.initialize()},internalValue:function(e,t){var n=A(e,t);n&&this.$emit("update:modelValue",this.getValue(),this.getInstanceId())},matchKeys:function(){this.initialize()},multiple:function(e){e&&this.buildForestState()},options:{handler:function(){this.async||(this.initialize(),this.rootOptionsStates.isLoaded=Array.isArray(this.options))},deep:!0,immediate:!0},"trigger.searchQuery":function(){this.async?this.handleRemoteSearch():this.handleLocalSearch(),this.$emit("search-change",this.trigger.searchQuery,this.getInstanceId())},value:function(){var e=this.extractCheckedNodeIdsFromValue(),t=A(e,this.internalValue);t&&this.fixSelectedNodeIds(e)}},methods:{verifyProps:function(){var e=this;if(D((function(){return!e.async||e.searchable}),(function(){return'For async search mode, the value of "searchable" prop must be true.'})),null!=this.options||this.loadOptions||D((function(){return!1}),(function(){return'Are you meant to dynamically load options? You need to use "loadOptions" prop.'})),this.flat&&D((function(){return e.multiple}),(function(){return'You are using flat mode. But you forgot to add "multiple=true"?'})),!this.flat){var t=["autoSelectAncestors","autoSelectDescendants","autoDeselectAncestors","autoDeselectDescendants"];t.forEach((function(t){D((function(){return!e[t]}),(function(){return'"'.concat(t,'" only applies to flat mode.')}))}))}},resetFlags:function(){this._blurOnSelect=!1},initialize:function(){var e=this.async?this.getRemoteSearchEntry().options:this.options;if(Array.isArray(e)){var t=this.forest.nodeMap;this.forest.nodeMap=I(),this.keepDataOfSelectedNodes(t),this.forest.normalizedOptions=this.normalize(K,e,t),this.fixSelectedNodeIds(this.internalValue)}else this.forest.normalizedOptions=[]},getInstanceId:function(){return null==this.instanceId?this.id:this.instanceId},getValue:function(){var e=this;if("id"===this.valueFormat)return this.multiple?this.internalValue.slice():this.internalValue[0];var t=this.internalValue.map((function(t){return e.getNode(t).raw}));return this.multiple?t:t[0]},getNode:function(e){return D((function(){return null!=e}),(function(){return"Invalid node id: ".concat(e)})),null==e?null:e in this.forest.nodeMap?this.forest.nodeMap[e]:this.createFallbackNode(e)},createFallbackNode:function(e){var t=this.extractNodeFromValue(e),n=this.enhancedNormalizer(t).label||"".concat(e," (unknown)"),r={id:e,label:n,ancestors:[],parentNode:K,isFallbackNode:!0,isRootNode:!0,isLeaf:!0,isBranch:!1,isDisabled:!1,childrenIgnoreDisabled:!1,isNew:!1,index:[-1],level:0,raw:t};return this.forest.nodeMap[e]=r},extractCheckedNodeIdsFromValue:function(){var e=this;return null==this.modelValue?[]:"id"===this.valueFormat?this.multiple?this.modelValue.slice():[this.modelValue]:(this.multiple?this.modelValue:[this.modelValue]).map((function(t){return e.enhancedNormalizer(t)})).map((function(e){return e.id}))},extractNodeFromValue:function(e){var t=this,n={id:e};if("id"===this.valueFormat)return n;var r=this.multiple?Array.isArray(this.modelValue)?this.modelValue:[]:this.modelValue?[this.modelValue]:[],i=R(r,(function(n){return n&&t.enhancedNormalizer(n).id===e}));return i||n},fixSelectedNodeIds:function(e){var t=this,n=[];if(this.single||this.flat||this.disableBranchNodes||this.valueConsistsOf===re)n=e;else if(this.valueConsistsOf===ie)e.forEach((function(e){n.push(e);var r=t.getNode(e);r.isBranch&&t.traverseDescendantsBFS(r,(function(e){n.push(e.id)}))}));else if(this.valueConsistsOf===oe){var r=I(),i=e.slice();while(i.length){var o=i.shift(),s=this.getNode(o);n.push(o),s.isRootNode||(s.parentNode.id in r||(r[s.parentNode.id]=s.parentNode.children.length),0===--r[s.parentNode.id]&&i.push(s.parentNode.id))}}else if(this.valueConsistsOf===se){var a=I(),c=e.filter((function(e){var n=t.getNode(e);return n.isLeaf||0===n.children.length}));while(c.length){var u=c.shift(),l=this.getNode(u);n.push(u),l.isRootNode||(l.parentNode.id in a||(a[l.parentNode.id]=l.parentNode.children.length),0===--a[l.parentNode.id]&&c.push(l.parentNode.id))}}var d=A(this.forest.selectedNodeIds,n);d&&(this.forest.selectedNodeIds=n),this.buildForestState()},keepDataOfSelectedNodes:function(e){var t=this;this.forest.selectedNodeIds.forEach((function(n){if(e[n]){var r=x(x({},e[n]),{},{isFallbackNode:!0});t.forest.nodeMap[n]=r}}))},isSelected:function(e){return!0===this.forest.selectedNodeMap[e.id]},traverseDescendantsBFS:function(e,t){if(e.isBranch){var n=e.children.slice();while(n.length){var r=n[0];r.isBranch&&n.push.apply(n,O(r.children)),t(r),n.shift()}}},traverseDescendantsDFS:function(e,t){var n=this;e.isBranch&&e.children.forEach((function(e){n.traverseDescendantsDFS(e,t),t(e)}))},traverseAllNodesDFS:function(e){var t=this;this.forest.normalizedOptions.forEach((function(n){t.traverseDescendantsDFS(n,e),e(n)}))},traverseAllNodesByIndex:function(e){var t=function t(n){n.children.forEach((function(n){!1!==e(n)&&n.isBranch&&t(n)}))};t({children:this.forest.normalizedOptions})},toggleClickOutsideEvent:function(e){e?document.addEventListener("mousedown",this.handleClickOutside,!1):document.removeEventListener("mousedown",this.handleClickOutside,!1)},getValueContainer:function(){return this.$refs.control.$refs["value-container"]},getInput:function(){return this.getValueContainer().$refs.input},focusInput:function(){this.getInput().focus()},blurInput:function(){this.getInput().blur()},handleMouseDown:B((function(e){if(e.preventDefault(),e.stopPropagation(),!this.disabled){var t=this.getValueContainer().$el.contains(e.target);t&&!this.menu.isOpen&&(this.openOnClick||this.trigger.isFocused)&&this.openMenu(),this._blurOnSelect?this.blurInput():this.focusInput(),this.resetFlags()}})),handleClickOutside:function(e){this.$refs.wrapper&&!this.$refs.wrapper.contains(e.target)&&(this.blurInput(),this.closeMenu())},handleLocalSearch:function(){var e=this,t=this.trigger.searchQuery,n=function(){return e.resetHighlightedOptionWhenNecessary(!0)};if(!t)return this.localSearch.active=!1,n();this.localSearch.active=!0,this.localSearch.noResults=!0,this.traverseAllNodesDFS((function(t){t.isBranch&&(t.isExpandedOnSearch=!1,t.showAllChildrenOnSearch=!1,t.isMatched=!1,t.hasMatchedDescendants=!1,e.localSearch.countMap[t.id]=b(b(b(b({},Y,0),X,0),J,0),Z,0))}));var r=t.trim().toLocaleLowerCase(),i=r.replace(/\s+/g," ").split(" ");this.traverseAllNodesDFS((function(t){e.searchNested&&i.length>1?t.isMatched=i.every((function(e){return me(!1,e,t.nestedSearchLabel)})):t.isMatched=e.matchKeys.some((function(n){return me(!e.disableFuzzyMatching,r,t.lowerCased[n])})),t.isMatched&&(e.localSearch.noResults=!1,t.ancestors.forEach((function(t){return e.localSearch.countMap[t.id][X]++})),t.isLeaf&&t.ancestors.forEach((function(t){return e.localSearch.countMap[t.id][Z]++})),t.parentNode!==K&&(e.localSearch.countMap[t.parentNode.id][Y]+=1,t.isLeaf&&(e.localSearch.countMap[t.parentNode.id][J]+=1))),(t.isMatched||t.isBranch&&t.isExpandedOnSearch)&&t.parentNode!==K&&(t.parentNode.isExpandedOnSearch=!0,t.parentNode.hasMatchedDescendants=!0)})),n()},handleRemoteSearch:function(){var e=this,t=this.trigger.searchQuery,n=this.getRemoteSearchEntry(),r=function(){e.initialize(),e.resetHighlightedOptionWhenNecessary(!0)};if((""===t||this.cacheOptions)&&n.isLoaded)return r();this.callLoadOptionsProp({action:ne,args:{searchQuery:t},isPending:function(){return n.isLoading},start:function(){n.isLoading=!0,n.isLoaded=!1,n.loadingError=""},succeed:function(i){n.isLoaded=!0,n.options=i,e.trigger.searchQuery===t&&r()},fail:function(e){n.loadingError=ye(e)},end:function(){n.isLoading=!1}})},getRemoteSearchEntry:function(){var e=this,t=this.trigger.searchQuery,n=this.remoteSearch[t]||x(x({},be()),{},{options:[]});if(this.$watch((function(){return n.options}),(function(){e.trigger.searchQuery===t&&e.initialize()}),{deep:!0}),""===t){if(Array.isArray(this.defaultOptions))return n.options=this.defaultOptions,n.isLoaded=!0,n;if(!0!==this.defaultOptions)return n.isLoaded=!0,n}return this.remoteSearch[t]||(this.remoteSearch[t]=n),n},shouldExpand:function(e){return this.localSearch.active?e.isExpandedOnSearch:e.isExpanded},shouldOptionBeIncludedInSearchResult:function(e){return!!e.isMatched||(!(!e.isBranch||!e.hasMatchedDescendants||this.flattenSearchResults)||!(e.isRootNode||!e.parentNode.showAllChildrenOnSearch))},shouldShowOptionInMenu:function(e){return!(this.localSearch.active&&!this.shouldOptionBeIncludedInSearchResult(e))},getControl:function(){return this.$refs.control.$el},getMenu:function(){var e=this.appendToBody?this.$refs.portal.portalTarget:this,t=e.$refs.menu.$refs.menu;return t&&"#comment"!==t.nodeName?t:null},setCurrentHighlightedOption:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.menu.current;if(null!=r&&r in this.forest.nodeMap&&(this.forest.nodeMap[r].isHighlighted=!1),this.menu.current=e.id,e.isHighlighted=!0,this.menu.isOpen&&n){var i=function(){var n=t.getMenu(),r=n.querySelector('.vue-treeselect__option[data-id="'.concat(e.id,'"]'));r&&k(n,r)};this.getMenu()?i():this.$nextTick(i)}},resetHighlightedOptionWhenNecessary:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.menu.current;!e&&null!=t&&t in this.forest.nodeMap&&this.shouldShowOptionInMenu(this.getNode(t))||this.highlightFirstOption()},highlightFirstOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds[0];this.setCurrentHighlightedOption(this.getNode(e))}},highlightPrevOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds.indexOf(this.menu.current)-1;if(-1===e)return this.highlightLastOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[e]))}},highlightNextOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds.indexOf(this.menu.current)+1;if(e===this.visibleOptionIds.length)return this.highlightFirstOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[e]))}},highlightLastOption:function(){if(this.hasVisibleOptions){var e=F()(this.visibleOptionIds);this.setCurrentHighlightedOption(this.getNode(e))}},resetSearchQuery:function(){this.trigger.searchQuery=""},closeMenu:function(){!this.menu.isOpen||!this.disabled&&this.alwaysOpen||(this.saveMenuScrollPosition(),this.menu.isOpen=!1,this.toggleClickOutsideEvent(!1),this.resetSearchQuery(),this.$emit("close",this.getValue(),this.getInstanceId()))},openMenu:function(){this.disabled||this.menu.isOpen||(this.menu.isOpen=!0,this.$nextTick(this.resetHighlightedOptionWhenNecessary),this.$nextTick(this.restoreMenuScrollPosition),this.options||this.async||this.loadRootOptions(),this.toggleClickOutsideEvent(!0),this.$emit("open",this.getInstanceId()))},toggleMenu:function(){this.menu.isOpen?this.closeMenu():this.openMenu()},toggleExpanded:function(e){var t;this.localSearch.active?(t=e.isExpandedOnSearch=!e.isExpandedOnSearch,t&&(e.showAllChildrenOnSearch=!0)):t=e.isExpanded=!e.isExpanded,t&&!e.childrenStates.isLoaded&&this.loadChildrenOptions(e)},buildForestState:function(){var e=this,t=I();this.forest.selectedNodeIds.forEach((function(e){t[e]=!0})),this.forest.selectedNodeMap=t;var n=I();this.multiple&&(this.traverseAllNodesByIndex((function(e){n[e.id]=G})),this.selectedNodes.forEach((function(t){n[t.id]=q,e.flat||e.disableBranchNodes||t.ancestors.forEach((function(t){e.isSelected(t)||(n[t.id]=U)}))}))),this.forest.checkedStateMap=n},enhancedNormalizer:function(e){return x(x({},e),this.normalizer(e,this.getInstanceId()))},normalize:function(e,t,n){var r=this,i=t.map((function(e){return[r.enhancedNormalizer(e),e]})).map((function(t,i){var o=f(t,2),s=o[0],a=o[1];r.checkDuplication(s),r.verifyNodeShape(s);var c=s.id,u=s.label,l=s.children,d=s.isDefaultExpanded,h=e===K,p=h?0:e.level+1,v=Array.isArray(l)||null===l,g=!v,m=s.childrenIgnoreDisabled,y=!!s.isDisabled||!r.flat&&!h&&e.isDisabled&&!e.childrenIgnoreDisabled,O=!!s.isNew,S=r.matchKeys.reduce((function(e,t){return x(x({},e),{},b({},t,ge(s[t]).toLocaleLowerCase()))}),{}),N=h?S.label:e.nestedSearchLabel+" "+S.label;r.forest.nodeMap[c]=I();var w=r.forest.nodeMap[c];if(w.id=c,w.label=u,w.level=p,w.ancestors=h?[]:[e].concat(e.ancestors),w.index=(h?[]:e.index).concat(i),w.parentNode=e,w.lowerCased=S,w.nestedSearchLabel=N,w.childrenIgnoreDisabled=m,w.isDisabled=y,w.isNew=O,w.isMatched=!1,w.isHighlighted=!1,w.isBranch=v,w.isLeaf=g,w.isRootNode=h,w.raw=a,v){var E=Array.isArray(l);w.childrenStates=x(x({},be()),{},{isLoaded:E}),w.isExpanded="boolean"===typeof d?d:p=0&&i.top<=s||i.top<0&&i.bottom>0,l=c>o+he,d=a>o+he;u?"auto"!==e.openDirection?e.menu.placement=Bt[e.openDirection]:e.menu.placement=l||!d?"bottom":"top":e.closeMenu()}},setupMenuSizeWatcher:function(){var e=this.instance,t=e.getMenu();this.menuSizeWatcher||(this.menuSizeWatcher={remove:xt(t,this.adjustMenuOpenDirection)})},setupMenuResizeAndScrollEventListeners:function(){var e=this.instance,t=e.getControl();this.menuResizeAndScrollEventListeners||(this.menuResizeAndScrollEventListeners={remove:Et(t,this.adjustMenuOpenDirection)})},removeMenuSizeWatcher:function(){this.menuSizeWatcher&&(this.menuSizeWatcher.remove(),this.menuSizeWatcher=null)},removeMenuResizeAndScrollEventListeners:function(){this.menuResizeAndScrollEventListeners&&(this.menuResizeAndScrollEventListeners.remove(),this.menuResizeAndScrollEventListeners=null)}},render:function(){return Object(o["createVNode"])("div",{ref:"menu-container",class:"vue-treeselect__menu-container",style:this.menuContainerStyle},[Object(o["createVNode"])("div",{name:"vue-treeselect__menu--transition"},[this.renderMenu()])])}};const Pt=kt;var Ft,$t=Pt,zt={name:"vue-treeselect--portal-target",inject:["instance"],watch:{"instance.menu.isOpen":function(e){e?this.setupHandlers():this.removeHandlers()},"instance.menu.placement":function(){this.updateMenuContainerOffset()}},created:function(){this.controlResizeAndScrollEventListeners=null,this.controlSizeWatcher=null},mounted:function(){var e=this.instance;e.menu.isOpen&&this.setupHandlers()},methods:{setupHandlers:function(){this.updateWidth(),this.updateMenuContainerOffset(),this.setupControlResizeAndScrollEventListeners(),this.setupControlSizeWatcher()},removeHandlers:function(){this.removeControlResizeAndScrollEventListeners(),this.removeControlSizeWatcher()},setupControlResizeAndScrollEventListeners:function(){var e=this.instance,t=e.getControl();this.controlResizeAndScrollEventListeners||(this.controlResizeAndScrollEventListeners={remove:Et(t,this.updateMenuContainerOffset)})},setupControlSizeWatcher:function(){var e=this,t=this.instance,n=t.getControl();this.controlSizeWatcher||(this.controlSizeWatcher={remove:xt(n,(function(){e.updateWidth(),e.updateMenuContainerOffset()}))})},removeControlResizeAndScrollEventListeners:function(){this.controlResizeAndScrollEventListeners&&(this.controlResizeAndScrollEventListeners.remove(),this.controlResizeAndScrollEventListeners=null)},removeControlSizeWatcher:function(){this.controlSizeWatcher&&(this.controlSizeWatcher.remove(),this.controlSizeWatcher=null)},updateWidth:function(){var e=this.instance,t=this.$el,n=e.getControl(),r=n.getBoundingClientRect();t.style.width=r.width+"px"},updateMenuContainerOffset:function(){var e=this.instance,t=e.getControl(),n=this.$el,r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),o="bottom"===e.menu.placement?r.height:0,s=Math.round(r.left-i.left)+"px",a=Math.round(r.top-i.top+o)+"px",c=this.$refs.menu.$refs["menu-container"].style,u=["transform","webkitTransform","MozTransform","msTransform"],l=R(u,(function(e){return e in document.body.style}));c[l]="translate(".concat(s,", ").concat(a,")")}},render:function(){var e=this.instance,t=["vue-treeselect__portal-target",e.wrapperClass],n={zIndex:e.zIndex};return Object(o["createVNode"])("div",{class:t,style:n,"data-instance-id":e.getInstanceId()},[Object(o["createVNode"])($t,{ref:"menu"},null)])},unmounted:function(){this.removeHandlers()}},Wt={name:"vue-treeselect--menu-portal",created:function(){this.portalTarget=null},mounted:function(){this.setup()},unmounted:function(){this.teardown()},methods:{setup:function(){var e=document.createElement("div");document.body.appendChild(e),this.portalTarget=Object(o["createApp"])(x({parent:this},zt)),this.portalTarget.mount(e)},teardown:function(){document.body.removeChild(this.portalTarget.$el),this.portalTarget.$el.innerHTML="",this.portalTarget.$destroy(),this.portalTarget=null}},render:function(){return Ft||(Ft=Object(o["createVNode"])("div",{class:"vue-treeselect__menu-placeholder"},null)),Ft}};const Ht=Wt;var Qt=Ht,Kt=Object(o["defineComponent"])({name:"vue-treeselect",mixins:[Se],components:{HiddenFields:Ee,Control:ht,Menu:$t,MenuPortal:Qt},computed:{wrapperClass:function(){return{"vue-treeselect":!0,"vue-treeselect--single":this.single,"vue-treeselect--multi":this.multiple,"vue-treeselect--searchable":this.searchable,"vue-treeselect--disabled":this.disabled,"vue-treeselect--focused":this.trigger.isFocused,"vue-treeselect--has-value":this.hasValue,"vue-treeselect--open":this.menu.isOpen,"vue-treeselect--open-above":"top"===this.menu.placement,"vue-treeselect--open-below":"bottom"===this.menu.placement,"vue-treeselect--branch-nodes-disabled":this.disableBranchNodes,"vue-treeselect--append-to-body":this.appendToBody}}}});const Gt=Ge()(Kt,[["render",s]]);var Ut=Gt,qt=(n("d15f"),Ut);t["default"]=qt},fb6a:function(e,t,n){"use strict";var r=n("23e7"),i=n("e8b5"),o=n("68ee"),s=n("861d"),a=n("23cb"),c=n("07fa"),u=n("fc6a"),l=n("8418"),d=n("b622"),f=n("1dde"),h=n("f36a"),p=f("slice"),v=d("species"),b=Array,g=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,d,f=u(this),p=c(f),m=a(e,p),y=a(void 0===t?p:t,p);if(i(f)&&(n=f.constructor,o(n)&&(n===b||i(n.prototype))?n=void 0:s(n)&&(n=n[v],null===n&&(n=void 0)),n===b||void 0===n))return h(f,m,y);for(r=new(void 0===n?b:n)(g(y-m,0)),d=0;m]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d\\d?)/g;\n\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\n\nvar arrayPush = [].push;\nvar min = Math.min;\nvar MAX_UINT32 = 0xFFFFFFFF;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output.length > lim ? output.slice(0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n}, !SUPPORTS_Y);\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var classof = require('./classof-raw');\nvar regexpExec = require('./regexp-exec');\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n\n if (classof(R) !== 'RegExp') {\n throw TypeError('RegExp#exec called on incompatible receiver');\n }\n\n return regexpExec.call(R, S);\n};\n\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n}\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n} : [].forEach;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var before = require('./before');\n\n/**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\nfunction once(func) {\n return before(2, func);\n}\n\nmodule.exports = once;\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar redefine = require('../internals/redefine');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\nvar flags = require('../internals/regexp-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n redefine(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var p = String(R.source);\n var rf = R.flags;\n var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);\n return '/' + p + '/' + f;\n }, { unsafe: true });\n}\n","module.exports = isPromise;\nmodule.exports.default = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = match[0] + match[1];\n} else if (userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = match[1];\n }\n}\n\nmodule.exports = version && +version;\n","'use strict';\n\nfunction fuzzysearch (needle, haystack) {\n var tlen = haystack.length;\n var qlen = needle.length;\n if (qlen > tlen) {\n return false;\n }\n if (qlen === tlen) {\n return needle === haystack;\n }\n outer: for (var i = 0, j = 0; i < qlen; i++) {\n var nch = needle.charCodeAt(i);\n while (j < tlen) {\n if (haystack.charCodeAt(j++) === nch) {\n continue outer;\n }\n }\n return false;\n }\n return true;\n}\n\nmodule.exports = fuzzysearch;\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // Chrome 38 Symbol has incorrect toString conversion\n // eslint-disable-next-line no-undef\n return !String(Symbol());\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n// Edge 14- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar test = [];\nvar nativeSort = test.sort;\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD;\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? nativeSort.call(toObject(this))\n : nativeSort.call(toObject(this), aFunction(comparefn));\n }\n});\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\nvar max = Math.max;\nvar min = Math.min;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {\n var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;\n var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n return replacer !== undefined\n ? replacer.call(searchValue, O, replaceValue)\n : nativeReplace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n if (\n (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||\n (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)\n ) {\n var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);\n if (res.done) return res.value;\n }\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n results.push(result);\n if (!global) break;\n\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n});\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.8.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","// a string of all valid unicode whitespaces\n// eslint-disable-next-line max-len\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var requireObjectCoercible = require('../internals/require-object-coercible');\nvar whitespaces = require('../internals/whitespaces');\n\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = String(requireObjectCoercible($this));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n metadata.facade = it;\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var state;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) {\n createNonEnumerableProperty(value, 'name', key);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","var isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n typeof (NewTarget = dummy.constructor) == 'function' &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","exports.f = Object.getOwnPropertySymbols;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n /* global ActiveXObject */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPrimitive(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","var store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nvar regexpFlags = require('./regexp-flags');\nvar stickyHelpers = require('./regexp-sticky-helpers');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = regexpFlags.call(re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = flags.replace('y', '');\n if (flags.indexOf('g') === -1) {\n flags += 'g';\n }\n\n strCopy = String(str).slice(re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = nativeExec.call(sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = match.input.slice(charsAdded);\n match[0] = match[0].slice(charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","var fails = require('../internals/fails');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : typeof detection == 'function' ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n concat: function concat(arg) { // eslint-disable-line no-unused-vars\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = toLength(E.length);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","'use strict';\n\nvar fails = require('./fails');\n\n// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,\n// so we use an intermediate function.\nfunction RE(s, f) {\n return RegExp(s, f);\n}\n\nexports.UNSUPPORTED_Y = fails(function () {\n // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\n var re = RE('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\nexports.BROKEN_CARET = fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = RE('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = [].join;\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar STRICT_METHOD = arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {\n join: function join(separator) {\n return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg, 3) : false;\n var element;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.es/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar has = require('../internals/has');\nvar classof = require('../internals/classof-raw');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\n\n// Opera ~12 has broken Object#toString\nvar BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n var first, third, radix, maxCode, digits, length, index, code;\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = it.charCodeAt(0);\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = it.slice(2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = digits.charCodeAt(index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var dummy = this;\n return dummy instanceof NumberWrapper\n // check on 1..constructor(foo) case\n && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)\n ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);\n };\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n redefine(global, NUMBER, NumberWrapper);\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\n\nvar defineProperty = Object.defineProperty;\nvar cache = {};\n\nvar thrower = function (it) { throw it; };\n\nmodule.exports = function (METHOD_NAME, options) {\n if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];\n if (!options) options = {};\n var method = [][METHOD_NAME];\n var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;\n var argument0 = has(options, 0) ? options[0] : thrower;\n var argument1 = has(options, 1) ? options[1] : undefined;\n\n return cache[METHOD_NAME] = !!method && !fails(function () {\n if (ACCESSORS && !DESCRIPTORS) return true;\n var O = { length: -1 };\n\n if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });\n else O[1] = 1;\n\n method.call(O, argument0, argument1);\n });\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","var isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name)) {\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","var bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = [].push;\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_OUT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push.call(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push.call(target, value); // filterOut\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterOut` method\n // https://github.com/tc39/proposal-array-filtering\n filterOut: createMethod(7)\n};\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n","var isObject = require('../internals/is-object');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n if (!isObject(input)) return input;\n var fn, val;\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","module.exports = false;\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\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","var fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar nativeIndexOf = [].indexOf;\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('indexOf');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (key, value) {\n try {\n createNonEnumerableProperty(global, key, value);\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","module.exports = {};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\n\nvar aFunction = function (variable) {\n return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\n","var anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n setter.call(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter.call(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","var aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = toLength(O.length);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar regexpExec = require('../internals/regexp-exec');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\nvar REPLACE = wellKnownSymbol('replace');\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\nmodule.exports = function (KEY, length, exec, sham) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !(\n REPLACE_SUPPORTS_NAMED_GROUPS &&\n REPLACE_KEEPS_$0 &&\n !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n )) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }, {\n REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,\n REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n });\n var stringMethod = methods[0];\n var regexMethod = methods[1];\n\n redefine(String.prototype, KEY, stringMethod);\n redefine(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return regexMethod.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return regexMethod.call(string, this); }\n );\n }\n\n if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n// FF49- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line no-undef\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func\n (function () { return this; })() || Function('return this')();\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var toInteger = require('./toInteger');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\nfunction before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n}\n\nmodule.exports = before;\n","var has = require('../internals/has');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var has = require('../internals/has');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\nmodule.exports = Array.isArray || function isArray(arg) {\n return classof(arg) == 'Array';\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","\r\n\r\n\r\n","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayLikeToArray from \"@babel/runtime/helpers/esm/arrayLikeToArray\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"@babel/runtime/helpers/esm/arrayWithHoles\";\nimport iterableToArrayLimit from \"@babel/runtime/helpers/esm/iterableToArrayLimit\";\nimport unsupportedIterableToArray from \"@babel/runtime/helpers/esm/unsupportedIterableToArray\";\nimport nonIterableRest from \"@babel/runtime/helpers/esm/nonIterableRest\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","import arrayLikeToArray from \"@babel/runtime/helpers/esm/arrayLikeToArray\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"@babel/runtime/helpers/esm/arrayWithoutHoles\";\nimport iterableToArray from \"@babel/runtime/helpers/esm/iterableToArray\";\nimport unsupportedIterableToArray from \"@babel/runtime/helpers/esm/unsupportedIterableToArray\";\nimport nonIterableSpread from \"@babel/runtime/helpers/esm/nonIterableSpread\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}","export function isNaN(x) {\r\n return x !== x\r\n}\r\n","export function includes(arrOrStr, elem) {\r\n return arrOrStr.indexOf(elem) !== -1\r\n}\r\n","export const createMap = () => Object.create(null)\r\n","export function quickDiff(arrA, arrB) {\r\n if (arrA.length !== arrB.length) return true\r\n\r\n for (let i = 0; i < arrA.length; i++) {\r\n if (arrA[i] !== arrB[i]) return true\r\n }\r\n\r\n return false\r\n}\r\n","import { noop } from './noop'\r\n\r\nexport const warning = process.env.NODE_ENV === 'production'\r\n ? /* istanbul ignore next */ noop\r\n : function warning(checker, complainer) {\r\n if (!checker()) {\r\n const message = [ '[Vue-Treeselect Warning]' ].concat(complainer())\r\n // eslint-disable-next-line no-console\r\n console.error(...message)\r\n }\r\n }\r\n","export function find(arr, predicate, ctx) {\r\n for (let i = 0, len = arr.length; i < len; i++) {\r\n if (predicate.call(ctx, arr[i], i, arr)) return arr[i]\r\n }\r\n return undefined\r\n}\r\n","export function onLeftClick(mouseDownHandler) {\r\n return function onMouseDown(evt, ...args) {\r\n if (evt.type === 'mousedown' && evt.button === 0) {\r\n mouseDownHandler.call(this, evt, ...args)\r\n }\r\n }\r\n}\r\n","// from react-select\r\nexport function scrollIntoView($scrollingEl, $focusedEl) {\r\n const scrollingReact = $scrollingEl.getBoundingClientRect()\r\n const focusedRect = $focusedEl.getBoundingClientRect()\r\n const overScroll = $focusedEl.offsetHeight / 3\r\n\r\n if (focusedRect.bottom + overScroll > scrollingReact.bottom) {\r\n $scrollingEl.scrollTop = Math.min(\r\n $focusedEl.offsetTop + $focusedEl.clientHeight - $scrollingEl.offsetHeight + overScroll,\r\n $scrollingEl.scrollHeight,\r\n )\r\n } else if (focusedRect.top - overScroll < scrollingReact.top) {\r\n $scrollingEl.scrollTop = Math.max($focusedEl.offsetTop - overScroll, 0)\r\n }\r\n}\r\n","export function removeFromArray(arr, elem) {\r\n const idx = arr.indexOf(elem)\r\n if (idx !== -1) arr.splice(idx, 1)\r\n}\r\n","// Magic value that indicates a root level node.\r\nexport const NO_PARENT_NODE = null\r\n\r\n// Types of checked state.\r\nexport const UNCHECKED = 0\r\nexport const INDETERMINATE = 1\r\nexport const CHECKED = 2\r\n\r\n// Types of count number.\r\nexport const ALL_CHILDREN = 'ALL_CHILDREN'\r\nexport const ALL_DESCENDANTS = 'ALL_DESCENDANTS'\r\nexport const LEAF_CHILDREN = 'LEAF_CHILDREN'\r\nexport const LEAF_DESCENDANTS = 'LEAF_DESCENDANTS'\r\n\r\n// Action types of delayed loading.\r\nexport const LOAD_ROOT_OPTIONS = 'LOAD_ROOT_OPTIONS'\r\nexport const LOAD_CHILDREN_OPTIONS = 'LOAD_CHILDREN_OPTIONS'\r\nexport const ASYNC_SEARCH = 'ASYNC_SEARCH'\r\n\r\n// Acceptable values of `valueConsistsOf` prop.\r\nexport const ALL = 'ALL'\r\nexport const BRANCH_PRIORITY = 'BRANCH_PRIORITY'\r\nexport const LEAF_PRIORITY = 'LEAF_PRIORITY'\r\nexport const ALL_WITH_INDETERMINATE = 'ALL_WITH_INDETERMINATE'\r\n\r\n// Acceptable values of `sortValueBy` prop.\r\nexport const ORDER_SELECTED = 'ORDER_SELECTED'\r\nexport const LEVEL = 'LEVEL'\r\nexport const INDEX = 'INDEX'\r\n\r\n// Key codes look-up table.\r\nexport const KEY_CODES = {\r\n BACKSPACE: 8,\r\n ENTER: 13,\r\n ESCAPE: 27,\r\n END: 35,\r\n HOME: 36,\r\n ARROW_LEFT: 37,\r\n ARROW_UP: 38,\r\n ARROW_RIGHT: 39,\r\n ARROW_DOWN: 40,\r\n DELETE: 46,\r\n}\r\n\r\n// Other constants.\r\nexport const INPUT_DEBOUNCE_DELAY = process.env.NODE_ENV === 'testing'\r\n ? /* to speed up unit testing */ 10\r\n : /* istanbul ignore next */ 200\r\nexport const MIN_INPUT_WIDTH = 5\r\nexport const MENU_BUFFER = 40\r\n","import fuzzysearch from 'fuzzysearch'\r\n\r\nimport {\r\n warning,\r\n onLeftClick, scrollIntoView,\r\n isNaN, isPromise, once,\r\n identity, constant, createMap,\r\n quickDiff, last as getLast, includes, find, removeFromArray,\r\n} from '../utils'\r\n\r\nimport {\r\n NO_PARENT_NODE,\r\n UNCHECKED, INDETERMINATE, CHECKED,\r\n LOAD_ROOT_OPTIONS, LOAD_CHILDREN_OPTIONS, ASYNC_SEARCH,\r\n ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE,\r\n ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS,\r\n ORDER_SELECTED, LEVEL, INDEX,\r\n} from '../constants'\r\n\r\nfunction sortValueByIndex(a, b) {\r\n let i = 0\r\n do {\r\n if (a.level < i) return -1\r\n if (b.level < i) return 1\r\n if (a.index[i] !== b.index[i]) return a.index[i] - b.index[i]\r\n i++\r\n } while (true)\r\n}\r\n\r\nfunction sortValueByLevel(a, b) {\r\n return a.level === b.level\r\n ? sortValueByIndex(a, b)\r\n : a.level - b.level\r\n}\r\n\r\nfunction createAsyncOptionsStates() {\r\n return {\r\n isLoaded: false,\r\n isLoading: false,\r\n loadingError: '',\r\n }\r\n}\r\n\r\nfunction stringifyOptionPropValue(value) {\r\n if (typeof value === 'string') return value\r\n if (typeof value === 'number' && !isNaN(value)) return value + ''\r\n // istanbul ignore next\r\n return ''\r\n}\r\n\r\nfunction match(enableFuzzyMatch, needle, haystack) {\r\n return enableFuzzyMatch\r\n ? fuzzysearch(needle, haystack)\r\n : includes(haystack, needle)\r\n}\r\n\r\nfunction getErrorMessage(err) {\r\n return err.message || /* istanbul ignore next */String(err)\r\n}\r\n\r\nlet instanceId = 0\r\n\r\nexport default {\r\n provide() {\r\n return {\r\n // Enable access to the instance of root component of vue-treeselect\r\n // across hierarchy.\r\n instance: this,\r\n }\r\n },\r\n\r\n props: {\r\n /**\r\n * Whether to allow resetting value even if there are disabled selected nodes.\r\n */\r\n allowClearingDisabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When an ancestor node is selected/deselected, whether its disabled descendants should be selected/deselected.\r\n * You may want to use this in conjunction with `allowClearingDisabled` prop.\r\n */\r\n allowSelectingDisabledDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether the menu should be always open.\r\n */\r\n alwaysOpen: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Append the menu to ?\r\n */\r\n appendToBody: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable async search mode.\r\n */\r\n async: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically focus the component on mount?\r\n */\r\n autoFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically load root options on mount. When set to `false`, root options will be loaded when the menu is opened.\r\n */\r\n autoLoadRootOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its ancestors. Applies to flat mode only.\r\n */\r\n autoDeselectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its descendants. Applies to flat mode only.\r\n */\r\n autoDeselectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its ancestors. Applies to flat mode only.\r\n */\r\n autoSelectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its descendants. Applies to flat mode only.\r\n */\r\n autoSelectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing backspace key removes the last item if there is no text input.\r\n */\r\n backspaceRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Function that processes before clearing all input fields.\r\n * Return `false` to prevent value from being cleared.\r\n * @type {function(): (boolean|Promise)}\r\n */\r\n beforeClearAll: {\r\n type: Function,\r\n default: constant(true),\r\n },\r\n\r\n /**\r\n * Show branch nodes before leaf nodes?\r\n */\r\n branchNodesFirst: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Should cache results of every search request?\r\n */\r\n cacheOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Show an \"×\" button that resets value?\r\n */\r\n clearable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button when `multiple: true`.\r\n */\r\n clearAllText: {\r\n type: String,\r\n default: 'Clear all',\r\n },\r\n\r\n /**\r\n * Whether to clear the search input after selecting.\r\n * Use only when `multiple` is `true`.\r\n * For single-select mode, it **always** clears the input after selecting an option regardless of the prop value.\r\n */\r\n clearOnSelect: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button.\r\n */\r\n clearValueText: {\r\n type: String,\r\n default: 'Clear value',\r\n },\r\n\r\n /**\r\n * Whether to close the menu after selecting an option?\r\n * Use only when `multiple` is `true`.\r\n */\r\n closeOnSelect: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * How many levels of branch nodes should be automatically expanded when loaded.\r\n * Set `Infinity` to make all branch nodes expanded by default.\r\n */\r\n defaultExpandLevel: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The default set of options to show before the user starts searching. Used for async search mode.\r\n * When set to `true`, the results for search query as a empty string will be autoloaded.\r\n * @type {boolean|node[]}\r\n */\r\n defaultOptions: {\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing delete key removes the last item if there is no text input.\r\n */\r\n deleteRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Delimiter to use to join multiple values for the hidden field value.\r\n */\r\n delimiter: {\r\n type: String,\r\n default: ',',\r\n },\r\n\r\n /**\r\n * Only show the nodes that match the search value directly, excluding its ancestors.\r\n *\r\n * @type {Object}\r\n */\r\n flattenSearchResults: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Prevent branch nodes from being selected?\r\n */\r\n disableBranchNodes: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the control?\r\n */\r\n disabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the fuzzy matching functionality?\r\n */\r\n disableFuzzyMatching: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable flat mode or not. Non-flat mode (default) means:\r\n * - Whenever a branch node gets checked, all its children will be checked too\r\n * - Whenever a branch node has all children checked, the branch node itself will be checked too\r\n * Set `true` to disable this mechanism\r\n */\r\n flat: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Will be passed with all events as the last param.\r\n * Useful for identifying events origin.\r\n */\r\n instanceId: {\r\n // Add two trailing \"$\" to distinguish from explictly specified ids.\r\n default: () => `${instanceId++}$$`,\r\n type: [ String, Number ],\r\n },\r\n\r\n /**\r\n * Joins multiple values into a single form field with the `delimiter` (legacy mode).\r\n */\r\n joinValues: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Limit the display of selected options.\r\n * The rest will be hidden within the limitText string.\r\n */\r\n limit: {\r\n type: Number,\r\n default: Infinity,\r\n },\r\n\r\n /**\r\n * Function that processes the message shown when selected elements pass the defined limit.\r\n * @type {function(number): string}\r\n */\r\n limitText: {\r\n type: Function,\r\n default: function limitTextDefault(count) { // eslint-disable-line func-name-matching\r\n return `and ${count} more`\r\n },\r\n },\r\n\r\n /**\r\n * Text displayed when loading options.\r\n */\r\n loadingText: {\r\n type: String,\r\n default: 'Loading...',\r\n },\r\n\r\n /**\r\n * Used for dynamically loading options.\r\n * @type {function({action: string, callback: (function((Error|string)=): void), parentNode: node=, instanceId}): void}\r\n */\r\n loadOptions: {\r\n type: Function,\r\n },\r\n\r\n /**\r\n * Which node properties to filter on.\r\n */\r\n matchKeys: {\r\n type: Array,\r\n default: constant([ 'label' ]),\r\n },\r\n\r\n /**\r\n * Sets `maxHeight` style value of the menu.\r\n */\r\n maxHeight: {\r\n type: Number,\r\n default: 300,\r\n },\r\n\r\n /**\r\n * Set `true` to allow selecting multiple options (a.k.a., multi-select mode).\r\n */\r\n multiple: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Generates a hidden tag with this field name for html forms.\r\n */\r\n name: {\r\n type: String,\r\n },\r\n\r\n /**\r\n * Text displayed when a branch node has no children.\r\n */\r\n noChildrenText: {\r\n type: String,\r\n default: 'No sub-options.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no available options.\r\n */\r\n noOptionsText: {\r\n type: String,\r\n default: 'No options available.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no matching search results.\r\n */\r\n noResultsText: {\r\n type: String,\r\n default: 'No results found...',\r\n },\r\n\r\n /**\r\n * Used for normalizing source data.\r\n * @type {function(node, instanceId): node}\r\n */\r\n normalizer: {\r\n type: Function,\r\n default: identity,\r\n },\r\n\r\n /**\r\n * By default (`auto`), the menu will open below the control. If there is not\r\n * enough space, vue-treeselect will automatically flip the menu.\r\n * You can use one of other four options to force the menu to be always opened\r\n * to specified direction.\r\n * Acceptable values:\r\n * - `\"auto\"`\r\n * - `\"below\"`\r\n * - `\"bottom\"`\r\n * - `\"above\"`\r\n * - `\"top\"`\r\n */\r\n openDirection: {\r\n type: String,\r\n default: 'auto',\r\n validator(value) {\r\n const acceptableValues = [ 'auto', 'top', 'bottom', 'above', 'below' ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is clicked.\r\n */\r\n openOnClick: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is focused.\r\n */\r\n openOnFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Array of available options.\r\n * @type {node[]}\r\n */\r\n options: {\r\n type: Array,\r\n },\r\n\r\n /**\r\n * Field placeholder, displayed when there's no value.\r\n */\r\n placeholder: {\r\n type: String,\r\n default: 'Select...',\r\n },\r\n\r\n /**\r\n * Applies HTML5 required attribute when needed.\r\n */\r\n required: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text displayed asking user whether to retry loading children options.\r\n */\r\n retryText: {\r\n type: String,\r\n default: 'Retry?',\r\n },\r\n\r\n /**\r\n * Title for the retry button.\r\n */\r\n retryTitle: {\r\n type: String,\r\n default: 'Click to retry',\r\n },\r\n\r\n /**\r\n * Enable searching feature?\r\n */\r\n searchable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Search in ancestor nodes too.\r\n */\r\n searchNested: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text tip to prompt for async search.\r\n */\r\n searchPromptText: {\r\n type: String,\r\n default: 'Type to search...',\r\n },\r\n\r\n /**\r\n * Whether to show a children count next to the label of each branch node.\r\n */\r\n showCount: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Used in conjunction with `showCount` to specify which type of count number should be displayed.\r\n * Acceptable values:\r\n * - \"ALL_CHILDREN\"\r\n * - \"ALL_DESCENDANTS\"\r\n * - \"LEAF_CHILDREN\"\r\n * - \"LEAF_DESCENDANTS\"\r\n */\r\n showCountOf: {\r\n type: String,\r\n default: ALL_CHILDREN,\r\n validator(value) {\r\n const acceptableValues = [ ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to show children count when searching.\r\n * Fallbacks to the value of `showCount` when not specified.\r\n * @type {boolean}\r\n */\r\n showCountOnSearch: null,\r\n\r\n /**\r\n * In which order the selected options should be displayed in trigger & sorted in `value` array.\r\n * Used for multi-select mode only.\r\n * Acceptable values:\r\n * - \"ORDER_SELECTED\"\r\n * - \"LEVEL\"\r\n * - \"INDEX\"\r\n */\r\n sortValueBy: {\r\n type: String,\r\n default: ORDER_SELECTED,\r\n validator(value) {\r\n const acceptableValues = [ ORDER_SELECTED, LEVEL, INDEX ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Tab index of the control.\r\n */\r\n tabIndex: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The value of the control.\r\n * Should be `id` or `node` object for single-select mode, or an array of `id` or `node` object for multi-select mode.\r\n * Its format depends on the `valueFormat` prop.\r\n * For most cases, just use `v-model` instead.\r\n * @type {?Array}\r\n */\r\n modelValue: null,\r\n\r\n /**\r\n * Which kind of nodes should be included in the `value` array in multi-select mode.\r\n * Acceptable values:\r\n * - \"ALL\" - Any node that is checked will be included in the `value` array\r\n * - \"BRANCH_PRIORITY\" (default) - If a branch node is checked, all its descendants will be excluded in the `value` array\r\n * - \"LEAF_PRIORITY\" - If a branch node is checked, this node itself and its branch descendants will be excluded from the `value` array but its leaf descendants will be included\r\n * - \"ALL_WITH_INDETERMINATE\" - Any node that is checked will be included in the `value` array, plus indeterminate nodes\r\n */\r\n valueConsistsOf: {\r\n type: String,\r\n default: BRANCH_PRIORITY,\r\n validator(value) {\r\n const acceptableValues = [ ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Format of `value` prop.\r\n * Note that, when set to `\"object\"`, only `id` & `label` properties are required in each `node` object in `value` prop.\r\n * Acceptable values:\r\n * - \"id\"\r\n * - \"object\"\r\n */\r\n valueFormat: {\r\n type: String,\r\n default: 'id',\r\n },\r\n\r\n /**\r\n * z-index of the menu.\r\n */\r\n zIndex: {\r\n type: [ Number, String ],\r\n default: 999,\r\n },\r\n },\r\n\r\n data() {\r\n return {\r\n trigger: {\r\n // Is the control focused?\r\n isFocused: false,\r\n // User entered search query - value of the input.\r\n searchQuery: '',\r\n },\r\n\r\n menu: {\r\n // Is the menu opened?\r\n isOpen: false,\r\n // Id of current highlighted option.\r\n current: null,\r\n // The scroll position before last menu closing.\r\n lastScrollPosition: 0,\r\n // Which direction to open the menu.\r\n placement: 'bottom',\r\n },\r\n\r\n forest: {\r\n // Normalized options.\r\n normalizedOptions: [],\r\n // map for quick look-up.\r\n nodeMap: createMap(),\r\n // map, used for multi-select mode.\r\n checkedStateMap: createMap(),\r\n // Id list of all selected options.\r\n selectedNodeIds: this.extractCheckedNodeIdsFromValue(),\r\n // map for fast checking:\r\n // if (forest.selectedNodeIds.indexOf(id) !== -1) forest.selectedNodeMap[id] === true\r\n selectedNodeMap: createMap(),\r\n },\r\n\r\n // States of root options.\r\n rootOptionsStates: createAsyncOptionsStates(),\r\n\r\n localSearch: {\r\n // Has user entered any query to search local options?\r\n active: false,\r\n // Has any options matched the search query?\r\n noResults: true,\r\n // map for counting matched children/descendants.\r\n countMap: createMap(),\r\n },\r\n\r\n // map.\r\n remoteSearch: createMap(),\r\n }\r\n },\r\n\r\n computed: {\r\n /* eslint-disable valid-jsdoc */\r\n /**\r\n * Normalized nodes that have been selected.\r\n * @type {node[]}\r\n */\r\n selectedNodes() {\r\n return this.forest.selectedNodeIds.map(this.getNode)\r\n },\r\n /**\r\n * Id list of selected nodes with `sortValueBy` prop applied.\r\n * @type {nodeId[]}\r\n */\r\n internalValue() {\r\n let internalValue\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isRootNode) return true\r\n return !this.isSelected(node.parentNode)\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isLeaf) return true\r\n return node.children.length === 0\r\n })\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const indeterminateNodeIds = []\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n this.selectedNodes.forEach(selectedNode => {\r\n selectedNode.ancestors.forEach(ancestor => {\r\n if (includes(indeterminateNodeIds, ancestor.id)) return\r\n if (includes(internalValue, ancestor.id)) return\r\n indeterminateNodeIds.push(ancestor.id)\r\n })\r\n })\r\n internalValue.push(...indeterminateNodeIds)\r\n }\r\n\r\n if (this.sortValueBy === LEVEL) {\r\n internalValue.sort((a, b) => sortValueByLevel(this.getNode(a), this.getNode(b)))\r\n } else if (this.sortValueBy === INDEX) {\r\n internalValue.sort((a, b) => sortValueByIndex(this.getNode(a), this.getNode(b)))\r\n }\r\n\r\n return internalValue\r\n },\r\n /**\r\n * Has any option been selected?\r\n * @type {boolean}\r\n */\r\n hasValue() {\r\n return this.internalValue.length > 0\r\n },\r\n /**\r\n * Single-select mode?\r\n * @type {boolean}\r\n */\r\n single() {\r\n return !this.multiple\r\n },\r\n /**\r\n * Id list of nodes displayed in the menu. Nodes that are considered NOT visible:\r\n * - descendants of a collapsed branch node\r\n * - in local search mode, nodes that are not matched, unless\r\n * - it's a branch node and has matched descendants\r\n * - it's a leaf node and its parent node is explicitly set to show all children\r\n * @type {id[]}\r\n */\r\n visibleOptionIds() {\r\n const visibleOptionIds = []\r\n\r\n this.traverseAllNodesByIndex(node => {\r\n if (!this.localSearch.active || this.shouldOptionBeIncludedInSearchResult(node)) {\r\n visibleOptionIds.push(node.id)\r\n }\r\n // Skip the traversal of descendants of a branch node if it's not expanded.\r\n if (node.isBranch && !this.shouldExpand(node)) {\r\n return false\r\n }\r\n })\r\n\r\n return visibleOptionIds\r\n },\r\n /**\r\n * Has any option should be displayed in the menu?\r\n * @type {boolean}\r\n */\r\n hasVisibleOptions() {\r\n return this.visibleOptionIds.length !== 0\r\n },\r\n /**\r\n * Should show children count when searching?\r\n * @type {boolean}\r\n */\r\n showCountOnSearchComputed() {\r\n // Vue doesn't allow setting default prop value based on another prop value.\r\n // So use computed property as a workaround.\r\n // https://github.com/vuejs/vue/issues/6358\r\n return typeof this.showCountOnSearch === 'boolean'\r\n ? this.showCountOnSearch\r\n : this.showCount\r\n },\r\n /**\r\n * Is there any branch node?\r\n * @type {boolean}\r\n */\r\n hasBranchNodes() {\r\n return this.forest.normalizedOptions.some(rootNode => rootNode.isBranch)\r\n },\r\n shouldFlattenOptions() {\r\n return this.localSearch.active && this.flattenSearchResults\r\n },\r\n /* eslint-enable valid-jsdoc */\r\n },\r\n\r\n watch: {\r\n alwaysOpen(newValue) {\r\n if (newValue) this.openMenu()\r\n else this.closeMenu()\r\n },\r\n\r\n branchNodesFirst() {\r\n this.initialize()\r\n },\r\n\r\n disabled(newValue) {\r\n // force close the menu after disabling the control\r\n if (newValue && this.menu.isOpen) this.closeMenu()\r\n else if (!newValue && !this.menu.isOpen && this.alwaysOpen) this.openMenu()\r\n },\r\n\r\n flat() {\r\n this.initialize()\r\n },\r\n\r\n internalValue(newValue, oldValue) {\r\n const hasChanged = quickDiff(newValue, oldValue)\r\n // #122\r\n // Vue would trigger this watcher when `newValue` and `oldValue` are shallow-equal.\r\n // We emit the `input` event only when the value actually changes.\r\n if (hasChanged) this.$emit('update:modelValue', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n matchKeys() {\r\n this.initialize()\r\n },\r\n\r\n multiple(newValue) {\r\n // We need to rebuild the state when switching from single-select mode\r\n // to multi-select mode.\r\n // istanbul ignore else\r\n if (newValue) this.buildForestState()\r\n },\r\n\r\n options: {\r\n handler() {\r\n if (this.async) return\r\n // Re-initialize options when the `options` prop has changed.\r\n this.initialize()\r\n this.rootOptionsStates.isLoaded = Array.isArray(this.options)\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n\r\n 'trigger.searchQuery'() {\r\n if (this.async) {\r\n this.handleRemoteSearch()\r\n } else {\r\n this.handleLocalSearch()\r\n }\r\n\r\n this.$emit('search-change', this.trigger.searchQuery, this.getInstanceId())\r\n },\r\n\r\n value() {\r\n const nodeIdsFromValue = this.extractCheckedNodeIdsFromValue()\r\n const hasChanged = quickDiff(nodeIdsFromValue, this.internalValue)\r\n if (hasChanged) this.fixSelectedNodeIds(nodeIdsFromValue)\r\n },\r\n },\r\n\r\n methods: {\r\n verifyProps() {\r\n warning(\r\n () => this.async ? this.searchable : true,\r\n () => 'For async search mode, the value of \"searchable\" prop must be true.',\r\n )\r\n\r\n if (this.options == null && !this.loadOptions) {\r\n warning(\r\n () => false,\r\n () => 'Are you meant to dynamically load options? You need to use \"loadOptions\" prop.',\r\n )\r\n }\r\n\r\n if (this.flat) {\r\n warning(\r\n () => this.multiple,\r\n () => 'You are using flat mode. But you forgot to add \"multiple=true\"?',\r\n )\r\n }\r\n\r\n if (!this.flat) {\r\n const propNames = [\r\n 'autoSelectAncestors',\r\n 'autoSelectDescendants',\r\n 'autoDeselectAncestors',\r\n 'autoDeselectDescendants',\r\n ]\r\n\r\n propNames.forEach(propName => {\r\n warning(\r\n () => !this[propName],\r\n () => `\"${propName}\" only applies to flat mode.`,\r\n )\r\n })\r\n }\r\n },\r\n\r\n resetFlags() {\r\n this._blurOnSelect = false\r\n },\r\n\r\n initialize() {\r\n const options = this.async\r\n ? this.getRemoteSearchEntry().options\r\n : this.options\r\n\r\n if (Array.isArray(options)) {\r\n // In case we are re-initializing options, keep the old state tree temporarily.\r\n const prevNodeMap = this.forest.nodeMap\r\n this.forest.nodeMap = createMap()\r\n this.keepDataOfSelectedNodes(prevNodeMap)\r\n this.forest.normalizedOptions = this.normalize(NO_PARENT_NODE, options, prevNodeMap)\r\n // Cases that need fixing `selectedNodeIds`:\r\n // 1) Children options of a checked node have been delayed loaded,\r\n // we should also mark these children as checked. (multi-select mode)\r\n // 2) Root options have been delayed loaded, we need to initialize states\r\n // of these nodes. (multi-select mode)\r\n // 3) Async search mode.\r\n this.fixSelectedNodeIds(this.internalValue)\r\n } else {\r\n this.forest.normalizedOptions = []\r\n }\r\n },\r\n\r\n getInstanceId() {\r\n return this.instanceId == null ? this.id : this.instanceId\r\n },\r\n\r\n getValue() {\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.internalValue.slice()\r\n : this.internalValue[0]\r\n }\r\n\r\n const rawNodes = this.internalValue.map(id => this.getNode(id).raw)\r\n return this.multiple ? rawNodes : rawNodes[0]\r\n },\r\n\r\n getNode(nodeId) {\r\n warning(\r\n () => nodeId != null,\r\n () => `Invalid node id: ${nodeId}`,\r\n )\r\n\r\n if (nodeId == null) return null\r\n\r\n return nodeId in this.forest.nodeMap\r\n ? this.forest.nodeMap[nodeId]\r\n : this.createFallbackNode(nodeId)\r\n },\r\n\r\n createFallbackNode(id) {\r\n // In case there is a default selected node that is not loaded into the tree yet,\r\n // we create a fallback node to keep the component working.\r\n // When the real data is loaded, we'll override this fake node.\r\n\r\n const raw = this.extractNodeFromValue(id)\r\n const label = this.enhancedNormalizer(raw).label || `${id} (unknown)`\r\n const fallbackNode = {\r\n id,\r\n label,\r\n ancestors: [],\r\n parentNode: NO_PARENT_NODE,\r\n isFallbackNode: true,\r\n isRootNode: true,\r\n isLeaf: true,\r\n isBranch: false,\r\n isDisabled: false,\r\n isNew: false,\r\n index: [ -1 ],\r\n level: 0,\r\n raw,\r\n }\r\n\r\n return this.forest.nodeMap[id] = fallbackNode\r\n // return this.$ set(this.forest.nodeMap, id, fallbackNode)\r\n },\r\n\r\n extractCheckedNodeIdsFromValue() {\r\n if (this.modelValue == null) return []\r\n\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.modelValue.slice()\r\n : [ this.modelValue ]\r\n }\r\n\r\n return (this.multiple ? this.modelValue : [ this.modelValue ])\r\n .map(node => this.enhancedNormalizer(node))\r\n .map(node => node.id)\r\n },\r\n\r\n extractNodeFromValue(id) {\r\n const defaultNode = { id }\r\n\r\n if (this.valueFormat === 'id') {\r\n return defaultNode\r\n }\r\n\r\n const valueArray = this.multiple\r\n ? Array.isArray(this.modelValue) ? this.modelValue : []\r\n : this.modelValue ? [ this.modelValue ] : []\r\n const matched = find(\r\n valueArray,\r\n node => node && this.enhancedNormalizer(node).id === id,\r\n )\r\n\r\n return matched || defaultNode\r\n },\r\n\r\n fixSelectedNodeIds(nodeIdListOfPrevValue) {\r\n let nextSelectedNodeIds = []\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n nextSelectedNodeIds = nodeIdListOfPrevValue\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n nodeIdListOfPrevValue.forEach(nodeId => {\r\n nextSelectedNodeIds.push(nodeId)\r\n const node = this.getNode(nodeId)\r\n if (node.isBranch) this.traverseDescendantsBFS(node, descendant => {\r\n nextSelectedNodeIds.push(descendant.id)\r\n })\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.slice()\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.filter(nodeId => {\r\n const node = this.getNode(nodeId)\r\n return node.isLeaf || node.children.length === 0\r\n })\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n }\r\n\r\n const hasChanged = quickDiff(this.forest.selectedNodeIds, nextSelectedNodeIds)\r\n // If `nextSelectedNodeIds` doesn't actually differ from old `selectedNodeIds`,\r\n // we don't make the assignment to avoid triggering its watchers which may cause\r\n // unnecessary calculations.\r\n if (hasChanged) this.forest.selectedNodeIds = nextSelectedNodeIds\r\n\r\n this.buildForestState()\r\n },\r\n\r\n keepDataOfSelectedNodes(prevNodeMap) {\r\n // In case there is any selected node that is not present in the new `options` array.\r\n // It could be useful for async search mode.\r\n this.forest.selectedNodeIds.forEach(id => {\r\n if (!prevNodeMap[id]) return\r\n const node = {\r\n ...prevNodeMap[id],\r\n isFallbackNode: true,\r\n }\r\n // this.$ set(this.forest.nodeMap, id, node)\r\n this.forest.nodeMap[id] = node\r\n })\r\n },\r\n\r\n isSelected(node) {\r\n // whether a node is selected (single-select mode) or fully-checked (multi-select mode)\r\n return this.forest.selectedNodeMap[node.id] === true\r\n },\r\n\r\n traverseDescendantsBFS(parentNode, callback) {\r\n // istanbul ignore if\r\n if (!parentNode.isBranch) return\r\n const queue = parentNode.children.slice()\r\n while (queue.length) {\r\n const currNode = queue[0]\r\n if (currNode.isBranch) queue.push(...currNode.children)\r\n callback(currNode)\r\n queue.shift()\r\n }\r\n },\r\n\r\n traverseDescendantsDFS(parentNode, callback) {\r\n if (!parentNode.isBranch) return\r\n parentNode.children.forEach(child => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(child, callback)\r\n callback(child)\r\n })\r\n },\r\n\r\n traverseAllNodesDFS(callback) {\r\n this.forest.normalizedOptions.forEach(rootNode => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(rootNode, callback)\r\n callback(rootNode)\r\n })\r\n },\r\n\r\n traverseAllNodesByIndex(callback) {\r\n const walk = parentNode => {\r\n parentNode.children.forEach(child => {\r\n if (callback(child) !== false && child.isBranch) {\r\n walk(child)\r\n }\r\n })\r\n }\r\n\r\n // To simplify the code logic of traversal,\r\n // we create a fake root node that holds all the root options.\r\n walk({ children: this.forest.normalizedOptions })\r\n },\r\n\r\n toggleClickOutsideEvent(enabled) {\r\n if (enabled) {\r\n document.addEventListener('mousedown', this.handleClickOutside, false)\r\n } else {\r\n document.removeEventListener('mousedown', this.handleClickOutside, false)\r\n }\r\n },\r\n\r\n getValueContainer() {\r\n return this.$refs.control.$refs['value-container']\r\n },\r\n\r\n getInput() {\r\n return this.getValueContainer().$refs.input\r\n },\r\n\r\n focusInput() {\r\n this.getInput().focus()\r\n },\r\n\r\n blurInput() {\r\n this.getInput().blur()\r\n },\r\n\r\n handleMouseDown: onLeftClick(function handleMouseDown(evt) {\r\n evt.preventDefault()\r\n evt.stopPropagation()\r\n\r\n if (this.disabled) return\r\n\r\n const isClickedOnValueContainer = this.getValueContainer().$el.contains(evt.target)\r\n if (isClickedOnValueContainer && !this.menu.isOpen && (this.openOnClick || this.trigger.isFocused)) {\r\n this.openMenu()\r\n }\r\n\r\n if (this._blurOnSelect) {\r\n this.blurInput()\r\n } else {\r\n // Focus the input or prevent blurring.\r\n this.focusInput()\r\n }\r\n\r\n this.resetFlags()\r\n }),\r\n\r\n handleClickOutside(evt) {\r\n // istanbul ignore else\r\n if (this.$refs.wrapper && !this.$refs.wrapper.contains(evt.target)) {\r\n this.blurInput()\r\n this.closeMenu()\r\n }\r\n },\r\n\r\n handleLocalSearch() {\r\n const { searchQuery } = this.trigger\r\n const done = () => this.resetHighlightedOptionWhenNecessary(true)\r\n\r\n if (!searchQuery) {\r\n // Exit sync search mode.\r\n this.localSearch.active = false\r\n return done()\r\n }\r\n\r\n // Enter sync search mode.\r\n this.localSearch.active = true\r\n\r\n // Reset states.\r\n this.localSearch.noResults = true\r\n this.traverseAllNodesDFS(node => {\r\n if (node.isBranch) {\r\n node.isExpandedOnSearch = false\r\n node.showAllChildrenOnSearch = false\r\n node.isMatched = false\r\n node.hasMatchedDescendants = false\r\n\r\n this.localSearch.countMap[node.id] = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(this.localSearch.countMap, node.id, {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n }\r\n })\r\n\r\n const lowerCasedSearchQuery = searchQuery.trim().toLocaleLowerCase()\r\n const splitSearchQuery = lowerCasedSearchQuery.replace(/\\s+/g, ' ').split(' ')\r\n this.traverseAllNodesDFS(node => {\r\n if (this.searchNested && splitSearchQuery.length > 1) {\r\n node.isMatched = splitSearchQuery.every(filterValue =>\r\n match(false, filterValue, node.nestedSearchLabel),\r\n )\r\n } else {\r\n node.isMatched = this.matchKeys.some(matchKey =>\r\n match(!this.disableFuzzyMatching, lowerCasedSearchQuery, node.lowerCased[matchKey]),\r\n )\r\n }\r\n\r\n if (node.isMatched) {\r\n this.localSearch.noResults = false\r\n node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][ALL_DESCENDANTS]++)\r\n if (node.isLeaf) node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][LEAF_DESCENDANTS]++)\r\n if (node.parentNode !== NO_PARENT_NODE) {\r\n this.localSearch.countMap[node.parentNode.id][ALL_CHILDREN] += 1\r\n // istanbul ignore else\r\n if (node.isLeaf) this.localSearch.countMap[node.parentNode.id][LEAF_CHILDREN] += 1\r\n }\r\n }\r\n\r\n if (\r\n (node.isMatched || (node.isBranch && node.isExpandedOnSearch)) &&\r\n node.parentNode !== NO_PARENT_NODE\r\n ) {\r\n node.parentNode.isExpandedOnSearch = true\r\n node.parentNode.hasMatchedDescendants = true\r\n }\r\n })\r\n\r\n done()\r\n },\r\n\r\n handleRemoteSearch() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.getRemoteSearchEntry()\r\n const done = () => {\r\n this.initialize()\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n }\r\n\r\n if ((searchQuery === '' || this.cacheOptions) && entry.isLoaded) {\r\n return done()\r\n }\r\n\r\n this.callLoadOptionsProp({\r\n action: ASYNC_SEARCH,\r\n args: { searchQuery },\r\n isPending() {\r\n return entry.isLoading\r\n },\r\n start: () => {\r\n entry.isLoading = true\r\n entry.isLoaded = false\r\n entry.loadingError = ''\r\n },\r\n succeed: options => {\r\n entry.isLoaded = true\r\n entry.options = options\r\n // When the request completes, the search query may have changed.\r\n // We only show these options if they are for the current search query.\r\n if (this.trigger.searchQuery === searchQuery) done()\r\n },\r\n fail: err => {\r\n entry.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n entry.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n getRemoteSearchEntry() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.remoteSearch[searchQuery] || {\r\n ...createAsyncOptionsStates(),\r\n options: [],\r\n }\r\n\r\n // Vue doesn't support directly watching on objects.\r\n this.$watch(\r\n () => entry.options,\r\n () => {\r\n // TODO: potential redundant re-initialization.\r\n if (this.trigger.searchQuery === searchQuery) this.initialize()\r\n },\r\n { deep: true },\r\n )\r\n\r\n if (searchQuery === '') {\r\n if (Array.isArray(this.defaultOptions)) {\r\n entry.options = this.defaultOptions\r\n entry.isLoaded = true\r\n return entry\r\n } else if (this.defaultOptions !== true) {\r\n entry.isLoaded = true\r\n return entry\r\n }\r\n }\r\n\r\n if (!this.remoteSearch[searchQuery]) {\r\n // this.$ set(this.remoteSearch, searchQuery, entry)\r\n this.remoteSearch[searchQuery] = entry;\r\n }\r\n\r\n return entry\r\n },\r\n\r\n shouldExpand(node) {\r\n return this.localSearch.active ? node.isExpandedOnSearch : node.isExpanded\r\n },\r\n\r\n shouldOptionBeIncludedInSearchResult(node) {\r\n // 1) This option is matched.\r\n if (node.isMatched) return true\r\n // 2) This option is not matched, but has matched descendant(s).\r\n if (node.isBranch && node.hasMatchedDescendants && !this.flattenSearchResults) return true\r\n // 3) This option's parent has no matched descendants,\r\n // but after being expanded, all its children should be shown.\r\n if (!node.isRootNode && node.parentNode.showAllChildrenOnSearch) return true\r\n // 4) The default case.\r\n return false\r\n },\r\n\r\n shouldShowOptionInMenu(node) {\r\n if (this.localSearch.active && !this.shouldOptionBeIncludedInSearchResult(node)) {\r\n return false\r\n }\r\n return true\r\n },\r\n\r\n getControl() {\r\n return this.$refs.control.$el\r\n },\r\n\r\n getMenu() {\r\n const ref = this.appendToBody ? this.$refs.portal.portalTarget : this\r\n const $menu = ref.$refs.menu.$refs.menu\r\n return $menu && $menu.nodeName !== '#comment' ? $menu : null\r\n },\r\n\r\n setCurrentHighlightedOption(node, scroll = true) {\r\n const prev = this.menu.current\r\n if (prev != null && prev in this.forest.nodeMap) {\r\n this.forest.nodeMap[prev].isHighlighted = false\r\n }\r\n\r\n this.menu.current = node.id\r\n node.isHighlighted = true\r\n\r\n if (this.menu.isOpen && scroll) {\r\n const scrollToOption = () => {\r\n const $menu = this.getMenu()\r\n const $option = $menu.querySelector(`.vue-treeselect__option[data-id=\"${node.id}\"]`)\r\n if ($option) scrollIntoView($menu, $option)\r\n }\r\n\r\n // In case `openMenu()` is just called and the menu is not rendered yet.\r\n if (this.getMenu()) {\r\n scrollToOption()\r\n } else {\r\n // istanbul ignore next\r\n this.$nextTick(scrollToOption)\r\n }\r\n }\r\n },\r\n\r\n resetHighlightedOptionWhenNecessary(forceReset = false) {\r\n const { current } = this.menu\r\n\r\n if (\r\n forceReset || current == null ||\r\n !(current in this.forest.nodeMap) ||\r\n !this.shouldShowOptionInMenu(this.getNode(current))\r\n ) {\r\n this.highlightFirstOption()\r\n }\r\n },\r\n\r\n highlightFirstOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const first = this.visibleOptionIds[0]\r\n this.setCurrentHighlightedOption(this.getNode(first))\r\n },\r\n\r\n highlightPrevOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const prev = this.visibleOptionIds.indexOf(this.menu.current) - 1\r\n if (prev === -1) return this.highlightLastOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[prev]))\r\n },\r\n\r\n highlightNextOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const next = this.visibleOptionIds.indexOf(this.menu.current) + 1\r\n if (next === this.visibleOptionIds.length) return this.highlightFirstOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[next]))\r\n },\r\n\r\n highlightLastOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const last = getLast(this.visibleOptionIds)\r\n this.setCurrentHighlightedOption(this.getNode(last))\r\n },\r\n\r\n resetSearchQuery() {\r\n this.trigger.searchQuery = ''\r\n },\r\n\r\n closeMenu() {\r\n if (!this.menu.isOpen || (!this.disabled && this.alwaysOpen)) return\r\n this.saveMenuScrollPosition()\r\n this.menu.isOpen = false\r\n this.toggleClickOutsideEvent(false)\r\n this.resetSearchQuery()\r\n this.$emit('close', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n openMenu() {\r\n if (this.disabled || this.menu.isOpen) return\r\n this.menu.isOpen = true\r\n this.$nextTick(this.resetHighlightedOptionWhenNecessary)\r\n this.$nextTick(this.restoreMenuScrollPosition)\r\n if (!this.options && !this.async) this.loadRootOptions()\r\n this.toggleClickOutsideEvent(true)\r\n this.$emit('open', this.getInstanceId())\r\n },\r\n\r\n toggleMenu() {\r\n if (this.menu.isOpen) {\r\n this.closeMenu()\r\n } else {\r\n this.openMenu()\r\n }\r\n },\r\n\r\n toggleExpanded(node) {\r\n let nextState\r\n\r\n if (this.localSearch.active) {\r\n nextState = node.isExpandedOnSearch = !node.isExpandedOnSearch\r\n if (nextState) node.showAllChildrenOnSearch = true\r\n } else {\r\n nextState = node.isExpanded = !node.isExpanded\r\n }\r\n\r\n if (nextState && !node.childrenStates.isLoaded) {\r\n this.loadChildrenOptions(node)\r\n }\r\n },\r\n\r\n buildForestState() {\r\n const selectedNodeMap = createMap()\r\n this.forest.selectedNodeIds.forEach(selectedNodeId => {\r\n selectedNodeMap[selectedNodeId] = true\r\n })\r\n this.forest.selectedNodeMap = selectedNodeMap\r\n\r\n const checkedStateMap = createMap()\r\n if (this.multiple) {\r\n this.traverseAllNodesByIndex(node => {\r\n checkedStateMap[node.id] = UNCHECKED\r\n })\r\n\r\n this.selectedNodes.forEach(selectedNode => {\r\n checkedStateMap[selectedNode.id] = CHECKED\r\n\r\n if (!this.flat && !this.disableBranchNodes) {\r\n selectedNode.ancestors.forEach(ancestorNode => {\r\n if (!this.isSelected(ancestorNode)) {\r\n checkedStateMap[ancestorNode.id] = INDETERMINATE\r\n }\r\n })\r\n }\r\n })\r\n }\r\n this.forest.checkedStateMap = checkedStateMap\r\n },\r\n\r\n enhancedNormalizer(raw) {\r\n return {\r\n ...raw,\r\n ...this.normalizer(raw, this.getInstanceId()),\r\n }\r\n },\r\n\r\n normalize(parentNode, nodes, prevNodeMap) {\r\n let normalizedOptions = nodes\r\n .map(node => [ this.enhancedNormalizer(node), node ])\r\n .map(([ node, raw ], index) => {\r\n this.checkDuplication(node)\r\n this.verifyNodeShape(node)\r\n\r\n const { id, label, children, isDefaultExpanded } = node\r\n const isRootNode = parentNode === NO_PARENT_NODE\r\n const level = isRootNode ? 0 : parentNode.level + 1\r\n const isBranch = Array.isArray(children) || children === null\r\n const isLeaf = !isBranch\r\n const isDisabled = !!node.isDisabled || (!this.flat && !isRootNode && parentNode.isDisabled)\r\n const isNew = !!node.isNew\r\n const lowerCased = this.matchKeys.reduce((prev, key) => ({\r\n ...prev,\r\n [key]: stringifyOptionPropValue(node[key]).toLocaleLowerCase(),\r\n }), {})\r\n const nestedSearchLabel = isRootNode\r\n ? lowerCased.label\r\n : parentNode.nestedSearchLabel + ' ' + lowerCased.label\r\n\r\n // this.$ set(this.forest.nodeMap, id, createMap())\r\n this.forest.nodeMap[id] = createMap();\r\n\r\n const normalized = this.forest.nodeMap[id];\r\n\r\n normalized.id = id;\r\n normalized.label = label;\r\n normalized.level = level;\r\n normalized.ancestors = isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors);\r\n normalized.index = (isRootNode ? [] : parentNode.index).concat(index);\r\n normalized.parentNode = parentNode;\r\n normalized.lowerCased = lowerCased;\r\n normalized.nestedSearchLabel = nestedSearchLabel;\r\n normalized.isDisabled = isDisabled;\r\n normalized.isNew = isNew;\r\n normalized.isMatched = false;\r\n normalized.isHighlighted = false;\r\n normalized.isBranch = isBranch;\r\n normalized.isLeaf = isLeaf;\r\n normalized.isRootNode = isRootNode;\r\n normalized.raw = raw;\r\n\r\n // this.$ set(normalized, 'id', id)\r\n // this.$ set(normalized, 'label', label)\r\n // this.$ set(normalized, 'level', level)\r\n // this.$ set(normalized, 'ancestors', isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors))\r\n // this.$ set(normalized, 'index', (isRootNode ? [] : parentNode.index).concat(index))\r\n // this.$ set(normalized, 'parentNode', parentNode)\r\n // this.$ set(normalized, 'lowerCased', lowerCased)\r\n // this.$ set(normalized, 'nestedSearchLabel', nestedSearchLabel)\r\n // this.$ set(normalized, 'isDisabled', isDisabled)\r\n // this.$ set(normalized, 'isNew', isNew)\r\n // this.$ set(normalized, 'isMatched', false)\r\n // this.$ set(normalized, 'isHighlighted', false)\r\n // this.$ set(normalized, 'isBranch', isBranch)\r\n // this.$ set(normalized, 'isLeaf', isLeaf)\r\n // this.$ set(normalized, 'isRootNode', isRootNode)\r\n // this.$ set(normalized, 'raw', raw)\r\n\r\n if (isBranch) {\r\n const isLoaded = Array.isArray(children)\r\n\r\n // this.$ set(normalized, 'childrenStates', {\r\n // ...createAsyncOptionsStates(),\r\n // isLoaded,\r\n // })\r\n normalized.childrenStates = {...createAsyncOptionsStates(),isLoaded}\r\n \r\n // this.$ set(normalized, 'isExpanded', typeof isDefaultExpanded === 'boolean'\r\n // ? isDefaultExpanded\r\n // : level < this.defaultExpandLevel)\r\n normalized.isExpanded = typeof isDefaultExpanded === 'boolean' ? isDefaultExpanded : level < this.defaultExpandLevel;\r\n \r\n // this.$ set(normalized, 'hasMatchedDescendants', false)\r\n // this.$ set(normalized, 'hasDisabledDescendants', false)\r\n // this.$ set(normalized, 'isExpandedOnSearch', false)\r\n // this.$ set(normalized, 'showAllChildrenOnSearch', false)\r\n // this.$ set(normalized, 'count', {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.hasMatchedDescendants = false;\r\n normalized.hasDisabledDescendants = false;\r\n normalized.isExpandedOnSearch = false;\r\n normalized.showAllChildrenOnSearch = false;\r\n normalized.count = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.children = isLoaded ? this.normalize(normalized, children, prevNodeMap) :[];\r\n\r\n if (isDefaultExpanded === true) normalized.ancestors.forEach(ancestor => {\r\n ancestor.isExpanded = true\r\n })\r\n\r\n if (!isLoaded && typeof this.loadOptions !== 'function') {\r\n warning(\r\n () => false,\r\n () => 'Unloaded branch node detected. \"loadOptions\" prop is required to load its children.',\r\n )\r\n } else if (!isLoaded && normalized.isExpanded) {\r\n this.loadChildrenOptions(normalized)\r\n }\r\n }\r\n\r\n normalized.ancestors.forEach(ancestor => ancestor.count[ALL_DESCENDANTS]++)\r\n if (isLeaf) normalized.ancestors.forEach(ancestor => ancestor.count[LEAF_DESCENDANTS]++)\r\n if (!isRootNode) {\r\n parentNode.count[ALL_CHILDREN] += 1\r\n if (isLeaf) parentNode.count[LEAF_CHILDREN] += 1\r\n if (isDisabled) parentNode.hasDisabledDescendants = true\r\n }\r\n\r\n // Preserve previous states.\r\n if (prevNodeMap && prevNodeMap[id]) {\r\n const prev = prevNodeMap[id]\r\n\r\n normalized.isMatched = prev.isMatched\r\n normalized.showAllChildrenOnSearch = prev.showAllChildrenOnSearch\r\n normalized.isHighlighted = prev.isHighlighted\r\n\r\n if (prev.isBranch && normalized.isBranch) {\r\n normalized.isExpanded = prev.isExpanded\r\n normalized.isExpandedOnSearch = prev.isExpandedOnSearch\r\n // #97\r\n // If `isLoaded` was true, but IS NOT now, we consider this branch node\r\n // to be reset to unloaded state by the user of this component.\r\n if (prev.childrenStates.isLoaded && !normalized.childrenStates.isLoaded) {\r\n // Make sure the node is collapsed, then the user can load its\r\n // children again (by expanding).\r\n normalized.isExpanded = false\r\n // We have reset `childrenStates` and don't want to preserve states here.\r\n } else {\r\n normalized.childrenStates = { ...prev.childrenStates }\r\n }\r\n }\r\n }\r\n\r\n return normalized\r\n })\r\n\r\n if (this.branchNodesFirst) {\r\n const branchNodes = normalizedOptions.filter(option => option.isBranch)\r\n const leafNodes = normalizedOptions.filter(option => option.isLeaf)\r\n normalizedOptions = branchNodes.concat(leafNodes)\r\n }\r\n\r\n return normalizedOptions\r\n },\r\n\r\n loadRootOptions() {\r\n this.callLoadOptionsProp({\r\n action: LOAD_ROOT_OPTIONS,\r\n isPending: () => {\r\n return this.rootOptionsStates.isLoading\r\n },\r\n start: () => {\r\n this.rootOptionsStates.isLoading = true\r\n this.rootOptionsStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.rootOptionsStates.isLoaded = true\r\n // Wait for `options` being re-initialized.\r\n this.$nextTick(() => {\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n })\r\n },\r\n fail: err => {\r\n this.rootOptionsStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.rootOptionsStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n loadChildrenOptions(parentNode) {\r\n // The options may be re-initialized anytime during the loading process.\r\n // So `parentNode` can be stale and we use `getNode()` to avoid that.\r\n\r\n const { id, raw } = parentNode\r\n\r\n this.callLoadOptionsProp({\r\n action: LOAD_CHILDREN_OPTIONS,\r\n args: {\r\n // We always pass the raw node instead of the normalized node to any\r\n // callback provided by the user of this component.\r\n // Because the shape of the raw node is more likely to be closing to\r\n // what the back-end API service of the application needs.\r\n parentNode: raw,\r\n },\r\n isPending: () => {\r\n return this.getNode(id).childrenStates.isLoading\r\n },\r\n start: () => {\r\n this.getNode(id).childrenStates.isLoading = true\r\n this.getNode(id).childrenStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.getNode(id).childrenStates.isLoaded = true\r\n },\r\n fail: err => {\r\n this.getNode(id).childrenStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.getNode(id).childrenStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n callLoadOptionsProp({ action, args, isPending, start, succeed, fail, end }) {\r\n if (!this.loadOptions || isPending()) {\r\n return\r\n }\r\n\r\n start()\r\n\r\n const callback = once((err, result) => {\r\n if (err) {\r\n fail(err)\r\n } else {\r\n succeed(result)\r\n }\r\n\r\n end()\r\n })\r\n const result = this.loadOptions({\r\n id: this.getInstanceId(),\r\n instanceId: this.getInstanceId(),\r\n action,\r\n ...args,\r\n callback,\r\n })\r\n\r\n if (isPromise(result)) {\r\n result.then(() => {\r\n callback()\r\n }, err => {\r\n callback(err)\r\n }).catch(err => {\r\n // istanbul ignore next\r\n console.error(err)\r\n })\r\n }\r\n },\r\n\r\n checkDuplication(node) {\r\n warning(\r\n () => !((node.id in this.forest.nodeMap) && !this.forest.nodeMap[node.id].isFallbackNode),\r\n () => `Detected duplicate presence of node id ${JSON.stringify(node.id)}. ` +\r\n `Their labels are \"${this.forest.nodeMap[node.id].label}\" and \"${node.label}\" respectively.`,\r\n )\r\n },\r\n\r\n verifyNodeShape(node) {\r\n warning(\r\n () => !(node.children === undefined && node.isBranch === true),\r\n () => 'Are you meant to declare an unloaded branch node? ' +\r\n '`isBranch: true` is no longer supported, please use `children: null` instead.',\r\n )\r\n },\r\n\r\n select(node) {\r\n if (this.disabled || node.isDisabled) {\r\n return\r\n }\r\n\r\n if (this.single) {\r\n this.clear()\r\n }\r\n\r\n const nextState = this.multiple && !this.flat\r\n ? this.forest.checkedStateMap[node.id] === UNCHECKED\r\n : !this.isSelected(node)\r\n\r\n if (nextState) {\r\n this._selectNode(node)\r\n } else {\r\n this._deselectNode(node)\r\n }\r\n\r\n this.buildForestState()\r\n\r\n if (nextState) {\r\n this.$emit('select', node.raw, this.getInstanceId())\r\n } else {\r\n this.$emit('deselect', node.raw, this.getInstanceId())\r\n }\r\n\r\n if (this.localSearch.active && nextState && (this.single || this.clearOnSelect)) {\r\n this.resetSearchQuery()\r\n }\r\n\r\n if (this.single && this.closeOnSelect) {\r\n this.closeMenu()\r\n\r\n // istanbul ignore else\r\n if (this.searchable) {\r\n this._blurOnSelect = true\r\n }\r\n }\r\n },\r\n\r\n clear() {\r\n if (this.hasValue) {\r\n if (this.single || this.allowClearingDisabled) {\r\n this.forest.selectedNodeIds = []\r\n } else /* if (this.multiple && !this.allowClearingDisabled) */ {\r\n this.forest.selectedNodeIds = this.forest.selectedNodeIds.filter(nodeId =>\r\n this.getNode(nodeId).isDisabled,\r\n )\r\n }\r\n\r\n this.buildForestState()\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _selectNode(node) {\r\n if (this.single || this.disableBranchNodes) {\r\n return this.addValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.addValue(node)\r\n\r\n if (this.autoSelectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (!this.isSelected(ancestor) && !ancestor.isDisabled) this.addValue(ancestor)\r\n })\r\n } else if (this.autoSelectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!this.isSelected(descendant) && !descendant.isDisabled) this.addValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n const isFullyChecked = (\r\n node.isLeaf ||\r\n (/* node.isBranch && */!node.hasDisabledDescendants) ||\r\n (/* node.isBranch && */this.allowSelectingDisabledDescendants)\r\n )\r\n if (isFullyChecked) {\r\n this.addValue(node)\r\n }\r\n\r\n if (node.isBranch) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.addValue(descendant)\r\n }\r\n })\r\n }\r\n\r\n if (isFullyChecked) {\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (curr.children.every(this.isSelected)) this.addValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _deselectNode(node) {\r\n if (this.disableBranchNodes) {\r\n return this.removeValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.removeValue(node)\r\n\r\n if (this.autoDeselectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (this.isSelected(ancestor) && !ancestor.isDisabled) this.removeValue(ancestor)\r\n })\r\n } else if (this.autoDeselectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (this.isSelected(descendant) && !descendant.isDisabled) this.removeValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n let hasUncheckedSomeDescendants = false\r\n if (node.isBranch) {\r\n this.traverseDescendantsDFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.removeValue(descendant)\r\n hasUncheckedSomeDescendants = true\r\n }\r\n })\r\n }\r\n\r\n if (\r\n node.isLeaf ||\r\n /* node.isBranch && */hasUncheckedSomeDescendants ||\r\n /* node.isBranch && */node.children.length === 0\r\n ) {\r\n this.removeValue(node)\r\n\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (this.isSelected(curr)) this.removeValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n addValue(node) {\r\n this.forest.selectedNodeIds.push(node.id)\r\n this.forest.selectedNodeMap[node.id] = true\r\n },\r\n\r\n removeValue(node) {\r\n removeFromArray(this.forest.selectedNodeIds, node.id)\r\n delete this.forest.selectedNodeMap[node.id]\r\n },\r\n\r\n removeLastValue() {\r\n if (!this.hasValue) return\r\n if (this.single) return this.clear()\r\n const lastValue = getLast(this.internalValue)\r\n const lastSelectedNode = this.getNode(lastValue)\r\n this.select(lastSelectedNode) // deselect\r\n },\r\n\r\n saveMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) this.menu.lastScrollPosition = $menu.scrollTop\r\n },\r\n\r\n restoreMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) $menu.scrollTop = this.menu.lastScrollPosition\r\n },\r\n },\r\n\r\n created() {\r\n this.verifyProps()\r\n this.resetFlags()\r\n },\r\n\r\n mounted() {\r\n if (this.autoFocus) this.focusInput()\r\n if (!this.options && !this.async && this.autoLoadRootOptions) this.loadRootOptions()\r\n if (this.alwaysOpen) this.openMenu()\r\n if (this.async && this.defaultOptions) this.handleRemoteSearch()\r\n },\r\n\r\n unmounted() {\r\n // istanbul ignore next\r\n this.toggleClickOutsideEvent(false)\r\n },\r\n}\r\n","\r\n","import script from \"./HiddenFields.vue?vue&type=script&lang=js\"\nexport * from \"./HiddenFields.vue?vue&type=script&lang=js\"\n\nexport default script","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","function isPlainObject(value) {\r\n if (value == null || typeof value !== 'object') return false\r\n return Object.getPrototypeOf(value) === Object.prototype\r\n}\r\n\r\nfunction copy(obj, key, value) {\r\n if (isPlainObject(value)) {\r\n obj[key] || (obj[key] = {})\r\n deepExtend(obj[key], value)\r\n } else {\r\n obj[key] = value\r\n }\r\n}\r\n\r\nexport function deepExtend(target, source) {\r\n if (isPlainObject(source)) {\r\n const keys = Object.keys(source)\r\n\r\n for (let i = 0, len = keys.length; i < len; i++) {\r\n copy(target, keys[i], source[keys[i]])\r\n }\r\n }\r\n\r\n return target\r\n}\r\n","\r\n","import script from \"./Input.vue?vue&type=script&lang=js\"\nexport * from \"./Input.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./Placeholder.vue?vue&type=script&lang=js\"\nexport * from \"./Placeholder.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./SingleValue.vue?vue&type=script&lang=js\"\nexport * from \"./SingleValue.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n\r\n\r\n","import { render } from \"./Delete.vue?vue&type=template&id=12b4a02e\"\nimport script from \"./Delete.vue?vue&type=script&lang=js\"\nexport * from \"./Delete.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\r\n","import script from \"./MultiValueItem.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValueItem.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","import script from \"./MultiValue.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValue.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n\r\n\r\n","import { render } from \"./Arrow.vue?vue&type=template&id=5d5151cb\"\nimport script from \"./Arrow.vue?vue&type=script&lang=js\"\nexport * from \"./Arrow.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\r\n","import watchSizeForBrowsersOtherThanIE9 from 'watch-size'\r\nimport { removeFromArray } from './removeFromArray'\r\n\r\nlet intervalId\r\nconst registered = []\r\nconst INTERVAL_DURATION = 100\r\n\r\nfunction run() {\r\n intervalId = setInterval(() => {\r\n registered.forEach(test)\r\n }, INTERVAL_DURATION)\r\n}\r\n\r\nfunction stop() {\r\n clearInterval(intervalId)\r\n intervalId = null\r\n}\r\n\r\nfunction test(item) {\r\n const { $el, listener, lastWidth, lastHeight } = item\r\n const width = $el.offsetWidth\r\n const height = $el.offsetHeight\r\n\r\n if (lastWidth !== width || lastHeight !== height) {\r\n item.lastWidth = width\r\n item.lastHeight = height\r\n\r\n listener({ width, height })\r\n }\r\n}\r\n\r\nfunction watchSizeForIE9($el, listener) {\r\n const item = {\r\n $el,\r\n listener,\r\n lastWidth: null,\r\n lastHeight: null,\r\n }\r\n const unwatch = () => {\r\n removeFromArray(registered, item)\r\n if (!registered.length) stop()\r\n }\r\n\r\n registered.push(item)\r\n // The original watch-size will call the listener on initialization.\r\n // Keep the same behavior here.\r\n test(item)\r\n run()\r\n\r\n return unwatch\r\n}\r\n\r\nexport function watchSize($el, listener) {\r\n // See: https://stackoverflow.com/a/31293352\r\n const isIE9 = document.documentMode === 9\r\n // watch-size will call the listener on initialization.\r\n // Disable this behavior with a lock to achieve a clearer code logic.\r\n let locked = true\r\n const wrappedListener = (...args) => locked || listener(...args)\r\n const implementation = isIE9\r\n ? watchSizeForIE9\r\n : watchSizeForBrowsersOtherThanIE9\r\n const removeSizeWatcher = implementation($el, wrappedListener)\r\n locked = false // unlock after initialization\r\n\r\n return removeSizeWatcher\r\n}\r\n","import script from \"./Control.vue?vue&type=script&lang=js\"\nexport * from \"./Control.vue?vue&type=script&lang=js\"\n\nexport default script","var index = (function (element, listener) {\n\tvar expand = document.createElement('_');\n\tvar shrink = expand.appendChild(document.createElement('_'));\n\tvar expandChild = expand.appendChild(document.createElement('_'));\n\tvar shrinkChild = shrink.appendChild(document.createElement('_'));\n\n\tvar lastWidth = void 0,\n\t lastHeight = void 0;\n\n\tshrink.style.cssText = expand.style.cssText = 'height:100%;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;transition:0s;width:100%;z-index:-1';\n\tshrinkChild.style.cssText = expandChild.style.cssText = 'display:block;height:100%;transition:0s;width:100%';\n\tshrinkChild.style.width = shrinkChild.style.height = '200%';\n\n\telement.appendChild(expand);\n\n\ttest();\n\n\treturn stop;\n\n\tfunction test() {\n\t\tunbind();\n\n\t\tvar width = element.offsetWidth;\n\t\tvar height = element.offsetHeight;\n\n\t\tif (width !== lastWidth || height !== lastHeight) {\n\t\t\tlastWidth = width;\n\t\t\tlastHeight = height;\n\n\t\t\texpandChild.style.width = width * 2 + 'px';\n\t\t\texpandChild.style.height = height * 2 + 'px';\n\n\t\t\texpand.scrollLeft = expand.scrollWidth;\n\t\t\texpand.scrollTop = expand.scrollHeight;\n\t\t\tshrink.scrollLeft = shrink.scrollWidth;\n\t\t\tshrink.scrollTop = shrink.scrollHeight;\n\n\t\t\tlistener({ width: width, height: height });\n\t\t}\n\n\t\tshrink.addEventListener('scroll', test);\n\t\texpand.addEventListener('scroll', test);\n\t}\n\n\tfunction unbind() {\n\t\tshrink.removeEventListener('scroll', test);\n\t\texpand.removeEventListener('scroll', test);\n\t}\n\n\tfunction stop() {\n\t\tunbind();\n\n\t\telement.removeChild(expand);\n\t}\n});\n\nexport default index;\n","function findScrollParents($el) {\r\n const $scrollParents = []\r\n let $parent = $el.parentNode\r\n\r\n while ($parent && $parent.nodeName !== 'BODY' && $parent.nodeType === document.ELEMENT_NODE) {\r\n if (isScrollElment($parent)) $scrollParents.push($parent)\r\n $parent = $parent.parentNode\r\n }\r\n $scrollParents.push(window)\r\n\r\n return $scrollParents\r\n}\r\n\r\nfunction isScrollElment($el) {\r\n // Firefox wants us to check `-x` and `-y` variations as well\r\n const { overflow, overflowX, overflowY } = getComputedStyle($el)\r\n return /(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)\r\n}\r\n\r\nexport function setupResizeAndScrollEventListeners($el, listener) {\r\n const $scrollParents = findScrollParents($el)\r\n\r\n window.addEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach(scrollParent => {\r\n scrollParent.addEventListener('scroll', listener, { passive: true })\r\n })\r\n\r\n return function removeEventListeners() {\r\n window.removeEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach($scrollParent => {\r\n $scrollParent.removeEventListener('scroll', listener, { passive: true })\r\n })\r\n }\r\n}\r\n","\r\n","","import script from \"./Tip.vue?vue&type=script&lang=js\"\nexport * from \"./Tip.vue?vue&type=script&lang=js\"\n\nexport default script","import script from \"./Option.vue?vue&type=script&lang=js\"\nexport * from \"./Option.vue?vue&type=script&lang=js\"\n\nexport default script","\r\n","\r\n","import script from \"./Menu.vue?vue&type=script&lang=js\"\nexport * from \"./Menu.vue?vue&type=script&lang=js\"\n\nexport default script","import script from \"./MenuPortal.vue?vue&type=script&lang=js\"\nexport * from \"./MenuPortal.vue?vue&type=script&lang=js\"\n\nexport default script","import { render } from \"./Treeselect.vue?vue&type=template&id=4fa337e8\"\nimport script from \"./Treeselect.vue?vue&type=script&lang=js\"\nexport * from \"./Treeselect.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","import Treeselect from './components/Treeselect'\r\nimport treeselectMixin from './mixins/treeselectMixin'\r\nimport '../styles/style.less'\r\n\r\nexport default Treeselect\r\nexport { Treeselect, treeselectMixin }\r\nexport {\r\n // Delayed loading.\r\n LOAD_ROOT_OPTIONS,\r\n LOAD_CHILDREN_OPTIONS,\r\n ASYNC_SEARCH,\r\n} from './constants'\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","'use strict';\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar SPECIES = wellKnownSymbol('species');\nvar nativeSlice = [].slice;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = toLength(O.length);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return nativeSlice.call(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n // eslint-disable-next-line no-undef\n && !Symbol.sham\n // eslint-disable-next-line no-undef\n && typeof Symbol.iterator == 'symbol';\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://vue3-treeselect/webpack/universalModuleDefinition","webpack://vue3-treeselect/webpack/bootstrap","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.test.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-string-tag-support.js","webpack://vue3-treeselect/./node_modules/lodash/_getRawTag.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-bind-context.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.flat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-ff-version.js","webpack://vue3-treeselect/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/length-of-array-like.js","webpack://vue3-treeselect/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-species-constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-substitution.js","webpack://vue3-treeselect/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue3-treeselect/./node_modules/core-js/internals/try-to-string.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://vue3-treeselect/./node_modules/lodash/isObjectLike.js","webpack://vue3-treeselect/./node_modules/core-js/internals/make-built-in.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.reduce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.push.js","webpack://vue3-treeselect/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-callable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-possible-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/has-own-property.js","webpack://vue3-treeselect/./node_modules/lodash/isObject.js","webpack://vue3-treeselect/./node_modules/core-js/internals/html.js","webpack://vue3-treeselect/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue3-treeselect/./node_modules/lodash/once.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue3-treeselect/./node_modules/core-js/internals/export.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://vue3-treeselect/./node_modules/is-promise/index.js","webpack://vue3-treeselect/./node_modules/lodash/_objectToString.js","webpack://vue3-treeselect/./node_modules/lodash/_root.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-apply.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue3-treeselect/./node_modules/fuzzysearch/index.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue3-treeselect/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://vue3-treeselect/./node_modules/lodash/_baseGetTag.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-define-properties.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-set-length.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/a-possible-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.unscopables.flat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/this-number-value.js","webpack://vue3-treeselect/./node_modules/lodash/now.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-bind-native.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.for-each.js","webpack://vue3-treeselect/./node_modules/core-js/internals/path.js","webpack://vue3-treeselect/./node_modules/lodash/last.js","webpack://vue3-treeselect/./node_modules/core-js/internals/indexed-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/add-to-unscopables.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.some.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://vue3-treeselect/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.trim.js","webpack://vue3-treeselect/./node_modules/lodash/toInteger.js","webpack://vue3-treeselect/./node_modules/lodash/_trimmedEndIndex.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-includes.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.filter.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.sort.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-length.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-webkit-version.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.string.replace.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared.js","webpack://vue3-treeselect/./node_modules/core-js/internals/own-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-string.js","webpack://vue3-treeselect/./node_modules/lodash/_freeGlobal.js","webpack://vue3-treeselect/./node_modules/core-js/internals/whitespaces.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-trim.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://vue3-treeselect/./node_modules/core-js/internals/a-callable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-name.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-is-node.js","webpack://vue3-treeselect/./node_modules/core-js/internals/define-global-property.js","webpack://vue3-treeselect/./node_modules/lodash/toFinite.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-multibyte.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-species-create.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/internal-state.js","webpack://vue3-treeselect/./node_modules/vue-loader-v16/dist/exportHelper.js","webpack://vue3-treeselect/./node_modules/core-js/internals/inherit-if-required.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://vue3-treeselect/./node_modules/lodash/constant.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue3-treeselect/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-create.js","webpack://vue3-treeselect/./node_modules/core-js/internals/an-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/descriptors.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-property.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/inspect-source.js","webpack://vue3-treeselect/./node_modules/core-js/internals/advance-string-index.js","webpack://vue3-treeselect/external {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://vue3-treeselect/./node_modules/lodash/_baseTrim.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-get-flags.js","webpack://vue3-treeselect/./node_modules/core-js/internals/uid.js","webpack://vue3-treeselect/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-exec.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-forced.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.concat.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-define-property.js","webpack://vue3-treeselect/./node_modules/lodash/_Symbol.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-property-key.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.join.js","webpack://vue3-treeselect/./node_modules/core-js/internals/flatten-into-array.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.splice.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.every.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-method-is-strict.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.number.constructor.js","webpack://vue3-treeselect/./node_modules/core-js/internals/error-to-string.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.regexp.exec.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-flags.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-sort.js","webpack://vue3-treeselect/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-to-string.js","webpack://vue3-treeselect/./node_modules/lodash/debounce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/math-trunc.js","webpack://vue3-treeselect/./node_modules/lodash/toNumber.js","webpack://vue3-treeselect/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-iteration.js","webpack://vue3-treeselect/./node_modules/lodash/noop.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-primitive.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-pure.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-call.js","webpack://vue3-treeselect/./node_modules/core-js/internals/classof-raw.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared-store.js","webpack://vue3-treeselect/(webpack)/buildin/global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/string-trim-forced.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.index-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue3-treeselect/./node_modules/core-js/internals/define-built-in.js","webpack://vue3-treeselect/./node_modules/core-js/internals/document-create-element.js","webpack://vue3-treeselect/./node_modules/lodash/identity.js","webpack://vue3-treeselect/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://vue3-treeselect/./node_modules/core-js/internals/hidden-keys.js","webpack://vue3-treeselect/./node_modules/core-js/internals/fails.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-built-in.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.object.to-string.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.error.to-string.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-reduce.js","webpack://vue3-treeselect/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.map.js","webpack://vue3-treeselect/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-symbol.js","webpack://vue3-treeselect/./node_modules/core-js/internals/global.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-method.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-keys.js","webpack://vue3-treeselect/./node_modules/lodash/before.js","webpack://vue3-treeselect/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://vue3-treeselect/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://vue3-treeselect/./node_modules/core-js/internals/get-json-replacer-function.js","webpack://vue3-treeselect/./node_modules/core-js/internals/function-uncurry-this.js","webpack://vue3-treeselect/./node_modules/core-js/internals/normalize-string-argument.js","webpack://vue3-treeselect/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue3-treeselect/./node_modules/core-js/internals/is-array.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.json.stringify.js","webpack://vue3-treeselect/./node_modules/core-js/internals/array-slice.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.date.to-json.js","webpack://vue3-treeselect/./node_modules/core-js/internals/classof.js","webpack://vue3-treeselect/./node_modules/core-js/internals/shared-key.js","webpack://vue3-treeselect/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue3-treeselect/./src/components/Treeselect.vue","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://vue3-treeselect/./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack://vue3-treeselect/./src/utils/isNaN.js","webpack://vue3-treeselect/./src/utils/includes.js","webpack://vue3-treeselect/./src/utils/createMap.js","webpack://vue3-treeselect/./src/utils/quickDiff.js","webpack://vue3-treeselect/./src/utils/warning.js","webpack://vue3-treeselect/./src/utils/find.js","webpack://vue3-treeselect/./src/utils/onLeftClick.js","webpack://vue3-treeselect/./src/utils/scrollIntoView.js","webpack://vue3-treeselect/./src/utils/removeFromArray.js","webpack://vue3-treeselect/./src/constants.js","webpack://vue3-treeselect/./src/mixins/treeselectMixin.js","webpack://vue3-treeselect/./src/components/HiddenFields.vue","webpack://vue3-treeselect/./src/components/HiddenFields.vue?e58b","webpack://vue3-treeselect/./src/utils/deepExtend.js","webpack://vue3-treeselect/./src/components/Input.vue","webpack://vue3-treeselect/./src/components/Input.vue?fc70","webpack://vue3-treeselect/./src/components/Placeholder.vue","webpack://vue3-treeselect/./src/components/Placeholder.vue?01b9","webpack://vue3-treeselect/./src/components/SingleValue.vue","webpack://vue3-treeselect/./src/components/SingleValue.vue?3239","webpack://vue3-treeselect/./src/components/icons/Delete.vue","webpack://vue3-treeselect/./src/components/icons/Delete.vue?d2f2","webpack://vue3-treeselect/./src/components/MultiValueItem.vue","webpack://vue3-treeselect/./src/components/MultiValueItem.vue?06c2","webpack://vue3-treeselect/./src/components/MultiValue.vue","webpack://vue3-treeselect/./src/components/MultiValue.vue?66e6","webpack://vue3-treeselect/./src/components/icons/Arrow.vue","webpack://vue3-treeselect/./src/components/icons/Arrow.vue?06bc","webpack://vue3-treeselect/./src/components/Control.vue","webpack://vue3-treeselect/./src/components/Control.vue?899c","webpack://vue3-treeselect/./src/utils/watchSize.js","webpack://vue3-treeselect/./node_modules/watch-size/index.es.mjs","webpack://vue3-treeselect/./src/utils/setupResizeAndScrollEventListeners.js","webpack://vue3-treeselect/./src/components/Tip.vue","webpack://vue3-treeselect/./src/components/Tip.vue?d7ae","webpack://vue3-treeselect/./src/components/Option.vue","webpack://vue3-treeselect/./src/components/Option.vue?b989","webpack://vue3-treeselect/./src/components/Menu.vue","webpack://vue3-treeselect/./src/components/Menu.vue?d1ee","webpack://vue3-treeselect/./src/components/MenuPortal.vue","webpack://vue3-treeselect/./src/components/MenuPortal.vue?9bba","webpack://vue3-treeselect/./src/components/Treeselect.vue?28b4","webpack://vue3-treeselect/./src/index.js","webpack://vue3-treeselect/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js","webpack://vue3-treeselect/./node_modules/core-js/modules/es.array.slice.js","webpack://vue3-treeselect/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue3-treeselect/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://vue3-treeselect/./node_modules/core-js/internals/dom-iterables.js","webpack://vue3-treeselect/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue3-treeselect/./node_modules/lodash/isSymbol.js"],"names":["root","factory","exports","module","require","define","amd","self","this","__WEBPACK_EXTERNAL_MODULE__8bbf__","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","$","isCallable","anObject","toString","DELEGATES_TO_EXEC","execCalled","re","exec","apply","arguments","test","nativeTest","target","proto","forced","S","R","string","result","wellKnownSymbol","TO_STRING_TAG","String","objectProto","nativeObjectToString","symToStringTag","undefined","getRawTag","isOwn","tag","unmasked","e","uncurryThis","aCallable","NATIVE_BIND","fn","that","flattenIntoArray","toObject","lengthOfArrayLike","toIntegerOrInfinity","arraySpeciesCreate","flat","depthArg","length","O","sourceLen","A","userAgent","firefox","match","V8_VERSION","fails","global","$String","getOwnPropertySymbols","symbol","sham","DESCRIPTORS","propertyIsEnumerableModule","createPropertyDescriptor","toIndexedObject","toPropertyKey","hasOwn","IE8_DOM_DEFINE","$getOwnPropertyDescriptor","getOwnPropertyDescriptor","f","P","error","toLength","obj","tryToString","$TypeError","TypeError","isArray","isConstructor","isObject","SPECIES","$Array","Array","originalArray","C","constructor","floor","Math","charAt","replace","stringSlice","slice","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","matched","str","position","captures","namedCaptures","replacement","tailPos","symbols","ch","capture","createElement","a","argument","$RegExp","RegExp","groups","isObjectLike","CONFIGURABLE_FUNCTION_NAME","CONFIGURABLE","inspectSource","InternalStateModule","enforceInternalState","enforce","getInternalState","join","CONFIGURABLE_LENGTH","TEMPLATE","split","makeBuiltIn","options","setter","configurable","arity","writable","state","source","Function","$reduce","left","arrayMethodIsStrict","CHROME_VERSION","IS_NODE","CHROME_BUG","FORCED","reduce","callbackfn","classof","regexpExec","setArrayLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","push","properErrorOnNonWritableLength","item","len","argCount","DOMIterables","DOMTokenListPrototype","forEach","createNonEnumerableProperty","handlePrototype","CollectionPrototype","COLLECTION_NAME","documentAll","document","all","$forEach","STRICT_METHOD","it","type","getBuiltIn","isNullOrUndefined","before","once","func","METHOD_NAME","array","foo","Boolean","max","min","index","integer","defineBuiltIn","defineGlobalProperty","copyConstructorProperties","isForced","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","internalObjectKeys","enumBugKeys","hiddenKeys","concat","getOwnPropertyNames","PROPER_FUNCTION_NAME","PROPER","$toString","getRegExpFlags","TO_STRING","RegExpPrototype","nativeToString","NOT_GENERIC","flags","INCORRECT_NAME","pattern","unsafe","isPromise","then","default","objectToString","freeGlobal","freeSelf","FunctionPrototype","Reflect","version","process","Deno","versions","v8","fuzzysearch","needle","haystack","tlen","qlen","outer","j","nch","charCodeAt","nativeGetPrototypeOf","CORRECT_PROTOTYPE_GETTER","FAILS_ON_PRIMITIVES","getPrototypeOf","navigator","MAX_SAFE_INTEGER","nullTag","undefinedTag","baseGetTag","V8_PROTOTYPE_DEFINE_BUG","definePropertyModule","objectKeys","defineProperties","Properties","props","keys","SILENT_ON_NON_WRITABLE_LENGTH_SET","isPrototypeOf","isPossiblePrototype","addToUnscopables","valueOf","now","Date","last","$Object","propertyIsEnumerable","UNSCOPABLES","ArrayPrototype","$some","some","classofRaw","input","pref","val","$trim","trim","forcedStringTrimMethod","toFinite","toInteger","remainder","reWhitespace","trimmedEndIndex","toAbsoluteIndex","createMethod","IS_INCLUDES","$this","el","fromIndex","includes","indexOf","$filter","filter","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","deletePropertyOrThrow","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","nativeSort","sort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","code","chr","fromCharCode","k","v","b","getSortCompare","comparefn","x","y","itemsLength","items","arrayLength","webkit","fixRegExpWellKnownSymbolLogic","requireObjectCoercible","advanceStringIndex","getMethod","getSubstitution","regExpExec","REPLACE","stringIndexOf","maybeToString","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","REPLACE_SUPPORTS_NAMED_GROUPS","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","replacer","rx","res","done","functionalReplace","fullUnicode","unicode","lastIndex","results","matchStr","accumulatedResult","nextSourcePosition","replacerArgs","store","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","whitespaces","ltrim","rtrim","TYPE","start","end","trunc","number","bitmap","getDescriptor","EXISTS","toNumber","INFINITY","MAX_INTEGER","sign","CONVERT_TO_STRING","pos","first","second","size","codeAt","arraySpeciesConstructor","noop","construct","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","called","set","has","NATIVE_WEAK_MAP","shared","sharedKey","OBJECT_ALREADY_INITIALIZED","WeakMap","getterFor","metadata","facade","STATE","sfc","__vccOpts","setPrototypeOf","dummy","Wrapper","NewTarget","NewTargetPrototype","method","constant","documentCreateElement","classList","activeXDocument","definePropertiesModule","html","GT","LT","PROTOTYPE","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObjectViaIFrame","iframeDocument","iframe","JS","style","display","appendChild","src","contentWindow","open","F","NullProtoObject","ActiveXObject","domain","functionToString","reTrimStart","baseTrim","regExpFlags","id","postfix","random","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeExec","patchedExec","UPDATES_LAST_INDEX_WRONG","re1","re2","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","PATCH","reCopy","group","raw","sticky","charsAdded","strCopy","multiline","feature","detection","data","normalize","POLYFILL","NATIVE","toLowerCase","createProperty","IS_CONCAT_SPREADABLE","IS_CONCAT_SPREADABLE_SUPPORT","isConcatSpreadable","spreadable","arg","E","$defineProperty","ENUMERABLE","WRITABLE","Attributes","current","MISSED_STICKY","toPrimitive","isSymbol","IndexedObject","nativeJoin","ES3_STRINGS","separator","original","depth","mapper","thisArg","element","elementLen","targetIndex","sourceIndex","mapFn","splice","deleteCount","insertCount","actualDeleteCount","from","to","actualStart","argumentsLength","$every","every","IS_PURE","path","inheritIfRequired","thisNumberValue","NUMBER","NativeNumber","PureNumberNamespace","NumberPrototype","toNumeric","primValue","third","radix","maxCode","digits","NaN","parseInt","calledWithNew","NumberWrapper","wrap","Number","normalizeStringArgument","nativeErrorToString","Error","message","hasIndices","ignoreCase","dotAll","unicodeSets","arraySlice","middle","right","llength","rlength","lindex","rindex","TO_STRING_TAG_SUPPORT","FUNC_ERROR_TEXT","nativeMax","nativeMin","debounce","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","leadingEdge","setTimeout","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","ceil","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","other","isBinary","uid","NATIVE_SYMBOL","USE_SYMBOL_AS_UID","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","nativeKeys","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","specificCreate","boundFunction","map","find","findIndex","filterReject","ordinaryToPrimitive","TO_PRIMITIVE","exoticToPrim","globalThis","SHARED","copyright","license","g","window","non","$indexOf","nativeIndexOf","NEGATIVE_ZERO","searchElement","names","simple","nonConfigurable","nonWritable","identity","aFunction","namespace","$propertyIsEnumerable","NASHORN_BUG","1","V","uncurryThisAccessor","aPossiblePrototype","CORRECT_SETTER","__proto__","errorToString","ErrorPrototype","REDUCE_EMPTY","IS_RIGHT","memo","KEY","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","nativeRegExpMethod","methods","nativeMethod","regexp","arg2","forceStringMethod","$exec","$map","UA","$Symbol","check","ObjectPrototype","rawLength","keysLength","uncurryThisWithBind","$default","ownKeys","getOwnPropertyDescriptorModule","exceptions","getReplacerFunction","$stringify","numberToString","tester","low","hi","WRONG_SYMBOLS_CONVERSION","ILL_FORMED_UNICODE","stringifyWithSymbolsFix","$replacer","fixIllFormed","offset","prev","next","stringify","space","toJSON","toISOString","pv","isFinite","CORRECT_ARGUMENTS","tryGet","callee","currentScript","_createBlock","ref","class","_ctx","wrapperClass","_createVNode","_component_HiddenFields","_component_Control","appendToBody","_component_MenuPortal","_component_Menu","_arrayWithHoles","_iterableToArrayLimit","iterator","u","_arrayLikeToArray","_unsupportedIterableToArray","arrayLikeToArray","_nonIterableRest","_slicedToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","_typeof","_defineProperty","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","_toConsumableArray","arrayWithoutHoles","iterableToArray","nonIterableSpread","_objectSpread2","getOwnPropertyDescriptors","isNaN","arrOrStr","elem","createMap","quickDiff","arrA","arrB","warning","arr","predicate","ctx","onLeftClick","mouseDownHandler","evt","button","_len","_key","scrollIntoView","$scrollingEl","$focusedEl","scrollingReact","getBoundingClientRect","focusedRect","overScroll","offsetHeight","bottom","scrollTop","offsetTop","clientHeight","scrollHeight","top","removeFromArray","idx","NO_PARENT_NODE","UNCHECKED","INDETERMINATE","CHECKED","ALL_CHILDREN","ALL_DESCENDANTS","LEAF_CHILDREN","LEAF_DESCENDANTS","LOAD_ROOT_OPTIONS","LOAD_CHILDREN_OPTIONS","ASYNC_SEARCH","ALL","BRANCH_PRIORITY","LEAF_PRIORITY","ALL_WITH_INDETERMINATE","ORDER_SELECTED","LEVEL","INDEX","KEY_CODES","BACKSPACE","ENTER","ESCAPE","END","HOME","ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN","DELETE","INPUT_DEBOUNCE_DELAY","MIN_INPUT_WIDTH","MENU_BUFFER","sortValueByIndex","level","sortValueByLevel","createAsyncOptionsStates","isLoaded","isLoading","loadingError","stringifyOptionPropValue","enableFuzzyMatch","getErrorMessage","err","instanceId","provide","instance","allowClearingDisabled","allowSelectingDisabledDescendants","alwaysOpen","async","autoFocus","autoLoadRootOptions","autoDeselectAncestors","autoDeselectDescendants","autoSelectAncestors","autoSelectDescendants","backspaceRemoves","beforeClearAll","branchNodesFirst","cacheOptions","clearable","clearAllText","clearOnSelect","clearValueText","closeOnSelect","defaultExpandLevel","defaultOptions","deleteRemoves","delimiter","flattenSearchResults","disableBranchNodes","disabled","disableFuzzyMatching","joinValues","limit","Infinity","limitText","count","loadingText","loadOptions","matchKeys","maxHeight","multiple","noChildrenText","noOptionsText","noResultsText","normalizer","openDirection","validator","acceptableValues","openOnClick","openOnFocus","placeholder","required","retryText","retryTitle","searchable","searchNested","searchPromptText","showCount","showCountOf","showCountOnSearch","sortValueBy","tabIndex","modelValue","valueConsistsOf","valueFormat","zIndex","trigger","isFocused","searchQuery","menu","isOpen","lastScrollPosition","placement","forest","normalizedOptions","nodeMap","checkedStateMap","selectedNodeIds","extractCheckedNodeIdsFromValue","selectedNodeMap","rootOptionsStates","localSearch","active","noResults","countMap","remoteSearch","computed","selectedNodes","getNode","internalValue","_this","single","node","isRootNode","isSelected","parentNode","isLeaf","children","_internalValue","indeterminateNodeIds","selectedNode","ancestors","ancestor","hasValue","visibleOptionIds","_this2","traverseAllNodesByIndex","shouldOptionBeIncludedInSearchResult","isBranch","shouldExpand","hasVisibleOptions","showCountOnSearchComputed","hasBranchNodes","rootNode","shouldFlattenOptions","watch","newValue","openMenu","closeMenu","initialize","oldValue","hasChanged","$emit","getValue","getInstanceId","buildForestState","handler","deep","immediate","handleRemoteSearch","handleLocalSearch","nodeIdsFromValue","fixSelectedNodeIds","verifyProps","_this3","propNames","propName","resetFlags","_blurOnSelect","getRemoteSearchEntry","prevNodeMap","keepDataOfSelectedNodes","_this4","rawNodes","nodeId","createFallbackNode","extractNodeFromValue","label","enhancedNormalizer","fallbackNode","isFallbackNode","isDisabled","childrenIgnoreDisabled","isNew","_this5","_this6","defaultNode","valueArray","nodeIdListOfPrevValue","_this7","nextSelectedNodeIds","traverseDescendantsBFS","descendant","queue","shift","_this8","_objectSpread","callback","currNode","traverseDescendantsDFS","_this9","child","traverseAllNodesDFS","_this10","walk","toggleClickOutsideEvent","enabled","addEventListener","handleClickOutside","removeEventListener","getValueContainer","$refs","control","getInput","focusInput","focus","blurInput","blur","handleMouseDown","preventDefault","stopPropagation","isClickedOnValueContainer","$el","contains","wrapper","_this11","resetHighlightedOptionWhenNecessary","isExpandedOnSearch","showAllChildrenOnSearch","isMatched","hasMatchedDescendants","lowerCasedSearchQuery","toLocaleLowerCase","splitSearchQuery","filterValue","nestedSearchLabel","matchKey","lowerCased","_this12","entry","callLoadOptionsProp","action","isPending","succeed","fail","_this13","$watch","isExpanded","shouldShowOptionInMenu","getControl","getMenu","portal","portalTarget","$menu","nodeName","setCurrentHighlightedOption","_this14","scroll","isHighlighted","scrollToOption","$option","querySelector","$nextTick","forceReset","highlightFirstOption","highlightPrevOption","highlightLastOption","highlightNextOption","getLast","resetSearchQuery","saveMenuScrollPosition","restoreMenuScrollPosition","loadRootOptions","toggleMenu","toggleExpanded","nextState","childrenStates","loadChildrenOptions","_this15","selectedNodeId","ancestorNode","nodes","_this16","_ref","_ref2","checkDuplication","verifyNodeShape","isDefaultExpanded","normalized","hasDisabledDescendants","branchNodes","option","leafNodes","_this17","_this18","_ref3","catch","console","_this19","JSON","select","clear","_selectNode","_deselectNode","_this20","_this21","addValue","isFullyChecked","curr","_this22","removeValue","hasUncheckedSomeDescendants","removeLastValue","lastValue","lastSelectedNode","created","mounted","unmounted","stringifyValue","defineComponent","inject","functional","render","context","stringifiedValues","stringifiedValue","__exports__","isPlainObject","copy","deepExtend","_isSlot","_isVNode","keysThatRequireMenuBeingOpen","inputWidth","needAutoSize","inputStyle","width","updateInputWidth","debouncedCallback","updateSearchQuery","onInput","onFocus","onBlur","activeElement","onKeyDown","which","keyCode","ctrlKey","shiftKey","altKey","metaKey","onMouseDown","renderInputContainer","$createElement","renderInput","renderSizer","on","keydown","attrs","_mergeProps","sizer","scrollWidth","placeholderClass","renderSingleValueLabel","customValueLabelRenderer","$slots","renderValueContainer","$parent","shouldShowValue","Placeholder","Input","xmlns","viewBox","_hoisted_1","_hoisted_2","itemClass","labelRenderer","DeleteIcon","renderMultiValueItems","MultiValueItem","renderExceedLimitTip","shouldShowX","hasUndisabledValue","shouldShowArrow","renderX","title","handleMouseDownOnX","renderArrow","arrowClass","handleMouseDownOnArrow","ArrowIcon","shouldClear","ValueContainer","SingleValue","MultiValue","intervalId","listener","expand","shrink","expandChild","shrinkChild","lastWidth","lastHeight","cssText","height","stop","unbind","offsetWidth","scrollLeft","removeChild","registered","INTERVAL_DURATION","run","setInterval","clearInterval","watchSizeForIE9","unwatch","watchSize","isIE9","documentMode","locked","wrappedListener","implementation","watchSizeForBrowsersOtherThanIE9","removeSizeWatcher","findScrollParents","$scrollParents","nodeType","ELEMENT_NODE","isScrollElment","_getComputedStyle","getComputedStyle","overflow","overflowX","overflowY","setupResizeAndScrollEventListeners","passive","scrollParent","$scrollParent","icon","arrowPlaceholder","checkMark","minusMark","Option","shouldShow","renderOption","optionClass","handleMouseEnterOption","renderLabelContainer","renderCheckboxContainer","renderCheckbox","renderLabel","renderSubOptionsList","renderSubOptions","renderNoChildrenTip","renderLoadingChildrenTip","renderLoadingChildrenErrorTip","_createTextVNode","handleMouseDownOnLabelContainer","checkedState","checkboxClass","shouldShowCount","labelClassName","countClassName","customLabelRenderer","childNode","_resolveComponent","Tip","handleMouseDownOnRetry","currentTarget","indentLevel","listItemClass","directionMap","above","below","menuStyle","menuContainerStyle","onMenuOpen","onMenuClose","menuSizeWatcher","menuResizeAndScrollEventListeners","renderMenu","renderBeforeList","renderAsyncSearchMenuInner","renderLocalSearchMenuInner","renderNormalMenuInner","renderAfterList","beforeListRenderer","afterListRenderer","renderLoadingOptionsTip","renderLoadingRootOptionsErrorTip","renderNoAvailableOptionsTip","renderOptionList","renderNoResultsTip","shouldShowSearchPromptTip","shouldShowNoResultsTip","renderSearchPromptTip","renderAsyncSearchLoadingErrorTip","adjustMenuOpenDirection","setupMenuSizeWatcher","setupMenuResizeAndScrollEventListeners","removeMenuSizeWatcher","removeMenuResizeAndScrollEventListeners","$control","menuRect","controlRect","menuHeight","viewportHeight","innerHeight","spaceAbove","spaceBelow","isControlInViewport","hasEnoughSpaceBelow","hasEnoughSpaceAbove","remove","PortalTarget","setupHandlers","removeHandlers","updateMenuContainerOffset","controlResizeAndScrollEventListeners","controlSizeWatcher","updateWidth","setupControlResizeAndScrollEventListeners","setupControlSizeWatcher","removeControlResizeAndScrollEventListeners","removeControlSizeWatcher","$portalTarget","portalTargetRect","offsetY","round","transformVariations","transform","body","portalTargetClass","portalTargetStyle","Menu","setup","teardown","createApp","parent","mount","innerHTML","$destroy","mixins","treeselectMixin","components","HiddenFields","Control","MenuPortal","Treeselect","nativeSlice","Constructor","fin","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","symbolTag"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,QACR,oBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIJ,GACe,kBAAZC,QACdA,QAAQ,mBAAqBD,EAAQG,QAAQ,QAE7CJ,EAAK,mBAAqBC,EAAQD,EAAK,SARzC,CASoB,qBAATO,KAAuBA,KAAOC,MAAO,SAASC,GACzD,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUV,QAGnC,IAAIC,EAASO,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHZ,QAAS,IAUV,OANAa,EAAQH,GAAUI,KAAKb,EAAOD,QAASC,EAAQA,EAAOD,QAASS,GAG/DR,EAAOW,GAAI,EAGJX,EAAOD,QA0Df,OArDAS,EAAoBM,EAAIF,EAGxBJ,EAAoBO,EAAIR,EAGxBC,EAAoBQ,EAAI,SAASjB,EAASkB,EAAMC,GAC3CV,EAAoBW,EAAEpB,EAASkB,IAClCG,OAAOC,eAAetB,EAASkB,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEV,EAAoBgB,EAAI,SAASzB,GACX,qBAAX0B,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAetB,EAAS0B,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAetB,EAAS,aAAc,CAAE4B,OAAO,KAQvDnB,EAAoBoB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQnB,EAAoBmB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,G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AAI7C,EAAKkG,EAAQ,IAAK,KACtB,QAASlG,EAAG+f,QAAU/f,EAAGI,KAAK,OAAsB,MAAbJ,EAAGiM,W,kCCN5CjP,EAAOD,QAAU,CACf+zC,YAAa,EACbC,oBAAqB,EACrBC,aAAc,EACdC,eAAgB,EAChBC,YAAa,EACbC,cAAe,EACfC,aAAc,EACdC,qBAAsB,EACtBC,SAAU,EACVC,kBAAmB,EACnBC,eAAgB,EAChBC,gBAAiB,EACjBC,kBAAmB,EACnBC,UAAW,EACXC,cAAe,EACfC,aAAc,EACdC,SAAU,EACVC,iBAAkB,EAClBC,OAAQ,EACRC,YAAa,EACbC,cAAe,EACfC,cAAe,EACfC,eAAgB,EAChBC,aAAc,EACdC,cAAe,EACfC,iBAAkB,EAClBC,iBAAkB,EAClBC,eAAgB,EAChBC,iBAAkB,EAClBC,cAAe,EACfC,UAAW,I,kCChCb,IAAI3vB,EAAgB,EAAQ,QAE5BjmB,EAAOD,QAAUkmB,IACXxkB,OAAOyE,MACkB,iBAAnBzE,OAAOyrB,U,qBCNnB,IAAI/b,EAAa,EAAQ,QACrB9H,EAAe,EAAQ,QAGvBwsC,EAAY,kBAmBhB,SAASh2B,EAASle,GAChB,MAAuB,iBAATA,GACX0H,EAAa1H,IAAUwP,EAAWxP,IAAUk0C,EAGjD71C,EAAOD,QAAU8f","file":"vue3-treeselect.umd.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"vue3-treeselect\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"vue3-treeselect\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__8bbf__) {\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 = \"fb15\");\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar anObject = require('../internals/an-object');\nvar toString = require('../internals/to-string');\n\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\n\nvar nativeTest = /./.test;\n\n// `RegExp.prototype.test` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.test\n$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {\n test: function (S) {\n var R = anObject(this);\n var string = toString(S);\n var exec = R.exec;\n if (!isCallable(exec)) return call(nativeTest, R, string);\n var result = call(exec, R, string);\n if (result === null) return false;\n anObject(result);\n return true;\n }\n});\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));\n return A;\n }\n});\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: FORCED }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw new $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nmodule.exports = function (argument) {\n return isObject(argument) || argument === null;\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var before = require('./before');\n\n/**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\nfunction once(func) {\n return before(2, func);\n}\n\nmodule.exports = once;\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\nvar global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = global[TARGET] && global[TARGET].prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, { unsafe: true });\n}\n","module.exports = isPromise;\nmodule.exports.default = isPromise;\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\n\nfunction fuzzysearch (needle, haystack) {\n var tlen = haystack.length;\n var qlen = needle.length;\n if (qlen > tlen) {\n return false;\n }\n if (qlen === tlen) {\n return needle === haystack;\n }\n outer: for (var i = 0, j = 0; i < qlen; i++) {\n var nch = needle.charCodeAt(i);\n while (j < tlen) {\n if (haystack.charCodeAt(j++) === nch) {\n continue outer;\n }\n }\n return false;\n }\n return true;\n}\n\nmodule.exports = fuzzysearch;\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw new $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar isPossiblePrototype = require('../internals/is-possible-prototype');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (isPossiblePrototype(argument)) return argument;\n throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\n// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {\n forEach: forEach\n});\n","'use strict';\nvar global = require('../internals/global');\n\nmodule.exports = global;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n if (length === 0) return !IS_INCLUDES && -1;\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n var fullUnicode;\n if (global) {\n fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n\n var results = [];\n var result;\n while (true) {\n result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n var replacement;\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar global = require('../internals/global');\nvar classof = require('../internals/classof-raw');\n\nmodule.exports = classof(global.process) === 'process';\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.test(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, [], argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\n// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n else object[key] = value;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') !== null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') !== null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = uncurryThis([].join);\n\nvar ES3_STRINGS = IndexedObject !== Object;\nvar FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: FORCED }, {\n join: function join(separator) {\n return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg) : false;\n var element, elementLen;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n elementLen = lengthOfArrayLike(element);\n targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;\n } else {\n doesNotExceedSafeInteger(targetIndex + 1);\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n setArrayLength(O, len - actualDeleteCount + insertCount);\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar path = require('../internals/path');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar stringSlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n // fast equal of /^0b[01]+$/i\n case 66:\n case 98:\n radix = 2;\n maxCode = 49;\n break;\n // fast equal of /^0o[0-7]+$/i\n case 79:\n case 111:\n radix = 8;\n maxCode = 55;\n break;\n default:\n return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\n\nvar nativeErrorToString = Error.prototype.toString;\n\nvar INCORRECT_TO_STRING = fails(function () {\n if (DESCRIPTORS) {\n // Chrome 32- incorrectly call accessor\n // eslint-disable-next-line es/no-object-create, es/no-object-defineproperty -- safe\n var object = Object.create(Object.defineProperty({}, 'name', { get: function () {\n return this === object;\n } }));\n if (nativeErrorToString.call(object) !== 'true') return true;\n }\n // FF10- does not properly handle non-strings\n return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'\n // IE8 does not properly handle defaults\n || nativeErrorToString.call({}) !== 'Error';\n});\n\nmodule.exports = INCORRECT_TO_STRING ? function toString() {\n var O = anObject(this);\n var name = normalizeStringArgument(O.name, 'Error');\n var message = normalizeStringArgument(O.message);\n return !name ? message : !message ? name : name + ': ' + message;\n} : nativeErrorToString;\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\nvar arraySlice = require('../internals/array-slice');\n\nvar floor = Math.floor;\n\nvar sort = function (array, comparefn) {\n var length = array.length;\n\n if (length < 8) {\n // insertion sort\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n }\n } else {\n // merge sort\n var middle = floor(length / 2);\n var left = sort(arraySlice(array, 0, middle), comparefn);\n var right = sort(arraySlice(array, middle), comparefn);\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n }\n }\n\n return array;\n};\n\nmodule.exports = sort;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE === 1;\n var IS_FILTER = TYPE === 2;\n var IS_SOME = TYPE === 3;\n var IS_EVERY = TYPE === 4;\n var IS_FIND_INDEX = TYPE === 6;\n var IS_FILTER_REJECT = TYPE === 7;\n var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(self);\n var boundFunction = bind(callbackfn, that);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n version: '3.37.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\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';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nmodule.exports = {};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar isObject = require('../internals/is-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n requireObjectCoercible(O);\n aPossiblePrototype(proto);\n if (!isObject(O)) return O;\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\nvar errorToString = require('../internals/error-to-string');\n\nvar ErrorPrototype = Error.prototype;\n\n// `Error.prototype.toString` method fix\n// https://tc39.es/ecma262/#sec-error.prototype.tostring\nif (ErrorPrototype.toString !== errorToString) {\n defineBuiltIn(ErrorPrototype, 'toString', errorToString);\n}\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\nvar REDUCE_EMPTY = 'Reduce of empty array with no initial value';\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n aCallable(callbackfn);\n if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw new $TypeError(REDUCE_EMPTY);\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegExp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) !== 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () {\n execCalled = true;\n return null;\n };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) };\n }\n return { done: true, value: call(nativeMethod, str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var toInteger = require('./toInteger');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\nfunction before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n}\n\nmodule.exports = before;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')('stringify detection');\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) !== '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) !== '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) !== '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = fails(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.es/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O, 'number');\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","\r\n\r\n\r\n","function _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nexport { _arrayWithHoles as default };","function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nexport { _iterableToArrayLimit as default };","function _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nexport { _arrayLikeToArray as default };","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;\n }\n}\nexport { _unsupportedIterableToArray as default };","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableRest as default };","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nfunction _slicedToArray(r, e) {\n return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();\n}\nexport { _slicedToArray as default };","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\nexport { _typeof as default };","import _typeof from \"./typeof.js\";\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nexport { toPrimitive as default };","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nexport { toPropertyKey as default };","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nfunction _arrayWithoutHoles(r) {\n if (Array.isArray(r)) return arrayLikeToArray(r);\n}\nexport { _arrayWithoutHoles as default };","function _iterableToArray(r) {\n if (\"undefined\" != typeof Symbol && null != r[Symbol.iterator] || null != r[\"@@iterator\"]) return Array.from(r);\n}\nexport { _iterableToArray as default };","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableSpread as default };","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nfunction _toConsumableArray(r) {\n return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread();\n}\nexport { _toConsumableArray as default };","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}\nexport { _objectSpread2 as default };","export function isNaN(x) {\r\n return x !== x\r\n}\r\n","export function includes(arrOrStr, elem) {\r\n return arrOrStr.indexOf(elem) !== -1\r\n}\r\n","export const createMap = () => Object.create(null)\r\n","export function quickDiff(arrA, arrB) {\r\n if (arrA.length !== arrB.length) return true\r\n\r\n for (let i = 0; i < arrA.length; i++) {\r\n if (arrA[i] !== arrB[i]) return true\r\n }\r\n\r\n return false\r\n}\r\n","import { noop } from './noop'\r\n\r\nexport const warning = process.env.NODE_ENV === 'production'\r\n ? /* istanbul ignore next */ noop\r\n : function warning(checker, complainer) {\r\n if (!checker()) {\r\n const message = [ '[Vue-Treeselect Warning]' ].concat(complainer())\r\n // eslint-disable-next-line no-console\r\n console.error(...message)\r\n }\r\n }\r\n","export function find(arr, predicate, ctx) {\r\n for (let i = 0, len = arr.length; i < len; i++) {\r\n if (predicate.call(ctx, arr[i], i, arr)) return arr[i]\r\n }\r\n return undefined\r\n}\r\n","export function onLeftClick(mouseDownHandler) {\r\n return function onMouseDown(evt, ...args) {\r\n if (evt.type === 'mousedown' && evt.button === 0) {\r\n mouseDownHandler.call(this, evt, ...args)\r\n }\r\n }\r\n}\r\n","// from react-select\r\nexport function scrollIntoView($scrollingEl, $focusedEl) {\r\n const scrollingReact = $scrollingEl.getBoundingClientRect()\r\n const focusedRect = $focusedEl.getBoundingClientRect()\r\n const overScroll = $focusedEl.offsetHeight / 3\r\n\r\n if (focusedRect.bottom + overScroll > scrollingReact.bottom) {\r\n $scrollingEl.scrollTop = Math.min(\r\n $focusedEl.offsetTop + $focusedEl.clientHeight - $scrollingEl.offsetHeight + overScroll,\r\n $scrollingEl.scrollHeight,\r\n )\r\n } else if (focusedRect.top - overScroll < scrollingReact.top) {\r\n $scrollingEl.scrollTop = Math.max($focusedEl.offsetTop - overScroll, 0)\r\n }\r\n}\r\n","export function removeFromArray(arr, elem) {\r\n const idx = arr.indexOf(elem)\r\n if (idx !== -1) arr.splice(idx, 1)\r\n}\r\n","// Magic value that indicates a root level node.\r\nexport const NO_PARENT_NODE = null\r\n\r\n// Types of checked state.\r\nexport const UNCHECKED = 0\r\nexport const INDETERMINATE = 1\r\nexport const CHECKED = 2\r\n\r\n// Types of count number.\r\nexport const ALL_CHILDREN = 'ALL_CHILDREN'\r\nexport const ALL_DESCENDANTS = 'ALL_DESCENDANTS'\r\nexport const LEAF_CHILDREN = 'LEAF_CHILDREN'\r\nexport const LEAF_DESCENDANTS = 'LEAF_DESCENDANTS'\r\n\r\n// Action types of delayed loading.\r\nexport const LOAD_ROOT_OPTIONS = 'LOAD_ROOT_OPTIONS'\r\nexport const LOAD_CHILDREN_OPTIONS = 'LOAD_CHILDREN_OPTIONS'\r\nexport const ASYNC_SEARCH = 'ASYNC_SEARCH'\r\n\r\n// Acceptable values of `valueConsistsOf` prop.\r\nexport const ALL = 'ALL'\r\nexport const BRANCH_PRIORITY = 'BRANCH_PRIORITY'\r\nexport const LEAF_PRIORITY = 'LEAF_PRIORITY'\r\nexport const ALL_WITH_INDETERMINATE = 'ALL_WITH_INDETERMINATE'\r\n\r\n// Acceptable values of `sortValueBy` prop.\r\nexport const ORDER_SELECTED = 'ORDER_SELECTED'\r\nexport const LEVEL = 'LEVEL'\r\nexport const INDEX = 'INDEX'\r\n\r\n// Key codes look-up table.\r\nexport const KEY_CODES = {\r\n BACKSPACE: 8,\r\n ENTER: 13,\r\n ESCAPE: 27,\r\n END: 35,\r\n HOME: 36,\r\n ARROW_LEFT: 37,\r\n ARROW_UP: 38,\r\n ARROW_RIGHT: 39,\r\n ARROW_DOWN: 40,\r\n DELETE: 46,\r\n}\r\n\r\n// Other constants.\r\nexport const INPUT_DEBOUNCE_DELAY = process.env.NODE_ENV === 'testing'\r\n ? /* to speed up unit testing */ 10\r\n : /* istanbul ignore next */ 200\r\nexport const MIN_INPUT_WIDTH = 5\r\nexport const MENU_BUFFER = 40\r\n","import fuzzysearch from 'fuzzysearch'\r\n\r\nimport {\r\n warning,\r\n onLeftClick, scrollIntoView,\r\n isNaN, isPromise, once,\r\n identity, constant, createMap,\r\n quickDiff, last as getLast, includes, find, removeFromArray,\r\n} from '../utils'\r\n\r\nimport {\r\n NO_PARENT_NODE,\r\n UNCHECKED, INDETERMINATE, CHECKED,\r\n LOAD_ROOT_OPTIONS, LOAD_CHILDREN_OPTIONS, ASYNC_SEARCH,\r\n ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE,\r\n ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS,\r\n ORDER_SELECTED, LEVEL, INDEX,\r\n} from '../constants'\r\n\r\nfunction sortValueByIndex(a, b) {\r\n let i = 0\r\n do {\r\n if (a.level < i) return -1\r\n if (b.level < i) return 1\r\n if (a.index[i] !== b.index[i]) return a.index[i] - b.index[i]\r\n i++\r\n } while (true)\r\n}\r\n\r\nfunction sortValueByLevel(a, b) {\r\n return a.level === b.level\r\n ? sortValueByIndex(a, b)\r\n : a.level - b.level\r\n}\r\n\r\nfunction createAsyncOptionsStates() {\r\n return {\r\n isLoaded: false,\r\n isLoading: false,\r\n loadingError: '',\r\n }\r\n}\r\n\r\nfunction stringifyOptionPropValue(value) {\r\n if (typeof value === 'string') return value\r\n if (typeof value === 'number' && !isNaN(value)) return value + ''\r\n // istanbul ignore next\r\n return ''\r\n}\r\n\r\nfunction match(enableFuzzyMatch, needle, haystack) {\r\n return enableFuzzyMatch\r\n ? fuzzysearch(needle, haystack)\r\n : includes(haystack, needle)\r\n}\r\n\r\nfunction getErrorMessage(err) {\r\n return err.message || /* istanbul ignore next */String(err)\r\n}\r\n\r\nlet instanceId = 0\r\n\r\nexport default {\r\n provide() {\r\n return {\r\n // Enable access to the instance of root component of vue-treeselect\r\n // across hierarchy.\r\n instance: this,\r\n }\r\n },\r\n\r\n props: {\r\n /**\r\n * Whether to allow resetting value even if there are disabled selected nodes.\r\n */\r\n allowClearingDisabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When an ancestor node is selected/deselected, whether its disabled descendants should be selected/deselected.\r\n * You may want to use this in conjunction with `allowClearingDisabled` prop.\r\n */\r\n allowSelectingDisabledDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether the menu should be always open.\r\n */\r\n alwaysOpen: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Append the menu to ?\r\n */\r\n appendToBody: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable async search mode.\r\n */\r\n async: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically focus the component on mount?\r\n */\r\n autoFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Automatically load root options on mount. When set to `false`, root options will be loaded when the menu is opened.\r\n */\r\n autoLoadRootOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its ancestors. Applies to flat mode only.\r\n */\r\n autoDeselectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user deselects a node, automatically deselect its descendants. Applies to flat mode only.\r\n */\r\n autoDeselectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its ancestors. Applies to flat mode only.\r\n */\r\n autoSelectAncestors: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * When user selects a node, automatically select its descendants. Applies to flat mode only.\r\n */\r\n autoSelectDescendants: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing backspace key removes the last item if there is no text input.\r\n */\r\n backspaceRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Function that processes before clearing all input fields.\r\n * Return `false` to prevent value from being cleared.\r\n * @type {function(): (boolean|Promise)}\r\n */\r\n beforeClearAll: {\r\n type: Function,\r\n default: constant(true),\r\n },\r\n\r\n /**\r\n * Show branch nodes before leaf nodes?\r\n */\r\n branchNodesFirst: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Should cache results of every search request?\r\n */\r\n cacheOptions: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Show an \"×\" button that resets value?\r\n */\r\n clearable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button when `multiple: true`.\r\n */\r\n clearAllText: {\r\n type: String,\r\n default: 'Clear all',\r\n },\r\n\r\n /**\r\n * Whether to clear the search input after selecting.\r\n * Use only when `multiple` is `true`.\r\n * For single-select mode, it **always** clears the input after selecting an option regardless of the prop value.\r\n */\r\n clearOnSelect: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Title for the \"×\" button.\r\n */\r\n clearValueText: {\r\n type: String,\r\n default: 'Clear value',\r\n },\r\n\r\n /**\r\n * Whether to close the menu after selecting an option?\r\n * Use only when `multiple` is `true`.\r\n */\r\n closeOnSelect: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * How many levels of branch nodes should be automatically expanded when loaded.\r\n * Set `Infinity` to make all branch nodes expanded by default.\r\n */\r\n defaultExpandLevel: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The default set of options to show before the user starts searching. Used for async search mode.\r\n * When set to `true`, the results for search query as a empty string will be autoloaded.\r\n * @type {boolean|node[]}\r\n */\r\n defaultOptions: {\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether pressing delete key removes the last item if there is no text input.\r\n */\r\n deleteRemoves: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Delimiter to use to join multiple values for the hidden field value.\r\n */\r\n delimiter: {\r\n type: String,\r\n default: ',',\r\n },\r\n\r\n /**\r\n * Only show the nodes that match the search value directly, excluding its ancestors.\r\n *\r\n * @type {Object}\r\n */\r\n flattenSearchResults: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Prevent branch nodes from being selected?\r\n */\r\n disableBranchNodes: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the control?\r\n */\r\n disabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Disable the fuzzy matching functionality?\r\n */\r\n disableFuzzyMatching: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Whether to enable flat mode or not. Non-flat mode (default) means:\r\n * - Whenever a branch node gets checked, all its children will be checked too\r\n * - Whenever a branch node has all children checked, the branch node itself will be checked too\r\n * Set `true` to disable this mechanism\r\n */\r\n flat: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Will be passed with all events as the last param.\r\n * Useful for identifying events origin.\r\n */\r\n instanceId: {\r\n // Add two trailing \"$\" to distinguish from explictly specified ids.\r\n default: () => `${instanceId++}$$`,\r\n type: [ String, Number ],\r\n },\r\n\r\n /**\r\n * Joins multiple values into a single form field with the `delimiter` (legacy mode).\r\n */\r\n joinValues: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Limit the display of selected options.\r\n * The rest will be hidden within the limitText string.\r\n */\r\n limit: {\r\n type: Number,\r\n default: Infinity,\r\n },\r\n\r\n /**\r\n * Function that processes the message shown when selected elements pass the defined limit.\r\n * @type {function(number): string}\r\n */\r\n limitText: {\r\n type: Function,\r\n default: function limitTextDefault(count) { // eslint-disable-line func-name-matching\r\n return `and ${count} more`\r\n },\r\n },\r\n\r\n /**\r\n * Text displayed when loading options.\r\n */\r\n loadingText: {\r\n type: String,\r\n default: 'Loading...',\r\n },\r\n\r\n /**\r\n * Used for dynamically loading options.\r\n * @type {function({action: string, callback: (function((Error|string)=): void), parentNode: node=, instanceId}): void}\r\n */\r\n loadOptions: {\r\n type: Function,\r\n },\r\n\r\n /**\r\n * Which node properties to filter on.\r\n */\r\n matchKeys: {\r\n type: Array,\r\n default: constant([ 'label' ]),\r\n },\r\n\r\n /**\r\n * Sets `maxHeight` style value of the menu.\r\n */\r\n maxHeight: {\r\n type: Number,\r\n default: 300,\r\n },\r\n\r\n /**\r\n * Set `true` to allow selecting multiple options (a.k.a., multi-select mode).\r\n */\r\n multiple: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Generates a hidden tag with this field name for html forms.\r\n */\r\n name: {\r\n type: String,\r\n },\r\n\r\n /**\r\n * Text displayed when a branch node has no children.\r\n */\r\n noChildrenText: {\r\n type: String,\r\n default: 'No sub-options.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no available options.\r\n */\r\n noOptionsText: {\r\n type: String,\r\n default: 'No options available.',\r\n },\r\n\r\n /**\r\n * Text displayed when there are no matching search results.\r\n */\r\n noResultsText: {\r\n type: String,\r\n default: 'No results found...',\r\n },\r\n\r\n /**\r\n * Used for normalizing source data.\r\n * @type {function(node, instanceId): node}\r\n */\r\n normalizer: {\r\n type: Function,\r\n default: identity,\r\n },\r\n\r\n /**\r\n * By default (`auto`), the menu will open below the control. If there is not\r\n * enough space, vue-treeselect will automatically flip the menu.\r\n * You can use one of other four options to force the menu to be always opened\r\n * to specified direction.\r\n * Acceptable values:\r\n * - `\"auto\"`\r\n * - `\"below\"`\r\n * - `\"bottom\"`\r\n * - `\"above\"`\r\n * - `\"top\"`\r\n */\r\n openDirection: {\r\n type: String,\r\n default: 'auto',\r\n validator(value) {\r\n const acceptableValues = [ 'auto', 'top', 'bottom', 'above', 'below' ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is clicked.\r\n */\r\n openOnClick: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Whether to automatically open the menu when the control is focused.\r\n */\r\n openOnFocus: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Array of available options.\r\n * @type {node[]}\r\n */\r\n options: {\r\n type: Array,\r\n },\r\n\r\n /**\r\n * Field placeholder, displayed when there's no value.\r\n */\r\n placeholder: {\r\n type: String,\r\n default: 'Select...',\r\n },\r\n\r\n /**\r\n * Applies HTML5 required attribute when needed.\r\n */\r\n required: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text displayed asking user whether to retry loading children options.\r\n */\r\n retryText: {\r\n type: String,\r\n default: 'Retry?',\r\n },\r\n\r\n /**\r\n * Title for the retry button.\r\n */\r\n retryTitle: {\r\n type: String,\r\n default: 'Click to retry',\r\n },\r\n\r\n /**\r\n * Enable searching feature?\r\n */\r\n searchable: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n\r\n /**\r\n * Search in ancestor nodes too.\r\n */\r\n searchNested: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Text tip to prompt for async search.\r\n */\r\n searchPromptText: {\r\n type: String,\r\n default: 'Type to search...',\r\n },\r\n\r\n /**\r\n * Whether to show a children count next to the label of each branch node.\r\n */\r\n showCount: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n\r\n /**\r\n * Used in conjunction with `showCount` to specify which type of count number should be displayed.\r\n * Acceptable values:\r\n * - \"ALL_CHILDREN\"\r\n * - \"ALL_DESCENDANTS\"\r\n * - \"LEAF_CHILDREN\"\r\n * - \"LEAF_DESCENDANTS\"\r\n */\r\n showCountOf: {\r\n type: String,\r\n default: ALL_CHILDREN,\r\n validator(value) {\r\n const acceptableValues = [ ALL_CHILDREN, ALL_DESCENDANTS, LEAF_CHILDREN, LEAF_DESCENDANTS ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Whether to show children count when searching.\r\n * Fallbacks to the value of `showCount` when not specified.\r\n * @type {boolean}\r\n */\r\n showCountOnSearch: null,\r\n\r\n /**\r\n * In which order the selected options should be displayed in trigger & sorted in `value` array.\r\n * Used for multi-select mode only.\r\n * Acceptable values:\r\n * - \"ORDER_SELECTED\"\r\n * - \"LEVEL\"\r\n * - \"INDEX\"\r\n */\r\n sortValueBy: {\r\n type: String,\r\n default: ORDER_SELECTED,\r\n validator(value) {\r\n const acceptableValues = [ ORDER_SELECTED, LEVEL, INDEX ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Tab index of the control.\r\n */\r\n tabIndex: {\r\n type: Number,\r\n default: 0,\r\n },\r\n\r\n /**\r\n * The value of the control.\r\n * Should be `id` or `node` object for single-select mode, or an array of `id` or `node` object for multi-select mode.\r\n * Its format depends on the `valueFormat` prop.\r\n * For most cases, just use `v-model` instead.\r\n * @type {?Array}\r\n */\r\n modelValue: null,\r\n\r\n /**\r\n * Which kind of nodes should be included in the `value` array in multi-select mode.\r\n * Acceptable values:\r\n * - \"ALL\" - Any node that is checked will be included in the `value` array\r\n * - \"BRANCH_PRIORITY\" (default) - If a branch node is checked, all its descendants will be excluded in the `value` array\r\n * - \"LEAF_PRIORITY\" - If a branch node is checked, this node itself and its branch descendants will be excluded from the `value` array but its leaf descendants will be included\r\n * - \"ALL_WITH_INDETERMINATE\" - Any node that is checked will be included in the `value` array, plus indeterminate nodes\r\n */\r\n valueConsistsOf: {\r\n type: String,\r\n default: BRANCH_PRIORITY,\r\n validator(value) {\r\n const acceptableValues = [ ALL, BRANCH_PRIORITY, LEAF_PRIORITY, ALL_WITH_INDETERMINATE ]\r\n return includes(acceptableValues, value)\r\n },\r\n },\r\n\r\n /**\r\n * Format of `value` prop.\r\n * Note that, when set to `\"object\"`, only `id` & `label` properties are required in each `node` object in `value` prop.\r\n * Acceptable values:\r\n * - \"id\"\r\n * - \"object\"\r\n */\r\n valueFormat: {\r\n type: String,\r\n default: 'id',\r\n },\r\n\r\n /**\r\n * z-index of the menu.\r\n */\r\n zIndex: {\r\n type: [ Number, String ],\r\n default: 999,\r\n },\r\n },\r\n\r\n data() {\r\n return {\r\n trigger: {\r\n // Is the control focused?\r\n isFocused: false,\r\n // User entered search query - value of the input.\r\n searchQuery: '',\r\n },\r\n\r\n menu: {\r\n // Is the menu opened?\r\n isOpen: false,\r\n // Id of current highlighted option.\r\n current: null,\r\n // The scroll position before last menu closing.\r\n lastScrollPosition: 0,\r\n // Which direction to open the menu.\r\n placement: 'bottom',\r\n },\r\n\r\n forest: {\r\n // Normalized options.\r\n normalizedOptions: [],\r\n // map for quick look-up.\r\n nodeMap: createMap(),\r\n // map, used for multi-select mode.\r\n checkedStateMap: createMap(),\r\n // Id list of all selected options.\r\n selectedNodeIds: this.extractCheckedNodeIdsFromValue(),\r\n // map for fast checking:\r\n // if (forest.selectedNodeIds.indexOf(id) !== -1) forest.selectedNodeMap[id] === true\r\n selectedNodeMap: createMap(),\r\n },\r\n\r\n // States of root options.\r\n rootOptionsStates: createAsyncOptionsStates(),\r\n\r\n localSearch: {\r\n // Has user entered any query to search local options?\r\n active: false,\r\n // Has any options matched the search query?\r\n noResults: true,\r\n // map for counting matched children/descendants.\r\n countMap: createMap(),\r\n },\r\n\r\n // map.\r\n remoteSearch: createMap(),\r\n }\r\n },\r\n\r\n computed: {\r\n /* eslint-disable valid-jsdoc */\r\n /**\r\n * Normalized nodes that have been selected.\r\n * @type {node[]}\r\n */\r\n selectedNodes() {\r\n return this.forest.selectedNodeIds.map(this.getNode)\r\n },\r\n /**\r\n * Id list of selected nodes with `sortValueBy` prop applied.\r\n * @type {nodeId[]}\r\n */\r\n internalValue() {\r\n let internalValue\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isRootNode) return true\r\n return !this.isSelected(node.parentNode)\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n internalValue = this.forest.selectedNodeIds.filter(id => {\r\n const node = this.getNode(id)\r\n if (node.isLeaf) return true\r\n return node.children.length === 0\r\n })\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const indeterminateNodeIds = []\r\n internalValue = this.forest.selectedNodeIds.slice()\r\n this.selectedNodes.forEach(selectedNode => {\r\n selectedNode.ancestors.forEach(ancestor => {\r\n if (includes(indeterminateNodeIds, ancestor.id)) return\r\n if (includes(internalValue, ancestor.id)) return\r\n indeterminateNodeIds.push(ancestor.id)\r\n })\r\n })\r\n internalValue.push(...indeterminateNodeIds)\r\n }\r\n\r\n if (this.sortValueBy === LEVEL) {\r\n internalValue.sort((a, b) => sortValueByLevel(this.getNode(a), this.getNode(b)))\r\n } else if (this.sortValueBy === INDEX) {\r\n internalValue.sort((a, b) => sortValueByIndex(this.getNode(a), this.getNode(b)))\r\n }\r\n\r\n return internalValue\r\n },\r\n /**\r\n * Has any option been selected?\r\n * @type {boolean}\r\n */\r\n hasValue() {\r\n return this.internalValue.length > 0\r\n },\r\n /**\r\n * Single-select mode?\r\n * @type {boolean}\r\n */\r\n single() {\r\n return !this.multiple\r\n },\r\n /**\r\n * Id list of nodes displayed in the menu. Nodes that are considered NOT visible:\r\n * - descendants of a collapsed branch node\r\n * - in local search mode, nodes that are not matched, unless\r\n * - it's a branch node and has matched descendants\r\n * - it's a leaf node and its parent node is explicitly set to show all children\r\n * @type {id[]}\r\n */\r\n visibleOptionIds() {\r\n const visibleOptionIds = []\r\n\r\n this.traverseAllNodesByIndex(node => {\r\n if (!this.localSearch.active || this.shouldOptionBeIncludedInSearchResult(node)) {\r\n visibleOptionIds.push(node.id)\r\n }\r\n // Skip the traversal of descendants of a branch node if it's not expanded.\r\n if (node.isBranch && !this.shouldExpand(node)) {\r\n return false\r\n }\r\n })\r\n\r\n return visibleOptionIds\r\n },\r\n /**\r\n * Has any option should be displayed in the menu?\r\n * @type {boolean}\r\n */\r\n hasVisibleOptions() {\r\n return this.visibleOptionIds.length !== 0\r\n },\r\n /**\r\n * Should show children count when searching?\r\n * @type {boolean}\r\n */\r\n showCountOnSearchComputed() {\r\n // Vue doesn't allow setting default prop value based on another prop value.\r\n // So use computed property as a workaround.\r\n // https://github.com/vuejs/vue/issues/6358\r\n return typeof this.showCountOnSearch === 'boolean'\r\n ? this.showCountOnSearch\r\n : this.showCount\r\n },\r\n /**\r\n * Is there any branch node?\r\n * @type {boolean}\r\n */\r\n hasBranchNodes() {\r\n return this.forest.normalizedOptions.some(rootNode => rootNode.isBranch)\r\n },\r\n shouldFlattenOptions() {\r\n return this.localSearch.active && this.flattenSearchResults\r\n },\r\n /* eslint-enable valid-jsdoc */\r\n },\r\n\r\n watch: {\r\n alwaysOpen(newValue) {\r\n if (newValue) this.openMenu()\r\n else this.closeMenu()\r\n },\r\n\r\n branchNodesFirst() {\r\n this.initialize()\r\n },\r\n\r\n disabled(newValue) {\r\n // force close the menu after disabling the control\r\n if (newValue && this.menu.isOpen) this.closeMenu()\r\n else if (!newValue && !this.menu.isOpen && this.alwaysOpen) this.openMenu()\r\n },\r\n\r\n flat() {\r\n this.initialize()\r\n },\r\n\r\n internalValue(newValue, oldValue) {\r\n const hasChanged = quickDiff(newValue, oldValue)\r\n // #122\r\n // Vue would trigger this watcher when `newValue` and `oldValue` are shallow-equal.\r\n // We emit the `input` event only when the value actually changes.\r\n if (hasChanged) this.$emit('update:modelValue', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n matchKeys() {\r\n this.initialize()\r\n },\r\n\r\n multiple(newValue) {\r\n // We need to rebuild the state when switching from single-select mode\r\n // to multi-select mode.\r\n // istanbul ignore else\r\n if (newValue) this.buildForestState()\r\n },\r\n\r\n options: {\r\n handler() {\r\n if (this.async) return\r\n // Re-initialize options when the `options` prop has changed.\r\n this.initialize()\r\n this.rootOptionsStates.isLoaded = Array.isArray(this.options)\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n\r\n 'trigger.searchQuery'() {\r\n if (this.async) {\r\n this.handleRemoteSearch()\r\n } else {\r\n this.handleLocalSearch()\r\n }\r\n\r\n this.$emit('search-change', this.trigger.searchQuery, this.getInstanceId())\r\n },\r\n\r\n value() {\r\n const nodeIdsFromValue = this.extractCheckedNodeIdsFromValue()\r\n const hasChanged = quickDiff(nodeIdsFromValue, this.internalValue)\r\n if (hasChanged) this.fixSelectedNodeIds(nodeIdsFromValue)\r\n },\r\n },\r\n\r\n methods: {\r\n verifyProps() {\r\n warning(\r\n () => this.async ? this.searchable : true,\r\n () => 'For async search mode, the value of \"searchable\" prop must be true.',\r\n )\r\n\r\n if (this.options == null && !this.loadOptions) {\r\n warning(\r\n () => false,\r\n () => 'Are you meant to dynamically load options? You need to use \"loadOptions\" prop.',\r\n )\r\n }\r\n\r\n if (this.flat) {\r\n warning(\r\n () => this.multiple,\r\n () => 'You are using flat mode. But you forgot to add \"multiple=true\"?',\r\n )\r\n }\r\n\r\n if (!this.flat) {\r\n const propNames = [\r\n 'autoSelectAncestors',\r\n 'autoSelectDescendants',\r\n 'autoDeselectAncestors',\r\n 'autoDeselectDescendants',\r\n ]\r\n\r\n propNames.forEach(propName => {\r\n warning(\r\n () => !this[propName],\r\n () => `\"${propName}\" only applies to flat mode.`,\r\n )\r\n })\r\n }\r\n },\r\n\r\n resetFlags() {\r\n this._blurOnSelect = false\r\n },\r\n\r\n initialize() {\r\n const options = this.async\r\n ? this.getRemoteSearchEntry().options\r\n : this.options\r\n\r\n if (Array.isArray(options)) {\r\n // In case we are re-initializing options, keep the old state tree temporarily.\r\n const prevNodeMap = this.forest.nodeMap\r\n this.forest.nodeMap = createMap()\r\n this.keepDataOfSelectedNodes(prevNodeMap)\r\n this.forest.normalizedOptions = this.normalize(NO_PARENT_NODE, options, prevNodeMap)\r\n // Cases that need fixing `selectedNodeIds`:\r\n // 1) Children options of a checked node have been delayed loaded,\r\n // we should also mark these children as checked. (multi-select mode)\r\n // 2) Root options have been delayed loaded, we need to initialize states\r\n // of these nodes. (multi-select mode)\r\n // 3) Async search mode.\r\n this.fixSelectedNodeIds(this.internalValue)\r\n } else {\r\n this.forest.normalizedOptions = []\r\n }\r\n },\r\n\r\n getInstanceId() {\r\n return this.instanceId == null ? this.id : this.instanceId\r\n },\r\n\r\n getValue() {\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.internalValue.slice()\r\n : this.internalValue[0]\r\n }\r\n\r\n const rawNodes = this.internalValue.map(id => this.getNode(id).raw)\r\n return this.multiple ? rawNodes : rawNodes[0]\r\n },\r\n\r\n getNode(nodeId) {\r\n warning(\r\n () => nodeId != null,\r\n () => `Invalid node id: ${nodeId}`,\r\n )\r\n\r\n if (nodeId == null) return null\r\n\r\n return nodeId in this.forest.nodeMap\r\n ? this.forest.nodeMap[nodeId]\r\n : this.createFallbackNode(nodeId)\r\n },\r\n\r\n createFallbackNode(id) {\r\n // In case there is a default selected node that is not loaded into the tree yet,\r\n // we create a fallback node to keep the component working.\r\n // When the real data is loaded, we'll override this fake node.\r\n\r\n const raw = this.extractNodeFromValue(id)\r\n const label = this.enhancedNormalizer(raw).label || `${id} (unknown)`\r\n const fallbackNode = {\r\n id,\r\n label,\r\n ancestors: [],\r\n parentNode: NO_PARENT_NODE,\r\n isFallbackNode: true,\r\n isRootNode: true,\r\n isLeaf: true,\r\n isBranch: false,\r\n isDisabled: false,\r\n childrenIgnoreDisabled: false,\r\n isNew: false,\r\n index: [ -1 ],\r\n level: 0,\r\n raw,\r\n }\r\n\r\n return this.forest.nodeMap[id] = fallbackNode\r\n // return this.$ set(this.forest.nodeMap, id, fallbackNode)\r\n },\r\n\r\n extractCheckedNodeIdsFromValue() {\r\n if (this.modelValue == null) return []\r\n\r\n if (this.valueFormat === 'id') {\r\n return this.multiple\r\n ? this.modelValue.slice()\r\n : [ this.modelValue ]\r\n }\r\n\r\n return (this.multiple ? this.modelValue : [ this.modelValue ])\r\n .map(node => this.enhancedNormalizer(node))\r\n .map(node => node.id)\r\n },\r\n\r\n extractNodeFromValue(id) {\r\n const defaultNode = { id }\r\n\r\n if (this.valueFormat === 'id') {\r\n return defaultNode\r\n }\r\n\r\n const valueArray = this.multiple\r\n ? Array.isArray(this.modelValue) ? this.modelValue : []\r\n : this.modelValue ? [ this.modelValue ] : []\r\n const matched = find(\r\n valueArray,\r\n node => node && this.enhancedNormalizer(node).id === id,\r\n )\r\n\r\n return matched || defaultNode\r\n },\r\n\r\n fixSelectedNodeIds(nodeIdListOfPrevValue) {\r\n let nextSelectedNodeIds = []\r\n\r\n // istanbul ignore else\r\n if (this.single || this.flat || this.disableBranchNodes || this.valueConsistsOf === ALL) {\r\n nextSelectedNodeIds = nodeIdListOfPrevValue\r\n } else if (this.valueConsistsOf === BRANCH_PRIORITY) {\r\n nodeIdListOfPrevValue.forEach(nodeId => {\r\n nextSelectedNodeIds.push(nodeId)\r\n const node = this.getNode(nodeId)\r\n if (node.isBranch) this.traverseDescendantsBFS(node, descendant => {\r\n nextSelectedNodeIds.push(descendant.id)\r\n })\r\n })\r\n } else if (this.valueConsistsOf === LEAF_PRIORITY) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.slice()\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n } else if (this.valueConsistsOf === ALL_WITH_INDETERMINATE) {\r\n const map = createMap()\r\n const queue = nodeIdListOfPrevValue.filter(nodeId => {\r\n const node = this.getNode(nodeId)\r\n return node.isLeaf || node.children.length === 0\r\n })\r\n while (queue.length) {\r\n const nodeId = queue.shift()\r\n const node = this.getNode(nodeId)\r\n nextSelectedNodeIds.push(nodeId)\r\n if (node.isRootNode) continue\r\n if (!(node.parentNode.id in map)) map[node.parentNode.id] = node.parentNode.children.length\r\n if (--map[node.parentNode.id] === 0) queue.push(node.parentNode.id)\r\n }\r\n }\r\n\r\n const hasChanged = quickDiff(this.forest.selectedNodeIds, nextSelectedNodeIds)\r\n // If `nextSelectedNodeIds` doesn't actually differ from old `selectedNodeIds`,\r\n // we don't make the assignment to avoid triggering its watchers which may cause\r\n // unnecessary calculations.\r\n if (hasChanged) this.forest.selectedNodeIds = nextSelectedNodeIds\r\n\r\n this.buildForestState()\r\n },\r\n\r\n keepDataOfSelectedNodes(prevNodeMap) {\r\n // In case there is any selected node that is not present in the new `options` array.\r\n // It could be useful for async search mode.\r\n this.forest.selectedNodeIds.forEach(id => {\r\n if (!prevNodeMap[id]) return\r\n const node = {\r\n ...prevNodeMap[id],\r\n isFallbackNode: true,\r\n }\r\n // this.$ set(this.forest.nodeMap, id, node)\r\n this.forest.nodeMap[id] = node\r\n })\r\n },\r\n\r\n isSelected(node) {\r\n // whether a node is selected (single-select mode) or fully-checked (multi-select mode)\r\n return this.forest.selectedNodeMap[node.id] === true\r\n },\r\n\r\n traverseDescendantsBFS(parentNode, callback) {\r\n // istanbul ignore if\r\n if (!parentNode.isBranch) return\r\n const queue = parentNode.children.slice()\r\n while (queue.length) {\r\n const currNode = queue[0]\r\n if (currNode.isBranch) queue.push(...currNode.children)\r\n callback(currNode)\r\n queue.shift()\r\n }\r\n },\r\n\r\n traverseDescendantsDFS(parentNode, callback) {\r\n if (!parentNode.isBranch) return\r\n parentNode.children.forEach(child => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(child, callback)\r\n callback(child)\r\n })\r\n },\r\n\r\n traverseAllNodesDFS(callback) {\r\n this.forest.normalizedOptions.forEach(rootNode => {\r\n // deep-level node first\r\n this.traverseDescendantsDFS(rootNode, callback)\r\n callback(rootNode)\r\n })\r\n },\r\n\r\n traverseAllNodesByIndex(callback) {\r\n const walk = parentNode => {\r\n parentNode.children.forEach(child => {\r\n if (callback(child) !== false && child.isBranch) {\r\n walk(child)\r\n }\r\n })\r\n }\r\n\r\n // To simplify the code logic of traversal,\r\n // we create a fake root node that holds all the root options.\r\n walk({ children: this.forest.normalizedOptions })\r\n },\r\n\r\n toggleClickOutsideEvent(enabled) {\r\n if (enabled) {\r\n document.addEventListener('mousedown', this.handleClickOutside, false)\r\n } else {\r\n document.removeEventListener('mousedown', this.handleClickOutside, false)\r\n }\r\n },\r\n\r\n getValueContainer() {\r\n return this.$refs.control.$refs['value-container']\r\n },\r\n\r\n getInput() {\r\n return this.getValueContainer().$refs.input\r\n },\r\n\r\n focusInput() {\r\n this.getInput().focus()\r\n },\r\n\r\n blurInput() {\r\n this.getInput().blur()\r\n },\r\n\r\n handleMouseDown: onLeftClick(function handleMouseDown(evt) {\r\n evt.preventDefault()\r\n evt.stopPropagation()\r\n\r\n if (this.disabled) return\r\n\r\n const isClickedOnValueContainer = this.getValueContainer().$el.contains(evt.target)\r\n if (isClickedOnValueContainer && !this.menu.isOpen && (this.openOnClick || this.trigger.isFocused)) {\r\n this.openMenu()\r\n }\r\n\r\n if (this._blurOnSelect) {\r\n this.blurInput()\r\n } else {\r\n // Focus the input or prevent blurring.\r\n this.focusInput()\r\n }\r\n\r\n this.resetFlags()\r\n }),\r\n\r\n handleClickOutside(evt) {\r\n // istanbul ignore else\r\n if (this.$refs.wrapper && !this.$refs.wrapper.contains(evt.target)) {\r\n this.blurInput()\r\n this.closeMenu()\r\n }\r\n },\r\n\r\n handleLocalSearch() {\r\n const { searchQuery } = this.trigger\r\n const done = () => this.resetHighlightedOptionWhenNecessary(true)\r\n\r\n if (!searchQuery) {\r\n // Exit sync search mode.\r\n this.localSearch.active = false\r\n return done()\r\n }\r\n\r\n // Enter sync search mode.\r\n this.localSearch.active = true\r\n\r\n // Reset states.\r\n this.localSearch.noResults = true\r\n this.traverseAllNodesDFS(node => {\r\n if (node.isBranch) {\r\n node.isExpandedOnSearch = false\r\n node.showAllChildrenOnSearch = false\r\n node.isMatched = false\r\n node.hasMatchedDescendants = false\r\n\r\n this.localSearch.countMap[node.id] = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(this.localSearch.countMap, node.id, {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n }\r\n })\r\n\r\n const lowerCasedSearchQuery = searchQuery.trim().toLocaleLowerCase()\r\n const splitSearchQuery = lowerCasedSearchQuery.replace(/\\s+/g, ' ').split(' ')\r\n this.traverseAllNodesDFS(node => {\r\n if (this.searchNested && splitSearchQuery.length > 1) {\r\n node.isMatched = splitSearchQuery.every(filterValue =>\r\n match(false, filterValue, node.nestedSearchLabel),\r\n )\r\n } else {\r\n node.isMatched = this.matchKeys.some(matchKey =>\r\n match(!this.disableFuzzyMatching, lowerCasedSearchQuery, node.lowerCased[matchKey]),\r\n )\r\n }\r\n\r\n if (node.isMatched) {\r\n this.localSearch.noResults = false\r\n node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][ALL_DESCENDANTS]++)\r\n if (node.isLeaf) node.ancestors.forEach(ancestor => this.localSearch.countMap[ancestor.id][LEAF_DESCENDANTS]++)\r\n if (node.parentNode !== NO_PARENT_NODE) {\r\n this.localSearch.countMap[node.parentNode.id][ALL_CHILDREN] += 1\r\n // istanbul ignore else\r\n if (node.isLeaf) this.localSearch.countMap[node.parentNode.id][LEAF_CHILDREN] += 1\r\n }\r\n }\r\n\r\n if (\r\n (node.isMatched || (node.isBranch && node.isExpandedOnSearch)) &&\r\n node.parentNode !== NO_PARENT_NODE\r\n ) {\r\n node.parentNode.isExpandedOnSearch = true\r\n node.parentNode.hasMatchedDescendants = true\r\n }\r\n })\r\n\r\n done()\r\n },\r\n\r\n handleRemoteSearch() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.getRemoteSearchEntry()\r\n const done = () => {\r\n this.initialize()\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n }\r\n\r\n if ((searchQuery === '' || this.cacheOptions) && entry.isLoaded) {\r\n return done()\r\n }\r\n\r\n this.callLoadOptionsProp({\r\n action: ASYNC_SEARCH,\r\n args: { searchQuery },\r\n isPending() {\r\n return entry.isLoading\r\n },\r\n start: () => {\r\n entry.isLoading = true\r\n entry.isLoaded = false\r\n entry.loadingError = ''\r\n },\r\n succeed: options => {\r\n entry.isLoaded = true\r\n entry.options = options\r\n // When the request completes, the search query may have changed.\r\n // We only show these options if they are for the current search query.\r\n if (this.trigger.searchQuery === searchQuery) done()\r\n },\r\n fail: err => {\r\n entry.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n entry.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n getRemoteSearchEntry() {\r\n const { searchQuery } = this.trigger\r\n const entry = this.remoteSearch[searchQuery] || {\r\n ...createAsyncOptionsStates(),\r\n options: [],\r\n }\r\n\r\n // Vue doesn't support directly watching on objects.\r\n this.$watch(\r\n () => entry.options,\r\n () => {\r\n // TODO: potential redundant re-initialization.\r\n if (this.trigger.searchQuery === searchQuery) this.initialize()\r\n },\r\n { deep: true },\r\n )\r\n\r\n if (searchQuery === '') {\r\n if (Array.isArray(this.defaultOptions)) {\r\n entry.options = this.defaultOptions\r\n entry.isLoaded = true\r\n return entry\r\n } else if (this.defaultOptions !== true) {\r\n entry.isLoaded = true\r\n return entry\r\n }\r\n }\r\n\r\n if (!this.remoteSearch[searchQuery]) {\r\n // this.$ set(this.remoteSearch, searchQuery, entry)\r\n this.remoteSearch[searchQuery] = entry;\r\n }\r\n\r\n return entry\r\n },\r\n\r\n shouldExpand(node) {\r\n return this.localSearch.active ? node.isExpandedOnSearch : node.isExpanded\r\n },\r\n\r\n shouldOptionBeIncludedInSearchResult(node) {\r\n // 1) This option is matched.\r\n if (node.isMatched) return true\r\n // 2) This option is not matched, but has matched descendant(s).\r\n if (node.isBranch && node.hasMatchedDescendants && !this.flattenSearchResults) return true\r\n // 3) This option's parent has no matched descendants,\r\n // but after being expanded, all its children should be shown.\r\n if (!node.isRootNode && node.parentNode.showAllChildrenOnSearch) return true\r\n // 4) The default case.\r\n return false\r\n },\r\n\r\n shouldShowOptionInMenu(node) {\r\n if (this.localSearch.active && !this.shouldOptionBeIncludedInSearchResult(node)) {\r\n return false\r\n }\r\n return true\r\n },\r\n\r\n getControl() {\r\n return this.$refs.control.$el\r\n },\r\n\r\n getMenu() {\r\n const ref = this.appendToBody ? this.$refs.portal.portalTarget : this\r\n const $menu = ref.$refs.menu.$refs.menu\r\n return $menu && $menu.nodeName !== '#comment' ? $menu : null\r\n },\r\n\r\n setCurrentHighlightedOption(node, scroll = true) {\r\n const prev = this.menu.current\r\n if (prev != null && prev in this.forest.nodeMap) {\r\n this.forest.nodeMap[prev].isHighlighted = false\r\n }\r\n\r\n this.menu.current = node.id\r\n node.isHighlighted = true\r\n\r\n if (this.menu.isOpen && scroll) {\r\n const scrollToOption = () => {\r\n const $menu = this.getMenu()\r\n const $option = $menu.querySelector(`.vue-treeselect__option[data-id=\"${node.id}\"]`)\r\n if ($option) scrollIntoView($menu, $option)\r\n }\r\n\r\n // In case `openMenu()` is just called and the menu is not rendered yet.\r\n if (this.getMenu()) {\r\n scrollToOption()\r\n } else {\r\n // istanbul ignore next\r\n this.$nextTick(scrollToOption)\r\n }\r\n }\r\n },\r\n\r\n resetHighlightedOptionWhenNecessary(forceReset = false) {\r\n const { current } = this.menu\r\n\r\n if (\r\n forceReset || current == null ||\r\n !(current in this.forest.nodeMap) ||\r\n !this.shouldShowOptionInMenu(this.getNode(current))\r\n ) {\r\n this.highlightFirstOption()\r\n }\r\n },\r\n\r\n highlightFirstOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const first = this.visibleOptionIds[0]\r\n this.setCurrentHighlightedOption(this.getNode(first))\r\n },\r\n\r\n highlightPrevOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const prev = this.visibleOptionIds.indexOf(this.menu.current) - 1\r\n if (prev === -1) return this.highlightLastOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[prev]))\r\n },\r\n\r\n highlightNextOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const next = this.visibleOptionIds.indexOf(this.menu.current) + 1\r\n if (next === this.visibleOptionIds.length) return this.highlightFirstOption()\r\n this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[next]))\r\n },\r\n\r\n highlightLastOption() {\r\n if (!this.hasVisibleOptions) return\r\n\r\n const last = getLast(this.visibleOptionIds)\r\n this.setCurrentHighlightedOption(this.getNode(last))\r\n },\r\n\r\n resetSearchQuery() {\r\n this.trigger.searchQuery = ''\r\n },\r\n\r\n closeMenu() {\r\n if (!this.menu.isOpen || (!this.disabled && this.alwaysOpen)) return\r\n this.saveMenuScrollPosition()\r\n this.menu.isOpen = false\r\n this.toggleClickOutsideEvent(false)\r\n this.resetSearchQuery()\r\n this.$emit('close', this.getValue(), this.getInstanceId())\r\n },\r\n\r\n openMenu() {\r\n if (this.disabled || this.menu.isOpen) return\r\n this.menu.isOpen = true\r\n this.$nextTick(this.resetHighlightedOptionWhenNecessary)\r\n this.$nextTick(this.restoreMenuScrollPosition)\r\n if (!this.options && !this.async) this.loadRootOptions()\r\n this.toggleClickOutsideEvent(true)\r\n this.$emit('open', this.getInstanceId())\r\n },\r\n\r\n toggleMenu() {\r\n if (this.menu.isOpen) {\r\n this.closeMenu()\r\n } else {\r\n this.openMenu()\r\n }\r\n },\r\n\r\n toggleExpanded(node) {\r\n let nextState\r\n\r\n if (this.localSearch.active) {\r\n nextState = node.isExpandedOnSearch = !node.isExpandedOnSearch\r\n if (nextState) node.showAllChildrenOnSearch = true\r\n } else {\r\n nextState = node.isExpanded = !node.isExpanded\r\n }\r\n\r\n if (nextState && !node.childrenStates.isLoaded) {\r\n this.loadChildrenOptions(node)\r\n }\r\n },\r\n\r\n buildForestState() {\r\n const selectedNodeMap = createMap()\r\n this.forest.selectedNodeIds.forEach(selectedNodeId => {\r\n selectedNodeMap[selectedNodeId] = true\r\n })\r\n this.forest.selectedNodeMap = selectedNodeMap\r\n\r\n const checkedStateMap = createMap()\r\n if (this.multiple) {\r\n this.traverseAllNodesByIndex(node => {\r\n checkedStateMap[node.id] = UNCHECKED\r\n })\r\n\r\n this.selectedNodes.forEach(selectedNode => {\r\n checkedStateMap[selectedNode.id] = CHECKED\r\n\r\n if (!this.flat && !this.disableBranchNodes) {\r\n selectedNode.ancestors.forEach(ancestorNode => {\r\n if (!this.isSelected(ancestorNode)) {\r\n checkedStateMap[ancestorNode.id] = INDETERMINATE\r\n }\r\n })\r\n }\r\n })\r\n }\r\n this.forest.checkedStateMap = checkedStateMap\r\n },\r\n\r\n enhancedNormalizer(raw) {\r\n return {\r\n ...raw,\r\n ...this.normalizer(raw, this.getInstanceId()),\r\n }\r\n },\r\n\r\n normalize(parentNode, nodes, prevNodeMap) {\r\n let normalizedOptions = nodes\r\n .map(node => [ this.enhancedNormalizer(node), node ])\r\n .map(([ node, raw ], index) => {\r\n this.checkDuplication(node)\r\n this.verifyNodeShape(node)\r\n\r\n const { id, label, children, isDefaultExpanded } = node\r\n const isRootNode = parentNode === NO_PARENT_NODE\r\n const level = isRootNode ? 0 : parentNode.level + 1\r\n const isBranch = Array.isArray(children) || children === null\r\n const isLeaf = !isBranch\r\n const childrenIgnoreDisabled = node.childrenIgnoreDisabled\r\n const isDisabled = !!node.isDisabled || (!this.flat && !isRootNode && parentNode.isDisabled && !parentNode.childrenIgnoreDisabled) \r\n const isNew = !!node.isNew\r\n const lowerCased = this.matchKeys.reduce((prev, key) => ({\r\n ...prev,\r\n [key]: stringifyOptionPropValue(node[key]).toLocaleLowerCase(),\r\n }), {})\r\n const nestedSearchLabel = isRootNode\r\n ? lowerCased.label\r\n : parentNode.nestedSearchLabel + ' ' + lowerCased.label\r\n\r\n // this.$ set(this.forest.nodeMap, id, createMap())\r\n this.forest.nodeMap[id] = createMap();\r\n\r\n const normalized = this.forest.nodeMap[id];\r\n\r\n normalized.id = id;\r\n normalized.label = label;\r\n normalized.level = level;\r\n normalized.ancestors = isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors);\r\n normalized.index = (isRootNode ? [] : parentNode.index).concat(index);\r\n normalized.parentNode = parentNode;\r\n normalized.lowerCased = lowerCased;\r\n normalized.nestedSearchLabel = nestedSearchLabel;\r\n normalized.childrenIgnoreDisabled = childrenIgnoreDisabled;\r\n normalized.isDisabled = isDisabled;\r\n normalized.isNew = isNew;\r\n normalized.isMatched = false;\r\n normalized.isHighlighted = false;\r\n normalized.isBranch = isBranch;\r\n normalized.isLeaf = isLeaf;\r\n normalized.isRootNode = isRootNode;\r\n normalized.raw = raw;\r\n\r\n // this.$ set(normalized, 'id', id)\r\n // this.$ set(normalized, 'label', label)\r\n // this.$ set(normalized, 'level', level)\r\n // this.$ set(normalized, 'ancestors', isRootNode ? [] : [ parentNode ].concat(parentNode.ancestors))\r\n // this.$ set(normalized, 'index', (isRootNode ? [] : parentNode.index).concat(index))\r\n // this.$ set(normalized, 'parentNode', parentNode)\r\n // this.$ set(normalized, 'lowerCased', lowerCased)\r\n // this.$ set(normalized, 'nestedSearchLabel', nestedSearchLabel)\r\n // this.$ set(normalized, 'isDisabled', isDisabled)\r\n // this.$ set(normalized, 'isNew', isNew)\r\n // this.$ set(normalized, 'isMatched', false)\r\n // this.$ set(normalized, 'isHighlighted', false)\r\n // this.$ set(normalized, 'isBranch', isBranch)\r\n // this.$ set(normalized, 'isLeaf', isLeaf)\r\n // this.$ set(normalized, 'isRootNode', isRootNode)\r\n // this.$ set(normalized, 'raw', raw)\r\n\r\n if (isBranch) {\r\n const isLoaded = Array.isArray(children)\r\n\r\n // this.$ set(normalized, 'childrenStates', {\r\n // ...createAsyncOptionsStates(),\r\n // isLoaded,\r\n // })\r\n normalized.childrenStates = {...createAsyncOptionsStates(),isLoaded}\r\n \r\n // this.$ set(normalized, 'isExpanded', typeof isDefaultExpanded === 'boolean'\r\n // ? isDefaultExpanded\r\n // : level < this.defaultExpandLevel)\r\n normalized.isExpanded = typeof isDefaultExpanded === 'boolean' ? isDefaultExpanded : level < this.defaultExpandLevel;\r\n \r\n // this.$ set(normalized, 'hasMatchedDescendants', false)\r\n // this.$ set(normalized, 'hasDisabledDescendants', false)\r\n // this.$ set(normalized, 'isExpandedOnSearch', false)\r\n // this.$ set(normalized, 'showAllChildrenOnSearch', false)\r\n // this.$ set(normalized, 'count', {\r\n // [ALL_CHILDREN]: 0,\r\n // [ALL_DESCENDANTS]: 0,\r\n // [LEAF_CHILDREN]: 0,\r\n // [LEAF_DESCENDANTS]: 0,\r\n // })\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.hasMatchedDescendants = false;\r\n normalized.hasDisabledDescendants = false;\r\n normalized.isExpandedOnSearch = false;\r\n normalized.showAllChildrenOnSearch = false;\r\n normalized.count = {\r\n [ALL_CHILDREN]: 0,\r\n [ALL_DESCENDANTS]: 0,\r\n [LEAF_CHILDREN]: 0,\r\n [LEAF_DESCENDANTS]: 0,\r\n }\r\n\r\n // this.$ set(normalized, 'children', isLoaded\r\n // ? this.normalize(normalized, children, prevNodeMap)\r\n // : [])\r\n normalized.children = isLoaded ? this.normalize(normalized, children, prevNodeMap) :[];\r\n\r\n if (isDefaultExpanded === true) normalized.ancestors.forEach(ancestor => {\r\n ancestor.isExpanded = true\r\n })\r\n\r\n if (!isLoaded && typeof this.loadOptions !== 'function') {\r\n warning(\r\n () => false,\r\n () => 'Unloaded branch node detected. \"loadOptions\" prop is required to load its children.',\r\n )\r\n } else if (!isLoaded && normalized.isExpanded) {\r\n this.loadChildrenOptions(normalized)\r\n }\r\n }\r\n\r\n normalized.ancestors.forEach(ancestor => ancestor.count[ALL_DESCENDANTS]++)\r\n if (isLeaf) normalized.ancestors.forEach(ancestor => ancestor.count[LEAF_DESCENDANTS]++)\r\n if (!isRootNode) {\r\n parentNode.count[ALL_CHILDREN] += 1\r\n if (isLeaf) parentNode.count[LEAF_CHILDREN] += 1\r\n if (isDisabled) parentNode.hasDisabledDescendants = true\r\n }\r\n\r\n // Preserve previous states.\r\n if (prevNodeMap && prevNodeMap[id]) {\r\n const prev = prevNodeMap[id]\r\n\r\n normalized.isMatched = prev.isMatched\r\n normalized.showAllChildrenOnSearch = prev.showAllChildrenOnSearch\r\n normalized.isHighlighted = prev.isHighlighted\r\n\r\n if (prev.isBranch && normalized.isBranch) {\r\n normalized.isExpanded = prev.isExpanded\r\n normalized.isExpandedOnSearch = prev.isExpandedOnSearch\r\n // #97\r\n // If `isLoaded` was true, but IS NOT now, we consider this branch node\r\n // to be reset to unloaded state by the user of this component.\r\n if (prev.childrenStates.isLoaded && !normalized.childrenStates.isLoaded) {\r\n // Make sure the node is collapsed, then the user can load its\r\n // children again (by expanding).\r\n normalized.isExpanded = false\r\n // We have reset `childrenStates` and don't want to preserve states here.\r\n } else {\r\n normalized.childrenStates = { ...prev.childrenStates }\r\n }\r\n }\r\n }\r\n\r\n return normalized\r\n })\r\n\r\n if (this.branchNodesFirst) {\r\n const branchNodes = normalizedOptions.filter(option => option.isBranch)\r\n const leafNodes = normalizedOptions.filter(option => option.isLeaf)\r\n normalizedOptions = branchNodes.concat(leafNodes)\r\n }\r\n\r\n return normalizedOptions\r\n },\r\n\r\n loadRootOptions() {\r\n this.callLoadOptionsProp({\r\n action: LOAD_ROOT_OPTIONS,\r\n isPending: () => {\r\n return this.rootOptionsStates.isLoading\r\n },\r\n start: () => {\r\n this.rootOptionsStates.isLoading = true\r\n this.rootOptionsStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.rootOptionsStates.isLoaded = true\r\n // Wait for `options` being re-initialized.\r\n this.$nextTick(() => {\r\n this.resetHighlightedOptionWhenNecessary(true)\r\n })\r\n },\r\n fail: err => {\r\n this.rootOptionsStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.rootOptionsStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n loadChildrenOptions(parentNode) {\r\n // The options may be re-initialized anytime during the loading process.\r\n // So `parentNode` can be stale and we use `getNode()` to avoid that.\r\n\r\n const { id, raw } = parentNode\r\n\r\n this.callLoadOptionsProp({\r\n action: LOAD_CHILDREN_OPTIONS,\r\n args: {\r\n // We always pass the raw node instead of the normalized node to any\r\n // callback provided by the user of this component.\r\n // Because the shape of the raw node is more likely to be closing to\r\n // what the back-end API service of the application needs.\r\n parentNode: raw,\r\n },\r\n isPending: () => {\r\n return this.getNode(id).childrenStates.isLoading\r\n },\r\n start: () => {\r\n this.getNode(id).childrenStates.isLoading = true\r\n this.getNode(id).childrenStates.loadingError = ''\r\n },\r\n succeed: () => {\r\n this.getNode(id).childrenStates.isLoaded = true\r\n },\r\n fail: err => {\r\n this.getNode(id).childrenStates.loadingError = getErrorMessage(err)\r\n },\r\n end: () => {\r\n this.getNode(id).childrenStates.isLoading = false\r\n },\r\n })\r\n },\r\n\r\n callLoadOptionsProp({ action, args, isPending, start, succeed, fail, end }) {\r\n if (!this.loadOptions || isPending()) {\r\n return\r\n }\r\n\r\n start()\r\n\r\n const callback = once((err, result) => {\r\n if (err) {\r\n fail(err)\r\n } else {\r\n succeed(result)\r\n }\r\n\r\n end()\r\n })\r\n const result = this.loadOptions({\r\n id: this.getInstanceId(),\r\n instanceId: this.getInstanceId(),\r\n action,\r\n ...args,\r\n callback,\r\n })\r\n\r\n if (isPromise(result)) {\r\n result.then(() => {\r\n callback()\r\n }, err => {\r\n callback(err)\r\n }).catch(err => {\r\n // istanbul ignore next\r\n console.error(err)\r\n })\r\n }\r\n },\r\n\r\n checkDuplication(node) {\r\n warning(\r\n () => !((node.id in this.forest.nodeMap) && !this.forest.nodeMap[node.id].isFallbackNode),\r\n () => `Detected duplicate presence of node id ${JSON.stringify(node.id)}. ` +\r\n `Their labels are \"${this.forest.nodeMap[node.id].label}\" and \"${node.label}\" respectively.`,\r\n )\r\n },\r\n\r\n verifyNodeShape(node) {\r\n warning(\r\n () => !(node.children === undefined && node.isBranch === true),\r\n () => 'Are you meant to declare an unloaded branch node? ' +\r\n '`isBranch: true` is no longer supported, please use `children: null` instead.',\r\n )\r\n },\r\n\r\n select(node) {\r\n if (this.disabled || node.isDisabled) {\r\n return\r\n }\r\n\r\n if (this.single) {\r\n this.clear()\r\n }\r\n\r\n const nextState = this.multiple && !this.flat\r\n ? this.forest.checkedStateMap[node.id] === UNCHECKED\r\n : !this.isSelected(node)\r\n\r\n if (nextState) {\r\n this._selectNode(node)\r\n } else {\r\n this._deselectNode(node)\r\n }\r\n\r\n this.buildForestState()\r\n\r\n if (nextState) {\r\n this.$emit('select', node.raw, this.getInstanceId())\r\n } else {\r\n this.$emit('deselect', node.raw, this.getInstanceId())\r\n }\r\n\r\n if (this.localSearch.active && nextState && (this.single || this.clearOnSelect)) {\r\n this.resetSearchQuery()\r\n }\r\n\r\n if (this.single && this.closeOnSelect) {\r\n this.closeMenu()\r\n\r\n // istanbul ignore else\r\n if (this.searchable) {\r\n this._blurOnSelect = true\r\n }\r\n }\r\n },\r\n\r\n clear() {\r\n if (this.hasValue) {\r\n if (this.single || this.allowClearingDisabled) {\r\n this.forest.selectedNodeIds = []\r\n } else /* if (this.multiple && !this.allowClearingDisabled) */ {\r\n this.forest.selectedNodeIds = this.forest.selectedNodeIds.filter(nodeId =>\r\n this.getNode(nodeId).isDisabled,\r\n )\r\n }\r\n\r\n this.buildForestState()\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _selectNode(node) {\r\n if (this.single || this.disableBranchNodes) {\r\n return this.addValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.addValue(node)\r\n\r\n if (this.autoSelectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (!this.isSelected(ancestor) && !ancestor.isDisabled) this.addValue(ancestor)\r\n })\r\n } else if (this.autoSelectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!this.isSelected(descendant) && !descendant.isDisabled) this.addValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n const isFullyChecked = (\r\n node.isLeaf ||\r\n (/* node.isBranch && */!node.hasDisabledDescendants) ||\r\n (/* node.isBranch && */this.allowSelectingDisabledDescendants)\r\n )\r\n if (isFullyChecked) {\r\n this.addValue(node)\r\n }\r\n\r\n if (node.isBranch) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.addValue(descendant)\r\n }\r\n })\r\n }\r\n\r\n if (isFullyChecked) {\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (curr.children.every(this.isSelected) && !curr.childrenIgnoreDisabled) this.addValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n // This is meant to be called only by `select()`.\r\n _deselectNode(node) {\r\n if (this.disableBranchNodes) {\r\n return this.removeValue(node)\r\n }\r\n\r\n if (this.flat) {\r\n this.removeValue(node)\r\n\r\n if (this.autoDeselectAncestors) {\r\n node.ancestors.forEach(ancestor => {\r\n if (this.isSelected(ancestor) && !ancestor.isDisabled) this.removeValue(ancestor)\r\n })\r\n } else if (this.autoDeselectDescendants) {\r\n this.traverseDescendantsBFS(node, descendant => {\r\n if (this.isSelected(descendant) && !descendant.isDisabled) this.removeValue(descendant)\r\n })\r\n }\r\n\r\n return\r\n }\r\n\r\n let hasUncheckedSomeDescendants = false\r\n if (node.isBranch) {\r\n this.traverseDescendantsDFS(node, descendant => {\r\n if (!descendant.isDisabled || this.allowSelectingDisabledDescendants) {\r\n this.removeValue(descendant)\r\n hasUncheckedSomeDescendants = true\r\n }\r\n })\r\n }\r\n\r\n if (\r\n node.isLeaf ||\r\n /* node.isBranch && */hasUncheckedSomeDescendants ||\r\n /* node.isBranch && */node.children.length === 0\r\n ) {\r\n this.removeValue(node)\r\n\r\n let curr = node\r\n while ((curr = curr.parentNode) !== NO_PARENT_NODE) {\r\n if (this.isSelected(curr)) this.removeValue(curr)\r\n else break\r\n }\r\n }\r\n },\r\n\r\n addValue(node) {\r\n this.forest.selectedNodeIds.push(node.id)\r\n this.forest.selectedNodeMap[node.id] = true\r\n },\r\n\r\n removeValue(node) {\r\n removeFromArray(this.forest.selectedNodeIds, node.id)\r\n delete this.forest.selectedNodeMap[node.id]\r\n },\r\n\r\n removeLastValue() {\r\n if (!this.hasValue) return\r\n if (this.single) return this.clear()\r\n const lastValue = getLast(this.internalValue)\r\n const lastSelectedNode = this.getNode(lastValue)\r\n this.select(lastSelectedNode) // deselect\r\n },\r\n\r\n saveMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) this.menu.lastScrollPosition = $menu.scrollTop\r\n },\r\n\r\n restoreMenuScrollPosition() {\r\n const $menu = this.getMenu()\r\n // istanbul ignore else\r\n if ($menu) $menu.scrollTop = this.menu.lastScrollPosition\r\n },\r\n },\r\n\r\n created() {\r\n this.verifyProps()\r\n this.resetFlags()\r\n },\r\n\r\n mounted() {\r\n if (this.autoFocus) this.focusInput()\r\n if (!this.options && !this.async && this.autoLoadRootOptions) this.loadRootOptions()\r\n if (this.alwaysOpen) this.openMenu()\r\n if (this.async && this.defaultOptions) this.handleRemoteSearch()\r\n },\r\n\r\n unmounted() {\r\n // istanbul ignore next\r\n this.toggleClickOutsideEvent(false)\r\n },\r\n}\r\n","\r\n","import script from \"./HiddenFields.vue?vue&type=script&lang=js\"\nexport * from \"./HiddenFields.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","function isPlainObject(value) {\r\n if (value == null || typeof value !== 'object') return false\r\n return Object.getPrototypeOf(value) === Object.prototype\r\n}\r\n\r\nfunction copy(obj, key, value) {\r\n if (isPlainObject(value)) {\r\n obj[key] || (obj[key] = {})\r\n deepExtend(obj[key], value)\r\n } else {\r\n obj[key] = value\r\n }\r\n}\r\n\r\nexport function deepExtend(target, source) {\r\n if (isPlainObject(source)) {\r\n const keys = Object.keys(source)\r\n\r\n for (let i = 0, len = keys.length; i < len; i++) {\r\n copy(target, keys[i], source[keys[i]])\r\n }\r\n }\r\n\r\n return target\r\n}\r\n","\r\n","import script from \"./Input.vue?vue&type=script&lang=js\"\nexport * from \"./Input.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./Placeholder.vue?vue&type=script&lang=js\"\nexport * from \"./Placeholder.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./SingleValue.vue?vue&type=script&lang=js\"\nexport * from \"./SingleValue.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./Delete.vue?vue&type=template&id=12b4a02e\"\nimport script from \"./Delete.vue?vue&type=script&lang=js\"\nexport * from \"./Delete.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\sohali\\\\vue3-treeselect\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n","import script from \"./MultiValueItem.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValueItem.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./MultiValue.vue?vue&type=script&lang=js\"\nexport * from \"./MultiValue.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n\r\n\r\n","import { render } from \"./Arrow.vue?vue&type=template&id=5d5151cb\"\nimport script from \"./Arrow.vue?vue&type=script&lang=js\"\nexport * from \"./Arrow.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\sohali\\\\vue3-treeselect\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n","import script from \"./Control.vue?vue&type=script&lang=js\"\nexport * from \"./Control.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import watchSizeForBrowsersOtherThanIE9 from 'watch-size'\r\nimport { removeFromArray } from './removeFromArray'\r\n\r\nlet intervalId\r\nconst registered = []\r\nconst INTERVAL_DURATION = 100\r\n\r\nfunction run() {\r\n intervalId = setInterval(() => {\r\n registered.forEach(test)\r\n }, INTERVAL_DURATION)\r\n}\r\n\r\nfunction stop() {\r\n clearInterval(intervalId)\r\n intervalId = null\r\n}\r\n\r\nfunction test(item) {\r\n const { $el, listener, lastWidth, lastHeight } = item\r\n const width = $el.offsetWidth\r\n const height = $el.offsetHeight\r\n\r\n if (lastWidth !== width || lastHeight !== height) {\r\n item.lastWidth = width\r\n item.lastHeight = height\r\n\r\n listener({ width, height })\r\n }\r\n}\r\n\r\nfunction watchSizeForIE9($el, listener) {\r\n const item = {\r\n $el,\r\n listener,\r\n lastWidth: null,\r\n lastHeight: null,\r\n }\r\n const unwatch = () => {\r\n removeFromArray(registered, item)\r\n if (!registered.length) stop()\r\n }\r\n\r\n registered.push(item)\r\n // The original watch-size will call the listener on initialization.\r\n // Keep the same behavior here.\r\n test(item)\r\n run()\r\n\r\n return unwatch\r\n}\r\n\r\nexport function watchSize($el, listener) {\r\n // See: https://stackoverflow.com/a/31293352\r\n const isIE9 = document.documentMode === 9\r\n // watch-size will call the listener on initialization.\r\n // Disable this behavior with a lock to achieve a clearer code logic.\r\n let locked = true\r\n const wrappedListener = (...args) => locked || listener(...args)\r\n const implementation = isIE9\r\n ? watchSizeForIE9\r\n : watchSizeForBrowsersOtherThanIE9\r\n const removeSizeWatcher = implementation($el, wrappedListener)\r\n locked = false // unlock after initialization\r\n\r\n return removeSizeWatcher\r\n}\r\n","var index = (function (element, listener) {\n\tvar expand = document.createElement('_');\n\tvar shrink = expand.appendChild(document.createElement('_'));\n\tvar expandChild = expand.appendChild(document.createElement('_'));\n\tvar shrinkChild = shrink.appendChild(document.createElement('_'));\n\n\tvar lastWidth = void 0,\n\t lastHeight = void 0;\n\n\tshrink.style.cssText = expand.style.cssText = 'height:100%;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;transition:0s;width:100%;z-index:-1';\n\tshrinkChild.style.cssText = expandChild.style.cssText = 'display:block;height:100%;transition:0s;width:100%';\n\tshrinkChild.style.width = shrinkChild.style.height = '200%';\n\n\telement.appendChild(expand);\n\n\ttest();\n\n\treturn stop;\n\n\tfunction test() {\n\t\tunbind();\n\n\t\tvar width = element.offsetWidth;\n\t\tvar height = element.offsetHeight;\n\n\t\tif (width !== lastWidth || height !== lastHeight) {\n\t\t\tlastWidth = width;\n\t\t\tlastHeight = height;\n\n\t\t\texpandChild.style.width = width * 2 + 'px';\n\t\t\texpandChild.style.height = height * 2 + 'px';\n\n\t\t\texpand.scrollLeft = expand.scrollWidth;\n\t\t\texpand.scrollTop = expand.scrollHeight;\n\t\t\tshrink.scrollLeft = shrink.scrollWidth;\n\t\t\tshrink.scrollTop = shrink.scrollHeight;\n\n\t\t\tlistener({ width: width, height: height });\n\t\t}\n\n\t\tshrink.addEventListener('scroll', test);\n\t\texpand.addEventListener('scroll', test);\n\t}\n\n\tfunction unbind() {\n\t\tshrink.removeEventListener('scroll', test);\n\t\texpand.removeEventListener('scroll', test);\n\t}\n\n\tfunction stop() {\n\t\tunbind();\n\n\t\telement.removeChild(expand);\n\t}\n});\n\nexport default index;\n","function findScrollParents($el) {\r\n const $scrollParents = []\r\n let $parent = $el.parentNode\r\n\r\n while ($parent && $parent.nodeName !== 'BODY' && $parent.nodeType === document.ELEMENT_NODE) {\r\n if (isScrollElment($parent)) $scrollParents.push($parent)\r\n $parent = $parent.parentNode\r\n }\r\n $scrollParents.push(window)\r\n\r\n return $scrollParents\r\n}\r\n\r\nfunction isScrollElment($el) {\r\n // Firefox wants us to check `-x` and `-y` variations as well\r\n const { overflow, overflowX, overflowY } = getComputedStyle($el)\r\n return /(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)\r\n}\r\n\r\nexport function setupResizeAndScrollEventListeners($el, listener) {\r\n const $scrollParents = findScrollParents($el)\r\n\r\n window.addEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach(scrollParent => {\r\n scrollParent.addEventListener('scroll', listener, { passive: true })\r\n })\r\n\r\n return function removeEventListeners() {\r\n window.removeEventListener('resize', listener, { passive: true })\r\n $scrollParents.forEach($scrollParent => {\r\n $scrollParent.removeEventListener('scroll', listener, { passive: true })\r\n })\r\n }\r\n}\r\n","\r\n","import script from \"./Tip.vue?vue&type=script&lang=js\"\nexport * from \"./Tip.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","","import script from \"./Option.vue?vue&type=script&lang=js\"\nexport * from \"./Option.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./Menu.vue?vue&type=script&lang=js\"\nexport * from \"./Menu.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\n","import script from \"./MenuPortal.vue?vue&type=script&lang=js\"\nexport * from \"./MenuPortal.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Treeselect.vue?vue&type=template&id=4fa337e8\"\nimport script from \"./Treeselect.vue?vue&type=script&lang=js\"\nexport * from \"./Treeselect.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\sohali\\\\vue3-treeselect\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import Treeselect from './components/Treeselect'\r\nimport treeselectMixin from './mixins/treeselectMixin'\r\nimport '../styles/style.less'\r\n\r\nexport default Treeselect\r\nexport { Treeselect, treeselectMixin }\r\nexport {\r\n // Delayed loading.\r\n LOAD_ROOT_OPTIONS,\r\n LOAD_CHILDREN_OPTIONS,\r\n ASYNC_SEARCH,\r\n} from './constants'\r\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.test('\\n') && re.flags === 's');\n});\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/app.css b/docs/app.css index eaed562..91abd7c 100644 --- a/docs/app.css +++ b/docs/app.css @@ -1 +1 @@ -.vue-treeselect-helper-hide{display:none}.vue-treeselect-helper-zoom-effect-off{-webkit-transform:none !important;transform:none !important}@-webkit-keyframes vue-treeselect-animation-fade-in{0%{opacity:0}}@keyframes vue-treeselect-animation-fade-in{0%{opacity:0}}@-webkit-keyframes vue-treeselect-animation-bounce{0%,to{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes vue-treeselect-animation-bounce{0%,to{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes vue-treeselect-animation-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes vue-treeselect-animation-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.vue-treeselect__multi-value-item--transition-enter-active,.vue-treeselect__multi-value-item--transition-leave-active{-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}.vue-treeselect__multi-value-item--transition-enter-active{-webkit-transition-timing-function:cubic-bezier(0.075, 0.82, 0.165, 1);transition-timing-function:cubic-bezier(0.075, 0.82, 0.165, 1)}.vue-treeselect__multi-value-item--transition-leave-active{-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);position:absolute}.vue-treeselect__multi-value-item--transition-enter,.vue-treeselect__multi-value-item--transition-leave-to{-webkit-transform:scale(0.7);transform:scale(0.7);opacity:0}.vue-treeselect__multi-value-item--transition-move{-webkit-transition:-webkit-transform .2s cubic-bezier(0.165, 0.84, 0.44, 1);transition:-webkit-transform .2s cubic-bezier(0.165, 0.84, 0.44, 1);transition:transform .2s cubic-bezier(0.165, 0.84, 0.44, 1);transition:transform .2s cubic-bezier(0.165, 0.84, 0.44, 1),-webkit-transform .2s cubic-bezier(0.165, 0.84, 0.44, 1)}.vue-treeselect{position:relative;text-align:left}[dir=rtl] .vue-treeselect{text-align:right}.vue-treeselect div,.vue-treeselect span{box-sizing:border-box}.vue-treeselect svg{fill:currentColor}.vue-treeselect__control{padding-left:5px;padding-right:5px;display:table;table-layout:fixed;width:100%;height:36px;border:1px solid #ddd;border-radius:5px;background:#fff;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:border-color,box-shadow,width,height,background-color,opacity;transition-property:border-color,box-shadow,width,height,background-color,opacity;-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.vue-treeselect:not(.vue-treeselect--disabled):not(.vue-treeselect--focused) .vue-treeselect__control:hover{border-color:#cfcfcf}.vue-treeselect--focused:not(.vue-treeselect--open) .vue-treeselect__control{border-color:#039be5;box-shadow:0 0 0 3px rgba(3,155,229,.1)}.vue-treeselect--disabled .vue-treeselect__control{background-color:#f9f9f9}.vue-treeselect--open .vue-treeselect__control{border-color:#cfcfcf}.vue-treeselect--open.vue-treeselect--open-below .vue-treeselect__control{border-bottom-left-radius:0;border-bottom-right-radius:0}.vue-treeselect--open.vue-treeselect--open-above .vue-treeselect__control{border-top-left-radius:0;border-top-right-radius:0}.vue-treeselect__multi-value,.vue-treeselect__value-container{width:100%;vertical-align:middle}.vue-treeselect__value-container{display:table-cell;position:relative}.vue-treeselect--searchable:not(.vue-treeselect--disabled) .vue-treeselect__value-container{cursor:text}.vue-treeselect__multi-value{display:inline-block}.vue-treeselect--has-value .vue-treeselect__multi-value{margin-bottom:5px}.vue-treeselect__placeholder,.vue-treeselect__single-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:5px;padding-right:5px;position:absolute;top:0;right:0;bottom:0;left:0;line-height:34px;-webkit-user-select:none;user-select:none;pointer-events:none}.vue-treeselect__placeholder{color:#bdbdbd}.vue-treeselect__single-value{color:#333}.vue-treeselect--focused.vue-treeselect--searchable .vue-treeselect__single-value{color:#bdbdbd}.vue-treeselect--disabled .vue-treeselect__single-value{position:static}.vue-treeselect__multi-value-item-container{display:inline-block;padding-top:5px;padding-right:5px;vertical-align:top}[dir=rtl] .vue-treeselect__multi-value-item-container{padding-right:0;padding-left:5px}.vue-treeselect__multi-value-item{display:inline-table;padding:2px 0;border:1px solid transparent;border-radius:2px;font-size:12px;vertical-align:top}.vue-treeselect:not(.vue-treeselect--disabled) .vue-treeselect__multi-value-item:not(.vue-treeselect__multi-value-item-disabled):hover .vue-treeselect__multi-value-item:not(.vue-treeselect__multi-value-item-new) .vue-treeselect__multi-value-item:not(.vue-treeselect__multi-value-item-new):hover,.vue-treeselect__multi-value-item{cursor:pointer;background:#e3f2fd;color:#039be5}.vue-treeselect__multi-value-item.vue-treeselect__multi-value-item-disabled{cursor:default;background:#f5f5f5;color:#757575}.vue-treeselect--disabled .vue-treeselect__multi-value-item{cursor:default;background:#fff;border-color:#e5e5e5;color:#555}.vue-treeselect__multi-value-item.vue-treeselect__multi-value-item-new,.vue-treeselect__multi-value-item.vue-treeselect__multi-value-item-new:hover{background:#e8f5e9}.vue-treeselect__multi-value-label,.vue-treeselect__value-remove{display:table-cell;padding:0 5px;vertical-align:middle}.vue-treeselect__value-remove{color:#039be5;padding-left:5px;border-left:1px solid #fff;line-height:0}[dir=rtl] .vue-treeselect__value-remove{border-left:0 none;border-right:1px solid #fff}.vue-treeselect__multi-value-item:hover .vue-treeselect__value-remove{color:#e53935}.vue-treeselect--disabled .vue-treeselect__value-remove,.vue-treeselect__multi-value-item-disabled .vue-treeselect__value-remove{display:none}.vue-treeselect__value-remove>svg{width:6px;height:6px}.vue-treeselect__multi-value-label{padding-right:5px;white-space:pre-line;-webkit-user-select:none;user-select:none}.vue-treeselect__limit-tip{display:inline-block;padding-top:5px;padding-right:5px;vertical-align:top}[dir=rtl] .vue-treeselect__limit-tip{padding-right:0;padding-left:5px}.vue-treeselect__limit-tip-text{cursor:default;display:block;margin:2px 0;padding:1px 0;color:#bdbdbd;font-size:12px;font-weight:600}.vue-treeselect__input-container{display:block;max-width:100%;outline:none}.vue-treeselect--single .vue-treeselect__input-container{font-size:inherit;height:100%}.vue-treeselect--multi .vue-treeselect__input-container{display:inline-block;font-size:12px;vertical-align:top}.vue-treeselect--searchable .vue-treeselect__input-container{padding-left:5px;padding-right:5px}.vue-treeselect--searchable.vue-treeselect--multi.vue-treeselect--has-value .vue-treeselect__input-container{padding-top:5px;padding-left:0}[dir=rtl] .vue-treeselect--searchable.vue-treeselect--multi.vue-treeselect--has-value .vue-treeselect__input-container{padding-left:5px;padding-right:0}.vue-treeselect--disabled .vue-treeselect__input-container{display:none}.vue-treeselect__input,.vue-treeselect__sizer{margin:0;line-height:inherit;font-family:inherit;font-size:inherit}.vue-treeselect__input{max-width:100%;margin:0;padding:0;border:0;outline:none;box-sizing:initial;box-shadow:none;background:none transparent;line-height:1;vertical-align:middle}.vue-treeselect__input::-ms-clear{display:none}.vue-treeselect--single .vue-treeselect__input{width:100%;height:100%}.vue-treeselect--multi .vue-treeselect__input{padding-top:3px;padding-bottom:3px}.vue-treeselect--has-value .vue-treeselect__input{line-height:inherit;vertical-align:top}.vue-treeselect__sizer{position:absolute;top:0;left:0;visibility:hidden;height:0;overflow:scroll;white-space:pre}.vue-treeselect__x-container{display:table-cell;vertical-align:middle;width:20px;text-align:center;line-height:0;cursor:pointer;color:#ccc;-webkit-animation:vue-treeselect-animation-fade-in .2s cubic-bezier(0.075, 0.82, 0.165, 1);animation:vue-treeselect-animation-fade-in .2s cubic-bezier(0.075, 0.82, 0.165, 1)}.vue-treeselect__x-container:hover{color:#e53935}.vue-treeselect__x{width:8px;height:8px}.vue-treeselect__control-arrow-container{display:table-cell;vertical-align:middle;width:20px;text-align:center;line-height:0;cursor:pointer}.vue-treeselect--disabled .vue-treeselect__control-arrow-container{cursor:default}.vue-treeselect__control-arrow{width:9px;height:9px;color:#ccc}.vue-treeselect:not(.vue-treeselect--disabled) .vue-treeselect__control-arrow-container:hover .vue-treeselect__control-arrow{color:#616161}.vue-treeselect--disabled .vue-treeselect__control-arrow{opacity:.35}.vue-treeselect__control-arrow--rotated{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vue-treeselect__menu-container{position:absolute;left:0;width:100%;overflow:visible;-webkit-transition:0s;transition:0s}.vue-treeselect--open-below:not(.vue-treeselect--append-to-body) .vue-treeselect__menu-container{top:100%}.vue-treeselect--open-above:not(.vue-treeselect--append-to-body) .vue-treeselect__menu-container{bottom:100%}.vue-treeselect__menu{cursor:default;padding-top:5px;padding-bottom:5px;display:block;position:absolute;overflow-x:hidden;overflow-y:auto;width:auto;border:1px solid #cfcfcf;background:#fff;line-height:180%;-webkit-overflow-scrolling:touch}.vue-treeselect--open-below .vue-treeselect__menu{border-bottom-left-radius:5px;border-bottom-right-radius:5px;top:0;margin-top:-1px;border-top-color:#f2f2f2;box-shadow:0 1px 0 rgba(0,0,0,.06)}.vue-treeselect--open-above .vue-treeselect__menu{border-top-left-radius:5px;border-top-right-radius:5px;bottom:0;margin-bottom:-1px;border-bottom-color:#f2f2f2}.vue-treeselect__indent-level-0 .vue-treeselect__option{padding-left:5px}[dir=rtl] .vue-treeselect__indent-level-0 .vue-treeselect__option{padding-left:5px;padding-right:5px}.vue-treeselect__indent-level-0 .vue-treeselect__tip{padding-left:25px}[dir=rtl] .vue-treeselect__indent-level-0 .vue-treeselect__tip{padding-left:5px;padding-right:25px}.vue-treeselect__indent-level-1 .vue-treeselect__option{padding-left:25px}[dir=rtl] .vue-treeselect__indent-level-1 .vue-treeselect__option{padding-left:5px;padding-right:25px}.vue-treeselect__indent-level-1 .vue-treeselect__tip{padding-left:45px}[dir=rtl] .vue-treeselect__indent-level-1 .vue-treeselect__tip{padding-left:5px;padding-right:45px}.vue-treeselect__indent-level-2 .vue-treeselect__option{padding-left:45px}[dir=rtl] .vue-treeselect__indent-level-2 .vue-treeselect__option{padding-left:5px;padding-right:45px}.vue-treeselect__indent-level-2 .vue-treeselect__tip{padding-left:65px}[dir=rtl] .vue-treeselect__indent-level-2 .vue-treeselect__tip{padding-left:5px;padding-right:65px}.vue-treeselect__indent-level-3 .vue-treeselect__option{padding-left:65px}[dir=rtl] .vue-treeselect__indent-level-3 .vue-treeselect__option{padding-left:5px;padding-right:65px}.vue-treeselect__indent-level-3 .vue-treeselect__tip{padding-left:85px}[dir=rtl] .vue-treeselect__indent-level-3 .vue-treeselect__tip{padding-left:5px;padding-right:85px}.vue-treeselect__indent-level-4 .vue-treeselect__option{padding-left:85px}[dir=rtl] .vue-treeselect__indent-level-4 .vue-treeselect__option{padding-left:5px;padding-right:85px}.vue-treeselect__indent-level-4 .vue-treeselect__tip{padding-left:105px}[dir=rtl] .vue-treeselect__indent-level-4 .vue-treeselect__tip{padding-left:5px;padding-right:105px}.vue-treeselect__indent-level-5 .vue-treeselect__option{padding-left:105px}[dir=rtl] .vue-treeselect__indent-level-5 .vue-treeselect__option{padding-left:5px;padding-right:105px}.vue-treeselect__indent-level-5 .vue-treeselect__tip{padding-left:125px}[dir=rtl] .vue-treeselect__indent-level-5 .vue-treeselect__tip{padding-left:5px;padding-right:125px}.vue-treeselect__indent-level-6 .vue-treeselect__option{padding-left:125px}[dir=rtl] .vue-treeselect__indent-level-6 .vue-treeselect__option{padding-left:5px;padding-right:125px}.vue-treeselect__indent-level-6 .vue-treeselect__tip{padding-left:145px}[dir=rtl] .vue-treeselect__indent-level-6 .vue-treeselect__tip{padding-left:5px;padding-right:145px}.vue-treeselect__indent-level-7 .vue-treeselect__option{padding-left:145px}[dir=rtl] .vue-treeselect__indent-level-7 .vue-treeselect__option{padding-left:5px;padding-right:145px}.vue-treeselect__indent-level-7 .vue-treeselect__tip{padding-left:165px}[dir=rtl] .vue-treeselect__indent-level-7 .vue-treeselect__tip{padding-left:5px;padding-right:165px}.vue-treeselect__indent-level-8 .vue-treeselect__option{padding-left:165px}[dir=rtl] .vue-treeselect__indent-level-8 .vue-treeselect__option{padding-left:5px;padding-right:165px}.vue-treeselect__indent-level-8 .vue-treeselect__tip{padding-left:185px}[dir=rtl] .vue-treeselect__indent-level-8 .vue-treeselect__tip{padding-left:5px;padding-right:185px}.vue-treeselect__option{padding-left:5px;padding-right:5px;display:table;table-layout:fixed;width:100%}.vue-treeselect__option--highlight{background:#f5f5f5}.vue-treeselect--single .vue-treeselect__option--selected{background:#e3f2fd;font-weight:600}.vue-treeselect--single .vue-treeselect__option--selected:hover{background:#e3f2fd}.vue-treeselect__option--hide{display:none}.vue-treeselect__option-arrow-container,.vue-treeselect__option-arrow-placeholder{display:table-cell;vertical-align:middle;width:20px;text-align:center;line-height:0}.vue-treeselect__option-arrow-container{cursor:pointer}.vue-treeselect__option-arrow{display:inline-block;width:9px;height:9px;color:#ccc;vertical-align:middle;-webkit-transition:-webkit-transform .2s cubic-bezier(0.19, 1, 0.22, 1);transition:-webkit-transform .2s cubic-bezier(0.19, 1, 0.22, 1);transition:transform .2s cubic-bezier(0.19, 1, 0.22, 1);transition:transform .2s cubic-bezier(0.19, 1, 0.22, 1),-webkit-transform .2s cubic-bezier(0.19, 1, 0.22, 1);-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .vue-treeselect__option-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.vue-treeselect--branch-nodes-disabled .vue-treeselect__option:hover .vue-treeselect__option-arrow,.vue-treeselect__option-arrow-container:hover .vue-treeselect__option-arrow{color:#616161}.vue-treeselect__option-arrow--rotated,[dir=rtl] .vue-treeselect__option-arrow--rotated{-webkit-transform:rotate(0);transform:rotate(0)}.vue-treeselect__option-arrow--rotated.vue-treeselect__option-arrow--prepare-enter{-webkit-transform:rotate(-90deg) !important;transform:rotate(-90deg) !important}[dir=rtl] .vue-treeselect__option-arrow--rotated.vue-treeselect__option-arrow--prepare-enter{-webkit-transform:rotate(90deg) !important;transform:rotate(90deg) !important}.vue-treeselect__label-container{display:table-cell;vertical-align:middle;cursor:pointer;display:table;width:100%;table-layout:fixed;color:inherit}.vue-treeselect__option--disabled .vue-treeselect__label-container{cursor:not-allowed;color:rgba(0,0,0,.25)}.vue-treeselect__checkbox-container{display:table-cell;width:20px;min-width:20px;height:100%;text-align:center;vertical-align:middle}.vue-treeselect__checkbox{display:block;margin:auto;width:12px;height:12px;border-width:1px;border-style:solid;border-radius:2px;position:relative;-webkit-transition:all .2s cubic-bezier(0.075, 0.82, 0.165, 1);transition:all .2s cubic-bezier(0.075, 0.82, 0.165, 1)}.vue-treeselect__check-mark,.vue-treeselect__minus-mark{display:block;position:absolute;left:1px;top:1px;background-repeat:no-repeat;opacity:0;-webkit-transition:all .2s ease;transition:all .2s ease}.vue-treeselect__minus-mark{width:8px;height:8px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAgMAAAC5YVYYAAAACVBMVEUAAAD///////9zeKVjAAAAAnRSTlMAuLMp9oYAAAAPSURBVAjXY4CDrJUgBAMAGaECJ9dz3BAAAAAASUVORK5CYII=);background-size:8px 8px}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx){.vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEUAAAD///////////84wDuoAAAAA3RSTlMAyTzPIdReAAAAGUlEQVQI12PAD+b///+Nof7//79gAsLFCwAx/w4blADeeQAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEUAAAD///////////84wDuoAAAAA3RSTlMAyTzPIdReAAAAGUlEQVQI12PAD+b///+Nof7//79gAsLFCwAx/w4blADeeQAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 3),(min-resolution: 288dpi){.vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAD1BMVEUAAAD///////////////+PQt5oAAAABHRSTlMAy2EFIuWxUgAAACRJREFUGNNjGBBgJOICBY7KDCoucODEAJSAS6FwUJShGjAQAADBPRGrK2/FhgAAAABJRU5ErkJggg==)}}.vue-treeselect__checkbox--indeterminate>.vue-treeselect__minus-mark{opacity:1}.vue-treeselect__checkbox--disabled .vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAgMAAAC5YVYYAAAACVBMVEUAAADi4uLh4eHOxeSRAAAAAnRSTlMAuLMp9oYAAAAPSURBVAjXY4CDrJUgBAMAGaECJ9dz3BAAAAAASUVORK5CYII=)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx){.vue-treeselect__checkbox--disabled .vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEUAAADi4uLi4uLh4eE5RQaIAAAAA3RSTlMAyTzPIdReAAAAGUlEQVQI12PAD+b///+Nof7//79gAsLFCwAx/w4blADeeQAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.vue-treeselect__checkbox--disabled .vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEUAAADi4uLi4uLh4eE5RQaIAAAAA3RSTlMAyTzPIdReAAAAGUlEQVQI12PAD+b///+Nof7//79gAsLFCwAx/w4blADeeQAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 3),(min-resolution: 288dpi){.vue-treeselect__checkbox--disabled .vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAD1BMVEUAAADh4eHg4ODNzc3h4eEYfw2wAAAABHRSTlMAy2EFIuWxUgAAACRJREFUGNNjGBBgJOICBY7KDCoucODEAJSAS6FwUJShGjAQAADBPRGrK2/FhgAAAABJRU5ErkJggg==)}}.vue-treeselect__check-mark{width:8px;height:8px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAQlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////8IX9KGAAAAFXRSTlMA8u24NxILB+Tawb6jiH1zRz0xIQIIP3GUAAAAMklEQVQI1y3FtQEAMQDDQD+EGbz/qkEVOpyEOP6PudKjZNSXn4Jm2CKRdBKzSLsFWl8fMG0Bl6Jk1rMAAAAASUVORK5CYII=);background-size:8px 8px;-webkit-transform:scaleY(0.125);transform:scaleY(0.125)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx){.vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAYFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////98JRy6AAAAH3RSTlMAzu4sDenl38fBvo1OMyIdEQrj1cSihX5hYFpHNycIcQOASAAAAF9JREFUGNN9zEcOgDAMRFHTS0LvNfe/JRmHKAIJ/mqeLJn+k9uDtaeUeFnFziGsBucUTirrprfe81RqZ3Bb6hPWeuZwDFOHyf+ig9CCzQ7INBn7bG5kF+QSt13BHNJnF7AaCT4Y+CW7AAAAAElFTkSuQmCC)}}@media(-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAYFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////98JRy6AAAAH3RSTlMAzu4sDenl38fBvo1OMyIdEQrj1cSihX5hYFpHNycIcQOASAAAAF9JREFUGNN9zEcOgDAMRFHTS0LvNfe/JRmHKAIJ/mqeLJn+k9uDtaeUeFnFziGsBucUTirrprfe81RqZ3Bb6hPWeuZwDFOHyf+ig9CCzQ7INBn7bG5kF+QSt13BHNJnF7AaCT4Y+CW7AAAAAElFTkSuQmCC)}}@media(-webkit-min-device-pixel-ratio: 3),(min-resolution: 288dpi){.vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAWlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////9ZMre9AAAAHXRSTlMA/PiJhGNI9XlEHJB/b2ldV08+Oibk49vPp6QhAYgGBuwAAACCSURBVCjPrdHdDoIwDAXgTWAqCigo/+f9X5OwnoUwtis4V92XNWladUl+rzQPeQJAN2EHxoOnsPn7/oYk8fxBv08Rr/deOH/aZ2Nm8ZJ+s573QGfWKnNuZGzWm3+lv2V3pcU1XQ385/yjmBoM3Z+dXvlbYLLD3ujhTaOM3KaIXvNkFkuSEvYy1LqOAAAAAElFTkSuQmCC)}}.vue-treeselect__checkbox--checked>.vue-treeselect__check-mark{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}.vue-treeselect__checkbox--disabled .vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAP1BMVEUAAADj4+Pf39/h4eHh4eHh4eHk5OTh4eHg4ODi4uLh4eHh4eHg4ODh4eHh4eHg4ODh4eHh4eHp6en////h4eFqcyvUAAAAFHRSTlMAOQfy7bgS5NrBvqOIfXNHMSELAgQ/iFsAAAA2SURBVAjXY4AANjYIzcjMAaVFuBkY+RkEWERYmRjYRXjANAOfiIgIFxNIAa8IpxBEi6AwiAQAK2MBd7xY8csAAAAASUVORK5CYII=)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx){.vue-treeselect__checkbox--disabled .vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAXVBMVEUAAADh4eHh4eHh4eHi4uLb29vh4eHh4eHh4eHh4eHh4eHh4eHh4eHi4uLi4uLj4+Pi4uLk5OTo6Ojh4eHh4eHi4uLg4ODg4ODh4eHg4ODh4eHf39/g4OD////h4eEzIk+wAAAAHnRSTlMAzu6/LA3p5eLZx8ONTjYiHRIKooV+YWBaRzEnCANnm5rnAAAAZElEQVQY033P2wqAIAyA4VWaaWrnc/n+j5mbhBjUf7WPoTD47TJb4i5zTr/sRDRHuyFaoWX7uK/RlbctlPEuyI1f4WY9yQINEkf6rzzo8YIzmUFoCs7J1EjeIaa9bXIEmzl8dgOZEAj/+2IvzAAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.vue-treeselect__checkbox--disabled .vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAXVBMVEUAAADh4eHh4eHh4eHi4uLb29vh4eHh4eHh4eHh4eHh4eHh4eHh4eHi4uLi4uLj4+Pi4uLk5OTo6Ojh4eHh4eHi4uLg4ODg4ODh4eHg4ODh4eHf39/g4OD////h4eEzIk+wAAAAHnRSTlMAzu6/LA3p5eLZx8ONTjYiHRIKooV+YWBaRzEnCANnm5rnAAAAZElEQVQY033P2wqAIAyA4VWaaWrnc/n+j5mbhBjUf7WPoTD47TJb4i5zTr/sRDRHuyFaoWX7uK/RlbctlPEuyI1f4WY9yQINEkf6rzzo8YIzmUFoCs7J1EjeIaa9bXIEmzl8dgOZEAj/+2IvzAAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 3),(min-resolution: 288dpi){.vue-treeselect__checkbox--disabled .vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAUVBMVEUAAADh4eHh4eHh4eHh4eHi4uLi4uLh4eHh4eHh4eHf39/j4+Ph4eHh4eHh4eHg4ODi4uLh4eHh4eHi4uLh4eHh4eHh4eHh4eHh4eH////h4eF3FMFTAAAAGnRSTlMA+/eJhGhfSHE9JBzz5KaQf3pXT0Xbz0I5AYDw8F0AAAB+SURBVCjPrdHbDoMgEEVRKAii1dZe9fz/hxplTiKIT7qfYCWTEEZdUvOwbckNAD2WHeh3brHW5f5EzGQ+iN+b1Gt6KPvtv16Dn6JX9M9ya3/A1yfu5dlyduL6Hec7mXY6ddXLPP2lpABGZ8PWXfYLTJxZekVhhl7eTX24zZPNKXoRC7zQLjUAAAAASUVORK5CYII=)}}.vue-treeselect__checkbox--unchecked{border-color:#e0e0e0;background:#fff}.vue-treeselect__label-container:hover .vue-treeselect__checkbox--unchecked{border-color:#039be5;background:#fff}.vue-treeselect__checkbox--checked,.vue-treeselect__checkbox--indeterminate,.vue-treeselect__label-container:hover .vue-treeselect__checkbox--checked,.vue-treeselect__label-container:hover .vue-treeselect__checkbox--indeterminate{border-color:#039be5;background:#039be5}.vue-treeselect__checkbox--disabled,.vue-treeselect__label-container:hover .vue-treeselect__checkbox--disabled{border-color:#e0e0e0;background-color:#f7f7f7}.vue-treeselect__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:table-cell;padding-left:5px;max-width:100%;vertical-align:middle;cursor:inherit}[dir=rtl] .vue-treeselect__label{padding-left:0;padding-right:5px}.vue-treeselect__count{margin-left:5px;font-weight:400;opacity:.6}[dir=rtl] .vue-treeselect__count{margin-left:0;margin-right:5px}.vue-treeselect__tip{padding-left:5px;padding-right:5px;display:table;table-layout:fixed;width:100%;color:#757575}.vue-treeselect__tip-text{display:table-cell;vertical-align:middle;padding-left:5px;padding-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:12px}.vue-treeselect__error-tip .vue-treeselect__retry{cursor:pointer;margin-left:5px;font-style:normal;font-weight:600;text-decoration:none;color:#039be5}[dir=rtl] .vue-treeselect__error-tip .vue-treeselect__retry{margin-left:0;margin-right:5px}.vue-treeselect__icon-container{display:table-cell;vertical-align:middle;width:20px;text-align:center;line-height:0}.vue-treeselect--single .vue-treeselect__icon-container{padding-left:5px}[dir=rtl] .vue-treeselect--single .vue-treeselect__icon-container{padding-left:0;padding-right:5px}.vue-treeselect__icon-warning{display:block;margin:auto;border-radius:50%;position:relative;width:12px;height:12px;background:#fb8c00}.vue-treeselect__icon-warning:after{display:block;position:absolute;content:"";left:5px;top:2.5px;width:2px;height:1px;border:0 solid #fff;border-top-width:5px;border-bottom-width:1px}.vue-treeselect__icon-error{display:block;margin:auto;border-radius:50%;position:relative;width:12px;height:12px;background:#e53935}.vue-treeselect__icon-error:after,.vue-treeselect__icon-error:before{display:block;position:absolute;content:"";background:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.vue-treeselect__icon-error:before{width:6px;height:2px;left:3px;top:5px}.vue-treeselect__icon-error:after{width:2px;height:6px;left:5px;top:3px}.vue-treeselect__icon-loader{display:block;margin:auto;position:relative;width:12px;height:12px;text-align:center;-webkit-animation:vue-treeselect-animation-rotate 1.6s linear infinite;animation:vue-treeselect-animation-rotate 1.6s linear infinite}.vue-treeselect__icon-loader:after,.vue-treeselect__icon-loader:before{border-radius:50%;position:absolute;content:"";left:0;top:0;display:block;width:100%;height:100%;opacity:.6;-webkit-animation:vue-treeselect-animation-bounce 1.6s ease-in-out infinite;animation:vue-treeselect-animation-bounce 1.6s ease-in-out infinite}.vue-treeselect__icon-loader:before{background:#039be5}.vue-treeselect__icon-loader:after{background:#b3e5fc;-webkit-animation-delay:-0.8s;animation-delay:-0.8s}.vue-treeselect__menu-placeholder{display:none}.vue-treeselect__portal-target{position:absolute;display:block;left:0;top:0;height:0;width:0;padding:0;margin:0;border:0;overflow:visible;box-sizing:border-box} +.vue-treeselect-helper-hide{display:none}.vue-treeselect-helper-zoom-effect-off{-webkit-transform:none !important;transform:none !important}@-webkit-keyframes vue-treeselect-animation-fade-in{0%{opacity:0}}@keyframes vue-treeselect-animation-fade-in{0%{opacity:0}}@-webkit-keyframes vue-treeselect-animation-bounce{0%,to{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes vue-treeselect-animation-bounce{0%,to{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes vue-treeselect-animation-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes vue-treeselect-animation-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.vue-treeselect__multi-value-item--transition-enter-active,.vue-treeselect__multi-value-item--transition-leave-active{-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}.vue-treeselect__multi-value-item--transition-enter-active{-webkit-transition-timing-function:cubic-bezier(0.075, 0.82, 0.165, 1);transition-timing-function:cubic-bezier(0.075, 0.82, 0.165, 1)}.vue-treeselect__multi-value-item--transition-leave-active{-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);position:absolute}.vue-treeselect__multi-value-item--transition-enter,.vue-treeselect__multi-value-item--transition-leave-to{-webkit-transform:scale(0.7);transform:scale(0.7);opacity:0}.vue-treeselect__multi-value-item--transition-move{-webkit-transition:-webkit-transform .2s cubic-bezier(0.165, 0.84, 0.44, 1);transition:-webkit-transform .2s cubic-bezier(0.165, 0.84, 0.44, 1);transition:transform .2s cubic-bezier(0.165, 0.84, 0.44, 1);transition:transform .2s cubic-bezier(0.165, 0.84, 0.44, 1),-webkit-transform .2s cubic-bezier(0.165, 0.84, 0.44, 1)}.vue-treeselect{position:relative;text-align:left}[dir=rtl] .vue-treeselect{text-align:right}.vue-treeselect div,.vue-treeselect span{box-sizing:border-box}.vue-treeselect svg{fill:currentColor}.vue-treeselect__control{padding-left:5px;padding-right:5px;display:table;table-layout:fixed;width:100%;height:36px;border:1px solid #ddd;border-radius:5px;background:#fff;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:border-color,box-shadow,width,height,background-color,opacity;transition-property:border-color,box-shadow,width,height,background-color,opacity;-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.vue-treeselect:not(.vue-treeselect--disabled):not(.vue-treeselect--focused) .vue-treeselect__control:hover{border-color:#cfcfcf}.vue-treeselect--focused:not(.vue-treeselect--open) .vue-treeselect__control{border-color:#039be5;box-shadow:0 0 0 3px rgba(3,155,229,.1)}.vue-treeselect--disabled .vue-treeselect__control{background-color:#f9f9f9}.vue-treeselect--open .vue-treeselect__control{border-color:#cfcfcf}.vue-treeselect--open.vue-treeselect--open-below .vue-treeselect__control{border-bottom-left-radius:0;border-bottom-right-radius:0}.vue-treeselect--open.vue-treeselect--open-above .vue-treeselect__control{border-top-left-radius:0;border-top-right-radius:0}.vue-treeselect__multi-value,.vue-treeselect__value-container{width:100%;vertical-align:middle}.vue-treeselect__value-container{display:table-cell;position:relative}.vue-treeselect--searchable:not(.vue-treeselect--disabled) .vue-treeselect__value-container{cursor:text}.vue-treeselect__multi-value{display:inline-block}.vue-treeselect--has-value .vue-treeselect__multi-value{margin-bottom:5px}.vue-treeselect__placeholder,.vue-treeselect__single-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:5px;padding-right:5px;position:absolute;top:0;right:0;bottom:0;left:0;line-height:34px;-webkit-user-select:none;user-select:none;pointer-events:none}.vue-treeselect__placeholder{color:#bdbdbd}.vue-treeselect__single-value{color:#333}.vue-treeselect--focused.vue-treeselect--searchable .vue-treeselect__single-value{color:#bdbdbd}.vue-treeselect--disabled .vue-treeselect__single-value{position:static}.vue-treeselect__multi-value-item-container{display:inline-block;padding-top:5px;padding-right:5px;vertical-align:top}[dir=rtl] .vue-treeselect__multi-value-item-container{padding-right:0;padding-left:5px}.vue-treeselect__multi-value-item{display:inline-table;padding:2px 0;border:1px solid rgba(0,0,0,0);border-radius:2px;font-size:12px;vertical-align:top}.vue-treeselect:not(.vue-treeselect--disabled) .vue-treeselect__multi-value-item:not(.vue-treeselect__multi-value-item-disabled):hover .vue-treeselect__multi-value-item:not(.vue-treeselect__multi-value-item-new) .vue-treeselect__multi-value-item:not(.vue-treeselect__multi-value-item-new):hover,.vue-treeselect__multi-value-item{cursor:pointer;background:#e3f2fd;color:#039be5}.vue-treeselect__multi-value-item.vue-treeselect__multi-value-item-disabled{cursor:default;background:#f5f5f5;color:#757575}.vue-treeselect--disabled .vue-treeselect__multi-value-item{cursor:default;background:#fff;border-color:#e5e5e5;color:#555}.vue-treeselect__multi-value-item.vue-treeselect__multi-value-item-new,.vue-treeselect__multi-value-item.vue-treeselect__multi-value-item-new:hover{background:#e8f5e9}.vue-treeselect__multi-value-label,.vue-treeselect__value-remove{display:table-cell;padding:0 5px;vertical-align:middle}.vue-treeselect__value-remove{color:#039be5;padding-left:5px;border-left:1px solid #fff;line-height:0}[dir=rtl] .vue-treeselect__value-remove{border-left:0 none;border-right:1px solid #fff}.vue-treeselect__multi-value-item:hover .vue-treeselect__value-remove{color:#e53935}.vue-treeselect--disabled .vue-treeselect__value-remove,.vue-treeselect__multi-value-item-disabled .vue-treeselect__value-remove{display:none}.vue-treeselect__value-remove>svg{width:6px;height:6px}.vue-treeselect__multi-value-label{padding-right:5px;white-space:pre-line;-webkit-user-select:none;user-select:none}.vue-treeselect__limit-tip{display:inline-block;padding-top:5px;padding-right:5px;vertical-align:top}[dir=rtl] .vue-treeselect__limit-tip{padding-right:0;padding-left:5px}.vue-treeselect__limit-tip-text{cursor:default;display:block;margin:2px 0;padding:1px 0;color:#bdbdbd;font-size:12px;font-weight:600}.vue-treeselect__input-container{display:block;max-width:100%;outline:none}.vue-treeselect--single .vue-treeselect__input-container{font-size:inherit;height:100%}.vue-treeselect--multi .vue-treeselect__input-container{display:inline-block;font-size:12px;vertical-align:top}.vue-treeselect--searchable .vue-treeselect__input-container{padding-left:5px;padding-right:5px}.vue-treeselect--searchable.vue-treeselect--multi.vue-treeselect--has-value .vue-treeselect__input-container{padding-top:5px;padding-left:0}[dir=rtl] .vue-treeselect--searchable.vue-treeselect--multi.vue-treeselect--has-value .vue-treeselect__input-container{padding-left:5px;padding-right:0}.vue-treeselect--disabled .vue-treeselect__input-container{display:none}.vue-treeselect__input,.vue-treeselect__sizer{margin:0;line-height:inherit;font-family:inherit;font-size:inherit}.vue-treeselect__input{max-width:100%;margin:0;padding:0;border:0;outline:none;box-sizing:initial;box-shadow:none;background:none rgba(0,0,0,0);line-height:1;vertical-align:middle}.vue-treeselect__input::-ms-clear{display:none}.vue-treeselect--single .vue-treeselect__input{width:100%;height:100%}.vue-treeselect--multi .vue-treeselect__input{padding-top:3px;padding-bottom:3px}.vue-treeselect--has-value .vue-treeselect__input{line-height:inherit;vertical-align:top}.vue-treeselect__sizer{position:absolute;top:0;left:0;visibility:hidden;height:0;overflow:scroll;white-space:pre}.vue-treeselect__x-container{display:table-cell;vertical-align:middle;width:20px;text-align:center;line-height:0;cursor:pointer;color:#ccc;-webkit-animation:vue-treeselect-animation-fade-in .2s cubic-bezier(0.075, 0.82, 0.165, 1);animation:vue-treeselect-animation-fade-in .2s cubic-bezier(0.075, 0.82, 0.165, 1)}.vue-treeselect__x-container:hover{color:#e53935}.vue-treeselect__x{width:8px;height:8px}.vue-treeselect__control-arrow-container{display:table-cell;vertical-align:middle;width:20px;text-align:center;line-height:0;cursor:pointer}.vue-treeselect--disabled .vue-treeselect__control-arrow-container{cursor:default}.vue-treeselect__control-arrow{width:9px;height:9px;color:#ccc}.vue-treeselect:not(.vue-treeselect--disabled) .vue-treeselect__control-arrow-container:hover .vue-treeselect__control-arrow{color:#616161}.vue-treeselect--disabled .vue-treeselect__control-arrow{opacity:.35}.vue-treeselect__control-arrow--rotated{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vue-treeselect__menu-container{position:absolute;left:0;width:100%;overflow:visible;-webkit-transition:0s;transition:0s}.vue-treeselect--open-below:not(.vue-treeselect--append-to-body) .vue-treeselect__menu-container{top:100%}.vue-treeselect--open-above:not(.vue-treeselect--append-to-body) .vue-treeselect__menu-container{bottom:100%}.vue-treeselect__menu{cursor:default;padding-top:5px;padding-bottom:5px;display:block;position:absolute;overflow-x:hidden;overflow-y:auto;width:auto;border:1px solid #cfcfcf;background:#fff;line-height:180%;-webkit-overflow-scrolling:touch}.vue-treeselect--open-below .vue-treeselect__menu{border-bottom-left-radius:5px;border-bottom-right-radius:5px;top:0;margin-top:-1px;border-top-color:#f2f2f2;box-shadow:0 1px 0 rgba(0,0,0,.06)}.vue-treeselect--open-above .vue-treeselect__menu{border-top-left-radius:5px;border-top-right-radius:5px;bottom:0;margin-bottom:-1px;border-bottom-color:#f2f2f2}.vue-treeselect__indent-level-0 .vue-treeselect__option{padding-left:5px}[dir=rtl] .vue-treeselect__indent-level-0 .vue-treeselect__option{padding-left:5px;padding-right:5px}.vue-treeselect__indent-level-0 .vue-treeselect__tip{padding-left:25px}[dir=rtl] .vue-treeselect__indent-level-0 .vue-treeselect__tip{padding-left:5px;padding-right:25px}.vue-treeselect__indent-level-1 .vue-treeselect__option{padding-left:25px}[dir=rtl] .vue-treeselect__indent-level-1 .vue-treeselect__option{padding-left:5px;padding-right:25px}.vue-treeselect__indent-level-1 .vue-treeselect__tip{padding-left:45px}[dir=rtl] .vue-treeselect__indent-level-1 .vue-treeselect__tip{padding-left:5px;padding-right:45px}.vue-treeselect__indent-level-2 .vue-treeselect__option{padding-left:45px}[dir=rtl] .vue-treeselect__indent-level-2 .vue-treeselect__option{padding-left:5px;padding-right:45px}.vue-treeselect__indent-level-2 .vue-treeselect__tip{padding-left:65px}[dir=rtl] .vue-treeselect__indent-level-2 .vue-treeselect__tip{padding-left:5px;padding-right:65px}.vue-treeselect__indent-level-3 .vue-treeselect__option{padding-left:65px}[dir=rtl] .vue-treeselect__indent-level-3 .vue-treeselect__option{padding-left:5px;padding-right:65px}.vue-treeselect__indent-level-3 .vue-treeselect__tip{padding-left:85px}[dir=rtl] .vue-treeselect__indent-level-3 .vue-treeselect__tip{padding-left:5px;padding-right:85px}.vue-treeselect__indent-level-4 .vue-treeselect__option{padding-left:85px}[dir=rtl] .vue-treeselect__indent-level-4 .vue-treeselect__option{padding-left:5px;padding-right:85px}.vue-treeselect__indent-level-4 .vue-treeselect__tip{padding-left:105px}[dir=rtl] .vue-treeselect__indent-level-4 .vue-treeselect__tip{padding-left:5px;padding-right:105px}.vue-treeselect__indent-level-5 .vue-treeselect__option{padding-left:105px}[dir=rtl] .vue-treeselect__indent-level-5 .vue-treeselect__option{padding-left:5px;padding-right:105px}.vue-treeselect__indent-level-5 .vue-treeselect__tip{padding-left:125px}[dir=rtl] .vue-treeselect__indent-level-5 .vue-treeselect__tip{padding-left:5px;padding-right:125px}.vue-treeselect__indent-level-6 .vue-treeselect__option{padding-left:125px}[dir=rtl] .vue-treeselect__indent-level-6 .vue-treeselect__option{padding-left:5px;padding-right:125px}.vue-treeselect__indent-level-6 .vue-treeselect__tip{padding-left:145px}[dir=rtl] .vue-treeselect__indent-level-6 .vue-treeselect__tip{padding-left:5px;padding-right:145px}.vue-treeselect__indent-level-7 .vue-treeselect__option{padding-left:145px}[dir=rtl] .vue-treeselect__indent-level-7 .vue-treeselect__option{padding-left:5px;padding-right:145px}.vue-treeselect__indent-level-7 .vue-treeselect__tip{padding-left:165px}[dir=rtl] .vue-treeselect__indent-level-7 .vue-treeselect__tip{padding-left:5px;padding-right:165px}.vue-treeselect__indent-level-8 .vue-treeselect__option{padding-left:165px}[dir=rtl] .vue-treeselect__indent-level-8 .vue-treeselect__option{padding-left:5px;padding-right:165px}.vue-treeselect__indent-level-8 .vue-treeselect__tip{padding-left:185px}[dir=rtl] .vue-treeselect__indent-level-8 .vue-treeselect__tip{padding-left:5px;padding-right:185px}.vue-treeselect__option{padding-left:5px;padding-right:5px;display:table;table-layout:fixed;width:100%}.vue-treeselect__option--highlight{background:#f5f5f5}.vue-treeselect--single .vue-treeselect__option--selected{background:#e3f2fd;font-weight:600}.vue-treeselect--single .vue-treeselect__option--selected:hover{background:#e3f2fd}.vue-treeselect__option--hide{display:none}.vue-treeselect__option-arrow-container,.vue-treeselect__option-arrow-placeholder{display:table-cell;vertical-align:middle;width:20px;text-align:center;line-height:0}.vue-treeselect__option-arrow-container{cursor:pointer}.vue-treeselect__option-arrow{display:inline-block;width:9px;height:9px;color:#ccc;vertical-align:middle;-webkit-transition:-webkit-transform .2s cubic-bezier(0.19, 1, 0.22, 1);transition:-webkit-transform .2s cubic-bezier(0.19, 1, 0.22, 1);transition:transform .2s cubic-bezier(0.19, 1, 0.22, 1);transition:transform .2s cubic-bezier(0.19, 1, 0.22, 1),-webkit-transform .2s cubic-bezier(0.19, 1, 0.22, 1);-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .vue-treeselect__option-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.vue-treeselect--branch-nodes-disabled .vue-treeselect__option:hover .vue-treeselect__option-arrow,.vue-treeselect__option-arrow-container:hover .vue-treeselect__option-arrow{color:#616161}.vue-treeselect__option-arrow--rotated,[dir=rtl] .vue-treeselect__option-arrow--rotated{-webkit-transform:rotate(0);transform:rotate(0)}.vue-treeselect__option-arrow--rotated.vue-treeselect__option-arrow--prepare-enter{-webkit-transform:rotate(-90deg) !important;transform:rotate(-90deg) !important}[dir=rtl] .vue-treeselect__option-arrow--rotated.vue-treeselect__option-arrow--prepare-enter{-webkit-transform:rotate(90deg) !important;transform:rotate(90deg) !important}.vue-treeselect__label-container{display:table-cell;vertical-align:middle;cursor:pointer;display:table;width:100%;table-layout:fixed;color:inherit}.vue-treeselect__option--disabled .vue-treeselect__label-container{cursor:not-allowed;color:rgba(0,0,0,.25)}.vue-treeselect__checkbox-container{display:table-cell;width:20px;min-width:20px;height:100%;text-align:center;vertical-align:middle}.vue-treeselect__checkbox{display:block;margin:auto;width:12px;height:12px;border-width:1px;border-style:solid;border-radius:2px;position:relative;-webkit-transition:all .2s cubic-bezier(0.075, 0.82, 0.165, 1);transition:all .2s cubic-bezier(0.075, 0.82, 0.165, 1)}.vue-treeselect__check-mark,.vue-treeselect__minus-mark{display:block;position:absolute;left:1px;top:1px;background-repeat:no-repeat;opacity:0;-webkit-transition:all .2s ease;transition:all .2s ease}.vue-treeselect__minus-mark{width:8px;height:8px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAgMAAAC5YVYYAAAACVBMVEUAAAD///////9zeKVjAAAAAnRSTlMAuLMp9oYAAAAPSURBVAjXY4CDrJUgBAMAGaECJ9dz3BAAAAAASUVORK5CYII=);background-size:8px 8px}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx){.vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEUAAAD///////////84wDuoAAAAA3RSTlMAyTzPIdReAAAAGUlEQVQI12PAD+b///+Nof7//79gAsLFCwAx/w4blADeeQAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEUAAAD///////////84wDuoAAAAA3RSTlMAyTzPIdReAAAAGUlEQVQI12PAD+b///+Nof7//79gAsLFCwAx/w4blADeeQAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 3),(min-resolution: 288dpi){.vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAD1BMVEUAAAD///////////////+PQt5oAAAABHRSTlMAy2EFIuWxUgAAACRJREFUGNNjGBBgJOICBY7KDCoucODEAJSAS6FwUJShGjAQAADBPRGrK2/FhgAAAABJRU5ErkJggg==)}}.vue-treeselect__checkbox--indeterminate>.vue-treeselect__minus-mark{opacity:1}.vue-treeselect__checkbox--disabled .vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAgMAAAC5YVYYAAAACVBMVEUAAADi4uLh4eHOxeSRAAAAAnRSTlMAuLMp9oYAAAAPSURBVAjXY4CDrJUgBAMAGaECJ9dz3BAAAAAASUVORK5CYII=)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx){.vue-treeselect__checkbox--disabled .vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEUAAADi4uLi4uLh4eE5RQaIAAAAA3RSTlMAyTzPIdReAAAAGUlEQVQI12PAD+b///+Nof7//79gAsLFCwAx/w4blADeeQAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.vue-treeselect__checkbox--disabled .vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEUAAADi4uLi4uLh4eE5RQaIAAAAA3RSTlMAyTzPIdReAAAAGUlEQVQI12PAD+b///+Nof7//79gAsLFCwAx/w4blADeeQAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 3),(min-resolution: 288dpi){.vue-treeselect__checkbox--disabled .vue-treeselect__minus-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAD1BMVEUAAADh4eHg4ODNzc3h4eEYfw2wAAAABHRSTlMAy2EFIuWxUgAAACRJREFUGNNjGBBgJOICBY7KDCoucODEAJSAS6FwUJShGjAQAADBPRGrK2/FhgAAAABJRU5ErkJggg==)}}.vue-treeselect__check-mark{width:8px;height:8px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAQlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////8IX9KGAAAAFXRSTlMA8u24NxILB+Tawb6jiH1zRz0xIQIIP3GUAAAAMklEQVQI1y3FtQEAMQDDQD+EGbz/qkEVOpyEOP6PudKjZNSXn4Jm2CKRdBKzSLsFWl8fMG0Bl6Jk1rMAAAAASUVORK5CYII=);background-size:8px 8px;-webkit-transform:scaleY(0.125);transform:scaleY(0.125)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx){.vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAYFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////98JRy6AAAAH3RSTlMAzu4sDenl38fBvo1OMyIdEQrj1cSihX5hYFpHNycIcQOASAAAAF9JREFUGNN9zEcOgDAMRFHTS0LvNfe/JRmHKAIJ/mqeLJn+k9uDtaeUeFnFziGsBucUTirrprfe81RqZ3Bb6hPWeuZwDFOHyf+ig9CCzQ7INBn7bG5kF+QSt13BHNJnF7AaCT4Y+CW7AAAAAElFTkSuQmCC)}}@media(-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAYFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////98JRy6AAAAH3RSTlMAzu4sDenl38fBvo1OMyIdEQrj1cSihX5hYFpHNycIcQOASAAAAF9JREFUGNN9zEcOgDAMRFHTS0LvNfe/JRmHKAIJ/mqeLJn+k9uDtaeUeFnFziGsBucUTirrprfe81RqZ3Bb6hPWeuZwDFOHyf+ig9CCzQ7INBn7bG5kF+QSt13BHNJnF7AaCT4Y+CW7AAAAAElFTkSuQmCC)}}@media(-webkit-min-device-pixel-ratio: 3),(min-resolution: 288dpi){.vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAWlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////9ZMre9AAAAHXRSTlMA/PiJhGNI9XlEHJB/b2ldV08+Oibk49vPp6QhAYgGBuwAAACCSURBVCjPrdHdDoIwDAXgTWAqCigo/+f9X5OwnoUwtis4V92XNWladUl+rzQPeQJAN2EHxoOnsPn7/oYk8fxBv08Rr/deOH/aZ2Nm8ZJ+s573QGfWKnNuZGzWm3+lv2V3pcU1XQ385/yjmBoM3Z+dXvlbYLLD3ujhTaOM3KaIXvNkFkuSEvYy1LqOAAAAAElFTkSuQmCC)}}.vue-treeselect__checkbox--checked>.vue-treeselect__check-mark{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}.vue-treeselect__checkbox--disabled .vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAP1BMVEUAAADj4+Pf39/h4eHh4eHh4eHk5OTh4eHg4ODi4uLh4eHh4eHg4ODh4eHh4eHg4ODh4eHh4eHp6en////h4eFqcyvUAAAAFHRSTlMAOQfy7bgS5NrBvqOIfXNHMSELAgQ/iFsAAAA2SURBVAjXY4AANjYIzcjMAaVFuBkY+RkEWERYmRjYRXjANAOfiIgIFxNIAa8IpxBEi6AwiAQAK2MBd7xY8csAAAAASUVORK5CYII=)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx){.vue-treeselect__checkbox--disabled .vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAXVBMVEUAAADh4eHh4eHh4eHi4uLb29vh4eHh4eHh4eHh4eHh4eHh4eHh4eHi4uLi4uLj4+Pi4uLk5OTo6Ojh4eHh4eHi4uLg4ODg4ODh4eHg4ODh4eHf39/g4OD////h4eEzIk+wAAAAHnRSTlMAzu6/LA3p5eLZx8ONTjYiHRIKooV+YWBaRzEnCANnm5rnAAAAZElEQVQY033P2wqAIAyA4VWaaWrnc/n+j5mbhBjUf7WPoTD47TJb4i5zTr/sRDRHuyFaoWX7uK/RlbctlPEuyI1f4WY9yQINEkf6rzzo8YIzmUFoCs7J1EjeIaa9bXIEmzl8dgOZEAj/+2IvzAAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.vue-treeselect__checkbox--disabled .vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAXVBMVEUAAADh4eHh4eHh4eHi4uLb29vh4eHh4eHh4eHh4eHh4eHh4eHh4eHi4uLi4uLj4+Pi4uLk5OTo6Ojh4eHh4eHi4uLg4ODg4ODh4eHg4ODh4eHf39/g4OD////h4eEzIk+wAAAAHnRSTlMAzu6/LA3p5eLZx8ONTjYiHRIKooV+YWBaRzEnCANnm5rnAAAAZElEQVQY033P2wqAIAyA4VWaaWrnc/n+j5mbhBjUf7WPoTD47TJb4i5zTr/sRDRHuyFaoWX7uK/RlbctlPEuyI1f4WY9yQINEkf6rzzo8YIzmUFoCs7J1EjeIaa9bXIEmzl8dgOZEAj/+2IvzAAAAABJRU5ErkJggg==)}}@media(-webkit-min-device-pixel-ratio: 3),(min-resolution: 288dpi){.vue-treeselect__checkbox--disabled .vue-treeselect__check-mark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAUVBMVEUAAADh4eHh4eHh4eHh4eHi4uLi4uLh4eHh4eHh4eHf39/j4+Ph4eHh4eHh4eHg4ODi4uLh4eHh4eHi4uLh4eHh4eHh4eHh4eHh4eH////h4eF3FMFTAAAAGnRSTlMA+/eJhGhfSHE9JBzz5KaQf3pXT0Xbz0I5AYDw8F0AAAB+SURBVCjPrdHbDoMgEEVRKAii1dZe9fz/hxplTiKIT7qfYCWTEEZdUvOwbckNAD2WHeh3brHW5f5EzGQ+iN+b1Gt6KPvtv16Dn6JX9M9ya3/A1yfu5dlyduL6Hec7mXY6ddXLPP2lpABGZ8PWXfYLTJxZekVhhl7eTX24zZPNKXoRC7zQLjUAAAAASUVORK5CYII=)}}.vue-treeselect__checkbox--unchecked{border-color:#e0e0e0;background:#fff}.vue-treeselect__label-container:hover .vue-treeselect__checkbox--unchecked{border-color:#039be5;background:#fff}.vue-treeselect__checkbox--checked,.vue-treeselect__checkbox--indeterminate,.vue-treeselect__label-container:hover .vue-treeselect__checkbox--checked,.vue-treeselect__label-container:hover .vue-treeselect__checkbox--indeterminate{border-color:#039be5;background:#039be5}.vue-treeselect__checkbox--disabled,.vue-treeselect__label-container:hover .vue-treeselect__checkbox--disabled{border-color:#e0e0e0;background-color:#f7f7f7}.vue-treeselect__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:table-cell;padding-left:5px;max-width:100%;vertical-align:middle;cursor:inherit}[dir=rtl] .vue-treeselect__label{padding-left:0;padding-right:5px}.vue-treeselect__count{margin-left:5px;font-weight:400;opacity:.6}[dir=rtl] .vue-treeselect__count{margin-left:0;margin-right:5px}.vue-treeselect__tip{padding-left:5px;padding-right:5px;display:table;table-layout:fixed;width:100%;color:#757575}.vue-treeselect__tip-text{display:table-cell;vertical-align:middle;padding-left:5px;padding-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:12px}.vue-treeselect__error-tip .vue-treeselect__retry{cursor:pointer;margin-left:5px;font-style:normal;font-weight:600;text-decoration:none;color:#039be5}[dir=rtl] .vue-treeselect__error-tip .vue-treeselect__retry{margin-left:0;margin-right:5px}.vue-treeselect__icon-container{display:table-cell;vertical-align:middle;width:20px;text-align:center;line-height:0}.vue-treeselect--single .vue-treeselect__icon-container{padding-left:5px}[dir=rtl] .vue-treeselect--single .vue-treeselect__icon-container{padding-left:0;padding-right:5px}.vue-treeselect__icon-warning{display:block;margin:auto;border-radius:50%;position:relative;width:12px;height:12px;background:#fb8c00}.vue-treeselect__icon-warning:after{display:block;position:absolute;content:"";left:5px;top:2.5px;width:2px;height:1px;border:0 solid #fff;border-top-width:5px;border-bottom-width:1px}.vue-treeselect__icon-error{display:block;margin:auto;border-radius:50%;position:relative;width:12px;height:12px;background:#e53935}.vue-treeselect__icon-error:after,.vue-treeselect__icon-error:before{display:block;position:absolute;content:"";background:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.vue-treeselect__icon-error:before{width:6px;height:2px;left:3px;top:5px}.vue-treeselect__icon-error:after{width:2px;height:6px;left:5px;top:3px}.vue-treeselect__icon-loader{display:block;margin:auto;position:relative;width:12px;height:12px;text-align:center;-webkit-animation:vue-treeselect-animation-rotate 1.6s linear infinite;animation:vue-treeselect-animation-rotate 1.6s linear infinite}.vue-treeselect__icon-loader:after,.vue-treeselect__icon-loader:before{border-radius:50%;position:absolute;content:"";left:0;top:0;display:block;width:100%;height:100%;opacity:.6;-webkit-animation:vue-treeselect-animation-bounce 1.6s ease-in-out infinite;animation:vue-treeselect-animation-bounce 1.6s ease-in-out infinite}.vue-treeselect__icon-loader:before{background:#039be5}.vue-treeselect__icon-loader:after{background:#b3e5fc;-webkit-animation-delay:-0.8s;animation-delay:-0.8s}.vue-treeselect__menu-placeholder{display:none}.vue-treeselect__portal-target{position:absolute;display:block;left:0;top:0;height:0;width:0;padding:0;margin:0;border:0;overflow:visible;box-sizing:border-box} diff --git a/docs/app.min.js b/docs/app.min.js index ff54820..2bd8dfe 100644 --- a/docs/app.min.js +++ b/docs/app.min.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=162)}([function(e,t,n){var r=n(2),o=n(21).f,i=n(13),s=n(14),c=n(44),a=n(70),u=n(37);e.exports=function(e,t){var n,l,f,d,p,h=e.target,v=e.global,g=e.stat;if(n=v?r:g?r[h]||c(h,{}):(r[h]||{}).prototype)for(l in t){if(d=t[l],f=e.noTargetGet?(p=o(n,l))&&p.value:n[l],!u(v?l:h+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;a(d,f)}(e.sham||f&&f.sham)&&i(d,"sham",!0),s(n,l,d,e)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(99))},function(e,t,n){var r=n(2),o=n(46),i=n(5),s=n(36),c=n(49),a=n(76),u=o("wks"),l=r.Symbol,f=a?l:l&&l.withoutSetter||s;e.exports=function(e){return i(u,e)||(c&&i(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(4);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){"use strict";function r(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e!!n[e.toLowerCase()]:e=>!!n[e]}n.r(t),n.d(t,"BaseTransition",(function(){return Kn})),n.d(t,"Comment",(function(){return Kr})),n.d(t,"Fragment",(function(){return Ur})),n.d(t,"KeepAlive",(function(){return er})),n.d(t,"Static",(function(){return Gr})),n.d(t,"Suspense",(function(){return sn})),n.d(t,"Teleport",(function(){return Dr})),n.d(t,"Text",(function(){return Wr})),n.d(t,"Transition",(function(){return Ei})),n.d(t,"TransitionGroup",(function(){return Bi})),n.d(t,"callWithAsyncErrorHandling",(function(){return _t})),n.d(t,"callWithErrorHandling",(function(){return Ot})),n.d(t,"camelize",(function(){return z})),n.d(t,"capitalize",(function(){return W})),n.d(t,"cloneVNode",(function(){return ao})),n.d(t,"compile",(function(){return xs})),n.d(t,"computed",(function(){return Ko})),n.d(t,"createApp",(function(){return ms})),n.d(t,"createBlock",(function(){return eo})),n.d(t,"createCommentVNode",(function(){return fo})),n.d(t,"createHydrationRenderer",(function(){return jr})),n.d(t,"createRenderer",(function(){return Ar})),n.d(t,"createSSRApp",(function(){return ys})),n.d(t,"createSlots",(function(){return ni})),n.d(t,"createStaticVNode",(function(){return lo})),n.d(t,"createTextVNode",(function(){return uo})),n.d(t,"createVNode",(function(){return co})),n.d(t,"customRef",(function(){return ht})),n.d(t,"defineAsyncComponent",(function(){return _r})),n.d(t,"defineComponent",(function(){return Or})),n.d(t,"defineEmit",(function(){return Yo})),n.d(t,"defineProps",(function(){return Go})),n.d(t,"devtools",(function(){return Gt})),n.d(t,"getCurrentInstance",(function(){return Mo})),n.d(t,"getTransitionRawChildren",(function(){return Jn})),n.d(t,"h",(function(){return Xo})),n.d(t,"handleError",(function(){return Et})),n.d(t,"hydrate",(function(){return gs})),n.d(t,"initCustomFormatter",(function(){return Zo})),n.d(t,"inject",(function(){return yo})),n.d(t,"isProxy",(function(){return et})),n.d(t,"isReactive",(function(){return Je})),n.d(t,"isReadonly",(function(){return Ze})),n.d(t,"isRef",(function(){return ot})),n.d(t,"isVNode",(function(){return to})),n.d(t,"markRaw",(function(){return nt})),n.d(t,"mergeProps",(function(){return go})),n.d(t,"nextTick",(function(){return Pt})),n.d(t,"onActivated",(function(){return nr})),n.d(t,"onBeforeMount",(function(){return jn})),n.d(t,"onBeforeUnmount",(function(){return Rn})),n.d(t,"onBeforeUpdate",(function(){return Ln})),n.d(t,"onDeactivated",(function(){return rr})),n.d(t,"onErrorCaptured",(function(){return Dn})),n.d(t,"onMounted",(function(){return Tn})),n.d(t,"onRenderTracked",(function(){return Vn})),n.d(t,"onRenderTriggered",(function(){return kn})),n.d(t,"onUnmounted",(function(){return Mn})),n.d(t,"onUpdated",(function(){return In})),n.d(t,"openBlock",(function(){return Xr})),n.d(t,"popScopeId",(function(){return yn})),n.d(t,"provide",(function(){return mo})),n.d(t,"proxyRefs",(function(){return dt})),n.d(t,"pushScopeId",(function(){return mn})),n.d(t,"queuePostFlushCb",(function(){return zt})),n.d(t,"reactive",(function(){return Ge})),n.d(t,"readonly",(function(){return Qe})),n.d(t,"ref",(function(){return it})),n.d(t,"registerRuntimeCompiler",(function(){return Fo})),n.d(t,"render",(function(){return vs})),n.d(t,"renderList",(function(){return ei})),n.d(t,"renderSlot",(function(){return pn})),n.d(t,"resolveComponent",(function(){return Pr})),n.d(t,"resolveDirective",(function(){return $r})),n.d(t,"resolveDynamicComponent",(function(){return Br})),n.d(t,"resolveTransitionHooks",(function(){return Yn})),n.d(t,"setBlockTracking",(function(){return Zr})),n.d(t,"setDevtoolsHook",(function(){return Yt})),n.d(t,"setTransitionHooks",(function(){return qn})),n.d(t,"shallowReactive",(function(){return Ye})),n.d(t,"shallowReadonly",(function(){return Xe})),n.d(t,"shallowRef",(function(){return st})),n.d(t,"ssrContextKey",(function(){return qo})),n.d(t,"ssrUtils",(function(){return oi})),n.d(t,"toDisplayString",(function(){return p})),n.d(t,"toHandlerKey",(function(){return K})),n.d(t,"toHandlers",(function(){return ti})),n.d(t,"toRaw",(function(){return tt})),n.d(t,"toRef",(function(){return mt})),n.d(t,"toRefs",(function(){return vt})),n.d(t,"transformVNodeArgs",(function(){return ro})),n.d(t,"triggerRef",(function(){return ut})),n.d(t,"unref",(function(){return lt})),n.d(t,"useContext",(function(){return Qo})),n.d(t,"useCssModule",(function(){return Oi})),n.d(t,"useCssVars",(function(){return _i})),n.d(t,"useSSRContext",(function(){return Jo})),n.d(t,"useTransitionState",(function(){return Un})),n.d(t,"vModelCheckbox",(function(){return Yi})),n.d(t,"vModelDynamic",(function(){return ts})),n.d(t,"vModelRadio",(function(){return Xi})),n.d(t,"vModelSelect",(function(){return qi})),n.d(t,"vModelText",(function(){return Gi})),n.d(t,"vShow",(function(){return as})),n.d(t,"version",(function(){return ri})),n.d(t,"warn",(function(){return xt})),n.d(t,"watch",(function(){return Bn})),n.d(t,"watchEffect",(function(){return Pn})),n.d(t,"withCtx",(function(){return hn})),n.d(t,"withDirectives",(function(){return pr})),n.d(t,"withKeys",(function(){return cs})),n.d(t,"withModifiers",(function(){return is})),n.d(t,"withScopeId",(function(){return bn}));const o=r("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl"),i=r("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function s(e){if(C(e)){const t={};for(let n=0;n{if(e){const n=e.split(a);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function l(e){let t="";if(L(e))t=e;else if(C(e))for(let n=0;nf(e,t))}const p=e=>null==e?"":R(e)?JSON.stringify(e,h,2):String(e),h=(e,t)=>N(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n])=>(e[t+" =>"]=n,e),{})}:A(t)?{[`Set(${t.size})`]:[...t.values()]}:!R(t)||C(t)||D(t)?t:String(t),v={},g=[],m=()=>{},y=()=>!1,b=/^on[^a-z]/,x=e=>b.test(e),S=e=>e.startsWith("onUpdate:"),O=Object.assign,_=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},E=Object.prototype.hasOwnProperty,w=(e,t)=>E.call(e,t),C=Array.isArray,N=e=>"[object Map]"===V(e),A=e=>"[object Set]"===V(e),j=e=>e instanceof Date,T=e=>"function"==typeof e,L=e=>"string"==typeof e,I=e=>"symbol"==typeof e,R=e=>null!==e&&"object"==typeof e,M=e=>R(e)&&T(e.then)&&T(e.catch),k=Object.prototype.toString,V=e=>k.call(e),D=e=>"[object Object]"===V(e),P=e=>L(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,F=r(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),B=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$=/-(\w)/g,z=B(e=>e.replace($,(e,t)=>t?t.toUpperCase():"")),H=/\B([A-Z])/g,U=B(e=>e.replace(H,"-$1").toLowerCase()),W=B(e=>e.charAt(0).toUpperCase()+e.slice(1)),K=B(e=>e?"on"+W(e):""),G=(e,t)=>e!==t&&(e==e||t==t),Y=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},X=e=>{const t=parseFloat(e);return isNaN(t)?e:t},q=new WeakMap,J=[];let Z;const ee=Symbol(""),te=Symbol("");function ne(e,t=v){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!J.includes(n)){ie(n);try{return ce.push(se),se=!0,J.push(n),Z=n,e()}finally{J.pop(),ue(),Z=J[J.length-1]}}};return n.id=oe++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function re(e){e.active&&(ie(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let oe=0;function ie(e){const{deps:t}=e;if(t.length){for(let n=0;n{e&&e.forEach(e=>{(e!==Z||e.allowRecurse)&&c.add(e)})};if("clear"===t)s.forEach(a);else if("length"===n&&C(e))s.forEach((e,t)=>{("length"===t||t>=r)&&a(e)});else switch(void 0!==n&&a(s.get(n)),t){case"add":C(e)?P(n)&&a(s.get("length")):(a(s.get(ee)),N(e)&&a(s.get(te)));break;case"delete":C(e)||(a(s.get(ee)),N(e)&&a(s.get(te)));break;case"set":N(e)&&a(s.get(ee))}c.forEach(e=>{e.options.scheduler?e.options.scheduler(e):e()})}const de=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(I)),pe=ye(),he=ye(!1,!0),ve=ye(!0),ge=ye(!0,!0),me={};function ye(e=!1,t=!1){return function(n,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&o===(e?Ke:We).get(n))return n;const i=C(n);if(!e&&i&&w(me,r))return Reflect.get(me,r,o);const s=Reflect.get(n,r,o);return(I(r)?de.has(r):"__proto__"===r||"__v_isRef"===r)?s:(e||le(n,0,r),t?s:ot(s)?i&&P(r)?s:s.value:R(s)?e?Qe(s):Ge(s):s)}}function be(e=!1){return function(t,n,r,o){const i=t[n];if(!e&&(r=tt(r),!C(t)&&ot(i)&&!ot(r)))return i.value=r,!0;const s=C(t)&&P(n)?Number(n){const t=Array.prototype[e];me[e]=function(...e){const n=tt(this);for(let e=0,t=this.length;e{const t=Array.prototype[e];me[e]=function(...e){ae();const n=t.apply(this,e);return ue(),n}});const xe={get:pe,set:be(),deleteProperty:function(e,t){const n=w(e,t),r=Reflect.deleteProperty(e,t);return r&&n&&fe(e,"delete",t,void 0),r},has:function(e,t){const n=Reflect.has(e,t);return I(t)&&de.has(t)||le(e,0,t),n},ownKeys:function(e){return le(e,0,C(e)?"length":ee),Reflect.ownKeys(e)}},Se={get:ve,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Oe=O({},xe,{get:he,set:be(!0)}),_e=O({},Se,{get:ge}),Ee=e=>R(e)?Ge(e):e,we=e=>R(e)?Qe(e):e,Ce=e=>e,Ne=e=>Reflect.getPrototypeOf(e);function Ae(e,t,n=!1,r=!1){const o=tt(e=e.__v_raw),i=tt(t);t!==i&&!n&&le(o,0,t),!n&&le(o,0,i);const{has:s}=Ne(o),c=n?we:r?Ce:Ee;return s.call(o,t)?c(e.get(t)):s.call(o,i)?c(e.get(i)):void 0}function je(e,t=!1){const n=this.__v_raw,r=tt(n),o=tt(e);return e!==o&&!t&&le(r,0,e),!t&&le(r,0,o),e===o?n.has(e):n.has(e)||n.has(o)}function Te(e,t=!1){return e=e.__v_raw,!t&&le(tt(e),0,ee),Reflect.get(e,"size",e)}function Le(e){e=tt(e);const t=tt(this),n=Ne(t).has.call(t,e);return t.add(e),n||fe(t,"add",e,e),this}function Ie(e,t){t=tt(t);const n=tt(this),{has:r,get:o}=Ne(n);let i=r.call(n,e);i||(e=tt(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?G(t,s)&&fe(n,"set",e,t):fe(n,"add",e,t),this}function Re(e){const t=tt(this),{has:n,get:r}=Ne(t);let o=n.call(t,e);o||(e=tt(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&fe(t,"delete",e,void 0),i}function Me(){const e=tt(this),t=0!==e.size,n=e.clear();return t&&fe(e,"clear",void 0,void 0),n}function ke(e,t){return function(n,r){const o=this,i=o.__v_raw,s=tt(i),c=e?we:t?Ce:Ee;return!e&&le(s,0,ee),i.forEach((e,t)=>n.call(r,c(e),c(t),o))}}function Ve(e,t,n){return function(...r){const o=this.__v_raw,i=tt(o),s=N(i),c="entries"===e||e===Symbol.iterator&&s,a="keys"===e&&s,u=o[e](...r),l=t?we:n?Ce:Ee;return!t&&le(i,0,a?te:ee),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function De(e){return function(...t){return"delete"!==e&&this}}const Pe={get(e){return Ae(this,e)},get size(){return Te(this)},has:je,add:Le,set:Ie,delete:Re,clear:Me,forEach:ke(!1,!1)},Fe={get(e){return Ae(this,e,!1,!0)},get size(){return Te(this)},has:je,add:Le,set:Ie,delete:Re,clear:Me,forEach:ke(!1,!0)},Be={get(e){return Ae(this,e,!0)},get size(){return Te(this,!0)},has(e){return je.call(this,e,!0)},add:De("add"),set:De("set"),delete:De("delete"),clear:De("clear"),forEach:ke(!0,!1)};function $e(e,t){const n=t?Fe:e?Be:Pe;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(w(n,r)&&r in t?n:t,r,o)}["keys","values","entries",Symbol.iterator].forEach(e=>{Pe[e]=Ve(e,!1,!1),Be[e]=Ve(e,!0,!1),Fe[e]=Ve(e,!1,!0)});const ze={get:$e(!1,!1)},He={get:$e(!1,!0)},Ue={get:$e(!0,!1)},We=new WeakMap,Ke=new WeakMap;function Ge(e){return e&&e.__v_isReadonly?e:qe(e,!1,xe,ze)}function Ye(e){return qe(e,!1,Oe,He)}function Qe(e){return qe(e,!0,Se,Ue)}function Xe(e){return qe(e,!0,_e,Ue)}function qe(e,t,n,r){if(!R(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=t?Ke:We,i=o.get(e);if(i)return i;const s=function(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>V(e).slice(8,-1))(e))}(e);if(0===s)return e;const c=new Proxy(e,2===s?r:n);return o.set(e,c),c}function Je(e){return Ze(e)?Je(e.__v_raw):!(!e||!e.__v_isReactive)}function Ze(e){return!(!e||!e.__v_isReadonly)}function et(e){return Je(e)||Ze(e)}function tt(e){return e&&tt(e.__v_raw)||e}function nt(e){return Q(e,"__v_skip",!0),e}const rt=e=>R(e)?Ge(e):e;function ot(e){return Boolean(e&&!0===e.__v_isRef)}function it(e){return at(e)}function st(e){return at(e,!0)}class ct{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:rt(e)}get value(){return le(tt(this),0,"value"),this._value}set value(e){G(tt(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:rt(e),fe(tt(this),"set","value",e))}}function at(e,t=!1){return ot(e)?e:new ct(e,t)}function ut(e){fe(tt(e),"set","value",void 0)}function lt(e){return ot(e)?e.value:e}const ft={get:(e,t,n)=>lt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ot(o)&&!ot(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function dt(e){return Je(e)?e:new Proxy(e,ft)}class pt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e(()=>le(this,0,"value"),()=>fe(this,"set","value"));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function ht(e){return new pt(e)}function vt(e){const t=C(e)?new Array(e.length):{};for(const n in e)t[n]=mt(e,n);return t}class gt{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}function mt(e,t){return ot(e[t])?e[t]:new gt(e,t)}class yt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ne(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,fe(tt(this),"set","value"))}}),this.__v_isReadonly=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),le(tt(this),0,"value"),this._value}set value(e){this._setter(e)}}const bt=[];function xt(e,...t){ae();const n=bt.length?bt[bt.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let e=bt[bt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(r)Ot(r,n,11,[e+t.join(""),n&&n.proxy,o.map(({vnode:e})=>`at <${Wo(n,e.type)}>`).join("\n"),o]);else{const n=["[Vue warn]: "+e,...t];o.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=" at <"+Wo(e.component,e.type,!!e.component&&null==e.component.parent),o=">"+n;return e.props?[r,...St(e.props),o]:[r+o]}(e))}),t}(o)),console.warn(...n)}ue()}function St(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...function e(t,n,r){return L(n)?(n=JSON.stringify(n),r?n:[`${t}=${n}`]):"number"==typeof n||"boolean"==typeof n||null==n?r?n:[`${t}=${n}`]:ot(n)?(n=e(t,tt(n.value),!0),r?n:[t+"=Ref<",n,">"]):T(n)?[`${t}=fn${n.name?`<${n.name}>`:""}`]:(n=tt(n),r?n:[t+"=",n])}(n,e[n]))}),n.length>3&&t.push(" ..."),t}function Ot(e,t,n,r){let o;try{o=r?e(...r):e()}catch(e){Et(e,t,n)}return o}function _t(e,t,n,r){if(T(e)){const o=Ot(e,t,n,r);return o&&M(o)&&o.catch(e=>{Et(e,t,n)}),o}const o=[];for(let i=0;iWt(e)-Wt(t)),Mt=0;Mtnull==e.id?1/0:e.id;function Kt(e){Ct=!1,wt=!0,Ht(e),Nt.sort((e,t)=>Wt(e)-Wt(t));try{for(At=0;Ate.trim()):t&&(o=n.map(X))}let c=K(z(t)),a=r[c];!a&&i&&(c=K(U(t)),a=r[c]),a&&_t(a,e,6,o);const u=r[c+"Once"];if(u){if(e.emitted){if(e.emitted[c])return}else(e.emitted={})[c]=!0;_t(u,e,6,o)}}function Xt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const r=e.emits;let o={},i=!1;if(!T(e)){const r=e=>{i=!0,O(o,Xt(e,t,!0))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return r||i?(C(r)?r.forEach(e=>o[e]=null):O(o,r),e.__emits=o):e.__emits=null}function qt(e,t){return!(!e||!x(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,U(t))||w(e,t))}let Jt=null;function Zt(e){Jt=e}function en(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:c,attrs:a,emit:u,render:l,renderCache:f,data:d,setupState:p,ctx:h}=e;let v;Jt=e;try{let e;if(4&n.shapeFlag){const t=o||r;v=po(l.call(t,t,f,i,p,d,h)),e=a}else{v=po(t(i,t.length>1?{attrs:a,slots:c,emit:u}:null)),e=t.props?a:tn(a)}let g=v;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=g;t.length&&(1&n||6&n)&&(s&&t.some(S)&&(e=nn(e,s)),g=ao(g,e))}n.dirs&&(g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),v=g}catch(t){Et(t,e,1),v=co(Kr)}return Jt=null,v}const tn=e=>{let t;for(const n in e)("class"===n||"style"===n||x(n))&&((t||(t={}))[n]=e[n]);return t},nn=(e,t)=>{const n={};for(const r in e)S(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function rn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o0?(a(null,e.ssFallback,t,n,r,null,i),ln(f,e.ssFallback)):f.resolve()}(t,n,r,o,i,s,c,a):function(e,t,n,r,o,i,{p:s,um:c,o:{createElement:a}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const l=t.ssContent,f=t.ssFallback,{activeBranch:d,pendingBranch:p,isInFallback:h,isHydrating:v}=u;if(p)u.pendingBranch=l,no(l,p)?(s(p,l,u.hiddenContainer,null,o,u,i),u.deps<=0?u.resolve():h&&(s(d,f,n,r,o,null,i),ln(u,f))):(u.pendingId++,v?(u.isHydrating=!1,u.activeBranch=p):c(p,o,u),u.deps=0,u.effects.length=0,u.hiddenContainer=a("div"),h?(s(null,l,u.hiddenContainer,null,o,u,i),u.deps<=0?u.resolve():(s(d,f,n,r,o,null,i),ln(u,f))):d&&no(l,d)?(s(d,l,n,r,o,u,i),u.resolve(!0)):(s(null,l,u.hiddenContainer,null,o,u,i),u.deps<=0&&u.resolve()));else if(d&&no(l,d))s(d,l,n,r,o,u,i),ln(u,l);else{const e=t.props&&t.props.onPending;if(T(e)&&e(),u.pendingBranch=l,u.pendingId++,s(null,l,u.hiddenContainer,null,o,u,i),u.deps<=0)u.resolve();else{const{timeout:e,pendingId:t}=u;e>0?setTimeout(()=>{u.pendingId===t&&u.fallback(f)},e):0===e&&u.fallback(f)}}}(e,t,n,r,o,s,a)},hydrate:function(e,t,n,r,o,i,s,c){const a=t.suspense=cn(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,i);return 0===a.deps&&a.resolve(),u},create:cn};function cn(e,t,n,r,o,i,s,c,a,u=!1){const{p:l,m:f,um:d,n:p,o:{parentNode:h,remove:v}}=a,g=X(e.props&&e.props.timeout),m={vnode:e,parent:t,parentComponent:n,isSVG:s,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:"number"==typeof g?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:r,pendingId:o,effects:i,parentComponent:s,container:c}=m;if(m.isHydrating)m.isHydrating=!1;else if(!e){const e=n&&r.transition&&"out-in"===r.transition.mode;e&&(n.transition.afterLeave=()=>{o===m.pendingId&&f(r,c,t,0)});let{anchor:t}=m;n&&(t=p(n),d(n,s,m,!0)),e||f(r,c,t,0)}ln(m,r),m.pendingBranch=null,m.isInFallback=!1;let a=m.parent,u=!1;for(;a;){if(a.pendingBranch){a.effects.push(...i),u=!0;break}a=a.parent}u||zt(i),m.effects=[];const l=t.props&&t.props.onResolve;T(l)&&l()},fallback(e){if(!m.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,isSVG:i}=m,s=t.props&&t.props.onFallback;T(s)&&s();const c=p(n),a=()=>{m.isInFallback&&(l(null,e,o,c,r,null,i),ln(m,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=a),d(n,r,null,!0),m.isInFallback=!0,u||a()},move(e,t,n){m.activeBranch&&f(m.activeBranch,e,t,n),m.container=e},next:()=>m.activeBranch&&p(m.activeBranch),registerDep(e,t){const n=!!m.pendingBranch;n&&m.deps++;const r=e.vnode.el;e.asyncDep.catch(t=>{Et(t,e,0)}).then(o=>{if(e.isUnmounted||m.isUnmounted||m.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:i}=e;Po(e,o),r&&(i.el=r);const a=!r&&e.subTree.el;t(e,i,h(r||e.subTree.el),r?null:p(e.subTree),m,s,c),a&&v(a),on(e,i.el),n&&0==--m.deps&&m.resolve()})},unmount(e,t){m.isUnmounted=!0,m.activeBranch&&d(m.activeBranch,n,e,t),m.pendingBranch&&d(m.pendingBranch,n,e,t)}};return m}function an(e){return T(e)&&(e=e()),C(e)&&(e=function(e){let t;for(let n=0;nfn+=e;function pn(e,t,n={},r){let o=e[t];fn++,Xr();const i=o&&function e(t){return t.some(t=>!to(t)||t.type!==Kr&&!(t.type===Ur&&!e(t.children)))?t:null}(o(n)),s=eo(Ur,{key:n.key||"_"+t},i||(r?r():[]),i&&1===e._?64:-2);return fn--,s}function hn(e,t=Jt){if(!t)return e;const n=(...n)=>{fn||Xr(!0);const r=Jt;Zt(t);const o=e(...n);return Zt(r),fn||qr(),o};return n._c=!0,n}let vn=null;const gn=[];function mn(e){gn.push(vn=e)}function yn(){gn.pop(),vn=gn[gn.length-1]||null}function bn(e){return t=>hn((function(){mn(e);const n=t.apply(this,arguments);return yn(),n}))}function xn(e,t,n,r){const[o,i]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(F(i))continue;let c;o&&w(o,c=z(i))?n[c]=s:qt(e.emitsOptions,i)||(r[i]=s)}if(i){const t=tt(n);for(let r=0;r{s=!0;const[n,r]=On(e,t,!0);O(o,n),r&&i.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!r&&!s)return e.__props=g;if(C(r))for(let e=0;e-1,s[1]=n<0||e-1||w(s,"default"))&&i.push(t)}}}return e.__props=[o,i]}function _n(e){return"$"!==e[0]}function En(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function wn(e,t){return En(e)===En(t)}function Cn(e,t){if(C(t)){for(let n=0,r=t.length;n{if(n.isUnmounted)return;ae(),ko(n);const o=_t(t,n,e,r);return ko(null),ue(),o});return r?o.unshift(i):o.push(i),i}}const An=e=>(t,n=Ro)=>!Do&&Nn(e,t,n),jn=An("bm"),Tn=An("m"),Ln=An("bu"),In=An("u"),Rn=An("bum"),Mn=An("um"),kn=An("rtg"),Vn=An("rtc"),Dn=(e,t=Ro)=>{Nn("ec",e,t)};function Pn(e,t){return $n(e,null,t)}const Fn={};function Bn(e,t,n){return $n(e,t,n)}function $n(e,t,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:s}=v,c=Ro){let a,u,l=!1;if(ot(e)?(a=()=>e.value,l=!!e._shallow):Je(e)?(a=()=>e,r=!0):a=C(e)?()=>e.map(e=>ot(e)?e.value:Je(e)?Hn(e):T(e)?Ot(e,c,2):void 0):T(e)?t?()=>Ot(e,c,2):()=>{if(!c||!c.isUnmounted)return u&&u(),Ot(e,c,3,[f])}:m,t&&r){const e=a;a=()=>Hn(e())}const f=e=>{u=g.options.onStop=()=>{Ot(e,c,4)}};let d=C(e)?[]:Fn;const p=()=>{if(g.active)if(t){const e=g();(r||l||G(e,d))&&(u&&u(),_t(t,c,3,[e,d===Fn?void 0:d,f]),d=e)}else g()};let h;p.allowRecurse=!!t,h="sync"===o?p:"post"===o?()=>Cr(p,c&&c.suspense):()=>{!c||c.isMounted?function(e){$t(e,Tt,jt,Lt)}(p):p()};const g=ne(a,{lazy:!0,onTrack:i,onTrigger:s,scheduler:h});return zo(g,c),t?n?p():d=g():"post"===o?Cr(g,c&&c.suspense):g(),()=>{re(g),c&&_(c.effects,g)}}function zn(e,t,n){const r=this.proxy;return $n(L(e)?()=>r[e]:e.bind(r),t.bind(r),n,this)}function Hn(e,t=new Set){if(!R(e)||t.has(e))return e;if(t.add(e),ot(e))Hn(e.value,t);else if(C(e))for(let n=0;n{Hn(e,t)});else for(const n in e)Hn(e[n],t);return e}function Un(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Tn(()=>{e.isMounted=!0}),Rn(()=>{e.isUnmounting=!0}),e}const Wn=[Function,Array],Kn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wn,onEnter:Wn,onAfterEnter:Wn,onEnterCancelled:Wn,onBeforeLeave:Wn,onLeave:Wn,onAfterLeave:Wn,onLeaveCancelled:Wn,onBeforeAppear:Wn,onAppear:Wn,onAfterAppear:Wn,onAppearCancelled:Wn},setup(e,{slots:t}){const n=Mo(),r=Un();let o;return()=>{const i=t.default&&Jn(t.default(),!0);if(!i||!i.length)return;const s=tt(e),{mode:c}=s,a=i[0];if(r.isLeaving)return Qn(a);const u=Xn(a);if(!u)return Qn(a);const l=Yn(u,s,r,n);qn(u,l);const f=n.subTree,d=f&&Xn(f);let p=!1;const{getTransitionKey:h}=u.type;if(h){const e=h();void 0===o?o=e:e!==o&&(o=e,p=!0)}if(d&&d.type!==Kr&&(!no(u,d)||p)){const e=Yn(d,s,r,n);if(qn(d,e),"out-in"===c)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.update()},Qn(a);"in-out"===c&&(e.delayLeave=(e,t,n)=>{Gn(r,d)[String(d.key)]=d,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=n})}return a}}};function Gn(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Yn(e,t,n,r){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:c,onEnter:a,onAfterEnter:u,onEnterCancelled:l,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:v,onAppear:g,onAfterAppear:m,onAppearCancelled:y}=t,b=String(e.key),x=Gn(n,e),S=(e,t)=>{e&&_t(e,r,9,t)},O={mode:i,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted){if(!o)return;r=v||c}t._leaveCb&&t._leaveCb(!0);const i=x[b];i&&no(e,i)&&i.el._leaveCb&&i.el._leaveCb(),S(r,[t])},enter(e){let t=a,r=u,i=l;if(!n.isMounted){if(!o)return;t=g||a,r=m||u,i=y||l}let s=!1;const c=e._enterCb=t=>{s||(s=!0,S(t?i:r,[e]),O.delayedLeave&&O.delayedLeave(),e._enterCb=void 0)};t?(t(e,c),t.length<=1&&c()):c()},leave(t,r){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();S(f,[t]);let i=!1;const s=t._leaveCb=n=>{i||(i=!0,r(),S(n?h:p,[t]),t._leaveCb=void 0,x[o]===e&&delete x[o])};x[o]=e,d?(d(t,s),d.length<=1&&s()):s()},clone:e=>Yn(e,t,n,r)};return O}function Qn(e){if(Zn(e))return(e=ao(e)).children=null,e}function Xn(e){return Zn(e)?e.children?e.children[0]:void 0:e}function qn(e,t){6&e.shapeFlag&&e.component?qn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Jn(e,t=!1){let n=[],r=0;for(let o=0;o1)for(let e=0;ee.type.__isKeepAlive,er={name:"KeepAlive",__isKeepAlive:!0,inheritRef:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=new Map,r=new Set;let o=null;const i=Mo(),s=i.suspense,c=i.ctx,{renderer:{p:a,m:u,um:l,o:{createElement:f}}}=c,d=f("div");function p(e){sr(e),l(e,i,s)}function h(e){n.forEach((t,n)=>{const r=Uo(t.type);!r||e&&e(r)||v(n)})}function v(e){const t=n.get(e);o&&t.type===o.type?o&&sr(o):p(t),n.delete(e),r.delete(e)}c.activate=(e,t,n,r,o)=>{const i=e.component;u(e,t,n,0,s),a(i.vnode,e,t,n,i,s,r,o),Cr(()=>{i.isDeactivated=!1,i.a&&Y(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Lr(t,i.parent,e)},s)},c.deactivate=e=>{const t=e.component;u(e,d,null,1,s),Cr(()=>{t.da&&Y(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Lr(n,t.parent,e),t.isDeactivated=!0},s)},Bn(()=>[e.include,e.exclude],([e,t])=>{e&&h(t=>tr(e,t)),t&&h(e=>!tr(t,e))},{flush:"post",deep:!0});let g=null;const m=()=>{null!=g&&n.set(g,cr(i.subTree))};return Tn(m),In(m),Rn(()=>{n.forEach(e=>{const{subTree:t,suspense:n}=i,r=cr(t);if(e.type!==r.type)p(e);else{sr(r);const e=r.component.da;e&&Cr(e,n)}})}),()=>{if(g=null,!t.default)return null;const i=t.default(),s=i[0];if(i.length>1)return o=null,i;if(!to(s)||!(4&s.shapeFlag||128&s.shapeFlag))return o=null,s;let c=cr(s);const a=c.type,u=Uo(a),{include:l,exclude:f,max:d}=e;if(l&&(!u||!tr(l,u))||f&&u&&tr(f,u))return o=c,s;const p=null==c.key?a:c.key,h=n.get(p);return c.el&&(c=ao(c),128&s.shapeFlag&&(s.ssContent=c)),g=p,h?(c.el=h.el,c.component=h.component,c.transition&&qn(c,c.transition),c.shapeFlag|=512,r.delete(p),r.add(p)):(r.add(p),d&&r.size>parseInt(d,10)&&v(r.values().next().value)),c.shapeFlag|=256,o=c,s}}};function tr(e,t){return C(e)?e.some(e=>tr(e,t)):L(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function nr(e,t){or(e,"a",t)}function rr(e,t){or(e,"da",t)}function or(e,t,n=Ro){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Nn(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Zn(e.parent.vnode)&&ir(r,t,n,e),e=e.parent}}function ir(e,t,n,r){const o=Nn(t,e,r,!0);Mn(()=>{_(r[t],o)},n)}function sr(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function cr(e){return 128&e.shapeFlag?e.ssContent:e}const ar=e=>"_"===e[0]||"$stable"===e,ur=e=>C(e)?e.map(po):[po(e)],lr=(e,t,n)=>hn(e=>ur(t(e)),n),fr=(e,t)=>{const n=e._ctx;for(const r in e){if(ar(r))continue;const o=e[r];if(T(o))t[r]=lr(0,o,n);else if(null!=o){const e=ur(o);t[r]=()=>e}}},dr=(e,t)=>{const n=ur(t);e.slots.default=()=>n};function pr(e,t){if(null===Jt)return e;const n=Jt.proxy,r=e.dirs||(e.dirs=[]);for(let e=0;e(i.has(e)||(e&&T(e.install)?(i.add(e),e.install(c,...t)):T(e)&&(i.add(e),e(c,...t))),c),mixin:e=>(o.mixins.includes(e)||(o.mixins.push(e),(e.props||e.emits)&&(o.deopt=!0)),c),component:(e,t)=>t?(o.components[e]=t,c):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,c):o.directives[e],mount(i,a){if(!s){const u=co(n,r);return u.appContext=o,a&&t?t(u,i):e(u,i),s=!0,c._container=i,i.__vue_app__=c,u.component.proxy}},unmount(){s&&e(null,c._container)},provide:(e,t)=>(o.provides[e]=t,c)};return c}}let yr=!1;const br=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,xr=e=>8===e.nodeType;function Sr(e){const{mt:t,p:n,o:{patchProp:r,nextSibling:o,parentNode:i,remove:s,insert:c,createComment:a}}=e,u=(n,r,s,c,a=!1)=>{const v=xr(n)&&"["===n.data,g=()=>p(n,r,s,c,v),{type:m,ref:y,shapeFlag:b}=r,x=n.nodeType;r.el=n;let S=null;switch(m){case Wr:3!==x?S=g():(n.data!==r.children&&(yr=!0,n.data=r.children),S=o(n));break;case Kr:S=8!==x||v?g():o(n);break;case Gr:if(1===x){S=n;const e=!r.children.length;for(let t=0;t{t(r,e,null,s,c,br(e),a)},l=r.type.__asyncLoader;l?l().then(u):u(),S=v?h(n):o(n)}else 64&b?S=8!==x?g():r.type.hydrate(n,r,s,c,a,e,f):128&b&&(S=r.type.hydrate(n,r,s,c,br(i(n)),a,e,u))}return null!=y&&Nr(y,null,c,r),S},l=(e,t,n,o,i)=>{i=i||!!t.dynamicChildren;const{props:c,patchFlag:a,shapeFlag:u,dirs:l}=t;if(-1!==a){if(l&&hr(t,null,n,"created"),c)if(!i||16&a||32&a)for(const t in c)!F(t)&&x(t)&&r(e,t,null,c[t]);else c.onClick&&r(e,"onClick",null,c.onClick);let d;if((d=c&&c.onVnodeBeforeMount)&&Lr(d,n,t),l&&hr(t,null,n,"beforeMount"),((d=c&&c.onVnodeMounted)||l)&&un(()=>{d&&Lr(d,n,t),l&&hr(t,null,n,"mounted")},o),16&u&&(!c||!c.innerHTML&&!c.textContent)){let r=f(e.firstChild,t,e,n,o,i);for(;r;){yr=!0;const e=r;r=r.nextSibling,s(e)}}else 8&u&&e.textContent!==t.children&&(yr=!0,e.textContent=t.children)}return e.nextSibling},f=(e,t,r,o,i,s)=>{s=s||!!t.dynamicChildren;const c=t.children,a=c.length;for(let t=0;t{const u=i(e),l=f(o(e),t,u,n,r,s);return l&&xr(l)&&"]"===l.data?o(t.anchor=l):(yr=!0,c(t.anchor=a("]"),u,l),l)},p=(e,t,r,c,a)=>{if(yr=!0,t.el=null,a){const t=h(e);for(;;){const n=o(e);if(!n||n===t)break;s(n)}}const u=o(e),l=i(e);return s(e),n(null,t,l,u,r,c,br(l)),u},h=e=>{let t=0;for(;e;)if((e=o(e))&&xr(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return o(e);t--}return e};return[(e,t)=>{yr=!1,u(t.firstChild,e,null,null),Ut(),yr&&console.error("Hydration completed but contains mismatches.")},u]}function Or(e){return T(e)?{setup:e,name:e.name}:e}function _r(e){T(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:c}=e;let a,u=null,l=0;const f=()=>{let e;return u||(e=u=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t((l++,u=null,f())),()=>n(e),l+1)});throw e}).then(t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),a=t,t)))};return Or({__asyncLoader:f,name:"AsyncComponentWrapper",setup(){const e=Ro;if(a)return()=>Er(a,e);const t=t=>{u=null,Et(t,e,13,!r)};if(s&&e.suspense)return f().then(t=>()=>Er(t,e)).catch(e=>(t(e),()=>r?co(r,{error:e}):null));const c=it(!1),l=it(),d=it(!!o);return o&&setTimeout(()=>{d.value=!1},o),null!=i&&setTimeout(()=>{if(!c.value&&!l.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),l.value=e}},i),f().then(()=>{c.value=!0}).catch(e=>{t(e),l.value=e}),()=>c.value&&a?Er(a,e):l.value&&r?co(r,{error:l.value}):n&&!d.value?co(n):void 0}})}function Er(e,{vnode:{ref:t,props:n,children:r}}){const o=co(e,n,r);return o.ref=t,o}const wr={scheduler:Ft,allowRecurse:!0},Cr=un,Nr=(e,t,n,r)=>{if(C(e))return void e.forEach((e,o)=>Nr(e,t&&(C(t)?t[o]:t),n,r));let o;o=!r||r.type.__asyncLoader?null:4&r.shapeFlag?r.component.exposed||r.component.proxy:r.el;const{i:i,r:s}=e,c=t&&t.r,a=i.refs===v?i.refs={}:i.refs,u=i.setupState;if(null!=c&&c!==s&&(L(c)?(a[c]=null,w(u,c)&&(u[c]=null)):ot(c)&&(c.value=null)),L(s)){const e=()=>{a[s]=o,w(u,s)&&(u[s]=o)};o?(e.id=-1,Cr(e,n)):e()}else if(ot(s)){const e=()=>{s.value=o};o?(e.id=-1,Cr(e,n)):e()}else T(s)&&Ot(s,i,12,[o,a])};function Ar(e){return Tr(e)}function jr(e){return Tr(e,Sr)}function Tr(e,t){const{insert:n,remove:r,patchProp:o,forcePatchProp:i,createElement:s,createText:c,createComment:a,setText:u,setElementText:l,parentNode:f,nextSibling:d,setScopeId:p=m,cloneNode:h,insertStaticContent:y}=e,b=(e,t,n,r=null,o=null,i=null,s=!1,c=!1)=>{e&&!no(e,t)&&(r=Z(e),K(e,o,i,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:l}=t;switch(a){case Wr:x(e,t,n,r);break;case Kr:S(e,t,n,r);break;case Gr:null==e&&_(t,n,r,s);break;case Ur:I(e,t,n,r,o,i,s,c);break;default:1&l?E(e,t,n,r,o,i,s,c):6&l?R(e,t,n,r,o,i,s,c):(64&l||128&l)&&a.process(e,t,n,r,o,i,s,c,te)}null!=u&&o&&Nr(u,e&&e.ref,i,t)},x=(e,t,r,o)=>{if(null==e)n(t.el=c(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}},S=(e,t,r,o)=>{null==e?n(t.el=a(t.children||""),r,o):t.el=e.el},_=(e,t,n,r)=>{[e.el,e.anchor]=y(e.children,t,n,r)},E=(e,t,n,r,o,i,s,c)=>{s=s||"svg"===t.type,null==e?C(t,n,r,o,i,s,c):j(e,t,o,i,s,c)},C=(e,t,r,i,c,a,u)=>{let f,d;const{type:p,props:v,shapeFlag:g,transition:m,scopeId:y,patchFlag:b,dirs:x}=e;if(e.el&&void 0!==h&&-1===b)f=e.el=h(e.el);else{if(f=e.el=s(e.type,a,v&&v.is),8&g?l(f,e.children):16&g&&A(e.children,f,null,i,c,a&&"foreignObject"!==p,u||!!e.dynamicChildren),x&&hr(e,null,i,"created"),v){for(const t in v)F(t)||o(f,t,null,v[t],a,e.children,i,c,J);(d=v.onVnodeBeforeMount)&&Lr(d,i,e)}N(f,y,e,i)}x&&hr(e,null,i,"beforeMount");const S=(!c||c&&!c.pendingBranch)&&m&&!m.persisted;S&&m.beforeEnter(f),n(f,t,r),((d=v&&v.onVnodeMounted)||S||x)&&Cr(()=>{d&&Lr(d,i,e),S&&m.enter(f),x&&hr(e,null,i,"mounted")},c)},N=(e,t,n,r)=>{if(t&&p(e,t),r){const o=r.type.__scopeId;o&&o!==t&&p(e,o+"-s"),n===r.subTree&&N(e,r.vnode.scopeId,r.vnode,r.parent)}},A=(e,t,n,r,o,i,s,c=0)=>{for(let a=c;a{const a=t.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:d}=t;u|=16&e.patchFlag;const p=e.props||v,h=t.props||v;let g;if((g=h.onVnodeBeforeUpdate)&&Lr(g,n,t,e),d&&hr(t,e,n,"beforeUpdate"),u>0){if(16&u)L(a,t,p,h,n,r,s);else if(2&u&&p.class!==h.class&&o(a,"class",null,h.class,s),4&u&&o(a,"style",p.style,h.style,s),8&u){const c=t.dynamicProps;for(let t=0;t{g&&Lr(g,n,t,e),d&&hr(t,e,n,"updated")},r)},T=(e,t,n,r,o,i)=>{for(let s=0;s{if(n!==r){for(const u in r){if(F(u))continue;const l=r[u],f=n[u];(l!==f||i&&i(e,u))&&o(e,u,f,l,a,t.children,s,c,J)}if(n!==v)for(const i in n)F(i)||i in r||o(e,i,n[i],null,a,t.children,s,c,J)}},I=(e,t,r,o,i,s,a,u)=>{const l=t.el=e?e.el:c(""),f=t.anchor=e?e.anchor:c("");let{patchFlag:d,dynamicChildren:p}=t;d>0&&(u=!0),null==e?(n(l,r,o),n(f,r,o),A(t.children,r,f,i,s,a,u)):d>0&&64&d&&p&&e.dynamicChildren?(T(e.dynamicChildren,p,r,i,s,a),(null!=t.key||i&&t===i.subTree)&&Ir(e,t,!0)):B(e,t,r,f,i,s,a,u)},R=(e,t,n,r,o,i,s,c)=>{null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,c):k(t,n,r,o,i,s,c):V(e,t,c)},k=(e,t,n,r,o,i,s)=>{const c=e.component=function(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Lo,i={uid:Io++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:On(r,o),emitsOptions:Xt(r,o),emit:null,emitted:null,ctx:v,data:v,props:v,attrs:v,slots:v,refs:v,setupState:v,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Qt.bind(null,i),i}(e,r,o);if(Zn(e)&&(c.ctx.renderer=te),function(e,t=!1){Do=t;const{props:n,children:r,shapeFlag:o}=e.vnode,i=4&o;(function(e,t,n,r=!1){const o={},i={};Q(i,oo,1),xn(e,t,o,i),e.props=n?r?o:Ye(o):e.type.props?o:i,e.attrs=i})(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,Q(t,"_",n)):fr(t,e.slots={})}else e.slots={},t&&dr(e,t);Q(e.slots,oo,1)})(e,r);i&&function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jo);const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?$o(e):null;Ro=e,ae();const o=Ot(r,e,0,[e.props,n]);if(ue(),Ro=null,M(o)){if(t)return o.then(t=>{Po(e,t)});e.asyncDep=o}else Po(e,o)}else Bo(e)}(e,t);Do=!1}(c),c.asyncDep){if(o&&o.registerDep(c,D),!e.el){const e=c.subTree=co(Kr);S(null,e,t,n)}}else D(c,e,t,n,o,i,s)},V=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:c,patchFlag:a}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!o&&!c||c&&c.$stable)||r!==s&&(r?!s||rn(r,s,u):!!s);if(1024&a)return!0;if(16&a)return r?rn(r,s,u):!!s;if(8&a){const e=t.dynamicProps;for(let t=0;t-1&&Nt.splice(t,1)}(r.update),r.update()}else t.component=e.component,t.el=e.el,r.vnode=t},D=(e,t,n,r,o,i,s)=>{e.update=ne((function(){if(e.isMounted){let t,{next:n,bu:r,u:c,parent:a,vnode:u}=e,l=n;n?(n.el=u.el,P(e,n,s)):n=u,r&&Y(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Lr(t,a,n,u);const d=en(e),p=e.subTree;e.subTree=d,b(p,d,f(p.el),Z(p),e,o,i),n.el=d.el,null===l&&on(e,d.el),c&&Cr(c,o),(t=n.props&&n.props.onVnodeUpdated)&&Cr(()=>{Lr(t,a,n,u)},o)}else{let s;const{el:c,props:a}=t,{bm:u,m:l,parent:f}=e;u&&Y(u),(s=a&&a.onVnodeBeforeMount)&&Lr(s,f,t);const d=e.subTree=en(e);if(c&&ie?ie(t.el,d,e,o):(b(null,d,n,r,e,o,i),t.el=d.el),l&&Cr(l,o),s=a&&a.onVnodeMounted){const e=t;Cr(()=>{Lr(s,f,e)},o)}const{a:p}=e;p&&256&t.shapeFlag&&Cr(p,o),e.isMounted=!0,t=n=r=null}}),wr)},P=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,c=tt(o),[a]=e.propsOptions;if(!(r||s>0)||16&s){let r;xn(e,t,o,i);for(const i in c)t&&(w(t,i)||(r=U(i))!==i&&w(t,r))||(a?!n||void 0===n[i]&&void 0===n[r]||(o[i]=Sn(a,t||v,i,void 0,e)):delete o[i]);if(i!==c)for(const e in i)t&&w(t,e)||delete i[e]}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r{const{vnode:n,slots:r}=e;let o=!0,i=v;if(32&n.shapeFlag){const e=t._;e?1===e?o=!1:O(r,t):(o=!t.$stable,fr(t,r)),i=t}else t&&(dr(e,t),i={default:1});if(o)for(const e in r)ar(e)||e in i||delete r[e]})(e,t.children),Ht(void 0,e.update)},B=(e,t,n,r,o,i,s,c=!1)=>{const a=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:p}=t;if(d>0){if(128&d)return void H(a,f,n,r,o,i,s,c);if(256&d)return void $(a,f,n,r,o,i,s,c)}8&p?(16&u&&J(a,o,i),f!==a&&l(n,f)):16&u?16&p?H(a,f,n,r,o,i,s,c):J(a,o,i,!0):(8&u&&l(n,""),16&p&&A(f,n,r,o,i,s,c))},$=(e,t,n,r,o,i,s,c)=>{const a=(e=e||g).length,u=(t=t||g).length,l=Math.min(a,u);let f;for(f=0;fu?J(e,o,i,!0,!1,l):A(t,n,r,o,i,s,c,l)},H=(e,t,n,r,o,i,s,c)=>{let a=0;const u=t.length;let l=e.length-1,f=u-1;for(;a<=l&&a<=f;){const r=e[a],u=t[a]=c?ho(t[a]):po(t[a]);if(!no(r,u))break;b(r,u,n,null,o,i,s,c),a++}for(;a<=l&&a<=f;){const r=e[l],a=t[f]=c?ho(t[f]):po(t[f]);if(!no(r,a))break;b(r,a,n,null,o,i,s,c),l--,f--}if(a>l){if(a<=f){const e=f+1,l=ef)for(;a<=l;)K(e[a],o,i,!0),a++;else{const d=a,p=a,h=new Map;for(a=p;a<=f;a++){const e=t[a]=c?ho(t[a]):po(t[a]);null!=e.key&&h.set(e.key,a)}let v,m=0;const y=f-p+1;let x=!1,S=0;const O=new Array(y);for(a=0;a=y){K(r,o,i,!0);continue}let u;if(null!=r.key)u=h.get(r.key);else for(v=p;v<=f;v++)if(0===O[v-p]&&no(r,t[v])){u=v;break}void 0===u?K(r,o,i,!0):(O[u-p]=a+1,u>=S?S=u:x=!0,b(r,t[u],n,null,o,i,s,c),m++)}const _=x?function(e){const t=e.slice(),n=[0];let r,o,i,s,c;const a=e.length;for(r=0;r0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}(O):g;for(v=_.length-1,a=y-1;a>=0;a--){const e=p+a,c=t[e],l=e+1{const{el:s,type:c,transition:a,children:u,shapeFlag:l}=e;if(6&l)W(e.component.subTree,t,r,o);else if(128&l)e.suspense.move(t,r,o);else if(64&l)c.move(e,t,r,te);else if(c!==Ur)if(c!==Gr)if(2!==o&&1&l&&a)if(0===o)a.beforeEnter(s),n(s,t,r),Cr(()=>a.enter(s),i);else{const{leave:e,delayLeave:o,afterLeave:i}=a,c=()=>n(s,t,r),u=()=>{e(s,()=>{c(),i&&i()})};o?o(s,c,u):u()}else n(s,t,r);else(({el:e,anchor:t},r,o)=>{let i;for(;e&&e!==t;)i=d(e),n(e,r,o),e=i;n(t,r,o)})(e,t,r);else{n(s,t,r);for(let e=0;e{const{type:i,props:s,ref:c,children:a,dynamicChildren:u,shapeFlag:l,patchFlag:f,dirs:d}=e;if(null!=c&&Nr(c,null,n,null),256&l)return void t.ctx.deactivate(e);const p=1&l&&d;let h;if((h=s&&s.onVnodeBeforeUnmount)&&Lr(h,t,e),6&l)q(e.component,n,r);else{if(128&l)return void e.suspense.unmount(n,r);p&&hr(e,null,t,"beforeUnmount"),u&&(i!==Ur||f>0&&64&f)?J(u,t,n,!1,!0):(i===Ur&&(128&f||256&f)||!o&&16&l)&&J(a,t,n),64&l&&(r||!Rr(e.props))&&e.type.remove(e,te),r&&G(e)}((h=s&&s.onVnodeUnmounted)||p)&&Cr(()=>{h&&Lr(h,t,e),p&&hr(e,null,t,"unmounted")},n)},G=e=>{const{type:t,el:n,anchor:o,transition:i}=e;if(t===Ur)return void X(n,o);if(t===Gr)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=d(e),r(e),e=n;r(t)})(e);const s=()=>{r(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,o=()=>t(n,s);r?r(e.el,s,o):o()}else s()},X=(e,t)=>{let n;for(;e!==t;)n=d(e),r(e),e=n;r(t)},q=(e,t,n)=>{const{bum:r,effects:o,update:i,subTree:s,um:c}=e;if(r&&Y(r),o)for(let e=0;e{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},J=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?Z(e.component.subTree):128&e.shapeFlag?e.suspense.next():d(e.anchor||e.el),ee=(e,t)=>{null==e?t._vnode&&K(t._vnode,null,null,!0):b(t._vnode||null,e,t),Ut(),t._vnode=e},te={p:b,um:K,m:W,r:G,mt:k,mc:A,pc:B,pbc:T,n:Z,o:e};let oe,ie;return t&&([oe,ie]=t(te)),{render:ee,hydrate:oe,createApp:mr(ee,oe)}}function Lr(e,t,n,r=null){_t(e,t,7,[n,r])}function Ir(e,t,n=!1){const r=e.children,o=t.children;if(C(r)&&C(o))for(let e=0;ee&&(e.disabled||""===e.disabled),Mr=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,kr=(e,t)=>{const n=e&&e.to;return L(n)?t?t(n):null:n};function Vr(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:s,anchor:c,shapeFlag:a,children:u,props:l}=e,f=2===i;if(f&&r(s,t,n),(!f||Rr(l))&&16&a)for(let e=0;e{16&g&&u(m,e,t,o,i,s,c)};v?y(n,a):l&&y(l,f)}else{t.el=e.el;const r=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,h=Rr(e.props),g=h?n:u,m=h?r:d;if(s=s||Mr(u),t.dynamicChildren?(f(e.dynamicChildren,t.dynamicChildren,g,o,i,s),Ir(e,t,!0)):c||l(e,t,g,m,o,i,s),v)h||Vr(t,n,r,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=kr(t.props,p);e&&Vr(t,e,null,a,0)}else h&&Vr(t,u,d,a,1)}},remove(e,{r:t,o:{remove:n}}){const{shapeFlag:r,children:o,anchor:i}=e;if(n(i),16&r)for(let e=0;e0&&Qr&&Qr.push(i),i}function to(e){return!!e&&!0===e.__v_isVNode}function no(e,t){return e.type===t.type&&e.key===t.key}function ro(e){}const oo="__vInternal",io=({key:e})=>null!=e?e:null,so=({ref:e})=>null!=e?L(e)||ot(e)||T(e)?{i:Jt,r:e}:e:null,co=function(e,t=null,n=null,r=0,o=null,i=!1){if(e&&e!==Fr||(e=Kr),to(e)){const r=ao(e,t,!0);return n&&vo(r,n),r}var c;if(T(c=e)&&"__vccOpts"in c&&(e=e.__vccOpts),t){(et(t)||oo in t)&&(t=O({},t));let{class:e,style:n}=t;e&&!L(e)&&(t.class=l(e)),R(n)&&(et(n)&&!C(n)&&(n=O({},n)),t.style=s(n))}const a=L(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:R(e)?4:T(e)?2:0,u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&io(t),ref:t&&so(t),scopeId:vn,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};if(vo(u,n),128&a){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let r,o;return 32&t?(r=an(n.default),o=an(n.fallback)):(r=an(n),o=po(null)),{content:r,fallback:o}}(u);u.ssContent=e,u.ssFallback=t}return Jr>0&&!i&&Qr&&(r>0||6&a)&&32!==r&&Qr.push(u),u};function ao(e,t,n=!1){const{props:r,ref:o,patchFlag:i}=e,s=t?go(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&io(s),ref:t&&t.ref?n&&o?C(o)?o.concat(so(t)):[o,so(t)]:so(t):o,scopeId:e.scopeId,children:e.children,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ur?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ao(e.ssContent),ssFallback:e.ssFallback&&ao(e.ssFallback),el:e.el,anchor:e.anchor}}function uo(e=" ",t=0){return co(Wr,null,e,t)}function lo(e,t){const n=co(Gr,null,e);return n.staticCount=t,n}function fo(e="",t=!1){return t?(Xr(),eo(Kr,null,e)):co(Kr,null,e)}function po(e){return null==e||"boolean"==typeof e?co(Kr):C(e)?co(Ur,null,e):"object"==typeof e?null===e.el?e:ao(e):co(Wr,null,String(e))}function ho(e){return null===e.el?e:ao(e)}function vo(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(C(t))n=16;else if("object"==typeof t){if(1&r||64&r){const n=t.default;return void(n&&(n._c&&dn(1),vo(e,n()),n._c&&dn(-1)))}{n=32;const r=t._;r||oo in t?3===r&&Jt&&(1024&Jt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Jt}}else T(t)?(t={default:t,_ctx:Jt},n=32):(t=String(t),64&r?(n=16,t=[uo(t)]):n=8);e.children=t,e.shapeFlag|=n}function go(...e){const t=O({},e[0]);for(let n=1;n1)return n&&T(t)?t():t}}let bo=!1;function xo(e,t,n=[],r=[],o=[],i=!1){const{mixins:s,extends:c,data:a,computed:u,methods:l,watch:f,provide:d,inject:p,components:h,directives:g,beforeMount:y,mounted:b,beforeUpdate:x,updated:S,activated:_,deactivated:E,beforeUnmount:w,unmounted:N,render:A,renderTracked:j,renderTriggered:L,errorCaptured:I,expose:M}=t,k=e.proxy,V=e.ctx,D=e.appContext.mixins;if(i&&A&&e.render===m&&(e.render=A),i||(bo=!0,So("beforeCreate","bc",t,e,D),bo=!1,_o(e,D,n,r,o)),c&&xo(e,c,n,r,o,!0),s&&_o(e,s,n,r,o),p)if(C(p))for(let e=0;eEo(e,t,k)),a&&Eo(e,a,k)),u)for(const e in u){const t=u[e],n=Ko({get:T(t)?t.bind(k,k):T(t.get)?t.get.bind(k,k):m,set:!T(t)&&T(t.set)?t.set.bind(k):m});Object.defineProperty(V,e,{enumerable:!0,configurable:!0,get:()=>n.value,set:e=>n.value=e})}if(f&&r.push(f),!i&&r.length&&r.forEach(e=>{for(const t in e)wo(e[t],V,k,t)}),d&&o.push(d),!i&&o.length&&o.forEach(e=>{const t=T(e)?e.call(k):e;Reflect.ownKeys(t).forEach(e=>{mo(e,t[e])})}),i&&(h&&O(e.components||(e.components=O({},e.type.components)),h),g&&O(e.directives||(e.directives=O({},e.type.directives)),g)),i||So("created","c",t,e,D),y&&jn(y.bind(k)),b&&Tn(b.bind(k)),x&&Ln(x.bind(k)),S&&In(S.bind(k)),_&&nr(_.bind(k)),E&&rr(E.bind(k)),I&&Dn(I.bind(k)),j&&Vn(j.bind(k)),L&&kn(L.bind(k)),w&&Rn(w.bind(k)),N&&Mn(N.bind(k)),C(M)&&!i)if(M.length){const t=e.exposed||(e.exposed=dt({}));M.forEach(e=>{t[e]=mt(k,e)})}else e.exposed||(e.exposed=v)}function So(e,t,n,r,o){Oo(e,t,o,r);const{extends:i,mixins:s}=n;i&&function e(t,n,r,o){r.extends&&e(t,n,r.extends,o);const i=r[t];i&&_t(i.bind(o.proxy),o,n)}(e,t,i,r),s&&Oo(e,t,s,r);const c=n[e];c&&_t(c.bind(r.proxy),r,t)}function Oo(e,t,n,r){for(let o=0;o{let t=e;for(let e=0;en[r];if(L(e)){const n=t[e];T(n)&&Bn(o,n)}else if(T(e))Bn(o,e.bind(n));else if(R(e))if(C(e))e.forEach(e=>wo(e,t,n,r));else{const r=T(e.handler)?e.handler.bind(n):t[e.handler];T(r)&&Bn(o,r,e)}}function Co(e,t,n){const r=n.appContext.config.optionMergeStrategies,{mixins:o,extends:i}=t;i&&Co(e,i,n),o&&o.forEach(t=>Co(e,t,n));for(const o in t)e[o]=r&&w(r,o)?r[o](e[o],t[o],n.proxy,o):t[o]}const No=e=>e&&(e.proxy?e.proxy:No(e.parent)),Ao=O(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>No(e.parent),$root:e=>e.root&&e.root.proxy,$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:r,extends:o}=t;if(n)return n;const i=e.appContext.mixins;if(!i.length&&!r&&!o)return t;const s={};return i.forEach(t=>Co(s,t,e)),Co(s,t,e),t.__merged=s}(e),$forceUpdate:e=>()=>Ft(e.update),$nextTick:e=>Pt.bind(e.proxy),$watch:e=>zn.bind(e)}),jo={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:c,appContext:a}=e;if("__v_skip"===t)return!0;let u;if("$"!==t[0]){const c=s[t];if(void 0!==c)switch(c){case 0:return r[t];case 1:return o[t];case 3:return n[t];case 2:return i[t]}else{if(r!==v&&w(r,t))return s[t]=0,r[t];if(o!==v&&w(o,t))return s[t]=1,o[t];if((u=e.propsOptions[0])&&w(u,t))return s[t]=2,i[t];if(n!==v&&w(n,t))return s[t]=3,n[t];bo||(s[t]=4)}}const l=Ao[t];let f,d;return l?("$attrs"===t&&le(e,0,t),l(e)):(f=c.__cssModules)&&(f=f[t])?f:n!==v&&w(n,t)?(s[t]=3,n[t]):(d=a.config.globalProperties,w(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;if(o!==v&&w(o,t))o[t]=n;else if(r!==v&&w(r,t))r[t]=n;else if(t in e.props)return!1;return!("$"===t[0]&&t.slice(1)in e||(i[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let c;return void 0!==n[s]||e!==v&&w(e,s)||t!==v&&w(t,s)||(c=i[0])&&w(c,s)||w(r,s)||w(Ao,s)||w(o.config.globalProperties,s)}},To=O({},jo,{get(e,t){if(t!==Symbol.unscopables)return jo.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!o(t)}),Lo=vr();let Io=0,Ro=null;const Mo=()=>Ro||Jt,ko=e=>{Ro=e};let Vo,Do=!1;function Po(e,t,n){T(t)?e.render=t:R(t)&&(e.setupState=dt(t)),Bo(e)}function Fo(e){Vo=e}function Bo(e,t){const n=e.type;e.render||(Vo&&n.template&&!n.render&&(n.render=Vo(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||m,e.render._rc&&(e.withProxy=new Proxy(e.ctx,To))),Ro=e,ae(),xo(e,n),ue(),Ro=null}function $o(e){return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t=>{e.exposed=dt(t)}}}function zo(e,t=Ro){t&&(t.effects||(t.effects=[])).push(e)}const Ho=/(?:^|[-_])(\w)/g;function Uo(e){return T(e)&&e.displayName||e.name}function Wo(e,t,n=!1){let r=Uo(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?r.replace(Ho,e=>e.toUpperCase()).replace(/[-_]/g,""):n?"App":"Anonymous"}function Ko(e){const t=function(e){let t,n;return T(e)?(t=e,n=m):(t=e.get,n=e.set),new yt(t,n,T(e)||!e.set)}(e);return zo(t.effect),t}function Go(){return null}function Yo(){return null}function Qo(){const e=Mo();return e.setupContext||(e.setupContext=$o(e))}function Xo(e,t,n){const r=arguments.length;return 2===r?R(t)&&!C(t)?to(t)?co(e,null,[t]):co(e,t):co(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&to(n)&&(n=[n]),co(e,t,n))}const qo=Symbol(""),Jo=()=>{{const e=yo(qo);return e||xt("Server rendering context not provided. Make sure to only call useSsrContext() conditionally in the server build."),e}};function Zo(){}function ei(e,t){let n;if(C(e)||L(e)){n=new Array(e.length);for(let r=0,o=e.length;r{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n)=>t?si.createElementNS(ii,e):si.createElement(e,n?{is:n}:void 0),createText:e=>si.createTextNode(e),createComment:e=>si.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>si.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode:e=>e.cloneNode(!0),insertStaticContent(e,t,n,r){const o=r?ai||(ai=si.createElementNS(ii,"svg")):ci||(ci=si.createElement("div"));o.innerHTML=e;const i=o.firstChild;let s=i,c=s;for(;s;)c=s,ui.insert(s,t,n),s=o.firstChild;return[i,c]}},li=/\s*!important$/;function fi(e,t,n){if(C(n))n.forEach(n=>fi(e,t,n));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=pi[t];if(n)return n;let r=z(t);if("filter"!==r&&r in e)return pi[t]=r;r=W(r);for(let n=0;ndocument.createEvent("Event").timeStamp&&(vi=()=>performance.now());let gi=0;const mi=Promise.resolve(),yi=()=>{gi=0};function bi(e,t,n,r){e.addEventListener(t,n,r)}const xi=/(?:Once|Passive|Capture)$/,Si=/^on[a-z]/;function Oi(e="$style"){{const t=Mo();if(!t)return v;const n=t.type.__cssModules;if(!n)return v;return n[e]||v}}function _i(e){const t=Mo();if(!t)return;const n=()=>function e(t,n){if(128&t.shapeFlag){const r=t.suspense;t=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{e(r.activeBranch,n)})}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el){const e=t.el.style;for(const t in n)e.setProperty("--"+t,n[t])}else t.type===Ur&&t.children.forEach(t=>e(t,n))}(t.subTree,e(t.proxy));Tn(()=>Pn(n,{flush:"post"})),In(n)}const Ei=(e,{slots:t})=>Xo(Kn,Ni(e),t);Ei.displayName="Transition";const wi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ci=Ei.props=O({},Kn.props,wi);function Ni(e){let{name:t="v",type:n,css:r=!0,duration:o,enterFromClass:i=t+"-enter-from",enterActiveClass:s=t+"-enter-active",enterToClass:c=t+"-enter-to",appearFromClass:a=i,appearActiveClass:u=s,appearToClass:l=c,leaveFromClass:f=t+"-leave-from",leaveActiveClass:d=t+"-leave-active",leaveToClass:p=t+"-leave-to"}=e;const h={};for(const t in e)t in wi||(h[t]=e[t]);if(!r)return h;const v=function(e){if(null==e)return null;if(R(e))return[Ai(e.enter),Ai(e.leave)];{const t=Ai(e);return[t,t]}}(o),g=v&&v[0],m=v&&v[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:x,onLeave:S,onLeaveCancelled:_,onBeforeAppear:E=y,onAppear:w=b,onAppearCancelled:C=x}=h,N=(e,t,n)=>{Ti(e,t?l:c),Ti(e,t?u:s),n&&n()},A=(e,t)=>{Ti(e,p),Ti(e,d),t&&t()},j=e=>(t,r)=>{const o=e?w:b,s=()=>N(t,e,r);o&&o(t,s),Li(()=>{Ti(t,e?a:i),ji(t,e?l:c),o&&o.length>1||Ri(t,n,g,s)})};return O(h,{onBeforeEnter(e){y&&y(e),ji(e,i),ji(e,s)},onBeforeAppear(e){E&&E(e),ji(e,a),ji(e,u)},onEnter:j(!1),onAppear:j(!0),onLeave(e,t){const r=()=>A(e,t);ji(e,f),Di(),ji(e,d),Li(()=>{Ti(e,f),ji(e,p),S&&S.length>1||Ri(e,n,m,r)}),S&&S(e,r)},onEnterCancelled(e){N(e,!1),x&&x(e)},onAppearCancelled(e){N(e,!0),C&&C(e)},onLeaveCancelled(e){A(e),_&&_(e)}})}function Ai(e){return X(e)}function ji(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e._vtc||(e._vtc=new Set)).add(t)}function Ti(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Li(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ii=0;function Ri(e,t,n,r){const o=e._endId=++Ii,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:c,propCount:a}=Mi(e,t);if(!s)return r();const u=s+"end";let l=0;const f=()=>{e.removeEventListener(u,d),i()},d=t=>{t.target===e&&++l>=a&&f()};setTimeout(()=>{l(n[e]||"").split(", "),o=r("transitionDelay"),i=r("transitionDuration"),s=ki(o,i),c=r("animationDelay"),a=r("animationDuration"),u=ki(c,a);let l=null,f=0,d=0;return"transition"===t?s>0&&(l="transition",f=s,d=i.length):"animation"===t?u>0&&(l="animation",f=u,d=a.length):(f=Math.max(s,u),l=f>0?s>u?"transition":"animation":null,d=l?"transition"===l?i.length:a.length:0),{type:l,timeout:f,propCount:d,hasTransform:"transition"===l&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function ki(e,t){for(;e.lengthVi(t)+Vi(e[n])))}function Vi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Di(){return document.body.offsetHeight}const Pi=new WeakMap,Fi=new WeakMap,Bi={name:"TransitionGroup",props:O({},Ci,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Mo(),r=Un();let o,i;return In(()=>{if(!o.length)return;const t=e.moveClass||(e.name||"v")+"-move";if(!function(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=Mi(r);return o.removeChild(r),i}(o[0].el,n.vnode.el,t))return;o.forEach($i),o.forEach(zi);const r=o.filter(Hi);Di(),r.forEach(e=>{const n=e.el,r=n.style;ji(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n._moveCb=null,Ti(n,t))};n.addEventListener("transitionend",o)})}),()=>{const s=tt(e),c=Ni(s),a=s.tag||Ur;o=i,i=t.default?Jn(t.default()):[];for(let e=0;e{const t=e.props["onUpdate:modelValue"];return C(t)?e=>Y(t,e):t};function Wi(e){e.target.composing=!0}function Ki(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent("input",!0,!0),e.dispatchEvent(n)}(t))}const Gi={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=Ui(o);const i=r||"number"===e.type;bi(e,t?"change":"input",t=>{if(t.target.composing)return;let r=e.value;n?r=r.trim():i&&(r=X(r)),e._assign(r)}),n&&bi(e,"change",()=>{e.value=e.value.trim()}),t||(bi(e,"compositionstart",Wi),bi(e,"compositionend",Ki),bi(e,"change",Ki))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:r}},o){if(e._assign=Ui(o),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((r||"number"===e.type)&&X(e.value)===t)return}const i=null==t?"":t;e.value!==i&&(e.value=i)}},Yi={created(e,t,n){e._assign=Ui(n),bi(e,"change",()=>{const t=e._modelValue,n=Zi(e),r=e.checked,o=e._assign;if(C(t)){const e=d(t,n),i=-1!==e;if(r&&!i)o(t.concat(n));else if(!r&&i){const n=[...t];n.splice(e,1),o(n)}}else if(A(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(es(e,r))})},mounted:Qi,beforeUpdate(e,t,n){e._assign=Ui(n),Qi(e,t,n)}};function Qi(e,{value:t,oldValue:n},r){e._modelValue=t,C(t)?e.checked=d(t,r.props.value)>-1:A(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=f(t,es(e,!0)))}const Xi={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Ui(n),bi(e,"change",()=>{e._assign(Zi(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Ui(r),t!==n&&(e.checked=f(t,r.props.value))}},qi={created(e,{value:t,modifiers:{number:n}},r){const o=A(t);bi(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?X(Zi(e)):Zi(e));e._assign(e.multiple?o?new Set(t):t:t[0])}),e._assign=Ui(r)},mounted(e,{value:t}){Ji(e,t)},beforeUpdate(e,t,n){e._assign=Ui(n)},updated(e,{value:t}){Ji(e,t)}};function Ji(e,t){const n=e.multiple;if(!n||C(t)||A(t)){for(let r=0,o=e.options.length;r-1:t.has(i);else if(f(Zi(o),t))return void(e.selectedIndex=r)}n||(e.selectedIndex=-1)}}function Zi(e){return"_value"in e?e._value:e.value}function es(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ts={created(e,t,n){ns(e,t,n,null,"created")},mounted(e,t,n){ns(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ns(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ns(e,t,n,r,"updated")}};function ns(e,t,n,r,o){let i;switch(e.tagName){case"SELECT":i=qi;break;case"TEXTAREA":i=Gi;break;default:switch(n.props&&n.props.type){case"checkbox":i=Yi;break;case"radio":i=Xi;break;default:i=Gi}}const s=i[o];s&&s(e,t,n,r)}const rs=["ctrl","shift","alt","meta"],os={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>rs.some(n=>e[n+"Key"]&&!t.includes(n))},is=(e,t)=>(n,...r)=>{for(let e=0;en=>{if(!("key"in n))return;const r=U(n.key);return t.some(e=>e===r||ss[e]===r)?e(n):void 0},as={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):us(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){r&&t!==n?t?(r.beforeEnter(e),us(e,!0),r.enter(e)):r.leave(e,()=>{us(e,!1)}):us(e,t)},beforeUnmount(e,{value:t}){us(e,t)}};function us(e,t){e.style.display=t?e._vod:"none"}const ls=O({patchProp:(e,t,n,r,o=!1,s,c,a,u)=>{switch(t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}(e,r,o);break;case"style":!function(e,t,n){const r=e.style;if(n)if(L(n))t!==n&&(r.cssText=n);else{for(const e in n)fi(r,e,n[e]);if(t&&!L(t))for(const e in t)null==n[e]&&fi(r,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:x(t)?S(t)||function(e,t,n,r,o=null){const i=e._vei||(e._vei={}),s=i[t];if(r&&s)s.value=r;else{const[n,c]=function(e){let t;if(xi.test(e)){let n;for(t={};n=e.match(xi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),t]}(t);r?bi(e,n,i[t]=function(e,t){const n=e=>{(e.timeStamp||vi())>=n.attached-1&&_t(function(e,t){if(C(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=gi||(mi.then(yi),gi=vi()),n}(r,o),c):s&&(function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,s,c),i[t]=void 0)}}(e,t,0,r,c):function(e,t,n,r){return r?"innerHTML"===t||!!(t in e&&Si.test(t)&&T(n)):"spellcheck"!==t&&"draggable"!==t&&(("form"!==t||"string"!=typeof n)&&(("list"!==t||"INPUT"!==e.tagName)&&((!Si.test(t)||!L(n))&&t in e)))}(e,t,r,o)?function(e,t,n,r,o,i,s){if("innerHTML"===t||"textContent"===t)return r&&s(r,o,i),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const r=typeof e[t];if(""===n&&"boolean"===r)return void(e[t]=!0);if(null==n&&"string"===r)return e[t]="",void e.removeAttribute(t);if("number"===r)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(e){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,s,c,a,u):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(hi,t.slice(6,t.length)):e.setAttributeNS(hi,t,n);else{const r=i(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,o))}},forcePatchProp:(e,t)=>"value"===t},ui);let fs,ds=!1;function ps(){return fs||(fs=Ar(ls))}function hs(){return fs=ds?fs:jr(ls),ds=!0,fs}const vs=(...e)=>{ps().render(...e)},gs=(...e)=>{hs().hydrate(...e)},ms=(...e)=>{const t=ps().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=bs(e);if(!r)return;const o=t._component;T(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const i=n(r);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},ys=(...e)=>{const t=hs().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=bs(e);if(t)return n(t,!0)},t};function bs(e){return L(e)?document.querySelector(e):e}const xs=()=>{}},function(e,t,n){var r=n(1);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(8),o=n(66),i=n(6),s=n(25),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(i(e),t=s(t,!0),i(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(22),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(17);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(33),o=n(17);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(8),o=n(9),i=n(24);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(2),o=n(13),i=n(5),s=n(44),c=n(68),a=n(18),u=a.get,l=a.enforce,f=String(String).split("String");(e.exports=function(e,t,n,c){var a,u=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(a=l(n)).source||(a.source=f.join("string"==typeof t?t:""))),e!==r?(u?!p&&e[t]&&(d=!0):delete e[t],d?e[t]=n:o(e,t,n)):d?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||c(this)}))},function(e,t,n){var r=n(8),o=n(1),i=n(5),s=Object.defineProperty,c={},a=function(e){throw e};e.exports=function(e,t){if(i(c,e))return c[e];t||(t={});var n=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:a,f=i(t,1)?t[1]:void 0;return c[e]=!!n&&!o((function(){if(u&&!r)return!0;var e={length:-1};u?s(e,1,{enumerable:!0,get:a}):e[1]=1,n.call(e,l,f)}))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r,o,i,s=n(69),c=n(2),a=n(4),u=n(13),l=n(5),f=n(45),d=n(34),p=n(26),h=c.WeakMap;if(s){var v=f.state||(f.state=new h),g=v.get,m=v.has,y=v.set;r=function(e,t){return t.facade=e,y.call(v,e,t),t},o=function(e){return g.call(v,e)||{}},i=function(e){return m.call(v,e)}}else{var b=d("state");p[b]=!0,r=function(e,t){return t.facade=e,u(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!a(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(39),o=n(33),i=n(11),s=n(10),c=n(41),a=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,f=6==e,d=7==e,p=5==e||f;return function(h,v,g,m){for(var y,b,x=i(h),S=o(x),O=r(v,g,3),_=s(S.length),E=0,w=m||c,C=t?w(h,_):n||d?w(h,0):void 0;_>E;E++)if((p||E in S)&&(b=O(y=S[E],E,x),e))if(t)C[E]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return E;case 2:a.call(C,y)}else switch(e){case 4:return!1;case 7:a.call(C,y)}return f?-1:u||l?l:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){var r=n(8),o=n(65),i=n(24),s=n(12),c=n(25),a=n(5),u=n(66),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=s(e),t=c(t,!0),u)try{return l(e,t)}catch(e){}if(a(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(9).f,o=n(5),i=n(3)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(4);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,n){var r=n(72),o=n(2),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(73),o=n(48).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(16);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(25),o=n(9),i=n(24);e.exports=function(e,t,n){var s=r(t);s in e?o.f(e,s,i(0,n)):e[s]=n}},function(e,t,n){var r=n(1),o=n(3),i=n(52),s=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t){e.exports={}},function(e,t,n){var r=n(1),o=n(16),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(46),o=n(36),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(1),o=/#|\.prototype\./,i=function(e,t){var n=c[s(e)];return n==u||n!=a&&("function"==typeof t?r(t):!!t)},s=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){var r,o=n(6),i=n(100),s=n(48),c=n(26),a=n(101),u=n(67),l=n(34),f=l("IE_PROTO"),d=function(){},p=function(e){return"