- // ==UserScript==
- // @name E-Push
- // @version 1.2.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/
- // @license Proprietary - All Rights Reserved
- // @grant none
- // @icon https://www.google.com/s2/favicons?domain=evades.io
- // @run-at document-start
- // @namespace https://gf.qytechs.cn/users/PixelMelt
- // ==/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, v, d = s, p = 0, y = !!f && a(f, l); p < u; ) p in r && (h = y ? y(r[p], p, e) : r[p],
- c > 0 && n(h) ? (v = i(h), d = flattenIntoArray(t, e, h, v, d, c - 1) - 1) : (o(d + 1),
- t[d] = h), d++), p++;
- return d;
- };
- 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, v = String, d = Object.defineProperty, p = n("".slice), y = n("".replace), b = n([].join), g = u && !i((function() {
- return 8 !== d((function() {}), "length", {
- value: 8
- }).length;
- })), w = String(String).split("String"), m = t.exports = function(t, e, r) {
- "Symbol(" === p(v(e), 0, 7) && (e = "[" + y(v(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"),
- r && r.getter && (e = "get " + e), r && r.setter && (e = "set " + e), (!a(t, "name") || s && t.name !== e) && (u ? d(t, "name", {
- value: e,
- configurable: !0
- }) : t.name = e), g && r && a(r, "arity") && t.length !== r.arity && d(t, "length", {
- value: r.arity
- });
- try {
- r && a(r, "constructor") && r.constructor ? u && d(t, "prototype", {
- writable: !1
- }) : t.prototype && (t.prototype = void 0);
- } catch (t) {}
- var n = l(t);
- return a(n, "source") || (n.source = b(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), v = s.aTypedArray, d = s.exportTypedArrayMethod, p = n.Uint16Array, y = p && i(p.prototype.sort), b = !(!y || o((function() {
- y(new p(2), null);
- })) && o((function() {
- y(new p(2), {});
- }))), g = !!y && !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 (y(r, (function(t, e) {
- return (t / 4 | 0) - (e / 4 | 0);
- })), t = 0; t < 516; t++) if (r[t] !== n[t]) return !0;
- }));
- d("sort", (function(t) {
- return void 0 !== t && a(t), g ? y(this, t) : u(v(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 || b);
- },
- 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), v = r(687), d = r(7633), p = r(9306), y = r(4901), b = r(34), g = r(679), w = r(2293), m = r(9225).set, _ = r(1955), O = r(3138), k = r(1103), j = r(8265), S = r(1181), E = r(550), A = r(916), x = r(6043), T = "Promise", R = A.CONSTRUCTOR, M = A.REJECTION_EVENT, I = A.SUBCLASSING, C = S.getterFor(T), N = S.set, L = E && E.prototype, B = E, P = L, V = c.TypeError, D = c.document, q = c.process, U = x.f, W = U, G = !!(D && D.createEvent && c.dispatchEvent), z = "unhandledrejection", isThenable = function(t) {
- var e;
- return !(!b(t) || !y(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;
- G ? ((n = D.createEvent("Event")).promise = e, n.reason = r, n.initEvent(t, !1, !0),
- c.dispatchEvent(n)) : n = {
- promise: e,
- reason: r
- }, !M && (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 ? q.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 ? q.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 && (P = (B = function(t) {
- g(this, P), p(t), f(n, this);
- var e = C(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 j,
- rejection: !1,
- state: 0,
- value: null
- });
- }).prototype = l(P, "then", (function(t, e) {
- var r = C(this), n = U(w(this, B));
- return r.parent = !0, n.ok = !y(t) || t, n.fail = y(e) && e, n.domain = s ? q.domain : void 0,
- 0 === r.state ? r.reactions.add(n) : _((function() {
- callReaction(n, r);
- })), n.promise;
- })), i = function() {
- var t = new n, e = C(t);
- this.promise = t, this.resolve = bind(internalResolve, e), this.reject = bind(internalReject, e);
- }, x.f = U = function(t) {
- return t === B || void 0 === t ? new i(t) : W(t);
- }, !u && y(E) && L !== Object.prototype)) {
- o = L.then, I || l(L, "then", (function(t, e) {
- var r = this;
- return new B((function(t, e) {
- f(o, r, t, e);
- })).then(t, e);
- }), {
- unsafe: !0
- });
- try {
- delete L.constructor;
- } catch (t) {}
- h && h(L, P);
- }
- a({
- global: !0,
- constructor: !0,
- wrap: !0,
- forced: R
- }, {
- Promise: B
- }), v(B, T, !1, !0), d(T);
- },
- 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, v = {}, d = [], 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 d = t.substring(e, r).split(a), p = 0; p < d.length; ++p) d[p] = d[p].replace(s ? o : i, "").trim();
- c.text = d.join("\n").trim(), v[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 (d.length > 0) return d.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, v, y = 0 === c;
- do {
- if (c === f) return null;
- for (i = !1; u.test(a = charAt(c)); ) if ("\n" === a && (y = !0, ++l), ++c === f) return null;
- if ("/" === charAt(c)) {
- if (++c === f) throw illegal("comment");
- if ("/" === charAt(c)) if (s) {
- if (h = c, v = !1, isDoubleSlashCommentLine(c - 1)) {
- v = !0;
- do {
- if ((c = findEndOfLine(c)) === f) break;
- if (c++, !y) break;
- } while (isDoubleSlashCommentLine(c));
- } else c = Math.min(f, findEndOfLine(c) + 1);
- v && (setComment(h, c, y), y = !0), l++, i = !0;
- } else {
- for (v = "/" === charAt(h = c + 1); "\n" !== charAt(++c); ) if (c === f) return null;
- ++c, v && (setComment(h, c - 1, y), y = !0), ++l, i = !0;
- } else {
- if ("*" !== (a = charAt(c))) return "/";
- h = c + 1, v = s || "*" === charAt(h);
- do {
- if ("\n" === a && ++l, ++c === f) throw illegal("comment");
- o = a, a = charAt(c);
- } while ("*" !== o || "/" !== a);
- ++c, v && (setComment(h, c - 2, y), y = !0), i = !0;
- }
- }
- } while (i);
- var b = c;
- if (e.lastIndex = 0, !e.test(charAt(b++))) for (;b < f && !e.test(charAt(b)); ) ++b;
- var g = t.substring(c, c = b);
- return '"' !== g && "'" !== g || (p = g), g;
- }
- function push(t) {
- d.push(t);
- }
- function peek() {
- if (!d.length) {
- var t = next();
- if (null === t) return null;
- push(t);
- }
- return d[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 = v[l - 1], delete v[l - 1], e && (s || "*" === e.type || e.lineEmpty) && (r = e.leading ? e.text : null)) : (h < t && peek(),
- e = v[t], delete v[t], !e || e.lineEmpty || !s && "/" !== e.type || (r = e.leading ? null : e.text)),
- r;
- }
- }, "line", {
- get: function() {
- return l;
- }
- });
- }
- tokenize.unescape = unescape;
- },
- 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 = 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 v = 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, v, 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, v, f + "[j]")("}")) : (r("if(m%s!=null&&m.hasOwnProperty(%j)){", f, c.name),
- genValuePartial_toObject(r, c, v, f), c.partOf && r("if(o.oneofs)")("d%s=%j", o.safeProp(c.partOf.name), c.name)),
- r("}");
- }
- return r("return d");
- };
- },
- 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));
- };
- },
- 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)];
- };
- },
- 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, v = s("species"), d = !1, p = o(n.PromiseRejectionEvent), y = 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 = {})[v] = FakePromise, !(d = r.then((function() {})) instanceof FakePromise)) return !0;
- }
- return !(e || "BROWSER" !== c && "DENO" !== c || p);
- }));
- t.exports = {
- CONSTRUCTOR: y,
- REJECTION_EVENT: p,
- SUBCLASSING: d
- };
- },
- 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), v = a(l);
- if (n(r), 0 === v && c < 2) throw new u(s);
- var d = t ? v - 1 : 0, p = t ? -1 : 1;
- if (c < 2) for (;;) {
- if (d in h) {
- f = h[d], d += p;
- break;
- }
- if (d += p, t ? d < 0 : v <= d) throw new u(s);
- }
- for (;t ? d >= 0 : v > d; d += p) d in h && (f = r(f, h[d], d, 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), v = r(6840), d = r(8227), p = r(6269), y = r(7657), b = a.PROPER, g = a.CONFIGURABLE, w = y.IteratorPrototype, m = y.BUGGY_SAFARI_ITERATORS, _ = d("iterator"), O = "keys", k = "values", j = "entries", returnThis = function() {
- return this;
- };
- t.exports = function(t, e, r, a, d, y, S) {
- s(r, e, a);
- var E, A, x, getIterationMethod = function(t) {
- if (t === d && C) return C;
- if (!m && t && t in M) return M[t];
- switch (t) {
- case O:
- case k:
- case j:
- return function() {
- return new r(this, t);
- };
- }
- return function() {
- return new r(this);
- };
- }, T = e + " Iterator", R = !1, M = t.prototype, I = M[_] || M["@@iterator"] || d && M[d], C = !m && I || getIterationMethod(d), N = "Array" === e && M.entries || I;
- if (N && (E = c(N.call(new t))) !== Object.prototype && E.next && (o || c(E) === w || (f ? f(E, w) : u(E[_]) || v(E, _, returnThis)),
- l(E, T, !0, !0), o && (p[T] = returnThis)), b && d === k && I && I.name !== k && (!o && g ? h(M, "name", k) : (R = !0,
- C = function() {
- return i(I, this);
- })), d) if (A = {
- values: getIterationMethod(k),
- keys: y ? C : getIterationMethod(O),
- entries: getIterationMethod(j)
- }, S) for (x in A) (m || R || !(x in M)) && v(M, x, A[x]); else n({
- target: e,
- proto: !0,
- forced: m || R
- }, A);
- return o && !S || M[_] === C || v(M, _, C, {
- name: d
- }), p[e] = C, A;
- };
- },
- 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), v = r(421), d = "Object already initialized", p = u.TypeError, y = u.WeakMap;
- if (a || l.state) {
- var b = l.state || (l.state = new y);
- b.get = b.get, b.has = b.has, b.set = b.set, n = function(t, e) {
- if (b.has(t)) throw new p(d);
- return e.facade = t, b.set(t, e), e;
- }, i = function(t) {
- return b.get(t) || {};
- }, o = function(t) {
- return b.has(t);
- };
- } else {
- var g = h("state");
- v[g] = !0, n = function(t, e) {
- if (f(t, g)) throw new p(d);
- 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), v = o("".slice), d = 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(d(arguments.length > 1 ? arguments[1] : void 0, e.length)), n = s(t);
- return v(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, v = i(f.prototype.slice), d = 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 (v && void 0 === e) return v(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), y = 0; n < i; ) p(h, y++, d(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, v = [], d = 0; null !== (f = h(n, i)); ) {
- var p = s(f[0]);
- v[d] = p, "" === p && (n.lastIndex = l(i, u(n.lastIndex), c)), d++;
- }
- return 0 === d ? null : v;
- } ];
- }));
- },
- 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), v = r(9544), d = r(4265), p = r(7860), y = r(6193), b = 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 (y && (t = w.domain) && t.exit(); e = O.get(); ) try {
- e();
- } catch (t) {
- throw O.head && n(), t;
- }
- t && t.enter();
- };
- v || y || p || !b || !g ? !d && m && m.resolve ? ((a = m.resolve(void 0)).constructor = m,
- u = f(a.then, a), n = function() {
- u(flush);
- }) : y ? n = function() {
- w.nextTick(flush);
- } : (l = f(l, s), n = function() {
- l(flush);
- }) : (i = !0, o = g.createTextNode(""), new b(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");
- },
- 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), v = o.length, d = 0, p = []; v > d; ) r = o[d++],
- 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", v = 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[v] = !0, t.exports = Object.create || function(t, e) {
- var r;
- return null !== t ? (EmptyConstructor[l] = i(t), r = new EmptyConstructor, EmptyConstructor[l] = null,
- r[v] = 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));
- },
- 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), v = TypeError, Result = function(t, e) {
- this.stopped = t, this.result = e;
- }, d = Result.prototype;
- t.exports = function(t, e, r) {
- var p, y, b, g, w, m, _, O = r && r.that, k = !(!r || !r.AS_ENTRIES), j = !(!r || !r.IS_RECORD), S = !(!r || !r.IS_ITERATOR), E = !(!r || !r.INTERRUPTED), A = n(e, O), stop = function(t) {
- return p && h(p, "normal", t), new Result(!0, t);
- }, callFn = function(t) {
- return k ? (o(t), E ? A(t[0], t[1], stop) : A(t[0], t[1])) : E ? A(t, stop) : A(t);
- };
- if (j) p = t.iterator; else if (S) p = t; else {
- if (!(y = l(t))) throw new v(a(t) + " is not iterable");
- if (u(y)) {
- for (b = 0, g = s(t); g > b; b++) if ((w = callFn(t[b])) && c(d, w)) return w;
- return new Result(!1);
- }
- p = f(t, y);
- }
- for (m = j ? t.next : p.next; !(_ = i(m, p)).done; ) {
- try {
- w = callFn(_.value);
- } catch (t) {
- h(p, "throw", t);
- }
- if ("object" == typeof w && w && c(d, 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, v = o(h.exec), d = 8 !== c(s + "08") || 22 !== c(s + "0x16") || l && !i((function() {
- c(Object(l));
- }));
- t.exports = d ? function(t, e) {
- var r = u(a(t));
- return c(r, e >>> 0 || (v(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), v = a.aTypedArray, d = a.exportTypedArrayMethod, p = c && c.prototype, y = !i((function() {
- p[s].call([ 1 ]);
- })), b = !!p && p.values && p[s] === p.values && "values" === p.values.name, typedArrayValues = function() {
- return f(v(this));
- };
- d("entries", (function() {
- return h(v(this));
- }), y), d("keys", (function() {
- return l(v(this));
- }), y), d("values", typedArrayValues, y || !b, {
- name: "values"
- }), d(s, typedArrayValues, y || !b, {
- 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);
- },
- 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), v = r(4495), d = String, p = i("JSON", "stringify"), y = u(/./.exec), b = u("".charAt), g = u("".charCodeAt), w = u("".replace), m = u(1..toString), _ = /[\uD800-\uDFFF]/g, O = /^[\uD800-\uDBFF]$/, k = /^[\uDC00-\uDFFF]$/, j = !v || s((function() {
- var t = i("Symbol")("stringify detection");
- return "[null]" !== p([ t ]) || "{}" !== p({
- a: t
- }) || "{}" !== p(Object(t));
- })), S = 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, d(t), e)), !f(e)) return e;
- }, o(p, null, r);
- }, fixIllFormed = function(t, e, r) {
- var n = b(r, e - 1), i = b(r, e + 1);
- return y(O, t) && !y(k, i) || y(k, t) && !y(O, n) ? "\\u" + m(g(t, 0), 16) : t;
- };
- p && n({
- target: "JSON",
- stat: !0,
- arity: 3,
- forced: j || S
- }, {
- stringify: function(t, e, r) {
- var n = l(arguments), i = o(j ? stringifyWithSymbolsFix : p, null, n);
- return S && "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, v = r(5854);
- t.exports = function(t) {
- var e, r, d, p, y, b, g, w, m = o(this), _ = a(t), O = arguments.length, k = O > 1 ? arguments[1] : void 0, j = void 0 !== k, S = c(_);
- if (S && !f(S)) for (w = (g = s(_, S)).next, _ = []; !(b = i(w, g)).done; ) _.push(b.value);
- for (j && O > 2 && (k = n(k, arguments[2])), r = u(_), d = new (h(m))(r), p = l(d),
- e = 0; r > e; e++) y = j ? k(_[e], e) : _[e], d[e] = p ? v(y) : +y;
- return d;
- };
- },
- 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)));
- }
- });
- },
- 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), v = r(2744), d = !1, p = h("meta"), y = 0, setMetadata = function(t) {
- s(t, p, {
- value: {
- objectID: "O" + y++,
- weakData: {}
- }
- });
- }, b = t.exports = {
- enable: function() {
- b.enable = function() {}, d = !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 v && d && 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", v = a.set, d = a.getterFor(h);
- t.exports = s(Array, "Array", (function(t, e) {
- v(this, {
- type: h,
- target: n(t),
- index: 0,
- kind: e
- });
- }), (function() {
- var t = d(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, v = 1 / f(s + "-0") != -1 / 0 || h && !i((function() {
- f(Object(h));
- }));
- t.exports = v ? 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, v = Object.defineProperty, d = i([].concat);
- t.exports = !h || a((function() {
- if (n && 1 !== h({
- b: 1
- }, h(v({}, "a", {
- enumerable: !0,
- get: function() {
- v(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, v = c.f; i > a; ) for (var p, y = l(arguments[a++]), b = h ? d(u(y), h(y)) : u(y), g = b.length, w = 0; g > w; ) p = b[w++],
- n && !o(v, y, p) || (r[p] = y[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, v = 0, d = 0; v < l || d < h; ) t[v + d] = v < l && d < h ? e(c[v], f[d]) <= 0 ? c[v++] : f[d++] : v < l ? c[v++] : f[d++];
- 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), v = r(597)("splice"), d = Math.max, p = Math.min;
- n({
- target: "Array",
- proto: !0,
- forced: !v
- }, {
- splice: function(t, e) {
- var r, n, v, y, b, 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(d(a(e), 0), m - _)),
- c(m + r - n), v = f(w, n), y = 0; y < n; y++) (b = _ + y) in w && l(v, y, w[b]);
- if (v.length = n, r < n) {
- for (y = _; y < m - n; y++) g = y + r, (b = y + n) in w ? w[g] = w[b] : h(w, g);
- for (y = m; y > m - n + r; y--) h(w, y - 1);
- } else if (r > n) for (y = m - n; y > _; y--) g = y + r - 1, (b = y + n - 1) in w ? w[g] = w[b] : h(w, g);
- for (y = 0; y < r; y++) w[y + _] = arguments[y + 2];
- return s(w, m - n + r), v;
- }
- });
- },
- 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", v = "executing", d = "completed", p = {};
- function Generator() {}
- function GeneratorFunction() {}
- function GeneratorFunctionPrototype() {}
- var y = {};
- define(y, s, (function() {
- return this;
- }));
- var b = Object.getPrototypeOf, g = b && b(b(values([])));
- g && g !== i && o.call(g, s) && (y = g);
- var w = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(y);
- 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 === v) throw Error("Generator is already running");
- if (i === d) {
- 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 = d, n.arg;
- n.dispatchException(n.arg);
- } else "return" === n.method && n.abrupt("return", n.arg);
- i = v;
- var c = tryCatch(t, r, n);
- if ("normal" === c.type) {
- if (i = n.done ? d : h, c.arg === p) continue;
- return {
- value: c.arg,
- done: n.done
- };
- }
- "throw" === c.type && (i = d, 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), v = r(6823), d = r(6699), p = r(6840), y = r(2106), b = r(1625), g = r(2787), w = r(2967), m = r(8227), _ = r(3392), O = r(1181), k = O.enforce, j = O.get, S = s.Int8Array, E = S && S.prototype, A = s.Uint8ClampedArray, x = A && A.prototype, T = S && g(S), R = E && g(E), M = Object.prototype, I = s.TypeError, C = m("toStringTag"), N = _("TYPED_ARRAY_TAG"), L = "TypedArrayConstructor", B = a && !!w && "Opera" !== h(s.opera), P = !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 = j(e);
- return r && l(r, L) ? r[L] : 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)[L] = i : B = !1;
- for (n in D) (o = (i = s[n]) && i.prototype) && (k(o)[L] = i);
- if ((!B || !c(T) || T === Function.prototype) && (T = function() {
- throw new I("Incorrect invocation");
- }, B)) for (n in V) s[n] && w(s[n], T);
- if ((!B || !R || R === M) && (R = T.prototype, B)) for (n in V) s[n] && w(s[n].prototype, R);
- if (B && g(x) !== R && w(x, R), u && !l(R, C)) for (n in P = !0, y(R, C, {
- configurable: !0,
- get: function() {
- return f(this) ? this[N] : void 0;
- }
- }), V) s[n] && d(s[n], N, n);
- t.exports = {
- NATIVE_ARRAY_BUFFER_VIEWS: B,
- TYPED_ARRAY_TAG: P && N,
- aTypedArray: function(t) {
- if (isTypedArray(t)) return t;
- throw new I("Target is not a typed array");
- },
- aTypedArrayConstructor: function(t) {
- if (c(t) && (!w || b(T, t))) return t;
- throw new I(v(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 : B && E[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 : B && 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), v = r(7680), d = h("slice"), p = l("species"), y = Array, b = Math.max;
- n({
- target: "Array",
- proto: !0,
- forced: !d
- }, {
- slice: function(t, e) {
- var r, n, l, h = c(this), d = s(h), g = u(t, d), w = u(void 0 === e ? d : e, d);
- if (i(h) && (r = h.constructor, (o(r) && (r === y || i(r.prototype)) || a(r) && null === (r = r[p])) && (r = void 0),
- r === y || void 0 === r)) return v(h, g, w);
- for (n = new (void 0 === r ? y : r)(b(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), v = r(3262), d = /^[1-9][0-9]*$/, p = /^-?[1-9][0-9]*$/, y = /^0[x][0-9a-fA-F]+$/, b = /^-?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 j, S, E, A, x, T = r.preferTrailingComment || !1, R = n(t, r.alternateCommentMode || !1), M = R.next, I = R.push, C = R.peek, N = R.skip, L = R.cmnt, B = !0, P = !1, V = e, D = r.keepCase ? function(t) {
- return t;
- } : v.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 = M()) && "'" !== t) throw illegal(t);
- e.push(M()), N(t), t = C();
- } while ('"' === t || "'" === t);
- return e.join("");
- }
- function readValue(t) {
- var e = M();
- switch (e) {
- case "'":
- case '"':
- return I(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 (d.test(t)) return e * parseInt(t, 10);
- if (y.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 = C()) && "'" !== r ? t.push([ n = parseId(M()), N("to", !0) ? parseId(M()) : 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 (b.test(t)) return parseInt(t, 16);
- if (w.test(t)) return parseInt(t, 8);
- throw illegal(t, "id");
- }
- function parsePackage() {
- if (void 0 !== j) throw illegal("package");
- if (j = M(), !O.test(j)) throw illegal(j, "name");
- V = V.define(j), N(";");
- }
- function parseImport() {
- var t, e = C();
- switch (e) {
- case "weak":
- t = E || (E = []), M();
- break;
-
- case "public":
- M();
-
- default:
- t = S || (S = []);
- }
- e = readString(), N(";"), t.push(e);
- }
- function parseSyntax() {
- if (N("="), A = readString(), !(P = "proto3" === A) && "proto2" !== A) throw illegal(A, "syntax");
- e.setOption("syntax", A), 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 = M())) 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 = L(), n = e;
- if (!_.test(e = M())) throw illegal(e, "name");
- var i, o, a, u, s = e;
- if (N("("), N("stream", !0) && (o = !0), !O.test(e = M())) throw illegal(e);
- if (i = e, N(")"), N("returns"), N("("), N("stream", !0) && (u = !0), !O.test(e = M())) 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 = M())) 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, P ? "proto3_optional" : "optional", r);
- break;
-
- default:
- if (!P || !O.test(e)) throw illegal(e);
- I(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 = L()), t.filename = parse.filename),
- N("{", !0)) {
- for (var i; "}" !== (i = M()); ) e(i);
- N(";", !0);
- } else r && r(), N(";"), t && ("string" != typeof t.comment || T) && (t.comment = L(n) || t.comment);
- }
- function parseType(t, e) {
- if (!_.test(e = M())) 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 = M();
- if (void 0 === h.mapKey[e]) throw illegal(e, "type");
- N(",");
- var r = M();
- if (!O.test(r)) throw illegal(r, "type");
- N(">");
- var n = M();
- if (!_.test(n)) throw illegal(n, "name");
- N("=");
- var i = new u(D(n), parseId(M()), 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, P ? "proto3_optional" : "optional");
- break;
-
- case "oneof":
- !function(t, e) {
- if (!_.test(e = M())) throw illegal(e, "name");
- var r = new s(D(e));
- ifBlock(r, (function(t) {
- "option" === t ? (parseOption(r, t), N(";")) : (I(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 (!P || !O.test(t)) throw illegal(t);
- I(t), parseField(r, "optional");
- }
- })), t.add(r);
- }
- function parseField(t, e, r) {
- var n = M();
- if ("group" !== n) {
- for (;n.endsWith(".") || C().startsWith("."); ) n += M();
- if (!O.test(n)) throw illegal(n, "type");
- var i = M();
- if (!_.test(i)) throw illegal(i, "name");
- i = D(i), N("=");
- var u = new a(i, parseId(M()), 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);
- P || !u.repeated || void 0 === h.packed[n] && void 0 !== h.basic[n] || u.setOption("packed", !1, !0);
- } else !function(t, e) {
- var r = M();
- if (!_.test(r)) throw illegal(r, "name");
- var n = v.lcFirst(r);
- r === n && (r = v.ucFirst(r)), N("=");
- var i = parseId(M()), 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, P ? "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 = M())) 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(M(), !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 = M())) throw illegal(e, "name");
- var n, i = e, o = i;
- r && (N(")"), o = i = "(" + i + ")", e = C(), k.test(e) && (n = e.slice(1), i += e,
- M())), 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 = M())) throw illegal(x, "name");
- if (null === x) throw illegal(x, "end of input");
- var n, i = x;
- if (N(":", !0), "{" === C()) n = parseOptionValue(t, e + "." + x); else if ("[" === C()) {
- 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 = M()); ) switch (x) {
- case "package":
- if (!B) throw illegal(x);
- parsePackage();
- break;
-
- case "import":
- if (!B) throw illegal(x);
- parseImport();
- break;
-
- case "syntax":
- if (!B) throw illegal(x);
- parseSyntax();
- break;
-
- case "option":
- parseOption(V, x), N(";");
- break;
-
- default:
- if (parseCommon(V, x)) {
- B = !1;
- continue;
- }
- throw illegal(x);
- }
- return parse.filename = null, {
- "package": j,
- "imports": S,
- weakImports: E,
- syntax: A,
- 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", v = "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 && v in r && !r[v]) {
- var n = f(t, e);
- n && n[v] && (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(744),
- 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));
- };
- },
- 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 || {});
- };
- },
- 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), v = r(2087), d = r(8014), p = r(7696), y = r(8229), b = r(8319), g = r(6969), w = r(9297), m = r(6955), _ = r(34), O = r(757), k = r(2360), j = r(1625), S = r(2967), E = r(8480).f, A = r(3251), x = r(9213).forEach, T = r(7633), R = r(2106), M = r(4913), I = r(7347), C = r(5370), N = r(1181), L = r(3167), B = N.get, P = N.set, V = N.enforce, D = M.f, q = I.f, U = i.RangeError, W = c.ArrayBuffer, G = W.prototype, z = c.DataView, $ = s.NATIVE_ARRAY_BUFFER_VIEWS, H = s.TYPED_ARRAY_TAG, J = s.TypedArray, K = s.TypedArrayPrototype, Y = s.isTypedArray, Z = "BYTES_PER_ELEMENT", X = "Wrong length", addGetter = function(t, e) {
- R(t, e, {
- configurable: !0,
- get: function() {
- return B(this)[e];
- }
- });
- }, isArrayBuffer = function(t) {
- var e;
- return j(G, t) || "ArrayBuffer" === (e = m(t)) || "SharedArrayBuffer" === e;
- }, isTypedArrayIndex = function(t, e) {
- return Y(t) && !O(e) && e in t && v(+e) && e >= 0;
- }, wrappedGetOwnPropertyDescriptor = function(t, e) {
- return e = g(e), isTypedArrayIndex(t, e) ? l(2, t[e]) : q(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 ? ($ || (I.f = wrappedGetOwnPropertyDescriptor, M.f = wrappedDefineProperty, addGetter(K, "buffer"),
- addGetter(K, "byteOffset"), addGetter(K, "byteLength"), addGetter(K, "length")),
- n({
- target: "Object",
- stat: !0,
- forced: !$
- }, {
- 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, v = i[s], g = v, w = g && g.prototype, m = {}, addElement = function(t, e) {
- D(t, e, {
- get: function() {
- return function(t, e) {
- var r = B(t);
- return r.view[c](e * a + r.byteOffset, !0);
- }(this, e);
- },
- set: function(t) {
- return function(t, e, n) {
- var i = B(t);
- i.view[l](e * a + i.byteOffset, r ? b(n) : n, !0);
- }(this, e, t);
- },
- enumerable: !0
- });
- };
- $ ? u && (g = e((function(t, e, r, n) {
- return f(t, w), L(_(e) ? isArrayBuffer(e) ? void 0 !== n ? new v(e, y(r, a), n) : void 0 !== r ? new v(e, y(r, a)) : new v(e) : Y(e) ? C(g, e) : o(A, g, e) : new v(p(e)), t, g);
- })), S && S(g, J), x(E(v), (function(t) {
- t in g || h(g, t, v[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 Y(e) ? C(g, e) : o(A, g, e);
- i = e, l = y(r, a);
- var h = e.byteLength;
- if (void 0 === n) {
- if (h % a) throw new U(X);
- if ((u = h - l) < 0) throw new U(X);
- } else if ((u = d(n) * a) + l > h) throw new U(X);
- s = u / a;
- } else s = p(e), i = new W(u = s * a);
- for (P(t, {
- buffer: i,
- byteOffset: l,
- byteLength: u,
- length: s,
- view: new z(i)
- }); c < s; ) addElement(t, c++);
- })), S && S(g, J), w = g.prototype = k(K)), w.constructor !== g && h(w, "constructor", g),
- V(w).TypedArrayConstructor = g, H && h(w, H, s);
- var O = g !== v;
- m[s] = g, n({
- global: !0,
- constructor: !0,
- forced: O,
- sham: !$
- }, m), Z in g || h(g, Z, a), Z in w || h(w, Z, 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);
- };
- },
- 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);
- };
- };
- },
- 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), v = r(1291), d = r(8014), p = r(7696), y = r(5617), b = r(8490), g = r(2787), w = r(2967), m = r(4373), _ = r(7680), O = r(3167), k = r(7740), j = r(687), S = r(1181), E = u.PROPER, A = u.CONFIGURABLE, x = "ArrayBuffer", T = "DataView", R = "prototype", M = "Wrong index", I = S.getterFor(x), C = S.getterFor(T), N = S.set, L = n[x], B = L, P = B && B[R], V = n[T], D = V && V[R], q = Object.prototype, U = n.Array, W = n.RangeError, G = i(m), z = i([].reverse), $ = b.pack, H = b.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 $(y(t), 23, 4);
- }, packFloat64 = function(t) {
- return $(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 = C(t), o = p(r), a = !!n;
- if (o + e > i.byteLength) throw new W(M);
- 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 = C(t), u = p(r), s = n(+i), c = !!o;
- if (u + e > a.byteLength) throw new W(M);
- 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 = E && L.name !== x;
- l((function() {
- L(1);
- })) && l((function() {
- new L(-1);
- })) && !l((function() {
- return new L, new L(1.5), new L(NaN), 1 !== L.length || J && !A;
- })) ? J && A && s(L, "name", x) : ((B = function(t) {
- return h(this, P), O(new L(p(t)), this, B);
- })[R] = P, P.constructor = B, k(B, L)), w && g(D) !== q && w(D, q);
- var K = new V(new B(2)), Y = i(D.setInt8);
- K.setInt8(0, 2147483648), K.setInt8(1, 2147483649), !K.getInt8(0) && K.getInt8(1) || f(D, {
- setInt8: function(t, e) {
- Y(this, t, e << 24 >> 24);
- },
- setUint8: function(t, e) {
- Y(this, t, e << 24 >> 24);
- }
- }, {
- unsafe: !0
- });
- } else P = (B = function(t) {
- h(this, P);
- var e = p(t);
- N(this, {
- type: x,
- bytes: G(U(e), 0),
- byteLength: e
- }), o || (this.byteLength = e, this.detached = !1);
- })[R], D = (V = function(t, e, r) {
- h(this, D), h(t, P);
- var n = I(t), i = n.byteLength, a = v(e);
- if (a < 0 || a > i) throw new W("Wrong offset");
- if (a + (r = void 0 === r ? i - a : d(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(B, "byteLength", I), addGetter(V, "buffer", C), addGetter(V, "byteLength", C),
- addGetter(V, "byteOffset", C)), 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 H(get(this, 4, t, arguments.length > 1 && arguments[1]), 23);
- },
- getFloat64: function(t) {
- return H(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]);
- }
- });
- j(B, x), j(V, T), t.exports = {
- ArrayBuffer: B,
- 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), v = r(34), d = r(9039), p = r(4428), y = r(687), b = 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 = _, j = {}, 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 && !v(t)) && e(this, 0 === t ? 0 : t);
- } : "get" === t ? function(t) {
- return w && !v(t) ? void 0 : e(this, 0 === t ? 0 : t);
- } : "has" === t ? function(t) {
- return !(w && !v(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 && !d((function() {
- (new _).entries().next();
- }))))) k = r.getConstructor(e, t, g, m), s.enable(); else if (a(t, !0)) {
- var S = new k, E = S[m](w ? {} : -0, 1) !== S, A = d((function() {
- S.has(1);
- })), x = p((function(t) {
- new _(t);
- })), T = !w && d((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 = b(new _, t, k);
- return h(e) || c(e, r[m], {
- that: r,
- AS_ENTRIES: g
- }), r;
- }))).prototype = O, O.constructor = k), (A || T) && (fixMethod("delete"), fixMethod("has"),
- g && fixMethod("get")), (T || E) && fixMethod(m), w && O.clear && delete O.clear;
- }
- return j[t] = k, n({
- global: !0,
- constructor: !0,
- forced: k !== _
- }, j), y(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, v, d = t.target, p = t.global, y = t.stat;
- if (r = p ? n : y ? n[d] || u(d, {}) : n[d] && n[d].prototype) for (f in e) {
- if (h = e[f], l = t.dontCallGetSet ? (v = i(r, f)) && v.value : r[f], !c(p ? f : d + (y ? "." : "#") + 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);
- }
- };
- },
- 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), v = r(8551), d = r(5397), p = r(6969), y = r(655), b = r(6980), g = r(2360), w = r(1072), m = r(8480), _ = r(298), O = r(3717), k = r(7347), j = r(4913), S = r(6801), E = r(8773), A = r(6840), x = r(2106), T = r(5745), R = r(6119), M = r(421), I = r(3392), C = r(8227), N = r(1951), L = r(511), B = r(8242), P = r(687), V = r(1181), D = r(9213).forEach, q = R("hidden"), U = "Symbol", W = "prototype", G = V.set, z = V.getterFor(U), $ = Object[W], H = i.Symbol, J = H && H[W], K = i.RangeError, Y = i.TypeError, Z = i.QObject, X = k.f, Q = j.f, tt = _.f, et = E.f, rt = a([].push), nt = T("symbols"), it = T("op-symbols"), ot = T("wks"), at = !Z || !Z[W] || !Z[W].findChild, fallbackDefineProperty = function(t, e, r) {
- var n = X($, e);
- n && delete $[e], Q(t, e, r), n && t !== $ && Q($, 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 G(r, {
- type: U,
- tag: t,
- description: e
- }), s || (r.description = e), r;
- }, $defineProperty = function(t, e, r) {
- t === $ && $defineProperty(it, e, r), v(t);
- var n = p(e);
- return v(r), l(nt, n) ? (r.enumerable ? (l(t, q) && t[q][n] && (t[q][n] = !1), r = g(r, {
- enumerable: b(0, !1)
- })) : (l(t, q) || Q(t, q, b(1, g(null))), t[q][n] = !0), ut(t, n, r)) : Q(t, n, r);
- }, $defineProperties = function(t, e) {
- v(t);
- var r = d(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 === $ && l(nt, e) && !l(it, e)) && (!(r || !l(this, e) || !l(nt, e) || l(this, q) && this[q][e]) || r);
- }, $getOwnPropertyDescriptor = function(t, e) {
- var r = d(t), n = p(e);
- if (r !== $ || !l(nt, n) || l(it, n)) {
- var i = X(r, n);
- return !i || !l(nt, n) || l(r, q) && r[q][n] || (i.enumerable = !0), i;
- }
- }, $getOwnPropertyNames = function(t) {
- var e = tt(d(t)), r = [];
- return D(e, (function(t) {
- l(nt, t) || l(M, t) || rt(r, t);
- })), r;
- }, $getOwnPropertySymbols = function(t) {
- var e = t === $, r = tt(e ? it : d(t)), n = [];
- return D(r, (function(t) {
- !l(nt, t) || e && !l($, t) || rt(n, nt[t]);
- })), n;
- };
- c || (A(J = (H = function() {
- if (h(J, this)) throw new Y("Symbol is not a constructor");
- var t = arguments.length && void 0 !== arguments[0] ? y(arguments[0]) : void 0, e = I(t), setter = function(t) {
- var r = void 0 === this ? i : this;
- r === $ && o(setter, it, t), l(r, q) && l(r[q], e) && (r[q][e] = !1);
- var n = b(1, t);
- try {
- ut(r, e, n);
- } catch (t) {
- if (!(t instanceof K)) throw t;
- fallbackDefineProperty(r, e, n);
- }
- };
- return s && at && ut($, e, {
- configurable: !0,
- set: setter
- }), wrap(e, t);
- })[W], "toString", (function() {
- return z(this).tag;
- })), A(H, "withoutSetter", (function(t) {
- return wrap(I(t), t);
- })), E.f = $propertyIsEnumerable, j.f = $defineProperty, S.f = $defineProperties,
- k.f = $getOwnPropertyDescriptor, m.f = _.f = $getOwnPropertyNames, O.f = $getOwnPropertySymbols,
- N.f = function(t) {
- return wrap(C(t), t);
- }, s && (x(J, "description", {
- configurable: !0,
- get: function() {
- return z(this).description;
- }
- }), u || A($, "propertyIsEnumerable", $propertyIsEnumerable, {
- unsafe: !0
- }))), n({
- global: !0,
- constructor: !0,
- wrap: !0,
- forced: !c,
- sham: !c
- }, {
- Symbol: H
- }), D(w(ot), (function(t) {
- L(t);
- })), n({
- target: U,
- 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
- }), B(), P(H, U), M[q] = !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), v = r(3709), d = r(3763), p = r(9519), y = r(3607), b = [], g = i(b.sort), w = i(b.push), m = f((function() {
- b.sort(void 0);
- })), _ = f((function() {
- b.sort(null);
- })), O = h("sort"), k = !f((function() {
- if (p) return p < 70;
- if (!(v && v > 3)) {
- if (d) return !0;
- if (y) return y < 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++) b.push({
- k: e + n,
- v: r
- });
- }
- for (b.sort((function(t, e) {
- return e.v - t.v;
- })), n = 0; n < b.length; n++) e = b[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), v = r(3724), d = r(3451).fastKey, p = r(1181), y = p.set, b = p.getterFor;
- t.exports = {
- getConstructor: function(t, e, r, f) {
- var l = t((function(t, i) {
- u(t, h), y(t, {
- type: e,
- index: n(null),
- first: null,
- last: null,
- size: 0
- }), v || (t.size = 0), s(i) || c(i, t[f], {
- that: t,
- AS_ENTRIES: r
- });
- })), h = l.prototype, p = b(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 = d(e, !0),
- key: e,
- value: r,
- previous: n = o.last,
- next: null,
- removed: !1
- }, o.first || (o.first = a), n && (n.next = a), v ? o.size++ : t.size++, "F" !== i && (o.index[i] = a)),
- t;
- }, getEntry = function(t, e) {
- var r, n = p(t), i = d(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), v ? 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), v ? 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);
- }
- }), v && i(h, "size", {
- configurable: !0,
- get: function() {
- return p(this).size;
- }
- }), l;
- },
- setStrong: function(t, e, r) {
- var n = e + " Iterator", i = b(e), o = b(n);
- f(t, e, (function(t, e) {
- y(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), v = 1;
- for (f < c && c < f + h && (v = -1, f += h - 1, c += h - 1); h-- > 0; ) f in r ? r[c] = r[f] : a(r, c),
- c += v, f += v;
- 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;
- },
- 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, v = r(3635), d = r(8814), p = f("native-string-replace", String.prototype.replace), y = RegExp.prototype.exec, b = y, g = a("".charAt), w = a("".indexOf), m = a("".replace), _ = a("".slice), O = (i = /b*/g,
- o(y, n = /a/, "a"), o(y, i, "a"), 0 !== n.lastIndex || 0 !== i.lastIndex), k = c.BROKEN_CARET, j = void 0 !== /()??/.exec("")[1];
- (O || j || k || v || d) && (b = function(t) {
- var e, r, n, i, a, c, f, v = this, d = h(v), S = u(t), E = d.raw;
- if (E) return E.lastIndex = v.lastIndex, e = o(b, E, S), v.lastIndex = E.lastIndex,
- e;
- var A = d.groups, x = k && v.sticky, T = o(s, v), R = v.source, M = 0, I = S;
- if (x && (T = m(T, "y", ""), -1 === w(T, "g") && (T += "g"), I = _(S, v.lastIndex),
- v.lastIndex > 0 && (!v.multiline || v.multiline && "\n" !== g(S, v.lastIndex - 1)) && (R = "(?: " + R + ")",
- I = " " + I, M++), r = new RegExp("^(?:" + R + ")", T)), j && (r = new RegExp("^" + R + "$(?!\\s)", T)),
- O && (n = v.lastIndex), i = o(y, x ? r : v, I), x ? i ? (i.input = _(i.input, M),
- i[0] = _(i[0], M), i.index = v.lastIndex, v.lastIndex += i[0].length) : v.lastIndex = 0 : O && i && (v.lastIndex = v.global ? i.index + i[0].length : n),
- j && 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 && A) for (i.groups = c = l(null), a = 0; a < A.length; a++) c[(f = A[a])[0]] = i[f[1]];
- return i;
- }), t.exports = b;
- },
- 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
- };
- },
- 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;
- };
- },
- 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), v = r(6395), d = 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[d].call(t) !== t;
- })) ? n = {} : v && (n = c(n)), u(n[d]) || l(n, d, (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), v = r(1080), d = r(7728), p = r(420), y = r(744), b = 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 = v(this)({
- Writer: l,
- types: e,
- util: h
- }), this.decode = d(this)({
- Reader: f,
- types: e,
- util: h
- }), this.verify = p(this)({
- types: e,
- util: h
- }), this.fromObject = y.fromObject(this)({
- types: e,
- util: h
- }), this.toObject = y.toObject(this)({
- types: e,
- util: h
- });
- var n = b[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), v = Array;
- t.exports = function(t) {
- var e = o(t), r = s(this), d = arguments.length, p = d > 1 ? arguments[1] : void 0, y = void 0 !== p;
- y && (p = n(p, d > 2 ? arguments[2] : void 0));
- var b, g, w, m, _, O, k = h(e), j = 0;
- if (!k || this === v && u(k)) for (b = c(e), g = r ? new this(b) : v(b); b > j; j++) O = y ? p(e[j], j) : e[j],
- f(g, j, O); else for (g = r ? new this : [], _ = (m = l(e, k)).next; !(w = i(_, m)).done; j++) O = y ? a(m, p, [ w.value, j ], !0) : w.value,
- f(g, j, O);
- return g.length = j, 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));
- }
- }));
- };
- },
- 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), v = l.length;
- return h < 0 || h >= v ? t ? "" : void 0 : (n = s(l, h)) < 55296 || n > 56319 || h + 1 === v || (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;
- };
- },
- 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;
- },
- 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), v = 8 * s - u - 1, d = (1 << v) - 1, p = d >> 1, y = 23 === u ? n(2, -24) - n(2, -77) : 0, b = 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 = d) : (c = i(o(t) / a),
- t * (l = n(2, -c)) < 1 && (c--, l *= 2), (t += c + p >= 1 ? y / l : y * n(2, 1 - p)) * l >= 2 && (c++,
- l /= 2), c + p >= d ? (f = 0, c = d) : 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, v += u; v > 0; ) h[g++] = 255 & c, c /= 256, v -= 8;
- return h[g - 1] |= 128 * b, 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);
- }
- };
- },
- 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), v = r(8227), d = r(9519), p = v("isConcatSpreadable"), y = d >= 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: !y || !h("concat")
- }, {
- concat: function(t) {
- var e, r, n, i, o, a = u(this), h = l(a, 0), v = 0;
- for (e = -1, n = arguments.length; e < n; e++) if (isConcatSpreadable(o = -1 === e ? a : arguments[e])) for (i = s(o),
- c(v + i), r = 0; r < i; r++, v++) r in o && f(h, v, o[r]); else c(v + 1), f(h, v++, o);
- return h.length = v, 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"
- });
- })), v = n && l.name !== c;
- (h || v) && 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, v = h && h.set, d = o.aTypedArray, p = o.exportTypedArrayMethod, y = !c((function() {
- var t = new Uint8ClampedArray(2);
- return i(v, t, {
- length: 1,
- 0: 3
- }, 1), 3 !== t[1];
- })), b = y && 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) {
- d(this);
- var e = u(arguments.length > 1 ? arguments[1] : void 0, 1), r = s(t);
- if (y) return i(v, 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++];
- }), !y || b);
- },
- 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);
- }));
- }));
- },
- 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, v = 5 === t || l;
- return function(d, p, y, b) {
- for (var g, w, m = a(d), _ = o(m), O = u(_), k = n(p, y), j = 0, S = b || s, E = e ? S(d, O) : r || h ? S(d, 0) : void 0; O > j; j++) if ((v || j in _) && (w = k(g = _[j], j, m),
- t)) if (e) E[j] = w; else if (w) switch (t) {
- case 3:
- return !0;
-
- case 5:
- return g;
-
- case 6:
- return j;
-
- case 2:
- c(E, g);
- } else switch (t) {
- case 4:
- return !1;
-
- case 7:
- c(E, g);
- }
- return l ? -1 : i || f ? f : E;
- };
- };
- 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), v = r(397), d = r(7680), p = r(4055), y = r(2812), b = r(9544), g = r(6193), w = u.setImmediate, m = u.clearImmediate, _ = u.process, O = u.Dispatch, k = u.Function, j = u.MessageChannel, S = u.String, E = 0, A = {}, x = "onreadystatechange";
- h((function() {
- n = u.location;
- }));
- var run = function(t) {
- if (l(A, t)) {
- var e = A[t];
- delete A[t], e();
- }
- }, runner = function(t) {
- return function() {
- run(t);
- };
- }, eventListener = function(t) {
- run(t.data);
- }, globalPostMessageDefer = function(t) {
- u.postMessage(S(t), n.protocol + "//" + n.host);
- };
- w && m || (w = function(t) {
- y(arguments.length, 1);
- var e = f(t) ? t : k(t), r = d(arguments, 1);
- return A[++E] = function() {
- s(e, void 0, r);
- }, i(E), E;
- }, m = function(t) {
- delete A[t];
- }, g ? i = function(t) {
- _.nextTick(runner(t));
- } : O && O.now ? i = function(t) {
- O.now(runner(t));
- } : j && !b ? (a = (o = new j).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) {
- v.appendChild(p("script"))[x] = function() {
- v.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), v = !a((function() {
- var e = {};
- return e[h] = function() {
- return 7;
- }, 7 !== ""[t](e);
- })), d = v && !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 (!v || !d || r) {
- var p = /./[h], y = e(h, ""[t], (function(t, e, r, i, a) {
- var u = e.exec;
- return u === o || u === f.exec ? v && !a ? {
- done: !0,
- value: n(p, e, r, i)
- } : {
- done: !0,
- value: n(t, r, e, i)
- } : {
- done: !1
- };
- }));
- i(String.prototype, t, y[0]), i(f, h, y[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), v = o.Symbol, d = v && v.prototype;
- if (i && s(v) && (!("description" in d) || void 0 !== v().description)) {
- var p = {}, SymbolWrapper = function() {
- var t = arguments.length < 1 || void 0 === arguments[0] ? void 0 : f(arguments[0]), e = c(d, this) ? new v(t) : void 0 === t ? v() : v(t);
- return "" === t && (p[e] = !0), e;
- };
- h(SymbolWrapper, v), SymbolWrapper.prototype = d, d.constructor = SymbolWrapper;
- var y = "Symbol(description detection)" === String(v("description detection")), b = a(d.valueOf), g = a(d.toString), w = /^Symbol\((.*)\)[^)]+$/, m = a("".replace), _ = a("".slice);
- l(d, "description", {
- configurable: !0,
- get: function() {
- var t = b(this);
- if (u(p, t)) return "";
- var e = g(t), r = y ? _(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), v = i("".slice), d = 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" !== d(8e-5, 3) || "1" !== d(.9, 0) || "1.25" !== d(1.255, 2) || "1000000000000000128" !== d(0xde0b6b3a7640080, 0);
- })) || !s((function() {
- d({});
- }))
- }, {
- toFixed: function(t) {
- var e, r, n, i, u = a(this), s = o(t), l = [ 0, 0, 0, 0, 0, 0 ], d = "", 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 && (d = "-", 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 ? d + ((i = p.length) <= s ? "0." + h("0", s - i) + p : v(p, 0, i - s) + "." + v(p, i - s)) : d + 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__.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);
- var __webpack_exports__ = {};
- return (() => {
- "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);
- }));
- };
- }
- __webpack_require__.d(__webpack_exports__, {
- "default": () => Y
- });
- var t = __webpack_require__(4756), e = __webpack_require__.n(t);
- __webpack_require__(2008), __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);
- const r = {
- 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(t) {
- n.add(t.id), e.entities[t.id] ? (Object.assign(e.entities[t.id], t), e.entities[t.id]._lastUpdated = r) : (t._lastUpdated = r,
- e.entities[t.id] = t);
- })), 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.");
- }();
- }
- 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);
- }
- 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.");
- }();
- }
- function _defineProperty(t, e, r) {
- return (e = function(t) {
- var e = function(t) {
- if ("object" != _typeof(t) || !t) return t;
- var e = t[Symbol.toPrimitive];
- if (void 0 !== e) {
- var r = e.call(t, "string");
- if ("object" != _typeof(r)) return r;
- throw new TypeError("@@toPrimitive must return a primitive value.");
- }
- return String(t);
- }(t);
- return "symbol" == _typeof(e) ? e : e + "";
- }(e)) in t ? Object.defineProperty(t, e, {
- value: r,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : t[e] = r, t;
- }
- __webpack_require__(8706), __webpack_require__(113), __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__(3362),
- __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 n = {
- 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 = r.entities, n = new Set(Object.keys(e));
- Object.values(e).forEach((function(e) {
- if (e.id !== r.selfId) {
- var n = String(e.id);
- if (t.previousPositions[n]) {
- var i = t.previousPositions[n], o = e.x - i.x, a = e.y - i.y;
- t.velocities[n] = {
- x: o,
- y: a
- }, t.previousPositions[n] = {
- x: e.x,
- y: e.y
- };
- } else t.previousPositions[n] = {
- x: e.x,
- y: e.y
- }, t.velocities[n] = {
- x: 0,
- y: 0
- };
- }
- })), Object.keys(this.previousPositions).forEach((function(e) {
- n.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, n = [], i = r.entities;
- return Object.values(i).forEach((function(i) {
- if (i.id !== r.selfId && !i.isHarmless && void 0 !== i.entityType && 0 != A.isEntityTypeDangerous(i.entityType)) {
- var o = String(i.id), a = e.getEntityRadius(i, t), u = e.velocities[o] || {
- x: 0,
- y: 0
- };
- n.push({
- id: i.id,
- x: i.x,
- y: i.y,
- radius: a,
- velocity: u,
- entityType: i.entityType
- });
- }
- })), n;
- }
- }, i = {
- playerRadius: 15,
- safetyMargin: 10,
- enabled: !0,
- fieldStrengthBase: 5e3,
- fieldExponent: 1.4,
- speedInfluence: 1,
- 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 v, d = this.playerRadius + a + this.safetyMargin, p = Math.max(l - d, .1);
- v = h ? 10 * this.fieldStrengthBase : this.fieldStrengthBase / Math.pow(p, this.fieldExponent);
- var y = Math.sqrt(u.x * u.x + u.y * u.y);
- v *= 1 + this.speedInfluence * y;
- var b = 1;
- if (y > .1) {
- var g = (u.x / y * s + u.y / y * c) / l;
- g > 0 && (b = 1 + g * this.directionBias);
- }
- v *= b;
- var w = 0, m = 0;
- if (l > 0) w = -s / l * v, m = -c / l * v; else {
- var _ = 2 * Math.random() * Math.PI;
- w = Math.cos(_) * v, m = Math.sin(_) * v;
- }
- return this.fieldDataEnabled && (this.fieldData[n] = {
- position: {
- x: i,
- y: o
- },
- velocity: {
- x: u.x,
- y: u.y
- },
- fieldStrength: v,
- forceVector: {
- x: w,
- y: m
- },
- isTouching: h
- }), {
- x: w,
- y: m,
- magnitude: v,
- 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, v = Math.max(f - h, .1);
- l = f <= h + this.touchingDistance ? 10 * this.fieldStrengthBase : this.fieldStrengthBase / Math.pow(v, this.fieldExponent);
- var d = Math.sqrt(a.x * a.x + a.y * a.y);
- if (l *= 1 + this.speedInfluence * d, d > .1) {
- var p = a.x / d, y = a.y / d, b = Math.sqrt(u * u + s * s);
- if (b > .1) {
- var g = p * (u / b) + y * (s / b);
- if (g < 0) {
- var w = 1 + .5 * d;
- l *= 1 + Math.abs(g) * this.directionBias * w;
- }
- }
- }
- return l;
- },
- getForceMagnitude: function() {
- return this.lastForceMagnitude;
- },
- calculateSafeMovement: function(t, e, i) {
- var o = this;
- if (!this.enabled) return {
- x: t,
- y: e,
- collision: !1
- };
- var a = r.getPlayer();
- if (!a || 0 === t && 0 === e) return {
- x: t,
- y: e,
- collision: !1
- };
- n.updateVelocities();
- var u = a.x, s = a.y;
- this.fieldDataEnabled && (this.fieldData = {});
- var c = 0, f = 0, l = !1;
- n.getTrackedEntities(i).forEach((function(t) {
- var e = o._calculateEntityField(t, u, s);
- c += e.x, f += e.y;
- var r = Math.sqrt(c * c + f * f);
- o.lastForceMagnitude = r, e.isTouching && (l = !0);
- })), this.lastCalculatedForce = {
- x: c,
- y: f
- };
- var h = Math.sqrt(t * t + e * e);
- if (0 === h) return {
- x: t,
- y: e,
- collision: !1
- };
- var v, d, p = t / h, y = e / h;
- if (l) {
- var b = Math.sqrt(c * c + f * f);
- b > 0 ? (v = c / b * h, d = f / b * h) : (v = t, d = e);
- } else {
- var g = Math.sqrt(c * c + f * f);
- if (g > 0) {
- var w = h / Math.max(g, h), m = c * w, _ = f * w, O = Math.min(g / 2e3, 1);
- v = p * h * (1 - O) + m * O, d = y * h * (1 - O) + _ * O;
- } else v = t, d = e;
- }
- var k = Math.abs(v - t) > .01 || Math.abs(d - e) > .01;
- return r.updateSafeMoveCoords(v, d), {
- x: v,
- y: d,
- 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 o = function() {
- var t = window.CWSS || {};
- if (t.ws) return t;
- var r = WebSocket.prototype, n = Object.defineProperty, rebase = function(t, e, r) {
- return n(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(r) {
- for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) i[o - 1] = arguments[o];
- return _asyncToGenerator(e().mark((function _callee() {
- var n, o, a, u, s, c = this, f = arguments;
- return e().wrap((function(e) {
- for (;;) switch (e.prev = e.next) {
- case 0:
- n = f, o = _createForOfIteratorHelper(t.hooks.sort((function(t, e) {
- return e.priority - t.priority;
- }))), e.prev = 2, o.s();
-
- case 4:
- if ((a = o.n()).done) {
- e.next = 15;
- break;
- }
- if ((s = a.value)[r]) {
- e.next = 8;
- break;
- }
- return e.abrupt("continue", 13);
-
- case 8:
- if (n) {
- e.next = 10;
- break;
- }
- return e.abrupt("break", 15);
-
- case 10:
- return e.next = 12, (u = s[r]).call.apply(u, [ this ].concat(_toConsumableArray(n)));
-
- case 12:
- n = e.sent;
-
- case 13:
- e.next = 4;
- break;
-
- case 15:
- e.next = 20;
- break;
-
- case 17:
- e.prev = 17, e.t0 = e.catch(2), o.e(e.t0);
-
- case 20:
- return e.prev = 20, o.f(), e.finish(20);
-
- case 23:
- if (n) {
- e.next = 25;
- break;
- }
- return e.abrupt("return");
-
- case 25:
- i.flat().forEach((function(t) {
- return t.call.apply(t, [ c ].concat(_toConsumableArray(n)));
- }));
-
- case 26:
- case "end":
- return e.stop();
- }
- }), _callee, this, [ [ 2, 17, 20, 23 ] ]);
- })));
- };
- for (var i in t.ws = window.WebSocket, t.send = r.send, t.addList = r.addEventListener,
- t.sockets = [], t.hooks = [], t.setHook = function(e) {
- return t.hooks.push(e), t;
- }, t.setHooks = function() {
- for (var e, r = arguments.length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i];
- return (e = t.hooks).push.apply(e, _toConsumableArray(n.flat())), t;
- }, r.send = pipe("send", t.send), r.addEventListener = function() {
- var e, r = arguments[0], n = arguments[1], i = this.listeners[r];
- i ? i.push(n) : (e = t.addList).call.apply(e, [ this ].concat(Array.prototype.slice.call(arguments)));
- }, window.WebSocket = function() {
- var r, n, i = arguments;
- i = (n = "args", r = function() {
- var e, r = arguments, i = _createForOfIteratorHelper(t.hooks.sort((function(t, e) {
- return e.priority - t.priority;
- })));
- try {
- for (i.s(); !(e = i.n()).done; ) {
- var o, a = e.value;
- if (a[n]) {
- if (!r) break;
- r = (o = a[n]).call.apply(o, [ this ].concat(_toConsumableArray(r)));
- }
- }
- } catch (t) {
- i.e(t);
- } finally {
- i.f();
- }
- return r;
- }).call.apply(r, [ this ].concat(_toConsumableArray(i)));
- var o, a = 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;
- }(t.ws, _toConsumableArray(i)), u = _createForOfIteratorHelper(t.hooks.sort((function(t, e) {
- return e.priority - t.priority;
- })));
- try {
- for (u.s(); !(o = u.n()).done; ) {
- var s = o.value;
- Object.assign(s, {
- ws: a,
- sendServer: function(r) {
- return _asyncToGenerator(e().mark((function _callee2() {
- return e().wrap((function(e) {
- for (;;) switch (e.prev = e.next) {
- case 0:
- t.send.call(a, r);
-
- case 1:
- case "end":
- return e.stop();
- }
- }), _callee2);
- })))();
- },
- sendClient: function(t) {
- return _asyncToGenerator(e().mark((function _callee3() {
- return e().wrap((function(e) {
- for (;;) switch (e.prev = e.next) {
- case 0:
- a.listeners.message.forEach((function(e) {
- return e.call(a, {
- data: t
- });
- }));
-
- case 1:
- case "end":
- return e.stop();
- }
- }), _callee3);
- })))();
- }
- });
- }
- } catch (t) {
- u.e(t);
- } finally {
- u.f();
- }
- t.sockets.push(a), pipe("init").call(a), a.listeners = {};
- for (var c = 0, f = [ "open", "message", "close" ]; c < f.length; c++) {
- var l = f[c], h = a.listeners[l] = [];
- t.addList.call(a, l, pipe(l, h)), rebase(a, "on" + l, h);
- }
- return a;
- }, t.ws) "prototype" != i && (window.WebSocket[i] = t.ws[i]);
- for (var o in r) if ("constructor" != o) try {
- window.WebSocket.prototype[o] = r[o];
- } catch (t) {}
- return native(r.send, t.send), native(r.addEventListener, t.addList), native(window.WebSocket, t.ws),
- window.CWSS = t, t;
- }();
- 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 a = {
- 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 ? A.coder && A.rawCoder && r.getPlayer() && (Date.now() - this.lastActionTime < this.settings.timeoutMs || (this.simulateKeyPress(),
- this.updateLastActionTime())) : this.stop();
- },
- simulateKeyPress: function() {
- var t = o.sockets.length > 0 ? o.sockets[o.sockets.length - 1] : null;
- if (A.coder && A.rawCoder && t && t.readyState === WebSocket.OPEN) try {
- var e, r = A.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: A.sequenceCounter++,
- keys: [ {
- keyEvent: 1,
- keyType: n
- } ]
- }, a = A.coder.encode.client(i);
- if (!a) return;
- t.send(a);
- } catch (t) {}
- }
- };
- __webpack_require__(3771), __webpack_require__(8598), __webpack_require__(2062),
- __webpack_require__(8459);
- var u, s, c, f, l, h, v, d, p, y, b, g, w = (u = {}, s = null, c = null, f = !1,
- l = null, h = null, v = function(t) {
- if (!l) {
- (l = document.createElement("div")).id = "acknowledgements-credits";
- var e = document.createElement("div");
- e.className = "motd-content", d(e, t), l.appendChild(e), l.style.position = "absolute",
- l.style.bottom = "10px", l.style.left = "10px", l.style.padding = "10px", l.style.color = "white",
- l.style.zIndex = "99999", l.style.borderRadius = "4px", l.style.display = "none",
- l.style.backgroundColor = "rgba(0, 0, 0, 0.7)", l.style.backdropFilter = "blur(3px)",
- l.style.maxWidth = "350px", l.style.maxHeight = "40vh", l.style.overflowY = "auto",
- l.style.boxShadow = "0 2px 8px rgba(0, 0, 0, 0.3)", l.style.scrollbarWidth = "thin",
- l.style.scrollbarColor = "rgba(255, 255, 255, 0.3) transparent";
- var r = document.createElement("style");
- r.textContent = "\n\t #acknowledgements-credits::-webkit-scrollbar {\n\t\twidth: 6px;\n\t }\n\t #acknowledgements-credits::-webkit-scrollbar-track {\n\t\tbackground: transparent;\n\t }\n\t #acknowledgements-credits::-webkit-scrollbar-thumb {\n\t\tbackground-color: rgba(255, 255, 255, 0.3);\n\t\tborder-radius: 3px;\n\t }\n\t #acknowledgements-credits::-webkit-scrollbar-thumb:hover {\n\t\tbackground-color: rgba(255, 255, 255, 0.5);\n\t }\n\t",
- document.head.appendChild(r), e.style.fontFamily = "Arial, sans-serif", e.style.lineHeight = "1.4",
- e.style.textAlign = "left", document.body.appendChild(l);
- }
- }, d = function(t, e) {
- var r = t || document.querySelector("#acknowledgements-credits .motd-content");
- if (r) {
- var n = '\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(e.credits.developers.join(", "), '</p>\n\t <p style="margin: 0 0 15px 0; font-size: 12px;">Feature Contributors: ').concat(e.credits.contributors.join(", "), "</p>\n\t"), i = '<h4 style="margin: 10px 0 5px 0; font-size: 14px;">Changelog</h4>';
- e.changelog.forEach((function(t) {
- i += '\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\t').concat(t.changes.map((function(t) {
- return "<li>".concat(t, "</li>");
- })).join(""), "\n\t\t </ul>\n\t\t</div>\n\t ");
- })), r.innerHTML = n + i;
- }
- }, p = function() {
- if (l) {
- var t = A.gameWS && A.gameWS.readyState === WebSocket.OPEN;
- l.style.display = t ? "none" : "block";
- }
- }, y = function(t, e) {
- var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, n = document.createElement(t);
- e && (n.className = e);
- for (var i = 0, o = Object.entries(r); i < o.length; i++) {
- var a = _slicedToArray(o[i], 2), u = a[0], s = a[1];
- n.setAttribute(u, s);
- }
- return n;
- }, g = function(t, e, r) {
- var n = y("div", "epush-ui-setting"), i = y("label", "epush-ui-label");
- if (i.textContent = e, i.setAttribute("for", "epush-setting-".concat(t)), n.appendChild(i),
- r) {
- var o = y("div", "epush-ui-tooltip");
- o.textContent = r, n.appendChild(o);
- }
- return n;
- }, {
- init: function() {
- (s = y("div", "epush-ui-container")).style.cssText = "\n position: fixed;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n background: rgba(0, 0, 0, 0.8);\n color: white;\n font-family: Arial, sans-serif;\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n z-index: 10000;\n user-select: none;\n transition: height 0.3s ease;\n overflow: hidden;\n ";
- var t = y("div", "epush-ui-header");
- t.style.cssText = "\n padding: 6px 15px;\n cursor: pointer;\n font-weight: bold;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: rgba(40, 40, 40, 0.9);\n ",
- t.innerHTML = '<span>E-Push Settings</span><span class="epush-ui-toggle">▼</span>',
- t.addEventListener("click", b), (c = y("div", "epush-ui-settings")).style.cssText = "\n\t\t\tpadding: 5px;\n\t\t\tdisplay: none;\n\t\t\tgrid-template-columns: 1fr 1fr;\n\t\t\tgap: 3px;\n\t\t\tmax-height: none;\n\t\t\toverflow-y: visible;\n\t\t\tmargin-bottom: 20px;\n\t\t",
- s.appendChild(t), s.appendChild(c), document.body.appendChild(s);
- var e = document.createElement("style");
- e.textContent = "\n .epush-ui-setting {\n padding: 8px;\n background: rgba(60, 60, 60, 0.5);\n border-radius: 4px;\n position: relative;\n }\n .epush-ui-setting:hover {\n background: rgba(70, 70, 70, 0.7);\n }\n .epush-ui-label {\n margin-bottom: 5px;\n display: inline-block;\n font-size: 13px;\n }\n .epush-ui-tooltip {\n visibility: hidden;\n position: absolute;\n left: 0;\n top: 100%;\n background: rgba(0, 0, 0, 0.9);\n color: white;\n padding: 5px 8px;\n border-radius: 4px;\n font-size: 12px;\n z-index: 100;\n width: 200px;\n pointer-events: none;\n transition: visibility 0s, opacity 0.3s;\n opacity: 0;\n }\n .epush-ui-setting:hover .epush-ui-tooltip {\n visibility: visible;\n opacity: 1;\n }\n .epush-ui-input {\n width: 95%;\n padding: 5px;\n border-radius: 3px;\n border: 1px solid #444;\n background: #222;\n color: white;\n }\n .epush-ui-checkbox {\n margin-left: 10px;\n vertical-align: middle;\n }\n .epush-ui-color {\n width: 100%;\n height: 30px;\n padding: 0;\n border: none;\n cursor: pointer;\n }\n .epush-ui-slider {\n width: 100%;\n background: #222;\n }\n ",
- document.head.appendChild(e), v(), h && clearInterval(h), h = setInterval(p, 500),
- p();
- },
- addBooleanSetting: function(t, e) {
- var r = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], n = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null, i = g(t, e, arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : ""), o = y("input", "epush-ui-checkbox", {
- type: "checkbox",
- id: "epush-setting-".concat(t)
- });
- return o.checked = r, o.addEventListener("change", (function() {
- n && n(o.checked), u[t].value = o.checked;
- })), i.appendChild(o), c.appendChild(i), u[t] = {
- type: "boolean",
- element: o,
- value: r,
- onChange: n
- }, u[t];
- },
- addTextSetting: function(t, e) {
- var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "", n = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null, i = g(t, e, arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : ""), o = y("input", "epush-ui-input", {
- type: "text",
- id: "epush-setting-".concat(t),
- value: r
- });
- return o.addEventListener("change", (function() {
- n && n(o.value), u[t].value = o.value;
- })), i.appendChild(o), c.appendChild(i), u[t] = {
- type: "text",
- element: o,
- value: r,
- onChange: n
- }, u[t];
- },
- addNumberSetting: function(t, e) {
- var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0, n = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null, i = g(t, e, arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : ""), o = y("input", "epush-ui-input", {
- type: "number",
- id: "epush-setting-".concat(t),
- value: r
- });
- return o.addEventListener("change", (function() {
- var e = parseFloat(o.value);
- n && n(e), u[t].value = e;
- })), i.appendChild(o), c.appendChild(i), u[t] = {
- type: "number",
- element: o,
- value: r,
- onChange: n
- }, u[t];
- },
- addSliderSetting: function(t, e) {
- var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0, n = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0, i = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 100, o = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 1, a = arguments.length > 7 && void 0 !== arguments[7] ? arguments[7] : null, s = g(t, e, arguments.length > 6 && void 0 !== arguments[6] ? arguments[6] : ""), f = y("div", "epush-ui-slider-container");
- f.style.cssText = "\n display: flex;\n align-items: center;\n gap: 10px;\n ";
- var l = y("input", "epush-ui-slider", {
- type: "range",
- id: "epush-setting-".concat(t),
- min: n,
- max: i,
- step: o,
- value: r
- }), h = y("span", "epush-ui-slider-value");
- return h.textContent = r, h.style.minWidth = "40px", h.style.textAlign = "right",
- l.addEventListener("input", (function() {
- var e = parseFloat(l.value);
- h.textContent = e, a && a(e), u[t].value = e;
- })), f.appendChild(l), f.appendChild(h), s.appendChild(f), c.appendChild(s), u[t] = {
- type: "slider",
- element: l,
- valueDisplay: h,
- value: r,
- onChange: a
- }, u[t];
- },
- addColorSetting: function(t, e) {
- var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "#ffffff", n = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null, i = g(t, e, arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : ""), o = y("input", "epush-ui-color", {
- type: "color",
- id: "epush-setting-".concat(t),
- value: r
- });
- return o.addEventListener("change", (function() {
- n && n(o.value), u[t].value = o.value;
- })), i.appendChild(o), c.appendChild(i), u[t] = {
- type: "color",
- element: o,
- value: r,
- onChange: n
- }, u[t];
- },
- updateSetting: function(t, e) {
- if (u[t]) {
- var r = u[t];
- switch (r.value = e, r.type) {
- case "boolean":
- r.element.checked = e;
- break;
-
- case "slider":
- r.element.value = e, r.valueDisplay.textContent = e;
- break;
-
- default:
- r.element.value = e;
- }
- }
- },
- getSettingValue: function(t) {
- var e;
- return null === (e = u[t]) || void 0 === e ? void 0 : e.value;
- },
- togglePanel: b = function() {
- f = !f, c.style.display = f ? "grid" : "none", s.querySelector(".epush-ui-toggle").textContent = f ? "▲" : "▼";
- },
- createMotdElement: v
- });
- const m = w;
- 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 _ = {
- enabled: !0,
- playerHistory: [],
- lastIndicatorColor: "rgba(0, 255, 0, 0.7)",
- _isActive: !1,
- isActive: function() {
- return !!this.enabled && "CHRONO" === A.playerState.heroName;
- },
- init: function() {
- this.playerHistory = [];
- },
- update: function() {
- if (this.isActive()) {
- var t = r.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 n = e - 3660, i = -1, o = 0; o < this.playerHistory.length; o++) if (this.playerHistory[o].timestamp >= n) {
- i = o;
- break;
- }
- i > 0 && this.playerHistory.splice(0, i), 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 = i.playerRadius || A.playerRadius || 15, o = 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;
- }
- }
- };
- }(n.getTrackedEntities(A.getEntityTypeName.bind(A)));
- try {
- for (o.s(); !(e = o.n()).done; ) {
- var a = e.value, u = r + n.getEntityRadius(a, A.getEntityTypeName.bind(A)) + 5, s = t.x - a.x, c = t.y - a.y;
- if (s * s + c * c < u * u) return !1;
- }
- } catch (t) {
- o.e(t);
- } finally {
- o.f();
- }
- return !0;
- },
- draw: function(t, e, r, n) {
- if (this.isActive()) {
- var o = this.getPastPosition(2660);
- if (o && e) {
- var a, u, s, c = r + (o.x - e.x), f = n + (o.y - e.y), l = i.playerRadius || A.playerRadius || 15;
- this.isPastPositionSafe() ? (a = 0, u = 155 + (Math.sin(Date.now() / 300) + 1) / 2 * 100,
- s = 0) : (a = 155 + (Math.sin(Date.now() / 200) + 1) / 2 * 100, u = 0, s = 0), this.lastIndicatorColor = "rgba(".concat(Math.floor(a), ", ").concat(Math.floor(u), ", ").concat(Math.floor(s), ", ").concat(.7, ")"),
- t.fillStyle = this.lastIndicatorColor, t.beginPath(), t.arc(c, f, l, 0, 2 * Math.PI),
- t.fill(), t.strokeStyle = "rgba(255, 255, 255, 0.3)", t.lineWidth = 1, t.stroke();
- }
- }
- }
- };
- void 0 === i.playerRadius && (i.playerRadius = 15);
- const O = _;
- 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 k = {
- enabled: !0,
- isActive: function() {
- return !!this.enabled && "RIME" === A.playerState.heroName;
- },
- init: function() {},
- getTargetPosition: function() {
- var t = r.getPlayer();
- if (!t) return null;
- var e = r.safeMoveX, n = r.safeMoveY;
- Math.abs(e) < .01 && Math.abs(n) < .01 && (e = r.mouseGameX - t.x, n = r.mouseGameY - t.y);
- var i = Math.sqrt(e * e + n * n);
- if (i < .1) return {
- x: t.x + 160,
- y: t.y
- };
- var o = e / i, a = n / i;
- return {
- x: t.x + 160 * o,
- y: t.y + 160 * a
- };
- },
- isTargetPositionSafe: function() {
- var t = this.getTargetPosition();
- if (!t) return !0;
- var e, r = i.playerRadius || A.playerRadius || 15, o = i.safetyMargin || 5, a = 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;
- }
- }
- };
- }(n.getTrackedEntities(A.getEntityTypeName.bind(A), !0));
- try {
- for (a.s(); !(e = a.n()).done; ) {
- var u = e.value, s = r + n.getEntityRadius(u, A.getEntityTypeName.bind(A)) + o, c = t.x - u.x, f = t.y - u.y;
- if (c * c + f * f < s * s) return !1;
- }
- } catch (t) {
- a.e(t);
- } finally {
- a.f();
- }
- return !0;
- },
- draw: function(t, e, r, n) {
- if (this.isActive()) {
- var o = this.getTargetPosition();
- if (o && e) {
- var a, u, s, c = r + (o.x - e.x), f = n + (o.y - e.y), l = i.playerRadius || 15;
- if (this.isTargetPositionSafe()) {
- var h = (Math.sin(Date.now() / 250) + 1) / 2;
- a = 0, u = 100 + 100 * h, s = 155 + 100 * h;
- } else a = 155 + (Math.sin(Date.now() / 200) + 1) / 2 * 100, u = 0, s = 0;
- var v = "rgba(".concat(Math.floor(a), ", ").concat(Math.floor(u), ", ").concat(Math.floor(s), ", ").concat(.7, ")");
- t.fillStyle = v, t.beginPath(), t.arc(c, f, l, 0, 2 * Math.PI), t.fill(), t.strokeStyle = "rgba(255, 255, 255, 0.4)",
- t.lineWidth = 1, t.stroke();
- }
- }
- }
- };
- var j = __webpack_require__(2549), S = __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 E = {
- 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", "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" ]),
- 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 _asyncToGenerator(e().mark((function _callee2() {
- var t, r, n, i;
- return e().wrap((function(o) {
- for (;;) switch (o.prev = o.next) {
- case 0:
- return t = function() {
- var t = _asyncToGenerator(e().mark((function _callee(t) {
- return e().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(e) {
- return t.apply(this, arguments);
- };
- }(), o.next = 3, t(location.href);
-
- case 3:
- if (r = o.sent, n = r.match(/index\.[a-z0-9]*\.js/)) {
- o.next = 8;
- break;
- }
- return o.abrupt("return", null);
-
- case 8:
- return i = n[0], o.next = 11, t(location.origin + "/" + i);
-
- case 11:
- return o.abrupt("return", o.sent);
-
- case 12:
- case "end":
- return o.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 t = this;
- return _asyncToGenerator(e().mark((function _callee3() {
- var r, n;
- return e().wrap((function(e) {
- for (;;) switch (e.prev = e.next) {
- case 0:
- return e.prev = 0, e.next = 3, t.getMainJS();
-
- case 3:
- return r = e.sent, n = t.getProtobufScheme(r), t.rawCoder = new (S().Root), t.rawCoder.addJSON(n),
- t.extractEnemyDefaults(r), t.coder = {
- encode: {
- client: function(e) {
- try {
- var r = t.rawCoder.ClientPayload.create(e);
- return t.rawCoder.ClientPayload.encode(r).finish();
- } catch (t) {
- return null;
- }
- }
- },
- decode: {
- server: function(e) {
- try {
- var r = e instanceof Uint8Array ? e : new Uint8Array(e);
- return t.rawCoder.FramePayload.toObject(t.rawCoder.FramePayload.decode(r));
- } catch (t) {
- return null;
- }
- },
- client: function(e) {
- try {
- var r = e instanceof Uint8Array ? e : new Uint8Array(e);
- return t.rawCoder.ClientPayload.toObject(t.rawCoder.ClientPayload.decode(r));
- } catch (t) {
- return null;
- }
- }
- }
- }, e.abrupt("return", t.coder);
-
- case 12:
- return e.prev = 12, e.t0 = e.catch(0), e.abrupt("return", null);
-
- case 16:
- case "end":
- return e.stop();
- }
- }), _callee3, null, [ [ 0, 12 ] ]);
- })))();
- },
- processEnemyDefaults: function() {
- if (this.enemyDefaults) {
- for (var t = {}, e = 0, r = Object.entries(this.enemyDefaults); e < r.length; e++) {
- var i = _slicedToArray(r[e], 2), o = i[0], a = i[1];
- a && "object" === _typeof(a) && void 0 !== a.radius && (t[o] = a.radius);
- }
- this.enemyRadiusMap = t, n.setEnemyRadiusMap(t);
- }
- },
- getEnemyRadius: function(t) {
- return n.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, o = r.mouseDown.y, a = i.calculateSafeMovement(n, o, this.getEntityTypeName.bind(this)), u = i.getForceMagnitude(), s = i.autoForceKey11 && u > i.key11Threshold, c = i.autoForceKey10 && u > i.key10Threshold, f = a.collision;
- if (f || s || c) {
- var l = {
- sequence: r.sequence,
- mouseDown: {
- updated: !0,
- x: f ? Math.round(a.x) : n,
- y: f ? Math.round(a.y) : o
- }
- };
- r.keys && r.keys.length > 0 ? (l.keys = _toConsumableArray(r.keys), s && !l.keys.some((function(t) {
- return 11 === t.keyType;
- })) && l.keys.push({
- keyEvent: 1,
- keyType: 11
- }), c && !l.keys.some((function(t) {
- return 10 === t.keyType;
- })) && l.keys.push({
- keyEvent: 1,
- keyType: 10
- })) : (l.keys = [], s && l.keys.push({
- keyEvent: 1,
- keyType: 11
- }), c && 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
- };
- },
- createWSHook: function() {
- return this.CWSS ? {
- priority: 200,
- init: function() {
- return E.gameWS = this, arguments;
- },
- sendServer: function(t) {
- return E.gameSend = this.sendServer, arguments;
- },
- send: function(t) {
- var e = E.processMovementData(t);
- e.modified && (arguments[0] = e.data);
- try {
- var r = arguments[0], n = r instanceof ArrayBuffer ? new Uint8Array(r) : r instanceof Uint8Array ? r : null;
- if (n && E.coder && E.rawCoder) {
- var i = E.coder.decode.client(n), o = i.keys ? i.keys.findIndex((function(t) {
- return 10 === t.keyType;
- })) : -1;
- if (-1 !== o) {
- var u = O.isActive() && !O.isPastPositionSafe(), s = k.isActive() && !k.isTargetPositionSafe();
- if (u || s) {
- i.keys.splice(o, 1);
- var c = E.coder.encode.client(i);
- c && (arguments[0] = c);
- }
- }
- }
- } catch (t) {}
- if (a.updateLastActionTime(), E.netlog) try {
- var f = arguments[0] instanceof ArrayBuffer ? new Uint8Array(arguments[0]) : arguments[0] instanceof Uint8Array ? arguments[0] : null;
- if (f) E.coder.decode.client(f); else if ("string" == typeof arguments[0]) try {
- JSON.parse(arguments[0]);
- } catch (t) {}
- } catch (t) {}
- return arguments;
- },
- message: function(t) {
- try {
- var e = t.data, n = null;
- if (e instanceof ArrayBuffer || e instanceof Uint8Array) {
- var i = e instanceof ArrayBuffer ? new Uint8Array(e) : e;
- n = E.coder.decode.server(i);
- } else if ("string" == typeof e) try {
- n = JSON.parse(e);
- } catch (t) {}
- if (n) {
- if (n.ack && n.ack.sequence ? E.sequenceCounter = n.ack.sequence + 1 : void 0 !== n.sequence && (E.sequenceCounter = n.sequence + 1),
- E.netlog, void 0 !== n.selfId && null !== n.selfId && E.playerState.id !== n.selfId && (E.playerState.id = n.selfId),
- n.complete && Array.isArray(n.globalEntities) && null !== E.playerState.id) {
- var o = n.globalEntities.find((function(t) {
- return t.id === E.playerState.id;
- }));
- if (o && void 0 !== o.heroType && E.playerState.heroType !== o.heroType) {
- E.playerState.heroType = o.heroType;
- var a = E.getHeroNameById(o.heroType);
- E.playerState.heroName = a;
- }
- }
- if (Array.isArray(n.entities) && null !== E.playerState.id) {
- var u = n.entities.find((function(t) {
- return t.id === E.playerState.id;
- }));
- u && (Object.assign(E.playerState, u), u.abilityOne && Object.assign(E.playerState.abilityOne, u.abilityOne),
- u.abilityTwo && Object.assign(E.playerState.abilityTwo, u.abilityTwo), u.abilityThree && Object.assign(E.playerState.abilityThree, u.abilityThree));
- }
- r.update(n), O.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, ")");
- }
- };
- const A = E;
- __webpack_require__(5276), __webpack_require__(739);
- const x = {
- isEnabled: !0,
- draw: function(t, e, n, i) {
- if (this.isEnabled && e) {
- var o = e.x, a = e.y;
- Object.values(r.entities).forEach((function(e) {
- if ("STAR_ENEMY" === A.getEntityTypeName(e.entityType)) {
- e.pos || (e.pos = []);
- var r = JSON.stringify({
- x: e.x,
- y: e.y
- });
- if (0 !== e.pos.length && e.pos[e.pos.length - 1] === r || e.pos.push(r), e.pos.length > 2 && e.pos.shift(),
- e.pos.length >= 2) {
- var u = e.pos.indexOf(r), 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 = n + (f - o), v = i + (l - a), d = A.getEnemyRadius(e);
- t.save(), t.beginPath(), t.arc(h, v, d, 0, 2 * Math.PI), t.strokeStyle = "rgba(255, 255, 0, 0.8)",
- t.lineWidth = 6, t.stroke(), t.restore();
- } catch (t) {}
- }
- }
- }));
- }
- }
- }, T = {
- canvas: null,
- ctx: null,
- isDrawing: !1,
- showLabels: !1,
- showEnemyHitbox: !0,
- showFields: !1,
- showVelocities: !1,
- showStrengthLine: !1,
- init: function(t) {
- return this.canvas = t, t && (this.ctx = t.getContext("2d")), this;
- },
- 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();
- })), this.canvas && this.ctx && r.selfId && r.entities[r.selfId])) {
- var e = r.getPlayer(), o = e.x, a = e.y, u = this.canvas.width, s = this.canvas.height, c = u / 2, f = s / 2;
- if (this.ctx.save(), this.showFields) {
- var l = 150;
- n.getTrackedEntities(A.getEntityTypeName.bind(A)).forEach((function(e) {
- var r = e.x - o, n = e.y - a, h = c + r, v = f + n;
- if (Math.abs(r) < u / 2 + l && Math.abs(n) < s / 2 + l) for (var d = h - l; d <= h + l; d += 20) for (var p = v - l; p <= v + l; p += 20) {
- var y = o + (d - c), b = a + (p - f), g = i.calculateFieldStrengthAtPoint(e, y, b);
- if (g > 1) {
- var w = Math.min(g / 15e3, 1), m = Math.floor(255 * w), _ = Math.floor(255 * (1 - w) * .5), O = .3 + .5 * w;
- t.ctx.fillStyle = "rgba(".concat(m, ", ").concat(_, ", ").concat(0, ", ").concat(O, ")"),
- t.ctx.beginPath(), t.ctx.arc(d, p, 3, 0, 2 * Math.PI), t.ctx.fill();
- }
- }
- }));
- }
- var h = r.mouseScreenX, v = r.mouseScreenY, d = o + (h - c), p = a + (v - f);
- if (r.updateCalculatedMouseGameCoords(d, p), this.showEnemyHitbox && Object.values(r.entities).forEach((function(e) {
- if (!e.isHarmless && 0 != A.isEntityTypeDangerous(e.entityType)) {
- var r = e.x - o, n = e.y - a;
- if (Math.sqrt(r * r + n * n) <= 300) {
- var u = c + r, s = f + n, l = A.getEnemyRadius(e), h = i.playerRadius + l + i.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(u, s, 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(u, s, l, 0, 2 * Math.PI),
- t.ctx.stroke();
- var v = i.deadzoneDistance;
- if (v > 0) {
- var d = l + v;
- t.ctx.beginPath(), t.ctx.fillStyle = "rgba(0, 0, 255, 0.1)", t.ctx.strokeStyle = "rgba(0, 0, 255, 0.4)",
- t.ctx.arc(u, s, d, 0, 2 * Math.PI), t.ctx.fill(), t.ctx.stroke();
- }
- }
- }
- })), Object.values(r.entities).forEach((function(e) {
- if (0 != A.isEntityTypeDangerous(e.entityType)) {
- var r = e.x - o, n = e.y - a;
- if (Math.sqrt(r * r + n * n) <= 1e3) {
- var u = c + r, s = f + n;
- if (t.ctx.beginPath(), t.ctx.fillStyle = e.isHarmless ? "rgba(0, 255, 0, 0.8)" : "rgba(255, 0, 0, 0.8)",
- t.ctx.arc(u, s, 5, 0, 2 * Math.PI), t.ctx.fill(), t.showVelocities && i.velocities && i.velocities[e.id]) {
- var l = i.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(u, s), t.ctx.lineTo(u + 5 * l.x, s + 5 * l.y), t.ctx.stroke();
- var h = Math.atan2(l.y, l.x);
- t.drawArrowhead(u + 5 * l.x, s + 5 * l.y, h, 8);
- }
- }
- if (t.showLabels) {
- var v = A.getEntityTypeName(e.entityType), d = A.getEnemyRadius(e), p = d ? " (r: ".concat(d.toFixed(0), ")") : "", y = "".concat(v).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(y, u, s - 10), t.ctx.fillText(y, u, s - 10);
- }
- }
- }
- })), this.showStrengthLine && i.lastCalculatedForce) {
- var y = i.lastCalculatedForce, b = Math.sqrt(y.x * y.x + y.y * y.y);
- if (b > .1) {
- this.ctx.beginPath(), this.ctx.strokeStyle = "rgba(0, 200, 255, 0.8)", this.ctx.lineWidth = 3,
- this.ctx.moveTo(c, f);
- var g = 50 / Math.max(b, 1);
- this.ctx.lineTo(c + y.x * g, f + y.y * g), this.ctx.stroke(), this.ctx.fillStyle = "white",
- this.ctx.font = "12px Arial", this.ctx.textAlign = "center", this.ctx.fillText("Force: ".concat(b.toFixed(0)), c + y.x * g / 2, f + y.y * g / 2 - 5);
- }
- }
- O.draw(this.ctx, e, c, f), k.draw(this.ctx, e, c, f), x.draw(this.ctx, e, c, f),
- this.ctx.restore();
- }
- }
- };
- 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 R = "ePushSettings", M = [ {
- id: "collisionAvoidance",
- label: "Collision Avoidance",
- type: "boolean",
- defaultValue: !0,
- tooltip: "Enable/disable automatic collision avoidance system",
- applyChange: function(t, e) {
- e.obstacleAvoidance.enabled = t;
- }
- }, {
- id: "networkLogging",
- label: "Network Logging",
- type: "boolean",
- defaultValue: !1,
- tooltip: "Enable/disable network logging",
- applyChange: function(t, e) {
- e.network.toggleLogging(t);
- }
- }, {
- id: "autoKey11",
- label: "Auto Key (11)",
- type: "boolean",
- defaultValue: !1,
- tooltip: "Automatically send key (11) when close to enemies",
- applyChange: function(t, e) {
- e.obstacleAvoidance.autoForceKey11 = t;
- }
- }, {
- id: "key11Threshold",
- label: "Key 11 Threshold",
- type: "slider",
- defaultValue: i.key11Threshold,
- min: 0,
- max: 5e3,
- step: 50,
- tooltip: "Force magnitude threshold to trigger key 11",
- applyChange: function(t, e) {
- e.obstacleAvoidance.key11Threshold = t;
- }
- }, {
- id: "autoKey10",
- label: "Auto Key (10)",
- type: "boolean",
- defaultValue: !1,
- tooltip: "Automatically send key (10) when close to enemies",
- applyChange: function(t, e) {
- e.obstacleAvoidance.autoForceKey10 = t;
- }
- }, {
- id: "key10Threshold",
- label: "Key 10 Threshold",
- type: "slider",
- defaultValue: i.key10Threshold,
- min: 0,
- max: 5e3,
- step: 50,
- tooltip: "Force magnitude threshold to trigger key 10",
- applyChange: function(t, e) {
- e.obstacleAvoidance.key10Threshold = t;
- }
- }, {
- id: "speedInfluence",
- label: "Speed Influence",
- type: "slider",
- defaultValue: i.speedInfluence,
- min: 0,
- max: 10,
- step: .1,
- tooltip: "How much entity speed affects the avoidance field strength",
- applyChange: function(t, e) {
- e.obstacleAvoidance.speedInfluence = t;
- }
- }, {
- id: "directionBias",
- label: "Direction Bias",
- type: "slider",
- defaultValue: i.directionBias,
- min: 0,
- max: 10,
- step: .1,
- tooltip: "How much the field spikes in the direction of enemy movement",
- applyChange: function(t, e) {
- e.obstacleAvoidance.directionBias = t;
- }
- }, {
- id: "fieldExponent",
- label: "Field Exponent",
- type: "slider",
- defaultValue: i.fieldExponent,
- min: 0,
- max: 4,
- step: .1,
- tooltip: "Exponent for the field strength calculation",
- applyChange: function(t, e) {
- e.obstacleAvoidance.fieldExponent = t;
- }
- }, {
- id: "safetyMargin",
- label: "Safety Margin",
- type: "slider",
- defaultValue: i.safetyMargin,
- min: 0,
- max: 50,
- step: 1,
- tooltip: "Additional distance to maintain from obstacles",
- applyChange: function(t, e) {
- e.obstacleAvoidance.safetyMargin = t;
- }
- }, {
- id: "deadzone",
- label: "Deadzone",
- type: "slider",
- defaultValue: i.deadzoneDistance,
- min: 0,
- max: 100,
- step: 1,
- tooltip: "Distance from enemy hitbox where repulsion field is disabled. Set to 0 to disable.",
- applyChange: function(t, e) {
- e.obstacleAvoidance.deadzoneDistance = t;
- }
- }, {
- id: "showLabels",
- label: "Show Labels",
- type: "boolean",
- defaultValue: !1,
- tooltip: "Show entity labels on the map",
- applyChange: function(t, e) {
- e.renderer.showLabels = t;
- }
- }, {
- id: "showEnemyHitbox",
- label: "Show Enemy Hitboxes",
- type: "boolean",
- defaultValue: !0,
- tooltip: "Visualize collision radius",
- 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",
- 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",
- 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)",
- 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)",
- applyChange: function(t, e) {
- e.teleportIndicator.enabled = t;
- }
- }, {
- id: "starPredictor",
- label: "Star Predictor",
- type: "boolean",
- defaultValue: !0,
- tooltip: "Show predicted previous location for Star enemies",
- applyChange: function(t, e) {
- e.starPredictor.isEnabled = t;
- }
- }, {
- id: "antiAfkEnabled",
- label: "Enable Anti-AFK",
- type: "boolean",
- defaultValue: !0,
- tooltip: "Automatically send key press to prevent AFK kick",
- applyChange: function(t, e) {
- e.antiAfk.updateSettings({
- enabled: t
- });
- }
- } ];
- function loadSettings() {
- var t = M.reduce((function(t, e) {
- return t[e.id] = e.defaultValue, t;
- }), {});
- try {
- var e = localStorage.getItem(R);
- if (e) {
- var r = JSON.parse(e);
- return settings_objectSpread(settings_objectSpread({}, t), r);
- }
- } catch (t) {}
- return t;
- }
- function applyAllSettings(t, e) {
- var r, n = settings_createForOfIteratorHelper(M);
- try {
- for (n.s(); !(r = n.n()).done; ) {
- var i = r.value, o = t[i.id];
- if (void 0 !== o && "function" == typeof i.applyChange) try {
- i.applyChange(o, e);
- } catch (t) {}
- }
- } catch (t) {
- n.e(t);
- } finally {
- n.f();
- }
- }
- function registerSettingsUI(t, e, r) {
- var n, i = settings_createForOfIteratorHelper(M);
- try {
- var _loop = function() {
- var i = n.value, o = t[i.id], onChange = function(r) {
- if (t[i.id] = r, function(t) {
- try {
- localStorage.setItem(R, JSON.stringify(t));
- } catch (t) {}
- }(t), "function" == typeof i.applyChange) try {
- i.applyChange(r, e);
- } catch (t) {}
- };
- switch (i.type) {
- case "boolean":
- r.addBooleanSetting(i.id, i.label, o, i.tooltip, onChange);
- break;
-
- case "slider":
- r.addSliderSetting(i.id, i.label, o, i.min, i.max, i.step, i.tooltip, onChange);
- break;
-
- case "number":
- r.addNumberSetting(i.id, i.label, o, i.tooltip, onChange);
- break;
-
- case "text":
- r.addTextSetting(i.id, i.label, o, i.tooltip, onChange);
- break;
-
- case "color":
- r.addColorSetting(i.id, i.label, o, i.tooltip, onChange);
- }
- };
- for (i.s(); !(n = i.n()).done; ) _loop();
- } catch (t) {
- i.e(t);
- } finally {
- i.f();
- }
- }
- var I, C, N, L, B, P, V, D, q, U, W, G, z = null, $ = window.fetch;
- window.fetch = _asyncToGenerator(e().mark((function _callee() {
- var t, r, n, i, o, a, u, s, c, f, l = arguments;
- return e().wrap((function(e) {
- for (;;) switch (e.prev = e.next) {
- case 0:
- for (r = l.length, n = new Array(r), i = 0; i < r; i++) n[i] = l[i];
- return o = n[0], a = n[1], e.next = 4, $.apply(this, n);
-
- case 4:
- if (u = e.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) {
- e.next = 20;
- break;
- }
- return e.prev = 8, c = u.clone(), e.next = 12, c.json();
-
- case 12:
- f = e.sent, z = f, window.dispatchEvent(new CustomEvent("serverListDataUpdated", {
- detail: z
- })), e.next = 20;
- break;
-
- case 17:
- e.prev = 17, e.t0 = e.catch(8);
-
- case 20:
- return e.abrupt("return", u);
-
- case 21:
- case "end":
- return e.stop();
- }
- }), _callee, this, [ [ 8, 17 ] ]);
- }))), __webpack_require__(4423), __webpack_require__(1699), __webpack_require__(2762);
- const H = (I = null, C = null, N = null, L = "", B = {}, P = new Set, V = new Set,
- D = function() {
- if (I) {
- var t = A.gameWS && A.gameWS.readyState === WebSocket.OPEN;
- I.style.display = t ? "none" : "flex";
- }
- }, q = function(t, e) {
- if (0 === e) return "#aaa";
- var r = t / e;
- return r < .5 ? "#4CAF50" : r < .85 ? "#FFC107" : "#F44336";
- }, U = function(t) {
- var e = t.currentTarget.dataset.serverId, r = C.querySelector('.player-list[data-server-id="'.concat(e, '"]'));
- if (r) {
- var n = !("none" !== r.style.display);
- r.style.display = n ? "block" : "none", B[e] = !n, n ? P.add(e) : P.delete(e), V.delete(e);
- var i = t.currentTarget.querySelector(".toggle-indicator");
- i && (i.textContent = n ? " ▼" : " ►");
- }
- }, W = function(t) {
- var e = t.target.value.trim().toLowerCase(), r = L && !e, n = e && e !== L;
- if (L = e, r) V.forEach((function(t) {
- P.has(t) || (B[t] = !0);
- })), V.clear(); else if (n && (V.forEach((function(t) {
- P.has(t) || (B[t] = !0);
- })), V.clear(), z && z.servers)) for (var i in z.servers) for (var o in z.servers[i]) {
- var a = z.servers[i][o], u = "".concat(i, "-").concat(o);
- a.online && a.online.some((function(t) {
- return t.toLowerCase().includes(L);
- })) && !1 !== B[u] && (B[u] = !1, P.has(u) || V.add(u));
- }
- G();
- }, G = function() {
- if (C) {
- if (!z || !z.servers) return C.innerHTML = "<p>Waiting for server data...</p>",
- void (C.innerHTML = "<p>Waiting for server data...</p>");
- var t = "", e = 0, r = 0;
- for (var n in z.servers) {
- t += '<h4 style="margin: 10px 0 5px 0; font-size: 13px; border-bottom: 1px solid #555;">'.concat(n, "</h4>");
- var i = z.servers[n], o = 0, a = 0;
- for (var u in i) {
- var s = u, c = i[u], f = q(c.connected, c.capacity), l = "".concat(n, "-").concat(s), h = !1 !== B[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 v = h ? "none" : "block";
- t += '<div class="player-list" data-server-id="'.concat(l, '" style="display: ').concat(v, '; 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 L && e.includes(L) && (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>"), C.innerHTML = t,
- C.querySelectorAll(".server-header").forEach((function(t) {
- t.removeEventListener("click", U), t.addEventListener("click", U);
- }));
- }
- }, {
- init: function() {
- I || function() {
- if (!I) {
- (I = document.createElement("div")).id = "epush-server-list-ui", I.style.position = "fixed",
- I.style.top = "50%", I.style.right = "10px", I.style.transform = "translateY(-50%)",
- I.style.width = "200px", I.style.maxHeight = "60vh", I.style.backgroundColor = "rgba(0, 0, 0, 0.7)",
- I.style.backdropFilter = "blur(3px)", I.style.color = "white", I.style.borderRadius = "4px",
- I.style.zIndex = "99998", I.style.overflow = "hidden", I.style.display = "flex",
- I.style.flexDirection = "column", I.style.fontFamily = "Arial, sans-serif", I.style.fontSize = "12px",
- I.style.boxShadow = "0 2px 8px rgba(0, 0, 0, 0.3)", I.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",
- I.appendChild(t);
- var e = document.createElement("div");
- e.style.padding = "5px 8px", e.style.borderBottom = "1px solid rgba(255, 255, 255, 0.2)",
- (N = document.createElement("input")).type = "text", N.placeholder = "Search Players...",
- N.style.width = "100%", N.style.padding = "4px", N.style.boxSizing = "border-box",
- N.style.backgroundColor = "rgba(0, 0, 0, 0.5)", N.style.color = "white", N.style.border = "1px solid #555",
- N.style.borderRadius = "3px", N.addEventListener("input", W), e.appendChild(N),
- I.appendChild(e), (C = document.createElement("div")).className = "server-list-content",
- C.style.padding = "8px", C.style.overflowY = "auto", C.style.flexGrow = "1", C.style.scrollbarWidth = "thin",
- C.style.scrollbarColor = "rgba(255, 255, 255, 0.3) transparent", I.appendChild(C),
- document.body.appendChild(I);
- 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), G(), window.addEventListener("serverListDataUpdated", G),
- setInterval(D, 500), D();
- }
- }();
- }
- });
- var J = "canvas", K = {
- credits: {
- developers: [ "Pixelmelt", "SpdRunner", "Exobyte" ],
- contributors: [ "Nobody has given me ideas yet :<" ]
- },
- changelog: [ {
- version: "1.1.1",
- 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 = _asyncToGenerator(e().mark((function _callee() {
- var t, u, s, c, f;
- return e().wrap((function(e) {
- for (;;) switch (e.prev = e.next) {
- case 0:
- return A.init(o), e.next = 5, A.initCoder();
-
- case 5:
- if (e.sent) {
- e.next = 9;
- break;
- }
- return e.abrupt("return", null);
-
- case 9:
- t = A.createWSHook(), o.setHook(t), (u = function() {
- var t = setupOverlayCanvas(J, "ePushOverlayCanvas");
- t ? T.init(t).startDrawing() : setTimeout(u, 1e3);
- })(), s = loadSettings(), (c = function() {
- var t = document.getElementById(J);
- t ? t.addEventListener("mousemove", (function(e) {
- if (r.getPlayer()) {
- var n = t.getBoundingClientRect(), i = t.width, o = t.height, a = i / n.width, u = o / n.height, s = (e.clientX - n.left) * a, c = (e.clientY - n.top) * u;
- r.updateMouseScreenCoords(s, c);
- }
- })) : setTimeout(c, 1e3);
- })(), n.init({
- enemyRadiusMap: A.enemyRadiusMap || {}
- }), i.init(), O.init(), k.init(), applyAllSettings(s, f = {
- network: A,
- renderer: T,
- obstacleAvoidance: i,
- timeTravelIndicator: O,
- teleportIndicator: k,
- starPredictor: x,
- antiAfk: a
- }), m.createMotdElement(K), m.init(), H.init(), registerSettingsUI(s, f, m), a.init(s.antiAfkEnabled ? {
- enabled: !0
- } : {
- enabled: !1
- });
-
- case 29:
- case "end":
- return e.stop();
- }
- }), _callee);
- })))).apply(this, arguments);
- }
- const Y = initTracker;
- "undefined" != typeof window && initTracker();
- })(), __webpack_exports__ = __webpack_exports__.default, __webpack_exports__;
- })()));
- })();