vis-timeline
Version:
Create a fully customizable, interactive timeline with items and ranges.
1,486 lines (1,188 loc) • 1.18 MB
JavaScript
/**
* vis-timeline and vis-graph2d
* https://visjs.github.io/vis-timeline/
*
* Create a fully customizable, interactive timeline with items and ranges.
*
* @version 7.5.1
* @date 2022-03-01T18:26:09.239Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
*
* @license
* vis.js is dual licensed under both
*
* 1. The Apache 2.0 License
* http://www.apache.org/licenses/LICENSE-2.0
*
* and
*
* 2. The MIT License
* http://opensource.org/licenses/MIT
*
* vis.js may be distributed under either license.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('moment'), require('vis-data/peer/umd/vis-data.js')) :
typeof define === 'function' && define.amd ? define(['exports', 'moment', 'vis-data/peer/umd/vis-data.js'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.vis = global.vis || {}, global.moment, global.vis));
})(this, (function (exports, moment$3, esnext) {
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment$3);
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
var check = function (it) {
return it && it.Math == Math && it;
}; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global$L = // 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 commonjsGlobal == 'object' && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
function () {
return this;
}() || Function('return this')();
var FunctionPrototype$3 = Function.prototype;
var apply$6 = FunctionPrototype$3.apply;
var bind$d = FunctionPrototype$3.bind;
var call$c = FunctionPrototype$3.call; // eslint-disable-next-line es/no-reflect -- safe
var functionApply = typeof Reflect == 'object' && Reflect.apply || (bind$d ? call$c.bind(apply$6) : function () {
return call$c.apply(apply$6, arguments);
});
var FunctionPrototype$2 = Function.prototype;
var bind$c = FunctionPrototype$2.bind;
var call$b = FunctionPrototype$2.call;
var callBind = bind$c && bind$c.bind(call$b);
var functionUncurryThis = bind$c ? function (fn) {
return fn && callBind(call$b, fn);
} : function (fn) {
return fn && function () {
return call$b.apply(fn, arguments);
};
};
// https://tc39.es/ecma262/#sec-iscallable
var isCallable$h = function (argument) {
return typeof argument == 'function';
};
var objectGetOwnPropertyDescriptor = {};
var fails$q = function (exec) {
try {
return !!exec();
} catch (error) {
return true;
}
};
var fails$p = fails$q; // Detect IE8's incomplete defineProperty implementation
var descriptors = !fails$p(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty({}, 1, {
get: function () {
return 7;
}
})[1] != 7;
});
var call$a = Function.prototype.call;
var functionCall = call$a.bind ? call$a.bind(call$a) : function () {
return call$a.apply(call$a, arguments);
};
var objectPropertyIsEnumerable = {};
var $propertyIsEnumerable$2 = {}.propertyIsEnumerable; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor$5 = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug
var NASHORN_BUG = getOwnPropertyDescriptor$5 && !$propertyIsEnumerable$2.call({
1: 2
}, 1); // `Object.prototype.propertyIsEnumerable` method implementation
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
var descriptor = getOwnPropertyDescriptor$5(this, V);
return !!descriptor && descriptor.enumerable;
} : $propertyIsEnumerable$2;
var createPropertyDescriptor$5 = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
var uncurryThis$t = functionUncurryThis;
var toString$b = uncurryThis$t({}.toString);
var stringSlice$1 = uncurryThis$t(''.slice);
var classofRaw$1 = function (it) {
return stringSlice$1(toString$b(it), 8, -1);
};
var global$K = global$L;
var uncurryThis$s = functionUncurryThis;
var fails$o = fails$q;
var classof$c = classofRaw$1;
var Object$9 = global$K.Object;
var split = uncurryThis$s(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings
var indexedObject = fails$o(function () {
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
// eslint-disable-next-line no-prototype-builtins -- safe
return !Object$9('z').propertyIsEnumerable(0);
}) ? function (it) {
return classof$c(it) == 'String' ? split(it, '') : Object$9(it);
} : Object$9;
var global$J = global$L;
var TypeError$h = global$J.TypeError; // `RequireObjectCoercible` abstract operation
// https://tc39.es/ecma262/#sec-requireobjectcoercible
var requireObjectCoercible$6 = function (it) {
if (it == undefined) throw TypeError$h("Can't call method on " + it);
return it;
};
var IndexedObject$3 = indexedObject;
var requireObjectCoercible$5 = requireObjectCoercible$6;
var toIndexedObject$b = function (it) {
return IndexedObject$3(requireObjectCoercible$5(it));
};
var isCallable$g = isCallable$h;
var isObject$g = function (it) {
return typeof it == 'object' ? it !== null : isCallable$g(it);
};
var path$r = {};
var path$q = path$r;
var global$I = global$L;
var isCallable$f = isCallable$h;
var aFunction = function (variable) {
return isCallable$f(variable) ? variable : undefined;
};
var getBuiltIn$9 = function (namespace, method) {
return arguments.length < 2 ? aFunction(path$q[namespace]) || aFunction(global$I[namespace]) : path$q[namespace] && path$q[namespace][method] || global$I[namespace] && global$I[namespace][method];
};
var uncurryThis$r = functionUncurryThis;
var objectIsPrototypeOf = uncurryThis$r({}.isPrototypeOf);
var getBuiltIn$8 = getBuiltIn$9;
var engineUserAgent = getBuiltIn$8('navigator', 'userAgent') || '';
var global$H = global$L;
var userAgent$3 = engineUserAgent;
var process = global$H.process;
var Deno = global$H.Deno;
var versions = process && process.versions || Deno && Deno.version;
var v8 = versions && versions.v8;
var match, version;
if (v8) {
match = v8.split('.'); // 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$3) {
match = userAgent$3.match(/Edge\/(\d+)/);
if (!match || match[1] >= 74) {
match = userAgent$3.match(/Chrome\/(\d+)/);
if (match) version = +match[1];
}
}
var engineV8Version = version;
/* eslint-disable es/no-symbol -- required for testing */
var V8_VERSION$2 = engineV8Version;
var fails$n = fails$q; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$n(function () {
var symbol = Symbol(); // Chrome 38 Symbol has incorrect toString conversion
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
return !String(symbol) || !(Object(symbol) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
!Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
});
/* eslint-disable es/no-symbol -- required for testing */
var NATIVE_SYMBOL$2 = nativeSymbol;
var useSymbolAsUid = NATIVE_SYMBOL$2 && !Symbol.sham && typeof Symbol.iterator == 'symbol';
var global$G = global$L;
var getBuiltIn$7 = getBuiltIn$9;
var isCallable$e = isCallable$h;
var isPrototypeOf$m = objectIsPrototypeOf;
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
var Object$8 = global$G.Object;
var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
return typeof it == 'symbol';
} : function (it) {
var $Symbol = getBuiltIn$7('Symbol');
return isCallable$e($Symbol) && isPrototypeOf$m($Symbol.prototype, Object$8(it));
};
var global$F = global$L;
var String$4 = global$F.String;
var tryToString$4 = function (argument) {
try {
return String$4(argument);
} catch (error) {
return 'Object';
}
};
var global$E = global$L;
var isCallable$d = isCallable$h;
var tryToString$3 = tryToString$4;
var TypeError$g = global$E.TypeError; // `Assert: IsCallable(argument) is true`
var aCallable$6 = function (argument) {
if (isCallable$d(argument)) return argument;
throw TypeError$g(tryToString$3(argument) + ' is not a function');
};
var aCallable$5 = aCallable$6; // `GetMethod` abstract operation
// https://tc39.es/ecma262/#sec-getmethod
var getMethod$3 = function (V, P) {
var func = V[P];
return func == null ? undefined : aCallable$5(func);
};
var global$D = global$L;
var call$9 = functionCall;
var isCallable$c = isCallable$h;
var isObject$f = isObject$g;
var TypeError$f = global$D.TypeError; // `OrdinaryToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
var ordinaryToPrimitive$1 = function (input, pref) {
var fn, val;
if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$f(val = call$9(fn, input))) return val;
if (isCallable$c(fn = input.valueOf) && !isObject$f(val = call$9(fn, input))) return val;
if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$f(val = call$9(fn, input))) return val;
throw TypeError$f("Can't convert object to primitive value");
};
var shared$4 = {exports: {}};
var global$C = global$L; // eslint-disable-next-line es/no-object-defineproperty -- safe
var defineProperty$c = Object.defineProperty;
var setGlobal$1 = function (key, value) {
try {
defineProperty$c(global$C, key, {
value: value,
configurable: true,
writable: true
});
} catch (error) {
global$C[key] = value;
}
return value;
};
var global$B = global$L;
var setGlobal = setGlobal$1;
var SHARED = '__core-js_shared__';
var store$3 = global$B[SHARED] || setGlobal(SHARED, {});
var sharedStore = store$3;
var store$2 = sharedStore;
(shared$4.exports = function (key, value) {
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
})('versions', []).push({
version: '3.19.1',
mode: 'pure' ,
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
});
var global$A = global$L;
var requireObjectCoercible$4 = requireObjectCoercible$6;
var Object$7 = global$A.Object; // `ToObject` abstract operation
// https://tc39.es/ecma262/#sec-toobject
var toObject$d = function (argument) {
return Object$7(requireObjectCoercible$4(argument));
};
var uncurryThis$q = functionUncurryThis;
var toObject$c = toObject$d;
var hasOwnProperty = uncurryThis$q({}.hasOwnProperty); // `HasOwnProperty` abstract operation
// https://tc39.es/ecma262/#sec-hasownproperty
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
return hasOwnProperty(toObject$c(it), key);
};
var uncurryThis$p = functionUncurryThis;
var id$1 = 0;
var postfix = Math.random();
var toString$a = uncurryThis$p(1.0.toString);
var uid$4 = function (key) {
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id$1 + postfix, 36);
};
var global$z = global$L;
var shared$3 = shared$4.exports;
var hasOwn$c = hasOwnProperty_1;
var uid$3 = uid$4;
var NATIVE_SYMBOL$1 = nativeSymbol;
var USE_SYMBOL_AS_UID = useSymbolAsUid;
var WellKnownSymbolsStore$1 = shared$3('wks');
var Symbol$3 = global$z.Symbol;
var symbolFor = Symbol$3 && Symbol$3['for'];
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$3;
var wellKnownSymbol$j = function (name) {
if (!hasOwn$c(WellKnownSymbolsStore$1, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore$1[name] == 'string')) {
var description = 'Symbol.' + name;
if (NATIVE_SYMBOL$1 && hasOwn$c(Symbol$3, name)) {
WellKnownSymbolsStore$1[name] = Symbol$3[name];
} else if (USE_SYMBOL_AS_UID && symbolFor) {
WellKnownSymbolsStore$1[name] = symbolFor(description);
} else {
WellKnownSymbolsStore$1[name] = createWellKnownSymbol(description);
}
}
return WellKnownSymbolsStore$1[name];
};
var global$y = global$L;
var call$8 = functionCall;
var isObject$e = isObject$g;
var isSymbol$2 = isSymbol$3;
var getMethod$2 = getMethod$3;
var ordinaryToPrimitive = ordinaryToPrimitive$1;
var wellKnownSymbol$i = wellKnownSymbol$j;
var TypeError$e = global$y.TypeError;
var TO_PRIMITIVE$1 = wellKnownSymbol$i('toPrimitive'); // `ToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-toprimitive
var toPrimitive$1 = function (input, pref) {
if (!isObject$e(input) || isSymbol$2(input)) return input;
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE$1);
var result;
if (exoticToPrim) {
if (pref === undefined) pref = 'default';
result = call$8(exoticToPrim, input, pref);
if (!isObject$e(result) || isSymbol$2(result)) return result;
throw TypeError$e("Can't convert object to primitive value");
}
if (pref === undefined) pref = 'number';
return ordinaryToPrimitive(input, pref);
};
var toPrimitive = toPrimitive$1;
var isSymbol$1 = isSymbol$3; // `ToPropertyKey` abstract operation
// https://tc39.es/ecma262/#sec-topropertykey
var toPropertyKey$4 = function (argument) {
var key = toPrimitive(argument, 'string');
return isSymbol$1(key) ? key : key + '';
};
var global$x = global$L;
var isObject$d = isObject$g;
var document$1 = global$x.document; // typeof document.createElement is 'object' in old IE
var EXISTS$1 = isObject$d(document$1) && isObject$d(document$1.createElement);
var documentCreateElement$1 = function (it) {
return EXISTS$1 ? document$1.createElement(it) : {};
};
var DESCRIPTORS$g = descriptors;
var fails$m = fails$q;
var createElement = documentCreateElement$1; // Thank's IE8 for his funny defineProperty
var ie8DomDefine = !DESCRIPTORS$g && !fails$m(function () {
// eslint-disable-next-line es/no-object-defineproperty -- requied for testing
return Object.defineProperty(createElement('div'), 'a', {
get: function () {
return 7;
}
}).a != 7;
});
var DESCRIPTORS$f = descriptors;
var call$7 = functionCall;
var propertyIsEnumerableModule$2 = objectPropertyIsEnumerable;
var createPropertyDescriptor$4 = createPropertyDescriptor$5;
var toIndexedObject$a = toIndexedObject$b;
var toPropertyKey$3 = toPropertyKey$4;
var hasOwn$b = hasOwnProperty_1;
var IE8_DOM_DEFINE$1 = ie8DomDefine; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$f ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
O = toIndexedObject$a(O);
P = toPropertyKey$3(P);
if (IE8_DOM_DEFINE$1) try {
return $getOwnPropertyDescriptor$1(O, P);
} catch (error) {
/* empty */
}
if (hasOwn$b(O, P)) return createPropertyDescriptor$4(!call$7(propertyIsEnumerableModule$2.f, O, P), O[P]);
};
var fails$l = fails$q;
var isCallable$b = isCallable$h;
var replacement = /#|\.prototype\./;
var isForced$1 = function (feature, detection) {
var value = data[normalize(feature)];
return value == POLYFILL ? true : value == NATIVE ? false : isCallable$b(detection) ? fails$l(detection) : !!detection;
};
var normalize = isForced$1.normalize = function (string) {
return String(string).replace(replacement, '.').toLowerCase();
};
var data = isForced$1.data = {};
var NATIVE = isForced$1.NATIVE = 'N';
var POLYFILL = isForced$1.POLYFILL = 'P';
var isForced_1 = isForced$1;
var uncurryThis$o = functionUncurryThis;
var aCallable$4 = aCallable$6;
var bind$b = uncurryThis$o(uncurryThis$o.bind); // optional / simple context binding
var functionBindContext = function (fn, that) {
aCallable$4(fn);
return that === undefined ? fn : bind$b ? bind$b(fn, that) : function
/* ...args */
() {
return fn.apply(that, arguments);
};
};
var objectDefineProperty = {};
var global$w = global$L;
var isObject$c = isObject$g;
var String$3 = global$w.String;
var TypeError$d = global$w.TypeError; // `Assert: Type(argument) is Object`
var anObject$b = function (argument) {
if (isObject$c(argument)) return argument;
throw TypeError$d(String$3(argument) + ' is not an object');
};
var global$v = global$L;
var DESCRIPTORS$e = descriptors;
var IE8_DOM_DEFINE = ie8DomDefine;
var anObject$a = anObject$b;
var toPropertyKey$2 = toPropertyKey$4;
var TypeError$c = global$v.TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe
var $defineProperty$1 = Object.defineProperty; // `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
objectDefineProperty.f = DESCRIPTORS$e ? $defineProperty$1 : function defineProperty(O, P, Attributes) {
anObject$a(O);
P = toPropertyKey$2(P);
anObject$a(Attributes);
if (IE8_DOM_DEFINE) try {
return $defineProperty$1(O, P, Attributes);
} catch (error) {
/* empty */
}
if ('get' in Attributes || 'set' in Attributes) throw TypeError$c('Accessors not supported');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
var DESCRIPTORS$d = descriptors;
var definePropertyModule$4 = objectDefineProperty;
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
var createNonEnumerableProperty$6 = DESCRIPTORS$d ? function (object, key, value) {
return definePropertyModule$4.f(object, key, createPropertyDescriptor$3(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
var global$u = global$L;
var apply$5 = functionApply;
var uncurryThis$n = functionUncurryThis;
var isCallable$a = isCallable$h;
var getOwnPropertyDescriptor$4 = objectGetOwnPropertyDescriptor.f;
var isForced = isForced_1;
var path$p = path$r;
var bind$a = functionBindContext;
var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
var hasOwn$a = hasOwnProperty_1;
var wrapConstructor = function (NativeConstructor) {
var Wrapper = function (a, b, c) {
if (this instanceof Wrapper) {
switch (arguments.length) {
case 0:
return new NativeConstructor();
case 1:
return new NativeConstructor(a);
case 2:
return new NativeConstructor(a, b);
}
return new NativeConstructor(a, b, c);
}
return apply$5(NativeConstructor, this, arguments);
};
Wrapper.prototype = NativeConstructor.prototype;
return Wrapper;
};
/*
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.name - the .name of the function if it does not match the key
*/
var _export = function (options, source) {
var TARGET = options.target;
var GLOBAL = options.global;
var STATIC = options.stat;
var PROTO = options.proto;
var nativeSource = GLOBAL ? global$u : STATIC ? global$u[TARGET] : (global$u[TARGET] || {}).prototype;
var target = GLOBAL ? path$p : path$p[TARGET] || createNonEnumerableProperty$5(path$p, TARGET, {})[TARGET];
var targetPrototype = target.prototype;
var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
for (key in source) {
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contains in native
USE_NATIVE = !FORCED && nativeSource && hasOwn$a(nativeSource, key);
targetProperty = target[key];
if (USE_NATIVE) if (options.noTargetGet) {
descriptor = getOwnPropertyDescriptor$4(nativeSource, key);
nativeProperty = descriptor && descriptor.value;
} else nativeProperty = nativeSource[key]; // export native or implementation
sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
if (USE_NATIVE && typeof targetProperty == typeof sourceProperty) continue; // bind timers to global for call from export context
if (options.bind && USE_NATIVE) resultProperty = bind$a(sourceProperty, global$u); // wrap global constructors for prevent changs in this version
else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty); // make static versions for prototype methods
else if (PROTO && isCallable$a(sourceProperty)) resultProperty = uncurryThis$n(sourceProperty); // default case
else resultProperty = sourceProperty; // add a flag to not completely full polyfills
if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
createNonEnumerableProperty$5(resultProperty, 'sham', true);
}
createNonEnumerableProperty$5(target, key, resultProperty);
if (PROTO) {
VIRTUAL_PROTOTYPE = TARGET + 'Prototype';
if (!hasOwn$a(path$p, VIRTUAL_PROTOTYPE)) {
createNonEnumerableProperty$5(path$p, VIRTUAL_PROTOTYPE, {});
} // export virtual prototype methods
createNonEnumerableProperty$5(path$p[VIRTUAL_PROTOTYPE], key, sourceProperty); // export real prototype methods
if (options.real && targetPrototype && !targetPrototype[key]) {
createNonEnumerableProperty$5(targetPrototype, key, sourceProperty);
}
}
}
};
var uncurryThis$m = functionUncurryThis;
var arraySlice$5 = uncurryThis$m([].slice);
var global$t = global$L;
var uncurryThis$l = functionUncurryThis;
var aCallable$3 = aCallable$6;
var isObject$b = isObject$g;
var hasOwn$9 = hasOwnProperty_1;
var arraySlice$4 = arraySlice$5;
var Function$2 = global$t.Function;
var concat$6 = uncurryThis$l([].concat);
var join = uncurryThis$l([].join);
var factories = {};
var construct$4 = function (C, argsLength, args) {
if (!hasOwn$9(factories, argsLength)) {
for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';
factories[argsLength] = Function$2('C,a', 'return new C(' + join(list, ',') + ')');
}
return factories[argsLength](C, args);
}; // `Function.prototype.bind` method implementation
// https://tc39.es/ecma262/#sec-function.prototype.bind
var functionBind = Function$2.bind || function bind(that
/* , ...args */
) {
var F = aCallable$3(this);
var Prototype = F.prototype;
var partArgs = arraySlice$4(arguments, 1);
var boundFunction = function
/* args... */
bound() {
var args = concat$6(partArgs, arraySlice$4(arguments));
return this instanceof boundFunction ? construct$4(F, args.length, args) : F.apply(that, args);
};
if (isObject$b(Prototype)) boundFunction.prototype = Prototype;
return boundFunction;
};
var wellKnownSymbol$h = wellKnownSymbol$j;
var TO_STRING_TAG$3 = wellKnownSymbol$h('toStringTag');
var test$2 = {};
test$2[TO_STRING_TAG$3] = 'z';
var toStringTagSupport = String(test$2) === '[object z]';
var global$s = global$L;
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
var isCallable$9 = isCallable$h;
var classofRaw = classofRaw$1;
var wellKnownSymbol$g = wellKnownSymbol$j;
var TO_STRING_TAG$2 = wellKnownSymbol$g('toStringTag');
var Object$6 = global$s.Object; // ES3 wrong here
var CORRECT_ARGUMENTS = classofRaw(function () {
return arguments;
}()) == 'Arguments'; // fallback for IE11 Script Access Denied error
var tryGet = function (it, key) {
try {
return it[key];
} catch (error) {
/* empty */
}
}; // getting tag from ES6+ `Object.prototype.toString`
var classof$b = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
var O, tag, result;
return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case
: typeof (tag = tryGet(O = Object$6(it), TO_STRING_TAG$2)) == 'string' ? tag // builtinTag case
: CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback
: (result = classofRaw(O)) == 'Object' && isCallable$9(O.callee) ? 'Arguments' : result;
};
var uncurryThis$k = functionUncurryThis;
var isCallable$8 = isCallable$h;
var store$1 = sharedStore;
var functionToString = uncurryThis$k(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable$8(store$1.inspectSource)) {
store$1.inspectSource = function (it) {
return functionToString(it);
};
}
var inspectSource$2 = store$1.inspectSource;
var uncurryThis$j = functionUncurryThis;
var fails$k = fails$q;
var isCallable$7 = isCallable$h;
var classof$a = classof$b;
var getBuiltIn$6 = getBuiltIn$9;
var inspectSource$1 = inspectSource$2;
var noop = function () {
/* empty */
};
var empty = [];
var construct$3 = getBuiltIn$6('Reflect', 'construct');
var constructorRegExp = /^\s*(?:class|function)\b/;
var exec$2 = uncurryThis$j(constructorRegExp.exec);
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
var isConstructorModern = function (argument) {
if (!isCallable$7(argument)) return false;
try {
construct$3(noop, empty, argument);
return true;
} catch (error) {
return false;
}
};
var isConstructorLegacy = function (argument) {
if (!isCallable$7(argument)) return false;
switch (classof$a(argument)) {
case 'AsyncFunction':
case 'GeneratorFunction':
case 'AsyncGeneratorFunction':
return false;
// we can't check .prototype since constructors produced by .bind haven't it
}
return INCORRECT_TO_STRING || !!exec$2(constructorRegExp, inspectSource$1(argument));
}; // `IsConstructor` abstract operation
// https://tc39.es/ecma262/#sec-isconstructor
var isConstructor$4 = !construct$3 || fails$k(function () {
var called;
return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function () {
called = true;
}) || called;
}) ? isConstructorLegacy : isConstructorModern;
var global$r = global$L;
var isConstructor$3 = isConstructor$4;
var tryToString$2 = tryToString$4;
var TypeError$b = global$r.TypeError; // `Assert: IsConstructor(argument) is true`
var aConstructor$1 = function (argument) {
if (isConstructor$3(argument)) return argument;
throw TypeError$b(tryToString$2(argument) + ' is not a constructor');
};
var ceil = Math.ceil;
var floor$1 = Math.floor; // `ToIntegerOrInfinity` abstract operation
// https://tc39.es/ecma262/#sec-tointegerorinfinity
var toIntegerOrInfinity$5 = function (argument) {
var number = +argument; // eslint-disable-next-line no-self-compare -- safe
return number !== number || number === 0 ? 0 : (number > 0 ? floor$1 : ceil)(number);
};
var toIntegerOrInfinity$4 = toIntegerOrInfinity$5;
var max$2 = Math.max;
var min$2 = Math.min; // Helper for a popular repeating case of the spec:
// Let integer be ? ToInteger(index).
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
var toAbsoluteIndex$4 = function (index, length) {
var integer = toIntegerOrInfinity$4(index);
return integer < 0 ? max$2(integer + length, 0) : min$2(integer, length);
};
var toIntegerOrInfinity$3 = toIntegerOrInfinity$5;
var min$1 = Math.min; // `ToLength` abstract operation
// https://tc39.es/ecma262/#sec-tolength
var toLength$1 = function (argument) {
return argument > 0 ? min$1(toIntegerOrInfinity$3(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
};
var toLength = toLength$1; // `LengthOfArrayLike` abstract operation
// https://tc39.es/ecma262/#sec-lengthofarraylike
var lengthOfArrayLike$a = function (obj) {
return toLength(obj.length);
};
var toIndexedObject$9 = toIndexedObject$b;
var toAbsoluteIndex$3 = toAbsoluteIndex$4;
var lengthOfArrayLike$9 = lengthOfArrayLike$a; // `Array.prototype.{ indexOf, includes }` methods implementation
var createMethod$5 = function (IS_INCLUDES) {
return function ($this, el, fromIndex) {
var O = toIndexedObject$9($this);
var length = lengthOfArrayLike$9(O);
var index = toAbsoluteIndex$3(fromIndex, length);
var value; // Array#includes uses SameValueZero equality algorithm
// 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 -- 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;
}
return !IS_INCLUDES && -1;
};
};
var arrayIncludes = {
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
includes: createMethod$5(true),
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
indexOf: createMethod$5(false)
};
var hiddenKeys$6 = {};
var uncurryThis$i = functionUncurryThis;
var hasOwn$8 = hasOwnProperty_1;
var toIndexedObject$8 = toIndexedObject$b;
var indexOf$4 = arrayIncludes.indexOf;
var hiddenKeys$5 = hiddenKeys$6;
var push$5 = uncurryThis$i([].push);
var objectKeysInternal = function (object, names) {
var O = toIndexedObject$8(object);
var i = 0;
var result = [];
var key;
for (key in O) !hasOwn$8(hiddenKeys$5, key) && hasOwn$8(O, key) && push$5(result, key); // Don't enum bug & hidden keys
while (names.length > i) if (hasOwn$8(O, key = names[i++])) {
~indexOf$4(result, key) || push$5(result, key);
}
return result;
};
var enumBugKeys$3 = ['constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf'];
var internalObjectKeys$1 = objectKeysInternal;
var enumBugKeys$2 = enumBugKeys$3; // `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
// eslint-disable-next-line es/no-object-keys -- safe
var objectKeys$4 = Object.keys || function keys(O) {
return internalObjectKeys$1(O, enumBugKeys$2);
};
var DESCRIPTORS$c = descriptors;
var definePropertyModule$3 = objectDefineProperty;
var anObject$9 = anObject$b;
var toIndexedObject$7 = toIndexedObject$b;
var objectKeys$3 = objectKeys$4; // `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
// eslint-disable-next-line es/no-object-defineproperties -- safe
var objectDefineProperties = DESCRIPTORS$c ? Object.defineProperties : function defineProperties(O, Properties) {
anObject$9(O);
var props = toIndexedObject$7(Properties);
var keys = objectKeys$3(Properties);
var length = keys.length;
var index = 0;
var key;
while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
return O;
};
var getBuiltIn$5 = getBuiltIn$9;
var html$1 = getBuiltIn$5('document', 'documentElement');
var shared$2 = shared$4.exports;
var uid$2 = uid$4;
var keys$3 = shared$2('keys');
var sharedKey$4 = function (key) {
return keys$3[key] || (keys$3[key] = uid$2(key));
};
/* global ActiveXObject -- old IE, WSH */
var anObject$8 = anObject$b;
var defineProperties$5 = objectDefineProperties;
var enumBugKeys$1 = enumBugKeys$3;
var hiddenKeys$4 = hiddenKeys$6;
var html = html$1;
var documentCreateElement = documentCreateElement$1;
var sharedKey$3 = sharedKey$4;
var GT = '>';
var LT = '<';
var PROTOTYPE$1 = 'prototype';
var SCRIPT = 'script';
var IE_PROTO$1 = sharedKey$3('IE_PROTO');
var EmptyConstructor = function () {
/* empty */
};
var scriptTag = function (content) {
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
}; // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
var NullProtoObjectViaActiveX = function (activeXDocument) {
activeXDocument.write(scriptTag(''));
activeXDocument.close();
var temp = activeXDocument.parentWindow.Object;
activeXDocument = null; // avoid memory leak
return temp;
}; // Create object with fake `null` prototype: use iframe Object with cleared prototype
var NullProtoObjectViaIFrame = function () {
// Thrash, waste and sodomy: IE GC bug
var iframe = documentCreateElement('iframe');
var JS = 'java' + SCRIPT + ':';
var iframeDocument;
iframe.style.display = 'none';
html.appendChild(iframe); // https://github.com/zloirock/core-js/issues/475
iframe.src = String(JS);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(scriptTag('document.F=Object'));
iframeDocument.close();
return iframeDocument.F;
}; // Check for document.domain and active x support
// No need to use active x approach when document.domain is not set
// see https://github.com/es-shims/es5-shim/issues/150
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
// avoid IE GC bug
var activeXDocument;
var NullProtoObject = function () {
try {
activeXDocument = new ActiveXObject('htmlfile');
} catch (error) {
/* ignore */
}
NullProtoObject = typeof document != 'undefined' ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) // old IE
: NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); // WSH
var length = enumBugKeys$1.length;
while (length--) delete NullProtoObject[PROTOTYPE$1][enumBugKeys$1[length]];
return NullProtoObject();
};
hiddenKeys$4[IE_PROTO$1] = true; // `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
var objectCreate = Object.create || function create(O, Properties) {
var result;
if (O !== null) {
EmptyConstructor[PROTOTYPE$1] = anObject$8(O);
result = new EmptyConstructor();
EmptyConstructor[PROTOTYPE$1] = null; // add "__proto__" for Object.getPrototypeOf polyfill
result[IE_PROTO$1] = O;
} else result = NullProtoObject();
return Properties === undefined ? result : defineProperties$5(result, Properties);
};
var $$G = _export;
var getBuiltIn$4 = getBuiltIn$9;
var apply$4 = functionApply;
var bind$9 = functionBind;
var aConstructor = aConstructor$1;
var anObject$7 = anObject$b;
var isObject$a = isObject$g;
var create$9 = objectCreate;
var fails$j = fails$q;
var nativeConstruct = getBuiltIn$4('Reflect', 'construct');
var ObjectPrototype$2 = Object.prototype;
var push$4 = [].push; // `Reflect.construct` method
// https://tc39.es/ecma262/#sec-reflect.construct
// MS Edge supports only 2 arguments and argumentsList argument is optional
// FF Nightly sets third argument as `new.target`, but does not create `this` from it
var NEW_TARGET_BUG = fails$j(function () {
function F() {
/* empty */
}
return !(nativeConstruct(function () {
/* empty */
}, [], F) instanceof F);
});
var ARGS_BUG = !fails$j(function () {
nativeConstruct(function () {
/* empty */
});
});
var FORCED$6 = NEW_TARGET_BUG || ARGS_BUG;
$$G({
target: 'Reflect',
stat: true,
forced: FORCED$6,
sham: FORCED$6
}, {
construct: function construct(Target, args
/* , newTarget */
) {
aConstructor(Target);
anObject$7(args);
var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);
if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
if (Target == newTarget) {
// w/o altered newTarget, optimization for 0-4 arguments
switch (args.length) {
case 0:
return new Target();
case 1:
return new Target(args[0]);
case 2:
return new Target(args[0], args[1]);
case 3:
return new Target(args[0], args[1], args[2]);
case 4:
return new Target(args[0], args[1], args[2], args[3]);
} // w/o altered newTarget, lot of arguments case
var $args = [null];
apply$4(push$4, $args, args);
return new (apply$4(bind$9, Target, $args))();
} // with altered newTarget, not support built-in constructors
var proto = newTarget.prototype;
var instance = create$9(isObject$a(proto) ? proto : ObjectPrototype$2);
var result = apply$4(Target, instance, args);
return isObject$a(result) ? result : instance;
}
});
var path$o = path$r;
var construct$2 = path$o.Reflect.construct;
var parent$P = construct$2;
var construct$1 = parent$P;
var construct = construct$1;
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
var defineProperty$b = {exports: {}};
var $$F = _export;
var DESCRIPTORS$b = descriptors;
var objectDefinePropertyModile = objectDefineProperty; // `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
$$F({
target: 'Object',
stat: true,
forced: !DESCRIPTORS$b,
sham: !DESCRIPTORS$b
}, {
defineProperty: objectDefinePropertyModile.f
});
var path$n = path$r;
var Object$5 = path$n.Object;
var defineProperty$a = defineProperty$b.exports = function defineProperty(it, key, desc) {
return Object$5.defineProperty(it, key, desc);
};
if (Object$5.defineProperty.sham) defineProperty$a.sham = true;
var parent$O = defineProperty$b.exports;
var defineProperty$9 = parent$O;
var parent$N = defineProperty$9;
var defineProperty$8 = parent$N;
var defineProperty$7 = defineProperty$8;
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
defineProperty$7(target, descriptor.key, descriptor);
}
}
function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
return Constructor;
}
function _assertThisInitialized$1(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
var $$E = _export;
var DESCRIPTORS$a = descriptors;
var create$8 = objectCreate; // `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
$$E({
target: 'Object',
stat: true,
sham: !DESCRIPTORS$a
}, {
create: create$8
});
var path$m = path$r;
var Object$4 = path$m.Object;
var create$7 = function create(P, D) {
return Object$4.create(P, D);
};
var parent$M = create$7;
var create$6 = parent$M;
var parent$L = create$6;
var create$5 = parent$L;
var create$4 = create$5;
var global$q = global$L;
var isCallable$6 = isCallable$h;
var String$2 = global$q.String;
var TypeError$a = global$q.TypeError;
var aPossiblePrototype$1 = function (argument) {
if (typeof argument == 'object' || isCallable$6(argument)) return argument;
throw TypeError$a("Can't set " + String$2(argument) + ' as a prototype');
};
/* eslint-disable no-proto -- safe */
var uncurryThis$h = functionUncurryThis;
var anObject$6 = anObject$b;
var aPossiblePrototype = aPossiblePrototype$1; // `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-next-line es/no-object-setprototypeof -- safe
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
var CORRECT_SETTER = false;
var test = {};
var setter;
try {
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
setter = uncurryThis$h(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
setter(test, []);
CORRECT_SETTER = test instanceof Array;
} catch (error) {
/* empty */
}
return function setPrototypeOf(O, proto) {
anObject$6(O);
aPossiblePrototype(proto);
if (CORRECT_SETTER) setter(O, proto);else O.__proto__ = proto;
return O;
};
}() : undefined);
var $$D = _export;
var setPrototypeOf$4 = objectSetPrototypeOf; // `Object.setPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.setprototypeof
$$D({
target: 'Object',
stat: true
}, {
setPrototypeOf: setPrototypeOf$4
});
var path$l = path$r;
var setPrototypeOf$3 = path$l.Object.setPrototypeOf;
var parent$K = setPrototypeOf$3;
var setPrototypeOf$2 = parent$K;
var parent$J = setPrototypeOf$2;
var setPrototypeOf$1 = parent$J;
var setPrototypeOf = setPrototypeOf$1;
function _setPrototypeOf(o, p) {
_setPrototypeOf = setPrototypeOf || function _setPrototypeOf(o, p) {
o.__proto__ = p;
return o;
};
return _setPrototypeOf(o, p);
}
function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function");
}
subClass.prototype = create$4(superClass && superClass.prototype, {
constructor: {
value: subClass,
writable: true,
configurable: true
}
});
if (superClass) _setPrototypeOf(subClass, superClass);
}
var classof$9 = classofRaw$1; // `IsArray` abstract operation
// https://tc39.es/ecma262/#sec-isarray
// eslint-disable-next-line es/no-array-isarray -- safe
var isArray$b = Array.isArray || function isArray(argument) {
return classof$9(argument) == 'Array';
};
var toPropertyKey$1 = toPropertyKey$4;
var definePropertyModule$2 = objectDefineProperty;
var createPropertyDescriptor$2 = createPropertyDescriptor$5;
var createProperty$5 = function (object, key, value) {
var propertyKey = toPropertyKey$1(key);
if (propertyKey in object) definePropertyModule$2.f(object, propertyKey, createPropertyDescriptor$2(0, value));else object[propertyKey] = value;
};
var global$p = global$L;
var isArray$a = isArray$b;
var isConstructor$2 = isConstructor$4;
var isObject$9 = isObject$g;
var wellKnownSymbol$f = wellKnownSymbol$j;
var SPECIES$3 = wellKnownSymbol$f('species');
var Array$4 = global$p.Array; // a part of `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
var arraySpeciesConstructor$1 = function (originalArray) {
var C;
if (isArray$a(originalArray)) {
C = originalArray.constructor; // cross-realm fallback
if (isConstructor$2(C) && (C === Array$4 || isArray$a(C.prototype))) C = undefined;else if (isObject$9(C)) {
C = C[SPECIES$3];
if (C === null) C = undefined;
}
}
return C === undefined ? Array$4 : C;
};
var arraySpeciesConstructor = arraySpeciesConstructor$1; // `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
var arraySpeciesCreate$3 = function (originalArray, length) {
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
};
var fails$i = fails$q;
var wellKnownSymbol$e = wellKnownSymbol$j;
var V8_VERSION$1 = engineV8Version;
var SPECIES$2 = wellKnownSymbol$e('species');
var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) {
// We can't use this feature detection in V8 since it causes
// deoptimization and serious performance degradation
// https://github.com/zloirock/core-js/issues/677
return V8_VERSION$1 >= 51 || !fails$i(function () {
var array = [];
var constructor = array.constructor = {};
constructor[SPECIES$2] = function () {
return {
foo: 1
};
};
return array[METHOD_NAME](Boolean).foo !== 1;
});
};
var $$C = _export;
var global$o = global$L;
var fails$h = fails$q;
var isArray$9 = isArray$b;
var isObject$8 = isObject$g;
var toObject$b = toObject$d;
var lengthOfArrayLike$8 = lengthOfArrayLike$a;
var createProperty$4 = createProperty$5;
var arraySpeciesCreate$2 = arraySpeciesCreate$3;
var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5;
var wellKnownSymbol$d = wellKnownSymbol$j;
var V8_VERSION = engineV8Version;
var IS_CONCAT_SPREADABLE = wellKnownSymbol$d('isConcatSpreadable');
var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF;
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
var TypeError$9 = global$o.TypeError; // We can't use this feature detection in V8 since it causes
// deoptimization and serious performance degradation
// https://github.com/zloirock/core-js/issues/679
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$h(function () {
var array = [];
array[IS_CONCAT_SPREADABLE] = false;
return array.concat()[0] !== array;
});
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$4('concat');
var isConcatSpreadable = function (O) {
if (!isObject$8(O)) return false;
var spreadable = O[IS_CONCAT_SPREADABLE];
return spreadable !== undefined ? !!spreadable : isArray$9(O);
};
var FORCED$5 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; // `Array.prototype.concat` method
// https://tc39.es/ecma262/#sec-array.prototype.concat
// with adding support of @@isConcatSpreadable and @@species
$$C({
target: 'Array',
proto: true,
forced: FORCED$5
}, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
concat: function concat(arg) {
var O = toObject$b(this);
var A = arraySpeciesCreate$2(O, 0);
var n = 0;
var i, k, length, len, E;
for (i = -1, length = arguments.length; i < length; i++) {
E = i === -1 ? O : arguments[i];
if (isConcatSpreadable(E)) {
len = lengthOfArrayLike$8(E);
if (n + len > MAX_SAFE_INTEGER$1) throw TypeError$9(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
for (k = 0; k < len; k++, n++) if (k in E) createProperty$4(A, n, E[k]);
} else {
if (n >= MAX_SAFE_INTEGER$1) throw TypeError$9(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
createProperty$4(A, n++, E);
}
}
A.length = n;
return A;
}
});
var global$n = global$L;
var classof$8 = classof$b;
var String$1 = global$n.String;
var toString$9 = function (argument) {
if (classof$8(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
return String$1(argument);
};
var objectGetOwnPropertyNames = {};
var internalObjectKeys = objectKeysInternal;
var enumBugKeys = enumBugKeys$3;
var hiddenKeys$3 = enumBugKeys.concat('length', 'prototype'); // `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return internalObjectKeys(O, hiddenKeys$3);
};
var objectGetOwnPropertyNamesExternal = {};
/* eslint-disable es/no-object-getownpropertynames -- safe */
var classof$7 = classofRaw$1;
var toIndexedObject$6 = toIndexedObject$b;
var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
var arraySlice$3 = arraySlice$5;
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
var getWindowNames = function (it) {
try {
return $getOwnPropertyNames$1(it);
} catch (error) {
return arraySlice$3(windowNames);
}
}; // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
return windowNames && classof$7(it) == 'Window' ? getWindowNames(it) : $getOwnPropertyNames$1(toIndexedObject$6(it));
};
var objectGetOwnPropertySymbols = {};
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
var redefine$4 = function (target, key, value, options) {
if (options && options.enumerable) target[key] = value;else createNonEnumerableProperty$4(target, key, value);
};
var wellKnownSymbolWrapped = {};
var wellKnownSymbol$c = wellKnownSymbol$j;
wellKnownSymbolWrapped.f = wellKnownSymbol$c;
var path$k = path$r;
var hasOwn$7 = hasOwnProperty_1;
var wrappedWellKnownSymbolModule$1 = wellKno