vite-plugin-inspect
Version:
Inspect the intermediate state of Vite plugins
1,449 lines (1,171 loc) • 1.65 MB
JavaScript
import { _ as _sfc_main$4, a as __unplugin_components_3, b as _sfc_main$5 } from './QuerySelector.vue_vue_type_script_setup_true_lang-DZag_XE-.js';
import { _ as _sfc_main$6 } from './ModuleList.vue_vue_type_script_setup_true_lang-CswcXVt4.js';
import { d as defineComponent, c as createElementBlock, o as openBlock, F as Fragment, r as renderList, a as createBaseVNode, t as toDisplayString, b as ref, u as useRouter, e as computed, f as onMounted, w as watch, g as createCommentVNode, h as unref, i as createVNode, n as normalizeStyle, j as normalizeClass, k as withDirectives, v as vModelText, l as vModelCheckbox, m as usePayloadStore, p as useRoute, q as withCtx, s as resolveComponent, x as createBlock, S as Suspense, K as KeepAlive, y as resolveDynamicComponent, z as createTextVNode } from './index-BHfFAmtB.js';
import { u as useOptionsStore } from './options-CljnBO7w.js';
import { u as useSearchResults } from './search-DNdE-oe3.js';
import './_plugin-vue_export-helper-DgDhiqFL.js';
const _hoisted_1$3 = { flex: "~ gap-1" };
const _hoisted_2$3 = ["id", "name", "checked", "value"];
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
__name: "RadioGroup",
props: {
name: {},
modelValue: {},
options: {}
},
emits: ["update:modelValue"],
setup(__props, { emit: __emit }) {
const emit = __emit;
function onChange(e) {
const target = e.target;
emit("update:modelValue", target.value);
}
return (_ctx, _cache) => {
return openBlock(), createElementBlock("div", _hoisted_1$3, [
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (opt) => {
return openBlock(), createElementBlock("label", {
key: opt.value,
flex: "~ gap-2"
}, [
createBaseVNode("input", {
id: opt.value,
name: _ctx.name,
checked: _ctx.modelValue === opt.value,
value: opt.value,
type: "radio",
onChange
}, null, 40, _hoisted_2$3),
createBaseVNode("div", null, toDisplayString(opt.label), 1)
]);
}), 128))
]);
};
}
});
/* Injected with object hook! */
/**
* vis-data
* http://visjs.org/
*
* Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data.
*
* @version 7.1.7
* @date 2023-09-13T18:13:28.258Z
*
* @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 _classCallCheck$1(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
var commonjsGlobal$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
function getDefaultExportFromCjs$1 (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}
var defineProperty$f$1 = {exports: {}};
var check$1 = function (it) {
return it && it.Math == Math && it;
};
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global$m =
// eslint-disable-next-line es/no-global-this -- safe
check$1(typeof globalThis == 'object' && globalThis) ||
check$1(typeof window == 'object' && window) ||
// eslint-disable-next-line no-restricted-globals -- safe
check$1(typeof self == 'object' && self) ||
check$1(typeof commonjsGlobal$1 == 'object' && commonjsGlobal$1) ||
// eslint-disable-next-line no-new-func -- fallback
(function () { return this; })() || Function('return this')();
var fails$t$1 = function (exec) {
try {
return !!exec();
} catch (error) {
return true;
}
};
var fails$s$1 = fails$t$1;
var functionBindNative$1 = !fails$s$1(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');
});
var NATIVE_BIND$4$1 = functionBindNative$1;
var FunctionPrototype$3$1 = Function.prototype;
var apply$6 = FunctionPrototype$3$1.apply;
var call$k = FunctionPrototype$3$1.call;
// eslint-disable-next-line es/no-reflect -- safe
var functionApply$1 = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$4$1 ? call$k.bind(apply$6) : function () {
return call$k.apply(apply$6, arguments);
});
var NATIVE_BIND$3$1 = functionBindNative$1;
var FunctionPrototype$2$1 = Function.prototype;
var call$j = FunctionPrototype$2$1.call;
var uncurryThisWithBind$1 = NATIVE_BIND$3$1 && FunctionPrototype$2$1.bind.bind(call$j, call$j);
var functionUncurryThis$1 = NATIVE_BIND$3$1 ? uncurryThisWithBind$1 : function (fn) {
return function () {
return call$j.apply(fn, arguments);
};
};
var uncurryThis$q$1 = functionUncurryThis$1;
var toString$9$1 = uncurryThis$q$1({}.toString);
var stringSlice$1$1 = uncurryThis$q$1(''.slice);
var classofRaw$2$1 = function (it) {
return stringSlice$1$1(toString$9$1(it), 8, -1);
};
var classofRaw$1$1 = classofRaw$2$1;
var uncurryThis$p$1 = functionUncurryThis$1;
var functionUncurryThisClause$1 = function (fn) {
// Nashorn bug:
// https://github.com/zloirock/core-js/issues/1128
// https://github.com/zloirock/core-js/issues/1130
if (classofRaw$1$1(fn) === 'Function') return uncurryThis$p$1(fn);
};
var documentAll$2$1 = typeof document == 'object' && document.all;
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
var IS_HTMLDDA$1 = typeof documentAll$2$1 == 'undefined' && documentAll$2$1 !== undefined;
var documentAll_1$1 = {
all: documentAll$2$1,
IS_HTMLDDA: IS_HTMLDDA$1
};
var $documentAll$1$1 = documentAll_1$1;
var documentAll$1$1 = $documentAll$1$1.all;
// `IsCallable` abstract operation
// https://tc39.es/ecma262/#sec-iscallable
var isCallable$m = $documentAll$1$1.IS_HTMLDDA ? function (argument) {
return typeof argument == 'function' || argument === documentAll$1$1;
} : function (argument) {
return typeof argument == 'function';
};
var objectGetOwnPropertyDescriptor$1 = {};
var fails$r$1 = fails$t$1;
// Detect IE8's incomplete defineProperty implementation
var descriptors$1 = !fails$r$1(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
});
var NATIVE_BIND$2$1 = functionBindNative$1;
var call$i = Function.prototype.call;
var functionCall$1 = NATIVE_BIND$2$1 ? call$i.bind(call$i) : function () {
return call$i.apply(call$i, arguments);
};
var objectPropertyIsEnumerable$1 = {};
var $propertyIsEnumerable$1$1 = {}.propertyIsEnumerable;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor$7$1 = Object.getOwnPropertyDescriptor;
// Nashorn ~ JDK8 bug
var NASHORN_BUG$1 = getOwnPropertyDescriptor$7$1 && !$propertyIsEnumerable$1$1.call({ 1: 2 }, 1);
// `Object.prototype.propertyIsEnumerable` method implementation
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
objectPropertyIsEnumerable$1.f = NASHORN_BUG$1 ? function propertyIsEnumerable(V) {
var descriptor = getOwnPropertyDescriptor$7$1(this, V);
return !!descriptor && descriptor.enumerable;
} : $propertyIsEnumerable$1$1;
var createPropertyDescriptor$7 = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
var uncurryThis$o$1 = functionUncurryThis$1;
var fails$q$1 = fails$t$1;
var classof$f = classofRaw$2$1;
var $Object$4$1 = Object;
var split$1 = uncurryThis$o$1(''.split);
// fallback for non-array-like ES3 and non-enumerable old V8 strings
var indexedObject$1 = fails$q$1(function () {
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
// eslint-disable-next-line no-prototype-builtins -- safe
return !$Object$4$1('z').propertyIsEnumerable(0);
}) ? function (it) {
return classof$f(it) == 'String' ? split$1(it, '') : $Object$4$1(it);
} : $Object$4$1;
// we can't use just `it == null` since of `document.all` special case
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
var isNullOrUndefined$5$1 = function (it) {
return it === null || it === undefined;
};
var isNullOrUndefined$4$1 = isNullOrUndefined$5$1;
var $TypeError$g$1 = TypeError;
// `RequireObjectCoercible` abstract operation
// https://tc39.es/ecma262/#sec-requireobjectcoercible
var requireObjectCoercible$3$1 = function (it) {
if (isNullOrUndefined$4$1(it)) throw $TypeError$g$1("Can't call method on " + it);
return it;
};
// toObject with fallback for non-array-like ES3 strings
var IndexedObject$3$1 = indexedObject$1;
var requireObjectCoercible$2$1 = requireObjectCoercible$3$1;
var toIndexedObject$a$1 = function (it) {
return IndexedObject$3$1(requireObjectCoercible$2$1(it));
};
var isCallable$l = isCallable$m;
var $documentAll$2 = documentAll_1$1;
var documentAll$3 = $documentAll$2.all;
var isObject$h$1 = $documentAll$2.IS_HTMLDDA ? function (it) {
return typeof it == 'object' ? it !== null : isCallable$l(it) || it === documentAll$3;
} : function (it) {
return typeof it == 'object' ? it !== null : isCallable$l(it);
};
var path$o$1 = {};
var path$n$1 = path$o$1;
var global$l$1 = global$m;
var isCallable$k = isCallable$m;
var aFunction$1 = function (variable) {
return isCallable$k(variable) ? variable : undefined;
};
var getBuiltIn$f = function (namespace, method) {
return arguments.length < 2 ? aFunction$1(path$n$1[namespace]) || aFunction$1(global$l$1[namespace])
: path$n$1[namespace] && path$n$1[namespace][method] || global$l$1[namespace] && global$l$1[namespace][method];
};
var uncurryThis$n$1 = functionUncurryThis$1;
var objectIsPrototypeOf$1 = uncurryThis$n$1({}.isPrototypeOf);
var engineUserAgent$1 = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
var global$k$1 = global$m;
var userAgent$5 = engineUserAgent$1;
var process$4 = global$k$1.process;
var Deno$1$1 = global$k$1.Deno;
var versions$1 = process$4 && process$4.versions || Deno$1$1 && Deno$1$1.version;
var v8$1 = versions$1 && versions$1.v8;
var match$1, version$1;
if (v8$1) {
match$1 = v8$1.split('.');
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
// but their correct versions are not interesting for us
version$1 = match$1[0] > 0 && match$1[0] < 4 ? 1 : +(match$1[0] + match$1[1]);
}
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
// so check `userAgent` even if `.v8` exists, but 0
if (!version$1 && userAgent$5) {
match$1 = userAgent$5.match(/Edge\/(\d+)/);
if (!match$1 || match$1[1] >= 74) {
match$1 = userAgent$5.match(/Chrome\/(\d+)/);
if (match$1) version$1 = +match$1[1];
}
}
var engineV8Version$1 = version$1;
/* eslint-disable es/no-symbol -- required for testing */
var V8_VERSION$3 = engineV8Version$1;
var fails$p$1 = fails$t$1;
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
var symbolConstructorDetection$1 = !!Object.getOwnPropertySymbols && !fails$p$1(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$3 && V8_VERSION$3 < 41;
});
/* eslint-disable es/no-symbol -- required for testing */
var NATIVE_SYMBOL$5$1 = symbolConstructorDetection$1;
var useSymbolAsUid$1 = NATIVE_SYMBOL$5$1
&& !Symbol.sham
&& typeof Symbol.iterator == 'symbol';
var getBuiltIn$e = getBuiltIn$f;
var isCallable$j = isCallable$m;
var isPrototypeOf$j$1 = objectIsPrototypeOf$1;
var USE_SYMBOL_AS_UID$1$1 = useSymbolAsUid$1;
var $Object$3$1 = Object;
var isSymbol$5$1 = USE_SYMBOL_AS_UID$1$1 ? function (it) {
return typeof it == 'symbol';
} : function (it) {
var $Symbol = getBuiltIn$e('Symbol');
return isCallable$j($Symbol) && isPrototypeOf$j$1($Symbol.prototype, $Object$3$1(it));
};
var $String$4$1 = String;
var tryToString$6$1 = function (argument) {
try {
return $String$4$1(argument);
} catch (error) {
return 'Object';
}
};
var isCallable$i$1 = isCallable$m;
var tryToString$5$1 = tryToString$6$1;
var $TypeError$f$1 = TypeError;
// `Assert: IsCallable(argument) is true`
var aCallable$e = function (argument) {
if (isCallable$i$1(argument)) return argument;
throw $TypeError$f$1(tryToString$5$1(argument) + ' is not a function');
};
var aCallable$d = aCallable$e;
var isNullOrUndefined$3$1 = isNullOrUndefined$5$1;
// `GetMethod` abstract operation
// https://tc39.es/ecma262/#sec-getmethod
var getMethod$3$1 = function (V, P) {
var func = V[P];
return isNullOrUndefined$3$1(func) ? undefined : aCallable$d(func);
};
var call$h = functionCall$1;
var isCallable$h$1 = isCallable$m;
var isObject$g$1 = isObject$h$1;
var $TypeError$e$1 = TypeError;
// `OrdinaryToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
var ordinaryToPrimitive$1$1 = function (input, pref) {
var fn, val;
if (pref === 'string' && isCallable$h$1(fn = input.toString) && !isObject$g$1(val = call$h(fn, input))) return val;
if (isCallable$h$1(fn = input.valueOf) && !isObject$g$1(val = call$h(fn, input))) return val;
if (pref !== 'string' && isCallable$h$1(fn = input.toString) && !isObject$g$1(val = call$h(fn, input))) return val;
throw $TypeError$e$1("Can't convert object to primitive value");
};
var shared$7$1 = {exports: {}};
var isPure = true;
var global$j$1 = global$m;
// eslint-disable-next-line es/no-object-defineproperty -- safe
var defineProperty$e$1 = Object.defineProperty;
var defineGlobalProperty$1$1 = function (key, value) {
try {
defineProperty$e$1(global$j$1, key, { value: value, configurable: true, writable: true });
} catch (error) {
global$j$1[key] = value;
} return value;
};
var global$i$1 = global$m;
var defineGlobalProperty$2 = defineGlobalProperty$1$1;
var SHARED$1 = '__core-js_shared__';
var store$3$1 = global$i$1[SHARED$1] || defineGlobalProperty$2(SHARED$1, {});
var sharedStore$1 = store$3$1;
var store$2$1 = sharedStore$1;
(shared$7$1.exports = function (key, value) {
return store$2$1[key] || (store$2$1[key] = value !== undefined ? value : {});
})('versions', []).push({
version: '3.29.0',
mode: 'pure' ,
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
var sharedExports$1 = shared$7$1.exports;
var requireObjectCoercible$1$1 = requireObjectCoercible$3$1;
var $Object$2$1 = Object;
// `ToObject` abstract operation
// https://tc39.es/ecma262/#sec-toobject
var toObject$d$1 = function (argument) {
return $Object$2$1(requireObjectCoercible$1$1(argument));
};
var uncurryThis$m$1 = functionUncurryThis$1;
var toObject$c$1 = toObject$d$1;
var hasOwnProperty$1 = uncurryThis$m$1({}.hasOwnProperty);
// `HasOwnProperty` abstract operation
// https://tc39.es/ecma262/#sec-hasownproperty
// eslint-disable-next-line es/no-object-hasown -- safe
var hasOwnProperty_1$1 = Object.hasOwn || function hasOwn(it, key) {
return hasOwnProperty$1(toObject$c$1(it), key);
};
var uncurryThis$l$1 = functionUncurryThis$1;
var id$1$1 = 0;
var postfix$1 = Math.random();
var toString$8$1 = uncurryThis$l$1(1.0.toString);
var uid$4$1 = function (key) {
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$8$1(++id$1$1 + postfix$1, 36);
};
var global$h$1 = global$m;
var shared$6$1 = sharedExports$1;
var hasOwn$j = hasOwnProperty_1$1;
var uid$3$1 = uid$4$1;
var NATIVE_SYMBOL$4$1 = symbolConstructorDetection$1;
var USE_SYMBOL_AS_UID$2 = useSymbolAsUid$1;
var Symbol$3$1 = global$h$1.Symbol;
var WellKnownSymbolsStore$2$1 = shared$6$1('wks');
var createWellKnownSymbol$1 = USE_SYMBOL_AS_UID$2 ? Symbol$3$1['for'] || Symbol$3$1 : Symbol$3$1 && Symbol$3$1.withoutSetter || uid$3$1;
var wellKnownSymbol$m = function (name) {
if (!hasOwn$j(WellKnownSymbolsStore$2$1, name)) {
WellKnownSymbolsStore$2$1[name] = NATIVE_SYMBOL$4$1 && hasOwn$j(Symbol$3$1, name)
? Symbol$3$1[name]
: createWellKnownSymbol$1('Symbol.' + name);
} return WellKnownSymbolsStore$2$1[name];
};
var call$g = functionCall$1;
var isObject$f$1 = isObject$h$1;
var isSymbol$4$1 = isSymbol$5$1;
var getMethod$2$1 = getMethod$3$1;
var ordinaryToPrimitive$2 = ordinaryToPrimitive$1$1;
var wellKnownSymbol$l$1 = wellKnownSymbol$m;
var $TypeError$d$1 = TypeError;
var TO_PRIMITIVE$1 = wellKnownSymbol$l$1('toPrimitive');
// `ToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-toprimitive
var toPrimitive$7$1 = function (input, pref) {
if (!isObject$f$1(input) || isSymbol$4$1(input)) return input;
var exoticToPrim = getMethod$2$1(input, TO_PRIMITIVE$1);
var result;
if (exoticToPrim) {
if (pref === undefined) pref = 'default';
result = call$g(exoticToPrim, input, pref);
if (!isObject$f$1(result) || isSymbol$4$1(result)) return result;
throw $TypeError$d$1("Can't convert object to primitive value");
}
if (pref === undefined) pref = 'number';
return ordinaryToPrimitive$2(input, pref);
};
var toPrimitive$6$1 = toPrimitive$7$1;
var isSymbol$3$1 = isSymbol$5$1;
// `ToPropertyKey` abstract operation
// https://tc39.es/ecma262/#sec-topropertykey
var toPropertyKey$4$1 = function (argument) {
var key = toPrimitive$6$1(argument, 'string');
return isSymbol$3$1(key) ? key : key + '';
};
var global$g$1 = global$m;
var isObject$e$1 = isObject$h$1;
var document$3 = global$g$1.document;
// typeof document.createElement is 'object' in old IE
var EXISTS$1$1 = isObject$e$1(document$3) && isObject$e$1(document$3.createElement);
var documentCreateElement$1$1 = function (it) {
return EXISTS$1$1 ? document$3.createElement(it) : {};
};
var DESCRIPTORS$h$1 = descriptors$1;
var fails$o$1 = fails$t$1;
var createElement$1 = documentCreateElement$1$1;
// Thanks to IE8 for its funny defineProperty
var ie8DomDefine$1 = !DESCRIPTORS$h$1 && !fails$o$1(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty(createElement$1('div'), 'a', {
get: function () { return 7; }
}).a != 7;
});
var DESCRIPTORS$g$1 = descriptors$1;
var call$f$1 = functionCall$1;
var propertyIsEnumerableModule$2$1 = objectPropertyIsEnumerable$1;
var createPropertyDescriptor$6 = createPropertyDescriptor$7;
var toIndexedObject$9$1 = toIndexedObject$a$1;
var toPropertyKey$3$1 = toPropertyKey$4$1;
var hasOwn$i = hasOwnProperty_1$1;
var IE8_DOM_DEFINE$1$1 = ie8DomDefine$1;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor$2$1 = Object.getOwnPropertyDescriptor;
// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
objectGetOwnPropertyDescriptor$1.f = DESCRIPTORS$g$1 ? $getOwnPropertyDescriptor$2$1 : function getOwnPropertyDescriptor(O, P) {
O = toIndexedObject$9$1(O);
P = toPropertyKey$3$1(P);
if (IE8_DOM_DEFINE$1$1) try {
return $getOwnPropertyDescriptor$2$1(O, P);
} catch (error) { /* empty */ }
if (hasOwn$i(O, P)) return createPropertyDescriptor$6(!call$f$1(propertyIsEnumerableModule$2$1.f, O, P), O[P]);
};
var fails$n$1 = fails$t$1;
var isCallable$g$1 = isCallable$m;
var replacement$1 = /#|\.prototype\./;
var isForced$2 = function (feature, detection) {
var value = data$1[normalize$1(feature)];
return value == POLYFILL$1 ? true
: value == NATIVE$1 ? false
: isCallable$g$1(detection) ? fails$n$1(detection)
: !!detection;
};
var normalize$1 = isForced$2.normalize = function (string) {
return String(string).replace(replacement$1, '.').toLowerCase();
};
var data$1 = isForced$2.data = {};
var NATIVE$1 = isForced$2.NATIVE = 'N';
var POLYFILL$1 = isForced$2.POLYFILL = 'P';
var isForced_1$1 = isForced$2;
var uncurryThis$k$1 = functionUncurryThisClause$1;
var aCallable$c = aCallable$e;
var NATIVE_BIND$1$1 = functionBindNative$1;
var bind$j = uncurryThis$k$1(uncurryThis$k$1.bind);
// optional / simple context binding
var functionBindContext$1 = function (fn, that) {
aCallable$c(fn);
return that === undefined ? fn : NATIVE_BIND$1$1 ? bind$j(fn, that) : function (/* ...args */) {
return fn.apply(that, arguments);
};
};
var objectDefineProperty$1 = {};
var DESCRIPTORS$f$1 = descriptors$1;
var fails$m$1 = fails$t$1;
// V8 ~ Chrome 36-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
var v8PrototypeDefineBug$1 = DESCRIPTORS$f$1 && fails$m$1(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
value: 42,
writable: false
}).prototype != 42;
});
var isObject$d$1 = isObject$h$1;
var $String$3$1 = String;
var $TypeError$c$1 = TypeError;
// `Assert: Type(argument) is Object`
var anObject$d$1 = function (argument) {
if (isObject$d$1(argument)) return argument;
throw $TypeError$c$1($String$3$1(argument) + ' is not an object');
};
var DESCRIPTORS$e$1 = descriptors$1;
var IE8_DOM_DEFINE$2 = ie8DomDefine$1;
var V8_PROTOTYPE_DEFINE_BUG$1$1 = v8PrototypeDefineBug$1;
var anObject$c$1 = anObject$d$1;
var toPropertyKey$2$1 = toPropertyKey$4$1;
var $TypeError$b$1 = TypeError;
// eslint-disable-next-line es/no-object-defineproperty -- safe
var $defineProperty$1$1 = Object.defineProperty;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor$1$1 = Object.getOwnPropertyDescriptor;
var ENUMERABLE$1 = 'enumerable';
var CONFIGURABLE$1$1 = 'configurable';
var WRITABLE$1 = 'writable';
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
objectDefineProperty$1.f = DESCRIPTORS$e$1 ? V8_PROTOTYPE_DEFINE_BUG$1$1 ? function defineProperty(O, P, Attributes) {
anObject$c$1(O);
P = toPropertyKey$2$1(P);
anObject$c$1(Attributes);
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE$1 in Attributes && !Attributes[WRITABLE$1]) {
var current = $getOwnPropertyDescriptor$1$1(O, P);
if (current && current[WRITABLE$1]) {
O[P] = Attributes.value;
Attributes = {
configurable: CONFIGURABLE$1$1 in Attributes ? Attributes[CONFIGURABLE$1$1] : current[CONFIGURABLE$1$1],
enumerable: ENUMERABLE$1 in Attributes ? Attributes[ENUMERABLE$1] : current[ENUMERABLE$1],
writable: false
};
}
} return $defineProperty$1$1(O, P, Attributes);
} : $defineProperty$1$1 : function defineProperty(O, P, Attributes) {
anObject$c$1(O);
P = toPropertyKey$2$1(P);
anObject$c$1(Attributes);
if (IE8_DOM_DEFINE$2) try {
return $defineProperty$1$1(O, P, Attributes);
} catch (error) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$b$1('Accessors not supported');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
var DESCRIPTORS$d$1 = descriptors$1;
var definePropertyModule$4 = objectDefineProperty$1;
var createPropertyDescriptor$5$1 = createPropertyDescriptor$7;
var createNonEnumerableProperty$9 = DESCRIPTORS$d$1 ? function (object, key, value) {
return definePropertyModule$4.f(object, key, createPropertyDescriptor$5$1(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
var global$f$1 = global$m;
var apply$5$1 = functionApply$1;
var uncurryThis$j$1 = functionUncurryThisClause$1;
var isCallable$f$1 = isCallable$m;
var getOwnPropertyDescriptor$6$1 = objectGetOwnPropertyDescriptor$1.f;
var isForced$1$1 = isForced_1$1;
var path$m$1 = path$o$1;
var bind$i = functionBindContext$1;
var createNonEnumerableProperty$8 = createNonEnumerableProperty$9;
var hasOwn$h$1 = hasOwnProperty_1$1;
var wrapConstructor$1 = 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$1(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.dontCallGetSet - prevent calling a getter on target
options.name - the .name of the function if it does not match the key
*/
var _export$1 = function (options, source) {
var TARGET = options.target;
var GLOBAL = options.global;
var STATIC = options.stat;
var PROTO = options.proto;
var nativeSource = GLOBAL ? global$f$1 : STATIC ? global$f$1[TARGET] : (global$f$1[TARGET] || {}).prototype;
var target = GLOBAL ? path$m$1 : path$m$1[TARGET] || createNonEnumerableProperty$8(path$m$1, 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$1$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
// contains in native
USE_NATIVE = !FORCED && nativeSource && hasOwn$h$1(nativeSource, key);
targetProperty = target[key];
if (USE_NATIVE) if (options.dontCallGetSet) {
descriptor = getOwnPropertyDescriptor$6$1(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 methods to global for calling from export context
if (options.bind && USE_NATIVE) resultProperty = bind$i(sourceProperty, global$f$1);
// wrap global constructors for prevent changes in this version
else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor$1(sourceProperty);
// make static versions for prototype methods
else if (PROTO && isCallable$f$1(sourceProperty)) resultProperty = uncurryThis$j$1(sourceProperty);
// default case
else resultProperty = sourceProperty;
// add a flag to not completely full polyfills
if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {
createNonEnumerableProperty$8(resultProperty, 'sham', true);
}
createNonEnumerableProperty$8(target, key, resultProperty);
if (PROTO) {
VIRTUAL_PROTOTYPE = TARGET + 'Prototype';
if (!hasOwn$h$1(path$m$1, VIRTUAL_PROTOTYPE)) {
createNonEnumerableProperty$8(path$m$1, VIRTUAL_PROTOTYPE, {});
}
// export virtual prototype methods
createNonEnumerableProperty$8(path$m$1[VIRTUAL_PROTOTYPE], key, sourceProperty);
// export real prototype methods
if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {
createNonEnumerableProperty$8(targetPrototype, key, sourceProperty);
}
}
}
};
var $$L$1 = _export$1;
var DESCRIPTORS$c$1 = descriptors$1;
var defineProperty$d$1 = objectDefineProperty$1.f;
// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
// eslint-disable-next-line es/no-object-defineproperty -- safe
$$L$1({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty$d$1, sham: !DESCRIPTORS$c$1 }, {
defineProperty: defineProperty$d$1
});
var path$l$1 = path$o$1;
var Object$4$1 = path$l$1.Object;
var defineProperty$c$1 = defineProperty$f$1.exports = function defineProperty(it, key, desc) {
return Object$4$1.defineProperty(it, key, desc);
};
if (Object$4$1.defineProperty.sham) defineProperty$c$1.sham = true;
var definePropertyExports$4 = defineProperty$f$1.exports;
var parent$15$1 = definePropertyExports$4;
var defineProperty$b$1 = parent$15$1;
var parent$14$1 = defineProperty$b$1;
var defineProperty$a$1 = parent$14$1;
var parent$13$1 = defineProperty$a$1;
var defineProperty$9$1 = parent$13$1;
var defineProperty$8$1 = defineProperty$9$1;
var defineProperty$7$1 = defineProperty$8$1;
var _Object$defineProperty$1$1 = /*@__PURE__*/getDefaultExportFromCjs$1(defineProperty$7$1);
var classof$e$1 = classofRaw$2$1;
// `IsArray` abstract operation
// https://tc39.es/ecma262/#sec-isarray
// eslint-disable-next-line es/no-array-isarray -- safe
var isArray$f$1 = Array.isArray || function isArray(argument) {
return classof$e$1(argument) == 'Array';
};
var ceil$1 = Math.ceil;
var floor$1$1 = Math.floor;
// `Math.trunc` method
// https://tc39.es/ecma262/#sec-math.trunc
// eslint-disable-next-line es/no-math-trunc -- safe
var mathTrunc$1 = Math.trunc || function trunc(x) {
var n = +x;
return (n > 0 ? floor$1$1 : ceil$1)(n);
};
var trunc$1 = mathTrunc$1;
// `ToIntegerOrInfinity` abstract operation
// https://tc39.es/ecma262/#sec-tointegerorinfinity
var toIntegerOrInfinity$4$1 = function (argument) {
var number = +argument;
// eslint-disable-next-line no-self-compare -- NaN check
return number !== number || number === 0 ? 0 : trunc$1(number);
};
var toIntegerOrInfinity$3$1 = toIntegerOrInfinity$4$1;
var min$2$1 = Math.min;
// `ToLength` abstract operation
// https://tc39.es/ecma262/#sec-tolength
var toLength$1$1 = function (argument) {
return argument > 0 ? min$2$1(toIntegerOrInfinity$3$1(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
};
var toLength$2 = toLength$1$1;
// `LengthOfArrayLike` abstract operation
// https://tc39.es/ecma262/#sec-lengthofarraylike
var lengthOfArrayLike$c = function (obj) {
return toLength$2(obj.length);
};
var $TypeError$a$1 = TypeError;
var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
var doesNotExceedSafeInteger$3 = function (it) {
if (it > MAX_SAFE_INTEGER$1) throw $TypeError$a$1('Maximum allowed index exceeded');
return it;
};
var toPropertyKey$1$1 = toPropertyKey$4$1;
var definePropertyModule$3$1 = objectDefineProperty$1;
var createPropertyDescriptor$4$1 = createPropertyDescriptor$7;
var createProperty$6$1 = function (object, key, value) {
var propertyKey = toPropertyKey$1$1(key);
if (propertyKey in object) definePropertyModule$3$1.f(object, propertyKey, createPropertyDescriptor$4$1(0, value));
else object[propertyKey] = value;
};
var wellKnownSymbol$k$1 = wellKnownSymbol$m;
var TO_STRING_TAG$4 = wellKnownSymbol$k$1('toStringTag');
var test$2$1 = {};
test$2$1[TO_STRING_TAG$4] = 'z';
var toStringTagSupport$1 = String(test$2$1) === '[object z]';
var TO_STRING_TAG_SUPPORT$2$1 = toStringTagSupport$1;
var isCallable$e$1 = isCallable$m;
var classofRaw$3 = classofRaw$2$1;
var wellKnownSymbol$j$1 = wellKnownSymbol$m;
var TO_STRING_TAG$3$1 = wellKnownSymbol$j$1('toStringTag');
var $Object$1$1 = Object;
// ES3 wrong here
var CORRECT_ARGUMENTS$1 = classofRaw$3(function () { return arguments; }()) == 'Arguments';
// fallback for IE11 Script Access Denied error
var tryGet$1 = function (it, key) {
try {
return it[key];
} catch (error) { /* empty */ }
};
// getting tag from ES6+ `Object.prototype.toString`
var classof$d$1 = TO_STRING_TAG_SUPPORT$2$1 ? classofRaw$3 : function (it) {
var O, tag, result;
return it === undefined ? 'Undefined' : it === null ? 'Null'
// @@toStringTag case
: typeof (tag = tryGet$1(O = $Object$1$1(it), TO_STRING_TAG$3$1)) == 'string' ? tag
// builtinTag case
: CORRECT_ARGUMENTS$1 ? classofRaw$3(O)
// ES3 arguments fallback
: (result = classofRaw$3(O)) == 'Object' && isCallable$e$1(O.callee) ? 'Arguments' : result;
};
var uncurryThis$i$1 = functionUncurryThis$1;
var isCallable$d$1 = isCallable$m;
var store$1$1 = sharedStore$1;
var functionToString$1 = uncurryThis$i$1(Function.toString);
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable$d$1(store$1$1.inspectSource)) {
store$1$1.inspectSource = function (it) {
return functionToString$1(it);
};
}
var inspectSource$2 = store$1$1.inspectSource;
var uncurryThis$h$1 = functionUncurryThis$1;
var fails$l$1 = fails$t$1;
var isCallable$c$1 = isCallable$m;
var classof$c$1 = classof$d$1;
var getBuiltIn$d = getBuiltIn$f;
var inspectSource$1$1 = inspectSource$2;
var noop$1 = function () { /* empty */ };
var empty$1 = [];
var construct$4$1 = getBuiltIn$d('Reflect', 'construct');
var constructorRegExp$1 = /^\s*(?:class|function)\b/;
var exec$1$1 = uncurryThis$h$1(constructorRegExp$1.exec);
var INCORRECT_TO_STRING$1 = !constructorRegExp$1.exec(noop$1);
var isConstructorModern$1 = function isConstructor(argument) {
if (!isCallable$c$1(argument)) return false;
try {
construct$4$1(noop$1, empty$1, argument);
return true;
} catch (error) {
return false;
}
};
var isConstructorLegacy$1 = function isConstructor(argument) {
if (!isCallable$c$1(argument)) return false;
switch (classof$c$1(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$1 || !!exec$1$1(constructorRegExp$1, inspectSource$1$1(argument));
} catch (error) {
return true;
}
};
isConstructorLegacy$1.sham = true;
// `IsConstructor` abstract operation
// https://tc39.es/ecma262/#sec-isconstructor
var isConstructor$4$1 = !construct$4$1 || fails$l$1(function () {
var called;
return isConstructorModern$1(isConstructorModern$1.call)
|| !isConstructorModern$1(Object)
|| !isConstructorModern$1(function () { called = true; })
|| called;
}) ? isConstructorLegacy$1 : isConstructorModern$1;
var isArray$e$1 = isArray$f$1;
var isConstructor$3$1 = isConstructor$4$1;
var isObject$c$1 = isObject$h$1;
var wellKnownSymbol$i$1 = wellKnownSymbol$m;
var SPECIES$5 = wellKnownSymbol$i$1('species');
var $Array$3$1 = Array;
// a part of `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
var arraySpeciesConstructor$1$1 = function (originalArray) {
var C;
if (isArray$e$1(originalArray)) {
C = originalArray.constructor;
// cross-realm fallback
if (isConstructor$3$1(C) && (C === $Array$3$1 || isArray$e$1(C.prototype))) C = undefined;
else if (isObject$c$1(C)) {
C = C[SPECIES$5];
if (C === null) C = undefined;
}
} return C === undefined ? $Array$3$1 : C;
};
var arraySpeciesConstructor$2 = arraySpeciesConstructor$1$1;
// `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
var arraySpeciesCreate$4 = function (originalArray, length) {
return new (arraySpeciesConstructor$2(originalArray))(length === 0 ? 0 : length);
};
var fails$k$1 = fails$t$1;
var wellKnownSymbol$h$1 = wellKnownSymbol$m;
var V8_VERSION$2$1 = engineV8Version$1;
var SPECIES$4 = wellKnownSymbol$h$1('species');
var arrayMethodHasSpeciesSupport$5$1 = 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$2$1 >= 51 || !fails$k$1(function () {
var array = [];
var constructor = array.constructor = {};
constructor[SPECIES$4] = function () {
return { foo: 1 };
};
return array[METHOD_NAME](Boolean).foo !== 1;
});
};
var $$K$1 = _export$1;
var fails$j$1 = fails$t$1;
var isArray$d$1 = isArray$f$1;
var isObject$b$1 = isObject$h$1;
var toObject$b$1 = toObject$d$1;
var lengthOfArrayLike$b$1 = lengthOfArrayLike$c;
var doesNotExceedSafeInteger$2$1 = doesNotExceedSafeInteger$3;
var createProperty$5$1 = createProperty$6$1;
var arraySpeciesCreate$3$1 = arraySpeciesCreate$4;
var arrayMethodHasSpeciesSupport$4$1 = arrayMethodHasSpeciesSupport$5$1;
var wellKnownSymbol$g$1 = wellKnownSymbol$m;
var V8_VERSION$1$1 = engineV8Version$1;
var IS_CONCAT_SPREADABLE$1 = wellKnownSymbol$g$1('isConcatSpreadable');
// 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$1 = V8_VERSION$1$1 >= 51 || !fails$j$1(function () {
var array = [];
array[IS_CONCAT_SPREADABLE$1] = false;
return array.concat()[0] !== array;
});
var isConcatSpreadable$1 = function (O) {
if (!isObject$b$1(O)) return false;
var spreadable = O[IS_CONCAT_SPREADABLE$1];
return spreadable !== undefined ? !!spreadable : isArray$d$1(O);
};
var FORCED$5$1 = !IS_CONCAT_SPREADABLE_SUPPORT$1 || !arrayMethodHasSpeciesSupport$4$1('concat');
// `Array.prototype.concat` method
// https://tc39.es/ecma262/#sec-array.prototype.concat
// with adding support of @@isConcatSpreadable and @@species
$$K$1({ target: 'Array', proto: true, forced: FORCED$5$1 }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
concat: function concat(arg) {
var O = toObject$b$1(this);
var A = arraySpeciesCreate$3$1(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$1(E)) {
len = lengthOfArrayLike$b$1(E);
doesNotExceedSafeInteger$2$1(n + len);
for (k = 0; k < len; k++, n++) if (k in E) createProperty$5$1(A, n, E[k]);
} else {
doesNotExceedSafeInteger$2$1(n + 1);
createProperty$5$1(A, n++, E);
}
}
A.length = n;
return A;
}
});
var classof$b$1 = classof$d$1;
var $String$2$1 = String;
var toString$7$1 = function (argument) {
if (classof$b$1(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
return $String$2$1(argument);
};
var objectDefineProperties$1 = {};
var toIntegerOrInfinity$2$1 = toIntegerOrInfinity$4$1;
var max$3$1 = Math.max;
var min$1$1 = 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$1 = function (index, length) {
var integer = toIntegerOrInfinity$2$1(index);
return integer < 0 ? max$3$1(integer + length, 0) : min$1$1(integer, length);
};
var toIndexedObject$8$1 = toIndexedObject$a$1;
var toAbsoluteIndex$3$1 = toAbsoluteIndex$4$1;
var lengthOfArrayLike$a$1 = lengthOfArrayLike$c;
// `Array.prototype.{ indexOf, includes }` methods implementation
var createMethod$3$1 = function (IS_INCLUDES) {
return function ($this, el, fromIndex) {
var O = toIndexedObject$8$1($this);
var length = lengthOfArrayLike$a$1(O);
var index = toAbsoluteIndex$3$1(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$1 = {
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
indexOf: createMethod$3$1(false)
};
var hiddenKeys$6$1 = {};
var uncurryThis$g$1 = functionUncurryThis$1;
var hasOwn$g$1 = hasOwnProperty_1$1;
var toIndexedObject$7$1 = toIndexedObject$a$1;
var indexOf$5 = arrayIncludes$1.indexOf;
var hiddenKeys$5$1 = hiddenKeys$6$1;
var push$6$1 = uncurryThis$g$1([].push);
var objectKeysInternal$1 = function (object, names) {
var O = toIndexedObject$7$1(object);
var i = 0;
var result = [];
var key;
for (key in O) !hasOwn$g$1(hiddenKeys$5$1, key) && hasOwn$g$1(O, key) && push$6$1(result, key);
// Don't enum bug & hidden keys
while (names.length > i) if (hasOwn$g$1(O, key = names[i++])) {
~indexOf$5(result, key) || push$6$1(result, key);
}
return result;
};
// IE8- don't enum bug keys
var enumBugKeys$3$1 = [
'constructor',
'hasOwnProperty',
'isPrototypeOf',
'propertyIsEnumerable',
'toLocaleString',
'toString',
'valueOf'
];
var internalObjectKeys$1$1 = objectKeysInternal$1;
var enumBugKeys$2$1 = enumBugKeys$3$1;
// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
// eslint-disable-next-line es/no-object-keys -- safe
var objectKeys$3$1 = Object.keys || function keys(O) {
return internalObjectKeys$1$1(O, enumBugKeys$2$1);
};
var DESCRIPTORS$b$1 = descriptors$1;
var V8_PROTOTYPE_DEFINE_BUG$2 = v8PrototypeDefineBug$1;
var definePropertyModule$2$1 = objectDefineProperty$1;
var anObject$b$1 = anObject$d$1;
var toIndexedObject$6$1 = toIndexedObject$a$1;
var objectKeys$2$1 = objectKeys$3$1;
// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
// eslint-disable-next-line es/no-object-defineproperties -- safe
objectDefineProperties$1.f = DESCRIPTORS$b$1 && !V8_PROTOTYPE_DEFINE_BUG$2 ? Object.defineProperties : function defineProperties(O, Properties) {
anObject$b$1(O);
var props = toIndexedObject$6$1(Properties);
var keys = objectKeys$2$1(Properties);
var length = keys.length;
var index = 0;
var key;
while (length > index) definePropertyModule$2$1.f(O, key = keys[index++], props[key]);
return O;
};
var getBuiltIn$c$1 = getBuiltIn$f;
var html$2 = getBuiltIn$c$1('document', 'documentElement');
var shared$5$1 = sharedExports$1;
var uid$2$1 = uid$4$1;
var keys$7 = shared$5$1('keys');
var sharedKey$4$1 = function (key) {
return keys$7[key] || (keys$7[key] = uid$2$1(key));
};
/* global ActiveXObject -- old IE, WSH */
var anObject$a$1 = anObject$d$1;
var definePropertiesModule$1$1 = objectDefineProperties$1;
var enumBugKeys$1$1 = enumBugKeys$3$1;
var hiddenKeys$4$1 = hiddenKeys$6$1;
var html$1$1 = html$2;
var documentCreateElement$2 = documentCreateElement$1$1;
var sharedKey$3$1 = sharedKey$4$1;
var GT$1 = '>';
var LT$1 = '<';
var PROTOTYPE$1$1 = 'prototype';
var SCRIPT$1 = 'script';
var IE_PROTO$1$1 = sharedKey$3$1('IE_PROTO');
var EmptyConstructor$1 = function () { /* empty */ };
var scriptTag$1 = function (content) {
return LT$1 + SCRIPT$1 + GT$1 + content + LT$1 + '/' + SCRIPT$1 + GT$1;
};
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
var NullProtoObjectViaActiveX$1 = function (activeXDocument) {
activeXDocument.write(scriptTag$1(''));
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$1 = function () {
// Thrash, waste and sodomy: IE GC bug
var iframe = documentCreateElement$2('iframe');
var JS = 'java' + SCRIPT$1 + ':';
var iframeDocument;
iframe.style.display = 'none';
html$1$1.appendChild(iframe);
// https://github.com/zloirock/core-js/issues/475
iframe.src = String(JS);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(scriptTag$1('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$1;
var NullProtoObject$1 = function () {
try {
activeXDocument$1 = new ActiveXObject('htmlfile');
} catch (error) { /* ignore */ }
NullProtoObject$1 = typeof document != 'undefined'
? document.domain && activeXDocument$1
? NullProtoObjectViaActiveX$1(activeXDocument$1) // old IE
: NullProtoObjectViaIFrame$1()
: NullProtoObjectViaActiveX$1(activeXDocument$1); // WSH
var length = enumBugKeys$1$1.length;
while (length--) delete NullProtoObject$1[PROTOTYPE$1$1][enumBugKeys$1$1[length]];
return NullProtoObject$1();
};
hiddenKeys$4$1[IE_PROTO$1$1] = true;
// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
// eslint-disable-next-line es/no-object-create -- safe
var objectCreate$1 = Object.create || function create(O, Properties) {
var result;
if (O !== null) {
EmptyConstructor$1[PROTOTYPE$1$1] = anObject$a$1(O);
result = new EmptyConstructor$1();
EmptyConstructor$1[PROTOTYPE$1$1] = null;
// add "__proto__" for Object.getPrototypeOf polyfill
result[IE_PROTO$1$1] = O;
} else result = NullProtoObject$1();
return Properties === undefined ? result : definePropertiesModule$1$1.f(result, Properties);
};
var objectGetOwnPropertyNames$1 = {};
var internalObjectKeys$2 = objectKeysInternal$1;
var enumBugKeys$4 = enumBugKeys$3$1;
var hiddenKeys$3$1 = enumBugKeys$4.concat('length', 'prototype');
// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
objectGetOwnPropertyNames$1.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return internalObjectKeys$2(O, hiddenKeys$3$1);
};
var objectGetOwnPropertyNamesExternal$1 = {};
var toAbsoluteIndex$2$1 = toAbsoluteIndex$4$1;
var lengthOfArrayLike$9$1 = lengthOfArrayLike$c;
var createProperty$4$1 = createProperty$6$1;
var $Array$2$1 = Array;
var max$2$1 = Math.max;
var arraySliceSimple$1 = function (O, start, end) {
var length = lengthOfArrayLike$9$1(O);
var k = toAbsoluteIndex$2$1(start, length);
var fin = toAbsoluteIndex$2$1(end === undefined ? length : end, length);
var result = $Array$2$1(max$2$1(fin - k, 0));
for (var n = 0; k < fin; k++, n++) createProperty$4$1(result, n, O[k]);
result.length = n;
return result;
};
/* eslint-disable es/no-object-getownpropertynames -- safe */
var classof$a$1 = classofRaw$2$1;
var toIndexedObject$5$1 = toIndexedObject$a$1;
var $getOwnPropertyNames$1$1 = objectGetOwnPropertyNames$1.f;
var arraySlice$6 = arraySliceSimple$1;
var windowNames$1 = typeof window == 'object' && window && Object.getOwnPropertyNames
? Object.getOwnPropertyNames(window) : [];
var getWindowNames$1 = function (it) {
try {
return $getOwnPropertyNames$1$1(it);
} catch (error) {
return arraySlice$6(windowNames$1);
}
};
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
objectGetOwnPropertyNamesExternal$1.f = function getOwnPropertyNames(it) {
return windowNames$1 && classof$a$1(it) == 'Window'
? getWindowNames$1(it)
: $getOwnPropertyNames$1$1(toIndexedObject$5$1(it));
};
var objectGetOwnPropertySymbols$1 = {};
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
objectGetOwnPropertySymbols$1.f = Object.getOwnPropertySymbols;
var createNonEnumerableProperty$7 = createNonEnumerableProperty$9;
var defineBuiltIn$6 = function (target, key, value, options) {
if (options && options.enumerable) target[key] = value;
else createNonEnumerableProperty$7(target, key, value);
return target;
};
var defineProperty$6$1 = objectDefineProperty$1;
var defineBuiltInAccessor$3$1 = function (target, name, descriptor) {
return defineProperty$6$1.f(target, name, descriptor);
};
var wellKnownSymbolWrapped$1 = {};
var wellKnownSymbol$f$1 = wellKnownSymbol$m;
wellKnownSymbolWrapped$1.f = wellKnownSymbol$f$1;
var path$k$1 = path$o$1;
var hasOwn$f$1 = hasOwnProperty_1$1;
var wrappedWellKnownSymbolModule$1$1 = wellKnownSymbolWrapped$1;
var defineProperty$5$1 = objectDefineProperty$1.f;
var wellKnownSymbolDefine$1 = function (NAME) {
var Symbol = path$k$1.Symbol || (path$k$1.Symbol = {});
if (!hasOwn$f$1(Symbol, NAME)) defineProperty$5$1(Symbol, NAME, {
value: wrappedWellKnownSymbolModule$1$1.f(NAME)
});
};
var call$e$1 = functionCall$1;
var getBuiltIn$b$1 = getBuiltIn$f;
var wellKnownSymbol$e$1 = wellKnownSymbol$m;
var defineBuiltIn$5$1 = defineBuiltIn$6;
var symbolDefineToPrimitive$1 = function () {
var Symbol = getBuiltIn$b$1('Symbol');
var SymbolPrototype = Symbol && Symbol.prototype;
var valueOf = SymbolPro