// ==UserScript==
// @name E-Push
// @version 1.3.0
// @description From rushers for rushers
// @description:ru От рашеров для рашеров
// @author PixelMelt
// @namespace https://github.com/PixelMelt
// @match https://evades.io/
// @match https://evades.online/
// @match https://eu.evades.io/
// @match *://192.99.150.59/*
// @license Proprietary - All Rights Reserved
// @grant none
// @icon https://www.google.com/s2/favicons?domain=evades.io
// @run-at document-start
// ==/UserScript==
(function () {
/*
* Copyright (c) 2025 Pixelmelt
* All Rights Reserved
*
* This code is proprietary and confidential.
* Unauthorized copying, modification, distribution, or use of this code,
* via any medium, is strictly prohibited.
*
* Libraries used:
* https://github.com/protobufjs/protobuf.js/
*
* ES5 Compatable
*/
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
// E-Push v1.2.0
// Created by Pixelmelt
!function(t, e) {
"object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.EPush = e() : t.EPush = e();
}(self, (() => (() => {
var __webpack_modules__ = {
34: (t, e, r) => {
"use strict";
var n = r(4901);
t.exports = function(t) {
return "object" == typeof t ? null !== t : n(t);
};
},
81: (t, e, r) => {
"use strict";
var n = r(9565), i = r(9306), o = r(8551), a = r(6823), u = r(851), s = TypeError;
t.exports = function(t, e) {
var r = arguments.length < 2 ? u(t) : e;
if (i(r)) return o(n(r, t));
throw new s(a(t) + " is not iterable");
};
},
113: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9213).find, o = r(6469), a = "find", u = !0;
a in [] && Array(1)[a]((function() {
u = !1;
})), n({
target: "Array",
proto: !0,
forced: u
}, {
find: function(t) {
return i(this, t, arguments.length > 1 ? arguments[1] : void 0);
}
}), o(a);
},
235: (t, e, r) => {
"use strict";
var n = r(9213).forEach, i = r(4598)("forEach");
t.exports = i ? [].forEach : function(t) {
return n(this, t, arguments.length > 1 ? arguments[1] : void 0);
};
},
259: (t, e, r) => {
"use strict";
var n = r(4376), i = r(6198), o = r(6837), a = r(6080), flattenIntoArray = function(t, e, r, u, s, c, f, l) {
for (var h, d, v = s, p = 0, b = !!f && a(f, l); p < u; ) p in r && (h = b ? b(r[p], p, e) : r[p],
c > 0 && n(h) ? (d = i(h), v = flattenIntoArray(t, e, h, d, v, c - 1) - 1) : (o(v + 1),
t[v] = h), v++), p++;
return v;
};
t.exports = flattenIntoArray;
},
280: (t, e, r) => {
"use strict";
var n = r(6518), i = r(7751), o = r(6395), a = r(550), u = r(916).CONSTRUCTOR, s = r(3438), c = i("Promise"), f = o && !u;
n({
target: "Promise",
stat: !0,
forced: o || u
}, {
resolve: function(t) {
return s(f && this === c ? a : this, t);
}
});
},
283: (t, e, r) => {
"use strict";
var n = r(9504), i = r(9039), o = r(4901), a = r(9297), u = r(3724), s = r(350).CONFIGURABLE, c = r(3706), f = r(1181), l = f.enforce, h = f.get, d = String, v = Object.defineProperty, p = n("".slice), b = n("".replace), y = n([].join), g = u && !i((function() {
return 8 !== v((function() {}), "length", {
value: 8
}).length;
})), w = String(String).split("String"), m = t.exports = function(t, e, r) {
"Symbol(" === p(d(e), 0, 7) && (e = "[" + b(d(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"),
r && r.getter && (e = "get " + e), r && r.setter && (e = "set " + e), (!a(t, "name") || s && t.name !== e) && (u ? v(t, "name", {
value: e,
configurable: !0
}) : t.name = e), g && r && a(r, "arity") && t.length !== r.arity && v(t, "length", {
value: r.arity
});
try {
r && a(r, "constructor") && r.constructor ? u && v(t, "prototype", {
writable: !1
}) : t.prototype && (t.prototype = void 0);
} catch (t) {}
var n = l(t);
return a(n, "source") || (n.source = y(w, "string" == typeof e ? e : "")), t;
};
Function.prototype.toString = m((function() {
return o(this) && h(this).source || c(this);
}), "toString");
},
298: (t, e, r) => {
"use strict";
var n = r(2195), i = r(5397), o = r(8480).f, a = r(7680), u = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
t.exports.f = function(t) {
return u && "Window" === n(t) ? function(t) {
try {
return o(t);
} catch (t) {
return a(u);
}
}(t) : o(i(t));
};
},
350: (t, e, r) => {
"use strict";
var n = r(3724), i = r(9297), o = Function.prototype, a = n && Object.getOwnPropertyDescriptor, u = i(o, "name"), s = u && "something" === function() {}.name, c = u && (!n || n && a(o, "name").configurable);
t.exports = {
EXISTS: u,
PROPER: s,
CONFIGURABLE: c
};
},
361: (t, e, r) => {
"use strict";
var n = e, i = r(3262), o = [ "double", "float", "int32", "uint32", "sint32", "fixed32", "sfixed32", "int64", "uint64", "sint64", "fixed64", "sfixed64", "bool", "string", "bytes" ];
function bake(t, e) {
var r = 0, n = {};
for (e |= 0; r < t.length; ) n[o[r + e]] = t[r++];
return n;
}
n.basic = bake([ 1, 5, 0, 0, 0, 5, 5, 0, 0, 0, 1, 1, 0, 2, 2 ]), n.defaults = bake([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, !1, "", i.emptyArray, null ]),
n.long = bake([ 0, 0, 0, 1, 1 ], 7), n.mapKey = bake([ 0, 0, 0, 5, 5, 0, 0, 0, 1, 1, 0, 2 ], 2),
n.packed = bake([ 1, 5, 0, 0, 0, 5, 5, 0, 0, 0, 1, 1, 0 ]);
},
373: (t, e, r) => {
"use strict";
var n = r(4576), i = r(7476), o = r(9039), a = r(9306), u = r(4488), s = r(4644), c = r(3709), f = r(3763), l = r(9519), h = r(3607), d = s.aTypedArray, v = s.exportTypedArrayMethod, p = n.Uint16Array, b = p && i(p.prototype.sort), y = !(!b || o((function() {
b(new p(2), null);
})) && o((function() {
b(new p(2), {});
}))), g = !!b && !o((function() {
if (l) return l < 74;
if (c) return c < 67;
if (f) return !0;
if (h) return h < 602;
var t, e, r = new p(516), n = Array(516);
for (t = 0; t < 516; t++) e = t % 4, r[t] = 515 - t, n[t] = t - 2 * e + 3;
for (b(r, (function(t, e) {
return (t / 4 | 0) - (e / 4 | 0);
})), t = 0; t < 516; t++) if (r[t] !== n[t]) return !0;
}));
v("sort", (function(t) {
return void 0 !== t && a(t), g ? b(this, t) : u(d(this), function(t) {
return function(e, r) {
return void 0 !== t ? +t(e, r) || 0 : r != r ? -1 : e != e ? 1 : 0 === e && 0 === r ? 1 / e > 0 && 1 / r < 0 ? 1 : -1 : e > r;
};
}(t));
}), !g || y);
},
397: (t, e, r) => {
"use strict";
var n = r(7751);
t.exports = n("document", "documentElement");
},
420: (t, e, r) => {
"use strict";
t.exports = function(t) {
var e = i.codegen([ "m" ], t.name + "$verify")('if(typeof m!=="object"||m===null)')("return%j", "object expected"), r = {};
t.oneofsArray.length && e("var p={}");
for (var n = 0; n < t.fieldsArray.length; ++n) {
var o = t._fieldsArray[n].resolve(), a = "m" + i.safeProp(o.name);
if (o.optional && e("if(%s!=null&&m.hasOwnProperty(%j)){", a, o.name), o.map) e("if(!util.isObject(%s))", a)("return%j", invalid(o, "object"))("var k=Object.keys(%s)", a)("for(var i=0;i<k.length;++i){"),
genVerifyKey(e, o, "k[i]"), genVerifyValue(e, o, n, a + "[k[i]]")("}"); else if (o.repeated) e("if(!Array.isArray(%s))", a)("return%j", invalid(o, "array"))("for(var i=0;i<%s.length;++i){", a),
genVerifyValue(e, o, n, a + "[i]")("}"); else {
if (o.partOf) {
var u = i.safeProp(o.partOf.name);
1 === r[o.partOf.name] && e("if(p%s===1)", u)("return%j", o.partOf.name + ": multiple values"),
r[o.partOf.name] = 1, e("p%s=1", u);
}
genVerifyValue(e, o, n, a);
}
o.optional && e("}");
}
return e("return null");
};
var n = r(5643), i = r(3262);
function invalid(t, e) {
return t.name + ": " + e + (t.repeated && "array" !== e ? "[]" : t.map && "object" !== e ? "{k:" + t.keyType + "}" : "") + " expected";
}
function genVerifyValue(t, e, r, i) {
if (e.resolvedType) if (e.resolvedType instanceof n) {
t("switch(%s){", i)("default:")("return%j", invalid(e, "enum value"));
for (var o = Object.keys(e.resolvedType.values), a = 0; a < o.length; ++a) t("case %i:", e.resolvedType.values[o[a]]);
t("break")("}");
} else t("{")("var e=types[%i].verify(%s);", r, i)("if(e)")("return%j+e", e.name + ".")("}"); else switch (e.type) {
case "int32":
case "uint32":
case "sint32":
case "fixed32":
case "sfixed32":
t("if(!util.isInteger(%s))", i)("return%j", invalid(e, "integer"));
break;
case "int64":
case "uint64":
case "sint64":
case "fixed64":
case "sfixed64":
t("if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))", i, i, i, i)("return%j", invalid(e, "integer|Long"));
break;
case "float":
case "double":
t('if(typeof %s!=="number")', i)("return%j", invalid(e, "number"));
break;
case "bool":
t('if(typeof %s!=="boolean")', i)("return%j", invalid(e, "boolean"));
break;
case "string":
t("if(!util.isString(%s))", i)("return%j", invalid(e, "string"));
break;
case "bytes":
t('if(!(%s&&typeof %s.length==="number"||util.isString(%s)))', i, i, i)("return%j", invalid(e, "buffer"));
}
return t;
}
function genVerifyKey(t, e, r) {
switch (e.keyType) {
case "int32":
case "uint32":
case "sint32":
case "fixed32":
case "sfixed32":
t("if(!util.key32Re.test(%s))", r)("return%j", invalid(e, "integer key"));
break;
case "int64":
case "uint64":
case "sint64":
case "fixed64":
case "sfixed64":
t("if(!util.key64Re.test(%s))", r)("return%j", invalid(e, "integer|Long key"));
break;
case "bool":
t("if(!util.key2Re.test(%s))", r)("return%j", invalid(e, "boolean key"));
}
return t;
}
},
421: t => {
"use strict";
t.exports = {};
},
436: (t, e, r) => {
"use strict";
var n, i, o, a = r(6518), u = r(6395), s = r(6193), c = r(4576), f = r(9565), l = r(6840), h = r(2967), d = r(687), v = r(7633), p = r(9306), b = r(4901), y = r(34), g = r(679), w = r(2293), m = r(9225).set, _ = r(1955), O = r(3138), k = r(1103), S = r(8265), E = r(1181), A = r(550), j = r(916), x = r(6043), T = "Promise", R = j.CONSTRUCTOR, I = j.REJECTION_EVENT, C = j.SUBCLASSING, M = E.getterFor(T), N = E.set, P = A && A.prototype, L = A, B = P, V = c.TypeError, D = c.document, U = c.process, q = x.f, W = q, H = !!(D && D.createEvent && c.dispatchEvent), z = "unhandledrejection", isThenable = function(t) {
var e;
return !(!y(t) || !b(e = t.then)) && e;
}, callReaction = function(t, e) {
var r, n, i, o = e.value, a = 1 === e.state, u = a ? t.ok : t.fail, s = t.resolve, c = t.reject, l = t.domain;
try {
u ? (a || (2 === e.rejection && onHandleUnhandled(e), e.rejection = 1), !0 === u ? r = o : (l && l.enter(),
r = u(o), l && (l.exit(), i = !0)), r === t.promise ? c(new V("Promise-chain cycle")) : (n = isThenable(r)) ? f(n, r, s, c) : s(r)) : c(o);
} catch (t) {
l && !i && l.exit(), c(t);
}
}, notify = function(t, e) {
t.notified || (t.notified = !0, _((function() {
for (var r, n = t.reactions; r = n.get(); ) callReaction(r, t);
t.notified = !1, e && !t.rejection && onUnhandled(t);
})));
}, dispatchEvent = function(t, e, r) {
var n, i;
H ? ((n = D.createEvent("Event")).promise = e, n.reason = r, n.initEvent(t, !1, !0),
c.dispatchEvent(n)) : n = {
promise: e,
reason: r
}, !I && (i = c["on" + t]) ? i(n) : t === z && O("Unhandled promise rejection", r);
}, onUnhandled = function(t) {
f(m, c, (function() {
var e, r = t.facade, n = t.value;
if (isUnhandled(t) && (e = k((function() {
s ? U.emit("unhandledRejection", n, r) : dispatchEvent(z, r, n);
})), t.rejection = s || isUnhandled(t) ? 2 : 1, e.error)) throw e.value;
}));
}, isUnhandled = function(t) {
return 1 !== t.rejection && !t.parent;
}, onHandleUnhandled = function(t) {
f(m, c, (function() {
var e = t.facade;
s ? U.emit("rejectionHandled", e) : dispatchEvent("rejectionhandled", e, t.value);
}));
}, bind = function(t, e, r) {
return function(n) {
t(e, n, r);
};
}, internalReject = function(t, e, r) {
t.done || (t.done = !0, r && (t = r), t.value = e, t.state = 2, notify(t, !0));
}, internalResolve = function(t, e, r) {
if (!t.done) {
t.done = !0, r && (t = r);
try {
if (t.facade === e) throw new V("Promise can't be resolved itself");
var n = isThenable(e);
n ? _((function() {
var r = {
done: !1
};
try {
f(n, e, bind(internalResolve, r, t), bind(internalReject, r, t));
} catch (e) {
internalReject(r, e, t);
}
})) : (t.value = e, t.state = 1, notify(t, !1));
} catch (e) {
internalReject({
done: !1
}, e, t);
}
}
};
if (R && (B = (L = function(t) {
g(this, B), p(t), f(n, this);
var e = M(this);
try {
t(bind(internalResolve, e), bind(internalReject, e));
} catch (t) {
internalReject(e, t);
}
}).prototype, (n = function(t) {
N(this, {
type: T,
done: !1,
notified: !1,
parent: !1,
reactions: new S,
rejection: !1,
state: 0,
value: null
});
}).prototype = l(B, "then", (function(t, e) {
var r = M(this), n = q(w(this, L));
return r.parent = !0, n.ok = !b(t) || t, n.fail = b(e) && e, n.domain = s ? U.domain : void 0,
0 === r.state ? r.reactions.add(n) : _((function() {
callReaction(n, r);
})), n.promise;
})), i = function() {
var t = new n, e = M(t);
this.promise = t, this.resolve = bind(internalResolve, e), this.reject = bind(internalReject, e);
}, x.f = q = function(t) {
return t === L || void 0 === t ? new i(t) : W(t);
}, !u && b(A) && P !== Object.prototype)) {
o = P.then, C || l(P, "then", (function(t, e) {
var r = this;
return new L((function(t, e) {
f(o, r, t, e);
})).then(t, e);
}), {
unsafe: !0
});
try {
delete P.constructor;
} catch (t) {}
h && h(P, B);
}
a({
global: !0,
constructor: !0,
wrap: !0,
forced: R
}, {
Promise: L
}), d(L, T, !1, !0), v(T);
},
467: (t, e, r) => {
"use strict";
function asyncGeneratorStep(t, e, r, n, i, o, a) {
try {
var u = t[o](a), s = u.value;
} catch (t) {
return void r(t);
}
u.done ? e(s) : Promise.resolve(s).then(n, i);
}
function _asyncToGenerator(t) {
return function() {
var e = this, r = arguments;
return new Promise((function(n, i) {
var o = t.apply(e, r);
function _next(t) {
asyncGeneratorStep(o, n, i, _next, _throw, "next", t);
}
function _throw(t) {
asyncGeneratorStep(o, n, i, _next, _throw, "throw", t);
}
_next(void 0);
}));
};
}
r.d(e, {
A: () => _asyncToGenerator
});
},
511: (t, e, r) => {
"use strict";
var n = r(9167), i = r(9297), o = r(1951), a = r(4913).f;
t.exports = function(t) {
var e = n.Symbol || (n.Symbol = {});
i(e, t) || a(e, t, {
value: o.f(t)
});
};
},
527: t => {
"use strict";
t.exports = tokenize;
var e = /[\s{}=;:[\],'"()<>]/g, r = /(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g, n = /(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g, i = /^ *[*/]+ */, o = /^\s*\*?\/*/, a = /\n/g, u = /\s/, s = /\\(.?)/g, c = {
0: "\0",
"r": "\r",
"n": "\n",
"t": "\t"
};
function unescape(t) {
return t.replace(s, (function(t, e) {
switch (e) {
case "\\":
case "":
return e;
default:
return c[e] || "";
}
}));
}
function tokenize(t, s) {
t = t.toString();
var c = 0, f = t.length, l = 1, h = 0, d = {}, v = [], p = null;
function illegal(t) {
return Error("illegal " + t + " (line " + l + ")");
}
function charAt(e) {
return t.charAt(e);
}
function setComment(e, r, n) {
var u, c = {
type: t.charAt(e++),
lineEmpty: !1,
leading: n
}, f = e - (s ? 2 : 3);
do {
if (--f < 0 || "\n" === (u = t.charAt(f))) {
c.lineEmpty = !0;
break;
}
} while (" " === u || "\t" === u);
for (var v = t.substring(e, r).split(a), p = 0; p < v.length; ++p) v[p] = v[p].replace(s ? o : i, "").trim();
c.text = v.join("\n").trim(), d[l] = c, h = l;
}
function isDoubleSlashCommentLine(e) {
var r = findEndOfLine(e), n = t.substring(e, r);
return /^\s*\/\//.test(n);
}
function findEndOfLine(t) {
for (var e = t; e < f && "\n" !== charAt(e); ) e++;
return e;
}
function next() {
if (v.length > 0) return v.shift();
if (p) return function() {
var e = "'" === p ? n : r;
e.lastIndex = c - 1;
var i = e.exec(t);
if (!i) throw illegal("string");
return c = e.lastIndex, push(p), p = null, unescape(i[1]);
}();
var i, o, a, h, d, b = 0 === c;
do {
if (c === f) return null;
for (i = !1; u.test(a = charAt(c)); ) if ("\n" === a && (b = !0, ++l), ++c === f) return null;
if ("/" === charAt(c)) {
if (++c === f) throw illegal("comment");
if ("/" === charAt(c)) if (s) {
if (h = c, d = !1, isDoubleSlashCommentLine(c - 1)) {
d = !0;
do {
if ((c = findEndOfLine(c)) === f) break;
if (c++, !b) break;
} while (isDoubleSlashCommentLine(c));
} else c = Math.min(f, findEndOfLine(c) + 1);
d && (setComment(h, c, b), b = !0), l++, i = !0;
} else {
for (d = "/" === charAt(h = c + 1); "\n" !== charAt(++c); ) if (c === f) return null;
++c, d && (setComment(h, c - 1, b), b = !0), ++l, i = !0;
} else {
if ("*" !== (a = charAt(c))) return "/";
h = c + 1, d = s || "*" === charAt(h);
do {
if ("\n" === a && ++l, ++c === f) throw illegal("comment");
o = a, a = charAt(c);
} while ("*" !== o || "/" !== a);
++c, d && (setComment(h, c - 2, b), b = !0), i = !0;
}
}
} while (i);
var y = c;
if (e.lastIndex = 0, !e.test(charAt(y++))) for (;y < f && !e.test(charAt(y)); ) ++y;
var g = t.substring(c, c = y);
return '"' !== g && "'" !== g || (p = g), g;
}
function push(t) {
v.push(t);
}
function peek() {
if (!v.length) {
var t = next();
if (null === t) return null;
push(t);
}
return v[0];
}
return Object.defineProperty({
next,
peek,
push,
skip: function(t, e) {
var r = peek();
if (r === t) return next(), !0;
if (!e) throw illegal("token '" + r + "', '" + t + "' expected");
return !1;
},
cmnt: function(t) {
var e, r = null;
return void 0 === t ? (e = d[l - 1], delete d[l - 1], e && (s || "*" === e.type || e.lineEmpty) && (r = e.leading ? e.text : null)) : (h < t && peek(),
e = d[t], delete d[t], !e || e.lineEmpty || !s && "/" !== e.type || (r = e.leading ? null : e.text)),
r;
}
}, "line", {
get: function() {
return l;
}
});
}
tokenize.unescape = unescape;
},
533: (t, e, r) => {
"use strict";
var n = r(9504), i = r(8014), o = r(655), a = r(2333), u = r(7750), s = n(a), c = n("".slice), f = Math.ceil, createMethod = function(t) {
return function(e, r, n) {
var a, l, h = o(u(e)), d = i(r), v = h.length, p = void 0 === n ? " " : o(n);
return d <= v || "" === p ? h : ((l = s(p, f((a = d - v) / p.length))).length > a && (l = c(l, 0, a)),
t ? h + l : l + h);
};
};
t.exports = {
start: createMethod(!1),
end: createMethod(!0)
};
},
537: (t, e, r) => {
"use strict";
var n = r(550), i = r(4428), o = r(916).CONSTRUCTOR;
t.exports = o || !i((function(t) {
n.all(t).then(void 0, (function() {}));
}));
},
550: (t, e, r) => {
"use strict";
var n = r(4576);
t.exports = n.Promise;
},
597: (t, e, r) => {
"use strict";
var n = r(9039), i = r(8227), o = r(9519), a = i("species");
t.exports = function(t) {
return o >= 51 || !n((function() {
var e = [];
return (e.constructor = {})[a] = function() {
return {
foo: 1
};
}, 1 !== e[t](Boolean).foo;
}));
};
},
616: (t, e, r) => {
"use strict";
var n = r(9039);
t.exports = !n((function() {
var t = function() {}.bind();
return "function" != typeof t || t.hasOwnProperty("prototype");
}));
},
655: (t, e, r) => {
"use strict";
var n = r(6955), i = String;
t.exports = function(t) {
if ("Symbol" === n(t)) throw new TypeError("Cannot convert a Symbol value to a string");
return i(t);
};
},
679: (t, e, r) => {
"use strict";
var n = r(1625), i = TypeError;
t.exports = function(t, e) {
if (n(e, t)) return t;
throw new i("Incorrect invocation");
};
},
687: (t, e, r) => {
"use strict";
var n = r(4913).f, i = r(9297), o = r(8227)("toStringTag");
t.exports = function(t, e, r) {
t && !r && (t = t.prototype), t && !i(t, o) && n(t, o, {
configurable: !0,
value: e
});
};
},
706: (t, e, r) => {
"use strict";
var n = r(350).PROPER, i = r(9039), o = r(7452);
t.exports = function(t) {
return i((function() {
return !!o[t]() || "
" !== "
"[t]() || n && o[t].name !== t;
}));
};
},
739: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9039), o = r(8981), a = r(2777);
n({
target: "Date",
proto: !0,
arity: 1,
forced: i((function() {
return null !== new Date(NaN).toJSON() || 1 !== Date.prototype.toJSON.call({
toISOString: function() {
return 1;
}
});
}))
}, {
toJSON: function(t) {
var e = o(this), r = a(e, "number");
return "number" != typeof r || isFinite(r) ? e.toISOString() : null;
}
});
},
741: t => {
"use strict";
var e = Math.ceil, r = Math.floor;
t.exports = Math.trunc || function(t) {
var n = +t;
return (n > 0 ? r : e)(n);
};
},
744: (t, e, r) => {
"use strict";
var n = r(9565), i = r(9504), o = r(9228), a = r(8551), u = r(4117), s = r(7750), c = r(2293), f = r(7829), l = r(8014), h = r(655), d = r(5966), v = r(6682), p = r(8429), b = r(9039), y = p.UNSUPPORTED_Y, g = Math.min, w = i([].push), m = i("".slice), _ = !b((function() {
var t = /(?:)/, e = t.exec;
t.exec = function() {
return e.apply(this, arguments);
};
var r = "ab".split(t);
return 2 !== r.length || "a" !== r[0] || "b" !== r[1];
})), O = "c" === "abbc".split(/(b)*/)[1] || 4 !== "test".split(/(?:)/, -1).length || 2 !== "ab".split(/(?:ab)*/).length || 4 !== ".".split(/(.?)(.?)/).length || ".".split(/()()/).length > 1 || "".split(/.?/).length;
o("split", (function(t, e, r) {
var i = "0".split(void 0, 0).length ? function(t, r) {
return void 0 === t && 0 === r ? [] : n(e, this, t, r);
} : e;
return [ function(e, r) {
var o = s(this), a = u(e) ? void 0 : d(e, t);
return a ? n(a, e, o, r) : n(i, h(o), e, r);
}, function(t, n) {
var o = a(this), u = h(t);
if (!O) {
var s = r(i, o, u, n, i !== e);
if (s.done) return s.value;
}
var d = c(o, RegExp), p = o.unicode, b = (o.ignoreCase ? "i" : "") + (o.multiline ? "m" : "") + (o.unicode ? "u" : "") + (y ? "g" : "y"), _ = new d(y ? "^(?:" + o.source + ")" : o, b), k = void 0 === n ? 4294967295 : n >>> 0;
if (0 === k) return [];
if (0 === u.length) return null === v(_, u) ? [ u ] : [];
for (var S = 0, E = 0, A = []; E < u.length; ) {
_.lastIndex = y ? 0 : E;
var j, x = v(_, y ? m(u, E) : u);
if (null === x || (j = g(l(_.lastIndex + (y ? E : 0)), u.length)) === S) E = f(u, E, p); else {
if (w(A, m(u, S, E)), A.length === k) return A;
for (var T = 1; T <= x.length - 1; T++) if (w(A, x[T]), A.length === k) return A;
E = S = j;
}
}
return w(A, m(u, S)), A;
} ];
}), O || !_, y);
},
757: (t, e, r) => {
"use strict";
var n = r(7751), i = r(4901), o = r(1625), a = r(7040), u = Object;
t.exports = a ? function(t) {
return "symbol" == typeof t;
} : function(t) {
var e = n("Symbol");
return i(e) && o(e.prototype, u(t));
};
},
788: (t, e, r) => {
"use strict";
var n = r(34), i = r(2195), o = r(8227)("match");
t.exports = function(t) {
var e;
return n(t) && (void 0 !== (e = t[o]) ? !!e : "RegExp" === i(t));
};
},
816: (t, e, r) => {
"use strict";
r.d(e, {
A: () => toPropertyKey
});
var n = r(2284);
function toPropertyKey(t) {
var e = function(t) {
if ("object" != (0, n.A)(t) || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var r = e.call(t, "string");
if ("object" != (0, n.A)(r)) return r;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return String(t);
}(t);
return "symbol" == (0, n.A)(e) ? e : e + "";
}
},
818: (t, e, r) => {
"use strict";
t.exports = BufferWriter;
var n = r(3449);
(BufferWriter.prototype = Object.create(n.prototype)).constructor = BufferWriter;
var i = r(3610);
function BufferWriter() {
n.call(this);
}
function writeStringBuffer(t, e, r) {
t.length < 40 ? i.utf8.write(t, e, r) : e.utf8Write ? e.utf8Write(t, r) : e.write(t, r);
}
BufferWriter._configure = function() {
BufferWriter.alloc = i._Buffer_allocUnsafe, BufferWriter.writeBytesBuffer = i.Buffer && i.Buffer.prototype instanceof Uint8Array && "set" === i.Buffer.prototype.set.name ? function(t, e, r) {
e.set(t, r);
} : function(t, e, r) {
if (t.copy) t.copy(e, r, 0, t.length); else for (var n = 0; n < t.length; ) e[r++] = t[n++];
};
}, BufferWriter.prototype.bytes = function(t) {
i.isString(t) && (t = i._Buffer_from(t, "base64"));
var e = t.length >>> 0;
return this.uint32(e), e && this._push(BufferWriter.writeBytesBuffer, e, t), this;
}, BufferWriter.prototype.string = function(t) {
var e = i.Buffer.byteLength(t);
return this.uint32(e), e && this._push(writeStringBuffer, e, t), this;
}, BufferWriter._configure();
},
851: (t, e, r) => {
"use strict";
var n = r(6955), i = r(5966), o = r(4117), a = r(6269), u = r(8227)("iterator");
t.exports = function(t) {
if (!o(t)) return i(t, u) || i(t, "@@iterator") || a[n(t)];
};
},
875: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9039), o = r(8981), a = r(2787), u = r(2211);
n({
target: "Object",
stat: !0,
forced: i((function() {
a(1);
})),
sham: !u
}, {
getPrototypeOf: function(t) {
return a(o(t));
}
});
},
888: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9565), o = r(34), a = r(8551), u = r(6575), s = r(7347), c = r(2787);
n({
target: "Reflect",
stat: !0
}, {
get: function get(t, e) {
var r, n, f = arguments.length < 3 ? t : arguments[2];
return a(t) === f ? t[e] : (r = s.f(t, e)) ? u(r) ? r.value : void 0 === r.get ? void 0 : i(r.get, f) : o(n = c(t)) ? get(n, e, f) : void 0;
}
});
},
916: (t, e, r) => {
"use strict";
var n = r(4576), i = r(550), o = r(4901), a = r(2796), u = r(3706), s = r(8227), c = r(4215), f = r(6395), l = r(9519), h = i && i.prototype, d = s("species"), v = !1, p = o(n.PromiseRejectionEvent), b = a("Promise", (function() {
var t = u(i), e = t !== String(i);
if (!e && 66 === l) return !0;
if (f && (!h.catch || !h.finally)) return !0;
if (!l || l < 51 || !/native code/.test(t)) {
var r = new i((function(t) {
t(1);
})), FakePromise = function(t) {
t((function() {}), (function() {}));
};
if ((r.constructor = {})[d] = FakePromise, !(v = r.then((function() {})) instanceof FakePromise)) return !0;
}
return !(e || "BROWSER" !== c && "DENO" !== c || p);
}));
t.exports = {
CONSTRUCTOR: b,
REJECTION_EVENT: p,
SUBCLASSING: v
};
},
926: (t, e, r) => {
"use strict";
var n = r(9306), i = r(8981), o = r(7055), a = r(6198), u = TypeError, s = "Reduce of empty array with no initial value", createMethod = function(t) {
return function(e, r, c, f) {
var l = i(e), h = o(l), d = a(l);
if (n(r), 0 === d && c < 2) throw new u(s);
var v = t ? d - 1 : 0, p = t ? -1 : 1;
if (c < 2) for (;;) {
if (v in h) {
f = h[v], v += p;
break;
}
if (v += p, t ? v < 0 : d <= v) throw new u(s);
}
for (;t ? v >= 0 : d > v; v += p) v in h && (f = r(f, h[v], v, l));
return f;
};
};
t.exports = {
left: createMethod(!1),
right: createMethod(!0)
};
},
1034: (t, e, r) => {
"use strict";
var n = r(9565), i = r(9297), o = r(1625), a = r(7979), u = RegExp.prototype;
t.exports = function(t) {
var e = t.flags;
return void 0 !== e || "flags" in u || i(t, "flags") || !o(u, t) ? e : n(a, t);
};
},
1072: (t, e, r) => {
"use strict";
var n = r(1828), i = r(8727);
t.exports = Object.keys || function(t) {
return n(t, i);
};
},
1080: (t, e, r) => {
"use strict";
t.exports = function(t) {
for (var e, r = o.codegen([ "m", "w" ], t.name + "$encode")("if(!w)")("w=Writer.create()"), a = t.fieldsArray.slice().sort(o.compareFieldsById), u = 0; u < a.length; ++u) {
var s = a[u].resolve(), c = t._fieldsArray.indexOf(s), f = s.resolvedType instanceof n ? "int32" : s.type, l = i.basic[f];
e = "m" + o.safeProp(s.name), s.map ? (r("if(%s!=null&&Object.hasOwnProperty.call(m,%j)){", e, s.name)("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){", e)("w.uint32(%i).fork().uint32(%i).%s(ks[i])", (s.id << 3 | 2) >>> 0, 8 | i.mapKey[s.keyType], s.keyType),
void 0 === l ? r("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()", c, e) : r(".uint32(%i).%s(%s[ks[i]]).ldelim()", 16 | l, f, e),
r("}")("}")) : s.repeated ? (r("if(%s!=null&&%s.length){", e, e), s.packed && void 0 !== i.packed[f] ? r("w.uint32(%i).fork()", (s.id << 3 | 2) >>> 0)("for(var i=0;i<%s.length;++i)", e)("w.%s(%s[i])", f, e)("w.ldelim()") : (r("for(var i=0;i<%s.length;++i)", e),
void 0 === l ? genTypePartial(r, s, c, e + "[i]") : r("w.uint32(%i).%s(%s[i])", (s.id << 3 | l) >>> 0, f, e)),
r("}")) : (s.optional && r("if(%s!=null&&Object.hasOwnProperty.call(m,%j))", e, s.name),
void 0 === l ? genTypePartial(r, s, c, e) : r("w.uint32(%i).%s(%s)", (s.id << 3 | l) >>> 0, f, e));
}
return r("return w");
};
var n = r(5643), i = r(361), o = r(3262);
function genTypePartial(t, e, r, n) {
return e.resolvedType.group ? t("types[%i].encode(%s,w.uint32(%i)).uint32(%i)", r, n, (e.id << 3 | 3) >>> 0, (e.id << 3 | 4) >>> 0) : t("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()", r, n, (e.id << 3 | 2) >>> 0);
}
},
1088: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9565), o = r(6395), a = r(350), u = r(4901), s = r(3994), c = r(2787), f = r(2967), l = r(687), h = r(6699), d = r(6840), v = r(8227), p = r(6269), b = r(7657), y = a.PROPER, g = a.CONFIGURABLE, w = b.IteratorPrototype, m = b.BUGGY_SAFARI_ITERATORS, _ = v("iterator"), O = "keys", k = "values", S = "entries", returnThis = function() {
return this;
};
t.exports = function(t, e, r, a, v, b, E) {
s(r, e, a);
var A, j, x, getIterationMethod = function(t) {
if (t === v && M) return M;
if (!m && t && t in I) return I[t];
switch (t) {
case O:
case k:
case S:
return function() {
return new r(this, t);
};
}
return function() {
return new r(this);
};
}, T = e + " Iterator", R = !1, I = t.prototype, C = I[_] || I["@@iterator"] || v && I[v], M = !m && C || getIterationMethod(v), N = "Array" === e && I.entries || C;
if (N && (A = c(N.call(new t))) !== Object.prototype && A.next && (o || c(A) === w || (f ? f(A, w) : u(A[_]) || d(A, _, returnThis)),
l(A, T, !0, !0), o && (p[T] = returnThis)), y && v === k && C && C.name !== k && (!o && g ? h(I, "name", k) : (R = !0,
M = function() {
return i(C, this);
})), v) if (j = {
values: getIterationMethod(k),
keys: b ? M : getIterationMethod(O),
entries: getIterationMethod(S)
}, E) for (x in j) (m || R || !(x in I)) && d(I, x, j[x]); else n({
target: e,
proto: !0,
forced: m || R
}, j);
return o && !E || I[_] === M || d(I, _, M, {
name: v
}), p[e] = M, j;
};
},
1103: t => {
"use strict";
t.exports = function(t) {
try {
return {
error: !1,
value: t()
};
} catch (t) {
return {
error: !0,
value: t
};
}
};
},
1108: (t, e, r) => {
"use strict";
var n = r(6955);
t.exports = function(t) {
var e = n(t);
return "BigInt64Array" === e || "BigUint64Array" === e;
};
},
1181: (t, e, r) => {
"use strict";
var n, i, o, a = r(8622), u = r(4576), s = r(34), c = r(6699), f = r(9297), l = r(7629), h = r(6119), d = r(421), v = "Object already initialized", p = u.TypeError, b = u.WeakMap;
if (a || l.state) {
var y = l.state || (l.state = new b);
y.get = y.get, y.has = y.has, y.set = y.set, n = function(t, e) {
if (y.has(t)) throw new p(v);
return e.facade = t, y.set(t, e), e;
}, i = function(t) {
return y.get(t) || {};
}, o = function(t) {
return y.has(t);
};
} else {
var g = h("state");
d[g] = !0, n = function(t, e) {
if (f(t, g)) throw new p(v);
return e.facade = t, c(t, g, e), e;
}, i = function(t) {
return f(t, g) ? t[g] : {};
}, o = function(t) {
return f(t, g);
};
}
t.exports = {
set: n,
get: i,
has: o,
enforce: function(t) {
return o(t) ? i(t) : n(t, {});
},
getterFor: function(t) {
return function(e) {
var r;
if (!s(e) || (r = i(e)).type !== t) throw new p("Incompatible receiver, " + t + " required");
return r;
};
}
};
},
1240: (t, e, r) => {
"use strict";
var n = r(9504);
t.exports = n(1..valueOf);
},
1278: (t, e, r) => {
"use strict";
var n = r(6518), i = r(3724), o = r(5031), a = r(5397), u = r(7347), s = r(4659);
n({
target: "Object",
stat: !0,
sham: !i
}, {
getOwnPropertyDescriptors: function(t) {
for (var e, r, n = a(t), i = u.f, c = o(n), f = {}, l = 0; c.length > l; ) void 0 !== (r = i(n, e = c[l++])) && s(f, e, r);
return f;
}
});
},
1291: (t, e, r) => {
"use strict";
var n = r(741);
t.exports = function(t) {
var e = +t;
return e != e || 0 === e ? 0 : n(e);
};
},
1296: (t, e, r) => {
"use strict";
var n = r(4495);
t.exports = n && !!Symbol.for && !!Symbol.keyFor;
},
1344: (t, e, r) => {
"use strict";
t.exports = Field;
var n = r(7209);
((Field.prototype = Object.create(n.prototype)).constructor = Field).className = "Field";
var i, o = r(5643), a = r(361), u = r(3262), s = /^required|optional|repeated$/;
function Field(t, e, r, i, o, c, f) {
if (u.isObject(i) ? (f = o, c = i, i = o = void 0) : u.isObject(o) && (f = c, c = o,
o = void 0), n.call(this, t, c), !u.isInteger(e) || e < 0) throw TypeError("id must be a non-negative integer");
if (!u.isString(r)) throw TypeError("type must be a string");
if (void 0 !== i && !s.test(i = i.toString().toLowerCase())) throw TypeError("rule must be a string rule");
if (void 0 !== o && !u.isString(o)) throw TypeError("extend must be a string");
"proto3_optional" === i && (i = "optional"), this.rule = i && "optional" !== i ? i : void 0,
this.type = r, this.id = e, this.extend = o || void 0, this.required = "required" === i,
this.optional = !this.required, this.repeated = "repeated" === i, this.map = !1,
this.message = null, this.partOf = null, this.typeDefault = null, this.defaultValue = null,
this.long = !!u.Long && void 0 !== a.long[r], this.bytes = "bytes" === r, this.resolvedType = null,
this.extensionField = null, this.declaringField = null, this._packed = null, this.comment = f;
}
Field.fromJSON = function(t, e) {
return new Field(t, e.id, e.type, e.rule, e.extend, e.options, e.comment);
}, Object.defineProperty(Field.prototype, "packed", {
get: function() {
return null === this._packed && (this._packed = !1 !== this.getOption("packed")),
this._packed;
}
}), Field.prototype.setOption = function(t, e, r) {
return "packed" === t && (this._packed = null), n.prototype.setOption.call(this, t, e, r);
}, Field.prototype.toJSON = function(t) {
var e = !!t && Boolean(t.keepComments);
return u.toObject([ "rule", "optional" !== this.rule && this.rule || void 0, "type", this.type, "id", this.id, "extend", this.extend, "options", this.options, "comment", e ? this.comment : void 0 ]);
}, Field.prototype.resolve = function() {
if (this.resolved) return this;
if (void 0 === (this.typeDefault = a.defaults[this.type]) ? (this.resolvedType = (this.declaringField ? this.declaringField.parent : this.parent).lookupTypeOrEnum(this.type),
this.resolvedType instanceof i ? this.typeDefault = null : this.typeDefault = this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]) : this.options && this.options.proto3_optional && (this.typeDefault = null),
this.options && null != this.options.default && (this.typeDefault = this.options.default,
this.resolvedType instanceof o && "string" == typeof this.typeDefault && (this.typeDefault = this.resolvedType.values[this.typeDefault])),
this.options && (!0 !== this.options.packed && (void 0 === this.options.packed || !this.resolvedType || this.resolvedType instanceof o) || delete this.options.packed,
Object.keys(this.options).length || (this.options = void 0)), this.long) this.typeDefault = u.Long.fromNumber(this.typeDefault, "u" === this.type.charAt(0)),
Object.freeze && Object.freeze(this.typeDefault); else if (this.bytes && "string" == typeof this.typeDefault) {
var t;
u.base64.test(this.typeDefault) ? u.base64.decode(this.typeDefault, t = u.newBuffer(u.base64.length(this.typeDefault)), 0) : u.utf8.write(this.typeDefault, t = u.newBuffer(u.utf8.length(this.typeDefault)), 0),
this.typeDefault = t;
}
return this.map ? this.defaultValue = u.emptyObject : this.repeated ? this.defaultValue = u.emptyArray : this.defaultValue = this.typeDefault,
this.parent instanceof i && (this.parent.ctor.prototype[this.name] = this.defaultValue),
n.prototype.resolve.call(this);
}, Field.d = function(t, e, r, n) {
return "function" == typeof e ? e = u.decorateType(e).name : e && "object" == typeof e && (e = u.decorateEnum(e).name),
function(i, o) {
u.decorateType(i.constructor).add(new Field(o, t, e, r, {
"default": n
}));
};
}, Field._configure = function(t) {
i = t;
};
},
1392: (t, e, r) => {
"use strict";
var n, i = r(6518), o = r(7476), a = r(7347).f, u = r(8014), s = r(655), c = r(2892), f = r(7750), l = r(1436), h = r(6395), d = o("".slice), v = Math.min, p = l("startsWith");
i({
target: "String",
proto: !0,
forced: !(!h && !p && (n = a(String.prototype, "startsWith"), n && !n.writable) || p)
}, {
startsWith: function(t) {
var e = s(f(this));
c(t);
var r = u(v(arguments.length > 1 ? arguments[1] : void 0, e.length)), n = s(t);
return d(e, r, r + n.length) === n;
}
});
},
1405: (t, e, r) => {
"use strict";
var n = r(4576), i = r(8745), o = r(4644), a = r(9039), u = r(7680), s = n.Int8Array, c = o.aTypedArray, f = o.exportTypedArrayMethod, l = [].toLocaleString, h = !!s && a((function() {
l.call(new s(1));
}));
f("toLocaleString", (function() {
return i(l, h ? u(c(this)) : c(this), u(arguments));
}), a((function() {
return [ 1, 2 ].toLocaleString() !== new s([ 1, 2 ]).toLocaleString();
})) || !a((function() {
s.prototype.toLocaleString.call([ 1, 2 ]);
})));
},
1415: (t, e, r) => {
"use strict";
r(2405);
},
1436: (t, e, r) => {
"use strict";
var n = r(8227)("match");
t.exports = function(t) {
var e = /./;
try {
"/./"[t](e);
} catch (r) {
try {
return e[n] = !1, "/./"[t](e);
} catch (t) {}
}
return !1;
};
},
1447: (t, e) => {
"use strict";
var r = e;
r.length = function(t) {
for (var e = 0, r = 0, n = 0; n < t.length; ++n) (r = t.charCodeAt(n)) < 128 ? e += 1 : r < 2048 ? e += 2 : 55296 == (64512 & r) && 56320 == (64512 & t.charCodeAt(n + 1)) ? (++n,
e += 4) : e += 3;
return e;
}, r.read = function(t, e, r) {
if (r - e < 1) return "";
for (var n, i = null, o = [], a = 0; e < r; ) (n = t[e++]) < 128 ? o[a++] = n : n > 191 && n < 224 ? o[a++] = (31 & n) << 6 | 63 & t[e++] : n > 239 && n < 365 ? (n = ((7 & n) << 18 | (63 & t[e++]) << 12 | (63 & t[e++]) << 6 | 63 & t[e++]) - 65536,
o[a++] = 55296 + (n >> 10), o[a++] = 56320 + (1023 & n)) : o[a++] = (15 & n) << 12 | (63 & t[e++]) << 6 | 63 & t[e++],
a > 8191 && ((i || (i = [])).push(String.fromCharCode.apply(String, o)), a = 0);
return i ? (a && i.push(String.fromCharCode.apply(String, o.slice(0, a))), i.join("")) : String.fromCharCode.apply(String, o.slice(0, a));
}, r.write = function(t, e, r) {
for (var n, i, o = r, a = 0; a < t.length; ++a) (n = t.charCodeAt(a)) < 128 ? e[r++] = n : n < 2048 ? (e[r++] = n >> 6 | 192,
e[r++] = 63 & n | 128) : 55296 == (64512 & n) && 56320 == (64512 & (i = t.charCodeAt(a + 1))) ? (n = 65536 + ((1023 & n) << 10) + (1023 & i),
++a, e[r++] = n >> 18 | 240, e[r++] = n >> 12 & 63 | 128, e[r++] = n >> 6 & 63 | 128,
e[r++] = 63 & n | 128) : (e[r++] = n >> 12 | 224, e[r++] = n >> 6 & 63 | 128, e[r++] = 63 & n | 128);
return r - o;
};
},
1457: (t, e, r) => {
"use strict";
t.exports = OneOf;
var n = r(7209);
((OneOf.prototype = Object.create(n.prototype)).constructor = OneOf).className = "OneOf";
var i = r(1344), o = r(3262);
function OneOf(t, e, r, i) {
if (Array.isArray(e) || (r = e, e = void 0), n.call(this, t, r), void 0 !== e && !Array.isArray(e)) throw TypeError("fieldNames must be an Array");
this.oneof = e || [], this.fieldsArray = [], this.comment = i;
}
function addFieldsToParent(t) {
if (t.parent) for (var e = 0; e < t.fieldsArray.length; ++e) t.fieldsArray[e].parent || t.parent.add(t.fieldsArray[e]);
}
OneOf.fromJSON = function(t, e) {
return new OneOf(t, e.oneof, e.options, e.comment);
}, OneOf.prototype.toJSON = function(t) {
var e = !!t && Boolean(t.keepComments);
return o.toObject([ "options", this.options, "oneof", this.oneof, "comment", e ? this.comment : void 0 ]);
}, OneOf.prototype.add = function(t) {
if (!(t instanceof i)) throw TypeError("field must be a Field");
return t.parent && t.parent !== this.parent && t.parent.remove(t), this.oneof.push(t.name),
this.fieldsArray.push(t), t.partOf = this, addFieldsToParent(this), this;
}, OneOf.prototype.remove = function(t) {
if (!(t instanceof i)) throw TypeError("field must be a Field");
var e = this.fieldsArray.indexOf(t);
if (e < 0) throw Error(t + " is not a member of " + this);
return this.fieldsArray.splice(e, 1), (e = this.oneof.indexOf(t.name)) > -1 && this.oneof.splice(e, 1),
t.partOf = null, this;
}, OneOf.prototype.onAdd = function(t) {
n.prototype.onAdd.call(this, t);
for (var e = 0; e < this.oneof.length; ++e) {
var r = t.get(this.oneof[e]);
r && !r.partOf && (r.partOf = this, this.fieldsArray.push(r));
}
addFieldsToParent(this);
}, OneOf.prototype.onRemove = function(t) {
for (var e, r = 0; r < this.fieldsArray.length; ++r) (e = this.fieldsArray[r]).parent && e.parent.remove(e);
n.prototype.onRemove.call(this, t);
}, OneOf.d = function() {
for (var t = new Array(arguments.length), e = 0; e < arguments.length; ) t[e] = arguments[e++];
return function(e, r) {
o.decorateType(e.constructor).add(new OneOf(r, t)), Object.defineProperty(e, r, {
get: o.oneOfGetter(t),
set: o.oneOfSetter(t)
});
};
};
},
1469: (t, e, r) => {
"use strict";
var n = r(7433);
t.exports = function(t, e) {
return new (n(t))(0 === e ? 0 : e);
};
},
1481: (t, e, r) => {
"use strict";
var n = r(6518), i = r(6043);
n({
target: "Promise",
stat: !0,
forced: r(916).CONSTRUCTOR
}, {
reject: function(t) {
var e = i.f(this);
return (0, e.reject)(t), e.promise;
}
});
},
1489: (t, e, r) => {
"use strict";
r(5823)("Uint8", (function(t) {
return function(e, r, n) {
return t(this, e, r, n);
};
}));
},
1510: (t, e, r) => {
"use strict";
var n = r(6518), i = r(7751), o = r(9297), a = r(655), u = r(5745), s = r(1296), c = u("string-to-symbol-registry"), f = u("symbol-to-string-registry");
n({
target: "Symbol",
stat: !0,
forced: !s
}, {
"for": function(t) {
var e = a(t);
if (o(c, e)) return c[e];
var r = i("Symbol")(e);
return c[e] = r, f[r] = e, r;
}
});
},
1575: (t, e, r) => {
"use strict";
var n = r(4644), i = r(926).left, o = n.aTypedArray;
(0, n.exportTypedArrayMethod)("reduce", (function(t) {
var e = arguments.length;
return i(o(this), t, e, e > 1 ? arguments[1] : void 0);
}));
},
1625: (t, e, r) => {
"use strict";
var n = r(9504);
t.exports = n({}.isPrototypeOf);
},
1630: (t, e, r) => {
"use strict";
var n = r(9504), i = r(4644), o = n(r(7029)), a = i.aTypedArray;
(0, i.exportTypedArrayMethod)("copyWithin", (function(t, e) {
return o(a(this), t, e, arguments.length > 2 ? arguments[2] : void 0);
}));
},
1694: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9213).find, o = n.aTypedArray;
(0, n.exportTypedArrayMethod)("find", (function(t) {
return i(o(this), t, arguments.length > 1 ? arguments[1] : void 0);
}));
},
1699: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9504), o = r(2892), a = r(7750), u = r(655), s = r(1436), c = i("".indexOf);
n({
target: "String",
proto: !0,
forced: !s("includes")
}, {
includes: function(t) {
return !!~c(u(a(this)), u(o(t)), arguments.length > 1 ? arguments[1] : void 0);
}
});
},
1745: (t, e, r) => {
"use strict";
var n = r(6518), i = r(7476), o = r(9039), a = r(6346), u = r(8551), s = r(5610), c = r(8014), f = a.ArrayBuffer, l = a.DataView, h = l.prototype, d = i(f.prototype.slice), v = i(h.getUint8), p = i(h.setUint8);
n({
target: "ArrayBuffer",
proto: !0,
unsafe: !0,
forced: o((function() {
return !new f(2).slice(1, void 0).byteLength;
}))
}, {
slice: function(t, e) {
if (d && void 0 === e) return d(u(this), t);
for (var r = u(this).byteLength, n = s(t, r), i = s(void 0 === e ? r : e, r), o = new f(c(i - n)), a = new l(this), h = new l(o), b = 0; n < i; ) p(h, b++, v(a, n++));
return o;
}
});
},
1761: (t, e, r) => {
"use strict";
var n = r(9565), i = r(9228), o = r(8551), a = r(4117), u = r(8014), s = r(655), c = r(7750), f = r(5966), l = r(7829), h = r(6682);
i("match", (function(t, e, r) {
return [ function(e) {
var r = c(this), i = a(e) ? void 0 : f(e, t);
return i ? n(i, e, r) : new RegExp(e)[t](s(r));
}, function(t) {
var n = o(this), i = s(t), a = r(e, n, i);
if (a.done) return a.value;
if (!n.global) return h(n, i);
var c = n.unicode;
n.lastIndex = 0;
for (var f, d = [], v = 0; null !== (f = h(n, i)); ) {
var p = s(f[0]);
d[v] = p, "" === p && (n.lastIndex = l(i, u(n.lastIndex), c)), v++;
}
return 0 === v ? null : d;
} ];
}));
},
1828: (t, e, r) => {
"use strict";
var n = r(9504), i = r(9297), o = r(5397), a = r(9617).indexOf, u = r(421), s = n([].push);
t.exports = function(t, e) {
var r, n = o(t), c = 0, f = [];
for (r in n) !i(u, r) && i(n, r) && s(f, r);
for (;e.length > c; ) i(n, r = e[c++]) && (~a(f, r) || s(f, r));
return f;
};
},
1920: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9213).filter, o = r(9948), a = n.aTypedArray;
(0, n.exportTypedArrayMethod)("filter", (function(t) {
var e = i(a(this), t, arguments.length > 1 ? arguments[1] : void 0);
return o(this, e);
}));
},
1951: (t, e, r) => {
"use strict";
var n = r(8227);
e.f = n;
},
1955: (t, e, r) => {
"use strict";
var n, i, o, a, u, s = r(4576), c = r(3389), f = r(6080), l = r(9225).set, h = r(8265), d = r(9544), v = r(4265), p = r(7860), b = r(6193), y = s.MutationObserver || s.WebKitMutationObserver, g = s.document, w = s.process, m = s.Promise, _ = c("queueMicrotask");
if (!_) {
var O = new h, flush = function() {
var t, e;
for (b && (t = w.domain) && t.exit(); e = O.get(); ) try {
e();
} catch (t) {
throw O.head && n(), t;
}
t && t.enter();
};
d || b || p || !y || !g ? !v && m && m.resolve ? ((a = m.resolve(void 0)).constructor = m,
u = f(a.then, a), n = function() {
u(flush);
}) : b ? n = function() {
w.nextTick(flush);
} : (l = f(l, s), n = function() {
l(flush);
}) : (i = !0, o = g.createTextNode(""), new y(flush).observe(o, {
characterData: !0
}), n = function() {
o.data = i = !i;
}), _ = function(t) {
O.head || n(), O.add(t);
};
}
t.exports = _;
},
2003: (t, e, r) => {
"use strict";
var n = r(6518), i = r(6395), o = r(916).CONSTRUCTOR, a = r(550), u = r(7751), s = r(4901), c = r(6840), f = a && a.prototype;
if (n({
target: "Promise",
proto: !0,
forced: o,
real: !0
}, {
"catch": function(t) {
return this.then(void 0, t);
}
}), !i && s(a)) {
var l = u("Promise").prototype.catch;
f.catch !== l && c(f, "catch", l, {
unsafe: !0
});
}
},
2008: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9213).filter;
n({
target: "Array",
proto: !0,
forced: !r(597)("filter")
}, {
filter: function(t) {
return i(this, t, arguments.length > 1 ? arguments[1] : void 0);
}
});
},
2010: (t, e, r) => {
"use strict";
var n = r(3724), i = r(350).EXISTS, o = r(9504), a = r(2106), u = Function.prototype, s = o(u.toString), c = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/, f = o(c.exec);
n && !i && a(u, "name", {
configurable: !0,
get: function() {
try {
return f(c, s(this))[1];
} catch (t) {
return "";
}
}
});
},
2062: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9213).map;
n({
target: "Array",
proto: !0,
forced: !r(597)("map")
}, {
map: function(t) {
return i(this, t, arguments.length > 1 ? arguments[1] : void 0);
}
});
},
2087: (t, e, r) => {
"use strict";
var n = r(34), i = Math.floor;
t.exports = Number.isInteger || function(t) {
return !n(t) && isFinite(t) && i(t) === t;
};
},
2106: (t, e, r) => {
"use strict";
var n = r(283), i = r(4913);
t.exports = function(t, e, r) {
return r.get && n(r.get, e, {
getter: !0
}), r.set && n(r.set, e, {
setter: !0
}), i.f(t, e, r);
};
},
2140: (t, e, r) => {
"use strict";
var n = {};
n[r(8227)("toStringTag")] = "z", t.exports = "[object z]" === String(n);
},
2170: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9213).every, o = n.aTypedArray;
(0, n.exportTypedArrayMethod)("every", (function(t) {
return i(o(this), t, arguments.length > 1 ? arguments[1] : void 0);
}));
},
2195: (t, e, r) => {
"use strict";
var n = r(9504), i = n({}.toString), o = n("".slice);
t.exports = function(t) {
return o(i(t), 8, -1);
};
},
2211: (t, e, r) => {
"use strict";
var n = r(9039);
t.exports = !n((function() {
function F() {}
return F.prototype.constructor = null, Object.getPrototypeOf(new F) !== F.prototype;
}));
},
2239: (t, e, r) => {
"use strict";
t.exports = LongBits;
var n = r(3610);
function LongBits(t, e) {
this.lo = t >>> 0, this.hi = e >>> 0;
}
var i = LongBits.zero = new LongBits(0, 0);
i.toNumber = function() {
return 0;
}, i.zzEncode = i.zzDecode = function() {
return this;
}, i.length = function() {
return 1;
};
var o = LongBits.zeroHash = "\0\0\0\0\0\0\0\0";
LongBits.fromNumber = function(t) {
if (0 === t) return i;
var e = t < 0;
e && (t = -t);
var r = t >>> 0, n = (t - r) / 4294967296 >>> 0;
return e && (n = ~n >>> 0, r = ~r >>> 0, ++r > 4294967295 && (r = 0, ++n > 4294967295 && (n = 0))),
new LongBits(r, n);
}, LongBits.from = function(t) {
if ("number" == typeof t) return LongBits.fromNumber(t);
if (n.isString(t)) {
if (!n.Long) return LongBits.fromNumber(parseInt(t, 10));
t = n.Long.fromString(t);
}
return t.low || t.high ? new LongBits(t.low >>> 0, t.high >>> 0) : i;
}, LongBits.prototype.toNumber = function(t) {
if (!t && this.hi >>> 31) {
var e = 1 + ~this.lo >>> 0, r = ~this.hi >>> 0;
return e || (r = r + 1 >>> 0), -(e + 4294967296 * r);
}
return this.lo + 4294967296 * this.hi;
}, LongBits.prototype.toLong = function(t) {
return n.Long ? new n.Long(0 | this.lo, 0 | this.hi, Boolean(t)) : {
low: 0 | this.lo,
high: 0 | this.hi,
unsigned: Boolean(t)
};
};
var a = String.prototype.charCodeAt;
LongBits.fromHash = function(t) {
return t === o ? i : new LongBits((a.call(t, 0) | a.call(t, 1) << 8 | a.call(t, 2) << 16 | a.call(t, 3) << 24) >>> 0, (a.call(t, 4) | a.call(t, 5) << 8 | a.call(t, 6) << 16 | a.call(t, 7) << 24) >>> 0);
}, LongBits.prototype.toHash = function() {
return String.fromCharCode(255 & this.lo, this.lo >>> 8 & 255, this.lo >>> 16 & 255, this.lo >>> 24, 255 & this.hi, this.hi >>> 8 & 255, this.hi >>> 16 & 255, this.hi >>> 24);
}, LongBits.prototype.zzEncode = function() {
var t = this.hi >> 31;
return this.hi = ((this.hi << 1 | this.lo >>> 31) ^ t) >>> 0, this.lo = (this.lo << 1 ^ t) >>> 0,
this;
}, LongBits.prototype.zzDecode = function() {
var t = -(1 & this.lo);
return this.lo = ((this.lo >>> 1 | this.hi << 31) ^ t) >>> 0, this.hi = (this.hi >>> 1 ^ t) >>> 0,
this;
}, LongBits.prototype.length = function() {
var t = this.lo, e = (this.lo >>> 28 | this.hi << 4) >>> 0, r = this.hi >>> 24;
return 0 === r ? 0 === e ? t < 16384 ? t < 128 ? 1 : 2 : t < 2097152 ? 3 : 4 : e < 16384 ? e < 128 ? 5 : 6 : e < 2097152 ? 7 : 8 : r < 128 ? 9 : 10;
};
},
2259: (t, e, r) => {
"use strict";
r(511)("iterator");
},
2284: (t, e, r) => {
"use strict";
function _typeof(t) {
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
return typeof t;
} : function(t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
}, _typeof(t);
}
r.d(e, {
A: () => _typeof
});
},
2293: (t, e, r) => {
"use strict";
var n = r(8551), i = r(5548), o = r(4117), a = r(8227)("species");
t.exports = function(t, e) {
var r, u = n(t).constructor;
return void 0 === u || o(r = n(u)[a]) ? e : i(r);
};
},
2333: (t, e, r) => {
"use strict";
var n = r(1291), i = r(655), o = r(7750), a = RangeError;
t.exports = function(t) {
var e = i(o(this)), r = "", u = n(t);
if (u < 0 || u === 1 / 0) throw new a("Wrong number of repetitions");
for (;u > 0; (u >>>= 1) && (e += e)) 1 & u && (r += e);
return r;
};
},
2357: (t, e, r) => {
"use strict";
var n = r(3724), i = r(9039), o = r(9504), a = r(2787), u = r(1072), s = r(5397), c = o(r(8773).f), f = o([].push), l = n && i((function() {
var t = Object.create(null);
return t[2] = 2, !c(t, 2);
})), createMethod = function(t) {
return function(e) {
for (var r, i = s(e), o = u(i), h = l && null === a(i), d = o.length, v = 0, p = []; d > v; ) r = o[v++],
n && !(h ? r in i : c(i, r)) || f(p, t ? [ r, i[r] ] : i[r]);
return p;
};
};
t.exports = {
entries: createMethod(!0),
values: createMethod(!1)
};
},
2360: (t, e, r) => {
"use strict";
var n, i = r(8551), o = r(6801), a = r(8727), u = r(421), s = r(397), c = r(4055), f = r(6119), l = "prototype", h = "script", d = f("IE_PROTO"), EmptyConstructor = function() {}, scriptTag = function(t) {
return "<" + h + ">" + t + "</" + h + ">";
}, NullProtoObjectViaActiveX = function(t) {
t.write(scriptTag("")), t.close();
var e = t.parentWindow.Object;
return t = null, e;
}, NullProtoObject = function() {
try {
n = new ActiveXObject("htmlfile");
} catch (t) {}
var t, e, r;
NullProtoObject = "undefined" != typeof document ? document.domain && n ? NullProtoObjectViaActiveX(n) : (e = c("iframe"),
r = "java" + h + ":", e.style.display = "none", s.appendChild(e), e.src = String(r),
(t = e.contentWindow.document).open(), t.write(scriptTag("document.F=Object")),
t.close(), t.F) : NullProtoObjectViaActiveX(n);
for (var i = a.length; i--; ) delete NullProtoObject[l][a[i]];
return NullProtoObject();
};
u[d] = !0, t.exports = Object.create || function(t, e) {
var r;
return null !== t ? (EmptyConstructor[l] = i(t), r = new EmptyConstructor, EmptyConstructor[l] = null,
r[d] = t) : r = NullProtoObject(), void 0 === e ? r : o.f(r, e);
};
},
2405: (t, e, r) => {
"use strict";
r(6468)("Set", (function(t) {
return function() {
return t(this, arguments.length ? arguments[0] : void 0);
};
}), r(6938));
},
2478: (t, e, r) => {
"use strict";
var n = r(9504), i = r(8981), o = Math.floor, a = n("".charAt), u = n("".replace), s = n("".slice), c = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, f = /\$([$&'`]|\d{1,2})/g;
t.exports = function(t, e, r, n, l, h) {
var d = r + t.length, v = n.length, p = f;
return void 0 !== l && (l = i(l), p = c), u(h, p, (function(i, u) {
var c;
switch (a(u, 0)) {
case "$":
return "$";
case "&":
return t;
case "`":
return s(e, 0, r);
case "'":
return s(e, d);
case "<":
c = l[s(u, 1, -1)];
break;
default:
var f = +u;
if (0 === f) return i;
if (f > v) {
var h = o(f / 10);
return 0 === h ? i : h <= v ? void 0 === n[h - 1] ? a(u, 1) : n[h - 1] + a(u, 1) : i;
}
c = n[f - 1];
}
return void 0 === c ? "" : c;
}));
};
},
2529: t => {
"use strict";
t.exports = function(t, e) {
return {
value: t,
done: e
};
};
},
2549: (t, e, r) => {
"use strict";
t.exports = r(9100);
},
2551: (t, e, r) => {
"use strict";
t.exports = Message;
var n = r(3610);
function Message(t) {
if (t) for (var e = Object.keys(t), r = 0; r < e.length; ++r) this[e[r]] = t[e[r]];
}
Message.create = function(t) {
return this.$type.create(t);
}, Message.encode = function(t, e) {
return this.$type.encode(t, e);
}, Message.encodeDelimited = function(t, e) {
return this.$type.encodeDelimited(t, e);
}, Message.decode = function(t) {
return this.$type.decode(t);
}, Message.decodeDelimited = function(t) {
return this.$type.decodeDelimited(t);
}, Message.verify = function(t) {
return this.$type.verify(t);
}, Message.fromObject = function(t) {
return this.$type.fromObject(t);
}, Message.toObject = function(t, e) {
return this.$type.toObject(t, e);
}, Message.prototype.toJSON = function() {
return this.$type.toObject(this, n.toJSONOptions);
};
},
2652: (t, e, r) => {
"use strict";
var n = r(6080), i = r(9565), o = r(8551), a = r(6823), u = r(4209), s = r(6198), c = r(1625), f = r(81), l = r(851), h = r(9539), d = TypeError, Result = function(t, e) {
this.stopped = t, this.result = e;
}, v = Result.prototype;
t.exports = function(t, e, r) {
var p, b, y, g, w, m, _, O = r && r.that, k = !(!r || !r.AS_ENTRIES), S = !(!r || !r.IS_RECORD), E = !(!r || !r.IS_ITERATOR), A = !(!r || !r.INTERRUPTED), j = n(e, O), stop = function(t) {
return p && h(p, "normal", t), new Result(!0, t);
}, callFn = function(t) {
return k ? (o(t), A ? j(t[0], t[1], stop) : j(t[0], t[1])) : A ? j(t, stop) : j(t);
};
if (S) p = t.iterator; else if (E) p = t; else {
if (!(b = l(t))) throw new d(a(t) + " is not iterable");
if (u(b)) {
for (y = 0, g = s(t); g > y; y++) if ((w = callFn(t[y])) && c(v, w)) return w;
return new Result(!1);
}
p = f(t, b);
}
for (m = S ? t.next : p.next; !(_ = i(m, p)).done; ) {
try {
w = callFn(_.value);
} catch (t) {
h(p, "throw", t);
}
if ("object" == typeof w && w && c(v, w)) return w;
}
return new Result(!1);
};
},
2675: (t, e, r) => {
"use strict";
r(6761), r(1510), r(7812), r(3110), r(9773);
},
2703: (t, e, r) => {
"use strict";
var n = r(4576), i = r(9039), o = r(9504), a = r(655), u = r(3802).trim, s = r(7452), c = n.parseInt, f = n.Symbol, l = f && f.iterator, h = /^[+-]?0x/i, d = o(h.exec), v = 8 !== c(s + "08") || 22 !== c(s + "0x16") || l && !i((function() {
c(Object(l));
}));
t.exports = v ? function(t, e) {
var r = u(a(t));
return c(r, e >>> 0 || (d(h, r) ? 16 : 10));
} : c;
},
2712: (t, e, r) => {
"use strict";
var n = r(6518), i = r(926).left, o = r(4598), a = r(9519);
n({
target: "Array",
proto: !0,
forced: !r(6193) && a > 79 && a < 83 || !o("reduce")
}, {
reduce: function(t) {
var e = arguments.length;
return i(this, t, e, e > 1 ? arguments[1] : void 0);
}
});
},
2744: (t, e, r) => {
"use strict";
var n = r(9039);
t.exports = !n((function() {
return Object.isExtensible(Object.preventExtensions({}));
}));
},
2762: (t, e, r) => {
"use strict";
var n = r(6518), i = r(3802).trim;
n({
target: "String",
proto: !0,
forced: r(706)("trim")
}, {
trim: function() {
return i(this);
}
});
},
2777: (t, e, r) => {
"use strict";
var n = r(9565), i = r(34), o = r(757), a = r(5966), u = r(4270), s = r(8227), c = TypeError, f = s("toPrimitive");
t.exports = function(t, e) {
if (!i(t) || o(t)) return t;
var r, s = a(t, f);
if (s) {
if (void 0 === e && (e = "default"), r = n(s, t, e), !i(r) || o(r)) return r;
throw new c("Can't convert object to primitive value");
}
return void 0 === e && (e = "number"), u(t, e);
};
},
2787: (t, e, r) => {
"use strict";
var n = r(9297), i = r(4901), o = r(8981), a = r(6119), u = r(2211), s = a("IE_PROTO"), c = Object, f = c.prototype;
t.exports = u ? c.getPrototypeOf : function(t) {
var e = o(t);
if (n(e, s)) return e[s];
var r = e.constructor;
return i(r) && e instanceof r ? r.prototype : e instanceof c ? f : null;
};
},
2796: (t, e, r) => {
"use strict";
var n = r(9039), i = r(4901), o = /#|\.prototype\./, isForced = function(t, e) {
var r = u[a(t)];
return r === c || r !== s && (i(e) ? n(e) : !!e);
}, a = isForced.normalize = function(t) {
return String(t).replace(o, ".").toLowerCase();
}, u = isForced.data = {}, s = isForced.NATIVE = "N", c = isForced.POLYFILL = "P";
t.exports = isForced;
},
2805: (t, e, r) => {
"use strict";
var n = r(4576), i = r(9039), o = r(4428), a = r(4644).NATIVE_ARRAY_BUFFER_VIEWS, u = n.ArrayBuffer, s = n.Int8Array;
t.exports = !a || !i((function() {
s(1);
})) || !i((function() {
new s(-1);
})) || !o((function(t) {
new s, new s(null), new s(1.5), new s(t);
}), !0) || i((function() {
return 1 !== new s(new u(2), 1, void 0).length;
}));
},
2812: t => {
"use strict";
var e = TypeError;
t.exports = function(t, r) {
if (t < r) throw new e("Not enough arguments");
return t;
};
},
2839: (t, e, r) => {
"use strict";
var n = r(4576).navigator, i = n && n.userAgent;
t.exports = i ? String(i) : "";
},
2887: (t, e, r) => {
"use strict";
var n = r(4576), i = r(9039), o = r(9504), a = r(4644), u = r(3792), s = r(8227)("iterator"), c = n.Uint8Array, f = o(u.values), l = o(u.keys), h = o(u.entries), d = a.aTypedArray, v = a.exportTypedArrayMethod, p = c && c.prototype, b = !i((function() {
p[s].call([ 1 ]);
})), y = !!p && p.values && p[s] === p.values && "values" === p.values.name, typedArrayValues = function() {
return f(d(this));
};
v("entries", (function() {
return h(d(this));
}), b), v("keys", (function() {
return l(d(this));
}), b), v("values", typedArrayValues, b || !y, {
name: "values"
}), v(s, typedArrayValues, b || !y, {
name: "values"
});
},
2892: (t, e, r) => {
"use strict";
var n = r(788), i = TypeError;
t.exports = function(t) {
if (n(t)) throw new i("The method doesn't accept regular expressions");
return t;
};
},
2953: (t, e, r) => {
"use strict";
var n = r(4576), i = r(7400), o = r(9296), a = r(3792), u = r(6699), s = r(687), c = r(8227)("iterator"), f = a.values, handlePrototype = function(t, e) {
if (t) {
if (t[c] !== f) try {
u(t, c, f);
} catch (e) {
t[c] = f;
}
if (s(t, e, !0), i[e]) for (var r in a) if (t[r] !== a[r]) try {
u(t, r, a[r]);
} catch (e) {
t[r] = a[r];
}
}
};
for (var l in i) handlePrototype(n[l] && n[l].prototype, l);
handlePrototype(o, "DOMTokenList");
},
2967: (t, e, r) => {
"use strict";
var n = r(6706), i = r(34), o = r(7750), a = r(3506);
t.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() {
var t, e = !1, r = {};
try {
(t = n(Object.prototype, "__proto__", "set"))(r, []), e = r instanceof Array;
} catch (t) {}
return function(r, n) {
return o(r), a(n), i(r) ? (e ? t(r, n) : r.__proto__ = n, r) : r;
};
}() : void 0);
},
3063: (t, e, r) => {
"use strict";
var n = r(2839);
t.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n);
},
3110: (t, e, r) => {
"use strict";
var n = r(6518), i = r(7751), o = r(8745), a = r(9565), u = r(9504), s = r(9039), c = r(4901), f = r(757), l = r(7680), h = r(6933), d = r(4495), v = String, p = i("JSON", "stringify"), b = u(/./.exec), y = u("".charAt), g = u("".charCodeAt), w = u("".replace), m = u(1..toString), _ = /[\uD800-\uDFFF]/g, O = /^[\uD800-\uDBFF]$/, k = /^[\uDC00-\uDFFF]$/, S = !d || s((function() {
var t = i("Symbol")("stringify detection");
return "[null]" !== p([ t ]) || "{}" !== p({
a: t
}) || "{}" !== p(Object(t));
})), E = s((function() {
return '"\\udf06\\ud834"' !== p("\udf06\ud834") || '"\\udead"' !== p("\udead");
})), stringifyWithSymbolsFix = function(t, e) {
var r = l(arguments), n = h(e);
if (c(n) || void 0 !== t && !f(t)) return r[1] = function(t, e) {
if (c(n) && (e = a(n, this, v(t), e)), !f(e)) return e;
}, o(p, null, r);
}, fixIllFormed = function(t, e, r) {
var n = y(r, e - 1), i = y(r, e + 1);
return b(O, t) && !b(k, i) || b(k, t) && !b(O, n) ? "\\u" + m(g(t, 0), 16) : t;
};
p && n({
target: "JSON",
stat: !0,
arity: 3,
forced: S || E
}, {
stringify: function(t, e, r) {
var n = l(arguments), i = o(S ? stringifyWithSymbolsFix : p, null, n);
return E && "string" == typeof i ? w(i, _, fixIllFormed) : i;
}
});
},
3138: t => {
"use strict";
t.exports = function(t, e) {};
},
3158: (t, e, r) => {
"use strict";
t.exports = BufferReader;
var n = r(6237);
(BufferReader.prototype = Object.create(n.prototype)).constructor = BufferReader;
var i = r(3610);
function BufferReader(t) {
n.call(this, t);
}
BufferReader._configure = function() {
i.Buffer && (BufferReader.prototype._slice = i.Buffer.prototype.slice);
}, BufferReader.prototype.string = function() {
var t = this.uint32();
return this.buf.utf8Slice ? this.buf.utf8Slice(this.pos, this.pos = Math.min(this.pos + t, this.len)) : this.buf.toString("utf-8", this.pos, this.pos = Math.min(this.pos + t, this.len));
}, BufferReader._configure();
},
3164: (t, e, r) => {
"use strict";
var n = r(7782), i = r(3602), o = Math.abs;
t.exports = function(t, e, r, a) {
var u = +t, s = o(u), c = n(u);
if (s < a) return c * i(s / a / e) * a * e;
var f = (1 + e / 2220446049250313e-31) * s, l = f - (f - s);
return l > r || l != l ? c * (1 / 0) : c * l;
};
},
3167: (t, e, r) => {
"use strict";
var n = r(4901), i = r(34), o = r(2967);
t.exports = function(t, e, r) {
var a, u;
return o && n(a = e.constructor) && a !== r && i(u = a.prototype) && u !== r.prototype && o(t, u),
t;
};
},
3179: (t, e, r) => {
"use strict";
var n = r(2140), i = r(6955);
t.exports = n ? {}.toString : function() {
return "[object " + i(this) + "]";
};
},
3206: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9213).forEach, o = n.aTypedArray;
(0, n.exportTypedArrayMethod)("forEach", (function(t) {
i(o(this), t, arguments.length > 1 ? arguments[1] : void 0);
}));
},
3251: (t, e, r) => {
"use strict";
var n = r(6080), i = r(9565), o = r(5548), a = r(8981), u = r(6198), s = r(81), c = r(851), f = r(4209), l = r(1108), h = r(4644).aTypedArrayConstructor, d = r(5854);
t.exports = function(t) {
var e, r, v, p, b, y, g, w, m = o(this), _ = a(t), O = arguments.length, k = O > 1 ? arguments[1] : void 0, S = void 0 !== k, E = c(_);
if (E && !f(E)) for (w = (g = s(_, E)).next, _ = []; !(y = i(w, g)).done; ) _.push(y.value);
for (S && O > 2 && (k = n(k, arguments[2])), r = u(_), v = new (h(m))(r), p = l(v),
e = 0; r > e; e++) b = S ? k(_[e], e) : _[e], v[e] = p ? d(b) : +b;
return v;
};
},
3262: (t, e, r) => {
"use strict";
var n, i, o = t.exports = r(3610), a = r(4529);
o.codegen = r(8561), o.fetch = r(5212), o.path = r(9207), o.fs = o.inquire("fs"),
o.toArray = function(t) {
if (t) {
for (var e = Object.keys(t), r = new Array(e.length), n = 0; n < e.length; ) r[n] = t[e[n++]];
return r;
}
return [];
}, o.toObject = function(t) {
for (var e = {}, r = 0; r < t.length; ) {
var n = t[r++], i = t[r++];
void 0 !== i && (e[n] = i);
}
return e;
};
var u = /\\/g, s = /"/g;
o.isReserved = function(t) {
return /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(t);
}, o.safeProp = function(t) {
return !/^[$\w_]+$/.test(t) || o.isReserved(t) ? '["' + t.replace(u, "\\\\").replace(s, '\\"') + '"]' : "." + t;
}, o.ucFirst = function(t) {
return t.charAt(0).toUpperCase() + t.substring(1);
};
var c = /_([a-z])/g;
o.camelCase = function(t) {
return t.substring(0, 1) + t.substring(1).replace(c, (function(t, e) {
return e.toUpperCase();
}));
}, o.compareFieldsById = function(t, e) {
return t.id - e.id;
}, o.decorateType = function(t, e) {
if (t.$type) return e && t.$type.name !== e && (o.decorateRoot.remove(t.$type),
t.$type.name = e, o.decorateRoot.add(t.$type)), t.$type;
n || (n = r(7882));
var i = new n(e || t.name);
return o.decorateRoot.add(i), i.ctor = t, Object.defineProperty(t, "$type", {
value: i,
enumerable: !1
}), Object.defineProperty(t.prototype, "$type", {
value: i,
enumerable: !1
}), i;
};
var f = 0;
o.decorateEnum = function(t) {
if (t.$type) return t.$type;
i || (i = r(5643));
var e = new i("Enum" + f++, t);
return o.decorateRoot.add(e), Object.defineProperty(t, "$type", {
value: e,
enumerable: !1
}), e;
}, o.setProperty = function(t, e, r) {
if ("object" != typeof t) throw TypeError("dst must be an object");
if (!e) throw TypeError("path must be specified");
return function setProp(t, e, r) {
var n = e.shift();
if ("__proto__" === n || "prototype" === n) return t;
if (e.length > 0) t[n] = setProp(t[n] || {}, e, r); else {
var i = t[n];
i && (r = [].concat(i).concat(r)), t[n] = r;
}
return t;
}(t, e = e.split("."), r);
}, Object.defineProperty(o, "decorateRoot", {
get: function() {
return a.decorated || (a.decorated = new (r(5330)));
}
});
},
3296: (t, e, r) => {
"use strict";
r(5806);
},
3362: (t, e, r) => {
"use strict";
r(436), r(6499), r(2003), r(7743), r(1481), r(280);
},
3389: (t, e, r) => {
"use strict";
var n = r(4576), i = r(3724), o = Object.getOwnPropertyDescriptor;
t.exports = function(t) {
if (!i) return n[t];
var e = o(n, t);
return e && e.value;
};
},
3392: (t, e, r) => {
"use strict";
var n = r(9504), i = 0, o = Math.random(), a = n(1..toString);
t.exports = function(t) {
return "Symbol(" + (void 0 === t ? "" : t) + ")_" + a(++i + o, 36);
};
},
3418: (t, e, r) => {
"use strict";
var n = r(6518), i = r(7916);
n({
target: "Array",
stat: !0,
forced: !r(4428)((function(t) {
Array.from(t);
}))
}, {
from: i
});
},
3438: (t, e, r) => {
"use strict";
var n = r(8551), i = r(34), o = r(6043);
t.exports = function(t, e) {
if (n(t), i(e) && e.constructor === t) return e;
var r = o.f(t);
return (0, r.resolve)(e), r.promise;
};
},
3449: (t, e, r) => {
"use strict";
t.exports = Writer;
var n, i = r(3610), o = i.LongBits, a = i.base64, u = i.utf8;
function Op(t, e, r) {
this.fn = t, this.len = e, this.next = void 0, this.val = r;
}
function noop() {}
function State(t) {
this.head = t.head, this.tail = t.tail, this.len = t.len, this.next = t.states;
}
function Writer() {
this.len = 0, this.head = new Op(noop, 0, 0), this.tail = this.head, this.states = null;
}
var create = function() {
return i.Buffer ? function() {
return (Writer.create = function() {
return new n;
})();
} : function() {
return new Writer;
};
};
function writeByte(t, e, r) {
e[r] = 255 & t;
}
function VarintOp(t, e) {
this.len = t, this.next = void 0, this.val = e;
}
function writeVarint64(t, e, r) {
for (;t.hi; ) e[r++] = 127 & t.lo | 128, t.lo = (t.lo >>> 7 | t.hi << 25) >>> 0,
t.hi >>>= 7;
for (;t.lo > 127; ) e[r++] = 127 & t.lo | 128, t.lo = t.lo >>> 7;
e[r++] = t.lo;
}
function writeFixed32(t, e, r) {
e[r] = 255 & t, e[r + 1] = t >>> 8 & 255, e[r + 2] = t >>> 16 & 255, e[r + 3] = t >>> 24;
}
Writer.create = create(), Writer.alloc = function(t) {
return new i.Array(t);
}, i.Array !== Array && (Writer.alloc = i.pool(Writer.alloc, i.Array.prototype.subarray)),
Writer.prototype._push = function(t, e, r) {
return this.tail = this.tail.next = new Op(t, e, r), this.len += e, this;
}, VarintOp.prototype = Object.create(Op.prototype), VarintOp.prototype.fn = function(t, e, r) {
for (;t > 127; ) e[r++] = 127 & t | 128, t >>>= 7;
e[r] = t;
}, Writer.prototype.uint32 = function(t) {
return this.len += (this.tail = this.tail.next = new VarintOp((t >>>= 0) < 128 ? 1 : t < 16384 ? 2 : t < 2097152 ? 3 : t < 268435456 ? 4 : 5, t)).len,
this;
}, Writer.prototype.int32 = function(t) {
return t < 0 ? this._push(writeVarint64, 10, o.fromNumber(t)) : this.uint32(t);
}, Writer.prototype.sint32 = function(t) {
return this.uint32((t << 1 ^ t >> 31) >>> 0);
}, Writer.prototype.uint64 = function(t) {
var e = o.from(t);
return this._push(writeVarint64, e.length(), e);
}, Writer.prototype.int64 = Writer.prototype.uint64, Writer.prototype.sint64 = function(t) {
var e = o.from(t).zzEncode();
return this._push(writeVarint64, e.length(), e);
}, Writer.prototype.bool = function(t) {
return this._push(writeByte, 1, t ? 1 : 0);
}, Writer.prototype.fixed32 = function(t) {
return this._push(writeFixed32, 4, t >>> 0);
}, Writer.prototype.sfixed32 = Writer.prototype.fixed32, Writer.prototype.fixed64 = function(t) {
var e = o.from(t);
return this._push(writeFixed32, 4, e.lo)._push(writeFixed32, 4, e.hi);
}, Writer.prototype.sfixed64 = Writer.prototype.fixed64, Writer.prototype.float = function(t) {
return this._push(i.float.writeFloatLE, 4, t);
}, Writer.prototype.double = function(t) {
return this._push(i.float.writeDoubleLE, 8, t);
};
var s = i.Array.prototype.set ? function(t, e, r) {
e.set(t, r);
} : function(t, e, r) {
for (var n = 0; n < t.length; ++n) e[r + n] = t[n];
};
Writer.prototype.bytes = function(t) {
var e = t.length >>> 0;
if (!e) return this._push(writeByte, 1, 0);
if (i.isString(t)) {
var r = Writer.alloc(e = a.length(t));
a.decode(t, r, 0), t = r;
}
return this.uint32(e)._push(s, e, t);
}, Writer.prototype.string = function(t) {
var e = u.length(t);
return e ? this.uint32(e)._push(u.write, e, t) : this._push(writeByte, 1, 0);
}, Writer.prototype.fork = function() {
return this.states = new State(this), this.head = this.tail = new Op(noop, 0, 0),
this.len = 0, this;
}, Writer.prototype.reset = function() {
return this.states ? (this.head = this.states.head, this.tail = this.states.tail,
this.len = this.states.len, this.states = this.states.next) : (this.head = this.tail = new Op(noop, 0, 0),
this.len = 0), this;
}, Writer.prototype.ldelim = function() {
var t = this.head, e = this.tail, r = this.len;
return this.reset().uint32(r), r && (this.tail.next = t.next, this.tail = e, this.len += r),
this;
}, Writer.prototype.finish = function() {
for (var t = this.head.next, e = this.constructor.alloc(this.len), r = 0; t; ) t.fn(t.val, e, r),
r += t.len, t = t.next;
return e;
}, Writer._configure = function(t) {
n = t, Writer.create = create(), n._configure();
};
},
3451: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9504), o = r(421), a = r(34), u = r(9297), s = r(4913).f, c = r(8480), f = r(298), l = r(4124), h = r(3392), d = r(2744), v = !1, p = h("meta"), b = 0, setMetadata = function(t) {
s(t, p, {
value: {
objectID: "O" + b++,
weakData: {}
}
});
}, y = t.exports = {
enable: function() {
y.enable = function() {}, v = !0;
var t = c.f, e = i([].splice), r = {};
r[p] = 1, t(r).length && (c.f = function(r) {
for (var n = t(r), i = 0, o = n.length; i < o; i++) if (n[i] === p) {
e(n, i, 1);
break;
}
return n;
}, n({
target: "Object",
stat: !0,
forced: !0
}, {
getOwnPropertyNames: f.f
}));
},
fastKey: function(t, e) {
if (!a(t)) return "symbol" == typeof t ? t : ("string" == typeof t ? "S" : "P") + t;
if (!u(t, p)) {
if (!l(t)) return "F";
if (!e) return "E";
setMetadata(t);
}
return t[p].objectID;
},
getWeakData: function(t, e) {
if (!u(t, p)) {
if (!l(t)) return !0;
if (!e) return !1;
setMetadata(t);
}
return t[p].weakData;
},
onFreeze: function(t) {
return d && v && l(t) && !u(t, p) && setMetadata(t), t;
}
};
o[p] = !0;
},
3500: (t, e, r) => {
"use strict";
var n = r(4576), i = r(7400), o = r(9296), a = r(235), u = r(6699), handlePrototype = function(t) {
if (t && t.forEach !== a) try {
u(t, "forEach", a);
} catch (e) {
t.forEach = a;
}
};
for (var s in i) i[s] && handlePrototype(n[s] && n[s].prototype);
handlePrototype(o);
},
3506: (t, e, r) => {
"use strict";
var n = r(3925), i = String, o = TypeError;
t.exports = function(t) {
if (n(t)) return t;
throw new o("Can't set " + i(t) + " as a prototype");
};
},
3514: (t, e, r) => {
"use strict";
r(6469)("flat");
},
3517: (t, e, r) => {
"use strict";
var n = r(9504), i = r(9039), o = r(4901), a = r(6955), u = r(7751), s = r(3706), noop = function() {}, c = u("Reflect", "construct"), f = /^\s*(?:class|function)\b/, l = n(f.exec), h = !f.test(noop), isConstructorModern = function(t) {
if (!o(t)) return !1;
try {
return c(noop, [], t), !0;
} catch (t) {
return !1;
}
}, isConstructorLegacy = function(t) {
if (!o(t)) return !1;
switch (a(t)) {
case "AsyncFunction":
case "GeneratorFunction":
case "AsyncGeneratorFunction":
return !1;
}
try {
return h || !!l(f, s(t));
} catch (t) {
return !0;
}
};
isConstructorLegacy.sham = !0, t.exports = !c || i((function() {
var t;
return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern((function() {
t = !0;
})) || t;
})) ? isConstructorLegacy : isConstructorModern;
},
3602: t => {
"use strict";
var e = 4503599627370496;
t.exports = function(t) {
return t + e - e;
};
},
3607: (t, e, r) => {
"use strict";
var n = r(2839).match(/AppleWebKit\/(\d+)\./);
t.exports = !!n && +n[1];
},
3610: function(t, e, r) {
"use strict";
var n = e;
function merge(t, e, r) {
for (var n = Object.keys(e), i = 0; i < n.length; ++i) void 0 !== t[n[i]] && r || (t[n[i]] = e[n[i]]);
return t;
}
function newError(t) {
function CustomError(t, e) {
if (!(this instanceof CustomError)) return new CustomError(t, e);
Object.defineProperty(this, "message", {
get: function() {
return t;
}
}), Error.captureStackTrace ? Error.captureStackTrace(this, CustomError) : Object.defineProperty(this, "stack", {
value: (new Error).stack || ""
}), e && merge(this, e);
}
return CustomError.prototype = Object.create(Error.prototype, {
constructor: {
value: CustomError,
writable: !0,
enumerable: !1,
configurable: !0
},
name: {
get: function() {
return t;
},
set: void 0,
enumerable: !1,
configurable: !0
},
toString: {
value: function() {
return this.name + ": " + this.message;
},
writable: !0,
enumerable: !1,
configurable: !0
}
}), CustomError;
}
n.asPromise = r(8045), n.base64 = r(8839), n.EventEmitter = r(4358), n.float = r(9410),
n.inquire = r(4153), n.utf8 = r(1447), n.pool = r(9390), n.LongBits = r(2239), n.isNode = Boolean(void 0 !== r.g && r.g && r.g.process && r.g.process.versions && r.g.process.versions.node),
n.global = n.isNode && r.g || "undefined" != typeof window && window || "undefined" != typeof self && self || this,
n.emptyArray = Object.freeze ? Object.freeze([]) : [], n.emptyObject = Object.freeze ? Object.freeze({}) : {},
n.isInteger = Number.isInteger || function(t) {
return "number" == typeof t && isFinite(t) && Math.floor(t) === t;
}, n.isString = function(t) {
return "string" == typeof t || t instanceof String;
}, n.isObject = function(t) {
return t && "object" == typeof t;
}, n.isset = n.isSet = function(t, e) {
var r = t[e];
return !(null == r || !t.hasOwnProperty(e)) && ("object" != typeof r || (Array.isArray(r) ? r.length : Object.keys(r).length) > 0);
}, n.Buffer = function() {
try {
var t = n.inquire("buffer").Buffer;
return t.prototype.utf8Write ? t : null;
} catch (t) {
return null;
}
}(), n._Buffer_from = null, n._Buffer_allocUnsafe = null, n.newBuffer = function(t) {
return "number" == typeof t ? n.Buffer ? n._Buffer_allocUnsafe(t) : new n.Array(t) : n.Buffer ? n._Buffer_from(t) : "undefined" == typeof Uint8Array ? t : new Uint8Array(t);
}, n.Array = "undefined" != typeof Uint8Array ? Uint8Array : Array, n.Long = n.global.dcodeIO && n.global.dcodeIO.Long || n.global.Long || n.inquire("long"),
n.key2Re = /^true|false|0|1$/, n.key32Re = /^-?(?:0|[1-9][0-9]*)$/, n.key64Re = /^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,
n.longToHash = function(t) {
return t ? n.LongBits.from(t).toHash() : n.LongBits.zeroHash;
}, n.longFromHash = function(t, e) {
var r = n.LongBits.fromHash(t);
return n.Long ? n.Long.fromBits(r.lo, r.hi, e) : r.toNumber(Boolean(e));
}, n.merge = merge, n.lcFirst = function(t) {
return t.charAt(0).toLowerCase() + t.substring(1);
}, n.newError = newError, n.ProtocolError = newError("ProtocolError"), n.oneOfGetter = function(t) {
for (var e = {}, r = 0; r < t.length; ++r) e[t[r]] = 1;
return function() {
for (var t = Object.keys(this), r = t.length - 1; r > -1; --r) if (1 === e[t[r]] && void 0 !== this[t[r]] && null !== this[t[r]]) return t[r];
};
}, n.oneOfSetter = function(t) {
return function(e) {
for (var r = 0; r < t.length; ++r) t[r] !== e && delete this[t[r]];
};
}, n.toJSONOptions = {
longs: String,
enums: String,
bytes: String,
json: !0
}, n._configure = function() {
var t = n.Buffer;
t ? (n._Buffer_from = t.from !== Uint8Array.from && t.from || function(e, r) {
return new t(e, r);
}, n._Buffer_allocUnsafe = t.allocUnsafe || function(e) {
return new t(e);
}) : n._Buffer_from = n._Buffer_allocUnsafe = null;
};
},
3635: (t, e, r) => {
"use strict";
var n = r(9039), i = r(4576).RegExp;
t.exports = n((function() {
var t = i(".", "s");
return !(t.dotAll && t.test("\n") && "s" === t.flags);
}));
},
3684: (t, e, r) => {
"use strict";
var n = r(4644).exportTypedArrayMethod, i = r(9039), o = r(4576), a = r(9504), u = o.Uint8Array, s = u && u.prototype || {}, c = [].toString, f = a([].join);
i((function() {
c.call({});
})) && (c = function() {
return f(this);
});
var l = s.toString !== c;
n("toString", c, l);
},
3706: (t, e, r) => {
"use strict";
var n = r(9504), i = r(4901), o = r(7629), a = n(Function.toString);
i(o.inspectSource) || (o.inspectSource = function(t) {
return a(t);
}), t.exports = o.inspectSource;
},
3709: (t, e, r) => {
"use strict";
var n = r(2839).match(/firefox\/(\d+)/i);
t.exports = !!n && +n[1];
},
3717: (t, e) => {
"use strict";
e.f = Object.getOwnPropertySymbols;
},
3724: (t, e, r) => {
"use strict";
var n = r(9039);
t.exports = !n((function() {
return 7 !== Object.defineProperty({}, 1, {
get: function() {
return 7;
}
})[1];
}));
},
3738: t => {
function _typeof(e) {
return t.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
return typeof t;
} : function(t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
}, t.exports.__esModule = !0, t.exports.default = t.exports, _typeof(e);
}
t.exports = _typeof, t.exports.__esModule = !0, t.exports.default = t.exports;
},
3763: (t, e, r) => {
"use strict";
var n = r(2839);
t.exports = /MSIE|Trident/.test(n);
},
3771: (t, e, r) => {
"use strict";
var n = r(6518), i = r(4373), o = r(6469);
n({
target: "Array",
proto: !0
}, {
fill: i
}), o("fill");
},
3792: (t, e, r) => {
"use strict";
var n = r(5397), i = r(6469), o = r(6269), a = r(1181), u = r(4913).f, s = r(1088), c = r(2529), f = r(6395), l = r(3724), h = "Array Iterator", d = a.set, v = a.getterFor(h);
t.exports = s(Array, "Array", (function(t, e) {
d(this, {
type: h,
target: n(t),
index: 0,
kind: e
});
}), (function() {
var t = v(this), e = t.target, r = t.index++;
if (!e || r >= e.length) return t.target = null, c(void 0, !0);
switch (t.kind) {
case "keys":
return c(r, !1);
case "values":
return c(e[r], !1);
}
return c([ r, e[r] ], !1);
}), "values");
var p = o.Arguments = o.Array;
if (i("keys"), i("values"), i("entries"), !f && l && "values" !== p.name) try {
u(p, "name", {
value: "values"
});
} catch (t) {}
},
3802: (t, e, r) => {
"use strict";
var n = r(9504), i = r(7750), o = r(655), a = r(7452), u = n("".replace), s = RegExp("^[" + a + "]+"), c = RegExp("(^|[^" + a + "])[" + a + "]+$"), createMethod = function(t) {
return function(e) {
var r = o(i(e));
return 1 & t && (r = u(r, s, "")), 2 & t && (r = u(r, c, "$1")), r;
};
};
t.exports = {
start: createMethod(1),
end: createMethod(2),
trim: createMethod(3)
};
},
3851: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9039), o = r(5397), a = r(7347).f, u = r(3724);
n({
target: "Object",
stat: !0,
forced: !u || i((function() {
a(1);
})),
sham: !u
}, {
getOwnPropertyDescriptor: function(t, e) {
return a(o(t), e);
}
});
},
3904: (t, e, r) => {
"use strict";
var n = r(4576), i = r(9039), o = r(9504), a = r(655), u = r(3802).trim, s = r(7452), c = o("".charAt), f = n.parseFloat, l = n.Symbol, h = l && l.iterator, d = 1 / f(s + "-0") != -1 / 0 || h && !i((function() {
f(Object(h));
}));
t.exports = d ? function(t) {
var e = u(a(t)), r = f(e);
return 0 === r && "-" === c(e, 0) ? -0 : r;
} : f;
},
3925: (t, e, r) => {
"use strict";
var n = r(34);
t.exports = function(t) {
return n(t) || null === t;
};
},
3994: (t, e, r) => {
"use strict";
var n = r(7657).IteratorPrototype, i = r(2360), o = r(6980), a = r(687), u = r(6269), returnThis = function() {
return this;
};
t.exports = function(t, e, r, s) {
var c = e + " Iterator";
return t.prototype = i(n, {
next: o(+!s, r)
}), a(t, c, !1, !0), u[c] = returnThis, t;
};
},
4055: (t, e, r) => {
"use strict";
var n = r(4576), i = r(34), o = n.document, a = i(o) && i(o.createElement);
t.exports = function(t) {
return a ? o.createElement(t) : {};
};
},
4117: t => {
"use strict";
t.exports = function(t) {
return null == t;
};
},
4124: (t, e, r) => {
"use strict";
var n = r(9039), i = r(34), o = r(2195), a = r(5652), u = Object.isExtensible, s = n((function() {
u(1);
}));
t.exports = s || a ? function(t) {
return !!i(t) && (!a || "ArrayBuffer" !== o(t)) && (!u || u(t));
} : u;
},
4153: module => {
"use strict";
function inquire(moduleName) {
try {
var mod = eval("quire".replace(/^/, "re"))(moduleName);
if (mod && (mod.length || Object.keys(mod).length)) return mod;
} catch (t) {}
return null;
}
module.exports = inquire;
},
4209: (t, e, r) => {
"use strict";
var n = r(8227), i = r(6269), o = n("iterator"), a = Array.prototype;
t.exports = function(t) {
return void 0 !== t && (i.Array === t || a[o] === t);
};
},
4213: (t, e, r) => {
"use strict";
var n = r(3724), i = r(9504), o = r(9565), a = r(9039), u = r(1072), s = r(3717), c = r(8773), f = r(8981), l = r(7055), h = Object.assign, d = Object.defineProperty, v = i([].concat);
t.exports = !h || a((function() {
if (n && 1 !== h({
b: 1
}, h(d({}, "a", {
enumerable: !0,
get: function() {
d(this, "b", {
value: 3,
enumerable: !1
});
}
}), {
b: 2
})).b) return !0;
var t = {}, e = {}, r = Symbol("assign detection"), i = "abcdefghijklmnopqrst";
return t[r] = 7, i.split("").forEach((function(t) {
e[t] = t;
})), 7 !== h({}, t)[r] || u(h({}, e)).join("") !== i;
})) ? function(t, e) {
for (var r = f(t), i = arguments.length, a = 1, h = s.f, d = c.f; i > a; ) for (var p, b = l(arguments[a++]), y = h ? v(u(b), h(b)) : u(b), g = y.length, w = 0; g > w; ) p = y[w++],
n && !o(d, b, p) || (r[p] = b[p]);
return r;
} : h;
},
4215: (t, e, r) => {
"use strict";
var n = r(4576), i = r(2839), o = r(2195), userAgentStartsWith = function(t) {
return i.slice(0, t.length) === t;
};
t.exports = userAgentStartsWith("Bun/") ? "BUN" : userAgentStartsWith("Cloudflare-Workers") ? "CLOUDFLARE" : userAgentStartsWith("Deno/") ? "DENO" : userAgentStartsWith("Node.js/") ? "NODE" : n.Bun && "string" == typeof Bun.version ? "BUN" : n.Deno && "object" == typeof Deno.version ? "DENO" : "process" === o(n.process) ? "NODE" : n.window && n.document ? "BROWSER" : "REST";
},
4265: (t, e, r) => {
"use strict";
var n = r(2839);
t.exports = /ipad|iphone|ipod/i.test(n) && "undefined" != typeof Pebble;
},
4270: (t, e, r) => {
"use strict";
var n = r(9565), i = r(4901), o = r(34), a = TypeError;
t.exports = function(t, e) {
var r, u;
if ("string" === e && i(r = t.toString) && !o(u = n(r, t))) return u;
if (i(r = t.valueOf) && !o(u = n(r, t))) return u;
if ("string" !== e && i(r = t.toString) && !o(u = n(r, t))) return u;
throw new a("Can't convert object to primitive value");
};
},
4358: t => {
"use strict";
function EventEmitter() {
this._listeners = {};
}
t.exports = EventEmitter, EventEmitter.prototype.on = function(t, e, r) {
return (this._listeners[t] || (this._listeners[t] = [])).push({
fn: e,
ctx: r || this
}), this;
}, EventEmitter.prototype.off = function(t, e) {
if (void 0 === t) this._listeners = {}; else if (void 0 === e) this._listeners[t] = []; else for (var r = this._listeners[t], n = 0; n < r.length; ) r[n].fn === e ? r.splice(n, 1) : ++n;
return this;
}, EventEmitter.prototype.emit = function(t) {
var e = this._listeners[t];
if (e) {
for (var r = [], n = 1; n < arguments.length; ) r.push(arguments[n++]);
for (n = 0; n < e.length; ) e[n].fn.apply(e[n++].ctx, r);
}
return this;
};
},
4373: (t, e, r) => {
"use strict";
var n = r(8981), i = r(5610), o = r(6198);
t.exports = function(t) {
for (var e = n(this), r = o(e), a = arguments.length, u = i(a > 1 ? arguments[1] : void 0, r), s = a > 2 ? arguments[2] : void 0, c = void 0 === s ? r : i(s, r); c > u; ) e[u++] = t;
return e;
};
},
4376: (t, e, r) => {
"use strict";
var n = r(2195);
t.exports = Array.isArray || function(t) {
return "Array" === n(t);
};
},
4394: (t, e, r) => {
"use strict";
var n = e;
function configure() {
n.util._configure(), n.Writer._configure(n.BufferWriter), n.Reader._configure(n.BufferReader);
}
n.build = "minimal", n.Writer = r(3449), n.BufferWriter = r(818), n.Reader = r(6237),
n.BufferReader = r(3158), n.util = r(3610), n.rpc = r(5047), n.roots = r(4529),
n.configure = configure, configure();
},
4423: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9617).includes, o = r(9039), a = r(6469);
n({
target: "Array",
proto: !0,
forced: o((function() {
return !Array(1).includes();
}))
}, {
includes: function(t) {
return i(this, t, arguments.length > 1 ? arguments[1] : void 0);
}
}), a("includes");
},
4428: (t, e, r) => {
"use strict";
var n = r(8227)("iterator"), i = !1;
try {
var o = 0, a = {
next: function() {
return {
done: !!o++
};
},
"return": function() {
i = !0;
}
};
a[n] = function() {
return this;
}, Array.from(a, (function() {
throw 2;
}));
} catch (t) {}
t.exports = function(t, e) {
try {
if (!e && !i) return !1;
} catch (t) {
return !1;
}
var r = !1;
try {
var o = {};
o[n] = function() {
return {
next: function() {
return {
done: r = !0
};
}
};
}, t(o);
} catch (t) {}
return r;
};
},
4488: (t, e, r) => {
"use strict";
var n = r(7680), i = Math.floor, sort = function(t, e) {
var r = t.length;
if (r < 8) for (var o, a, u = 1; u < r; ) {
for (a = u, o = t[u]; a && e(t[a - 1], o) > 0; ) t[a] = t[--a];
a !== u++ && (t[a] = o);
} else for (var s = i(r / 2), c = sort(n(t, 0, s), e), f = sort(n(t, s), e), l = c.length, h = f.length, d = 0, v = 0; d < l || v < h; ) t[d + v] = d < l && v < h ? e(c[d], f[v]) <= 0 ? c[d++] : f[v++] : d < l ? c[d++] : f[v++];
return t;
};
t.exports = sort;
},
4495: (t, e, r) => {
"use strict";
var n = r(9519), i = r(9039), o = r(4576).String;
t.exports = !!Object.getOwnPropertySymbols && !i((function() {
var t = Symbol("symbol detection");
return !o(t) || !(Object(t) instanceof Symbol) || !Symbol.sham && n && n < 41;
}));
},
4496: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9617).includes, o = n.aTypedArray;
(0, n.exportTypedArrayMethod)("includes", (function(t) {
return i(o(this), t, arguments.length > 1 ? arguments[1] : void 0);
}));
},
4527: (t, e, r) => {
"use strict";
var n = r(3724), i = r(4376), o = TypeError, a = Object.getOwnPropertyDescriptor, u = n && !function() {
if (void 0 !== this) return !0;
try {
Object.defineProperty([], "length", {
writable: !1
}).length = 1;
} catch (t) {
return t instanceof TypeError;
}
}();
t.exports = u ? function(t, e) {
if (i(t) && !a(t, "length").writable) throw new o("Cannot set read only .length");
return t.length = e;
} : function(t, e) {
return t.length = e;
};
},
4529: t => {
"use strict";
t.exports = {};
},
4554: (t, e, r) => {
"use strict";
var n = r(6518), i = r(8981), o = r(5610), a = r(1291), u = r(6198), s = r(4527), c = r(6837), f = r(1469), l = r(4659), h = r(4606), d = r(597)("splice"), v = Math.max, p = Math.min;
n({
target: "Array",
proto: !0,
forced: !d
}, {
splice: function(t, e) {
var r, n, d, b, y, g, w = i(this), m = u(w), _ = o(t, m), O = arguments.length;
for (0 === O ? r = n = 0 : 1 === O ? (r = 0, n = m - _) : (r = O - 2, n = p(v(a(e), 0), m - _)),
c(m + r - n), d = f(w, n), b = 0; b < n; b++) (y = _ + b) in w && l(d, b, w[y]);
if (d.length = n, r < n) {
for (b = _; b < m - n; b++) g = b + r, (y = b + n) in w ? w[g] = w[y] : h(w, g);
for (b = m; b > m - n + r; b--) h(w, b - 1);
} else if (r > n) for (b = m - n; b > _; b--) g = b + r - 1, (y = b + n - 1) in w ? w[g] = w[y] : h(w, g);
for (b = 0; b < r; b++) w[b + _] = arguments[b + 2];
return s(w, m - n + r), d;
}
});
},
4576: function(t, e, r) {
"use strict";
var check = function(t) {
return t && t.Math === Math && t;
};
t.exports = check("object" == typeof globalThis && globalThis) || check("object" == typeof window && window) || check("object" == typeof self && self) || check("object" == typeof r.g && r.g) || check("object" == typeof this && this) || function() {
return this;
}() || Function("return this")();
},
4598: (t, e, r) => {
"use strict";
var n = r(9039);
t.exports = function(t, e) {
var r = [][t];
return !!r && n((function() {
r.call(null, e || function() {
return 1;
}, 1);
}));
};
},
4606: (t, e, r) => {
"use strict";
var n = r(6823), i = TypeError;
t.exports = function(t, e) {
if (!delete t[e]) throw new i("Cannot delete property " + n(e) + " of " + n(t));
};
},
4633: (t, e, r) => {
var n = r(3738).default;
function _regeneratorRuntime() {
"use strict";
t.exports = _regeneratorRuntime = function() {
return r;
}, t.exports.__esModule = !0, t.exports.default = t.exports;
var e, r = {}, i = Object.prototype, o = i.hasOwnProperty, a = Object.defineProperty || function(t, e, r) {
t[e] = r.value;
}, u = "function" == typeof Symbol ? Symbol : {}, s = u.iterator || "@@iterator", c = u.asyncIterator || "@@asyncIterator", f = u.toStringTag || "@@toStringTag";
function define(t, e, r) {
return Object.defineProperty(t, e, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}), t[e];
}
try {
define({}, "");
} catch (e) {
define = function(t, e, r) {
return t[e] = r;
};
}
function wrap(t, e, r, n) {
var i = e && e.prototype instanceof Generator ? e : Generator, o = Object.create(i.prototype), u = new Context(n || []);
return a(o, "_invoke", {
value: makeInvokeMethod(t, r, u)
}), o;
}
function tryCatch(t, e, r) {
try {
return {
type: "normal",
arg: t.call(e, r)
};
} catch (t) {
return {
type: "throw",
arg: t
};
}
}
r.wrap = wrap;
var l = "suspendedStart", h = "suspendedYield", d = "executing", v = "completed", p = {};
function Generator() {}
function GeneratorFunction() {}
function GeneratorFunctionPrototype() {}
var b = {};
define(b, s, (function() {
return this;
}));
var y = Object.getPrototypeOf, g = y && y(y(values([])));
g && g !== i && o.call(g, s) && (b = g);
var w = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(b);
function defineIteratorMethods(t) {
[ "next", "throw", "return" ].forEach((function(e) {
define(t, e, (function(t) {
return this._invoke(e, t);
}));
}));
}
function AsyncIterator(t, e) {
function invoke(r, i, a, u) {
var s = tryCatch(t[r], t, i);
if ("throw" !== s.type) {
var c = s.arg, f = c.value;
return f && "object" == n(f) && o.call(f, "__await") ? e.resolve(f.__await).then((function(t) {
invoke("next", t, a, u);
}), (function(t) {
invoke("throw", t, a, u);
})) : e.resolve(f).then((function(t) {
c.value = t, a(c);
}), (function(t) {
return invoke("throw", t, a, u);
}));
}
u(s.arg);
}
var r;
a(this, "_invoke", {
value: function(t, n) {
function callInvokeWithMethodAndArg() {
return new e((function(e, r) {
invoke(t, n, e, r);
}));
}
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
}
});
}
function makeInvokeMethod(t, r, n) {
var i = l;
return function(o, a) {
if (i === d) throw Error("Generator is already running");
if (i === v) {
if ("throw" === o) throw a;
return {
value: e,
done: !0
};
}
for (n.method = o, n.arg = a; ;) {
var u = n.delegate;
if (u) {
var s = maybeInvokeDelegate(u, n);
if (s) {
if (s === p) continue;
return s;
}
}
if ("next" === n.method) n.sent = n._sent = n.arg; else if ("throw" === n.method) {
if (i === l) throw i = v, n.arg;
n.dispatchException(n.arg);
} else "return" === n.method && n.abrupt("return", n.arg);
i = d;
var c = tryCatch(t, r, n);
if ("normal" === c.type) {
if (i = n.done ? v : h, c.arg === p) continue;
return {
value: c.arg,
done: n.done
};
}
"throw" === c.type && (i = v, n.method = "throw", n.arg = c.arg);
}
};
}
function maybeInvokeDelegate(t, r) {
var n = r.method, i = t.iterator[n];
if (i === e) return r.delegate = null, "throw" === n && t.iterator.return && (r.method = "return",
r.arg = e, maybeInvokeDelegate(t, r), "throw" === r.method) || "return" !== n && (r.method = "throw",
r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), p;
var o = tryCatch(i, t.iterator, r.arg);
if ("throw" === o.type) return r.method = "throw", r.arg = o.arg, r.delegate = null,
p;
var a = o.arg;
return a ? a.done ? (r[t.resultName] = a.value, r.next = t.nextLoc, "return" !== r.method && (r.method = "next",
r.arg = e), r.delegate = null, p) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"),
r.delegate = null, p);
}
function pushTryEntry(t) {
var e = {
tryLoc: t[0]
};
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]),
this.tryEntries.push(e);
}
function resetTryEntry(t) {
var e = t.completion || {};
e.type = "normal", delete e.arg, t.completion = e;
}
function Context(t) {
this.tryEntries = [ {
tryLoc: "root"
} ], t.forEach(pushTryEntry, this), this.reset(!0);
}
function values(t) {
if (t || "" === t) {
var r = t[s];
if (r) return r.call(t);
if ("function" == typeof t.next) return t;
if (!isNaN(t.length)) {
var i = -1, a = function next() {
for (;++i < t.length; ) if (o.call(t, i)) return next.value = t[i], next.done = !1,
next;
return next.value = e, next.done = !0, next;
};
return a.next = a;
}
}
throw new TypeError(n(t) + " is not iterable");
}
return GeneratorFunction.prototype = GeneratorFunctionPrototype, a(w, "constructor", {
value: GeneratorFunctionPrototype,
configurable: !0
}), a(GeneratorFunctionPrototype, "constructor", {
value: GeneratorFunction,
configurable: !0
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, f, "GeneratorFunction"),
r.isGeneratorFunction = function(t) {
var e = "function" == typeof t && t.constructor;
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
}, r.mark = function(t) {
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype,
define(t, f, "GeneratorFunction")), t.prototype = Object.create(w), t;
}, r.awrap = function(t) {
return {
__await: t
};
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, (function() {
return this;
})), r.AsyncIterator = AsyncIterator, r.async = function(t, e, n, i, o) {
void 0 === o && (o = Promise);
var a = new AsyncIterator(wrap(t, e, n, i), o);
return r.isGeneratorFunction(e) ? a : a.next().then((function(t) {
return t.done ? t.value : a.next();
}));
}, defineIteratorMethods(w), define(w, f, "Generator"), define(w, s, (function() {
return this;
})), define(w, "toString", (function() {
return "[object Generator]";
})), r.keys = function(t) {
var e = Object(t), r = [];
for (var n in e) r.push(n);
return r.reverse(), function next() {
for (;r.length; ) {
var t = r.pop();
if (t in e) return next.value = t, next.done = !1, next;
}
return next.done = !0, next;
};
}, r.values = values, Context.prototype = {
constructor: Context,
reset: function(t) {
if (this.prev = 0, this.next = 0, this.sent = this._sent = e, this.done = !1, this.delegate = null,
this.method = "next", this.arg = e, this.tryEntries.forEach(resetTryEntry), !t) for (var r in this) "t" === r.charAt(0) && o.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = e);
},
stop: function() {
this.done = !0;
var t = this.tryEntries[0].completion;
if ("throw" === t.type) throw t.arg;
return this.rval;
},
dispatchException: function(t) {
if (this.done) throw t;
var r = this;
function handle(n, i) {
return a.type = "throw", a.arg = t, r.next = n, i && (r.method = "next", r.arg = e),
!!i;
}
for (var n = this.tryEntries.length - 1; n >= 0; --n) {
var i = this.tryEntries[n], a = i.completion;
if ("root" === i.tryLoc) return handle("end");
if (i.tryLoc <= this.prev) {
var u = o.call(i, "catchLoc"), s = o.call(i, "finallyLoc");
if (u && s) {
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
} else if (u) {
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
} else {
if (!s) throw Error("try statement without catch or finally");
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
}
}
}
},
abrupt: function(t, e) {
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
var n = this.tryEntries[r];
if (n.tryLoc <= this.prev && o.call(n, "finallyLoc") && this.prev < n.finallyLoc) {
var i = n;
break;
}
}
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
var a = i ? i.completion : {};
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc,
p) : this.complete(a);
},
complete: function(t, e) {
if ("throw" === t.type) throw t.arg;
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg,
this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e),
p;
},
finish: function(t) {
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
var r = this.tryEntries[e];
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r),
p;
}
},
"catch": function(t) {
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
var r = this.tryEntries[e];
if (r.tryLoc === t) {
var n = r.completion;
if ("throw" === n.type) {
var i = n.arg;
resetTryEntry(r);
}
return i;
}
}
throw Error("illegal catch attempt");
},
delegateYield: function(t, r, n) {
return this.delegate = {
iterator: values(t),
resultName: r,
nextLoc: n
}, "next" === this.method && (this.arg = e), p;
}
}, r;
}
t.exports = _regeneratorRuntime, t.exports.__esModule = !0, t.exports.default = t.exports;
},
4644: (t, e, r) => {
"use strict";
var n, i, o, a = r(7811), u = r(3724), s = r(4576), c = r(4901), f = r(34), l = r(9297), h = r(6955), d = r(6823), v = r(6699), p = r(6840), b = r(2106), y = r(1625), g = r(2787), w = r(2967), m = r(8227), _ = r(3392), O = r(1181), k = O.enforce, S = O.get, E = s.Int8Array, A = E && E.prototype, j = s.Uint8ClampedArray, x = j && j.prototype, T = E && g(E), R = A && g(A), I = Object.prototype, C = s.TypeError, M = m("toStringTag"), N = _("TYPED_ARRAY_TAG"), P = "TypedArrayConstructor", L = a && !!w && "Opera" !== h(s.opera), B = !1, V = {
Int8Array: 1,
Uint8Array: 1,
Uint8ClampedArray: 1,
Int16Array: 2,
Uint16Array: 2,
Int32Array: 4,
Uint32Array: 4,
Float32Array: 4,
Float64Array: 8
}, D = {
BigInt64Array: 8,
BigUint64Array: 8
}, getTypedArrayConstructor = function(t) {
var e = g(t);
if (f(e)) {
var r = S(e);
return r && l(r, P) ? r[P] : getTypedArrayConstructor(e);
}
}, isTypedArray = function(t) {
if (!f(t)) return !1;
var e = h(t);
return l(V, e) || l(D, e);
};
for (n in V) (o = (i = s[n]) && i.prototype) ? k(o)[P] = i : L = !1;
for (n in D) (o = (i = s[n]) && i.prototype) && (k(o)[P] = i);
if ((!L || !c(T) || T === Function.prototype) && (T = function() {
throw new C("Incorrect invocation");
}, L)) for (n in V) s[n] && w(s[n], T);
if ((!L || !R || R === I) && (R = T.prototype, L)) for (n in V) s[n] && w(s[n].prototype, R);
if (L && g(x) !== R && w(x, R), u && !l(R, M)) for (n in B = !0, b(R, M, {
configurable: !0,
get: function() {
return f(this) ? this[N] : void 0;
}
}), V) s[n] && v(s[n], N, n);
t.exports = {
NATIVE_ARRAY_BUFFER_VIEWS: L,
TYPED_ARRAY_TAG: B && N,
aTypedArray: function(t) {
if (isTypedArray(t)) return t;
throw new C("Target is not a typed array");
},
aTypedArrayConstructor: function(t) {
if (c(t) && (!w || y(T, t))) return t;
throw new C(d(t) + " is not a typed array constructor");
},
exportTypedArrayMethod: function(t, e, r, n) {
if (u) {
if (r) for (var i in V) {
var o = s[i];
if (o && l(o.prototype, t)) try {
delete o.prototype[t];
} catch (r) {
try {
o.prototype[t] = e;
} catch (t) {}
}
}
R[t] && !r || p(R, t, r ? e : L && A[t] || e, n);
}
},
exportTypedArrayStaticMethod: function(t, e, r) {
var n, i;
if (u) {
if (w) {
if (r) for (n in V) if ((i = s[n]) && l(i, t)) try {
delete i[t];
} catch (t) {}
if (T[t] && !r) return;
try {
return p(T, t, r ? e : L && T[t] || e);
} catch (t) {}
}
for (n in V) !(i = s[n]) || i[t] && !r || p(i, t, e);
}
},
getTypedArrayConstructor,
isView: function(t) {
if (!f(t)) return !1;
var e = h(t);
return "DataView" === e || l(V, e) || l(D, e);
},
isTypedArray,
TypedArray: T,
TypedArrayPrototype: R
};
},
4659: (t, e, r) => {
"use strict";
var n = r(3724), i = r(4913), o = r(6980);
t.exports = function(t, e, r) {
n ? i.f(t, e, o(0, r)) : t[e] = r;
};
},
4743: (t, e, r) => {
"use strict";
var n = r(6518), i = r(4576), o = r(6346), a = r(7633), u = "ArrayBuffer", s = o[u];
n({
global: !0,
constructor: !0,
forced: i[u] !== s
}, {
ArrayBuffer: s
}), a(u);
},
4756: (t, e, r) => {
var n = r(4633)();
t.exports = n;
try {
regeneratorRuntime = n;
} catch (t) {
"object" == typeof globalThis ? globalThis.regeneratorRuntime = n : Function("r", "regeneratorRuntime = r")(n);
}
},
4782: (t, e, r) => {
"use strict";
var n = r(6518), i = r(4376), o = r(3517), a = r(34), u = r(5610), s = r(6198), c = r(5397), f = r(4659), l = r(8227), h = r(597), d = r(7680), v = h("slice"), p = l("species"), b = Array, y = Math.max;
n({
target: "Array",
proto: !0,
forced: !v
}, {
slice: function(t, e) {
var r, n, l, h = c(this), v = s(h), g = u(t, v), w = u(void 0 === e ? v : e, v);
if (i(h) && (r = h.constructor, (o(r) && (r === b || i(r.prototype)) || a(r) && null === (r = r[p])) && (r = void 0),
r === b || void 0 === r)) return d(h, g, w);
for (n = new (void 0 === r ? b : r)(y(w - g, 0)), l = 0; g < w; g++, l++) g in h && f(n, l, h[g]);
return n.length = l, n;
}
});
},
4863: (t, e, r) => {
"use strict";
t.exports = parse, parse.filename = null, parse.defaults = {
keepCase: !1
};
var n = r(527), i = r(5330), o = r(7882), a = r(1344), u = r(8252), s = r(1457), c = r(5643), f = r(9687), l = r(8811), h = r(361), d = r(3262), v = /^[1-9][0-9]*$/, p = /^-?[1-9][0-9]*$/, b = /^0[x][0-9a-fA-F]+$/, y = /^-?0[x][0-9a-fA-F]+$/, g = /^0[0-7]+$/, w = /^-?0[0-7]+$/, m = /^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/, _ = /^[a-zA-Z_][a-zA-Z_0-9]*$/, O = /^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/, k = /^(?:\.[a-zA-Z_][a-zA-Z_0-9]*)+$/;
function parse(t, e, r) {
e instanceof i || (r = e, e = new i), r || (r = parse.defaults);
var S, E, A, j, x, T = r.preferTrailingComment || !1, R = n(t, r.alternateCommentMode || !1), I = R.next, C = R.push, M = R.peek, N = R.skip, P = R.cmnt, L = !0, B = !1, V = e, D = r.keepCase ? function(t) {
return t;
} : d.camelCase;
function illegal(t, e, r) {
var n = parse.filename;
return r || (parse.filename = null), Error("illegal " + (e || "token") + " '" + t + "' (" + (n ? n + ", " : "") + "line " + R.line + ")");
}
function readString() {
var t, e = [];
do {
if ('"' !== (t = I()) && "'" !== t) throw illegal(t);
e.push(I()), N(t), t = M();
} while ('"' === t || "'" === t);
return e.join("");
}
function readValue(t) {
var e = I();
switch (e) {
case "'":
case '"':
return C(e), readString();
case "true":
case "TRUE":
return !0;
case "false":
case "FALSE":
return !1;
}
try {
return function(t) {
var e = 1;
switch ("-" === t.charAt(0) && (e = -1, t = t.substring(1)), t) {
case "inf":
case "INF":
case "Inf":
return e * (1 / 0);
case "nan":
case "NAN":
case "Nan":
case "NaN":
return NaN;
case "0":
return 0;
}
if (v.test(t)) return e * parseInt(t, 10);
if (b.test(t)) return e * parseInt(t, 16);
if (g.test(t)) return e * parseInt(t, 8);
if (m.test(t)) return e * parseFloat(t);
throw illegal(t, "number", !0);
}(e);
} catch (r) {
if (t && O.test(e)) return e;
throw illegal(e, "value");
}
}
function readRanges(t, e) {
var r, n;
do {
!e || '"' !== (r = M()) && "'" !== r ? t.push([ n = parseId(I()), N("to", !0) ? parseId(I()) : n ]) : t.push(readString());
} while (N(",", !0));
var i = {
options: void 0,
setOption: function(t, e) {
void 0 === this.options && (this.options = {}), this.options[t] = e;
}
};
ifBlock(i, (function(t) {
if ("option" !== t) throw illegal(t);
parseOption(i, t), N(";");
}), (function() {
parseInlineOptions(i);
}));
}
function parseId(t, e) {
switch (t) {
case "max":
case "MAX":
case "Max":
return 536870911;
case "0":
return 0;
}
if (!e && "-" === t.charAt(0)) throw illegal(t, "id");
if (p.test(t)) return parseInt(t, 10);
if (y.test(t)) return parseInt(t, 16);
if (w.test(t)) return parseInt(t, 8);
throw illegal(t, "id");
}
function parsePackage() {
if (void 0 !== S) throw illegal("package");
if (S = I(), !O.test(S)) throw illegal(S, "name");
V = V.define(S), N(";");
}
function parseImport() {
var t, e = M();
switch (e) {
case "weak":
t = A || (A = []), I();
break;
case "public":
I();
default:
t = E || (E = []);
}
e = readString(), N(";"), t.push(e);
}
function parseSyntax() {
if (N("="), j = readString(), !(B = "proto3" === j) && "proto2" !== j) throw illegal(j, "syntax");
e.setOption("syntax", j), N(";");
}
function parseCommon(t, e) {
switch (e) {
case "option":
return parseOption(t, e), N(";"), !0;
case "message":
return parseType(t, e), !0;
case "enum":
return parseEnum(t, e), !0;
case "service":
return function(t, e) {
if (!_.test(e = I())) throw illegal(e, "service name");
var r = new f(e);
ifBlock(r, (function(t) {
if (!parseCommon(r, t)) {
if ("rpc" !== t) throw illegal(t);
!function(t, e) {
var r = P(), n = e;
if (!_.test(e = I())) throw illegal(e, "name");
var i, o, a, u, s = e;
if (N("("), N("stream", !0) && (o = !0), !O.test(e = I())) throw illegal(e);
if (i = e, N(")"), N("returns"), N("("), N("stream", !0) && (u = !0), !O.test(e = I())) throw illegal(e);
a = e, N(")");
var c = new l(s, n, i, a, o, u);
c.comment = r, ifBlock(c, (function(t) {
if ("option" !== t) throw illegal(t);
parseOption(c, t), N(";");
})), t.add(c);
}(r, t);
}
})), t.add(r);
}(t, e), !0;
case "extend":
return function(t, e) {
if (!O.test(e = I())) throw illegal(e, "reference");
var r = e;
ifBlock(null, (function(e) {
switch (e) {
case "required":
case "repeated":
parseField(t, e, r);
break;
case "optional":
parseField(t, B ? "proto3_optional" : "optional", r);
break;
default:
if (!B || !O.test(e)) throw illegal(e);
C(e), parseField(t, "optional", r);
}
}));
}(t, e), !0;
}
return !1;
}
function ifBlock(t, e, r) {
var n = R.line;
if (t && ("string" != typeof t.comment && (t.comment = P()), t.filename = parse.filename),
N("{", !0)) {
for (var i; "}" !== (i = I()); ) e(i);
N(";", !0);
} else r && r(), N(";"), t && ("string" != typeof t.comment || T) && (t.comment = P(n) || t.comment);
}
function parseType(t, e) {
if (!_.test(e = I())) throw illegal(e, "type name");
var r = new o(e);
ifBlock(r, (function(t) {
if (!parseCommon(r, t)) switch (t) {
case "map":
!function(t) {
N("<");
var e = I();
if (void 0 === h.mapKey[e]) throw illegal(e, "type");
N(",");
var r = I();
if (!O.test(r)) throw illegal(r, "type");
N(">");
var n = I();
if (!_.test(n)) throw illegal(n, "name");
N("=");
var i = new u(D(n), parseId(I()), e, r);
ifBlock(i, (function(t) {
if ("option" !== t) throw illegal(t);
parseOption(i, t), N(";");
}), (function() {
parseInlineOptions(i);
})), t.add(i);
}(r);
break;
case "required":
case "repeated":
parseField(r, t);
break;
case "optional":
parseField(r, B ? "proto3_optional" : "optional");
break;
case "oneof":
!function(t, e) {
if (!_.test(e = I())) throw illegal(e, "name");
var r = new s(D(e));
ifBlock(r, (function(t) {
"option" === t ? (parseOption(r, t), N(";")) : (C(t), parseField(r, "optional"));
})), t.add(r);
}(r, t);
break;
case "extensions":
readRanges(r.extensions || (r.extensions = []));
break;
case "reserved":
readRanges(r.reserved || (r.reserved = []), !0);
break;
default:
if (!B || !O.test(t)) throw illegal(t);
C(t), parseField(r, "optional");
}
})), t.add(r);
}
function parseField(t, e, r) {
var n = I();
if ("group" !== n) {
for (;n.endsWith(".") || M().startsWith("."); ) n += I();
if (!O.test(n)) throw illegal(n, "type");
var i = I();
if (!_.test(i)) throw illegal(i, "name");
i = D(i), N("=");
var u = new a(i, parseId(I()), n, e, r);
if (ifBlock(u, (function(t) {
if ("option" !== t) throw illegal(t);
parseOption(u, t), N(";");
}), (function() {
parseInlineOptions(u);
})), "proto3_optional" === e) {
var c = new s("_" + i);
u.setOption("proto3_optional", !0), c.add(u), t.add(c);
} else t.add(u);
B || !u.repeated || void 0 === h.packed[n] && void 0 !== h.basic[n] || u.setOption("packed", !1, !0);
} else !function(t, e) {
var r = I();
if (!_.test(r)) throw illegal(r, "name");
var n = d.lcFirst(r);
r === n && (r = d.ucFirst(r)), N("=");
var i = parseId(I()), u = new o(r);
u.group = !0;
var s = new a(n, i, r, e);
s.filename = parse.filename, ifBlock(u, (function(t) {
switch (t) {
case "option":
parseOption(u, t), N(";");
break;
case "required":
case "repeated":
parseField(u, t);
break;
case "optional":
parseField(u, B ? "proto3_optional" : "optional");
break;
case "message":
parseType(u, t);
break;
case "enum":
parseEnum(u, t);
break;
default:
throw illegal(t);
}
})), t.add(u).add(s);
}(t, e);
}
function parseEnum(t, e) {
if (!_.test(e = I())) throw illegal(e, "name");
var r = new c(e);
ifBlock(r, (function(t) {
switch (t) {
case "option":
parseOption(r, t), N(";");
break;
case "reserved":
readRanges(r.reserved || (r.reserved = []), !0);
break;
default:
!function(t, e) {
if (!_.test(e)) throw illegal(e, "name");
N("=");
var r = parseId(I(), !0), n = {
options: void 0,
setOption: function(t, e) {
void 0 === this.options && (this.options = {}), this.options[t] = e;
}
};
ifBlock(n, (function(t) {
if ("option" !== t) throw illegal(t);
parseOption(n, t), N(";");
}), (function() {
parseInlineOptions(n);
})), t.add(e, r, n.comment, n.options);
}(r, t);
}
})), t.add(r);
}
function parseOption(t, e) {
var r = N("(", !0);
if (!O.test(e = I())) throw illegal(e, "name");
var n, i = e, o = i;
r && (N(")"), o = i = "(" + i + ")", e = M(), k.test(e) && (n = e.slice(1), i += e,
I())), N("="), function(t, e, r, n) {
t.setParsedOption && t.setParsedOption(e, r, n);
}(t, o, parseOptionValue(t, i), n);
}
function parseOptionValue(t, e) {
if (N("{", !0)) {
for (var r = {}; !N("}", !0); ) {
if (!_.test(x = I())) throw illegal(x, "name");
if (null === x) throw illegal(x, "end of input");
var n, i = x;
if (N(":", !0), "{" === M()) n = parseOptionValue(t, e + "." + x); else if ("[" === M()) {
var o;
if (n = [], N("[", !0)) {
do {
o = readValue(!0), n.push(o);
} while (N(",", !0));
N("]"), void 0 !== o && setOption(t, e + "." + x, o);
}
} else n = readValue(!0), setOption(t, e + "." + x, n);
var a = r[i];
a && (n = [].concat(a).concat(n)), r[i] = n, N(",", !0), N(";", !0);
}
return r;
}
var u = readValue(!0);
return setOption(t, e, u), u;
}
function setOption(t, e, r) {
t.setOption && t.setOption(e, r);
}
function parseInlineOptions(t) {
if (N("[", !0)) {
do {
parseOption(t, "option");
} while (N(",", !0));
N("]");
}
return t;
}
for (;null !== (x = I()); ) switch (x) {
case "package":
if (!L) throw illegal(x);
parsePackage();
break;
case "import":
if (!L) throw illegal(x);
parseImport();
break;
case "syntax":
if (!L) throw illegal(x);
parseSyntax();
break;
case "option":
parseOption(V, x), N(";");
break;
default:
if (parseCommon(V, x)) {
L = !1;
continue;
}
throw illegal(x);
}
return parse.filename = null, {
"package": S,
"imports": E,
weakImports: A,
syntax: j,
root: e
};
}
},
4901: t => {
"use strict";
var e = "object" == typeof document && document.all;
t.exports = void 0 === e && void 0 !== e ? function(t) {
return "function" == typeof t || t === e;
} : function(t) {
return "function" == typeof t;
};
},
4913: (t, e, r) => {
"use strict";
var n = r(3724), i = r(5917), o = r(8686), a = r(8551), u = r(6969), s = TypeError, c = Object.defineProperty, f = Object.getOwnPropertyDescriptor, l = "enumerable", h = "configurable", d = "writable";
e.f = n ? o ? function(t, e, r) {
if (a(t), e = u(e), a(r), "function" == typeof t && "prototype" === e && "value" in r && d in r && !r[d]) {
var n = f(t, e);
n && n[d] && (t[e] = r.value, r = {
configurable: h in r ? r[h] : n[h],
enumerable: l in r ? r[l] : n[l],
writable: !1
});
}
return c(t, e, r);
} : c : function(t, e, r) {
if (a(t), e = u(e), a(r), i) try {
return c(t, e, r);
} catch (t) {}
if ("get" in r || "set" in r) throw new s("Accessors not supported");
return "value" in r && (t[e] = r.value), t;
};
},
5031: (t, e, r) => {
"use strict";
var n = r(7751), i = r(9504), o = r(8480), a = r(3717), u = r(8551), s = i([].concat);
t.exports = n("Reflect", "ownKeys") || function(t) {
var e = o.f(u(t)), r = a.f;
return r ? s(e, r(t)) : e;
};
},
5044: (t, e, r) => {
"use strict";
var n = r(4644), i = r(4373), o = r(5854), a = r(6955), u = r(9565), s = r(9504), c = r(9039), f = n.aTypedArray, l = n.exportTypedArrayMethod, h = s("".slice);
l("fill", (function(t) {
var e = arguments.length;
f(this);
var r = "Big" === h(a(this), 0, 3) ? o(t) : +t;
return u(i, this, r, e > 1 ? arguments[1] : void 0, e > 2 ? arguments[2] : void 0);
}), c((function() {
var t = 0;
return new Int8Array(2).fill({
valueOf: function() {
return t++;
}
}), 1 !== t;
})));
},
5047: (t, e, r) => {
"use strict";
e.Service = r(7595);
},
5095: t => {
"use strict";
t.exports = common;
var e, r = /\/|\./;
function common(t, e) {
r.test(t) || (t = "google/protobuf/" + t + ".proto", e = {
nested: {
google: {
nested: {
protobuf: {
nested: e
}
}
}
}
}), common[t] = e;
}
common("any", {
Any: {
fields: {
type_url: {
type: "string",
id: 1
},
value: {
type: "bytes",
id: 2
}
}
}
}), common("duration", {
Duration: e = {
fields: {
seconds: {
type: "int64",
id: 1
},
nanos: {
type: "int32",
id: 2
}
}
}
}), common("timestamp", {
Timestamp: e
}), common("empty", {
Empty: {
fields: {}
}
}), common("struct", {
Struct: {
fields: {
fields: {
keyType: "string",
type: "Value",
id: 1
}
}
},
Value: {
oneofs: {
kind: {
oneof: [ "nullValue", "numberValue", "stringValue", "boolValue", "structValue", "listValue" ]
}
},
fields: {
nullValue: {
type: "NullValue",
id: 1
},
numberValue: {
type: "double",
id: 2
},
stringValue: {
type: "string",
id: 3
},
boolValue: {
type: "bool",
id: 4
},
structValue: {
type: "Struct",
id: 5
},
listValue: {
type: "ListValue",
id: 6
}
}
},
NullValue: {
values: {
NULL_VALUE: 0
}
},
ListValue: {
fields: {
values: {
rule: "repeated",
type: "Value",
id: 1
}
}
}
}), common("wrappers", {
DoubleValue: {
fields: {
value: {
type: "double",
id: 1
}
}
},
FloatValue: {
fields: {
value: {
type: "float",
id: 1
}
}
},
Int64Value: {
fields: {
value: {
type: "int64",
id: 1
}
}
},
UInt64Value: {
fields: {
value: {
type: "uint64",
id: 1
}
}
},
Int32Value: {
fields: {
value: {
type: "int32",
id: 1
}
}
},
UInt32Value: {
fields: {
value: {
type: "uint32",
id: 1
}
}
},
BoolValue: {
fields: {
value: {
type: "bool",
id: 1
}
}
},
StringValue: {
fields: {
value: {
type: "string",
id: 1
}
}
},
BytesValue: {
fields: {
value: {
type: "bytes",
id: 1
}
}
}
}), common("field_mask", {
FieldMask: {
fields: {
paths: {
rule: "repeated",
type: "string",
id: 1
}
}
}
}), common.get = function(t) {
return common[t] || null;
};
},
5212: (t, e, r) => {
"use strict";
t.exports = fetch;
var n = r(8045), i = r(4153)("fs");
function fetch(t, e, r) {
return "function" == typeof e ? (r = e, e = {}) : e || (e = {}), r ? !e.xhr && i && i.readFile ? i.readFile(t, (function(n, i) {
return n && "undefined" != typeof XMLHttpRequest ? fetch.xhr(t, e, r) : n ? r(n) : r(null, e.binary ? i : i.toString("utf8"));
})) : fetch.xhr(t, e, r) : n(fetch, this, t, e);
}
fetch.xhr = function(t, e, r) {
var n = new XMLHttpRequest;
n.onreadystatechange = function() {
if (4 === n.readyState) {
if (0 !== n.status && 200 !== n.status) return r(Error("status " + n.status));
if (e.binary) {
var t = n.response;
if (!t) {
t = [];
for (var i = 0; i < n.responseText.length; ++i) t.push(255 & n.responseText.charCodeAt(i));
}
return r(null, "undefined" != typeof Uint8Array ? new Uint8Array(t) : t);
}
return r(null, n.responseText);
}
}, e.binary && ("overrideMimeType" in n && n.overrideMimeType("text/plain; charset=x-user-defined"),
n.responseType = "arraybuffer"), n.open("GET", t), n.send();
};
},
5276: (t, e, r) => {
"use strict";
var n = r(6518), i = r(7476), o = r(9617).indexOf, a = r(4598), u = i([].indexOf), s = !!u && 1 / u([ 1 ], 1, -0) < 0;
n({
target: "Array",
proto: !0,
forced: s || !a("indexOf")
}, {
indexOf: function(t) {
var e = arguments.length > 1 ? arguments[1] : void 0;
return s ? u(this, t, e) || 0 : o(this, t, e);
}
});
},
5325: (t, e, r) => {
"use strict";
var n = t.exports = r(4394);
n.build = "light", n.load = function(t, e, r) {
return "function" == typeof e ? (r = e, e = new n.Root) : e || (e = new n.Root),
e.load(t, r);
}, n.loadSync = function(t, e) {
return e || (e = new n.Root), e.loadSync(t);
}, n.encoder = r(1080), n.decoder = r(7728), n.verifier = r(420), n.converter = r(8363),
n.ReflectionObject = r(7209), n.Namespace = r(8923), n.Root = r(5330), n.Enum = r(5643),
n.Type = r(7882), n.Field = r(1344), n.OneOf = r(1457), n.MapField = r(8252), n.Service = r(9687),
n.Method = r(8811), n.Message = r(2551), n.wrappers = r(6434), n.types = r(361),
n.util = r(3262), n.ReflectionObject._configure(n.Root), n.Namespace._configure(n.Type, n.Service, n.Enum),
n.Root._configure(n.Type), n.Field._configure(n.Type);
},
5330: (t, e, r) => {
"use strict";
t.exports = Root;
var n = r(8923);
((Root.prototype = Object.create(n.prototype)).constructor = Root).className = "Root";
var i, o, a, u = r(1344), s = r(5643), c = r(1457), f = r(3262);
function Root(t) {
n.call(this, "", t), this.deferred = [], this.files = [];
}
function SYNC() {}
Root.fromJSON = function(t, e) {
return e || (e = new Root), t.options && e.setOptions(t.options), e.addJSON(t.nested);
}, Root.prototype.resolvePath = f.path.resolve, Root.prototype.fetch = f.fetch,
Root.prototype.load = function load(t, e, r) {
"function" == typeof e && (r = e, e = void 0);
var n = this;
if (!r) return f.asPromise(load, n, t, e);
var i = r === SYNC;
function finish(t, e) {
if (r) {
if (i) throw t;
var n = r;
r = null, n(t, e);
}
}
function getBundledFileName(t) {
var e = t.lastIndexOf("google/protobuf/");
if (e > -1) {
var r = t.substring(e);
if (r in a) return r;
}
return null;
}
function process(t, r) {
try {
if (f.isString(r) && "{" === r.charAt(0) && (r = JSON.parse(r)), f.isString(r)) {
o.filename = t;
var a, s = o(r, n, e), c = 0;
if (s.imports) for (;c < s.imports.length; ++c) (a = getBundledFileName(s.imports[c]) || n.resolvePath(t, s.imports[c])) && fetch(a);
if (s.weakImports) for (c = 0; c < s.weakImports.length; ++c) (a = getBundledFileName(s.weakImports[c]) || n.resolvePath(t, s.weakImports[c])) && fetch(a, !0);
} else n.setOptions(r.options).addJSON(r.nested);
} catch (t) {
finish(t);
}
i || u || finish(null, n);
}
function fetch(t, e) {
if (t = getBundledFileName(t) || t, !(n.files.indexOf(t) > -1)) if (n.files.push(t),
t in a) i ? process(t, a[t]) : (++u, setTimeout((function() {
--u, process(t, a[t]);
}))); else if (i) {
var o;
try {
o = f.fs.readFileSync(t).toString("utf8");
} catch (t) {
return void (e || finish(t));
}
process(t, o);
} else ++u, n.fetch(t, (function(i, o) {
--u, r && (i ? e ? u || finish(null, n) : finish(i) : process(t, o));
}));
}
var u = 0;
f.isString(t) && (t = [ t ]);
for (var s, c = 0; c < t.length; ++c) (s = n.resolvePath("", t[c])) && fetch(s);
if (i) return n;
u || finish(null, n);
}, Root.prototype.loadSync = function(t, e) {
if (!f.isNode) throw Error("not supported");
return this.load(t, e, SYNC);
}, Root.prototype.resolveAll = function() {
if (this.deferred.length) throw Error("unresolvable extensions: " + this.deferred.map((function(t) {
return "'extend " + t.extend + "' in " + t.parent.fullName;
})).join(", "));
return n.prototype.resolveAll.call(this);
};
var l = /^[A-Z]/;
function tryHandleExtension(t, e) {
var r = e.parent.lookup(e.extend);
if (r) {
var n = new u(e.fullName, e.id, e.type, e.rule, void 0, e.options);
return r.get(n.name) || (n.declaringField = e, e.extensionField = n, r.add(n)),
!0;
}
return !1;
}
Root.prototype._handleAdd = function(t) {
if (t instanceof u) void 0 === t.extend || t.extensionField || tryHandleExtension(0, t) || this.deferred.push(t); else if (t instanceof s) l.test(t.name) && (t.parent[t.name] = t.values); else if (!(t instanceof c)) {
if (t instanceof i) for (var e = 0; e < this.deferred.length; ) tryHandleExtension(0, this.deferred[e]) ? this.deferred.splice(e, 1) : ++e;
for (var r = 0; r < t.nestedArray.length; ++r) this._handleAdd(t._nestedArray[r]);
l.test(t.name) && (t.parent[t.name] = t);
}
}, Root.prototype._handleRemove = function(t) {
if (t instanceof u) {
if (void 0 !== t.extend) if (t.extensionField) t.extensionField.parent.remove(t.extensionField),
t.extensionField = null; else {
var e = this.deferred.indexOf(t);
e > -1 && this.deferred.splice(e, 1);
}
} else if (t instanceof s) l.test(t.name) && delete t.parent[t.name]; else if (t instanceof n) {
for (var r = 0; r < t.nestedArray.length; ++r) this._handleRemove(t._nestedArray[r]);
l.test(t.name) && delete t.parent[t.name];
}
}, Root._configure = function(t, e, r) {
i = t, o = e, a = r;
};
},
5370: (t, e, r) => {
"use strict";
var n = r(6198);
t.exports = function(t, e, r) {
for (var i = 0, o = arguments.length > 2 ? r : n(e), a = new t(o); o > i; ) a[i] = e[i++];
return a;
};
},
5397: (t, e, r) => {
"use strict";
var n = r(7055), i = r(7750);
t.exports = function(t) {
return n(i(t));
};
},
5440: (t, e, r) => {
"use strict";
var n = r(8745), i = r(9565), o = r(9504), a = r(9228), u = r(9039), s = r(8551), c = r(4901), f = r(4117), l = r(1291), h = r(8014), d = r(655), v = r(7750), p = r(7829), b = r(5966), y = r(2478), g = r(6682), w = r(8227)("replace"), m = Math.max, _ = Math.min, O = o([].concat), k = o([].push), S = o("".indexOf), E = o("".slice), A = "$0" === "a".replace(/./, "$0"), j = !!/./[w] && "" === /./[w]("a", "$0");
a("replace", (function(t, e, r) {
var o = j ? "$" : "$0";
return [ function(t, r) {
var n = v(this), o = f(t) ? void 0 : b(t, w);
return o ? i(o, t, n, r) : i(e, d(n), t, r);
}, function(t, i) {
var a = s(this), u = d(t);
if ("string" == typeof i && -1 === S(i, o) && -1 === S(i, "$<")) {
var f = r(e, a, u, i);
if (f.done) return f.value;
}
var v = c(i);
v || (i = d(i));
var b, w = a.global;
w && (b = a.unicode, a.lastIndex = 0);
for (var A, j = []; null !== (A = g(a, u)) && (k(j, A), w); ) "" === d(A[0]) && (a.lastIndex = p(u, h(a.lastIndex), b));
for (var x, T = "", R = 0, I = 0; I < j.length; I++) {
for (var C, M = d((A = j[I])[0]), N = m(_(l(A.index), u.length), 0), P = [], L = 1; L < A.length; L++) k(P, void 0 === (x = A[L]) ? x : String(x));
var B = A.groups;
if (v) {
var V = O([ M ], P, N, u);
void 0 !== B && k(V, B), C = d(n(i, void 0, V));
} else C = y(M, u, N, P, B, i);
N >= R && (T += E(u, R, N) + C, R = N + M.length);
}
return T + E(u, R);
} ];
}), !!u((function() {
var t = /./;
return t.exec = function() {
var t = [];
return t.groups = {
a: "7"
}, t;
}, "7" !== "".replace(t, "$<a>");
})) || !A || j);
},
5506: (t, e, r) => {
"use strict";
var n = r(6518), i = r(2357).entries;
n({
target: "Object",
stat: !0
}, {
entries: function(t) {
return i(t);
}
});
},
5548: (t, e, r) => {
"use strict";
var n = r(3517), i = r(6823), o = TypeError;
t.exports = function(t) {
if (n(t)) return t;
throw new o(i(t) + " is not a constructor");
};
},
5610: (t, e, r) => {
"use strict";
var n = r(1291), i = Math.max, o = Math.min;
t.exports = function(t, e) {
var r = n(t);
return r < 0 ? i(r + e, 0) : o(r, e);
};
},
5617: (t, e, r) => {
"use strict";
var n = r(3164);
t.exports = Math.fround || function(t) {
return n(t, 1.1920928955078125e-7, 34028234663852886e22, 11754943508222875e-54);
};
},
5643: (t, e, r) => {
"use strict";
t.exports = Enum;
var n = r(7209);
((Enum.prototype = Object.create(n.prototype)).constructor = Enum).className = "Enum";
var i = r(8923), o = r(3262);
function Enum(t, e, r, i, o, a) {
if (n.call(this, t, r), e && "object" != typeof e) throw TypeError("values must be an object");
if (this.valuesById = {}, this.values = Object.create(this.valuesById), this.comment = i,
this.comments = o || {}, this.valuesOptions = a, this.reserved = void 0, e) for (var u = Object.keys(e), s = 0; s < u.length; ++s) "number" == typeof e[u[s]] && (this.valuesById[this.values[u[s]] = e[u[s]]] = u[s]);
}
Enum.fromJSON = function(t, e) {
var r = new Enum(t, e.values, e.options, e.comment, e.comments);
return r.reserved = e.reserved, r;
}, Enum.prototype.toJSON = function(t) {
var e = !!t && Boolean(t.keepComments);
return o.toObject([ "options", this.options, "valuesOptions", this.valuesOptions, "values", this.values, "reserved", this.reserved && this.reserved.length ? this.reserved : void 0, "comment", e ? this.comment : void 0, "comments", e ? this.comments : void 0 ]);
}, Enum.prototype.add = function(t, e, r, n) {
if (!o.isString(t)) throw TypeError("name must be a string");
if (!o.isInteger(e)) throw TypeError("id must be an integer");
if (void 0 !== this.values[t]) throw Error("duplicate name '" + t + "' in " + this);
if (this.isReservedId(e)) throw Error("id " + e + " is reserved in " + this);
if (this.isReservedName(t)) throw Error("name '" + t + "' is reserved in " + this);
if (void 0 !== this.valuesById[e]) {
if (!this.options || !this.options.allow_alias) throw Error("duplicate id " + e + " in " + this);
this.values[t] = e;
} else this.valuesById[this.values[t] = e] = t;
return n && (void 0 === this.valuesOptions && (this.valuesOptions = {}), this.valuesOptions[t] = n || null),
this.comments[t] = r || null, this;
}, Enum.prototype.remove = function(t) {
if (!o.isString(t)) throw TypeError("name must be a string");
var e = this.values[t];
if (null == e) throw Error("name '" + t + "' does not exist in " + this);
return delete this.valuesById[e], delete this.values[t], delete this.comments[t],
this.valuesOptions && delete this.valuesOptions[t], this;
}, Enum.prototype.isReservedId = function(t) {
return i.isReservedId(this.reserved, t);
}, Enum.prototype.isReservedName = function(t) {
return i.isReservedName(this.reserved, t);
};
},
5652: (t, e, r) => {
"use strict";
var n = r(9039);
t.exports = n((function() {
if ("function" == typeof ArrayBuffer) {
var t = new ArrayBuffer(8);
Object.isExtensible(t) && Object.defineProperty(t, "a", {
value: 8
});
}
}));
},
5745: (t, e, r) => {
"use strict";
var n = r(7629);
t.exports = function(t, e) {
return n[t] || (n[t] = e || {});
};
},
5806: (t, e, r) => {
"use strict";
r(7764);
var n, i = r(6518), o = r(3724), a = r(7416), u = r(4576), s = r(6080), c = r(9504), f = r(6840), l = r(2106), h = r(679), d = r(9297), v = r(4213), p = r(7916), b = r(7680), y = r(8183).codeAt, g = r(6098), w = r(655), m = r(687), _ = r(2812), O = r(8406), k = r(1181), S = k.set, E = k.getterFor("URL"), A = O.URLSearchParams, j = O.getState, x = u.URL, T = u.TypeError, R = u.parseInt, I = Math.floor, C = Math.pow, M = c("".charAt), N = c(/./.exec), P = c([].join), L = c(1..toString), B = c([].pop), V = c([].push), D = c("".replace), U = c([].shift), q = c("".split), W = c("".slice), H = c("".toLowerCase), z = c([].unshift), G = "Invalid scheme", $ = "Invalid host", J = "Invalid port", K = /[a-z]/i, Z = /[\d+-.a-z]/i, Y = /\d/, X = /^0x/i, Q = /^[0-7]+$/, tt = /^\d+$/, et = /^[\da-f]+$/i, rt = /[\0\t\n\r #%/:<>?@[\\\]^|]/, nt = /[\0\t\n\r #/:<>?@[\\\]^|]/, it = /^[\u0000-\u0020]+/, ot = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/, at = /[\t\n\r]/g, serializeHost = function(t) {
var e, r, n, i;
if ("number" == typeof t) {
for (e = [], r = 0; r < 4; r++) z(e, t % 256), t = I(t / 256);
return P(e, ".");
}
if ("object" == typeof t) {
for (e = "", n = function(t) {
for (var e = null, r = 1, n = null, i = 0, o = 0; o < 8; o++) 0 !== t[o] ? (i > r && (e = n,
r = i), n = null, i = 0) : (null === n && (n = o), ++i);
return i > r ? n : e;
}(t), r = 0; r < 8; r++) i && 0 === t[r] || (i && (i = !1), n === r ? (e += r ? ":" : "::",
i = !0) : (e += L(t[r], 16), r < 7 && (e += ":")));
return "[" + e + "]";
}
return t;
}, ut = {}, st = v({}, ut, {
" ": 1,
'"': 1,
"<": 1,
">": 1,
"`": 1
}), ct = v({}, st, {
"#": 1,
"?": 1,
"{": 1,
"}": 1
}), ft = v({}, ct, {
"/": 1,
":": 1,
";": 1,
"=": 1,
"@": 1,
"[": 1,
"\\": 1,
"]": 1,
"^": 1,
"|": 1
}), percentEncode = function(t, e) {
var r = y(t, 0);
return r > 32 && r < 127 && !d(e, t) ? t : encodeURIComponent(t);
}, lt = {
ftp: 21,
file: null,
http: 80,
https: 443,
ws: 80,
wss: 443
}, isWindowsDriveLetter = function(t, e) {
var r;
return 2 === t.length && N(K, M(t, 0)) && (":" === (r = M(t, 1)) || !e && "|" === r);
}, startsWithWindowsDriveLetter = function(t) {
var e;
return t.length > 1 && isWindowsDriveLetter(W(t, 0, 2)) && (2 === t.length || "/" === (e = M(t, 2)) || "\\" === e || "?" === e || "#" === e);
}, isSingleDot = function(t) {
return "." === t || "%2e" === H(t);
}, ht = {}, dt = {}, vt = {}, pt = {}, bt = {}, yt = {}, gt = {}, wt = {}, mt = {}, _t = {}, Ot = {}, kt = {}, St = {}, Et = {}, At = {}, jt = {}, xt = {}, Tt = {}, Rt = {}, It = {}, Ct = {}, URLState = function(t, e, r) {
var n, i, o, a = w(t);
if (e) {
if (i = this.parse(a)) throw new T(i);
this.searchParams = null;
} else {
if (void 0 !== r && (n = new URLState(r, !0)), i = this.parse(a, null, n)) throw new T(i);
(o = j(new A)).bindURL(this), this.searchParams = o;
}
};
URLState.prototype = {
type: "URL",
parse: function(t, e, r) {
var i, o, a, u, s, c = this, f = e || ht, l = 0, h = "", v = !1, y = !1, g = !1;
for (t = w(t), e || (c.scheme = "", c.username = "", c.password = "", c.host = null,
c.port = null, c.path = [], c.query = null, c.fragment = null, c.cannotBeABaseURL = !1,
t = D(t, it, ""), t = D(t, ot, "$1")), t = D(t, at, ""), i = p(t); l <= i.length; ) {
switch (o = i[l], f) {
case ht:
if (!o || !N(K, o)) {
if (e) return G;
f = vt;
continue;
}
h += H(o), f = dt;
break;
case dt:
if (o && (N(Z, o) || "+" === o || "-" === o || "." === o)) h += H(o); else {
if (":" !== o) {
if (e) return G;
h = "", f = vt, l = 0;
continue;
}
if (e && (c.isSpecial() !== d(lt, h) || "file" === h && (c.includesCredentials() || null !== c.port) || "file" === c.scheme && !c.host)) return;
if (c.scheme = h, e) return void (c.isSpecial() && lt[c.scheme] === c.port && (c.port = null));
h = "", "file" === c.scheme ? f = Et : c.isSpecial() && r && r.scheme === c.scheme ? f = pt : c.isSpecial() ? f = wt : "/" === i[l + 1] ? (f = bt,
l++) : (c.cannotBeABaseURL = !0, V(c.path, ""), f = Rt);
}
break;
case vt:
if (!r || r.cannotBeABaseURL && "#" !== o) return G;
if (r.cannotBeABaseURL && "#" === o) {
c.scheme = r.scheme, c.path = b(r.path), c.query = r.query, c.fragment = "", c.cannotBeABaseURL = !0,
f = Ct;
break;
}
f = "file" === r.scheme ? Et : yt;
continue;
case pt:
if ("/" !== o || "/" !== i[l + 1]) {
f = yt;
continue;
}
f = mt, l++;
break;
case bt:
if ("/" === o) {
f = _t;
break;
}
f = Tt;
continue;
case yt:
if (c.scheme = r.scheme, o === n) c.username = r.username, c.password = r.password,
c.host = r.host, c.port = r.port, c.path = b(r.path), c.query = r.query; else if ("/" === o || "\\" === o && c.isSpecial()) f = gt; else if ("?" === o) c.username = r.username,
c.password = r.password, c.host = r.host, c.port = r.port, c.path = b(r.path), c.query = "",
f = It; else {
if ("#" !== o) {
c.username = r.username, c.password = r.password, c.host = r.host, c.port = r.port,
c.path = b(r.path), c.path.length--, f = Tt;
continue;
}
c.username = r.username, c.password = r.password, c.host = r.host, c.port = r.port,
c.path = b(r.path), c.query = r.query, c.fragment = "", f = Ct;
}
break;
case gt:
if (!c.isSpecial() || "/" !== o && "\\" !== o) {
if ("/" !== o) {
c.username = r.username, c.password = r.password, c.host = r.host, c.port = r.port,
f = Tt;
continue;
}
f = _t;
} else f = mt;
break;
case wt:
if (f = mt, "/" !== o || "/" !== M(h, l + 1)) continue;
l++;
break;
case mt:
if ("/" !== o && "\\" !== o) {
f = _t;
continue;
}
break;
case _t:
if ("@" === o) {
v && (h = "%40" + h), v = !0, a = p(h);
for (var m = 0; m < a.length; m++) {
var _ = a[m];
if (":" !== _ || g) {
var O = percentEncode(_, ft);
g ? c.password += O : c.username += O;
} else g = !0;
}
h = "";
} else if (o === n || "/" === o || "?" === o || "#" === o || "\\" === o && c.isSpecial()) {
if (v && "" === h) return "Invalid authority";
l -= p(h).length + 1, h = "", f = Ot;
} else h += o;
break;
case Ot:
case kt:
if (e && "file" === c.scheme) {
f = jt;
continue;
}
if (":" !== o || y) {
if (o === n || "/" === o || "?" === o || "#" === o || "\\" === o && c.isSpecial()) {
if (c.isSpecial() && "" === h) return $;
if (e && "" === h && (c.includesCredentials() || null !== c.port)) return;
if (u = c.parseHost(h)) return u;
if (h = "", f = xt, e) return;
continue;
}
"[" === o ? y = !0 : "]" === o && (y = !1), h += o;
} else {
if ("" === h) return $;
if (u = c.parseHost(h)) return u;
if (h = "", f = St, e === kt) return;
}
break;
case St:
if (!N(Y, o)) {
if (o === n || "/" === o || "?" === o || "#" === o || "\\" === o && c.isSpecial() || e) {
if ("" !== h) {
var k = R(h, 10);
if (k > 65535) return J;
c.port = c.isSpecial() && k === lt[c.scheme] ? null : k, h = "";
}
if (e) return;
f = xt;
continue;
}
return J;
}
h += o;
break;
case Et:
if (c.scheme = "file", "/" === o || "\\" === o) f = At; else {
if (!r || "file" !== r.scheme) {
f = Tt;
continue;
}
switch (o) {
case n:
c.host = r.host, c.path = b(r.path), c.query = r.query;
break;
case "?":
c.host = r.host, c.path = b(r.path), c.query = "", f = It;
break;
case "#":
c.host = r.host, c.path = b(r.path), c.query = r.query, c.fragment = "", f = Ct;
break;
default:
startsWithWindowsDriveLetter(P(b(i, l), "")) || (c.host = r.host, c.path = b(r.path),
c.shortenPath()), f = Tt;
continue;
}
}
break;
case At:
if ("/" === o || "\\" === o) {
f = jt;
break;
}
r && "file" === r.scheme && !startsWithWindowsDriveLetter(P(b(i, l), "")) && (isWindowsDriveLetter(r.path[0], !0) ? V(c.path, r.path[0]) : c.host = r.host),
f = Tt;
continue;
case jt:
if (o === n || "/" === o || "\\" === o || "?" === o || "#" === o) {
if (!e && isWindowsDriveLetter(h)) f = Tt; else if ("" === h) {
if (c.host = "", e) return;
f = xt;
} else {
if (u = c.parseHost(h)) return u;
if ("localhost" === c.host && (c.host = ""), e) return;
h = "", f = xt;
}
continue;
}
h += o;
break;
case xt:
if (c.isSpecial()) {
if (f = Tt, "/" !== o && "\\" !== o) continue;
} else if (e || "?" !== o) if (e || "#" !== o) {
if (o !== n && (f = Tt, "/" !== o)) continue;
} else c.fragment = "", f = Ct; else c.query = "", f = It;
break;
case Tt:
if (o === n || "/" === o || "\\" === o && c.isSpecial() || !e && ("?" === o || "#" === o)) {
if (".." === (s = H(s = h)) || "%2e." === s || ".%2e" === s || "%2e%2e" === s ? (c.shortenPath(),
"/" === o || "\\" === o && c.isSpecial() || V(c.path, "")) : isSingleDot(h) ? "/" === o || "\\" === o && c.isSpecial() || V(c.path, "") : ("file" === c.scheme && !c.path.length && isWindowsDriveLetter(h) && (c.host && (c.host = ""),
h = M(h, 0) + ":"), V(c.path, h)), h = "", "file" === c.scheme && (o === n || "?" === o || "#" === o)) for (;c.path.length > 1 && "" === c.path[0]; ) U(c.path);
"?" === o ? (c.query = "", f = It) : "#" === o && (c.fragment = "", f = Ct);
} else h += percentEncode(o, ct);
break;
case Rt:
"?" === o ? (c.query = "", f = It) : "#" === o ? (c.fragment = "", f = Ct) : o !== n && (c.path[0] += percentEncode(o, ut));
break;
case It:
e || "#" !== o ? o !== n && ("'" === o && c.isSpecial() ? c.query += "%27" : c.query += "#" === o ? "%23" : percentEncode(o, ut)) : (c.fragment = "",
f = Ct);
break;
case Ct:
o !== n && (c.fragment += percentEncode(o, st));
}
l++;
}
},
parseHost: function(t) {
var e, r, n;
if ("[" === M(t, 0)) {
if ("]" !== M(t, t.length - 1)) return $;
if (e = function(t) {
var e, r, n, i, o, a, u, s = [ 0, 0, 0, 0, 0, 0, 0, 0 ], c = 0, f = null, l = 0, chr = function() {
return M(t, l);
};
if (":" === chr()) {
if (":" !== M(t, 1)) return;
l += 2, f = ++c;
}
for (;chr(); ) {
if (8 === c) return;
if (":" !== chr()) {
for (e = r = 0; r < 4 && N(et, chr()); ) e = 16 * e + R(chr(), 16), l++, r++;
if ("." === chr()) {
if (0 === r) return;
if (l -= r, c > 6) return;
for (n = 0; chr(); ) {
if (i = null, n > 0) {
if (!("." === chr() && n < 4)) return;
l++;
}
if (!N(Y, chr())) return;
for (;N(Y, chr()); ) {
if (o = R(chr(), 10), null === i) i = o; else {
if (0 === i) return;
i = 10 * i + o;
}
if (i > 255) return;
l++;
}
s[c] = 256 * s[c] + i, 2 != ++n && 4 !== n || c++;
}
if (4 !== n) return;
break;
}
if (":" === chr()) {
if (l++, !chr()) return;
} else if (chr()) return;
s[c++] = e;
} else {
if (null !== f) return;
l++, f = ++c;
}
}
if (null !== f) for (a = c - f, c = 7; 0 !== c && a > 0; ) u = s[c], s[c--] = s[f + a - 1],
s[f + --a] = u; else if (8 !== c) return;
return s;
}(W(t, 1, -1)), !e) return $;
this.host = e;
} else if (this.isSpecial()) {
if (t = g(t), N(rt, t)) return $;
if (e = function(t) {
var e, r, n, i, o, a, u, s = q(t, ".");
if (s.length && "" === s[s.length - 1] && s.length--, (e = s.length) > 4) return t;
for (r = [], n = 0; n < e; n++) {
if ("" === (i = s[n])) return t;
if (o = 10, i.length > 1 && "0" === M(i, 0) && (o = N(X, i) ? 16 : 8, i = W(i, 8 === o ? 1 : 2)),
"" === i) a = 0; else {
if (!N(10 === o ? tt : 8 === o ? Q : et, i)) return t;
a = R(i, o);
}
V(r, a);
}
for (n = 0; n < e; n++) if (a = r[n], n === e - 1) {
if (a >= C(256, 5 - e)) return null;
} else if (a > 255) return null;
for (u = B(r), n = 0; n < r.length; n++) u += r[n] * C(256, 3 - n);
return u;
}(t), null === e) return $;
this.host = e;
} else {
if (N(nt, t)) return $;
for (e = "", r = p(t), n = 0; n < r.length; n++) e += percentEncode(r[n], ut);
this.host = e;
}
},
cannotHaveUsernamePasswordPort: function() {
return !this.host || this.cannotBeABaseURL || "file" === this.scheme;
},
includesCredentials: function() {
return "" !== this.username || "" !== this.password;
},
isSpecial: function() {
return d(lt, this.scheme);
},
shortenPath: function() {
var t = this.path, e = t.length;
!e || "file" === this.scheme && 1 === e && isWindowsDriveLetter(t[0], !0) || t.length--;
},
serialize: function() {
var t = this, e = t.scheme, r = t.username, n = t.password, i = t.host, o = t.port, a = t.path, u = t.query, s = t.fragment, c = e + ":";
return null !== i ? (c += "//", t.includesCredentials() && (c += r + (n ? ":" + n : "") + "@"),
c += serializeHost(i), null !== o && (c += ":" + o)) : "file" === e && (c += "//"),
c += t.cannotBeABaseURL ? a[0] : a.length ? "/" + P(a, "/") : "", null !== u && (c += "?" + u),
null !== s && (c += "#" + s), c;
},
setHref: function(t) {
var e = this.parse(t);
if (e) throw new T(e);
this.searchParams.update();
},
getOrigin: function() {
var t = this.scheme, e = this.port;
if ("blob" === t) try {
return new URLConstructor(t.path[0]).origin;
} catch (t) {
return "null";
}
return "file" !== t && this.isSpecial() ? t + "://" + serializeHost(this.host) + (null !== e ? ":" + e : "") : "null";
},
getProtocol: function() {
return this.scheme + ":";
},
setProtocol: function(t) {
this.parse(w(t) + ":", ht);
},
getUsername: function() {
return this.username;
},
setUsername: function(t) {
var e = p(w(t));
if (!this.cannotHaveUsernamePasswordPort()) {
this.username = "";
for (var r = 0; r < e.length; r++) this.username += percentEncode(e[r], ft);
}
},
getPassword: function() {
return this.password;
},
setPassword: function(t) {
var e = p(w(t));
if (!this.cannotHaveUsernamePasswordPort()) {
this.password = "";
for (var r = 0; r < e.length; r++) this.password += percentEncode(e[r], ft);
}
},
getHost: function() {
var t = this.host, e = this.port;
return null === t ? "" : null === e ? serializeHost(t) : serializeHost(t) + ":" + e;
},
setHost: function(t) {
this.cannotBeABaseURL || this.parse(t, Ot);
},
getHostname: function() {
var t = this.host;
return null === t ? "" : serializeHost(t);
},
setHostname: function(t) {
this.cannotBeABaseURL || this.parse(t, kt);
},
getPort: function() {
var t = this.port;
return null === t ? "" : w(t);
},
setPort: function(t) {
this.cannotHaveUsernamePasswordPort() || ("" === (t = w(t)) ? this.port = null : this.parse(t, St));
},
getPathname: function() {
var t = this.path;
return this.cannotBeABaseURL ? t[0] : t.length ? "/" + P(t, "/") : "";
},
setPathname: function(t) {
this.cannotBeABaseURL || (this.path = [], this.parse(t, xt));
},
getSearch: function() {
var t = this.query;
return t ? "?" + t : "";
},
setSearch: function(t) {
"" === (t = w(t)) ? this.query = null : ("?" === M(t, 0) && (t = W(t, 1)), this.query = "",
this.parse(t, It)), this.searchParams.update();
},
getSearchParams: function() {
return this.searchParams.facade;
},
getHash: function() {
var t = this.fragment;
return t ? "#" + t : "";
},
setHash: function(t) {
"" !== (t = w(t)) ? ("#" === M(t, 0) && (t = W(t, 1)), this.fragment = "", this.parse(t, Ct)) : this.fragment = null;
},
update: function() {
this.query = this.searchParams.serialize() || null;
}
};
var URLConstructor = function(t) {
var e = h(this, Mt), r = _(arguments.length, 1) > 1 ? arguments[1] : void 0, n = S(e, new URLState(t, !1, r));
o || (e.href = n.serialize(), e.origin = n.getOrigin(), e.protocol = n.getProtocol(),
e.username = n.getUsername(), e.password = n.getPassword(), e.host = n.getHost(),
e.hostname = n.getHostname(), e.port = n.getPort(), e.pathname = n.getPathname(),
e.search = n.getSearch(), e.searchParams = n.getSearchParams(), e.hash = n.getHash());
}, Mt = URLConstructor.prototype, accessorDescriptor = function(t, e) {
return {
get: function() {
return E(this)[t]();
},
set: e && function(t) {
return E(this)[e](t);
},
configurable: !0,
enumerable: !0
};
};
if (o && (l(Mt, "href", accessorDescriptor("serialize", "setHref")), l(Mt, "origin", accessorDescriptor("getOrigin")),
l(Mt, "protocol", accessorDescriptor("getProtocol", "setProtocol")), l(Mt, "username", accessorDescriptor("getUsername", "setUsername")),
l(Mt, "password", accessorDescriptor("getPassword", "setPassword")), l(Mt, "host", accessorDescriptor("getHost", "setHost")),
l(Mt, "hostname", accessorDescriptor("getHostname", "setHostname")), l(Mt, "port", accessorDescriptor("getPort", "setPort")),
l(Mt, "pathname", accessorDescriptor("getPathname", "setPathname")), l(Mt, "search", accessorDescriptor("getSearch", "setSearch")),
l(Mt, "searchParams", accessorDescriptor("getSearchParams")), l(Mt, "hash", accessorDescriptor("getHash", "setHash"))),
f(Mt, "toJSON", (function() {
return E(this).serialize();
}), {
enumerable: !0
}), f(Mt, "toString", (function() {
return E(this).serialize();
}), {
enumerable: !0
}), x) {
var Nt = x.createObjectURL, Pt = x.revokeObjectURL;
Nt && f(URLConstructor, "createObjectURL", s(Nt, x)), Pt && f(URLConstructor, "revokeObjectURL", s(Pt, x));
}
m(URLConstructor, "URL"), i({
global: !0,
constructor: !0,
forced: !a,
sham: !o
}, {
URL: URLConstructor
});
},
5823: (t, e, r) => {
"use strict";
var n = r(6518), i = r(4576), o = r(9565), a = r(3724), u = r(2805), s = r(4644), c = r(6346), f = r(679), l = r(6980), h = r(6699), d = r(2087), v = r(8014), p = r(7696), b = r(8229), y = r(8319), g = r(6969), w = r(9297), m = r(6955), _ = r(34), O = r(757), k = r(2360), S = r(1625), E = r(2967), A = r(8480).f, j = r(3251), x = r(9213).forEach, T = r(7633), R = r(2106), I = r(4913), C = r(7347), M = r(5370), N = r(1181), P = r(3167), L = N.get, B = N.set, V = N.enforce, D = I.f, U = C.f, q = i.RangeError, W = c.ArrayBuffer, H = W.prototype, z = c.DataView, G = s.NATIVE_ARRAY_BUFFER_VIEWS, $ = s.TYPED_ARRAY_TAG, J = s.TypedArray, K = s.TypedArrayPrototype, Z = s.isTypedArray, Y = "BYTES_PER_ELEMENT", X = "Wrong length", addGetter = function(t, e) {
R(t, e, {
configurable: !0,
get: function() {
return L(this)[e];
}
});
}, isArrayBuffer = function(t) {
var e;
return S(H, t) || "ArrayBuffer" === (e = m(t)) || "SharedArrayBuffer" === e;
}, isTypedArrayIndex = function(t, e) {
return Z(t) && !O(e) && e in t && d(+e) && e >= 0;
}, wrappedGetOwnPropertyDescriptor = function(t, e) {
return e = g(e), isTypedArrayIndex(t, e) ? l(2, t[e]) : U(t, e);
}, wrappedDefineProperty = function(t, e, r) {
return e = g(e), !(isTypedArrayIndex(t, e) && _(r) && w(r, "value")) || w(r, "get") || w(r, "set") || r.configurable || w(r, "writable") && !r.writable || w(r, "enumerable") && !r.enumerable ? D(t, e, r) : (t[e] = r.value,
t);
};
a ? (G || (C.f = wrappedGetOwnPropertyDescriptor, I.f = wrappedDefineProperty, addGetter(K, "buffer"),
addGetter(K, "byteOffset"), addGetter(K, "byteLength"), addGetter(K, "length")),
n({
target: "Object",
stat: !0,
forced: !G
}, {
getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,
defineProperty: wrappedDefineProperty
}), t.exports = function(t, e, r) {
var a = t.match(/\d+/)[0] / 8, s = t + (r ? "Clamped" : "") + "Array", c = "get" + t, l = "set" + t, d = i[s], g = d, w = g && g.prototype, m = {}, addElement = function(t, e) {
D(t, e, {
get: function() {
return function(t, e) {
var r = L(t);
return r.view[c](e * a + r.byteOffset, !0);
}(this, e);
},
set: function(t) {
return function(t, e, n) {
var i = L(t);
i.view[l](e * a + i.byteOffset, r ? y(n) : n, !0);
}(this, e, t);
},
enumerable: !0
});
};
G ? u && (g = e((function(t, e, r, n) {
return f(t, w), P(_(e) ? isArrayBuffer(e) ? void 0 !== n ? new d(e, b(r, a), n) : void 0 !== r ? new d(e, b(r, a)) : new d(e) : Z(e) ? M(g, e) : o(j, g, e) : new d(p(e)), t, g);
})), E && E(g, J), x(A(d), (function(t) {
t in g || h(g, t, d[t]);
})), g.prototype = w) : (g = e((function(t, e, r, n) {
f(t, w);
var i, u, s, c = 0, l = 0;
if (_(e)) {
if (!isArrayBuffer(e)) return Z(e) ? M(g, e) : o(j, g, e);
i = e, l = b(r, a);
var h = e.byteLength;
if (void 0 === n) {
if (h % a) throw new q(X);
if ((u = h - l) < 0) throw new q(X);
} else if ((u = v(n) * a) + l > h) throw new q(X);
s = u / a;
} else s = p(e), i = new W(u = s * a);
for (B(t, {
buffer: i,
byteOffset: l,
byteLength: u,
length: s,
view: new z(i)
}); c < s; ) addElement(t, c++);
})), E && E(g, J), w = g.prototype = k(K)), w.constructor !== g && h(w, "constructor", g),
V(w).TypedArrayConstructor = g, $ && h(w, $, s);
var O = g !== d;
m[s] = g, n({
global: !0,
constructor: !0,
forced: O,
sham: !G
}, m), Y in g || h(g, Y, a), Y in w || h(w, Y, a), T(s);
}) : t.exports = function() {};
},
5854: (t, e, r) => {
"use strict";
var n = r(2777), i = TypeError;
t.exports = function(t) {
var e = n(t, "number");
if ("number" == typeof e) throw new i("Can't convert number to bigint");
return BigInt(e);
};
},
5917: (t, e, r) => {
"use strict";
var n = r(3724), i = r(9039), o = r(4055);
t.exports = !n && !i((function() {
return 7 !== Object.defineProperty(o("div"), "a", {
get: function() {
return 7;
}
}).a;
}));
},
5966: (t, e, r) => {
"use strict";
var n = r(9306), i = r(4117);
t.exports = function(t, e) {
var r = t[e];
return i(r) ? void 0 : n(r);
};
},
6033: (t, e, r) => {
"use strict";
r(8523);
},
6034: (t, e, r) => {
"use strict";
var n = r(6518), i = r(2357).values;
n({
target: "Object",
stat: !0
}, {
values: function(t) {
return i(t);
}
});
},
6043: (t, e, r) => {
"use strict";
var n = r(9306), i = TypeError, PromiseCapability = function(t) {
var e, r;
this.promise = new t((function(t, n) {
if (void 0 !== e || void 0 !== r) throw new i("Bad Promise constructor");
e = t, r = n;
})), this.resolve = n(e), this.reject = n(r);
};
t.exports.f = function(t) {
return new PromiseCapability(t);
};
},
6072: (t, e, r) => {
"use strict";
var n = r(4644), i = r(926).right, o = n.aTypedArray;
(0, n.exportTypedArrayMethod)("reduceRight", (function(t) {
var e = arguments.length;
return i(o(this), t, e, e > 1 ? arguments[1] : void 0);
}));
},
6080: (t, e, r) => {
"use strict";
var n = r(7476), i = r(9306), o = r(616), a = n(n.bind);
t.exports = function(t, e) {
return i(t), void 0 === e ? t : o ? a(t, e) : function() {
return t.apply(e, arguments);
};
};
},
6098: (t, e, r) => {
"use strict";
var n = r(9504), i = 2147483647, o = /[^\0-\u007E]/, a = /[.\u3002\uFF0E\uFF61]/g, u = "Overflow: input needs wider integers to process", s = RangeError, c = n(a.exec), f = Math.floor, l = String.fromCharCode, h = n("".charCodeAt), d = n([].join), v = n([].push), p = n("".replace), b = n("".split), y = n("".toLowerCase), digitToBasic = function(t) {
return t + 22 + 75 * (t < 26);
}, adapt = function(t, e, r) {
var n = 0;
for (t = r ? f(t / 700) : t >> 1, t += f(t / e); t > 455; ) t = f(t / 35), n += 36;
return f(n + 36 * t / (t + 38));
}, encode = function(t) {
var e = [];
t = function(t) {
for (var e = [], r = 0, n = t.length; r < n; ) {
var i = h(t, r++);
if (i >= 55296 && i <= 56319 && r < n) {
var o = h(t, r++);
56320 == (64512 & o) ? v(e, ((1023 & i) << 10) + (1023 & o) + 65536) : (v(e, i),
r--);
} else v(e, i);
}
return e;
}(t);
var r, n, o = t.length, a = 128, c = 0, p = 72;
for (r = 0; r < t.length; r++) (n = t[r]) < 128 && v(e, l(n));
var b = e.length, y = b;
for (b && v(e, "-"); y < o; ) {
var g = i;
for (r = 0; r < t.length; r++) (n = t[r]) >= a && n < g && (g = n);
var w = y + 1;
if (g - a > f((i - c) / w)) throw new s(u);
for (c += (g - a) * w, a = g, r = 0; r < t.length; r++) {
if ((n = t[r]) < a && ++c > i) throw new s(u);
if (n === a) {
for (var m = c, _ = 36; ;) {
var O = _ <= p ? 1 : _ >= p + 26 ? 26 : _ - p;
if (m < O) break;
var k = m - O, S = 36 - O;
v(e, l(digitToBasic(O + k % S))), m = f(k / S), _ += 36;
}
v(e, l(digitToBasic(m))), p = adapt(c, w, y === b), c = 0, y++;
}
}
c++, a++;
}
return d(e, "");
};
t.exports = function(t) {
var e, r, n = [], i = b(p(y(t), a, "."), ".");
for (e = 0; e < i.length; e++) r = i[e], v(n, c(o, r) ? "xn--" + encode(r) : r);
return d(n, ".");
};
},
6099: (t, e, r) => {
"use strict";
var n = r(2140), i = r(6840), o = r(3179);
n || i(Object.prototype, "toString", o, {
unsafe: !0
});
},
6119: (t, e, r) => {
"use strict";
var n = r(5745), i = r(3392), o = n("keys");
t.exports = function(t) {
return o[t] || (o[t] = i(t));
};
},
6193: (t, e, r) => {
"use strict";
var n = r(4215);
t.exports = "NODE" === n;
},
6198: (t, e, r) => {
"use strict";
var n = r(8014);
t.exports = function(t) {
return n(t.length);
};
},
6237: (t, e, r) => {
"use strict";
t.exports = Reader;
var n, i = r(3610), o = i.LongBits, a = i.utf8;
function indexOutOfRange(t, e) {
return RangeError("index out of range: " + t.pos + " + " + (e || 1) + " > " + t.len);
}
function Reader(t) {
this.buf = t, this.pos = 0, this.len = t.length;
}
var u, s = "undefined" != typeof Uint8Array ? function(t) {
if (t instanceof Uint8Array || Array.isArray(t)) return new Reader(t);
throw Error("illegal buffer");
} : function(t) {
if (Array.isArray(t)) return new Reader(t);
throw Error("illegal buffer");
}, create = function() {
return i.Buffer ? function(t) {
return (Reader.create = function(t) {
return i.Buffer.isBuffer(t) ? new n(t) : s(t);
})(t);
} : s;
};
function readLongVarint() {
var t = new o(0, 0), e = 0;
if (!(this.len - this.pos > 4)) {
for (;e < 3; ++e) {
if (this.pos >= this.len) throw indexOutOfRange(this);
if (t.lo = (t.lo | (127 & this.buf[this.pos]) << 7 * e) >>> 0, this.buf[this.pos++] < 128) return t;
}
return t.lo = (t.lo | (127 & this.buf[this.pos++]) << 7 * e) >>> 0, t;
}
for (;e < 4; ++e) if (t.lo = (t.lo | (127 & this.buf[this.pos]) << 7 * e) >>> 0,
this.buf[this.pos++] < 128) return t;
if (t.lo = (t.lo | (127 & this.buf[this.pos]) << 28) >>> 0, t.hi = (t.hi | (127 & this.buf[this.pos]) >> 4) >>> 0,
this.buf[this.pos++] < 128) return t;
if (e = 0, this.len - this.pos > 4) {
for (;e < 5; ++e) if (t.hi = (t.hi | (127 & this.buf[this.pos]) << 7 * e + 3) >>> 0,
this.buf[this.pos++] < 128) return t;
} else for (;e < 5; ++e) {
if (this.pos >= this.len) throw indexOutOfRange(this);
if (t.hi = (t.hi | (127 & this.buf[this.pos]) << 7 * e + 3) >>> 0, this.buf[this.pos++] < 128) return t;
}
throw Error("invalid varint encoding");
}
function readFixed32_end(t, e) {
return (t[e - 4] | t[e - 3] << 8 | t[e - 2] << 16 | t[e - 1] << 24) >>> 0;
}
function readFixed64() {
if (this.pos + 8 > this.len) throw indexOutOfRange(this, 8);
return new o(readFixed32_end(this.buf, this.pos += 4), readFixed32_end(this.buf, this.pos += 4));
}
Reader.create = create(), Reader.prototype._slice = i.Array.prototype.subarray || i.Array.prototype.slice,
Reader.prototype.uint32 = (u = 4294967295, function() {
if (u = (127 & this.buf[this.pos]) >>> 0, this.buf[this.pos++] < 128) return u;
if (u = (u | (127 & this.buf[this.pos]) << 7) >>> 0, this.buf[this.pos++] < 128) return u;
if (u = (u | (127 & this.buf[this.pos]) << 14) >>> 0, this.buf[this.pos++] < 128) return u;
if (u = (u | (127 & this.buf[this.pos]) << 21) >>> 0, this.buf[this.pos++] < 128) return u;
if (u = (u | (15 & this.buf[this.pos]) << 28) >>> 0, this.buf[this.pos++] < 128) return u;
if ((this.pos += 5) > this.len) throw this.pos = this.len, indexOutOfRange(this, 10);
return u;
}), Reader.prototype.int32 = function() {
return 0 | this.uint32();
}, Reader.prototype.sint32 = function() {
var t = this.uint32();
return t >>> 1 ^ -(1 & t);
}, Reader.prototype.bool = function() {
return 0 !== this.uint32();
}, Reader.prototype.fixed32 = function() {
if (this.pos + 4 > this.len) throw indexOutOfRange(this, 4);
return readFixed32_end(this.buf, this.pos += 4);
}, Reader.prototype.sfixed32 = function() {
if (this.pos + 4 > this.len) throw indexOutOfRange(this, 4);
return 0 | readFixed32_end(this.buf, this.pos += 4);
}, Reader.prototype.float = function() {
if (this.pos + 4 > this.len) throw indexOutOfRange(this, 4);
var t = i.float.readFloatLE(this.buf, this.pos);
return this.pos += 4, t;
}, Reader.prototype.double = function() {
if (this.pos + 8 > this.len) throw indexOutOfRange(this, 4);
var t = i.float.readDoubleLE(this.buf, this.pos);
return this.pos += 8, t;
}, Reader.prototype.bytes = function() {
var t = this.uint32(), e = this.pos, r = this.pos + t;
if (r > this.len) throw indexOutOfRange(this, t);
if (this.pos += t, Array.isArray(this.buf)) return this.buf.slice(e, r);
if (e === r) {
var n = i.Buffer;
return n ? n.alloc(0) : new this.buf.constructor(0);
}
return this._slice.call(this.buf, e, r);
}, Reader.prototype.string = function() {
var t = this.bytes();
return a.read(t, 0, t.length);
}, Reader.prototype.skip = function(t) {
if ("number" == typeof t) {
if (this.pos + t > this.len) throw indexOutOfRange(this, t);
this.pos += t;
} else do {
if (this.pos >= this.len) throw indexOutOfRange(this);
} while (128 & this.buf[this.pos++]);
return this;
}, Reader.prototype.skipType = function(t) {
switch (t) {
case 0:
this.skip();
break;
case 1:
this.skip(8);
break;
case 2:
this.skip(this.uint32());
break;
case 3:
for (;4 != (t = 7 & this.uint32()); ) this.skipType(t);
break;
case 5:
this.skip(4);
break;
default:
throw Error("invalid wire type " + t + " at offset " + this.pos);
}
return this;
}, Reader._configure = function(t) {
n = t, Reader.create = create(), n._configure();
var e = i.Long ? "toLong" : "toNumber";
i.merge(Reader.prototype, {
int64: function() {
return readLongVarint.call(this)[e](!1);
},
uint64: function() {
return readLongVarint.call(this)[e](!0);
},
sint64: function() {
return readLongVarint.call(this).zzDecode()[e](!1);
},
fixed64: function() {
return readFixed64.call(this)[e](!0);
},
sfixed64: function() {
return readFixed64.call(this)[e](!1);
}
});
};
},
6269: t => {
"use strict";
t.exports = {};
},
6279: (t, e, r) => {
"use strict";
var n = r(6840);
t.exports = function(t, e, r) {
for (var i in e) n(t, i, e[i], r);
return t;
};
},
6319: (t, e, r) => {
"use strict";
var n = r(8551), i = r(9539);
t.exports = function(t, e, r, o) {
try {
return o ? e(n(r)[0], r[1]) : e(r);
} catch (e) {
i(t, "throw", e);
}
};
},
6346: (t, e, r) => {
"use strict";
var n = r(4576), i = r(9504), o = r(3724), a = r(7811), u = r(350), s = r(6699), c = r(2106), f = r(6279), l = r(9039), h = r(679), d = r(1291), v = r(8014), p = r(7696), b = r(5617), y = r(8490), g = r(2787), w = r(2967), m = r(4373), _ = r(7680), O = r(3167), k = r(7740), S = r(687), E = r(1181), A = u.PROPER, j = u.CONFIGURABLE, x = "ArrayBuffer", T = "DataView", R = "prototype", I = "Wrong index", C = E.getterFor(x), M = E.getterFor(T), N = E.set, P = n[x], L = P, B = L && L[R], V = n[T], D = V && V[R], U = Object.prototype, q = n.Array, W = n.RangeError, H = i(m), z = i([].reverse), G = y.pack, $ = y.unpack, packInt8 = function(t) {
return [ 255 & t ];
}, packInt16 = function(t) {
return [ 255 & t, t >> 8 & 255 ];
}, packInt32 = function(t) {
return [ 255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255 ];
}, unpackInt32 = function(t) {
return t[3] << 24 | t[2] << 16 | t[1] << 8 | t[0];
}, packFloat32 = function(t) {
return G(b(t), 23, 4);
}, packFloat64 = function(t) {
return G(t, 52, 8);
}, addGetter = function(t, e, r) {
c(t[R], e, {
configurable: !0,
get: function() {
return r(this)[e];
}
});
}, get = function(t, e, r, n) {
var i = M(t), o = p(r), a = !!n;
if (o + e > i.byteLength) throw new W(I);
var u = i.bytes, s = o + i.byteOffset, c = _(u, s, s + e);
return a ? c : z(c);
}, set = function(t, e, r, n, i, o) {
var a = M(t), u = p(r), s = n(+i), c = !!o;
if (u + e > a.byteLength) throw new W(I);
for (var f = a.bytes, l = u + a.byteOffset, h = 0; h < e; h++) f[l + h] = s[c ? h : e - h - 1];
};
if (a) {
var J = A && P.name !== x;
l((function() {
P(1);
})) && l((function() {
new P(-1);
})) && !l((function() {
return new P, new P(1.5), new P(NaN), 1 !== P.length || J && !j;
})) ? J && j && s(P, "name", x) : ((L = function(t) {
return h(this, B), O(new P(p(t)), this, L);
})[R] = B, B.constructor = L, k(L, P)), w && g(D) !== U && w(D, U);
var K = new V(new L(2)), Z = i(D.setInt8);
K.setInt8(0, 2147483648), K.setInt8(1, 2147483649), !K.getInt8(0) && K.getInt8(1) || f(D, {
setInt8: function(t, e) {
Z(this, t, e << 24 >> 24);
},
setUint8: function(t, e) {
Z(this, t, e << 24 >> 24);
}
}, {
unsafe: !0
});
} else B = (L = function(t) {
h(this, B);
var e = p(t);
N(this, {
type: x,
bytes: H(q(e), 0),
byteLength: e
}), o || (this.byteLength = e, this.detached = !1);
})[R], D = (V = function(t, e, r) {
h(this, D), h(t, B);
var n = C(t), i = n.byteLength, a = d(e);
if (a < 0 || a > i) throw new W("Wrong offset");
if (a + (r = void 0 === r ? i - a : v(r)) > i) throw new W("Wrong length");
N(this, {
type: T,
buffer: t,
byteLength: r,
byteOffset: a,
bytes: n.bytes
}), o || (this.buffer = t, this.byteLength = r, this.byteOffset = a);
})[R], o && (addGetter(L, "byteLength", C), addGetter(V, "buffer", M), addGetter(V, "byteLength", M),
addGetter(V, "byteOffset", M)), f(D, {
getInt8: function(t) {
return get(this, 1, t)[0] << 24 >> 24;
},
getUint8: function(t) {
return get(this, 1, t)[0];
},
getInt16: function(t) {
var e = get(this, 2, t, arguments.length > 1 && arguments[1]);
return (e[1] << 8 | e[0]) << 16 >> 16;
},
getUint16: function(t) {
var e = get(this, 2, t, arguments.length > 1 && arguments[1]);
return e[1] << 8 | e[0];
},
getInt32: function(t) {
return unpackInt32(get(this, 4, t, arguments.length > 1 && arguments[1]));
},
getUint32: function(t) {
return unpackInt32(get(this, 4, t, arguments.length > 1 && arguments[1])) >>> 0;
},
getFloat32: function(t) {
return $(get(this, 4, t, arguments.length > 1 && arguments[1]), 23);
},
getFloat64: function(t) {
return $(get(this, 8, t, arguments.length > 1 && arguments[1]), 52);
},
setInt8: function(t, e) {
set(this, 1, t, packInt8, e);
},
setUint8: function(t, e) {
set(this, 1, t, packInt8, e);
},
setInt16: function(t, e) {
set(this, 2, t, packInt16, e, arguments.length > 2 && arguments[2]);
},
setUint16: function(t, e) {
set(this, 2, t, packInt16, e, arguments.length > 2 && arguments[2]);
},
setInt32: function(t, e) {
set(this, 4, t, packInt32, e, arguments.length > 2 && arguments[2]);
},
setUint32: function(t, e) {
set(this, 4, t, packInt32, e, arguments.length > 2 && arguments[2]);
},
setFloat32: function(t, e) {
set(this, 4, t, packFloat32, e, arguments.length > 2 && arguments[2]);
},
setFloat64: function(t, e) {
set(this, 8, t, packFloat64, e, arguments.length > 2 && arguments[2]);
}
});
S(L, x), S(V, T), t.exports = {
ArrayBuffer: L,
DataView: V
};
},
6395: t => {
"use strict";
t.exports = !1;
},
6434: (t, e, r) => {
"use strict";
var n = e, i = r(2551);
n[".google.protobuf.Any"] = {
fromObject: function(t) {
if (t && t["@type"]) {
var e = t["@type"].substring(t["@type"].lastIndexOf("/") + 1), r = this.lookup(e);
if (r) {
var n = "." === t["@type"].charAt(0) ? t["@type"].slice(1) : t["@type"];
return -1 === n.indexOf("/") && (n = "/" + n), this.create({
type_url: n,
value: r.encode(r.fromObject(t)).finish()
});
}
}
return this.fromObject(t);
},
toObject: function(t, e) {
var r = "", n = "";
if (e && e.json && t.type_url && t.value) {
n = t.type_url.substring(t.type_url.lastIndexOf("/") + 1), r = t.type_url.substring(0, t.type_url.lastIndexOf("/") + 1);
var o = this.lookup(n);
o && (t = o.decode(t.value));
}
if (!(t instanceof this.ctor) && t instanceof i) {
var a = t.$type.toObject(t, e);
return "" === r && (r = "type.googleapis.com/"), n = r + ("." === t.$type.fullName[0] ? t.$type.fullName.slice(1) : t.$type.fullName),
a["@type"] = n, a;
}
return this.toObject(t, e);
}
};
},
6449: (t, e, r) => {
"use strict";
var n = r(6518), i = r(259), o = r(8981), a = r(6198), u = r(1291), s = r(1469);
n({
target: "Array",
proto: !0
}, {
flat: function() {
var t = arguments.length ? arguments[0] : void 0, e = o(this), r = a(e), n = s(e, 0);
return n.length = i(n, e, e, r, 0, void 0 === t ? 1 : u(t)), n;
}
});
},
6468: (t, e, r) => {
"use strict";
var n = r(6518), i = r(4576), o = r(9504), a = r(2796), u = r(6840), s = r(3451), c = r(2652), f = r(679), l = r(4901), h = r(4117), d = r(34), v = r(9039), p = r(4428), b = r(687), y = r(3167);
t.exports = function(t, e, r) {
var g = -1 !== t.indexOf("Map"), w = -1 !== t.indexOf("Weak"), m = g ? "set" : "add", _ = i[t], O = _ && _.prototype, k = _, S = {}, fixMethod = function(t) {
var e = o(O[t]);
u(O, t, "add" === t ? function(t) {
return e(this, 0 === t ? 0 : t), this;
} : "delete" === t ? function(t) {
return !(w && !d(t)) && e(this, 0 === t ? 0 : t);
} : "get" === t ? function(t) {
return w && !d(t) ? void 0 : e(this, 0 === t ? 0 : t);
} : "has" === t ? function(t) {
return !(w && !d(t)) && e(this, 0 === t ? 0 : t);
} : function(t, r) {
return e(this, 0 === t ? 0 : t, r), this;
});
};
if (a(t, !l(_) || !(w || O.forEach && !v((function() {
(new _).entries().next();
}))))) k = r.getConstructor(e, t, g, m), s.enable(); else if (a(t, !0)) {
var E = new k, A = E[m](w ? {} : -0, 1) !== E, j = v((function() {
E.has(1);
})), x = p((function(t) {
new _(t);
})), T = !w && v((function() {
for (var t = new _, e = 5; e--; ) t[m](e, e);
return !t.has(-0);
}));
x || ((k = e((function(t, e) {
f(t, O);
var r = y(new _, t, k);
return h(e) || c(e, r[m], {
that: r,
AS_ENTRIES: g
}), r;
}))).prototype = O, O.constructor = k), (j || T) && (fixMethod("delete"), fixMethod("has"),
g && fixMethod("get")), (T || A) && fixMethod(m), w && O.clear && delete O.clear;
}
return S[t] = k, n({
global: !0,
constructor: !0,
forced: k !== _
}, S), b(k, t), w || r.setStrong(k, t, g), k;
};
},
6469: (t, e, r) => {
"use strict";
var n = r(8227), i = r(2360), o = r(4913).f, a = n("unscopables"), u = Array.prototype;
void 0 === u[a] && o(u, a, {
configurable: !0,
value: i(null)
}), t.exports = function(t) {
u[a][t] = !0;
};
},
6499: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9565), o = r(9306), a = r(6043), u = r(1103), s = r(2652);
n({
target: "Promise",
stat: !0,
forced: r(537)
}, {
all: function(t) {
var e = this, r = a.f(e), n = r.resolve, c = r.reject, f = u((function() {
var r = o(e.resolve), a = [], u = 0, f = 1;
s(t, (function(t) {
var o = u++, s = !1;
f++, i(r, e, t).then((function(t) {
s || (s = !0, a[o] = t, --f || n(a));
}), c);
})), --f || n(a);
}));
return f.error && c(f.value), r.promise;
}
});
},
6518: (t, e, r) => {
"use strict";
var n = r(4576), i = r(7347).f, o = r(6699), a = r(6840), u = r(9433), s = r(7740), c = r(2796);
t.exports = function(t, e) {
var r, f, l, h, d, v = t.target, p = t.global, b = t.stat;
if (r = p ? n : b ? n[v] || u(v, {}) : n[v] && n[v].prototype) for (f in e) {
if (h = e[f], l = t.dontCallGetSet ? (d = i(r, f)) && d.value : r[f], !c(p ? f : v + (b ? "." : "#") + f, t.forced) && void 0 !== l) {
if (typeof h == typeof l) continue;
s(h, l);
}
(t.sham || l && l.sham) && o(h, "sham", !0), a(r, f, h, t);
}
};
},
6575: (t, e, r) => {
"use strict";
var n = r(9297);
t.exports = function(t) {
return void 0 !== t && (n(t, "value") || n(t, "writable"));
};
},
6614: (t, e, r) => {
"use strict";
var n = r(4644), i = r(8014), o = r(5610), a = n.aTypedArray, u = n.getTypedArrayConstructor;
(0, n.exportTypedArrayMethod)("subarray", (function(t, e) {
var r = a(this), n = r.length, s = o(t, n);
return new (u(r))(r.buffer, r.byteOffset + s * r.BYTES_PER_ELEMENT, i((void 0 === e ? n : o(e, n)) - s));
}));
},
6651: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9617).indexOf, o = n.aTypedArray;
(0, n.exportTypedArrayMethod)("indexOf", (function(t) {
return i(o(this), t, arguments.length > 1 ? arguments[1] : void 0);
}));
},
6682: (t, e, r) => {
"use strict";
var n = r(9565), i = r(8551), o = r(4901), a = r(2195), u = r(7323), s = TypeError;
t.exports = function(t, e) {
var r = t.exec;
if (o(r)) {
var c = n(r, t, e);
return null !== c && i(c), c;
}
if ("RegExp" === a(t)) return n(u, t, e);
throw new s("RegExp#exec called on incompatible receiver");
};
},
6699: (t, e, r) => {
"use strict";
var n = r(3724), i = r(4913), o = r(6980);
t.exports = n ? function(t, e, r) {
return i.f(t, e, o(1, r));
} : function(t, e, r) {
return t[e] = r, t;
};
},
6706: (t, e, r) => {
"use strict";
var n = r(9504), i = r(9306);
t.exports = function(t, e, r) {
try {
return n(i(Object.getOwnPropertyDescriptor(t, e)[r]));
} catch (t) {}
};
},
6761: (t, e, r) => {
"use strict";
var n = r(6518), i = r(4576), o = r(9565), a = r(9504), u = r(6395), s = r(3724), c = r(4495), f = r(9039), l = r(9297), h = r(1625), d = r(8551), v = r(5397), p = r(6969), b = r(655), y = r(6980), g = r(2360), w = r(1072), m = r(8480), _ = r(298), O = r(3717), k = r(7347), S = r(4913), E = r(6801), A = r(8773), j = r(6840), x = r(2106), T = r(5745), R = r(6119), I = r(421), C = r(3392), M = r(8227), N = r(1951), P = r(511), L = r(8242), B = r(687), V = r(1181), D = r(9213).forEach, U = R("hidden"), q = "Symbol", W = "prototype", H = V.set, z = V.getterFor(q), G = Object[W], $ = i.Symbol, J = $ && $[W], K = i.RangeError, Z = i.TypeError, Y = i.QObject, X = k.f, Q = S.f, tt = _.f, et = A.f, rt = a([].push), nt = T("symbols"), it = T("op-symbols"), ot = T("wks"), at = !Y || !Y[W] || !Y[W].findChild, fallbackDefineProperty = function(t, e, r) {
var n = X(G, e);
n && delete G[e], Q(t, e, r), n && t !== G && Q(G, e, n);
}, ut = s && f((function() {
return 7 !== g(Q({}, "a", {
get: function() {
return Q(this, "a", {
value: 7
}).a;
}
})).a;
})) ? fallbackDefineProperty : Q, wrap = function(t, e) {
var r = nt[t] = g(J);
return H(r, {
type: q,
tag: t,
description: e
}), s || (r.description = e), r;
}, $defineProperty = function(t, e, r) {
t === G && $defineProperty(it, e, r), d(t);
var n = p(e);
return d(r), l(nt, n) ? (r.enumerable ? (l(t, U) && t[U][n] && (t[U][n] = !1), r = g(r, {
enumerable: y(0, !1)
})) : (l(t, U) || Q(t, U, y(1, g(null))), t[U][n] = !0), ut(t, n, r)) : Q(t, n, r);
}, $defineProperties = function(t, e) {
d(t);
var r = v(e), n = w(r).concat($getOwnPropertySymbols(r));
return D(n, (function(e) {
s && !o($propertyIsEnumerable, r, e) || $defineProperty(t, e, r[e]);
})), t;
}, $propertyIsEnumerable = function(t) {
var e = p(t), r = o(et, this, e);
return !(this === G && l(nt, e) && !l(it, e)) && (!(r || !l(this, e) || !l(nt, e) || l(this, U) && this[U][e]) || r);
}, $getOwnPropertyDescriptor = function(t, e) {
var r = v(t), n = p(e);
if (r !== G || !l(nt, n) || l(it, n)) {
var i = X(r, n);
return !i || !l(nt, n) || l(r, U) && r[U][n] || (i.enumerable = !0), i;
}
}, $getOwnPropertyNames = function(t) {
var e = tt(v(t)), r = [];
return D(e, (function(t) {
l(nt, t) || l(I, t) || rt(r, t);
})), r;
}, $getOwnPropertySymbols = function(t) {
var e = t === G, r = tt(e ? it : v(t)), n = [];
return D(r, (function(t) {
!l(nt, t) || e && !l(G, t) || rt(n, nt[t]);
})), n;
};
c || (j(J = ($ = function() {
if (h(J, this)) throw new Z("Symbol is not a constructor");
var t = arguments.length && void 0 !== arguments[0] ? b(arguments[0]) : void 0, e = C(t), setter = function(t) {
var r = void 0 === this ? i : this;
r === G && o(setter, it, t), l(r, U) && l(r[U], e) && (r[U][e] = !1);
var n = y(1, t);
try {
ut(r, e, n);
} catch (t) {
if (!(t instanceof K)) throw t;
fallbackDefineProperty(r, e, n);
}
};
return s && at && ut(G, e, {
configurable: !0,
set: setter
}), wrap(e, t);
})[W], "toString", (function() {
return z(this).tag;
})), j($, "withoutSetter", (function(t) {
return wrap(C(t), t);
})), A.f = $propertyIsEnumerable, S.f = $defineProperty, E.f = $defineProperties,
k.f = $getOwnPropertyDescriptor, m.f = _.f = $getOwnPropertyNames, O.f = $getOwnPropertySymbols,
N.f = function(t) {
return wrap(M(t), t);
}, s && (x(J, "description", {
configurable: !0,
get: function() {
return z(this).description;
}
}), u || j(G, "propertyIsEnumerable", $propertyIsEnumerable, {
unsafe: !0
}))), n({
global: !0,
constructor: !0,
wrap: !0,
forced: !c,
sham: !c
}, {
Symbol: $
}), D(w(ot), (function(t) {
P(t);
})), n({
target: q,
stat: !0,
forced: !c
}, {
useSetter: function() {
at = !0;
},
useSimple: function() {
at = !1;
}
}), n({
target: "Object",
stat: !0,
forced: !c,
sham: !s
}, {
create: function(t, e) {
return void 0 === e ? g(t) : $defineProperties(g(t), e);
},
defineProperty: $defineProperty,
defineProperties: $defineProperties,
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
}), n({
target: "Object",
stat: !0,
forced: !c
}, {
getOwnPropertyNames: $getOwnPropertyNames
}), L(), B($, q), I[U] = !0;
},
6801: (t, e, r) => {
"use strict";
var n = r(3724), i = r(8686), o = r(4913), a = r(8551), u = r(5397), s = r(1072);
e.f = n && !i ? Object.defineProperties : function(t, e) {
a(t);
for (var r, n = u(e), i = s(e), c = i.length, f = 0; c > f; ) o.f(t, r = i[f++], n[r]);
return t;
};
},
6812: (t, e, r) => {
"use strict";
var n = r(4644), i = r(8745), o = r(8379), a = n.aTypedArray;
(0, n.exportTypedArrayMethod)("lastIndexOf", (function(t) {
var e = arguments.length;
return i(o, a(this), e > 1 ? [ t, arguments[1] ] : [ t ]);
}));
},
6823: t => {
"use strict";
var e = String;
t.exports = function(t) {
try {
return e(t);
} catch (t) {
return "Object";
}
};
},
6837: t => {
"use strict";
var e = TypeError;
t.exports = function(t) {
if (t > 9007199254740991) throw e("Maximum allowed index exceeded");
return t;
};
},
6840: (t, e, r) => {
"use strict";
var n = r(4901), i = r(4913), o = r(283), a = r(9433);
t.exports = function(t, e, r, u) {
u || (u = {});
var s = u.enumerable, c = void 0 !== u.name ? u.name : e;
if (n(r) && o(r, c, u), u.global) s ? t[e] = r : a(e, r); else {
try {
u.unsafe ? t[e] && (s = !0) : delete t[e];
} catch (t) {}
s ? t[e] = r : i.f(t, e, {
value: r,
enumerable: !1,
configurable: !u.nonConfigurable,
writable: !u.nonWritable
});
}
return t;
};
},
6910: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9504), o = r(9306), a = r(8981), u = r(6198), s = r(4606), c = r(655), f = r(9039), l = r(4488), h = r(4598), d = r(3709), v = r(3763), p = r(9519), b = r(3607), y = [], g = i(y.sort), w = i(y.push), m = f((function() {
y.sort(void 0);
})), _ = f((function() {
y.sort(null);
})), O = h("sort"), k = !f((function() {
if (p) return p < 70;
if (!(d && d > 3)) {
if (v) return !0;
if (b) return b < 603;
var t, e, r, n, i = "";
for (t = 65; t < 76; t++) {
switch (e = String.fromCharCode(t), t) {
case 66:
case 69:
case 70:
case 72:
r = 3;
break;
case 68:
case 71:
r = 4;
break;
default:
r = 2;
}
for (n = 0; n < 47; n++) y.push({
k: e + n,
v: r
});
}
for (y.sort((function(t, e) {
return e.v - t.v;
})), n = 0; n < y.length; n++) e = y[n].k.charAt(0), i.charAt(i.length - 1) !== e && (i += e);
return "DGBEFHACIJK" !== i;
}
}));
n({
target: "Array",
proto: !0,
forced: m || !_ || !O || !k
}, {
sort: function(t) {
void 0 !== t && o(t);
var e = a(this);
if (k) return void 0 === t ? g(e) : g(e, t);
var r, n, i = [], f = u(e);
for (n = 0; n < f; n++) n in e && w(i, e[n]);
for (l(i, function(t) {
return function(e, r) {
return void 0 === r ? -1 : void 0 === e ? 1 : void 0 !== t ? +t(e, r) || 0 : c(e) > c(r) ? 1 : -1;
};
}(t)), r = u(i), n = 0; n < r; ) e[n] = i[n++];
for (;n < f; ) s(e, n++);
return e;
}
});
},
6933: (t, e, r) => {
"use strict";
var n = r(9504), i = r(4376), o = r(4901), a = r(2195), u = r(655), s = n([].push);
t.exports = function(t) {
if (o(t)) return t;
if (i(t)) {
for (var e = t.length, r = [], n = 0; n < e; n++) {
var c = t[n];
"string" == typeof c ? s(r, c) : "number" != typeof c && "Number" !== a(c) && "String" !== a(c) || s(r, u(c));
}
var f = r.length, l = !0;
return function(t, e) {
if (l) return l = !1, e;
if (i(this)) return e;
for (var n = 0; n < f; n++) if (r[n] === t) return e;
};
}
};
},
6938: (t, e, r) => {
"use strict";
var n = r(2360), i = r(2106), o = r(6279), a = r(6080), u = r(679), s = r(4117), c = r(2652), f = r(1088), l = r(2529), h = r(7633), d = r(3724), v = r(3451).fastKey, p = r(1181), b = p.set, y = p.getterFor;
t.exports = {
getConstructor: function(t, e, r, f) {
var l = t((function(t, i) {
u(t, h), b(t, {
type: e,
index: n(null),
first: null,
last: null,
size: 0
}), d || (t.size = 0), s(i) || c(i, t[f], {
that: t,
AS_ENTRIES: r
});
})), h = l.prototype, p = y(e), define = function(t, e, r) {
var n, i, o = p(t), a = getEntry(t, e);
return a ? a.value = r : (o.last = a = {
index: i = v(e, !0),
key: e,
value: r,
previous: n = o.last,
next: null,
removed: !1
}, o.first || (o.first = a), n && (n.next = a), d ? o.size++ : t.size++, "F" !== i && (o.index[i] = a)),
t;
}, getEntry = function(t, e) {
var r, n = p(t), i = v(e);
if ("F" !== i) return n.index[i];
for (r = n.first; r; r = r.next) if (r.key === e) return r;
};
return o(h, {
clear: function() {
for (var t = p(this), e = t.first; e; ) e.removed = !0, e.previous && (e.previous = e.previous.next = null),
e = e.next;
t.first = t.last = null, t.index = n(null), d ? t.size = 0 : this.size = 0;
},
"delete": function(t) {
var e = this, r = p(e), n = getEntry(e, t);
if (n) {
var i = n.next, o = n.previous;
delete r.index[n.index], n.removed = !0, o && (o.next = i), i && (i.previous = o),
r.first === n && (r.first = i), r.last === n && (r.last = o), d ? r.size-- : e.size--;
}
return !!n;
},
forEach: function(t) {
for (var e, r = p(this), n = a(t, arguments.length > 1 ? arguments[1] : void 0); e = e ? e.next : r.first; ) for (n(e.value, e.key, this); e && e.removed; ) e = e.previous;
},
has: function(t) {
return !!getEntry(this, t);
}
}), o(h, r ? {
get: function(t) {
var e = getEntry(this, t);
return e && e.value;
},
set: function(t, e) {
return define(this, 0 === t ? 0 : t, e);
}
} : {
add: function(t) {
return define(this, t = 0 === t ? 0 : t, t);
}
}), d && i(h, "size", {
configurable: !0,
get: function() {
return p(this).size;
}
}), l;
},
setStrong: function(t, e, r) {
var n = e + " Iterator", i = y(e), o = y(n);
f(t, e, (function(t, e) {
b(this, {
type: n,
target: t,
state: i(t),
kind: e,
last: null
});
}), (function() {
for (var t = o(this), e = t.kind, r = t.last; r && r.removed; ) r = r.previous;
return t.target && (t.last = r = r ? r.next : t.state.first) ? l("keys" === e ? r.key : "values" === e ? r.value : [ r.key, r.value ], !1) : (t.target = null,
l(void 0, !0));
}), r ? "entries" : "values", !r, !0), h(e);
}
};
},
6955: (t, e, r) => {
"use strict";
var n = r(2140), i = r(4901), o = r(2195), a = r(8227)("toStringTag"), u = Object, s = "Arguments" === o(function() {
return arguments;
}());
t.exports = n ? o : function(t) {
var e, r, n;
return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (r = function(t, e) {
try {
return t[e];
} catch (t) {}
}(e = u(t), a)) ? r : s ? o(e) : "Object" === (n = o(e)) && i(e.callee) ? "Arguments" : n;
};
},
6969: (t, e, r) => {
"use strict";
var n = r(2777), i = r(757);
t.exports = function(t) {
var e = n(t, "string");
return i(e) ? e : e + "";
};
},
6980: t => {
"use strict";
t.exports = function(t, e) {
return {
enumerable: !(1 & t),
configurable: !(2 & t),
writable: !(4 & t),
value: e
};
};
},
7029: (t, e, r) => {
"use strict";
var n = r(8981), i = r(5610), o = r(6198), a = r(4606), u = Math.min;
t.exports = [].copyWithin || function(t, e) {
var r = n(this), s = o(r), c = i(t, s), f = i(e, s), l = arguments.length > 2 ? arguments[2] : void 0, h = u((void 0 === l ? s : i(l, s)) - f, s - c), d = 1;
for (f < c && c < f + h && (d = -1, f += h - 1, c += h - 1); h-- > 0; ) f in r ? r[c] = r[f] : a(r, c),
c += d, f += d;
return r;
};
},
7040: (t, e, r) => {
"use strict";
var n = r(4495);
t.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator;
},
7055: (t, e, r) => {
"use strict";
var n = r(9504), i = r(9039), o = r(2195), a = Object, u = n("".split);
t.exports = i((function() {
return !a("z").propertyIsEnumerable(0);
})) ? function(t) {
return "String" === o(t) ? u(t, "") : a(t);
} : a;
},
7208: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9565);
n({
target: "URL",
proto: !0,
enumerable: !0
}, {
toJSON: function() {
return i(URL.prototype.toString, this);
}
});
},
7209: (t, e, r) => {
"use strict";
t.exports = ReflectionObject, ReflectionObject.className = "ReflectionObject";
var n, i = r(3262);
function ReflectionObject(t, e) {
if (!i.isString(t)) throw TypeError("name must be a string");
if (e && !i.isObject(e)) throw TypeError("options must be an object");
this.options = e, this.parsedOptions = null, this.name = t, this.parent = null,
this.resolved = !1, this.comment = null, this.filename = null;
}
Object.defineProperties(ReflectionObject.prototype, {
root: {
get: function() {
for (var t = this; null !== t.parent; ) t = t.parent;
return t;
}
},
fullName: {
get: function() {
for (var t = [ this.name ], e = this.parent; e; ) t.unshift(e.name), e = e.parent;
return t.join(".");
}
}
}), ReflectionObject.prototype.toJSON = function() {
throw Error();
}, ReflectionObject.prototype.onAdd = function(t) {
this.parent && this.parent !== t && this.parent.remove(this), this.parent = t, this.resolved = !1;
var e = t.root;
e instanceof n && e._handleAdd(this);
}, ReflectionObject.prototype.onRemove = function(t) {
var e = t.root;
e instanceof n && e._handleRemove(this), this.parent = null, this.resolved = !1;
}, ReflectionObject.prototype.resolve = function() {
return this.resolved || this.root instanceof n && (this.resolved = !0), this;
}, ReflectionObject.prototype.getOption = function(t) {
if (this.options) return this.options[t];
}, ReflectionObject.prototype.setOption = function(t, e, r) {
return r && this.options && void 0 !== this.options[t] || ((this.options || (this.options = {}))[t] = e),
this;
}, ReflectionObject.prototype.setParsedOption = function(t, e, r) {
this.parsedOptions || (this.parsedOptions = []);
var n = this.parsedOptions;
if (r) {
var o = n.find((function(e) {
return Object.prototype.hasOwnProperty.call(e, t);
}));
if (o) {
var a = o[t];
i.setProperty(a, r, e);
} else (o = {})[t] = i.setProperty({}, r, e), n.push(o);
} else {
var u = {};
u[t] = e, n.push(u);
}
return this;
}, ReflectionObject.prototype.setOptions = function(t, e) {
if (t) for (var r = Object.keys(t), n = 0; n < r.length; ++n) this.setOption(r[n], t[r[n]], e);
return this;
}, ReflectionObject.prototype.toString = function() {
var t = this.constructor.className, e = this.fullName;
return e.length ? t + " " + e : t;
}, ReflectionObject._configure = function(t) {
n = t;
};
},
7301: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9213).some, o = n.aTypedArray;
(0, n.exportTypedArrayMethod)("some", (function(t) {
return i(o(this), t, arguments.length > 1 ? arguments[1] : void 0);
}));
},
7323: (t, e, r) => {
"use strict";
var n, i, o = r(9565), a = r(9504), u = r(655), s = r(7979), c = r(8429), f = r(5745), l = r(2360), h = r(1181).get, d = r(3635), v = r(8814), p = f("native-string-replace", String.prototype.replace), b = RegExp.prototype.exec, y = b, g = a("".charAt), w = a("".indexOf), m = a("".replace), _ = a("".slice), O = (i = /b*/g,
o(b, n = /a/, "a"), o(b, i, "a"), 0 !== n.lastIndex || 0 !== i.lastIndex), k = c.BROKEN_CARET, S = void 0 !== /()??/.exec("")[1];
(O || S || k || d || v) && (y = function(t) {
var e, r, n, i, a, c, f, d = this, v = h(d), E = u(t), A = v.raw;
if (A) return A.lastIndex = d.lastIndex, e = o(y, A, E), d.lastIndex = A.lastIndex,
e;
var j = v.groups, x = k && d.sticky, T = o(s, d), R = d.source, I = 0, C = E;
if (x && (T = m(T, "y", ""), -1 === w(T, "g") && (T += "g"), C = _(E, d.lastIndex),
d.lastIndex > 0 && (!d.multiline || d.multiline && "\n" !== g(E, d.lastIndex - 1)) && (R = "(?: " + R + ")",
C = " " + C, I++), r = new RegExp("^(?:" + R + ")", T)), S && (r = new RegExp("^" + R + "$(?!\\s)", T)),
O && (n = d.lastIndex), i = o(b, x ? r : d, C), x ? i ? (i.input = _(i.input, I),
i[0] = _(i[0], I), i.index = d.lastIndex, d.lastIndex += i[0].length) : d.lastIndex = 0 : O && i && (d.lastIndex = d.global ? i.index + i[0].length : n),
S && i && i.length > 1 && o(p, i[0], r, (function() {
for (a = 1; a < arguments.length - 2; a++) void 0 === arguments[a] && (i[a] = void 0);
})), i && j) for (i.groups = c = l(null), a = 0; a < j.length; a++) c[(f = j[a])[0]] = i[f[1]];
return i;
}), t.exports = y;
},
7337: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9504), o = r(5610), a = RangeError, u = String.fromCharCode, s = String.fromCodePoint, c = i([].join);
n({
target: "String",
stat: !0,
arity: 1,
forced: !!s && 1 !== s.length
}, {
fromCodePoint: function(t) {
for (var e, r = [], n = arguments.length, i = 0; n > i; ) {
if (e = +arguments[i++], o(e, 1114111) !== e) throw new a(e + " is not a valid code point");
r[i] = e < 65536 ? u(e) : u(55296 + ((e -= 65536) >> 10), e % 1024 + 56320);
}
return c(r, "");
}
});
},
7347: (t, e, r) => {
"use strict";
var n = r(3724), i = r(9565), o = r(8773), a = r(6980), u = r(5397), s = r(6969), c = r(9297), f = r(5917), l = Object.getOwnPropertyDescriptor;
e.f = n ? l : function(t, e) {
if (t = u(t), e = s(e), f) try {
return l(t, e);
} catch (t) {}
if (c(t, e)) return a(!i(o.f, t, e), t[e]);
};
},
7400: t => {
"use strict";
t.exports = {
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
};
},
7416: (t, e, r) => {
"use strict";
var n = r(9039), i = r(8227), o = r(3724), a = r(6395), u = i("iterator");
t.exports = !n((function() {
var t = new URL("b?a=1&b=2&c=3", "https://a"), e = t.searchParams, r = new URLSearchParams("a=1&a=2&b=3"), n = "";
return t.pathname = "c%20d", e.forEach((function(t, r) {
e.delete("b"), n += r + t;
})), r.delete("a", 2), r.delete("b", void 0), a && (!t.toJSON || !r.has("a", 1) || r.has("a", 2) || !r.has("a", void 0) || r.has("b")) || !e.size && (a || !o) || !e.sort || "https://a/c%20d?a=1&c=3" !== t.href || "3" !== e.get("c") || "a=1" !== String(new URLSearchParams("?a=1")) || !e[u] || "a" !== new URL("https://a@b").username || "b" !== new URLSearchParams(new URLSearchParams("a=b")).get("a") || "xn--e1aybc" !== new URL("https://тест").host || "#%D0%B1" !== new URL("https://a#б").hash || "a1c3" !== n || "x" !== new URL("https://x", void 0).host;
}));
},
7433: (t, e, r) => {
"use strict";
var n = r(4376), i = r(3517), o = r(34), a = r(8227)("species"), u = Array;
t.exports = function(t) {
var e;
return n(t) && (e = t.constructor, (i(e) && (e === u || n(e.prototype)) || o(e) && null === (e = e[a])) && (e = void 0)),
void 0 === e ? u : e;
};
},
7452: t => {
"use strict";
t.exports = "\t\n\v\f\r \u2028\u2029\ufeff";
},
7476: (t, e, r) => {
"use strict";
var n = r(2195), i = r(9504);
t.exports = function(t) {
if ("Function" === n(t)) return i(t);
};
},
7495: (t, e, r) => {
"use strict";
var n = r(6518), i = r(7323);
n({
target: "RegExp",
proto: !0,
forced: /./.exec !== i
}, {
exec: i
});
},
7595: (t, e, r) => {
"use strict";
t.exports = Service;
var n = r(3610);
function Service(t, e, r) {
if ("function" != typeof t) throw TypeError("rpcImpl must be a function");
n.EventEmitter.call(this), this.rpcImpl = t, this.requestDelimited = Boolean(e),
this.responseDelimited = Boolean(r);
}
(Service.prototype = Object.create(n.EventEmitter.prototype)).constructor = Service,
Service.prototype.rpcCall = function rpcCall(t, e, r, i, o) {
if (!i) throw TypeError("request must be specified");
var a = this;
if (!o) return n.asPromise(rpcCall, a, t, e, r, i);
if (a.rpcImpl) try {
return a.rpcImpl(t, e[a.requestDelimited ? "encodeDelimited" : "encode"](i).finish(), (function(e, n) {
if (e) return a.emit("error", e, t), o(e);
if (null !== n) {
if (!(n instanceof r)) try {
n = r[a.responseDelimited ? "decodeDelimited" : "decode"](n);
} catch (e) {
return a.emit("error", e, t), o(e);
}
return a.emit("data", n, t), o(null, n);
}
a.end(!0);
}));
} catch (e) {
return a.emit("error", e, t), void setTimeout((function() {
o(e);
}), 0);
} else setTimeout((function() {
o(Error("already ended"));
}), 0);
}, Service.prototype.end = function(t) {
return this.rpcImpl && (t || this.rpcImpl(null, null, null), this.rpcImpl = null,
this.emit("end").off()), this;
};
},
7605: (t, e, r) => {
"use strict";
r.r(e), r.d(e, {
Point: () => y,
compute_path: () => compute_path,
"default": () => g,
initSync: () => initSync,
run_on_init: () => run_on_init
});
var n = r(467), i = r(816);
function _defineProperties(t, e) {
for (var r = 0; r < e.length; r++) {
var n = e[r];
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0),
Object.defineProperty(t, (0, i.A)(n.key), n);
}
}
var o, a = r(2284), u = r(4756), s = (r(2675), r(9463), r(2259), r(8706), r(3771),
r(3792), r(4782), r(4743), r(1745), r(739), r(2010), r(875), r(6099), r(3362), r(888),
r(7495), r(7764), r(1489), r(1630), r(2170), r(5044), r(1920), r(1694), r(9955),
r(3206), r(4496), r(6651), r(2887), r(9369), r(6812), r(8995), r(1575), r(6072),
r(8747), r(8845), r(9423), r(7301), r(373), r(6614), r(1405), r(3684), r(2953),
r(3296), r(7208), r(8408), new Array(128).fill(void 0));
function getObject(t) {
return s[t];
}
s.push(void 0, null, !0, !1);
var c = 0, f = null;
function getUint8ArrayMemory0() {
return null !== f && 0 !== f.byteLength || (f = new Uint8Array(o.memory.buffer)),
f;
}
var l = "undefined" != typeof TextEncoder ? new TextEncoder("utf-8") : {
encode: function() {
throw Error("TextEncoder not available");
}
}, h = "function" == typeof l.encodeInto ? function(t, e) {
return l.encodeInto(t, e);
} : function(t, e) {
var r = l.encode(t);
return e.set(r), {
read: t.length,
written: r.length
};
};
function passStringToWasm0(t, e, r) {
if (void 0 === r) {
var n = l.encode(t), i = e(n.length, 1) >>> 0;
return getUint8ArrayMemory0().subarray(i, i + n.length).set(n), c = n.length, i;
}
for (var o = t.length, a = e(o, 1) >>> 0, u = getUint8ArrayMemory0(), s = 0; s < o; s++) {
var f = t.charCodeAt(s);
if (f > 127) break;
u[a + s] = f;
}
if (s !== o) {
0 !== s && (t = t.slice(s)), a = r(a, o, o = s + 3 * t.length, 1) >>> 0;
var d = getUint8ArrayMemory0().subarray(a + s, a + o);
a = r(a, o, s += h(t, d).written, 1) >>> 0;
}
return c = s, a;
}
var d = null;
function getDataViewMemory0() {
return (null === d || !0 === d.buffer.detached || void 0 === d.buffer.detached && d.buffer !== o.memory.buffer) && (d = new DataView(o.memory.buffer)),
d;
}
var v = s.length;
function addHeapObject(t) {
v === s.length && s.push(s.length + 1);
var e = v;
return v = s[e], s[e] = t, e;
}
function handleError(t, e) {
try {
return t.apply(this, e);
} catch (t) {
o.__wbindgen_export_2(addHeapObject(t));
}
}
var p = "undefined" != typeof TextDecoder ? new TextDecoder("utf-8", {
ignoreBOM: !0,
fatal: !0
}) : {
decode: function() {
throw Error("TextDecoder not available");
}
};
function getStringFromWasm0(t, e) {
return t >>>= 0, p.decode(getUint8ArrayMemory0().subarray(t, t + e));
}
function takeObject(t) {
var e = getObject(t);
return function(t) {
t < 132 || (s[t] = v, v = t);
}(t), e;
}
function debugString(t) {
var e = (0, a.A)(t);
if ("number" == e || "boolean" == e || null == t) return "".concat(t);
if ("string" == e) return '"'.concat(t, '"');
if ("symbol" == e) {
var r = t.description;
return null == r ? "Symbol" : "Symbol(".concat(r, ")");
}
if ("function" == e) {
var n = t.name;
return "string" == typeof n && n.length > 0 ? "Function(".concat(n, ")") : "Function";
}
if (Array.isArray(t)) {
var i = t.length, o = "[";
i > 0 && (o += debugString(t[0]));
for (var u = 1; u < i; u++) o += ", " + debugString(t[u]);
return o + "]";
}
var s, c = /\[object ([^\]]+)\]/.exec(toString.call(t));
if (!(c && c.length > 1)) return toString.call(t);
if ("Object" == (s = c[1])) try {
return "Object(" + JSON.stringify(t) + ")";
} catch (t) {
return "Object";
}
return t instanceof Error ? "".concat(t.name, ": ").concat(t.message, "\n").concat(t.stack) : s;
}
function isLikeNone(t) {
return null == t;
}
function run_on_init() {
o.run_on_init();
}
function compute_path(t, e, r, n, i, a, u, s) {
try {
var c = o.__wbindgen_add_to_stack_pointer(-16);
o.compute_path(c, t, e, r, n, addHeapObject(i), a, u, s);
var f = getDataViewMemory0().getInt32(c + 0, !0), l = getDataViewMemory0().getInt32(c + 4, !0);
if (getDataViewMemory0().getInt32(c + 8, !0)) throw takeObject(l);
return takeObject(f);
} finally {
o.__wbindgen_add_to_stack_pointer(16);
}
}
"undefined" != typeof TextDecoder && p.decode();
var b = "undefined" == typeof FinalizationRegistry ? {
register: function() {},
unregister: function() {}
} : new FinalizationRegistry((function(t) {
return o.__wbg_point_free(t >>> 0, 1);
})), y = function() {
return t = function Point() {
!function(t, e) {
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}(this, Point);
}, (e = [ {
key: "__destroy_into_raw",
value: function() {
var t = this.__wbg_ptr;
return this.__wbg_ptr = 0, b.unregister(this), t;
}
}, {
key: "free",
value: function() {
var t = this.__destroy_into_raw();
o.__wbg_point_free(t, 0);
}
}, {
key: "x",
get: function() {
return o.__wbg_get_point_x(this.__wbg_ptr);
},
set: function(t) {
o.__wbg_set_point_x(this.__wbg_ptr, t);
}
}, {
key: "y",
get: function() {
return o.__wbg_get_point_y(this.__wbg_ptr);
},
set: function(t) {
o.__wbg_set_point_y(this.__wbg_ptr, t);
}
} ]) && _defineProperties(t.prototype, e), Object.defineProperty(t, "prototype", {
writable: !1
}), t;
var t, e;
}();
function __wbg_load(t, e) {
return _wbg_load.apply(this, arguments);
}
function _wbg_load() {
return (_wbg_load = (0, n.A)(u.mark((function _callee(t, e) {
var r, n;
return u.wrap((function(i) {
for (;;) switch (i.prev = i.next) {
case 0:
if (!("function" == typeof Response && t instanceof Response)) {
i.next = 23;
break;
}
if ("function" != typeof WebAssembly.instantiateStreaming) {
i.next = 15;
break;
}
return i.prev = 2, i.next = 5, WebAssembly.instantiateStreaming(t, e);
case 5:
case 20:
return i.abrupt("return", i.sent);
case 8:
if (i.prev = 8, i.t0 = i.catch(2), "application/wasm" == t.headers.get("Content-Type")) {
i.next = 14;
break;
}
i.next = 15;
break;
case 14:
throw i.t0;
case 15:
return i.next = 17, t.arrayBuffer();
case 17:
return r = i.sent, i.next = 20, WebAssembly.instantiate(r, e);
case 23:
return i.next = 25, WebAssembly.instantiate(t, e);
case 25:
if (!((n = i.sent) instanceof WebAssembly.Instance)) {
i.next = 30;
break;
}
return i.abrupt("return", {
instance: n,
module: t
});
case 30:
return i.abrupt("return", n);
case 31:
case "end":
return i.stop();
}
}), _callee, null, [ [ 2, 8 ] ]);
})))).apply(this, arguments);
}
function __wbg_get_imports() {
var t = {
wbg: {}
};
return t.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(t, e) {
var r = passStringToWasm0(String(getObject(e)), o.__wbindgen_export_0, o.__wbindgen_export_1), n = c;
getDataViewMemory0().setInt32(t + 4, n, !0), getDataViewMemory0().setInt32(t + 0, r, !0);
}, t.wbg.__wbg_buffer_609cc3eee51ed158 = function(t) {
return addHeapObject(getObject(t).buffer);
}, t.wbg.__wbg_call_672a4d21634d4a24 = function() {
return handleError((function(t, e) {
return addHeapObject(getObject(t).call(getObject(e)));
}), arguments);
}, t.wbg.__wbg_done_769e5ede4b31c67b = function(t) {
return getObject(t).done;
}, t.wbg.__wbg_error_7534b8e9a36f1ab4 = function(t, e) {
var r, n;
try {
r = t, n = e;
} finally {
o.__wbindgen_export_3(r, n, 1);
}
}, t.wbg.__wbg_get_67b2ba62fc30de12 = function() {
return handleError((function(t, e) {
return addHeapObject(Reflect.get(getObject(t), getObject(e)));
}), arguments);
}, t.wbg.__wbg_get_b9b93047fe3cf45b = function(t, e) {
return addHeapObject(getObject(t)[e >>> 0]);
}, t.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(t, e) {
return addHeapObject(getObject(t)[getObject(e)]);
}, t.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(t) {
var e;
try {
e = getObject(t) instanceof ArrayBuffer;
} catch (t) {
e = !1;
}
return e;
}, t.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(t) {
var e;
try {
e = getObject(t) instanceof Uint8Array;
} catch (t) {
e = !1;
}
return e;
}, t.wbg.__wbg_isArray_a1eab7e0d067391b = function(t) {
return Array.isArray(getObject(t));
}, t.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
return addHeapObject(Symbol.iterator);
}, t.wbg.__wbg_length_a446193dc22c12f8 = function(t) {
return getObject(t).length;
}, t.wbg.__wbg_length_e2d2a49132c1b256 = function(t) {
return getObject(t).length;
}, t.wbg.__wbg_new_405e22f390576ce2 = function() {
return addHeapObject(new Object);
}, t.wbg.__wbg_new_78feb108b6472713 = function() {
return addHeapObject(new Array);
}, t.wbg.__wbg_new_8a6f238a6ece86ea = function() {
return addHeapObject(new Error);
}, t.wbg.__wbg_new_a12002a7f91c75be = function(t) {
return addHeapObject(new Uint8Array(getObject(t)));
}, t.wbg.__wbg_next_25feadfc0913fea9 = function(t) {
return addHeapObject(getObject(t).next);
}, t.wbg.__wbg_next_6574e1a8a62d1055 = function() {
return handleError((function(t) {
return addHeapObject(getObject(t).next());
}), arguments);
}, t.wbg.__wbg_set_37837023f3d740e8 = function(t, e, r) {
getObject(t)[e >>> 0] = takeObject(r);
}, t.wbg.__wbg_set_3f1d0b984ed272ed = function(t, e, r) {
getObject(t)[takeObject(e)] = takeObject(r);
}, t.wbg.__wbg_set_65595bdd868b3009 = function(t, e, r) {
getObject(t).set(getObject(e), r >>> 0);
}, t.wbg.__wbg_stack_0ed75d68575b0f3c = function(t, e) {
var r = passStringToWasm0(getObject(e).stack, o.__wbindgen_export_0, o.__wbindgen_export_1), n = c;
getDataViewMemory0().setInt32(t + 4, n, !0), getDataViewMemory0().setInt32(t + 0, r, !0);
}, t.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(t) {
return addHeapObject(getObject(t).value);
}, t.wbg.__wbindgen_boolean_get = function(t) {
var e = getObject(t);
return "boolean" == typeof e ? e ? 1 : 0 : 2;
}, t.wbg.__wbindgen_debug_string = function(t, e) {
var r = passStringToWasm0(debugString(getObject(e)), o.__wbindgen_export_0, o.__wbindgen_export_1), n = c;
getDataViewMemory0().setInt32(t + 4, n, !0), getDataViewMemory0().setInt32(t + 0, r, !0);
}, t.wbg.__wbindgen_error_new = function(t, e) {
return addHeapObject(new Error(getStringFromWasm0(t, e)));
}, t.wbg.__wbindgen_in = function(t, e) {
return getObject(t) in getObject(e);
}, t.wbg.__wbindgen_is_function = function(t) {
return "function" == typeof getObject(t);
}, t.wbg.__wbindgen_is_object = function(t) {
var e = getObject(t);
return "object" === (0, a.A)(e) && null !== e;
}, t.wbg.__wbindgen_is_undefined = function(t) {
return void 0 === getObject(t);
}, t.wbg.__wbindgen_jsval_loose_eq = function(t, e) {
return getObject(t) == getObject(e);
}, t.wbg.__wbindgen_memory = function() {
return addHeapObject(o.memory);
}, t.wbg.__wbindgen_number_get = function(t, e) {
var r = getObject(e), n = "number" == typeof r ? r : void 0;
getDataViewMemory0().setFloat64(t + 8, isLikeNone(n) ? 0 : n, !0), getDataViewMemory0().setInt32(t + 0, !isLikeNone(n), !0);
}, t.wbg.__wbindgen_number_new = function(t) {
return addHeapObject(t);
}, t.wbg.__wbindgen_object_clone_ref = function(t) {
return addHeapObject(getObject(t));
}, t.wbg.__wbindgen_object_drop_ref = function(t) {
takeObject(t);
}, t.wbg.__wbindgen_string_get = function(t, e) {
var r = getObject(e), n = "string" == typeof r ? r : void 0, i = isLikeNone(n) ? 0 : passStringToWasm0(n, o.__wbindgen_export_0, o.__wbindgen_export_1), a = c;
getDataViewMemory0().setInt32(t + 4, a, !0), getDataViewMemory0().setInt32(t + 0, i, !0);
}, t.wbg.__wbindgen_string_new = function(t, e) {
return addHeapObject(getStringFromWasm0(t, e));
}, t.wbg.__wbindgen_throw = function(t, e) {
throw new Error(getStringFromWasm0(t, e));
}, t;
}
function __wbg_finalize_init(t, e) {
return o = t.exports, __wbg_init.__wbindgen_wasm_module = e, d = null, f = null,
o.__wbindgen_start(), o;
}
function initSync(t) {
if (void 0 !== o) return o;
void 0 !== t && Object.getPrototypeOf(t) === Object.prototype && (t = t.module);
var e = __wbg_get_imports();
return t instanceof WebAssembly.Module || (t = new WebAssembly.Module(t)), __wbg_finalize_init(new WebAssembly.Instance(t, e), t);
}
function __wbg_init(t) {
return _wbg_init.apply(this, arguments);
}
function _wbg_init() {
return (_wbg_init = (0, n.A)(u.mark((function _callee2(t) {
var e, n, i, a;
return u.wrap((function(u) {
for (;;) switch (u.prev = u.next) {
case 0:
if (void 0 === o) {
u.next = 2;
break;
}
return u.abrupt("return", o);
case 2:
return void 0 !== t && Object.getPrototypeOf(t) === Object.prototype && (t = t.module_or_path),
void 0 === t && (t = new URL(r(9038), r.b)), e = __wbg_get_imports(), ("string" == typeof t || "function" == typeof Request && t instanceof Request || "function" == typeof URL && t instanceof URL) && (t = fetch(t)),
u.t0 = __wbg_load, u.next = 10, t;
case 10:
return u.t1 = u.sent, u.t2 = e, u.next = 14, (0, u.t0)(u.t1, u.t2);
case 14:
return n = u.sent, i = n.instance, a = n.module, u.abrupt("return", __wbg_finalize_init(i, a));
case 18:
case "end":
return u.stop();
}
}), _callee2);
})))).apply(this, arguments);
}
const g = __wbg_init;
},
7629: (t, e, r) => {
"use strict";
var n = r(6395), i = r(4576), o = r(9433), a = "__core-js_shared__", u = t.exports = i[a] || o(a, {});
(u.versions || (u.versions = [])).push({
version: "3.41.0",
mode: n ? "pure" : "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"
});
},
7633: (t, e, r) => {
"use strict";
var n = r(7751), i = r(2106), o = r(8227), a = r(3724), u = o("species");
t.exports = function(t) {
var e = n(t);
a && e && !e[u] && i(e, u, {
configurable: !0,
get: function() {
return this;
}
});
};
},
7657: (t, e, r) => {
"use strict";
var n, i, o, a = r(9039), u = r(4901), s = r(34), c = r(2360), f = r(2787), l = r(6840), h = r(8227), d = r(6395), v = h("iterator"), p = !1;
[].keys && ("next" in (o = [].keys()) ? (i = f(f(o))) !== Object.prototype && (n = i) : p = !0),
!s(n) || a((function() {
var t = {};
return n[v].call(t) !== t;
})) ? n = {} : d && (n = c(n)), u(n[v]) || l(n, v, (function() {
return this;
})), t.exports = {
IteratorPrototype: n,
BUGGY_SAFARI_ITERATORS: p
};
},
7680: (t, e, r) => {
"use strict";
var n = r(9504);
t.exports = n([].slice);
},
7696: (t, e, r) => {
"use strict";
var n = r(1291), i = r(8014), o = RangeError;
t.exports = function(t) {
if (void 0 === t) return 0;
var e = n(t), r = i(e);
if (e !== r) throw new o("Wrong length or index");
return r;
};
},
7728: (t, e, r) => {
"use strict";
t.exports = function(t) {
var e = o.codegen([ "r", "l" ], t.name + "$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor" + (t.fieldsArray.filter((function(t) {
return t.map;
})).length ? ",k,value" : ""))("while(r.pos<c){")("var t=r.uint32()");
t.group && e("if((t&7)===4)")("break"), e("switch(t>>>3){");
for (var r = 0; r < t.fieldsArray.length; ++r) {
var a = t._fieldsArray[r].resolve(), u = a.resolvedType instanceof n ? "int32" : a.type, s = "m" + o.safeProp(a.name);
e("case %i: {", a.id), a.map ? (e("if(%s===util.emptyObject)", s)("%s={}", s)("var c2 = r.uint32()+r.pos"),
void 0 !== i.defaults[a.keyType] ? e("k=%j", i.defaults[a.keyType]) : e("k=null"),
void 0 !== i.defaults[u] ? e("value=%j", i.defaults[u]) : e("value=null"), e("while(r.pos<c2){")("var tag2=r.uint32()")("switch(tag2>>>3){")("case 1: k=r.%s(); break", a.keyType)("case 2:"),
void 0 === i.basic[u] ? e("value=types[%i].decode(r,r.uint32())", r) : e("value=r.%s()", u),
e("break")("default:")("r.skipType(tag2&7)")("break")("}")("}"), void 0 !== i.long[a.keyType] ? e('%s[typeof k==="object"?util.longToHash(k):k]=value', s) : e("%s[k]=value", s)) : a.repeated ? (e("if(!(%s&&%s.length))", s, s)("%s=[]", s),
void 0 !== i.packed[u] && e("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos<c2)")("%s.push(r.%s())", s, u)("}else"),
void 0 === i.basic[u] ? e(a.resolvedType.group ? "%s.push(types[%i].decode(r))" : "%s.push(types[%i].decode(r,r.uint32()))", s, r) : e("%s.push(r.%s())", s, u)) : void 0 === i.basic[u] ? e(a.resolvedType.group ? "%s=types[%i].decode(r)" : "%s=types[%i].decode(r,r.uint32())", s, r) : e("%s=r.%s()", s, u),
e("break")("}");
}
for (e("default:")("r.skipType(t&7)")("break")("}")("}"), r = 0; r < t._fieldsArray.length; ++r) {
var c = t._fieldsArray[r];
c.required && e("if(!m.hasOwnProperty(%j))", c.name)("throw util.ProtocolError(%j,{instance:m})", missing(c));
}
return e("return m");
};
var n = r(5643), i = r(361), o = r(3262);
function missing(t) {
return "missing required '" + t.name + "'";
}
},
7740: (t, e, r) => {
"use strict";
var n = r(9297), i = r(5031), o = r(7347), a = r(4913);
t.exports = function(t, e, r) {
for (var u = i(e), s = a.f, c = o.f, f = 0; f < u.length; f++) {
var l = u[f];
n(t, l) || r && n(r, l) || s(t, l, c(e, l));
}
};
},
7743: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9565), o = r(9306), a = r(6043), u = r(1103), s = r(2652);
n({
target: "Promise",
stat: !0,
forced: r(537)
}, {
race: function(t) {
var e = this, r = a.f(e), n = r.reject, c = u((function() {
var a = o(e.resolve);
s(t, (function(t) {
i(a, e, t).then(r.resolve, n);
}));
}));
return c.error && n(c.value), r.promise;
}
});
},
7750: (t, e, r) => {
"use strict";
var n = r(4117), i = TypeError;
t.exports = function(t) {
if (n(t)) throw new i("Can't call method on " + t);
return t;
};
},
7751: (t, e, r) => {
"use strict";
var n = r(4576), i = r(4901);
t.exports = function(t, e) {
return arguments.length < 2 ? (r = n[t], i(r) ? r : void 0) : n[t] && n[t][e];
var r;
};
},
7764: (t, e, r) => {
"use strict";
var n = r(8183).charAt, i = r(655), o = r(1181), a = r(1088), u = r(2529), s = "String Iterator", c = o.set, f = o.getterFor(s);
a(String, "String", (function(t) {
c(this, {
type: s,
string: i(t),
index: 0
});
}), (function() {
var t, e = f(this), r = e.string, i = e.index;
return i >= r.length ? u(void 0, !0) : (t = n(r, i), e.index += t.length, u(t, !1));
}));
},
7782: t => {
"use strict";
t.exports = Math.sign || function(t) {
var e = +t;
return 0 === e || e != e ? e : e < 0 ? -1 : 1;
};
},
7811: t => {
"use strict";
t.exports = "undefined" != typeof ArrayBuffer && "undefined" != typeof DataView;
},
7812: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9297), o = r(757), a = r(6823), u = r(5745), s = r(1296), c = u("symbol-to-string-registry");
n({
target: "Symbol",
stat: !0,
forced: !s
}, {
keyFor: function(t) {
if (!o(t)) throw new TypeError(a(t) + " is not a symbol");
if (i(c, t)) return c[t];
}
});
},
7829: (t, e, r) => {
"use strict";
var n = r(8183).charAt;
t.exports = function(t, e, r) {
return e + (r ? n(t, e).length : 1);
};
},
7860: (t, e, r) => {
"use strict";
var n = r(2839);
t.exports = /web0s(?!.*chrome)/i.test(n);
},
7882: (t, e, r) => {
"use strict";
t.exports = Type;
var n = r(8923);
((Type.prototype = Object.create(n.prototype)).constructor = Type).className = "Type";
var i = r(5643), o = r(1457), a = r(1344), u = r(8252), s = r(9687), c = r(2551), f = r(6237), l = r(3449), h = r(3262), d = r(1080), v = r(7728), p = r(420), b = r(8363), y = r(6434);
function Type(t, e) {
n.call(this, t, e), this.fields = {}, this.oneofs = void 0, this.extensions = void 0,
this.reserved = void 0, this.group = void 0, this._fieldsById = null, this._fieldsArray = null,
this._oneofsArray = null, this._ctor = null;
}
function clearCache(t) {
return t._fieldsById = t._fieldsArray = t._oneofsArray = null, delete t.encode,
delete t.decode, delete t.verify, t;
}
Object.defineProperties(Type.prototype, {
fieldsById: {
get: function() {
if (this._fieldsById) return this._fieldsById;
this._fieldsById = {};
for (var t = Object.keys(this.fields), e = 0; e < t.length; ++e) {
var r = this.fields[t[e]], n = r.id;
if (this._fieldsById[n]) throw Error("duplicate id " + n + " in " + this);
this._fieldsById[n] = r;
}
return this._fieldsById;
}
},
fieldsArray: {
get: function() {
return this._fieldsArray || (this._fieldsArray = h.toArray(this.fields));
}
},
oneofsArray: {
get: function() {
return this._oneofsArray || (this._oneofsArray = h.toArray(this.oneofs));
}
},
ctor: {
get: function() {
return this._ctor || (this.ctor = Type.generateConstructor(this)());
},
set: function(t) {
var e = t.prototype;
e instanceof c || ((t.prototype = new c).constructor = t, h.merge(t.prototype, e)),
t.$type = t.prototype.$type = this, h.merge(t, c, !0), this._ctor = t;
for (var r = 0; r < this.fieldsArray.length; ++r) this._fieldsArray[r].resolve();
var n = {};
for (r = 0; r < this.oneofsArray.length; ++r) n[this._oneofsArray[r].resolve().name] = {
get: h.oneOfGetter(this._oneofsArray[r].oneof),
set: h.oneOfSetter(this._oneofsArray[r].oneof)
};
r && Object.defineProperties(t.prototype, n);
}
}
}), Type.generateConstructor = function(t) {
for (var e, r = h.codegen([ "p" ], t.name), n = 0; n < t.fieldsArray.length; ++n) (e = t._fieldsArray[n]).map ? r("this%s={}", h.safeProp(e.name)) : e.repeated && r("this%s=[]", h.safeProp(e.name));
return r("if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)")("this[ks[i]]=p[ks[i]]");
}, Type.fromJSON = function(t, e) {
var r = new Type(t, e.options);
r.extensions = e.extensions, r.reserved = e.reserved;
for (var c = Object.keys(e.fields), f = 0; f < c.length; ++f) r.add((void 0 !== e.fields[c[f]].keyType ? u.fromJSON : a.fromJSON)(c[f], e.fields[c[f]]));
if (e.oneofs) for (c = Object.keys(e.oneofs), f = 0; f < c.length; ++f) r.add(o.fromJSON(c[f], e.oneofs[c[f]]));
if (e.nested) for (c = Object.keys(e.nested), f = 0; f < c.length; ++f) {
var l = e.nested[c[f]];
r.add((void 0 !== l.id ? a.fromJSON : void 0 !== l.fields ? Type.fromJSON : void 0 !== l.values ? i.fromJSON : void 0 !== l.methods ? s.fromJSON : n.fromJSON)(c[f], l));
}
return e.extensions && e.extensions.length && (r.extensions = e.extensions), e.reserved && e.reserved.length && (r.reserved = e.reserved),
e.group && (r.group = !0), e.comment && (r.comment = e.comment), r;
}, Type.prototype.toJSON = function(t) {
var e = n.prototype.toJSON.call(this, t), r = !!t && Boolean(t.keepComments);
return h.toObject([ "options", e && e.options || void 0, "oneofs", n.arrayToJSON(this.oneofsArray, t), "fields", n.arrayToJSON(this.fieldsArray.filter((function(t) {
return !t.declaringField;
})), t) || {}, "extensions", this.extensions && this.extensions.length ? this.extensions : void 0, "reserved", this.reserved && this.reserved.length ? this.reserved : void 0, "group", this.group || void 0, "nested", e && e.nested || void 0, "comment", r ? this.comment : void 0 ]);
}, Type.prototype.resolveAll = function() {
for (var t = this.fieldsArray, e = 0; e < t.length; ) t[e++].resolve();
var r = this.oneofsArray;
for (e = 0; e < r.length; ) r[e++].resolve();
return n.prototype.resolveAll.call(this);
}, Type.prototype.get = function(t) {
return this.fields[t] || this.oneofs && this.oneofs[t] || this.nested && this.nested[t] || null;
}, Type.prototype.add = function(t) {
if (this.get(t.name)) throw Error("duplicate name '" + t.name + "' in " + this);
if (t instanceof a && void 0 === t.extend) {
if (this._fieldsById ? this._fieldsById[t.id] : this.fieldsById[t.id]) throw Error("duplicate id " + t.id + " in " + this);
if (this.isReservedId(t.id)) throw Error("id " + t.id + " is reserved in " + this);
if (this.isReservedName(t.name)) throw Error("name '" + t.name + "' is reserved in " + this);
return t.parent && t.parent.remove(t), this.fields[t.name] = t, t.message = this,
t.onAdd(this), clearCache(this);
}
return t instanceof o ? (this.oneofs || (this.oneofs = {}), this.oneofs[t.name] = t,
t.onAdd(this), clearCache(this)) : n.prototype.add.call(this, t);
}, Type.prototype.remove = function(t) {
if (t instanceof a && void 0 === t.extend) {
if (!this.fields || this.fields[t.name] !== t) throw Error(t + " is not a member of " + this);
return delete this.fields[t.name], t.parent = null, t.onRemove(this), clearCache(this);
}
if (t instanceof o) {
if (!this.oneofs || this.oneofs[t.name] !== t) throw Error(t + " is not a member of " + this);
return delete this.oneofs[t.name], t.parent = null, t.onRemove(this), clearCache(this);
}
return n.prototype.remove.call(this, t);
}, Type.prototype.isReservedId = function(t) {
return n.isReservedId(this.reserved, t);
}, Type.prototype.isReservedName = function(t) {
return n.isReservedName(this.reserved, t);
}, Type.prototype.create = function(t) {
return new this.ctor(t);
}, Type.prototype.setup = function() {
for (var t = this.fullName, e = [], r = 0; r < this.fieldsArray.length; ++r) e.push(this._fieldsArray[r].resolve().resolvedType);
this.encode = d(this)({
Writer: l,
types: e,
util: h
}), this.decode = v(this)({
Reader: f,
types: e,
util: h
}), this.verify = p(this)({
types: e,
util: h
}), this.fromObject = b.fromObject(this)({
types: e,
util: h
}), this.toObject = b.toObject(this)({
types: e,
util: h
});
var n = y[t];
if (n) {
var i = Object.create(this);
i.fromObject = this.fromObject, this.fromObject = n.fromObject.bind(i), i.toObject = this.toObject,
this.toObject = n.toObject.bind(i);
}
return this;
}, Type.prototype.encode = function(t, e) {
return this.setup().encode(t, e);
}, Type.prototype.encodeDelimited = function(t, e) {
return this.encode(t, e && e.len ? e.fork() : e).ldelim();
}, Type.prototype.decode = function(t, e) {
return this.setup().decode(t, e);
}, Type.prototype.decodeDelimited = function(t) {
return t instanceof f || (t = f.create(t)), this.decode(t, t.uint32());
}, Type.prototype.verify = function(t) {
return this.setup().verify(t);
}, Type.prototype.fromObject = function(t) {
return this.setup().fromObject(t);
}, Type.prototype.toObject = function(t, e) {
return this.setup().toObject(t, e);
}, Type.d = function(t) {
return function(e) {
h.decorateType(e, t);
};
};
},
7916: (t, e, r) => {
"use strict";
var n = r(6080), i = r(9565), o = r(8981), a = r(6319), u = r(4209), s = r(3517), c = r(6198), f = r(4659), l = r(81), h = r(851), d = Array;
t.exports = function(t) {
var e = o(t), r = s(this), v = arguments.length, p = v > 1 ? arguments[1] : void 0, b = void 0 !== p;
b && (p = n(p, v > 2 ? arguments[2] : void 0));
var y, g, w, m, _, O, k = h(e), S = 0;
if (!k || this === d && u(k)) for (y = c(e), g = r ? new this(y) : d(y); y > S; S++) O = b ? p(e[S], S) : e[S],
f(g, S, O); else for (g = r ? new this : [], _ = (m = l(e, k)).next; !(w = i(_, m)).done; S++) O = b ? a(m, p, [ w.value, S ], !0) : w.value,
f(g, S, O);
return g.length = S, g;
};
},
7979: (t, e, r) => {
"use strict";
var n = r(8551);
t.exports = function() {
var t = n(this), e = "";
return t.hasIndices && (e += "d"), t.global && (e += "g"), t.ignoreCase && (e += "i"),
t.multiline && (e += "m"), t.dotAll && (e += "s"), t.unicode && (e += "u"), t.unicodeSets && (e += "v"),
t.sticky && (e += "y"), e;
};
},
8014: (t, e, r) => {
"use strict";
var n = r(1291), i = Math.min;
t.exports = function(t) {
var e = n(t);
return e > 0 ? i(e, 9007199254740991) : 0;
};
},
8045: t => {
"use strict";
t.exports = function(t, e) {
for (var r = new Array(arguments.length - 1), n = 0, i = 2, o = !0; i < arguments.length; ) r[n++] = arguments[i++];
return new Promise((function(i, a) {
r[n] = function(t) {
if (o) if (o = !1, t) a(t); else {
for (var e = new Array(arguments.length - 1), r = 0; r < e.length; ) e[r++] = arguments[r];
i.apply(null, e);
}
};
try {
t.apply(e || null, r);
} catch (t) {
o && (o = !1, a(t));
}
}));
};
},
8130: (t, e, r) => {
"use strict";
var n = r(6518), i = r(6395), o = r(3724), a = r(4576), u = r(9167), s = r(9504), c = r(2796), f = r(9297), l = r(3167), h = r(1625), d = r(757), v = r(2777), p = r(9039), b = r(8480).f, y = r(7347).f, g = r(4913).f, w = r(1240), m = r(3802).trim, _ = "Number", O = a[_], k = u[_], S = O.prototype, E = a.TypeError, A = s("".slice), j = s("".charCodeAt), x = c(_, !O(" 0o1") || !O("0b1") || O("+0x1")), NumberWrapper = function(t) {
var e, r = arguments.length < 1 ? 0 : O(function(t) {
var e = v(t, "number");
return "bigint" == typeof e ? e : function(t) {
var e, r, n, i, o, a, u, s, c = v(t, "number");
if (d(c)) throw new E("Cannot convert a Symbol value to a number");
if ("string" == typeof c && c.length > 2) if (c = m(c), 43 === (e = j(c, 0)) || 45 === e) {
if (88 === (r = j(c, 2)) || 120 === r) return NaN;
} else if (48 === e) {
switch (j(c, 1)) {
case 66:
case 98:
n = 2, i = 49;
break;
case 79:
case 111:
n = 8, i = 55;
break;
default:
return +c;
}
for (a = (o = A(c, 2)).length, u = 0; u < a; u++) if ((s = j(o, u)) < 48 || s > i) return NaN;
return parseInt(o, n);
}
return +c;
}(e);
}(t));
return h(S, e = this) && p((function() {
w(e);
})) ? l(Object(r), this, NumberWrapper) : r;
};
NumberWrapper.prototype = S, x && !i && (S.constructor = NumberWrapper), n({
global: !0,
constructor: !0,
wrap: !0,
forced: x
}, {
Number: NumberWrapper
});
var copyConstructorProperties = function(t, e) {
for (var r, n = o ? b(e) : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","), i = 0; n.length > i; i++) f(e, r = n[i]) && !f(t, r) && g(t, r, y(e, r));
};
i && k && copyConstructorProperties(u[_], k), (x || i) && copyConstructorProperties(u[_], O);
},
8156: (t, e, r) => {
"use strict";
var n = r(6518), i = r(533).start;
n({
target: "String",
proto: !0,
forced: r(3063)
}, {
padStart: function(t) {
return i(this, t, arguments.length > 1 ? arguments[1] : void 0);
}
});
},
8183: (t, e, r) => {
"use strict";
var n = r(9504), i = r(1291), o = r(655), a = r(7750), u = n("".charAt), s = n("".charCodeAt), c = n("".slice), createMethod = function(t) {
return function(e, r) {
var n, f, l = o(a(e)), h = i(r), d = l.length;
return h < 0 || h >= d ? t ? "" : void 0 : (n = s(l, h)) < 55296 || n > 56319 || h + 1 === d || (f = s(l, h + 1)) < 56320 || f > 57343 ? t ? u(l, h) : n : t ? c(l, h, h + 2) : f - 56320 + (n - 55296 << 10) + 65536;
};
};
t.exports = {
codeAt: createMethod(!1),
charAt: createMethod(!0)
};
},
8227: (t, e, r) => {
"use strict";
var n = r(4576), i = r(5745), o = r(9297), a = r(3392), u = r(4495), s = r(7040), c = n.Symbol, f = i("wks"), l = s ? c.for || c : c && c.withoutSetter || a;
t.exports = function(t) {
return o(f, t) || (f[t] = u && o(c, t) ? c[t] : l("Symbol." + t)), f[t];
};
},
8229: (t, e, r) => {
"use strict";
var n = r(9590), i = RangeError;
t.exports = function(t, e) {
var r = n(t);
if (r % e) throw new i("Wrong offset");
return r;
};
},
8242: (t, e, r) => {
"use strict";
var n = r(9565), i = r(7751), o = r(8227), a = r(6840);
t.exports = function() {
var t = i("Symbol"), e = t && t.prototype, r = e && e.valueOf, u = o("toPrimitive");
e && !e[u] && a(e, u, (function(t) {
return n(r, this);
}), {
arity: 1
});
};
},
8252: (t, e, r) => {
"use strict";
t.exports = MapField;
var n = r(1344);
((MapField.prototype = Object.create(n.prototype)).constructor = MapField).className = "MapField";
var i = r(361), o = r(3262);
function MapField(t, e, r, i, a, u) {
if (n.call(this, t, e, i, void 0, void 0, a, u), !o.isString(r)) throw TypeError("keyType must be a string");
this.keyType = r, this.resolvedKeyType = null, this.map = !0;
}
MapField.fromJSON = function(t, e) {
return new MapField(t, e.id, e.keyType, e.type, e.options, e.comment);
}, MapField.prototype.toJSON = function(t) {
var e = !!t && Boolean(t.keepComments);
return o.toObject([ "keyType", this.keyType, "type", this.type, "id", this.id, "extend", this.extend, "options", this.options, "comment", e ? this.comment : void 0 ]);
}, MapField.prototype.resolve = function() {
if (this.resolved) return this;
if (void 0 === i.mapKey[this.keyType]) throw Error("invalid key type: " + this.keyType);
return n.prototype.resolve.call(this);
}, MapField.d = function(t, e, r) {
return "function" == typeof r ? r = o.decorateType(r).name : r && "object" == typeof r && (r = o.decorateEnum(r).name),
function(n, i) {
o.decorateType(n.constructor).add(new MapField(i, t, e, r));
};
};
},
8265: t => {
"use strict";
var Queue = function() {
this.head = null, this.tail = null;
};
Queue.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) return null === (this.head = t.next) && (this.tail = null), t.item;
}
}, t.exports = Queue;
},
8319: t => {
"use strict";
var e = Math.round;
t.exports = function(t) {
var r = e(t);
return r < 0 ? 0 : r > 255 ? 255 : 255 & r;
};
},
8363: (t, e, r) => {
"use strict";
var n = e, i = r(5643), o = r(3262);
function genValuePartial_fromObject(t, e, r, n) {
var o = !1;
if (e.resolvedType) if (e.resolvedType instanceof i) {
t("switch(d%s){", n);
for (var a = e.resolvedType.values, u = Object.keys(a), s = 0; s < u.length; ++s) a[u[s]] !== e.typeDefault || o || (t("default:")('if(typeof(d%s)==="number"){m%s=d%s;break}', n, n, n),
e.repeated || t("break"), o = !0), t("case%j:", u[s])("case %i:", a[u[s]])("m%s=%j", n, a[u[s]])("break");
t("}");
} else t('if(typeof d%s!=="object")', n)("throw TypeError(%j)", e.fullName + ": object expected")("m%s=types[%i].fromObject(d%s)", n, r, n); else {
var c = !1;
switch (e.type) {
case "double":
case "float":
t("m%s=Number(d%s)", n, n);
break;
case "uint32":
case "fixed32":
t("m%s=d%s>>>0", n, n);
break;
case "int32":
case "sint32":
case "sfixed32":
t("m%s=d%s|0", n, n);
break;
case "uint64":
c = !0;
case "int64":
case "sint64":
case "fixed64":
case "sfixed64":
t("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j", n, n, c)('else if(typeof d%s==="string")', n)("m%s=parseInt(d%s,10)", n, n)('else if(typeof d%s==="number")', n)("m%s=d%s", n, n)('else if(typeof d%s==="object")', n)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)", n, n, n, c ? "true" : "");
break;
case "bytes":
t('if(typeof d%s==="string")', n)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)", n, n, n)("else if(d%s.length >= 0)", n)("m%s=d%s", n, n);
break;
case "string":
t("m%s=String(d%s)", n, n);
break;
case "bool":
t("m%s=Boolean(d%s)", n, n);
}
}
return t;
}
function genValuePartial_toObject(t, e, r, n) {
if (e.resolvedType) e.resolvedType instanceof i ? t("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s", n, r, n, n, r, n, n) : t("d%s=types[%i].toObject(m%s,o)", n, r, n); else {
var o = !1;
switch (e.type) {
case "double":
case "float":
t("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s", n, n, n, n);
break;
case "uint64":
o = !0;
case "int64":
case "sint64":
case "fixed64":
case "sfixed64":
t('if(typeof m%s==="number")', n)("d%s=o.longs===String?String(m%s):m%s", n, n, n)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s", n, n, n, n, o ? "true" : "", n);
break;
case "bytes":
t("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s", n, n, n, n, n);
break;
default:
t("d%s=m%s", n, n);
}
}
return t;
}
n.fromObject = function(t) {
var e = t.fieldsArray, r = o.codegen([ "d" ], t.name + "$fromObject")("if(d instanceof this.ctor)")("return d");
if (!e.length) return r("return new this.ctor");
r("var m=new this.ctor");
for (var n = 0; n < e.length; ++n) {
var a = e[n].resolve(), u = o.safeProp(a.name);
a.map ? (r("if(d%s){", u)('if(typeof d%s!=="object")', u)("throw TypeError(%j)", a.fullName + ": object expected")("m%s={}", u)("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){", u),
genValuePartial_fromObject(r, a, n, u + "[ks[i]]")("}")("}")) : a.repeated ? (r("if(d%s){", u)("if(!Array.isArray(d%s))", u)("throw TypeError(%j)", a.fullName + ": array expected")("m%s=[]", u)("for(var i=0;i<d%s.length;++i){", u),
genValuePartial_fromObject(r, a, n, u + "[i]")("}")("}")) : (a.resolvedType instanceof i || r("if(d%s!=null){", u),
genValuePartial_fromObject(r, a, n, u), a.resolvedType instanceof i || r("}"));
}
return r("return m");
}, n.toObject = function(t) {
var e = t.fieldsArray.slice().sort(o.compareFieldsById);
if (!e.length) return o.codegen()("return {}");
for (var r = o.codegen([ "m", "o" ], t.name + "$toObject")("if(!o)")("o={}")("var d={}"), n = [], a = [], u = [], s = 0; s < e.length; ++s) e[s].partOf || (e[s].resolve().repeated ? n : e[s].map ? a : u).push(e[s]);
if (n.length) {
for (r("if(o.arrays||o.defaults){"), s = 0; s < n.length; ++s) r("d%s=[]", o.safeProp(n[s].name));
r("}");
}
if (a.length) {
for (r("if(o.objects||o.defaults){"), s = 0; s < a.length; ++s) r("d%s={}", o.safeProp(a[s].name));
r("}");
}
if (u.length) {
for (r("if(o.defaults){"), s = 0; s < u.length; ++s) {
var c = u[s], f = o.safeProp(c.name);
if (c.resolvedType instanceof i) r("d%s=o.enums===String?%j:%j", f, c.resolvedType.valuesById[c.typeDefault], c.typeDefault); else if (c.long) r("if(util.Long){")("var n=new util.Long(%i,%i,%j)", c.typeDefault.low, c.typeDefault.high, c.typeDefault.unsigned)("d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():n", f)("}else")("d%s=o.longs===String?%j:%i", f, c.typeDefault.toString(), c.typeDefault.toNumber()); else if (c.bytes) {
var l = "[" + Array.prototype.slice.call(c.typeDefault).join(",") + "]";
r("if(o.bytes===String)d%s=%j", f, String.fromCharCode.apply(String, c.typeDefault))("else{")("d%s=%s", f, l)("if(o.bytes!==Array)d%s=util.newBuffer(d%s)", f, f)("}");
} else r("d%s=%j", f, c.typeDefault);
}
r("}");
}
var h = !1;
for (s = 0; s < e.length; ++s) {
c = e[s];
var d = t._fieldsArray.indexOf(c);
f = o.safeProp(c.name), c.map ? (h || (h = !0, r("var ks2")), r("if(m%s&&(ks2=Object.keys(m%s)).length){", f, f)("d%s={}", f)("for(var j=0;j<ks2.length;++j){"),
genValuePartial_toObject(r, c, d, f + "[ks2[j]]")("}")) : c.repeated ? (r("if(m%s&&m%s.length){", f, f)("d%s=[]", f)("for(var j=0;j<m%s.length;++j){", f),
genValuePartial_toObject(r, c, d, f + "[j]")("}")) : (r("if(m%s!=null&&m.hasOwnProperty(%j)){", f, c.name),
genValuePartial_toObject(r, c, d, f), c.partOf && r("if(o.oneofs)")("d%s=%j", o.safeProp(c.partOf.name), c.name)),
r("}");
}
return r("return d");
};
},
8379: (t, e, r) => {
"use strict";
var n = r(8745), i = r(5397), o = r(1291), a = r(6198), u = r(4598), s = Math.min, c = [].lastIndexOf, f = !!c && 1 / [ 1 ].lastIndexOf(1, -0) < 0, l = u("lastIndexOf"), h = f || !l;
t.exports = h ? function(t) {
if (f) return n(c, this, arguments) || 0;
var e = i(this), r = a(e);
if (0 === r) return -1;
var u = r - 1;
for (arguments.length > 1 && (u = s(u, o(arguments[1]))), u < 0 && (u = r + u); u >= 0; u--) if (u in e && e[u] === t) return u || 0;
return -1;
} : c;
},
8406: (t, e, r) => {
"use strict";
r(3792), r(7337);
var n = r(6518), i = r(4576), o = r(3389), a = r(7751), u = r(9565), s = r(9504), c = r(3724), f = r(7416), l = r(6840), h = r(2106), d = r(6279), v = r(687), p = r(3994), b = r(1181), y = r(679), g = r(4901), w = r(9297), m = r(6080), _ = r(6955), O = r(8551), k = r(34), S = r(655), E = r(2360), A = r(6980), j = r(81), x = r(851), T = r(2529), R = r(2812), I = r(8227), C = r(4488), M = I("iterator"), N = "URLSearchParams", P = N + "Iterator", L = b.set, B = b.getterFor(N), V = b.getterFor(P), D = o("fetch"), U = o("Request"), q = o("Headers"), W = U && U.prototype, H = q && q.prototype, z = i.TypeError, G = i.encodeURIComponent, $ = String.fromCharCode, J = a("String", "fromCodePoint"), K = parseInt, Z = s("".charAt), Y = s([].join), X = s([].push), Q = s("".replace), tt = s([].shift), et = s([].splice), rt = s("".split), nt = s("".slice), it = s(/./.exec), ot = /\+/g, at = /^[0-9a-f]+$/i, parseHexOctet = function(t, e) {
var r = nt(t, e, e + 2);
return it(at, r) ? K(r, 16) : NaN;
}, getLeadingOnes = function(t) {
for (var e = 0, r = 128; r > 0 && t & r; r >>= 1) e++;
return e;
}, utf8Decode = function(t) {
var e = null;
switch (t.length) {
case 1:
e = t[0];
break;
case 2:
e = (31 & t[0]) << 6 | 63 & t[1];
break;
case 3:
e = (15 & t[0]) << 12 | (63 & t[1]) << 6 | 63 & t[2];
break;
case 4:
e = (7 & t[0]) << 18 | (63 & t[1]) << 12 | (63 & t[2]) << 6 | 63 & t[3];
}
return e > 1114111 ? null : e;
}, decode = function(t) {
for (var e = (t = Q(t, ot, " ")).length, r = "", n = 0; n < e; ) {
var i = Z(t, n);
if ("%" === i) {
if ("%" === Z(t, n + 1) || n + 3 > e) {
r += "%", n++;
continue;
}
var o = parseHexOctet(t, n + 1);
if (o != o) {
r += i, n++;
continue;
}
n += 2;
var a = getLeadingOnes(o);
if (0 === a) i = $(o); else {
if (1 === a || a > 4) {
r += "�", n++;
continue;
}
for (var u = [ o ], s = 1; s < a && !(3 + ++n > e || "%" !== Z(t, n)); ) {
var c = parseHexOctet(t, n + 1);
if (c != c) {
n += 3;
break;
}
if (c > 191 || c < 128) break;
X(u, c), n += 2, s++;
}
if (u.length !== a) {
r += "�";
continue;
}
var f = utf8Decode(u);
null === f ? r += "�" : i = J(f);
}
}
r += i, n++;
}
return r;
}, ut = /[!'()~]|%20/g, st = {
"!": "%21",
"'": "%27",
"(": "%28",
")": "%29",
"~": "%7E",
"%20": "+"
}, replacer = function(t) {
return st[t];
}, serialize = function(t) {
return Q(G(t), ut, replacer);
}, ct = p((function(t, e) {
L(this, {
type: P,
target: B(t).entries,
index: 0,
kind: e
});
}), N, (function() {
var t = V(this), e = t.target, r = t.index++;
if (!e || r >= e.length) return t.target = null, T(void 0, !0);
var n = e[r];
switch (t.kind) {
case "keys":
return T(n.key, !1);
case "values":
return T(n.value, !1);
}
return T([ n.key, n.value ], !1);
}), !0), URLSearchParamsState = function(t) {
this.entries = [], this.url = null, void 0 !== t && (k(t) ? this.parseObject(t) : this.parseQuery("string" == typeof t ? "?" === Z(t, 0) ? nt(t, 1) : t : S(t)));
};
URLSearchParamsState.prototype = {
type: N,
bindURL: function(t) {
this.url = t, this.update();
},
parseObject: function(t) {
var e, r, n, i, o, a, s, c = this.entries, f = x(t);
if (f) for (r = (e = j(t, f)).next; !(n = u(r, e)).done; ) {
if (o = (i = j(O(n.value))).next, (a = u(o, i)).done || (s = u(o, i)).done || !u(o, i).done) throw new z("Expected sequence with length 2");
X(c, {
key: S(a.value),
value: S(s.value)
});
} else for (var l in t) w(t, l) && X(c, {
key: l,
value: S(t[l])
});
},
parseQuery: function(t) {
if (t) for (var e, r, n = this.entries, i = rt(t, "&"), o = 0; o < i.length; ) (e = i[o++]).length && (r = rt(e, "="),
X(n, {
key: decode(tt(r)),
value: decode(Y(r, "="))
}));
},
serialize: function() {
for (var t, e = this.entries, r = [], n = 0; n < e.length; ) t = e[n++], X(r, serialize(t.key) + "=" + serialize(t.value));
return Y(r, "&");
},
update: function() {
this.entries.length = 0, this.parseQuery(this.url.query);
},
updateURL: function() {
this.url && this.url.update();
}
};
var URLSearchParamsConstructor = function() {
y(this, ft);
var t = L(this, new URLSearchParamsState(arguments.length > 0 ? arguments[0] : void 0));
c || (this.size = t.entries.length);
}, ft = URLSearchParamsConstructor.prototype;
if (d(ft, {
append: function(t, e) {
var r = B(this);
R(arguments.length, 2), X(r.entries, {
key: S(t),
value: S(e)
}), c || this.length++, r.updateURL();
},
"delete": function(t) {
for (var e = B(this), r = R(arguments.length, 1), n = e.entries, i = S(t), o = r < 2 ? void 0 : arguments[1], a = void 0 === o ? o : S(o), u = 0; u < n.length; ) {
var s = n[u];
if (s.key !== i || void 0 !== a && s.value !== a) u++; else if (et(n, u, 1), void 0 !== a) break;
}
c || (this.size = n.length), e.updateURL();
},
get: function(t) {
var e = B(this).entries;
R(arguments.length, 1);
for (var r = S(t), n = 0; n < e.length; n++) if (e[n].key === r) return e[n].value;
return null;
},
getAll: function(t) {
var e = B(this).entries;
R(arguments.length, 1);
for (var r = S(t), n = [], i = 0; i < e.length; i++) e[i].key === r && X(n, e[i].value);
return n;
},
has: function(t) {
for (var e = B(this).entries, r = R(arguments.length, 1), n = S(t), i = r < 2 ? void 0 : arguments[1], o = void 0 === i ? i : S(i), a = 0; a < e.length; ) {
var u = e[a++];
if (u.key === n && (void 0 === o || u.value === o)) return !0;
}
return !1;
},
set: function(t, e) {
var r = B(this);
R(arguments.length, 1);
for (var n, i = r.entries, o = !1, a = S(t), u = S(e), s = 0; s < i.length; s++) (n = i[s]).key === a && (o ? et(i, s--, 1) : (o = !0,
n.value = u));
o || X(i, {
key: a,
value: u
}), c || (this.size = i.length), r.updateURL();
},
sort: function() {
var t = B(this);
C(t.entries, (function(t, e) {
return t.key > e.key ? 1 : -1;
})), t.updateURL();
},
forEach: function(t) {
for (var e, r = B(this).entries, n = m(t, arguments.length > 1 ? arguments[1] : void 0), i = 0; i < r.length; ) n((e = r[i++]).value, e.key, this);
},
keys: function() {
return new ct(this, "keys");
},
values: function() {
return new ct(this, "values");
},
entries: function() {
return new ct(this, "entries");
}
}, {
enumerable: !0
}), l(ft, M, ft.entries, {
name: "entries"
}), l(ft, "toString", (function() {
return B(this).serialize();
}), {
enumerable: !0
}), c && h(ft, "size", {
get: function() {
return B(this).entries.length;
},
configurable: !0,
enumerable: !0
}), v(URLSearchParamsConstructor, N), n({
global: !0,
constructor: !0,
forced: !f
}, {
URLSearchParams: URLSearchParamsConstructor
}), !f && g(q)) {
var lt = s(H.has), ht = s(H.set), wrapRequestOptions = function(t) {
if (k(t)) {
var e, r = t.body;
if (_(r) === N) return e = t.headers ? new q(t.headers) : new q, lt(e, "content-type") || ht(e, "content-type", "application/x-www-form-urlencoded;charset=UTF-8"),
E(t, {
body: A(0, S(r)),
headers: A(0, e)
});
}
return t;
};
if (g(D) && n({
global: !0,
enumerable: !0,
dontCallGetSet: !0,
forced: !0
}, {
fetch: function(t) {
return D(t, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
}
}), g(U)) {
var RequestConstructor = function(t) {
return y(this, W), new U(t, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
};
W.constructor = RequestConstructor, RequestConstructor.prototype = W, n({
global: !0,
constructor: !0,
dontCallGetSet: !0,
forced: !0
}, {
Request: RequestConstructor
});
}
}
t.exports = {
URLSearchParams: URLSearchParamsConstructor,
getState: B
};
},
8408: (t, e, r) => {
"use strict";
r(8406);
},
8429: (t, e, r) => {
"use strict";
var n = r(9039), i = r(4576).RegExp, o = n((function() {
var t = i("a", "y");
return t.lastIndex = 2, null !== t.exec("abcd");
})), a = o || n((function() {
return !i("a", "y").sticky;
})), u = o || n((function() {
var t = i("^r", "gy");
return t.lastIndex = 2, null !== t.exec("str");
}));
t.exports = {
BROKEN_CARET: u,
MISSED_STICKY: a,
UNSUPPORTED_Y: o
};
},
8459: (t, e, r) => {
"use strict";
var n = r(6518), i = r(3904);
n({
global: !0,
forced: parseFloat !== i
}, {
parseFloat: i
});
},
8480: (t, e, r) => {
"use strict";
var n = r(1828), i = r(8727).concat("length", "prototype");
e.f = Object.getOwnPropertyNames || function(t) {
return n(t, i);
};
},
8490: t => {
"use strict";
var e = Array, r = Math.abs, n = Math.pow, i = Math.floor, o = Math.log, a = Math.LN2;
t.exports = {
pack: function(t, u, s) {
var c, f, l, h = e(s), d = 8 * s - u - 1, v = (1 << d) - 1, p = v >> 1, b = 23 === u ? n(2, -24) - n(2, -77) : 0, y = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0, g = 0;
for ((t = r(t)) != t || t === 1 / 0 ? (f = t != t ? 1 : 0, c = v) : (c = i(o(t) / a),
t * (l = n(2, -c)) < 1 && (c--, l *= 2), (t += c + p >= 1 ? b / l : b * n(2, 1 - p)) * l >= 2 && (c++,
l /= 2), c + p >= v ? (f = 0, c = v) : c + p >= 1 ? (f = (t * l - 1) * n(2, u),
c += p) : (f = t * n(2, p - 1) * n(2, u), c = 0)); u >= 8; ) h[g++] = 255 & f, f /= 256,
u -= 8;
for (c = c << u | f, d += u; d > 0; ) h[g++] = 255 & c, c /= 256, d -= 8;
return h[g - 1] |= 128 * y, h;
},
unpack: function(t, e) {
var r, i = t.length, o = 8 * i - e - 1, a = (1 << o) - 1, u = a >> 1, s = o - 7, c = i - 1, f = t[c--], l = 127 & f;
for (f >>= 7; s > 0; ) l = 256 * l + t[c--], s -= 8;
for (r = l & (1 << -s) - 1, l >>= -s, s += e; s > 0; ) r = 256 * r + t[c--], s -= 8;
if (0 === l) l = 1 - u; else {
if (l === a) return r ? NaN : f ? -1 / 0 : 1 / 0;
r += n(2, e), l -= u;
}
return (f ? -1 : 1) * r * n(2, l - e);
}
};
},
8523: (t, e, r) => {
"use strict";
r(6468)("Map", (function(t) {
return function() {
return t(this, arguments.length ? arguments[0] : void 0);
};
}), r(6938));
},
8551: (t, e, r) => {
"use strict";
var n = r(34), i = String, o = TypeError;
t.exports = function(t) {
if (n(t)) return t;
throw new o(i(t) + " is not an object");
};
},
8561: t => {
"use strict";
function codegen(t, e) {
"string" == typeof t && (e = t, t = void 0);
var r = [];
function Codegen(t) {
if ("string" != typeof t) {
var e = toString();
if (codegen.verbose, e = "return " + e, t) {
for (var n = Object.keys(t), i = new Array(n.length + 1), o = new Array(n.length), a = 0; a < n.length; ) i[a] = n[a],
o[a] = t[n[a++]];
return i[a] = e, Function.apply(null, i).apply(null, o);
}
return Function(e)();
}
for (var u = new Array(arguments.length - 1), s = 0; s < u.length; ) u[s] = arguments[++s];
if (s = 0, t = t.replace(/%([%dfijs])/g, (function(t, e) {
var r = u[s++];
switch (e) {
case "d":
case "f":
return String(Number(r));
case "i":
return String(Math.floor(r));
case "j":
return JSON.stringify(r);
case "s":
return String(r);
}
return "%";
})), s !== u.length) throw Error("parameter count mismatch");
return r.push(t), Codegen;
}
function toString(n) {
return "function " + (n || e || "") + "(" + (t && t.join(",") || "") + "){\n " + r.join("\n ") + "\n}";
}
return Codegen.toString = toString, Codegen;
}
t.exports = codegen, codegen.verbose = !1;
},
8598: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9504), o = r(7055), a = r(5397), u = r(4598), s = i([].join);
n({
target: "Array",
proto: !0,
forced: o !== Object || !u("join", ",")
}, {
join: function(t) {
return s(a(this), void 0 === t ? "," : t);
}
});
},
8622: (t, e, r) => {
"use strict";
var n = r(4576), i = r(4901), o = n.WeakMap;
t.exports = i(o) && /native code/.test(String(o));
},
8686: (t, e, r) => {
"use strict";
var n = r(3724), i = r(9039);
t.exports = n && i((function() {
return 42 !== Object.defineProperty((function() {}), "prototype", {
value: 42,
writable: !1
}).prototype;
}));
},
8706: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9039), o = r(4376), a = r(34), u = r(8981), s = r(6198), c = r(6837), f = r(4659), l = r(1469), h = r(597), d = r(8227), v = r(9519), p = d("isConcatSpreadable"), b = v >= 51 || !i((function() {
var t = [];
return t[p] = !1, t.concat()[0] !== t;
})), isConcatSpreadable = function(t) {
if (!a(t)) return !1;
var e = t[p];
return void 0 !== e ? !!e : o(t);
};
n({
target: "Array",
proto: !0,
arity: 1,
forced: !b || !h("concat")
}, {
concat: function(t) {
var e, r, n, i, o, a = u(this), h = l(a, 0), d = 0;
for (e = -1, n = arguments.length; e < n; e++) if (isConcatSpreadable(o = -1 === e ? a : arguments[e])) for (i = s(o),
c(d + i), r = 0; r < i; r++, d++) r in o && f(h, d, o[r]); else c(d + 1), f(h, d++, o);
return h.length = d, h;
}
});
},
8727: t => {
"use strict";
t.exports = [ "constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf" ];
},
8745: (t, e, r) => {
"use strict";
var n = r(616), i = Function.prototype, o = i.apply, a = i.call;
t.exports = "object" == typeof Reflect && Reflect.apply || (n ? a.bind(o) : function() {
return a.apply(o, arguments);
});
},
8747: (t, e, r) => {
"use strict";
var n = r(4644), i = n.aTypedArray, o = n.exportTypedArrayMethod, a = Math.floor;
o("reverse", (function() {
for (var t, e = this, r = i(e).length, n = a(r / 2), o = 0; o < n; ) t = e[o], e[o++] = e[--r],
e[r] = t;
return e;
}));
},
8773: (t, e) => {
"use strict";
var r = {}.propertyIsEnumerable, n = Object.getOwnPropertyDescriptor, i = n && !r.call({
1: 2
}, 1);
e.f = i ? function(t) {
var e = n(this, t);
return !!e && e.enumerable;
} : r;
},
8781: (t, e, r) => {
"use strict";
var n = r(350).PROPER, i = r(6840), o = r(8551), a = r(655), u = r(9039), s = r(1034), c = "toString", f = RegExp.prototype, l = f[c], h = u((function() {
return "/a/b" !== l.call({
source: "a",
flags: "b"
});
})), d = n && l.name !== c;
(h || d) && i(f, c, (function() {
var t = o(this);
return "/" + a(t.source) + "/" + a(s(t));
}), {
unsafe: !0
});
},
8811: (t, e, r) => {
"use strict";
t.exports = Method;
var n = r(7209);
((Method.prototype = Object.create(n.prototype)).constructor = Method).className = "Method";
var i = r(3262);
function Method(t, e, r, o, a, u, s, c, f) {
if (i.isObject(a) ? (s = a, a = u = void 0) : i.isObject(u) && (s = u, u = void 0),
void 0 !== e && !i.isString(e)) throw TypeError("type must be a string");
if (!i.isString(r)) throw TypeError("requestType must be a string");
if (!i.isString(o)) throw TypeError("responseType must be a string");
n.call(this, t, s), this.type = e || "rpc", this.requestType = r, this.requestStream = !!a || void 0,
this.responseType = o, this.responseStream = !!u || void 0, this.resolvedRequestType = null,
this.resolvedResponseType = null, this.comment = c, this.parsedOptions = f;
}
Method.fromJSON = function(t, e) {
return new Method(t, e.type, e.requestType, e.responseType, e.requestStream, e.responseStream, e.options, e.comment, e.parsedOptions);
}, Method.prototype.toJSON = function(t) {
var e = !!t && Boolean(t.keepComments);
return i.toObject([ "type", "rpc" !== this.type && this.type || void 0, "requestType", this.requestType, "requestStream", this.requestStream, "responseType", this.responseType, "responseStream", this.responseStream, "options", this.options, "comment", e ? this.comment : void 0, "parsedOptions", this.parsedOptions ]);
}, Method.prototype.resolve = function() {
return this.resolved ? this : (this.resolvedRequestType = this.parent.lookupType(this.requestType),
this.resolvedResponseType = this.parent.lookupType(this.responseType), n.prototype.resolve.call(this));
};
},
8814: (t, e, r) => {
"use strict";
var n = r(9039), i = r(4576).RegExp;
t.exports = n((function() {
var t = i("(?<a>b)", "g");
return "b" !== t.exec("b").groups.a || "bc" !== "b".replace(t, "$<a>c");
}));
},
8839: (t, e) => {
"use strict";
var r = e;
r.length = function(t) {
var e = t.length;
if (!e) return 0;
for (var r = 0; --e % 4 > 1 && "=" === t.charAt(e); ) ++r;
return Math.ceil(3 * t.length) / 4 - r;
};
for (var n = new Array(64), i = new Array(123), o = 0; o < 64; ) i[n[o] = o < 26 ? o + 65 : o < 52 ? o + 71 : o < 62 ? o - 4 : o - 59 | 43] = o++;
r.encode = function(t, e, r) {
for (var i, o = null, a = [], u = 0, s = 0; e < r; ) {
var c = t[e++];
switch (s) {
case 0:
a[u++] = n[c >> 2], i = (3 & c) << 4, s = 1;
break;
case 1:
a[u++] = n[i | c >> 4], i = (15 & c) << 2, s = 2;
break;
case 2:
a[u++] = n[i | c >> 6], a[u++] = n[63 & c], s = 0;
}
u > 8191 && ((o || (o = [])).push(String.fromCharCode.apply(String, a)), u = 0);
}
return s && (a[u++] = n[i], a[u++] = 61, 1 === s && (a[u++] = 61)), o ? (u && o.push(String.fromCharCode.apply(String, a.slice(0, u))),
o.join("")) : String.fromCharCode.apply(String, a.slice(0, u));
};
var a = "invalid encoding";
r.decode = function(t, e, r) {
for (var n, o = r, u = 0, s = 0; s < t.length; ) {
var c = t.charCodeAt(s++);
if (61 === c && u > 1) break;
if (void 0 === (c = i[c])) throw Error(a);
switch (u) {
case 0:
n = c, u = 1;
break;
case 1:
e[r++] = n << 2 | (48 & c) >> 4, n = c, u = 2;
break;
case 2:
e[r++] = (15 & n) << 4 | (60 & c) >> 2, n = c, u = 3;
break;
case 3:
e[r++] = (3 & n) << 6 | c, u = 0;
}
}
if (1 === u) throw Error(a);
return r - o;
}, r.test = function(t) {
return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t);
};
},
8845: (t, e, r) => {
"use strict";
var n = r(4576), i = r(9565), o = r(4644), a = r(6198), u = r(8229), s = r(8981), c = r(9039), f = n.RangeError, l = n.Int8Array, h = l && l.prototype, d = h && h.set, v = o.aTypedArray, p = o.exportTypedArrayMethod, b = !c((function() {
var t = new Uint8ClampedArray(2);
return i(d, t, {
length: 1,
0: 3
}, 1), 3 !== t[1];
})), y = b && o.NATIVE_ARRAY_BUFFER_VIEWS && c((function() {
var t = new l(2);
return t.set(1), t.set("2", 1), 0 !== t[0] || 2 !== t[1];
}));
p("set", (function(t) {
v(this);
var e = u(arguments.length > 1 ? arguments[1] : void 0, 1), r = s(t);
if (b) return i(d, this, r, e);
var n = this.length, o = a(r), c = 0;
if (o + e > n) throw new f("Wrong length");
for (;c < o; ) this[e + c] = r[c++];
}), !b || y);
},
8921: (t, e, r) => {
"use strict";
var n = r(6518), i = r(8379);
n({
target: "Array",
proto: !0,
forced: i !== [].lastIndexOf
}, {
lastIndexOf: i
});
},
8923: (t, e, r) => {
"use strict";
t.exports = Namespace;
var n = r(7209);
((Namespace.prototype = Object.create(n.prototype)).constructor = Namespace).className = "Namespace";
var i, o, a, u = r(1344), s = r(3262), c = r(1457);
function arrayToJSON(t, e) {
if (t && t.length) {
for (var r = {}, n = 0; n < t.length; ++n) r[t[n].name] = t[n].toJSON(e);
return r;
}
}
function Namespace(t, e) {
n.call(this, t, e), this.nested = void 0, this._nestedArray = null;
}
function clearCache(t) {
return t._nestedArray = null, t;
}
Namespace.fromJSON = function(t, e) {
return new Namespace(t, e.options).addJSON(e.nested);
}, Namespace.arrayToJSON = arrayToJSON, Namespace.isReservedId = function(t, e) {
if (t) for (var r = 0; r < t.length; ++r) if ("string" != typeof t[r] && t[r][0] <= e && t[r][1] > e) return !0;
return !1;
}, Namespace.isReservedName = function(t, e) {
if (t) for (var r = 0; r < t.length; ++r) if (t[r] === e) return !0;
return !1;
}, Object.defineProperty(Namespace.prototype, "nestedArray", {
get: function() {
return this._nestedArray || (this._nestedArray = s.toArray(this.nested));
}
}), Namespace.prototype.toJSON = function(t) {
return s.toObject([ "options", this.options, "nested", arrayToJSON(this.nestedArray, t) ]);
}, Namespace.prototype.addJSON = function(t) {
if (t) for (var e, r = Object.keys(t), n = 0; n < r.length; ++n) e = t[r[n]], this.add((void 0 !== e.fields ? i.fromJSON : void 0 !== e.values ? a.fromJSON : void 0 !== e.methods ? o.fromJSON : void 0 !== e.id ? u.fromJSON : Namespace.fromJSON)(r[n], e));
return this;
}, Namespace.prototype.get = function(t) {
return this.nested && this.nested[t] || null;
}, Namespace.prototype.getEnum = function(t) {
if (this.nested && this.nested[t] instanceof a) return this.nested[t].values;
throw Error("no such enum: " + t);
}, Namespace.prototype.add = function(t) {
if (!(t instanceof u && void 0 !== t.extend || t instanceof i || t instanceof c || t instanceof a || t instanceof o || t instanceof Namespace)) throw TypeError("object must be a valid nested object");
if (this.nested) {
var e = this.get(t.name);
if (e) {
if (!(e instanceof Namespace && t instanceof Namespace) || e instanceof i || e instanceof o) throw Error("duplicate name '" + t.name + "' in " + this);
for (var r = e.nestedArray, n = 0; n < r.length; ++n) t.add(r[n]);
this.remove(e), this.nested || (this.nested = {}), t.setOptions(e.options, !0);
}
} else this.nested = {};
return this.nested[t.name] = t, t.onAdd(this), clearCache(this);
}, Namespace.prototype.remove = function(t) {
if (!(t instanceof n)) throw TypeError("object must be a ReflectionObject");
if (t.parent !== this) throw Error(t + " is not a member of " + this);
return delete this.nested[t.name], Object.keys(this.nested).length || (this.nested = void 0),
t.onRemove(this), clearCache(this);
}, Namespace.prototype.define = function(t, e) {
if (s.isString(t)) t = t.split("."); else if (!Array.isArray(t)) throw TypeError("illegal path");
if (t && t.length && "" === t[0]) throw Error("path must be relative");
for (var r = this; t.length > 0; ) {
var n = t.shift();
if (r.nested && r.nested[n]) {
if (!((r = r.nested[n]) instanceof Namespace)) throw Error("path conflicts with non-namespace objects");
} else r.add(r = new Namespace(n));
}
return e && r.addJSON(e), r;
}, Namespace.prototype.resolveAll = function() {
for (var t = this.nestedArray, e = 0; e < t.length; ) t[e] instanceof Namespace ? t[e++].resolveAll() : t[e++].resolve();
return this.resolve();
}, Namespace.prototype.lookup = function(t, e, r) {
if ("boolean" == typeof e ? (r = e, e = void 0) : e && !Array.isArray(e) && (e = [ e ]),
s.isString(t) && t.length) {
if ("." === t) return this.root;
t = t.split(".");
} else if (!t.length) return this;
if ("" === t[0]) return this.root.lookup(t.slice(1), e);
var n = this.get(t[0]);
if (n) {
if (1 === t.length) {
if (!e || e.indexOf(n.constructor) > -1) return n;
} else if (n instanceof Namespace && (n = n.lookup(t.slice(1), e, !0))) return n;
} else for (var i = 0; i < this.nestedArray.length; ++i) if (this._nestedArray[i] instanceof Namespace && (n = this._nestedArray[i].lookup(t, e, !0))) return n;
return null === this.parent || r ? null : this.parent.lookup(t, e);
}, Namespace.prototype.lookupType = function(t) {
var e = this.lookup(t, [ i ]);
if (!e) throw Error("no such type: " + t);
return e;
}, Namespace.prototype.lookupEnum = function(t) {
var e = this.lookup(t, [ a ]);
if (!e) throw Error("no such Enum '" + t + "' in " + this);
return e;
}, Namespace.prototype.lookupTypeOrEnum = function(t) {
var e = this.lookup(t, [ i, a ]);
if (!e) throw Error("no such Type or Enum '" + t + "' in " + this);
return e;
}, Namespace.prototype.lookupService = function(t) {
var e = this.lookup(t, [ o ]);
if (!e) throw Error("no such Service '" + t + "' in " + this);
return e;
}, Namespace._configure = function(t, e, r) {
i = t, o = e, a = r;
};
},
8940: (t, e, r) => {
"use strict";
var n = r(6518), i = r(2703);
n({
global: !0,
forced: parseInt !== i
}, {
parseInt: i
});
},
8980: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9213).findIndex, o = r(6469), a = "findIndex", u = !0;
a in [] && Array(1)[a]((function() {
u = !1;
})), n({
target: "Array",
proto: !0,
forced: u
}, {
findIndex: function(t) {
return i(this, t, arguments.length > 1 ? arguments[1] : void 0);
}
}), o(a);
},
8981: (t, e, r) => {
"use strict";
var n = r(7750), i = Object;
t.exports = function(t) {
return i(n(t));
};
},
8995: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9213).map, o = n.aTypedArray, a = n.getTypedArrayConstructor;
(0, n.exportTypedArrayMethod)("map", (function(t) {
return i(o(this), t, arguments.length > 1 ? arguments[1] : void 0, (function(t, e) {
return new (a(t))(e);
}));
}));
},
9038: (t, e, r) => {
"use strict";
t.exports = r.p + "040d2e4af431a7b1504d.wasm";
},
9039: t => {
"use strict";
t.exports = function(t) {
try {
return !!t();
} catch (t) {
return !0;
}
};
},
9085: (t, e, r) => {
"use strict";
var n = r(6518), i = r(4213);
n({
target: "Object",
stat: !0,
arity: 2,
forced: Object.assign !== i
}, {
assign: i
});
},
9100: (t, e, r) => {
"use strict";
var n = t.exports = r(5325);
n.build = "full", n.tokenize = r(527), n.parse = r(4863), n.common = r(5095), n.Root._configure(n.Type, n.parse, n.common);
},
9167: (t, e, r) => {
"use strict";
var n = r(4576);
t.exports = n;
},
9207: (t, e) => {
"use strict";
var r = e, n = r.isAbsolute = function(t) {
return /^(?:\/|\w+:)/.test(t);
}, i = r.normalize = function(t) {
var e = (t = t.replace(/\\/g, "/").replace(/\/{2,}/g, "/")).split("/"), r = n(t), i = "";
r && (i = e.shift() + "/");
for (var o = 0; o < e.length; ) ".." === e[o] ? o > 0 && ".." !== e[o - 1] ? e.splice(--o, 2) : r ? e.splice(o, 1) : ++o : "." === e[o] ? e.splice(o, 1) : ++o;
return i + e.join("/");
};
r.resolve = function(t, e, r) {
return r || (e = i(e)), n(e) ? e : (r || (t = i(t)), (t = t.replace(/(?:\/|^)[^/]+$/, "")).length ? i(t + "/" + e) : e);
};
},
9213: (t, e, r) => {
"use strict";
var n = r(6080), i = r(9504), o = r(7055), a = r(8981), u = r(6198), s = r(1469), c = i([].push), createMethod = function(t) {
var e = 1 === t, r = 2 === t, i = 3 === t, f = 4 === t, l = 6 === t, h = 7 === t, d = 5 === t || l;
return function(v, p, b, y) {
for (var g, w, m = a(v), _ = o(m), O = u(_), k = n(p, b), S = 0, E = y || s, A = e ? E(v, O) : r || h ? E(v, 0) : void 0; O > S; S++) if ((d || S in _) && (w = k(g = _[S], S, m),
t)) if (e) A[S] = w; else if (w) switch (t) {
case 3:
return !0;
case 5:
return g;
case 6:
return S;
case 2:
c(A, g);
} else switch (t) {
case 4:
return !1;
case 7:
c(A, g);
}
return l ? -1 : i || f ? f : A;
};
};
t.exports = {
forEach: createMethod(0),
map: createMethod(1),
filter: createMethod(2),
some: createMethod(3),
every: createMethod(4),
find: createMethod(5),
findIndex: createMethod(6),
filterReject: createMethod(7)
};
},
9225: (t, e, r) => {
"use strict";
var n, i, o, a, u = r(4576), s = r(8745), c = r(6080), f = r(4901), l = r(9297), h = r(9039), d = r(397), v = r(7680), p = r(4055), b = r(2812), y = r(9544), g = r(6193), w = u.setImmediate, m = u.clearImmediate, _ = u.process, O = u.Dispatch, k = u.Function, S = u.MessageChannel, E = u.String, A = 0, j = {}, x = "onreadystatechange";
h((function() {
n = u.location;
}));
var run = function(t) {
if (l(j, t)) {
var e = j[t];
delete j[t], e();
}
}, runner = function(t) {
return function() {
run(t);
};
}, eventListener = function(t) {
run(t.data);
}, globalPostMessageDefer = function(t) {
u.postMessage(E(t), n.protocol + "//" + n.host);
};
w && m || (w = function(t) {
b(arguments.length, 1);
var e = f(t) ? t : k(t), r = v(arguments, 1);
return j[++A] = function() {
s(e, void 0, r);
}, i(A), A;
}, m = function(t) {
delete j[t];
}, g ? i = function(t) {
_.nextTick(runner(t));
} : O && O.now ? i = function(t) {
O.now(runner(t));
} : S && !y ? (a = (o = new S).port2, o.port1.onmessage = eventListener, i = c(a.postMessage, a)) : u.addEventListener && f(u.postMessage) && !u.importScripts && n && "file:" !== n.protocol && !h(globalPostMessageDefer) ? (i = globalPostMessageDefer,
u.addEventListener("message", eventListener, !1)) : i = x in p("script") ? function(t) {
d.appendChild(p("script"))[x] = function() {
d.removeChild(this), run(t);
};
} : function(t) {
setTimeout(runner(t), 0);
}), t.exports = {
set: w,
clear: m
};
},
9228: (t, e, r) => {
"use strict";
r(7495);
var n = r(9565), i = r(6840), o = r(7323), a = r(9039), u = r(8227), s = r(6699), c = u("species"), f = RegExp.prototype;
t.exports = function(t, e, r, l) {
var h = u(t), d = !a((function() {
var e = {};
return e[h] = function() {
return 7;
}, 7 !== ""[t](e);
})), v = d && !a((function() {
var e = !1, r = /a/;
return "split" === t && ((r = {}).constructor = {}, r.constructor[c] = function() {
return r;
}, r.flags = "", r[h] = /./[h]), r.exec = function() {
return e = !0, null;
}, r[h](""), !e;
}));
if (!d || !v || r) {
var p = /./[h], b = e(h, ""[t], (function(t, e, r, i, a) {
var u = e.exec;
return u === o || u === f.exec ? d && !a ? {
done: !0,
value: n(p, e, r, i)
} : {
done: !0,
value: n(t, r, e, i)
} : {
done: !1
};
}));
i(String.prototype, t, b[0]), i(f, h, b[1]);
}
l && s(f[h], "sham", !0);
};
},
9296: (t, e, r) => {
"use strict";
var n = r(4055)("span").classList, i = n && n.constructor && n.constructor.prototype;
t.exports = i === Object.prototype ? void 0 : i;
},
9297: (t, e, r) => {
"use strict";
var n = r(9504), i = r(8981), o = n({}.hasOwnProperty);
t.exports = Object.hasOwn || function(t, e) {
return o(i(t), e);
};
},
9306: (t, e, r) => {
"use strict";
var n = r(4901), i = r(6823), o = TypeError;
t.exports = function(t) {
if (n(t)) return t;
throw new o(i(t) + " is not a function");
};
},
9369: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9504), o = n.aTypedArray, a = n.exportTypedArrayMethod, u = i([].join);
a("join", (function(t) {
return u(o(this), t);
}));
},
9390: t => {
"use strict";
t.exports = function(t, e, r) {
var n = r || 8192, i = n >>> 1, o = null, a = n;
return function(r) {
if (r < 1 || r > i) return t(r);
a + r > n && (o = t(n), a = 0);
var u = e.call(o, a, a += r);
return 7 & a && (a = 1 + (7 | a)), u;
};
};
},
9410: t => {
"use strict";
function factory(t) {
return "undefined" != typeof Float32Array ? function() {
var e = new Float32Array([ -0 ]), r = new Uint8Array(e.buffer), n = 128 === r[3];
function writeFloat_f32_cpy(t, n, i) {
e[0] = t, n[i] = r[0], n[i + 1] = r[1], n[i + 2] = r[2], n[i + 3] = r[3];
}
function writeFloat_f32_rev(t, n, i) {
e[0] = t, n[i] = r[3], n[i + 1] = r[2], n[i + 2] = r[1], n[i + 3] = r[0];
}
function readFloat_f32_cpy(t, n) {
return r[0] = t[n], r[1] = t[n + 1], r[2] = t[n + 2], r[3] = t[n + 3], e[0];
}
function readFloat_f32_rev(t, n) {
return r[3] = t[n], r[2] = t[n + 1], r[1] = t[n + 2], r[0] = t[n + 3], e[0];
}
t.writeFloatLE = n ? writeFloat_f32_cpy : writeFloat_f32_rev, t.writeFloatBE = n ? writeFloat_f32_rev : writeFloat_f32_cpy,
t.readFloatLE = n ? readFloat_f32_cpy : readFloat_f32_rev, t.readFloatBE = n ? readFloat_f32_rev : readFloat_f32_cpy;
}() : function() {
function writeFloat_ieee754(t, e, r, n) {
var i = e < 0 ? 1 : 0;
if (i && (e = -e), 0 === e) t(1 / e > 0 ? 0 : 2147483648, r, n); else if (isNaN(e)) t(2143289344, r, n); else if (e > 34028234663852886e22) t((i << 31 | 2139095040) >>> 0, r, n); else if (e < 11754943508222875e-54) t((i << 31 | Math.round(e / 1401298464324817e-60)) >>> 0, r, n); else {
var o = Math.floor(Math.log(e) / Math.LN2);
t((i << 31 | o + 127 << 23 | 8388607 & Math.round(e * Math.pow(2, -o) * 8388608)) >>> 0, r, n);
}
}
function readFloat_ieee754(t, e, r) {
var n = t(e, r), i = 2 * (n >> 31) + 1, o = n >>> 23 & 255, a = 8388607 & n;
return 255 === o ? a ? NaN : i * (1 / 0) : 0 === o ? 1401298464324817e-60 * i * a : i * Math.pow(2, o - 150) * (a + 8388608);
}
t.writeFloatLE = writeFloat_ieee754.bind(null, writeUintLE), t.writeFloatBE = writeFloat_ieee754.bind(null, writeUintBE),
t.readFloatLE = readFloat_ieee754.bind(null, readUintLE), t.readFloatBE = readFloat_ieee754.bind(null, readUintBE);
}(), "undefined" != typeof Float64Array ? function() {
var e = new Float64Array([ -0 ]), r = new Uint8Array(e.buffer), n = 128 === r[7];
function writeDouble_f64_cpy(t, n, i) {
e[0] = t, n[i] = r[0], n[i + 1] = r[1], n[i + 2] = r[2], n[i + 3] = r[3], n[i + 4] = r[4],
n[i + 5] = r[5], n[i + 6] = r[6], n[i + 7] = r[7];
}
function writeDouble_f64_rev(t, n, i) {
e[0] = t, n[i] = r[7], n[i + 1] = r[6], n[i + 2] = r[5], n[i + 3] = r[4], n[i + 4] = r[3],
n[i + 5] = r[2], n[i + 6] = r[1], n[i + 7] = r[0];
}
function readDouble_f64_cpy(t, n) {
return r[0] = t[n], r[1] = t[n + 1], r[2] = t[n + 2], r[3] = t[n + 3], r[4] = t[n + 4],
r[5] = t[n + 5], r[6] = t[n + 6], r[7] = t[n + 7], e[0];
}
function readDouble_f64_rev(t, n) {
return r[7] = t[n], r[6] = t[n + 1], r[5] = t[n + 2], r[4] = t[n + 3], r[3] = t[n + 4],
r[2] = t[n + 5], r[1] = t[n + 6], r[0] = t[n + 7], e[0];
}
t.writeDoubleLE = n ? writeDouble_f64_cpy : writeDouble_f64_rev, t.writeDoubleBE = n ? writeDouble_f64_rev : writeDouble_f64_cpy,
t.readDoubleLE = n ? readDouble_f64_cpy : readDouble_f64_rev, t.readDoubleBE = n ? readDouble_f64_rev : readDouble_f64_cpy;
}() : function() {
function writeDouble_ieee754(t, e, r, n, i, o) {
var a = n < 0 ? 1 : 0;
if (a && (n = -n), 0 === n) t(0, i, o + e), t(1 / n > 0 ? 0 : 2147483648, i, o + r); else if (isNaN(n)) t(0, i, o + e),
t(2146959360, i, o + r); else if (n > 17976931348623157e292) t(0, i, o + e), t((a << 31 | 2146435072) >>> 0, i, o + r); else {
var u;
if (n < 22250738585072014e-324) t((u = n / 5e-324) >>> 0, i, o + e), t((a << 31 | u / 4294967296) >>> 0, i, o + r); else {
var s = Math.floor(Math.log(n) / Math.LN2);
1024 === s && (s = 1023), t(4503599627370496 * (u = n * Math.pow(2, -s)) >>> 0, i, o + e),
t((a << 31 | s + 1023 << 20 | 1048576 * u & 1048575) >>> 0, i, o + r);
}
}
}
function readDouble_ieee754(t, e, r, n, i) {
var o = t(n, i + e), a = t(n, i + r), u = 2 * (a >> 31) + 1, s = a >>> 20 & 2047, c = 4294967296 * (1048575 & a) + o;
return 2047 === s ? c ? NaN : u * (1 / 0) : 0 === s ? 5e-324 * u * c : u * Math.pow(2, s - 1075) * (c + 4503599627370496);
}
t.writeDoubleLE = writeDouble_ieee754.bind(null, writeUintLE, 0, 4), t.writeDoubleBE = writeDouble_ieee754.bind(null, writeUintBE, 4, 0),
t.readDoubleLE = readDouble_ieee754.bind(null, readUintLE, 0, 4), t.readDoubleBE = readDouble_ieee754.bind(null, readUintBE, 4, 0);
}(), t;
}
function writeUintLE(t, e, r) {
e[r] = 255 & t, e[r + 1] = t >>> 8 & 255, e[r + 2] = t >>> 16 & 255, e[r + 3] = t >>> 24;
}
function writeUintBE(t, e, r) {
e[r] = t >>> 24, e[r + 1] = t >>> 16 & 255, e[r + 2] = t >>> 8 & 255, e[r + 3] = 255 & t;
}
function readUintLE(t, e) {
return (t[e] | t[e + 1] << 8 | t[e + 2] << 16 | t[e + 3] << 24) >>> 0;
}
function readUintBE(t, e) {
return (t[e] << 24 | t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3]) >>> 0;
}
t.exports = factory(factory);
},
9423: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9039), o = r(7680), a = n.aTypedArray, u = n.getTypedArrayConstructor;
(0, n.exportTypedArrayMethod)("slice", (function(t, e) {
for (var r = o(a(this), t, e), n = u(this), i = 0, s = r.length, c = new n(s); s > i; ) c[i] = r[i++];
return c;
}), i((function() {
new Int8Array(1).slice();
})));
},
9432: (t, e, r) => {
"use strict";
var n = r(6518), i = r(8981), o = r(1072);
n({
target: "Object",
stat: !0,
forced: r(9039)((function() {
o(1);
}))
}, {
keys: function(t) {
return o(i(t));
}
});
},
9433: (t, e, r) => {
"use strict";
var n = r(4576), i = Object.defineProperty;
t.exports = function(t, e) {
try {
i(n, t, {
value: e,
configurable: !0,
writable: !0
});
} catch (r) {
n[t] = e;
}
return e;
};
},
9463: (t, e, r) => {
"use strict";
var n = r(6518), i = r(3724), o = r(4576), a = r(9504), u = r(9297), s = r(4901), c = r(1625), f = r(655), l = r(2106), h = r(7740), d = o.Symbol, v = d && d.prototype;
if (i && s(d) && (!("description" in v) || void 0 !== d().description)) {
var p = {}, SymbolWrapper = function() {
var t = arguments.length < 1 || void 0 === arguments[0] ? void 0 : f(arguments[0]), e = c(v, this) ? new d(t) : void 0 === t ? d() : d(t);
return "" === t && (p[e] = !0), e;
};
h(SymbolWrapper, d), SymbolWrapper.prototype = v, v.constructor = SymbolWrapper;
var b = "Symbol(description detection)" === String(d("description detection")), y = a(v.valueOf), g = a(v.toString), w = /^Symbol\((.*)\)[^)]+$/, m = a("".replace), _ = a("".slice);
l(v, "description", {
configurable: !0,
get: function() {
var t = y(this);
if (u(p, t)) return "";
var e = g(t), r = b ? _(e, 7, -1) : m(e, w, "$1");
return "" === r ? void 0 : r;
}
}), n({
global: !0,
constructor: !0,
forced: !0
}, {
Symbol: SymbolWrapper
});
}
},
9504: (t, e, r) => {
"use strict";
var n = r(616), i = Function.prototype, o = i.call, a = n && i.bind.bind(o, o);
t.exports = n ? a : function(t) {
return function() {
return o.apply(t, arguments);
};
};
},
9519: (t, e, r) => {
"use strict";
var n, i, o = r(4576), a = r(2839), u = o.process, s = o.Deno, c = u && u.versions || s && s.version, f = c && c.v8;
f && (i = (n = f.split("."))[0] > 0 && n[0] < 4 ? 1 : +(n[0] + n[1])), !i && a && (!(n = a.match(/Edge\/(\d+)/)) || n[1] >= 74) && (n = a.match(/Chrome\/(\d+)/)) && (i = +n[1]),
t.exports = i;
},
9539: (t, e, r) => {
"use strict";
var n = r(9565), i = r(8551), o = r(5966);
t.exports = function(t, e, r) {
var a, u;
i(t);
try {
if (!(a = o(t, "return"))) {
if ("throw" === e) throw r;
return r;
}
a = n(a, t);
} catch (t) {
u = !0, a = t;
}
if ("throw" === e) throw r;
if (u) throw a;
return i(a), r;
};
},
9544: (t, e, r) => {
"use strict";
var n = r(2839);
t.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(n);
},
9565: (t, e, r) => {
"use strict";
var n = r(616), i = Function.prototype.call;
t.exports = n ? i.bind(i) : function() {
return i.apply(i, arguments);
};
},
9590: (t, e, r) => {
"use strict";
var n = r(1291), i = RangeError;
t.exports = function(t) {
var e = n(t);
if (e < 0) throw new i("The argument can't be less than 0");
return e;
};
},
9617: (t, e, r) => {
"use strict";
var n = r(5397), i = r(5610), o = r(6198), createMethod = function(t) {
return function(e, r, a) {
var u = n(e), s = o(u);
if (0 === s) return !t && -1;
var c, f = i(a, s);
if (t && r != r) {
for (;s > f; ) if ((c = u[f++]) != c) return !0;
} else for (;s > f; f++) if ((t || f in u) && u[f] === r) return t || f || 0;
return !t && -1;
};
};
t.exports = {
includes: createMethod(!0),
indexOf: createMethod(!1)
};
},
9687: (t, e, r) => {
"use strict";
t.exports = Service;
var n = r(8923);
((Service.prototype = Object.create(n.prototype)).constructor = Service).className = "Service";
var i = r(8811), o = r(3262), a = r(5047);
function Service(t, e) {
n.call(this, t, e), this.methods = {}, this._methodsArray = null;
}
function clearCache(t) {
return t._methodsArray = null, t;
}
Service.fromJSON = function(t, e) {
var r = new Service(t, e.options);
if (e.methods) for (var n = Object.keys(e.methods), o = 0; o < n.length; ++o) r.add(i.fromJSON(n[o], e.methods[n[o]]));
return e.nested && r.addJSON(e.nested), r.comment = e.comment, r;
}, Service.prototype.toJSON = function(t) {
var e = n.prototype.toJSON.call(this, t), r = !!t && Boolean(t.keepComments);
return o.toObject([ "options", e && e.options || void 0, "methods", n.arrayToJSON(this.methodsArray, t) || {}, "nested", e && e.nested || void 0, "comment", r ? this.comment : void 0 ]);
}, Object.defineProperty(Service.prototype, "methodsArray", {
get: function() {
return this._methodsArray || (this._methodsArray = o.toArray(this.methods));
}
}), Service.prototype.get = function(t) {
return this.methods[t] || n.prototype.get.call(this, t);
}, Service.prototype.resolveAll = function() {
for (var t = this.methodsArray, e = 0; e < t.length; ++e) t[e].resolve();
return n.prototype.resolve.call(this);
}, Service.prototype.add = function(t) {
if (this.get(t.name)) throw Error("duplicate name '" + t.name + "' in " + this);
return t instanceof i ? (this.methods[t.name] = t, t.parent = this, clearCache(this)) : n.prototype.add.call(this, t);
}, Service.prototype.remove = function(t) {
if (t instanceof i) {
if (this.methods[t.name] !== t) throw Error(t + " is not a member of " + this);
return delete this.methods[t.name], t.parent = null, clearCache(this);
}
return n.prototype.remove.call(this, t);
}, Service.prototype.create = function(t, e, r) {
for (var n, i = new a.Service(t, e, r), u = 0; u < this.methodsArray.length; ++u) {
var s = o.lcFirst((n = this._methodsArray[u]).resolve().name).replace(/[^$\w_]/g, "");
i[s] = o.codegen([ "r", "c" ], o.isReserved(s) ? s + "_" : s)("return this.rpcCall(m,q,s,r,c)")({
m: n,
q: n.resolvedRequestType.ctor,
s: n.resolvedResponseType.ctor
});
}
return i;
};
},
9773: (t, e, r) => {
"use strict";
var n = r(6518), i = r(4495), o = r(9039), a = r(3717), u = r(8981);
n({
target: "Object",
stat: !0,
forced: !i || o((function() {
a.f(1);
}))
}, {
getOwnPropertySymbols: function(t) {
var e = a.f;
return e ? e(u(t)) : [];
}
});
},
9868: (t, e, r) => {
"use strict";
var n = r(6518), i = r(9504), o = r(1291), a = r(1240), u = r(2333), s = r(9039), c = RangeError, f = String, l = Math.floor, h = i(u), d = i("".slice), v = i(1..toFixed), pow = function(t, e, r) {
return 0 === e ? r : e % 2 == 1 ? pow(t, e - 1, r * t) : pow(t * t, e / 2, r);
}, multiply = function(t, e, r) {
for (var n = -1, i = r; ++n < 6; ) i += e * t[n], t[n] = i % 1e7, i = l(i / 1e7);
}, divide = function(t, e) {
for (var r = 6, n = 0; --r >= 0; ) n += t[r], t[r] = l(n / e), n = n % e * 1e7;
}, dataToString = function(t) {
for (var e = 6, r = ""; --e >= 0; ) if ("" !== r || 0 === e || 0 !== t[e]) {
var n = f(t[e]);
r = "" === r ? n : r + h("0", 7 - n.length) + n;
}
return r;
};
n({
target: "Number",
proto: !0,
forced: s((function() {
return "0.000" !== v(8e-5, 3) || "1" !== v(.9, 0) || "1.25" !== v(1.255, 2) || "1000000000000000128" !== v(0xde0b6b3a7640080, 0);
})) || !s((function() {
v({});
}))
}, {
toFixed: function(t) {
var e, r, n, i, u = a(this), s = o(t), l = [ 0, 0, 0, 0, 0, 0 ], v = "", p = "0";
if (s < 0 || s > 20) throw new c("Incorrect fraction digits");
if (u != u) return "NaN";
if (u <= -1e21 || u >= 1e21) return f(u);
if (u < 0 && (v = "-", u = -u), u > 1e-21) if (r = (e = function(t) {
for (var e = 0, r = t; r >= 4096; ) e += 12, r /= 4096;
for (;r >= 2; ) e += 1, r /= 2;
return e;
}(u * pow(2, 69, 1)) - 69) < 0 ? u * pow(2, -e, 1) : u / pow(2, e, 1), r *= 4503599627370496,
(e = 52 - e) > 0) {
for (multiply(l, 0, r), n = s; n >= 7; ) multiply(l, 1e7, 0), n -= 7;
for (multiply(l, pow(10, n, 1), 0), n = e - 1; n >= 23; ) divide(l, 1 << 23), n -= 23;
divide(l, 1 << n), multiply(l, 1, 1), divide(l, 2), p = dataToString(l);
} else multiply(l, 0, r), multiply(l, 1 << -e, 0), p = dataToString(l) + h("0", s);
return s > 0 ? v + ((i = p.length) <= s ? "0." + h("0", s - i) + p : d(p, 0, i - s) + "." + d(p, i - s)) : v + p;
}
});
},
9948: (t, e, r) => {
"use strict";
var n = r(5370), i = r(4644).getTypedArrayConstructor;
t.exports = function(t, e) {
return n(i(t), e);
};
},
9955: (t, e, r) => {
"use strict";
var n = r(4644), i = r(9213).findIndex, o = n.aTypedArray;
(0, n.exportTypedArrayMethod)("findIndex", (function(t) {
return i(o(this), t, arguments.length > 1 ? arguments[1] : void 0);
}));
}
}, __webpack_module_cache__ = {};
function __webpack_require__(t) {
var e = __webpack_module_cache__[t];
if (void 0 !== e) return e.exports;
var r = __webpack_module_cache__[t] = {
exports: {}
};
return __webpack_modules__[t].call(r.exports, r, r.exports, __webpack_require__),
r.exports;
}
__webpack_require__.m = __webpack_modules__, __webpack_require__.n = t => {
var e = t && t.__esModule ? () => t.default : () => t;
return __webpack_require__.d(e, {
a: e
}), e;
}, __webpack_require__.d = (t, e) => {
for (var r in e) __webpack_require__.o(e, r) && !__webpack_require__.o(t, r) && Object.defineProperty(t, r, {
enumerable: !0,
get: e[r]
});
}, __webpack_require__.g = function() {
if ("object" == typeof globalThis) return globalThis;
try {
return this || new Function("return this")();
} catch (t) {
if ("object" == typeof window) return window;
}
}(), __webpack_require__.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e),
__webpack_require__.r = t => {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
value: "Module"
}), Object.defineProperty(t, "__esModule", {
value: !0
});
}, (() => {
var t;
__webpack_require__.g.importScripts && (t = __webpack_require__.g.location + "");
var e = __webpack_require__.g.document;
if (!t && e && (e.currentScript && "SCRIPT" === e.currentScript.tagName.toUpperCase() && (t = e.currentScript.src),
!t)) {
var r = e.getElementsByTagName("script");
if (r.length) for (var n = r.length - 1; n > -1 && (!t || !/^http(s?):/.test(t)); ) t = r[n--].src;
}
if (!t) throw new Error("Automatic publicPath is not supported in this browser");
t = t.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/"),
__webpack_require__.p = t;
})(), __webpack_require__.b = document.baseURI || self.location.href;
var __webpack_exports__ = {};
return (() => {
"use strict";
__webpack_require__.d(__webpack_exports__, {
"default": () => Mt
});
var t = __webpack_require__(467), e = __webpack_require__(4756), r = __webpack_require__.n(e), n = (__webpack_require__(2008),
__webpack_require__(113), __webpack_require__(3792), __webpack_require__(9085),
__webpack_require__(9432), __webpack_require__(6099), __webpack_require__(6034),
__webpack_require__(8940), __webpack_require__(1415), __webpack_require__(7764),
__webpack_require__(3500), __webpack_require__(2953), __webpack_require__(2062),
__webpack_require__(3362), null), i = null, o = null;
function initPathfinder() {
return _initPathfinder.apply(this, arguments);
}
function _initPathfinder() {
return (_initPathfinder = (0, t.A)(r().mark((function _callee() {
var t;
return r().wrap((function(e) {
for (;;) switch (e.prev = e.next) {
case 0:
if (!n) {
e.next = 2;
break;
}
return e.abrupt("return", !0);
case 2:
return e.prev = 2, e.next = 6, Promise.resolve().then(__webpack_require__.bind(__webpack_require__, 7605));
case 6:
return t = e.sent, e.next = 9, t.default();
case 9:
return n = t, i = t.compute_path, e.abrupt("return", !0);
case 15:
return e.prev = 15, e.t0 = e.catch(2), n = null, i = null, e.abrupt("return", !1);
case 21:
case "end":
return e.stop();
}
}), _callee, null, [ [ 2, 15 ] ]);
})))).apply(this, arguments);
}
function getCurrentPath() {
return o;
}
function calculatePathAsync(t, e, r, n, i, o) {
return _calculatePathAsync.apply(this, arguments);
}
function _calculatePathAsync() {
return (_calculatePathAsync = (0, t.A)(r().mark((function _callee2(t, e, n, o, a, u) {
var s, c;
return r().wrap((function(r) {
for (;;) switch (r.prev = r.next) {
case 0:
if (i) {
r.next = 3;
break;
}
return r.abrupt("return", null);
case 3:
if (s = n.map((function(t) {
return {
centerX: t.x,
centerY: t.y,
radius: t.radius
};
})), r.prev = 4, null !== (c = i(t.x, t.y, e.x, e.y, s, o, a, u))) {
r.next = 8;
break;
}
return r.abrupt("return", null);
case 8:
return r.abrupt("return", c);
case 11:
return r.prev = 11, r.t0 = r.catch(4), r.abrupt("return", null);
case 15:
case "end":
return r.stop();
}
}), _callee2, null, [ [ 4, 11 ] ]);
})))).apply(this, arguments);
}
const a = {
selfId: null,
area: null,
entities: {},
globalEntities: {},
settings: {},
mouseScreenX: 0,
mouseScreenY: 0,
mouseGameX: 0,
mouseGameY: 0,
safeMoveX: 0,
safeMoveY: 0,
reset: function() {
this.entities = {}, this.globalEntities = {};
},
update: function(t) {
var e = this, r = Date.now(), n = new Set, i = new Set;
t.complete ? (t.selfId && (this.selfId = t.selfId), t.area && (this.area = t.area),
t.settings && (this.settings = t.settings), t.entities && (this.entities = {}, t.entities.forEach((function(t) {
t._lastUpdated = r, e.entities[t.id] = t, n.add(t.id);
}))), t.globalEntities && (this.globalEntities = {}, t.globalEntities.forEach((function(t) {
t._lastUpdated = r, e.globalEntities[t.id] = t, i.add(t.id);
})))) : (t.entities || t.globalEntities) && (t.entities && t.entities.forEach((function(i) {
if (n.add(i.id), !0 === i.removed) {
var a;
i.id === e.selfId && (e.area = null, o = null);
var u = (null === (a = t.globalEntities) || void 0 === a ? void 0 : a.find((function(t) {
return t.id === i.id;
}))) || e.globalEntities[i.id];
return u && u.areaNumber, delete e.entities[i.id], void delete e.entities[i.id];
}
e.entities[i.id] ? (Object.assign(e.entities[i.id], i), e.entities[i.id]._lastUpdated = r) : (i._lastUpdated = r,
e.entities[i.id] = i);
})), t.globalEntities && t.globalEntities.forEach((function(t) {
i.add(t.id), e.globalEntities[t.id] ? (Object.assign(e.globalEntities[t.id], t),
e.globalEntities[t.id]._lastUpdated = r) : (t._lastUpdated = r, e.globalEntities[t.id] = t);
})), this.cleanupMissingEntities(n, this.entities), this.cleanupMissingEntities(i, this.globalEntities)),
this.cleanupExpiredEntities();
},
cleanupMissingEntities: function(t, e) {
Object.keys(e).forEach((function(r) {
void 0 === e[r].deathTimer || t.has(parseInt(r)) || delete e[r];
}));
},
cleanupExpiredEntities: function() {
var t = this, e = Date.now();
Object.keys(this.entities).forEach((function(r) {
var n = t.entities[r];
void 0 !== n.duration && e - n._lastUpdated >= n.duration && delete t.entities[r];
})), Object.keys(this.globalEntities).forEach((function(r) {
var n = t.globalEntities[r];
void 0 !== n.duration && e - n._lastUpdated >= n.duration && delete t.globalEntities[r];
}));
},
getPlayer: function() {
return this.selfId ? this.entities[this.selfId] : null;
},
getNearbyEntities: function() {
var t = this, e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1e3, r = this.getPlayer();
return r ? Object.values(this.entities).filter((function(n) {
if (n.id === t.selfId) return !1;
var i = n.x - r.x, o = n.y - r.y;
return Math.sqrt(i * i + o * o) <= e;
})) : [];
},
checkExpiredEntities: function() {
this.cleanupExpiredEntities();
},
updateMouseScreenCoords: function(t, e) {
this.mouseScreenX = t, this.mouseScreenY = e;
},
updateCalculatedMouseGameCoords: function(t, e) {
this.mouseGameX = t, this.mouseGameY = e;
},
updateSafeMoveCoords: function(t, e) {
this.safeMoveX = t, this.safeMoveY = e;
}
};
function _arrayLikeToArray(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
return n;
}
function _unsupportedIterableToArray(t, e) {
if (t) {
if ("string" == typeof t) return _arrayLikeToArray(t, e);
var r = {}.toString.call(t).slice(8, -1);
return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? _arrayLikeToArray(t, e) : void 0;
}
}
function _toConsumableArray(t) {
return function(t) {
if (Array.isArray(t)) return _arrayLikeToArray(t);
}(t) || function(t) {
if ("undefined" != typeof Symbol && null != t[Symbol.iterator] || null != t["@@iterator"]) return Array.from(t);
}(t) || _unsupportedIterableToArray(t) || function() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}();
}
var u = __webpack_require__(2284);
function _slicedToArray(t, e) {
return function(t) {
if (Array.isArray(t)) return t;
}(t) || function(t, e) {
var r = null == t ? null : "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
if (null != r) {
var n, i, o, a, u = [], s = !0, c = !1;
try {
if (o = (r = r.call(t)).next, 0 === e) {
if (Object(r) !== r) return;
s = !1;
} else for (;!(s = (n = o.call(r)).done) && (u.push(n.value), u.length !== e); s = !0) ;
} catch (t) {
c = !0, i = t;
} finally {
try {
if (!s && null != r.return && (a = r.return(), Object(a) !== a)) return;
} finally {
if (c) throw i;
}
}
return u;
}
}(t, e) || _unsupportedIterableToArray(t, e) || function() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}();
}
var s = __webpack_require__(816);
function _defineProperty(t, e, r) {
return (e = (0, s.A)(e)) in t ? Object.defineProperty(t, e, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : t[e] = r, t;
}
__webpack_require__(8706), __webpack_require__(8980), __webpack_require__(4554),
__webpack_require__(4743), __webpack_require__(1745), __webpack_require__(9868),
__webpack_require__(5506), __webpack_require__(2675), __webpack_require__(3851),
__webpack_require__(1278), __webpack_require__(7495), __webpack_require__(1761),
__webpack_require__(1392), __webpack_require__(1489), __webpack_require__(1630),
__webpack_require__(2170), __webpack_require__(5044), __webpack_require__(1920),
__webpack_require__(1694), __webpack_require__(9955), __webpack_require__(3206),
__webpack_require__(4496), __webpack_require__(6651), __webpack_require__(2887),
__webpack_require__(9369), __webpack_require__(6812), __webpack_require__(8995),
__webpack_require__(1575), __webpack_require__(6072), __webpack_require__(8747),
__webpack_require__(8845), __webpack_require__(9423), __webpack_require__(7301),
__webpack_require__(373), __webpack_require__(6614), __webpack_require__(1405),
__webpack_require__(3684);
const c = {
enemyRadiusMap: {},
previousPositions: {},
velocities: {},
init: function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return t.enemyRadiusMap && (this.enemyRadiusMap = t.enemyRadiusMap), this;
},
setEnemyRadiusMap: function(t) {
return this.enemyRadiusMap = t, this;
},
getEntityRadius: function(t, e) {
if (!t || void 0 === t.entityType) return 15;
if (t.radius) return t.radius;
var r = t.entityType, n = e ? e(r).toLowerCase() : "type_".concat(r);
return void 0 !== this.enemyRadiusMap[n] ? this.enemyRadiusMap[n] : 15;
},
updateVelocities: function() {
var t = this, e = a.entities, r = new Set(Object.keys(e));
Object.values(e).forEach((function(e) {
if (e.id !== a.selfId) {
var r = String(e.id);
if (t.previousPositions[r]) {
var n = t.previousPositions[r], i = e.x - n.x, o = e.y - n.y;
t.velocities[r] = {
x: i,
y: o
}, t.previousPositions[r] = {
x: e.x,
y: e.y
};
} else t.previousPositions[r] = {
x: e.x,
y: e.y
}, t.velocities[r] = {
x: 0,
y: 0
};
}
})), Object.keys(this.previousPositions).forEach((function(e) {
r.has(e) || (delete t.previousPositions[e], delete t.velocities[e]);
}));
},
getVelocity: function(t) {
return this.velocities[String(t)] || {
x: 0,
y: 0
};
},
getTrackedEntities: function(t) {
var e = this, r = [], n = a.entities;
return Object.values(n).forEach((function(n) {
if (n.id !== a.selfId && !n.isHarmless && void 0 !== n.entityType && 0 != Y.isEntityTypeDangerous(n.entityType)) {
var i = String(n.id), o = e.getEntityRadius(n, t), u = e.velocities[i] || {
x: 0,
y: 0
};
r.push({
id: n.id,
x: n.x,
y: n.y,
radius: o,
velocity: u,
entityType: n.entityType
});
}
})), r;
}
}, f = {
playerRadius: 15,
safetyMargin: 10,
enabled: !0,
fieldStrengthBase: 5e3,
fieldExponent: 1.3,
speedInfluence: 1.6,
directionBias: 1,
touchingDistance: 2,
deadzoneDistance: 0,
fieldDataEnabled: !0,
fieldData: {},
lastCalculatedForce: {
x: 0,
y: 0
},
lastForceMagnitude: 0,
autoForceKey11: !1,
autoForceKey10: !1,
key11Threshold: 1e3,
key10Threshold: 1e3,
init: function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return void 0 !== t.playerRadius && (this.playerRadius = t.playerRadius), void 0 !== t.safetyMargin && (this.safetyMargin = t.safetyMargin),
void 0 !== t.enabled && (this.enabled = t.enabled), void 0 !== t.fieldStrengthBase && (this.fieldStrengthBase = t.fieldStrengthBase),
void 0 !== t.fieldExponent && (this.fieldExponent = t.fieldExponent), void 0 !== t.speedInfluence && (this.speedInfluence = t.speedInfluence),
void 0 !== t.directionBias && (this.directionBias = t.directionBias), void 0 !== t.touchingDistance && (this.touchingDistance = t.touchingDistance),
void 0 !== t.fieldDataEnabled && (this.fieldDataEnabled = t.fieldDataEnabled), this;
},
_calculateEntityField: function(t, e, r) {
var n = t.id, i = t.x, o = t.y, a = t.radius, u = t.velocity, s = i - e, c = o - r, f = s * s + c * c, l = Math.sqrt(f);
if (l > 300) return {
x: 0,
y: 0,
magnitude: 0
};
var h = l <= this.playerRadius + a + this.touchingDistance;
if (this.deadzoneDistance > 0 && l <= a + this.deadzoneDistance) return this.fieldDataEnabled && (this.fieldData[n] = {
position: {
x: i,
y: o
},
velocity: {
x: u.x,
y: u.y
},
fieldStrength: 0,
forceVector: {
x: 0,
y: 0
},
isTouching: h,
inDeadzone: !0
}), {
x: 0,
y: 0,
magnitude: 0,
isTouching: h
};
var d, v = this.playerRadius + a + this.safetyMargin, p = Math.max(l - v, .1);
d = h ? 10 * this.fieldStrengthBase : this.fieldStrengthBase / Math.pow(p, this.fieldExponent);
var b = Math.sqrt(u.x * u.x + u.y * u.y);
d *= 1 + this.speedInfluence * b;
var y = 1;
if (b > .1) {
var g = (u.x / b * s + u.y / b * c) / l;
g > 0 && (y = 1 + g * this.directionBias);
}
d *= y;
var w = 0, m = 0;
if (l > 0) w = -s / l * d, m = -c / l * d; else {
var _ = 2 * Math.random() * Math.PI;
w = Math.cos(_) * d, m = Math.sin(_) * d;
}
return this.fieldDataEnabled && (this.fieldData[n] = {
position: {
x: i,
y: o
},
velocity: {
x: u.x,
y: u.y
},
fieldStrength: d,
forceVector: {
x: w,
y: m
},
isTouching: h
}), {
x: w,
y: m,
magnitude: d,
isTouching: h
};
},
calculateFieldStrengthAtPoint: function(t, e, r) {
var n = t.x, i = t.y, o = t.radius, a = t.velocity, u = n - e, s = i - r, c = u * u + s * s, f = Math.sqrt(c);
if (f > 300) return 0;
var l, h = this.playerRadius + o + this.safetyMargin, d = Math.max(f - h, .1);
l = f <= h + this.touchingDistance ? 10 * this.fieldStrengthBase : this.fieldStrengthBase / Math.pow(d, this.fieldExponent);
var v = Math.sqrt(a.x * a.x + a.y * a.y);
if (l *= 1 + this.speedInfluence * v, v > .1) {
var p = a.x / v, b = a.y / v, y = Math.sqrt(u * u + s * s);
if (y > .1) {
var g = p * (u / y) + b * (s / y);
if (g < 0) {
var w = 1 + .5 * v;
l *= 1 + Math.abs(g) * this.directionBias * w;
}
}
}
return l;
},
getForceMagnitude: function() {
return this.lastForceMagnitude;
},
calculateSafeMovement: function(t, e, r) {
var n = this, i = a.getPlayer();
if (i && i.isInvulnerable) return a.updateSafeMoveCoords(t, e), {
x: t,
y: e,
collision: !1
};
if (!this.enabled) return a.updateSafeMoveCoords(t, e), {
x: t,
y: e,
collision: !1
};
if (!i || 0 === t && 0 === e) return a.updateSafeMoveCoords(t, e), {
x: t,
y: e,
collision: !1
};
c.updateVelocities();
var o = i.x, u = i.y;
this.fieldDataEnabled && (this.fieldData = {});
var s = 0, f = 0, l = !1;
c.getTrackedEntities(r).forEach((function(t) {
var e = n._calculateEntityField(t, o, u);
s += e.x, f += e.y;
var r = Math.sqrt(s * s + f * f);
n.lastForceMagnitude = r, e.isTouching && (l = !0);
})), this.lastCalculatedForce = {
x: s,
y: f
};
var h = Math.sqrt(t * t + e * e);
if (0 === h) return {
x: t,
y: e,
collision: !1
};
var d, v, p = t / h, b = e / h;
if (l) {
var y = Math.sqrt(s * s + f * f);
y > 0 ? (d = s / y * h, v = f / y * h) : (d = t, v = e);
} else {
var g = Math.sqrt(s * s + f * f);
if (g > 0) {
var w = h / Math.max(g, h), m = s * w, _ = f * w, O = Math.min(g / 2e3, 1);
d = p * h * (1 - O) + m * O, v = b * h * (1 - O) + _ * O;
} else d = t, v = e;
}
var k = Math.abs(d - t) > .01 || Math.abs(v - e) > .01;
return a.updateSafeMoveCoords(d, v), {
x: d,
y: v,
collision: k,
fieldData: this.fieldDataEnabled ? this.fieldData : null
};
},
getFieldData: function() {
return this.fieldDataEnabled ? this.fieldData : null;
}
};
function _isNativeReflectConstruct() {
try {
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {})));
} catch (t) {}
return (_isNativeReflectConstruct = function() {
return !!t;
})();
}
function _setPrototypeOf(t, e) {
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
return t.__proto__ = e, t;
}, _setPrototypeOf(t, e);
}
function _createForOfIteratorHelper(t, e) {
var r = "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
if (!r) {
if (Array.isArray(t) || (r = function(t, e) {
if (t) {
if ("string" == typeof t) return CWSS_arrayLikeToArray(t, e);
var r = {}.toString.call(t).slice(8, -1);
return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? CWSS_arrayLikeToArray(t, e) : void 0;
}
}(t)) || e && t && "number" == typeof t.length) {
r && (t = r);
var n = 0, F = function() {};
return {
s: F,
n: function() {
return n >= t.length ? {
done: !0
} : {
done: !1,
value: t[n++]
};
},
e: function(t) {
throw t;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var i, o = !0, a = !1;
return {
s: function() {
r = r.call(t);
},
n: function() {
var t = r.next();
return o = t.done, t;
},
e: function(t) {
a = !0, i = t;
},
f: function() {
try {
o || null == r.return || r.return();
} finally {
if (a) throw i;
}
}
};
}
function CWSS_arrayLikeToArray(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
return n;
}
__webpack_require__(9463), __webpack_require__(2259), __webpack_require__(6449),
__webpack_require__(3418), __webpack_require__(4782), __webpack_require__(6910),
__webpack_require__(3514), __webpack_require__(2010), __webpack_require__(8781);
const l = function() {
var e = window.CWSS || {};
if (e.ws) return e;
var n = WebSocket.prototype, i = Object.defineProperty, rebase = function(t, e, r) {
return i(t, e, {
configurable: !0,
enumerable: !0,
set: function(t) {
return r.push(t);
}
});
}, native = function(t, e) {
t.toString = function() {
var t;
return (t = Function.toString).call.apply(t, [ e ].concat(Array.prototype.slice.call(arguments)));
};
}, pipe = function(n) {
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++) o[a - 1] = arguments[a];
return (0, t.A)(r().mark((function _callee() {
var t, i, a, u, s, c = this, f = arguments;
return r().wrap((function(r) {
for (;;) switch (r.prev = r.next) {
case 0:
t = f, i = _createForOfIteratorHelper(e.hooks.sort((function(t, e) {
return e.priority - t.priority;
}))), r.prev = 2, i.s();
case 4:
if ((a = i.n()).done) {
r.next = 15;
break;
}
if ((s = a.value)[n]) {
r.next = 8;
break;
}
return r.abrupt("continue", 13);
case 8:
if (t) {
r.next = 10;
break;
}
return r.abrupt("break", 15);
case 10:
return r.next = 12, (u = s[n]).call.apply(u, [ this ].concat(_toConsumableArray(t)));
case 12:
t = r.sent;
case 13:
r.next = 4;
break;
case 15:
r.next = 20;
break;
case 17:
r.prev = 17, r.t0 = r.catch(2), i.e(r.t0);
case 20:
return r.prev = 20, i.f(), r.finish(20);
case 23:
if (t) {
r.next = 25;
break;
}
return r.abrupt("return");
case 25:
o.flat().forEach((function(e) {
return e.call.apply(e, [ c ].concat(_toConsumableArray(t)));
}));
case 26:
case "end":
return r.stop();
}
}), _callee, this, [ [ 2, 17, 20, 23 ] ]);
})));
};
for (var o in e.ws = window.WebSocket, e.send = n.send, e.addList = n.addEventListener,
e.sockets = [], e.hooks = [], e.setHook = function(t) {
return e.hooks.push(t), e;
}, e.setHooks = function() {
for (var t, r = arguments.length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i];
return (t = e.hooks).push.apply(t, _toConsumableArray(n.flat())), e;
}, n.send = pipe("send", e.send), n.addEventListener = function() {
var t, r = arguments[0], n = arguments[1], i = this.listeners[r];
i ? i.push(n) : (t = e.addList).call.apply(t, [ this ].concat(Array.prototype.slice.call(arguments)));
}, window.WebSocket = function() {
var n, i, o = arguments;
o = (i = "args", n = function() {
var t, r = arguments, n = _createForOfIteratorHelper(e.hooks.sort((function(t, e) {
return e.priority - t.priority;
})));
try {
for (n.s(); !(t = n.n()).done; ) {
var o, a = t.value;
if (a[i]) {
if (!r) break;
r = (o = a[i]).call.apply(o, [ this ].concat(_toConsumableArray(r)));
}
}
} catch (t) {
n.e(t);
} finally {
n.f();
}
return r;
}).call.apply(n, [ this ].concat(_toConsumableArray(o)));
var a, u = function(t, e, r) {
if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
var n = [ null ];
n.push.apply(n, e);
var i = new (t.bind.apply(t, n));
return r && _setPrototypeOf(i, r.prototype), i;
}(e.ws, _toConsumableArray(o)), s = _createForOfIteratorHelper(e.hooks.sort((function(t, e) {
return e.priority - t.priority;
})));
try {
for (s.s(); !(a = s.n()).done; ) {
var c = a.value;
Object.assign(c, {
ws: u,
sendServer: function(n) {
return (0, t.A)(r().mark((function _callee2() {
return r().wrap((function(t) {
for (;;) switch (t.prev = t.next) {
case 0:
e.send.call(u, n);
case 1:
case "end":
return t.stop();
}
}), _callee2);
})))();
},
sendClient: function(e) {
return (0, t.A)(r().mark((function _callee3() {
return r().wrap((function(t) {
for (;;) switch (t.prev = t.next) {
case 0:
u.listeners.message.forEach((function(t) {
return t.call(u, {
data: e
});
}));
case 1:
case "end":
return t.stop();
}
}), _callee3);
})))();
}
});
}
} catch (t) {
s.e(t);
} finally {
s.f();
}
e.sockets.push(u), pipe("init").call(u), u.listeners = {};
for (var f = 0, l = [ "open", "message", "close" ]; f < l.length; f++) {
var h = l[f], d = u.listeners[h] = [];
e.addList.call(u, h, pipe(h, d)), rebase(u, "on" + h, d);
}
return u;
}, e.ws) "prototype" != o && (window.WebSocket[o] = e.ws[o]);
for (var a in n) if ("constructor" != a) try {
window.WebSocket.prototype[a] = n[a];
} catch (t) {}
return native(n.send, e.send), native(n.addEventListener, e.addList), native(window.WebSocket, e.ws),
window.CWSS = e, e;
}();
function ownKeys(t, e) {
var r = Object.keys(t);
if (Object.getOwnPropertySymbols) {
var n = Object.getOwnPropertySymbols(t);
e && (n = n.filter((function(e) {
return Object.getOwnPropertyDescriptor(t, e).enumerable;
}))), r.push.apply(r, n);
}
return r;
}
function _objectSpread(t) {
for (var e = 1; e < arguments.length; e++) {
var r = null != arguments[e] ? arguments[e] : {};
e % 2 ? ownKeys(Object(r), !0).forEach((function(e) {
_defineProperty(t, e, r[e]);
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : ownKeys(Object(r)).forEach((function(e) {
Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e));
}));
}
return t;
}
const h = {
settings: {
enabled: !0,
timeoutMs: 5e3
},
lastActionTime: 0,
timerId: null,
init: function(t) {
this.updateSettings(t), this.lastActionTime = Date.now(), this.stop(), this.settings.enabled && this.start();
},
start: function() {
this.timerId || (this.timerId = setInterval(this.checkAfk.bind(this), 250));
},
stop: function() {
this.timerId && (clearInterval(this.timerId), this.timerId = null);
},
updateSettings: function(t) {
if (t) {
var e = this.settings.enabled;
this.settings = _objectSpread(_objectSpread({}, this.settings), t), this.settings.enabled && !e ? this.start() : !this.settings.enabled && e && this.stop();
}
},
updateLastActionTime: function() {
this.lastActionTime = Date.now();
},
checkAfk: function() {
this.settings.enabled ? Y.coder && Y.rawCoder && a.getPlayer() && (Date.now() - this.lastActionTime < this.settings.timeoutMs || (this.simulateKeyPress(),
this.updateLastActionTime())) : this.stop();
},
simulateKeyPress: function() {
var t = l.sockets.length > 0 ? l.sockets[l.sockets.length - 1] : null;
if (Y.coder && Y.rawCoder && t && t.readyState === WebSocket.OPEN) try {
var e, r = Y.rawCoder.lookupEnum("KeyType"), n = null == r || null === (e = r.values) || void 0 === e ? void 0 : e.UPGRADE_ABILITY_THREE_KEY;
if (null == n) return;
var i = {
sequence: Y.sequenceCounter++,
keys: [ {
keyEvent: 1,
keyType: n
} ]
}, o = Y.coder.encode.client(i);
if (!o) return;
t.send(o);
} catch (t) {}
}
};
__webpack_require__(3771), __webpack_require__(5276), __webpack_require__(8598),
__webpack_require__(8921), __webpack_require__(739), __webpack_require__(8459),
__webpack_require__(8156), __webpack_require__(5440), __webpack_require__(744);
var d, v, p, b, y, g, w, m, _, O, k, S, E, A, j, x, T, R, I, C, M, N, P, L, B, V, D, U, q = (y = {},
g = null, w = null, m = null, _ = null, k = !1, S = null, E = null, A = !1, j = "ePushWindowPosition",
x = function(t, e) {
try {
localStorage.setItem(j, JSON.stringify({
x: t,
y: e
}));
} catch (t) {}
}, T = function(t) {
if (0 === t.button && m.contains(t.target)) {
A = !0, d = t.clientX, v = t.clientY;
var e = w.getBoundingClientRect();
p = e.left, b = e.top, w.style.cursor = "grabbing", document.body.style.userSelect = "none",
document.addEventListener("mousemove", R), document.addEventListener("mouseup", I, {
once: !0
});
}
}, R = function(t) {
if (A) {
t.preventDefault();
var e = t.clientX - d, r = t.clientY - v, n = p + e, i = b + r;
n = Math.max(0, Math.min(n, window.innerWidth - w.offsetWidth)), i = Math.max(0, Math.min(i, window.innerHeight - w.offsetHeight)),
w.style.left = "".concat(n, "px"), w.style.top = "".concat(i, "px");
}
}, I = function() {
A && (A = !1, w.style.cursor = "grab", document.body.style.userSelect = "", document.removeEventListener("mousemove", R),
x(parseFloat(w.style.left), parseFloat(w.style.top)));
}, C = function(t) {
if (!S) {
(S = document.createElement("div")).id = "acknowledgements-credits";
var e = document.createElement("div");
e.className = "motd-content", M(e, t), S.appendChild(e), Object.assign(S.style, {
position: "fixed",
bottom: "10px",
left: "10px",
padding: "10px",
color: "white",
zIndex: "9999",
borderRadius: "4px",
display: "none",
backgroundColor: "rgba(0, 0, 0, 0.7)",
backdropFilter: "blur(3px)",
maxWidth: "350px",
maxHeight: "40vh",
overflowY: "auto",
boxShadow: "0 2px 8px rgba(0, 0, 0, 0.3)",
scrollbarWidth: "thin",
scrollbarColor: "rgba(255, 255, 255, 0.3) transparent"
}), Object.assign(e.style, {
fontFamily: "Arial, sans-serif",
lineHeight: "1.4",
textAlign: "left"
});
var r = document.createElement("style");
r.textContent = "\n\t #acknowledgements-credits::-webkit-scrollbar { width: 6px; }\n\t #acknowledgements-credits::-webkit-scrollbar-track { background: transparent; }\n\t #acknowledgements-credits::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.3); border-radius: 3px; }\n\t #acknowledgements-credits::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.5); }\n\t ",
document.head.appendChild(r), document.body.appendChild(S);
}
}, M = function(t, e) {
var r, n, i, o = t || document.querySelector("#acknowledgements-credits .motd-content");
if (o && e) {
var a = '\n\t <h4 style="margin: 0 0 5px 0; font-size: 14px;">Credits</h4>\n\t <p style="margin: 0; font-size: 12px;">Developers: '.concat((null === (r = e.credits) || void 0 === r || null === (r = r.developers) || void 0 === r ? void 0 : r.join(", ")) || "N/A", '</p>\n\t <p style="margin: 0 0 15px 0; font-size: 12px;">Feature Contributors: ').concat((null === (n = e.credits) || void 0 === n || null === (n = n.contributors) || void 0 === n ? void 0 : n.join(", ")) || "N/A", "</p>\n\t "), u = '<h4 style="margin: 10px 0 5px 0; font-size: 14px;">Changelog</h4>';
null === (i = e.changelog) || void 0 === i || i.forEach((function(t) {
var e;
u += '\n\t\t <div style="margin-bottom: 10px;">\n\t\t <p style="margin: 0; font-size: 12px; font-weight: bold;">v'.concat(t.version, " - ").concat(t.date, '</p>\n\t\t <ul style="margin: 2px 0 0 0; padding-left: 20px; font-size: 12px;">\n\t\t ').concat((null === (e = t.changes) || void 0 === e ? void 0 : e.map((function(t) {
return "<li>".concat(t, "</li>");
})).join("")) || "", "\n\t\t </ul>\n\t\t </div>\n\t ");
})), o.innerHTML = a + u;
}
}, N = function() {
if (S) {
var t = Y.gameWS && Y.gameWS.readyState === WebSocket.OPEN;
S.style.display = t ? "none" : "block";
}
}, L = function(t) {
if (!t || !t.toLowerCase().startsWith("rgba")) return t;
try {
var e = t.substring(t.indexOf("(") + 1, t.lastIndexOf(")")).split(/,\s*/);
if (e.length < 3) return t;
var r = parseInt(e[0], 10), n = parseInt(e[1], 10), i = parseInt(e[2], 10), toHex = function(t) {
return (e = t, Math.max(0, Math.min(255, e))).toString(16).padStart(2, "0");
var e;
};
return "#".concat(toHex(r)).concat(toHex(n)).concat(toHex(i));
} catch (e) {
return t;
}
}, V = function(t) {
if (_) {
_.querySelectorAll(".epush-tab-button").forEach((function(t) {
return t.classList.remove("active");
})), Object.values(O).forEach((function(t) {
return t.classList.remove("active");
}));
var e = _.querySelector('.epush-tab-button[data-category="'.concat(t, '"]')), r = O[t];
e && e.classList.add("active"), r && r.classList.add("active");
}
}, D = function(t, e, r) {
var n = P("div", "epush-ui-setting"), i = P("label", "epush-ui-label", {
for: "epush-setting-".concat(t)
});
i.textContent = e, n.appendChild(i);
var o = null;
return r && ((o = P("div", "epush-ui-tooltip")).textContent = r, n.appendChild(o),
n.addEventListener("mouseenter", (function() {
if (o && w && k) {
var t = w.querySelector(".epush-panels-container");
if (t) {
var e = n.getBoundingClientRect(), r = t.getBoundingClientRect();
e.top < r.top + 50 ? o.classList.add("tooltip-below") : o.classList.remove("tooltip-below");
}
}
})), n.addEventListener("mouseleave", (function() {
o && o.classList.remove("tooltip-below");
}))), n;
}, U = function(t, e) {
var r = O[t];
r && r.appendChild(e);
}, {
init: function() {
g = P("div", "epush-top-bar"), Object.assign(g.style, {
position: "fixed",
top: "0",
left: "50%",
transform: "translateX(-50%)",
fontFamily: "Arial, sans-serif",
borderBottomLeftRadius: "5px",
borderBottomRightRadius: "5px",
zIndex: "10000",
userSelect: "none",
padding: "6px 15px",
cursor: "pointer",
fontWeight: "bold",
display: "flex",
justifyContent: "space-between",
alignItems: "center"
}), g.innerHTML = '<span>E-Push Settings</span><span class="epush-ui-toggle">▼</span>',
g.addEventListener("click", B), document.body.appendChild(g), w = P("div", "epush-settings-window");
var t = function() {
try {
var t = localStorage.getItem(j);
if (t) {
var e = JSON.parse(t);
if ("number" == typeof e.x && "number" == typeof e.y) return e.x = Math.max(0, Math.min(e.x, window.innerWidth - 50)),
e.y = Math.max(0, Math.min(e.y, window.innerHeight - 50)), e;
}
} catch (t) {}
return {
x: window.innerWidth / 2 - 225,
y: 50
};
}();
Object.assign(w.style, {
position: "fixed",
top: "".concat(t.y, "px"),
left: "".concat(t.x, "px"),
width: "450px",
background: "var(--epush-window-bg, rgba(30, 30, 30, 0.9))",
color: "var(--epush-text-color, white)",
fontFamily: "Arial, sans-serif",
borderRadius: "8px",
zIndex: "10001",
userSelect: "none",
display: "none",
flexDirection: "column",
boxShadow: "0 5px 15px rgba(0,0,0,0.5)",
border: "1px solid var(--epush-border-color, rgba(100, 100, 100, 0.7))",
backdropFilter: "blur(5px)",
maxHeight: "70vh"
}), m = P("div", "epush-window-header"), Object.assign(m.style, {
padding: "8px 12px",
cursor: "grab",
fontWeight: "bold",
background: "var(--epush-header-bg, rgba(50, 50, 50, 0.9))",
borderTopLeftRadius: "inherit",
borderTopRightRadius: "inherit",
borderBottom: "1px solid var(--epush-border-color, rgba(100, 100, 100, 0.7))",
display: "flex",
justifyContent: "center",
alignItems: "center",
position: "relative",
color: "inherit"
});
var e = P("span", "", {}, "E-Push Settings");
m.appendChild(e);
var r = P("span", "epush-close-button", {}, "✕");
Object.assign(r.style, {
position: "absolute",
right: "10px",
top: "50%",
transform: "translateY(-50%)",
cursor: "pointer",
fontSize: "16px",
fontWeight: "bold",
padding: "0 5px",
lineHeight: "1",
color: "inherit"
}), r.addEventListener("click", (function(t) {
t.stopPropagation(), B();
})), m.appendChild(r), m.addEventListener("mousedown", T), w.appendChild(m), _ = P("div", "epush-tab-bar"),
Object.assign(_.style, {
display: "flex",
background: "var(--epush-tabbar-bg, rgba(40, 40, 40, 0.8))",
padding: "5px 5px 0 5px",
borderBottom: "1px solid var(--epush-border-color, rgba(100, 100, 100, 0.7))",
flexWrap: "wrap"
}), w.appendChild(_);
var n = P("div", "epush-panels-container");
Object.assign(n.style, {
padding: "10px",
overflowY: "auto",
overflowX: "hidden",
flexGrow: "1",
color: "inherit"
}), w.appendChild(n), document.body.appendChild(w);
var i = document.createElement("style");
i.textContent = "\n\t\t\t.server-browser-box {\n\t\t\t\theight: 340px;\n\t\t\t\toverflow-y: hidden;\n\t\t\t}\n .epush-settings-window { /* Ensure window itself uses text color */\n color: var(--epush-text-color, white);\n }\n .epush-tab-button {\n padding: 6px 12px;\n cursor: pointer;\n border: 1px solid transparent;\n border-bottom: none;\n margin-right: 3px;\n margin-bottom: -1px;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n background: var(--epush-tab-bg, rgba(60, 60, 60, 0.7));\n color: inherit; /* Inherit text color */\n font-size: 13px;\n transition: background 0.2s ease;\n }\n .epush-tab-button:hover {\n background: var(--epush-header-bg, rgba(75, 75, 75, 0.8)); /* Use header bg for hover? */\n }\n .epush-tab-button.active {\n background: var(--epush-tab-active-bg, rgba(30, 30, 30, 0.9));\n border-color: var(--epush-border-color, rgba(100, 100, 100, 0.7));\n font-weight: bold;\n z-index: 1; /* Ensure active tab border overlaps others */\n }\n .epush-tab-panel {\n display: none;\n grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Responsive columns */\n gap: 8px;\n }\n .epush-tab-panel.active {\n display: grid;\n }\n .epush-ui-setting {\n padding: 8px;\n background: var(--epush-setting-bg, rgba(60, 60, 60, 0.5));\n border-radius: 4px;\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-height: 50px;\n color: inherit;\n }\n .epush-ui-setting:hover {\n /* Consider a slightly lighter version of setting-bg for hover */\n background: color-mix(in srgb, var(--epush-setting-bg, rgba(60, 60, 60, 0.5)) 85%, white 15%);\n }\n .epush-ui-label {\n margin-bottom: 5px;\n display: block;\n font-size: 13px;\n font-weight: normal;\n cursor: default;\n color: inherit;\n }\n .epush-ui-tooltip {\n visibility: hidden; position: absolute; left: 50%;\n transform: translateX(-50%); bottom: 105%;\n background: rgba(0, 0, 0, 0.95); color: white; /* Tooltip color usually fixed */\n padding: 5px 8px; border-radius: 4px; font-size: 12px;\n z-index: 10002; width: max-content; max-width: 250px;\n pointer-events: none; transition: visibility 0s linear 0.1s, opacity 0.2s ease-in-out;\n opacity: 0; white-space: normal; text-align: center;\n }\n /* New style for tooltips positioned below */\n .epush-ui-tooltip.tooltip-below {\n bottom: auto; /* Override default bottom */\n top: 105%; /* Position below the container */\n }\n .epush-ui-setting:hover .epush-ui-tooltip {\n visibility: visible; opacity: 1; transition-delay: 0.3s;\n }\n .epush-ui-input, .epush-ui-slider, .epush-ui-color {\n width: 100%; box-sizing: border-box;\n }\n .epush-ui-input {\n padding: 5px; border-radius: 3px;\n border: 1px solid var(--epush-border-color, #444);\n background: var(--epush-input-bg, #222);\n color: var(--epush-input-color, white);\n margin-top: auto;\n }\n /* Specific styling for dropdowns to ensure theme application */\n .epush-ui-dropdown {\n background-color: var(--epush-input-bg, #222);\n color: var(--epush-input-color, white);\n border: 1px solid var(--epush-border-color, #444);\n /* Consider adding appearance: none; if default arrow is problematic */\n }\n .epush-ui-checkbox-container {\n display: flex; align-items: center; margin-top: auto;\n }\n .epush-ui-checkbox {\n margin-left: 10px; vertical-align: middle;\n height: 16px; width: 16px; cursor: pointer;\n accent-color: var(--epush-header-bg); /* Theme checkbox color */\n }\n .epush-ui-color {\n height: 30px; padding: 0; cursor: pointer; margin-top: auto;\n border: 1px solid var(--epush-border-color, #555);\n }\n /* Remove default browser border for color input */\n .epush-ui-color::-webkit-color-swatch-wrapper { padding: 0; }\n .epush-ui-color::-webkit-color-swatch { border: none; border-radius: 3px; }\n .epush-ui-color::-moz-color-swatch { border: none; border-radius: 3px; }\n\n .epush-ui-slider-container {\n display: flex; align-items: center; gap: 10px; margin-top: auto;\n }\n .epush-ui-slider {\n flex-grow: 1; cursor: pointer; height: 8px;\n appearance: none; border-radius: 4px;\n background: var(--epush-input-bg, #222); /* Use input bg for track */\n }\n .epush-ui-slider::-webkit-slider-thumb {\n appearance: none; width: 16px; height: 16px;\n background: var(--epush-text-color, #ddd); /* Use text color for thumb */\n border-radius: 50%; cursor: pointer;\n }\n .epush-ui-slider::-moz-range-thumb {\n width: 16px; height: 16px; border: none;\n background: var(--epush-text-color, #ddd);\n border-radius: 50%; cursor: pointer;\n }\n .epush-ui-slider-value {\n min-width: 35px; text-align: right; font-size: 12px;\n color: color-mix(in srgb, var(--epush-text-color, #ccc) 70%, transparent); /* Dimmed text color */\n }\n /* Scrollbar for panels container */\n .epush-panels-container { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.3) transparent; }\n .epush-panels-container::-webkit-scrollbar { width: 6px; }\n .epush-panels-container::-webkit-scrollbar-track { background: transparent; }\n .epush-panels-container::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.3); border-radius: 3px; }\n .epush-panels-container::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.5); }\n ",
document.head.appendChild(i), C({
credits: {
developers: [ "Pixelmelt" ],
contributors: [ "Community" ]
},
changelog: [ {
version: "N/A",
date: "N/A",
changes: [ "Loading..." ]
} ]
}), E && clearInterval(E), E = setInterval(N, 2e3), N();
},
createTabs: function(t) {
var e = w.querySelector(".epush-panels-container");
_ && e && (_.innerHTML = "", e.innerHTML = "", O = {}, t.forEach((function(t, r) {
var n = P("button", "epush-tab-button", {}, t);
n.dataset.category = t, _.appendChild(n);
var i = P("div", "epush-tab-panel");
i.id = "epush-panel-".concat(t.replace(/\s+/g, "-")), i.dataset.category = t, e.appendChild(i),
O[t] = i, 0 === r && (n.classList.add("active"), i.classList.add("active")), n.addEventListener("click", (function() {
return V(t);
}));
})));
},
addBooleanSetting: function(t, e, r, n, i, o) {
var a = D(t, e, n), u = P("div", "epush-ui-checkbox-container"), s = P("input", "epush-ui-checkbox", {
type: "checkbox",
id: "epush-setting-".concat(t)
});
return s.checked = r, s.addEventListener("change", (function() {
var e = s.checked;
y[t].value = e, i && i(e);
})), u.appendChild(s), a.appendChild(u), U(o, a), y[t] = {
type: "boolean",
element: s,
value: r,
onChange: i,
category: o
}, y[t];
},
addTextSetting: function(t, e, r, n, i, o) {
var a = D(t, e, n), u = P("input", "epush-ui-input", {
type: "text",
id: "epush-setting-".concat(t),
value: r
});
return u.addEventListener("input", (function() {
var e = u.value;
y[t].value = e, i && i(e);
})), a.appendChild(u), U(o, a), y[t] = {
type: "text",
element: u,
value: r,
onChange: i,
category: o
}, y[t];
},
addNumberSetting: function(t, e, r, n, i, o) {
var a = D(t, e, n), u = P("input", "epush-ui-input", {
type: "number",
id: "epush-setting-".concat(t),
value: r
});
return u.addEventListener("change", (function() {
var e = parseFloat(u.value);
y[t].value = e, i && i(e);
})), a.appendChild(u), U(o, a), y[t] = {
type: "number",
element: u,
value: r,
onChange: i,
category: o
}, y[t];
},
addSliderSetting: function(t, e, r, n, i, o, a, u, s) {
var c = D(t, e, a), f = P("div", "epush-ui-slider-container"), l = P("input", "epush-ui-slider", {
type: "range",
id: "epush-setting-".concat(t),
min: n,
max: i,
step: o,
value: r
}), h = P("span", "epush-ui-slider-value", {}, r);
return l.addEventListener("input", (function() {
var e = parseFloat(l.value);
h.textContent = e, y[t].value = e, u && u(e);
})), f.appendChild(l), f.appendChild(h), c.appendChild(f), U(s, c), y[t] = {
type: "slider",
element: l,
valueDisplay: h,
value: r,
onChange: u,
category: s
}, y[t];
},
addColorSetting: function(t, e, r, n, i, o) {
var a = D(t, e, n), u = P("input", "epush-ui-color", {
type: "color",
id: "epush-setting-".concat(t),
value: L(r)
});
return u.addEventListener("input", (function() {
var e = u.value;
y[t].value = e, i && i(e);
})), a.appendChild(u), U(o, a), y[t] = {
type: "color",
element: u,
value: r,
onChange: i,
category: o
}, y[t];
},
addButtonSetting: function(t, e, r, n, i, o) {
var a = D(t, e, n), u = P("button", "epush-ui-input epush-ui-button", {
id: "epush-setting-".concat(t)
}, r);
return Object.assign(u.style, {
cursor: "pointer",
marginTop: "auto",
width: "auto",
padding: "6px 12px",
backgroundColor: "var(--epush-header-bg)",
borderColor: "var(--epush-border-color)",
color: "var(--epush-text-color)",
fontWeight: "bold"
}), u.addEventListener("click", i), a.appendChild(u), U(o, a), y[t] = {
type: "button",
element: u,
onClick: i,
category: o
}, y[t];
},
addCustomHtmlSetting: function(t, e, r, n, i) {
var o = D(t, e, r), a = P("div", "epush-ui-custom-content", {
id: i
});
return Object.assign(a.style, {
marginTop: "5px",
padding: "5px",
border: "1px dashed var(--epush-border-color, #555)",
borderRadius: "3px",
minHeight: "40px"
}), o.appendChild(a), U(n, o), y[t] = {
type: "customHtml",
element: o,
contentElement: a,
category: n
}, y[t];
},
addDropdownSetting: function(t, e, r, n, i, o, a) {
var u = D(t, e, i), s = P("select", "epush-ui-input epush-ui-dropdown", {
id: "epush-setting-".concat(t)
});
return Object.assign(s.style, {
marginTop: "auto",
cursor: "pointer"
}), n.forEach((function(t) {
var e = P("option", "", {
value: t.value
}, t.label || t.value);
s.appendChild(e);
})), s.value = r, s.addEventListener("change", (function() {
var e = s.value;
y[t].value = e, o && o(e);
})), u.appendChild(s), U(a, u), y[t] = {
type: "dropdown",
element: s,
value: r,
onChange: o,
category: a
}, y[t];
},
updateSetting: function(t, e) {
if (y[t]) {
var r = y[t];
switch (r.value = e, r.type) {
case "boolean":
r.element.checked = e;
break;
case "slider":
r.element.value = e, r.valueDisplay && (r.valueDisplay.textContent = e);
break;
case "color":
r.element.value = L(e);
break;
default:
r.element.value = e;
}
}
},
updateDropdownOptions: function(t, e) {
if (y[t] && "dropdown" === y[t].type) {
var r = y[t].element, n = r.value;
r.innerHTML = "", e.forEach((function(t) {
var e = P("option", "", {
value: t.value
}, t.label || t.value);
r.appendChild(e);
})), e.some((function(t) {
return t.value === n;
})) ? r.value = n : e.length > 0 && (r.value = e[0].value), y[t].value !== r.value && (y[t].value = r.value);
}
},
getSettingValue: function(t) {
var e;
return null === (e = y[t]) || void 0 === e ? void 0 : e.value;
},
toggleWindow: B = function() {
if (k = !k, w.style.display = k ? "flex" : "none", g.querySelector(".epush-ui-toggle").textContent = k ? "▲" : "▼",
k) {
var t = w.getBoundingClientRect(), e = t.left, r = t.top, n = !1;
(e < 0 || e > window.innerWidth - w.offsetWidth) && (e = Math.max(0, Math.min(e, window.innerWidth - w.offsetWidth)),
n = !0), (r < 0 || r > window.innerHeight - w.offsetHeight) && (r = Math.max(0, Math.min(r, window.innerHeight - w.offsetHeight)),
n = !0), n && (w.style.left = "".concat(e, "px"), w.style.top = "".concat(r, "px"),
x(e, r));
}
},
updateThemeColors: function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null, getColor = function(e, r) {
var n, i;
return t && void 0 !== t[e] ? t[e] : null !== (n = null === (i = y[e]) || void 0 === i ? void 0 : i.value) && void 0 !== n ? n : r;
}, e = {
windowBg: getColor("uiWindowBg", "rgba(49, 50, 68, 0.9)"),
headerBg: getColor("uiHeaderBg", "rgba(69, 71, 90, 0.9)"),
tabBarBg: getColor("uiTabBarBg", "rgba(49, 50, 68, 0.8)"),
tabBg: getColor("uiTabBg", "rgba(69, 71, 90, 0.7)"),
tabActiveBg: getColor("uiTabActiveBg", "rgba(30, 30, 46, 0.9)"),
settingBg: getColor("uiSettingBg", "rgba(69, 71, 90, 0.5)"),
textColor: getColor("uiTextColor", "#cdd6f4"),
borderColor: getColor("uiBorderColor", "rgba(88, 91, 112, 0.7)"),
inputBg: getColor("uiInputBg", "#1e1e2e"),
inputColor: getColor("uiInputColor", "#cdd6f4")
}, r = w;
r && (r.style.setProperty("--epush-window-bg", e.windowBg), r.style.setProperty("--epush-header-bg", e.headerBg),
r.style.setProperty("--epush-tabbar-bg", e.tabBarBg), r.style.setProperty("--epush-tab-bg", e.tabBg),
r.style.setProperty("--epush-tab-active-bg", e.tabActiveBg), r.style.setProperty("--epush-setting-bg", e.settingBg),
r.style.setProperty("--epush-text-color", e.textColor), r.style.setProperty("--epush-border-color", e.borderColor),
r.style.setProperty("--epush-input-bg", e.inputBg), r.style.setProperty("--epush-input-color", e.inputColor),
g && (g.style.backgroundColor = e.headerBg, g.style.color = e.textColor));
},
createMotdElement: C,
updateMotdContent: M,
createElement: P = function(t) {
var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "", r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, n = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "", i = document.createElement(t);
e && (i.className = e);
for (var o = 0, a = Object.entries(r); o < a.length; o++) {
var u = _slicedToArray(a[o], 2), s = u[0], c = u[1];
i.setAttribute(s, c);
}
return n && (i.textContent = n), i;
},
categoryPanels: O = {}
});
const W = q;
function timeTravelIndicator_arrayLikeToArray(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
return n;
}
var H = {
enabled: !0,
playerHistory: [],
lastIndicatorColor: "rgba(0, 255, 0, 0.7)",
_isActive: !1,
isActive: function() {
return !!this.enabled && "CHRONO" === Y.playerState.heroName;
},
init: function() {
this.playerHistory = [];
},
update: function() {
if (this.isActive()) {
var t = a.getPlayer();
if (t) {
var e = Date.now();
(0 === this.playerHistory.length || this.playerHistory[this.playerHistory.length - 1].timestamp < e) && this.playerHistory.push({
timestamp: e,
x: t.x,
y: t.y
});
for (var r = e - 3660, n = -1, i = 0; i < this.playerHistory.length; i++) if (this.playerHistory[i].timestamp >= r) {
n = i;
break;
}
n > 0 && this.playerHistory.splice(0, n), this.playerHistory.length > 500 && this.playerHistory.splice(0, this.playerHistory.length - 500);
} else this.playerHistory.length > 0 && (this.playerHistory = []);
} else this.playerHistory.length > 0 && (this.playerHistory = []);
},
getPastPosition: function(t) {
if (this.playerHistory.length < 2) return null;
var e = Date.now() - t, r = this.playerHistory;
if (e < r[0].timestamp) return null;
if (e >= r[r.length - 1].timestamp) return {
x: r[r.length - 1].x,
y: r[r.length - 1].y
};
for (var n = -1, i = r.length - 2; i >= 0; i--) if (r[i].timestamp <= e) {
n = i;
break;
}
if (-1 === n) return null;
var o = n + 1, a = r[n], u = r[o], s = u.timestamp - a.timestamp;
if (s <= 0) return {
x: a.x,
y: a.y
};
var c = (e - a.timestamp) / s;
return {
x: a.x + (u.x - a.x) * c,
y: a.y + (u.y - a.y) * c
};
},
isPastPositionSafe: function() {
var t = this.getPastPosition(2660);
if (!t) return !0;
var e, r = f.playerRadius || Y.playerRadius || 15, n = function(t, e) {
var r = "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
if (!r) {
if (Array.isArray(t) || (r = function(t, e) {
if (t) {
if ("string" == typeof t) return timeTravelIndicator_arrayLikeToArray(t, e);
var r = {}.toString.call(t).slice(8, -1);
return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? timeTravelIndicator_arrayLikeToArray(t, e) : void 0;
}
}(t)) || e && t && "number" == typeof t.length) {
r && (t = r);
var n = 0, F = function() {};
return {
s: F,
n: function() {
return n >= t.length ? {
done: !0
} : {
done: !1,
value: t[n++]
};
},
e: function(t) {
throw t;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var i, o = !0, a = !1;
return {
s: function() {
r = r.call(t);
},
n: function() {
var t = r.next();
return o = t.done, t;
},
e: function(t) {
a = !0, i = t;
},
f: function() {
try {
o || null == r.return || r.return();
} finally {
if (a) throw i;
}
}
};
}(c.getTrackedEntities(Y.getEntityTypeName.bind(Y)));
try {
for (n.s(); !(e = n.n()).done; ) {
var i = e.value, o = r + c.getEntityRadius(i, Y.getEntityTypeName.bind(Y)) + 5, a = t.x - i.x, u = t.y - i.y;
if (a * a + u * u < o * o) return !1;
}
} catch (t) {
n.e(t);
} finally {
n.f();
}
return !0;
},
draw: function(t, e, r, n) {
if (this.isActive()) {
var i = this.getPastPosition(2660);
if (i && e) {
var o, a, u, s = r + (i.x - e.x), c = n + (i.y - e.y), l = f.playerRadius || Y.playerRadius || 15;
this.isPastPositionSafe() ? (o = 0, a = 155 + (Math.sin(Date.now() / 300) + 1) / 2 * 100,
u = 0) : (o = 155 + (Math.sin(Date.now() / 200) + 1) / 2 * 100, a = 0, u = 0), this.lastIndicatorColor = "rgba(".concat(Math.floor(o), ", ").concat(Math.floor(a), ", ").concat(Math.floor(u), ", ").concat(.7, ")"),
t.fillStyle = this.lastIndicatorColor, t.beginPath(), t.arc(s, c, l, 0, 2 * Math.PI),
t.fill(), t.strokeStyle = "rgba(255, 255, 255, 0.3)", t.lineWidth = 1, t.stroke();
}
}
}
};
void 0 === f.playerRadius && (f.playerRadius = 15);
const z = H;
function teleportIndicator_arrayLikeToArray(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
return n;
}
const G = {
enabled: !0,
isActive: function() {
return !!this.enabled && "RIME" === Y.playerState.heroName;
},
init: function() {},
getTargetPosition: function() {
var t = a.getPlayer();
if (!t) return null;
var e = a.safeMoveX, r = a.safeMoveY;
Math.abs(e) < .01 && Math.abs(r) < .01 && (e = a.mouseGameX - t.x, r = a.mouseGameY - t.y);
var n = Math.sqrt(e * e + r * r);
if (n < .1) return {
x: t.x + 160,
y: t.y
};
var i = e / n, o = r / n;
return {
x: t.x + 160 * i,
y: t.y + 160 * o
};
},
isTargetPositionSafe: function() {
var t = this.getTargetPosition();
if (!t) return !0;
var e, r = f.playerRadius || Y.playerRadius || 15, n = f.safetyMargin || 5, i = function(t, e) {
var r = "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
if (!r) {
if (Array.isArray(t) || (r = function(t, e) {
if (t) {
if ("string" == typeof t) return teleportIndicator_arrayLikeToArray(t, e);
var r = {}.toString.call(t).slice(8, -1);
return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? teleportIndicator_arrayLikeToArray(t, e) : void 0;
}
}(t)) || e && t && "number" == typeof t.length) {
r && (t = r);
var n = 0, F = function() {};
return {
s: F,
n: function() {
return n >= t.length ? {
done: !0
} : {
done: !1,
value: t[n++]
};
},
e: function(t) {
throw t;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var i, o = !0, a = !1;
return {
s: function() {
r = r.call(t);
},
n: function() {
var t = r.next();
return o = t.done, t;
},
e: function(t) {
a = !0, i = t;
},
f: function() {
try {
o || null == r.return || r.return();
} finally {
if (a) throw i;
}
}
};
}(c.getTrackedEntities(Y.getEntityTypeName.bind(Y), !0));
try {
for (i.s(); !(e = i.n()).done; ) {
var o = e.value, a = r + c.getEntityRadius(o, Y.getEntityTypeName.bind(Y)) + n, u = t.x - o.x, s = t.y - o.y;
if (u * u + s * s < a * a) return !1;
}
} catch (t) {
i.e(t);
} finally {
i.f();
}
return !0;
},
draw: function(t, e, r, n) {
if (this.isActive()) {
var i = this.getTargetPosition();
if (i && e) {
var o, a, u, s = r + (i.x - e.x), c = n + (i.y - e.y), l = f.playerRadius || 15;
if (this.isTargetPositionSafe()) {
var h = (Math.sin(Date.now() / 250) + 1) / 2;
o = 0, a = 100 + 100 * h, u = 155 + 100 * h;
} else o = 155 + (Math.sin(Date.now() / 200) + 1) / 2 * 100, a = 0, u = 0;
var d = "rgba(".concat(Math.floor(o), ", ").concat(Math.floor(a), ", ").concat(Math.floor(u), ", ").concat(.7, ")");
t.fillStyle = d, t.beginPath(), t.arc(s, c, l, 0, 2 * Math.PI), t.fill(), t.strokeStyle = "rgba(255, 255, 255, 0.4)",
t.lineWidth = 1, t.stroke();
}
}
}
};
function boundaryVisualizer_createForOfIteratorHelper(t, e) {
var r = "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
if (!r) {
if (Array.isArray(t) || (r = function(t, e) {
if (t) {
if ("string" == typeof t) return boundaryVisualizer_arrayLikeToArray(t, e);
var r = {}.toString.call(t).slice(8, -1);
return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? boundaryVisualizer_arrayLikeToArray(t, e) : void 0;
}
}(t)) || e && t && "number" == typeof t.length) {
r && (t = r);
var n = 0, F = function() {};
return {
s: F,
n: function() {
return n >= t.length ? {
done: !0
} : {
done: !1,
value: t[n++]
};
},
e: function(t) {
throw t;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var i, o = !0, a = !1;
return {
s: function() {
r = r.call(t);
},
n: function() {
var t = r.next();
return o = t.done, t;
},
e: function(t) {
a = !0, i = t;
},
f: function() {
try {
o || null == r.return || r.return();
} finally {
if (a) throw i;
}
}
};
}
function boundaryVisualizer_arrayLikeToArray(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
return n;
}
const $ = {
areaBounds: null,
dangerZones: [],
safeZones: [],
areaTeleportZones: [],
zoneTeleportZones: [],
updateBoundaries: function(t) {
var e = this;
if (!t || !Array.isArray(t.zones)) return this.areaBounds = null, this.dangerZones = [],
this.safeZones = [], this.areaTeleportZones = [], void (this.zoneTeleportZones = []);
this.areaBounds = {
x: t.x,
y: t.y,
width: t.width,
height: t.height
}, this.dangerZones = [], this.safeZones = [], this.areaTeleportZones = [], this.zoneTeleportZones = [],
t.zones.forEach((function(t) {
var r = {
x: t.x,
y: t.y,
width: t.width,
height: t.height,
type: t.type
};
0 === t.type ? e.dangerZones.push(r) : 1 === t.type ? e.safeZones.push(r) : 2 === t.type ? e.areaTeleportZones.push(r) : 3 === t.type && e.zoneTeleportZones.push(r);
}));
},
getAreaBounds: function() {
return this.areaBounds;
},
getDangerZones: function() {
return this.dangerZones;
},
getSafeZones: function() {
return this.safeZones;
},
getAreaTeleportZones: function() {
return this.areaTeleportZones;
},
getZoneTeleportZones: function() {
return this.zoneTeleportZones;
},
getZoneTypeAt: function(t, e) {
if (!this.areaBounds) return "Outside";
if (t < this.areaBounds.x || t >= this.areaBounds.x + this.areaBounds.width || e < this.areaBounds.y || e >= this.areaBounds.y + this.areaBounds.height) {
var r, n = boundaryVisualizer_createForOfIteratorHelper(this.zoneTeleportZones);
try {
for (n.s(); !(r = n.n()).done; ) {
var i = r.value;
if (t >= i.x && t < i.x + i.width && e >= i.y && e < i.y + i.height) return "Zone Teleporter";
}
} catch (t) {
n.e(t);
} finally {
n.f();
}
var o, a = boundaryVisualizer_createForOfIteratorHelper(this.areaTeleportZones);
try {
for (a.s(); !(o = a.n()).done; ) {
var u = o.value;
if (t >= u.x && t < u.x + u.width && e >= u.y && e < u.y + u.height) return "Area Teleporter";
}
} catch (t) {
a.e(t);
} finally {
a.f();
}
var s, c = boundaryVisualizer_createForOfIteratorHelper(this.safeZones);
try {
for (c.s(); !(s = c.n()).done; ) {
var f = s.value;
if (t >= f.x && t < f.x + f.width && e >= f.y && e < f.y + f.height) return "Safe";
}
} catch (t) {
c.e(t);
} finally {
c.f();
}
var l, h = boundaryVisualizer_createForOfIteratorHelper(this.dangerZones);
try {
for (h.s(); !(l = h.n()).done; ) {
var d = l.value;
if (t >= d.x && t < d.x + d.width && e >= d.y && e < d.y + d.height) return "Danger";
}
} catch (t) {
h.e(t);
} finally {
h.f();
}
return "Outside";
}
var v, p = boundaryVisualizer_createForOfIteratorHelper(this.zoneTeleportZones);
try {
for (p.s(); !(v = p.n()).done; ) {
var b = v.value;
if (t >= b.x && t < b.x + b.width && e >= b.y && e < b.y + b.height) return "Zone Teleporter";
}
} catch (t) {
p.e(t);
} finally {
p.f();
}
var y, g = boundaryVisualizer_createForOfIteratorHelper(this.areaTeleportZones);
try {
for (g.s(); !(y = g.n()).done; ) {
var w = y.value;
if (t >= w.x && t < w.x + w.width && e >= w.y && e < w.y + w.height) return "Area Teleporter";
}
} catch (t) {
g.e(t);
} finally {
g.f();
}
var m, _ = boundaryVisualizer_createForOfIteratorHelper(this.safeZones);
try {
for (_.s(); !(m = _.n()).done; ) {
var O = m.value;
if (t >= O.x && t < O.x + O.width && e >= O.y && e < O.y + O.height) return "Safe";
}
} catch (t) {
_.e(t);
} finally {
_.f();
}
var k, S = boundaryVisualizer_createForOfIteratorHelper(this.dangerZones);
try {
for (S.s(); !(k = S.n()).done; ) {
var E = k.value;
if (t >= E.x && t < E.x + E.width && e >= E.y && e < E.y + E.height) return "Danger";
}
} catch (t) {
S.e(t);
} finally {
S.f();
}
return "Danger";
}
};
var J = __webpack_require__(2549), K = __webpack_require__.n(J);
function network_ownKeys(t, e) {
var r = Object.keys(t);
if (Object.getOwnPropertySymbols) {
var n = Object.getOwnPropertySymbols(t);
e && (n = n.filter((function(e) {
return Object.getOwnPropertyDescriptor(t, e).enumerable;
}))), r.push.apply(r, n);
}
return r;
}
function network_objectSpread(t) {
for (var e = 1; e < arguments.length; e++) {
var r = null != arguments[e] ? arguments[e] : {};
e % 2 ? network_ownKeys(Object(r), !0).forEach((function(e) {
_defineProperty(t, e, r[e]);
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : network_ownKeys(Object(r)).forEach((function(e) {
Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e));
}));
}
return t;
}
var Z = {
coder: null,
gameWS: null,
gameSend: null,
sequenceCounter: 1,
rawCoder: null,
collisionAvoidance: !0,
CWSS: null,
enemyDefaults: null,
enemyRadiusMap: {},
netlog: !1,
defaultPlayerState: {
id: null,
heroType: null,
level: 1,
energy: 30,
totalSpeed: 5,
totalEnergyRegen: 1,
abilityOne: {
level: 0
},
abilityTwo: {
level: 0
},
abilityThree: {
level: 0
}
},
playerState: null,
getPlayerState: function() {
return this.playerState;
},
nonDangerousEntityTypeNames: new Set([ "PLAYER", "PELLET", "SWEET_TOOTH_ITEM", "ROBO_SCANNER_RESIDUE", "ROBO_SCANNER_SOUR_CANDY_ITEM", "EXPLODIORB_ITEM", "FACTORB_EXPLOSION", "WALL", "BARRIER_DOME", "STREAM_PATH", "FLASHLIGHT_ITEM", "TORCH", "IMAGE_BACKGROUND", "LIGHT_REGION", "PARTICLE_GENERATOR", "RADIOACTIVE_GLOOP", "RADIOACTIVE_GLOOP_PROJECTILE", "ECHELON_PROJECTILE", "IGNITION_SPARK_PROJECTILE", "INCINERATE_PROJECTILE", "SHADOW_PROJECTILE", "LIGHTNING_PROJECTILE", "ENERGIZE_PROJECTILE", "SPARK_PROJECTILE", "LATCH_PROJECTILE", "VENGEANCE_PROJECTILE", "BLACK_HOLE_PROJECTILE", "REANIMATE_PROJECTILE", "MINIMIZE_PROJECTILE", "REVERSE_PROJECTILE", "ORBIT_PROJECTILE", "CRUMBLE_PROJECTILE", "BARRIER_ENEMY", "BLOOM_PROJECTILE", "ROBO_SCANNER_SNIPER_PROJECTILE", "ROBO_SCANNER_ICE_SNIPER_PROJECTILE", "ROBO_SCANNER_SPEED_SNIPER_PROJECTILE", "ROBO_SCANNER_REGEN_SNIPER_PROJECTILE", "ROBO_SCANNER_RADIATING_BULLETS_PROJECTILE", "ROBO_SCANNER_LEAF_PROJECTILE", "ROBO_SCANNER_CORROSIVE_SNIPER_PROJECTILE", "ROBO_SCANNER_POISON_SNIPER_PROJECTILE", "ROBO_SCANNER_POSITIVE_SNIPER_PROJECTILE", "ROBO_SCANNER_NEGATIVE_SNIPER_PROJECTILE", "ROBO_SCANNER_WIND_SNIPER_PROJECTILE", "ROBO_SCANNER_RADAR_PROJECTILE", "ROBO_SCANNER_PREDICTION_SNIPER_PROJECTILE", "ROBO_SCANNER_LEAD_SNIPER_PROJECTILE", "ROBO_SCANNER_FORCE_A_PROJECTILE", "ROBO_SCANNER_FORCE_B_PROJECTILE", "ROBO_SCANNER_FLOWER_PROJECTILE", "ROBO_SCANNER_FROST_GIANT_ICE_PROJECTILE", "ROBO_SCANNER_NINJA_STAR_SNIPER_PROJECTILE", "ROBO_SCANNER_FIRE_TRAIL_PROJECTILE", "ROBO_SCANNER_RESIDUE", "ROBO_SCANNER_STALACTITE_PROJECTILE", "ROBO_SCANNER_SOUR_CANDY_ITEM", "ROBO_SCANNER_SUMMONER_BLIND_ENEMY" ]),
toggleLogging: function(t) {
this.netlog = t;
},
init: function(t) {
return this.CWSS = t, this.playerState = network_objectSpread({}, this.defaultPlayerState),
this.playerState.abilityOne = network_objectSpread({}, this.defaultPlayerState.abilityOne),
this.playerState.abilityTwo = network_objectSpread({}, this.defaultPlayerState.abilityTwo),
this.playerState.abilityThree = network_objectSpread({}, this.defaultPlayerState.abilityThree),
this;
},
extractEnemyDefaults: function(t) {
var e = t.match(/"defaults":({"ability".*?}})/);
if (e && e[1]) try {
this.enemyDefaults = JSON.parse(e[1]), this.processEnemyDefaults();
} catch (t) {}
},
getMainJS: function() {
return (0, t.A)(r().mark((function _callee2() {
var e, n, i, o;
return r().wrap((function(a) {
for (;;) switch (a.prev = a.next) {
case 0:
return e = function() {
var e = (0, t.A)(r().mark((function _callee(t) {
return r().wrap((function(e) {
for (;;) switch (e.prev = e.next) {
case 0:
return e.next = 2, fetch(t).then((function(t) {
return t.text();
}));
case 2:
return e.abrupt("return", e.sent);
case 3:
case "end":
return e.stop();
}
}), _callee);
})));
return function(t) {
return e.apply(this, arguments);
};
}(), a.next = 3, e(location.href);
case 3:
if (n = a.sent, i = n.match(/index\.[a-z0-9]*\.js/)) {
a.next = 8;
break;
}
return a.abrupt("return", null);
case 8:
return o = i[0], a.next = 11, e(location.origin + "/" + o);
case 11:
return a.abrupt("return", a.sent);
case 12:
case "end":
return a.stop();
}
}), _callee2);
})))();
},
getProtobufScheme: function(t) {
var e = t.match(/\.addJSON\(\s*(\{[\s\S]+?\})\s*\)/);
return e && e[1] && new Function('"use strict"; return ('.concat(e[1], ")"))() || null;
},
initCoder: function() {
var e = this;
return (0, t.A)(r().mark((function _callee3() {
var t, n;
return r().wrap((function(r) {
for (;;) switch (r.prev = r.next) {
case 0:
return r.prev = 0, r.next = 3, e._fetchMainJS();
case 3:
if (t = r.sent) {
r.next = 6;
break;
}
return r.abrupt("return", null);
case 6:
if (n = e._getProtobufScheme(t)) {
r.next = 9;
break;
}
return r.abrupt("return", null);
case 9:
return e.rawCoder = new (K().Root), e.rawCoder.addJSON(n), e._extractEnemyDefaults(t),
e.coder = {
encode: {
client: function(t) {
try {
var r = e.rawCoder.ClientPayload.create(t);
return e.rawCoder.ClientPayload.encode(r).finish();
} catch (t) {
return null;
}
}
},
decode: {
server: function(t) {
try {
var r = t instanceof Uint8Array ? t : new Uint8Array(t);
return e.rawCoder.FramePayload.toObject(e.rawCoder.FramePayload.decode(r));
} catch (t) {
return null;
}
},
client: function(t) {
try {
var r = t instanceof Uint8Array ? t : new Uint8Array(t);
return e.rawCoder.ClientPayload.toObject(e.rawCoder.ClientPayload.decode(r));
} catch (t) {
return null;
}
}
}
}, r.abrupt("return", e.coder);
case 16:
return r.prev = 16, r.t0 = r.catch(0), r.abrupt("return", null);
case 20:
case "end":
return r.stop();
}
}), _callee3, null, [ [ 0, 16 ] ]);
})))();
},
processEnemyDefaults: function() {
if (this.enemyDefaults) {
for (var t = {}, e = 0, r = Object.entries(this.enemyDefaults); e < r.length; e++) {
var n = _slicedToArray(r[e], 2), i = n[0], o = n[1];
o && "object" === (0, u.A)(o) && void 0 !== o.radius && (t[i] = o.radius);
}
this.enemyRadiusMap = t, c.setEnemyRadiusMap(t);
}
},
getEnemyRadius: function(t) {
return c.getEntityRadius(t, this.getEntityTypeName.bind(this));
},
isEntityTypeDangerous: function(t) {
if (!this.rawCoder) return !0;
var e = this.getEntityTypeName(t);
return !e.startsWith("Unknown (") && !this.nonDangerousEntityTypeNames.has(e);
},
getEntityTypeName: function(t) {
if (!this.rawCoder) return "Unknown (".concat(t, ")");
try {
var e = this.rawCoder.lookupEnum("EntityType");
if (e && e.valuesById[t]) return e.valuesById[t];
} catch (t) {}
return "Unknown (".concat(t, ")");
},
processMovementData: function(t) {
if (!this.collisionAvoidance || !this.coder) return {
data: t,
modified: !1
};
try {
if (t instanceof ArrayBuffer || t instanceof Uint8Array || t instanceof Blob) {
var e;
if (t instanceof ArrayBuffer) e = new Uint8Array(t); else {
if (t instanceof Blob) return {
data: t,
modified: !1
};
e = t;
}
var r = this.coder.decode.client(e);
if (r && r.mouseDown && r.mouseDown.updated) {
var n = r.mouseDown.x, i = r.mouseDown.y, o = f.calculateSafeMovement(n, i, this.getEntityTypeName.bind(this)), a = f.getForceMagnitude(), u = f.autoForceKey11 && a > f.key11Threshold, s = f.autoForceKey10 && a > f.key10Threshold, c = o.collision;
if (c || u || s) {
var l = {
sequence: r.sequence,
mouseDown: {
updated: !0,
x: c ? Math.round(o.x) : n,
y: c ? Math.round(o.y) : i
}
};
r.keys && r.keys.length > 0 ? (l.keys = _toConsumableArray(r.keys), u && !l.keys.some((function(t) {
return 11 === t.keyType;
})) && l.keys.push({
keyEvent: 1,
keyType: 11
}), s && !l.keys.some((function(t) {
return 10 === t.keyType;
})) && l.keys.push({
keyEvent: 1,
keyType: 10
})) : (l.keys = [], u && l.keys.push({
keyEvent: 1,
keyType: 11
}), s && l.keys.push({
keyEvent: 1,
keyType: 10
}));
var h = this.coder.encode.client(l);
if (h) return {
data: h,
modified: !0
};
}
}
}
} catch (t) {}
return {
data: t,
modified: !1
};
},
_fetchMainJS: function() {
return (0, t.A)(r().mark((function _callee5() {
var e, n, i, o;
return r().wrap((function(a) {
for (;;) switch (a.prev = a.next) {
case 0:
return e = function() {
var e = (0, t.A)(r().mark((function _callee4(t) {
return r().wrap((function(e) {
for (;;) switch (e.prev = e.next) {
case 0:
return e.next = 2, fetch(t).then((function(t) {
return t.text();
}));
case 2:
return e.abrupt("return", e.sent);
case 3:
case "end":
return e.stop();
}
}), _callee4);
})));
return function(t) {
return e.apply(this, arguments);
};
}(), a.prev = 1, a.next = 4, e(location.href);
case 4:
if (n = a.sent, i = n.match(/index\.[a-z0-9]*\.js/)) {
a.next = 9;
break;
}
return a.abrupt("return", null);
case 9:
return o = i[0], a.next = 12, e(location.origin + "/" + o);
case 12:
return a.abrupt("return", a.sent);
case 15:
return a.prev = 15, a.t0 = a.catch(1), a.abrupt("return", null);
case 19:
case "end":
return a.stop();
}
}), _callee5, null, [ [ 1, 15 ] ]);
})))();
},
_getProtobufScheme: function(t) {
try {
var e = t.match(/\.addJSON\(\s*(\{[\s\S]+?\})\s*\)/);
return e && e[1] && new Function('"use strict"; return ('.concat(e[1], ")"))() || null;
} catch (t) {
return null;
}
},
_extractEnemyDefaults: function(t) {
try {
var e = t.match(/"defaults":({"ability".*?}})/);
e && e[1] && (this.enemyDefaults = JSON.parse(e[1]), this.processEnemyDefaults());
} catch (t) {}
},
_decodeOutgoingPacket: function(t) {
try {
var e = t instanceof ArrayBuffer ? new Uint8Array(t) : t instanceof Uint8Array ? t : null;
if (e && this.coder && this.rawCoder) return this.coder.decode.client(e);
if ("string" == typeof t) try {
return JSON.parse(t);
} catch (t) {}
} catch (t) {}
return null;
},
_applyCollisionAvoidanceAndKeyIntercept: function(t) {
var e = !1;
if (!t) return {
modified: e,
payload: t
};
if (this.collisionAvoidance && t.mouseDown && t.mouseDown.updated) {
var r = t.mouseDown.x, n = t.mouseDown.y, i = f.calculateSafeMovement(r, n, this.getEntityTypeName.bind(this)), o = f.getForceMagnitude(), a = f.autoForceKey11 && o > f.key11Threshold, u = f.autoForceKey10 && o > f.key10Threshold, s = i.collision;
(s || a || u) && (s && (t.mouseDown.x = Math.round(i.x), t.mouseDown.y = Math.round(i.y)),
t.keys || (t.keys = []), a && !t.keys.some((function(t) {
return 11 === t.keyType;
})) && t.keys.push({
keyEvent: 1,
keyType: 11
}), u && !t.keys.some((function(t) {
return 10 === t.keyType;
})) && t.keys.push({
keyEvent: 1,
keyType: 10
}), e = !0);
}
if (t.keys) try {
var c = t.keys.findIndex((function(t) {
return 10 === t.keyType;
}));
if (-1 !== c) {
var l = z.isActive() && !z.isPastPositionSafe(), h = G.isActive() && !G.isTargetPositionSafe();
(l || h) && (t.keys.splice(c, 1), e = !0);
}
} catch (t) {}
return {
modified: e,
payload: t
};
},
_encodeOutgoingPacket: function(t) {
if (!t || !this.coder) return null;
try {
return this.coder.encode.client(t);
} catch (t) {
return null;
}
},
_logOutgoingPacket: function(t, e) {
this.netlog;
},
_decodeIncomingPacket: function(t) {
var e = t.data;
try {
if (e instanceof ArrayBuffer || e instanceof Uint8Array) {
var r = e instanceof ArrayBuffer ? new Uint8Array(e) : e;
if (this.coder) return this.coder.decode.server(r);
} else if ("string" == typeof e) try {
return JSON.parse(e);
} catch (t) {}
} catch (t) {}
return null;
},
_updateSequenceCounter: function(t) {
t && (t.ack && t.ack.sequence ? this.sequenceCounter = t.ack.sequence + 1 : void 0 !== t.sequence && (this.sequenceCounter = t.sequence + 1));
},
_updatePlayerStateFromPacket: function(t) {
var e = this;
if (t && (void 0 !== t.selfId && null !== t.selfId && this.playerState.id !== t.selfId && (this.playerState.id = t.selfId),
null !== this.playerState.id)) {
if (t.complete && Array.isArray(t.globalEntities)) {
var r = t.globalEntities.find((function(t) {
return t.id === e.playerState.id;
}));
if (r && void 0 !== r.heroType && this.playerState.heroType !== r.heroType) {
this.playerState.heroType = r.heroType;
var n = this.getHeroNameById(r.heroType);
this.playerState.heroName = n;
}
}
if (Array.isArray(t.entities)) {
var i = t.entities.find((function(t) {
return t.id === e.playerState.id;
}));
i && (Object.assign(this.playerState, i), i.abilityOne && Object.assign(this.playerState.abilityOne, i.abilityOne),
i.abilityTwo && Object.assign(this.playerState.abilityTwo, i.abilityTwo), i.abilityThree && Object.assign(this.playerState.abilityThree, i.abilityThree));
}
}
},
_logIncomingPacket: function(t) {
this.netlog;
},
createWSHook: function() {
return this.CWSS ? {
priority: 200,
init: function() {
return Z.gameWS = this, arguments;
},
sendServer: function(t) {
return Z.gameSend = this.sendServer, arguments;
},
send: function(t) {
var e = t, r = Z._decodeOutgoingPacket(t), n = Z._applyCollisionAvoidanceAndKeyIntercept(r), i = n.modified, o = n.payload;
if (i && o) {
var a = Z._encodeOutgoingPacket(o);
a && (e = a);
}
return h.updateLastActionTime(), Z._logOutgoingPacket(o || r, e), arguments[0] = e,
arguments;
},
message: function(t) {
try {
var e = Z._decodeIncomingPacket(t);
e && (Z._updateSequenceCounter(e), Z._logIncomingPacket(e), Z._updatePlayerStateFromPacket(e),
a.update(e), e.area && $.updateBoundaries(e.area), z.update());
} catch (t) {}
return arguments;
}
} : null;
},
getHeroNameById: function(t) {
if (!this.rawCoder) return "Unknown (".concat(t, ")");
try {
var e = this.rawCoder.lookupEnum("HeroType");
if (e && e.valuesById[t]) return e.valuesById[t];
} catch (t) {}
return "Unknown (".concat(t, ")");
},
sendMovement: function(t, e) {
if (!this.gameWS && this.CWSS && this.CWSS.sockets.length > 0 && (this.gameWS = this.CWSS.sockets[this.CWSS.sockets.length - 1]),
!this.gameWS || this.gameWS.readyState !== WebSocket.OPEN) return !1;
var r = t, n = e, i = {
sequence: this.sequenceCounter++,
mouseDown: {
updated: !0,
x: Math.round(r),
y: Math.round(n)
}
}, o = this.coder.encode.client(i);
if (!o) return !1;
if (this.gameSend) this.gameSend(o); else if (this.gameWS) try {
this.CWSS.send.call(this.gameWS, o);
} catch (t) {
return !1;
}
return !0;
},
movePlayer: function(t, e) {
t = (t % 360 + 360) % 360, e = Math.max(0, Math.min(100, e));
var r = t * Math.PI / 180, n = Math.cos(r) * (5 * e), i = -Math.sin(r) * (5 * e);
return this.sendMovement(n, i);
}
};
const Y = Z, X = {
isEnabled: !0,
draw: function(t, e, r, n) {
if (this.isEnabled && e) {
var i = e.x, o = e.y;
Object.values(a.entities).forEach((function(e) {
if ("STAR_ENEMY" === Y.getEntityTypeName(e.entityType)) {
e.pos || (e.pos = []);
var a = JSON.stringify({
x: e.x,
y: e.y
});
if (0 !== e.pos.length && e.pos[e.pos.length - 1] === a || e.pos.push(a), e.pos.length > 2 && e.pos.shift(),
e.pos.length >= 2) {
var u = e.pos.indexOf(a), s = 1 === u ? 0 : 0 === u && 2 === e.pos.length ? 1 : 0;
try {
var c = JSON.parse(e.pos[s]), f = c.x, l = c.y, h = r + (f - i), d = n + (l - o), v = Y.getEnemyRadius(e);
t.save(), t.beginPath(), t.arc(h, d, v, 0, 2 * Math.PI), t.strokeStyle = "rgba(255, 255, 0, 0.8)",
t.lineWidth = 6, t.stroke(), t.restore();
} catch (t) {}
}
}
}));
}
}
};
var Q = {
isEnabled: !1,
targetPlayerName: null,
easeDistance: 20,
stopDistance: 3,
maxSpeedScale: 1e3,
updateInterval: 10,
lastUpdateTime: 0,
lastKnownTargetPosition: null,
isCurrentlyMoving: !1,
dropdownUpdateInterval: null,
init: function() {
return this.startDropdownUpdates(), this;
},
startDropdownUpdates: function() {
var t = this;
this.dropdownUpdateInterval && clearInterval(this.dropdownUpdateInterval), this.dropdownUpdateInterval = setInterval((function() {
var e = document.querySelector(".epush-settings-window");
e && "none" !== e.style.display && t.updateFollowDropdownOptions();
}), 3e3);
},
stopDropdownUpdates: function() {
this.dropdownUpdateInterval && clearInterval(this.dropdownUpdateInterval), this.dropdownUpdateInterval = null;
},
updateFollowDropdownOptions: function() {
var t = Object.values(a.globalEntities).filter((function(t) {
return t.id !== a.selfId && t.name;
})).sort((function(t, e) {
return t.name.localeCompare(e.name);
})), e = [ {
value: "none",
label: "None"
} ];
t.forEach((function(t) {
e.push({
value: t.name,
label: "".concat(t.name, " (L").concat(t.level || "?", ")")
});
})), W.updateDropdownOptions("followPlayerControl", e);
},
enable: function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
t && this.targetPlayerName !== t && (this.targetPlayerName = t, this.isEnabled = !0,
this.lastUpdateTime = 0, this.isCurrentlyMoving = !1, W.updateSetting("followPlayerControl", this.targetPlayerName),
this.updateFollowDropdownOptions());
},
disable: function() {
this.isEnabled && (this.targetPlayerName, this.targetPlayerName = null, this.isEnabled = !1,
this.isCurrentlyMoving = !1, this.lastKnownTargetPosition = null, W.updateSetting("followPlayerControl", "none"),
this.updateFollowDropdownOptions());
},
update: function() {
var e = this;
return (0, t.A)(r().mark((function _callee() {
var t, n, i, o, u, s, l, h, d, v, p, b, y, g, w, m, _, O, k, S, E;
return r().wrap((function(r) {
for (;;) switch (r.prev = r.next) {
case 0:
if (e.isEnabled) {
r.next = 2;
break;
}
return r.abrupt("return");
case 2:
if (!((t = Date.now()) - e.lastUpdateTime < e.updateInterval)) {
r.next = 5;
break;
}
return r.abrupt("return");
case 5:
if (e.lastUpdateTime = t, n = a.getPlayer()) {
r.next = 10;
break;
}
return e.disable(), r.abrupt("return");
case 10:
if (e.targetPlayerName) {
r.next = 13;
break;
}
return e.disable(), r.abrupt("return");
case 13:
if (u = Object.values(a.globalEntities).find((function(t) {
return t.name === e.targetPlayerName;
}))) {
r.next = 18;
break;
}
return e.disable(), r.abrupt("return");
case 18:
if (!(s = a.entities[u.id])) {
r.next = 25;
break;
}
i = s.x, o = s.y, e.lastKnownTargetPosition = {
x: i,
y: o
}, r.next = 33;
break;
case 25:
if (!e.lastKnownTargetPosition) {
r.next = 30;
break;
}
i = e.lastKnownTargetPosition.x, o = e.lastKnownTargetPosition.y, r.next = 33;
break;
case 30:
return e.isCurrentlyMoving && Y.sendMovement(0, 0), e.isCurrentlyMoving = !1, r.abrupt("return");
case 33:
l = 0, h = 0, d = !1, v = !1, p = i - n.x, b = o - n.y, (y = Math.sqrt(p * p + b * b)) > e.stopDistance ? y > .01 && (g = p / y,
w = b / y, m = e.maxSpeedScale, y < e.easeDistance && (m *= (y - e.stopDistance) / (e.easeDistance - e.stopDistance),
m = Math.max(0, m)), l = g * m, h = w * m, d = !0) : e.isCurrentlyMoving && (v = !0),
_ = l, O = h, k = d, d && f.enabled && (S = f.calculateSafeMovement(l, h, c.getEntityTypeName),
_ = S.x, O = S.y, k = Math.abs(_) > .01 || Math.abs(O) > .01), v ? (Y.sendMovement(0, 0),
e.isCurrentlyMoving = !1) : k ? (E = Y.sendMovement(_, O), e.isCurrentlyMoving = E) : e.isCurrentlyMoving && (Y.sendMovement(0, 0),
e.isCurrentlyMoving = !1);
case 46:
case "end":
return r.stop();
}
}), _callee);
})))();
},
_gameToScreenCoords: function(t, e) {
var r = a.getPlayer(), n = ot.getCanvas();
if (!r || !n) return null;
var i = r.x, o = r.y;
return {
x: n.width / 2 + (t - i),
y: n.height / 2 + (e - o)
};
},
_gameUnitsToScreen: function(t) {
return t;
},
draw: function(t) {
this.isEnabled;
}
};
const tt = Q;
__webpack_require__(6033), __webpack_require__(8130);
const et = {
enabled: !0,
activeDeparts: new Map,
previousDepartState: new Map,
init: function() {
this.activeDeparts.clear(), this.previousDepartState.clear();
},
isSelfDeparted: function() {
return this.activeDeparts.has(a.selfId);
},
update: function() {
var t = this, e = Date.now(), r = new Set(Object.keys(a.entities).map(Number));
for (var n in a.entities) {
var i = parseInt(n, 10), o = a.entities[i];
if (10 === o.heroType) {
var u = !!o.isDeparted, s = this.previousDepartState.get(i) || !1;
if (u && !s) {
var c = o.departTimeLeft;
(null == c || c < 2601) && (c = 2600), this.activeDeparts.set(i, {
startTime: e,
totalDuration: c
});
} else !u && s && this.activeDeparts.has(i) && this.activeDeparts.delete(i);
if (this.previousDepartState.set(i, u), u && this.activeDeparts.has(i)) {
var f = this.activeDeparts.get(i);
e > f.startTime + f.totalDuration && (this.activeDeparts.delete(i), this.previousDepartState.set(i, !1));
}
} else this.activeDeparts.has(i) && this.activeDeparts.delete(i), this.previousDepartState.has(i) && this.previousDepartState.delete(i);
}
this.activeDeparts.forEach((function(e, n) {
r.has(n) || t.activeDeparts.delete(n);
})), this.previousDepartState.forEach((function(e, n) {
r.has(n) || t.previousDepartState.delete(n);
}));
},
draw: function(t, e, r, n) {
var i = this;
if (this.enabled && e && 0 !== this.activeDeparts.size) {
var o = Date.now();
this.activeDeparts.forEach((function(u, s) {
var c = a.entities[s];
if (!c) return i.activeDeparts.delete(s), void i.previousDepartState.delete(s);
var f = o - u.startTime, l = Math.max(0, 1 - f / u.totalDuration);
if (l <= 0) return i.activeDeparts.delete(s), void i.previousDepartState.set(s, !1);
var h = r + (c.x - e.x), d = n + (c.y - e.y), v = c.radius || 15, p = -Math.PI / 2, b = p + l * Math.PI * 2, y = p + 2 * Math.PI;
t.save(), t.fillStyle = "rgba(0, 0, 0, 0.4)", t.beginPath(), t.moveTo(h, d), t.arc(h, d, v, p, y),
t.closePath(), t.fill(), t.fillStyle = "rgba(255, 255, 255, 0.8)", t.beginPath(),
t.moveTo(h, d), t.arc(h, d, v, p, b), t.closePath(), t.fill(), t.restore();
}));
}
}
};
function pelletCollector_createForOfIteratorHelper(t, e) {
var r = "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
if (!r) {
if (Array.isArray(t) || (r = function(t, e) {
if (t) {
if ("string" == typeof t) return pelletCollector_arrayLikeToArray(t, e);
var r = {}.toString.call(t).slice(8, -1);
return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? pelletCollector_arrayLikeToArray(t, e) : void 0;
}
}(t)) || e && t && "number" == typeof t.length) {
r && (t = r);
var n = 0, F = function() {};
return {
s: F,
n: function() {
return n >= t.length ? {
done: !0
} : {
done: !1,
value: t[n++]
};
},
e: function(t) {
throw t;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var i, o = !0, a = !1;
return {
s: function() {
r = r.call(t);
},
n: function() {
var t = r.next();
return o = t.done, t;
},
e: function(t) {
a = !0, i = t;
},
f: function() {
try {
o || null == r.return || r.return();
} finally {
if (a) throw i;
}
}
};
}
function pelletCollector_arrayLikeToArray(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
return n;
}
var rt = 1e3;
const nt = {
enabled: !1,
currentTargetPelletId: null,
currentPath: null,
pathIndex: 0,
isCurrentlyMoving: !1,
lastPathRecalcTime: 0,
obstacleRadiusBuffer: 50,
_logCounter: 0,
init: function() {
this.currentTargetPelletId = null, this.lastPathRecalcTime = 0, this.currentPath = null,
this.pathIndex = 0, this.isCurrentlyMoving = !1;
},
isActive: function() {
return this.enabled;
},
update: function() {
var e = this;
return (0, t.A)(r().mark((function _callee() {
var t, n, i, o, u, s, l, h, d, v, p, b, y, g, w, m, _, O, k, S, E, A, j, x, T, R, I, C, M, N, P, L, B, V, D, U, q, W, H, z, G, $, J, K, Z, X, Q, tt, et, nt, it, ot, at, ut, st, ct, ft, lt, ht;
return r().wrap((function(r) {
for (;;) switch (r.prev = r.next) {
case 0:
if (e._logCounter = (e._logCounter || 0) + 1, t = e._logCounter % 60 == 0, e.isActive()) {
r.next = 7;
break;
}
return t && e.currentTargetPelletId, e.isCurrentlyMoving && (Y.sendMovement(0, 0),
e.isCurrentlyMoving = !1), e.currentTargetPelletId && (e.currentTargetPelletId = null,
e.currentPath = null, e.pathIndex = 0), r.abrupt("return");
case 7:
if (n = a.getPlayer(), i = a.area, o = a.entities, n && i && void 0 !== i.width && void 0 !== i.height && o) {
r.next = 13;
break;
}
return e.isCurrentlyMoving && (Y.sendMovement(0, 0), e.isCurrentlyMoving = !1),
r.abrupt("return");
case 13:
for (s in u = [], o) (l = o[s]) && "PELLET" === Y.getEntityTypeName(l.entityType) && u.push(l);
if (0 !== u.length) {
r.next = 22;
break;
}
return t && e.currentTargetPelletId, e.currentTargetPelletId = null, e.currentPath = null,
e.pathIndex = 0, e.isCurrentlyMoving && (Y.sendMovement(0, 0), e.isCurrentlyMoving = !1),
r.abrupt("return");
case 22:
if (h = c.getTrackedEntities(Y.getEntityTypeName.bind(Y)), d = u.filter((function(t) {
var e, r = pelletCollector_createForOfIteratorHelper(h);
try {
for (r.s(); !(e = r.n()).done; ) {
var n = e.value, i = t.x - n.x, o = t.y - n.y;
if (i * i + o * o < 2500) return !1;
}
} catch (t) {
r.e(t);
} finally {
r.f();
}
return !0;
})), 0 !== d.length) {
r.next = 29;
break;
}
return e.currentTargetPelletId && (e.currentTargetPelletId = null, e.currentPath = null,
e.pathIndex = 0, e.isCurrentlyMoving && (Y.sendMovement(0, 0), e.isCurrentlyMoving = !1)),
r.abrupt("return");
case 29:
if (v = null, e.currentTargetPelletId && (p = o[e.currentTargetPelletId], b = d.some((function(t) {
return t.id === e.currentTargetPelletId;
})), p && "PELLET" === Y.getEntityTypeName(p.entityType) && b ? v = p : (e.currentTargetPelletId = null,
v = null, e.currentPath = null, e.pathIndex = 0)), v) {
r.next = 49;
break;
}
y = 1 / 0, g = pelletCollector_createForOfIteratorHelper(d);
try {
for (g.s(); !(w = g.n()).done; ) m = w.value, _ = m.x - n.x, O = m.y - n.y, (k = _ * _ + O * O) < y && k < 25e4 && (y = k,
v = m);
} catch (t) {
g.e(t);
} finally {
g.f();
}
if (!v) {
r.next = 43;
break;
}
S = e.currentTargetPelletId, e.currentTargetPelletId = v.id, e.currentTargetPelletId !== S && (e.lastPathRecalcTime = 0,
e.currentPath = null, e.pathIndex = 0), r.next = 47;
break;
case 43:
return e.isCurrentlyMoving && (Y.sendMovement(0, 0), e.isCurrentlyMoving = !1),
e.currentTargetPelletId && (e.currentTargetPelletId = null, e.currentPath = null,
e.pathIndex = 0), r.abrupt("return");
case 47:
r.next = 54;
break;
case 49:
E = v.x - n.x, A = v.y - n.y, E * E + A * A >= 25e4 && (e.currentTargetPelletId = null,
v = null, e.currentPath = null, e.pathIndex = 0, e.isCurrentlyMoving && (Y.sendMovement(0, 0),
e.isCurrentlyMoving = !1));
case 54:
if (j = Date.now(), !(v && j - e.lastPathRecalcTime >= 5)) {
r.next = 88;
break;
}
return e.lastPathRecalcTime = j, x = i.width, T = i.height, R = i.x, I = i.y, C = Math.max(R, Math.min(n.x, R + x - 1e-9)),
M = Math.max(I, Math.min(n.y, I + T - 1e-9)), N = {
x: C - R,
y: M - I
}, P = Math.max(R, Math.min(v.x, R + x - 1e-9)), L = Math.max(I, Math.min(v.y, I + T - 1e-9)),
B = {
x: P - R,
y: L - I
}, V = c.getTrackedEntities(Y.getEntityTypeName.bind(Y)), D = V.map((function(t) {
return {
x: t.x - R,
y: t.y - I,
radius: t.radius + e.obstacleRadiusBuffer
};
})), U = Math.max(x, T), r.prev = 75, r.next = 78, calculatePathAsync(N, B, D, x, T, U);
case 78:
(q = r.sent) && q.path && q.path.length > 0 ? (e.currentPath = q.path.map((function(t) {
return {
x: t.x + R,
y: t.y + I
};
})), e.pathIndex = 0) : (e.currentPath = null, e.pathIndex = 0), r.next = 88;
break;
case 82:
r.prev = 82, r.t0 = r.catch(75), e.currentPath = null, e.pathIndex = 0;
case 88:
W = 0, H = 0, z = !1, G = !1, e.currentPath && e.currentPath.length > 1 ? ($ = e.pathIndex + 1) < e.currentPath.length ? (J = e.currentPath[$],
K = J.x - n.x, Z = J.y - n.y, K * K + Z * Z < 400 && $ < e.currentPath.length - 1 && e.pathIndex++,
X = Math.min(e.pathIndex + 1, e.currentPath.length - 1), Q = e.currentPath[X], tt = Q.x - n.x,
et = Q.y - n.y, (nt = Math.sqrt(tt * tt + et * et)) > 5 ? nt > .01 && (W = tt / nt * rt,
H = et / nt * rt, z = !0) : X >= e.currentPath.length - 1 ? (e.isCurrentlyMoving && (G = !0),
e.currentPath = null, e.pathIndex = 0, e.currentTargetPelletId = null) : (it = e.currentPath[X + 1],
ot = it.x - n.x, at = it.y - n.y, (ut = Math.sqrt(ot * ot + at * at)) > .01 && (W = ot / ut * rt,
H = at / ut * rt, z = !0))) : (e.isCurrentlyMoving && (G = !0), e.currentPath = null,
e.pathIndex = 0) : (t && e.currentTargetPelletId, e.isCurrentlyMoving && (G = !0),
e.currentPath = null, e.pathIndex = 0), st = W, ct = H, ft = z, z && f.enabled && (lt = f.calculateSafeMovement(W, H, Y.getEntityTypeName.bind(Y)),
st = lt.x, ct = lt.y, ft = Math.abs(st) > .01 || Math.abs(ct) > .01, lt.collision),
G ? (Y.sendMovement(0, 0), e.isCurrentlyMoving = !1) : ft ? (ht = Y.sendMovement(st, ct),
e.isCurrentlyMoving = ht) : e.isCurrentlyMoving && (Y.sendMovement(0, 0), e.isCurrentlyMoving = !1);
case 98:
case "end":
return r.stop();
}
}), _callee, null, [ [ 75, 82 ] ]);
})))();
},
draw: function(t, e, r, n) {
if (this.isActive() && this.currentPath && e) {
if (t.save(), t.beginPath(), t.strokeStyle = "rgba(0, 255, 255, 0.5)", t.lineWidth = 1,
this.pathIndex + 1 < this.currentPath.length) {
var i = this.currentPath[this.pathIndex + 1], o = r + (i.x - e.x), u = n + (i.y - e.y);
if (t.beginPath(), t.moveTo(r, n), t.lineTo(o, u), t.stroke(), this.pathIndex + 2 < this.currentPath.length) {
t.beginPath(), t.moveTo(o, u);
for (var s = this.pathIndex + 2; s < this.currentPath.length; s++) {
var c = this.currentPath[s], f = r + (c.x - e.x), l = n + (c.y - e.y);
t.lineTo(f, l);
}
t.stroke();
}
}
var h = Math.min(this.pathIndex + 1, this.currentPath.length - 1);
if (h >= 0 && h < this.currentPath.length) {
var d = this.currentPath[h], v = r + (d.x - e.x), p = n + (d.y - e.y);
t.fillStyle = "rgba(0, 255, 255, 0.8)", t.beginPath(), t.arc(v, p, 4, 0, 2 * Math.PI),
t.fill();
}
if (t.restore(), this.currentTargetPelletId) {
var b = a.entities[this.currentTargetPelletId];
if (b) {
var y = r + (b.x - e.x), g = n + (b.y - e.y);
t.beginPath(), t.strokeStyle = "rgba(255, 255, 0, 0.8)", t.lineWidth = 3, t.arc(y, g, 15, 0, 2 * Math.PI),
t.stroke();
}
}
}
}
};
function renderer_arrayLikeToArray(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
return n;
}
var it = {
canvas: null,
ctx: null,
isDrawing: !1,
showLabels: !1,
showEnemyHitbox: !0,
showFields: !1,
showVelocities: !1,
showStrengthLine: !1,
showAreaBorders: !0,
showZoneIndicator: !0,
init: function(t) {
return this.canvas = t, t && (this.ctx = t.getContext("2d")), this;
},
getCanvas: function() {
return this.canvas;
},
startDrawing: function() {
this.isDrawing || (this.isDrawing = !0, this.drawFrame());
},
stopDrawing: function() {
this.isDrawing = !1;
},
toggleLabels: function() {
this.showLabels = !this.showLabels;
},
toggleEnemyHitbox: function() {
this.showEnemyHitbox = !this.showEnemyHitbox;
},
toggleFieldDots: function() {
return this.showFields = !this.showFields, this.showFields;
},
toggleStrengthLine: function() {
return this.showStrengthLine = !this.showStrengthLine, this.showStrengthLine;
},
toggleVelocityVectors: function() {
this.showVelocities = !this.showVelocities;
},
drawEllipse: function(t, e, r, n, i) {
this.ctx.save(), this.ctx.translate(t, e), this.ctx.rotate(i), this.ctx.scale(1, n / r),
this.ctx.beginPath(), this.ctx.arc(0, 0, r, 0, 2 * Math.PI), this.ctx.restore();
},
drawArrowhead: function(t, e, r, n) {
this.ctx.save(), this.ctx.translate(t, e), this.ctx.rotate(r), this.ctx.beginPath(),
this.ctx.moveTo(-n, -n / 2), this.ctx.lineTo(0, 0), this.ctx.lineTo(-n, n / 2),
this.ctx.strokeStyle = "rgba(255, 255, 0, 0.8)", this.ctx.stroke(), this.ctx.restore();
},
drawFrame: function() {
var t = this;
if (this.isDrawing && (this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height),
requestAnimationFrame((function() {
return t.drawFrame();
})), tt.update(), et.update(), nt.update(), this.canvas && this.ctx && a.selfId && a.entities[a.selfId])) {
var e = a.getPlayer(), r = e.x, n = e.y, i = this.canvas.width, o = this.canvas.height, u = i / 2, s = o / 2;
if (this.ctx.save(), this.showAreaBorders) {
var l = $.getAreaBounds(), h = $.getDangerZones(), d = $.getSafeZones(), v = $.getAreaTeleportZones(), p = $.getZoneTeleportZones();
if (l) {
this.ctx.save(), this.ctx.lineWidth = 2;
var b = u + (l.x - r), y = s + (l.y - n);
this.ctx.strokeStyle = "rgba(255, 0, 0, 0.3)", this.ctx.strokeRect(b, y, l.width, l.height),
this.ctx.strokeStyle = "rgba(255, 0, 0, 0.8)", h.forEach((function(e) {
var i = u + (e.x - r), o = s + (e.y - n);
t.ctx.strokeRect(i, o, e.width, e.height);
})), this.ctx.strokeStyle = "rgba(0, 255, 0, 0.8)", d.forEach((function(e) {
var i = u + (e.x - r), o = s + (e.y - n);
t.ctx.strokeRect(i, o, e.width, e.height);
})), this.ctx.strokeStyle = "rgba(255, 255, 0, 0.8)", v.forEach((function(e) {
var i = u + (e.x - r), o = s + (e.y - n);
t.ctx.strokeRect(i, o, e.width, e.height);
})), this.ctx.strokeStyle = "rgba(0, 0, 255, 0.8)", p.forEach((function(e) {
var i = u + (e.x - r), o = s + (e.y - n);
t.ctx.strokeRect(i, o, e.width, e.height);
})), this.ctx.restore();
}
}
var g = $.getZoneTypeAt(r, n);
if (this.showZoneIndicator && (this.ctx.save(), this.ctx.fillStyle = "white", this.ctx.font = "14px Arial",
this.ctx.textAlign = "left", this.ctx.textBaseline = "top", this.ctx.fillText("Current Zone: ".concat(g), 10, 10),
this.ctx.restore()), this.showFields) {
var w = 150;
c.getTrackedEntities(Y.getEntityTypeName.bind(Y)).forEach((function(e) {
var a = e.x - r, c = e.y - n, l = u + a, h = s + c;
if (Math.abs(a) < i / 2 + w && Math.abs(c) < o / 2 + w) for (var d = l - w; d <= l + w; d += 20) for (var v = h - w; v <= h + w; v += 20) {
var p = r + (d - u), b = n + (v - s), y = f.calculateFieldStrengthAtPoint(e, p, b);
if (y > 1) {
var g = Math.min(y / 15e3, 1), m = Math.floor(255 * g), _ = Math.floor(255 * (1 - g) * .5), O = .3 + .5 * g;
t.ctx.fillStyle = "rgba(".concat(m, ", ").concat(_, ", ").concat(0, ", ").concat(O, ")"),
t.ctx.beginPath(), t.ctx.arc(d, v, 3, 0, 2 * Math.PI), t.ctx.fill();
}
}
}));
}
var m = a.mouseScreenX, _ = a.mouseScreenY, O = r + (m - u), k = n + (_ - s);
if (a.updateCalculatedMouseGameCoords(O, k), this.showEnemyHitbox && Object.values(a.entities).forEach((function(e) {
if (!e.isHarmless && 0 != Y.isEntityTypeDangerous(e.entityType)) {
var i = e.x - r, o = e.y - n;
if (Math.sqrt(i * i + o * o) <= 300) {
var a = u + i, c = s + o, l = Y.getEnemyRadius(e), h = f.playerRadius + l + f.safetyMargin;
t.ctx.beginPath(), t.ctx.fillStyle = "rgba(255, 0, 0, 0.1)", t.ctx.strokeStyle = "rgba(255, 0, 0, 0.5)",
t.ctx.arc(a, c, h, 0, 2 * Math.PI), t.ctx.fill(), t.ctx.stroke(), t.ctx.beginPath(),
t.ctx.strokeStyle = "rgba(255, 0, 0, 0.8)", t.ctx.arc(a, c, l, 0, 2 * Math.PI),
t.ctx.stroke();
var d = f.deadzoneDistance;
if (d > 0) {
var v = l + d;
t.ctx.beginPath(), t.ctx.fillStyle = "rgba(0, 0, 255, 0.1)", t.ctx.strokeStyle = "rgba(0, 0, 255, 0.4)",
t.ctx.arc(a, c, v, 0, 2 * Math.PI), t.ctx.fill(), t.ctx.stroke();
}
}
}
})), Object.values(a.entities).forEach((function(e) {
if (0 != Y.isEntityTypeDangerous(e.entityType)) {
var i = e.x - r, o = e.y - n;
if (Math.sqrt(i * i + o * o) <= 1e3) {
var a = u + i, c = s + o;
if (t.ctx.beginPath(), t.ctx.fillStyle = e.isHarmless ? "rgba(0, 255, 0, 0.8)" : "rgba(255, 0, 0, 0.8)",
t.ctx.arc(a, c, 5, 0, 2 * Math.PI), t.ctx.fill(), t.showVelocities && f.velocities && f.velocities[e.id]) {
var l = f.velocities[e.id];
if (Math.sqrt(l.x * l.x + l.y * l.y) > .1) {
t.ctx.beginPath(), t.ctx.strokeStyle = "rgba(255, 255, 0, 0.8)", t.ctx.lineWidth = 2,
t.ctx.moveTo(a, c), t.ctx.lineTo(a + 5 * l.x, c + 5 * l.y), t.ctx.stroke();
var h = Math.atan2(l.y, l.x);
t.drawArrowhead(a + 5 * l.x, c + 5 * l.y, h, 8);
}
}
if (t.showLabels) {
var d = Y.getEntityTypeName(e.entityType), v = Y.getEnemyRadius(e), p = v ? " (r: ".concat(v.toFixed(0), ")") : "", b = "".concat(d).concat(p);
t.ctx.fillStyle = "white", t.ctx.strokeStyle = "black", t.ctx.lineWidth = 2, t.ctx.font = "10px Arial",
t.ctx.textAlign = "center", t.ctx.strokeText(b, a, c - 10), t.ctx.fillText(b, a, c - 10);
}
}
}
})), this.showStrengthLine && f.lastCalculatedForce) {
var S = f.lastCalculatedForce, E = Math.sqrt(S.x * S.x + S.y * S.y);
if (E > .1) {
this.ctx.beginPath(), this.ctx.strokeStyle = "rgba(0, 200, 255, 0.8)", this.ctx.lineWidth = 3,
this.ctx.moveTo(u, s);
var A = 50 / Math.max(E, 1);
this.ctx.lineTo(u + S.x * A, s + S.y * A), this.ctx.stroke(), this.ctx.fillStyle = "white",
this.ctx.font = "12px Arial", this.ctx.textAlign = "center", this.ctx.fillText("Force: ".concat(E.toFixed(0)), u + S.x * A / 2, s + S.y * A / 2 - 5);
}
}
z.draw(this.ctx, e, u, s), G.draw(this.ctx, e, u, s), X.draw(this.ctx, e, u, s),
tt.draw(this.ctx), et.draw(this.ctx, e, u, s), nt.draw(this.ctx, e, u, s);
var j = getCurrentPath();
if (j && j.length >= 1) {
this.ctx.beginPath(), this.ctx.strokeStyle = "rgba(0, 255, 255, 0.7)", this.ctx.lineWidth = 2,
this.ctx.moveTo(u, s);
var x, T = function(t, e) {
var r = "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
if (!r) {
if (Array.isArray(t) || (r = function(t, e) {
if (t) {
if ("string" == typeof t) return renderer_arrayLikeToArray(t, e);
var r = {}.toString.call(t).slice(8, -1);
return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? renderer_arrayLikeToArray(t, e) : void 0;
}
}(t)) || e && t && "number" == typeof t.length) {
r && (t = r);
var n = 0, F = function() {};
return {
s: F,
n: function() {
return n >= t.length ? {
done: !0
} : {
done: !1,
value: t[n++]
};
},
e: function(t) {
throw t;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var i, o = !0, a = !1;
return {
s: function() {
r = r.call(t);
},
n: function() {
var t = r.next();
return o = t.done, t;
},
e: function(t) {
a = !0, i = t;
},
f: function() {
try {
o || null == r.return || r.return();
} finally {
if (a) throw i;
}
}
};
}(j);
try {
for (T.s(); !(x = T.n()).done; ) {
var R = x.value, I = u + (R.x - r), C = s + (R.y - n);
this.ctx.lineTo(I, C);
}
} catch (t) {
T.e(t);
} finally {
T.f();
}
this.ctx.stroke();
}
this.ctx.restore();
}
}
};
const ot = it;
var cleanupOverlayListeners = function(t) {
t._resizeObserver && (t._resizeObserver.disconnect(), delete t._resizeObserver),
t._windowResizeListener && (window.removeEventListener("resize", t._windowResizeListener),
delete t._windowResizeListener), t._windowScrollListener && (window.removeEventListener("scroll", t._windowScrollListener),
delete t._windowScrollListener);
};
function setupOverlayCanvas(t, e) {
var r = document.getElementById(t);
if (!r) return null;
var n = document.getElementById(e), i = !1;
n || ((n = document.createElement("canvas")).id = e, document.body.appendChild(n),
i = !0), n.style.position = "absolute", n.style.pointerEvents = "none", n.style.zIndex = "10",
n.style.display = "block";
var syncOverlay = function() {
n._isSyncing || (n._isSyncing = !0, requestAnimationFrame((function() {
try {
if (!document.body.contains(r)) return cleanupOverlayListeners(n), void (document.body.contains(n) && (n.style.display = "none"));
if (!document.body.contains(n)) return void cleanupOverlayListeners(n);
var t = r.getBoundingClientRect();
n.width === r.width && n.height === r.height || (n.width = r.width, n.height = r.height);
var e = t.width + "px", i = t.height + "px", o = t.top + window.scrollY + "px", a = t.left + window.scrollX + "px";
n.style.width !== e && (n.style.width = e), n.style.height !== i && (n.style.height = i),
n.style.top !== o && (n.style.top = o), n.style.left !== a && (n.style.left = a),
"none" === n.style.display && (n.style.display = "block");
} catch (t) {
cleanupOverlayListeners(n);
} finally {
n._isSyncing = !1;
}
})));
};
i || cleanupOverlayListeners(n);
var o = new ResizeObserver(syncOverlay);
o.observe(r), n._resizeObserver = o;
var windowResizeHandler = function() {
return syncOverlay();
};
window.addEventListener("resize", windowResizeHandler), n._windowResizeListener = windowResizeHandler;
var windowScrollHandler = function() {
return syncOverlay();
};
return window.addEventListener("scroll", windowScrollHandler, {
passive: !0
}), n._windowScrollListener = windowScrollHandler, syncOverlay(), n;
}
function settings_createForOfIteratorHelper(t, e) {
var r = "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
if (!r) {
if (Array.isArray(t) || (r = function(t, e) {
if (t) {
if ("string" == typeof t) return settings_arrayLikeToArray(t, e);
var r = {}.toString.call(t).slice(8, -1);
return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? settings_arrayLikeToArray(t, e) : void 0;
}
}(t)) || e && t && "number" == typeof t.length) {
r && (t = r);
var n = 0, F = function() {};
return {
s: F,
n: function() {
return n >= t.length ? {
done: !0
} : {
done: !1,
value: t[n++]
};
},
e: function(t) {
throw t;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var i, o = !0, a = !1;
return {
s: function() {
r = r.call(t);
},
n: function() {
var t = r.next();
return o = t.done, t;
},
e: function(t) {
a = !0, i = t;
},
f: function() {
try {
o || null == r.return || r.return();
} finally {
if (a) throw i;
}
}
};
}
function settings_arrayLikeToArray(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
return n;
}
function settings_ownKeys(t, e) {
var r = Object.keys(t);
if (Object.getOwnPropertySymbols) {
var n = Object.getOwnPropertySymbols(t);
e && (n = n.filter((function(e) {
return Object.getOwnPropertyDescriptor(t, e).enumerable;
}))), r.push.apply(r, n);
}
return r;
}
function settings_objectSpread(t) {
for (var e = 1; e < arguments.length; e++) {
var r = null != arguments[e] ? arguments[e] : {};
e % 2 ? settings_ownKeys(Object(r), !0).forEach((function(e) {
_defineProperty(t, e, r[e]);
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : settings_ownKeys(Object(r)).forEach((function(e) {
Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e));
}));
}
return t;
}
__webpack_require__(2712);
var at = "ePushSettings", ut = [ {
id: "collisionAvoidance",
label: "Collision Avoidance",
type: "boolean",
defaultValue: !0,
tooltip: "Enable/disable automatic collision avoidance system",
category: "Avoidance",
applyChange: function(t, e) {
e.obstacleAvoidance.enabled = t;
}
}, {
id: "networkLogging",
label: "Network Logging",
type: "boolean",
defaultValue: !1,
tooltip: "Enable/disable network logging",
category: "Debugging",
applyChange: function(t, e) {
e.network.toggleLogging(t);
}
}, {
id: "resetAllSettingsBtn",
label: "Reset Defaults",
type: "button",
buttonText: "Reset All Settings",
tooltip: "Resets all E-Push settings to their original defaults.",
category: "Debugging",
onClick: function(t, e, r) {
confirm("Are you sure you want to reset all settings to their defaults?") && function(t, e, r) {
var n, i = ut.reduce((function(t, e) {
return t[e.id] = e.defaultValue, t;
}), {}), o = settings_createForOfIteratorHelper(ut);
try {
for (o.s(); !(n = o.n()).done; ) {
var a = n.value, u = i[a.id];
void 0 !== u && (t[a.id] = u, r.updateSetting(a.id, u));
}
} catch (t) {
o.e(t);
} finally {
o.f();
}
saveSettings(t), applyAllSettings(t, e, r), r.updateThemeColors(t);
}(t, e, r);
}
}, {
id: "autoKey11",
label: "Auto Key (X)",
type: "boolean",
defaultValue: !1,
tooltip: "Automatically send key (X) when close to enemies",
category: "Avoidance",
applyChange: function(t, e) {
e.obstacleAvoidance.autoForceKey11 = t;
}
}, {
id: "key11Threshold",
label: "Key X Threshold",
type: "slider",
defaultValue: f.key11Threshold,
min: 0,
max: 5e3,
step: 50,
tooltip: "Force magnitude threshold to trigger key X",
category: "Avoidance",
applyChange: function(t, e) {
e.obstacleAvoidance.key11Threshold = t;
}
}, {
id: "autoKey10",
label: "Auto Key (Z)",
type: "boolean",
defaultValue: !1,
tooltip: "Automatically send key (Z) when close to enemies",
category: "Avoidance",
applyChange: function(t, e) {
e.obstacleAvoidance.autoForceKey10 = t;
}
}, {
id: "key10Threshold",
label: "Key Z Threshold",
type: "slider",
defaultValue: f.key10Threshold,
min: 0,
max: 5e3,
step: 50,
tooltip: "Force magnitude threshold to trigger key Z",
category: "Avoidance",
applyChange: function(t, e) {
e.obstacleAvoidance.key10Threshold = t;
}
}, {
id: "speedInfluence",
label: "Speed Influence",
type: "slider",
defaultValue: f.speedInfluence,
min: 0,
max: 10,
step: .1,
tooltip: "How much entity speed affects the avoidance field strength",
category: "Avoidance",
applyChange: function(t, e) {
e.obstacleAvoidance.speedInfluence = t;
}
}, {
id: "directionBias",
label: "Direction Bias",
type: "slider",
defaultValue: f.directionBias,
min: 0,
max: 10,
step: .1,
tooltip: "How much the field spikes in the direction of enemy movement",
category: "Avoidance",
applyChange: function(t, e) {
e.obstacleAvoidance.directionBias = t;
}
}, {
id: "fieldExponent",
label: "Field Exponent",
type: "slider",
defaultValue: f.fieldExponent,
min: 0,
max: 4,
step: .1,
tooltip: "Exponent for the field strength calculation",
category: "Avoidance",
applyChange: function(t, e) {
e.obstacleAvoidance.fieldExponent = t;
}
}, {
id: "safetyMargin",
label: "Safety Margin",
type: "slider",
defaultValue: f.safetyMargin,
min: 0,
max: 50,
step: 1,
tooltip: "Additional distance to maintain from obstacles",
category: "Avoidance",
applyChange: function(t, e) {
e.obstacleAvoidance.safetyMargin = t;
}
}, {
id: "deadzone",
label: "Deadzone",
type: "slider",
defaultValue: f.deadzoneDistance,
min: 0,
max: 100,
step: 1,
tooltip: "Distance from enemy hitbox where repulsion field is disabled. Set to 0 to disable.",
category: "Avoidance",
applyChange: function(t, e) {
e.obstacleAvoidance.deadzoneDistance = t;
}
}, {
id: "showLabels",
label: "Show Labels",
type: "boolean",
defaultValue: !1,
tooltip: "Show entity labels on the map",
category: "Visuals",
applyChange: function(t, e) {
e.renderer.showLabels = t;
}
}, {
id: "showEnemyHitbox",
label: "Show Enemy Hitboxes",
type: "boolean",
defaultValue: !0,
tooltip: "Visualize collision radius",
category: "Visuals",
applyChange: function(t, e) {
e.renderer.showEnemyHitbox = t;
}
}, {
id: "showFieldDots",
label: "Show Field Dots",
type: "boolean",
defaultValue: !1,
tooltip: "Visualize repulsion field strength as dots around enemies",
category: "Visuals",
applyChange: function(t, e) {
e.renderer.showFields = t;
}
}, {
id: "showStrengthLine",
label: "Show Force Line",
type: "boolean",
defaultValue: !1,
tooltip: "Visualize the total avoidance force vector",
category: "Visuals",
applyChange: function(t, e) {
e.renderer.showStrengthLine = t;
}
}, {
id: "chronoShadow",
label: "Chrono Shadow",
type: "boolean",
defaultValue: !0,
tooltip: "Show time travel indicator (only works for Chrono hero)",
category: "Visuals",
applyChange: function(t, e) {
e.timeTravelIndicator.enabled = t;
}
}, {
id: "rimeTeleportIndicator",
label: "Rime Teleport Indicator",
type: "boolean",
defaultValue: !0,
tooltip: "Show teleport target indicator (only works for Rime hero)",
category: "Visuals",
applyChange: function(t, e) {
e.teleportIndicator.enabled = t;
}
}, {
id: "departIndicatorEnabled",
label: "Reaper Depart Indicator",
type: "boolean",
defaultValue: !0,
tooltip: "Show depart timer indicator for Reapers",
category: "Visuals",
applyChange: function(t, e) {
e.departIndicator && (e.departIndicator.enabled = t);
}
}, {
id: "starPredictor",
label: "Star Predictor",
type: "boolean",
defaultValue: !0,
tooltip: "Show predicted previous location for Star enemies",
category: "Visuals",
applyChange: function(t, e) {
e.starPredictor.isEnabled = t;
}
}, {
id: "showAreaBorders",
label: "Show Area Borders",
type: "boolean",
defaultValue: !0,
tooltip: "Show outlines for different map areas/zones (safe, danger, teleport).",
category: "Visuals",
applyChange: function(t, e) {
e.renderer && (e.renderer.showAreaBorders = t);
}
}, {
id: "showServerListUI",
label: "Show Server List",
type: "boolean",
defaultValue: !0,
tooltip: "Show/hide the server list panel (only visible outside of games).",
category: "Visuals",
applyChange: function(t, e) {
e.serverListUI && e.serverListUI.setVisibility(!t);
}
}, {
id: "showZoneIndicator",
label: "Show Zone Indicator",
type: "boolean",
defaultValue: !0,
tooltip: "Show text indicating the type of zone the player is currently in.",
category: "Visuals",
applyChange: function(t, e) {
e.renderer && (e.renderer.showZoneIndicator = t);
}
}, {
id: "antiAfkEnabled",
label: "Enable Anti-AFK",
type: "boolean",
defaultValue: !0,
tooltip: "Automatically send key press to prevent AFK kick",
category: "Automation",
applyChange: function(t, e) {
e.antiAfk.updateSettings({
enabled: t
});
}
}, {
id: "followPlayerControl",
label: "Follow Player",
type: "dropdown",
defaultValue: "none",
options: [ {
value: "none",
label: "None"
} ],
tooltip: "Select a player to follow automatically.",
category: "Automation"
}, {
id: "pelletCollectorEnabled",
label: "Pellet Collector",
type: "boolean",
defaultValue: !1,
tooltip: "Automatically pathfind to and collect nearby pellets",
category: "Automation",
applyChange: function(t, e) {
e.pelletCollector && (e.pelletCollector.enabled = t);
}
}, {
id: "uiWindowBg",
label: "Window Background",
type: "color",
defaultValue: "rgba(49, 50, 68, 0.9)",
tooltip: "Background color of the settings window",
category: "UI Theme"
}, {
id: "uiHeaderBg",
label: "Header Background",
type: "color",
defaultValue: "rgba(69, 71, 90, 0.9)",
tooltip: "Background color of the window header",
category: "UI Theme"
}, {
id: "uiTabBarBg",
label: "Tab Bar Background",
type: "color",
defaultValue: "rgba(49, 50, 68, 0.8)",
tooltip: "Background color of the tab bar",
category: "UI Theme"
}, {
id: "uiTabBg",
label: "Tab Background",
type: "color",
defaultValue: "rgba(69, 71, 90, 0.7)",
tooltip: "Background color of inactive tabs",
category: "UI Theme"
}, {
id: "uiTabActiveBg",
label: "Active Tab Background",
type: "color",
defaultValue: "rgba(30, 30, 46, 0.9)",
tooltip: "Background color of the active tab",
category: "UI Theme"
}, {
id: "uiSettingBg",
label: "Setting Background",
type: "color",
defaultValue: "rgba(69, 71, 90, 0.5)",
tooltip: "Background color for individual setting containers",
category: "UI Theme"
}, {
id: "uiTextColor",
label: "Text Color",
type: "color",
defaultValue: "#cdd6f4",
tooltip: "Default text color",
category: "UI Theme"
}, {
id: "uiBorderColor",
label: "Border Color",
type: "color",
defaultValue: "rgba(88, 91, 112, 0.7)",
tooltip: "Color for borders within the UI",
category: "UI Theme"
}, {
id: "uiInputBg",
label: "Input Background",
type: "color",
defaultValue: "#1e1e2e",
tooltip: "Background color for text/number inputs",
category: "UI Theme"
}, {
id: "uiInputColor",
label: "Input Text Color",
type: "color",
defaultValue: "#cdd6f4",
tooltip: "Text color for text/number inputs",
category: "UI Theme"
} ];
function loadSettings() {
var t = ut.reduce((function(t, e) {
return t[e.id] = e.defaultValue, t;
}), {});
try {
var e = localStorage.getItem(at);
if (e) {
var r = JSON.parse(e);
return settings_objectSpread(settings_objectSpread({}, t), r);
}
} catch (t) {}
return t;
}
function saveSettings(t) {
try {
localStorage.setItem(at, JSON.stringify(t));
} catch (t) {}
}
function applyAllSettings(t, e, r) {
var n, i = settings_createForOfIteratorHelper(ut);
try {
for (i.s(); !(n = i.n()).done; ) {
var o = n.value, a = t[o.id];
if (void 0 !== a && "function" == typeof o.applyChange) try {
o.applyChange(a, e, r);
} catch (t) {}
}
} catch (t) {
i.e(t);
} finally {
i.f();
}
}
function registerSettingsUI(t, e, r) {
var n = _toConsumableArray(new Set(ut.filter((function(t) {
return "UI Theme" !== t.category;
})).map((function(t) {
return t.category;
}))));
ut.some((function(t) {
return "UI Theme" === t.category;
})) && n.push("UI Theme"), r.createTabs(n), r.updateThemeColors(t);
var i, o = settings_createForOfIteratorHelper(ut);
try {
var _loop = function() {
var n = i.value, o = t[n.id], onChange = function(i) {
if (t[n.id] = i, saveSettings(t), "function" == typeof n.applyChange) try {
n.applyChange(i, e);
} catch (t) {}
"color" === n.type && "UI Theme" === n.category && r.updateThemeColors();
};
switch (n.type) {
case "boolean":
r.addBooleanSetting(n.id, n.label, o, n.tooltip, onChange, n.category);
break;
case "slider":
r.addSliderSetting(n.id, n.label, o, n.min, n.max, n.step, n.tooltip, onChange, n.category);
break;
case "number":
r.addNumberSetting(n.id, n.label, o, n.tooltip, onChange, n.category);
break;
case "text":
r.addTextSetting(n.id, n.label, o, n.tooltip, onChange, n.category);
break;
case "color":
r.addColorSetting(n.id, n.label, o, n.tooltip, onChange, n.category);
break;
case "button":
r.addButtonSetting(n.id, n.label, n.buttonText, n.tooltip, (function() {
return n.onClick(t, e, r);
}), n.category);
break;
case "dropdown":
r.addDropdownSetting(n.id, n.label, o, n.options, n.tooltip, (function(t) {
e && e.followPlayer && ("none" === t ? e.followPlayer.disable() : e.followPlayer.enable(t));
}), n.category), "followPlayerControl" === n.id && e.followPlayer && setTimeout((function() {
return e.followPlayer.updateFollowDropdownOptions();
}), 100);
}
};
for (o.s(); !(i = o.n()).done; ) _loop();
} catch (t) {
o.e(t);
} finally {
o.f();
}
}
function favoriteHeroes_arrayLikeToArray(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
return n;
}
__webpack_require__(4423), __webpack_require__(1699);
var st = "evades_favorite_heroes", ct = [], ft = null, lt = null, ht = null, dt = [];
function getHeroIdFromCard(t) {
var e = t.querySelector('a[id^="hero-select-rectangle"]');
return e ? e.id.replace("hero-select-rectangle", "").toLowerCase() : null;
}
function isFavorited(t) {
return ct.includes(t);
}
function addStarToHeroCard(t) {
var e = getHeroIdFromCard(t);
if (e && !t.querySelector(".favorite-star")) {
var r = document.createElement("span");
r.classList.add("favorite-star"), r.style.position = "absolute", r.style.top = "5px",
r.style.right = "8px", r.style.fontSize = "20px", r.style.cursor = "pointer", isFavorited(e) ? (r.classList.add("favorited"),
r.textContent = "⭐", r.style.color = "yellow", lt && lt.appendChild(t)) : (r.textContent = "☆",
r.style.color = "white"), r.addEventListener("click", (function(n) {
n.preventDefault(), n.stopPropagation(), function(t, e, r) {
if (isFavorited(t)) {
if (ct = ct.filter((function(e) {
return e !== t;
})), r.classList.remove("favorited"), r.textContent = "☆", ft) {
for (var n = null, i = dt.indexOf(t) + 1; i < dt.length; i++) {
var o, a = dt[i], u = null === (o = ft.querySelector("a#hero-select-rectangle".concat(a))) || void 0 === o ? void 0 : o.closest(".hero-select-container");
if (u && u.parentNode === ft) {
n = u;
break;
}
}
ft.insertBefore(e, n);
}
} else ct.push(t), r.classList.add("favorited"), r.textContent = "⭐", lt && lt.appendChild(e);
localStorage.setItem(st, JSON.stringify(ct)), checkFavoritesContainerVisibility();
}(e, t, r);
})), r.addEventListener("mouseenter", (function() {
r.style.transform = "scale(1.2)";
})), r.addEventListener("mouseleave", (function() {
r.style.transform = "scale(1)";
}));
var n = t.querySelector(".hero-select-rectangle");
n && "static" === getComputedStyle(n).position && (n.style.position = "relative"),
null == n || n.appendChild(r);
}
}
function checkFavoritesContainerVisibility() {
var t = document.getElementById("favorite-heroes-container");
t && (t.style.display = ct.length > 0 ? "block" : "none");
}
function setupFavoritesUI() {
var t = document.querySelector("#app > div > div > div.hero-select");
if (ft = null == t ? void 0 : t.querySelector(".hero-select-heroes-container"),
t && ft && !document.getElementById("favorite-heroes-container")) {
var e;
e = localStorage.getItem(st), ct = e ? JSON.parse(e) : [];
var r = document.createElement("div");
r.id = "favorite-heroes-container", r.style.marginBottom = "20px", r.style.borderBottom = "1px solid #555",
r.style.paddingBottom = "10px";
var n = document.createElement("h3");
n.textContent = "Favorites", n.style.textAlign = "center", n.style.color = "white",
n.style.marginBottom = "10px", r.appendChild(n), (lt = document.createElement("div")).id = "favorite-heroes-list",
lt.style.display = "flex", lt.style.flexWrap = "wrap", lt.style.justifyContent = "center",
lt.style.gap = "10px", r.appendChild(lt), ft.parentNode.insertBefore(r, ft);
var i = ft.querySelectorAll(".hero-select-container");
dt = Array.from(i).map(getHeroIdFromCard).filter((function(t) {
return t;
})), i.forEach(addStarToHeroCard), checkFavoritesContainerVisibility(), (ht = new MutationObserver((function(t) {
var e, r = function(t, e) {
var r = "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
if (!r) {
if (Array.isArray(t) || (r = function(t, e) {
if (t) {
if ("string" == typeof t) return favoriteHeroes_arrayLikeToArray(t, e);
var r = {}.toString.call(t).slice(8, -1);
return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? favoriteHeroes_arrayLikeToArray(t, e) : void 0;
}
}(t)) || e && t && "number" == typeof t.length) {
r && (t = r);
var n = 0, F = function() {};
return {
s: F,
n: function() {
return n >= t.length ? {
done: !0
} : {
done: !1,
value: t[n++]
};
},
e: function(t) {
throw t;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var i, o = !0, a = !1;
return {
s: function() {
r = r.call(t);
},
n: function() {
var t = r.next();
return o = t.done, t;
},
e: function(t) {
a = !0, i = t;
},
f: function() {
try {
o || null == r.return || r.return();
} finally {
if (a) throw i;
}
}
};
}(t);
try {
for (r.s(); !(e = r.n()).done; ) {
var n = e.value;
"childList" === n.type && (n.addedNodes.forEach((function(t) {
if (t.nodeType === Node.ELEMENT_NODE) if (t.classList.contains("hero-select-container")) addStarToHeroCard(t); else {
var e = t.querySelector(".hero-select-container");
e && addStarToHeroCard(e);
}
})), checkFavoritesContainerVisibility());
}
} catch (t) {
r.e(t);
} finally {
r.f();
}
}))).observe(ft, {
childList: !0,
subtree: !0
});
}
}
var vt, pt, bt, yt, gt, wt, mt, _t, Ot, kt, St, Et, At, jt = null, xt = window.fetch;
window.fetch = (0, t.A)(r().mark((function _callee() {
var t, e, n, i, o, a, u, s, c, f, l = arguments;
return r().wrap((function(r) {
for (;;) switch (r.prev = r.next) {
case 0:
for (e = l.length, n = new Array(e), i = 0; i < e; i++) n[i] = l[i];
return o = n[0], a = n[1], r.next = 4, xt.apply(this, n);
case 4:
if (u = r.sent, s = (null == a || null === (t = a.method) || void 0 === t ? void 0 : t.toUpperCase()) || "GET",
"string" != typeof o || "/api/game/list" !== o || "GET" !== s) {
r.next = 20;
break;
}
return r.prev = 8, c = u.clone(), r.next = 12, c.json();
case 12:
f = r.sent, jt = f, window.dispatchEvent(new CustomEvent("serverListDataUpdated", {
detail: jt
})), r.next = 20;
break;
case 17:
r.prev = 17, r.t0 = r.catch(8);
case 20:
return r.abrupt("return", u);
case 21:
case "end":
return r.stop();
}
}), _callee, this, [ [ 8, 17 ] ]);
}))), __webpack_require__(2762);
const Tt = (vt = null, pt = null, bt = null, yt = "", gt = {}, wt = new Set, mt = new Set,
_t = !1, Ot = function() {
if (vt) if (_t) vt.style.display = "none"; else {
var t = Y.gameWS && Y.gameWS.readyState === WebSocket.OPEN;
vt.style.display = t ? "none" : "flex";
}
}, kt = function(t, e) {
if (0 === e) return "#aaa";
var r = t / e;
return r < .5 ? "#4CAF50" : r < .85 ? "#FFC107" : "#F44336";
}, St = function(t) {
var e = t.currentTarget.dataset.serverId, r = pt.querySelector('.player-list[data-server-id="'.concat(e, '"]'));
if (r) {
var n = !("none" !== r.style.display);
r.style.display = n ? "block" : "none", gt[e] = !n, n ? wt.add(e) : wt.delete(e),
mt.delete(e);
var i = t.currentTarget.querySelector(".toggle-indicator");
i && (i.textContent = n ? " ▼" : " ►");
}
}, Et = function(t) {
var e = t.target.value.trim().toLowerCase(), r = yt && !e, n = e && e !== yt;
if (yt = e, r) mt.forEach((function(t) {
wt.has(t) || (gt[t] = !0);
})), mt.clear(); else if (n && (mt.forEach((function(t) {
wt.has(t) || (gt[t] = !0);
})), mt.clear(), jt && jt.servers)) for (var i in jt.servers) for (var o in jt.servers[i]) {
var a = jt.servers[i][o], u = "".concat(i, "-").concat(o);
a.online && a.online.some((function(t) {
return t.toLowerCase().includes(yt);
})) && !1 !== gt[u] && (gt[u] = !1, wt.has(u) || mt.add(u));
}
At();
}, At = function() {
if (pt) {
if (!jt || !jt.servers) return pt.innerHTML = "<p>Waiting for server data...</p>",
void (pt.innerHTML = "<p>Waiting for server data...</p>");
var t = "", e = 0, r = 0;
for (var n in jt.servers) {
t += '<h4 style="margin: 10px 0 5px 0; font-size: 13px; border-bottom: 1px solid #555;">'.concat(n, "</h4>");
var i = jt.servers[n], o = 0, a = 0;
for (var u in i) {
var s = u, c = i[u], f = kt(c.connected, c.capacity), l = "".concat(n, "-").concat(s), h = !1 !== gt[l];
t += '<div class="server-header" data-server-id="'.concat(l, '" style="cursor: pointer; margin-bottom: 2px; padding: 3px; background-color: rgba(255, 255, 255, 0.1); border-radius: 2px;">'),
t += '<span style="color: '.concat(f, '; font-weight: bold;">Server ').concat(s, "</span>: ").concat(c.connected, " / ").concat(c.capacity),
t += '<span class="toggle-indicator" style="float: right;">'.concat(h ? " ►" : " ▼", "</span>"),
t += "</div>";
var d = h ? "none" : "block";
t += '<div class="player-list" data-server-id="'.concat(l, '" style="display: ').concat(d, '; padding-left: 15px; margin-bottom: 5px; font-size: 11px;">'),
c.online && c.online.length > 0 ? t += c.online.map((function(t) {
var e = t.toLowerCase(), r = t;
return yt && e.includes(yt) && (r = '<span style="background-color: yellow; color: black;">'.concat(t, "</span>")),
r;
})).join("<br>") : t += "<i>No players online</i>", t += "</div>", o += c.connected,
a += c.capacity;
}
t += '<div style="margin-top: 5px; font-style: italic;">Region Total: '.concat(o, " / ").concat(a, "</div>"),
e += o, r += a;
}
t += '<h4 style="margin: 15px 0 5px 0; font-size: 13px; border-top: 1px solid #555; padding-top: 5px;">Global</h4>',
t += "<div>Total Players: ".concat(e, " / ").concat(r, "</div>"), pt.innerHTML = t,
pt.querySelectorAll(".server-header").forEach((function(t) {
t.removeEventListener("click", St), t.addEventListener("click", St);
}));
}
}, {
init: function() {
vt || function() {
if (!vt) {
(vt = document.createElement("div")).id = "epush-server-list-ui", vt.style.position = "fixed",
vt.style.top = "50%", vt.style.right = "10px", vt.style.transform = "translateY(-50%)",
vt.style.width = "200px", vt.style.maxHeight = "60vh", vt.style.backgroundColor = "rgba(0, 0, 0, 0.7)",
vt.style.backdropFilter = "blur(3px)", vt.style.color = "white", vt.style.borderRadius = "4px",
vt.style.zIndex = "99998", vt.style.overflow = "hidden", vt.style.display = "flex",
vt.style.flexDirection = "column", vt.style.fontFamily = "Arial, sans-serif", vt.style.fontSize = "12px",
vt.style.boxShadow = "0 2px 8px rgba(0, 0, 0, 0.3)", vt.style.display = "none";
var t = document.createElement("div");
t.textContent = "Server List", t.style.padding = "8px", t.style.fontWeight = "bold",
t.style.backgroundColor = "rgba(40, 40, 40, 0.9)", t.style.textAlign = "center",
vt.appendChild(t);
var e = document.createElement("div");
e.style.padding = "5px 8px", e.style.borderBottom = "1px solid rgba(255, 255, 255, 0.2)",
(bt = document.createElement("input")).type = "text", bt.placeholder = "Search Players...",
bt.style.width = "100%", bt.style.padding = "4px", bt.style.boxSizing = "border-box",
bt.style.backgroundColor = "rgba(0, 0, 0, 0.5)", bt.style.color = "white", bt.style.border = "1px solid #555",
bt.style.borderRadius = "3px", bt.addEventListener("input", Et), e.appendChild(bt),
vt.appendChild(e), (pt = document.createElement("div")).className = "server-list-content",
pt.style.padding = "8px", pt.style.overflowY = "auto", pt.style.flexGrow = "1",
pt.style.scrollbarWidth = "thin", pt.style.scrollbarColor = "rgba(255, 255, 255, 0.3) transparent",
vt.appendChild(pt), document.body.appendChild(vt);
var r = document.createElement("style");
r.textContent = "\n #epush-server-list-ui .server-list-content::-webkit-scrollbar {\n width: 6px;\n }\n #epush-server-list-ui .server-list-content::-webkit-scrollbar-track {\n background: transparent;\n }\n #epush-server-list-ui .server-list-content::-webkit-scrollbar-thumb {\n background-color: rgba(255, 255, 255, 0.3);\n border-radius: 3px;\n }\n #epush-server-list-ui .server-list-content::-webkit-scrollbar-thumb:hover {\n background-color: rgba(255, 255, 255, 0.5);\n }\n ",
document.head.appendChild(r), At(), window.addEventListener("serverListDataUpdated", At),
setInterval(Ot, 500), Ot();
}
}();
},
setVisibility: function(t) {
_t = t, Ot();
}
});
var Rt = "canvas", It = !1, Ct = {
credits: {
developers: [ "Pixelmelt", "SpdRunner", "Exobyte" ],
contributors: [ "Nobody has given me ideas yet :<" ]
},
changelog: [ {
version: "1.3.0",
date: "2025-04-07",
changes: [ "Avoidance disables when you are invulnerable", "Reaper depart indicator added", 'Somewhat working "follow player" option added (buggy when going between areas)', "Added ability to favorite heros", "Added auto pellet collect with kinda broken pathfinding", "Added theming", "Updated UI", "Added setting reset button" ]
}, {
version: "1.2.0",
date: "2025-03-29",
changes: [ "Settings save", "barrier_enemy is no longer considered dangerous", "Fixed hero detection" ]
}, {
version: "1.1.0",
date: "2025-03-28",
changes: [ "Added changelog", "Added deadzone to minimize crazy movements that look suspect, you will just die instead of becoming neo", "Made force line toggleable", "Added server list ui player search thingy", "Added (all I think?) items not considered dangerous", "Added chrono shadow", "Added rime shadow", "Added star guide", "Added anti afk" ]
} ]
};
function initTracker() {
return _initTracker.apply(this, arguments);
}
function _initTracker() {
return (_initTracker = (0, t.A)(r().mark((function _callee() {
var t, e, n, i, o;
return r().wrap((function(r) {
for (;;) switch (r.prev = r.next) {
case 0:
return Y.init(l), r.next = 5, Y.initCoder();
case 5:
if (r.sent) {
r.next = 9;
break;
}
return r.abrupt("return", null);
case 9:
t = Y.createWSHook(), l.setHook(t), (e = function() {
var t = setupOverlayCanvas(Rt, "ePushOverlayCanvas");
t ? ot.init(t).startDrawing() : setTimeout(e, 1e3);
})(), n = loadSettings(), (i = function() {
var t = document.getElementById(Rt);
t ? t.addEventListener("mousemove", (function(e) {
if (a.getPlayer()) {
var r = t.getBoundingClientRect(), n = t.width, i = t.height, o = n / r.width, u = i / r.height, s = (e.clientX - r.left) * o, c = (e.clientY - r.top) * u;
a.updateMouseScreenCoords(s, c);
}
})) : setTimeout(i, 1e3);
})(), c.init({
enemyRadiusMap: Y.enemyRadiusMap || {}
}), f.init(), z.init(), G.init(), tt.init(), et.init(), nt.init(), W.createMotdElement(Ct),
W.init(), Tt.init(), initPathfinder(), applyAllSettings(n, o = {
network: Y,
renderer: ot,
obstacleAvoidance: f,
timeTravelIndicator: z,
teleportIndicator: G,
starPredictor: X,
antiAfk: h,
departIndicator: et,
pelletCollector: nt,
followPlayer: tt,
serverListUI: Tt
}, W), registerSettingsUI(n, o, W), h.init(n.antiAfkEnabled ? {
enabled: !0
} : {
enabled: !1
}), checkAndRunPageSpecificModules(), setupPageChangeObserver();
case 35:
case "end":
return r.stop();
}
}), _callee);
})))).apply(this, arguments);
}
function checkAndRunPageSpecificModules() {
var t = !!document.querySelector("#app > div > div > div.hero-select > div.choose-your-hero-image");
t && !It ? (setupFavoritesUI(), It = !0) : !t && It && (function() {
ht && (ht.disconnect(), ht = null);
var t = document.getElementById("favorite-heroes-container");
t && t.remove(), document.querySelectorAll(".favorite-star").forEach((function(t) {
return t.remove();
})), ft = null, lt = null, dt = [];
}(), It = !1);
}
function setupPageChangeObserver() {
var t = document.getElementById("app") || document.body;
t ? new MutationObserver((function(t, e) {
checkAndRunPageSpecificModules();
})).observe(t, {
childList: !0,
subtree: !0
}) : setTimeout(setupPageChangeObserver, 1e3);
}
const Mt = initTracker;
"undefined" != typeof window && initTracker();
})(), __webpack_exports__ = __webpack_exports__.default, __webpack_exports__;
})()));
})();