@huolala-tech/page-spy-plugin-ospy
Version:
Offline-fist PageSpy, plug and play. Only available in browser.
750 lines • 1.14 MB
JavaScript
function _toPrimitive$1(Tc, $c) {
if (typeof Tc != "object" || !Tc) return Tc;
var Ec = Tc[Symbol.toPrimitive];
if (Ec !== void 0) {
var Ac = Ec.call(Tc, $c || "default");
if (typeof Ac != "object") return Ac;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ($c === "string" ? String : Number)(Tc);
}
function _toPropertyKey$1(Tc) {
var $c = _toPrimitive$1(Tc, "string");
return typeof $c == "symbol" ? $c : $c + "";
}
function _defineProperty$1(Tc, $c, Ec) {
return $c = _toPropertyKey$1($c), $c in Tc ? Object.defineProperty(Tc, $c, {
value: Ec,
enumerable: !0,
configurable: !0,
writable: !0
}) : Tc[$c] = Ec, Tc;
}
var commonjsGlobal$1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, check$1 = function(Tc) {
return Tc && Tc.Math == Math && Tc;
}, global$T = (
// 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
/* @__PURE__ */ function() {
return this;
}() || commonjsGlobal$1 || Function("return this")()
), objectGetOwnPropertyDescriptor$1 = {}, fails$Y = function(Tc) {
try {
return !!Tc();
} catch {
return !0;
}
}, fails$X = fails$Y, descriptors$1 = !fails$X(function() {
return Object.defineProperty({}, 1, { get: function() {
return 7;
} })[1] != 7;
}), fails$W = fails$Y, functionBindNative$1 = !fails$W(function() {
var Tc = (function() {
}).bind();
return typeof Tc != "function" || Tc.hasOwnProperty("prototype");
}), NATIVE_BIND$7 = functionBindNative$1, call$C = Function.prototype.call, functionCall$1 = NATIVE_BIND$7 ? call$C.bind(call$C) : function() {
return call$C.apply(call$C, arguments);
}, objectPropertyIsEnumerable$1 = {}, $propertyIsEnumerable$1 = {}.propertyIsEnumerable, getOwnPropertyDescriptor$7 = Object.getOwnPropertyDescriptor, NASHORN_BUG$1 = getOwnPropertyDescriptor$7 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);
objectPropertyIsEnumerable$1.f = NASHORN_BUG$1 ? function($c) {
var Ec = getOwnPropertyDescriptor$7(this, $c);
return !!Ec && Ec.enumerable;
} : $propertyIsEnumerable$1;
var createPropertyDescriptor$g = function(Tc, $c) {
return {
enumerable: !(Tc & 1),
configurable: !(Tc & 2),
writable: !(Tc & 4),
value: $c
};
}, NATIVE_BIND$6 = functionBindNative$1, FunctionPrototype$5 = Function.prototype, call$B = FunctionPrototype$5.call, uncurryThisWithBind$1 = NATIVE_BIND$6 && FunctionPrototype$5.bind.bind(call$B, call$B), functionUncurryThis$1 = NATIVE_BIND$6 ? uncurryThisWithBind$1 : function(Tc) {
return function() {
return call$B.apply(Tc, arguments);
};
}, uncurryThis$19 = functionUncurryThis$1, toString$m = uncurryThis$19({}.toString), stringSlice$h = uncurryThis$19("".slice), classofRaw$5 = function(Tc) {
return stringSlice$h(toString$m(Tc), 8, -1);
}, uncurryThis$18 = functionUncurryThis$1, fails$V = fails$Y, classof$m = classofRaw$5, $Object$9 = Object, split$7 = uncurryThis$18("".split), indexedObject$1 = fails$V(function() {
return !$Object$9("z").propertyIsEnumerable(0);
}) ? function(Tc) {
return classof$m(Tc) == "String" ? split$7(Tc, "") : $Object$9(Tc);
} : $Object$9, isNullOrUndefined$b = function(Tc) {
return Tc == null;
}, isNullOrUndefined$a = isNullOrUndefined$b, $TypeError$C = TypeError, requireObjectCoercible$b = function(Tc) {
if (isNullOrUndefined$a(Tc)) throw $TypeError$C("Can't call method on " + Tc);
return Tc;
}, IndexedObject$6 = indexedObject$1, requireObjectCoercible$a = requireObjectCoercible$b, toIndexedObject$c = function(Tc) {
return IndexedObject$6(requireObjectCoercible$a(Tc));
}, documentAll$5 = typeof document == "object" && document.all, IS_HTMLDDA$1 = typeof documentAll$5 > "u" && documentAll$5 !== void 0, documentAll_1$1 = {
all: documentAll$5,
IS_HTMLDDA: IS_HTMLDDA$1
}, $documentAll$3 = documentAll_1$1, documentAll$4 = $documentAll$3.all, isCallable$O = $documentAll$3.IS_HTMLDDA ? function(Tc) {
return typeof Tc == "function" || Tc === documentAll$4;
} : function(Tc) {
return typeof Tc == "function";
}, isCallable$N = isCallable$O, $documentAll$2 = documentAll_1$1, documentAll$3 = $documentAll$2.all, isObject$m = $documentAll$2.IS_HTMLDDA ? function(Tc) {
return typeof Tc == "object" ? Tc !== null : isCallable$N(Tc) || Tc === documentAll$3;
} : function(Tc) {
return typeof Tc == "object" ? Tc !== null : isCallable$N(Tc);
}, global$S = global$T, isCallable$M = isCallable$O, aFunction$1 = function(Tc) {
return isCallable$M(Tc) ? Tc : void 0;
}, getBuiltIn$l = function(Tc, $c) {
return arguments.length < 2 ? aFunction$1(global$S[Tc]) : global$S[Tc] && global$S[Tc][$c];
}, uncurryThis$17 = functionUncurryThis$1, objectIsPrototypeOf$1 = uncurryThis$17({}.isPrototypeOf), engineUserAgent$1 = typeof navigator < "u" && String(navigator.userAgent) || "", global$R = global$T, userAgent$3 = engineUserAgent$1, process$2 = global$R.process, Deno$2 = global$R.Deno, versions$1 = process$2 && process$2.versions || Deno$2 && Deno$2.version, v8$1 = versions$1 && versions$1.v8, match$1, version$2;
v8$1 && (match$1 = v8$1.split("."), version$2 = match$1[0] > 0 && match$1[0] < 4 ? 1 : +(match$1[0] + match$1[1]));
!version$2 && userAgent$3 && (match$1 = userAgent$3.match(/Edge\/(\d+)/), (!match$1 || match$1[1] >= 74) && (match$1 = userAgent$3.match(/Chrome\/(\d+)/), match$1 && (version$2 = +match$1[1])));
var engineV8Version$1 = version$2, V8_VERSION$1 = engineV8Version$1, fails$U = fails$Y, global$Q = global$T, $String$d = global$Q.String, symbolConstructorDetection$1 = !!Object.getOwnPropertySymbols && !fails$U(function() {
var Tc = Symbol();
return !$String$d(Tc) || !(Object(Tc) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
!Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
}), NATIVE_SYMBOL$7 = symbolConstructorDetection$1, useSymbolAsUid$1 = NATIVE_SYMBOL$7 && !Symbol.sham && typeof Symbol.iterator == "symbol", getBuiltIn$k = getBuiltIn$l, isCallable$L = isCallable$O, isPrototypeOf$8 = objectIsPrototypeOf$1, USE_SYMBOL_AS_UID$3 = useSymbolAsUid$1, $Object$8 = Object, isSymbol$8 = USE_SYMBOL_AS_UID$3 ? function(Tc) {
return typeof Tc == "symbol";
} : function(Tc) {
var $c = getBuiltIn$k("Symbol");
return isCallable$L($c) && isPrototypeOf$8($c.prototype, $Object$8(Tc));
}, $String$c = String, tryToString$9 = function(Tc) {
try {
return $String$c(Tc);
} catch {
return "Object";
}
}, isCallable$K = isCallable$O, tryToString$8 = tryToString$9, $TypeError$B = TypeError, aCallable$h = function(Tc) {
if (isCallable$K(Tc)) return Tc;
throw $TypeError$B(tryToString$8(Tc) + " is not a function");
}, aCallable$g = aCallable$h, isNullOrUndefined$9 = isNullOrUndefined$b, getMethod$9 = function(Tc, $c) {
var Ec = Tc[$c];
return isNullOrUndefined$9(Ec) ? void 0 : aCallable$g(Ec);
}, call$A = functionCall$1, isCallable$J = isCallable$O, isObject$l = isObject$m, $TypeError$A = TypeError, ordinaryToPrimitive$3 = function(Tc, $c) {
var Ec, Ac;
if ($c === "string" && isCallable$J(Ec = Tc.toString) && !isObject$l(Ac = call$A(Ec, Tc)) || isCallable$J(Ec = Tc.valueOf) && !isObject$l(Ac = call$A(Ec, Tc)) || $c !== "string" && isCallable$J(Ec = Tc.toString) && !isObject$l(Ac = call$A(Ec, Tc))) return Ac;
throw $TypeError$A("Can't convert object to primitive value");
}, shared$9 = { exports: {} }, isPure$1 = !1, global$P = global$T, defineProperty$i = Object.defineProperty, defineGlobalProperty$7 = function(Tc, $c) {
try {
defineProperty$i(global$P, Tc, { value: $c, configurable: !0, writable: !0 });
} catch {
global$P[Tc] = $c;
}
return $c;
}, global$O = global$T, defineGlobalProperty$6 = defineGlobalProperty$7, SHARED$1 = "__core-js_shared__", store$7 = global$O[SHARED$1] || defineGlobalProperty$6(SHARED$1, {}), sharedStore$1 = store$7, store$6 = sharedStore$1;
(shared$9.exports = function(Tc, $c) {
return store$6[Tc] || (store$6[Tc] = $c !== void 0 ? $c : {});
})("versions", []).push({
version: "3.30.2",
mode: "global",
copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)",
license: "https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",
source: "https://github.com/zloirock/core-js"
});
var sharedExports$1 = shared$9.exports, requireObjectCoercible$9 = requireObjectCoercible$b, $Object$7 = Object, toObject$k = function(Tc) {
return $Object$7(requireObjectCoercible$9(Tc));
}, uncurryThis$16 = functionUncurryThis$1, toObject$j = toObject$k, hasOwnProperty$3 = uncurryThis$16({}.hasOwnProperty), hasOwnProperty_1$1 = Object.hasOwn || function($c, Ec) {
return hasOwnProperty$3(toObject$j($c), Ec);
}, uncurryThis$15 = functionUncurryThis$1, id$1 = 0, postfix$1 = Math.random(), toString$l = uncurryThis$15(1 .toString), uid$6 = function(Tc) {
return "Symbol(" + (Tc === void 0 ? "" : Tc) + ")_" + toString$l(++id$1 + postfix$1, 36);
}, global$N = global$T, shared$8 = sharedExports$1, hasOwn$t = hasOwnProperty_1$1, uid$5 = uid$6, NATIVE_SYMBOL$6 = symbolConstructorDetection$1, USE_SYMBOL_AS_UID$2 = useSymbolAsUid$1, Symbol$2 = global$N.Symbol, WellKnownSymbolsStore$1 = shared$8("wks"), createWellKnownSymbol$1 = USE_SYMBOL_AS_UID$2 ? Symbol$2.for || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$5, wellKnownSymbol$y = function(Tc) {
return hasOwn$t(WellKnownSymbolsStore$1, Tc) || (WellKnownSymbolsStore$1[Tc] = NATIVE_SYMBOL$6 && hasOwn$t(Symbol$2, Tc) ? Symbol$2[Tc] : createWellKnownSymbol$1("Symbol." + Tc)), WellKnownSymbolsStore$1[Tc];
}, call$z = functionCall$1, isObject$k = isObject$m, isSymbol$7 = isSymbol$8, getMethod$8 = getMethod$9, ordinaryToPrimitive$2 = ordinaryToPrimitive$3, wellKnownSymbol$x = wellKnownSymbol$y, $TypeError$z = TypeError, TO_PRIMITIVE$1 = wellKnownSymbol$x("toPrimitive"), toPrimitive$4 = function(Tc, $c) {
if (!isObject$k(Tc) || isSymbol$7(Tc)) return Tc;
var Ec = getMethod$8(Tc, TO_PRIMITIVE$1), Ac;
if (Ec) {
if ($c === void 0 && ($c = "default"), Ac = call$z(Ec, Tc, $c), !isObject$k(Ac) || isSymbol$7(Ac)) return Ac;
throw $TypeError$z("Can't convert object to primitive value");
}
return $c === void 0 && ($c = "number"), ordinaryToPrimitive$2(Tc, $c);
}, toPrimitive$3 = toPrimitive$4, isSymbol$6 = isSymbol$8, toPropertyKey$8 = function(Tc) {
var $c = toPrimitive$3(Tc, "string");
return isSymbol$6($c) ? $c : $c + "";
}, global$M = global$T, isObject$j = isObject$m, document$2 = global$M.document, EXISTS$3 = isObject$j(document$2) && isObject$j(document$2.createElement), documentCreateElement$5 = function(Tc) {
return EXISTS$3 ? document$2.createElement(Tc) : {};
}, DESCRIPTORS$I = descriptors$1, fails$T = fails$Y, createElement$1 = documentCreateElement$5, ie8DomDefine$1 = !DESCRIPTORS$I && !fails$T(function() {
return Object.defineProperty(createElement$1("div"), "a", {
get: function() {
return 7;
}
}).a != 7;
}), DESCRIPTORS$H = descriptors$1, call$y = functionCall$1, propertyIsEnumerableModule$3 = objectPropertyIsEnumerable$1, createPropertyDescriptor$f = createPropertyDescriptor$g, toIndexedObject$b = toIndexedObject$c, toPropertyKey$7 = toPropertyKey$8, hasOwn$s = hasOwnProperty_1$1, IE8_DOM_DEFINE$3 = ie8DomDefine$1, $getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
objectGetOwnPropertyDescriptor$1.f = DESCRIPTORS$H ? $getOwnPropertyDescriptor$3 : function($c, Ec) {
if ($c = toIndexedObject$b($c), Ec = toPropertyKey$7(Ec), IE8_DOM_DEFINE$3) try {
return $getOwnPropertyDescriptor$3($c, Ec);
} catch {
}
if (hasOwn$s($c, Ec)) return createPropertyDescriptor$f(!call$y(propertyIsEnumerableModule$3.f, $c, Ec), $c[Ec]);
};
var objectDefineProperty$1 = {}, DESCRIPTORS$G = descriptors$1, fails$S = fails$Y, v8PrototypeDefineBug$1 = DESCRIPTORS$G && fails$S(function() {
return Object.defineProperty(function() {
}, "prototype", {
value: 42,
writable: !1
}).prototype != 42;
}), isObject$i = isObject$m, $String$b = String, $TypeError$y = TypeError, anObject$x = function(Tc) {
if (isObject$i(Tc)) return Tc;
throw $TypeError$y($String$b(Tc) + " is not an object");
}, DESCRIPTORS$F = descriptors$1, IE8_DOM_DEFINE$2 = ie8DomDefine$1, V8_PROTOTYPE_DEFINE_BUG$3 = v8PrototypeDefineBug$1, anObject$w = anObject$x, toPropertyKey$6 = toPropertyKey$8, $TypeError$x = TypeError, $defineProperty$1 = Object.defineProperty, $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor, ENUMERABLE$1 = "enumerable", CONFIGURABLE$3 = "configurable", WRITABLE$1 = "writable";
objectDefineProperty$1.f = DESCRIPTORS$F ? V8_PROTOTYPE_DEFINE_BUG$3 ? function($c, Ec, Ac) {
if (anObject$w($c), Ec = toPropertyKey$6(Ec), anObject$w(Ac), typeof $c == "function" && Ec === "prototype" && "value" in Ac && WRITABLE$1 in Ac && !Ac[WRITABLE$1]) {
var _c = $getOwnPropertyDescriptor$2($c, Ec);
_c && _c[WRITABLE$1] && ($c[Ec] = Ac.value, Ac = {
configurable: CONFIGURABLE$3 in Ac ? Ac[CONFIGURABLE$3] : _c[CONFIGURABLE$3],
enumerable: ENUMERABLE$1 in Ac ? Ac[ENUMERABLE$1] : _c[ENUMERABLE$1],
writable: !1
});
}
return $defineProperty$1($c, Ec, Ac);
} : $defineProperty$1 : function($c, Ec, Ac) {
if (anObject$w($c), Ec = toPropertyKey$6(Ec), anObject$w(Ac), IE8_DOM_DEFINE$2) try {
return $defineProperty$1($c, Ec, Ac);
} catch {
}
if ("get" in Ac || "set" in Ac) throw $TypeError$x("Accessors not supported");
return "value" in Ac && ($c[Ec] = Ac.value), $c;
};
var DESCRIPTORS$E = descriptors$1, definePropertyModule$a = objectDefineProperty$1, createPropertyDescriptor$e = createPropertyDescriptor$g, createNonEnumerableProperty$k = DESCRIPTORS$E ? function(Tc, $c, Ec) {
return definePropertyModule$a.f(Tc, $c, createPropertyDescriptor$e(1, Ec));
} : function(Tc, $c, Ec) {
return Tc[$c] = Ec, Tc;
}, makeBuiltIn$7 = { exports: {} }, DESCRIPTORS$D = descriptors$1, hasOwn$r = hasOwnProperty_1$1, FunctionPrototype$4 = Function.prototype, getDescriptor$1 = DESCRIPTORS$D && Object.getOwnPropertyDescriptor, EXISTS$2 = hasOwn$r(FunctionPrototype$4, "name"), PROPER$1 = EXISTS$2 && (function() {
}).name === "something", CONFIGURABLE$2 = EXISTS$2 && (!DESCRIPTORS$D || DESCRIPTORS$D && getDescriptor$1(FunctionPrototype$4, "name").configurable), functionName$1 = {
EXISTS: EXISTS$2,
PROPER: PROPER$1,
CONFIGURABLE: CONFIGURABLE$2
}, uncurryThis$14 = functionUncurryThis$1, isCallable$I = isCallable$O, store$5 = sharedStore$1, functionToString$1 = uncurryThis$14(Function.toString);
isCallable$I(store$5.inspectSource) || (store$5.inspectSource = function(Tc) {
return functionToString$1(Tc);
});
var inspectSource$5 = store$5.inspectSource, global$L = global$T, isCallable$H = isCallable$O, WeakMap$4 = global$L.WeakMap, weakMapBasicDetection$1 = isCallable$H(WeakMap$4) && /native code/.test(String(WeakMap$4)), shared$7 = sharedExports$1, uid$4 = uid$6, keys$5 = shared$7("keys"), sharedKey$7 = function(Tc) {
return keys$5[Tc] || (keys$5[Tc] = uid$4(Tc));
}, hiddenKeys$9 = {}, NATIVE_WEAK_MAP$1 = weakMapBasicDetection$1, global$K = global$T, isObject$h = isObject$m, createNonEnumerableProperty$j = createNonEnumerableProperty$k, hasOwn$q = hasOwnProperty_1$1, shared$6 = sharedStore$1, sharedKey$6 = sharedKey$7, hiddenKeys$8 = hiddenKeys$9, OBJECT_ALREADY_INITIALIZED$1 = "Object already initialized", TypeError$8 = global$K.TypeError, WeakMap$3 = global$K.WeakMap, set$3, get$3, has$d, enforce$1 = function(Tc) {
return has$d(Tc) ? get$3(Tc) : set$3(Tc, {});
}, getterFor$1 = function(Tc) {
return function($c) {
var Ec;
if (!isObject$h($c) || (Ec = get$3($c)).type !== Tc)
throw TypeError$8("Incompatible receiver, " + Tc + " required");
return Ec;
};
};
if (NATIVE_WEAK_MAP$1 || shared$6.state) {
var store$4 = shared$6.state || (shared$6.state = new WeakMap$3());
store$4.get = store$4.get, store$4.has = store$4.has, store$4.set = store$4.set, set$3 = function(Tc, $c) {
if (store$4.has(Tc)) throw TypeError$8(OBJECT_ALREADY_INITIALIZED$1);
return $c.facade = Tc, store$4.set(Tc, $c), $c;
}, get$3 = function(Tc) {
return store$4.get(Tc) || {};
}, has$d = function(Tc) {
return store$4.has(Tc);
};
} else {
var STATE$1 = sharedKey$6("state");
hiddenKeys$8[STATE$1] = !0, set$3 = function(Tc, $c) {
if (hasOwn$q(Tc, STATE$1)) throw TypeError$8(OBJECT_ALREADY_INITIALIZED$1);
return $c.facade = Tc, createNonEnumerableProperty$j(Tc, STATE$1, $c), $c;
}, get$3 = function(Tc) {
return hasOwn$q(Tc, STATE$1) ? Tc[STATE$1] : {};
}, has$d = function(Tc) {
return hasOwn$q(Tc, STATE$1);
};
}
var internalState$1 = {
set: set$3,
get: get$3,
has: has$d,
enforce: enforce$1,
getterFor: getterFor$1
}, uncurryThis$13 = functionUncurryThis$1, fails$R = fails$Y, isCallable$G = isCallable$O, hasOwn$p = hasOwnProperty_1$1, DESCRIPTORS$C = descriptors$1, CONFIGURABLE_FUNCTION_NAME$5 = functionName$1.CONFIGURABLE, inspectSource$4 = inspectSource$5, InternalStateModule$c = internalState$1, enforceInternalState$3 = InternalStateModule$c.enforce, getInternalState$8 = InternalStateModule$c.get, $String$a = String, defineProperty$h = Object.defineProperty, stringSlice$g = uncurryThis$13("".slice), replace$j = uncurryThis$13("".replace), join$7 = uncurryThis$13([].join), CONFIGURABLE_LENGTH$1 = DESCRIPTORS$C && !fails$R(function() {
return defineProperty$h(function() {
}, "length", { value: 8 }).length !== 8;
}), TEMPLATE$1 = String(String).split("String"), makeBuiltIn$6 = makeBuiltIn$7.exports = function(Tc, $c, Ec) {
stringSlice$g($String$a($c), 0, 7) === "Symbol(" && ($c = "[" + replace$j($String$a($c), /^Symbol\(([^)]*)\)/, "$1") + "]"), Ec && Ec.getter && ($c = "get " + $c), Ec && Ec.setter && ($c = "set " + $c), (!hasOwn$p(Tc, "name") || CONFIGURABLE_FUNCTION_NAME$5 && Tc.name !== $c) && (DESCRIPTORS$C ? defineProperty$h(Tc, "name", { value: $c, configurable: !0 }) : Tc.name = $c), CONFIGURABLE_LENGTH$1 && Ec && hasOwn$p(Ec, "arity") && Tc.length !== Ec.arity && defineProperty$h(Tc, "length", { value: Ec.arity });
try {
Ec && hasOwn$p(Ec, "constructor") && Ec.constructor ? DESCRIPTORS$C && defineProperty$h(Tc, "prototype", { writable: !1 }) : Tc.prototype && (Tc.prototype = void 0);
} catch {
}
var Ac = enforceInternalState$3(Tc);
return hasOwn$p(Ac, "source") || (Ac.source = join$7(TEMPLATE$1, typeof $c == "string" ? $c : "")), Tc;
};
Function.prototype.toString = makeBuiltIn$6(function() {
return isCallable$G(this) && getInternalState$8(this).source || inspectSource$4(this);
}, "toString");
var makeBuiltInExports$1 = makeBuiltIn$7.exports, isCallable$F = isCallable$O, definePropertyModule$9 = objectDefineProperty$1, makeBuiltIn$5 = makeBuiltInExports$1, defineGlobalProperty$5 = defineGlobalProperty$7, defineBuiltIn$i = function(Tc, $c, Ec, Ac) {
Ac || (Ac = {});
var _c = Ac.enumerable, Oc = Ac.name !== void 0 ? Ac.name : $c;
if (isCallable$F(Ec) && makeBuiltIn$5(Ec, Oc, Ac), Ac.global)
_c ? Tc[$c] = Ec : defineGlobalProperty$5($c, Ec);
else {
try {
Ac.unsafe ? Tc[$c] && (_c = !0) : delete Tc[$c];
} catch {
}
_c ? Tc[$c] = Ec : definePropertyModule$9.f(Tc, $c, {
value: Ec,
enumerable: !1,
configurable: !Ac.nonConfigurable,
writable: !Ac.nonWritable
});
}
return Tc;
}, objectGetOwnPropertyNames$1 = {}, ceil$1 = Math.ceil, floor$c = Math.floor, mathTrunc$1 = Math.trunc || function($c) {
var Ec = +$c;
return (Ec > 0 ? floor$c : ceil$1)(Ec);
}, trunc$1 = mathTrunc$1, toIntegerOrInfinity$g = function(Tc) {
var $c = +Tc;
return $c !== $c || $c === 0 ? 0 : trunc$1($c);
}, toIntegerOrInfinity$f = toIntegerOrInfinity$g, max$7 = Math.max, min$7 = Math.min, toAbsoluteIndex$9 = function(Tc, $c) {
var Ec = toIntegerOrInfinity$f(Tc);
return Ec < 0 ? max$7(Ec + $c, 0) : min$7(Ec, $c);
}, toIntegerOrInfinity$e = toIntegerOrInfinity$g, min$6 = Math.min, toLength$c = function(Tc) {
return Tc > 0 ? min$6(toIntegerOrInfinity$e(Tc), 9007199254740991) : 0;
}, toLength$b = toLength$c, lengthOfArrayLike$h = function(Tc) {
return toLength$b(Tc.length);
}, toIndexedObject$a = toIndexedObject$c, toAbsoluteIndex$8 = toAbsoluteIndex$9, lengthOfArrayLike$g = lengthOfArrayLike$h, createMethod$8 = function(Tc) {
return function($c, Ec, Ac) {
var _c = toIndexedObject$a($c), Oc = lengthOfArrayLike$g(_c), Rc = toAbsoluteIndex$8(Ac, Oc), Pc;
if (Tc && Ec != Ec) {
for (; Oc > Rc; )
if (Pc = _c[Rc++], Pc != Pc) return !0;
} else for (; Oc > Rc; Rc++)
if ((Tc || Rc in _c) && _c[Rc] === Ec) return Tc || Rc || 0;
return !Tc && -1;
};
}, arrayIncludes$1 = {
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
includes: createMethod$8(!0),
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
indexOf: createMethod$8(!1)
}, uncurryThis$12 = functionUncurryThis$1, hasOwn$o = hasOwnProperty_1$1, toIndexedObject$9 = toIndexedObject$c, indexOf$3 = arrayIncludes$1.indexOf, hiddenKeys$7 = hiddenKeys$9, push$d = uncurryThis$12([].push), objectKeysInternal$1 = function(Tc, $c) {
var Ec = toIndexedObject$9(Tc), Ac = 0, _c = [], Oc;
for (Oc in Ec) !hasOwn$o(hiddenKeys$7, Oc) && hasOwn$o(Ec, Oc) && push$d(_c, Oc);
for (; $c.length > Ac; ) hasOwn$o(Ec, Oc = $c[Ac++]) && (~indexOf$3(_c, Oc) || push$d(_c, Oc));
return _c;
}, enumBugKeys$7 = [
"constructor",
"hasOwnProperty",
"isPrototypeOf",
"propertyIsEnumerable",
"toLocaleString",
"toString",
"valueOf"
], internalObjectKeys$3 = objectKeysInternal$1, enumBugKeys$6 = enumBugKeys$7, hiddenKeys$6 = enumBugKeys$6.concat("length", "prototype");
objectGetOwnPropertyNames$1.f = Object.getOwnPropertyNames || function($c) {
return internalObjectKeys$3($c, hiddenKeys$6);
};
var objectGetOwnPropertySymbols$1 = {};
objectGetOwnPropertySymbols$1.f = Object.getOwnPropertySymbols;
var getBuiltIn$j = getBuiltIn$l, uncurryThis$11 = functionUncurryThis$1, getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames$1, getOwnPropertySymbolsModule$3 = objectGetOwnPropertySymbols$1, anObject$v = anObject$x, concat$5 = uncurryThis$11([].concat), ownKeys$3 = getBuiltIn$j("Reflect", "ownKeys") || function($c) {
var Ec = getOwnPropertyNamesModule$1.f(anObject$v($c)), Ac = getOwnPropertySymbolsModule$3.f;
return Ac ? concat$5(Ec, Ac($c)) : Ec;
}, hasOwn$n = hasOwnProperty_1$1, ownKeys$2 = ownKeys$3, getOwnPropertyDescriptorModule$2 = objectGetOwnPropertyDescriptor$1, definePropertyModule$8 = objectDefineProperty$1, copyConstructorProperties$7 = function(Tc, $c, Ec) {
for (var Ac = ownKeys$2($c), _c = definePropertyModule$8.f, Oc = getOwnPropertyDescriptorModule$2.f, Rc = 0; Rc < Ac.length; Rc++) {
var Pc = Ac[Rc];
!hasOwn$n(Tc, Pc) && !(Ec && hasOwn$n(Ec, Pc)) && _c(Tc, Pc, Oc($c, Pc));
}
}, fails$Q = fails$Y, isCallable$E = isCallable$O, replacement$1 = /#|\.prototype\./, isForced$3 = function(Tc, $c) {
var Ec = data$1[normalize$1(Tc)];
return Ec == POLYFILL$1 ? !0 : Ec == NATIVE$1 ? !1 : isCallable$E($c) ? fails$Q($c) : !!$c;
}, normalize$1 = isForced$3.normalize = function(Tc) {
return String(Tc).replace(replacement$1, ".").toLowerCase();
}, data$1 = isForced$3.data = {}, NATIVE$1 = isForced$3.NATIVE = "N", POLYFILL$1 = isForced$3.POLYFILL = "P", isForced_1$1 = isForced$3, global$J = global$T, getOwnPropertyDescriptor$6 = objectGetOwnPropertyDescriptor$1.f, createNonEnumerableProperty$i = createNonEnumerableProperty$k, defineBuiltIn$h = defineBuiltIn$i, defineGlobalProperty$4 = defineGlobalProperty$7, copyConstructorProperties$6 = copyConstructorProperties$7, isForced$2 = isForced_1$1, _export$1 = function(Tc, $c) {
var Ec = Tc.target, Ac = Tc.global, _c = Tc.stat, Oc, Rc, Pc, xc, Nc, Lc;
if (Ac ? Rc = global$J : _c ? Rc = global$J[Ec] || defineGlobalProperty$4(Ec, {}) : Rc = (global$J[Ec] || {}).prototype, Rc) for (Pc in $c) {
if (Nc = $c[Pc], Tc.dontCallGetSet ? (Lc = getOwnPropertyDescriptor$6(Rc, Pc), xc = Lc && Lc.value) : xc = Rc[Pc], Oc = isForced$2(Ac ? Pc : Ec + (_c ? "." : "#") + Pc, Tc.forced), !Oc && xc !== void 0) {
if (typeof Nc == typeof xc) continue;
copyConstructorProperties$6(Nc, xc);
}
(Tc.sham || xc && xc.sham) && createNonEnumerableProperty$i(Nc, "sham", !0), defineBuiltIn$h(Rc, Pc, Nc, Tc);
}
}, wellKnownSymbol$w = wellKnownSymbol$y, TO_STRING_TAG$8 = wellKnownSymbol$w("toStringTag"), test$4 = {};
test$4[TO_STRING_TAG$8] = "z";
var toStringTagSupport$1 = String(test$4) === "[object z]", TO_STRING_TAG_SUPPORT$1 = toStringTagSupport$1, isCallable$D = isCallable$O, classofRaw$4 = classofRaw$5, wellKnownSymbol$v = wellKnownSymbol$y, TO_STRING_TAG$7 = wellKnownSymbol$v("toStringTag"), $Object$6 = Object, CORRECT_ARGUMENTS$1 = classofRaw$4(/* @__PURE__ */ function() {
return arguments;
}()) == "Arguments", tryGet$1 = function(Tc, $c) {
try {
return Tc[$c];
} catch {
}
}, classof$l = TO_STRING_TAG_SUPPORT$1 ? classofRaw$4 : function(Tc) {
var $c, Ec, Ac;
return Tc === void 0 ? "Undefined" : Tc === null ? "Null" : typeof (Ec = tryGet$1($c = $Object$6(Tc), TO_STRING_TAG$7)) == "string" ? Ec : CORRECT_ARGUMENTS$1 ? classofRaw$4($c) : (Ac = classofRaw$4($c)) == "Object" && isCallable$D($c.callee) ? "Arguments" : Ac;
}, classof$k = classof$l, $String$9 = String, toString$k = function(Tc) {
if (classof$k(Tc) === "Symbol") throw TypeError("Cannot convert a Symbol value to a string");
return $String$9(Tc);
}, makeBuiltIn$4 = makeBuiltInExports$1, defineProperty$g = objectDefineProperty$1, defineBuiltInAccessor$i = function(Tc, $c, Ec) {
return Ec.get && makeBuiltIn$4(Ec.get, $c, { getter: !0 }), Ec.set && makeBuiltIn$4(Ec.set, $c, { setter: !0 }), defineProperty$g.f(Tc, $c, Ec);
}, $$W = _export$1, DESCRIPTORS$B = descriptors$1, global$I = global$T, uncurryThis$10 = functionUncurryThis$1, hasOwn$m = hasOwnProperty_1$1, isCallable$C = isCallable$O, isPrototypeOf$7 = objectIsPrototypeOf$1, toString$j = toString$k, defineBuiltInAccessor$h = defineBuiltInAccessor$i, copyConstructorProperties$5 = copyConstructorProperties$7, NativeSymbol$1 = global$I.Symbol, SymbolPrototype$1 = NativeSymbol$1 && NativeSymbol$1.prototype;
if (DESCRIPTORS$B && isCallable$C(NativeSymbol$1) && (!("description" in SymbolPrototype$1) || // Safari 12 bug
NativeSymbol$1().description !== void 0)) {
var EmptyStringDescriptionStore$1 = {}, SymbolWrapper$1 = function() {
var $c = arguments.length < 1 || arguments[0] === void 0 ? void 0 : toString$j(arguments[0]), Ec = isPrototypeOf$7(SymbolPrototype$1, this) ? new NativeSymbol$1($c) : $c === void 0 ? NativeSymbol$1() : NativeSymbol$1($c);
return $c === "" && (EmptyStringDescriptionStore$1[Ec] = !0), Ec;
};
copyConstructorProperties$5(SymbolWrapper$1, NativeSymbol$1), SymbolWrapper$1.prototype = SymbolPrototype$1, SymbolPrototype$1.constructor = SymbolWrapper$1;
var NATIVE_SYMBOL$5 = String(NativeSymbol$1("test")) == "Symbol(test)", thisSymbolValue$1 = uncurryThis$10(SymbolPrototype$1.valueOf), symbolDescriptiveString$1 = uncurryThis$10(SymbolPrototype$1.toString), regexp$1 = /^Symbol\((.*)\)[^)]+$/, replace$i = uncurryThis$10("".replace), stringSlice$f = uncurryThis$10("".slice);
defineBuiltInAccessor$h(SymbolPrototype$1, "description", {
configurable: !0,
get: function() {
var $c = thisSymbolValue$1(this);
if (hasOwn$m(EmptyStringDescriptionStore$1, $c)) return "";
var Ec = symbolDescriptiveString$1($c), Ac = NATIVE_SYMBOL$5 ? stringSlice$f(Ec, 7, -1) : replace$i(Ec, regexp$1, "$1");
return Ac === "" ? void 0 : Ac;
}
}), $$W({ global: !0, constructor: !0, forced: !0 }, {
Symbol: SymbolWrapper$1
});
}
var NATIVE_BIND$5 = functionBindNative$1, FunctionPrototype$3 = Function.prototype, apply$7 = FunctionPrototype$3.apply, call$x = FunctionPrototype$3.call, functionApply$1 = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND$5 ? call$x.bind(apply$7) : function() {
return call$x.apply(apply$7, arguments);
}), uncurryThis$$ = functionUncurryThis$1, aCallable$f = aCallable$h, functionUncurryThisAccessor$1 = function(Tc, $c, Ec) {
try {
return uncurryThis$$(aCallable$f(Object.getOwnPropertyDescriptor(Tc, $c)[Ec]));
} catch {
}
}, isCallable$B = isCallable$O, $String$8 = String, $TypeError$w = TypeError, aPossiblePrototype$3 = function(Tc) {
if (typeof Tc == "object" || isCallable$B(Tc)) return Tc;
throw $TypeError$w("Can't set " + $String$8(Tc) + " as a prototype");
}, uncurryThisAccessor$7 = functionUncurryThisAccessor$1, anObject$u = anObject$x, aPossiblePrototype$2 = aPossiblePrototype$3, objectSetPrototypeOf$1 = Object.setPrototypeOf || ("__proto__" in {} ? function() {
var Tc = !1, $c = {}, Ec;
try {
Ec = uncurryThisAccessor$7(Object.prototype, "__proto__", "set"), Ec($c, []), Tc = $c instanceof Array;
} catch {
}
return function(_c, Oc) {
return anObject$u(_c), aPossiblePrototype$2(Oc), Tc ? Ec(_c, Oc) : _c.__proto__ = Oc, _c;
};
}() : void 0), defineProperty$f = objectDefineProperty$1.f, proxyAccessor$3 = function(Tc, $c, Ec) {
Ec in Tc || defineProperty$f(Tc, Ec, {
configurable: !0,
get: function() {
return $c[Ec];
},
set: function(Ac) {
$c[Ec] = Ac;
}
});
}, isCallable$A = isCallable$O, isObject$g = isObject$m, setPrototypeOf$8 = objectSetPrototypeOf$1, inheritIfRequired$6 = function(Tc, $c, Ec) {
var Ac, _c;
return (
// it can work only with native `setPrototypeOf`
setPrototypeOf$8 && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
isCallable$A(Ac = $c.constructor) && Ac !== Ec && isObject$g(_c = Ac.prototype) && _c !== Ec.prototype && setPrototypeOf$8(Tc, _c), Tc
);
}, toString$i = toString$k, normalizeStringArgument$5 = function(Tc, $c) {
return Tc === void 0 ? arguments.length < 2 ? "" : $c : toString$i(Tc);
}, isObject$f = isObject$m, createNonEnumerableProperty$h = createNonEnumerableProperty$k, installErrorCause$3 = function(Tc, $c) {
isObject$f($c) && "cause" in $c && createNonEnumerableProperty$h(Tc, "cause", $c.cause);
}, uncurryThis$_ = functionUncurryThis$1, $Error$1 = Error, replace$h = uncurryThis$_("".replace), TEST$1 = function(Tc) {
return String($Error$1(Tc).stack);
}("zxcasd"), V8_OR_CHAKRA_STACK_ENTRY$1 = /\n\s*at [^:]*:[^\n]*/, IS_V8_OR_CHAKRA_STACK$1 = V8_OR_CHAKRA_STACK_ENTRY$1.test(TEST$1), errorStackClear$1 = function(Tc, $c) {
if (IS_V8_OR_CHAKRA_STACK$1 && typeof Tc == "string" && !$Error$1.prepareStackTrace)
for (; $c--; ) Tc = replace$h(Tc, V8_OR_CHAKRA_STACK_ENTRY$1, "");
return Tc;
}, fails$P = fails$Y, createPropertyDescriptor$d = createPropertyDescriptor$g, errorStackInstallable$1 = !fails$P(function() {
var Tc = Error("a");
return "stack" in Tc ? (Object.defineProperty(Tc, "stack", createPropertyDescriptor$d(1, 7)), Tc.stack !== 7) : !0;
}), createNonEnumerableProperty$g = createNonEnumerableProperty$k, clearErrorStack$3 = errorStackClear$1, ERROR_STACK_INSTALLABLE$1 = errorStackInstallable$1, captureStackTrace$1 = Error.captureStackTrace, errorStackInstall$1 = function(Tc, $c, Ec, Ac) {
ERROR_STACK_INSTALLABLE$1 && (captureStackTrace$1 ? captureStackTrace$1(Tc, $c) : createNonEnumerableProperty$g(Tc, "stack", clearErrorStack$3(Ec, Ac)));
}, getBuiltIn$i = getBuiltIn$l, hasOwn$l = hasOwnProperty_1$1, createNonEnumerableProperty$f = createNonEnumerableProperty$k, isPrototypeOf$6 = objectIsPrototypeOf$1, setPrototypeOf$7 = objectSetPrototypeOf$1, copyConstructorProperties$4 = copyConstructorProperties$7, proxyAccessor$2 = proxyAccessor$3, inheritIfRequired$5 = inheritIfRequired$6, normalizeStringArgument$4 = normalizeStringArgument$5, installErrorCause$2 = installErrorCause$3, installErrorStack$1 = errorStackInstall$1, DESCRIPTORS$A = descriptors$1, wrapErrorConstructorWithCause$3 = function(Tc, $c, Ec, Ac) {
var _c = "stackTraceLimit", Oc = Ac ? 2 : 1, Rc = Tc.split("."), Pc = Rc[Rc.length - 1], xc = getBuiltIn$i.apply(null, Rc);
if (xc) {
var Nc = xc.prototype;
if (hasOwn$l(Nc, "cause") && delete Nc.cause, !Ec) return xc;
var Lc = getBuiltIn$i("Error"), Dc = $c(function(Mc, Zc) {
var jc = normalizeStringArgument$4(Ac ? Zc : Mc, void 0), Bc = Ac ? new xc(Mc) : new xc();
return jc !== void 0 && createNonEnumerableProperty$f(Bc, "message", jc), installErrorStack$1(Bc, Dc, Bc.stack, 2), this && isPrototypeOf$6(Nc, this) && inheritIfRequired$5(Bc, this, Dc), arguments.length > Oc && installErrorCause$2(Bc, arguments[Oc]), Bc;
});
Dc.prototype = Nc, Pc !== "Error" ? setPrototypeOf$7 ? setPrototypeOf$7(Dc, Lc) : copyConstructorProperties$4(Dc, Lc, { name: !0 }) : DESCRIPTORS$A && _c in xc && (proxyAccessor$2(Dc, xc, _c), proxyAccessor$2(Dc, xc, "prepareStackTrace")), copyConstructorProperties$4(Dc, xc);
try {
Nc.name !== Pc && createNonEnumerableProperty$f(Nc, "name", Pc), Nc.constructor = Dc;
} catch {
}
return Dc;
}
}, $$V = _export$1, global$H = global$T, apply$6 = functionApply$1, wrapErrorConstructorWithCause$2 = wrapErrorConstructorWithCause$3, WEB_ASSEMBLY$1 = "WebAssembly", WebAssembly$1 = global$H[WEB_ASSEMBLY$1], FORCED$9 = Error("e", { cause: 7 }).cause !== 7, exportGlobalErrorCauseWrapper$1 = function(Tc, $c) {
var Ec = {};
Ec[Tc] = wrapErrorConstructorWithCause$2(Tc, $c, FORCED$9), $$V({ global: !0, constructor: !0, arity: 1, forced: FORCED$9 }, Ec);
}, exportWebAssemblyErrorCauseWrapper$1 = function(Tc, $c) {
if (WebAssembly$1 && WebAssembly$1[Tc]) {
var Ec = {};
Ec[Tc] = wrapErrorConstructorWithCause$2(WEB_ASSEMBLY$1 + "." + Tc, $c, FORCED$9), $$V({ target: WEB_ASSEMBLY$1, stat: !0, constructor: !0, arity: 1, forced: FORCED$9 }, Ec);
}
};
exportGlobalErrorCauseWrapper$1("Error", function(Tc) {
return function(Ec) {
return apply$6(Tc, this, arguments);
};
});
exportGlobalErrorCauseWrapper$1("EvalError", function(Tc) {
return function(Ec) {
return apply$6(Tc, this, arguments);
};
});
exportGlobalErrorCauseWrapper$1("RangeError", function(Tc) {
return function(Ec) {
return apply$6(Tc, this, arguments);
};
});
exportGlobalErrorCauseWrapper$1("ReferenceError", function(Tc) {
return function(Ec) {
return apply$6(Tc, this, arguments);
};
});
exportGlobalErrorCauseWrapper$1("SyntaxError", function(Tc) {
return function(Ec) {
return apply$6(Tc, this, arguments);
};
});
exportGlobalErrorCauseWrapper$1("TypeError", function(Tc) {
return function(Ec) {
return apply$6(Tc, this, arguments);
};
});
exportGlobalErrorCauseWrapper$1("URIError", function(Tc) {
return function(Ec) {
return apply$6(Tc, this, arguments);
};
});
exportWebAssemblyErrorCauseWrapper$1("CompileError", function(Tc) {
return function(Ec) {
return apply$6(Tc, this, arguments);
};
});
exportWebAssemblyErrorCauseWrapper$1("LinkError", function(Tc) {
return function(Ec) {
return apply$6(Tc, this, arguments);
};
});
exportWebAssemblyErrorCauseWrapper$1("RuntimeError", function(Tc) {
return function(Ec) {
return apply$6(Tc, this, arguments);
};
});
var classof$j = classofRaw$5, isArray$9 = Array.isArray || function($c) {
return classof$j($c) == "Array";
}, DESCRIPTORS$z = descriptors$1, isArray$8 = isArray$9, $TypeError$v = TypeError, getOwnPropertyDescriptor$5 = Object.getOwnPropertyDescriptor, SILENT_ON_NON_WRITABLE_LENGTH_SET$1 = DESCRIPTORS$z && !function() {
if (this !== void 0) return !0;
try {
Object.defineProperty([], "length", { writable: !1 }).length = 1;
} catch (Tc) {
return Tc instanceof TypeError;
}
}(), arraySetLength$1 = SILENT_ON_NON_WRITABLE_LENGTH_SET$1 ? function(Tc, $c) {
if (isArray$8(Tc) && !getOwnPropertyDescriptor$5(Tc, "length").writable)
throw $TypeError$v("Cannot set read only .length");
return Tc.length = $c;
} : function(Tc, $c) {
return Tc.length = $c;
}, $TypeError$u = TypeError, MAX_SAFE_INTEGER$1 = 9007199254740991, doesNotExceedSafeInteger$4 = function(Tc) {
if (Tc > MAX_SAFE_INTEGER$1) throw $TypeError$u("Maximum allowed index exceeded");
return Tc;
}, $$U = _export$1, toObject$i = toObject$k, lengthOfArrayLike$f = lengthOfArrayLike$h, setArrayLength$2 = arraySetLength$1, doesNotExceedSafeInteger$3 = doesNotExceedSafeInteger$4, fails$O = fails$Y, INCORRECT_TO_LENGTH$1 = fails$O(function() {
return [].push.call({ length: 4294967296 }, 1) !== 4294967297;
}), properErrorOnNonWritableLength$2 = function() {
try {
Object.defineProperty([], "length", { writable: !1 }).push();
} catch (Tc) {
return Tc instanceof TypeError;
}
}, FORCED$8 = INCORRECT_TO_LENGTH$1 || !properErrorOnNonWritableLength$2();
$$U({ target: "Array", proto: !0, arity: 1, forced: FORCED$8 }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
push: function($c) {
var Ec = toObject$i(this), Ac = lengthOfArrayLike$f(Ec), _c = arguments.length;
doesNotExceedSafeInteger$3(Ac + _c);
for (var Oc = 0; Oc < _c; Oc++)
Ec[Ac] = arguments[Oc], Ac++;
return setArrayLength$2(Ec, Ac), Ac;
}
});
var aCallable$e = aCallable$h, toObject$h = toObject$k, IndexedObject$5 = indexedObject$1, lengthOfArrayLike$e = lengthOfArrayLike$h, $TypeError$t = TypeError, createMethod$7 = function(Tc) {
return function($c, Ec, Ac, _c) {
aCallable$e(Ec);
var Oc = toObject$h($c), Rc = IndexedObject$5(Oc), Pc = lengthOfArrayLike$e(Oc), xc = Tc ? Pc - 1 : 0, Nc = Tc ? -1 : 1;
if (Ac < 2) for (; ; ) {
if (xc in Rc) {
_c = Rc[xc], xc += Nc;
break;
}
if (xc += Nc, Tc ? xc < 0 : Pc <= xc)
throw $TypeError$t("Reduce of empty array with no initial value");
}
for (; Tc ? xc >= 0 : Pc > xc; xc += Nc) xc in Rc && (_c = Ec(_c, Rc[xc], xc, Oc));
return _c;
};
}, arrayReduce$1 = {
// `Array.prototype.reduce` method
// https://tc39.es/ecma262/#sec-array.prototype.reduce
left: createMethod$7(!1),
// `Array.prototype.reduceRight` method
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
right: createMethod$7(!0)
}, fails$N = fails$Y, arrayMethodIsStrict$4 = function(Tc, $c) {
var Ec = [][Tc];
return !!Ec && fails$N(function() {
Ec.call(null, $c || function() {
return 1;
}, 1);
});
}, classof$i = classofRaw$5, engineIsNode$1 = typeof process < "u" && classof$i(process) == "process", $$T = _export$1, $reduce$1 = arrayReduce$1.left, arrayMethodIsStrict$3 = arrayMethodIsStrict$4, CHROME_VERSION$1 = engineV8Version$1, IS_NODE$5 = engineIsNode$1, CHROME_BUG$1 = !IS_NODE$5 && CHROME_VERSION$1 > 79 && CHROME_VERSION$1 < 83, FORCED$7 = CHROME_BUG$1 || !arrayMethodIsStrict$3("reduce");
$$T({ target: "Array", proto: !0, forced: FORCED$7 }, {
reduce: function($c) {
var Ec = arguments.length;
return $reduce$1(this, $c, Ec, Ec > 1 ? arguments[1] : void 0);
}
});
var $$S = _export$1, uncurryThis$Z = functionUncurryThis$1, isArray$7 = isArray$9, nativeReverse$1 = uncurryThis$Z([].reverse), test$3 = [1, 2];
$$S({ target: "Array", proto: !0, forced: String(test$3) === String(test$3.reverse()) }, {
reverse: function() {
return isArray$7(this) && (this.length = this.length), nativeReverse$1(this);
}
});
var tryToString$7 = tryToString$9, $TypeError$s = TypeError, deletePropertyOrThrow$2 = function(Tc, $c) {
if (!delete Tc[$c]) throw $TypeError$s("Cannot delete property " + tryToString$7($c) + " of " + tryToString$7(Tc));
}, toPropertyKey$5 = toPropertyKey$8, definePropertyModule$7 = objectDefineProperty$1, createPropertyDescriptor$c = createPropertyDescriptor$g, createProperty$5 = function(Tc, $c, Ec) {
var Ac = toPropertyKey$5($c);
Ac in Tc ? definePropertyModule$7.f(Tc, Ac, createPropertyDescriptor$c(0, Ec)) : Tc[Ac] = Ec;
}, toAbsoluteIndex$7 = toAbsoluteIndex$9, lengthOfArrayLike$d = lengthOfArrayLike$h, createProperty$4 = createProperty$5, $Array$6 = Array, max$6 = Math.max, arraySliceSimple$1 = function(Tc, $c, Ec) {
for (var Ac = lengthOfArrayLike$d(Tc), _c = toAbsoluteIndex$7($c, Ac), Oc = toAbsoluteIndex$7(Ec === void 0 ? Ac : Ec, Ac), Rc = $Array$6(max$6(Oc - _c, 0)), Pc = 0; _c < Oc; _c++, Pc++) createProperty$4(Rc, Pc, Tc[_c]);
return Rc.length = Pc, Rc;
}, arraySlice$9 = arraySliceSimple$1, floor$b = Math.floor, mergeSort$1 = function(Tc, $c) {
var Ec = Tc.length, Ac = floor$b(Ec / 2);
return Ec < 8 ? insertionSort$1(Tc, $c) : merge$1(
Tc,
mergeSort$1(arraySlice$9(Tc, 0, Ac), $c),
mergeSort$1(arraySlice$9(Tc, Ac), $c),
$c
);
}, insertionSort$1 = function(Tc, $c) {
for (var Ec = Tc.length, Ac = 1, _c, Oc; Ac < Ec; ) {
for (Oc = Ac, _c = Tc[Ac]; Oc && $c(Tc[Oc - 1], _c) > 0; )
Tc[Oc] = Tc[--Oc];
Oc !== Ac++ && (Tc[Oc] = _c);
}
return Tc;
}, merge$1 = function(Tc, $c, Ec, Ac) {
for (var _c = $c.length, Oc = Ec.length, Rc = 0, Pc = 0; Rc < _c || Pc < Oc; )
Tc[Rc + Pc] = Rc < _c && Pc < Oc ? Ac($c[Rc], Ec[Pc]) <= 0 ? $c[Rc++] : Ec[Pc++] : Rc < _c ? $c[Rc++] : Ec[Pc++];
return Tc;
}, arraySort$3 = mergeSort$1, userAgent$2 = engineUserAgent$1, firefox = userAgent$2.match(/firefox\/(\d+)/i), engineFfVersion = !!firefox && +firefox[1], UA = engineUserAgent$1, engineIsIeOrEdge = /MSIE|Trident/.test(UA), userAgent$1 = engineUserAgent$1, webkit = userAgent$1.match(/AppleWebKit\/(\d+)\./), engineWebkitVersion = !!webkit && +webkit[1], $$R = _export$1, uncurryThis$Y = functionUncurryThis$1, aCallable$d = aCallable$h, toObject$g = toObject$k, lengthOfArrayLike$c = lengthOfArrayLike$h, deletePropertyOrThrow$1 = deletePropertyOrThrow$2, toString$h = toString$k, fails$M = fails$Y, internalSort$1 = arraySort$3, arrayMethodIsStrict$2 = arrayMethodIsStrict$4, FF$1 = engineFfVersion, IE_OR_EDGE$1 = engineIsIeOrEdge, V8$3 = engineV8Version$1, WEBKIT$1 = engineWebkitVersion, test$2 = [], nativeSort$1 = uncurryThis$Y(test$2.sort), push$c = uncurryThis$Y(test$2.push), FAILS_ON_UNDEFINED = fails$M(function() {
test$2.sort(void 0);
}), FAILS_ON_NULL = fails$M(function() {
test$2.sort(null);
}), STRICT_METHOD = arrayMethodIsStrict$2("sort"), STABLE_SORT$1 = !fails$M(function() {
if (V8$3) return V8$3 < 70;
if (!(FF$1 && FF$1 > 3)) {
if (IE_OR_EDGE$1) return !0;
if (WEBKIT$1) return WEBKIT$1 < 603;
var Tc = "", $c, Ec, Ac, _c;
for ($c = 65; $c < 76; $c++) {
switch (Ec = String.fromCharCode($c), $c) {
case 66:
case 69:
case 70:
case 72:
Ac = 3;
break;
case 68:
case 71:
Ac = 4;
break;
default:
Ac = 2;
}
for (_c = 0; _c < 47; _c++)
test$2.push({ k: Ec + _c, v: Ac });
}
for (test$2.sort(function(Oc, Rc) {
return Rc.v - Oc.v;
}), _c = 0; _c < test$2.length; _c++)
Ec = test$2[_c].k.charAt(0), Tc.charAt(Tc.length - 1) !== Ec && (Tc += Ec);
return Tc !== "DGBEFHACIJK";
}
}), FORCED$6 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT$1, getSortCompare$1 = function(Tc) {
return function($c, Ec) {
return Ec === void 0 ? -1 : $c === void 0 ? 1 : Tc !== void 0 ? +Tc($c, Ec) || 0 : toString$h($c) > toString$h(Ec) ? 1 : -1;
};
};
$$R({ target: "Array", proto: !0, forced: FORCED$6 }, {
sort: function($c) {
$c !== void 0 && aCallable$d($c);
var Ec = toObject$g(this);
if (STABLE_SORT$1) return $c === void 0 ? nativeSort$1(Ec) : nativeSort$1(Ec, $c);
var Ac = [], _c = lengthOfArrayLike$c(Ec), Oc, Rc;
for (Rc = 0; Rc < _c; Rc++)
Rc in Ec && push$c(Ac, Ec[Rc]);
for (internalSort$1(Ac, getSortCompare$1($c)), Oc = lengthOfArrayLike$c(Ac), Rc = 0; Rc < Oc; ) Ec[Rc] = Ac[Rc++];
for (; Rc < _c; ) deletePropertyOrThrow$1(Ec, Rc++);
return Ec;
}
});
var $$Q = _export$1, toObject$f = toObject$k, lengthOfArrayLike$b = lengthOfArrayLike$h, setArrayLength$1 = arraySetLength$1, deletePropertyOrThrow = deletePropertyOrThrow$2, doesNotExceedSafeInteger$2 = doesNotExceedSafeInteger$4, INCORRECT_RESULT = [].unshift(0) !== 1, properErrorOnNonWritableLength$1 = function() {
try {
Object.defineProperty([], "length", { writable: !1 }).unshift();
} catch (Tc) {
return Tc instanceof TypeError;
}
}, FORCED$5 = INCORRECT_RESULT || !properErrorOnNonWritableLength$1();
$$Q({ target: "Array", proto: !0, arity: 1, forced: FORCED$5 }, {
// eslint-disable-next-line no-unused-vars -- required for `.length`
unshift: function($c) {
var Ec = toObject$f(this), Ac = lengthOfArrayLike$b(Ec), _c = arguments.length;
if (_c) {
doesNotExceedSafeInteger$2(Ac + _c);
for (var Oc = Ac; Oc--; ) {
var Rc = Oc + _c;
Oc in Ec ? Ec[Rc] = Ec[Oc] : deletePropertyOrThrow(Ec, Rc);
}
for (var Pc = 0; Pc < _c; Pc++)
Ec[Pc] = arguments[Pc];
}
return setArrayLength$1(Ec, Ac + _c);
}
});
var arrayBufferBasicDetection$1 = typeof ArrayBuffer < "u" && typeof DataView < "u", defineBuiltIn$g = defineBuiltIn$i, defineBuiltIns$5 = function(Tc, $c, Ec) {
for (var Ac in $c) defineBuiltIn$g(Tc, Ac, $c[Ac], Ec);
return Tc;
}, isPrototypeOf$5 = objectIsPrototypeOf$1, $TypeError$r = TypeError, anInstance$a = function(Tc, $c) {
if (isPrototypeOf$5($c, Tc)) return Tc;
throw $TypeError$r("Incorrect invocation");
}, toIntegerOrInfinity$d = toIntegerOrInfinity$g, toLength$a = toLength$c, $RangeError$5 = RangeError, toIndex$6 = function(Tc) {
if (Tc === void 0) return 0;
var $c = toIntegerOrInfinity$d(Tc), Ec = toLength$a($c);
if ($c !== Ec) throw $RangeError$5("Wrong length or index");
return Ec;
}, $Array$5 = Array, abs$2 = Math.abs, pow$3 = Math.pow, floor$a = Math.floor, log$1 = Math.log, LN2$1 = Math.LN2, pack$1 = function(Tc, $c, Ec) {
var Ac = $Array$5(Ec), _c = Ec * 8 - $c - 1, Oc = (1 << _c) - 1, Rc = Oc >> 1, Pc = $c === 23 ? pow$3(2, -24) - pow$3(2, -77) : 0, xc = Tc < 0 || Tc === 0 && 1 / Tc < 0 ? 1 : 0, Nc = 0, Lc, Dc, Mc;
for (Tc = abs$2(Tc), Tc != Tc || Tc === 1 / 0 ? (Dc = Tc != Tc ? 1 : 0, Lc = Oc) : (Lc = floor$a(log$1(Tc) / LN2$1), Mc = pow$3(2, -Lc), Tc * Mc < 1 && (Lc--, Mc *= 2), Lc + Rc >= 1 ? Tc += Pc / Mc : Tc += Pc * pow$3(2, 1 - Rc), Tc * Mc >= 2 && (Lc++, Mc /= 2), Lc + Rc >= Oc ? (Dc = 0, Lc = Oc) : Lc + Rc >= 1 ? (Dc = (Tc * Mc - 1) * pow$3(2, $c), Lc = Lc + Rc) : (Dc = Tc * pow$3(2, Rc - 1) * pow$3(2, $c), Lc = 0)); $c >= 8; )
Ac[Nc++] = Dc & 255, Dc /= 256, $c -= 8;
for (Lc = Lc << $c | Dc, _c += $c; _c > 0; )
Ac[Nc++] = Lc & 255, Lc /= 256, _c -= 8;
return Ac[--Nc] |= xc * 128, Ac;
}, unpack$1 = function(Tc, $c) {
var Ec = Tc.length, Ac = Ec * 8 - $c - 1, _c = (1 << Ac) - 1, Oc = _c >> 1, Rc = Ac - 7, Pc = Ec - 1, xc = Tc[Pc--], Nc = xc & 127, Lc;
for (xc >>= 7; Rc > 0; )
Nc = Nc * 256 + Tc[Pc--], Rc -= 8;
for (Lc = Nc & (1 << -Rc) - 1, Nc >>= -Rc, Rc += $c; Rc > 0; )
Lc = Lc * 256 + Tc[Pc--], Rc -= 8;
if (Nc === 0)
Nc = 1 - Oc;
else {
if (Nc === _c)
return Lc ? NaN : xc ? -1 / 0 : 1 / 0;
Lc = Lc + pow$3(2, $c), Nc = Nc - Oc;
}
return (xc ? -1 : 1) * Lc * pow$3(2, Nc - $c);
}, ieee754$1 = {
pack: pack$1,
unpack: unpack$1
}, fails$L = fails$Y, correctPrototypeGetter$1 = !fails$L(function() {
function Tc() {
}
return Tc.prototype.constructor = null, Object.getPrototypeOf(new Tc()) !== Tc.prototype;
}), hasOwn$k = hasOwnProperty_1$1, isCallable$z = isCallable$O, toObject$e = toObject$k, sharedKey$5 = sharedKey$7, CORRECT_PROTOTYPE_GETTER$1 = correctPrototypeGetter$1, IE_PROTO$3 = sharedKey$5("IE_PROTO"), $Object$5 = Object, ObjectPrototype$4 = $Object$5.prototype, objectGetPrototypeOf$1 = CORRECT_PROTOTYPE_GETTER$1 ? $Object$5.getPrototypeOf : function(Tc) {
var $c = toObject$e(Tc);
if (hasOwn$k($c, IE_PROTO$3)) return $c[IE_PROTO$3];
var Ec = $c.constructor;
return isCallable$z(Ec) && $c instanceof Ec ? Ec.prototype : $c instanceof $Object$5 ? ObjectPrototype$4 : null;
}, toObject$d = toObject$k, toAbsoluteIndex$6 = toAbsoluteIndex$9, lengthOfArrayLike$a = lengthOfArrayLike$h, arrayFill$3 = function($c) {
for (var Ec = toObject$d(this), Ac = lengthOfArrayLike$a(Ec), _c = arguments.length, Oc = toAbsoluteIndex$6(_c > 1 ? arguments[1] : void 0, Ac), Rc = _c > 2 ? arguments[2] : void 0, Pc = Rc === void 0 ? Ac : toAbsoluteIndex$6(Rc, Ac); Pc > Oc; ) Ec[Oc++] = $c;
return Ec;
}, defineProperty$e = objectDefineProperty$1.f, hasOwn$j = hasOwnProperty_1$1, wellKnownSymbol$u = wellKnownSymbol$y, TO_STRING_TAG$6 = wellKnownSymbol$u("toStringTag"), setToStringTag$d = function(Tc, $c, Ec) {
Tc && !Ec && (Tc = Tc.prototype), Tc && !hasOwn$j(Tc, TO_STRING_TAG$6) && defineProperty$e(Tc, TO_STRING_TAG$6, { configurable: !0, value: $c });
}, global$G = global$T, uncurryThis$X = functionUncurryThis$1, DESCRIPTORS$y = descriptors$1, NATIVE_ARRAY_BUFFER$2 = arrayBufferBasicDetection$1, FunctionName$3 = functionName$1, createNonEnumerableProperty$e = createNonEnumerableProperty$k, defineBuiltInAccessor$g = defineBuiltInAccessor$i, defineBuiltIns$4 = defineBuiltIns$5, fails$K = fails$Y, anInstance$9 = anInstance$a, toIntegerOrInfinity$c = toIntegerOrInfinity$g, toLength$9 = toLength$c, toIndex$5 = toIndex$6, IEEE754$1 = ieee754$1, getPrototypeOf$6 = objectGetPrototypeOf$1, setPrototypeOf$6 = objectSetPrototypeOf$1, getOwnPropertyNames$2 = objectGetOwnPropertyNames$1.f, arrayFill$2 = arrayFill$3, arraySlice$8 = arraySliceSimple$1, setToStringTag$c = setToStringTag$d, InternalStateModule$b = internalState$1, PROPER_FUNCTION_NAME$5 = FunctionName$3.PROPER, CONFIGURABLE_FUNCTION_NAME$4 = FunctionName$3.CONFIGURABLE, ARRAY_BUFFER$3 = "ArrayBuffer", DATA_VIEW$1 = "DataView", PROTOTYPE$3 = "prototype", WRONG_LENGTH$2 = "Wrong length", WRONG_INDEX$1 = "Wrong index", getInternalArrayBufferState$1 = InternalStateModule$b.getterFor(ARRAY_BUFFER$3), getIn