@simplerso/web-sdk
Version:
This is the official Simpler JavaScript Web SDK.
1,327 lines • 561 kB
JavaScript
var gn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ye = function(t) {
try {
return !!t();
} catch {
return !0;
}
}, wu = ye, vi = !wu(function() {
var t = (function() {
}).bind();
return typeof t != "function" || t.hasOwnProperty("prototype");
}), ul = vi, pl = Function.prototype, Ya = pl.call, Su = ul && pl.bind.bind(Ya, Ya), ce = ul ? Su : function(t) {
return function() {
return Ya.apply(t, arguments);
};
}, hl = ce, xu = hl({}.toString), Eu = hl("".slice), yi = function(t) {
return Eu(xu(t), 8, -1);
}, $u = ce, Tu = ye, Ou = yi, Yi = Object, Iu = $u("".split), Pu = Tu(function() {
return !Yi("z").propertyIsEnumerable(0);
}) ? function(t) {
return Ou(t) === "String" ? Iu(t, "") : Yi(t);
} : Yi, bi = function(t) {
return t == null;
}, Au = bi, Ru = TypeError, Ci = function(t) {
if (Au(t)) throw new Ru("Can't call method on " + t);
return t;
}, Lu = Pu, ku = Ci, kt = function(t) {
return Lu(ku(t));
}, hr = function(t) {
return t && t.Math === Math && t;
}, ie = (
// eslint-disable-next-line es/no-global-this -- safe
hr(typeof globalThis == "object" && globalThis) || hr(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
hr(typeof self == "object" && self) || hr(typeof gn == "object" && gn) || hr(typeof gn == "object" && gn) || // eslint-disable-next-line no-new-func -- fallback
/* @__PURE__ */ function() {
return this;
}() || Function("return this")()
), fl = { exports: {} }, jo = ie, Mu = Object.defineProperty, Us = function(t, e) {
try {
Mu(jo, t, { value: e, configurable: !0, writable: !0 });
} catch {
jo[t] = e;
}
return e;
}, Nu = ie, Du = Us, Bo = "__core-js_shared__", Vo = fl.exports = Nu[Bo] || Du(Bo, {});
(Vo.versions || (Vo.versions = [])).push({
version: "3.37.1",
mode: "global",
copyright: "© 2014-2024 Denis Pushkarev (zloirock.ru)",
license: "https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",
source: "https://github.com/zloirock/core-js"
});
var zs = fl.exports, Uo = zs, ml = function(t, e) {
return Uo[t] || (Uo[t] = e || {});
}, Hu = Ci, ju = Object, _i = function(t) {
return ju(Hu(t));
}, Bu = ce, Vu = _i, Uu = Bu({}.hasOwnProperty), qe = Object.hasOwn || function(e, r) {
return Uu(Vu(e), r);
}, zu = ce, Fu = 0, Zu = Math.random(), qu = zu(1 .toString), gl = function(t) {
return "Symbol(" + (t === void 0 ? "" : t) + ")_" + qu(++Fu + Zu, 36);
}, wi = typeof navigator < "u" && String(navigator.userAgent) || "", vl = ie, Ji = wi, zo = vl.process, Fo = vl.Deno, Zo = zo && zo.versions || Fo && Fo.version, qo = Zo && Zo.v8, Le, Wn;
qo && (Le = qo.split("."), Wn = Le[0] > 0 && Le[0] < 4 ? 1 : +(Le[0] + Le[1]));
!Wn && Ji && (Le = Ji.match(/Edge\/(\d+)/), (!Le || Le[1] >= 74) && (Le = Ji.match(/Chrome\/(\d+)/), Le && (Wn = +Le[1])));
var yl = Wn, Wo = yl, Wu = ye, Ku = ie, Gu = Ku.String, bl = !!Object.getOwnPropertySymbols && !Wu(function() {
var t = Symbol("symbol detection");
return !Gu(t) || !(Object(t) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
!Symbol.sham && Wo && Wo < 41;
}), Yu = bl, Cl = Yu && !Symbol.sham && typeof Symbol.iterator == "symbol", Ju = ie, Qu = ml, Ko = qe, Xu = gl, ep = bl, tp = Cl, qt = Ju.Symbol, Qi = Qu("wks"), rp = tp ? qt.for || qt : qt && qt.withoutSetter || Xu, be = function(t) {
return Ko(Qi, t) || (Qi[t] = ep && Ko(qt, t) ? qt[t] : rp("Symbol." + t)), Qi[t];
}, Xi = typeof document == "object" && document.all, re = typeof Xi > "u" && Xi !== void 0 ? function(t) {
return typeof t == "function" || t === Xi;
} : function(t) {
return typeof t == "function";
}, np = re, De = function(t) {
return typeof t == "object" ? t !== null : np(t);
}, ip = De, ap = String, sp = TypeError, We = function(t) {
if (ip(t)) return t;
throw new sp(ap(t) + " is not an object");
}, _l = {}, op = ye, Te = !op(function() {
return Object.defineProperty({}, 1, { get: function() {
return 7;
} })[1] !== 7;
}), cp = Te, lp = ye, wl = cp && lp(function() {
return Object.defineProperty(function() {
}, "prototype", {
value: 42,
writable: !1
}).prototype !== 42;
}), Ke = {}, dp = ie, Go = De, Ja = dp.document, up = Go(Ja) && Go(Ja.createElement), Si = function(t) {
return up ? Ja.createElement(t) : {};
}, pp = Te, hp = ye, fp = Si, Sl = !pp && !hp(function() {
return Object.defineProperty(fp("div"), "a", {
get: function() {
return 7;
}
}).a !== 7;
}), mp = vi, vn = Function.prototype.call, Oe = mp ? vn.bind(vn) : function() {
return vn.apply(vn, arguments);
}, ea = ie, gp = re, vp = function(t) {
return gp(t) ? t : void 0;
}, tt = function(t, e) {
return arguments.length < 2 ? vp(ea[t]) : ea[t] && ea[t][e];
}, yp = ce, xi = yp({}.isPrototypeOf), bp = tt, Cp = re, _p = xi, wp = Cl, Sp = Object, xl = wp ? function(t) {
return typeof t == "symbol";
} : function(t) {
var e = bp("Symbol");
return Cp(e) && _p(e.prototype, Sp(t));
}, xp = String, Ei = function(t) {
try {
return xp(t);
} catch {
return "Object";
}
}, Ep = re, $p = Ei, Tp = TypeError, Ge = function(t) {
if (Ep(t)) return t;
throw new Tp($p(t) + " is not a function");
}, Op = Ge, Ip = bi, Fs = function(t, e) {
var r = t[e];
return Ip(r) ? void 0 : Op(r);
}, ta = Oe, ra = re, na = De, Pp = TypeError, Ap = function(t, e) {
var r, n;
if (e === "string" && ra(r = t.toString) && !na(n = ta(r, t)) || ra(r = t.valueOf) && !na(n = ta(r, t)) || e !== "string" && ra(r = t.toString) && !na(n = ta(r, t))) return n;
throw new Pp("Can't convert object to primitive value");
}, Rp = Oe, Yo = De, Jo = xl, Lp = Fs, kp = Ap, Mp = be, Np = TypeError, Dp = Mp("toPrimitive"), Hp = function(t, e) {
if (!Yo(t) || Jo(t)) return t;
var r = Lp(t, Dp), n;
if (r) {
if (e === void 0 && (e = "default"), n = Rp(r, t, e), !Yo(n) || Jo(n)) return n;
throw new Np("Can't convert object to primitive value");
}
return e === void 0 && (e = "number"), kp(t, e);
}, jp = Hp, Bp = xl, El = function(t) {
var e = jp(t, "string");
return Bp(e) ? e : e + "";
}, Vp = Te, Up = Sl, zp = wl, yn = We, Qo = El, Fp = TypeError, ia = Object.defineProperty, Zp = Object.getOwnPropertyDescriptor, aa = "enumerable", sa = "configurable", oa = "writable";
Ke.f = Vp ? zp ? function(e, r, n) {
if (yn(e), r = Qo(r), yn(n), typeof e == "function" && r === "prototype" && "value" in n && oa in n && !n[oa]) {
var i = Zp(e, r);
i && i[oa] && (e[r] = n.value, n = {
configurable: sa in n ? n[sa] : i[sa],
enumerable: aa in n ? n[aa] : i[aa],
writable: !1
});
}
return ia(e, r, n);
} : ia : function(e, r, n) {
if (yn(e), r = Qo(r), yn(n), Up) try {
return ia(e, r, n);
} catch {
}
if ("get" in n || "set" in n) throw new Fp("Accessors not supported");
return "value" in n && (e[r] = n.value), e;
};
var qp = Math.ceil, Wp = Math.floor, Kp = Math.trunc || function(e) {
var r = +e;
return (r > 0 ? Wp : qp)(r);
}, Gp = Kp, Zs = function(t) {
var e = +t;
return e !== e || e === 0 ? 0 : Gp(e);
}, Yp = Zs, Jp = Math.max, Qp = Math.min, Xp = function(t, e) {
var r = Yp(t);
return r < 0 ? Jp(r + e, 0) : Qp(r, e);
}, eh = Zs, th = Math.min, rh = function(t) {
var e = eh(t);
return e > 0 ? th(e, 9007199254740991) : 0;
}, nh = rh, $i = function(t) {
return nh(t.length);
}, ih = kt, ah = Xp, sh = $i, Xo = function(t) {
return function(e, r, n) {
var i = ih(e), a = sh(i);
if (a === 0) return !t && -1;
var s = ah(n, a), c;
if (t && r !== r) {
for (; a > s; )
if (c = i[s++], c !== c) return !0;
} else for (; a > s; s++)
if ((t || s in i) && i[s] === r) return t || s || 0;
return !t && -1;
};
}, oh = {
// `Array.prototype.includes` method
// https://tc39.es/ecma262/#sec-array.prototype.includes
includes: Xo(!0),
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
indexOf: Xo(!1)
}, qs = {}, ch = ce, ca = qe, lh = kt, dh = oh.indexOf, uh = qs, ec = ch([].push), $l = function(t, e) {
var r = lh(t), n = 0, i = [], a;
for (a in r) !ca(uh, a) && ca(r, a) && ec(i, a);
for (; e.length > n; ) ca(r, a = e[n++]) && (~dh(i, a) || ec(i, a));
return i;
}, Ws = [
"constructor",
"hasOwnProperty",
"isPrototypeOf",
"propertyIsEnumerable",
"toLocaleString",
"toString",
"valueOf"
], ph = $l, hh = Ws, Tl = Object.keys || function(e) {
return ph(e, hh);
}, fh = Te, mh = wl, gh = Ke, vh = We, yh = kt, bh = Tl;
_l.f = fh && !mh ? Object.defineProperties : function(e, r) {
vh(e);
for (var n = yh(r), i = bh(r), a = i.length, s = 0, c; a > s; ) gh.f(e, c = i[s++], n[c]);
return e;
};
var Ch = tt, Ol = Ch("document", "documentElement"), _h = ml, wh = gl, tc = _h("keys"), Ks = function(t) {
return tc[t] || (tc[t] = wh(t));
}, Sh = We, xh = _l, rc = Ws, Eh = qs, $h = Ol, Th = Si, Oh = Ks, nc = ">", ic = "<", Qa = "prototype", Xa = "script", Il = Oh("IE_PROTO"), la = function() {
}, Pl = function(t) {
return ic + Xa + nc + t + ic + "/" + Xa + nc;
}, ac = function(t) {
t.write(Pl("")), t.close();
var e = t.parentWindow.Object;
return t = null, e;
}, Ih = function() {
var t = Th("iframe"), e = "java" + Xa + ":", r;
return t.style.display = "none", $h.appendChild(t), t.src = String(e), r = t.contentWindow.document, r.open(), r.write(Pl("document.F=Object")), r.close(), r.F;
}, bn, Nn = function() {
try {
bn = new ActiveXObject("htmlfile");
} catch {
}
Nn = typeof document < "u" ? document.domain && bn ? ac(bn) : Ih() : ac(bn);
for (var t = rc.length; t--; ) delete Nn[Qa][rc[t]];
return Nn();
};
Eh[Il] = !0;
var Gs = Object.create || function(e, r) {
var n;
return e !== null ? (la[Qa] = Sh(e), n = new la(), la[Qa] = null, n[Il] = e) : n = Nn(), r === void 0 ? n : xh.f(n, r);
}, Ph = be, Ah = Gs, Rh = Ke.f, es = Ph("unscopables"), ts = Array.prototype;
ts[es] === void 0 && Rh(ts, es, {
configurable: !0,
value: Ah(null)
});
var Lh = function(t) {
ts[es][t] = !0;
}, tn = {}, kh = ie, Mh = re, sc = kh.WeakMap, Nh = Mh(sc) && /native code/.test(String(sc)), sr = function(t, e) {
return {
enumerable: !(t & 1),
configurable: !(t & 2),
writable: !(t & 4),
value: e
};
}, Dh = Te, Hh = Ke, jh = sr, Mt = Dh ? function(t, e, r) {
return Hh.f(t, e, jh(1, r));
} : function(t, e, r) {
return t[e] = r, t;
}, Bh = Nh, Al = ie, Vh = De, Uh = Mt, da = qe, ua = zs, zh = Ks, Fh = qs, oc = "Object already initialized", rs = Al.TypeError, Zh = Al.WeakMap, Kn, Or, Gn, qh = function(t) {
return Gn(t) ? Or(t) : Kn(t, {});
}, Wh = function(t) {
return function(e) {
var r;
if (!Vh(e) || (r = Or(e)).type !== t)
throw new rs("Incompatible receiver, " + t + " required");
return r;
};
};
if (Bh || ua.state) {
var Be = ua.state || (ua.state = new Zh());
Be.get = Be.get, Be.has = Be.has, Be.set = Be.set, Kn = function(t, e) {
if (Be.has(t)) throw new rs(oc);
return e.facade = t, Be.set(t, e), e;
}, Or = function(t) {
return Be.get(t) || {};
}, Gn = function(t) {
return Be.has(t);
};
} else {
var jt = zh("state");
Fh[jt] = !0, Kn = function(t, e) {
if (da(t, jt)) throw new rs(oc);
return e.facade = t, Uh(t, jt, e), e;
}, Or = function(t) {
return da(t, jt) ? t[jt] : {};
}, Gn = function(t) {
return da(t, jt);
};
}
var Ti = {
set: Kn,
get: Or,
has: Gn,
enforce: qh,
getterFor: Wh
}, Ys = {}, Js = {}, Rl = {}.propertyIsEnumerable, Ll = Object.getOwnPropertyDescriptor, Kh = Ll && !Rl.call({ 1: 2 }, 1);
Js.f = Kh ? function(e) {
var r = Ll(this, e);
return !!r && r.enumerable;
} : Rl;
var Gh = Te, Yh = Oe, Jh = Js, Qh = sr, Xh = kt, e0 = El, t0 = qe, r0 = Sl, cc = Object.getOwnPropertyDescriptor;
Ys.f = Gh ? cc : function(e, r) {
if (e = Xh(e), r = e0(r), r0) try {
return cc(e, r);
} catch {
}
if (t0(e, r)) return Qh(!Yh(Jh.f, e, r), e[r]);
};
var kl = { exports: {} }, ns = Te, n0 = qe, Ml = Function.prototype, i0 = ns && Object.getOwnPropertyDescriptor, Qs = n0(Ml, "name"), a0 = Qs && (function() {
}).name === "something", s0 = Qs && (!ns || ns && i0(Ml, "name").configurable), Nl = {
EXISTS: Qs,
PROPER: a0,
CONFIGURABLE: s0
}, o0 = ce, c0 = re, is = zs, l0 = o0(Function.toString);
c0(is.inspectSource) || (is.inspectSource = function(t) {
return l0(t);
});
var Xs = is.inspectSource, eo = ce, d0 = ye, u0 = re, Cn = qe, as = Te, p0 = Nl.CONFIGURABLE, h0 = Xs, Dl = Ti, f0 = Dl.enforce, m0 = Dl.get, lc = String, Dn = Object.defineProperty, g0 = eo("".slice), v0 = eo("".replace), y0 = eo([].join), b0 = as && !d0(function() {
return Dn(function() {
}, "length", { value: 8 }).length !== 8;
}), C0 = String(String).split("String"), _0 = kl.exports = function(t, e, r) {
g0(lc(e), 0, 7) === "Symbol(" && (e = "[" + v0(lc(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), r && r.getter && (e = "get " + e), r && r.setter && (e = "set " + e), (!Cn(t, "name") || p0 && t.name !== e) && (as ? Dn(t, "name", { value: e, configurable: !0 }) : t.name = e), b0 && r && Cn(r, "arity") && t.length !== r.arity && Dn(t, "length", { value: r.arity });
try {
r && Cn(r, "constructor") && r.constructor ? as && Dn(t, "prototype", { writable: !1 }) : t.prototype && (t.prototype = void 0);
} catch {
}
var n = f0(t);
return Cn(n, "source") || (n.source = y0(C0, typeof e == "string" ? e : "")), t;
};
Function.prototype.toString = _0(function() {
return u0(this) && m0(this).source || h0(this);
}, "toString");
var Hl = kl.exports, w0 = re, S0 = Ke, x0 = Hl, E0 = Us, Nt = function(t, e, r, n) {
n || (n = {});
var i = n.enumerable, a = n.name !== void 0 ? n.name : e;
if (w0(r) && x0(r, a, n), n.global)
i ? t[e] = r : E0(e, r);
else {
try {
n.unsafe ? t[e] && (i = !0) : delete t[e];
} catch {
}
i ? t[e] = r : S0.f(t, e, {
value: r,
enumerable: !1,
configurable: !n.nonConfigurable,
writable: !n.nonWritable
});
}
return t;
}, jl = {}, $0 = $l, T0 = Ws, O0 = T0.concat("length", "prototype");
jl.f = Object.getOwnPropertyNames || function(e) {
return $0(e, O0);
};
var Bl = {};
Bl.f = Object.getOwnPropertySymbols;
var I0 = tt, P0 = ce, A0 = jl, R0 = Bl, L0 = We, k0 = P0([].concat), M0 = I0("Reflect", "ownKeys") || function(e) {
var r = A0.f(L0(e)), n = R0.f;
return n ? k0(r, n(e)) : r;
}, dc = qe, N0 = M0, D0 = Ys, H0 = Ke, Vl = function(t, e, r) {
for (var n = N0(e), i = H0.f, a = D0.f, s = 0; s < n.length; s++) {
var c = n[s];
!dc(t, c) && !(r && dc(r, c)) && i(t, c, a(e, c));
}
}, j0 = ye, B0 = re, V0 = /#|\.prototype\./, rn = function(t, e) {
var r = z0[U0(t)];
return r === Z0 ? !0 : r === F0 ? !1 : B0(e) ? j0(e) : !!e;
}, U0 = rn.normalize = function(t) {
return String(t).replace(V0, ".").toLowerCase();
}, z0 = rn.data = {}, F0 = rn.NATIVE = "N", Z0 = rn.POLYFILL = "P", Ul = rn, _n = ie, q0 = Ys.f, W0 = Mt, K0 = Nt, G0 = Us, Y0 = Vl, J0 = Ul, le = function(t, e) {
var r = t.target, n = t.global, i = t.stat, a, s, c, l, d, u;
if (n ? s = _n : i ? s = _n[r] || G0(r, {}) : s = _n[r] && _n[r].prototype, s) for (c in e) {
if (d = e[c], t.dontCallGetSet ? (u = q0(s, c), l = u && u.value) : l = s[c], a = J0(n ? c : r + (i ? "." : "#") + c, t.forced), !a && l !== void 0) {
if (typeof d == typeof l) continue;
Y0(d, l);
}
(t.sham || l && l.sham) && W0(d, "sham", !0), K0(s, c, d, t);
}
}, Q0 = ye, X0 = !Q0(function() {
function t() {
}
return t.prototype.constructor = null, Object.getPrototypeOf(new t()) !== t.prototype;
}), e3 = qe, t3 = re, r3 = _i, n3 = Ks, i3 = X0, uc = n3("IE_PROTO"), ss = Object, a3 = ss.prototype, Oi = i3 ? ss.getPrototypeOf : function(t) {
var e = r3(t);
if (e3(e, uc)) return e[uc];
var r = e.constructor;
return t3(r) && e instanceof r ? r.prototype : e instanceof ss ? a3 : null;
}, s3 = ye, o3 = re, c3 = De, pc = Oi, l3 = Nt, d3 = be, os = d3("iterator"), zl = !1, Tt, pa, ha;
[].keys && (ha = [].keys(), "next" in ha ? (pa = pc(pc(ha)), pa !== Object.prototype && (Tt = pa)) : zl = !0);
var u3 = !c3(Tt) || s3(function() {
var t = {};
return Tt[os].call(t) !== t;
});
u3 && (Tt = {});
o3(Tt[os]) || l3(Tt, os, function() {
return this;
});
var Fl = {
IteratorPrototype: Tt,
BUGGY_SAFARI_ITERATORS: zl
}, p3 = Ke.f, h3 = qe, f3 = be, hc = f3("toStringTag"), Ii = function(t, e, r) {
t && !r && (t = t.prototype), t && !h3(t, hc) && p3(t, hc, { configurable: !0, value: e });
}, m3 = Fl.IteratorPrototype, g3 = Gs, v3 = sr, y3 = Ii, b3 = tn, C3 = function() {
return this;
}, _3 = function(t, e, r, n) {
var i = e + " Iterator";
return t.prototype = g3(m3, { next: v3(+!n, r) }), y3(t, i, !1), b3[i] = C3, t;
}, w3 = ce, S3 = Ge, x3 = function(t, e, r) {
try {
return w3(S3(Object.getOwnPropertyDescriptor(t, e)[r]));
} catch {
}
}, E3 = De, $3 = function(t) {
return E3(t) || t === null;
}, T3 = $3, O3 = String, I3 = TypeError, P3 = function(t) {
if (T3(t)) return t;
throw new I3("Can't set " + O3(t) + " as a prototype");
}, A3 = x3, R3 = De, L3 = Ci, k3 = P3, to = Object.setPrototypeOf || ("__proto__" in {} ? function() {
var t = !1, e = {}, r;
try {
r = A3(Object.prototype, "__proto__", "set"), r(e, []), t = e instanceof Array;
} catch {
}
return function(i, a) {
return L3(i), k3(a), R3(i) && (t ? r(i, a) : i.__proto__ = a), i;
};
}() : void 0), M3 = le, N3 = Oe, Zl = Nl, D3 = re, H3 = _3, fc = Oi, mc = to, j3 = Ii, B3 = Mt, fa = Nt, V3 = be, U3 = tn, ql = Fl, z3 = Zl.PROPER, F3 = Zl.CONFIGURABLE, gc = ql.IteratorPrototype, wn = ql.BUGGY_SAFARI_ITERATORS, fr = V3("iterator"), vc = "keys", mr = "values", yc = "entries", Z3 = function() {
return this;
}, Wl = function(t, e, r, n, i, a, s) {
H3(r, e, n);
var c = function(P) {
if (P === i && C) return C;
if (!wn && P && P in u) return u[P];
switch (P) {
case vc:
return function() {
return new r(this, P);
};
case mr:
return function() {
return new r(this, P);
};
case yc:
return function() {
return new r(this, P);
};
}
return function() {
return new r(this);
};
}, l = e + " Iterator", d = !1, u = t.prototype, h = u[fr] || u["@@iterator"] || i && u[i], C = !wn && h || c(i), w = e === "Array" && u.entries || h, v, S, _;
if (w && (v = fc(w.call(new t())), v !== Object.prototype && v.next && (fc(v) !== gc && (mc ? mc(v, gc) : D3(v[fr]) || fa(v, fr, Z3)), j3(v, l, !0))), z3 && i === mr && h && h.name !== mr && (F3 ? B3(u, "name", mr) : (d = !0, C = function() {
return N3(h, this);
})), i)
if (S = {
values: c(mr),
keys: a ? C : c(vc),
entries: c(yc)
}, s) for (_ in S)
(wn || d || !(_ in u)) && fa(u, _, S[_]);
else M3({ target: e, proto: !0, forced: wn || d }, S);
return u[fr] !== C && fa(u, fr, C, { name: i }), U3[e] = C, S;
}, Kl = function(t, e) {
return { value: t, done: e };
}, q3 = kt, ro = Lh, bc = tn, Gl = Ti, W3 = Ke.f, K3 = Wl, Sn = Kl, G3 = Te, Yl = "Array Iterator", Y3 = Gl.set, J3 = Gl.getterFor(Yl), Q3 = K3(Array, "Array", function(t, e) {
Y3(this, {
type: Yl,
target: q3(t),
// target
index: 0,
// next index
kind: e
// kind
});
}, function() {
var t = J3(this), e = t.target, r = t.index++;
if (!e || r >= e.length)
return t.target = void 0, Sn(void 0, !0);
switch (t.kind) {
case "keys":
return Sn(r, !1);
case "values":
return Sn(e[r], !1);
}
return Sn([r, e[r]], !1);
}, "values"), Cc = bc.Arguments = bc.Array;
ro("keys");
ro("values");
ro("entries");
if (G3 && Cc.name !== "values") try {
W3(Cc, "name", { value: "values" });
} catch {
}
var X3 = yi, e5 = ce, t5 = function(t) {
if (X3(t) === "Function") return e5(t);
}, _c = t5, r5 = Ge, n5 = vi, i5 = _c(_c.bind), Pi = function(t, e) {
return r5(t), e === void 0 ? t : n5 ? i5(t, e) : function() {
return t.apply(e, arguments);
};
}, a5 = be, s5 = tn, o5 = a5("iterator"), c5 = Array.prototype, Jl = function(t) {
return t !== void 0 && (s5.Array === t || c5[o5] === t);
}, l5 = be, d5 = l5("toStringTag"), Ql = {};
Ql[d5] = "z";
var no = String(Ql) === "[object z]", u5 = no, p5 = re, Hn = yi, h5 = be, f5 = h5("toStringTag"), m5 = Object, g5 = Hn(/* @__PURE__ */ function() {
return arguments;
}()) === "Arguments", v5 = function(t, e) {
try {
return t[e];
} catch {
}
}, Ai = u5 ? Hn : function(t) {
var e, r, n;
return t === void 0 ? "Undefined" : t === null ? "Null" : typeof (r = v5(e = m5(t), f5)) == "string" ? r : g5 ? Hn(e) : (n = Hn(e)) === "Object" && p5(e.callee) ? "Arguments" : n;
}, y5 = Ai, wc = Fs, b5 = bi, C5 = tn, _5 = be, w5 = _5("iterator"), io = function(t) {
if (!b5(t)) return wc(t, w5) || wc(t, "@@iterator") || C5[y5(t)];
}, S5 = Oe, x5 = Ge, E5 = We, $5 = Ei, T5 = io, O5 = TypeError, Xl = function(t, e) {
var r = arguments.length < 2 ? T5(t) : e;
if (x5(r)) return E5(S5(r, t));
throw new O5($5(t) + " is not iterable");
}, I5 = Oe, Sc = We, P5 = Fs, ed = function(t, e, r) {
var n, i;
Sc(t);
try {
if (n = P5(t, "return"), !n) {
if (e === "throw") throw r;
return r;
}
n = I5(n, t);
} catch (a) {
i = !0, n = a;
}
if (e === "throw") throw r;
if (i) throw n;
return Sc(n), r;
}, A5 = Pi, R5 = Oe, L5 = We, k5 = Ei, M5 = Jl, N5 = $i, xc = xi, D5 = Xl, H5 = io, Ec = ed, j5 = TypeError, jn = function(t, e) {
this.stopped = t, this.result = e;
}, $c = jn.prototype, or = function(t, e, r) {
var n = r && r.that, i = !!(r && r.AS_ENTRIES), a = !!(r && r.IS_RECORD), s = !!(r && r.IS_ITERATOR), c = !!(r && r.INTERRUPTED), l = A5(e, n), d, u, h, C, w, v, S, _ = function(R) {
return d && Ec(d, "normal", R), new jn(!0, R);
}, P = function(R) {
return i ? (L5(R), c ? l(R[0], R[1], _) : l(R[0], R[1])) : c ? l(R, _) : l(R);
};
if (a)
d = t.iterator;
else if (s)
d = t;
else {
if (u = H5(t), !u) throw new j5(k5(t) + " is not iterable");
if (M5(u)) {
for (h = 0, C = N5(t); C > h; h++)
if (w = P(t[h]), w && xc($c, w)) return w;
return new jn(!1);
}
d = D5(t, u);
}
for (v = a ? t.next : d.next; !(S = R5(v, d)).done; ) {
try {
w = P(S.value);
} catch (R) {
Ec(d, "throw", R);
}
if (typeof w == "object" && w && xc($c, w)) return w;
}
return new jn(!1);
}, B5 = Te, V5 = Ke, U5 = sr, td = function(t, e, r) {
B5 ? V5.f(t, e, U5(0, r)) : t[e] = r;
}, z5 = le, F5 = or, Z5 = td;
z5({ target: "Object", stat: !0 }, {
fromEntries: function(e) {
var r = {};
return F5(e, function(n, i) {
Z5(r, n, i);
}, { AS_ENTRIES: !0 }), r;
}
});
var q5 = ie, cr = q5, W5 = cr;
W5.Object.fromEntries;
var rd = Te, K5 = ye, nd = ce, G5 = Oi, Y5 = Tl, J5 = kt, Q5 = Js.f, id = nd(Q5), X5 = nd([].push), e4 = rd && K5(function() {
var t = /* @__PURE__ */ Object.create(null);
return t[2] = 2, !id(t, 2);
}), Tc = function(t) {
return function(e) {
for (var r = J5(e), n = Y5(r), i = e4 && G5(r) === null, a = n.length, s = 0, c = [], l; a > s; )
l = n[s++], (!rd || (i ? l in r : id(r, l))) && X5(c, t ? [l, r[l]] : r[l]);
return c;
};
}, ad = {
// `Object.entries` method
// https://tc39.es/ecma262/#sec-object.entries
entries: Tc(!0),
// `Object.values` method
// https://tc39.es/ecma262/#sec-object.values
values: Tc(!1)
}, t4 = le, r4 = ad.entries;
t4({ target: "Object", stat: !0 }, {
entries: function(e) {
return r4(e);
}
});
var n4 = cr;
n4.Object.entries;
var i4 = le, a4 = ad.values;
i4({ target: "Object", stat: !0 }, {
values: function(e) {
return a4(e);
}
});
var s4 = cr;
s4.Object.values;
var o4 = Ai, c4 = String, Ri = function(t) {
if (o4(t) === "Symbol") throw new TypeError("Cannot convert a Symbol value to a string");
return c4(t);
}, ao = ce, l4 = Zs, d4 = Ri, u4 = Ci, p4 = ao("".charAt), Oc = ao("".charCodeAt), h4 = ao("".slice), Ic = function(t) {
return function(e, r) {
var n = d4(u4(e)), i = l4(r), a = n.length, s, c;
return i < 0 || i >= a ? t ? "" : void 0 : (s = Oc(n, i), s < 55296 || s > 56319 || i + 1 === a || (c = Oc(n, i + 1)) < 56320 || c > 57343 ? t ? p4(n, i) : s : t ? h4(n, i, i + 2) : (s - 55296 << 10) + (c - 56320) + 65536);
};
}, f4 = {
// `String.prototype.codePointAt` method
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
codeAt: Ic(!1),
// `String.prototype.at` method
// https://github.com/mathiasbynens/String.prototype.at
charAt: Ic(!0)
}, m4 = f4.charAt, g4 = Ri, sd = Ti, v4 = Wl, Pc = Kl, od = "String Iterator", y4 = sd.set, b4 = sd.getterFor(od);
v4(String, "String", function(t) {
y4(this, {
type: od,
string: g4(t),
index: 0
});
}, function() {
var e = b4(this), r = e.string, n = e.index, i;
return n >= r.length ? Pc(void 0, !0) : (i = m4(r, n), e.index += i.length, Pc(i, !1));
});
var C4 = We, _4 = ed, w4 = function(t, e, r, n) {
try {
return n ? e(C4(r)[0], r[1]) : e(r);
} catch (i) {
_4(t, "throw", i);
}
}, S4 = ce, x4 = ye, cd = re, E4 = Ai, $4 = tt, T4 = Xs, ld = function() {
}, dd = $4("Reflect", "construct"), so = /^\s*(?:class|function)\b/, O4 = S4(so.exec), I4 = !so.test(ld), gr = function(e) {
if (!cd(e)) return !1;
try {
return dd(ld, [], e), !0;
} catch {
return !1;
}
}, ud = function(e) {
if (!cd(e)) return !1;
switch (E4(e)) {
case "AsyncFunction":
case "GeneratorFunction":
case "AsyncGeneratorFunction":
return !1;
}
try {
return I4 || !!O4(so, T4(e));
} catch {
return !0;
}
};
ud.sham = !0;
var pd = !dd || x4(function() {
var t;
return gr(gr.call) || !gr(Object) || !gr(function() {
t = !0;
}) || t;
}) ? ud : gr, P4 = Pi, A4 = Oe, R4 = _i, L4 = w4, k4 = Jl, M4 = pd, N4 = $i, Ac = td, D4 = Xl, H4 = io, Rc = Array, j4 = function(e) {
var r = R4(e), n = M4(this), i = arguments.length, a = i > 1 ? arguments[1] : void 0, s = a !== void 0;
s && (a = P4(a, i > 2 ? arguments[2] : void 0));
var c = H4(r), l = 0, d, u, h, C, w, v;
if (c && !(this === Rc && k4(c)))
for (u = n ? new this() : [], C = D4(r, c), w = C.next; !(h = A4(w, C)).done; l++)
v = s ? L4(C, a, [h.value, l], !0) : h.value, Ac(u, l, v);
else
for (d = N4(r), u = n ? new this(d) : Rc(d); d > l; l++)
v = s ? a(r[l], l) : r[l], Ac(u, l, v);
return u.length = l, u;
}, B4 = be, hd = B4("iterator"), fd = !1;
try {
var V4 = 0, Lc = {
next: function() {
return { done: !!V4++ };
},
return: function() {
fd = !0;
}
};
Lc[hd] = function() {
return this;
}, Array.from(Lc, function() {
throw 2;
});
} catch {
}
var md = function(t, e) {
try {
if (!e && !fd) return !1;
} catch {
return !1;
}
var r = !1;
try {
var n = {};
n[hd] = function() {
return {
next: function() {
return { done: r = !0 };
}
};
}, t(n);
} catch {
}
return r;
}, U4 = le, z4 = j4, F4 = md, Z4 = !F4(function(t) {
Array.from(t);
});
U4({ target: "Array", stat: !0, forced: Z4 }, {
from: z4
});
var q4 = cr;
q4.Array.from;
var W4 = De, K4 = Mt, G4 = function(t, e) {
W4(e) && "cause" in e && K4(t, "cause", e.cause);
}, Y4 = ce, gd = Error, J4 = Y4("".replace), Q4 = function(t) {
return String(new gd(t).stack);
}("zxcasd"), vd = /\n\s*at [^:]*:[^\n]*/, X4 = vd.test(Q4), e6 = function(t, e) {
if (X4 && typeof t == "string" && !gd.prepareStackTrace)
for (; e--; ) t = J4(t, vd, "");
return t;
}, t6 = ye, r6 = sr, n6 = !t6(function() {
var t = new Error("a");
return "stack" in t ? (Object.defineProperty(t, "stack", r6(1, 7)), t.stack !== 7) : !0;
}), i6 = Mt, a6 = e6, s6 = n6, kc = Error.captureStackTrace, o6 = function(t, e, r, n) {
s6 && (kc ? kc(t, e) : i6(t, "stack", a6(r, n)));
}, c6 = Ri, l6 = function(t, e) {
return t === void 0 ? arguments.length < 2 ? "" : e : c6(t);
}, d6 = le, u6 = xi, p6 = Oi, Yn = to, h6 = Vl, yd = Gs, ma = Mt, ga = sr, f6 = G4, m6 = o6, g6 = or, v6 = l6, y6 = be, b6 = y6("toStringTag"), Jn = Error, C6 = [].push, Xt = function(e, r) {
var n = u6(va, this), i;
Yn ? i = Yn(new Jn(), n ? p6(this) : va) : (i = n ? this : yd(va), ma(i, b6, "Error")), r !== void 0 && ma(i, "message", v6(r)), m6(i, Xt, i.stack, 1), arguments.length > 2 && f6(i, arguments[2]);
var a = [];
return g6(e, C6, { that: a }), ma(i, "errors", a), i;
};
Yn ? Yn(Xt, Jn) : h6(Xt, Jn, { name: !0 });
var va = Xt.prototype = yd(Jn.prototype, {
constructor: ga(1, Xt),
message: ga(1, ""),
name: ga(1, "AggregateError")
});
d6({ global: !0, constructor: !0, arity: 2 }, {
AggregateError: Xt
});
var _6 = no, w6 = Ai, S6 = _6 ? {}.toString : function() {
return "[object " + w6(this) + "]";
}, x6 = no, E6 = Nt, $6 = S6;
x6 || E6(Object.prototype, "toString", $6, { unsafe: !0 });
var T6 = ie, O6 = yi, Li = O6(T6.process) === "process", Mc = Hl, I6 = Ke, P6 = function(t, e, r) {
return r.get && Mc(r.get, e, { getter: !0 }), r.set && Mc(r.set, e, { setter: !0 }), I6.f(t, e, r);
}, A6 = tt, R6 = P6, L6 = be, k6 = Te, Nc = L6("species"), M6 = function(t) {
var e = A6(t);
k6 && e && !e[Nc] && R6(e, Nc, {
configurable: !0,
get: function() {
return this;
}
});
}, N6 = xi, D6 = TypeError, H6 = function(t, e) {
if (N6(e, t)) return t;
throw new D6("Incorrect invocation");
}, j6 = pd, B6 = Ei, V6 = TypeError, U6 = function(t) {
if (j6(t)) return t;
throw new V6(B6(t) + " is not a constructor");
}, Dc = We, z6 = U6, F6 = bi, Z6 = be, q6 = Z6("species"), bd = function(t, e) {
var r = Dc(t).constructor, n;
return r === void 0 || F6(n = Dc(r)[q6]) ? e : z6(n);
}, W6 = vi, Cd = Function.prototype, Hc = Cd.apply, jc = Cd.call, K6 = typeof Reflect == "object" && Reflect.apply || (W6 ? jc.bind(Hc) : function() {
return jc.apply(Hc, arguments);
}), G6 = ce, Y6 = G6([].slice), J6 = TypeError, Q6 = function(t, e) {
if (t < e) throw new J6("Not enough arguments");
return t;
}, X6 = wi, _d = /(?:ipad|iphone|ipod).*applewebkit/i.test(X6), xe = ie, ef = K6, tf = Pi, Bc = re, rf = qe, wd = ye, Vc = Ol, nf = Y6, Uc = Si, af = Q6, sf = _d, of = Li, cs = xe.setImmediate, ls = xe.clearImmediate, cf = xe.process, ya = xe.Dispatch, lf = xe.Function, zc = xe.MessageChannel, df = xe.String, ba = 0, Sr = {}, Fc = "onreadystatechange", Ir, gt, Ca, _a;
wd(function() {
Ir = xe.location;
});
var oo = function(t) {
if (rf(Sr, t)) {
var e = Sr[t];
delete Sr[t], e();
}
}, wa = function(t) {
return function() {
oo(t);
};
}, Zc = function(t) {
oo(t.data);
}, qc = function(t) {
xe.postMessage(df(t), Ir.protocol + "//" + Ir.host);
};
(!cs || !ls) && (cs = function(e) {
af(arguments.length, 1);
var r = Bc(e) ? e : lf(e), n = nf(arguments, 1);
return Sr[++ba] = function() {
ef(r, void 0, n);
}, gt(ba), ba;
}, ls = function(e) {
delete Sr[e];
}, of ? gt = function(t) {
cf.nextTick(wa(t));
} : ya && ya.now ? gt = function(t) {
ya.now(wa(t));
} : zc && !sf ? (Ca = new zc(), _a = Ca.port2, Ca.port1.onmessage = Zc, gt = tf(_a.postMessage, _a)) : xe.addEventListener && Bc(xe.postMessage) && !xe.importScripts && Ir && Ir.protocol !== "file:" && !wd(qc) ? (gt = qc, xe.addEventListener("message", Zc, !1)) : Fc in Uc("script") ? gt = function(t) {
Vc.appendChild(Uc("script"))[Fc] = function() {
Vc.removeChild(this), oo(t);
};
} : gt = function(t) {
setTimeout(wa(t), 0);
});
var Sd = {
set: cs,
clear: ls
}, Wc = ie, uf = Te, pf = Object.getOwnPropertyDescriptor, hf = function(t) {
if (!uf) return Wc[t];
var e = pf(Wc, t);
return e && e.value;
}, xd = function() {
this.head = null, this.tail = null;
};
xd.prototype = {
add: function(t) {
var e = { item: t, next: null }, r = this.tail;
r ? r.next = e : this.head = e, this.tail = e;
},
get: function() {
var t = this.head;
if (t) {
var e = this.head = t.next;
return e === null && (this.tail = null), t.item;
}
}
};
var Ed = xd, ff = wi, mf = /ipad|iphone|ipod/i.test(ff) && typeof Pebble < "u", gf = wi, vf = /web0s(?!.*chrome)/i.test(gf), er = ie, yf = hf, Kc = Pi, Sa = Sd.set, bf = Ed, Cf = _d, _f = mf, wf = vf, xa = Li, Gc = er.MutationObserver || er.WebKitMutationObserver, Yc = er.document, Jc = er.process, xn = er.Promise, ds = yf("queueMicrotask"), Bt, Ea, $a, En, Qc;
if (!ds) {
var $n = new bf(), Tn = function() {
var t, e;
for (xa && (t = Jc.domain) && t.exit(); e = $n.get(); ) try {
e();
} catch (r) {
throw $n.head && Bt(), r;
}
t && t.enter();
};
!Cf && !xa && !wf && Gc && Yc ? (Ea = !0, $a = Yc.createTextNode(""), new Gc(Tn).observe($a, { characterData: !0 }), Bt = function() {
$a.data = Ea = !Ea;
}) : !_f && xn && xn.resolve ? (En = xn.resolve(void 0), En.constructor = xn, Qc = Kc(En.then, En), Bt = function() {
Qc(Tn);
}) : xa ? Bt = function() {
Jc.nextTick(Tn);
} : (Sa = Kc(Sa, er), Bt = function() {
Sa(Tn);
}), ds = function(t) {
$n.head || Bt(), $n.add(t);
};
}
var Sf = ds, xf = function(t, e) {
try {
arguments.length === 1 ? console.error(t) : console.error(t, e);
} catch {
}
}, nn = function(t) {
try {
return { error: !1, value: t() };
} catch (e) {
return { error: !0, value: e };
}
}, Ef = ie, an = Ef.Promise, $d = typeof Deno == "object" && Deno && typeof Deno.version == "object", $f = $d, Tf = Li, Of = !$f && !Tf && typeof window == "object" && typeof document == "object", If = ie, xr = an, Pf = re, Af = Ul, Rf = Xs, Lf = be, kf = Of, Mf = $d, Ta = yl;
xr && xr.prototype;
var Nf = Lf("species"), us = !1, Td = Pf(If.PromiseRejectionEvent), Df = Af("Promise", function() {
var t = Rf(xr), e = t !== String(xr);
if (!e && Ta === 66) return !0;
if (!Ta || Ta < 51 || !/native code/.test(t)) {
var r = new xr(function(a) {
a(1);
}), n = function(a) {
a(function() {
}, function() {
});
}, i = r.constructor = {};
if (i[Nf] = n, us = r.then(function() {
}) instanceof n, !us) return !0;
}
return !e && (kf || Mf) && !Td;
}), sn = {
CONSTRUCTOR: Df,
REJECTION_EVENT: Td,
SUBCLASSING: us
}, rt = {}, Xc = Ge, Hf = TypeError, jf = function(t) {
var e, r;
this.promise = new t(function(n, i) {
if (e !== void 0 || r !== void 0) throw new Hf("Bad Promise constructor");
e = n, r = i;
}), this.resolve = Xc(e), this.reject = Xc(r);
};
rt.f = function(t) {
return new jf(t);
};
var Bf = le, Qn = Li, ct = ie, tr = Oe, e1 = Nt, t1 = to, Vf = Ii, Uf = M6, zf = Ge, Bn = re, Ff = De, Zf = H6, qf = bd, Od = Sd.set, co = Sf, Wf = xf, Kf = nn, Gf = Ed, Id = Ti, Xn = an, lo = sn, Pd = rt, ki = "Promise", Ad = lo.CONSTRUCTOR, Yf = lo.REJECTION_EVENT, Jf = lo.SUBCLASSING, Oa = Id.getterFor(ki), Qf = Id.set, zt = Xn && Xn.prototype, bt = Xn, On = zt, Rd = ct.TypeError, ps = ct.document, uo = ct.process, hs = Pd.f, Xf = hs, e9 = !!(ps && ps.createEvent && ct.dispatchEvent), Ld = "unhandledrejection", t9 = "rejectionhandled", r1 = 0, kd = 1, r9 = 2, po = 1, Md = 2, In, n1, n9, i1, Nd = function(t) {
var e;
return Ff(t) && Bn(e = t.then) ? e : !1;
}, Dd = function(t, e) {
var r = e.value, n = e.state === kd, i = n ? t.ok : t.fail, a = t.resolve, s = t.reject, c = t.domain, l, d, u;
try {
i ? (n || (e.rejection === Md && a9(e), e.rejection = po), i === !0 ? l = r : (c && c.enter(), l = i(r), c && (c.exit(), u = !0)), l === t.promise ? s(new Rd("Promise-chain cycle")) : (d = Nd(l)) ? tr(d, l, a, s) : a(l)) : s(r);
} catch (h) {
c && !u && c.exit(), s(h);
}
}, Hd = function(t, e) {
t.notified || (t.notified = !0, co(function() {
for (var r = t.reactions, n; n = r.get(); )
Dd(n, t);
t.notified = !1, e && !t.rejection && i9(t);
}));
}, jd = function(t, e, r) {
var n, i;
e9 ? (n = ps.createEvent("Event"), n.promise = e, n.reason = r, n.initEvent(t, !1, !0), ct.dispatchEvent(n)) : n = { promise: e, reason: r }, !Yf && (i = ct["on" + t]) ? i(n) : t === Ld && Wf("Unhandled promise rejection", r);
}, i9 = function(t) {
tr(Od, ct, function() {
var e = t.facade, r = t.value, n = a1(t), i;
if (n && (i = Kf(function() {
Qn ? uo.emit("unhandledRejection", r, e) : jd(Ld, e, r);
}), t.rejection = Qn || a1(t) ? Md : po, i.error))
throw i.value;
});
}, a1 = function(t) {
return t.rejection !== po && !t.parent;
}, a9 = function(t) {
tr(Od, ct, function() {
var e = t.facade;
Qn ? uo.emit("rejectionHandled", e) : jd(t9, e, t.value);
});
}, Wt = function(t, e, r) {
return function(n) {
t(e, n, r);
};
}, Gt = function(t, e, r) {
t.done || (t.done = !0, r && (t = r), t.value = e, t.state = r9, Hd(t, !0));
}, fs = function(t, e, r) {
if (!t.done) {
t.done = !0, r && (t = r);
try {
if (t.facade === e) throw new Rd("Promise can't be resolved itself");
var n = Nd(e);
n ? co(function() {
var i = { done: !1 };
try {
tr(
n,
e,
Wt(fs, i, t),
Wt(Gt, i, t)
);
} catch (a) {
Gt(i, a, t);
}
}) : (t.value = e, t.state = kd, Hd(t, !1));
} catch (i) {
Gt({ done: !1 }, i, t);
}
}
};
if (Ad && (bt = function(e) {
Zf(this, On), zf(e), tr(In, this);
var r = Oa(this);
try {
e(Wt(fs, r), Wt(Gt, r));
} catch (n) {
Gt(r, n);
}
}, On = bt.prototype, In = function(e) {
Qf(this, {
type: ki,
done: !1,
notified: !1,
parent: !1,
reactions: new Gf(),
rejection: !1,
state: r1,
value: void 0
});
}, In.prototype = e1(On, "then", function(e, r) {
var n = Oa(this), i = hs(qf(this, bt));
return n.parent = !0, i.ok = Bn(e) ? e : !0, i.fail = Bn(r) && r, i.domain = Qn ? uo.domain : void 0, n.state === r1 ? n.reactions.add(i) : co(function() {
Dd(i, n);
}), i.promise;
}), n1 = function() {
var t = new In(), e = Oa(t);
this.promise = t, this.resolve = Wt(fs, e), this.reject = Wt(Gt, e);
}, Pd.f = hs = function(t) {
return t === bt || t === n9 ? new n1(t) : Xf(t);
}, Bn(Xn) && zt !== Object.prototype)) {
i1 = zt.then, Jf || e1(zt, "then", function(e, r) {
var n = this;
return new bt(function(i, a) {
tr(i1, n, i, a);
}).then(e, r);
}, { unsafe: !0 });
try {
delete zt.constructor;
} catch {
}
t1 && t1(zt, On);
}
Bf({ global: !0, constructor: !0, wrap: !0, forced: Ad }, {
Promise: bt
});
Vf(bt, ki, !1);
Uf(ki);
var s9 = an, o9 = md, c9 = sn.CONSTRUCTOR, Mi = c9 || !o9(function(t) {
s9.all(t).then(void 0, function() {
});
}), l9 = le, d9 = Oe, u9 = Ge, p9 = rt, h9 = nn, f9 = or, m9 = Mi;
l9({ target: "Promise", stat: !0, forced: m9 }, {
all: function(e) {
var r = this, n = p9.f(r), i = n.resolve, a = n.reject, s = h9(function() {
var c = u9(r.resolve), l = [], d = 0, u = 1;
f9(e, function(h) {
var C = d++, w = !1;
u++, d9(c, r, h).then(function(v) {
w || (w = !0, l[C] = v, --u || i(l));
}, a);
}), --u || i(l);
});
return s.error && a(s.value), n.promise;
}
});
var g9 = le, v9 = sn.CONSTRUCTOR, ms = an, y9 = tt, b9 = re, C9 = Nt, s1 = ms && ms.prototype;
g9({ target: "Promise", proto: !0, forced: v9, real: !0 }, {
catch: function(t) {
return this.then(void 0, t);
}
});
if (b9(ms)) {
var o1 = y9("Promise").prototype.catch;
s1.catch !== o1 && C9(s1, "catch", o1, { unsafe: !0 });
}
var _9 = le, w9 = Oe, S9 = Ge, x9 = rt, E9 = nn, $9 = or, T9 = Mi;
_9({ target: "Promise", stat: !0, forced: T9 }, {
race: function(e) {
var r = this, n = x9.f(r), i = n.reject, a = E9(function() {
var s = S9(r.resolve);
$9(e, function(c) {
w9(s, r, c).then(n.resolve, i);
});
});
return a.error && i(a.value), n.promise;
}
});
var O9 = le, I9 = rt, P9 = sn.CONSTRUCTOR;
O9({ target: "Promise", stat: !0, forced: P9 }, {
reject: function(e) {
var r = I9.f(this), n = r.reject;
return n(e), r.promise;
}
});
var A9 = We, R9 = De, L9 = rt, Bd = function(t, e) {
if (A9(t), R9(e) && e.constructor === t) return e;
var r = L9.f(t), n = r.resolve;
return n(e), r.promise;
}, k9 = le, M9 = tt, N9 = sn.CONSTRUCTOR, D9 = Bd;
M9("Promise");
k9({ target: "Promise", stat: !0, forced: N9 }, {
resolve: function(e) {
return D9(this, e);
}
});
var H9 = le, j9 = Oe, B9 = Ge, V9 = rt, U9 = nn, z9 = or, F9 = Mi;
H9({ target: "Promise", stat: !0, forced: F9 }, {
allSettled: function(e) {
var r = this, n = V9.f(r), i = n.resolve, a = n.reject, s = U9(function() {
var c = B9(r.resolve), l = [], d = 0, u = 1;
z9(e, function(h) {
var C = d++, w = !1;
u++, j9(c, r, h).then(function(v) {
w || (w = !0, l[C] = { status: "fulfilled", value: v }, --u || i(l));
}, function(v) {
w || (w = !0, l[C] = { status: "rejected", reason: v }, --u || i(l));
});
}), --u || i(l);
});
return s.error && a(s.value), n.promise;
}
});
var Z9 = le, q9 = Oe, W9 = Ge, K9 = tt, G9 = rt, Y9 = nn, J9 = or, Q9 = Mi, c1 = "No one promise resolved";
Z9({ target: "Promise", stat: !0, forced: Q9 }, {
any: function(e) {
var r = this, n = K9("AggregateError"), i = G9.f(r), a = i.resolve, s = i.reject, c = Y9(function() {
var l = W9(r.resolve), d = [], u = 0, h = 1, C = !1;
J9(e, function(w) {
var v = u++, S = !1;
h++, q9(l, r, w).then(function(_) {
S || C || (C = !0, a(_));
}, function(_) {
S || C || (S = !0, d[v] = _, --h || s(new n(d, c1)));
});
}), --h || s(new n(d, c1));
});
return c.error && s(c.value), i.promise;
}
});
var X9 = le, e8 = rt;
X9({ target: "Promise", stat: !0 }, {
withResolvers: function() {
var e = e8.f(this);
return {
promise: e.promise,
resolve: e.resolve,
reject: e.reject
};
}
});
var t8 = le, ei = an, r8 = ye, Vd = tt, Ud = re, n8 = bd, l1 = Bd, i8 = Nt, gs = ei && ei.prototype, a8 = !!ei && r8(function() {
gs.finally.call({ then: function() {
} }, function() {
});
});
t8({ target: "Promise", proto: !0, real: !0, forced: a8 }, {
finally: function(t) {
var e = n8(this, Vd("Promise")), r = Ud(t);
return this.then(
r ? function(n) {
return l1(e, t()).then(function() {
return n;
});
} : t,
r ? function(n) {
return l1(e, t()).then(function() {
throw n;
});
} : t
);
}
});
if (Ud(ei)) {
var d1 = Vd("Promise").prototype.finally;
gs.finally !== d1 && i8(gs, "finally", d1, { unsafe: !0 });
}
var s8 = cr;
s8.Promise;
var o8 = {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0
}, c8 = Si, Ia = c8("span").classList, u1 = Ia && Ia.constructor && Ia.constructor.prototype, l8 = u1 === Object.prototype ? void 0 : u1, p1 = ie, zd = o8, d8 = l8, Cr = Q3, h1 = Mt, u8 = Ii, p8 = be, Pa = p8("iterator"), Aa = Cr.values, Fd = function(t, e) {
if (t) {
if (t[Pa] !== Aa) try {
h1(t, Pa, Aa);
} catch {
t[Pa] = Aa;
}
if (u8(t, e, !0), zd[e]) {
for (var r in Cr)
if (t[r] !== Cr[r]) try {
h1(t, r, Cr[r]);
} catch {
t[r] = Cr[r];
}
}
}
};
for (var Ra in zd)
Fd(p1[Ra] && p1[Ra].prototype, Ra);
Fd(d8, "DOMTokenList");
var h8 = le, Zd = ce, f8 = kt, m8 = _i, f1 = Ri, g8 = $i, m1 = Zd([].push), v8 = Zd([].join);
h8({ target: "String", stat: !0 }, {
raw: function(e) {
var r = f8(m8(e).raw), n = g8(r);
if (!n) return "";
for (var i = arguments.length, a = [], s = 0; ; ) {
if (m1(a, f1(r[s++])), s === n) return v8(a, "");
s < i && m1(a, f1(arguments[s]));
}
}
});
var y8 = cr;
y8.String.raw;
(function() {
if (typeof window != "object")
return;
if ("IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype) {
"isIntersecting" in window.IntersectionObserverEntry.prototype || Object.defineProperty(
window.IntersectionObserverEntry.prototype,
"isIntersecting",
{
get: function() {
return this.intersectionRatio > 0;
}
}
);
return;
}
function t(p) {
try {
return p.defaultView && p.defaultView.frameElement || null;
} catch {
return null;
}
}
var e = function(p) {
for (var m = p, g = t(m); g; )
m = g.ownerDocument, g = t(m);
return m;
}(window.document), r = [], n = null, i = null;
function a(p) {
this.time = p.time, this.target = p.target, this.rootBounds = v(p.rootBounds), this.boundingClientRect = v(p.boundingClientRect), this.intersectionRect = v(p.intersectionRect || w()), this.isIntersecting = !!p.intersectionRect;
var m = this.boundingClientRect, g = m.width * m.height, $ = this.intersectionRect, O = $.width * $.height;
g ? this.intersectionRatio = Number((O / g).toFixed(4)) : this.intersectionRatio = this.isIntersecting ? 1 : 0;
}
function s(p, m) {
var g = m || {};
if (typeof p != "function")
throw new Error("callback must be a function");
if (g.root && g.root.nodeType != 1 && g.root.nodeType != 9)
throw new Error("root must be a Document or Element");
this._checkForIntersections = l(
this._checkForIntersections.bind(this),
this.THROTTLE_TIMEOUT
), this._callback = p, this._observationTargets = [], this._queuedEntries = [], this._rootMarginValues = this._parseRootMargin(g.rootMargin), this.thresholds = this._initThresholds(g.threshold), this.root = g.root || null, this.rootMargin = this._rootMarginValues.map(function($) {
return $.value + $.unit;
}).join(" "), this._monitoringDocuments = [], this._monitoringUnsubscribes = [];
}
s.prototype.THROTTLE_TIMEOUT = 100, s.prototype.POLL_INTERVAL = null, s.prototype.USE_MUTATION_OBSERVER = !0, s._setupCrossOriginUpdater = function() {
return n || (n = function(p, m) {
!p || !m ? i = w() : i = S(p, m), r.forEach(function(g) {
g._checkForIntersections();
});
}), n;
}, s._resetCrossOriginUpdater = function() {
n = null, i = null;
}, s.prototype.observe = function(p) {
var m = this._observationTargets.some(function(g) {
return g.element == p;
});
if (!m) {
if (!(p && p.nodeType == 1))
throw new Error("target must be an Element");
this._registerInstance(), this._observationTargets.push({ element: p, entry: null }), this._monitorIntersections(p.ownerDocument), this._checkForIntersections();
}
}, s.prototype.unobserve = function(p) {
this._observationTargets = this._observationTargets.filter(function(m) {
return m.element != p;
}), this._unmonitorIntersections(p.ownerDocument), this._observationTargets.length == 0 && this._unregisterInstance();
}, s.prototype.disconnect = function() {
this._observationTargets = [], this._unmonitorAllIntersections(), this._unregisterInstance();
}, s.prototype.takeRecords = function() {
var p = this._queuedEntries.slice();
return this._queuedEntries = [], p;
}, s.prototype._initThresholds = function(p) {
var m = p || [0];
return Array.isArray(m) || (m = [m]), m.sort().filter(function(g, $, O) {
if (typeof g != "number" || isNaN(g) || g < 0 || g > 1)
throw new Error("threshold must be a number between 0 and 1 inclusively");
return g !== O[$ - 1];
});
}, s.prototype._parseRootMargin = function(p) {
var m = p || "0px", g = m.split(/\s+/).map(function($) {
var O = /^(-?\d*\.?\d+)(px|%)$/.exec($);
if (!O)
throw new Error("rootMargin must be specified in pixels or percent");
return { value: parseFloat(O[1]), unit: O[2] };
});
return g[1] = g[1] || g[0], g[2] = g[2] || g[0], g[3] = g[3] || g[1], g;
}, s.prototype._monitorIntersections = function(p) {
var m = p.defaultView;
if (m && this._monitoringDocuments.indexOf(p) == -1) {
var g = this._checkForIntersections, $ = null, O = null;
this.POLL_INTERVAL ? $ = m.setInterval(g, this.POLL_INTERVAL) : (d(m, "resize", g, !0), d(p, "scroll", g, !0), this.USE_MUTATION_OBSERVER && "MutationObserver" in m && (O = new m.MutationObserver(g), O.observe(p, {
attributes: !0,
childList: !0,
characterData: !0,
subtree: !0
}))), this._monitoringDocuments.push(p), this._monitoringUnsubscribes.push(function() {
var Q = p.defaultView;
Q && ($ && Q.clearInterval($), u(Q, "resize", g, !0)), u(p, "scroll", g, !0), O && O.disconnect();
});
var z = this.root && (this.root.ownerDocument || this.root) || e;
if (p != z) {
var Z = t(p);
Z && this._monitorIntersections(Z.ownerDocument);
}
}
}, s.prototype._unmonitorIntersections = function(p) {
var m = this._monitoringDocuments.indexOf(p);
if (m != -1) {
var g = this.root && (this.root.ownerDocument || this.root) || e, $ = this._observationTargets.some(function(Z) {
var Q = Z.element.ownerDocument;
if (Q == p)
return !0;
for (; Q && Q != g; ) {
var he = t(Q);
if (Q = he && he.ownerDocument, Q == p)
return !0;
}
return !1;
});
if (!$) {
var O = this._monitoringUnsubscribes[m];
if (this._monitori