@minto-ai/aws-obs-server
Version:
亚马逊OBS文件上传
1,314 lines • 482 kB
JavaScript
import axios from "axios";
function _assertThisInitialized(e) {
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return e;
}
function asyncGeneratorStep(n, t, e, r, o, a, c) {
try {
var i = n[a](c), u = i.value;
} catch (n2) {
return void e(n2);
}
i.done ? t(u) : Promise.resolve(u).then(r, o);
}
function _asyncToGenerator(n) {
return function() {
var t = this, e = arguments;
return new Promise(function(r, o) {
var a = n.apply(t, e);
function _next(n2) {
asyncGeneratorStep(a, r, o, _next, _throw, "next", n2);
}
function _throw(n2) {
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n2);
}
_next(void 0);
});
};
}
function _callSuper(t, o, e) {
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
}
function _classCallCheck(a, n) {
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
}
function _construct(t, e, r) {
if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
var o = [null];
o.push.apply(o, e);
var p = new (t.bind.apply(t, o))();
return r && _setPrototypeOf(p, r.prototype), p;
}
function _defineProperties(e, r) {
for (var t = 0; t < r.length; t++) {
var o = r[t];
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
}
}
function _createClass(e, r, t) {
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
writable: false
}), e;
}
function _defineProperty(e, r, t) {
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
value: t,
enumerable: true,
configurable: true,
writable: true
}) : e[r] = t, e;
}
function _getPrototypeOf(t) {
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
return t2.__proto__ || Object.getPrototypeOf(t2);
}, _getPrototypeOf(t);
}
function _inherits(t, e) {
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: true,
configurable: true
}
}), Object.defineProperty(t, "prototype", {
writable: false
}), e && _setPrototypeOf(t, e);
}
function _isNativeFunction(t) {
try {
return -1 !== Function.toString.call(t).indexOf("[native code]");
} catch (n) {
return "function" == typeof t;
}
}
function _isNativeReflectConstruct() {
try {
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
}));
} catch (t2) {
}
return (_isNativeReflectConstruct = function() {
return !!t;
})();
}
function ownKeys$4(e, r) {
var t = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var o = Object.getOwnPropertySymbols(e);
r && (o = o.filter(function(r2) {
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
})), t.push.apply(t, o);
}
return t;
}
function _objectSpread2(e) {
for (var r = 1; r < arguments.length; r++) {
var t = null != arguments[r] ? arguments[r] : {};
r % 2 ? ownKeys$4(Object(t), true).forEach(function(r2) {
_defineProperty(e, r2, t[r2]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function(r2) {
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
});
}
return e;
}
function _possibleConstructorReturn(t, e) {
if (e && ("object" == typeof e || "function" == typeof e)) return e;
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
return _assertThisInitialized(t);
}
function _regeneratorRuntime() {
_regeneratorRuntime = function() {
return e;
};
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t2, e2, r2) {
t2[e2] = r2.value;
}, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
function define(t2, e2, r2) {
return Object.defineProperty(t2, e2, {
value: r2,
enumerable: true,
configurable: true,
writable: true
}), t2[e2];
}
try {
define({}, "");
} catch (t2) {
define = function(t3, e2, r2) {
return t3[e2] = r2;
};
}
function wrap3(t2, e2, r2, n2) {
var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype), c2 = new Context(n2 || []);
return o(a2, "_invoke", {
value: makeInvokeMethod(t2, r2, c2)
}), a2;
}
function tryCatch(t2, e2, r2) {
try {
return {
type: "normal",
arg: t2.call(e2, r2)
};
} catch (t3) {
return {
type: "throw",
arg: t3
};
}
}
e.wrap = wrap3;
var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {};
function Generator() {
}
function GeneratorFunction() {
}
function GeneratorFunctionPrototype() {
}
var p = {};
define(p, a, function() {
return this;
});
var d = Object.getPrototypeOf, v = d && d(d(values5([])));
v && v !== r && n.call(v, a) && (p = v);
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
function defineIteratorMethods(t2) {
["next", "throw", "return"].forEach(function(e2) {
define(t2, e2, function(t3) {
return this._invoke(e2, t3);
});
});
}
function AsyncIterator(t2, e2) {
function invoke(r3, o2, i2, a2) {
var c2 = tryCatch(t2[r3], t2, o2);
if ("throw" !== c2.type) {
var u2 = c2.arg, h2 = u2.value;
return h2 && "object" == typeof h2 && n.call(h2, "__await") ? e2.resolve(h2.__await).then(function(t3) {
invoke("next", t3, i2, a2);
}, function(t3) {
invoke("throw", t3, i2, a2);
}) : e2.resolve(h2).then(function(t3) {
u2.value = t3, i2(u2);
}, function(t3) {
return invoke("throw", t3, i2, a2);
});
}
a2(c2.arg);
}
var r2;
o(this, "_invoke", {
value: function(t3, n2) {
function callInvokeWithMethodAndArg() {
return new e2(function(e3, r3) {
invoke(t3, n2, e3, r3);
});
}
return r2 = r2 ? r2.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
}
});
}
function makeInvokeMethod(e2, r2, n2) {
var o2 = h;
return function(i2, a2) {
if (o2 === f) throw Error("Generator is already running");
if (o2 === s) {
if ("throw" === i2) throw a2;
return {
value: t,
done: true
};
}
for (n2.method = i2, n2.arg = a2; ; ) {
var c2 = n2.delegate;
if (c2) {
var u2 = maybeInvokeDelegate(c2, n2);
if (u2) {
if (u2 === y) continue;
return u2;
}
}
if ("next" === n2.method) n2.sent = n2._sent = n2.arg;
else if ("throw" === n2.method) {
if (o2 === h) throw o2 = s, n2.arg;
n2.dispatchException(n2.arg);
} else "return" === n2.method && n2.abrupt("return", n2.arg);
o2 = f;
var p2 = tryCatch(e2, r2, n2);
if ("normal" === p2.type) {
if (o2 = n2.done ? s : l, p2.arg === y) continue;
return {
value: p2.arg,
done: n2.done
};
}
"throw" === p2.type && (o2 = s, n2.method = "throw", n2.arg = p2.arg);
}
};
}
function maybeInvokeDelegate(e2, r2) {
var n2 = r2.method, o2 = e2.iterator[n2];
if (o2 === t) return r2.delegate = null, "throw" === n2 && e2.iterator.return && (r2.method = "return", r2.arg = t, maybeInvokeDelegate(e2, r2), "throw" === r2.method) || "return" !== n2 && (r2.method = "throw", r2.arg = new TypeError("The iterator does not provide a '" + n2 + "' method")), y;
var i2 = tryCatch(o2, e2.iterator, r2.arg);
if ("throw" === i2.type) return r2.method = "throw", r2.arg = i2.arg, r2.delegate = null, y;
var a2 = i2.arg;
return a2 ? a2.done ? (r2[e2.resultName] = a2.value, r2.next = e2.nextLoc, "return" !== r2.method && (r2.method = "next", r2.arg = t), r2.delegate = null, y) : a2 : (r2.method = "throw", r2.arg = new TypeError("iterator result is not an object"), r2.delegate = null, y);
}
function pushTryEntry(t2) {
var e2 = {
tryLoc: t2[0]
};
1 in t2 && (e2.catchLoc = t2[1]), 2 in t2 && (e2.finallyLoc = t2[2], e2.afterLoc = t2[3]), this.tryEntries.push(e2);
}
function resetTryEntry(t2) {
var e2 = t2.completion || {};
e2.type = "normal", delete e2.arg, t2.completion = e2;
}
function Context(t2) {
this.tryEntries = [{
tryLoc: "root"
}], t2.forEach(pushTryEntry, this), this.reset(true);
}
function values5(e2) {
if (e2 || "" === e2) {
var r2 = e2[a];
if (r2) return r2.call(e2);
if ("function" == typeof e2.next) return e2;
if (!isNaN(e2.length)) {
var o2 = -1, i2 = function next8() {
for (; ++o2 < e2.length; ) if (n.call(e2, o2)) return next8.value = e2[o2], next8.done = false, next8;
return next8.value = t, next8.done = true, next8;
};
return i2.next = i2;
}
}
throw new TypeError(typeof e2 + " is not iterable");
}
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
value: GeneratorFunctionPrototype,
configurable: true
}), o(GeneratorFunctionPrototype, "constructor", {
value: GeneratorFunction,
configurable: true
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t2) {
var e2 = "function" == typeof t2 && t2.constructor;
return !!e2 && (e2 === GeneratorFunction || "GeneratorFunction" === (e2.displayName || e2.name));
}, e.mark = function(t2) {
return Object.setPrototypeOf ? Object.setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, define(t2, u, "GeneratorFunction")), t2.prototype = Object.create(g), t2;
}, e.awrap = function(t2) {
return {
__await: t2
};
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
return this;
}), e.AsyncIterator = AsyncIterator, e.async = function(t2, r2, n2, o2, i2) {
void 0 === i2 && (i2 = Promise);
var a2 = new AsyncIterator(wrap3(t2, r2, n2, o2), i2);
return e.isGeneratorFunction(r2) ? a2 : a2.next().then(function(t3) {
return t3.done ? t3.value : a2.next();
});
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
return this;
}), define(g, "toString", function() {
return "[object Generator]";
}), e.keys = function(t2) {
var e2 = Object(t2), r2 = [];
for (var n2 in e2) r2.push(n2);
return r2.reverse(), function next8() {
for (; r2.length; ) {
var t3 = r2.pop();
if (t3 in e2) return next8.value = t3, next8.done = false, next8;
}
return next8.done = true, next8;
};
}, e.values = values5, Context.prototype = {
constructor: Context,
reset: function(e2) {
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e2) for (var r2 in this) "t" === r2.charAt(0) && n.call(this, r2) && !isNaN(+r2.slice(1)) && (this[r2] = t);
},
stop: function() {
this.done = true;
var t2 = this.tryEntries[0].completion;
if ("throw" === t2.type) throw t2.arg;
return this.rval;
},
dispatchException: function(e2) {
if (this.done) throw e2;
var r2 = this;
function handle(n2, o3) {
return a2.type = "throw", a2.arg = e2, r2.next = n2, o3 && (r2.method = "next", r2.arg = t), !!o3;
}
for (var o2 = this.tryEntries.length - 1; o2 >= 0; --o2) {
var i2 = this.tryEntries[o2], a2 = i2.completion;
if ("root" === i2.tryLoc) return handle("end");
if (i2.tryLoc <= this.prev) {
var c2 = n.call(i2, "catchLoc"), u2 = n.call(i2, "finallyLoc");
if (c2 && u2) {
if (this.prev < i2.catchLoc) return handle(i2.catchLoc, true);
if (this.prev < i2.finallyLoc) return handle(i2.finallyLoc);
} else if (c2) {
if (this.prev < i2.catchLoc) return handle(i2.catchLoc, true);
} else {
if (!u2) throw Error("try statement without catch or finally");
if (this.prev < i2.finallyLoc) return handle(i2.finallyLoc);
}
}
}
},
abrupt: function(t2, e2) {
for (var r2 = this.tryEntries.length - 1; r2 >= 0; --r2) {
var o2 = this.tryEntries[r2];
if (o2.tryLoc <= this.prev && n.call(o2, "finallyLoc") && this.prev < o2.finallyLoc) {
var i2 = o2;
break;
}
}
i2 && ("break" === t2 || "continue" === t2) && i2.tryLoc <= e2 && e2 <= i2.finallyLoc && (i2 = null);
var a2 = i2 ? i2.completion : {};
return a2.type = t2, a2.arg = e2, i2 ? (this.method = "next", this.next = i2.finallyLoc, y) : this.complete(a2);
},
complete: function(t2, e2) {
if ("throw" === t2.type) throw t2.arg;
return "break" === t2.type || "continue" === t2.type ? this.next = t2.arg : "return" === t2.type ? (this.rval = this.arg = t2.arg, this.method = "return", this.next = "end") : "normal" === t2.type && e2 && (this.next = e2), y;
},
finish: function(t2) {
for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
var r2 = this.tryEntries[e2];
if (r2.finallyLoc === t2) return this.complete(r2.completion, r2.afterLoc), resetTryEntry(r2), y;
}
},
catch: function(t2) {
for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
var r2 = this.tryEntries[e2];
if (r2.tryLoc === t2) {
var n2 = r2.completion;
if ("throw" === n2.type) {
var o2 = n2.arg;
resetTryEntry(r2);
}
return o2;
}
}
throw Error("illegal catch attempt");
},
delegateYield: function(e2, r2, n2) {
return this.delegate = {
iterator: values5(e2),
resultName: r2,
nextLoc: n2
}, "next" === this.method && (this.arg = t), y;
}
}, e;
}
function _setPrototypeOf(t, e) {
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
return t2.__proto__ = e2, t2;
}, _setPrototypeOf(t, e);
}
function _toPrimitive(t, r) {
if ("object" != typeof t || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r);
if ("object" != typeof i) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
function _toPropertyKey(t) {
var i = _toPrimitive(t, "string");
return "symbol" == typeof i ? i : i + "";
}
function _typeof(o) {
"@babel/helpers - typeof";
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
return typeof o2;
} : function(o2) {
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
}, _typeof(o);
}
function _wrapNativeSuper(t) {
var r = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0;
return _wrapNativeSuper = function(t2) {
if (null === t2 || !_isNativeFunction(t2)) return t2;
if ("function" != typeof t2) throw new TypeError("Super expression must either be null or a function");
if (void 0 !== r) {
if (r.has(t2)) return r.get(t2);
r.set(t2, Wrapper);
}
function Wrapper() {
return _construct(t2, arguments, _getPrototypeOf(this).constructor);
}
return Wrapper.prototype = Object.create(t2.prototype, {
constructor: {
value: Wrapper,
enumerable: false,
writable: true,
configurable: true
}
}), _setPrototypeOf(Wrapper, t2);
}, _wrapNativeSuper(t);
}
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
var check = function check2(it) {
return it && it.Math === Math && it;
};
var globalThis_1 = (
// eslint-disable-next-line es/no-global-this -- safe
check((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) == "object" && globalThis) || check((typeof window === "undefined" ? "undefined" : _typeof(window)) == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
check((typeof self === "undefined" ? "undefined" : _typeof(self)) == "object" && self) || check(_typeof(commonjsGlobal) == "object" && commonjsGlobal) || check(_typeof(commonjsGlobal) == "object" && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
/* @__PURE__ */ function() {
return this;
}() || Function("return this")()
);
var objectGetOwnPropertyDescriptor = {};
var fails$1e = function fails(exec2) {
try {
return !!exec2();
} catch (error2) {
return true;
}
};
var fails$1d = fails$1e;
var descriptors = !fails$1d(function() {
return Object.defineProperty({}, 1, {
get: function get6() {
return 7;
}
})[1] !== 7;
});
var fails$1c = fails$1e;
var functionBindNative = !fails$1c(function() {
var test2 = (function() {
}).bind();
return typeof test2 != "function" || test2.hasOwnProperty("prototype");
});
var NATIVE_BIND$4 = functionBindNative;
var call$N = Function.prototype.call;
var functionCall = NATIVE_BIND$4 ? call$N.bind(call$N) : function() {
return call$N.apply(call$N, arguments);
};
var objectPropertyIsEnumerable = {};
var $propertyIsEnumerable$2 = {}.propertyIsEnumerable;
var getOwnPropertyDescriptor$a = Object.getOwnPropertyDescriptor;
var NASHORN_BUG = getOwnPropertyDescriptor$a && !$propertyIsEnumerable$2.call({
1: 2
}, 1);
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
var descriptor = getOwnPropertyDescriptor$a(this, V);
return !!descriptor && descriptor.enumerable;
} : $propertyIsEnumerable$2;
var createPropertyDescriptor$a = function createPropertyDescriptor(bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value
};
};
var NATIVE_BIND$3 = functionBindNative;
var FunctionPrototype$4 = Function.prototype;
var call$M = FunctionPrototype$4.call;
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$4.bind.bind(call$M, call$M);
var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function(fn) {
return function() {
return call$M.apply(fn, arguments);
};
};
var uncurryThis$1f = functionUncurryThis;
var toString$v = uncurryThis$1f({}.toString);
var stringSlice$g = uncurryThis$1f("".slice);
var classofRaw$2 = function classofRaw(it) {
return stringSlice$g(toString$v(it), 8, -1);
};
var uncurryThis$1e = functionUncurryThis;
var fails$1b = fails$1e;
var classof$k = classofRaw$2;
var $Object$8 = Object;
var split$4 = uncurryThis$1e("".split);
var indexedObject = fails$1b(function() {
return !$Object$8("z").propertyIsEnumerable(0);
}) ? function(it) {
return classof$k(it) === "String" ? split$4(it, "") : $Object$8(it);
} : $Object$8;
var isNullOrUndefined$g = function isNullOrUndefined(it) {
return it === null || it === void 0;
};
var isNullOrUndefined$f = isNullOrUndefined$g;
var $TypeError$u = TypeError;
var requireObjectCoercible$k = function requireObjectCoercible(it) {
if (isNullOrUndefined$f(it)) throw new $TypeError$u("Can't call method on " + it);
return it;
};
var IndexedObject$4 = indexedObject;
var requireObjectCoercible$j = requireObjectCoercible$k;
var toIndexedObject$f = function toIndexedObject(it) {
return IndexedObject$4(requireObjectCoercible$j(it));
};
var documentAll = (typeof document === "undefined" ? "undefined" : _typeof(document)) == "object" && document.all;
var isCallable$z = typeof documentAll == "undefined" && documentAll !== void 0 ? function(argument) {
return typeof argument == "function" || argument === documentAll;
} : function(argument) {
return typeof argument == "function";
};
var isCallable$y = isCallable$z;
var isObject$C = function isObject(it) {
return _typeof(it) == "object" ? it !== null : isCallable$y(it);
};
var globalThis$V = globalThis_1;
var isCallable$x = isCallable$z;
var aFunction = function aFunction2(argument) {
return isCallable$x(argument) ? argument : void 0;
};
var getBuiltIn$n = function getBuiltIn(namespace, method) {
return arguments.length < 2 ? aFunction(globalThis$V[namespace]) : globalThis$V[namespace] && globalThis$V[namespace][method];
};
var uncurryThis$1d = functionUncurryThis;
var objectIsPrototypeOf = uncurryThis$1d({}.isPrototypeOf);
var globalThis$U = globalThis_1;
var navigator = globalThis$U.navigator;
var userAgent$8 = navigator && navigator.userAgent;
var environmentUserAgent = userAgent$8 ? String(userAgent$8) : "";
var globalThis$T = globalThis_1;
var userAgent$7 = environmentUserAgent;
var process$3 = globalThis$T.process;
var Deno$1 = globalThis$T.Deno;
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
var v8 = versions && versions.v8;
var match, version;
if (v8) {
match = v8.split(".");
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
}
if (!version && userAgent$7) {
match = userAgent$7.match(/Edge\/(\d+)/);
if (!match || match[1] >= 74) {
match = userAgent$7.match(/Chrome\/(\d+)/);
if (match) version = +match[1];
}
}
var environmentV8Version = version;
var V8_VERSION$3 = environmentV8Version;
var fails$1a = fails$1e;
var globalThis$S = globalThis_1;
var $String$7 = globalThis$S.String;
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$1a(function() {
var symbol = Symbol("symbol detection");
return !$String$7(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;
});
var NATIVE_SYMBOL$6 = symbolConstructorDetection;
var useSymbolAsUid = NATIVE_SYMBOL$6 && !Symbol.sham && _typeof(Symbol.iterator) == "symbol";
var getBuiltIn$m = getBuiltIn$n;
var isCallable$w = isCallable$z;
var isPrototypeOf$b = objectIsPrototypeOf;
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
var $Object$7 = Object;
var isSymbol$6 = USE_SYMBOL_AS_UID$1 ? function(it) {
return _typeof(it) == "symbol";
} : function(it) {
var $Symbol2 = getBuiltIn$m("Symbol");
return isCallable$w($Symbol2) && isPrototypeOf$b($Symbol2.prototype, $Object$7(it));
};
var $String$6 = String;
var tryToString$7 = function tryToString(argument) {
try {
return $String$6(argument);
} catch (error2) {
return "Object";
}
};
var isCallable$v = isCallable$z;
var tryToString$6 = tryToString$7;
var $TypeError$t = TypeError;
var aCallable$s = function aCallable(argument) {
if (isCallable$v(argument)) return argument;
throw new $TypeError$t(tryToString$6(argument) + " is not a function");
};
var aCallable$r = aCallable$s;
var isNullOrUndefined$e = isNullOrUndefined$g;
var getMethod$b = function getMethod(V, P) {
var func = V[P];
return isNullOrUndefined$e(func) ? void 0 : aCallable$r(func);
};
var call$L = functionCall;
var isCallable$u = isCallable$z;
var isObject$B = isObject$C;
var $TypeError$s = TypeError;
var ordinaryToPrimitive$2 = function ordinaryToPrimitive(input, pref) {
var fn, val;
if (pref === "string" && isCallable$u(fn = input.toString) && !isObject$B(val = call$L(fn, input))) return val;
if (isCallable$u(fn = input.valueOf) && !isObject$B(val = call$L(fn, input))) return val;
if (pref !== "string" && isCallable$u(fn = input.toString) && !isObject$B(val = call$L(fn, input))) return val;
throw new $TypeError$s("Can't convert object to primitive value");
};
var sharedStore = { exports: {} };
var isPure = false;
var globalThis$R = globalThis_1;
var defineProperty$c = Object.defineProperty;
var defineGlobalProperty$3 = function defineGlobalProperty(key, value) {
try {
defineProperty$c(globalThis$R, key, {
value,
configurable: true,
writable: true
});
} catch (error2) {
globalThis$R[key] = value;
}
return value;
};
var globalThis$Q = globalThis_1;
var defineGlobalProperty$2 = defineGlobalProperty$3;
var SHARED = "__core-js_shared__";
var store$5 = sharedStore.exports = globalThis$Q[SHARED] || defineGlobalProperty$2(SHARED, {});
(store$5.versions || (store$5.versions = [])).push({
version: "3.41.0",
mode: "global",
copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru)",
license: "https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",
source: "https://github.com/zloirock/core-js"
});
var sharedStoreExports = sharedStore.exports;
var store$4 = sharedStoreExports;
var shared$8 = function shared(key, value) {
return store$4[key] || (store$4[key] = value || {});
};
var requireObjectCoercible$i = requireObjectCoercible$k;
var $Object$6 = Object;
var toObject$s = function toObject(argument) {
return $Object$6(requireObjectCoercible$i(argument));
};
var uncurryThis$1c = functionUncurryThis;
var toObject$r = toObject$s;
var hasOwnProperty = uncurryThis$1c({}.hasOwnProperty);
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
return hasOwnProperty(toObject$r(it), key);
};
var uncurryThis$1b = functionUncurryThis;
var id$2 = 0;
var postfix = Math.random();
var toString$u = uncurryThis$1b(1 .toString);
var uid$5 = function uid(key) {
return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString$u(++id$2 + postfix, 36);
};
var globalThis$P = globalThis_1;
var shared$7 = shared$8;
var hasOwn$r = hasOwnProperty_1;
var uid$4 = uid$5;
var NATIVE_SYMBOL$5 = symbolConstructorDetection;
var USE_SYMBOL_AS_UID = useSymbolAsUid;
var _Symbol$3 = globalThis$P.Symbol;
var WellKnownSymbolsStore$1 = shared$7("wks");
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? _Symbol$3["for"] || _Symbol$3 : _Symbol$3 && _Symbol$3.withoutSetter || uid$4;
var wellKnownSymbol$C = function wellKnownSymbol(name) {
if (!hasOwn$r(WellKnownSymbolsStore$1, name)) {
WellKnownSymbolsStore$1[name] = NATIVE_SYMBOL$5 && hasOwn$r(_Symbol$3, name) ? _Symbol$3[name] : createWellKnownSymbol("Symbol." + name);
}
return WellKnownSymbolsStore$1[name];
};
var call$K = functionCall;
var isObject$A = isObject$C;
var isSymbol$5 = isSymbol$6;
var getMethod$a = getMethod$b;
var ordinaryToPrimitive$1 = ordinaryToPrimitive$2;
var wellKnownSymbol$B = wellKnownSymbol$C;
var $TypeError$r = TypeError;
var TO_PRIMITIVE$1 = wellKnownSymbol$B("toPrimitive");
var toPrimitive$4 = function toPrimitive(input, pref) {
if (!isObject$A(input) || isSymbol$5(input)) return input;
var exoticToPrim = getMethod$a(input, TO_PRIMITIVE$1);
var result;
if (exoticToPrim) {
if (pref === void 0) pref = "default";
result = call$K(exoticToPrim, input, pref);
if (!isObject$A(result) || isSymbol$5(result)) return result;
throw new $TypeError$r("Can't convert object to primitive value");
}
if (pref === void 0) pref = "number";
return ordinaryToPrimitive$1(input, pref);
};
var toPrimitive$3 = toPrimitive$4;
var isSymbol$4 = isSymbol$6;
var toPropertyKey$7 = function toPropertyKey(argument) {
var key = toPrimitive$3(argument, "string");
return isSymbol$4(key) ? key : key + "";
};
var globalThis$O = globalThis_1;
var isObject$z = isObject$C;
var document$3 = globalThis$O.document;
var EXISTS$1 = isObject$z(document$3) && isObject$z(document$3.createElement);
var documentCreateElement$2 = function documentCreateElement(it) {
return EXISTS$1 ? document$3.createElement(it) : {};
};
var DESCRIPTORS$G = descriptors;
var fails$19 = fails$1e;
var createElement$1 = documentCreateElement$2;
var ie8DomDefine = !DESCRIPTORS$G && !fails$19(function() {
return Object.defineProperty(createElement$1("div"), "a", {
get: function get6() {
return 7;
}
}).a !== 7;
});
var DESCRIPTORS$F = descriptors;
var call$J = functionCall;
var propertyIsEnumerableModule$2 = objectPropertyIsEnumerable;
var createPropertyDescriptor$9 = createPropertyDescriptor$a;
var toIndexedObject$e = toIndexedObject$f;
var toPropertyKey$6 = toPropertyKey$7;
var hasOwn$q = hasOwnProperty_1;
var IE8_DOM_DEFINE$1 = ie8DomDefine;
var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$F ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor(O, P) {
O = toIndexedObject$e(O);
P = toPropertyKey$6(P);
if (IE8_DOM_DEFINE$1) try {
return $getOwnPropertyDescriptor$2(O, P);
} catch (error2) {
}
if (hasOwn$q(O, P)) return createPropertyDescriptor$9(!call$J(propertyIsEnumerableModule$2.f, O, P), O[P]);
};
var objectDefineProperty = {};
var DESCRIPTORS$E = descriptors;
var fails$18 = fails$1e;
var v8PrototypeDefineBug = DESCRIPTORS$E && fails$18(function() {
return Object.defineProperty(function() {
}, "prototype", {
value: 42,
writable: false
}).prototype !== 42;
});
var isObject$y = isObject$C;
var $String$5 = String;
var $TypeError$q = TypeError;
var anObject$N = function anObject(argument) {
if (isObject$y(argument)) return argument;
throw new $TypeError$q($String$5(argument) + " is not an object");
};
var DESCRIPTORS$D = descriptors;
var IE8_DOM_DEFINE = ie8DomDefine;
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
var anObject$M = anObject$N;
var toPropertyKey$5 = toPropertyKey$7;
var $TypeError$p = TypeError;
var $defineProperty$1 = Object.defineProperty;
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
var ENUMERABLE = "enumerable";
var CONFIGURABLE$1 = "configurable";
var WRITABLE = "writable";
objectDefineProperty.f = DESCRIPTORS$D ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
anObject$M(O);
P = toPropertyKey$5(P);
anObject$M(Attributes);
if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
var current = $getOwnPropertyDescriptor$1(O, P);
if (current && current[WRITABLE]) {
O[P] = Attributes.value;
Attributes = {
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
writable: false
};
}
}
return $defineProperty$1(O, P, Attributes);
} : $defineProperty$1 : function defineProperty2(O, P, Attributes) {
anObject$M(O);
P = toPropertyKey$5(P);
anObject$M(Attributes);
if (IE8_DOM_DEFINE) try {
return $defineProperty$1(O, P, Attributes);
} catch (error2) {
}
if ("get" in Attributes || "set" in Attributes) throw new $TypeError$p("Accessors not supported");
if ("value" in Attributes) O[P] = Attributes.value;
return O;
};
var DESCRIPTORS$C = descriptors;
var definePropertyModule$b = objectDefineProperty;
var createPropertyDescriptor$8 = createPropertyDescriptor$a;
var createNonEnumerableProperty$d = DESCRIPTORS$C ? function(object, key, value) {
return definePropertyModule$b.f(object, key, createPropertyDescriptor$8(1, value));
} : function(object, key, value) {
object[key] = value;
return object;
};
var makeBuiltIn$4 = { exports: {} };
var DESCRIPTORS$B = descriptors;
var hasOwn$p = hasOwnProperty_1;
var FunctionPrototype$3 = Function.prototype;
var getDescriptor = DESCRIPTORS$B && Object.getOwnPropertyDescriptor;
var EXISTS = hasOwn$p(FunctionPrototype$3, "name");
var PROPER = EXISTS && (function something() {
}).name === "something";
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$B || DESCRIPTORS$B && getDescriptor(FunctionPrototype$3, "name").configurable);
var functionName = {
EXISTS,
PROPER,
CONFIGURABLE
};
var uncurryThis$1a = functionUncurryThis;
var isCallable$t = isCallable$z;
var store$3 = sharedStoreExports;
var functionToString$1 = uncurryThis$1a(Function.toString);
if (!isCallable$t(store$3.inspectSource)) {
store$3.inspectSource = function(it) {
return functionToString$1(it);
};
}
var inspectSource$3 = store$3.inspectSource;
var globalThis$N = globalThis_1;
var isCallable$s = isCallable$z;
var WeakMap$4 = globalThis$N.WeakMap;
var weakMapBasicDetection = isCallable$s(WeakMap$4) && /native code/.test(String(WeakMap$4));
var shared$6 = shared$8;
var uid$3 = uid$5;
var keys$2 = shared$6("keys");
var sharedKey$4 = function sharedKey(key) {
return keys$2[key] || (keys$2[key] = uid$3(key));
};
var hiddenKeys$6 = {};
var NATIVE_WEAK_MAP$1 = weakMapBasicDetection;
var globalThis$M = globalThis_1;
var isObject$x = isObject$C;
var createNonEnumerableProperty$c = createNonEnumerableProperty$d;
var hasOwn$o = hasOwnProperty_1;
var shared$5 = sharedStoreExports;
var sharedKey$3 = sharedKey$4;
var hiddenKeys$5 = hiddenKeys$6;
var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
var TypeError$7 = globalThis$M.TypeError;
var WeakMap$3 = globalThis$M.WeakMap;
var set$9, get$4, has$b;
var enforce = function enforce2(it) {
return has$b(it) ? get$4(it) : set$9(it, {});
};
var getterFor$1 = function getterFor(TYPE) {
return function(it) {
var state;
if (!isObject$x(it) || (state = get$4(it)).type !== TYPE) {
throw new TypeError$7("Incompatible receiver, " + TYPE + " required");
}
return state;
};
};
if (NATIVE_WEAK_MAP$1 || shared$5.state) {
var store$2 = shared$5.state || (shared$5.state = new WeakMap$3());
store$2.get = store$2.get;
store$2.has = store$2.has;
store$2.set = store$2.set;
set$9 = function set6(it, metadata3) {
if (store$2.has(it)) throw new TypeError$7(OBJECT_ALREADY_INITIALIZED);
metadata3.facade = it;
store$2.set(it, metadata3);
return metadata3;
};
get$4 = function get6(it) {
return store$2.get(it) || {};
};
has$b = function has5(it) {
return store$2.has(it);
};
} else {
var STATE = sharedKey$3("state");
hiddenKeys$5[STATE] = true;
set$9 = function set6(it, metadata3) {
if (hasOwn$o(it, STATE)) throw new TypeError$7(OBJECT_ALREADY_INITIALIZED);
metadata3.facade = it;
createNonEnumerableProperty$c(it, STATE, metadata3);
return metadata3;
};
get$4 = function get6(it) {
return hasOwn$o(it, STATE) ? it[STATE] : {};
};
has$b = function has5(it) {
return hasOwn$o(it, STATE);
};
}
var internalState = {
set: set$9,
get: get$4,
has: has$b,
enforce,
getterFor: getterFor$1
};
var uncurryThis$19 = functionUncurryThis;
var fails$17 = fails$1e;
var isCallable$r = isCallable$z;
var hasOwn$n = hasOwnProperty_1;
var DESCRIPTORS$A = descriptors;
var CONFIGURABLE_FUNCTION_NAME$2 = functionName.CONFIGURABLE;
var inspectSource$2 = inspectSource$3;
var InternalStateModule$f = internalState;
var enforceInternalState$4 = InternalStateModule$f.enforce;
var getInternalState$9 = InternalStateModule$f.get;
var $String$4 = String;
var defineProperty$b = Object.defineProperty;
var stringSlice$f = uncurryThis$19("".slice);
var replace$b = uncurryThis$19("".replace);
var join$7 = uncurryThis$19([].join);
var CONFIGURABLE_LENGTH = DESCRIPTORS$A && !fails$17(function() {
return defineProperty$b(function() {
}, "length", {
value: 8
}).length !== 8;
});
var TEMPLATE = String(String).split("String");
var makeBuiltIn$3 = makeBuiltIn$4.exports = function(value, name, options) {
if (stringSlice$f($String$4(name), 0, 7) === "Symbol(") {
name = "[" + replace$b($String$4(name), /^Symbol\(([^)]*)\).*$/, "$1") + "]";
}
if (options && options.getter) name = "get " + name;
if (options && options.setter) name = "set " + name;
if (!hasOwn$n(value, "name") || CONFIGURABLE_FUNCTION_NAME$2 && value.name !== name) {
if (DESCRIPTORS$A) defineProperty$b(value, "name", {
value: name,
configurable: true
});
else value.name = name;
}
if (CONFIGURABLE_LENGTH && options && hasOwn$n(options, "arity") && value.length !== options.arity) {
defineProperty$b(value, "length", {
value: options.arity
});
}
try {
if (options && hasOwn$n(options, "constructor") && options.constructor) {
if (DESCRIPTORS$A) defineProperty$b(value, "prototype", {
writable: false
});
} else if (value.prototype) value.prototype = void 0;
} catch (error2) {
}
var state = enforceInternalState$4(value);
if (!hasOwn$n(state, "source")) {
state.source = join$7(TEMPLATE, typeof name == "string" ? name : "");
}
return value;
};
Function.prototype.toString = makeBuiltIn$3(function toString() {
return isCallable$r(this) && getInternalState$9(this).source || inspectSource$2(this);
}, "toString");
var makeBuiltInExports = makeBuiltIn$4.exports;
var isCallable$q = isCallable$z;
var definePropertyModule$a = objectDefineProperty;
var makeBuiltIn$2 = makeBuiltInExports;
var defineGlobalProperty$1 = defineGlobalProperty$3;
var defineBuiltIn$l = function defineBuiltIn(O, key, value, options) {
if (!options) options = {};
var simple = options.enumerable;
var name = options.name !== void 0 ? options.name : key;
if (isCallable$q(value)) makeBuiltIn$2(value, name, options);
if (options.global) {
if (simple) O[key] = value;
else defineGlobalProperty$1(key, value);
} else {
try {
if (!options.unsafe) delete O[key];
else if (O[key]) simple = true;
} catch (error2) {
}
if (simple) O[key] = value;
else definePropertyModule$a.f(O, key, {
value,
enumerable: false,
configurable: !options.nonConfigurable,
writable: !options.nonWritable
});
}
return O;
};
var objectGetOwnPropertyNames = {};
var ceil$1 = Math.ceil;
var floor$9 = Math.floor;
var mathTrunc = Math.trunc || function trunc(x) {
var n = +x;
return (n > 0 ? floor$9 : ceil$1)(n);
};
var trunc$1 = mathTrunc;
var toIntegerOrInfinity$f = function toIntegerOrInfinity(argument) {
var number = +argument;
return number !== number || number === 0 ? 0 : trunc$1(number);
};
var toIntegerOrInfinity$e = toIntegerOrInfinity$f;
var max$5 = Math.max;
var min$8 = Math.min;
var toAbsoluteIndex$8 = function toAbsoluteIndex(index, length) {
var integer = toIntegerOrInfinity$e(index);
return integer < 0 ? max$5(integer + length, 0) : min$8(integer, length);
};
var toIntegerOrInfinity$d = toIntegerOrInfinity$f;
var min$7 = Math.min;
var toLength$d = function toLength(argument) {
var len = toIntegerOrInfinity$d(argument);
return len > 0 ? min$7(len, 9007199254740991) : 0;
};
var toLength$c = toLength$d;
var lengthOfArrayLike$m = function lengthOfArrayLike(obj) {
return toLength$c(obj.length);
};
var toIndexedObject$d = toIndexedObject$f;
var toAbsoluteIndex$7 = toAbsoluteIndex$8;
var lengthOfArrayLike$l = lengthOfArrayLike$m;
var createMethod$6 = function createMethod(IS_INCLUDES) {
return function($this, el, fromIndex) {
var O = toIndexedObject$d($this);
var length = lengthOfArrayLike$l(O);
if (length === 0) return !IS_INCLUDES && -1;
var index = toAbsoluteIndex$7(fromIndex, length);
var value;
if (IS_INCLUDES && el !== el) while (length > index) {
value = O[index++];
if (value !== value) return true;
}
else for (; length > index; index++) {
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
}
return !IS_INCLUDES && -1;
};
};
var arrayIncludes = {
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
includes: createMethod$6(true),
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
indexOf: createMethod$6(false)
};
var uncurryThis$18 = functionUncurryThis;
var hasOwn$m = hasOwnProperty_1;
var toIndexedObject$c = toIndexedObject$f;
var indexOf$2 = arrayIncludes.indexOf;
var hiddenKeys$4 = hiddenKeys$6;
var push$h = uncurryThis$18([].push);
var objectKeysInternal = function objectKeysInternal2(object, names) {
var O = toIndexedObject$c(object);
var i = 0;
var result = [];
var key;
for (key in O) !hasOwn$m(hiddenKeys$4, key) && hasOwn$m(O, key) && push$h(result, key);
while (names.length > i) if (hasOwn$m(O, key = names[i++])) {
~indexOf$2(result, key) || push$h(result, key);
}
return result;
};
var enumBugKeys$3 = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
var internalObjectKeys$1 = objectKeysInternal;
var enumBugKeys$2 = enumBugKeys$3;
var hiddenKeys$3 = enumBugKeys$2.concat("length", "prototype");
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return internalObjectKeys$1(O, hiddenKeys$3);
};
var objectGetOwnPropertySymbols = {};
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
var getBuiltIn$l = getBuiltIn$n;
var uncurryThis$17 = functionUncurryThis;
var getOwnPropertyNamesModule$2 = objectGetOwnPropertyNames;
var getOwnPropertySymbolsModule$3 = objectGetOwnPropertySymbols;
var anObject$L = anObject$N;
var concat$4 = uncurryThis$17([].concat);
var ownKeys$3 = getBuiltIn$l("Reflect", "ownKeys") || function ownKeys(it) {
var keys6 = getOwnPropertyNamesModule$2.f(anObject$L(it));
var getOwnPropertySymbols2 = getOwnPropertySymbolsModule$3.f;
return getOwnPropertySymbols2 ? concat$4(keys6, getOwnPropertySymbols2(it)) : keys6;
};
var hasOwn$l = hasOwnProperty_1;
var ownKeys$2 = ownKeys$3;
var getOwnPropertyDescriptorModule$6 = objectGetOwnPropertyDescriptor;
var definePropertyModule$9 = objectDefineProperty;
var copyConstructorProperties$5 = function copyConstructorProperties(target, source, exceptions) {
var keys6 = ownKeys$2(source);
var defineProperty7 = definePropertyModule$9.f;
var getOwnPropertyDescriptor7 = getOwnPropertyDescriptorModule$6.f;
for (var i = 0; i < keys6.length; i++) {
var key = keys6[i];
if (!hasOwn$l(target, key) && !(exceptions && hasOwn$l(exceptions, key))) {
defineProperty7(target, key, getOwnPropertyDescriptor7(source, key));
}
}
};
var fails$16 = fails$1e;
var isCallable$p = isCallable$z;
var replacement = /#|\.prototype\./;
var isForced$5 = function isForced(feature, detection) {
var value = data[normalize(feature)];
return value === POLYFILL ? true : value === NATIVE ? false : isCallable$p(detection) ? fails$16(detection) : !!detection;
};
var normalize = isForced$5.normalize = function(string) {
return String(string).replace(replacement, ".").toLowerCase();
};
var data = isForced$5.data = {};
var NATIVE = isForced$5.NATIVE = "N";
var POLYFILL = isForced$5.POLYFILL = "P";
var isForced_1 = isForced$5;
var globalThis$L = globalThis_1;
var getOwnPropertyDescriptor$9 = objectGetOwnPropertyDescriptor.f;
var createNonEnumerableProperty$b = createNonEnumerableProperty$d;
var defineBuiltIn$k = defineBuiltIn$l;
var defineGlobalProperty2 = defineGlobalProperty$3;
var copyConstructorProperties$4 = copyConstructorProperties$5;
var isForced$4 = isForced_1;
var _export = function _export2(options, source) {
var TARGET = options.target;
var GLOBAL = options.global;
var STATIC = options.stat;
var FORCED2, target, key, targetProperty, sourceProperty, descriptor;
if (GLOBAL) {
target = globalThis$L;
} else if (STATIC) {
target = globalThis$L[TARGET] || defineGlobalProperty2(TARGET, {});
} else {
target = globalThis$L[TARGET] && globalThis$L[TARGET].prototype;
}
if (target) for (key in source) {
sourceProperty = source[key];
if (options.dontCallGetSet) {
descriptor = getOwnPropertyDescriptor$9(target, key);
targetProperty = descriptor && descriptor.value;
} else targetProperty = target[key];
FORCED2 = isForced$4(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
if (!FORCED2 && targetProperty !== void 0) {
if (_typeof(sourceProperty) == _typeof(targetProperty)) continue;
copyConstructorProperties$4(sourceProperty, targetProperty);
}
if (options.sham || targetProperty && targetProperty.sham) {
createNonEnumerableProperty$b(sourceProperty, "sham", true);
}
defineBuiltIn$k(target, key, sourceProperty, options);
}
};
var wellKnownSymbol$A = wellKnownSymbol$C;
var TO_STRING_TAG$4 = wellKnownSymbol$A("toStringTag");
var test$2 = {};
test$2[TO_STRING_TAG$4] = "z";
var toStringTagSupport = String(test$2) === "[object z]";
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
var isCallable$o = isCallable$z;
var classofRaw$1 = classofRaw$2;
var wellKnownSymbol$z = wellKnownSymbol$C;
var TO_STRING_TAG$3 = wellKnownSymbol$z("toStringTag");
var $Object$5 = Object;
var CORRECT_ARGUMENTS = classofRaw$1(/* @__PURE__ */ function() {
return arguments;
}()) === "Arguments";
var tryGet = function tryGet2(it, key) {
try {
return it[key];
} catch (error2) {
}
};
var classof$j = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function(it) {
var O, tag, result;
return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object$5(it), TO_STRING_TAG$3)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw$1(O) : (result = classofRaw$1(O)) === "Object" && isCallable$o(O.callee) ? "Arguments" : result;
};
var classof$i = classof$j;
var $String$3 = String;
var toString$t = function toString2(argument) {
if (classof$i(argument) === "Symbol") throw new TypeError("Cannot convert a Symbol value to a string");
return $String$3(argument);
};
var objectDefineProperties = {};
var internalObjectKeys = objectKeysInternal;
var enumBugKeys$1 = enumBugKeys$3;
var objectKeys$4 = Object.keys || function keys(O) {
return internalObjectKeys(O, enumBugKeys$1);
};
var DESCRIPTORS$z = descriptors;
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
var definePropertyModule$8 = objectDefineProperty;
var anObject$K = anObject$N;
var toIndexedObject$b = toIndexedObject$f;
var objectKeys$3 = objectKeys$4;
objectDefineProperties.f = DESCRIPTORS$z && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
anObject$K(O);
var props = toIndexedObject$b(Properties);
var keys6 = objectKeys$3(Properties);
var length = keys6.length;
var index = 0;
var key;
while (length > index) definePropertyModule$8.f(O, key = keys6[index++], props[key]);
return O;
};
var getBuiltIn$k = getBuiltIn$n;
var html$2 = getBuiltIn$k("document", "documentElement");
var anObject$J = anObject$N;
var definePropertiesModule$1 = objectDefineProperties;
var enumBugKeys = enumBugKeys$3;
var hiddenKeys$2 = hiddenKeys$6;
var html$1 = html$2;
var documentCreateElement$1 = documentCreateElement$2;
var sharedKey$2 = sharedKey$4;
var GT = ">";
var LT = "<";
var PROTOTYPE$2 = "prototype";
var SCRIPT = "script";
var IE_PROTO$1 = sharedKey$2("IE_PROTO");
var EmptyConstructor = function EmptyConstructor2() {
};
var scriptTag = function scriptTag2(content) {
return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT;
};
var NullProtoObjectViaActiveX = function NullProtoObjectViaActiveX2(activeXDocument2) {
activeXDocument2.write(scriptTag(""));
activeXDocument2.close();
var temp = activeXDocument2.parentWindow.Object;
activeXDocument2 = null;
return temp;
};
var NullProtoObjectViaIFrame = function NullProtoObjectViaIFrame2() {
var iframe = documentCreateElement$1("iframe");
var JS = "java" + SCRIPT + ":";
var iframeDocument;
iframe.style.display = "none";
html$1.appendChild(iframe);
iframe.src = String(JS);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(scriptTag("document.F=Object"));
iframeDocument.close();
return iframeDocument.F;
};
var activeXDocument;
var _NullProtoObject = function NullProtoObject() {
try {
activeXDocument = new ActiveXObject("htmlfile");
} catch (error2) {
}
_NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument);
var length = enumBugKeys.length;
while (length--) delete _NullProtoObject[PROTOTYPE$2][enumBugKeys[length]];
return _NullProtoObject();
};
hiddenKeys$2[IE_PROTO$1] = true;
var objectCreate = Object.create || function create(O, Properties) {
var result;
if (O !== null) {
EmptyConstructor[PROTOTYPE$2] = anObject$J(O);
result = new EmptyConstructor();
EmptyConstructor[PROTOTYPE$2] = null;
result[IE_PROTO$1] = O;
} else result = _NullProtoObject();
return Properties === void 0 ? result : definePropertiesModule$1.f(result, Properties);
};
var objectGetOwnPropertyNamesExternal = {};
var uncurryThis$16 = functionUncurryThis;
var arraySlice$a = uncurryThis$16([].slice);
var classof$h = classofRaw$2;
var toIndexedObject$a = toIndexedObject$f;
var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
var arraySlice$9 = arraySlice$a;
var windowNames = (typeof window === "undefined" ? "undefined" : _typeof(window)) == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
var getWindowNames = function getWindowNames2(it) {
try {
return $getOwnPropertyNames$1(it);
} catch (error2) {
return arraySlice$9(windowNames);
}
};
objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames2(it) {
return windowNames && classof$h(it) === "Window" ? getWindowNames(it) : $getOwnPropertyNames$1(toIndexedObject$a(it));
};
var makeBuiltIn$