mx-ui-components
Version:
mobius ui library
1,334 lines • 208 kB
JavaScript
import { c as Ke, _ as Ga, g as Po } from "./index-kItcrJCs.js";
var vt = function(a) {
return a && a.Math === Math && a;
}, V = (
// eslint-disable-next-line es/no-global-this -- safe
vt(typeof globalThis == "object" && globalThis) || vt(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
vt(typeof self == "object" && self) || vt(typeof Ke == "object" && Ke) || vt(typeof Ke == "object" && Ke) || // eslint-disable-next-line no-new-func -- fallback
/* @__PURE__ */ function() {
return this;
}() || Function("return this")()
), $t = {}, k = function(a) {
try {
return !!a();
} catch {
return !0;
}
}, Tl = k, le = !Tl(function() {
return Object.defineProperty({}, 1, { get: function() {
return 7;
} })[1] !== 7;
}), Ol = k, mr = !Ol(function() {
var a = (function() {
}).bind();
return typeof a != "function" || a.hasOwnProperty("prototype");
}), Sl = mr, Ut = Function.prototype.call, Y = Sl ? Ut.bind(Ut) : function() {
return Ut.apply(Ut, arguments);
}, Ro = {}, No = {}.propertyIsEnumerable, Io = Object.getOwnPropertyDescriptor, El = Io && !No.call({ 1: 2 }, 1);
Ro.f = El ? function(e) {
var t = Io(this, e);
return !!t && t.enumerable;
} : No;
var bi = function(a, e) {
return {
enumerable: !(a & 1),
configurable: !(a & 2),
writable: !(a & 4),
value: e
};
}, Mo = mr, _o = Function.prototype, za = _o.call, $l = Mo && _o.bind.bind(za, za), L = Mo ? $l : function(a) {
return function() {
return za.apply(a, arguments);
};
}, Vo = L, wl = Vo({}.toString), Cl = Vo("".slice), Be = function(a) {
return Cl(wl(a), 8, -1);
}, Al = L, Pl = k, Rl = Be, Qr = Object, Nl = Al("".split), Do = Pl(function() {
return !Qr("z").propertyIsEnumerable(0);
}) ? function(a) {
return Rl(a) === "String" ? Nl(a, "") : Qr(a);
} : Qr, je = function(a) {
return a == null;
}, Il = je, Ml = TypeError, he = function(a) {
if (Il(a)) throw new Ml("Can't call method on " + a);
return a;
}, _l = Do, Vl = he, wt = function(a) {
return _l(Vl(a));
}, Kr = typeof document == "object" && document.all, B = typeof Kr > "u" && Kr !== void 0 ? function(a) {
return typeof a == "function" || a === Kr;
} : function(a) {
return typeof a == "function";
}, Dl = B, ve = function(a) {
return typeof a == "object" ? a !== null : Dl(a);
}, Zr = V, kl = B, Ll = function(a) {
return kl(a) ? a : void 0;
}, Fe = function(a, e) {
return arguments.length < 2 ? Ll(Zr[a]) : Zr[a] && Zr[a][e];
}, Bl = L, br = Bl({}.isPrototypeOf), jl = V, fn = jl.navigator, cn = fn && fn.userAgent, Ct = cn ? String(cn) : "", ko = V, Jr = Ct, gn = ko.process, dn = ko.Deno, pn = gn && gn.versions || dn && dn.version, yn = pn && pn.v8, ue, fr;
yn && (ue = yn.split("."), fr = ue[0] > 0 && ue[0] < 4 ? 1 : +(ue[0] + ue[1]));
!fr && Jr && (ue = Jr.match(/Edge\/(\d+)/), (!ue || ue[1] >= 74) && (ue = Jr.match(/Chrome\/(\d+)/), ue && (fr = +ue[1])));
var xi = fr, mn = xi, Fl = k, Ul = V, Gl = Ul.String, Lo = !!Object.getOwnPropertySymbols && !Fl(function() {
var a = Symbol("symbol detection");
return !Gl(a) || !(Object(a) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
!Symbol.sham && mn && mn < 41;
}), zl = Lo, Bo = zl && !Symbol.sham && typeof Symbol.iterator == "symbol", Hl = Fe, Yl = B, Xl = br, Wl = Bo, ql = Object, jo = Wl ? function(a) {
return typeof a == "symbol";
} : function(a) {
var e = Hl("Symbol");
return Yl(e) && Xl(e.prototype, ql(a));
}, Ql = String, xr = function(a) {
try {
return Ql(a);
} catch {
return "Object";
}
}, Kl = B, Zl = xr, Jl = TypeError, Te = function(a) {
if (Kl(a)) return a;
throw new Jl(Zl(a) + " is not a function");
}, eh = Te, th = je, ot = function(a, e) {
var t = a[e];
return th(t) ? void 0 : eh(t);
}, ea = Y, ta = B, ra = ve, rh = TypeError, ah = function(a, e) {
var t, r;
if (e === "string" && ta(t = a.toString) && !ra(r = ea(t, a)) || ta(t = a.valueOf) && !ra(r = ea(t, a)) || e !== "string" && ta(t = a.toString) && !ra(r = ea(t, a))) return r;
throw new rh("Can't convert object to primitive value");
}, Fo = { exports: {} }, bn = V, ih = Object.defineProperty, Ti = function(a, e) {
try {
ih(bn, a, { value: e, configurable: !0, writable: !0 });
} catch {
bn[a] = e;
}
return e;
}, nh = V, sh = Ti, xn = "__core-js_shared__", Tn = Fo.exports = nh[xn] || sh(xn, {});
(Tn.versions || (Tn.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 Oi = Fo.exports, On = Oi, Si = function(a, e) {
return On[a] || (On[a] = e || {});
}, oh = he, uh = Object, Tr = function(a) {
return uh(oh(a));
}, lh = L, hh = Tr, vh = lh({}.hasOwnProperty), fe = Object.hasOwn || function(e, t) {
return vh(hh(e), t);
}, fh = L, ch = 0, gh = Math.random(), dh = fh(1 .toString), Uo = function(a) {
return "Symbol(" + (a === void 0 ? "" : a) + ")_" + dh(++ch + gh, 36);
}, ph = V, yh = Si, Sn = fe, mh = Uo, bh = Lo, xh = Bo, Ze = ph.Symbol, aa = yh("wks"), Th = xh ? Ze.for || Ze : Ze && Ze.withoutSetter || mh, z = function(a) {
return Sn(aa, a) || (aa[a] = bh && Sn(Ze, a) ? Ze[a] : Th("Symbol." + a)), aa[a];
}, Oh = Y, En = ve, $n = jo, Sh = ot, Eh = ah, $h = z, wh = TypeError, Ch = $h("toPrimitive"), Ah = function(a, e) {
if (!En(a) || $n(a)) return a;
var t = Sh(a, Ch), r;
if (t) {
if (e === void 0 && (e = "default"), r = Oh(t, a, e), !En(r) || $n(r)) return r;
throw new wh("Can't convert object to primitive value");
}
return e === void 0 && (e = "number"), Eh(a, e);
}, Ph = Ah, Rh = jo, Go = function(a) {
var e = Ph(a, "string");
return Rh(e) ? e : e + "";
}, Nh = V, wn = ve, Ha = Nh.document, Ih = wn(Ha) && wn(Ha.createElement), Or = function(a) {
return Ih ? Ha.createElement(a) : {};
}, Mh = le, _h = k, Vh = Or, zo = !Mh && !_h(function() {
return Object.defineProperty(Vh("div"), "a", {
get: function() {
return 7;
}
}).a !== 7;
}), Dh = le, kh = Y, Lh = Ro, Bh = bi, jh = wt, Fh = Go, Uh = fe, Gh = zo, Cn = Object.getOwnPropertyDescriptor;
$t.f = Dh ? Cn : function(e, t) {
if (e = jh(e), t = Fh(t), Gh) try {
return Cn(e, t);
} catch {
}
if (Uh(e, t)) return Bh(!kh(Lh.f, e, t), e[t]);
};
var Oe = {}, zh = le, Hh = k, Ho = zh && Hh(function() {
return Object.defineProperty(function() {
}, "prototype", {
value: 42,
writable: !1
}).prototype !== 42;
}), Yh = ve, Xh = String, Wh = TypeError, J = function(a) {
if (Yh(a)) return a;
throw new Wh(Xh(a) + " is not an object");
}, qh = le, Qh = zo, Kh = Ho, Gt = J, An = Go, Zh = TypeError, ia = Object.defineProperty, Jh = Object.getOwnPropertyDescriptor, na = "enumerable", sa = "configurable", oa = "writable";
Oe.f = qh ? Kh ? function(e, t, r) {
if (Gt(e), t = An(t), Gt(r), typeof e == "function" && t === "prototype" && "value" in r && oa in r && !r[oa]) {
var i = Jh(e, t);
i && i[oa] && (e[t] = r.value, r = {
configurable: sa in r ? r[sa] : i[sa],
enumerable: na in r ? r[na] : i[na],
writable: !1
});
}
return ia(e, t, r);
} : ia : function(e, t, r) {
if (Gt(e), t = An(t), Gt(r), Qh) try {
return ia(e, t, r);
} catch {
}
if ("get" in r || "set" in r) throw new Zh("Accessors not supported");
return "value" in r && (e[t] = r.value), e;
};
var ev = le, tv = Oe, rv = bi, At = ev ? function(a, e, t) {
return tv.f(a, e, rv(1, t));
} : function(a, e, t) {
return a[e] = t, a;
}, Yo = { exports: {} }, Ya = le, av = fe, Xo = Function.prototype, iv = Ya && Object.getOwnPropertyDescriptor, Wo = av(Xo, "name"), nv = Wo && (function() {
}).name === "something", sv = Wo && (!Ya || Ya && iv(Xo, "name").configurable), Sr = {
PROPER: nv,
CONFIGURABLE: sv
}, ov = L, uv = B, Xa = Oi, lv = ov(Function.toString);
uv(Xa.inspectSource) || (Xa.inspectSource = function(a) {
return lv(a);
});
var Ei = Xa.inspectSource, hv = V, vv = B, Pn = hv.WeakMap, fv = vv(Pn) && /native code/.test(String(Pn)), cv = Si, gv = Uo, Rn = cv("keys"), $i = function(a) {
return Rn[a] || (Rn[a] = gv(a));
}, wi = {}, dv = fv, qo = V, pv = ve, yv = At, ua = fe, la = Oi, mv = $i, bv = wi, Nn = "Object already initialized", Wa = qo.TypeError, xv = qo.WeakMap, cr, Ot, gr, Tv = function(a) {
return gr(a) ? Ot(a) : cr(a, {});
}, Ov = function(a) {
return function(e) {
var t;
if (!pv(e) || (t = Ot(e)).type !== a)
throw new Wa("Incompatible receiver, " + a + " required");
return t;
};
};
if (dv || la.state) {
var de = la.state || (la.state = new xv());
de.get = de.get, de.has = de.has, de.set = de.set, cr = function(a, e) {
if (de.has(a)) throw new Wa(Nn);
return e.facade = a, de.set(a, e), e;
}, Ot = function(a) {
return de.get(a) || {};
}, gr = function(a) {
return de.has(a);
};
} else {
var Ye = mv("state");
bv[Ye] = !0, cr = function(a, e) {
if (ua(a, Ye)) throw new Wa(Nn);
return e.facade = a, yv(a, Ye, e), e;
}, Ot = function(a) {
return ua(a, Ye) ? a[Ye] : {};
}, gr = function(a) {
return ua(a, Ye);
};
}
var Er = {
set: cr,
get: Ot,
has: gr,
enforce: Tv,
getterFor: Ov
}, Ci = L, Sv = k, Ev = B, zt = fe, qa = le, $v = Sr.CONFIGURABLE, wv = Ei, Qo = Er, Cv = Qo.enforce, Av = Qo.get, In = String, sr = Object.defineProperty, Pv = Ci("".slice), Rv = Ci("".replace), Nv = Ci([].join), Iv = qa && !Sv(function() {
return sr(function() {
}, "length", { value: 8 }).length !== 8;
}), Mv = String(String).split("String"), _v = Yo.exports = function(a, e, t) {
Pv(In(e), 0, 7) === "Symbol(" && (e = "[" + Rv(In(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), t && t.getter && (e = "get " + e), t && t.setter && (e = "set " + e), (!zt(a, "name") || $v && a.name !== e) && (qa ? sr(a, "name", { value: e, configurable: !0 }) : a.name = e), Iv && t && zt(t, "arity") && a.length !== t.arity && sr(a, "length", { value: t.arity });
try {
t && zt(t, "constructor") && t.constructor ? qa && sr(a, "prototype", { writable: !1 }) : a.prototype && (a.prototype = void 0);
} catch {
}
var r = Cv(a);
return zt(r, "source") || (r.source = Nv(Mv, typeof e == "string" ? e : "")), a;
};
Function.prototype.toString = _v(function() {
return Ev(this) && Av(this).source || wv(this);
}, "toString");
var Ko = Yo.exports, Vv = B, Dv = Oe, kv = Ko, Lv = Ti, Ue = function(a, e, t, r) {
r || (r = {});
var i = r.enumerable, n = r.name !== void 0 ? r.name : e;
if (Vv(t) && kv(t, n, r), r.global)
i ? a[e] = t : Lv(e, t);
else {
try {
r.unsafe ? a[e] && (i = !0) : delete a[e];
} catch {
}
i ? a[e] = t : Dv.f(a, e, {
value: t,
enumerable: !1,
configurable: !r.nonConfigurable,
writable: !r.nonWritable
});
}
return a;
}, Zo = {}, Bv = Math.ceil, jv = Math.floor, Fv = Math.trunc || function(e) {
var t = +e;
return (t > 0 ? jv : Bv)(t);
}, Uv = Fv, $r = function(a) {
var e = +a;
return e !== e || e === 0 ? 0 : Uv(e);
}, Gv = $r, zv = Math.max, Hv = Math.min, Yv = function(a, e) {
var t = Gv(a);
return t < 0 ? zv(t + e, 0) : Hv(t, e);
}, Xv = $r, Wv = Math.min, ut = function(a) {
var e = Xv(a);
return e > 0 ? Wv(e, 9007199254740991) : 0;
}, qv = ut, Ai = function(a) {
return qv(a.length);
}, Qv = wt, Kv = Yv, Zv = Ai, Jv = function(a) {
return function(e, t, r) {
var i = Qv(e), n = Zv(i);
if (n === 0) return !a && -1;
var o = Kv(r, n), s;
if (a && t !== t) {
for (; n > o; )
if (s = i[o++], s !== s) return !0;
} else for (; n > o; o++)
if ((a || o in i) && i[o] === t) return a || o || 0;
return !a && -1;
};
}, Jo = {
// `Array.prototype.indexOf` method
// https://tc39.es/ecma262/#sec-array.prototype.indexof
indexOf: Jv(!1)
}, ef = L, ha = fe, tf = wt, rf = Jo.indexOf, af = wi, Mn = ef([].push), eu = function(a, e) {
var t = tf(a), r = 0, i = [], n;
for (n in t) !ha(af, n) && ha(t, n) && Mn(i, n);
for (; e.length > r; ) ha(t, n = e[r++]) && (~rf(i, n) || Mn(i, n));
return i;
}, Pi = [
"constructor",
"hasOwnProperty",
"isPrototypeOf",
"propertyIsEnumerable",
"toLocaleString",
"toString",
"valueOf"
], nf = eu, sf = Pi, of = sf.concat("length", "prototype");
Zo.f = Object.getOwnPropertyNames || function(e) {
return nf(e, of);
};
var tu = {};
tu.f = Object.getOwnPropertySymbols;
var uf = Fe, lf = L, hf = Zo, vf = tu, ff = J, cf = lf([].concat), gf = uf("Reflect", "ownKeys") || function(e) {
var t = hf.f(ff(e)), r = vf.f;
return r ? cf(t, r(e)) : t;
}, _n = fe, df = gf, pf = $t, yf = Oe, mf = function(a, e, t) {
for (var r = df(e), i = yf.f, n = pf.f, o = 0; o < r.length; o++) {
var s = r[o];
!_n(a, s) && !(t && _n(t, s)) && i(a, s, n(e, s));
}
}, bf = k, xf = B, Tf = /#|\.prototype\./, Pt = function(a, e) {
var t = Sf[Of(a)];
return t === $f ? !0 : t === Ef ? !1 : xf(e) ? bf(e) : !!e;
}, Of = Pt.normalize = function(a) {
return String(a).replace(Tf, ".").toLowerCase();
}, Sf = Pt.data = {}, Ef = Pt.NATIVE = "N", $f = Pt.POLYFILL = "P", ru = Pt, Ht = V, wf = $t.f, Cf = At, Af = Ue, Pf = Ti, Rf = mf, Nf = ru, ee = function(a, e) {
var t = a.target, r = a.global, i = a.stat, n, o, s, u, l, h;
if (r ? o = Ht : i ? o = Ht[t] || Pf(t, {}) : o = Ht[t] && Ht[t].prototype, o) for (s in e) {
if (l = e[s], a.dontCallGetSet ? (h = wf(o, s), u = h && h.value) : u = o[s], n = Nf(r ? s : t + (i ? "." : "#") + s, a.forced), !n && u !== void 0) {
if (typeof l == typeof u) continue;
Rf(l, u);
}
(a.sham || u && u.sham) && Cf(l, "sham", !0), Af(o, s, l, a);
}
}, ft = V, If = Ct, Mf = Be, Yt = function(a) {
return If.slice(0, a.length) === a;
}, au = function() {
return Yt("Bun/") ? "BUN" : Yt("Cloudflare-Workers") ? "CLOUDFLARE" : Yt("Deno/") ? "DENO" : Yt("Node.js/") ? "NODE" : ft.Bun && typeof Bun.version == "string" ? "BUN" : ft.Deno && typeof Deno.version == "object" ? "DENO" : Mf(ft.process) === "process" ? "NODE" : ft.window && ft.document ? "BROWSER" : "REST";
}(), _f = au, wr = _f === "NODE", Vf = L, Df = Te, kf = function(a, e, t) {
try {
return Vf(Df(Object.getOwnPropertyDescriptor(a, e)[t]));
} catch {
}
}, Lf = ve, Bf = function(a) {
return Lf(a) || a === null;
}, jf = Bf, Ff = String, Uf = TypeError, Gf = function(a) {
if (jf(a)) return a;
throw new Uf("Can't set " + Ff(a) + " as a prototype");
}, zf = kf, Hf = ve, Yf = he, Xf = Gf, iu = Object.setPrototypeOf || ("__proto__" in {} ? function() {
var a = !1, e = {}, t;
try {
t = zf(Object.prototype, "__proto__", "set"), t(e, []), a = e instanceof Array;
} catch {
}
return function(i, n) {
return Yf(i), Xf(n), Hf(i) && (a ? t(i, n) : i.__proto__ = n), i;
};
}() : void 0), Wf = Oe.f, qf = fe, Qf = z, Vn = Qf("toStringTag"), Cr = function(a, e, t) {
a && !t && (a = a.prototype), a && !qf(a, Vn) && Wf(a, Vn, { configurable: !0, value: e });
}, Dn = Ko, Kf = Oe, Zf = function(a, e, t) {
return t.get && Dn(t.get, e, { getter: !0 }), t.set && Dn(t.set, e, { setter: !0 }), Kf.f(a, e, t);
}, Jf = Fe, ec = Zf, tc = z, rc = le, kn = tc("species"), ac = function(a) {
var e = Jf(a);
rc && e && !e[kn] && ec(e, kn, {
configurable: !0,
get: function() {
return this;
}
});
}, ic = br, nc = TypeError, sc = function(a, e) {
if (ic(e, a)) return a;
throw new nc("Incorrect invocation");
}, oc = z, uc = oc("toStringTag"), nu = {};
nu[uc] = "z";
var lc = String(nu) === "[object z]", hc = lc, vc = B, or = Be, fc = z, cc = fc("toStringTag"), gc = Object, dc = or(/* @__PURE__ */ function() {
return arguments;
}()) === "Arguments", pc = function(a, e) {
try {
return a[e];
} catch {
}
}, Ri = hc ? or : function(a) {
var e, t, r;
return a === void 0 ? "Undefined" : a === null ? "Null" : typeof (t = pc(e = gc(a), cc)) == "string" ? t : dc ? or(e) : (r = or(e)) === "Object" && vc(e.callee) ? "Arguments" : r;
}, yc = L, mc = k, su = B, bc = Ri, xc = Fe, Tc = Ei, ou = function() {
}, uu = xc("Reflect", "construct"), Ni = /^\s*(?:class|function)\b/, Oc = yc(Ni.exec), Sc = !Ni.test(ou), ct = function(e) {
if (!su(e)) return !1;
try {
return uu(ou, [], e), !0;
} catch {
return !1;
}
}, lu = function(e) {
if (!su(e)) return !1;
switch (bc(e)) {
case "AsyncFunction":
case "GeneratorFunction":
case "AsyncGeneratorFunction":
return !1;
}
try {
return Sc || !!Oc(Ni, Tc(e));
} catch {
return !0;
}
};
lu.sham = !0;
var Ec = !uu || mc(function() {
var a;
return ct(ct.call) || !ct(Object) || !ct(function() {
a = !0;
}) || a;
}) ? lu : ct, $c = Ec, wc = xr, Cc = TypeError, Ac = function(a) {
if ($c(a)) return a;
throw new Cc(wc(a) + " is not a constructor");
}, Ln = J, Pc = Ac, Rc = je, Nc = z, Ic = Nc("species"), hu = function(a, e) {
var t = Ln(a).constructor, r;
return t === void 0 || Rc(r = Ln(t)[Ic]) ? e : Pc(r);
}, Mc = mr, vu = Function.prototype, Bn = vu.apply, jn = vu.call, fu = typeof Reflect == "object" && Reflect.apply || (Mc ? jn.bind(Bn) : function() {
return jn.apply(Bn, arguments);
}), _c = Be, Vc = L, Ar = function(a) {
if (_c(a) === "Function") return Vc(a);
}, Fn = Ar, Dc = Te, kc = mr, Lc = Fn(Fn.bind), Ii = function(a, e) {
return Dc(a), e === void 0 ? a : kc ? Lc(a, e) : function() {
return a.apply(e, arguments);
};
}, Bc = Fe, cu = Bc("document", "documentElement"), jc = L, Fc = jc([].slice), Uc = TypeError, Gc = function(a, e) {
if (a < e) throw new Uc("Not enough arguments");
return a;
}, zc = Ct, gu = /(?:ipad|iphone|ipod).*applewebkit/i.test(zc), ae = V, Hc = fu, Yc = Ii, Un = B, Xc = fe, du = k, Gn = cu, Wc = Fc, zn = Or, qc = Gc, Qc = gu, Kc = wr, Qa = ae.setImmediate, Hn = ae.clearImmediate, Zc = ae.process, va = ae.Dispatch, Jc = ae.Function, Yn = ae.MessageChannel, eg = ae.String, fa = 0, xt = {}, Xn = "onreadystatechange", St, Ie, ca, ga;
du(function() {
St = ae.location;
});
var Mi = function(a) {
if (Xc(xt, a)) {
var e = xt[a];
delete xt[a], e();
}
}, da = function(a) {
return function() {
Mi(a);
};
}, Wn = function(a) {
Mi(a.data);
}, qn = function(a) {
ae.postMessage(eg(a), St.protocol + "//" + St.host);
};
(!Qa || !Hn) && (Qa = function(e) {
qc(arguments.length, 1);
var t = Un(e) ? e : Jc(e), r = Wc(arguments, 1);
return xt[++fa] = function() {
Hc(t, void 0, r);
}, Ie(fa), fa;
}, Hn = function(e) {
delete xt[e];
}, Kc ? Ie = function(a) {
Zc.nextTick(da(a));
} : va && va.now ? Ie = function(a) {
va.now(da(a));
} : Yn && !Qc ? (ca = new Yn(), ga = ca.port2, ca.port1.onmessage = Wn, Ie = Yc(ga.postMessage, ga)) : ae.addEventListener && Un(ae.postMessage) && !ae.importScripts && St && St.protocol !== "file:" && !du(qn) ? (Ie = qn, ae.addEventListener("message", Wn, !1)) : Xn in zn("script") ? Ie = function(a) {
Gn.appendChild(zn("script"))[Xn] = function() {
Gn.removeChild(this), Mi(a);
};
} : Ie = function(a) {
setTimeout(da(a), 0);
});
var pu = {
set: Qa
}, Qn = V, tg = le, rg = Object.getOwnPropertyDescriptor, ag = function(a) {
if (!tg) return Qn[a];
var e = rg(Qn, a);
return e && e.value;
}, yu = function() {
this.head = null, this.tail = null;
};
yu.prototype = {
add: function(a) {
var e = { item: a, next: null }, t = this.tail;
t ? t.next = e : this.head = e, this.tail = e;
},
get: function() {
var a = this.head;
if (a) {
var e = this.head = a.next;
return e === null && (this.tail = null), a.item;
}
}
};
var mu = yu, ig = Ct, ng = /ipad|iphone|ipod/i.test(ig) && typeof Pebble < "u", sg = Ct, og = /web0s(?!.*chrome)/i.test(sg), it = V, ug = ag, Kn = Ii, pa = pu.set, lg = mu, hg = gu, vg = ng, fg = og, ya = wr, Zn = it.MutationObserver || it.WebKitMutationObserver, Jn = it.document, es = it.process, Xt = it.Promise, Ka = ug("queueMicrotask"), Xe, ma, ba, Wt, ts;
if (!Ka) {
var qt = new lg(), Qt = function() {
var a, e;
for (ya && (a = es.domain) && a.exit(); e = qt.get(); ) try {
e();
} catch (t) {
throw qt.head && Xe(), t;
}
a && a.enter();
};
!hg && !ya && !fg && Zn && Jn ? (ma = !0, ba = Jn.createTextNode(""), new Zn(Qt).observe(ba, { characterData: !0 }), Xe = function() {
ba.data = ma = !ma;
}) : !vg && Xt && Xt.resolve ? (Wt = Xt.resolve(void 0), Wt.constructor = Xt, ts = Kn(Wt.then, Wt), Xe = function() {
ts(Qt);
}) : ya ? Xe = function() {
es.nextTick(Qt);
} : (pa = Kn(pa, it), Xe = function() {
pa(Qt);
}), Ka = function(a) {
qt.head || Xe(), qt.add(a);
};
}
var cg = Ka, gg = function(a, e) {
try {
arguments.length === 1 ? console.error(a) : console.error(a, e);
} catch {
}
}, _i = function(a) {
try {
return { error: !1, value: a() };
} catch (e) {
return { error: !0, value: e };
}
}, dg = V, Pr = dg.Promise, pg = V, Tt = Pr, yg = B, mg = ru, bg = Ei, xg = z, rs = au, xa = xi;
Tt && Tt.prototype;
var Tg = xg("species"), Za = !1, bu = yg(pg.PromiseRejectionEvent), Og = mg("Promise", function() {
var a = bg(Tt), e = a !== String(Tt);
if (!e && xa === 66) return !0;
if (!xa || xa < 51 || !/native code/.test(a)) {
var t = new Tt(function(n) {
n(1);
}), r = function(n) {
n(function() {
}, function() {
});
}, i = t.constructor = {};
if (i[Tg] = r, Za = t.then(function() {
}) instanceof r, !Za) return !0;
}
return !e && (rs === "BROWSER" || rs === "DENO") && !bu;
}), Rt = {
CONSTRUCTOR: Og,
REJECTION_EVENT: bu,
SUBCLASSING: Za
}, lt = {}, as = Te, Sg = TypeError, Eg = function(a) {
var e, t;
this.promise = new a(function(r, i) {
if (e !== void 0 || t !== void 0) throw new Sg("Bad Promise constructor");
e = r, t = i;
}), this.resolve = as(e), this.reject = as(t);
};
lt.f = function(a) {
return new Eg(a);
};
var $g = ee, dr = wr, we = V, nt = Y, is = Ue, ns = iu, wg = Cr, Cg = ac, Ag = Te, ur = B, Pg = ve, Rg = sc, Ng = hu, xu = pu.set, Vi = cg, Ig = gg, Mg = _i, _g = mu, Tu = Er, pr = Pr, Di = Rt, Ou = lt, Rr = "Promise", Su = Di.CONSTRUCTOR, Vg = Di.REJECTION_EVENT, Dg = Di.SUBCLASSING, Ta = Tu.getterFor(Rr), kg = Tu.set, Qe = pr && pr.prototype, De = pr, Kt = Qe, Eu = we.TypeError, Ja = we.document, ki = we.process, ei = Ou.f, Lg = ei, Bg = !!(Ja && Ja.createEvent && we.dispatchEvent), $u = "unhandledrejection", jg = "rejectionhandled", ss = 0, wu = 1, Fg = 2, Li = 1, Cu = 2, Zt, os, Ug, us, Au = function(a) {
var e;
return Pg(a) && ur(e = a.then) ? e : !1;
}, Pu = function(a, e) {
var t = e.value, r = e.state === wu, i = r ? a.ok : a.fail, n = a.resolve, o = a.reject, s = a.domain, u, l, h;
try {
i ? (r || (e.rejection === Cu && zg(e), e.rejection = Li), i === !0 ? u = t : (s && s.enter(), u = i(t), s && (s.exit(), h = !0)), u === a.promise ? o(new Eu("Promise-chain cycle")) : (l = Au(u)) ? nt(l, u, n, o) : n(u)) : o(t);
} catch (f) {
s && !h && s.exit(), o(f);
}
}, Ru = function(a, e) {
a.notified || (a.notified = !0, Vi(function() {
for (var t = a.reactions, r; r = t.get(); )
Pu(r, a);
a.notified = !1, e && !a.rejection && Gg(a);
}));
}, Nu = function(a, e, t) {
var r, i;
Bg ? (r = Ja.createEvent("Event"), r.promise = e, r.reason = t, r.initEvent(a, !1, !0), we.dispatchEvent(r)) : r = { promise: e, reason: t }, !Vg && (i = we["on" + a]) ? i(r) : a === $u && Ig("Unhandled promise rejection", t);
}, Gg = function(a) {
nt(xu, we, function() {
var e = a.facade, t = a.value, r = ls(a), i;
if (r && (i = Mg(function() {
dr ? ki.emit("unhandledRejection", t, e) : Nu($u, e, t);
}), a.rejection = dr || ls(a) ? Cu : Li, i.error))
throw i.value;
});
}, ls = function(a) {
return a.rejection !== Li && !a.parent;
}, zg = function(a) {
nt(xu, we, function() {
var e = a.facade;
dr ? ki.emit("rejectionHandled", e) : Nu(jg, e, a.value);
});
}, Je = function(a, e, t) {
return function(r) {
a(e, r, t);
};
}, tt = function(a, e, t) {
a.done || (a.done = !0, t && (a = t), a.value = e, a.state = Fg, Ru(a, !0));
}, ti = function(a, e, t) {
if (!a.done) {
a.done = !0, t && (a = t);
try {
if (a.facade === e) throw new Eu("Promise can't be resolved itself");
var r = Au(e);
r ? Vi(function() {
var i = { done: !1 };
try {
nt(
r,
e,
Je(ti, i, a),
Je(tt, i, a)
);
} catch (n) {
tt(i, n, a);
}
}) : (a.value = e, a.state = wu, Ru(a, !1));
} catch (i) {
tt({ done: !1 }, i, a);
}
}
};
if (Su && (De = function(e) {
Rg(this, Kt), Ag(e), nt(Zt, this);
var t = Ta(this);
try {
e(Je(ti, t), Je(tt, t));
} catch (r) {
tt(t, r);
}
}, Kt = De.prototype, Zt = function(e) {
kg(this, {
type: Rr,
done: !1,
notified: !1,
parent: !1,
reactions: new _g(),
rejection: !1,
state: ss,
value: null
});
}, Zt.prototype = is(Kt, "then", function(e, t) {
var r = Ta(this), i = ei(Ng(this, De));
return r.parent = !0, i.ok = ur(e) ? e : !0, i.fail = ur(t) && t, i.domain = dr ? ki.domain : void 0, r.state === ss ? r.reactions.add(i) : Vi(function() {
Pu(i, r);
}), i.promise;
}), os = function() {
var a = new Zt(), e = Ta(a);
this.promise = a, this.resolve = Je(ti, e), this.reject = Je(tt, e);
}, Ou.f = ei = function(a) {
return a === De || a === Ug ? new os(a) : Lg(a);
}, ur(pr) && Qe !== Object.prototype)) {
us = Qe.then, Dg || is(Qe, "then", function(e, t) {
var r = this;
return new De(function(i, n) {
nt(us, r, i, n);
}).then(e, t);
}, { unsafe: !0 });
try {
delete Qe.constructor;
} catch {
}
ns && ns(Qe, Kt);
}
$g({ global: !0, constructor: !0, wrap: !0, forced: Su }, {
Promise: De
});
wg(De, Rr, !1);
Cg(Rr);
var Nt = {}, Hg = z, Yg = Nt, Xg = Hg("iterator"), Wg = Array.prototype, qg = function(a) {
return a !== void 0 && (Yg.Array === a || Wg[Xg] === a);
}, Qg = Ri, hs = ot, Kg = je, Zg = Nt, Jg = z, ed = Jg("iterator"), Iu = function(a) {
if (!Kg(a)) return hs(a, ed) || hs(a, "@@iterator") || Zg[Qg(a)];
}, td = Y, rd = Te, ad = J, id = xr, nd = Iu, sd = TypeError, od = function(a, e) {
var t = arguments.length < 2 ? nd(a) : e;
if (rd(t)) return ad(td(t, a));
throw new sd(id(a) + " is not iterable");
}, ud = Y, vs = J, ld = ot, hd = function(a, e, t) {
var r, i;
vs(a);
try {
if (r = ld(a, "return"), !r) {
if (e === "throw") throw t;
return t;
}
r = ud(r, a);
} catch (n) {
i = !0, r = n;
}
if (e === "throw") throw t;
if (i) throw r;
return vs(r), t;
}, vd = Ii, fd = Y, cd = J, gd = xr, dd = qg, pd = Ai, fs = br, yd = od, md = Iu, cs = hd, bd = TypeError, lr = function(a, e) {
this.stopped = a, this.result = e;
}, gs = lr.prototype, Mu = function(a, e, t) {
var r = t && t.that, i = !!(t && t.AS_ENTRIES), n = !!(t && t.IS_RECORD), o = !!(t && t.IS_ITERATOR), s = !!(t && t.INTERRUPTED), u = vd(e, r), l, h, f, c, v, d, g, p = function(x) {
return l && cs(l, "normal", x), new lr(!0, x);
}, y = function(x) {
return i ? (cd(x), s ? u(x[0], x[1], p) : u(x[0], x[1])) : s ? u(x, p) : u(x);
};
if (n)
l = a.iterator;
else if (o)
l = a;
else {
if (h = md(a), !h) throw new bd(gd(a) + " is not iterable");
if (dd(h)) {
for (f = 0, c = pd(a); c > f; f++)
if (v = y(a[f]), v && fs(gs, v)) return v;
return new lr(!1);
}
l = yd(a, h);
}
for (d = n ? a.next : l.next; !(g = fd(d, l)).done; ) {
try {
v = y(g.value);
} catch (x) {
cs(l, "throw", x);
}
if (typeof v == "object" && v && fs(gs, v)) return v;
}
return new lr(!1);
}, xd = z, _u = xd("iterator"), Vu = !1;
try {
var Td = 0, ds = {
next: function() {
return { done: !!Td++ };
},
return: function() {
Vu = !0;
}
};
ds[_u] = function() {
return this;
}, Array.from(ds, function() {
throw 2;
});
} catch {
}
var Od = function(a, e) {
try {
if (!e && !Vu) return !1;
} catch {
return !1;
}
var t = !1;
try {
var r = {};
r[_u] = function() {
return {
next: function() {
return { done: t = !0 };
}
};
}, a(r);
} catch {
}
return t;
}, Sd = Pr, Ed = Od, $d = Rt.CONSTRUCTOR, Du = $d || !Ed(function(a) {
Sd.all(a).then(void 0, function() {
});
}), wd = ee, Cd = Y, Ad = Te, Pd = lt, Rd = _i, Nd = Mu, Id = Du;
wd({ target: "Promise", stat: !0, forced: Id }, {
all: function(e) {
var t = this, r = Pd.f(t), i = r.resolve, n = r.reject, o = Rd(function() {
var s = Ad(t.resolve), u = [], l = 0, h = 1;
Nd(e, function(f) {
var c = l++, v = !1;
h++, Cd(s, t, f).then(function(d) {
v || (v = !0, u[c] = d, --h || i(u));
}, n);
}), --h || i(u);
});
return o.error && n(o.value), r.promise;
}
});
var Md = ee, _d = Rt.CONSTRUCTOR, ri = Pr, Vd = Fe, Dd = B, kd = Ue, ps = ri && ri.prototype;
Md({ target: "Promise", proto: !0, forced: _d, real: !0 }, {
catch: function(a) {
return this.then(void 0, a);
}
});
if (Dd(ri)) {
var ys = Vd("Promise").prototype.catch;
ps.catch !== ys && kd(ps, "catch", ys, { unsafe: !0 });
}
var Ld = ee, Bd = Y, jd = Te, Fd = lt, Ud = _i, Gd = Mu, zd = Du;
Ld({ target: "Promise", stat: !0, forced: zd }, {
race: function(e) {
var t = this, r = Fd.f(t), i = r.reject, n = Ud(function() {
var o = jd(t.resolve);
Gd(e, function(s) {
Bd(o, t, s).then(r.resolve, i);
});
});
return n.error && i(n.value), r.promise;
}
});
var Hd = ee, Yd = lt, Xd = Rt.CONSTRUCTOR;
Hd({ target: "Promise", stat: !0, forced: Xd }, {
reject: function(e) {
var t = Yd.f(this), r = t.reject;
return r(e), t.promise;
}
});
var Wd = J, qd = ve, Qd = lt, Kd = function(a, e) {
if (Wd(a), qd(e) && e.constructor === a) return e;
var t = Qd.f(a), r = t.resolve;
return r(e), t.promise;
}, Zd = ee, Jd = Fe, ep = Rt.CONSTRUCTOR, tp = Kd;
Jd("Promise");
Zd({ target: "Promise", stat: !0, forced: ep }, {
resolve: function(e) {
return tp(this, e);
}
});
function ms(a, e, t, r, i, n, o) {
try {
var s = a[n](o), u = s.value;
} catch (l) {
return void t(l);
}
s.done ? e(u) : Promise.resolve(u).then(r, i);
}
function xe(a) {
return function() {
var e = this, t = arguments;
return new Promise(function(r, i) {
var n = a.apply(e, t);
function o(u) {
ms(n, r, i, o, s, "next", u);
}
function s(u) {
ms(n, r, i, o, s, "throw", u);
}
o(void 0);
});
};
}
var rp = Ri, ap = String, pe = function(a) {
if (rp(a) === "Symbol") throw new TypeError("Cannot convert a Symbol value to a string");
return ap(a);
}, ip = J, ku = function() {
var a = ip(this), e = "";
return a.hasIndices && (e += "d"), a.global && (e += "g"), a.ignoreCase && (e += "i"), a.multiline && (e += "m"), a.dotAll && (e += "s"), a.unicode && (e += "u"), a.unicodeSets && (e += "v"), a.sticky && (e += "y"), e;
}, Bi = k, np = V, ji = np.RegExp, Fi = Bi(function() {
var a = ji("a", "y");
return a.lastIndex = 2, a.exec("abcd") !== null;
});
Fi || Bi(function() {
return !ji("a", "y").sticky;
});
var sp = Fi || Bi(function() {
var a = ji("^r", "gy");
return a.lastIndex = 2, a.exec("str") !== null;
}), Lu = {
BROKEN_CARET: sp,
UNSUPPORTED_Y: Fi
}, Bu = {}, op = eu, up = Pi, lp = Object.keys || function(e) {
return op(e, up);
}, hp = le, vp = Ho, fp = Oe, cp = J, gp = wt, dp = lp;
Bu.f = hp && !vp ? Object.defineProperties : function(e, t) {
cp(e);
for (var r = gp(t), i = dp(t), n = i.length, o = 0, s; n > o; ) fp.f(e, s = i[o++], r[s]);
return e;
};
var pp = J, yp = Bu, bs = Pi, mp = wi, bp = cu, xp = Or, Tp = $i, xs = ">", Ts = "<", ai = "prototype", ii = "script", ju = Tp("IE_PROTO"), Oa = function() {
}, Fu = function(a) {
return Ts + ii + xs + a + Ts + "/" + ii + xs;
}, Os = function(a) {
a.write(Fu("")), a.close();
var e = a.parentWindow.Object;
return a = null, e;
}, Op = function() {
var a = xp("iframe"), e = "java" + ii + ":", t;
return a.style.display = "none", bp.appendChild(a), a.src = String(e), t = a.contentWindow.document, t.open(), t.write(Fu("document.F=Object")), t.close(), t.F;
}, Jt, hr = function() {
try {
Jt = new ActiveXObject("htmlfile");
} catch {
}
hr = typeof document < "u" ? document.domain && Jt ? Os(Jt) : Op() : Os(Jt);
for (var a = bs.length; a--; ) delete hr[ai][bs[a]];
return hr();
};
mp[ju] = !0;
var Ui = Object.create || function(e, t) {
var r;
return e !== null ? (Oa[ai] = pp(e), r = new Oa(), Oa[ai] = null, r[ju] = e) : r = hr(), t === void 0 ? r : yp.f(r, t);
}, Sp = k, Ep = V, $p = Ep.RegExp, wp = Sp(function() {
var a = $p(".", "s");
return !(a.dotAll && a.test(`
`) && a.flags === "s");
}), Cp = k, Ap = V, Pp = Ap.RegExp, Rp = Cp(function() {
var a = Pp("(?<a>b)", "g");
return a.exec("b").groups.a !== "b" || "b".replace(a, "$<a>c") !== "bc";
}), et = Y, Nr = L, Np = pe, Ip = ku, Mp = Lu, _p = Si, Vp = Ui, Dp = Er.get, kp = wp, Lp = Rp, Bp = _p("native-string-replace", String.prototype.replace), yr = RegExp.prototype.exec, ni = yr, jp = Nr("".charAt), Fp = Nr("".indexOf), Up = Nr("".replace), Sa = Nr("".slice), si = function() {
var a = /a/, e = /b*/g;
return et(yr, a, "a"), et(yr, e, "a"), a.lastIndex !== 0 || e.lastIndex !== 0;
}(), Uu = Mp.BROKEN_CARET, oi = /()??/.exec("")[1] !== void 0, Gp = si || oi || Uu || kp || Lp;
Gp && (ni = function(e) {
var t = this, r = Dp(t), i = Np(e), n = r.raw, o, s, u, l, h, f, c;
if (n)
return n.lastIndex = t.lastIndex, o = et(ni, n, i), t.lastIndex = n.lastIndex, o;
var v = r.groups, d = Uu && t.sticky, g = et(Ip, t), p = t.source, y = 0, x = i;
if (d && (g = Up(g, "y", ""), Fp(g, "g") === -1 && (g += "g"), x = Sa(i, t.lastIndex), t.lastIndex > 0 && (!t.multiline || t.multiline && jp(i, t.lastIndex - 1) !== `
`) && (p = "(?: " + p + ")", x = " " + x, y++), s = new RegExp("^(?:" + p + ")", g)), oi && (s = new RegExp("^" + p + "$(?!\\s)", g)), si && (u = t.lastIndex), l = et(yr, d ? s : t, x), d ? l ? (l.input = Sa(l.input, y), l[0] = Sa(l[0], y), l.index = t.lastIndex, t.lastIndex += l[0].length) : t.lastIndex = 0 : si && l && (t.lastIndex = t.global ? l.index + l[0].length : u), oi && l && l.length > 1 && et(Bp, l[0], s, function() {
for (h = 1; h < arguments.length - 2; h++)
arguments[h] === void 0 && (l[h] = void 0);
}), l && v)
for (l.groups = f = Vp(null), h = 0; h < v.length; h++)
c = v[h], f[c[0]] = l[c[1]];
return l;
});
var Gi = ni, zp = ee, Ss = Gi;
zp({ target: "RegExp", proto: !0, forced: /./.exec !== Ss }, {
exec: Ss
});
var Es = Y, $s = Ue, Hp = Gi, ws = k, Gu = z, Yp = At, Xp = Gu("species"), Ea = RegExp.prototype, zi = function(a, e, t, r) {
var i = Gu(a), n = !ws(function() {
var l = {};
return l[i] = function() {
return 7;
}, ""[a](l) !== 7;
}), o = n && !ws(function() {
var l = !1, h = /a/;
return a === "split" && (h = {}, h.constructor = {}, h.constructor[Xp] = function() {
return h;
}, h.flags = "", h[i] = /./[i]), h.exec = function() {
return l = !0, null;
}, h[i](""), !l;
});
if (!n || !o || t) {
var s = /./[i], u = e(i, ""[a], function(l, h, f, c, v) {
var d = h.exec;
return d === Hp || d === Ea.exec ? n && !v ? { done: !0, value: Es(s, h, f, c) } : { done: !0, value: Es(l, f, h, c) } : { done: !1 };
});
$s(String.prototype, a, u[0]), $s(Ea, i, u[1]);
}
r && Yp(Ea[i], "sham", !0);
}, Hi = L, Wp = $r, qp = pe, Qp = he, Kp = Hi("".charAt), Cs = Hi("".charCodeAt), Zp = Hi("".slice), Jp = function(a) {
return function(e, t) {
var r = qp(Qp(e)), i = Wp(t), n = r.length, o, s;
return i < 0 || i >= n ? a ? "" : void 0 : (o = Cs(r, i), o < 55296 || o > 56319 || i + 1 === n || (s = Cs(r, i + 1)) < 56320 || s > 57343 ? a ? Kp(r, i) : o : a ? Zp(r, i, i + 2) : (o - 55296 << 10) + (s - 56320) + 65536);
};
}, ey = {
// `String.prototype.at` method
// https://github.com/mathiasbynens/String.prototype.at
charAt: Jp(!0)
}, ty = ey.charAt, Yi = function(a, e, t) {
return e + (t ? ty(a, e).length : 1);
}, As = Y, ry = J, ay = B, iy = Be, ny = Gi, sy = TypeError, Xi = function(a, e) {
var t = a.exec;
if (ay(t)) {
var r = As(t, a, e);
return r !== null && ry(r), r;
}
if (iy(a) === "RegExp") return As(ny, a, e);
throw new sy("RegExp#exec called on incompatible receiver");
}, oy = Y, uy = zi, ly = J, hy = je, vy = ut, $a = pe, fy = he, cy = ot, gy = Yi, Ps = Xi;
uy("match", function(a, e, t) {
return [
// `String.prototype.match` method
// https://tc39.es/ecma262/#sec-string.prototype.match
function(i) {
var n = fy(this), o = hy(i) ? void 0 : cy(i, a);
return o ? oy(o, i, n) : new RegExp(i)[a]($a(n));
},
// `RegExp.prototype[@@match]` method
// https://tc39.es/ecma262/#sec-regexp.prototype-@@match
function(r) {
var i = ly(this), n = $a(r), o = t(e, i, n);
if (o.done) return o.value;
if (!i.global) return Ps(i, n);
var s = i.unicode;
i.lastIndex = 0;
for (var u = [], l = 0, h; (h = Ps(i, n)) !== null; ) {
var f = $a(h[0]);
u[l] = f, f === "" && (i.lastIndex = gy(n, vy(i.lastIndex), s)), l++;
}
return l === 0 ? null : u;
}
];
});
var Wi = L, dy = Tr, py = Math.floor, wa = Wi("".charAt), yy = Wi("".replace), Ca = Wi("".slice), my = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, by = /\$([$&'`]|\d{1,2})/g, xy = function(a, e, t, r, i, n) {
var o = t + a.length, s = r.length, u = by;
return i !== void 0 && (i = dy(i), u = my), yy(n, u, function(l, h) {
var f;
switch (wa(h, 0)) {
case "$":
return "$";
case "&":
return a;
case "`":
return Ca(e, 0, t);
case "'":
return Ca(e, o);
case "<":
f = i[Ca(h, 1, -1)];
break;
default:
var c = +h;
if (c === 0) return l;
if (c > s) {
var v = py(c / 10);
return v === 0 ? l : v <= s ? r[v - 1] === void 0 ? wa(h, 1) : r[v - 1] + wa(h, 1) : l;
}
f = r[c - 1];
}
return f === void 0 ? "" : f;
});
}, Ty = fu, Rs = Y, Ir = L, Oy = zi, Sy = k, Ey = J, $y = B, wy = je, Cy = $r, Ay = ut, We = pe, Py = he, Ry = Yi, Ny = ot, Iy = xy, My = Xi, _y = z, ui = _y("replace"), Vy = Math.max, Dy = Math.min, ky = Ir([].concat), Aa = Ir([].push), Ns = Ir("".indexOf), Is = Ir("".slice), Ly = function(a) {
return a === void 0 ? a : String(a);
}, By = function() {
return "a".replace(/./, "$0") === "$0";
}(), Ms = function() {
return /./[ui] ? /./[ui]("a", "$0") === "" : !1;
}(), jy = !Sy(function() {
var a = /./;
return a.exec = function() {
var e = [];
return e.groups = { a: "7" }, e;
}, "".replace(a, "$<a>") !== "7";
});
Oy("replace", function(a, e, t) {
var r = Ms ? "$" : "$0";
return [
// `String.prototype.replace` method
// https://tc39.es/ecma262/#sec-string.prototype.replace
function(n, o) {
var s = Py(this), u = wy(n) ? void 0 : Ny(n, ui);
return u ? Rs(u, n, s, o) : Rs(e, We(s), n, o);
},
// `RegExp.prototype[@@replace]` method
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
function(i, n) {
var o = Ey(this), s = We(i);
if (typeof n == "string" && Ns(n, r) === -1 && Ns(n, "$<") === -1) {
var u = t(e, o, s, n);
if (u.done) return u.value;
}
var l = $y(n);
l || (n = We(n));
var h = o.global, f;
h && (f = o.unicode, o.lastIndex = 0);
for (var c = [], v; v = My(o, s), !(v === null || (Aa(c, v), !h)); ) {
var d = We(v[0]);
d === "" && (o.lastIndex = Ry(s, Ay(o.lastIndex), f));
}
for (var g = "", p = 0, y = 0; y < c.length; y++) {
v = c[y];
for (var x = We(v[0]), b = Vy(Dy(Cy(v.index), s.length), 0), T = [], $, E = 1; E < v.length; E++) Aa(T, Ly(v[E]));
var O = v.groups;
if (l) {
var C = ky([x], T, b, s);
O !== void 0 && Aa(C, O), $ = We(Ty(n, void 0, C));
} else
$ = Iy(x, s, b, T, O, n);
b >= p && (g += Is(s, p, b) + $, p = b + x.length);
}
return g + Is(s, p);
}
];
}, !jy || !By || Ms);
var Fy = ve, Uy = Be, Gy = z, zy = Gy("match"), Hy = function(a) {
var e;
return Fy(a) && ((e = a[zy]) !== void 0 ? !!e : Uy(a) === "RegExp");
}, Yy = Hy, Xy = TypeError, qi = function(a) {
if (Yy(a))
throw new Xy("The method doesn't accept regular expressions");
return a;
}, Wy = z, qy = Wy("match"), Qi = function(a) {
var e = /./;
try {
"/./"[a](e);
} catch {
try {
return e[qy] = !1, "/./"[a](e);
} catch {
}
}
return !1;
}, Qy = ee, Ky = Ar, Zy = $t.f, Jy = ut, _s = pe, em = qi, tm = he, rm = Qi, am = Ky("".slice), im = Math.min, zu = rm("startsWith"), nm = !zu && !!function() {
var a = Zy(String.prototype, "startsWith");
return a && !a.writable;
}();
Qy({ target: "String", proto: !0, forced: !nm && !zu }, {
startsWith: function(e) {
var t = _s(tm(this));
em(e);
var r = Jy(im(arguments.length > 1 ? arguments[1] : void 0, t.length)), i = _s(e);
return am(t, r, r + i.length) === i;
}
});
var sm = z, om = Ui, um = Oe.f, li = sm("unscopables"), hi = Array.prototype;
hi[li] === void 0 && um(hi, li, {
configurable: !0,
value: om(null)
});
var lm = function(a) {
hi[li][a] = !0;
}, hm = k, vm = !hm(function() {
function a() {
}
return a.prototype.constructor = null, Object.getPrototypeOf(new a()) !== a.prototype;
}), fm = fe, cm = B, gm = Tr, dm = $i, pm = vm, Vs = dm("IE_PROTO"), vi = Object, ym = vi.prototype, Hu = pm ? vi.getPrototypeOf : function(a) {
var e = gm(a);
if (fm(e, Vs)) return e[Vs];
var t = e.constructor;
return cm(t) && e instanceof t ? t.prototype : e instanceof vi ? ym : null;
}, mm = k, bm = B, xm = ve, Ds = Hu, Tm = Ue, Om = z, fi = Om("iterator"), Yu = !1, ke, Pa, Ra;
[].keys && (Ra = [].keys(), "next" in Ra ? (Pa = Ds(Ds(Ra)), Pa !== Object.prototype && (ke = Pa)) : Yu = !0);
var Sm = !xm(ke) || mm(function() {
var a = {};
return ke[fi].call(a) !== a;
});
Sm && (ke = {});
bm(ke[fi]) || Tm(ke, fi, function() {
return this;
});
var Xu = {
IteratorPrototype: ke,
BUGGY_SAFARI_ITERATORS: Yu
}, Em = Xu.IteratorPrototype, $m = Ui, wm = bi, Cm = Cr, Am = Nt, Pm = function() {
return this;
}, Rm = function(a, e, t, r) {
var i = e + " Iterator";
return a.prototype = $m(Em, { next: wm(+!r, t) }), Cm(a, i, !1), Am[i] = Pm, a;
}, Nm = ee, Im = Y, Wu = Sr, Mm = B, _m = Rm, ks = Hu, Ls = iu, Vm = Cr, Dm = At, Na = Ue, km = z, Lm = Nt, qu = Xu, Bm = Wu.PROPER, jm = Wu.CONFIGURABLE, Bs = qu.IteratorPrototype, er = qu.BUGGY_SAFARI_ITERATORS, gt = km("iterator"), js = "keys", dt = "values", Fs = "entries", Fm = function() {
return this;
}, Um = function(a, e, t, r, i, n, o) {
_m(t, e, r);
var s = function(y) {
if (y === i && c) return c;
if (!er && y && y in h) return h[y];
switch (y) {
case js:
return function() {
return new t(this, y);
};
case dt:
return function() {
return new t(this, y);
};
case Fs:
return function() {
return new t(this, y);
};
}
return function() {
return new t(this);
};
}, u = e + " Iterator", l = !1, h = a.prototype, f = h[gt] || h["@@iterator"] || i && h[i], c = !er && f || s(i), v = e === "Array" && h.entries || f, d, g, p;
if (v && (d = ks(v.call(new a())), d !== Object.prototype && d.next && (ks(d) !== Bs && (Ls ? Ls(d, Bs) : Mm(d[gt]) || Na(d, gt, Fm)), Vm(d, u, !0))), Bm && i === dt && f && f.name !== dt && (jm ? Dm(h, "name", dt) : (l = !0, c = function() {
return Im(f, this);
})), i)
if (g = {
values: s(dt),
keys: n ? c : s(js),
entries: s(Fs)
}, o) for (p in g)
(er || l || !(p in h)) && Na(h, p, g[p]);
else Nm({ target: e, proto: !0, forced: er || l }, g);
return h[gt] !== c && Na(h, gt, c, { name: i }), Lm[e] = c, g;
}, Gm = function(a, e) {
return { value: a, done: e };
}, zm = wt, Ki = lm, Us = Nt, Qu = Er, Hm = Oe.f, Ym = Um, tr = Gm, Xm = le, Ku = "Array Iterator", Wm = Qu.set, qm = Qu.getterFor(Ku), Qm = Ym(Array, "Array", function(a, e) {
Wm(this, {
type: Ku,
target: zm(a),
// target
index: 0,
// next index
kind: e
// kind
});
}, function() {
var a = qm(this), e = a.target, t = a.index++;
if (!e || t >= e.length)
return a.target = null, tr(void 0, !0);
switch (a.kind) {
case "keys":
return tr(t, !1);
case "values":
return tr(e[t], !1);
}
return tr([t, e[t]], !1);
}, "values"), Gs = Us.Arguments = Us.Array;
Ki("keys");
Ki("values");
Ki("entries");
if (Xm && Gs.name !== "values") try {
Hm(Gs, "name", { value: "values" });
} catch {
}
var Km = {
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
}, Zm = Or, Ia = Zm("span").classList, zs = Ia && Ia.constructor && Ia.constructor.prototype, Jm = zs === Object.prototype ? void 0 : zs, Hs = V, Zu = Km, e0 = Jm, yt = Qm, Ys = At, t0 = Cr, r0 = z, Ma = r0("iterator"), _a = yt.values, Ju = function(a, e) {
if (a) {
if (a[Ma] !== _a) try {
Ys(a, Ma, _a);
} catch {
a[Ma] = _a;
}
if (t0(a, e, !0), Zu[e]) {
for (var t in yt)
if (a[t] !== yt[t]) try {
Ys(a, t, yt[t]);
} catch {
a[t] = yt[t];
}
}
}
};
for (var Va in Zu)
Ju(Hs[Va] && Hs[Va].prototype, Va);
Ju(e0, "DOMTokenList");
function a0(a, e) {
if (Ga(a) != "object" || !a) return a;
var t = a[Symbol.toPrimitive];
if (t !== void 0) {
var r = t.call(a, e);
if (Ga(r) != "object") return r;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (e === "string" ? String : Number)(a);
}
function i0(a) {
var e = a0(a, "string");
return Ga(e) == "symbol" ? e : e + "";
}
function Zi(a, e, t) {
return (e = i0(e)) in a ? Object.defineProperty(a, e, {
value: t,
enumerable: !0,
configurable: !0,
writable: !0
}) : a[e] = t, a;
}
var n0 = Te, s0 = Tr, o0 = Do, u0 = Ai, Xs = TypeError, Ws = "Reduce of empty array with no initial value", l0 = function(a) {
return function(e, t, r, i) {
var n = s0(e), o = o0(n), s = u0(n);
if (n0(t), s === 0 && r < 2) throw new Xs(Ws);
var u = a ? s - 1 : 0, l = a ? -1 : 1;
if (r < 2) for (; ; ) {
if (u in o) {
i = o[u], u += l;
break;
}
if (u += l, a ? u < 0 : s <= u)
throw new Xs(Ws);
}
for (; a ? u >= 0 : s > u; u += l) u in o && (i = t(i, o[u], u, n));
return i;
};
}, h0 = {
// `Array.prototype.reduce` method
// https://tc39.es/ecma262/#sec-array.prototype.reduce
left: l0(!1)
}, v0 = k, el = function(a, e) {
var t = [][a];
return !!t && v0(function() {
t.call(null, e || function() {
return 1;
}, 1);
});
}, f0 = ee, c0 = h0.left, g0 = el, qs = xi, d0 = wr, p0 = !d0 && qs > 79 && qs < 83, y0 = p0 || !g0("reduce");
f0({ target: "Array", proto: !0, forced: y0 }, {
reduce: function(e) {
var t = arguments.length;
return c0(this, e, t, t > 1 ? arguments[1] : void 0);
}
});
var m0 = ee, b0 = Ar, x0 = $t.f, T0 = ut, Qs = pe, O0 = qi, S0 = he, E0 = Qi, $0 = b0("".slice), w0 = Math.min, tl = E0("endsWith"), C0 = !tl && !!function() {
var a = x0(String.prototype, "endsWith");
return a && !a.writable;
}();
m0({ target: "String", proto: !0, forced: !C0 && !tl }, {
endsWith: function(e) {
var t = Qs(S0(this));
O0(e);
var r = arguments.length > 1 ? arguments[1] : void 0, i = t.length, n = r === void 0 ? i : w0(T0(r), i), o = Qs(e);
return $0(t, n - o.length, n) === o;
}
});
var Da = Y, rl = L, A0 = zi, P0 = J, R0 = je, N0 = he, I0 = hu, M0 = Yi, _0 = ut, Ks = pe, V0 = ot, Zs = Xi, D0 = Lu, k0 = k, qe = D0.UNSUPPORTED_Y, L0 = 4294967295, B0 = Math.min, ka = rl([].push), La = rl("".slice), j0 = !k0(function() {
var a = /(?:)/, e = a.exec;
a.exec = function() {
return e.apply(this, arguments);
};
var t = "ab".split(a);
return t.length !== 2 || t[0] !== "a" || t[1] !== "b";
}), Js = "abbc".split(/(b)*/)[1] === "c" || // eslint-disable-next-line regexp/no-empty-group -- required for testing
"test".split(/(?:)/, -1).length !== 4 || "ab".split(/(?:ab)*/).length !== 2 || ".".split(/(.?)(.?)/).length !== 4 || // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
".".split(/()()/).length > 1 || "".split(/.?/).length;
A0("split", function(a, e, t) {
var r = "0".split(void 0, 0).length ? function(i, n) {
return i === void 0 && n === 0 ? [] : Da(e, this, i, n);
} : e;
return [
// `String.prototype.split` method
// https://tc39.es/ecma262/#sec-string.prototype.split
function(n, o) {
var s = N0(this), u = R0(n) ? void 0 : V0(n, a);
return u ? Da(u, n, s, o) : Da(r, Ks(s), n, o);
},
// `RegExp.prototype[@@split]` method
// https://tc39.es/ecma262/#sec-regexp.prototype-@@split
//
// NOTE: This cannot be properly polyfilled in engines that don't support
// the 'y' flag.
function(i, n) {
var o = P0(this), s = Ks(i);
if (!Js) {
var u = t(r, o, s, n,