- // ==UserScript==
- // @name E-Push
- // @version 1.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
- // @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.0.0
- // Created by Pixelmelt
- !function(root, factory) {
- "object" == typeof exports && "object" == typeof module ? module.exports = factory() : "function" == typeof define && define.amd ? define([], factory) : "object" == typeof exports ? exports.EPush = factory() : root.EPush = factory();
- }(self, (() => (() => {
- var __webpack_modules__ = {
- 34: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isCallable = __webpack_require__(4901);
- module.exports = function(it) {
- return "object" == typeof it ? null !== it : isCallable(it);
- };
- },
- 81: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var call = __webpack_require__(9565), aCallable = __webpack_require__(9306), anObject = __webpack_require__(8551), tryToString = __webpack_require__(6823), getIteratorMethod = __webpack_require__(851), $TypeError = TypeError;
- module.exports = function(argument, usingIterator) {
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
- if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
- throw new $TypeError(tryToString(argument) + " is not iterable");
- };
- },
- 235: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $forEach = __webpack_require__(9213).forEach, STRICT_METHOD = __webpack_require__(4598)("forEach");
- module.exports = STRICT_METHOD ? [].forEach : function(callbackfn) {
- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
- };
- },
- 259: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isArray = __webpack_require__(4376), lengthOfArrayLike = __webpack_require__(6198), doesNotExceedSafeInteger = __webpack_require__(6837), bind = __webpack_require__(6080), flattenIntoArray = function(target, original, source, sourceLen, start, depth, mapper, thisArg) {
- for (var element, elementLen, targetIndex = start, sourceIndex = 0, mapFn = !!mapper && bind(mapper, thisArg); sourceIndex < sourceLen; ) sourceIndex in source && (element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex],
- depth > 0 && isArray(element) ? (elementLen = lengthOfArrayLike(element), targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1) : (doesNotExceedSafeInteger(targetIndex + 1),
- target[targetIndex] = element), targetIndex++), sourceIndex++;
- return targetIndex;
- };
- module.exports = flattenIntoArray;
- },
- 280: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), getBuiltIn = __webpack_require__(7751), IS_PURE = __webpack_require__(6395), NativePromiseConstructor = __webpack_require__(550), FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(916).CONSTRUCTOR, promiseResolve = __webpack_require__(3438), PromiseConstructorWrapper = getBuiltIn("Promise"), CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;
- $({
- target: "Promise",
- stat: !0,
- forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR
- }, {
- resolve: function(x) {
- return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);
- }
- });
- },
- 283: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), fails = __webpack_require__(9039), isCallable = __webpack_require__(4901), hasOwn = __webpack_require__(9297), DESCRIPTORS = __webpack_require__(3724), CONFIGURABLE_FUNCTION_NAME = __webpack_require__(350).CONFIGURABLE, inspectSource = __webpack_require__(3706), InternalStateModule = __webpack_require__(1181), enforceInternalState = InternalStateModule.enforce, getInternalState = InternalStateModule.get, $String = String, defineProperty = Object.defineProperty, stringSlice = uncurryThis("".slice), replace = uncurryThis("".replace), join = uncurryThis([].join), CONFIGURABLE_LENGTH = DESCRIPTORS && !fails((function() {
- return 8 !== defineProperty((function() {}), "length", {
- value: 8
- }).length;
- })), TEMPLATE = String(String).split("String"), makeBuiltIn = module.exports = function(value, name, options) {
- "Symbol(" === stringSlice($String(name), 0, 7) && (name = "[" + replace($String(name), /^Symbol\(([^)]*)\).*$/, "$1") + "]"),
- options && options.getter && (name = "get " + name), options && options.setter && (name = "set " + name),
- (!hasOwn(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) && (DESCRIPTORS ? defineProperty(value, "name", {
- value: name,
- configurable: !0
- }) : value.name = name), CONFIGURABLE_LENGTH && options && hasOwn(options, "arity") && value.length !== options.arity && defineProperty(value, "length", {
- value: options.arity
- });
- try {
- options && hasOwn(options, "constructor") && options.constructor ? DESCRIPTORS && defineProperty(value, "prototype", {
- writable: !1
- }) : value.prototype && (value.prototype = void 0);
- } catch (error) {}
- var state = enforceInternalState(value);
- return hasOwn(state, "source") || (state.source = join(TEMPLATE, "string" == typeof name ? name : "")),
- value;
- };
- Function.prototype.toString = makeBuiltIn((function() {
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
- }), "toString");
- },
- 298: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var classof = __webpack_require__(2195), toIndexedObject = __webpack_require__(5397), $getOwnPropertyNames = __webpack_require__(8480).f, arraySlice = __webpack_require__(7680), windowNames = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
- module.exports.f = function(it) {
- return windowNames && "Window" === classof(it) ? function(it) {
- try {
- return $getOwnPropertyNames(it);
- } catch (error) {
- return arraySlice(windowNames);
- }
- }(it) : $getOwnPropertyNames(toIndexedObject(it));
- };
- },
- 350: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), hasOwn = __webpack_require__(9297), FunctionPrototype = Function.prototype, getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor, EXISTS = hasOwn(FunctionPrototype, "name"), PROPER = EXISTS && "something" === function() {}.name, CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, "name").configurable);
- module.exports = {
- EXISTS,
- PROPER,
- CONFIGURABLE
- };
- },
- 361: (__unused_webpack_module, exports, __webpack_require__) => {
- "use strict";
- var types = exports, util = __webpack_require__(3262), s = [ "double", "float", "int32", "uint32", "sint32", "fixed32", "sfixed32", "int64", "uint64", "sint64", "fixed64", "sfixed64", "bool", "string", "bytes" ];
- function bake(values, offset) {
- var i = 0, o = {};
- for (offset |= 0; i < values.length; ) o[s[i + offset]] = values[i++];
- return o;
- }
- types.basic = bake([ 1, 5, 0, 0, 0, 5, 5, 0, 0, 0, 1, 1, 0, 2, 2 ]), types.defaults = bake([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, !1, "", util.emptyArray, null ]),
- types.long = bake([ 0, 0, 0, 1, 1 ], 7), types.mapKey = bake([ 0, 0, 0, 5, 5, 0, 0, 0, 1, 1, 0, 2 ], 2),
- types.packed = bake([ 1, 5, 0, 0, 0, 5, 5, 0, 0, 0, 1, 1, 0 ]);
- },
- 373: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), uncurryThis = __webpack_require__(7476), fails = __webpack_require__(9039), aCallable = __webpack_require__(9306), internalSort = __webpack_require__(4488), ArrayBufferViewCore = __webpack_require__(4644), FF = __webpack_require__(3709), IE_OR_EDGE = __webpack_require__(3763), V8 = __webpack_require__(9519), WEBKIT = __webpack_require__(3607), aTypedArray = ArrayBufferViewCore.aTypedArray, exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod, Uint16Array = globalThis.Uint16Array, nativeSort = Uint16Array && uncurryThis(Uint16Array.prototype.sort), ACCEPT_INCORRECT_ARGUMENTS = !(!nativeSort || fails((function() {
- nativeSort(new Uint16Array(2), null);
- })) && fails((function() {
- nativeSort(new Uint16Array(2), {});
- }))), STABLE_SORT = !!nativeSort && !fails((function() {
- if (V8) return V8 < 74;
- if (FF) return FF < 67;
- if (IE_OR_EDGE) return !0;
- if (WEBKIT) return WEBKIT < 602;
- var index, mod, array = new Uint16Array(516), expected = Array(516);
- for (index = 0; index < 516; index++) mod = index % 4, array[index] = 515 - index,
- expected[index] = index - 2 * mod + 3;
- for (nativeSort(array, (function(a, b) {
- return (a / 4 | 0) - (b / 4 | 0);
- })), index = 0; index < 516; index++) if (array[index] !== expected[index]) return !0;
- }));
- exportTypedArrayMethod("sort", (function(comparefn) {
- return void 0 !== comparefn && aCallable(comparefn), STABLE_SORT ? nativeSort(this, comparefn) : internalSort(aTypedArray(this), function(comparefn) {
- return function(x, y) {
- return void 0 !== comparefn ? +comparefn(x, y) || 0 : y != y ? -1 : x != x ? 1 : 0 === x && 0 === y ? 1 / x > 0 && 1 / y < 0 ? 1 : -1 : x > y;
- };
- }(comparefn));
- }), !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);
- },
- 397: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var getBuiltIn = __webpack_require__(7751);
- module.exports = getBuiltIn("document", "documentElement");
- },
- 420: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = function(mtype) {
- var gen = util.codegen([ "m" ], mtype.name + "$verify")('if(typeof m!=="object"||m===null)')("return%j", "object expected"), seenFirstField = {};
- mtype.oneofsArray.length && gen("var p={}");
- for (var i = 0; i < mtype.fieldsArray.length; ++i) {
- var field = mtype._fieldsArray[i].resolve(), ref = "m" + util.safeProp(field.name);
- if (field.optional && gen("if(%s!=null&&m.hasOwnProperty(%j)){", ref, field.name),
- field.map) gen("if(!util.isObject(%s))", ref)("return%j", invalid(field, "object"))("var k=Object.keys(%s)", ref)("for(var i=0;i<k.length;++i){"),
- genVerifyKey(gen, field, "k[i]"), genVerifyValue(gen, field, i, ref + "[k[i]]")("}"); else if (field.repeated) gen("if(!Array.isArray(%s))", ref)("return%j", invalid(field, "array"))("for(var i=0;i<%s.length;++i){", ref),
- genVerifyValue(gen, field, i, ref + "[i]")("}"); else {
- if (field.partOf) {
- var oneofProp = util.safeProp(field.partOf.name);
- 1 === seenFirstField[field.partOf.name] && gen("if(p%s===1)", oneofProp)("return%j", field.partOf.name + ": multiple values"),
- seenFirstField[field.partOf.name] = 1, gen("p%s=1", oneofProp);
- }
- genVerifyValue(gen, field, i, ref);
- }
- field.optional && gen("}");
- }
- return gen("return null");
- };
- var Enum = __webpack_require__(5643), util = __webpack_require__(3262);
- function invalid(field, expected) {
- return field.name + ": " + expected + (field.repeated && "array" !== expected ? "[]" : field.map && "object" !== expected ? "{k:" + field.keyType + "}" : "") + " expected";
- }
- function genVerifyValue(gen, field, fieldIndex, ref) {
- if (field.resolvedType) if (field.resolvedType instanceof Enum) {
- gen("switch(%s){", ref)("default:")("return%j", invalid(field, "enum value"));
- for (var keys = Object.keys(field.resolvedType.values), j = 0; j < keys.length; ++j) gen("case %i:", field.resolvedType.values[keys[j]]);
- gen("break")("}");
- } else gen("{")("var e=types[%i].verify(%s);", fieldIndex, ref)("if(e)")("return%j+e", field.name + ".")("}"); else switch (field.type) {
- case "int32":
- case "uint32":
- case "sint32":
- case "fixed32":
- case "sfixed32":
- gen("if(!util.isInteger(%s))", ref)("return%j", invalid(field, "integer"));
- break;
-
- case "int64":
- case "uint64":
- case "sint64":
- case "fixed64":
- case "sfixed64":
- gen("if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))", ref, ref, ref, ref)("return%j", invalid(field, "integer|Long"));
- break;
-
- case "float":
- case "double":
- gen('if(typeof %s!=="number")', ref)("return%j", invalid(field, "number"));
- break;
-
- case "bool":
- gen('if(typeof %s!=="boolean")', ref)("return%j", invalid(field, "boolean"));
- break;
-
- case "string":
- gen("if(!util.isString(%s))", ref)("return%j", invalid(field, "string"));
- break;
-
- case "bytes":
- gen('if(!(%s&&typeof %s.length==="number"||util.isString(%s)))', ref, ref, ref)("return%j", invalid(field, "buffer"));
- }
- return gen;
- }
- function genVerifyKey(gen, field, ref) {
- switch (field.keyType) {
- case "int32":
- case "uint32":
- case "sint32":
- case "fixed32":
- case "sfixed32":
- gen("if(!util.key32Re.test(%s))", ref)("return%j", invalid(field, "integer key"));
- break;
-
- case "int64":
- case "uint64":
- case "sint64":
- case "fixed64":
- case "sfixed64":
- gen("if(!util.key64Re.test(%s))", ref)("return%j", invalid(field, "integer|Long key"));
- break;
-
- case "bool":
- gen("if(!util.key2Re.test(%s))", ref)("return%j", invalid(field, "boolean key"));
- }
- return gen;
- }
- },
- 421: module => {
- "use strict";
- module.exports = {};
- },
- 436: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var Internal, OwnPromiseCapability, nativeThen, $ = __webpack_require__(6518), IS_PURE = __webpack_require__(6395), IS_NODE = __webpack_require__(6193), globalThis = __webpack_require__(4576), call = __webpack_require__(9565), defineBuiltIn = __webpack_require__(6840), setPrototypeOf = __webpack_require__(2967), setToStringTag = __webpack_require__(687), setSpecies = __webpack_require__(7633), aCallable = __webpack_require__(9306), isCallable = __webpack_require__(4901), isObject = __webpack_require__(34), anInstance = __webpack_require__(679), speciesConstructor = __webpack_require__(2293), task = __webpack_require__(9225).set, microtask = __webpack_require__(1955), hostReportErrors = __webpack_require__(3138), perform = __webpack_require__(1103), Queue = __webpack_require__(8265), InternalStateModule = __webpack_require__(1181), NativePromiseConstructor = __webpack_require__(550), PromiseConstructorDetection = __webpack_require__(916), newPromiseCapabilityModule = __webpack_require__(6043), FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR, NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT, NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING, getInternalPromiseState = InternalStateModule.getterFor("Promise"), setInternalState = InternalStateModule.set, NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype, PromiseConstructor = NativePromiseConstructor, PromisePrototype = NativePromisePrototype, TypeError = globalThis.TypeError, document = globalThis.document, process = globalThis.process, newPromiseCapability = newPromiseCapabilityModule.f, newGenericPromiseCapability = newPromiseCapability, DISPATCH_EVENT = !!(document && document.createEvent && globalThis.dispatchEvent), isThenable = function(it) {
- var then;
- return !(!isObject(it) || !isCallable(then = it.then)) && then;
- }, callReaction = function(reaction, state) {
- var result, then, exited, value = state.value, ok = 1 === state.state, handler = ok ? reaction.ok : reaction.fail, resolve = reaction.resolve, reject = reaction.reject, domain = reaction.domain;
- try {
- handler ? (ok || (2 === state.rejection && onHandleUnhandled(state), state.rejection = 1),
- !0 === handler ? result = value : (domain && domain.enter(), result = handler(value),
- domain && (domain.exit(), exited = !0)), result === reaction.promise ? reject(new TypeError("Promise-chain cycle")) : (then = isThenable(result)) ? call(then, result, resolve, reject) : resolve(result)) : reject(value);
- } catch (error) {
- domain && !exited && domain.exit(), reject(error);
- }
- }, notify = function(state, isReject) {
- state.notified || (state.notified = !0, microtask((function() {
- for (var reaction, reactions = state.reactions; reaction = reactions.get(); ) callReaction(reaction, state);
- state.notified = !1, isReject && !state.rejection && onUnhandled(state);
- })));
- }, dispatchEvent = function(name, promise, reason) {
- var event, handler;
- DISPATCH_EVENT ? ((event = document.createEvent("Event")).promise = promise, event.reason = reason,
- event.initEvent(name, !1, !0), globalThis.dispatchEvent(event)) : event = {
- promise,
- reason
- }, !NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis["on" + name]) ? handler(event) : "unhandledrejection" === name && hostReportErrors("Unhandled promise rejection", reason);
- }, onUnhandled = function(state) {
- call(task, globalThis, (function() {
- var result, promise = state.facade, value = state.value;
- if (isUnhandled(state) && (result = perform((function() {
- IS_NODE ? process.emit("unhandledRejection", value, promise) : dispatchEvent("unhandledrejection", promise, value);
- })), state.rejection = IS_NODE || isUnhandled(state) ? 2 : 1, result.error)) throw result.value;
- }));
- }, isUnhandled = function(state) {
- return 1 !== state.rejection && !state.parent;
- }, onHandleUnhandled = function(state) {
- call(task, globalThis, (function() {
- var promise = state.facade;
- IS_NODE ? process.emit("rejectionHandled", promise) : dispatchEvent("rejectionhandled", promise, state.value);
- }));
- }, bind = function(fn, state, unwrap) {
- return function(value) {
- fn(state, value, unwrap);
- };
- }, internalReject = function(state, value, unwrap) {
- state.done || (state.done = !0, unwrap && (state = unwrap), state.value = value,
- state.state = 2, notify(state, !0));
- }, internalResolve = function(state, value, unwrap) {
- if (!state.done) {
- state.done = !0, unwrap && (state = unwrap);
- try {
- if (state.facade === value) throw new TypeError("Promise can't be resolved itself");
- var then = isThenable(value);
- then ? microtask((function() {
- var wrapper = {
- done: !1
- };
- try {
- call(then, value, bind(internalResolve, wrapper, state), bind(internalReject, wrapper, state));
- } catch (error) {
- internalReject(wrapper, error, state);
- }
- })) : (state.value = value, state.state = 1, notify(state, !1));
- } catch (error) {
- internalReject({
- done: !1
- }, error, state);
- }
- }
- };
- if (FORCED_PROMISE_CONSTRUCTOR && (PromisePrototype = (PromiseConstructor = function(executor) {
- anInstance(this, PromisePrototype), aCallable(executor), call(Internal, this);
- var state = getInternalPromiseState(this);
- try {
- executor(bind(internalResolve, state), bind(internalReject, state));
- } catch (error) {
- internalReject(state, error);
- }
- }).prototype, (Internal = function(executor) {
- setInternalState(this, {
- type: "Promise",
- done: !1,
- notified: !1,
- parent: !1,
- reactions: new Queue,
- rejection: !1,
- state: 0,
- value: null
- });
- }).prototype = defineBuiltIn(PromisePrototype, "then", (function(onFulfilled, onRejected) {
- var state = getInternalPromiseState(this), reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
- return state.parent = !0, reaction.ok = !isCallable(onFulfilled) || onFulfilled,
- reaction.fail = isCallable(onRejected) && onRejected, reaction.domain = IS_NODE ? process.domain : void 0,
- 0 === state.state ? state.reactions.add(reaction) : microtask((function() {
- callReaction(reaction, state);
- })), reaction.promise;
- })), OwnPromiseCapability = function() {
- var promise = new Internal, state = getInternalPromiseState(promise);
- this.promise = promise, this.resolve = bind(internalResolve, state), this.reject = bind(internalReject, state);
- }, newPromiseCapabilityModule.f = newPromiseCapability = function(C) {
- return C === PromiseConstructor || void 0 === C ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C);
- }, !IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype)) {
- nativeThen = NativePromisePrototype.then, NATIVE_PROMISE_SUBCLASSING || defineBuiltIn(NativePromisePrototype, "then", (function(onFulfilled, onRejected) {
- var that = this;
- return new PromiseConstructor((function(resolve, reject) {
- call(nativeThen, that, resolve, reject);
- })).then(onFulfilled, onRejected);
- }), {
- unsafe: !0
- });
- try {
- delete NativePromisePrototype.constructor;
- } catch (error) {}
- setPrototypeOf && setPrototypeOf(NativePromisePrototype, PromisePrototype);
- }
- $({
- global: !0,
- constructor: !0,
- wrap: !0,
- forced: FORCED_PROMISE_CONSTRUCTOR
- }, {
- Promise: PromiseConstructor
- }), setToStringTag(PromiseConstructor, "Promise", !1, !0), setSpecies("Promise");
- },
- 511: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var path = __webpack_require__(9167), hasOwn = __webpack_require__(9297), wrappedWellKnownSymbolModule = __webpack_require__(1951), defineProperty = __webpack_require__(4913).f;
- module.exports = function(NAME) {
- var Symbol = path.Symbol || (path.Symbol = {});
- hasOwn(Symbol, NAME) || defineProperty(Symbol, NAME, {
- value: wrappedWellKnownSymbolModule.f(NAME)
- });
- };
- },
- 527: module => {
- "use strict";
- module.exports = tokenize;
- var delimRe = /[\s{}=;:[\],'"()<>]/g, stringDoubleRe = /(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g, stringSingleRe = /(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g, setCommentRe = /^ *[*/]+ */, setCommentAltRe = /^\s*\*?\/*/, setCommentSplitRe = /\n/g, whitespaceRe = /\s/, unescapeRe = /\\(.?)/g, unescapeMap = {
- 0: "\0",
- "r": "\r",
- "n": "\n",
- "t": "\t"
- };
- function unescape(str) {
- return str.replace(unescapeRe, (function($0, $1) {
- switch ($1) {
- case "\\":
- case "":
- return $1;
-
- default:
- return unescapeMap[$1] || "";
- }
- }));
- }
- function tokenize(source, alternateCommentMode) {
- source = source.toString();
- var offset = 0, length = source.length, line = 1, lastCommentLine = 0, comments = {}, stack = [], stringDelim = null;
- function illegal(subject) {
- return Error("illegal " + subject + " (line " + line + ")");
- }
- function charAt(pos) {
- return source.charAt(pos);
- }
- function setComment(start, end, isLeading) {
- var c, comment = {
- type: source.charAt(start++),
- lineEmpty: !1,
- leading: isLeading
- }, commentOffset = start - (alternateCommentMode ? 2 : 3);
- do {
- if (--commentOffset < 0 || "\n" === (c = source.charAt(commentOffset))) {
- comment.lineEmpty = !0;
- break;
- }
- } while (" " === c || "\t" === c);
- for (var lines = source.substring(start, end).split(setCommentSplitRe), i = 0; i < lines.length; ++i) lines[i] = lines[i].replace(alternateCommentMode ? setCommentAltRe : setCommentRe, "").trim();
- comment.text = lines.join("\n").trim(), comments[line] = comment, lastCommentLine = line;
- }
- function isDoubleSlashCommentLine(startOffset) {
- var endOffset = findEndOfLine(startOffset), lineText = source.substring(startOffset, endOffset);
- return /^\s*\/\//.test(lineText);
- }
- function findEndOfLine(cursor) {
- for (var endOffset = cursor; endOffset < length && "\n" !== charAt(endOffset); ) endOffset++;
- return endOffset;
- }
- function next() {
- if (stack.length > 0) return stack.shift();
- if (stringDelim) return function() {
- var re = "'" === stringDelim ? stringSingleRe : stringDoubleRe;
- re.lastIndex = offset - 1;
- var match = re.exec(source);
- if (!match) throw illegal("string");
- return offset = re.lastIndex, push(stringDelim), stringDelim = null, unescape(match[1]);
- }();
- var repeat, prev, curr, start, isDoc, isLeadingComment = 0 === offset;
- do {
- if (offset === length) return null;
- for (repeat = !1; whitespaceRe.test(curr = charAt(offset)); ) if ("\n" === curr && (isLeadingComment = !0,
- ++line), ++offset === length) return null;
- if ("/" === charAt(offset)) {
- if (++offset === length) throw illegal("comment");
- if ("/" === charAt(offset)) if (alternateCommentMode) {
- if (start = offset, isDoc = !1, isDoubleSlashCommentLine(offset - 1)) {
- isDoc = !0;
- do {
- if ((offset = findEndOfLine(offset)) === length) break;
- if (offset++, !isLeadingComment) break;
- } while (isDoubleSlashCommentLine(offset));
- } else offset = Math.min(length, findEndOfLine(offset) + 1);
- isDoc && (setComment(start, offset, isLeadingComment), isLeadingComment = !0), line++,
- repeat = !0;
- } else {
- for (isDoc = "/" === charAt(start = offset + 1); "\n" !== charAt(++offset); ) if (offset === length) return null;
- ++offset, isDoc && (setComment(start, offset - 1, isLeadingComment), isLeadingComment = !0),
- ++line, repeat = !0;
- } else {
- if ("*" !== (curr = charAt(offset))) return "/";
- start = offset + 1, isDoc = alternateCommentMode || "*" === charAt(start);
- do {
- if ("\n" === curr && ++line, ++offset === length) throw illegal("comment");
- prev = curr, curr = charAt(offset);
- } while ("*" !== prev || "/" !== curr);
- ++offset, isDoc && (setComment(start, offset - 2, isLeadingComment), isLeadingComment = !0),
- repeat = !0;
- }
- }
- } while (repeat);
- var end = offset;
- if (delimRe.lastIndex = 0, !delimRe.test(charAt(end++))) for (;end < length && !delimRe.test(charAt(end)); ) ++end;
- var token = source.substring(offset, offset = end);
- return '"' !== token && "'" !== token || (stringDelim = token), token;
- }
- function push(token) {
- stack.push(token);
- }
- function peek() {
- if (!stack.length) {
- var token = next();
- if (null === token) return null;
- push(token);
- }
- return stack[0];
- }
- return Object.defineProperty({
- next,
- peek,
- push,
- skip: function(expected, optional) {
- var actual = peek();
- if (actual === expected) return next(), !0;
- if (!optional) throw illegal("token '" + actual + "', '" + expected + "' expected");
- return !1;
- },
- cmnt: function(trailingLine) {
- var comment, ret = null;
- return void 0 === trailingLine ? (comment = comments[line - 1], delete comments[line - 1],
- comment && (alternateCommentMode || "*" === comment.type || comment.lineEmpty) && (ret = comment.leading ? comment.text : null)) : (lastCommentLine < trailingLine && peek(),
- comment = comments[trailingLine], delete comments[trailingLine], !comment || comment.lineEmpty || !alternateCommentMode && "/" !== comment.type || (ret = comment.leading ? null : comment.text)),
- ret;
- }
- }, "line", {
- get: function() {
- return line;
- }
- });
- }
- tokenize.unescape = unescape;
- },
- 537: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var NativePromiseConstructor = __webpack_require__(550), checkCorrectnessOfIteration = __webpack_require__(4428), FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(916).CONSTRUCTOR;
- module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration((function(iterable) {
- NativePromiseConstructor.all(iterable).then(void 0, (function() {}));
- }));
- },
- 550: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576);
- module.exports = globalThis.Promise;
- },
- 597: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039), wellKnownSymbol = __webpack_require__(8227), V8_VERSION = __webpack_require__(9519), SPECIES = wellKnownSymbol("species");
- module.exports = function(METHOD_NAME) {
- return V8_VERSION >= 51 || !fails((function() {
- var array = [];
- return (array.constructor = {})[SPECIES] = function() {
- return {
- foo: 1
- };
- }, 1 !== array[METHOD_NAME](Boolean).foo;
- }));
- };
- },
- 616: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039);
- module.exports = !fails((function() {
- var test = function() {}.bind();
- return "function" != typeof test || test.hasOwnProperty("prototype");
- }));
- },
- 655: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var classof = __webpack_require__(6955), $String = String;
- module.exports = function(argument) {
- if ("Symbol" === classof(argument)) throw new TypeError("Cannot convert a Symbol value to a string");
- return $String(argument);
- };
- },
- 679: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isPrototypeOf = __webpack_require__(1625), $TypeError = TypeError;
- module.exports = function(it, Prototype) {
- if (isPrototypeOf(Prototype, it)) return it;
- throw new $TypeError("Incorrect invocation");
- };
- },
- 687: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var defineProperty = __webpack_require__(4913).f, hasOwn = __webpack_require__(9297), TO_STRING_TAG = __webpack_require__(8227)("toStringTag");
- module.exports = function(target, TAG, STATIC) {
- target && !STATIC && (target = target.prototype), target && !hasOwn(target, TO_STRING_TAG) && defineProperty(target, TO_STRING_TAG, {
- configurable: !0,
- value: TAG
- });
- };
- },
- 741: module => {
- "use strict";
- var ceil = Math.ceil, floor = Math.floor;
- module.exports = Math.trunc || function(x) {
- var n = +x;
- return (n > 0 ? floor : ceil)(n);
- };
- },
- 744: (__unused_webpack_module, exports, __webpack_require__) => {
- "use strict";
- var converter = exports, Enum = __webpack_require__(5643), util = __webpack_require__(3262);
- function genValuePartial_fromObject(gen, field, fieldIndex, prop) {
- var defaultAlreadyEmitted = !1;
- if (field.resolvedType) if (field.resolvedType instanceof Enum) {
- gen("switch(d%s){", prop);
- for (var values = field.resolvedType.values, keys = Object.keys(values), i = 0; i < keys.length; ++i) values[keys[i]] !== field.typeDefault || defaultAlreadyEmitted || (gen("default:")('if(typeof(d%s)==="number"){m%s=d%s;break}', prop, prop, prop),
- field.repeated || gen("break"), defaultAlreadyEmitted = !0), gen("case%j:", keys[i])("case %i:", values[keys[i]])("m%s=%j", prop, values[keys[i]])("break");
- gen("}");
- } else gen('if(typeof d%s!=="object")', prop)("throw TypeError(%j)", field.fullName + ": object expected")("m%s=types[%i].fromObject(d%s)", prop, fieldIndex, prop); else {
- var isUnsigned = !1;
- switch (field.type) {
- case "double":
- case "float":
- gen("m%s=Number(d%s)", prop, prop);
- break;
-
- case "uint32":
- case "fixed32":
- gen("m%s=d%s>>>0", prop, prop);
- break;
-
- case "int32":
- case "sint32":
- case "sfixed32":
- gen("m%s=d%s|0", prop, prop);
- break;
-
- case "uint64":
- isUnsigned = !0;
-
- case "int64":
- case "sint64":
- case "fixed64":
- case "sfixed64":
- gen("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j", prop, prop, isUnsigned)('else if(typeof d%s==="string")', prop)("m%s=parseInt(d%s,10)", prop, prop)('else if(typeof d%s==="number")', prop)("m%s=d%s", prop, prop)('else if(typeof d%s==="object")', prop)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)", prop, prop, prop, isUnsigned ? "true" : "");
- break;
-
- case "bytes":
- gen('if(typeof d%s==="string")', prop)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)", prop, prop, prop)("else if(d%s.length >= 0)", prop)("m%s=d%s", prop, prop);
- break;
-
- case "string":
- gen("m%s=String(d%s)", prop, prop);
- break;
-
- case "bool":
- gen("m%s=Boolean(d%s)", prop, prop);
- }
- }
- return gen;
- }
- function genValuePartial_toObject(gen, field, fieldIndex, prop) {
- if (field.resolvedType) field.resolvedType instanceof Enum ? gen("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s", prop, fieldIndex, prop, prop, fieldIndex, prop, prop) : gen("d%s=types[%i].toObject(m%s,o)", prop, fieldIndex, prop); else {
- var isUnsigned = !1;
- switch (field.type) {
- case "double":
- case "float":
- gen("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s", prop, prop, prop, prop);
- break;
-
- case "uint64":
- isUnsigned = !0;
-
- case "int64":
- case "sint64":
- case "fixed64":
- case "sfixed64":
- gen('if(typeof m%s==="number")', prop)("d%s=o.longs===String?String(m%s):m%s", prop, prop, prop)("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", prop, prop, prop, prop, isUnsigned ? "true" : "", prop);
- break;
-
- case "bytes":
- gen("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", prop, prop, prop, prop, prop);
- break;
-
- default:
- gen("d%s=m%s", prop, prop);
- }
- }
- return gen;
- }
- converter.fromObject = function(mtype) {
- var fields = mtype.fieldsArray, gen = util.codegen([ "d" ], mtype.name + "$fromObject")("if(d instanceof this.ctor)")("return d");
- if (!fields.length) return gen("return new this.ctor");
- gen("var m=new this.ctor");
- for (var i = 0; i < fields.length; ++i) {
- var field = fields[i].resolve(), prop = util.safeProp(field.name);
- field.map ? (gen("if(d%s){", prop)('if(typeof d%s!=="object")', prop)("throw TypeError(%j)", field.fullName + ": object expected")("m%s={}", prop)("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){", prop),
- genValuePartial_fromObject(gen, field, i, prop + "[ks[i]]")("}")("}")) : field.repeated ? (gen("if(d%s){", prop)("if(!Array.isArray(d%s))", prop)("throw TypeError(%j)", field.fullName + ": array expected")("m%s=[]", prop)("for(var i=0;i<d%s.length;++i){", prop),
- genValuePartial_fromObject(gen, field, i, prop + "[i]")("}")("}")) : (field.resolvedType instanceof Enum || gen("if(d%s!=null){", prop),
- genValuePartial_fromObject(gen, field, i, prop), field.resolvedType instanceof Enum || gen("}"));
- }
- return gen("return m");
- }, converter.toObject = function(mtype) {
- var fields = mtype.fieldsArray.slice().sort(util.compareFieldsById);
- if (!fields.length) return util.codegen()("return {}");
- for (var gen = util.codegen([ "m", "o" ], mtype.name + "$toObject")("if(!o)")("o={}")("var d={}"), repeatedFields = [], mapFields = [], normalFields = [], i = 0; i < fields.length; ++i) fields[i].partOf || (fields[i].resolve().repeated ? repeatedFields : fields[i].map ? mapFields : normalFields).push(fields[i]);
- if (repeatedFields.length) {
- for (gen("if(o.arrays||o.defaults){"), i = 0; i < repeatedFields.length; ++i) gen("d%s=[]", util.safeProp(repeatedFields[i].name));
- gen("}");
- }
- if (mapFields.length) {
- for (gen("if(o.objects||o.defaults){"), i = 0; i < mapFields.length; ++i) gen("d%s={}", util.safeProp(mapFields[i].name));
- gen("}");
- }
- if (normalFields.length) {
- for (gen("if(o.defaults){"), i = 0; i < normalFields.length; ++i) {
- var field = normalFields[i], prop = util.safeProp(field.name);
- if (field.resolvedType instanceof Enum) gen("d%s=o.enums===String?%j:%j", prop, field.resolvedType.valuesById[field.typeDefault], field.typeDefault); else if (field.long) gen("if(util.Long){")("var n=new util.Long(%i,%i,%j)", field.typeDefault.low, field.typeDefault.high, field.typeDefault.unsigned)("d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():n", prop)("}else")("d%s=o.longs===String?%j:%i", prop, field.typeDefault.toString(), field.typeDefault.toNumber()); else if (field.bytes) {
- var arrayDefault = "[" + Array.prototype.slice.call(field.typeDefault).join(",") + "]";
- gen("if(o.bytes===String)d%s=%j", prop, String.fromCharCode.apply(String, field.typeDefault))("else{")("d%s=%s", prop, arrayDefault)("if(o.bytes!==Array)d%s=util.newBuffer(d%s)", prop, prop)("}");
- } else gen("d%s=%j", prop, field.typeDefault);
- }
- gen("}");
- }
- var hasKs2 = !1;
- for (i = 0; i < fields.length; ++i) {
- field = fields[i];
- var index = mtype._fieldsArray.indexOf(field);
- prop = util.safeProp(field.name), field.map ? (hasKs2 || (hasKs2 = !0, gen("var ks2")),
- gen("if(m%s&&(ks2=Object.keys(m%s)).length){", prop, prop)("d%s={}", prop)("for(var j=0;j<ks2.length;++j){"),
- genValuePartial_toObject(gen, field, index, prop + "[ks2[j]]")("}")) : field.repeated ? (gen("if(m%s&&m%s.length){", prop, prop)("d%s=[]", prop)("for(var j=0;j<m%s.length;++j){", prop),
- genValuePartial_toObject(gen, field, index, prop + "[j]")("}")) : (gen("if(m%s!=null&&m.hasOwnProperty(%j)){", prop, field.name),
- genValuePartial_toObject(gen, field, index, prop), field.partOf && gen("if(o.oneofs)")("d%s=%j", util.safeProp(field.partOf.name), field.name)),
- gen("}");
- }
- return gen("return d");
- };
- },
- 757: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var getBuiltIn = __webpack_require__(7751), isCallable = __webpack_require__(4901), isPrototypeOf = __webpack_require__(1625), USE_SYMBOL_AS_UID = __webpack_require__(7040), $Object = Object;
- module.exports = USE_SYMBOL_AS_UID ? function(it) {
- return "symbol" == typeof it;
- } : function(it) {
- var $Symbol = getBuiltIn("Symbol");
- return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
- };
- },
- 818: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = BufferWriter;
- var Writer = __webpack_require__(3449);
- (BufferWriter.prototype = Object.create(Writer.prototype)).constructor = BufferWriter;
- var util = __webpack_require__(3610);
- function BufferWriter() {
- Writer.call(this);
- }
- function writeStringBuffer(val, buf, pos) {
- val.length < 40 ? util.utf8.write(val, buf, pos) : buf.utf8Write ? buf.utf8Write(val, pos) : buf.write(val, pos);
- }
- BufferWriter._configure = function() {
- BufferWriter.alloc = util._Buffer_allocUnsafe, BufferWriter.writeBytesBuffer = util.Buffer && util.Buffer.prototype instanceof Uint8Array && "set" === util.Buffer.prototype.set.name ? function(val, buf, pos) {
- buf.set(val, pos);
- } : function(val, buf, pos) {
- if (val.copy) val.copy(buf, pos, 0, val.length); else for (var i = 0; i < val.length; ) buf[pos++] = val[i++];
- };
- }, BufferWriter.prototype.bytes = function(value) {
- util.isString(value) && (value = util._Buffer_from(value, "base64"));
- var len = value.length >>> 0;
- return this.uint32(len), len && this._push(BufferWriter.writeBytesBuffer, len, value),
- this;
- }, BufferWriter.prototype.string = function(value) {
- var len = util.Buffer.byteLength(value);
- return this.uint32(len), len && this._push(writeStringBuffer, len, value), this;
- }, BufferWriter._configure();
- },
- 851: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var classof = __webpack_require__(6955), getMethod = __webpack_require__(5966), isNullOrUndefined = __webpack_require__(4117), Iterators = __webpack_require__(6269), ITERATOR = __webpack_require__(8227)("iterator");
- module.exports = function(it) {
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) || getMethod(it, "@@iterator") || Iterators[classof(it)];
- };
- },
- 916: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), NativePromiseConstructor = __webpack_require__(550), isCallable = __webpack_require__(4901), isForced = __webpack_require__(2796), inspectSource = __webpack_require__(3706), wellKnownSymbol = __webpack_require__(8227), ENVIRONMENT = __webpack_require__(4215), IS_PURE = __webpack_require__(6395), V8_VERSION = __webpack_require__(9519), NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype, SPECIES = wellKnownSymbol("species"), SUBCLASSING = !1, NATIVE_PROMISE_REJECTION_EVENT = isCallable(globalThis.PromiseRejectionEvent), FORCED_PROMISE_CONSTRUCTOR = isForced("Promise", (function() {
- var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor), GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);
- if (!GLOBAL_CORE_JS_PROMISE && 66 === V8_VERSION) return !0;
- if (IS_PURE && (!NativePromisePrototype.catch || !NativePromisePrototype.finally)) return !0;
- if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
- var promise = new NativePromiseConstructor((function(resolve) {
- resolve(1);
- })), FakePromise = function(exec) {
- exec((function() {}), (function() {}));
- };
- if ((promise.constructor = {})[SPECIES] = FakePromise, !(SUBCLASSING = promise.then((function() {})) instanceof FakePromise)) return !0;
- }
- return !(GLOBAL_CORE_JS_PROMISE || "BROWSER" !== ENVIRONMENT && "DENO" !== ENVIRONMENT || NATIVE_PROMISE_REJECTION_EVENT);
- }));
- module.exports = {
- CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
- REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
- SUBCLASSING
- };
- },
- 926: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var aCallable = __webpack_require__(9306), toObject = __webpack_require__(8981), IndexedObject = __webpack_require__(7055), lengthOfArrayLike = __webpack_require__(6198), $TypeError = TypeError, REDUCE_EMPTY = "Reduce of empty array with no initial value", createMethod = function(IS_RIGHT) {
- return function(that, callbackfn, argumentsLength, memo) {
- var O = toObject(that), self = IndexedObject(O), length = lengthOfArrayLike(O);
- if (aCallable(callbackfn), 0 === length && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);
- var index = IS_RIGHT ? length - 1 : 0, i = IS_RIGHT ? -1 : 1;
- if (argumentsLength < 2) for (;;) {
- if (index in self) {
- memo = self[index], index += i;
- break;
- }
- if (index += i, IS_RIGHT ? index < 0 : length <= index) throw new $TypeError(REDUCE_EMPTY);
- }
- for (;IS_RIGHT ? index >= 0 : length > index; index += i) index in self && (memo = callbackfn(memo, self[index], index, O));
- return memo;
- };
- };
- module.exports = {
- left: createMethod(!1),
- right: createMethod(!0)
- };
- },
- 1034: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var call = __webpack_require__(9565), hasOwn = __webpack_require__(9297), isPrototypeOf = __webpack_require__(1625), regExpFlags = __webpack_require__(7979), RegExpPrototype = RegExp.prototype;
- module.exports = function(R) {
- var flags = R.flags;
- return void 0 !== flags || "flags" in RegExpPrototype || hasOwn(R, "flags") || !isPrototypeOf(RegExpPrototype, R) ? flags : call(regExpFlags, R);
- };
- },
- 1072: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var internalObjectKeys = __webpack_require__(1828), enumBugKeys = __webpack_require__(8727);
- module.exports = Object.keys || function(O) {
- return internalObjectKeys(O, enumBugKeys);
- };
- },
- 1080: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = function(mtype) {
- for (var ref, gen = util.codegen([ "m", "w" ], mtype.name + "$encode")("if(!w)")("w=Writer.create()"), fields = mtype.fieldsArray.slice().sort(util.compareFieldsById), i = 0; i < fields.length; ++i) {
- var field = fields[i].resolve(), index = mtype._fieldsArray.indexOf(field), type = field.resolvedType instanceof Enum ? "int32" : field.type, wireType = types.basic[type];
- ref = "m" + util.safeProp(field.name), field.map ? (gen("if(%s!=null&&Object.hasOwnProperty.call(m,%j)){", ref, field.name)("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){", ref)("w.uint32(%i).fork().uint32(%i).%s(ks[i])", (field.id << 3 | 2) >>> 0, 8 | types.mapKey[field.keyType], field.keyType),
- void 0 === wireType ? gen("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()", index, ref) : gen(".uint32(%i).%s(%s[ks[i]]).ldelim()", 16 | wireType, type, ref),
- gen("}")("}")) : field.repeated ? (gen("if(%s!=null&&%s.length){", ref, ref), field.packed && void 0 !== types.packed[type] ? gen("w.uint32(%i).fork()", (field.id << 3 | 2) >>> 0)("for(var i=0;i<%s.length;++i)", ref)("w.%s(%s[i])", type, ref)("w.ldelim()") : (gen("for(var i=0;i<%s.length;++i)", ref),
- void 0 === wireType ? genTypePartial(gen, field, index, ref + "[i]") : gen("w.uint32(%i).%s(%s[i])", (field.id << 3 | wireType) >>> 0, type, ref)),
- gen("}")) : (field.optional && gen("if(%s!=null&&Object.hasOwnProperty.call(m,%j))", ref, field.name),
- void 0 === wireType ? genTypePartial(gen, field, index, ref) : gen("w.uint32(%i).%s(%s)", (field.id << 3 | wireType) >>> 0, type, ref));
- }
- return gen("return w");
- };
- var Enum = __webpack_require__(5643), types = __webpack_require__(361), util = __webpack_require__(3262);
- function genTypePartial(gen, field, fieldIndex, ref) {
- return field.resolvedType.group ? gen("types[%i].encode(%s,w.uint32(%i)).uint32(%i)", fieldIndex, ref, (field.id << 3 | 3) >>> 0, (field.id << 3 | 4) >>> 0) : gen("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()", fieldIndex, ref, (field.id << 3 | 2) >>> 0);
- }
- },
- 1088: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), call = __webpack_require__(9565), IS_PURE = __webpack_require__(6395), FunctionName = __webpack_require__(350), isCallable = __webpack_require__(4901), createIteratorConstructor = __webpack_require__(3994), getPrototypeOf = __webpack_require__(2787), setPrototypeOf = __webpack_require__(2967), setToStringTag = __webpack_require__(687), createNonEnumerableProperty = __webpack_require__(6699), defineBuiltIn = __webpack_require__(6840), wellKnownSymbol = __webpack_require__(8227), Iterators = __webpack_require__(6269), IteratorsCore = __webpack_require__(7657), PROPER_FUNCTION_NAME = FunctionName.PROPER, CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE, IteratorPrototype = IteratorsCore.IteratorPrototype, BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS, ITERATOR = wellKnownSymbol("iterator"), returnThis = function() {
- return this;
- };
- module.exports = function(Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
- createIteratorConstructor(IteratorConstructor, NAME, next);
- var CurrentIteratorPrototype, methods, KEY, getIterationMethod = function(KIND) {
- if (KIND === DEFAULT && defaultIterator) return defaultIterator;
- if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
- switch (KIND) {
- case "keys":
- case "values":
- case "entries":
- return function() {
- return new IteratorConstructor(this, KIND);
- };
- }
- return function() {
- return new IteratorConstructor(this);
- };
- }, TO_STRING_TAG = NAME + " Iterator", INCORRECT_VALUES_NAME = !1, IterablePrototype = Iterable.prototype, nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype["@@iterator"] || DEFAULT && IterablePrototype[DEFAULT], defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT), anyNativeIterator = "Array" === NAME && IterablePrototype.entries || nativeIterator;
- if (anyNativeIterator && (CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable))) !== Object.prototype && CurrentIteratorPrototype.next && (IS_PURE || getPrototypeOf(CurrentIteratorPrototype) === IteratorPrototype || (setPrototypeOf ? setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype) : isCallable(CurrentIteratorPrototype[ITERATOR]) || defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis)),
- setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, !0, !0), IS_PURE && (Iterators[TO_STRING_TAG] = returnThis)),
- PROPER_FUNCTION_NAME && "values" === DEFAULT && nativeIterator && "values" !== nativeIterator.name && (!IS_PURE && CONFIGURABLE_FUNCTION_NAME ? createNonEnumerableProperty(IterablePrototype, "name", "values") : (INCORRECT_VALUES_NAME = !0,
- defaultIterator = function() {
- return call(nativeIterator, this);
- })), DEFAULT) if (methods = {
- values: getIterationMethod("values"),
- keys: IS_SET ? defaultIterator : getIterationMethod("keys"),
- entries: getIterationMethod("entries")
- }, FORCED) for (KEY in methods) (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) && defineBuiltIn(IterablePrototype, KEY, methods[KEY]); else $({
- target: NAME,
- proto: !0,
- forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME
- }, methods);
- return IS_PURE && !FORCED || IterablePrototype[ITERATOR] === defaultIterator || defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, {
- name: DEFAULT
- }), Iterators[NAME] = defaultIterator, methods;
- };
- },
- 1103: module => {
- "use strict";
- module.exports = function(exec) {
- try {
- return {
- error: !1,
- value: exec()
- };
- } catch (error) {
- return {
- error: !0,
- value: error
- };
- }
- };
- },
- 1108: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var classof = __webpack_require__(6955);
- module.exports = function(it) {
- var klass = classof(it);
- return "BigInt64Array" === klass || "BigUint64Array" === klass;
- };
- },
- 1181: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var set, get, has, NATIVE_WEAK_MAP = __webpack_require__(8622), globalThis = __webpack_require__(4576), isObject = __webpack_require__(34), createNonEnumerableProperty = __webpack_require__(6699), hasOwn = __webpack_require__(9297), shared = __webpack_require__(7629), sharedKey = __webpack_require__(6119), hiddenKeys = __webpack_require__(421), TypeError = globalThis.TypeError, WeakMap = globalThis.WeakMap;
- if (NATIVE_WEAK_MAP || shared.state) {
- var store = shared.state || (shared.state = new WeakMap);
- store.get = store.get, store.has = store.has, store.set = store.set, set = function(it, metadata) {
- if (store.has(it)) throw new TypeError("Object already initialized");
- return metadata.facade = it, store.set(it, metadata), metadata;
- }, get = function(it) {
- return store.get(it) || {};
- }, has = function(it) {
- return store.has(it);
- };
- } else {
- var STATE = sharedKey("state");
- hiddenKeys[STATE] = !0, set = function(it, metadata) {
- if (hasOwn(it, STATE)) throw new TypeError("Object already initialized");
- return metadata.facade = it, createNonEnumerableProperty(it, STATE, metadata), metadata;
- }, get = function(it) {
- return hasOwn(it, STATE) ? it[STATE] : {};
- }, has = function(it) {
- return hasOwn(it, STATE);
- };
- }
- module.exports = {
- set,
- get,
- has,
- enforce: function(it) {
- return has(it) ? get(it) : set(it, {});
- },
- getterFor: function(TYPE) {
- return function(it) {
- var state;
- if (!isObject(it) || (state = get(it)).type !== TYPE) throw new TypeError("Incompatible receiver, " + TYPE + " required");
- return state;
- };
- }
- };
- },
- 1240: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504);
- module.exports = uncurryThis(1..valueOf);
- },
- 1291: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var trunc = __webpack_require__(741);
- module.exports = function(argument) {
- var number = +argument;
- return number != number || 0 === number ? 0 : trunc(number);
- };
- },
- 1296: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var NATIVE_SYMBOL = __webpack_require__(4495);
- module.exports = NATIVE_SYMBOL && !!Symbol.for && !!Symbol.keyFor;
- },
- 1344: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Field;
- var ReflectionObject = __webpack_require__(7209);
- ((Field.prototype = Object.create(ReflectionObject.prototype)).constructor = Field).className = "Field";
- var Type, Enum = __webpack_require__(5643), types = __webpack_require__(361), util = __webpack_require__(3262), ruleRe = /^required|optional|repeated$/;
- function Field(name, id, type, rule, extend, options, comment) {
- if (util.isObject(rule) ? (comment = extend, options = rule, rule = extend = void 0) : util.isObject(extend) && (comment = options,
- options = extend, extend = void 0), ReflectionObject.call(this, name, options),
- !util.isInteger(id) || id < 0) throw TypeError("id must be a non-negative integer");
- if (!util.isString(type)) throw TypeError("type must be a string");
- if (void 0 !== rule && !ruleRe.test(rule = rule.toString().toLowerCase())) throw TypeError("rule must be a string rule");
- if (void 0 !== extend && !util.isString(extend)) throw TypeError("extend must be a string");
- "proto3_optional" === rule && (rule = "optional"), this.rule = rule && "optional" !== rule ? rule : void 0,
- this.type = type, this.id = id, this.extend = extend || void 0, this.required = "required" === rule,
- this.optional = !this.required, this.repeated = "repeated" === rule, this.map = !1,
- this.message = null, this.partOf = null, this.typeDefault = null, this.defaultValue = null,
- this.long = !!util.Long && void 0 !== types.long[type], this.bytes = "bytes" === type,
- this.resolvedType = null, this.extensionField = null, this.declaringField = null,
- this._packed = null, this.comment = comment;
- }
- Field.fromJSON = function(name, json) {
- return new Field(name, json.id, json.type, json.rule, json.extend, json.options, json.comment);
- }, Object.defineProperty(Field.prototype, "packed", {
- get: function() {
- return null === this._packed && (this._packed = !1 !== this.getOption("packed")),
- this._packed;
- }
- }), Field.prototype.setOption = function(name, value, ifNotSet) {
- return "packed" === name && (this._packed = null), ReflectionObject.prototype.setOption.call(this, name, value, ifNotSet);
- }, Field.prototype.toJSON = function(toJSONOptions) {
- var keepComments = !!toJSONOptions && Boolean(toJSONOptions.keepComments);
- return util.toObject([ "rule", "optional" !== this.rule && this.rule || void 0, "type", this.type, "id", this.id, "extend", this.extend, "options", this.options, "comment", keepComments ? this.comment : void 0 ]);
- }, Field.prototype.resolve = function() {
- if (this.resolved) return this;
- if (void 0 === (this.typeDefault = types.defaults[this.type]) ? (this.resolvedType = (this.declaringField ? this.declaringField.parent : this.parent).lookupTypeOrEnum(this.type),
- this.resolvedType instanceof Type ? 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 Enum && "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 Enum) || delete this.options.packed,
- Object.keys(this.options).length || (this.options = void 0)), this.long) this.typeDefault = util.Long.fromNumber(this.typeDefault, "u" === this.type.charAt(0)),
- Object.freeze && Object.freeze(this.typeDefault); else if (this.bytes && "string" == typeof this.typeDefault) {
- var buf;
- util.base64.test(this.typeDefault) ? util.base64.decode(this.typeDefault, buf = util.newBuffer(util.base64.length(this.typeDefault)), 0) : util.utf8.write(this.typeDefault, buf = util.newBuffer(util.utf8.length(this.typeDefault)), 0),
- this.typeDefault = buf;
- }
- return this.map ? this.defaultValue = util.emptyObject : this.repeated ? this.defaultValue = util.emptyArray : this.defaultValue = this.typeDefault,
- this.parent instanceof Type && (this.parent.ctor.prototype[this.name] = this.defaultValue),
- ReflectionObject.prototype.resolve.call(this);
- }, Field.d = function(fieldId, fieldType, fieldRule, defaultValue) {
- return "function" == typeof fieldType ? fieldType = util.decorateType(fieldType).name : fieldType && "object" == typeof fieldType && (fieldType = util.decorateEnum(fieldType).name),
- function(prototype, fieldName) {
- util.decorateType(prototype.constructor).add(new Field(fieldName, fieldId, fieldType, fieldRule, {
- "default": defaultValue
- }));
- };
- }, Field._configure = function(Type_) {
- Type = Type_;
- };
- },
- 1405: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), apply = __webpack_require__(8745), ArrayBufferViewCore = __webpack_require__(4644), fails = __webpack_require__(9039), arraySlice = __webpack_require__(7680), Int8Array = globalThis.Int8Array, aTypedArray = ArrayBufferViewCore.aTypedArray, exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod, $toLocaleString = [].toLocaleString, TO_LOCALE_STRING_BUG = !!Int8Array && fails((function() {
- $toLocaleString.call(new Int8Array(1));
- }));
- exportTypedArrayMethod("toLocaleString", (function() {
- return apply($toLocaleString, TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this), arraySlice(arguments));
- }), fails((function() {
- return [ 1, 2 ].toLocaleString() !== new Int8Array([ 1, 2 ]).toLocaleString();
- })) || !fails((function() {
- Int8Array.prototype.toLocaleString.call([ 1, 2 ]);
- })));
- },
- 1415: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- __webpack_require__(2405);
- },
- 1447: (__unused_webpack_module, exports) => {
- "use strict";
- var utf8 = exports;
- utf8.length = function(string) {
- for (var len = 0, c = 0, i = 0; i < string.length; ++i) (c = string.charCodeAt(i)) < 128 ? len += 1 : c < 2048 ? len += 2 : 55296 == (64512 & c) && 56320 == (64512 & string.charCodeAt(i + 1)) ? (++i,
- len += 4) : len += 3;
- return len;
- }, utf8.read = function(buffer, start, end) {
- if (end - start < 1) return "";
- for (var t, parts = null, chunk = [], i = 0; start < end; ) (t = buffer[start++]) < 128 ? chunk[i++] = t : t > 191 && t < 224 ? chunk[i++] = (31 & t) << 6 | 63 & buffer[start++] : t > 239 && t < 365 ? (t = ((7 & t) << 18 | (63 & buffer[start++]) << 12 | (63 & buffer[start++]) << 6 | 63 & buffer[start++]) - 65536,
- chunk[i++] = 55296 + (t >> 10), chunk[i++] = 56320 + (1023 & t)) : chunk[i++] = (15 & t) << 12 | (63 & buffer[start++]) << 6 | 63 & buffer[start++],
- i > 8191 && ((parts || (parts = [])).push(String.fromCharCode.apply(String, chunk)),
- i = 0);
- return parts ? (i && parts.push(String.fromCharCode.apply(String, chunk.slice(0, i))),
- parts.join("")) : String.fromCharCode.apply(String, chunk.slice(0, i));
- }, utf8.write = function(string, buffer, offset) {
- for (var c1, c2, start = offset, i = 0; i < string.length; ++i) (c1 = string.charCodeAt(i)) < 128 ? buffer[offset++] = c1 : c1 < 2048 ? (buffer[offset++] = c1 >> 6 | 192,
- buffer[offset++] = 63 & c1 | 128) : 55296 == (64512 & c1) && 56320 == (64512 & (c2 = string.charCodeAt(i + 1))) ? (c1 = 65536 + ((1023 & c1) << 10) + (1023 & c2),
- ++i, buffer[offset++] = c1 >> 18 | 240, buffer[offset++] = c1 >> 12 & 63 | 128,
- buffer[offset++] = c1 >> 6 & 63 | 128, buffer[offset++] = 63 & c1 | 128) : (buffer[offset++] = c1 >> 12 | 224,
- buffer[offset++] = c1 >> 6 & 63 | 128, buffer[offset++] = 63 & c1 | 128);
- return offset - start;
- };
- },
- 1457: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = OneOf;
- var ReflectionObject = __webpack_require__(7209);
- ((OneOf.prototype = Object.create(ReflectionObject.prototype)).constructor = OneOf).className = "OneOf";
- var Field = __webpack_require__(1344), util = __webpack_require__(3262);
- function OneOf(name, fieldNames, options, comment) {
- if (Array.isArray(fieldNames) || (options = fieldNames, fieldNames = void 0), ReflectionObject.call(this, name, options),
- void 0 !== fieldNames && !Array.isArray(fieldNames)) throw TypeError("fieldNames must be an Array");
- this.oneof = fieldNames || [], this.fieldsArray = [], this.comment = comment;
- }
- function addFieldsToParent(oneof) {
- if (oneof.parent) for (var i = 0; i < oneof.fieldsArray.length; ++i) oneof.fieldsArray[i].parent || oneof.parent.add(oneof.fieldsArray[i]);
- }
- OneOf.fromJSON = function(name, json) {
- return new OneOf(name, json.oneof, json.options, json.comment);
- }, OneOf.prototype.toJSON = function(toJSONOptions) {
- var keepComments = !!toJSONOptions && Boolean(toJSONOptions.keepComments);
- return util.toObject([ "options", this.options, "oneof", this.oneof, "comment", keepComments ? this.comment : void 0 ]);
- }, OneOf.prototype.add = function(field) {
- if (!(field instanceof Field)) throw TypeError("field must be a Field");
- return field.parent && field.parent !== this.parent && field.parent.remove(field),
- this.oneof.push(field.name), this.fieldsArray.push(field), field.partOf = this,
- addFieldsToParent(this), this;
- }, OneOf.prototype.remove = function(field) {
- if (!(field instanceof Field)) throw TypeError("field must be a Field");
- var index = this.fieldsArray.indexOf(field);
- if (index < 0) throw Error(field + " is not a member of " + this);
- return this.fieldsArray.splice(index, 1), (index = this.oneof.indexOf(field.name)) > -1 && this.oneof.splice(index, 1),
- field.partOf = null, this;
- }, OneOf.prototype.onAdd = function(parent) {
- ReflectionObject.prototype.onAdd.call(this, parent);
- for (var i = 0; i < this.oneof.length; ++i) {
- var field = parent.get(this.oneof[i]);
- field && !field.partOf && (field.partOf = this, this.fieldsArray.push(field));
- }
- addFieldsToParent(this);
- }, OneOf.prototype.onRemove = function(parent) {
- for (var field, i = 0; i < this.fieldsArray.length; ++i) (field = this.fieldsArray[i]).parent && field.parent.remove(field);
- ReflectionObject.prototype.onRemove.call(this, parent);
- }, OneOf.d = function() {
- for (var fieldNames = new Array(arguments.length), index = 0; index < arguments.length; ) fieldNames[index] = arguments[index++];
- return function(prototype, oneofName) {
- util.decorateType(prototype.constructor).add(new OneOf(oneofName, fieldNames)),
- Object.defineProperty(prototype, oneofName, {
- get: util.oneOfGetter(fieldNames),
- set: util.oneOfSetter(fieldNames)
- });
- };
- };
- },
- 1469: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var arraySpeciesConstructor = __webpack_require__(7433);
- module.exports = function(originalArray, length) {
- return new (arraySpeciesConstructor(originalArray))(0 === length ? 0 : length);
- };
- },
- 1481: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), newPromiseCapabilityModule = __webpack_require__(6043);
- $({
- target: "Promise",
- stat: !0,
- forced: __webpack_require__(916).CONSTRUCTOR
- }, {
- reject: function(r) {
- var capability = newPromiseCapabilityModule.f(this);
- return (0, capability.reject)(r), capability.promise;
- }
- });
- },
- 1489: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- __webpack_require__(5823)("Uint8", (function(init) {
- return function(data, byteOffset, length) {
- return init(this, data, byteOffset, length);
- };
- }));
- },
- 1510: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), getBuiltIn = __webpack_require__(7751), hasOwn = __webpack_require__(9297), toString = __webpack_require__(655), shared = __webpack_require__(5745), NATIVE_SYMBOL_REGISTRY = __webpack_require__(1296), StringToSymbolRegistry = shared("string-to-symbol-registry"), SymbolToStringRegistry = shared("symbol-to-string-registry");
- $({
- target: "Symbol",
- stat: !0,
- forced: !NATIVE_SYMBOL_REGISTRY
- }, {
- "for": function(key) {
- var string = toString(key);
- if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
- var symbol = getBuiltIn("Symbol")(string);
- return StringToSymbolRegistry[string] = symbol, SymbolToStringRegistry[symbol] = string,
- symbol;
- }
- });
- },
- 1575: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $reduce = __webpack_require__(926).left, aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("reduce", (function(callbackfn) {
- var length = arguments.length;
- return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : void 0);
- }));
- },
- 1625: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504);
- module.exports = uncurryThis({}.isPrototypeOf);
- },
- 1630: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), ArrayBufferViewCore = __webpack_require__(4644), u$ArrayCopyWithin = uncurryThis(__webpack_require__(7029)), aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("copyWithin", (function(target, start) {
- return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : void 0);
- }));
- },
- 1694: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $find = __webpack_require__(9213).find, aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("find", (function(predicate) {
- return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : void 0);
- }));
- },
- 1745: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), uncurryThis = __webpack_require__(7476), fails = __webpack_require__(9039), ArrayBufferModule = __webpack_require__(6346), anObject = __webpack_require__(8551), toAbsoluteIndex = __webpack_require__(5610), toLength = __webpack_require__(8014), ArrayBuffer = ArrayBufferModule.ArrayBuffer, DataView = ArrayBufferModule.DataView, DataViewPrototype = DataView.prototype, nativeArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice), getUint8 = uncurryThis(DataViewPrototype.getUint8), setUint8 = uncurryThis(DataViewPrototype.setUint8);
- $({
- target: "ArrayBuffer",
- proto: !0,
- unsafe: !0,
- forced: fails((function() {
- return !new ArrayBuffer(2).slice(1, void 0).byteLength;
- }))
- }, {
- slice: function(start, end) {
- if (nativeArrayBufferSlice && void 0 === end) return nativeArrayBufferSlice(anObject(this), start);
- for (var length = anObject(this).byteLength, first = toAbsoluteIndex(start, length), fin = toAbsoluteIndex(void 0 === end ? length : end, length), result = new ArrayBuffer(toLength(fin - first)), viewSource = new DataView(this), viewTarget = new DataView(result), index = 0; first < fin; ) setUint8(viewTarget, index++, getUint8(viewSource, first++));
- return result;
- }
- });
- },
- 1761: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var call = __webpack_require__(9565), fixRegExpWellKnownSymbolLogic = __webpack_require__(9228), anObject = __webpack_require__(8551), isNullOrUndefined = __webpack_require__(4117), toLength = __webpack_require__(8014), toString = __webpack_require__(655), requireObjectCoercible = __webpack_require__(7750), getMethod = __webpack_require__(5966), advanceStringIndex = __webpack_require__(7829), regExpExec = __webpack_require__(6682);
- fixRegExpWellKnownSymbolLogic("match", (function(MATCH, nativeMatch, maybeCallNative) {
- return [ function(regexp) {
- var O = requireObjectCoercible(this), matcher = isNullOrUndefined(regexp) ? void 0 : getMethod(regexp, MATCH);
- return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));
- }, function(string) {
- var rx = anObject(this), S = toString(string), res = maybeCallNative(nativeMatch, rx, S);
- if (res.done) return res.value;
- if (!rx.global) return regExpExec(rx, S);
- var fullUnicode = rx.unicode;
- rx.lastIndex = 0;
- for (var result, A = [], n = 0; null !== (result = regExpExec(rx, S)); ) {
- var matchStr = toString(result[0]);
- A[n] = matchStr, "" === matchStr && (rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode)),
- n++;
- }
- return 0 === n ? null : A;
- } ];
- }));
- },
- 1828: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), hasOwn = __webpack_require__(9297), toIndexedObject = __webpack_require__(5397), indexOf = __webpack_require__(9617).indexOf, hiddenKeys = __webpack_require__(421), push = uncurryThis([].push);
- module.exports = function(object, names) {
- var key, O = toIndexedObject(object), i = 0, result = [];
- for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
- for (;names.length > i; ) hasOwn(O, key = names[i++]) && (~indexOf(result, key) || push(result, key));
- return result;
- };
- },
- 1920: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $filter = __webpack_require__(9213).filter, fromSameTypeAndList = __webpack_require__(9948), aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("filter", (function(callbackfn) {
- var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0);
- return fromSameTypeAndList(this, list);
- }));
- },
- 1951: (__unused_webpack_module, exports, __webpack_require__) => {
- "use strict";
- var wellKnownSymbol = __webpack_require__(8227);
- exports.f = wellKnownSymbol;
- },
- 1955: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var notify, toggle, node, promise, then, globalThis = __webpack_require__(4576), safeGetBuiltIn = __webpack_require__(3389), bind = __webpack_require__(6080), macrotask = __webpack_require__(9225).set, Queue = __webpack_require__(8265), IS_IOS = __webpack_require__(9544), IS_IOS_PEBBLE = __webpack_require__(4265), IS_WEBOS_WEBKIT = __webpack_require__(7860), IS_NODE = __webpack_require__(6193), MutationObserver = globalThis.MutationObserver || globalThis.WebKitMutationObserver, document = globalThis.document, process = globalThis.process, Promise = globalThis.Promise, microtask = safeGetBuiltIn("queueMicrotask");
- if (!microtask) {
- var queue = new Queue, flush = function() {
- var parent, fn;
- for (IS_NODE && (parent = process.domain) && parent.exit(); fn = queue.get(); ) try {
- fn();
- } catch (error) {
- throw queue.head && notify(), error;
- }
- parent && parent.enter();
- };
- IS_IOS || IS_NODE || IS_WEBOS_WEBKIT || !MutationObserver || !document ? !IS_IOS_PEBBLE && Promise && Promise.resolve ? ((promise = Promise.resolve(void 0)).constructor = Promise,
- then = bind(promise.then, promise), notify = function() {
- then(flush);
- }) : IS_NODE ? notify = function() {
- process.nextTick(flush);
- } : (macrotask = bind(macrotask, globalThis), notify = function() {
- macrotask(flush);
- }) : (toggle = !0, node = document.createTextNode(""), new MutationObserver(flush).observe(node, {
- characterData: !0
- }), notify = function() {
- node.data = toggle = !toggle;
- }), microtask = function(fn) {
- queue.head || notify(), queue.add(fn);
- };
- }
- module.exports = microtask;
- },
- 2003: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), IS_PURE = __webpack_require__(6395), FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(916).CONSTRUCTOR, NativePromiseConstructor = __webpack_require__(550), getBuiltIn = __webpack_require__(7751), isCallable = __webpack_require__(4901), defineBuiltIn = __webpack_require__(6840), NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
- if ($({
- target: "Promise",
- proto: !0,
- forced: FORCED_PROMISE_CONSTRUCTOR,
- real: !0
- }, {
- "catch": function(onRejected) {
- return this.then(void 0, onRejected);
- }
- }), !IS_PURE && isCallable(NativePromiseConstructor)) {
- var method = getBuiltIn("Promise").prototype.catch;
- NativePromisePrototype.catch !== method && defineBuiltIn(NativePromisePrototype, "catch", method, {
- unsafe: !0
- });
- }
- },
- 2008: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), $filter = __webpack_require__(9213).filter;
- $({
- target: "Array",
- proto: !0,
- forced: !__webpack_require__(597)("filter")
- }, {
- filter: function(callbackfn) {
- return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
- }
- });
- },
- 2010: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), FUNCTION_NAME_EXISTS = __webpack_require__(350).EXISTS, uncurryThis = __webpack_require__(9504), defineBuiltInAccessor = __webpack_require__(2106), FunctionPrototype = Function.prototype, functionToString = uncurryThis(FunctionPrototype.toString), nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/, regExpExec = uncurryThis(nameRE.exec);
- DESCRIPTORS && !FUNCTION_NAME_EXISTS && defineBuiltInAccessor(FunctionPrototype, "name", {
- configurable: !0,
- get: function() {
- try {
- return regExpExec(nameRE, functionToString(this))[1];
- } catch (error) {
- return "";
- }
- }
- });
- },
- 2087: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isObject = __webpack_require__(34), floor = Math.floor;
- module.exports = Number.isInteger || function(it) {
- return !isObject(it) && isFinite(it) && floor(it) === it;
- };
- },
- 2106: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var makeBuiltIn = __webpack_require__(283), defineProperty = __webpack_require__(4913);
- module.exports = function(target, name, descriptor) {
- return descriptor.get && makeBuiltIn(descriptor.get, name, {
- getter: !0
- }), descriptor.set && makeBuiltIn(descriptor.set, name, {
- setter: !0
- }), defineProperty.f(target, name, descriptor);
- };
- },
- 2140: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var test = {};
- test[__webpack_require__(8227)("toStringTag")] = "z", module.exports = "[object z]" === String(test);
- },
- 2170: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $every = __webpack_require__(9213).every, aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("every", (function(callbackfn) {
- return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0);
- }));
- },
- 2195: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), toString = uncurryThis({}.toString), stringSlice = uncurryThis("".slice);
- module.exports = function(it) {
- return stringSlice(toString(it), 8, -1);
- };
- },
- 2211: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039);
- module.exports = !fails((function() {
- function F() {}
- return F.prototype.constructor = null, Object.getPrototypeOf(new F) !== F.prototype;
- }));
- },
- 2239: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = LongBits;
- var util = __webpack_require__(3610);
- function LongBits(lo, hi) {
- this.lo = lo >>> 0, this.hi = hi >>> 0;
- }
- var zero = LongBits.zero = new LongBits(0, 0);
- zero.toNumber = function() {
- return 0;
- }, zero.zzEncode = zero.zzDecode = function() {
- return this;
- }, zero.length = function() {
- return 1;
- };
- var zeroHash = LongBits.zeroHash = "\0\0\0\0\0\0\0\0";
- LongBits.fromNumber = function(value) {
- if (0 === value) return zero;
- var sign = value < 0;
- sign && (value = -value);
- var lo = value >>> 0, hi = (value - lo) / 4294967296 >>> 0;
- return sign && (hi = ~hi >>> 0, lo = ~lo >>> 0, ++lo > 4294967295 && (lo = 0, ++hi > 4294967295 && (hi = 0))),
- new LongBits(lo, hi);
- }, LongBits.from = function(value) {
- if ("number" == typeof value) return LongBits.fromNumber(value);
- if (util.isString(value)) {
- if (!util.Long) return LongBits.fromNumber(parseInt(value, 10));
- value = util.Long.fromString(value);
- }
- return value.low || value.high ? new LongBits(value.low >>> 0, value.high >>> 0) : zero;
- }, LongBits.prototype.toNumber = function(unsigned) {
- if (!unsigned && this.hi >>> 31) {
- var lo = 1 + ~this.lo >>> 0, hi = ~this.hi >>> 0;
- return lo || (hi = hi + 1 >>> 0), -(lo + 4294967296 * hi);
- }
- return this.lo + 4294967296 * this.hi;
- }, LongBits.prototype.toLong = function(unsigned) {
- return util.Long ? new util.Long(0 | this.lo, 0 | this.hi, Boolean(unsigned)) : {
- low: 0 | this.lo,
- high: 0 | this.hi,
- unsigned: Boolean(unsigned)
- };
- };
- var charCodeAt = String.prototype.charCodeAt;
- LongBits.fromHash = function(hash) {
- return hash === zeroHash ? zero : new LongBits((charCodeAt.call(hash, 0) | charCodeAt.call(hash, 1) << 8 | charCodeAt.call(hash, 2) << 16 | charCodeAt.call(hash, 3) << 24) >>> 0, (charCodeAt.call(hash, 4) | charCodeAt.call(hash, 5) << 8 | charCodeAt.call(hash, 6) << 16 | charCodeAt.call(hash, 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 mask = this.hi >> 31;
- return this.hi = ((this.hi << 1 | this.lo >>> 31) ^ mask) >>> 0, this.lo = (this.lo << 1 ^ mask) >>> 0,
- this;
- }, LongBits.prototype.zzDecode = function() {
- var mask = -(1 & this.lo);
- return this.lo = ((this.lo >>> 1 | this.hi << 31) ^ mask) >>> 0, this.hi = (this.hi >>> 1 ^ mask) >>> 0,
- this;
- }, LongBits.prototype.length = function() {
- var part0 = this.lo, part1 = (this.lo >>> 28 | this.hi << 4) >>> 0, part2 = this.hi >>> 24;
- return 0 === part2 ? 0 === part1 ? part0 < 16384 ? part0 < 128 ? 1 : 2 : part0 < 2097152 ? 3 : 4 : part1 < 16384 ? part1 < 128 ? 5 : 6 : part1 < 2097152 ? 7 : 8 : part2 < 128 ? 9 : 10;
- };
- },
- 2259: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- __webpack_require__(511)("iterator");
- },
- 2293: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var anObject = __webpack_require__(8551), aConstructor = __webpack_require__(5548), isNullOrUndefined = __webpack_require__(4117), SPECIES = __webpack_require__(8227)("species");
- module.exports = function(O, defaultConstructor) {
- var S, C = anObject(O).constructor;
- return void 0 === C || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);
- };
- },
- 2333: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toIntegerOrInfinity = __webpack_require__(1291), toString = __webpack_require__(655), requireObjectCoercible = __webpack_require__(7750), $RangeError = RangeError;
- module.exports = function(count) {
- var str = toString(requireObjectCoercible(this)), result = "", n = toIntegerOrInfinity(count);
- if (n < 0 || n === 1 / 0) throw new $RangeError("Wrong number of repetitions");
- for (;n > 0; (n >>>= 1) && (str += str)) 1 & n && (result += str);
- return result;
- };
- },
- 2357: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), fails = __webpack_require__(9039), uncurryThis = __webpack_require__(9504), objectGetPrototypeOf = __webpack_require__(2787), objectKeys = __webpack_require__(1072), toIndexedObject = __webpack_require__(5397), propertyIsEnumerable = uncurryThis(__webpack_require__(8773).f), push = uncurryThis([].push), IE_BUG = DESCRIPTORS && fails((function() {
- var O = Object.create(null);
- return O[2] = 2, !propertyIsEnumerable(O, 2);
- })), createMethod = function(TO_ENTRIES) {
- return function(it) {
- for (var key, O = toIndexedObject(it), keys = objectKeys(O), IE_WORKAROUND = IE_BUG && null === objectGetPrototypeOf(O), length = keys.length, i = 0, result = []; length > i; ) key = keys[i++],
- DESCRIPTORS && !(IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key)) || push(result, TO_ENTRIES ? [ key, O[key] ] : O[key]);
- return result;
- };
- };
- module.exports = {
- entries: createMethod(!0),
- values: createMethod(!1)
- };
- },
- 2360: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var activeXDocument, anObject = __webpack_require__(8551), definePropertiesModule = __webpack_require__(6801), enumBugKeys = __webpack_require__(8727), hiddenKeys = __webpack_require__(421), html = __webpack_require__(397), documentCreateElement = __webpack_require__(4055), IE_PROTO = __webpack_require__(6119)("IE_PROTO"), EmptyConstructor = function() {}, scriptTag = function(content) {
- return "<script>" + content + "<\/script>";
- }, NullProtoObjectViaActiveX = function(activeXDocument) {
- activeXDocument.write(scriptTag("")), activeXDocument.close();
- var temp = activeXDocument.parentWindow.Object;
- return activeXDocument = null, temp;
- }, NullProtoObject = function() {
- try {
- activeXDocument = new ActiveXObject("htmlfile");
- } catch (error) {}
- var iframeDocument, iframe;
- NullProtoObject = "undefined" != typeof document ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : ((iframe = documentCreateElement("iframe")).style.display = "none",
- html.appendChild(iframe), iframe.src = String("javascript:"), (iframeDocument = iframe.contentWindow.document).open(),
- iframeDocument.write(scriptTag("document.F=Object")), iframeDocument.close(), iframeDocument.F) : NullProtoObjectViaActiveX(activeXDocument);
- for (var length = enumBugKeys.length; length--; ) delete NullProtoObject.prototype[enumBugKeys[length]];
- return NullProtoObject();
- };
- hiddenKeys[IE_PROTO] = !0, module.exports = Object.create || function(O, Properties) {
- var result;
- return null !== O ? (EmptyConstructor.prototype = anObject(O), result = new EmptyConstructor,
- EmptyConstructor.prototype = null, result[IE_PROTO] = O) : result = NullProtoObject(),
- void 0 === Properties ? result : definePropertiesModule.f(result, Properties);
- };
- },
- 2405: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- __webpack_require__(6468)("Set", (function(init) {
- return function() {
- return init(this, arguments.length ? arguments[0] : void 0);
- };
- }), __webpack_require__(6938));
- },
- 2529: module => {
- "use strict";
- module.exports = function(value, done) {
- return {
- value,
- done
- };
- };
- },
- 2549: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = __webpack_require__(9100);
- },
- 2551: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Message;
- var util = __webpack_require__(3610);
- function Message(properties) {
- if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) this[keys[i]] = properties[keys[i]];
- }
- Message.create = function(properties) {
- return this.$type.create(properties);
- }, Message.encode = function(message, writer) {
- return this.$type.encode(message, writer);
- }, Message.encodeDelimited = function(message, writer) {
- return this.$type.encodeDelimited(message, writer);
- }, Message.decode = function(reader) {
- return this.$type.decode(reader);
- }, Message.decodeDelimited = function(reader) {
- return this.$type.decodeDelimited(reader);
- }, Message.verify = function(message) {
- return this.$type.verify(message);
- }, Message.fromObject = function(object) {
- return this.$type.fromObject(object);
- }, Message.toObject = function(message, options) {
- return this.$type.toObject(message, options);
- }, Message.prototype.toJSON = function() {
- return this.$type.toObject(this, util.toJSONOptions);
- };
- },
- 2652: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var bind = __webpack_require__(6080), call = __webpack_require__(9565), anObject = __webpack_require__(8551), tryToString = __webpack_require__(6823), isArrayIteratorMethod = __webpack_require__(4209), lengthOfArrayLike = __webpack_require__(6198), isPrototypeOf = __webpack_require__(1625), getIterator = __webpack_require__(81), getIteratorMethod = __webpack_require__(851), iteratorClose = __webpack_require__(9539), $TypeError = TypeError, Result = function(stopped, result) {
- this.stopped = stopped, this.result = result;
- }, ResultPrototype = Result.prototype;
- module.exports = function(iterable, unboundFunction, options) {
- var iterator, iterFn, index, length, result, next, step, that = options && options.that, AS_ENTRIES = !(!options || !options.AS_ENTRIES), IS_RECORD = !(!options || !options.IS_RECORD), IS_ITERATOR = !(!options || !options.IS_ITERATOR), INTERRUPTED = !(!options || !options.INTERRUPTED), fn = bind(unboundFunction, that), stop = function(condition) {
- return iterator && iteratorClose(iterator, "normal", condition), new Result(!0, condition);
- }, callFn = function(value) {
- return AS_ENTRIES ? (anObject(value), INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1])) : INTERRUPTED ? fn(value, stop) : fn(value);
- };
- if (IS_RECORD) iterator = iterable.iterator; else if (IS_ITERATOR) iterator = iterable; else {
- if (!(iterFn = getIteratorMethod(iterable))) throw new $TypeError(tryToString(iterable) + " is not iterable");
- if (isArrayIteratorMethod(iterFn)) {
- for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) if ((result = callFn(iterable[index])) && isPrototypeOf(ResultPrototype, result)) return result;
- return new Result(!1);
- }
- iterator = getIterator(iterable, iterFn);
- }
- for (next = IS_RECORD ? iterable.next : iterator.next; !(step = call(next, iterator)).done; ) {
- try {
- result = callFn(step.value);
- } catch (error) {
- iteratorClose(iterator, "throw", error);
- }
- if ("object" == typeof result && result && isPrototypeOf(ResultPrototype, result)) return result;
- }
- return new Result(!1);
- };
- },
- 2675: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- __webpack_require__(6761), __webpack_require__(1510), __webpack_require__(7812),
- __webpack_require__(3110), __webpack_require__(9773);
- },
- 2703: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), fails = __webpack_require__(9039), uncurryThis = __webpack_require__(9504), toString = __webpack_require__(655), trim = __webpack_require__(3802).trim, whitespaces = __webpack_require__(7452), $parseInt = globalThis.parseInt, Symbol = globalThis.Symbol, ITERATOR = Symbol && Symbol.iterator, hex = /^[+-]?0x/i, exec = uncurryThis(hex.exec), FORCED = 8 !== $parseInt(whitespaces + "08") || 22 !== $parseInt(whitespaces + "0x16") || ITERATOR && !fails((function() {
- $parseInt(Object(ITERATOR));
- }));
- module.exports = FORCED ? function(string, radix) {
- var S = trim(toString(string));
- return $parseInt(S, radix >>> 0 || (exec(hex, S) ? 16 : 10));
- } : $parseInt;
- },
- 2744: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039);
- module.exports = !fails((function() {
- return Object.isExtensible(Object.preventExtensions({}));
- }));
- },
- 2777: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var call = __webpack_require__(9565), isObject = __webpack_require__(34), isSymbol = __webpack_require__(757), getMethod = __webpack_require__(5966), ordinaryToPrimitive = __webpack_require__(4270), wellKnownSymbol = __webpack_require__(8227), $TypeError = TypeError, TO_PRIMITIVE = wellKnownSymbol("toPrimitive");
- module.exports = function(input, pref) {
- if (!isObject(input) || isSymbol(input)) return input;
- var result, exoticToPrim = getMethod(input, TO_PRIMITIVE);
- if (exoticToPrim) {
- if (void 0 === pref && (pref = "default"), result = call(exoticToPrim, input, pref),
- !isObject(result) || isSymbol(result)) return result;
- throw new $TypeError("Can't convert object to primitive value");
- }
- return void 0 === pref && (pref = "number"), ordinaryToPrimitive(input, pref);
- };
- },
- 2787: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var hasOwn = __webpack_require__(9297), isCallable = __webpack_require__(4901), toObject = __webpack_require__(8981), sharedKey = __webpack_require__(6119), CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211), IE_PROTO = sharedKey("IE_PROTO"), $Object = Object, ObjectPrototype = $Object.prototype;
- module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) {
- var object = toObject(O);
- if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
- var constructor = object.constructor;
- return isCallable(constructor) && object instanceof constructor ? constructor.prototype : object instanceof $Object ? ObjectPrototype : null;
- };
- },
- 2796: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039), isCallable = __webpack_require__(4901), replacement = /#|\.prototype\./, isForced = function(feature, detection) {
- var value = data[normalize(feature)];
- return value === POLYFILL || value !== NATIVE && (isCallable(detection) ? fails(detection) : !!detection);
- }, normalize = isForced.normalize = function(string) {
- return String(string).replace(replacement, ".").toLowerCase();
- }, data = isForced.data = {}, NATIVE = isForced.NATIVE = "N", POLYFILL = isForced.POLYFILL = "P";
- module.exports = isForced;
- },
- 2805: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), fails = __webpack_require__(9039), checkCorrectnessOfIteration = __webpack_require__(4428), NATIVE_ARRAY_BUFFER_VIEWS = __webpack_require__(4644).NATIVE_ARRAY_BUFFER_VIEWS, ArrayBuffer = globalThis.ArrayBuffer, Int8Array = globalThis.Int8Array;
- module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails((function() {
- Int8Array(1);
- })) || !fails((function() {
- new Int8Array(-1);
- })) || !checkCorrectnessOfIteration((function(iterable) {
- new Int8Array, new Int8Array(null), new Int8Array(1.5), new Int8Array(iterable);
- }), !0) || fails((function() {
- return 1 !== new Int8Array(new ArrayBuffer(2), 1, void 0).length;
- }));
- },
- 2812: module => {
- "use strict";
- var $TypeError = TypeError;
- module.exports = function(passed, required) {
- if (passed < required) throw new $TypeError("Not enough arguments");
- return passed;
- };
- },
- 2839: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var navigator = __webpack_require__(4576).navigator, userAgent = navigator && navigator.userAgent;
- module.exports = userAgent ? String(userAgent) : "";
- },
- 2887: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), fails = __webpack_require__(9039), uncurryThis = __webpack_require__(9504), ArrayBufferViewCore = __webpack_require__(4644), ArrayIterators = __webpack_require__(3792), ITERATOR = __webpack_require__(8227)("iterator"), Uint8Array = globalThis.Uint8Array, arrayValues = uncurryThis(ArrayIterators.values), arrayKeys = uncurryThis(ArrayIterators.keys), arrayEntries = uncurryThis(ArrayIterators.entries), aTypedArray = ArrayBufferViewCore.aTypedArray, exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod, TypedArrayPrototype = Uint8Array && Uint8Array.prototype, GENERIC = !fails((function() {
- TypedArrayPrototype[ITERATOR].call([ 1 ]);
- })), ITERATOR_IS_VALUES = !!TypedArrayPrototype && TypedArrayPrototype.values && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values && "values" === TypedArrayPrototype.values.name, typedArrayValues = function() {
- return arrayValues(aTypedArray(this));
- };
- exportTypedArrayMethod("entries", (function() {
- return arrayEntries(aTypedArray(this));
- }), GENERIC), exportTypedArrayMethod("keys", (function() {
- return arrayKeys(aTypedArray(this));
- }), GENERIC), exportTypedArrayMethod("values", typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, {
- name: "values"
- }), exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, {
- name: "values"
- });
- },
- 2953: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), DOMIterables = __webpack_require__(7400), DOMTokenListPrototype = __webpack_require__(9296), ArrayIteratorMethods = __webpack_require__(3792), createNonEnumerableProperty = __webpack_require__(6699), setToStringTag = __webpack_require__(687), ITERATOR = __webpack_require__(8227)("iterator"), ArrayValues = ArrayIteratorMethods.values, handlePrototype = function(CollectionPrototype, COLLECTION_NAME) {
- if (CollectionPrototype) {
- if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
- createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
- } catch (error) {
- CollectionPrototype[ITERATOR] = ArrayValues;
- }
- if (setToStringTag(CollectionPrototype, COLLECTION_NAME, !0), DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
- createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
- } catch (error) {
- CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
- }
- }
- };
- for (var COLLECTION_NAME in DOMIterables) handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype, COLLECTION_NAME);
- handlePrototype(DOMTokenListPrototype, "DOMTokenList");
- },
- 2967: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThisAccessor = __webpack_require__(6706), isObject = __webpack_require__(34), requireObjectCoercible = __webpack_require__(7750), aPossiblePrototype = __webpack_require__(3506);
- module.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() {
- var setter, CORRECT_SETTER = !1, test = {};
- try {
- (setter = uncurryThisAccessor(Object.prototype, "__proto__", "set"))(test, []),
- CORRECT_SETTER = test instanceof Array;
- } catch (error) {}
- return function(O, proto) {
- return requireObjectCoercible(O), aPossiblePrototype(proto), isObject(O) ? (CORRECT_SETTER ? setter(O, proto) : O.__proto__ = proto,
- O) : O;
- };
- }() : void 0);
- },
- 3110: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), getBuiltIn = __webpack_require__(7751), apply = __webpack_require__(8745), call = __webpack_require__(9565), uncurryThis = __webpack_require__(9504), fails = __webpack_require__(9039), isCallable = __webpack_require__(4901), isSymbol = __webpack_require__(757), arraySlice = __webpack_require__(7680), getReplacerFunction = __webpack_require__(6933), NATIVE_SYMBOL = __webpack_require__(4495), $String = String, $stringify = getBuiltIn("JSON", "stringify"), exec = uncurryThis(/./.exec), charAt = uncurryThis("".charAt), charCodeAt = uncurryThis("".charCodeAt), replace = uncurryThis("".replace), numberToString = uncurryThis(1..toString), tester = /[\uD800-\uDFFF]/g, low = /^[\uD800-\uDBFF]$/, hi = /^[\uDC00-\uDFFF]$/, WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails((function() {
- var symbol = getBuiltIn("Symbol")("stringify detection");
- return "[null]" !== $stringify([ symbol ]) || "{}" !== $stringify({
- a: symbol
- }) || "{}" !== $stringify(Object(symbol));
- })), ILL_FORMED_UNICODE = fails((function() {
- return '"\\udf06\\ud834"' !== $stringify("\udf06\ud834") || '"\\udead"' !== $stringify("\udead");
- })), stringifyWithSymbolsFix = function(it, replacer) {
- var args = arraySlice(arguments), $replacer = getReplacerFunction(replacer);
- if (isCallable($replacer) || void 0 !== it && !isSymbol(it)) return args[1] = function(key, value) {
- if (isCallable($replacer) && (value = call($replacer, this, $String(key), value)),
- !isSymbol(value)) return value;
- }, apply($stringify, null, args);
- }, fixIllFormed = function(match, offset, string) {
- var prev = charAt(string, offset - 1), next = charAt(string, offset + 1);
- return exec(low, match) && !exec(hi, next) || exec(hi, match) && !exec(low, prev) ? "\\u" + numberToString(charCodeAt(match, 0), 16) : match;
- };
- $stringify && $({
- target: "JSON",
- stat: !0,
- arity: 3,
- forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE
- }, {
- stringify: function(it, replacer, space) {
- var args = arraySlice(arguments), result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
- return ILL_FORMED_UNICODE && "string" == typeof result ? replace(result, tester, fixIllFormed) : result;
- }
- });
- },
- 3138: module => {
- "use strict";
- module.exports = function(a, b) {};
- },
- 3158: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = BufferReader;
- var Reader = __webpack_require__(6237);
- (BufferReader.prototype = Object.create(Reader.prototype)).constructor = BufferReader;
- var util = __webpack_require__(3610);
- function BufferReader(buffer) {
- Reader.call(this, buffer);
- }
- BufferReader._configure = function() {
- util.Buffer && (BufferReader.prototype._slice = util.Buffer.prototype.slice);
- }, BufferReader.prototype.string = function() {
- var len = this.uint32();
- return this.buf.utf8Slice ? this.buf.utf8Slice(this.pos, this.pos = Math.min(this.pos + len, this.len)) : this.buf.toString("utf-8", this.pos, this.pos = Math.min(this.pos + len, this.len));
- }, BufferReader._configure();
- },
- 3164: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var sign = __webpack_require__(7782), roundTiesToEven = __webpack_require__(3602), abs = Math.abs;
- module.exports = function(x, FLOAT_EPSILON, FLOAT_MAX_VALUE, FLOAT_MIN_VALUE) {
- var n = +x, absolute = abs(n), s = sign(n);
- if (absolute < FLOAT_MIN_VALUE) return s * roundTiesToEven(absolute / FLOAT_MIN_VALUE / FLOAT_EPSILON) * FLOAT_MIN_VALUE * FLOAT_EPSILON;
- var a = (1 + FLOAT_EPSILON / 2220446049250313e-31) * absolute, result = a - (a - absolute);
- return result > FLOAT_MAX_VALUE || result != result ? s * (1 / 0) : s * result;
- };
- },
- 3167: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isCallable = __webpack_require__(4901), isObject = __webpack_require__(34), setPrototypeOf = __webpack_require__(2967);
- module.exports = function($this, dummy, Wrapper) {
- var NewTarget, NewTargetPrototype;
- return setPrototypeOf && isCallable(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype && setPrototypeOf($this, NewTargetPrototype),
- $this;
- };
- },
- 3179: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var TO_STRING_TAG_SUPPORT = __webpack_require__(2140), classof = __webpack_require__(6955);
- module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function() {
- return "[object " + classof(this) + "]";
- };
- },
- 3206: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $forEach = __webpack_require__(9213).forEach, aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("forEach", (function(callbackfn) {
- $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0);
- }));
- },
- 3251: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var bind = __webpack_require__(6080), call = __webpack_require__(9565), aConstructor = __webpack_require__(5548), toObject = __webpack_require__(8981), lengthOfArrayLike = __webpack_require__(6198), getIterator = __webpack_require__(81), getIteratorMethod = __webpack_require__(851), isArrayIteratorMethod = __webpack_require__(4209), isBigIntArray = __webpack_require__(1108), aTypedArrayConstructor = __webpack_require__(4644).aTypedArrayConstructor, toBigInt = __webpack_require__(5854);
- module.exports = function(source) {
- var i, length, result, thisIsBigIntArray, value, step, iterator, next, C = aConstructor(this), O = toObject(source), argumentsLength = arguments.length, mapfn = argumentsLength > 1 ? arguments[1] : void 0, mapping = void 0 !== mapfn, iteratorMethod = getIteratorMethod(O);
- if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) for (next = (iterator = getIterator(O, iteratorMethod)).next,
- O = []; !(step = call(next, iterator)).done; ) O.push(step.value);
- for (mapping && argumentsLength > 2 && (mapfn = bind(mapfn, arguments[2])), length = lengthOfArrayLike(O),
- result = new (aTypedArrayConstructor(C))(length), thisIsBigIntArray = isBigIntArray(result),
- i = 0; length > i; i++) value = mapping ? mapfn(O[i], i) : O[i], result[i] = thisIsBigIntArray ? toBigInt(value) : +value;
- return result;
- };
- },
- 3262: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var Type, Enum, util = module.exports = __webpack_require__(3610), roots = __webpack_require__(4529);
- util.codegen = __webpack_require__(8561), util.fetch = __webpack_require__(5212),
- util.path = __webpack_require__(9207), util.fs = util.inquire("fs"), util.toArray = function(object) {
- if (object) {
- for (var keys = Object.keys(object), array = new Array(keys.length), index = 0; index < keys.length; ) array[index] = object[keys[index++]];
- return array;
- }
- return [];
- }, util.toObject = function(array) {
- for (var object = {}, index = 0; index < array.length; ) {
- var key = array[index++], val = array[index++];
- void 0 !== val && (object[key] = val);
- }
- return object;
- };
- var safePropBackslashRe = /\\/g, safePropQuoteRe = /"/g;
- util.isReserved = function(name) {
- 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(name);
- }, util.safeProp = function(prop) {
- return !/^[$\w_]+$/.test(prop) || util.isReserved(prop) ? '["' + prop.replace(safePropBackslashRe, "\\\\").replace(safePropQuoteRe, '\\"') + '"]' : "." + prop;
- }, util.ucFirst = function(str) {
- return str.charAt(0).toUpperCase() + str.substring(1);
- };
- var camelCaseRe = /_([a-z])/g;
- util.camelCase = function(str) {
- return str.substring(0, 1) + str.substring(1).replace(camelCaseRe, (function($0, $1) {
- return $1.toUpperCase();
- }));
- }, util.compareFieldsById = function(a, b) {
- return a.id - b.id;
- }, util.decorateType = function(ctor, typeName) {
- if (ctor.$type) return typeName && ctor.$type.name !== typeName && (util.decorateRoot.remove(ctor.$type),
- ctor.$type.name = typeName, util.decorateRoot.add(ctor.$type)), ctor.$type;
- Type || (Type = __webpack_require__(7882));
- var type = new Type(typeName || ctor.name);
- return util.decorateRoot.add(type), type.ctor = ctor, Object.defineProperty(ctor, "$type", {
- value: type,
- enumerable: !1
- }), Object.defineProperty(ctor.prototype, "$type", {
- value: type,
- enumerable: !1
- }), type;
- };
- var decorateEnumIndex = 0;
- util.decorateEnum = function(object) {
- if (object.$type) return object.$type;
- Enum || (Enum = __webpack_require__(5643));
- var enm = new Enum("Enum" + decorateEnumIndex++, object);
- return util.decorateRoot.add(enm), Object.defineProperty(object, "$type", {
- value: enm,
- enumerable: !1
- }), enm;
- }, util.setProperty = function(dst, path, value) {
- if ("object" != typeof dst) throw TypeError("dst must be an object");
- if (!path) throw TypeError("path must be specified");
- return function setProp(dst, path, value) {
- var part = path.shift();
- if ("__proto__" === part || "prototype" === part) return dst;
- if (path.length > 0) dst[part] = setProp(dst[part] || {}, path, value); else {
- var prevValue = dst[part];
- prevValue && (value = [].concat(prevValue).concat(value)), dst[part] = value;
- }
- return dst;
- }(dst, path = path.split("."), value);
- }, Object.defineProperty(util, "decorateRoot", {
- get: function() {
- return roots.decorated || (roots.decorated = new (__webpack_require__(5330)));
- }
- });
- },
- 3362: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- __webpack_require__(436), __webpack_require__(6499), __webpack_require__(2003),
- __webpack_require__(7743), __webpack_require__(1481), __webpack_require__(280);
- },
- 3389: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), DESCRIPTORS = __webpack_require__(3724), getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
- module.exports = function(name) {
- if (!DESCRIPTORS) return globalThis[name];
- var descriptor = getOwnPropertyDescriptor(globalThis, name);
- return descriptor && descriptor.value;
- };
- },
- 3392: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), id = 0, postfix = Math.random(), toString = uncurryThis(1..toString);
- module.exports = function(key) {
- return "Symbol(" + (void 0 === key ? "" : key) + ")_" + toString(++id + postfix, 36);
- };
- },
- 3418: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), from = __webpack_require__(7916);
- $({
- target: "Array",
- stat: !0,
- forced: !__webpack_require__(4428)((function(iterable) {
- Array.from(iterable);
- }))
- }, {
- from
- });
- },
- 3438: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var anObject = __webpack_require__(8551), isObject = __webpack_require__(34), newPromiseCapability = __webpack_require__(6043);
- module.exports = function(C, x) {
- if (anObject(C), isObject(x) && x.constructor === C) return x;
- var promiseCapability = newPromiseCapability.f(C);
- return (0, promiseCapability.resolve)(x), promiseCapability.promise;
- };
- },
- 3449: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Writer;
- var BufferWriter, util = __webpack_require__(3610), LongBits = util.LongBits, base64 = util.base64, utf8 = util.utf8;
- function Op(fn, len, val) {
- this.fn = fn, this.len = len, this.next = void 0, this.val = val;
- }
- function noop() {}
- function State(writer) {
- this.head = writer.head, this.tail = writer.tail, this.len = writer.len, this.next = writer.states;
- }
- function Writer() {
- this.len = 0, this.head = new Op(noop, 0, 0), this.tail = this.head, this.states = null;
- }
- var create = function() {
- return util.Buffer ? function() {
- return (Writer.create = function() {
- return new BufferWriter;
- })();
- } : function() {
- return new Writer;
- };
- };
- function writeByte(val, buf, pos) {
- buf[pos] = 255 & val;
- }
- function VarintOp(len, val) {
- this.len = len, this.next = void 0, this.val = val;
- }
- function writeVarint64(val, buf, pos) {
- for (;val.hi; ) buf[pos++] = 127 & val.lo | 128, val.lo = (val.lo >>> 7 | val.hi << 25) >>> 0,
- val.hi >>>= 7;
- for (;val.lo > 127; ) buf[pos++] = 127 & val.lo | 128, val.lo = val.lo >>> 7;
- buf[pos++] = val.lo;
- }
- function writeFixed32(val, buf, pos) {
- buf[pos] = 255 & val, buf[pos + 1] = val >>> 8 & 255, buf[pos + 2] = val >>> 16 & 255,
- buf[pos + 3] = val >>> 24;
- }
- Writer.create = create(), Writer.alloc = function(size) {
- return new util.Array(size);
- }, util.Array !== Array && (Writer.alloc = util.pool(Writer.alloc, util.Array.prototype.subarray)),
- Writer.prototype._push = function(fn, len, val) {
- return this.tail = this.tail.next = new Op(fn, len, val), this.len += len, this;
- }, VarintOp.prototype = Object.create(Op.prototype), VarintOp.prototype.fn = function(val, buf, pos) {
- for (;val > 127; ) buf[pos++] = 127 & val | 128, val >>>= 7;
- buf[pos] = val;
- }, Writer.prototype.uint32 = function(value) {
- return this.len += (this.tail = this.tail.next = new VarintOp((value >>>= 0) < 128 ? 1 : value < 16384 ? 2 : value < 2097152 ? 3 : value < 268435456 ? 4 : 5, value)).len,
- this;
- }, Writer.prototype.int32 = function(value) {
- return value < 0 ? this._push(writeVarint64, 10, LongBits.fromNumber(value)) : this.uint32(value);
- }, Writer.prototype.sint32 = function(value) {
- return this.uint32((value << 1 ^ value >> 31) >>> 0);
- }, Writer.prototype.uint64 = function(value) {
- var bits = LongBits.from(value);
- return this._push(writeVarint64, bits.length(), bits);
- }, Writer.prototype.int64 = Writer.prototype.uint64, Writer.prototype.sint64 = function(value) {
- var bits = LongBits.from(value).zzEncode();
- return this._push(writeVarint64, bits.length(), bits);
- }, Writer.prototype.bool = function(value) {
- return this._push(writeByte, 1, value ? 1 : 0);
- }, Writer.prototype.fixed32 = function(value) {
- return this._push(writeFixed32, 4, value >>> 0);
- }, Writer.prototype.sfixed32 = Writer.prototype.fixed32, Writer.prototype.fixed64 = function(value) {
- var bits = LongBits.from(value);
- return this._push(writeFixed32, 4, bits.lo)._push(writeFixed32, 4, bits.hi);
- }, Writer.prototype.sfixed64 = Writer.prototype.fixed64, Writer.prototype.float = function(value) {
- return this._push(util.float.writeFloatLE, 4, value);
- }, Writer.prototype.double = function(value) {
- return this._push(util.float.writeDoubleLE, 8, value);
- };
- var writeBytes = util.Array.prototype.set ? function(val, buf, pos) {
- buf.set(val, pos);
- } : function(val, buf, pos) {
- for (var i = 0; i < val.length; ++i) buf[pos + i] = val[i];
- };
- Writer.prototype.bytes = function(value) {
- var len = value.length >>> 0;
- if (!len) return this._push(writeByte, 1, 0);
- if (util.isString(value)) {
- var buf = Writer.alloc(len = base64.length(value));
- base64.decode(value, buf, 0), value = buf;
- }
- return this.uint32(len)._push(writeBytes, len, value);
- }, Writer.prototype.string = function(value) {
- var len = utf8.length(value);
- return len ? this.uint32(len)._push(utf8.write, len, value) : 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 head = this.head, tail = this.tail, len = this.len;
- return this.reset().uint32(len), len && (this.tail.next = head.next, this.tail = tail,
- this.len += len), this;
- }, Writer.prototype.finish = function() {
- for (var head = this.head.next, buf = this.constructor.alloc(this.len), pos = 0; head; ) head.fn(head.val, buf, pos),
- pos += head.len, head = head.next;
- return buf;
- }, Writer._configure = function(BufferWriter_) {
- BufferWriter = BufferWriter_, Writer.create = create(), BufferWriter._configure();
- };
- },
- 3451: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), uncurryThis = __webpack_require__(9504), hiddenKeys = __webpack_require__(421), isObject = __webpack_require__(34), hasOwn = __webpack_require__(9297), defineProperty = __webpack_require__(4913).f, getOwnPropertyNamesModule = __webpack_require__(8480), getOwnPropertyNamesExternalModule = __webpack_require__(298), isExtensible = __webpack_require__(4124), uid = __webpack_require__(3392), FREEZING = __webpack_require__(2744), REQUIRED = !1, METADATA = uid("meta"), id = 0, setMetadata = function(it) {
- defineProperty(it, METADATA, {
- value: {
- objectID: "O" + id++,
- weakData: {}
- }
- });
- }, meta = module.exports = {
- enable: function() {
- meta.enable = function() {}, REQUIRED = !0;
- var getOwnPropertyNames = getOwnPropertyNamesModule.f, splice = uncurryThis([].splice), test = {};
- test[METADATA] = 1, getOwnPropertyNames(test).length && (getOwnPropertyNamesModule.f = function(it) {
- for (var result = getOwnPropertyNames(it), i = 0, length = result.length; i < length; i++) if (result[i] === METADATA) {
- splice(result, i, 1);
- break;
- }
- return result;
- }, $({
- target: "Object",
- stat: !0,
- forced: !0
- }, {
- getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
- }));
- },
- fastKey: function(it, create) {
- if (!isObject(it)) return "symbol" == typeof it ? it : ("string" == typeof it ? "S" : "P") + it;
- if (!hasOwn(it, METADATA)) {
- if (!isExtensible(it)) return "F";
- if (!create) return "E";
- setMetadata(it);
- }
- return it[METADATA].objectID;
- },
- getWeakData: function(it, create) {
- if (!hasOwn(it, METADATA)) {
- if (!isExtensible(it)) return !0;
- if (!create) return !1;
- setMetadata(it);
- }
- return it[METADATA].weakData;
- },
- onFreeze: function(it) {
- return FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA) && setMetadata(it),
- it;
- }
- };
- hiddenKeys[METADATA] = !0;
- },
- 3500: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), DOMIterables = __webpack_require__(7400), DOMTokenListPrototype = __webpack_require__(9296), forEach = __webpack_require__(235), createNonEnumerableProperty = __webpack_require__(6699), handlePrototype = function(CollectionPrototype) {
- if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
- createNonEnumerableProperty(CollectionPrototype, "forEach", forEach);
- } catch (error) {
- CollectionPrototype.forEach = forEach;
- }
- };
- for (var COLLECTION_NAME in DOMIterables) DOMIterables[COLLECTION_NAME] && handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype);
- handlePrototype(DOMTokenListPrototype);
- },
- 3506: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isPossiblePrototype = __webpack_require__(3925), $String = String, $TypeError = TypeError;
- module.exports = function(argument) {
- if (isPossiblePrototype(argument)) return argument;
- throw new $TypeError("Can't set " + $String(argument) + " as a prototype");
- };
- },
- 3514: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- __webpack_require__(6469)("flat");
- },
- 3517: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), fails = __webpack_require__(9039), isCallable = __webpack_require__(4901), classof = __webpack_require__(6955), getBuiltIn = __webpack_require__(7751), inspectSource = __webpack_require__(3706), noop = function() {}, construct = getBuiltIn("Reflect", "construct"), constructorRegExp = /^\s*(?:class|function)\b/, exec = uncurryThis(constructorRegExp.exec), INCORRECT_TO_STRING = !constructorRegExp.test(noop), isConstructorModern = function(argument) {
- if (!isCallable(argument)) return !1;
- try {
- return construct(noop, [], argument), !0;
- } catch (error) {
- return !1;
- }
- }, isConstructorLegacy = function(argument) {
- if (!isCallable(argument)) return !1;
- switch (classof(argument)) {
- case "AsyncFunction":
- case "GeneratorFunction":
- case "AsyncGeneratorFunction":
- return !1;
- }
- try {
- return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
- } catch (error) {
- return !0;
- }
- };
- isConstructorLegacy.sham = !0, module.exports = !construct || fails((function() {
- var called;
- return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern((function() {
- called = !0;
- })) || called;
- })) ? isConstructorLegacy : isConstructorModern;
- },
- 3602: module => {
- "use strict";
- module.exports = function(n) {
- return n + 4503599627370496 - 4503599627370496;
- };
- },
- 3607: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var webkit = __webpack_require__(2839).match(/AppleWebKit\/(\d+)\./);
- module.exports = !!webkit && +webkit[1];
- },
- 3610: function(__unused_webpack_module, exports, __webpack_require__) {
- "use strict";
- var util = exports;
- function merge(dst, src, ifNotSet) {
- for (var keys = Object.keys(src), i = 0; i < keys.length; ++i) void 0 !== dst[keys[i]] && ifNotSet || (dst[keys[i]] = src[keys[i]]);
- return dst;
- }
- function newError(name) {
- function CustomError(message, properties) {
- if (!(this instanceof CustomError)) return new CustomError(message, properties);
- Object.defineProperty(this, "message", {
- get: function() {
- return message;
- }
- }), Error.captureStackTrace ? Error.captureStackTrace(this, CustomError) : Object.defineProperty(this, "stack", {
- value: (new Error).stack || ""
- }), properties && merge(this, properties);
- }
- return CustomError.prototype = Object.create(Error.prototype, {
- constructor: {
- value: CustomError,
- writable: !0,
- enumerable: !1,
- configurable: !0
- },
- name: {
- get: function() {
- return name;
- },
- set: void 0,
- enumerable: !1,
- configurable: !0
- },
- toString: {
- value: function() {
- return this.name + ": " + this.message;
- },
- writable: !0,
- enumerable: !1,
- configurable: !0
- }
- }), CustomError;
- }
- util.asPromise = __webpack_require__(8045), util.base64 = __webpack_require__(8839),
- util.EventEmitter = __webpack_require__(4358), util.float = __webpack_require__(9410),
- util.inquire = __webpack_require__(4153), util.utf8 = __webpack_require__(1447),
- util.pool = __webpack_require__(9390), util.LongBits = __webpack_require__(2239),
- util.isNode = Boolean(void 0 !== __webpack_require__.g && __webpack_require__.g && __webpack_require__.g.process && __webpack_require__.g.process.versions && __webpack_require__.g.process.versions.node),
- util.global = util.isNode && __webpack_require__.g || "undefined" != typeof window && window || "undefined" != typeof self && self || this,
- util.emptyArray = Object.freeze ? Object.freeze([]) : [], util.emptyObject = Object.freeze ? Object.freeze({}) : {},
- util.isInteger = Number.isInteger || function(value) {
- return "number" == typeof value && isFinite(value) && Math.floor(value) === value;
- }, util.isString = function(value) {
- return "string" == typeof value || value instanceof String;
- }, util.isObject = function(value) {
- return value && "object" == typeof value;
- }, util.isset = util.isSet = function(obj, prop) {
- var value = obj[prop];
- return !(null == value || !obj.hasOwnProperty(prop)) && ("object" != typeof value || (Array.isArray(value) ? value.length : Object.keys(value).length) > 0);
- }, util.Buffer = function() {
- try {
- var Buffer = util.inquire("buffer").Buffer;
- return Buffer.prototype.utf8Write ? Buffer : null;
- } catch (e) {
- return null;
- }
- }(), util._Buffer_from = null, util._Buffer_allocUnsafe = null, util.newBuffer = function(sizeOrArray) {
- return "number" == typeof sizeOrArray ? util.Buffer ? util._Buffer_allocUnsafe(sizeOrArray) : new util.Array(sizeOrArray) : util.Buffer ? util._Buffer_from(sizeOrArray) : "undefined" == typeof Uint8Array ? sizeOrArray : new Uint8Array(sizeOrArray);
- }, util.Array = "undefined" != typeof Uint8Array ? Uint8Array : Array, util.Long = util.global.dcodeIO && util.global.dcodeIO.Long || util.global.Long || util.inquire("long"),
- util.key2Re = /^true|false|0|1$/, util.key32Re = /^-?(?:0|[1-9][0-9]*)$/, util.key64Re = /^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,
- util.longToHash = function(value) {
- return value ? util.LongBits.from(value).toHash() : util.LongBits.zeroHash;
- }, util.longFromHash = function(hash, unsigned) {
- var bits = util.LongBits.fromHash(hash);
- return util.Long ? util.Long.fromBits(bits.lo, bits.hi, unsigned) : bits.toNumber(Boolean(unsigned));
- }, util.merge = merge, util.lcFirst = function(str) {
- return str.charAt(0).toLowerCase() + str.substring(1);
- }, util.newError = newError, util.ProtocolError = newError("ProtocolError"), util.oneOfGetter = function(fieldNames) {
- for (var fieldMap = {}, i = 0; i < fieldNames.length; ++i) fieldMap[fieldNames[i]] = 1;
- return function() {
- for (var keys = Object.keys(this), i = keys.length - 1; i > -1; --i) if (1 === fieldMap[keys[i]] && void 0 !== this[keys[i]] && null !== this[keys[i]]) return keys[i];
- };
- }, util.oneOfSetter = function(fieldNames) {
- return function(name) {
- for (var i = 0; i < fieldNames.length; ++i) fieldNames[i] !== name && delete this[fieldNames[i]];
- };
- }, util.toJSONOptions = {
- longs: String,
- enums: String,
- bytes: String,
- json: !0
- }, util._configure = function() {
- var Buffer = util.Buffer;
- Buffer ? (util._Buffer_from = Buffer.from !== Uint8Array.from && Buffer.from || function(value, encoding) {
- return new Buffer(value, encoding);
- }, util._Buffer_allocUnsafe = Buffer.allocUnsafe || function(size) {
- return new Buffer(size);
- }) : util._Buffer_from = util._Buffer_allocUnsafe = null;
- };
- },
- 3635: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039), $RegExp = __webpack_require__(4576).RegExp;
- module.exports = fails((function() {
- var re = $RegExp(".", "s");
- return !(re.dotAll && re.test("\n") && "s" === re.flags);
- }));
- },
- 3684: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var exportTypedArrayMethod = __webpack_require__(4644).exportTypedArrayMethod, fails = __webpack_require__(9039), globalThis = __webpack_require__(4576), uncurryThis = __webpack_require__(9504), Uint8Array = globalThis.Uint8Array, Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {}, arrayToString = [].toString, join = uncurryThis([].join);
- fails((function() {
- arrayToString.call({});
- })) && (arrayToString = function() {
- return join(this);
- });
- var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString !== arrayToString;
- exportTypedArrayMethod("toString", arrayToString, IS_NOT_ARRAY_METHOD);
- },
- 3706: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), isCallable = __webpack_require__(4901), store = __webpack_require__(7629), functionToString = uncurryThis(Function.toString);
- isCallable(store.inspectSource) || (store.inspectSource = function(it) {
- return functionToString(it);
- }), module.exports = store.inspectSource;
- },
- 3709: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var firefox = __webpack_require__(2839).match(/firefox\/(\d+)/i);
- module.exports = !!firefox && +firefox[1];
- },
- 3717: (__unused_webpack_module, exports) => {
- "use strict";
- exports.f = Object.getOwnPropertySymbols;
- },
- 3724: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039);
- module.exports = !fails((function() {
- return 7 !== Object.defineProperty({}, 1, {
- get: function() {
- return 7;
- }
- })[1];
- }));
- },
- 3738: module => {
- function _typeof(o) {
- return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
- return typeof o;
- } : function(o) {
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
- }, module.exports.__esModule = !0, module.exports.default = module.exports, _typeof(o);
- }
- module.exports = _typeof, module.exports.__esModule = !0, module.exports.default = module.exports;
- },
- 3763: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var UA = __webpack_require__(2839);
- module.exports = /MSIE|Trident/.test(UA);
- },
- 3771: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), fill = __webpack_require__(4373), addToUnscopables = __webpack_require__(6469);
- $({
- target: "Array",
- proto: !0
- }, {
- fill
- }), addToUnscopables("fill");
- },
- 3792: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toIndexedObject = __webpack_require__(5397), addToUnscopables = __webpack_require__(6469), Iterators = __webpack_require__(6269), InternalStateModule = __webpack_require__(1181), defineProperty = __webpack_require__(4913).f, defineIterator = __webpack_require__(1088), createIterResultObject = __webpack_require__(2529), IS_PURE = __webpack_require__(6395), DESCRIPTORS = __webpack_require__(3724), setInternalState = InternalStateModule.set, getInternalState = InternalStateModule.getterFor("Array Iterator");
- module.exports = defineIterator(Array, "Array", (function(iterated, kind) {
- setInternalState(this, {
- type: "Array Iterator",
- target: toIndexedObject(iterated),
- index: 0,
- kind
- });
- }), (function() {
- var state = getInternalState(this), target = state.target, index = state.index++;
- if (!target || index >= target.length) return state.target = null, createIterResultObject(void 0, !0);
- switch (state.kind) {
- case "keys":
- return createIterResultObject(index, !1);
-
- case "values":
- return createIterResultObject(target[index], !1);
- }
- return createIterResultObject([ index, target[index] ], !1);
- }), "values");
- var values = Iterators.Arguments = Iterators.Array;
- if (addToUnscopables("keys"), addToUnscopables("values"), addToUnscopables("entries"),
- !IS_PURE && DESCRIPTORS && "values" !== values.name) try {
- defineProperty(values, "name", {
- value: "values"
- });
- } catch (error) {}
- },
- 3802: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), requireObjectCoercible = __webpack_require__(7750), toString = __webpack_require__(655), whitespaces = __webpack_require__(7452), replace = uncurryThis("".replace), ltrim = RegExp("^[" + whitespaces + "]+"), rtrim = RegExp("(^|[^" + whitespaces + "])[" + whitespaces + "]+$"), createMethod = function(TYPE) {
- return function($this) {
- var string = toString(requireObjectCoercible($this));
- return 1 & TYPE && (string = replace(string, ltrim, "")), 2 & TYPE && (string = replace(string, rtrim, "$1")),
- string;
- };
- };
- module.exports = {
- start: createMethod(1),
- end: createMethod(2),
- trim: createMethod(3)
- };
- },
- 3904: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), fails = __webpack_require__(9039), uncurryThis = __webpack_require__(9504), toString = __webpack_require__(655), trim = __webpack_require__(3802).trim, whitespaces = __webpack_require__(7452), charAt = uncurryThis("".charAt), $parseFloat = globalThis.parseFloat, Symbol = globalThis.Symbol, ITERATOR = Symbol && Symbol.iterator, FORCED = 1 / $parseFloat(whitespaces + "-0") != -1 / 0 || ITERATOR && !fails((function() {
- $parseFloat(Object(ITERATOR));
- }));
- module.exports = FORCED ? function(string) {
- var trimmedString = trim(toString(string)), result = $parseFloat(trimmedString);
- return 0 === result && "-" === charAt(trimmedString, 0) ? -0 : result;
- } : $parseFloat;
- },
- 3925: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isObject = __webpack_require__(34);
- module.exports = function(argument) {
- return isObject(argument) || null === argument;
- };
- },
- 3994: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var IteratorPrototype = __webpack_require__(7657).IteratorPrototype, create = __webpack_require__(2360), createPropertyDescriptor = __webpack_require__(6980), setToStringTag = __webpack_require__(687), Iterators = __webpack_require__(6269), returnThis = function() {
- return this;
- };
- module.exports = function(IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
- var TO_STRING_TAG = NAME + " Iterator";
- return IteratorConstructor.prototype = create(IteratorPrototype, {
- next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next)
- }), setToStringTag(IteratorConstructor, TO_STRING_TAG, !1, !0), Iterators[TO_STRING_TAG] = returnThis,
- IteratorConstructor;
- };
- },
- 4055: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), isObject = __webpack_require__(34), document = globalThis.document, EXISTS = isObject(document) && isObject(document.createElement);
- module.exports = function(it) {
- return EXISTS ? document.createElement(it) : {};
- };
- },
- 4117: module => {
- "use strict";
- module.exports = function(it) {
- return null == it;
- };
- },
- 4124: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039), isObject = __webpack_require__(34), classof = __webpack_require__(2195), ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(5652), $isExtensible = Object.isExtensible, FAILS_ON_PRIMITIVES = fails((function() {
- $isExtensible(1);
- }));
- module.exports = FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE ? function(it) {
- return !!isObject(it) && (!ARRAY_BUFFER_NON_EXTENSIBLE || "ArrayBuffer" !== classof(it)) && (!$isExtensible || $isExtensible(it));
- } : $isExtensible;
- },
- 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 (e) {}
- return null;
- }
- module.exports = inquire;
- },
- 4209: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var wellKnownSymbol = __webpack_require__(8227), Iterators = __webpack_require__(6269), ITERATOR = wellKnownSymbol("iterator"), ArrayPrototype = Array.prototype;
- module.exports = function(it) {
- return void 0 !== it && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
- };
- },
- 4213: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), uncurryThis = __webpack_require__(9504), call = __webpack_require__(9565), fails = __webpack_require__(9039), objectKeys = __webpack_require__(1072), getOwnPropertySymbolsModule = __webpack_require__(3717), propertyIsEnumerableModule = __webpack_require__(8773), toObject = __webpack_require__(8981), IndexedObject = __webpack_require__(7055), $assign = Object.assign, defineProperty = Object.defineProperty, concat = uncurryThis([].concat);
- module.exports = !$assign || fails((function() {
- if (DESCRIPTORS && 1 !== $assign({
- b: 1
- }, $assign(defineProperty({}, "a", {
- enumerable: !0,
- get: function() {
- defineProperty(this, "b", {
- value: 3,
- enumerable: !1
- });
- }
- }), {
- b: 2
- })).b) return !0;
- var A = {}, B = {}, symbol = Symbol("assign detection");
- return A[symbol] = 7, "abcdefghijklmnopqrst".split("").forEach((function(chr) {
- B[chr] = chr;
- })), 7 !== $assign({}, A)[symbol] || "abcdefghijklmnopqrst" !== objectKeys($assign({}, B)).join("");
- })) ? function(target, source) {
- for (var T = toObject(target), argumentsLength = arguments.length, index = 1, getOwnPropertySymbols = getOwnPropertySymbolsModule.f, propertyIsEnumerable = propertyIsEnumerableModule.f; argumentsLength > index; ) for (var key, S = IndexedObject(arguments[index++]), keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S), length = keys.length, j = 0; length > j; ) key = keys[j++],
- DESCRIPTORS && !call(propertyIsEnumerable, S, key) || (T[key] = S[key]);
- return T;
- } : $assign;
- },
- 4215: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), userAgent = __webpack_require__(2839), classof = __webpack_require__(2195), userAgentStartsWith = function(string) {
- return userAgent.slice(0, string.length) === string;
- };
- module.exports = userAgentStartsWith("Bun/") ? "BUN" : userAgentStartsWith("Cloudflare-Workers") ? "CLOUDFLARE" : userAgentStartsWith("Deno/") ? "DENO" : userAgentStartsWith("Node.js/") ? "NODE" : globalThis.Bun && "string" == typeof Bun.version ? "BUN" : globalThis.Deno && "object" == typeof Deno.version ? "DENO" : "process" === classof(globalThis.process) ? "NODE" : globalThis.window && globalThis.document ? "BROWSER" : "REST";
- },
- 4265: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var userAgent = __webpack_require__(2839);
- module.exports = /ipad|iphone|ipod/i.test(userAgent) && "undefined" != typeof Pebble;
- },
- 4270: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var call = __webpack_require__(9565), isCallable = __webpack_require__(4901), isObject = __webpack_require__(34), $TypeError = TypeError;
- module.exports = function(input, pref) {
- var fn, val;
- if ("string" === pref && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
- if ("string" !== pref && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- throw new $TypeError("Can't convert object to primitive value");
- };
- },
- 4358: module => {
- "use strict";
- function EventEmitter() {
- this._listeners = {};
- }
- module.exports = EventEmitter, EventEmitter.prototype.on = function(evt, fn, ctx) {
- return (this._listeners[evt] || (this._listeners[evt] = [])).push({
- fn,
- ctx: ctx || this
- }), this;
- }, EventEmitter.prototype.off = function(evt, fn) {
- if (void 0 === evt) this._listeners = {}; else if (void 0 === fn) this._listeners[evt] = []; else for (var listeners = this._listeners[evt], i = 0; i < listeners.length; ) listeners[i].fn === fn ? listeners.splice(i, 1) : ++i;
- return this;
- }, EventEmitter.prototype.emit = function(evt) {
- var listeners = this._listeners[evt];
- if (listeners) {
- for (var args = [], i = 1; i < arguments.length; ) args.push(arguments[i++]);
- for (i = 0; i < listeners.length; ) listeners[i].fn.apply(listeners[i++].ctx, args);
- }
- return this;
- };
- },
- 4373: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toObject = __webpack_require__(8981), toAbsoluteIndex = __webpack_require__(5610), lengthOfArrayLike = __webpack_require__(6198);
- module.exports = function(value) {
- for (var O = toObject(this), length = lengthOfArrayLike(O), argumentsLength = arguments.length, index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : void 0, length), end = argumentsLength > 2 ? arguments[2] : void 0, endPos = void 0 === end ? length : toAbsoluteIndex(end, length); endPos > index; ) O[index++] = value;
- return O;
- };
- },
- 4376: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var classof = __webpack_require__(2195);
- module.exports = Array.isArray || function(argument) {
- return "Array" === classof(argument);
- };
- },
- 4394: (__unused_webpack_module, exports, __webpack_require__) => {
- "use strict";
- var protobuf = exports;
- function configure() {
- protobuf.util._configure(), protobuf.Writer._configure(protobuf.BufferWriter), protobuf.Reader._configure(protobuf.BufferReader);
- }
- protobuf.build = "minimal", protobuf.Writer = __webpack_require__(3449), protobuf.BufferWriter = __webpack_require__(818),
- protobuf.Reader = __webpack_require__(6237), protobuf.BufferReader = __webpack_require__(3158),
- protobuf.util = __webpack_require__(3610), protobuf.rpc = __webpack_require__(5047),
- protobuf.roots = __webpack_require__(4529), protobuf.configure = configure, configure();
- },
- 4428: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ITERATOR = __webpack_require__(8227)("iterator"), SAFE_CLOSING = !1;
- try {
- var called = 0, iteratorWithReturn = {
- next: function() {
- return {
- done: !!called++
- };
- },
- "return": function() {
- SAFE_CLOSING = !0;
- }
- };
- iteratorWithReturn[ITERATOR] = function() {
- return this;
- }, Array.from(iteratorWithReturn, (function() {
- throw 2;
- }));
- } catch (error) {}
- module.exports = function(exec, SKIP_CLOSING) {
- try {
- if (!SKIP_CLOSING && !SAFE_CLOSING) return !1;
- } catch (error) {
- return !1;
- }
- var ITERATION_SUPPORT = !1;
- try {
- var object = {};
- object[ITERATOR] = function() {
- return {
- next: function() {
- return {
- done: ITERATION_SUPPORT = !0
- };
- }
- };
- }, exec(object);
- } catch (error) {}
- return ITERATION_SUPPORT;
- };
- },
- 4488: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var arraySlice = __webpack_require__(7680), floor = Math.floor, sort = function(array, comparefn) {
- var length = array.length;
- if (length < 8) for (var element, j, i = 1; i < length; ) {
- for (j = i, element = array[i]; j && comparefn(array[j - 1], element) > 0; ) array[j] = array[--j];
- j !== i++ && (array[j] = element);
- } else for (var middle = floor(length / 2), left = sort(arraySlice(array, 0, middle), comparefn), right = sort(arraySlice(array, middle), comparefn), llength = left.length, rlength = right.length, lindex = 0, rindex = 0; lindex < llength || rindex < rlength; ) array[lindex + rindex] = lindex < llength && rindex < rlength ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] : lindex < llength ? left[lindex++] : right[rindex++];
- return array;
- };
- module.exports = sort;
- },
- 4495: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var V8_VERSION = __webpack_require__(9519), fails = __webpack_require__(9039), $String = __webpack_require__(4576).String;
- module.exports = !!Object.getOwnPropertySymbols && !fails((function() {
- var symbol = Symbol("symbol detection");
- return !$String(symbol) || !(Object(symbol) instanceof Symbol) || !Symbol.sham && V8_VERSION && V8_VERSION < 41;
- }));
- },
- 4496: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $includes = __webpack_require__(9617).includes, aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("includes", (function(searchElement) {
- return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : void 0);
- }));
- },
- 4529: module => {
- "use strict";
- module.exports = {};
- },
- 4576: function(module, __unused_webpack_exports, __webpack_require__) {
- "use strict";
- var check = function(it) {
- return it && it.Math === Math && it;
- };
- module.exports = check("object" == typeof globalThis && globalThis) || check("object" == typeof window && window) || check("object" == typeof self && self) || check("object" == typeof __webpack_require__.g && __webpack_require__.g) || check("object" == typeof this && this) || function() {
- return this;
- }() || Function("return this")();
- },
- 4598: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039);
- module.exports = function(METHOD_NAME, argument) {
- var method = [][METHOD_NAME];
- return !!method && fails((function() {
- method.call(null, argument || function() {
- return 1;
- }, 1);
- }));
- };
- },
- 4606: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var tryToString = __webpack_require__(6823), $TypeError = TypeError;
- module.exports = function(O, P) {
- if (!delete O[P]) throw new $TypeError("Cannot delete property " + tryToString(P) + " of " + tryToString(O));
- };
- },
- 4633: (module, __unused_webpack_exports, __webpack_require__) => {
- var _typeof = __webpack_require__(3738).default;
- function _regeneratorRuntime() {
- "use strict";
- module.exports = _regeneratorRuntime = function() {
- return e;
- }, module.exports.__esModule = !0, module.exports.default = module.exports;
- var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t, e, r) {
- t[e] = r.value;
- }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.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 (t) {
- define = function(t, e, r) {
- return t[e] = r;
- };
- }
- function wrap(t, e, r, n) {
- var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []);
- return o(a, "_invoke", {
- value: makeInvokeMethod(t, r, c)
- }), a;
- }
- function tryCatch(t, e, r) {
- try {
- return {
- type: "normal",
- arg: t.call(e, r)
- };
- } catch (t) {
- return {
- type: "throw",
- arg: t
- };
- }
- }
- e.wrap = wrap;
- var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {};
- function Generator() {}
- function GeneratorFunction() {}
- function GeneratorFunctionPrototype() {}
- var p = {};
- define(p, a, (function() {
- return this;
- }));
- var d = Object.getPrototypeOf, v = d && d(d(values([])));
- v && v !== r && n.call(v, a) && (p = v);
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
- 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, o, i, a) {
- var c = tryCatch(t[r], t, o);
- if ("throw" !== c.type) {
- var u = c.arg, h = u.value;
- return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then((function(t) {
- invoke("next", t, i, a);
- }), (function(t) {
- invoke("throw", t, i, a);
- })) : e.resolve(h).then((function(t) {
- u.value = t, i(u);
- }), (function(t) {
- return invoke("throw", t, i, a);
- }));
- }
- a(c.arg);
- }
- var r;
- o(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(e, r, n) {
- var o = h;
- return function(i, a) {
- if (o === f) throw Error("Generator is already running");
- if (o === s) {
- if ("throw" === i) throw a;
- return {
- value: t,
- done: !0
- };
- }
- for (n.method = i, n.arg = a; ;) {
- var c = n.delegate;
- if (c) {
- var u = maybeInvokeDelegate(c, n);
- if (u) {
- if (u === y) continue;
- return u;
- }
- }
- if ("next" === n.method) n.sent = n._sent = n.arg; else if ("throw" === n.method) {
- if (o === h) throw o = s, n.arg;
- n.dispatchException(n.arg);
- } else "return" === n.method && n.abrupt("return", n.arg);
- o = f;
- var p = tryCatch(e, r, n);
- if ("normal" === p.type) {
- if (o = n.done ? s : l, p.arg === y) continue;
- return {
- value: p.arg,
- done: n.done
- };
- }
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
- }
- };
- }
- function maybeInvokeDelegate(e, r) {
- var n = r.method, o = e.iterator[n];
- if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return",
- r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw",
- r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
- var i = tryCatch(o, e.iterator, r.arg);
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null,
- y;
- var a = i.arg;
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next",
- r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"),
- r.delegate = null, y);
- }
- 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(e) {
- if (e || "" === e) {
- var r = e[a];
- if (r) return r.call(e);
- if ("function" == typeof e.next) return e;
- if (!isNaN(e.length)) {
- var o = -1, i = function next() {
- for (;++o < e.length; ) if (n.call(e, o)) return next.value = e[o], next.done = !1,
- next;
- return next.value = t, next.done = !0, next;
- };
- return i.next = i;
- }
- }
- throw new TypeError(_typeof(e) + " is not iterable");
- }
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
- value: GeneratorFunctionPrototype,
- configurable: !0
- }), o(GeneratorFunctionPrototype, "constructor", {
- value: GeneratorFunction,
- configurable: !0
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"),
- e.isGeneratorFunction = function(t) {
- var e = "function" == typeof t && t.constructor;
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
- }, e.mark = function(t) {
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype,
- define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
- }, e.awrap = function(t) {
- return {
- __await: t
- };
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, (function() {
- return this;
- })), e.AsyncIterator = AsyncIterator, e.async = function(t, r, n, o, i) {
- void 0 === i && (i = Promise);
- var a = new AsyncIterator(wrap(t, r, n, o), i);
- return e.isGeneratorFunction(r) ? a : a.next().then((function(t) {
- return t.done ? t.value : a.next();
- }));
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, (function() {
- return this;
- })), define(g, "toString", (function() {
- return "[object Generator]";
- })), e.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;
- };
- }, e.values = values, Context.prototype = {
- constructor: Context,
- reset: function(e) {
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null,
- this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
- },
- stop: function() {
- this.done = !0;
- var t = this.tryEntries[0].completion;
- if ("throw" === t.type) throw t.arg;
- return this.rval;
- },
- dispatchException: function(e) {
- if (this.done) throw e;
- var r = this;
- function handle(n, o) {
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t),
- !!o;
- }
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
- var i = this.tryEntries[o], a = i.completion;
- if ("root" === i.tryLoc) return handle("end");
- if (i.tryLoc <= this.prev) {
- var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc");
- if (c && u) {
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
- } else if (c) {
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
- } else {
- if (!u) 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 o = this.tryEntries[r];
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
- var i = o;
- 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,
- y) : 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),
- y;
- },
- 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),
- y;
- }
- },
- "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 o = n.arg;
- resetTryEntry(r);
- }
- return o;
- }
- }
- throw Error("illegal catch attempt");
- },
- delegateYield: function(e, r, n) {
- return this.delegate = {
- iterator: values(e),
- resultName: r,
- nextLoc: n
- }, "next" === this.method && (this.arg = t), y;
- }
- }, e;
- }
- module.exports = _regeneratorRuntime, module.exports.__esModule = !0, module.exports.default = module.exports;
- },
- 4644: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var NAME, Constructor, Prototype, NATIVE_ARRAY_BUFFER = __webpack_require__(7811), DESCRIPTORS = __webpack_require__(3724), globalThis = __webpack_require__(4576), isCallable = __webpack_require__(4901), isObject = __webpack_require__(34), hasOwn = __webpack_require__(9297), classof = __webpack_require__(6955), tryToString = __webpack_require__(6823), createNonEnumerableProperty = __webpack_require__(6699), defineBuiltIn = __webpack_require__(6840), defineBuiltInAccessor = __webpack_require__(2106), isPrototypeOf = __webpack_require__(1625), getPrototypeOf = __webpack_require__(2787), setPrototypeOf = __webpack_require__(2967), wellKnownSymbol = __webpack_require__(8227), uid = __webpack_require__(3392), InternalStateModule = __webpack_require__(1181), enforceInternalState = InternalStateModule.enforce, getInternalState = InternalStateModule.get, Int8Array = globalThis.Int8Array, Int8ArrayPrototype = Int8Array && Int8Array.prototype, Uint8ClampedArray = globalThis.Uint8ClampedArray, Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype, TypedArray = Int8Array && getPrototypeOf(Int8Array), TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype), ObjectPrototype = Object.prototype, TypeError = globalThis.TypeError, TO_STRING_TAG = wellKnownSymbol("toStringTag"), TYPED_ARRAY_TAG = uid("TYPED_ARRAY_TAG"), NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && "Opera" !== classof(globalThis.opera), TYPED_ARRAY_TAG_REQUIRED = !1, TypedArrayConstructorsList = {
- Int8Array: 1,
- Uint8Array: 1,
- Uint8ClampedArray: 1,
- Int16Array: 2,
- Uint16Array: 2,
- Int32Array: 4,
- Uint32Array: 4,
- Float32Array: 4,
- Float64Array: 8
- }, BigIntArrayConstructorsList = {
- BigInt64Array: 8,
- BigUint64Array: 8
- }, getTypedArrayConstructor = function(it) {
- var proto = getPrototypeOf(it);
- if (isObject(proto)) {
- var state = getInternalState(proto);
- return state && hasOwn(state, "TypedArrayConstructor") ? state.TypedArrayConstructor : getTypedArrayConstructor(proto);
- }
- }, isTypedArray = function(it) {
- if (!isObject(it)) return !1;
- var klass = classof(it);
- return hasOwn(TypedArrayConstructorsList, klass) || hasOwn(BigIntArrayConstructorsList, klass);
- };
- for (NAME in TypedArrayConstructorsList) (Prototype = (Constructor = globalThis[NAME]) && Constructor.prototype) ? enforceInternalState(Prototype).TypedArrayConstructor = Constructor : NATIVE_ARRAY_BUFFER_VIEWS = !1;
- for (NAME in BigIntArrayConstructorsList) (Prototype = (Constructor = globalThis[NAME]) && Constructor.prototype) && (enforceInternalState(Prototype).TypedArrayConstructor = Constructor);
- if ((!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) && (TypedArray = function() {
- throw new TypeError("Incorrect invocation");
- }, NATIVE_ARRAY_BUFFER_VIEWS)) for (NAME in TypedArrayConstructorsList) globalThis[NAME] && setPrototypeOf(globalThis[NAME], TypedArray);
- if ((!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) && (TypedArrayPrototype = TypedArray.prototype,
- NATIVE_ARRAY_BUFFER_VIEWS)) for (NAME in TypedArrayConstructorsList) globalThis[NAME] && setPrototypeOf(globalThis[NAME].prototype, TypedArrayPrototype);
- if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype && setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype),
- DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) for (NAME in TYPED_ARRAY_TAG_REQUIRED = !0,
- defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {
- configurable: !0,
- get: function() {
- return isObject(this) ? this[TYPED_ARRAY_TAG] : void 0;
- }
- }), TypedArrayConstructorsList) globalThis[NAME] && createNonEnumerableProperty(globalThis[NAME], TYPED_ARRAY_TAG, NAME);
- module.exports = {
- NATIVE_ARRAY_BUFFER_VIEWS,
- TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
- aTypedArray: function(it) {
- if (isTypedArray(it)) return it;
- throw new TypeError("Target is not a typed array");
- },
- aTypedArrayConstructor: function(C) {
- if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;
- throw new TypeError(tryToString(C) + " is not a typed array constructor");
- },
- exportTypedArrayMethod: function(KEY, property, forced, options) {
- if (DESCRIPTORS) {
- if (forced) for (var ARRAY in TypedArrayConstructorsList) {
- var TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {
- delete TypedArrayConstructor.prototype[KEY];
- } catch (error) {
- try {
- TypedArrayConstructor.prototype[KEY] = property;
- } catch (error2) {}
- }
- }
- TypedArrayPrototype[KEY] && !forced || defineBuiltIn(TypedArrayPrototype, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
- }
- },
- exportTypedArrayStaticMethod: function(KEY, property, forced) {
- var ARRAY, TypedArrayConstructor;
- if (DESCRIPTORS) {
- if (setPrototypeOf) {
- if (forced) for (ARRAY in TypedArrayConstructorsList) if ((TypedArrayConstructor = globalThis[ARRAY]) && hasOwn(TypedArrayConstructor, KEY)) try {
- delete TypedArrayConstructor[KEY];
- } catch (error) {}
- if (TypedArray[KEY] && !forced) return;
- try {
- return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
- } catch (error) {}
- }
- for (ARRAY in TypedArrayConstructorsList) !(TypedArrayConstructor = globalThis[ARRAY]) || TypedArrayConstructor[KEY] && !forced || defineBuiltIn(TypedArrayConstructor, KEY, property);
- }
- },
- getTypedArrayConstructor,
- isView: function(it) {
- if (!isObject(it)) return !1;
- var klass = classof(it);
- return "DataView" === klass || hasOwn(TypedArrayConstructorsList, klass) || hasOwn(BigIntArrayConstructorsList, klass);
- },
- isTypedArray,
- TypedArray,
- TypedArrayPrototype
- };
- },
- 4659: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), definePropertyModule = __webpack_require__(4913), createPropertyDescriptor = __webpack_require__(6980);
- module.exports = function(object, key, value) {
- DESCRIPTORS ? definePropertyModule.f(object, key, createPropertyDescriptor(0, value)) : object[key] = value;
- };
- },
- 4743: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), globalThis = __webpack_require__(4576), arrayBufferModule = __webpack_require__(6346), setSpecies = __webpack_require__(7633), ArrayBuffer = arrayBufferModule.ArrayBuffer;
- $({
- global: !0,
- constructor: !0,
- forced: globalThis.ArrayBuffer !== ArrayBuffer
- }, {
- ArrayBuffer
- }), setSpecies("ArrayBuffer");
- },
- 4756: (module, __unused_webpack_exports, __webpack_require__) => {
- var runtime = __webpack_require__(4633)();
- module.exports = runtime;
- try {
- regeneratorRuntime = runtime;
- } catch (accidentalStrictMode) {
- "object" == typeof globalThis ? globalThis.regeneratorRuntime = runtime : Function("r", "regeneratorRuntime = r")(runtime);
- }
- },
- 4782: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), isArray = __webpack_require__(4376), isConstructor = __webpack_require__(3517), isObject = __webpack_require__(34), toAbsoluteIndex = __webpack_require__(5610), lengthOfArrayLike = __webpack_require__(6198), toIndexedObject = __webpack_require__(5397), createProperty = __webpack_require__(4659), wellKnownSymbol = __webpack_require__(8227), arrayMethodHasSpeciesSupport = __webpack_require__(597), nativeSlice = __webpack_require__(7680), HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("slice"), SPECIES = wellKnownSymbol("species"), $Array = Array, max = Math.max;
- $({
- target: "Array",
- proto: !0,
- forced: !HAS_SPECIES_SUPPORT
- }, {
- slice: function(start, end) {
- var Constructor, result, n, O = toIndexedObject(this), length = lengthOfArrayLike(O), k = toAbsoluteIndex(start, length), fin = toAbsoluteIndex(void 0 === end ? length : end, length);
- if (isArray(O) && (Constructor = O.constructor, (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype)) || isObject(Constructor) && null === (Constructor = Constructor[SPECIES])) && (Constructor = void 0),
- Constructor === $Array || void 0 === Constructor)) return nativeSlice(O, k, fin);
- for (result = new (void 0 === Constructor ? $Array : Constructor)(max(fin - k, 0)),
- n = 0; k < fin; k++, n++) k in O && createProperty(result, n, O[k]);
- return result.length = n, result;
- }
- });
- },
- 4863: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = parse, parse.filename = null, parse.defaults = {
- keepCase: !1
- };
- var tokenize = __webpack_require__(527), Root = __webpack_require__(5330), Type = __webpack_require__(7882), Field = __webpack_require__(1344), MapField = __webpack_require__(8252), OneOf = __webpack_require__(1457), Enum = __webpack_require__(5643), Service = __webpack_require__(9687), Method = __webpack_require__(8811), types = __webpack_require__(361), util = __webpack_require__(3262), base10Re = /^[1-9][0-9]*$/, base10NegRe = /^-?[1-9][0-9]*$/, base16Re = /^0[x][0-9a-fA-F]+$/, base16NegRe = /^-?0[x][0-9a-fA-F]+$/, base8Re = /^0[0-7]+$/, base8NegRe = /^-?0[0-7]+$/, numberRe = /^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/, nameRe = /^[a-zA-Z_][a-zA-Z_0-9]*$/, typeRefRe = /^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/, fqTypeRefRe = /^(?:\.[a-zA-Z_][a-zA-Z_0-9]*)+$/;
- function parse(source, root, options) {
- root instanceof Root || (options = root, root = new Root), options || (options = parse.defaults);
- var pkg, imports, weakImports, syntax, token, preferTrailingComment = options.preferTrailingComment || !1, tn = tokenize(source, options.alternateCommentMode || !1), next = tn.next, push = tn.push, peek = tn.peek, skip = tn.skip, cmnt = tn.cmnt, head = !0, isProto3 = !1, ptr = root, applyCase = options.keepCase ? function(name) {
- return name;
- } : util.camelCase;
- function illegal(token, name, insideTryCatch) {
- var filename = parse.filename;
- return insideTryCatch || (parse.filename = null), Error("illegal " + (name || "token") + " '" + token + "' (" + (filename ? filename + ", " : "") + "line " + tn.line + ")");
- }
- function readString() {
- var token, values = [];
- do {
- if ('"' !== (token = next()) && "'" !== token) throw illegal(token);
- values.push(next()), skip(token), token = peek();
- } while ('"' === token || "'" === token);
- return values.join("");
- }
- function readValue(acceptTypeRef) {
- var token = next();
- switch (token) {
- case "'":
- case '"':
- return push(token), readString();
-
- case "true":
- case "TRUE":
- return !0;
-
- case "false":
- case "FALSE":
- return !1;
- }
- try {
- return function(token) {
- var sign = 1;
- switch ("-" === token.charAt(0) && (sign = -1, token = token.substring(1)), token) {
- case "inf":
- case "INF":
- case "Inf":
- return sign * (1 / 0);
-
- case "nan":
- case "NAN":
- case "Nan":
- case "NaN":
- return NaN;
-
- case "0":
- return 0;
- }
- if (base10Re.test(token)) return sign * parseInt(token, 10);
- if (base16Re.test(token)) return sign * parseInt(token, 16);
- if (base8Re.test(token)) return sign * parseInt(token, 8);
- if (numberRe.test(token)) return sign * parseFloat(token);
- throw illegal(token, "number", !0);
- }(token);
- } catch (e) {
- if (acceptTypeRef && typeRefRe.test(token)) return token;
- throw illegal(token, "value");
- }
- }
- function readRanges(target, acceptStrings) {
- var token, start;
- do {
- !acceptStrings || '"' !== (token = peek()) && "'" !== token ? target.push([ start = parseId(next()), skip("to", !0) ? parseId(next()) : start ]) : target.push(readString());
- } while (skip(",", !0));
- var dummy = {
- options: void 0,
- setOption: function(name, value) {
- void 0 === this.options && (this.options = {}), this.options[name] = value;
- }
- };
- ifBlock(dummy, (function(token) {
- if ("option" !== token) throw illegal(token);
- parseOption(dummy, token), skip(";");
- }), (function() {
- parseInlineOptions(dummy);
- }));
- }
- function parseId(token, acceptNegative) {
- switch (token) {
- case "max":
- case "MAX":
- case "Max":
- return 536870911;
-
- case "0":
- return 0;
- }
- if (!acceptNegative && "-" === token.charAt(0)) throw illegal(token, "id");
- if (base10NegRe.test(token)) return parseInt(token, 10);
- if (base16NegRe.test(token)) return parseInt(token, 16);
- if (base8NegRe.test(token)) return parseInt(token, 8);
- throw illegal(token, "id");
- }
- function parsePackage() {
- if (void 0 !== pkg) throw illegal("package");
- if (pkg = next(), !typeRefRe.test(pkg)) throw illegal(pkg, "name");
- ptr = ptr.define(pkg), skip(";");
- }
- function parseImport() {
- var whichImports, token = peek();
- switch (token) {
- case "weak":
- whichImports = weakImports || (weakImports = []), next();
- break;
-
- case "public":
- next();
-
- default:
- whichImports = imports || (imports = []);
- }
- token = readString(), skip(";"), whichImports.push(token);
- }
- function parseSyntax() {
- if (skip("="), syntax = readString(), !(isProto3 = "proto3" === syntax) && "proto2" !== syntax) throw illegal(syntax, "syntax");
- root.setOption("syntax", syntax), skip(";");
- }
- function parseCommon(parent, token) {
- switch (token) {
- case "option":
- return parseOption(parent, token), skip(";"), !0;
-
- case "message":
- return parseType(parent, token), !0;
-
- case "enum":
- return parseEnum(parent, token), !0;
-
- case "service":
- return function(parent, token) {
- if (!nameRe.test(token = next())) throw illegal(token, "service name");
- var service = new Service(token);
- ifBlock(service, (function(token) {
- if (!parseCommon(service, token)) {
- if ("rpc" !== token) throw illegal(token);
- !function(parent, token) {
- var commentText = cmnt(), type = token;
- if (!nameRe.test(token = next())) throw illegal(token, "name");
- var requestType, requestStream, responseType, responseStream, name = token;
- if (skip("("), skip("stream", !0) && (requestStream = !0), !typeRefRe.test(token = next())) throw illegal(token);
- if (requestType = token, skip(")"), skip("returns"), skip("("), skip("stream", !0) && (responseStream = !0),
- !typeRefRe.test(token = next())) throw illegal(token);
- responseType = token, skip(")");
- var method = new Method(name, type, requestType, responseType, requestStream, responseStream);
- method.comment = commentText, ifBlock(method, (function(token) {
- if ("option" !== token) throw illegal(token);
- parseOption(method, token), skip(";");
- })), parent.add(method);
- }(service, token);
- }
- })), parent.add(service);
- }(parent, token), !0;
-
- case "extend":
- return function(parent, token) {
- if (!typeRefRe.test(token = next())) throw illegal(token, "reference");
- var reference = token;
- ifBlock(null, (function(token) {
- switch (token) {
- case "required":
- case "repeated":
- parseField(parent, token, reference);
- break;
-
- case "optional":
- parseField(parent, isProto3 ? "proto3_optional" : "optional", reference);
- break;
-
- default:
- if (!isProto3 || !typeRefRe.test(token)) throw illegal(token);
- push(token), parseField(parent, "optional", reference);
- }
- }));
- }(parent, token), !0;
- }
- return !1;
- }
- function ifBlock(obj, fnIf, fnElse) {
- var trailingLine = tn.line;
- if (obj && ("string" != typeof obj.comment && (obj.comment = cmnt()), obj.filename = parse.filename),
- skip("{", !0)) {
- for (var token; "}" !== (token = next()); ) fnIf(token);
- skip(";", !0);
- } else fnElse && fnElse(), skip(";"), obj && ("string" != typeof obj.comment || preferTrailingComment) && (obj.comment = cmnt(trailingLine) || obj.comment);
- }
- function parseType(parent, token) {
- if (!nameRe.test(token = next())) throw illegal(token, "type name");
- var type = new Type(token);
- ifBlock(type, (function(token) {
- if (!parseCommon(type, token)) switch (token) {
- case "map":
- !function(parent) {
- skip("<");
- var keyType = next();
- if (void 0 === types.mapKey[keyType]) throw illegal(keyType, "type");
- skip(",");
- var valueType = next();
- if (!typeRefRe.test(valueType)) throw illegal(valueType, "type");
- skip(">");
- var name = next();
- if (!nameRe.test(name)) throw illegal(name, "name");
- skip("=");
- var field = new MapField(applyCase(name), parseId(next()), keyType, valueType);
- ifBlock(field, (function(token) {
- if ("option" !== token) throw illegal(token);
- parseOption(field, token), skip(";");
- }), (function() {
- parseInlineOptions(field);
- })), parent.add(field);
- }(type);
- break;
-
- case "required":
- case "repeated":
- parseField(type, token);
- break;
-
- case "optional":
- parseField(type, isProto3 ? "proto3_optional" : "optional");
- break;
-
- case "oneof":
- !function(parent, token) {
- if (!nameRe.test(token = next())) throw illegal(token, "name");
- var oneof = new OneOf(applyCase(token));
- ifBlock(oneof, (function(token) {
- "option" === token ? (parseOption(oneof, token), skip(";")) : (push(token), parseField(oneof, "optional"));
- })), parent.add(oneof);
- }(type, token);
- break;
-
- case "extensions":
- readRanges(type.extensions || (type.extensions = []));
- break;
-
- case "reserved":
- readRanges(type.reserved || (type.reserved = []), !0);
- break;
-
- default:
- if (!isProto3 || !typeRefRe.test(token)) throw illegal(token);
- push(token), parseField(type, "optional");
- }
- })), parent.add(type);
- }
- function parseField(parent, rule, extend) {
- var type = next();
- if ("group" !== type) {
- for (;type.endsWith(".") || peek().startsWith("."); ) type += next();
- if (!typeRefRe.test(type)) throw illegal(type, "type");
- var name = next();
- if (!nameRe.test(name)) throw illegal(name, "name");
- name = applyCase(name), skip("=");
- var field = new Field(name, parseId(next()), type, rule, extend);
- if (ifBlock(field, (function(token) {
- if ("option" !== token) throw illegal(token);
- parseOption(field, token), skip(";");
- }), (function() {
- parseInlineOptions(field);
- })), "proto3_optional" === rule) {
- var oneof = new OneOf("_" + name);
- field.setOption("proto3_optional", !0), oneof.add(field), parent.add(oneof);
- } else parent.add(field);
- isProto3 || !field.repeated || void 0 === types.packed[type] && void 0 !== types.basic[type] || field.setOption("packed", !1, !0);
- } else !function(parent, rule) {
- var name = next();
- if (!nameRe.test(name)) throw illegal(name, "name");
- var fieldName = util.lcFirst(name);
- name === fieldName && (name = util.ucFirst(name)), skip("=");
- var id = parseId(next()), type = new Type(name);
- type.group = !0;
- var field = new Field(fieldName, id, name, rule);
- field.filename = parse.filename, ifBlock(type, (function(token) {
- switch (token) {
- case "option":
- parseOption(type, token), skip(";");
- break;
-
- case "required":
- case "repeated":
- parseField(type, token);
- break;
-
- case "optional":
- parseField(type, isProto3 ? "proto3_optional" : "optional");
- break;
-
- case "message":
- parseType(type, token);
- break;
-
- case "enum":
- parseEnum(type, token);
- break;
-
- default:
- throw illegal(token);
- }
- })), parent.add(type).add(field);
- }(parent, rule);
- }
- function parseEnum(parent, token) {
- if (!nameRe.test(token = next())) throw illegal(token, "name");
- var enm = new Enum(token);
- ifBlock(enm, (function(token) {
- switch (token) {
- case "option":
- parseOption(enm, token), skip(";");
- break;
-
- case "reserved":
- readRanges(enm.reserved || (enm.reserved = []), !0);
- break;
-
- default:
- !function(parent, token) {
- if (!nameRe.test(token)) throw illegal(token, "name");
- skip("=");
- var value = parseId(next(), !0), dummy = {
- options: void 0,
- setOption: function(name, value) {
- void 0 === this.options && (this.options = {}), this.options[name] = value;
- }
- };
- ifBlock(dummy, (function(token) {
- if ("option" !== token) throw illegal(token);
- parseOption(dummy, token), skip(";");
- }), (function() {
- parseInlineOptions(dummy);
- })), parent.add(token, value, dummy.comment, dummy.options);
- }(enm, token);
- }
- })), parent.add(enm);
- }
- function parseOption(parent, token) {
- var isCustom = skip("(", !0);
- if (!typeRefRe.test(token = next())) throw illegal(token, "name");
- var propName, name = token, option = name;
- isCustom && (skip(")"), option = name = "(" + name + ")", token = peek(), fqTypeRefRe.test(token) && (propName = token.slice(1),
- name += token, next())), skip("="), function(parent, name, value, propName) {
- parent.setParsedOption && parent.setParsedOption(name, value, propName);
- }(parent, option, parseOptionValue(parent, name), propName);
- }
- function parseOptionValue(parent, name) {
- if (skip("{", !0)) {
- for (var objectResult = {}; !skip("}", !0); ) {
- if (!nameRe.test(token = next())) throw illegal(token, "name");
- if (null === token) throw illegal(token, "end of input");
- var value, propName = token;
- if (skip(":", !0), "{" === peek()) value = parseOptionValue(parent, name + "." + token); else if ("[" === peek()) {
- var lastValue;
- if (value = [], skip("[", !0)) {
- do {
- lastValue = readValue(!0), value.push(lastValue);
- } while (skip(",", !0));
- skip("]"), void 0 !== lastValue && setOption(parent, name + "." + token, lastValue);
- }
- } else value = readValue(!0), setOption(parent, name + "." + token, value);
- var prevValue = objectResult[propName];
- prevValue && (value = [].concat(prevValue).concat(value)), objectResult[propName] = value,
- skip(",", !0), skip(";", !0);
- }
- return objectResult;
- }
- var simpleValue = readValue(!0);
- return setOption(parent, name, simpleValue), simpleValue;
- }
- function setOption(parent, name, value) {
- parent.setOption && parent.setOption(name, value);
- }
- function parseInlineOptions(parent) {
- if (skip("[", !0)) {
- do {
- parseOption(parent, "option");
- } while (skip(",", !0));
- skip("]");
- }
- return parent;
- }
- for (;null !== (token = next()); ) switch (token) {
- case "package":
- if (!head) throw illegal(token);
- parsePackage();
- break;
-
- case "import":
- if (!head) throw illegal(token);
- parseImport();
- break;
-
- case "syntax":
- if (!head) throw illegal(token);
- parseSyntax();
- break;
-
- case "option":
- parseOption(ptr, token), skip(";");
- break;
-
- default:
- if (parseCommon(ptr, token)) {
- head = !1;
- continue;
- }
- throw illegal(token);
- }
- return parse.filename = null, {
- "package": pkg,
- "imports": imports,
- weakImports,
- syntax,
- root
- };
- }
- },
- 4901: module => {
- "use strict";
- var documentAll = "object" == typeof document && document.all;
- module.exports = void 0 === documentAll && void 0 !== documentAll ? function(argument) {
- return "function" == typeof argument || argument === documentAll;
- } : function(argument) {
- return "function" == typeof argument;
- };
- },
- 4913: (__unused_webpack_module, exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), IE8_DOM_DEFINE = __webpack_require__(5917), V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686), anObject = __webpack_require__(8551), toPropertyKey = __webpack_require__(6969), $TypeError = TypeError, $defineProperty = Object.defineProperty, $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
- exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function(O, P, Attributes) {
- if (anObject(O), P = toPropertyKey(P), anObject(Attributes), "function" == typeof O && "prototype" === P && "value" in Attributes && "writable" in Attributes && !Attributes.writable) {
- var current = $getOwnPropertyDescriptor(O, P);
- current && current.writable && (O[P] = Attributes.value, Attributes = {
- configurable: "configurable" in Attributes ? Attributes.configurable : current.configurable,
- enumerable: "enumerable" in Attributes ? Attributes.enumerable : current.enumerable,
- writable: !1
- });
- }
- return $defineProperty(O, P, Attributes);
- } : $defineProperty : function(O, P, Attributes) {
- if (anObject(O), P = toPropertyKey(P), anObject(Attributes), IE8_DOM_DEFINE) try {
- return $defineProperty(O, P, Attributes);
- } catch (error) {}
- if ("get" in Attributes || "set" in Attributes) throw new $TypeError("Accessors not supported");
- return "value" in Attributes && (O[P] = Attributes.value), O;
- };
- },
- 5031: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var getBuiltIn = __webpack_require__(7751), uncurryThis = __webpack_require__(9504), getOwnPropertyNamesModule = __webpack_require__(8480), getOwnPropertySymbolsModule = __webpack_require__(3717), anObject = __webpack_require__(8551), concat = uncurryThis([].concat);
- module.exports = getBuiltIn("Reflect", "ownKeys") || function(it) {
- var keys = getOwnPropertyNamesModule.f(anObject(it)), getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
- };
- },
- 5044: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $fill = __webpack_require__(4373), toBigInt = __webpack_require__(5854), classof = __webpack_require__(6955), call = __webpack_require__(9565), uncurryThis = __webpack_require__(9504), fails = __webpack_require__(9039), aTypedArray = ArrayBufferViewCore.aTypedArray, exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod, slice = uncurryThis("".slice);
- exportTypedArrayMethod("fill", (function(value) {
- var length = arguments.length;
- aTypedArray(this);
- var actualValue = "Big" === slice(classof(this), 0, 3) ? toBigInt(value) : +value;
- return call($fill, this, actualValue, length > 1 ? arguments[1] : void 0, length > 2 ? arguments[2] : void 0);
- }), fails((function() {
- var count = 0;
- return new Int8Array(2).fill({
- valueOf: function() {
- return count++;
- }
- }), 1 !== count;
- })));
- },
- 5047: (__unused_webpack_module, exports, __webpack_require__) => {
- "use strict";
- exports.Service = __webpack_require__(7595);
- },
- 5095: module => {
- "use strict";
- module.exports = common;
- var timeType, commonRe = /\/|\./;
- function common(name, json) {
- commonRe.test(name) || (name = "google/protobuf/" + name + ".proto", json = {
- nested: {
- google: {
- nested: {
- protobuf: {
- nested: json
- }
- }
- }
- }
- }), common[name] = json;
- }
- common("any", {
- Any: {
- fields: {
- type_url: {
- type: "string",
- id: 1
- },
- value: {
- type: "bytes",
- id: 2
- }
- }
- }
- }), common("duration", {
- Duration: timeType = {
- fields: {
- seconds: {
- type: "int64",
- id: 1
- },
- nanos: {
- type: "int32",
- id: 2
- }
- }
- }
- }), common("timestamp", {
- Timestamp: timeType
- }), 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(file) {
- return common[file] || null;
- };
- },
- 5212: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = fetch;
- var asPromise = __webpack_require__(8045), fs = __webpack_require__(4153)("fs");
- function fetch(filename, options, callback) {
- return "function" == typeof options ? (callback = options, options = {}) : options || (options = {}),
- callback ? !options.xhr && fs && fs.readFile ? fs.readFile(filename, (function(err, contents) {
- return err && "undefined" != typeof XMLHttpRequest ? fetch.xhr(filename, options, callback) : err ? callback(err) : callback(null, options.binary ? contents : contents.toString("utf8"));
- })) : fetch.xhr(filename, options, callback) : asPromise(fetch, this, filename, options);
- }
- fetch.xhr = function(filename, options, callback) {
- var xhr = new XMLHttpRequest;
- xhr.onreadystatechange = function() {
- if (4 === xhr.readyState) {
- if (0 !== xhr.status && 200 !== xhr.status) return callback(Error("status " + xhr.status));
- if (options.binary) {
- var buffer = xhr.response;
- if (!buffer) {
- buffer = [];
- for (var i = 0; i < xhr.responseText.length; ++i) buffer.push(255 & xhr.responseText.charCodeAt(i));
- }
- return callback(null, "undefined" != typeof Uint8Array ? new Uint8Array(buffer) : buffer);
- }
- return callback(null, xhr.responseText);
- }
- }, options.binary && ("overrideMimeType" in xhr && xhr.overrideMimeType("text/plain; charset=x-user-defined"),
- xhr.responseType = "arraybuffer"), xhr.open("GET", filename), xhr.send();
- };
- },
- 5325: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var protobuf = module.exports = __webpack_require__(4394);
- protobuf.build = "light", protobuf.load = function(filename, root, callback) {
- return "function" == typeof root ? (callback = root, root = new protobuf.Root) : root || (root = new protobuf.Root),
- root.load(filename, callback);
- }, protobuf.loadSync = function(filename, root) {
- return root || (root = new protobuf.Root), root.loadSync(filename);
- }, protobuf.encoder = __webpack_require__(1080), protobuf.decoder = __webpack_require__(7728),
- protobuf.verifier = __webpack_require__(420), protobuf.converter = __webpack_require__(744),
- protobuf.ReflectionObject = __webpack_require__(7209), protobuf.Namespace = __webpack_require__(8923),
- protobuf.Root = __webpack_require__(5330), protobuf.Enum = __webpack_require__(5643),
- protobuf.Type = __webpack_require__(7882), protobuf.Field = __webpack_require__(1344),
- protobuf.OneOf = __webpack_require__(1457), protobuf.MapField = __webpack_require__(8252),
- protobuf.Service = __webpack_require__(9687), protobuf.Method = __webpack_require__(8811),
- protobuf.Message = __webpack_require__(2551), protobuf.wrappers = __webpack_require__(6434),
- protobuf.types = __webpack_require__(361), protobuf.util = __webpack_require__(3262),
- protobuf.ReflectionObject._configure(protobuf.Root), protobuf.Namespace._configure(protobuf.Type, protobuf.Service, protobuf.Enum),
- protobuf.Root._configure(protobuf.Type), protobuf.Field._configure(protobuf.Type);
- },
- 5330: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Root;
- var Namespace = __webpack_require__(8923);
- ((Root.prototype = Object.create(Namespace.prototype)).constructor = Root).className = "Root";
- var Type, parse, common, Field = __webpack_require__(1344), Enum = __webpack_require__(5643), OneOf = __webpack_require__(1457), util = __webpack_require__(3262);
- function Root(options) {
- Namespace.call(this, "", options), this.deferred = [], this.files = [];
- }
- function SYNC() {}
- Root.fromJSON = function(json, root) {
- return root || (root = new Root), json.options && root.setOptions(json.options),
- root.addJSON(json.nested);
- }, Root.prototype.resolvePath = util.path.resolve, Root.prototype.fetch = util.fetch,
- Root.prototype.load = function load(filename, options, callback) {
- "function" == typeof options && (callback = options, options = void 0);
- var self = this;
- if (!callback) return util.asPromise(load, self, filename, options);
- var sync = callback === SYNC;
- function finish(err, root) {
- if (callback) {
- if (sync) throw err;
- var cb = callback;
- callback = null, cb(err, root);
- }
- }
- function getBundledFileName(filename) {
- var idx = filename.lastIndexOf("google/protobuf/");
- if (idx > -1) {
- var altname = filename.substring(idx);
- if (altname in common) return altname;
- }
- return null;
- }
- function process(filename, source) {
- try {
- if (util.isString(source) && "{" === source.charAt(0) && (source = JSON.parse(source)),
- util.isString(source)) {
- parse.filename = filename;
- var resolved, parsed = parse(source, self, options), i = 0;
- if (parsed.imports) for (;i < parsed.imports.length; ++i) (resolved = getBundledFileName(parsed.imports[i]) || self.resolvePath(filename, parsed.imports[i])) && fetch(resolved);
- if (parsed.weakImports) for (i = 0; i < parsed.weakImports.length; ++i) (resolved = getBundledFileName(parsed.weakImports[i]) || self.resolvePath(filename, parsed.weakImports[i])) && fetch(resolved, !0);
- } else self.setOptions(source.options).addJSON(source.nested);
- } catch (err) {
- finish(err);
- }
- sync || queued || finish(null, self);
- }
- function fetch(filename, weak) {
- if (filename = getBundledFileName(filename) || filename, !(self.files.indexOf(filename) > -1)) if (self.files.push(filename),
- filename in common) sync ? process(filename, common[filename]) : (++queued, setTimeout((function() {
- --queued, process(filename, common[filename]);
- }))); else if (sync) {
- var source;
- try {
- source = util.fs.readFileSync(filename).toString("utf8");
- } catch (err) {
- return void (weak || finish(err));
- }
- process(filename, source);
- } else ++queued, self.fetch(filename, (function(err, source) {
- --queued, callback && (err ? weak ? queued || finish(null, self) : finish(err) : process(filename, source));
- }));
- }
- var queued = 0;
- util.isString(filename) && (filename = [ filename ]);
- for (var resolved, i = 0; i < filename.length; ++i) (resolved = self.resolvePath("", filename[i])) && fetch(resolved);
- if (sync) return self;
- queued || finish(null, self);
- }, Root.prototype.loadSync = function(filename, options) {
- if (!util.isNode) throw Error("not supported");
- return this.load(filename, options, SYNC);
- }, Root.prototype.resolveAll = function() {
- if (this.deferred.length) throw Error("unresolvable extensions: " + this.deferred.map((function(field) {
- return "'extend " + field.extend + "' in " + field.parent.fullName;
- })).join(", "));
- return Namespace.prototype.resolveAll.call(this);
- };
- var exposeRe = /^[A-Z]/;
- function tryHandleExtension(root, field) {
- var extendedType = field.parent.lookup(field.extend);
- if (extendedType) {
- var sisterField = new Field(field.fullName, field.id, field.type, field.rule, void 0, field.options);
- return extendedType.get(sisterField.name) || (sisterField.declaringField = field,
- field.extensionField = sisterField, extendedType.add(sisterField)), !0;
- }
- return !1;
- }
- Root.prototype._handleAdd = function(object) {
- if (object instanceof Field) void 0 === object.extend || object.extensionField || tryHandleExtension(0, object) || this.deferred.push(object); else if (object instanceof Enum) exposeRe.test(object.name) && (object.parent[object.name] = object.values); else if (!(object instanceof OneOf)) {
- if (object instanceof Type) for (var i = 0; i < this.deferred.length; ) tryHandleExtension(0, this.deferred[i]) ? this.deferred.splice(i, 1) : ++i;
- for (var j = 0; j < object.nestedArray.length; ++j) this._handleAdd(object._nestedArray[j]);
- exposeRe.test(object.name) && (object.parent[object.name] = object);
- }
- }, Root.prototype._handleRemove = function(object) {
- if (object instanceof Field) {
- if (void 0 !== object.extend) if (object.extensionField) object.extensionField.parent.remove(object.extensionField),
- object.extensionField = null; else {
- var index = this.deferred.indexOf(object);
- index > -1 && this.deferred.splice(index, 1);
- }
- } else if (object instanceof Enum) exposeRe.test(object.name) && delete object.parent[object.name]; else if (object instanceof Namespace) {
- for (var i = 0; i < object.nestedArray.length; ++i) this._handleRemove(object._nestedArray[i]);
- exposeRe.test(object.name) && delete object.parent[object.name];
- }
- }, Root._configure = function(Type_, parse_, common_) {
- Type = Type_, parse = parse_, common = common_;
- };
- },
- 5370: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var lengthOfArrayLike = __webpack_require__(6198);
- module.exports = function(Constructor, list, $length) {
- for (var index = 0, length = arguments.length > 2 ? $length : lengthOfArrayLike(list), result = new Constructor(length); length > index; ) result[index] = list[index++];
- return result;
- };
- },
- 5397: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var IndexedObject = __webpack_require__(7055), requireObjectCoercible = __webpack_require__(7750);
- module.exports = function(it) {
- return IndexedObject(requireObjectCoercible(it));
- };
- },
- 5506: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), $entries = __webpack_require__(2357).entries;
- $({
- target: "Object",
- stat: !0
- }, {
- entries: function(O) {
- return $entries(O);
- }
- });
- },
- 5548: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isConstructor = __webpack_require__(3517), tryToString = __webpack_require__(6823), $TypeError = TypeError;
- module.exports = function(argument) {
- if (isConstructor(argument)) return argument;
- throw new $TypeError(tryToString(argument) + " is not a constructor");
- };
- },
- 5610: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toIntegerOrInfinity = __webpack_require__(1291), max = Math.max, min = Math.min;
- module.exports = function(index, length) {
- var integer = toIntegerOrInfinity(index);
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
- };
- },
- 5617: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var floatRound = __webpack_require__(3164);
- module.exports = Math.fround || function(x) {
- return floatRound(x, 1.1920928955078125e-7, 34028234663852886e22, 11754943508222875e-54);
- };
- },
- 5643: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Enum;
- var ReflectionObject = __webpack_require__(7209);
- ((Enum.prototype = Object.create(ReflectionObject.prototype)).constructor = Enum).className = "Enum";
- var Namespace = __webpack_require__(8923), util = __webpack_require__(3262);
- function Enum(name, values, options, comment, comments, valuesOptions) {
- if (ReflectionObject.call(this, name, options), values && "object" != typeof values) throw TypeError("values must be an object");
- if (this.valuesById = {}, this.values = Object.create(this.valuesById), this.comment = comment,
- this.comments = comments || {}, this.valuesOptions = valuesOptions, this.reserved = void 0,
- values) for (var keys = Object.keys(values), i = 0; i < keys.length; ++i) "number" == typeof values[keys[i]] && (this.valuesById[this.values[keys[i]] = values[keys[i]]] = keys[i]);
- }
- Enum.fromJSON = function(name, json) {
- var enm = new Enum(name, json.values, json.options, json.comment, json.comments);
- return enm.reserved = json.reserved, enm;
- }, Enum.prototype.toJSON = function(toJSONOptions) {
- var keepComments = !!toJSONOptions && Boolean(toJSONOptions.keepComments);
- return util.toObject([ "options", this.options, "valuesOptions", this.valuesOptions, "values", this.values, "reserved", this.reserved && this.reserved.length ? this.reserved : void 0, "comment", keepComments ? this.comment : void 0, "comments", keepComments ? this.comments : void 0 ]);
- }, Enum.prototype.add = function(name, id, comment, options) {
- if (!util.isString(name)) throw TypeError("name must be a string");
- if (!util.isInteger(id)) throw TypeError("id must be an integer");
- if (void 0 !== this.values[name]) throw Error("duplicate name '" + name + "' in " + this);
- if (this.isReservedId(id)) throw Error("id " + id + " is reserved in " + this);
- if (this.isReservedName(name)) throw Error("name '" + name + "' is reserved in " + this);
- if (void 0 !== this.valuesById[id]) {
- if (!this.options || !this.options.allow_alias) throw Error("duplicate id " + id + " in " + this);
- this.values[name] = id;
- } else this.valuesById[this.values[name] = id] = name;
- return options && (void 0 === this.valuesOptions && (this.valuesOptions = {}), this.valuesOptions[name] = options || null),
- this.comments[name] = comment || null, this;
- }, Enum.prototype.remove = function(name) {
- if (!util.isString(name)) throw TypeError("name must be a string");
- var val = this.values[name];
- if (null == val) throw Error("name '" + name + "' does not exist in " + this);
- return delete this.valuesById[val], delete this.values[name], delete this.comments[name],
- this.valuesOptions && delete this.valuesOptions[name], this;
- }, Enum.prototype.isReservedId = function(id) {
- return Namespace.isReservedId(this.reserved, id);
- }, Enum.prototype.isReservedName = function(name) {
- return Namespace.isReservedName(this.reserved, name);
- };
- },
- 5652: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039);
- module.exports = fails((function() {
- if ("function" == typeof ArrayBuffer) {
- var buffer = new ArrayBuffer(8);
- Object.isExtensible(buffer) && Object.defineProperty(buffer, "a", {
- value: 8
- });
- }
- }));
- },
- 5745: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var store = __webpack_require__(7629);
- module.exports = function(key, value) {
- return store[key] || (store[key] = value || {});
- };
- },
- 5823: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), globalThis = __webpack_require__(4576), call = __webpack_require__(9565), DESCRIPTORS = __webpack_require__(3724), TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(2805), ArrayBufferViewCore = __webpack_require__(4644), ArrayBufferModule = __webpack_require__(6346), anInstance = __webpack_require__(679), createPropertyDescriptor = __webpack_require__(6980), createNonEnumerableProperty = __webpack_require__(6699), isIntegralNumber = __webpack_require__(2087), toLength = __webpack_require__(8014), toIndex = __webpack_require__(7696), toOffset = __webpack_require__(8229), toUint8Clamped = __webpack_require__(8319), toPropertyKey = __webpack_require__(6969), hasOwn = __webpack_require__(9297), classof = __webpack_require__(6955), isObject = __webpack_require__(34), isSymbol = __webpack_require__(757), create = __webpack_require__(2360), isPrototypeOf = __webpack_require__(1625), setPrototypeOf = __webpack_require__(2967), getOwnPropertyNames = __webpack_require__(8480).f, typedArrayFrom = __webpack_require__(3251), forEach = __webpack_require__(9213).forEach, setSpecies = __webpack_require__(7633), defineBuiltInAccessor = __webpack_require__(2106), definePropertyModule = __webpack_require__(4913), getOwnPropertyDescriptorModule = __webpack_require__(7347), arrayFromConstructorAndList = __webpack_require__(5370), InternalStateModule = __webpack_require__(1181), inheritIfRequired = __webpack_require__(3167), getInternalState = InternalStateModule.get, setInternalState = InternalStateModule.set, enforceInternalState = InternalStateModule.enforce, nativeDefineProperty = definePropertyModule.f, nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f, RangeError = globalThis.RangeError, ArrayBuffer = ArrayBufferModule.ArrayBuffer, ArrayBufferPrototype = ArrayBuffer.prototype, DataView = ArrayBufferModule.DataView, NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS, TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG, TypedArray = ArrayBufferViewCore.TypedArray, TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype, isTypedArray = ArrayBufferViewCore.isTypedArray, addGetter = function(it, key) {
- defineBuiltInAccessor(it, key, {
- configurable: !0,
- get: function() {
- return getInternalState(this)[key];
- }
- });
- }, isArrayBuffer = function(it) {
- var klass;
- return isPrototypeOf(ArrayBufferPrototype, it) || "ArrayBuffer" === (klass = classof(it)) || "SharedArrayBuffer" === klass;
- }, isTypedArrayIndex = function(target, key) {
- return isTypedArray(target) && !isSymbol(key) && key in target && isIntegralNumber(+key) && key >= 0;
- }, wrappedGetOwnPropertyDescriptor = function(target, key) {
- return key = toPropertyKey(key), isTypedArrayIndex(target, key) ? createPropertyDescriptor(2, target[key]) : nativeGetOwnPropertyDescriptor(target, key);
- }, wrappedDefineProperty = function(target, key, descriptor) {
- return key = toPropertyKey(key), !(isTypedArrayIndex(target, key) && isObject(descriptor) && hasOwn(descriptor, "value")) || hasOwn(descriptor, "get") || hasOwn(descriptor, "set") || descriptor.configurable || hasOwn(descriptor, "writable") && !descriptor.writable || hasOwn(descriptor, "enumerable") && !descriptor.enumerable ? nativeDefineProperty(target, key, descriptor) : (target[key] = descriptor.value,
- target);
- };
- DESCRIPTORS ? (NATIVE_ARRAY_BUFFER_VIEWS || (getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor,
- definePropertyModule.f = wrappedDefineProperty, addGetter(TypedArrayPrototype, "buffer"),
- addGetter(TypedArrayPrototype, "byteOffset"), addGetter(TypedArrayPrototype, "byteLength"),
- addGetter(TypedArrayPrototype, "length")), $({
- target: "Object",
- stat: !0,
- forced: !NATIVE_ARRAY_BUFFER_VIEWS
- }, {
- getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,
- defineProperty: wrappedDefineProperty
- }), module.exports = function(TYPE, wrapper, CLAMPED) {
- var BYTES = TYPE.match(/\d+/)[0] / 8, CONSTRUCTOR_NAME = TYPE + (CLAMPED ? "Clamped" : "") + "Array", GETTER = "get" + TYPE, SETTER = "set" + TYPE, NativeTypedArrayConstructor = globalThis[CONSTRUCTOR_NAME], TypedArrayConstructor = NativeTypedArrayConstructor, TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype, exported = {}, addElement = function(that, index) {
- nativeDefineProperty(that, index, {
- get: function() {
- return function(that, index) {
- var data = getInternalState(that);
- return data.view[GETTER](index * BYTES + data.byteOffset, !0);
- }(this, index);
- },
- set: function(value) {
- return function(that, index, value) {
- var data = getInternalState(that);
- data.view[SETTER](index * BYTES + data.byteOffset, CLAMPED ? toUint8Clamped(value) : value, !0);
- }(this, index, value);
- },
- enumerable: !0
- });
- };
- NATIVE_ARRAY_BUFFER_VIEWS ? TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS && (TypedArrayConstructor = wrapper((function(dummy, data, typedArrayOffset, $length) {
- return anInstance(dummy, TypedArrayConstructorPrototype), inheritIfRequired(isObject(data) ? isArrayBuffer(data) ? void 0 !== $length ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) : void 0 !== typedArrayOffset ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) : new NativeTypedArrayConstructor(data) : isTypedArray(data) ? arrayFromConstructorAndList(TypedArrayConstructor, data) : call(typedArrayFrom, TypedArrayConstructor, data) : new NativeTypedArrayConstructor(toIndex(data)), dummy, TypedArrayConstructor);
- })), setPrototypeOf && setPrototypeOf(TypedArrayConstructor, TypedArray), forEach(getOwnPropertyNames(NativeTypedArrayConstructor), (function(key) {
- key in TypedArrayConstructor || createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);
- })), TypedArrayConstructor.prototype = TypedArrayConstructorPrototype) : (TypedArrayConstructor = wrapper((function(that, data, offset, $length) {
- anInstance(that, TypedArrayConstructorPrototype);
- var buffer, byteLength, length, index = 0, byteOffset = 0;
- if (isObject(data)) {
- if (!isArrayBuffer(data)) return isTypedArray(data) ? arrayFromConstructorAndList(TypedArrayConstructor, data) : call(typedArrayFrom, TypedArrayConstructor, data);
- buffer = data, byteOffset = toOffset(offset, BYTES);
- var $len = data.byteLength;
- if (void 0 === $length) {
- if ($len % BYTES) throw new RangeError("Wrong length");
- if ((byteLength = $len - byteOffset) < 0) throw new RangeError("Wrong length");
- } else if ((byteLength = toLength($length) * BYTES) + byteOffset > $len) throw new RangeError("Wrong length");
- length = byteLength / BYTES;
- } else length = toIndex(data), buffer = new ArrayBuffer(byteLength = length * BYTES);
- for (setInternalState(that, {
- buffer,
- byteOffset,
- byteLength,
- length,
- view: new DataView(buffer)
- }); index < length; ) addElement(that, index++);
- })), setPrototypeOf && setPrototypeOf(TypedArrayConstructor, TypedArray), TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype)),
- TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor && createNonEnumerableProperty(TypedArrayConstructorPrototype, "constructor", TypedArrayConstructor),
- enforceInternalState(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor,
- TYPED_ARRAY_TAG && createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);
- var FORCED = TypedArrayConstructor !== NativeTypedArrayConstructor;
- exported[CONSTRUCTOR_NAME] = TypedArrayConstructor, $({
- global: !0,
- constructor: !0,
- forced: FORCED,
- sham: !NATIVE_ARRAY_BUFFER_VIEWS
- }, exported), "BYTES_PER_ELEMENT" in TypedArrayConstructor || createNonEnumerableProperty(TypedArrayConstructor, "BYTES_PER_ELEMENT", BYTES),
- "BYTES_PER_ELEMENT" in TypedArrayConstructorPrototype || createNonEnumerableProperty(TypedArrayConstructorPrototype, "BYTES_PER_ELEMENT", BYTES),
- setSpecies(CONSTRUCTOR_NAME);
- }) : module.exports = function() {};
- },
- 5854: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toPrimitive = __webpack_require__(2777), $TypeError = TypeError;
- module.exports = function(argument) {
- var prim = toPrimitive(argument, "number");
- if ("number" == typeof prim) throw new $TypeError("Can't convert number to bigint");
- return BigInt(prim);
- };
- },
- 5917: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), fails = __webpack_require__(9039), createElement = __webpack_require__(4055);
- module.exports = !DESCRIPTORS && !fails((function() {
- return 7 !== Object.defineProperty(createElement("div"), "a", {
- get: function() {
- return 7;
- }
- }).a;
- }));
- },
- 5966: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var aCallable = __webpack_require__(9306), isNullOrUndefined = __webpack_require__(4117);
- module.exports = function(V, P) {
- var func = V[P];
- return isNullOrUndefined(func) ? void 0 : aCallable(func);
- };
- },
- 6034: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), $values = __webpack_require__(2357).values;
- $({
- target: "Object",
- stat: !0
- }, {
- values: function(O) {
- return $values(O);
- }
- });
- },
- 6043: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var aCallable = __webpack_require__(9306), $TypeError = TypeError, PromiseCapability = function(C) {
- var resolve, reject;
- this.promise = new C((function($$resolve, $$reject) {
- if (void 0 !== resolve || void 0 !== reject) throw new $TypeError("Bad Promise constructor");
- resolve = $$resolve, reject = $$reject;
- })), this.resolve = aCallable(resolve), this.reject = aCallable(reject);
- };
- module.exports.f = function(C) {
- return new PromiseCapability(C);
- };
- },
- 6072: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $reduceRight = __webpack_require__(926).right, aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("reduceRight", (function(callbackfn) {
- var length = arguments.length;
- return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : void 0);
- }));
- },
- 6080: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(7476), aCallable = __webpack_require__(9306), NATIVE_BIND = __webpack_require__(616), bind = uncurryThis(uncurryThis.bind);
- module.exports = function(fn, that) {
- return aCallable(fn), void 0 === that ? fn : NATIVE_BIND ? bind(fn, that) : function() {
- return fn.apply(that, arguments);
- };
- };
- },
- 6099: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var TO_STRING_TAG_SUPPORT = __webpack_require__(2140), defineBuiltIn = __webpack_require__(6840), toString = __webpack_require__(3179);
- TO_STRING_TAG_SUPPORT || defineBuiltIn(Object.prototype, "toString", toString, {
- unsafe: !0
- });
- },
- 6119: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var shared = __webpack_require__(5745), uid = __webpack_require__(3392), keys = shared("keys");
- module.exports = function(key) {
- return keys[key] || (keys[key] = uid(key));
- };
- },
- 6193: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ENVIRONMENT = __webpack_require__(4215);
- module.exports = "NODE" === ENVIRONMENT;
- },
- 6198: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toLength = __webpack_require__(8014);
- module.exports = function(obj) {
- return toLength(obj.length);
- };
- },
- 6237: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Reader;
- var BufferReader, util = __webpack_require__(3610), LongBits = util.LongBits, utf8 = util.utf8;
- function indexOutOfRange(reader, writeLength) {
- return RangeError("index out of range: " + reader.pos + " + " + (writeLength || 1) + " > " + reader.len);
- }
- function Reader(buffer) {
- this.buf = buffer, this.pos = 0, this.len = buffer.length;
- }
- var value, create_array = "undefined" != typeof Uint8Array ? function(buffer) {
- if (buffer instanceof Uint8Array || Array.isArray(buffer)) return new Reader(buffer);
- throw Error("illegal buffer");
- } : function(buffer) {
- if (Array.isArray(buffer)) return new Reader(buffer);
- throw Error("illegal buffer");
- }, create = function() {
- return util.Buffer ? function(buffer) {
- return (Reader.create = function(buffer) {
- return util.Buffer.isBuffer(buffer) ? new BufferReader(buffer) : create_array(buffer);
- })(buffer);
- } : create_array;
- };
- function readLongVarint() {
- var bits = new LongBits(0, 0), i = 0;
- if (!(this.len - this.pos > 4)) {
- for (;i < 3; ++i) {
- if (this.pos >= this.len) throw indexOutOfRange(this);
- if (bits.lo = (bits.lo | (127 & this.buf[this.pos]) << 7 * i) >>> 0, this.buf[this.pos++] < 128) return bits;
- }
- return bits.lo = (bits.lo | (127 & this.buf[this.pos++]) << 7 * i) >>> 0, bits;
- }
- for (;i < 4; ++i) if (bits.lo = (bits.lo | (127 & this.buf[this.pos]) << 7 * i) >>> 0,
- this.buf[this.pos++] < 128) return bits;
- if (bits.lo = (bits.lo | (127 & this.buf[this.pos]) << 28) >>> 0, bits.hi = (bits.hi | (127 & this.buf[this.pos]) >> 4) >>> 0,
- this.buf[this.pos++] < 128) return bits;
- if (i = 0, this.len - this.pos > 4) {
- for (;i < 5; ++i) if (bits.hi = (bits.hi | (127 & this.buf[this.pos]) << 7 * i + 3) >>> 0,
- this.buf[this.pos++] < 128) return bits;
- } else for (;i < 5; ++i) {
- if (this.pos >= this.len) throw indexOutOfRange(this);
- if (bits.hi = (bits.hi | (127 & this.buf[this.pos]) << 7 * i + 3) >>> 0, this.buf[this.pos++] < 128) return bits;
- }
- throw Error("invalid varint encoding");
- }
- function readFixed32_end(buf, end) {
- return (buf[end - 4] | buf[end - 3] << 8 | buf[end - 2] << 16 | buf[end - 1] << 24) >>> 0;
- }
- function readFixed64() {
- if (this.pos + 8 > this.len) throw indexOutOfRange(this, 8);
- return new LongBits(readFixed32_end(this.buf, this.pos += 4), readFixed32_end(this.buf, this.pos += 4));
- }
- Reader.create = create(), Reader.prototype._slice = util.Array.prototype.subarray || util.Array.prototype.slice,
- Reader.prototype.uint32 = (value = 4294967295, function() {
- if (value = (127 & this.buf[this.pos]) >>> 0, this.buf[this.pos++] < 128) return value;
- if (value = (value | (127 & this.buf[this.pos]) << 7) >>> 0, this.buf[this.pos++] < 128) return value;
- if (value = (value | (127 & this.buf[this.pos]) << 14) >>> 0, this.buf[this.pos++] < 128) return value;
- if (value = (value | (127 & this.buf[this.pos]) << 21) >>> 0, this.buf[this.pos++] < 128) return value;
- if (value = (value | (15 & this.buf[this.pos]) << 28) >>> 0, this.buf[this.pos++] < 128) return value;
- if ((this.pos += 5) > this.len) throw this.pos = this.len, indexOutOfRange(this, 10);
- return value;
- }), Reader.prototype.int32 = function() {
- return 0 | this.uint32();
- }, Reader.prototype.sint32 = function() {
- var value = this.uint32();
- return value >>> 1 ^ -(1 & value);
- }, 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 value = util.float.readFloatLE(this.buf, this.pos);
- return this.pos += 4, value;
- }, Reader.prototype.double = function() {
- if (this.pos + 8 > this.len) throw indexOutOfRange(this, 4);
- var value = util.float.readDoubleLE(this.buf, this.pos);
- return this.pos += 8, value;
- }, Reader.prototype.bytes = function() {
- var length = this.uint32(), start = this.pos, end = this.pos + length;
- if (end > this.len) throw indexOutOfRange(this, length);
- if (this.pos += length, Array.isArray(this.buf)) return this.buf.slice(start, end);
- if (start === end) {
- var nativeBuffer = util.Buffer;
- return nativeBuffer ? nativeBuffer.alloc(0) : new this.buf.constructor(0);
- }
- return this._slice.call(this.buf, start, end);
- }, Reader.prototype.string = function() {
- var bytes = this.bytes();
- return utf8.read(bytes, 0, bytes.length);
- }, Reader.prototype.skip = function(length) {
- if ("number" == typeof length) {
- if (this.pos + length > this.len) throw indexOutOfRange(this, length);
- this.pos += length;
- } else do {
- if (this.pos >= this.len) throw indexOutOfRange(this);
- } while (128 & this.buf[this.pos++]);
- return this;
- }, Reader.prototype.skipType = function(wireType) {
- switch (wireType) {
- case 0:
- this.skip();
- break;
-
- case 1:
- this.skip(8);
- break;
-
- case 2:
- this.skip(this.uint32());
- break;
-
- case 3:
- for (;4 != (wireType = 7 & this.uint32()); ) this.skipType(wireType);
- break;
-
- case 5:
- this.skip(4);
- break;
-
- default:
- throw Error("invalid wire type " + wireType + " at offset " + this.pos);
- }
- return this;
- }, Reader._configure = function(BufferReader_) {
- BufferReader = BufferReader_, Reader.create = create(), BufferReader._configure();
- var fn = util.Long ? "toLong" : "toNumber";
- util.merge(Reader.prototype, {
- int64: function() {
- return readLongVarint.call(this)[fn](!1);
- },
- uint64: function() {
- return readLongVarint.call(this)[fn](!0);
- },
- sint64: function() {
- return readLongVarint.call(this).zzDecode()[fn](!1);
- },
- fixed64: function() {
- return readFixed64.call(this)[fn](!0);
- },
- sfixed64: function() {
- return readFixed64.call(this)[fn](!1);
- }
- });
- };
- },
- 6269: module => {
- "use strict";
- module.exports = {};
- },
- 6279: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var defineBuiltIn = __webpack_require__(6840);
- module.exports = function(target, src, options) {
- for (var key in src) defineBuiltIn(target, key, src[key], options);
- return target;
- };
- },
- 6319: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var anObject = __webpack_require__(8551), iteratorClose = __webpack_require__(9539);
- module.exports = function(iterator, fn, value, ENTRIES) {
- try {
- return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
- } catch (error) {
- iteratorClose(iterator, "throw", error);
- }
- };
- },
- 6346: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), uncurryThis = __webpack_require__(9504), DESCRIPTORS = __webpack_require__(3724), NATIVE_ARRAY_BUFFER = __webpack_require__(7811), FunctionName = __webpack_require__(350), createNonEnumerableProperty = __webpack_require__(6699), defineBuiltInAccessor = __webpack_require__(2106), defineBuiltIns = __webpack_require__(6279), fails = __webpack_require__(9039), anInstance = __webpack_require__(679), toIntegerOrInfinity = __webpack_require__(1291), toLength = __webpack_require__(8014), toIndex = __webpack_require__(7696), fround = __webpack_require__(5617), IEEE754 = __webpack_require__(8490), getPrototypeOf = __webpack_require__(2787), setPrototypeOf = __webpack_require__(2967), arrayFill = __webpack_require__(4373), arraySlice = __webpack_require__(7680), inheritIfRequired = __webpack_require__(3167), copyConstructorProperties = __webpack_require__(7740), setToStringTag = __webpack_require__(687), InternalStateModule = __webpack_require__(1181), PROPER_FUNCTION_NAME = FunctionName.PROPER, CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE, getInternalArrayBufferState = InternalStateModule.getterFor("ArrayBuffer"), getInternalDataViewState = InternalStateModule.getterFor("DataView"), setInternalState = InternalStateModule.set, NativeArrayBuffer = globalThis.ArrayBuffer, $ArrayBuffer = NativeArrayBuffer, ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer.prototype, $DataView = globalThis.DataView, DataViewPrototype = $DataView && $DataView.prototype, ObjectPrototype = Object.prototype, Array = globalThis.Array, RangeError = globalThis.RangeError, fill = uncurryThis(arrayFill), reverse = uncurryThis([].reverse), packIEEE754 = IEEE754.pack, unpackIEEE754 = IEEE754.unpack, packInt8 = function(number) {
- return [ 255 & number ];
- }, packInt16 = function(number) {
- return [ 255 & number, number >> 8 & 255 ];
- }, packInt32 = function(number) {
- return [ 255 & number, number >> 8 & 255, number >> 16 & 255, number >> 24 & 255 ];
- }, unpackInt32 = function(buffer) {
- return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];
- }, packFloat32 = function(number) {
- return packIEEE754(fround(number), 23, 4);
- }, packFloat64 = function(number) {
- return packIEEE754(number, 52, 8);
- }, addGetter = function(Constructor, key, getInternalState) {
- defineBuiltInAccessor(Constructor.prototype, key, {
- configurable: !0,
- get: function() {
- return getInternalState(this)[key];
- }
- });
- }, get = function(view, count, index, isLittleEndian) {
- var store = getInternalDataViewState(view), intIndex = toIndex(index), boolIsLittleEndian = !!isLittleEndian;
- if (intIndex + count > store.byteLength) throw new RangeError("Wrong index");
- var bytes = store.bytes, start = intIndex + store.byteOffset, pack = arraySlice(bytes, start, start + count);
- return boolIsLittleEndian ? pack : reverse(pack);
- }, set = function(view, count, index, conversion, value, isLittleEndian) {
- var store = getInternalDataViewState(view), intIndex = toIndex(index), pack = conversion(+value), boolIsLittleEndian = !!isLittleEndian;
- if (intIndex + count > store.byteLength) throw new RangeError("Wrong index");
- for (var bytes = store.bytes, start = intIndex + store.byteOffset, i = 0; i < count; i++) bytes[start + i] = pack[boolIsLittleEndian ? i : count - i - 1];
- };
- if (NATIVE_ARRAY_BUFFER) {
- var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && "ArrayBuffer" !== NativeArrayBuffer.name;
- fails((function() {
- NativeArrayBuffer(1);
- })) && fails((function() {
- new NativeArrayBuffer(-1);
- })) && !fails((function() {
- return new NativeArrayBuffer, new NativeArrayBuffer(1.5), new NativeArrayBuffer(NaN),
- 1 !== NativeArrayBuffer.length || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;
- })) ? INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME && createNonEnumerableProperty(NativeArrayBuffer, "name", "ArrayBuffer") : (($ArrayBuffer = function(length) {
- return anInstance(this, ArrayBufferPrototype), inheritIfRequired(new NativeArrayBuffer(toIndex(length)), this, $ArrayBuffer);
- }).prototype = ArrayBufferPrototype, ArrayBufferPrototype.constructor = $ArrayBuffer,
- copyConstructorProperties($ArrayBuffer, NativeArrayBuffer)), setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype && setPrototypeOf(DataViewPrototype, ObjectPrototype);
- var testView = new $DataView(new $ArrayBuffer(2)), $setInt8 = uncurryThis(DataViewPrototype.setInt8);
- testView.setInt8(0, 2147483648), testView.setInt8(1, 2147483649), !testView.getInt8(0) && testView.getInt8(1) || defineBuiltIns(DataViewPrototype, {
- setInt8: function(byteOffset, value) {
- $setInt8(this, byteOffset, value << 24 >> 24);
- },
- setUint8: function(byteOffset, value) {
- $setInt8(this, byteOffset, value << 24 >> 24);
- }
- }, {
- unsafe: !0
- });
- } else ArrayBufferPrototype = ($ArrayBuffer = function(length) {
- anInstance(this, ArrayBufferPrototype);
- var byteLength = toIndex(length);
- setInternalState(this, {
- type: "ArrayBuffer",
- bytes: fill(Array(byteLength), 0),
- byteLength
- }), DESCRIPTORS || (this.byteLength = byteLength, this.detached = !1);
- }).prototype, DataViewPrototype = ($DataView = function(buffer, byteOffset, byteLength) {
- anInstance(this, DataViewPrototype), anInstance(buffer, ArrayBufferPrototype);
- var bufferState = getInternalArrayBufferState(buffer), bufferLength = bufferState.byteLength, offset = toIntegerOrInfinity(byteOffset);
- if (offset < 0 || offset > bufferLength) throw new RangeError("Wrong offset");
- if (offset + (byteLength = void 0 === byteLength ? bufferLength - offset : toLength(byteLength)) > bufferLength) throw new RangeError("Wrong length");
- setInternalState(this, {
- type: "DataView",
- buffer,
- byteLength,
- byteOffset: offset,
- bytes: bufferState.bytes
- }), DESCRIPTORS || (this.buffer = buffer, this.byteLength = byteLength, this.byteOffset = offset);
- }).prototype, DESCRIPTORS && (addGetter($ArrayBuffer, "byteLength", getInternalArrayBufferState),
- addGetter($DataView, "buffer", getInternalDataViewState), addGetter($DataView, "byteLength", getInternalDataViewState),
- addGetter($DataView, "byteOffset", getInternalDataViewState)), defineBuiltIns(DataViewPrototype, {
- getInt8: function(byteOffset) {
- return get(this, 1, byteOffset)[0] << 24 >> 24;
- },
- getUint8: function(byteOffset) {
- return get(this, 1, byteOffset)[0];
- },
- getInt16: function(byteOffset) {
- var bytes = get(this, 2, byteOffset, arguments.length > 1 && arguments[1]);
- return (bytes[1] << 8 | bytes[0]) << 16 >> 16;
- },
- getUint16: function(byteOffset) {
- var bytes = get(this, 2, byteOffset, arguments.length > 1 && arguments[1]);
- return bytes[1] << 8 | bytes[0];
- },
- getInt32: function(byteOffset) {
- return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 && arguments[1]));
- },
- getUint32: function(byteOffset) {
- return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 && arguments[1])) >>> 0;
- },
- getFloat32: function(byteOffset) {
- return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 && arguments[1]), 23);
- },
- getFloat64: function(byteOffset) {
- return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 && arguments[1]), 52);
- },
- setInt8: function(byteOffset, value) {
- set(this, 1, byteOffset, packInt8, value);
- },
- setUint8: function(byteOffset, value) {
- set(this, 1, byteOffset, packInt8, value);
- },
- setInt16: function(byteOffset, value) {
- set(this, 2, byteOffset, packInt16, value, arguments.length > 2 && arguments[2]);
- },
- setUint16: function(byteOffset, value) {
- set(this, 2, byteOffset, packInt16, value, arguments.length > 2 && arguments[2]);
- },
- setInt32: function(byteOffset, value) {
- set(this, 4, byteOffset, packInt32, value, arguments.length > 2 && arguments[2]);
- },
- setUint32: function(byteOffset, value) {
- set(this, 4, byteOffset, packInt32, value, arguments.length > 2 && arguments[2]);
- },
- setFloat32: function(byteOffset, value) {
- set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 && arguments[2]);
- },
- setFloat64: function(byteOffset, value) {
- set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 && arguments[2]);
- }
- });
- setToStringTag($ArrayBuffer, "ArrayBuffer"), setToStringTag($DataView, "DataView"),
- module.exports = {
- ArrayBuffer: $ArrayBuffer,
- DataView: $DataView
- };
- },
- 6395: module => {
- "use strict";
- module.exports = !1;
- },
- 6434: (__unused_webpack_module, exports, __webpack_require__) => {
- "use strict";
- var wrappers = exports, Message = __webpack_require__(2551);
- wrappers[".google.protobuf.Any"] = {
- fromObject: function(object) {
- if (object && object["@type"]) {
- var name = object["@type"].substring(object["@type"].lastIndexOf("/") + 1), type = this.lookup(name);
- if (type) {
- var type_url = "." === object["@type"].charAt(0) ? object["@type"].slice(1) : object["@type"];
- return -1 === type_url.indexOf("/") && (type_url = "/" + type_url), this.create({
- type_url,
- value: type.encode(type.fromObject(object)).finish()
- });
- }
- }
- return this.fromObject(object);
- },
- toObject: function(message, options) {
- var prefix = "", name = "";
- if (options && options.json && message.type_url && message.value) {
- name = message.type_url.substring(message.type_url.lastIndexOf("/") + 1), prefix = message.type_url.substring(0, message.type_url.lastIndexOf("/") + 1);
- var type = this.lookup(name);
- type && (message = type.decode(message.value));
- }
- if (!(message instanceof this.ctor) && message instanceof Message) {
- var object = message.$type.toObject(message, options);
- return "" === prefix && (prefix = "type.googleapis.com/"), name = prefix + ("." === message.$type.fullName[0] ? message.$type.fullName.slice(1) : message.$type.fullName),
- object["@type"] = name, object;
- }
- return this.toObject(message, options);
- }
- };
- },
- 6449: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), flattenIntoArray = __webpack_require__(259), toObject = __webpack_require__(8981), lengthOfArrayLike = __webpack_require__(6198), toIntegerOrInfinity = __webpack_require__(1291), arraySpeciesCreate = __webpack_require__(1469);
- $({
- target: "Array",
- proto: !0
- }, {
- flat: function() {
- var depthArg = arguments.length ? arguments[0] : void 0, O = toObject(this), sourceLen = lengthOfArrayLike(O), A = arraySpeciesCreate(O, 0);
- return A.length = flattenIntoArray(A, O, O, sourceLen, 0, void 0 === depthArg ? 1 : toIntegerOrInfinity(depthArg)),
- A;
- }
- });
- },
- 6468: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), globalThis = __webpack_require__(4576), uncurryThis = __webpack_require__(9504), isForced = __webpack_require__(2796), defineBuiltIn = __webpack_require__(6840), InternalMetadataModule = __webpack_require__(3451), iterate = __webpack_require__(2652), anInstance = __webpack_require__(679), isCallable = __webpack_require__(4901), isNullOrUndefined = __webpack_require__(4117), isObject = __webpack_require__(34), fails = __webpack_require__(9039), checkCorrectnessOfIteration = __webpack_require__(4428), setToStringTag = __webpack_require__(687), inheritIfRequired = __webpack_require__(3167);
- module.exports = function(CONSTRUCTOR_NAME, wrapper, common) {
- var IS_MAP = -1 !== CONSTRUCTOR_NAME.indexOf("Map"), IS_WEAK = -1 !== CONSTRUCTOR_NAME.indexOf("Weak"), ADDER = IS_MAP ? "set" : "add", NativeConstructor = globalThis[CONSTRUCTOR_NAME], NativePrototype = NativeConstructor && NativeConstructor.prototype, Constructor = NativeConstructor, exported = {}, fixMethod = function(KEY) {
- var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);
- defineBuiltIn(NativePrototype, KEY, "add" === KEY ? function(value) {
- return uncurriedNativeMethod(this, 0 === value ? 0 : value), this;
- } : "delete" === KEY ? function(key) {
- return !(IS_WEAK && !isObject(key)) && uncurriedNativeMethod(this, 0 === key ? 0 : key);
- } : "get" === KEY ? function(key) {
- return IS_WEAK && !isObject(key) ? void 0 : uncurriedNativeMethod(this, 0 === key ? 0 : key);
- } : "has" === KEY ? function(key) {
- return !(IS_WEAK && !isObject(key)) && uncurriedNativeMethod(this, 0 === key ? 0 : key);
- } : function(key, value) {
- return uncurriedNativeMethod(this, 0 === key ? 0 : key, value), this;
- });
- };
- if (isForced(CONSTRUCTOR_NAME, !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails((function() {
- (new NativeConstructor).entries().next();
- }))))) Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER),
- InternalMetadataModule.enable(); else if (isForced(CONSTRUCTOR_NAME, !0)) {
- var instance = new Constructor, HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance, THROWS_ON_PRIMITIVES = fails((function() {
- instance.has(1);
- })), ACCEPT_ITERABLES = checkCorrectnessOfIteration((function(iterable) {
- new NativeConstructor(iterable);
- })), BUGGY_ZERO = !IS_WEAK && fails((function() {
- for (var $instance = new NativeConstructor, index = 5; index--; ) $instance[ADDER](index, index);
- return !$instance.has(-0);
- }));
- ACCEPT_ITERABLES || ((Constructor = wrapper((function(dummy, iterable) {
- anInstance(dummy, NativePrototype);
- var that = inheritIfRequired(new NativeConstructor, dummy, Constructor);
- return isNullOrUndefined(iterable) || iterate(iterable, that[ADDER], {
- that,
- AS_ENTRIES: IS_MAP
- }), that;
- }))).prototype = NativePrototype, NativePrototype.constructor = Constructor), (THROWS_ON_PRIMITIVES || BUGGY_ZERO) && (fixMethod("delete"),
- fixMethod("has"), IS_MAP && fixMethod("get")), (BUGGY_ZERO || HASNT_CHAINING) && fixMethod(ADDER),
- IS_WEAK && NativePrototype.clear && delete NativePrototype.clear;
- }
- return exported[CONSTRUCTOR_NAME] = Constructor, $({
- global: !0,
- constructor: !0,
- forced: Constructor !== NativeConstructor
- }, exported), setToStringTag(Constructor, CONSTRUCTOR_NAME), IS_WEAK || common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP),
- Constructor;
- };
- },
- 6469: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var wellKnownSymbol = __webpack_require__(8227), create = __webpack_require__(2360), defineProperty = __webpack_require__(4913).f, UNSCOPABLES = wellKnownSymbol("unscopables"), ArrayPrototype = Array.prototype;
- void 0 === ArrayPrototype[UNSCOPABLES] && defineProperty(ArrayPrototype, UNSCOPABLES, {
- configurable: !0,
- value: create(null)
- }), module.exports = function(key) {
- ArrayPrototype[UNSCOPABLES][key] = !0;
- };
- },
- 6499: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), call = __webpack_require__(9565), aCallable = __webpack_require__(9306), newPromiseCapabilityModule = __webpack_require__(6043), perform = __webpack_require__(1103), iterate = __webpack_require__(2652);
- $({
- target: "Promise",
- stat: !0,
- forced: __webpack_require__(537)
- }, {
- all: function(iterable) {
- var C = this, capability = newPromiseCapabilityModule.f(C), resolve = capability.resolve, reject = capability.reject, result = perform((function() {
- var $promiseResolve = aCallable(C.resolve), values = [], counter = 0, remaining = 1;
- iterate(iterable, (function(promise) {
- var index = counter++, alreadyCalled = !1;
- remaining++, call($promiseResolve, C, promise).then((function(value) {
- alreadyCalled || (alreadyCalled = !0, values[index] = value, --remaining || resolve(values));
- }), reject);
- })), --remaining || resolve(values);
- }));
- return result.error && reject(result.value), capability.promise;
- }
- });
- },
- 6518: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), getOwnPropertyDescriptor = __webpack_require__(7347).f, createNonEnumerableProperty = __webpack_require__(6699), defineBuiltIn = __webpack_require__(6840), defineGlobalProperty = __webpack_require__(9433), copyConstructorProperties = __webpack_require__(7740), isForced = __webpack_require__(2796);
- module.exports = function(options, source) {
- var target, key, targetProperty, sourceProperty, descriptor, TARGET = options.target, GLOBAL = options.global, STATIC = options.stat;
- if (target = GLOBAL ? globalThis : STATIC ? globalThis[TARGET] || defineGlobalProperty(TARGET, {}) : globalThis[TARGET] && globalThis[TARGET].prototype) for (key in source) {
- if (sourceProperty = source[key], targetProperty = options.dontCallGetSet ? (descriptor = getOwnPropertyDescriptor(target, key)) && descriptor.value : target[key],
- !isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced) && void 0 !== targetProperty) {
- if (typeof sourceProperty == typeof targetProperty) continue;
- copyConstructorProperties(sourceProperty, targetProperty);
- }
- (options.sham || targetProperty && targetProperty.sham) && createNonEnumerableProperty(sourceProperty, "sham", !0),
- defineBuiltIn(target, key, sourceProperty, options);
- }
- };
- },
- 6614: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), toLength = __webpack_require__(8014), toAbsoluteIndex = __webpack_require__(5610), aTypedArray = ArrayBufferViewCore.aTypedArray, getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("subarray", (function(begin, end) {
- var O = aTypedArray(this), length = O.length, beginIndex = toAbsoluteIndex(begin, length);
- return new (getTypedArrayConstructor(O))(O.buffer, O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, toLength((void 0 === end ? length : toAbsoluteIndex(end, length)) - beginIndex));
- }));
- },
- 6651: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $indexOf = __webpack_require__(9617).indexOf, aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("indexOf", (function(searchElement) {
- return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : void 0);
- }));
- },
- 6682: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var call = __webpack_require__(9565), anObject = __webpack_require__(8551), isCallable = __webpack_require__(4901), classof = __webpack_require__(2195), regexpExec = __webpack_require__(7323), $TypeError = TypeError;
- module.exports = function(R, S) {
- var exec = R.exec;
- if (isCallable(exec)) {
- var result = call(exec, R, S);
- return null !== result && anObject(result), result;
- }
- if ("RegExp" === classof(R)) return call(regexpExec, R, S);
- throw new $TypeError("RegExp#exec called on incompatible receiver");
- };
- },
- 6699: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), definePropertyModule = __webpack_require__(4913), createPropertyDescriptor = __webpack_require__(6980);
- module.exports = DESCRIPTORS ? function(object, key, value) {
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
- } : function(object, key, value) {
- return object[key] = value, object;
- };
- },
- 6706: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), aCallable = __webpack_require__(9306);
- module.exports = function(object, key, method) {
- try {
- return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
- } catch (error) {}
- };
- },
- 6761: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), globalThis = __webpack_require__(4576), call = __webpack_require__(9565), uncurryThis = __webpack_require__(9504), IS_PURE = __webpack_require__(6395), DESCRIPTORS = __webpack_require__(3724), NATIVE_SYMBOL = __webpack_require__(4495), fails = __webpack_require__(9039), hasOwn = __webpack_require__(9297), isPrototypeOf = __webpack_require__(1625), anObject = __webpack_require__(8551), toIndexedObject = __webpack_require__(5397), toPropertyKey = __webpack_require__(6969), $toString = __webpack_require__(655), createPropertyDescriptor = __webpack_require__(6980), nativeObjectCreate = __webpack_require__(2360), objectKeys = __webpack_require__(1072), getOwnPropertyNamesModule = __webpack_require__(8480), getOwnPropertyNamesExternal = __webpack_require__(298), getOwnPropertySymbolsModule = __webpack_require__(3717), getOwnPropertyDescriptorModule = __webpack_require__(7347), definePropertyModule = __webpack_require__(4913), definePropertiesModule = __webpack_require__(6801), propertyIsEnumerableModule = __webpack_require__(8773), defineBuiltIn = __webpack_require__(6840), defineBuiltInAccessor = __webpack_require__(2106), shared = __webpack_require__(5745), sharedKey = __webpack_require__(6119), hiddenKeys = __webpack_require__(421), uid = __webpack_require__(3392), wellKnownSymbol = __webpack_require__(8227), wrappedWellKnownSymbolModule = __webpack_require__(1951), defineWellKnownSymbol = __webpack_require__(511), defineSymbolToPrimitive = __webpack_require__(8242), setToStringTag = __webpack_require__(687), InternalStateModule = __webpack_require__(1181), $forEach = __webpack_require__(9213).forEach, HIDDEN = sharedKey("hidden"), setInternalState = InternalStateModule.set, getInternalState = InternalStateModule.getterFor("Symbol"), ObjectPrototype = Object.prototype, $Symbol = globalThis.Symbol, SymbolPrototype = $Symbol && $Symbol.prototype, RangeError = globalThis.RangeError, TypeError = globalThis.TypeError, QObject = globalThis.QObject, nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f, nativeDefineProperty = definePropertyModule.f, nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f, nativePropertyIsEnumerable = propertyIsEnumerableModule.f, push = uncurryThis([].push), AllSymbols = shared("symbols"), ObjectPrototypeSymbols = shared("op-symbols"), WellKnownSymbolsStore = shared("wks"), USE_SETTER = !QObject || !QObject.prototype || !QObject.prototype.findChild, fallbackDefineProperty = function(O, P, Attributes) {
- var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
- ObjectPrototypeDescriptor && delete ObjectPrototype[P], nativeDefineProperty(O, P, Attributes),
- ObjectPrototypeDescriptor && O !== ObjectPrototype && nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
- }, setSymbolDescriptor = DESCRIPTORS && fails((function() {
- return 7 !== nativeObjectCreate(nativeDefineProperty({}, "a", {
- get: function() {
- return nativeDefineProperty(this, "a", {
- value: 7
- }).a;
- }
- })).a;
- })) ? fallbackDefineProperty : nativeDefineProperty, wrap = function(tag, description) {
- var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);
- return setInternalState(symbol, {
- type: "Symbol",
- tag,
- description
- }), DESCRIPTORS || (symbol.description = description), symbol;
- }, $defineProperty = function(O, P, Attributes) {
- O === ObjectPrototype && $defineProperty(ObjectPrototypeSymbols, P, Attributes),
- anObject(O);
- var key = toPropertyKey(P);
- return anObject(Attributes), hasOwn(AllSymbols, key) ? (Attributes.enumerable ? (hasOwn(O, HIDDEN) && O[HIDDEN][key] && (O[HIDDEN][key] = !1),
- Attributes = nativeObjectCreate(Attributes, {
- enumerable: createPropertyDescriptor(0, !1)
- })) : (hasOwn(O, HIDDEN) || nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, nativeObjectCreate(null))),
- O[HIDDEN][key] = !0), setSymbolDescriptor(O, key, Attributes)) : nativeDefineProperty(O, key, Attributes);
- }, $defineProperties = function(O, Properties) {
- anObject(O);
- var properties = toIndexedObject(Properties), keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
- return $forEach(keys, (function(key) {
- DESCRIPTORS && !call($propertyIsEnumerable, properties, key) || $defineProperty(O, key, properties[key]);
- })), O;
- }, $propertyIsEnumerable = function(V) {
- var P = toPropertyKey(V), enumerable = call(nativePropertyIsEnumerable, this, P);
- return !(this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) && (!(enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]) || enumerable);
- }, $getOwnPropertyDescriptor = function(O, P) {
- var it = toIndexedObject(O), key = toPropertyKey(P);
- if (it !== ObjectPrototype || !hasOwn(AllSymbols, key) || hasOwn(ObjectPrototypeSymbols, key)) {
- var descriptor = nativeGetOwnPropertyDescriptor(it, key);
- return !descriptor || !hasOwn(AllSymbols, key) || hasOwn(it, HIDDEN) && it[HIDDEN][key] || (descriptor.enumerable = !0),
- descriptor;
- }
- }, $getOwnPropertyNames = function(O) {
- var names = nativeGetOwnPropertyNames(toIndexedObject(O)), result = [];
- return $forEach(names, (function(key) {
- hasOwn(AllSymbols, key) || hasOwn(hiddenKeys, key) || push(result, key);
- })), result;
- }, $getOwnPropertySymbols = function(O) {
- var IS_OBJECT_PROTOTYPE = O === ObjectPrototype, names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)), result = [];
- return $forEach(names, (function(key) {
- !hasOwn(AllSymbols, key) || IS_OBJECT_PROTOTYPE && !hasOwn(ObjectPrototype, key) || push(result, AllSymbols[key]);
- })), result;
- };
- NATIVE_SYMBOL || (defineBuiltIn(SymbolPrototype = ($Symbol = function() {
- if (isPrototypeOf(SymbolPrototype, this)) throw new TypeError("Symbol is not a constructor");
- var description = arguments.length && void 0 !== arguments[0] ? $toString(arguments[0]) : void 0, tag = uid(description), setter = function(value) {
- var $this = void 0 === this ? globalThis : this;
- $this === ObjectPrototype && call(setter, ObjectPrototypeSymbols, value), hasOwn($this, HIDDEN) && hasOwn($this[HIDDEN], tag) && ($this[HIDDEN][tag] = !1);
- var descriptor = createPropertyDescriptor(1, value);
- try {
- setSymbolDescriptor($this, tag, descriptor);
- } catch (error) {
- if (!(error instanceof RangeError)) throw error;
- fallbackDefineProperty($this, tag, descriptor);
- }
- };
- return DESCRIPTORS && USE_SETTER && setSymbolDescriptor(ObjectPrototype, tag, {
- configurable: !0,
- set: setter
- }), wrap(tag, description);
- }).prototype, "toString", (function() {
- return getInternalState(this).tag;
- })), defineBuiltIn($Symbol, "withoutSetter", (function(description) {
- return wrap(uid(description), description);
- })), propertyIsEnumerableModule.f = $propertyIsEnumerable, definePropertyModule.f = $defineProperty,
- definePropertiesModule.f = $defineProperties, getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor,
- getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames,
- getOwnPropertySymbolsModule.f = $getOwnPropertySymbols, wrappedWellKnownSymbolModule.f = function(name) {
- return wrap(wellKnownSymbol(name), name);
- }, DESCRIPTORS && (defineBuiltInAccessor(SymbolPrototype, "description", {
- configurable: !0,
- get: function() {
- return getInternalState(this).description;
- }
- }), IS_PURE || defineBuiltIn(ObjectPrototype, "propertyIsEnumerable", $propertyIsEnumerable, {
- unsafe: !0
- }))), $({
- global: !0,
- constructor: !0,
- wrap: !0,
- forced: !NATIVE_SYMBOL,
- sham: !NATIVE_SYMBOL
- }, {
- Symbol: $Symbol
- }), $forEach(objectKeys(WellKnownSymbolsStore), (function(name) {
- defineWellKnownSymbol(name);
- })), $({
- target: "Symbol",
- stat: !0,
- forced: !NATIVE_SYMBOL
- }, {
- useSetter: function() {
- USE_SETTER = !0;
- },
- useSimple: function() {
- USE_SETTER = !1;
- }
- }), $({
- target: "Object",
- stat: !0,
- forced: !NATIVE_SYMBOL,
- sham: !DESCRIPTORS
- }, {
- create: function(O, Properties) {
- return void 0 === Properties ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
- },
- defineProperty: $defineProperty,
- defineProperties: $defineProperties,
- getOwnPropertyDescriptor: $getOwnPropertyDescriptor
- }), $({
- target: "Object",
- stat: !0,
- forced: !NATIVE_SYMBOL
- }, {
- getOwnPropertyNames: $getOwnPropertyNames
- }), defineSymbolToPrimitive(), setToStringTag($Symbol, "Symbol"), hiddenKeys[HIDDEN] = !0;
- },
- 6801: (__unused_webpack_module, exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686), definePropertyModule = __webpack_require__(4913), anObject = __webpack_require__(8551), toIndexedObject = __webpack_require__(5397), objectKeys = __webpack_require__(1072);
- exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function(O, Properties) {
- anObject(O);
- for (var key, props = toIndexedObject(Properties), keys = objectKeys(Properties), length = keys.length, index = 0; length > index; ) definePropertyModule.f(O, key = keys[index++], props[key]);
- return O;
- };
- },
- 6812: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), apply = __webpack_require__(8745), $lastIndexOf = __webpack_require__(8379), aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("lastIndexOf", (function(searchElement) {
- var length = arguments.length;
- return apply($lastIndexOf, aTypedArray(this), length > 1 ? [ searchElement, arguments[1] ] : [ searchElement ]);
- }));
- },
- 6823: module => {
- "use strict";
- var $String = String;
- module.exports = function(argument) {
- try {
- return $String(argument);
- } catch (error) {
- return "Object";
- }
- };
- },
- 6837: module => {
- "use strict";
- var $TypeError = TypeError;
- module.exports = function(it) {
- if (it > 9007199254740991) throw $TypeError("Maximum allowed index exceeded");
- return it;
- };
- },
- 6840: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isCallable = __webpack_require__(4901), definePropertyModule = __webpack_require__(4913), makeBuiltIn = __webpack_require__(283), defineGlobalProperty = __webpack_require__(9433);
- module.exports = function(O, key, value, options) {
- options || (options = {});
- var simple = options.enumerable, name = void 0 !== options.name ? options.name : key;
- if (isCallable(value) && makeBuiltIn(value, name, options), options.global) simple ? O[key] = value : defineGlobalProperty(key, value); else {
- try {
- options.unsafe ? O[key] && (simple = !0) : delete O[key];
- } catch (error) {}
- simple ? O[key] = value : definePropertyModule.f(O, key, {
- value,
- enumerable: !1,
- configurable: !options.nonConfigurable,
- writable: !options.nonWritable
- });
- }
- return O;
- };
- },
- 6910: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), uncurryThis = __webpack_require__(9504), aCallable = __webpack_require__(9306), toObject = __webpack_require__(8981), lengthOfArrayLike = __webpack_require__(6198), deletePropertyOrThrow = __webpack_require__(4606), toString = __webpack_require__(655), fails = __webpack_require__(9039), internalSort = __webpack_require__(4488), arrayMethodIsStrict = __webpack_require__(4598), FF = __webpack_require__(3709), IE_OR_EDGE = __webpack_require__(3763), V8 = __webpack_require__(9519), WEBKIT = __webpack_require__(3607), test = [], nativeSort = uncurryThis(test.sort), push = uncurryThis(test.push), FAILS_ON_UNDEFINED = fails((function() {
- test.sort(void 0);
- })), FAILS_ON_NULL = fails((function() {
- test.sort(null);
- })), STRICT_METHOD = arrayMethodIsStrict("sort"), STABLE_SORT = !fails((function() {
- if (V8) return V8 < 70;
- if (!(FF && FF > 3)) {
- if (IE_OR_EDGE) return !0;
- if (WEBKIT) return WEBKIT < 603;
- var code, chr, value, index, result = "";
- for (code = 65; code < 76; code++) {
- switch (chr = String.fromCharCode(code), code) {
- case 66:
- case 69:
- case 70:
- case 72:
- value = 3;
- break;
-
- case 68:
- case 71:
- value = 4;
- break;
-
- default:
- value = 2;
- }
- for (index = 0; index < 47; index++) test.push({
- k: chr + index,
- v: value
- });
- }
- for (test.sort((function(a, b) {
- return b.v - a.v;
- })), index = 0; index < test.length; index++) chr = test[index].k.charAt(0), result.charAt(result.length - 1) !== chr && (result += chr);
- return "DGBEFHACIJK" !== result;
- }
- }));
- $({
- target: "Array",
- proto: !0,
- forced: FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT
- }, {
- sort: function(comparefn) {
- void 0 !== comparefn && aCallable(comparefn);
- var array = toObject(this);
- if (STABLE_SORT) return void 0 === comparefn ? nativeSort(array) : nativeSort(array, comparefn);
- var itemsLength, index, items = [], arrayLength = lengthOfArrayLike(array);
- for (index = 0; index < arrayLength; index++) index in array && push(items, array[index]);
- for (internalSort(items, function(comparefn) {
- return function(x, y) {
- return void 0 === y ? -1 : void 0 === x ? 1 : void 0 !== comparefn ? +comparefn(x, y) || 0 : toString(x) > toString(y) ? 1 : -1;
- };
- }(comparefn)), itemsLength = lengthOfArrayLike(items), index = 0; index < itemsLength; ) array[index] = items[index++];
- for (;index < arrayLength; ) deletePropertyOrThrow(array, index++);
- return array;
- }
- });
- },
- 6933: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), isArray = __webpack_require__(4376), isCallable = __webpack_require__(4901), classof = __webpack_require__(2195), toString = __webpack_require__(655), push = uncurryThis([].push);
- module.exports = function(replacer) {
- if (isCallable(replacer)) return replacer;
- if (isArray(replacer)) {
- for (var rawLength = replacer.length, keys = [], i = 0; i < rawLength; i++) {
- var element = replacer[i];
- "string" == typeof element ? push(keys, element) : "number" != typeof element && "Number" !== classof(element) && "String" !== classof(element) || push(keys, toString(element));
- }
- var keysLength = keys.length, root = !0;
- return function(key, value) {
- if (root) return root = !1, value;
- if (isArray(this)) return value;
- for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
- };
- }
- };
- },
- 6938: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var create = __webpack_require__(2360), defineBuiltInAccessor = __webpack_require__(2106), defineBuiltIns = __webpack_require__(6279), bind = __webpack_require__(6080), anInstance = __webpack_require__(679), isNullOrUndefined = __webpack_require__(4117), iterate = __webpack_require__(2652), defineIterator = __webpack_require__(1088), createIterResultObject = __webpack_require__(2529), setSpecies = __webpack_require__(7633), DESCRIPTORS = __webpack_require__(3724), fastKey = __webpack_require__(3451).fastKey, InternalStateModule = __webpack_require__(1181), setInternalState = InternalStateModule.set, internalStateGetterFor = InternalStateModule.getterFor;
- module.exports = {
- getConstructor: function(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
- var Constructor = wrapper((function(that, iterable) {
- anInstance(that, Prototype), setInternalState(that, {
- type: CONSTRUCTOR_NAME,
- index: create(null),
- first: null,
- last: null,
- size: 0
- }), DESCRIPTORS || (that.size = 0), isNullOrUndefined(iterable) || iterate(iterable, that[ADDER], {
- that,
- AS_ENTRIES: IS_MAP
- });
- })), Prototype = Constructor.prototype, getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME), define = function(that, key, value) {
- var previous, index, state = getInternalState(that), entry = getEntry(that, key);
- return entry ? entry.value = value : (state.last = entry = {
- index: index = fastKey(key, !0),
- key,
- value,
- previous: previous = state.last,
- next: null,
- removed: !1
- }, state.first || (state.first = entry), previous && (previous.next = entry), DESCRIPTORS ? state.size++ : that.size++,
- "F" !== index && (state.index[index] = entry)), that;
- }, getEntry = function(that, key) {
- var entry, state = getInternalState(that), index = fastKey(key);
- if ("F" !== index) return state.index[index];
- for (entry = state.first; entry; entry = entry.next) if (entry.key === key) return entry;
- };
- return defineBuiltIns(Prototype, {
- clear: function() {
- for (var state = getInternalState(this), entry = state.first; entry; ) entry.removed = !0,
- entry.previous && (entry.previous = entry.previous.next = null), entry = entry.next;
- state.first = state.last = null, state.index = create(null), DESCRIPTORS ? state.size = 0 : this.size = 0;
- },
- "delete": function(key) {
- var state = getInternalState(this), entry = getEntry(this, key);
- if (entry) {
- var next = entry.next, prev = entry.previous;
- delete state.index[entry.index], entry.removed = !0, prev && (prev.next = next),
- next && (next.previous = prev), state.first === entry && (state.first = next), state.last === entry && (state.last = prev),
- DESCRIPTORS ? state.size-- : this.size--;
- }
- return !!entry;
- },
- forEach: function(callbackfn) {
- for (var entry, state = getInternalState(this), boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : void 0); entry = entry ? entry.next : state.first; ) for (boundFunction(entry.value, entry.key, this); entry && entry.removed; ) entry = entry.previous;
- },
- has: function(key) {
- return !!getEntry(this, key);
- }
- }), defineBuiltIns(Prototype, IS_MAP ? {
- get: function(key) {
- var entry = getEntry(this, key);
- return entry && entry.value;
- },
- set: function(key, value) {
- return define(this, 0 === key ? 0 : key, value);
- }
- } : {
- add: function(value) {
- return define(this, value = 0 === value ? 0 : value, value);
- }
- }), DESCRIPTORS && defineBuiltInAccessor(Prototype, "size", {
- configurable: !0,
- get: function() {
- return getInternalState(this).size;
- }
- }), Constructor;
- },
- setStrong: function(Constructor, CONSTRUCTOR_NAME, IS_MAP) {
- var ITERATOR_NAME = CONSTRUCTOR_NAME + " Iterator", getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME), getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);
- defineIterator(Constructor, CONSTRUCTOR_NAME, (function(iterated, kind) {
- setInternalState(this, {
- type: ITERATOR_NAME,
- target: iterated,
- state: getInternalCollectionState(iterated),
- kind,
- last: null
- });
- }), (function() {
- for (var state = getInternalIteratorState(this), kind = state.kind, entry = state.last; entry && entry.removed; ) entry = entry.previous;
- return state.target && (state.last = entry = entry ? entry.next : state.state.first) ? createIterResultObject("keys" === kind ? entry.key : "values" === kind ? entry.value : [ entry.key, entry.value ], !1) : (state.target = null,
- createIterResultObject(void 0, !0));
- }), IS_MAP ? "entries" : "values", !IS_MAP, !0), setSpecies(CONSTRUCTOR_NAME);
- }
- };
- },
- 6955: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var TO_STRING_TAG_SUPPORT = __webpack_require__(2140), isCallable = __webpack_require__(4901), classofRaw = __webpack_require__(2195), TO_STRING_TAG = __webpack_require__(8227)("toStringTag"), $Object = Object, CORRECT_ARGUMENTS = "Arguments" === classofRaw(function() {
- return arguments;
- }());
- module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
- var O, tag, result;
- return void 0 === it ? "Undefined" : null === it ? "Null" : "string" == typeof (tag = function(it, key) {
- try {
- return it[key];
- } catch (error) {}
- }(O = $Object(it), TO_STRING_TAG)) ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : "Object" === (result = classofRaw(O)) && isCallable(O.callee) ? "Arguments" : result;
- };
- },
- 6969: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toPrimitive = __webpack_require__(2777), isSymbol = __webpack_require__(757);
- module.exports = function(argument) {
- var key = toPrimitive(argument, "string");
- return isSymbol(key) ? key : key + "";
- };
- },
- 6980: module => {
- "use strict";
- module.exports = function(bitmap, value) {
- return {
- enumerable: !(1 & bitmap),
- configurable: !(2 & bitmap),
- writable: !(4 & bitmap),
- value
- };
- };
- },
- 7029: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toObject = __webpack_require__(8981), toAbsoluteIndex = __webpack_require__(5610), lengthOfArrayLike = __webpack_require__(6198), deletePropertyOrThrow = __webpack_require__(4606), min = Math.min;
- module.exports = [].copyWithin || function(target, start) {
- var O = toObject(this), len = lengthOfArrayLike(O), to = toAbsoluteIndex(target, len), from = toAbsoluteIndex(start, len), end = arguments.length > 2 ? arguments[2] : void 0, count = min((void 0 === end ? len : toAbsoluteIndex(end, len)) - from, len - to), inc = 1;
- for (from < to && to < from + count && (inc = -1, from += count - 1, to += count - 1); count-- > 0; ) from in O ? O[to] = O[from] : deletePropertyOrThrow(O, to),
- to += inc, from += inc;
- return O;
- };
- },
- 7040: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var NATIVE_SYMBOL = __webpack_require__(4495);
- module.exports = NATIVE_SYMBOL && !Symbol.sham && "symbol" == typeof Symbol.iterator;
- },
- 7055: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), fails = __webpack_require__(9039), classof = __webpack_require__(2195), $Object = Object, split = uncurryThis("".split);
- module.exports = fails((function() {
- return !$Object("z").propertyIsEnumerable(0);
- })) ? function(it) {
- return "String" === classof(it) ? split(it, "") : $Object(it);
- } : $Object;
- },
- 7209: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = ReflectionObject, ReflectionObject.className = "ReflectionObject";
- var Root, util = __webpack_require__(3262);
- function ReflectionObject(name, options) {
- if (!util.isString(name)) throw TypeError("name must be a string");
- if (options && !util.isObject(options)) throw TypeError("options must be an object");
- this.options = options, this.parsedOptions = null, this.name = name, this.parent = null,
- this.resolved = !1, this.comment = null, this.filename = null;
- }
- Object.defineProperties(ReflectionObject.prototype, {
- root: {
- get: function() {
- for (var ptr = this; null !== ptr.parent; ) ptr = ptr.parent;
- return ptr;
- }
- },
- fullName: {
- get: function() {
- for (var path = [ this.name ], ptr = this.parent; ptr; ) path.unshift(ptr.name),
- ptr = ptr.parent;
- return path.join(".");
- }
- }
- }), ReflectionObject.prototype.toJSON = function() {
- throw Error();
- }, ReflectionObject.prototype.onAdd = function(parent) {
- this.parent && this.parent !== parent && this.parent.remove(this), this.parent = parent,
- this.resolved = !1;
- var root = parent.root;
- root instanceof Root && root._handleAdd(this);
- }, ReflectionObject.prototype.onRemove = function(parent) {
- var root = parent.root;
- root instanceof Root && root._handleRemove(this), this.parent = null, this.resolved = !1;
- }, ReflectionObject.prototype.resolve = function() {
- return this.resolved || this.root instanceof Root && (this.resolved = !0), this;
- }, ReflectionObject.prototype.getOption = function(name) {
- if (this.options) return this.options[name];
- }, ReflectionObject.prototype.setOption = function(name, value, ifNotSet) {
- return ifNotSet && this.options && void 0 !== this.options[name] || ((this.options || (this.options = {}))[name] = value),
- this;
- }, ReflectionObject.prototype.setParsedOption = function(name, value, propName) {
- this.parsedOptions || (this.parsedOptions = []);
- var parsedOptions = this.parsedOptions;
- if (propName) {
- var opt = parsedOptions.find((function(opt) {
- return Object.prototype.hasOwnProperty.call(opt, name);
- }));
- if (opt) {
- var newValue = opt[name];
- util.setProperty(newValue, propName, value);
- } else (opt = {})[name] = util.setProperty({}, propName, value), parsedOptions.push(opt);
- } else {
- var newOpt = {};
- newOpt[name] = value, parsedOptions.push(newOpt);
- }
- return this;
- }, ReflectionObject.prototype.setOptions = function(options, ifNotSet) {
- if (options) for (var keys = Object.keys(options), i = 0; i < keys.length; ++i) this.setOption(keys[i], options[keys[i]], ifNotSet);
- return this;
- }, ReflectionObject.prototype.toString = function() {
- var className = this.constructor.className, fullName = this.fullName;
- return fullName.length ? className + " " + fullName : className;
- }, ReflectionObject._configure = function(Root_) {
- Root = Root_;
- };
- },
- 7301: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $some = __webpack_require__(9213).some, aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("some", (function(callbackfn) {
- return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0);
- }));
- },
- 7323: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var re1, re2, call = __webpack_require__(9565), uncurryThis = __webpack_require__(9504), toString = __webpack_require__(655), regexpFlags = __webpack_require__(7979), stickyHelpers = __webpack_require__(8429), shared = __webpack_require__(5745), create = __webpack_require__(2360), getInternalState = __webpack_require__(1181).get, UNSUPPORTED_DOT_ALL = __webpack_require__(3635), UNSUPPORTED_NCG = __webpack_require__(8814), nativeReplace = shared("native-string-replace", String.prototype.replace), nativeExec = RegExp.prototype.exec, patchedExec = nativeExec, charAt = uncurryThis("".charAt), indexOf = uncurryThis("".indexOf), replace = uncurryThis("".replace), stringSlice = uncurryThis("".slice), UPDATES_LAST_INDEX_WRONG = (re2 = /b*/g,
- call(nativeExec, re1 = /a/, "a"), call(nativeExec, re2, "a"), 0 !== re1.lastIndex || 0 !== re2.lastIndex), UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET, NPCG_INCLUDED = void 0 !== /()??/.exec("")[1];
- (UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG) && (patchedExec = function(string) {
- var result, reCopy, lastIndex, match, i, object, group, re = this, state = getInternalState(re), str = toString(string), raw = state.raw;
- if (raw) return raw.lastIndex = re.lastIndex, result = call(patchedExec, raw, str),
- re.lastIndex = raw.lastIndex, result;
- var groups = state.groups, sticky = UNSUPPORTED_Y && re.sticky, flags = call(regexpFlags, re), source = re.source, charsAdded = 0, strCopy = str;
- if (sticky && (flags = replace(flags, "y", ""), -1 === indexOf(flags, "g") && (flags += "g"),
- strCopy = stringSlice(str, re.lastIndex), re.lastIndex > 0 && (!re.multiline || re.multiline && "\n" !== charAt(str, re.lastIndex - 1)) && (source = "(?: " + source + ")",
- strCopy = " " + strCopy, charsAdded++), reCopy = new RegExp("^(?:" + source + ")", flags)),
- NPCG_INCLUDED && (reCopy = new RegExp("^" + source + "$(?!\\s)", flags)), UPDATES_LAST_INDEX_WRONG && (lastIndex = re.lastIndex),
- match = call(nativeExec, sticky ? reCopy : re, strCopy), sticky ? match ? (match.input = stringSlice(match.input, charsAdded),
- match[0] = stringSlice(match[0], charsAdded), match.index = re.lastIndex, re.lastIndex += match[0].length) : re.lastIndex = 0 : UPDATES_LAST_INDEX_WRONG && match && (re.lastIndex = re.global ? match.index + match[0].length : lastIndex),
- NPCG_INCLUDED && match && match.length > 1 && call(nativeReplace, match[0], reCopy, (function() {
- for (i = 1; i < arguments.length - 2; i++) void 0 === arguments[i] && (match[i] = void 0);
- })), match && groups) for (match.groups = object = create(null), i = 0; i < groups.length; i++) object[(group = groups[i])[0]] = match[group[1]];
- return match;
- }), module.exports = patchedExec;
- },
- 7347: (__unused_webpack_module, exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), call = __webpack_require__(9565), propertyIsEnumerableModule = __webpack_require__(8773), createPropertyDescriptor = __webpack_require__(6980), toIndexedObject = __webpack_require__(5397), toPropertyKey = __webpack_require__(6969), hasOwn = __webpack_require__(9297), IE8_DOM_DEFINE = __webpack_require__(5917), $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
- exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function(O, P) {
- if (O = toIndexedObject(O), P = toPropertyKey(P), IE8_DOM_DEFINE) try {
- return $getOwnPropertyDescriptor(O, P);
- } catch (error) {}
- if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
- };
- },
- 7400: module => {
- "use strict";
- module.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: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isArray = __webpack_require__(4376), isConstructor = __webpack_require__(3517), isObject = __webpack_require__(34), SPECIES = __webpack_require__(8227)("species"), $Array = Array;
- module.exports = function(originalArray) {
- var C;
- return isArray(originalArray) && (C = originalArray.constructor, (isConstructor(C) && (C === $Array || isArray(C.prototype)) || isObject(C) && null === (C = C[SPECIES])) && (C = void 0)),
- void 0 === C ? $Array : C;
- };
- },
- 7452: module => {
- "use strict";
- module.exports = "\t\n\v\f\r \u2028\u2029\ufeff";
- },
- 7476: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var classofRaw = __webpack_require__(2195), uncurryThis = __webpack_require__(9504);
- module.exports = function(fn) {
- if ("Function" === classofRaw(fn)) return uncurryThis(fn);
- };
- },
- 7495: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), exec = __webpack_require__(7323);
- $({
- target: "RegExp",
- proto: !0,
- forced: /./.exec !== exec
- }, {
- exec
- });
- },
- 7595: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Service;
- var util = __webpack_require__(3610);
- function Service(rpcImpl, requestDelimited, responseDelimited) {
- if ("function" != typeof rpcImpl) throw TypeError("rpcImpl must be a function");
- util.EventEmitter.call(this), this.rpcImpl = rpcImpl, this.requestDelimited = Boolean(requestDelimited),
- this.responseDelimited = Boolean(responseDelimited);
- }
- (Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service,
- Service.prototype.rpcCall = function rpcCall(method, requestCtor, responseCtor, request, callback) {
- if (!request) throw TypeError("request must be specified");
- var self = this;
- if (!callback) return util.asPromise(rpcCall, self, method, requestCtor, responseCtor, request);
- if (self.rpcImpl) try {
- return self.rpcImpl(method, requestCtor[self.requestDelimited ? "encodeDelimited" : "encode"](request).finish(), (function(err, response) {
- if (err) return self.emit("error", err, method), callback(err);
- if (null !== response) {
- if (!(response instanceof responseCtor)) try {
- response = responseCtor[self.responseDelimited ? "decodeDelimited" : "decode"](response);
- } catch (err) {
- return self.emit("error", err, method), callback(err);
- }
- return self.emit("data", response, method), callback(null, response);
- }
- self.end(!0);
- }));
- } catch (err) {
- return self.emit("error", err, method), void setTimeout((function() {
- callback(err);
- }), 0);
- } else setTimeout((function() {
- callback(Error("already ended"));
- }), 0);
- }, Service.prototype.end = function(endedByRPC) {
- return this.rpcImpl && (endedByRPC || this.rpcImpl(null, null, null), this.rpcImpl = null,
- this.emit("end").off()), this;
- };
- },
- 7629: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var IS_PURE = __webpack_require__(6395), globalThis = __webpack_require__(4576), defineGlobalProperty = __webpack_require__(9433), store = module.exports = globalThis["__core-js_shared__"] || defineGlobalProperty("__core-js_shared__", {});
- (store.versions || (store.versions = [])).push({
- version: "3.41.0",
- mode: IS_PURE ? "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: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var getBuiltIn = __webpack_require__(7751), defineBuiltInAccessor = __webpack_require__(2106), wellKnownSymbol = __webpack_require__(8227), DESCRIPTORS = __webpack_require__(3724), SPECIES = wellKnownSymbol("species");
- module.exports = function(CONSTRUCTOR_NAME) {
- var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
- DESCRIPTORS && Constructor && !Constructor[SPECIES] && defineBuiltInAccessor(Constructor, SPECIES, {
- configurable: !0,
- get: function() {
- return this;
- }
- });
- };
- },
- 7657: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator, fails = __webpack_require__(9039), isCallable = __webpack_require__(4901), isObject = __webpack_require__(34), create = __webpack_require__(2360), getPrototypeOf = __webpack_require__(2787), defineBuiltIn = __webpack_require__(6840), wellKnownSymbol = __webpack_require__(8227), IS_PURE = __webpack_require__(6395), ITERATOR = wellKnownSymbol("iterator"), BUGGY_SAFARI_ITERATORS = !1;
- [].keys && ("next" in (arrayIterator = [].keys()) ? (PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator))) !== Object.prototype && (IteratorPrototype = PrototypeOfArrayIteratorPrototype) : BUGGY_SAFARI_ITERATORS = !0),
- !isObject(IteratorPrototype) || fails((function() {
- var test = {};
- return IteratorPrototype[ITERATOR].call(test) !== test;
- })) ? IteratorPrototype = {} : IS_PURE && (IteratorPrototype = create(IteratorPrototype)),
- isCallable(IteratorPrototype[ITERATOR]) || defineBuiltIn(IteratorPrototype, ITERATOR, (function() {
- return this;
- })), module.exports = {
- IteratorPrototype,
- BUGGY_SAFARI_ITERATORS
- };
- },
- 7680: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504);
- module.exports = uncurryThis([].slice);
- },
- 7696: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toIntegerOrInfinity = __webpack_require__(1291), toLength = __webpack_require__(8014), $RangeError = RangeError;
- module.exports = function(it) {
- if (void 0 === it) return 0;
- var number = toIntegerOrInfinity(it), length = toLength(number);
- if (number !== length) throw new $RangeError("Wrong length or index");
- return length;
- };
- },
- 7728: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = function(mtype) {
- var gen = util.codegen([ "r", "l" ], mtype.name + "$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor" + (mtype.fieldsArray.filter((function(field) {
- return field.map;
- })).length ? ",k,value" : ""))("while(r.pos<c){")("var t=r.uint32()");
- mtype.group && gen("if((t&7)===4)")("break"), gen("switch(t>>>3){");
- for (var i = 0; i < mtype.fieldsArray.length; ++i) {
- var field = mtype._fieldsArray[i].resolve(), type = field.resolvedType instanceof Enum ? "int32" : field.type, ref = "m" + util.safeProp(field.name);
- gen("case %i: {", field.id), field.map ? (gen("if(%s===util.emptyObject)", ref)("%s={}", ref)("var c2 = r.uint32()+r.pos"),
- void 0 !== types.defaults[field.keyType] ? gen("k=%j", types.defaults[field.keyType]) : gen("k=null"),
- void 0 !== types.defaults[type] ? gen("value=%j", types.defaults[type]) : gen("value=null"),
- gen("while(r.pos<c2){")("var tag2=r.uint32()")("switch(tag2>>>3){")("case 1: k=r.%s(); break", field.keyType)("case 2:"),
- void 0 === types.basic[type] ? gen("value=types[%i].decode(r,r.uint32())", i) : gen("value=r.%s()", type),
- gen("break")("default:")("r.skipType(tag2&7)")("break")("}")("}"), void 0 !== types.long[field.keyType] ? gen('%s[typeof k==="object"?util.longToHash(k):k]=value', ref) : gen("%s[k]=value", ref)) : field.repeated ? (gen("if(!(%s&&%s.length))", ref, ref)("%s=[]", ref),
- void 0 !== types.packed[type] && gen("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos<c2)")("%s.push(r.%s())", ref, type)("}else"),
- void 0 === types.basic[type] ? gen(field.resolvedType.group ? "%s.push(types[%i].decode(r))" : "%s.push(types[%i].decode(r,r.uint32()))", ref, i) : gen("%s.push(r.%s())", ref, type)) : void 0 === types.basic[type] ? gen(field.resolvedType.group ? "%s=types[%i].decode(r)" : "%s=types[%i].decode(r,r.uint32())", ref, i) : gen("%s=r.%s()", ref, type),
- gen("break")("}");
- }
- for (gen("default:")("r.skipType(t&7)")("break")("}")("}"), i = 0; i < mtype._fieldsArray.length; ++i) {
- var rfield = mtype._fieldsArray[i];
- rfield.required && gen("if(!m.hasOwnProperty(%j))", rfield.name)("throw util.ProtocolError(%j,{instance:m})", missing(rfield));
- }
- return gen("return m");
- };
- var Enum = __webpack_require__(5643), types = __webpack_require__(361), util = __webpack_require__(3262);
- function missing(field) {
- return "missing required '" + field.name + "'";
- }
- },
- 7740: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var hasOwn = __webpack_require__(9297), ownKeys = __webpack_require__(5031), getOwnPropertyDescriptorModule = __webpack_require__(7347), definePropertyModule = __webpack_require__(4913);
- module.exports = function(target, source, exceptions) {
- for (var keys = ownKeys(source), defineProperty = definePropertyModule.f, getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f, i = 0; i < keys.length; i++) {
- var key = keys[i];
- hasOwn(target, key) || exceptions && hasOwn(exceptions, key) || defineProperty(target, key, getOwnPropertyDescriptor(source, key));
- }
- };
- },
- 7743: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), call = __webpack_require__(9565), aCallable = __webpack_require__(9306), newPromiseCapabilityModule = __webpack_require__(6043), perform = __webpack_require__(1103), iterate = __webpack_require__(2652);
- $({
- target: "Promise",
- stat: !0,
- forced: __webpack_require__(537)
- }, {
- race: function(iterable) {
- var C = this, capability = newPromiseCapabilityModule.f(C), reject = capability.reject, result = perform((function() {
- var $promiseResolve = aCallable(C.resolve);
- iterate(iterable, (function(promise) {
- call($promiseResolve, C, promise).then(capability.resolve, reject);
- }));
- }));
- return result.error && reject(result.value), capability.promise;
- }
- });
- },
- 7750: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isNullOrUndefined = __webpack_require__(4117), $TypeError = TypeError;
- module.exports = function(it) {
- if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
- return it;
- };
- },
- 7751: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), isCallable = __webpack_require__(4901);
- module.exports = function(namespace, method) {
- return arguments.length < 2 ? (argument = globalThis[namespace], isCallable(argument) ? argument : void 0) : globalThis[namespace] && globalThis[namespace][method];
- var argument;
- };
- },
- 7764: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var charAt = __webpack_require__(8183).charAt, toString = __webpack_require__(655), InternalStateModule = __webpack_require__(1181), defineIterator = __webpack_require__(1088), createIterResultObject = __webpack_require__(2529), setInternalState = InternalStateModule.set, getInternalState = InternalStateModule.getterFor("String Iterator");
- defineIterator(String, "String", (function(iterated) {
- setInternalState(this, {
- type: "String Iterator",
- string: toString(iterated),
- index: 0
- });
- }), (function() {
- var point, state = getInternalState(this), string = state.string, index = state.index;
- return index >= string.length ? createIterResultObject(void 0, !0) : (point = charAt(string, index),
- state.index += point.length, createIterResultObject(point, !1));
- }));
- },
- 7782: module => {
- "use strict";
- module.exports = Math.sign || function(x) {
- var n = +x;
- return 0 === n || n != n ? n : n < 0 ? -1 : 1;
- };
- },
- 7811: module => {
- "use strict";
- module.exports = "undefined" != typeof ArrayBuffer && "undefined" != typeof DataView;
- },
- 7812: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), hasOwn = __webpack_require__(9297), isSymbol = __webpack_require__(757), tryToString = __webpack_require__(6823), shared = __webpack_require__(5745), NATIVE_SYMBOL_REGISTRY = __webpack_require__(1296), SymbolToStringRegistry = shared("symbol-to-string-registry");
- $({
- target: "Symbol",
- stat: !0,
- forced: !NATIVE_SYMBOL_REGISTRY
- }, {
- keyFor: function(sym) {
- if (!isSymbol(sym)) throw new TypeError(tryToString(sym) + " is not a symbol");
- if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
- }
- });
- },
- 7829: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var charAt = __webpack_require__(8183).charAt;
- module.exports = function(S, index, unicode) {
- return index + (unicode ? charAt(S, index).length : 1);
- };
- },
- 7860: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var userAgent = __webpack_require__(2839);
- module.exports = /web0s(?!.*chrome)/i.test(userAgent);
- },
- 7882: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Type;
- var Namespace = __webpack_require__(8923);
- ((Type.prototype = Object.create(Namespace.prototype)).constructor = Type).className = "Type";
- var Enum = __webpack_require__(5643), OneOf = __webpack_require__(1457), Field = __webpack_require__(1344), MapField = __webpack_require__(8252), Service = __webpack_require__(9687), Message = __webpack_require__(2551), Reader = __webpack_require__(6237), Writer = __webpack_require__(3449), util = __webpack_require__(3262), encoder = __webpack_require__(1080), decoder = __webpack_require__(7728), verifier = __webpack_require__(420), converter = __webpack_require__(744), wrappers = __webpack_require__(6434);
- function Type(name, options) {
- Namespace.call(this, name, options), 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(type) {
- return type._fieldsById = type._fieldsArray = type._oneofsArray = null, delete type.encode,
- delete type.decode, delete type.verify, type;
- }
- Object.defineProperties(Type.prototype, {
- fieldsById: {
- get: function() {
- if (this._fieldsById) return this._fieldsById;
- this._fieldsById = {};
- for (var names = Object.keys(this.fields), i = 0; i < names.length; ++i) {
- var field = this.fields[names[i]], id = field.id;
- if (this._fieldsById[id]) throw Error("duplicate id " + id + " in " + this);
- this._fieldsById[id] = field;
- }
- return this._fieldsById;
- }
- },
- fieldsArray: {
- get: function() {
- return this._fieldsArray || (this._fieldsArray = util.toArray(this.fields));
- }
- },
- oneofsArray: {
- get: function() {
- return this._oneofsArray || (this._oneofsArray = util.toArray(this.oneofs));
- }
- },
- ctor: {
- get: function() {
- return this._ctor || (this.ctor = Type.generateConstructor(this)());
- },
- set: function(ctor) {
- var prototype = ctor.prototype;
- prototype instanceof Message || ((ctor.prototype = new Message).constructor = ctor,
- util.merge(ctor.prototype, prototype)), ctor.$type = ctor.prototype.$type = this,
- util.merge(ctor, Message, !0), this._ctor = ctor;
- for (var i = 0; i < this.fieldsArray.length; ++i) this._fieldsArray[i].resolve();
- var ctorProperties = {};
- for (i = 0; i < this.oneofsArray.length; ++i) ctorProperties[this._oneofsArray[i].resolve().name] = {
- get: util.oneOfGetter(this._oneofsArray[i].oneof),
- set: util.oneOfSetter(this._oneofsArray[i].oneof)
- };
- i && Object.defineProperties(ctor.prototype, ctorProperties);
- }
- }
- }), Type.generateConstructor = function(mtype) {
- for (var field, gen = util.codegen([ "p" ], mtype.name), i = 0; i < mtype.fieldsArray.length; ++i) (field = mtype._fieldsArray[i]).map ? gen("this%s={}", util.safeProp(field.name)) : field.repeated && gen("this%s=[]", util.safeProp(field.name));
- return gen("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(name, json) {
- var type = new Type(name, json.options);
- type.extensions = json.extensions, type.reserved = json.reserved;
- for (var names = Object.keys(json.fields), i = 0; i < names.length; ++i) type.add((void 0 !== json.fields[names[i]].keyType ? MapField.fromJSON : Field.fromJSON)(names[i], json.fields[names[i]]));
- if (json.oneofs) for (names = Object.keys(json.oneofs), i = 0; i < names.length; ++i) type.add(OneOf.fromJSON(names[i], json.oneofs[names[i]]));
- if (json.nested) for (names = Object.keys(json.nested), i = 0; i < names.length; ++i) {
- var nested = json.nested[names[i]];
- type.add((void 0 !== nested.id ? Field.fromJSON : void 0 !== nested.fields ? Type.fromJSON : void 0 !== nested.values ? Enum.fromJSON : void 0 !== nested.methods ? Service.fromJSON : Namespace.fromJSON)(names[i], nested));
- }
- return json.extensions && json.extensions.length && (type.extensions = json.extensions),
- json.reserved && json.reserved.length && (type.reserved = json.reserved), json.group && (type.group = !0),
- json.comment && (type.comment = json.comment), type;
- }, Type.prototype.toJSON = function(toJSONOptions) {
- var inherited = Namespace.prototype.toJSON.call(this, toJSONOptions), keepComments = !!toJSONOptions && Boolean(toJSONOptions.keepComments);
- return util.toObject([ "options", inherited && inherited.options || void 0, "oneofs", Namespace.arrayToJSON(this.oneofsArray, toJSONOptions), "fields", Namespace.arrayToJSON(this.fieldsArray.filter((function(obj) {
- return !obj.declaringField;
- })), toJSONOptions) || {}, "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", inherited && inherited.nested || void 0, "comment", keepComments ? this.comment : void 0 ]);
- }, Type.prototype.resolveAll = function() {
- for (var fields = this.fieldsArray, i = 0; i < fields.length; ) fields[i++].resolve();
- var oneofs = this.oneofsArray;
- for (i = 0; i < oneofs.length; ) oneofs[i++].resolve();
- return Namespace.prototype.resolveAll.call(this);
- }, Type.prototype.get = function(name) {
- return this.fields[name] || this.oneofs && this.oneofs[name] || this.nested && this.nested[name] || null;
- }, Type.prototype.add = function(object) {
- if (this.get(object.name)) throw Error("duplicate name '" + object.name + "' in " + this);
- if (object instanceof Field && void 0 === object.extend) {
- if (this._fieldsById ? this._fieldsById[object.id] : this.fieldsById[object.id]) throw Error("duplicate id " + object.id + " in " + this);
- if (this.isReservedId(object.id)) throw Error("id " + object.id + " is reserved in " + this);
- if (this.isReservedName(object.name)) throw Error("name '" + object.name + "' is reserved in " + this);
- return object.parent && object.parent.remove(object), this.fields[object.name] = object,
- object.message = this, object.onAdd(this), clearCache(this);
- }
- return object instanceof OneOf ? (this.oneofs || (this.oneofs = {}), this.oneofs[object.name] = object,
- object.onAdd(this), clearCache(this)) : Namespace.prototype.add.call(this, object);
- }, Type.prototype.remove = function(object) {
- if (object instanceof Field && void 0 === object.extend) {
- if (!this.fields || this.fields[object.name] !== object) throw Error(object + " is not a member of " + this);
- return delete this.fields[object.name], object.parent = null, object.onRemove(this),
- clearCache(this);
- }
- if (object instanceof OneOf) {
- if (!this.oneofs || this.oneofs[object.name] !== object) throw Error(object + " is not a member of " + this);
- return delete this.oneofs[object.name], object.parent = null, object.onRemove(this),
- clearCache(this);
- }
- return Namespace.prototype.remove.call(this, object);
- }, Type.prototype.isReservedId = function(id) {
- return Namespace.isReservedId(this.reserved, id);
- }, Type.prototype.isReservedName = function(name) {
- return Namespace.isReservedName(this.reserved, name);
- }, Type.prototype.create = function(properties) {
- return new this.ctor(properties);
- }, Type.prototype.setup = function() {
- for (var fullName = this.fullName, types = [], i = 0; i < this.fieldsArray.length; ++i) types.push(this._fieldsArray[i].resolve().resolvedType);
- this.encode = encoder(this)({
- Writer,
- types,
- util
- }), this.decode = decoder(this)({
- Reader,
- types,
- util
- }), this.verify = verifier(this)({
- types,
- util
- }), this.fromObject = converter.fromObject(this)({
- types,
- util
- }), this.toObject = converter.toObject(this)({
- types,
- util
- });
- var wrapper = wrappers[fullName];
- if (wrapper) {
- var originalThis = Object.create(this);
- originalThis.fromObject = this.fromObject, this.fromObject = wrapper.fromObject.bind(originalThis),
- originalThis.toObject = this.toObject, this.toObject = wrapper.toObject.bind(originalThis);
- }
- return this;
- }, Type.prototype.encode = function(message, writer) {
- return this.setup().encode(message, writer);
- }, Type.prototype.encodeDelimited = function(message, writer) {
- return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim();
- }, Type.prototype.decode = function(reader, length) {
- return this.setup().decode(reader, length);
- }, Type.prototype.decodeDelimited = function(reader) {
- return reader instanceof Reader || (reader = Reader.create(reader)), this.decode(reader, reader.uint32());
- }, Type.prototype.verify = function(message) {
- return this.setup().verify(message);
- }, Type.prototype.fromObject = function(object) {
- return this.setup().fromObject(object);
- }, Type.prototype.toObject = function(message, options) {
- return this.setup().toObject(message, options);
- }, Type.d = function(typeName) {
- return function(target) {
- util.decorateType(target, typeName);
- };
- };
- },
- 7916: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var bind = __webpack_require__(6080), call = __webpack_require__(9565), toObject = __webpack_require__(8981), callWithSafeIterationClosing = __webpack_require__(6319), isArrayIteratorMethod = __webpack_require__(4209), isConstructor = __webpack_require__(3517), lengthOfArrayLike = __webpack_require__(6198), createProperty = __webpack_require__(4659), getIterator = __webpack_require__(81), getIteratorMethod = __webpack_require__(851), $Array = Array;
- module.exports = function(arrayLike) {
- var O = toObject(arrayLike), IS_CONSTRUCTOR = isConstructor(this), argumentsLength = arguments.length, mapfn = argumentsLength > 1 ? arguments[1] : void 0, mapping = void 0 !== mapfn;
- mapping && (mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : void 0));
- var length, result, step, iterator, next, value, iteratorMethod = getIteratorMethod(O), index = 0;
- if (!iteratorMethod || this === $Array && isArrayIteratorMethod(iteratorMethod)) for (length = lengthOfArrayLike(O),
- result = IS_CONSTRUCTOR ? new this(length) : $Array(length); length > index; index++) value = mapping ? mapfn(O[index], index) : O[index],
- createProperty(result, index, value); else for (result = IS_CONSTRUCTOR ? new this : [],
- next = (iterator = getIterator(O, iteratorMethod)).next; !(step = call(next, iterator)).done; index++) value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [ step.value, index ], !0) : step.value,
- createProperty(result, index, value);
- return result.length = index, result;
- };
- },
- 7979: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var anObject = __webpack_require__(8551);
- module.exports = function() {
- var that = anObject(this), result = "";
- return that.hasIndices && (result += "d"), that.global && (result += "g"), that.ignoreCase && (result += "i"),
- that.multiline && (result += "m"), that.dotAll && (result += "s"), that.unicode && (result += "u"),
- that.unicodeSets && (result += "v"), that.sticky && (result += "y"), result;
- };
- },
- 8014: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toIntegerOrInfinity = __webpack_require__(1291), min = Math.min;
- module.exports = function(argument) {
- var len = toIntegerOrInfinity(argument);
- return len > 0 ? min(len, 9007199254740991) : 0;
- };
- },
- 8045: module => {
- "use strict";
- module.exports = function(fn, ctx) {
- for (var params = new Array(arguments.length - 1), offset = 0, index = 2, pending = !0; index < arguments.length; ) params[offset++] = arguments[index++];
- return new Promise((function(resolve, reject) {
- params[offset] = function(err) {
- if (pending) if (pending = !1, err) reject(err); else {
- for (var params = new Array(arguments.length - 1), offset = 0; offset < params.length; ) params[offset++] = arguments[offset];
- resolve.apply(null, params);
- }
- };
- try {
- fn.apply(ctx || null, params);
- } catch (err) {
- pending && (pending = !1, reject(err));
- }
- }));
- };
- },
- 8183: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), toIntegerOrInfinity = __webpack_require__(1291), toString = __webpack_require__(655), requireObjectCoercible = __webpack_require__(7750), charAt = uncurryThis("".charAt), charCodeAt = uncurryThis("".charCodeAt), stringSlice = uncurryThis("".slice), createMethod = function(CONVERT_TO_STRING) {
- return function($this, pos) {
- var first, second, S = toString(requireObjectCoercible($this)), position = toIntegerOrInfinity(pos), size = S.length;
- return position < 0 || position >= size ? CONVERT_TO_STRING ? "" : void 0 : (first = charCodeAt(S, position)) < 55296 || first > 56319 || position + 1 === size || (second = charCodeAt(S, position + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? charAt(S, position) : first : CONVERT_TO_STRING ? stringSlice(S, position, position + 2) : second - 56320 + (first - 55296 << 10) + 65536;
- };
- };
- module.exports = {
- codeAt: createMethod(!1),
- charAt: createMethod(!0)
- };
- },
- 8227: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), shared = __webpack_require__(5745), hasOwn = __webpack_require__(9297), uid = __webpack_require__(3392), NATIVE_SYMBOL = __webpack_require__(4495), USE_SYMBOL_AS_UID = __webpack_require__(7040), Symbol = globalThis.Symbol, WellKnownSymbolsStore = shared("wks"), createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol.for || Symbol : Symbol && Symbol.withoutSetter || uid;
- module.exports = function(name) {
- return hasOwn(WellKnownSymbolsStore, name) || (WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) ? Symbol[name] : createWellKnownSymbol("Symbol." + name)),
- WellKnownSymbolsStore[name];
- };
- },
- 8229: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toPositiveInteger = __webpack_require__(9590), $RangeError = RangeError;
- module.exports = function(it, BYTES) {
- var offset = toPositiveInteger(it);
- if (offset % BYTES) throw new $RangeError("Wrong offset");
- return offset;
- };
- },
- 8242: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var call = __webpack_require__(9565), getBuiltIn = __webpack_require__(7751), wellKnownSymbol = __webpack_require__(8227), defineBuiltIn = __webpack_require__(6840);
- module.exports = function() {
- var Symbol = getBuiltIn("Symbol"), SymbolPrototype = Symbol && Symbol.prototype, valueOf = SymbolPrototype && SymbolPrototype.valueOf, TO_PRIMITIVE = wellKnownSymbol("toPrimitive");
- SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE] && defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, (function(hint) {
- return call(valueOf, this);
- }), {
- arity: 1
- });
- };
- },
- 8252: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = MapField;
- var Field = __webpack_require__(1344);
- ((MapField.prototype = Object.create(Field.prototype)).constructor = MapField).className = "MapField";
- var types = __webpack_require__(361), util = __webpack_require__(3262);
- function MapField(name, id, keyType, type, options, comment) {
- if (Field.call(this, name, id, type, void 0, void 0, options, comment), !util.isString(keyType)) throw TypeError("keyType must be a string");
- this.keyType = keyType, this.resolvedKeyType = null, this.map = !0;
- }
- MapField.fromJSON = function(name, json) {
- return new MapField(name, json.id, json.keyType, json.type, json.options, json.comment);
- }, MapField.prototype.toJSON = function(toJSONOptions) {
- var keepComments = !!toJSONOptions && Boolean(toJSONOptions.keepComments);
- return util.toObject([ "keyType", this.keyType, "type", this.type, "id", this.id, "extend", this.extend, "options", this.options, "comment", keepComments ? this.comment : void 0 ]);
- }, MapField.prototype.resolve = function() {
- if (this.resolved) return this;
- if (void 0 === types.mapKey[this.keyType]) throw Error("invalid key type: " + this.keyType);
- return Field.prototype.resolve.call(this);
- }, MapField.d = function(fieldId, fieldKeyType, fieldValueType) {
- return "function" == typeof fieldValueType ? fieldValueType = util.decorateType(fieldValueType).name : fieldValueType && "object" == typeof fieldValueType && (fieldValueType = util.decorateEnum(fieldValueType).name),
- function(prototype, fieldName) {
- util.decorateType(prototype.constructor).add(new MapField(fieldName, fieldId, fieldKeyType, fieldValueType));
- };
- };
- },
- 8265: module => {
- "use strict";
- var Queue = function() {
- this.head = null, this.tail = null;
- };
- Queue.prototype = {
- add: function(item) {
- var entry = {
- item,
- next: null
- }, tail = this.tail;
- tail ? tail.next = entry : this.head = entry, this.tail = entry;
- },
- get: function() {
- var entry = this.head;
- if (entry) return null === (this.head = entry.next) && (this.tail = null), entry.item;
- }
- }, module.exports = Queue;
- },
- 8319: module => {
- "use strict";
- var round = Math.round;
- module.exports = function(it) {
- var value = round(it);
- return value < 0 ? 0 : value > 255 ? 255 : 255 & value;
- };
- },
- 8379: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var apply = __webpack_require__(8745), toIndexedObject = __webpack_require__(5397), toIntegerOrInfinity = __webpack_require__(1291), lengthOfArrayLike = __webpack_require__(6198), arrayMethodIsStrict = __webpack_require__(4598), min = Math.min, $lastIndexOf = [].lastIndexOf, NEGATIVE_ZERO = !!$lastIndexOf && 1 / [ 1 ].lastIndexOf(1, -0) < 0, STRICT_METHOD = arrayMethodIsStrict("lastIndexOf"), FORCED = NEGATIVE_ZERO || !STRICT_METHOD;
- module.exports = FORCED ? function(searchElement) {
- if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0;
- var O = toIndexedObject(this), length = lengthOfArrayLike(O);
- if (0 === length) return -1;
- var index = length - 1;
- for (arguments.length > 1 && (index = min(index, toIntegerOrInfinity(arguments[1]))),
- index < 0 && (index = length + index); index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;
- return -1;
- } : $lastIndexOf;
- },
- 8429: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039), $RegExp = __webpack_require__(4576).RegExp, UNSUPPORTED_Y = fails((function() {
- var re = $RegExp("a", "y");
- return re.lastIndex = 2, null !== re.exec("abcd");
- })), MISSED_STICKY = UNSUPPORTED_Y || fails((function() {
- return !$RegExp("a", "y").sticky;
- })), BROKEN_CARET = UNSUPPORTED_Y || fails((function() {
- var re = $RegExp("^r", "gy");
- return re.lastIndex = 2, null !== re.exec("str");
- }));
- module.exports = {
- BROKEN_CARET,
- MISSED_STICKY,
- UNSUPPORTED_Y
- };
- },
- 8459: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), $parseFloat = __webpack_require__(3904);
- $({
- global: !0,
- forced: parseFloat !== $parseFloat
- }, {
- parseFloat: $parseFloat
- });
- },
- 8480: (__unused_webpack_module, exports, __webpack_require__) => {
- "use strict";
- var internalObjectKeys = __webpack_require__(1828), hiddenKeys = __webpack_require__(8727).concat("length", "prototype");
- exports.f = Object.getOwnPropertyNames || function(O) {
- return internalObjectKeys(O, hiddenKeys);
- };
- },
- 8490: module => {
- "use strict";
- var $Array = Array, abs = Math.abs, pow = Math.pow, floor = Math.floor, log = Math.log, LN2 = Math.LN2;
- module.exports = {
- pack: function(number, mantissaLength, bytes) {
- var exponent, mantissa, c, buffer = $Array(bytes), exponentLength = 8 * bytes - mantissaLength - 1, eMax = (1 << exponentLength) - 1, eBias = eMax >> 1, rt = 23 === mantissaLength ? pow(2, -24) - pow(2, -77) : 0, sign = number < 0 || 0 === number && 1 / number < 0 ? 1 : 0, index = 0;
- for ((number = abs(number)) != number || number === 1 / 0 ? (mantissa = number != number ? 1 : 0,
- exponent = eMax) : (exponent = floor(log(number) / LN2), number * (c = pow(2, -exponent)) < 1 && (exponent--,
- c *= 2), (number += exponent + eBias >= 1 ? rt / c : rt * pow(2, 1 - eBias)) * c >= 2 && (exponent++,
- c /= 2), exponent + eBias >= eMax ? (mantissa = 0, exponent = eMax) : exponent + eBias >= 1 ? (mantissa = (number * c - 1) * pow(2, mantissaLength),
- exponent += eBias) : (mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength),
- exponent = 0)); mantissaLength >= 8; ) buffer[index++] = 255 & mantissa, mantissa /= 256,
- mantissaLength -= 8;
- for (exponent = exponent << mantissaLength | mantissa, exponentLength += mantissaLength; exponentLength > 0; ) buffer[index++] = 255 & exponent,
- exponent /= 256, exponentLength -= 8;
- return buffer[index - 1] |= 128 * sign, buffer;
- },
- unpack: function(buffer, mantissaLength) {
- var mantissa, bytes = buffer.length, exponentLength = 8 * bytes - mantissaLength - 1, eMax = (1 << exponentLength) - 1, eBias = eMax >> 1, nBits = exponentLength - 7, index = bytes - 1, sign = buffer[index--], exponent = 127 & sign;
- for (sign >>= 7; nBits > 0; ) exponent = 256 * exponent + buffer[index--], nBits -= 8;
- for (mantissa = exponent & (1 << -nBits) - 1, exponent >>= -nBits, nBits += mantissaLength; nBits > 0; ) mantissa = 256 * mantissa + buffer[index--],
- nBits -= 8;
- if (0 === exponent) exponent = 1 - eBias; else {
- if (exponent === eMax) return mantissa ? NaN : sign ? -1 / 0 : 1 / 0;
- mantissa += pow(2, mantissaLength), exponent -= eBias;
- }
- return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);
- }
- };
- },
- 8551: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isObject = __webpack_require__(34), $String = String, $TypeError = TypeError;
- module.exports = function(argument) {
- if (isObject(argument)) return argument;
- throw new $TypeError($String(argument) + " is not an object");
- };
- },
- 8561: module => {
- "use strict";
- function codegen(functionParams, functionName) {
- "string" == typeof functionParams && (functionName = functionParams, functionParams = void 0);
- var body = [];
- function Codegen(formatStringOrScope) {
- if ("string" != typeof formatStringOrScope) {
- var source = toString();
- if (codegen.verbose, source = "return " + source, formatStringOrScope) {
- for (var scopeKeys = Object.keys(formatStringOrScope), scopeParams = new Array(scopeKeys.length + 1), scopeValues = new Array(scopeKeys.length), scopeOffset = 0; scopeOffset < scopeKeys.length; ) scopeParams[scopeOffset] = scopeKeys[scopeOffset],
- scopeValues[scopeOffset] = formatStringOrScope[scopeKeys[scopeOffset++]];
- return scopeParams[scopeOffset] = source, Function.apply(null, scopeParams).apply(null, scopeValues);
- }
- return Function(source)();
- }
- for (var formatParams = new Array(arguments.length - 1), formatOffset = 0; formatOffset < formatParams.length; ) formatParams[formatOffset] = arguments[++formatOffset];
- if (formatOffset = 0, formatStringOrScope = formatStringOrScope.replace(/%([%dfijs])/g, (function($0, $1) {
- var value = formatParams[formatOffset++];
- switch ($1) {
- case "d":
- case "f":
- return String(Number(value));
-
- case "i":
- return String(Math.floor(value));
-
- case "j":
- return JSON.stringify(value);
-
- case "s":
- return String(value);
- }
- return "%";
- })), formatOffset !== formatParams.length) throw Error("parameter count mismatch");
- return body.push(formatStringOrScope), Codegen;
- }
- function toString(functionNameOverride) {
- return "function " + (functionNameOverride || functionName || "") + "(" + (functionParams && functionParams.join(",") || "") + "){\n " + body.join("\n ") + "\n}";
- }
- return Codegen.toString = toString, Codegen;
- }
- module.exports = codegen, codegen.verbose = !1;
- },
- 8622: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), isCallable = __webpack_require__(4901), WeakMap = globalThis.WeakMap;
- module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
- },
- 8686: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var DESCRIPTORS = __webpack_require__(3724), fails = __webpack_require__(9039);
- module.exports = DESCRIPTORS && fails((function() {
- return 42 !== Object.defineProperty((function() {}), "prototype", {
- value: 42,
- writable: !1
- }).prototype;
- }));
- },
- 8706: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), fails = __webpack_require__(9039), isArray = __webpack_require__(4376), isObject = __webpack_require__(34), toObject = __webpack_require__(8981), lengthOfArrayLike = __webpack_require__(6198), doesNotExceedSafeInteger = __webpack_require__(6837), createProperty = __webpack_require__(4659), arraySpeciesCreate = __webpack_require__(1469), arrayMethodHasSpeciesSupport = __webpack_require__(597), wellKnownSymbol = __webpack_require__(8227), V8_VERSION = __webpack_require__(9519), IS_CONCAT_SPREADABLE = wellKnownSymbol("isConcatSpreadable"), IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails((function() {
- var array = [];
- return array[IS_CONCAT_SPREADABLE] = !1, array.concat()[0] !== array;
- })), isConcatSpreadable = function(O) {
- if (!isObject(O)) return !1;
- var spreadable = O[IS_CONCAT_SPREADABLE];
- return void 0 !== spreadable ? !!spreadable : isArray(O);
- };
- $({
- target: "Array",
- proto: !0,
- arity: 1,
- forced: !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport("concat")
- }, {
- concat: function(arg) {
- var i, k, length, len, E, O = toObject(this), A = arraySpeciesCreate(O, 0), n = 0;
- for (i = -1, length = arguments.length; i < length; i++) if (isConcatSpreadable(E = -1 === i ? O : arguments[i])) for (len = lengthOfArrayLike(E),
- doesNotExceedSafeInteger(n + len), k = 0; k < len; k++, n++) k in E && createProperty(A, n, E[k]); else doesNotExceedSafeInteger(n + 1),
- createProperty(A, n++, E);
- return A.length = n, A;
- }
- });
- },
- 8727: module => {
- "use strict";
- module.exports = [ "constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf" ];
- },
- 8745: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var NATIVE_BIND = __webpack_require__(616), FunctionPrototype = Function.prototype, apply = FunctionPrototype.apply, call = FunctionPrototype.call;
- module.exports = "object" == typeof Reflect && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function() {
- return call.apply(apply, arguments);
- });
- },
- 8747: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), aTypedArray = ArrayBufferViewCore.aTypedArray, exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod, floor = Math.floor;
- exportTypedArrayMethod("reverse", (function() {
- for (var value, length = aTypedArray(this).length, middle = floor(length / 2), index = 0; index < middle; ) value = this[index],
- this[index++] = this[--length], this[length] = value;
- return this;
- }));
- },
- 8773: (__unused_webpack_module, exports) => {
- "use strict";
- var $propertyIsEnumerable = {}.propertyIsEnumerable, getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor, NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({
- 1: 2
- }, 1);
- exports.f = NASHORN_BUG ? function(V) {
- var descriptor = getOwnPropertyDescriptor(this, V);
- return !!descriptor && descriptor.enumerable;
- } : $propertyIsEnumerable;
- },
- 8781: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var PROPER_FUNCTION_NAME = __webpack_require__(350).PROPER, defineBuiltIn = __webpack_require__(6840), anObject = __webpack_require__(8551), $toString = __webpack_require__(655), fails = __webpack_require__(9039), getRegExpFlags = __webpack_require__(1034), RegExpPrototype = RegExp.prototype, nativeToString = RegExpPrototype.toString, NOT_GENERIC = fails((function() {
- return "/a/b" !== nativeToString.call({
- source: "a",
- flags: "b"
- });
- })), INCORRECT_NAME = PROPER_FUNCTION_NAME && "toString" !== nativeToString.name;
- (NOT_GENERIC || INCORRECT_NAME) && defineBuiltIn(RegExpPrototype, "toString", (function() {
- var R = anObject(this);
- return "/" + $toString(R.source) + "/" + $toString(getRegExpFlags(R));
- }), {
- unsafe: !0
- });
- },
- 8811: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Method;
- var ReflectionObject = __webpack_require__(7209);
- ((Method.prototype = Object.create(ReflectionObject.prototype)).constructor = Method).className = "Method";
- var util = __webpack_require__(3262);
- function Method(name, type, requestType, responseType, requestStream, responseStream, options, comment, parsedOptions) {
- if (util.isObject(requestStream) ? (options = requestStream, requestStream = responseStream = void 0) : util.isObject(responseStream) && (options = responseStream,
- responseStream = void 0), void 0 !== type && !util.isString(type)) throw TypeError("type must be a string");
- if (!util.isString(requestType)) throw TypeError("requestType must be a string");
- if (!util.isString(responseType)) throw TypeError("responseType must be a string");
- ReflectionObject.call(this, name, options), this.type = type || "rpc", this.requestType = requestType,
- this.requestStream = !!requestStream || void 0, this.responseType = responseType,
- this.responseStream = !!responseStream || void 0, this.resolvedRequestType = null,
- this.resolvedResponseType = null, this.comment = comment, this.parsedOptions = parsedOptions;
- }
- Method.fromJSON = function(name, json) {
- return new Method(name, json.type, json.requestType, json.responseType, json.requestStream, json.responseStream, json.options, json.comment, json.parsedOptions);
- }, Method.prototype.toJSON = function(toJSONOptions) {
- var keepComments = !!toJSONOptions && Boolean(toJSONOptions.keepComments);
- return util.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", keepComments ? 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), ReflectionObject.prototype.resolve.call(this));
- };
- },
- 8814: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var fails = __webpack_require__(9039), $RegExp = __webpack_require__(4576).RegExp;
- module.exports = fails((function() {
- var re = $RegExp("(?<a>b)", "g");
- return "b" !== re.exec("b").groups.a || "bc" !== "b".replace(re, "$<a>c");
- }));
- },
- 8839: (__unused_webpack_module, exports) => {
- "use strict";
- var base64 = exports;
- base64.length = function(string) {
- var p = string.length;
- if (!p) return 0;
- for (var n = 0; --p % 4 > 1 && "=" === string.charAt(p); ) ++n;
- return Math.ceil(3 * string.length) / 4 - n;
- };
- for (var b64 = new Array(64), s64 = new Array(123), i = 0; i < 64; ) s64[b64[i] = i < 26 ? i + 65 : i < 52 ? i + 71 : i < 62 ? i - 4 : i - 59 | 43] = i++;
- base64.encode = function(buffer, start, end) {
- for (var t, parts = null, chunk = [], i = 0, j = 0; start < end; ) {
- var b = buffer[start++];
- switch (j) {
- case 0:
- chunk[i++] = b64[b >> 2], t = (3 & b) << 4, j = 1;
- break;
-
- case 1:
- chunk[i++] = b64[t | b >> 4], t = (15 & b) << 2, j = 2;
- break;
-
- case 2:
- chunk[i++] = b64[t | b >> 6], chunk[i++] = b64[63 & b], j = 0;
- }
- i > 8191 && ((parts || (parts = [])).push(String.fromCharCode.apply(String, chunk)),
- i = 0);
- }
- return j && (chunk[i++] = b64[t], chunk[i++] = 61, 1 === j && (chunk[i++] = 61)),
- parts ? (i && parts.push(String.fromCharCode.apply(String, chunk.slice(0, i))),
- parts.join("")) : String.fromCharCode.apply(String, chunk.slice(0, i));
- }, base64.decode = function(string, buffer, offset) {
- for (var t, start = offset, j = 0, i = 0; i < string.length; ) {
- var c = string.charCodeAt(i++);
- if (61 === c && j > 1) break;
- if (void 0 === (c = s64[c])) throw Error("invalid encoding");
- switch (j) {
- case 0:
- t = c, j = 1;
- break;
-
- case 1:
- buffer[offset++] = t << 2 | (48 & c) >> 4, t = c, j = 2;
- break;
-
- case 2:
- buffer[offset++] = (15 & t) << 4 | (60 & c) >> 2, t = c, j = 3;
- break;
-
- case 3:
- buffer[offset++] = (3 & t) << 6 | c, j = 0;
- }
- }
- if (1 === j) throw Error("invalid encoding");
- return offset - start;
- }, base64.test = function(string) {
- return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(string);
- };
- },
- 8845: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), call = __webpack_require__(9565), ArrayBufferViewCore = __webpack_require__(4644), lengthOfArrayLike = __webpack_require__(6198), toOffset = __webpack_require__(8229), toIndexedObject = __webpack_require__(8981), fails = __webpack_require__(9039), RangeError = globalThis.RangeError, Int8Array = globalThis.Int8Array, Int8ArrayPrototype = Int8Array && Int8Array.prototype, $set = Int8ArrayPrototype && Int8ArrayPrototype.set, aTypedArray = ArrayBufferViewCore.aTypedArray, exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod, WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails((function() {
- var array = new Uint8ClampedArray(2);
- return call($set, array, {
- length: 1,
- 0: 3
- }, 1), 3 !== array[1];
- })), TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails((function() {
- var array = new Int8Array(2);
- return array.set(1), array.set("2", 1), 0 !== array[0] || 2 !== array[1];
- }));
- exportTypedArrayMethod("set", (function(arrayLike) {
- aTypedArray(this);
- var offset = toOffset(arguments.length > 1 ? arguments[1] : void 0, 1), src = toIndexedObject(arrayLike);
- if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset);
- var length = this.length, len = lengthOfArrayLike(src), index = 0;
- if (len + offset > length) throw new RangeError("Wrong length");
- for (;index < len; ) this[offset + index] = src[index++];
- }), !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);
- },
- 8923: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Namespace;
- var ReflectionObject = __webpack_require__(7209);
- ((Namespace.prototype = Object.create(ReflectionObject.prototype)).constructor = Namespace).className = "Namespace";
- var Type, Service, Enum, Field = __webpack_require__(1344), util = __webpack_require__(3262), OneOf = __webpack_require__(1457);
- function arrayToJSON(array, toJSONOptions) {
- if (array && array.length) {
- for (var obj = {}, i = 0; i < array.length; ++i) obj[array[i].name] = array[i].toJSON(toJSONOptions);
- return obj;
- }
- }
- function Namespace(name, options) {
- ReflectionObject.call(this, name, options), this.nested = void 0, this._nestedArray = null;
- }
- function clearCache(namespace) {
- return namespace._nestedArray = null, namespace;
- }
- Namespace.fromJSON = function(name, json) {
- return new Namespace(name, json.options).addJSON(json.nested);
- }, Namespace.arrayToJSON = arrayToJSON, Namespace.isReservedId = function(reserved, id) {
- if (reserved) for (var i = 0; i < reserved.length; ++i) if ("string" != typeof reserved[i] && reserved[i][0] <= id && reserved[i][1] > id) return !0;
- return !1;
- }, Namespace.isReservedName = function(reserved, name) {
- if (reserved) for (var i = 0; i < reserved.length; ++i) if (reserved[i] === name) return !0;
- return !1;
- }, Object.defineProperty(Namespace.prototype, "nestedArray", {
- get: function() {
- return this._nestedArray || (this._nestedArray = util.toArray(this.nested));
- }
- }), Namespace.prototype.toJSON = function(toJSONOptions) {
- return util.toObject([ "options", this.options, "nested", arrayToJSON(this.nestedArray, toJSONOptions) ]);
- }, Namespace.prototype.addJSON = function(nestedJson) {
- if (nestedJson) for (var nested, names = Object.keys(nestedJson), i = 0; i < names.length; ++i) nested = nestedJson[names[i]],
- this.add((void 0 !== nested.fields ? Type.fromJSON : void 0 !== nested.values ? Enum.fromJSON : void 0 !== nested.methods ? Service.fromJSON : void 0 !== nested.id ? Field.fromJSON : Namespace.fromJSON)(names[i], nested));
- return this;
- }, Namespace.prototype.get = function(name) {
- return this.nested && this.nested[name] || null;
- }, Namespace.prototype.getEnum = function(name) {
- if (this.nested && this.nested[name] instanceof Enum) return this.nested[name].values;
- throw Error("no such enum: " + name);
- }, Namespace.prototype.add = function(object) {
- if (!(object instanceof Field && void 0 !== object.extend || object instanceof Type || object instanceof OneOf || object instanceof Enum || object instanceof Service || object instanceof Namespace)) throw TypeError("object must be a valid nested object");
- if (this.nested) {
- var prev = this.get(object.name);
- if (prev) {
- if (!(prev instanceof Namespace && object instanceof Namespace) || prev instanceof Type || prev instanceof Service) throw Error("duplicate name '" + object.name + "' in " + this);
- for (var nested = prev.nestedArray, i = 0; i < nested.length; ++i) object.add(nested[i]);
- this.remove(prev), this.nested || (this.nested = {}), object.setOptions(prev.options, !0);
- }
- } else this.nested = {};
- return this.nested[object.name] = object, object.onAdd(this), clearCache(this);
- }, Namespace.prototype.remove = function(object) {
- if (!(object instanceof ReflectionObject)) throw TypeError("object must be a ReflectionObject");
- if (object.parent !== this) throw Error(object + " is not a member of " + this);
- return delete this.nested[object.name], Object.keys(this.nested).length || (this.nested = void 0),
- object.onRemove(this), clearCache(this);
- }, Namespace.prototype.define = function(path, json) {
- if (util.isString(path)) path = path.split("."); else if (!Array.isArray(path)) throw TypeError("illegal path");
- if (path && path.length && "" === path[0]) throw Error("path must be relative");
- for (var ptr = this; path.length > 0; ) {
- var part = path.shift();
- if (ptr.nested && ptr.nested[part]) {
- if (!((ptr = ptr.nested[part]) instanceof Namespace)) throw Error("path conflicts with non-namespace objects");
- } else ptr.add(ptr = new Namespace(part));
- }
- return json && ptr.addJSON(json), ptr;
- }, Namespace.prototype.resolveAll = function() {
- for (var nested = this.nestedArray, i = 0; i < nested.length; ) nested[i] instanceof Namespace ? nested[i++].resolveAll() : nested[i++].resolve();
- return this.resolve();
- }, Namespace.prototype.lookup = function(path, filterTypes, parentAlreadyChecked) {
- if ("boolean" == typeof filterTypes ? (parentAlreadyChecked = filterTypes, filterTypes = void 0) : filterTypes && !Array.isArray(filterTypes) && (filterTypes = [ filterTypes ]),
- util.isString(path) && path.length) {
- if ("." === path) return this.root;
- path = path.split(".");
- } else if (!path.length) return this;
- if ("" === path[0]) return this.root.lookup(path.slice(1), filterTypes);
- var found = this.get(path[0]);
- if (found) {
- if (1 === path.length) {
- if (!filterTypes || filterTypes.indexOf(found.constructor) > -1) return found;
- } else if (found instanceof Namespace && (found = found.lookup(path.slice(1), filterTypes, !0))) return found;
- } else for (var i = 0; i < this.nestedArray.length; ++i) if (this._nestedArray[i] instanceof Namespace && (found = this._nestedArray[i].lookup(path, filterTypes, !0))) return found;
- return null === this.parent || parentAlreadyChecked ? null : this.parent.lookup(path, filterTypes);
- }, Namespace.prototype.lookupType = function(path) {
- var found = this.lookup(path, [ Type ]);
- if (!found) throw Error("no such type: " + path);
- return found;
- }, Namespace.prototype.lookupEnum = function(path) {
- var found = this.lookup(path, [ Enum ]);
- if (!found) throw Error("no such Enum '" + path + "' in " + this);
- return found;
- }, Namespace.prototype.lookupTypeOrEnum = function(path) {
- var found = this.lookup(path, [ Type, Enum ]);
- if (!found) throw Error("no such Type or Enum '" + path + "' in " + this);
- return found;
- }, Namespace.prototype.lookupService = function(path) {
- var found = this.lookup(path, [ Service ]);
- if (!found) throw Error("no such Service '" + path + "' in " + this);
- return found;
- }, Namespace._configure = function(Type_, Service_, Enum_) {
- Type = Type_, Service = Service_, Enum = Enum_;
- };
- },
- 8940: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), $parseInt = __webpack_require__(2703);
- $({
- global: !0,
- forced: parseInt !== $parseInt
- }, {
- parseInt: $parseInt
- });
- },
- 8981: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var requireObjectCoercible = __webpack_require__(7750), $Object = Object;
- module.exports = function(argument) {
- return $Object(requireObjectCoercible(argument));
- };
- },
- 8995: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $map = __webpack_require__(9213).map, aTypedArray = ArrayBufferViewCore.aTypedArray, getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("map", (function(mapfn) {
- return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : void 0, (function(O, length) {
- return new (getTypedArrayConstructor(O))(length);
- }));
- }));
- },
- 9039: module => {
- "use strict";
- module.exports = function(exec) {
- try {
- return !!exec();
- } catch (error) {
- return !0;
- }
- };
- },
- 9085: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), assign = __webpack_require__(4213);
- $({
- target: "Object",
- stat: !0,
- arity: 2,
- forced: Object.assign !== assign
- }, {
- assign
- });
- },
- 9100: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var protobuf = module.exports = __webpack_require__(5325);
- protobuf.build = "full", protobuf.tokenize = __webpack_require__(527), protobuf.parse = __webpack_require__(4863),
- protobuf.common = __webpack_require__(5095), protobuf.Root._configure(protobuf.Type, protobuf.parse, protobuf.common);
- },
- 9167: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576);
- module.exports = globalThis;
- },
- 9207: (__unused_webpack_module, exports) => {
- "use strict";
- var path = exports, isAbsolute = path.isAbsolute = function(path) {
- return /^(?:\/|\w+:)/.test(path);
- }, normalize = path.normalize = function(path) {
- var parts = (path = path.replace(/\\/g, "/").replace(/\/{2,}/g, "/")).split("/"), absolute = isAbsolute(path), prefix = "";
- absolute && (prefix = parts.shift() + "/");
- for (var i = 0; i < parts.length; ) ".." === parts[i] ? i > 0 && ".." !== parts[i - 1] ? parts.splice(--i, 2) : absolute ? parts.splice(i, 1) : ++i : "." === parts[i] ? parts.splice(i, 1) : ++i;
- return prefix + parts.join("/");
- };
- path.resolve = function(originPath, includePath, alreadyNormalized) {
- return alreadyNormalized || (includePath = normalize(includePath)), isAbsolute(includePath) ? includePath : (alreadyNormalized || (originPath = normalize(originPath)),
- (originPath = originPath.replace(/(?:\/|^)[^/]+$/, "")).length ? normalize(originPath + "/" + includePath) : includePath);
- };
- },
- 9213: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var bind = __webpack_require__(6080), uncurryThis = __webpack_require__(9504), IndexedObject = __webpack_require__(7055), toObject = __webpack_require__(8981), lengthOfArrayLike = __webpack_require__(6198), arraySpeciesCreate = __webpack_require__(1469), push = uncurryThis([].push), createMethod = function(TYPE) {
- var IS_MAP = 1 === TYPE, IS_FILTER = 2 === TYPE, IS_SOME = 3 === TYPE, IS_EVERY = 4 === TYPE, IS_FIND_INDEX = 6 === TYPE, IS_FILTER_REJECT = 7 === TYPE, NO_HOLES = 5 === TYPE || IS_FIND_INDEX;
- return function($this, callbackfn, that, specificCreate) {
- for (var value, result, O = toObject($this), self = IndexedObject(O), length = lengthOfArrayLike(self), boundFunction = bind(callbackfn, that), index = 0, create = specificCreate || arraySpeciesCreate, target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : void 0; length > index; index++) if ((NO_HOLES || index in self) && (result = boundFunction(value = self[index], index, O),
- TYPE)) if (IS_MAP) target[index] = result; else if (result) switch (TYPE) {
- case 3:
- return !0;
-
- case 5:
- return value;
-
- case 6:
- return index;
-
- case 2:
- push(target, value);
- } else switch (TYPE) {
- case 4:
- return !1;
-
- case 7:
- push(target, value);
- }
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
- };
- };
- module.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: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $location, defer, channel, port, globalThis = __webpack_require__(4576), apply = __webpack_require__(8745), bind = __webpack_require__(6080), isCallable = __webpack_require__(4901), hasOwn = __webpack_require__(9297), fails = __webpack_require__(9039), html = __webpack_require__(397), arraySlice = __webpack_require__(7680), createElement = __webpack_require__(4055), validateArgumentsLength = __webpack_require__(2812), IS_IOS = __webpack_require__(9544), IS_NODE = __webpack_require__(6193), set = globalThis.setImmediate, clear = globalThis.clearImmediate, process = globalThis.process, Dispatch = globalThis.Dispatch, Function = globalThis.Function, MessageChannel = globalThis.MessageChannel, String = globalThis.String, counter = 0, queue = {};
- fails((function() {
- $location = globalThis.location;
- }));
- var run = function(id) {
- if (hasOwn(queue, id)) {
- var fn = queue[id];
- delete queue[id], fn();
- }
- }, runner = function(id) {
- return function() {
- run(id);
- };
- }, eventListener = function(event) {
- run(event.data);
- }, globalPostMessageDefer = function(id) {
- globalThis.postMessage(String(id), $location.protocol + "//" + $location.host);
- };
- set && clear || (set = function(handler) {
- validateArgumentsLength(arguments.length, 1);
- var fn = isCallable(handler) ? handler : Function(handler), args = arraySlice(arguments, 1);
- return queue[++counter] = function() {
- apply(fn, void 0, args);
- }, defer(counter), counter;
- }, clear = function(id) {
- delete queue[id];
- }, IS_NODE ? defer = function(id) {
- process.nextTick(runner(id));
- } : Dispatch && Dispatch.now ? defer = function(id) {
- Dispatch.now(runner(id));
- } : MessageChannel && !IS_IOS ? (port = (channel = new MessageChannel).port2, channel.port1.onmessage = eventListener,
- defer = bind(port.postMessage, port)) : globalThis.addEventListener && isCallable(globalThis.postMessage) && !globalThis.importScripts && $location && "file:" !== $location.protocol && !fails(globalPostMessageDefer) ? (defer = globalPostMessageDefer,
- globalThis.addEventListener("message", eventListener, !1)) : defer = "onreadystatechange" in createElement("script") ? function(id) {
- html.appendChild(createElement("script")).onreadystatechange = function() {
- html.removeChild(this), run(id);
- };
- } : function(id) {
- setTimeout(runner(id), 0);
- }), module.exports = {
- set,
- clear
- };
- },
- 9228: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- __webpack_require__(7495);
- var call = __webpack_require__(9565), defineBuiltIn = __webpack_require__(6840), regexpExec = __webpack_require__(7323), fails = __webpack_require__(9039), wellKnownSymbol = __webpack_require__(8227), createNonEnumerableProperty = __webpack_require__(6699), SPECIES = wellKnownSymbol("species"), RegExpPrototype = RegExp.prototype;
- module.exports = function(KEY, exec, FORCED, SHAM) {
- var SYMBOL = wellKnownSymbol(KEY), DELEGATES_TO_SYMBOL = !fails((function() {
- var O = {};
- return O[SYMBOL] = function() {
- return 7;
- }, 7 !== ""[KEY](O);
- })), DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails((function() {
- var execCalled = !1, re = /a/;
- return "split" === KEY && ((re = {}).constructor = {}, re.constructor[SPECIES] = function() {
- return re;
- }, re.flags = "", re[SYMBOL] = /./[SYMBOL]), re.exec = function() {
- return execCalled = !0, null;
- }, re[SYMBOL](""), !execCalled;
- }));
- if (!DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || FORCED) {
- var nativeRegExpMethod = /./[SYMBOL], methods = exec(SYMBOL, ""[KEY], (function(nativeMethod, regexp, str, arg2, forceStringMethod) {
- var $exec = regexp.exec;
- return $exec === regexpExec || $exec === RegExpPrototype.exec ? DELEGATES_TO_SYMBOL && !forceStringMethod ? {
- done: !0,
- value: call(nativeRegExpMethod, regexp, str, arg2)
- } : {
- done: !0,
- value: call(nativeMethod, str, regexp, arg2)
- } : {
- done: !1
- };
- }));
- defineBuiltIn(String.prototype, KEY, methods[0]), defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
- }
- SHAM && createNonEnumerableProperty(RegExpPrototype[SYMBOL], "sham", !0);
- };
- },
- 9296: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var classList = __webpack_require__(4055)("span").classList, DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;
- module.exports = DOMTokenListPrototype === Object.prototype ? void 0 : DOMTokenListPrototype;
- },
- 9297: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var uncurryThis = __webpack_require__(9504), toObject = __webpack_require__(8981), hasOwnProperty = uncurryThis({}.hasOwnProperty);
- module.exports = Object.hasOwn || function(it, key) {
- return hasOwnProperty(toObject(it), key);
- };
- },
- 9306: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var isCallable = __webpack_require__(4901), tryToString = __webpack_require__(6823), $TypeError = TypeError;
- module.exports = function(argument) {
- if (isCallable(argument)) return argument;
- throw new $TypeError(tryToString(argument) + " is not a function");
- };
- },
- 9369: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), uncurryThis = __webpack_require__(9504), aTypedArray = ArrayBufferViewCore.aTypedArray, exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod, $join = uncurryThis([].join);
- exportTypedArrayMethod("join", (function(separator) {
- return $join(aTypedArray(this), separator);
- }));
- },
- 9390: module => {
- "use strict";
- module.exports = function(alloc, slice, size) {
- var SIZE = size || 8192, MAX = SIZE >>> 1, slab = null, offset = SIZE;
- return function(size) {
- if (size < 1 || size > MAX) return alloc(size);
- offset + size > SIZE && (slab = alloc(SIZE), offset = 0);
- var buf = slice.call(slab, offset, offset += size);
- return 7 & offset && (offset = 1 + (7 | offset)), buf;
- };
- };
- },
- 9410: module => {
- "use strict";
- function factory(exports) {
- return "undefined" != typeof Float32Array ? function() {
- var f32 = new Float32Array([ -0 ]), f8b = new Uint8Array(f32.buffer), le = 128 === f8b[3];
- function writeFloat_f32_cpy(val, buf, pos) {
- f32[0] = val, buf[pos] = f8b[0], buf[pos + 1] = f8b[1], buf[pos + 2] = f8b[2], buf[pos + 3] = f8b[3];
- }
- function writeFloat_f32_rev(val, buf, pos) {
- f32[0] = val, buf[pos] = f8b[3], buf[pos + 1] = f8b[2], buf[pos + 2] = f8b[1], buf[pos + 3] = f8b[0];
- }
- function readFloat_f32_cpy(buf, pos) {
- return f8b[0] = buf[pos], f8b[1] = buf[pos + 1], f8b[2] = buf[pos + 2], f8b[3] = buf[pos + 3],
- f32[0];
- }
- function readFloat_f32_rev(buf, pos) {
- return f8b[3] = buf[pos], f8b[2] = buf[pos + 1], f8b[1] = buf[pos + 2], f8b[0] = buf[pos + 3],
- f32[0];
- }
- exports.writeFloatLE = le ? writeFloat_f32_cpy : writeFloat_f32_rev, exports.writeFloatBE = le ? writeFloat_f32_rev : writeFloat_f32_cpy,
- exports.readFloatLE = le ? readFloat_f32_cpy : readFloat_f32_rev, exports.readFloatBE = le ? readFloat_f32_rev : readFloat_f32_cpy;
- }() : function() {
- function writeFloat_ieee754(writeUint, val, buf, pos) {
- var sign = val < 0 ? 1 : 0;
- if (sign && (val = -val), 0 === val) writeUint(1 / val > 0 ? 0 : 2147483648, buf, pos); else if (isNaN(val)) writeUint(2143289344, buf, pos); else if (val > 34028234663852886e22) writeUint((sign << 31 | 2139095040) >>> 0, buf, pos); else if (val < 11754943508222875e-54) writeUint((sign << 31 | Math.round(val / 1401298464324817e-60)) >>> 0, buf, pos); else {
- var exponent = Math.floor(Math.log(val) / Math.LN2);
- writeUint((sign << 31 | exponent + 127 << 23 | 8388607 & Math.round(val * Math.pow(2, -exponent) * 8388608)) >>> 0, buf, pos);
- }
- }
- function readFloat_ieee754(readUint, buf, pos) {
- var uint = readUint(buf, pos), sign = 2 * (uint >> 31) + 1, exponent = uint >>> 23 & 255, mantissa = 8388607 & uint;
- return 255 === exponent ? mantissa ? NaN : sign * (1 / 0) : 0 === exponent ? 1401298464324817e-60 * sign * mantissa : sign * Math.pow(2, exponent - 150) * (mantissa + 8388608);
- }
- exports.writeFloatLE = writeFloat_ieee754.bind(null, writeUintLE), exports.writeFloatBE = writeFloat_ieee754.bind(null, writeUintBE),
- exports.readFloatLE = readFloat_ieee754.bind(null, readUintLE), exports.readFloatBE = readFloat_ieee754.bind(null, readUintBE);
- }(), "undefined" != typeof Float64Array ? function() {
- var f64 = new Float64Array([ -0 ]), f8b = new Uint8Array(f64.buffer), le = 128 === f8b[7];
- function writeDouble_f64_cpy(val, buf, pos) {
- f64[0] = val, buf[pos] = f8b[0], buf[pos + 1] = f8b[1], buf[pos + 2] = f8b[2], buf[pos + 3] = f8b[3],
- buf[pos + 4] = f8b[4], buf[pos + 5] = f8b[5], buf[pos + 6] = f8b[6], buf[pos + 7] = f8b[7];
- }
- function writeDouble_f64_rev(val, buf, pos) {
- f64[0] = val, buf[pos] = f8b[7], buf[pos + 1] = f8b[6], buf[pos + 2] = f8b[5], buf[pos + 3] = f8b[4],
- buf[pos + 4] = f8b[3], buf[pos + 5] = f8b[2], buf[pos + 6] = f8b[1], buf[pos + 7] = f8b[0];
- }
- function readDouble_f64_cpy(buf, pos) {
- return f8b[0] = buf[pos], f8b[1] = buf[pos + 1], f8b[2] = buf[pos + 2], f8b[3] = buf[pos + 3],
- f8b[4] = buf[pos + 4], f8b[5] = buf[pos + 5], f8b[6] = buf[pos + 6], f8b[7] = buf[pos + 7],
- f64[0];
- }
- function readDouble_f64_rev(buf, pos) {
- return f8b[7] = buf[pos], f8b[6] = buf[pos + 1], f8b[5] = buf[pos + 2], f8b[4] = buf[pos + 3],
- f8b[3] = buf[pos + 4], f8b[2] = buf[pos + 5], f8b[1] = buf[pos + 6], f8b[0] = buf[pos + 7],
- f64[0];
- }
- exports.writeDoubleLE = le ? writeDouble_f64_cpy : writeDouble_f64_rev, exports.writeDoubleBE = le ? writeDouble_f64_rev : writeDouble_f64_cpy,
- exports.readDoubleLE = le ? readDouble_f64_cpy : readDouble_f64_rev, exports.readDoubleBE = le ? readDouble_f64_rev : readDouble_f64_cpy;
- }() : function() {
- function writeDouble_ieee754(writeUint, off0, off1, val, buf, pos) {
- var sign = val < 0 ? 1 : 0;
- if (sign && (val = -val), 0 === val) writeUint(0, buf, pos + off0), writeUint(1 / val > 0 ? 0 : 2147483648, buf, pos + off1); else if (isNaN(val)) writeUint(0, buf, pos + off0),
- writeUint(2146959360, buf, pos + off1); else if (val > 17976931348623157e292) writeUint(0, buf, pos + off0),
- writeUint((sign << 31 | 2146435072) >>> 0, buf, pos + off1); else {
- var mantissa;
- if (val < 22250738585072014e-324) writeUint((mantissa = val / 5e-324) >>> 0, buf, pos + off0),
- writeUint((sign << 31 | mantissa / 4294967296) >>> 0, buf, pos + off1); else {
- var exponent = Math.floor(Math.log(val) / Math.LN2);
- 1024 === exponent && (exponent = 1023), writeUint(4503599627370496 * (mantissa = val * Math.pow(2, -exponent)) >>> 0, buf, pos + off0),
- writeUint((sign << 31 | exponent + 1023 << 20 | 1048576 * mantissa & 1048575) >>> 0, buf, pos + off1);
- }
- }
- }
- function readDouble_ieee754(readUint, off0, off1, buf, pos) {
- var lo = readUint(buf, pos + off0), hi = readUint(buf, pos + off1), sign = 2 * (hi >> 31) + 1, exponent = hi >>> 20 & 2047, mantissa = 4294967296 * (1048575 & hi) + lo;
- return 2047 === exponent ? mantissa ? NaN : sign * (1 / 0) : 0 === exponent ? 5e-324 * sign * mantissa : sign * Math.pow(2, exponent - 1075) * (mantissa + 4503599627370496);
- }
- exports.writeDoubleLE = writeDouble_ieee754.bind(null, writeUintLE, 0, 4), exports.writeDoubleBE = writeDouble_ieee754.bind(null, writeUintBE, 4, 0),
- exports.readDoubleLE = readDouble_ieee754.bind(null, readUintLE, 0, 4), exports.readDoubleBE = readDouble_ieee754.bind(null, readUintBE, 4, 0);
- }(), exports;
- }
- function writeUintLE(val, buf, pos) {
- buf[pos] = 255 & val, buf[pos + 1] = val >>> 8 & 255, buf[pos + 2] = val >>> 16 & 255,
- buf[pos + 3] = val >>> 24;
- }
- function writeUintBE(val, buf, pos) {
- buf[pos] = val >>> 24, buf[pos + 1] = val >>> 16 & 255, buf[pos + 2] = val >>> 8 & 255,
- buf[pos + 3] = 255 & val;
- }
- function readUintLE(buf, pos) {
- return (buf[pos] | buf[pos + 1] << 8 | buf[pos + 2] << 16 | buf[pos + 3] << 24) >>> 0;
- }
- function readUintBE(buf, pos) {
- return (buf[pos] << 24 | buf[pos + 1] << 16 | buf[pos + 2] << 8 | buf[pos + 3]) >>> 0;
- }
- module.exports = factory(factory);
- },
- 9423: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), fails = __webpack_require__(9039), arraySlice = __webpack_require__(7680), aTypedArray = ArrayBufferViewCore.aTypedArray, getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("slice", (function(start, end) {
- for (var list = arraySlice(aTypedArray(this), start, end), C = getTypedArrayConstructor(this), index = 0, length = list.length, result = new C(length); length > index; ) result[index] = list[index++];
- return result;
- }), fails((function() {
- new Int8Array(1).slice();
- })));
- },
- 9432: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), toObject = __webpack_require__(8981), nativeKeys = __webpack_require__(1072);
- $({
- target: "Object",
- stat: !0,
- forced: __webpack_require__(9039)((function() {
- nativeKeys(1);
- }))
- }, {
- keys: function(it) {
- return nativeKeys(toObject(it));
- }
- });
- },
- 9433: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var globalThis = __webpack_require__(4576), defineProperty = Object.defineProperty;
- module.exports = function(key, value) {
- try {
- defineProperty(globalThis, key, {
- value,
- configurable: !0,
- writable: !0
- });
- } catch (error) {
- globalThis[key] = value;
- }
- return value;
- };
- },
- 9463: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), DESCRIPTORS = __webpack_require__(3724), globalThis = __webpack_require__(4576), uncurryThis = __webpack_require__(9504), hasOwn = __webpack_require__(9297), isCallable = __webpack_require__(4901), isPrototypeOf = __webpack_require__(1625), toString = __webpack_require__(655), defineBuiltInAccessor = __webpack_require__(2106), copyConstructorProperties = __webpack_require__(7740), NativeSymbol = globalThis.Symbol, SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
- if (DESCRIPTORS && isCallable(NativeSymbol) && (!("description" in SymbolPrototype) || void 0 !== NativeSymbol().description)) {
- var EmptyStringDescriptionStore = {}, SymbolWrapper = function() {
- var description = arguments.length < 1 || void 0 === arguments[0] ? void 0 : toString(arguments[0]), result = isPrototypeOf(SymbolPrototype, this) ? new NativeSymbol(description) : void 0 === description ? NativeSymbol() : NativeSymbol(description);
- return "" === description && (EmptyStringDescriptionStore[result] = !0), result;
- };
- copyConstructorProperties(SymbolWrapper, NativeSymbol), SymbolWrapper.prototype = SymbolPrototype,
- SymbolPrototype.constructor = SymbolWrapper;
- var NATIVE_SYMBOL = "Symbol(description detection)" === String(NativeSymbol("description detection")), thisSymbolValue = uncurryThis(SymbolPrototype.valueOf), symbolDescriptiveString = uncurryThis(SymbolPrototype.toString), regexp = /^Symbol\((.*)\)[^)]+$/, replace = uncurryThis("".replace), stringSlice = uncurryThis("".slice);
- defineBuiltInAccessor(SymbolPrototype, "description", {
- configurable: !0,
- get: function() {
- var symbol = thisSymbolValue(this);
- if (hasOwn(EmptyStringDescriptionStore, symbol)) return "";
- var string = symbolDescriptiveString(symbol), desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, "$1");
- return "" === desc ? void 0 : desc;
- }
- }), $({
- global: !0,
- constructor: !0,
- forced: !0
- }, {
- Symbol: SymbolWrapper
- });
- }
- },
- 9504: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var NATIVE_BIND = __webpack_require__(616), FunctionPrototype = Function.prototype, call = FunctionPrototype.call, uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
- module.exports = NATIVE_BIND ? uncurryThisWithBind : function(fn) {
- return function() {
- return call.apply(fn, arguments);
- };
- };
- },
- 9519: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var match, version, globalThis = __webpack_require__(4576), userAgent = __webpack_require__(2839), process = globalThis.process, Deno = globalThis.Deno, versions = process && process.versions || Deno && Deno.version, v8 = versions && versions.v8;
- v8 && (version = (match = v8.split("."))[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1])),
- !version && userAgent && (!(match = userAgent.match(/Edge\/(\d+)/)) || match[1] >= 74) && (match = userAgent.match(/Chrome\/(\d+)/)) && (version = +match[1]),
- module.exports = version;
- },
- 9539: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var call = __webpack_require__(9565), anObject = __webpack_require__(8551), getMethod = __webpack_require__(5966);
- module.exports = function(iterator, kind, value) {
- var innerResult, innerError;
- anObject(iterator);
- try {
- if (!(innerResult = getMethod(iterator, "return"))) {
- if ("throw" === kind) throw value;
- return value;
- }
- innerResult = call(innerResult, iterator);
- } catch (error) {
- innerError = !0, innerResult = error;
- }
- if ("throw" === kind) throw value;
- if (innerError) throw innerResult;
- return anObject(innerResult), value;
- };
- },
- 9544: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var userAgent = __webpack_require__(2839);
- module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
- },
- 9565: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var NATIVE_BIND = __webpack_require__(616), call = Function.prototype.call;
- module.exports = NATIVE_BIND ? call.bind(call) : function() {
- return call.apply(call, arguments);
- };
- },
- 9590: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toIntegerOrInfinity = __webpack_require__(1291), $RangeError = RangeError;
- module.exports = function(it) {
- var result = toIntegerOrInfinity(it);
- if (result < 0) throw new $RangeError("The argument can't be less than 0");
- return result;
- };
- },
- 9617: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var toIndexedObject = __webpack_require__(5397), toAbsoluteIndex = __webpack_require__(5610), lengthOfArrayLike = __webpack_require__(6198), createMethod = function(IS_INCLUDES) {
- return function($this, el, fromIndex) {
- var O = toIndexedObject($this), length = lengthOfArrayLike(O);
- if (0 === length) return !IS_INCLUDES && -1;
- var value, index = toAbsoluteIndex(fromIndex, length);
- if (IS_INCLUDES && el != el) {
- for (;length > index; ) if ((value = O[index++]) != value) return !0;
- } else for (;length > index; index++) if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
- return !IS_INCLUDES && -1;
- };
- };
- module.exports = {
- includes: createMethod(!0),
- indexOf: createMethod(!1)
- };
- },
- 9687: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- module.exports = Service;
- var Namespace = __webpack_require__(8923);
- ((Service.prototype = Object.create(Namespace.prototype)).constructor = Service).className = "Service";
- var Method = __webpack_require__(8811), util = __webpack_require__(3262), rpc = __webpack_require__(5047);
- function Service(name, options) {
- Namespace.call(this, name, options), this.methods = {}, this._methodsArray = null;
- }
- function clearCache(service) {
- return service._methodsArray = null, service;
- }
- Service.fromJSON = function(name, json) {
- var service = new Service(name, json.options);
- if (json.methods) for (var names = Object.keys(json.methods), i = 0; i < names.length; ++i) service.add(Method.fromJSON(names[i], json.methods[names[i]]));
- return json.nested && service.addJSON(json.nested), service.comment = json.comment,
- service;
- }, Service.prototype.toJSON = function(toJSONOptions) {
- var inherited = Namespace.prototype.toJSON.call(this, toJSONOptions), keepComments = !!toJSONOptions && Boolean(toJSONOptions.keepComments);
- return util.toObject([ "options", inherited && inherited.options || void 0, "methods", Namespace.arrayToJSON(this.methodsArray, toJSONOptions) || {}, "nested", inherited && inherited.nested || void 0, "comment", keepComments ? this.comment : void 0 ]);
- }, Object.defineProperty(Service.prototype, "methodsArray", {
- get: function() {
- return this._methodsArray || (this._methodsArray = util.toArray(this.methods));
- }
- }), Service.prototype.get = function(name) {
- return this.methods[name] || Namespace.prototype.get.call(this, name);
- }, Service.prototype.resolveAll = function() {
- for (var methods = this.methodsArray, i = 0; i < methods.length; ++i) methods[i].resolve();
- return Namespace.prototype.resolve.call(this);
- }, Service.prototype.add = function(object) {
- if (this.get(object.name)) throw Error("duplicate name '" + object.name + "' in " + this);
- return object instanceof Method ? (this.methods[object.name] = object, object.parent = this,
- clearCache(this)) : Namespace.prototype.add.call(this, object);
- }, Service.prototype.remove = function(object) {
- if (object instanceof Method) {
- if (this.methods[object.name] !== object) throw Error(object + " is not a member of " + this);
- return delete this.methods[object.name], object.parent = null, clearCache(this);
- }
- return Namespace.prototype.remove.call(this, object);
- }, Service.prototype.create = function(rpcImpl, requestDelimited, responseDelimited) {
- for (var method, rpcService = new rpc.Service(rpcImpl, requestDelimited, responseDelimited), i = 0; i < this.methodsArray.length; ++i) {
- var methodName = util.lcFirst((method = this._methodsArray[i]).resolve().name).replace(/[^$\w_]/g, "");
- rpcService[methodName] = util.codegen([ "r", "c" ], util.isReserved(methodName) ? methodName + "_" : methodName)("return this.rpcCall(m,q,s,r,c)")({
- m: method,
- q: method.resolvedRequestType.ctor,
- s: method.resolvedResponseType.ctor
- });
- }
- return rpcService;
- };
- },
- 9773: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), NATIVE_SYMBOL = __webpack_require__(4495), fails = __webpack_require__(9039), getOwnPropertySymbolsModule = __webpack_require__(3717), toObject = __webpack_require__(8981);
- $({
- target: "Object",
- stat: !0,
- forced: !NATIVE_SYMBOL || fails((function() {
- getOwnPropertySymbolsModule.f(1);
- }))
- }, {
- getOwnPropertySymbols: function(it) {
- var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
- return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];
- }
- });
- },
- 9868: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var $ = __webpack_require__(6518), uncurryThis = __webpack_require__(9504), toIntegerOrInfinity = __webpack_require__(1291), thisNumberValue = __webpack_require__(1240), $repeat = __webpack_require__(2333), fails = __webpack_require__(9039), $RangeError = RangeError, $String = String, floor = Math.floor, repeat = uncurryThis($repeat), stringSlice = uncurryThis("".slice), nativeToFixed = uncurryThis(1..toFixed), pow = function(x, n, acc) {
- return 0 === n ? acc : n % 2 == 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
- }, multiply = function(data, n, c) {
- for (var index = -1, c2 = c; ++index < 6; ) c2 += n * data[index], data[index] = c2 % 1e7,
- c2 = floor(c2 / 1e7);
- }, divide = function(data, n) {
- for (var index = 6, c = 0; --index >= 0; ) c += data[index], data[index] = floor(c / n),
- c = c % n * 1e7;
- }, dataToString = function(data) {
- for (var index = 6, s = ""; --index >= 0; ) if ("" !== s || 0 === index || 0 !== data[index]) {
- var t = $String(data[index]);
- s = "" === s ? t : s + repeat("0", 7 - t.length) + t;
- }
- return s;
- };
- $({
- target: "Number",
- proto: !0,
- forced: fails((function() {
- return "0.000" !== nativeToFixed(8e-5, 3) || "1" !== nativeToFixed(.9, 0) || "1.25" !== nativeToFixed(1.255, 2) || "1000000000000000128" !== nativeToFixed(0xde0b6b3a7640080, 0);
- })) || !fails((function() {
- nativeToFixed({});
- }))
- }, {
- toFixed: function(fractionDigits) {
- var e, z, j, k, number = thisNumberValue(this), fractDigits = toIntegerOrInfinity(fractionDigits), data = [ 0, 0, 0, 0, 0, 0 ], sign = "", result = "0";
- if (fractDigits < 0 || fractDigits > 20) throw new $RangeError("Incorrect fraction digits");
- if (number != number) return "NaN";
- if (number <= -1e21 || number >= 1e21) return $String(number);
- if (number < 0 && (sign = "-", number = -number), number > 1e-21) if (z = (e = function(x) {
- for (var n = 0, x2 = x; x2 >= 4096; ) n += 12, x2 /= 4096;
- for (;x2 >= 2; ) n += 1, x2 /= 2;
- return n;
- }(number * pow(2, 69, 1)) - 69) < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1),
- z *= 4503599627370496, (e = 52 - e) > 0) {
- for (multiply(data, 0, z), j = fractDigits; j >= 7; ) multiply(data, 1e7, 0), j -= 7;
- for (multiply(data, pow(10, j, 1), 0), j = e - 1; j >= 23; ) divide(data, 1 << 23),
- j -= 23;
- divide(data, 1 << j), multiply(data, 1, 1), divide(data, 2), result = dataToString(data);
- } else multiply(data, 0, z), multiply(data, 1 << -e, 0), result = dataToString(data) + repeat("0", fractDigits);
- return fractDigits > 0 ? sign + ((k = result.length) <= fractDigits ? "0." + repeat("0", fractDigits - k) + result : stringSlice(result, 0, k - fractDigits) + "." + stringSlice(result, k - fractDigits)) : sign + result;
- }
- });
- },
- 9948: (module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var arrayFromConstructorAndList = __webpack_require__(5370), getTypedArrayConstructor = __webpack_require__(4644).getTypedArrayConstructor;
- module.exports = function(instance, list) {
- return arrayFromConstructorAndList(getTypedArrayConstructor(instance), list);
- };
- },
- 9955: (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(4644), $findIndex = __webpack_require__(9213).findIndex, aTypedArray = ArrayBufferViewCore.aTypedArray;
- (0, ArrayBufferViewCore.exportTypedArrayMethod)("findIndex", (function(predicate) {
- return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : void 0);
- }));
- }
- }, __webpack_module_cache__ = {};
- function __webpack_require__(moduleId) {
- var cachedModule = __webpack_module_cache__[moduleId];
- if (void 0 !== cachedModule) return cachedModule.exports;
- var module = __webpack_module_cache__[moduleId] = {
- exports: {}
- };
- return __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__),
- module.exports;
- }
- __webpack_require__.n = module => {
- var getter = module && module.__esModule ? () => module.default : () => module;
- return __webpack_require__.d(getter, {
- a: getter
- }), getter;
- }, __webpack_require__.d = (exports, definition) => {
- for (var key in definition) __webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key) && Object.defineProperty(exports, key, {
- enumerable: !0,
- get: definition[key]
- });
- }, __webpack_require__.g = function() {
- if ("object" == typeof globalThis) return globalThis;
- try {
- return this || new Function("return this")();
- } catch (e) {
- if ("object" == typeof window) return window;
- }
- }(), __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);
- var __webpack_exports__ = {};
- return (() => {
- "use strict";
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
- try {
- var i = n[a](c), u = i.value;
- } catch (n) {
- return void e(n);
- }
- i.done ? t(u) : Promise.resolve(u).then(r, o);
- }
- function _asyncToGenerator(n) {
- return function() {
- var t = this, e = arguments;
- return new Promise((function(r, o) {
- var a = n.apply(t, e);
- function _next(n) {
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
- }
- function _throw(n) {
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
- }
- _next(void 0);
- }));
- };
- }
- __webpack_require__.d(__webpack_exports__, {
- "default": () => src
- });
- var regenerator = __webpack_require__(4756), regenerator_default = __webpack_require__.n(regenerator);
- __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 src_gameState = {
- selfId: null,
- area: null,
- entities: {},
- globalEntities: {},
- settings: {},
- reset: function() {
- this.entities = {}, this.globalEntities = {};
- },
- update: function(data) {
- var _this = this, currentTime = Date.now(), updatedEntityIds = new Set, updatedGlobalEntityIds = new Set;
- data.complete ? (data.selfId && (this.selfId = data.selfId), data.area && (this.area = data.area),
- data.settings && (this.settings = data.settings), data.entities && (this.entities = {},
- data.entities.forEach((function(entity) {
- entity._lastUpdated = currentTime, _this.entities[entity.id] = entity, updatedEntityIds.add(entity.id);
- }))), data.globalEntities && (this.globalEntities = {}, data.globalEntities.forEach((function(entity) {
- entity._lastUpdated = currentTime, _this.globalEntities[entity.id] = entity, updatedGlobalEntityIds.add(entity.id);
- })))) : (data.entities || data.globalEntities) && (data.entities && data.entities.forEach((function(entity) {
- updatedEntityIds.add(entity.id), _this.entities[entity.id] ? (Object.assign(_this.entities[entity.id], entity),
- _this.entities[entity.id]._lastUpdated = currentTime) : (entity._lastUpdated = currentTime,
- _this.entities[entity.id] = entity);
- })), data.globalEntities && data.globalEntities.forEach((function(entity) {
- updatedGlobalEntityIds.add(entity.id), _this.globalEntities[entity.id] ? (Object.assign(_this.globalEntities[entity.id], entity),
- _this.globalEntities[entity.id]._lastUpdated = currentTime) : (entity._lastUpdated = currentTime,
- _this.globalEntities[entity.id] = entity);
- })), this.cleanupMissingEntities(updatedEntityIds, this.entities), this.cleanupMissingEntities(updatedGlobalEntityIds, this.globalEntities)),
- this.cleanupExpiredEntities();
- },
- cleanupMissingEntities: function(updatedIds, entityCollection) {
- Object.keys(entityCollection).forEach((function(id) {
- void 0 === entityCollection[id].deathTimer || updatedIds.has(parseInt(id)) || delete entityCollection[id];
- }));
- },
- cleanupExpiredEntities: function() {
- var _this2 = this, currentTime = Date.now();
- Object.keys(this.entities).forEach((function(id) {
- var entity = _this2.entities[id];
- void 0 !== entity.duration && currentTime - entity._lastUpdated >= entity.duration && delete _this2.entities[id];
- })), Object.keys(this.globalEntities).forEach((function(id) {
- var entity = _this2.globalEntities[id];
- void 0 !== entity.duration && currentTime - entity._lastUpdated >= entity.duration && delete _this2.globalEntities[id];
- }));
- },
- getPlayer: function() {
- return this.selfId ? this.entities[this.selfId] : null;
- },
- getNearbyEntities: function() {
- var _this3 = this, maxDistance = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1e3, player = this.getPlayer();
- return player ? Object.values(this.entities).filter((function(entity) {
- if (entity.id === _this3.selfId) return !1;
- var dx = entity.x - player.x, dy = entity.y - player.y;
- return Math.sqrt(dx * dx + dy * dy) <= maxDistance;
- })) : [];
- },
- checkExpiredEntities: function() {
- this.cleanupExpiredEntities();
- }
- };
- function _arrayLikeToArray(r, a) {
- (null == a || a > r.length) && (a = r.length);
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
- return n;
- }
- function _unsupportedIterableToArray(r, a) {
- if (r) {
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
- var t = {}.toString.call(r).slice(8, -1);
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
- }
- }
- function _toConsumableArray(r) {
- return function(r) {
- if (Array.isArray(r)) return _arrayLikeToArray(r);
- }(r) || function(r) {
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
- }(r) || _unsupportedIterableToArray(r) || 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(o) {
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
- return typeof o;
- } : function(o) {
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
- }, _typeof(o);
- }
- function _slicedToArray(r, e) {
- return function(r) {
- if (Array.isArray(r)) return r;
- }(r) || function(r, l) {
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
- if (null != t) {
- var e, n, i, u, a = [], f = !0, o = !1;
- try {
- if (i = (t = t.call(r)).next, 0 === l) {
- if (Object(t) !== t) return;
- f = !1;
- } else for (;!(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) ;
- } catch (r) {
- o = !0, n = r;
- } finally {
- try {
- if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
- } finally {
- if (o) throw n;
- }
- }
- return a;
- }
- }(r, e) || _unsupportedIterableToArray(r, 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.");
- }();
- }
- __webpack_require__(8706), __webpack_require__(4743), __webpack_require__(1745),
- __webpack_require__(9868), __webpack_require__(5506), __webpack_require__(3362),
- __webpack_require__(7495), __webpack_require__(1761), __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 src_obstacleAvoidance = {
- playerRadius: 15,
- safetyMargin: 10,
- enabled: !0,
- enemyRadiusMap: {},
- fieldStrengthBase: 5e3,
- fieldExponent: 1.8,
- speedInfluence: .5,
- directionBias: 2.5,
- touchingDistance: 2,
- fieldDataEnabled: !0,
- previousPositions: {},
- velocities: {},
- fieldData: {},
- lastCalculatedForce: {
- x: 0,
- y: 0
- },
- lastForceMagnitude: 0,
- autoForceKey11: !1,
- autoForceKey10: !1,
- key11Threshold: 1e3,
- key10Threshold: 800,
- init: function() {
- var options = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
- return void 0 !== options.playerRadius && (this.playerRadius = options.playerRadius),
- void 0 !== options.safetyMargin && (this.safetyMargin = options.safetyMargin), void 0 !== options.enabled && (this.enabled = options.enabled),
- options.enemyRadiusMap && (this.enemyRadiusMap = options.enemyRadiusMap), void 0 !== options.fieldStrengthBase && (this.fieldStrengthBase = options.fieldStrengthBase),
- void 0 !== options.fieldExponent && (this.fieldExponent = options.fieldExponent),
- void 0 !== options.speedInfluence && (this.speedInfluence = options.speedInfluence),
- void 0 !== options.directionBias && (this.directionBias = options.directionBias),
- void 0 !== options.touchingDistance && (this.touchingDistance = options.touchingDistance),
- void 0 !== options.fieldDataEnabled && (this.fieldDataEnabled = options.fieldDataEnabled),
- this;
- },
- setEnemyRadiusMap: function(radiusMap) {
- return this.enemyRadiusMap = radiusMap, this;
- },
- getEnemyRadius: function(entity, getEntityTypeName) {
- if (!entity || void 0 === entity.entityType) return 15;
- if (entity.radius) return entity.radius;
- var entityType = entity.entityType, entityName = getEntityTypeName ? getEntityTypeName(entityType).toLowerCase() : "type_".concat(entityType);
- return void 0 !== this.enemyRadiusMap[entityName] ? this.enemyRadiusMap[entityName] : 0;
- },
- toggle: function() {
- return this.enabled = !this.enabled, this.enabled;
- },
- updateVelocities: function() {
- var _this = this, currentEntities = src_gameState.entities;
- Object.values(currentEntities).forEach((function(entity) {
- if (entity.id !== src_gameState.selfId) {
- if (!_this.previousPositions[entity.id]) return _this.previousPositions[entity.id] = {
- x: entity.x,
- y: entity.y
- }, void (_this.velocities[entity.id] = {
- x: 0,
- y: 0
- });
- var prevPos = _this.previousPositions[entity.id], dx = entity.x - prevPos.x, dy = entity.y - prevPos.y;
- _this.velocities[entity.id] = {
- x: dx,
- y: dy
- }, _this.previousPositions[entity.id] = {
- x: entity.x,
- y: entity.y
- };
- }
- })), Object.keys(this.previousPositions).forEach((function(id) {
- currentEntities[id] || (delete _this.previousPositions[id], delete _this.velocities[id]);
- }));
- },
- calculateEntityField: function(entity, playerX, playerY, getEntityTypeName) {
- var enemyRadius = this.getEnemyRadius(entity, getEntityTypeName), dx = entity.x - playerX, dy = entity.y - playerY, distanceSq = dx * dx + dy * dy, distance = Math.sqrt(distanceSq);
- if (distance > 300) return {
- x: 0,
- y: 0,
- magnitude: 0
- };
- var fieldStrength, isTouching = distance <= this.playerRadius + enemyRadius + this.touchingDistance, safeDistance = this.playerRadius + enemyRadius + this.safetyMargin, fieldDistance = Math.max(distance - safeDistance, .1);
- fieldStrength = isTouching ? 10 * this.fieldStrengthBase : this.fieldStrengthBase / Math.pow(fieldDistance, this.fieldExponent);
- var velocity = this.velocities[entity.id] || {
- x: 0,
- y: 0
- }, speed = Math.sqrt(velocity.x * velocity.x + velocity.y * velocity.y);
- fieldStrength *= 1 + this.speedInfluence * speed;
- var directionFactor = 1;
- if (speed > .1) {
- var directionDot = (velocity.x / speed * dx + velocity.y / speed * dy) / distance;
- directionDot > 0 && (directionFactor = 1 + directionDot * this.directionBias);
- }
- fieldStrength *= directionFactor;
- var forceX = 0, forceY = 0;
- if (distance > 0) forceX = -dx / distance * fieldStrength, forceY = -dy / distance * fieldStrength; else {
- var randomAngle = 2 * Math.random() * Math.PI;
- forceX = Math.cos(randomAngle) * fieldStrength, forceY = Math.sin(randomAngle) * fieldStrength;
- }
- return this.fieldDataEnabled && (this.fieldData[entity.id] = {
- position: {
- x: entity.x,
- y: entity.y
- },
- velocity: {
- x: velocity.x,
- y: velocity.y
- },
- fieldStrength,
- forceVector: {
- x: forceX,
- y: forceY
- },
- isTouching
- }), {
- x: forceX,
- y: forceY,
- magnitude: fieldStrength,
- isTouching
- };
- },
- getForceMagnitude: function() {
- return this.lastForceMagnitude;
- },
- calculateSafeMovement: function(moveX, moveY, getEntityTypeName) {
- var _this2 = this;
- if (!this.enabled) return {
- x: moveX,
- y: moveY,
- collision: !1
- };
- var player = src_gameState.getPlayer();
- if (!player || 0 === moveX && 0 === moveY) return {
- x: moveX,
- y: moveY,
- collision: !1
- };
- this.updateVelocities();
- var playerX = player.x, playerY = player.y;
- this.fieldDataEnabled && (this.fieldData = {});
- var totalForceX = 0, totalForceY = 0, anyTouching = !1;
- Object.values(src_gameState.entities).forEach((function(entity) {
- if (entity.id !== src_gameState.selfId && !entity.isHarmless && void 0 !== entity.entityType && 0 !== entity.entityType && 1 !== entity.entityType) {
- var field = _this2.calculateEntityField(entity, playerX, playerY, getEntityTypeName);
- totalForceX += field.x, totalForceY += field.y;
- var forceMagnitude = Math.sqrt(totalForceX * totalForceX + totalForceY * totalForceY);
- _this2.lastForceMagnitude = forceMagnitude, field.isTouching && (anyTouching = !0);
- }
- })), this.lastCalculatedForce = {
- x: totalForceX,
- y: totalForceY
- };
- var inputLength = Math.sqrt(moveX * moveX + moveY * moveY);
- if (0 === inputLength) return {
- x: moveX,
- y: moveY,
- collision: !1
- };
- var resultX, resultY, normalizedMoveX = moveX / inputLength, normalizedMoveY = moveY / inputLength;
- if (anyTouching) {
- var forceLength = Math.sqrt(totalForceX * totalForceX + totalForceY * totalForceY);
- forceLength > 0 ? (resultX = totalForceX / forceLength * inputLength, resultY = totalForceY / forceLength * inputLength) : (resultX = moveX,
- resultY = moveY);
- } else {
- var forceMagnitude = Math.sqrt(totalForceX * totalForceX + totalForceY * totalForceY);
- if (forceMagnitude > 0) {
- var scaleFactor = inputLength / Math.max(forceMagnitude, inputLength), scaledForceX = totalForceX * scaleFactor, scaledForceY = totalForceY * scaleFactor, blendFactor = Math.min(forceMagnitude / 2e3, 1);
- resultX = normalizedMoveX * inputLength * (1 - blendFactor) + scaledForceX * blendFactor,
- resultY = normalizedMoveY * inputLength * (1 - blendFactor) + scaledForceY * blendFactor;
- } else resultX = moveX, resultY = moveY;
- }
- return {
- x: resultX,
- y: resultY,
- collision: Math.abs(resultX - moveX) > .01 || Math.abs(resultY - moveY) > .01,
- fieldData: this.fieldDataEnabled ? this.fieldData : null
- };
- },
- getFieldData: function() {
- return this.fieldDataEnabled ? this.fieldData : null;
- }
- };
- var protobufjs = __webpack_require__(2549), protobufjs_default = __webpack_require__.n(protobufjs), network = {
- coder: null,
- gameWS: null,
- gameSend: null,
- sequenceCounter: 1,
- rawCoder: null,
- collisionAvoidance: !0,
- CWSS: null,
- enemyDefaults: null,
- enemyRadiusMap: {},
- netlog: !1,
- toggleLogging: function(enabled) {
- this.netlog = enabled;
- },
- init: function(cwss) {
- return this.CWSS = cwss, src_obstacleAvoidance.init({
- enabled: this.collisionAvoidance
- }), this;
- },
- extractEnemyDefaults: function(client) {
- var defaultsMatch = client.match(/"defaults":({"ability".*?}})/);
- if (defaultsMatch && defaultsMatch[1]) try {
- this.enemyDefaults = JSON.parse(defaultsMatch[1]), this.processEnemyDefaults();
- } catch (e) {}
- },
- getMainJS: function() {
- return _asyncToGenerator(regenerator_default().mark((function _callee2() {
- var getFile, htmlContent, appUrlMatch, appUrl;
- return regenerator_default().wrap((function(_context2) {
- for (;;) switch (_context2.prev = _context2.next) {
- case 0:
- return getFile = function() {
- var _ref = _asyncToGenerator(regenerator_default().mark((function _callee(url) {
- return regenerator_default().wrap((function(_context) {
- for (;;) switch (_context.prev = _context.next) {
- case 0:
- return _context.next = 2, fetch(url).then((function(d) {
- return d.text();
- }));
-
- case 2:
- return _context.abrupt("return", _context.sent);
-
- case 3:
- case "end":
- return _context.stop();
- }
- }), _callee);
- })));
- return function(_x) {
- return _ref.apply(this, arguments);
- };
- }(), _context2.next = 3, getFile(location.href);
-
- case 3:
- if (htmlContent = _context2.sent, appUrlMatch = htmlContent.match(/index\.[a-z0-9]*\.js/)) {
- _context2.next = 8;
- break;
- }
- return _context2.abrupt("return", null);
-
- case 8:
- return appUrl = appUrlMatch[0], _context2.next = 11, getFile(location.origin + "/" + appUrl);
-
- case 11:
- return _context2.abrupt("return", _context2.sent);
-
- case 12:
- case "end":
- return _context2.stop();
- }
- }), _callee2);
- })))();
- },
- getProtobufScheme: function(mainJS) {
- var schemeMatch = mainJS.match(/\.addJSON\(\s*(\{[\s\S]+?\})\s*\)/);
- return schemeMatch && schemeMatch[1] && new Function('"use strict"; return ('.concat(schemeMatch[1], ")"))() || null;
- },
- initCoder: function() {
- var _this = this;
- return _asyncToGenerator(regenerator_default().mark((function _callee3() {
- var mainJS, scheme;
- return regenerator_default().wrap((function(_context3) {
- for (;;) switch (_context3.prev = _context3.next) {
- case 0:
- return _context3.prev = 0, _context3.next = 3, _this.getMainJS();
-
- case 3:
- return mainJS = _context3.sent, scheme = _this.getProtobufScheme(mainJS), _this.rawCoder = new (protobufjs_default().Root),
- _this.rawCoder.addJSON(scheme), _this.extractEnemyDefaults(mainJS), _this.coder = {
- encode: {
- client: function(payload) {
- try {
- var message = _this.rawCoder.ClientPayload.create(payload);
- return _this.rawCoder.ClientPayload.encode(message).finish();
- } catch (e) {
- return null;
- }
- }
- },
- decode: {
- server: function(packet) {
- try {
- var bytes = packet instanceof Uint8Array ? packet : new Uint8Array(packet);
- return _this.rawCoder.FramePayload.toObject(_this.rawCoder.FramePayload.decode(bytes));
- } catch (e) {
- return null;
- }
- },
- client: function(packet) {
- try {
- var bytes = packet instanceof Uint8Array ? packet : new Uint8Array(packet);
- return _this.rawCoder.ClientPayload.toObject(_this.rawCoder.ClientPayload.decode(bytes));
- } catch (e) {
- return null;
- }
- }
- }
- }, _context3.abrupt("return", _this.coder);
-
- case 12:
- return _context3.prev = 12, _context3.t0 = _context3.catch(0), _context3.abrupt("return", null);
-
- case 16:
- case "end":
- return _context3.stop();
- }
- }), _callee3, null, [ [ 0, 12 ] ]);
- })))();
- },
- processEnemyDefaults: function() {
- if (this.enemyDefaults) {
- for (var radiusMap = {}, _i = 0, _Object$entries = Object.entries(this.enemyDefaults); _i < _Object$entries.length; _i++) {
- var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2), key = _Object$entries$_i[0], value = _Object$entries$_i[1];
- value && "object" === _typeof(value) && void 0 !== value.radius && (radiusMap[key] = value.radius);
- }
- this.enemyRadiusMap = radiusMap, src_obstacleAvoidance.setEnemyRadiusMap(radiusMap);
- }
- },
- getEnemyRadius: function(entity) {
- return src_obstacleAvoidance.getEnemyRadius(entity, this.getEntityTypeName.bind(this));
- },
- getEntityTypeName: function(typeId) {
- if (!this.rawCoder) return "Unknown (".concat(typeId, ")");
- try {
- var entityTypeEnum = this.rawCoder.lookupEnum("EntityType");
- if (entityTypeEnum && entityTypeEnum.valuesById[typeId]) return entityTypeEnum.valuesById[typeId];
- } catch (e) {}
- return "Unknown (".concat(typeId, ")");
- },
- processMovementData: function(data) {
- if (!this.collisionAvoidance || !this.coder) return {
- data,
- modified: !1
- };
- try {
- if (data instanceof ArrayBuffer || data instanceof Uint8Array || data instanceof Blob) {
- var dataBytes;
- if (data instanceof ArrayBuffer) dataBytes = new Uint8Array(data); else {
- if (data instanceof Blob) return {
- data,
- modified: !1
- };
- dataBytes = data;
- }
- var decoded = this.coder.decode.client(dataBytes);
- if (decoded && decoded.mouseDown && decoded.mouseDown.updated) {
- var originalX = decoded.mouseDown.x, originalY = decoded.mouseDown.y, safeMovement = src_obstacleAvoidance.calculateSafeMovement(originalX, originalY, this.getEntityTypeName.bind(this)), forceMagnitude = src_obstacleAvoidance.getForceMagnitude(), needKey11 = src_obstacleAvoidance.autoForceKey11 && forceMagnitude > src_obstacleAvoidance.key11Threshold, needKey10 = src_obstacleAvoidance.autoForceKey10 && forceMagnitude > src_obstacleAvoidance.key10Threshold, needMovementChange = safeMovement.collision;
- if (needMovementChange || needKey11 || needKey10) {
- var payload = {
- sequence: decoded.sequence,
- mouseDown: {
- updated: !0,
- x: needMovementChange ? Math.round(safeMovement.x) : originalX,
- y: needMovementChange ? Math.round(safeMovement.y) : originalY
- }
- };
- decoded.keys && decoded.keys.length > 0 ? (payload.keys = _toConsumableArray(decoded.keys),
- needKey11 && !payload.keys.some((function(k) {
- return 11 === k.keyType;
- })) && payload.keys.push({
- keyEvent: 1,
- keyType: 11
- }), needKey10 && !payload.keys.some((function(k) {
- return 10 === k.keyType;
- })) && payload.keys.push({
- keyEvent: 1,
- keyType: 10
- })) : (payload.keys = [], needKey11 && payload.keys.push({
- keyEvent: 1,
- keyType: 11
- }), needKey10 && payload.keys.push({
- keyEvent: 1,
- keyType: 10
- }));
- var encodedData = this.coder.encode.client(payload);
- if (encodedData) return {
- data: encodedData,
- modified: !0
- };
- }
- }
- }
- } catch (e) {}
- return {
- data,
- modified: !1
- };
- },
- createWSHook: function() {
- return this.CWSS ? {
- priority: 200,
- init: function() {
- return network.gameWS = this, arguments;
- },
- sendServer: function(data) {
- return network.gameSend = this.sendServer, arguments;
- },
- send: function(data) {
- var result = network.processMovementData(data);
- if (result.modified && (arguments[0] = result.data), network.netlog) try {
- var bytes = arguments[0] instanceof ArrayBuffer ? new Uint8Array(arguments[0]) : arguments[0] instanceof Uint8Array ? arguments[0] : null;
- if (bytes) network.coder.decode.client(bytes); else if ("string" == typeof arguments[0]) try {
- JSON.parse(arguments[0]);
- } catch (e) {}
- } catch (e) {}
- return arguments;
- },
- message: function(event) {
- try {
- var data = event.data;
- if (data instanceof ArrayBuffer || data instanceof Uint8Array) {
- var bytes = data instanceof ArrayBuffer ? new Uint8Array(data) : data, decoded = network.coder.decode.server(bytes);
- decoded && (decoded.ack && decoded.ack.sequence ? network.sequenceCounter = decoded.ack.sequence + 1 : void 0 !== decoded.sequence && (network.sequenceCounter = decoded.sequence + 1),
- network.netlog, src_gameState.update(decoded));
- } else if ("string" == typeof data) try {
- var jsonData = JSON.parse(data);
- src_gameState.update(jsonData);
- } catch (e) {}
- } catch (e) {}
- return arguments;
- }
- } : null;
- },
- toggleCollisionAvoidance: function() {
- return this.collisionAvoidance = src_obstacleAvoidance.toggle(), this.collisionAvoidance;
- },
- sendMovement: function(x, y) {
- if (!this.gameWS && this.CWSS && this.CWSS.sockets.length > 0 && (this.gameWS = this.CWSS.sockets[this.CWSS.sockets.length - 1]),
- !this.gameWS || this.gameWS.readyState !== WebSocket.OPEN) return !1;
- var moveX = x, moveY = y, forceMagnitude = 0;
- if (this.collisionAvoidance) {
- var safeMovement = src_obstacleAvoidance.calculateSafeMovement(x, y, this.getEntityTypeName.bind(this));
- moveX = safeMovement.x, moveY = safeMovement.y, forceMagnitude = src_obstacleAvoidance.getForceMagnitude(),
- safeMovement.collision;
- }
- var payload = {
- sequence: this.sequenceCounter++,
- mouseDown: {
- updated: !0,
- x: Math.round(moveX),
- y: Math.round(moveY)
- }
- }, needKey11 = src_obstacleAvoidance.autoForceKey11 && forceMagnitude > src_obstacleAvoidance.key11Threshold, needKey10 = src_obstacleAvoidance.autoForceKey10 && forceMagnitude > src_obstacleAvoidance.key10Threshold;
- (needKey11 || needKey10) && (payload.keys = [], needKey11 && payload.keys.push({
- keyEvent: 1,
- keyType: 11
- }), needKey10 && payload.keys.push({
- keyEvent: 1,
- keyType: 10
- }));
- var encodedData = this.coder.encode.client(payload);
- if (!encodedData) return !1;
- if (this.gameSend) this.gameSend(encodedData); else if (this.gameWS) try {
- this.CWSS.send.call(this.gameWS, encodedData);
- } catch (e) {
- return !1;
- }
- return !0;
- },
- movePlayer: function(angle, speed) {
- angle = (angle % 360 + 360) % 360, speed = Math.max(0, Math.min(100, speed));
- var radians = angle * Math.PI / 180, x = Math.cos(radians) * (5 * speed), y = -Math.sin(radians) * (5 * speed);
- return this.sendMovement(x, y);
- }
- };
- const src_network = network;
- __webpack_require__(3771);
- const src_renderer = {
- canvas: null,
- ctx: null,
- isDrawing: !1,
- showLabels: !1,
- showEnemyHitbox: !0,
- showFields: !1,
- showVelocities: !1,
- init: function(canvas) {
- return this.canvas = canvas, canvas && (this.ctx = canvas.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;
- },
- toggleFieldVisualization: function() {
- this.showFields = !this.showFields;
- },
- toggleVelocityVectors: function() {
- this.showVelocities = !this.showVelocities;
- },
- drawEllipse: function(x, y, radiusX, radiusY, rotation) {
- this.ctx.save(), this.ctx.translate(x, y), this.ctx.rotate(rotation), this.ctx.scale(1, radiusY / radiusX),
- this.ctx.beginPath(), this.ctx.arc(0, 0, radiusX, 0, 2 * Math.PI), this.ctx.restore();
- },
- drawArrowhead: function(x, y, angle, size) {
- this.ctx.save(), this.ctx.translate(x, y), this.ctx.rotate(angle), this.ctx.beginPath(),
- this.ctx.moveTo(-size, -size / 2), this.ctx.lineTo(0, 0), this.ctx.lineTo(-size, size / 2),
- this.ctx.strokeStyle = "rgba(255, 255, 0, 0.8)", this.ctx.stroke(), this.ctx.restore();
- },
- drawFrame: function() {
- var _this = this;
- if (this.isDrawing && (requestAnimationFrame((function() {
- return _this.drawFrame();
- })), this.canvas && this.ctx && src_gameState.selfId && src_gameState.entities[src_gameState.selfId])) {
- var player = src_gameState.getPlayer(), playerX = player.x, playerY = player.y, canvasWidth = this.canvas.width, canvasHeight = this.canvas.height, centerX = canvasWidth / 2, centerY = canvasHeight / 2;
- if (this.ctx.save(), this.showFields && src_obstacleAvoidance.getFieldData) {
- var fieldData = src_obstacleAvoidance.getFieldData();
- fieldData && Object.values(fieldData).forEach((function(field) {
- var dx = field.position.x - playerX, dy = field.position.y - playerY, screenX = centerX + dx, screenY = centerY + dy, gradient = _this.ctx.createRadialGradient(screenX, screenY, 0, screenX, screenY, 300), opacity = Math.min(field.fieldStrength / 1e4, .5);
- if (gradient.addColorStop(0, "rgba(255, 0, 0, ".concat(opacity, ")")), gradient.addColorStop(1, "rgba(255, 0, 0, 0)"),
- _this.ctx.fillStyle = gradient, field.velocity && (Math.abs(field.velocity.x) > .1 || Math.abs(field.velocity.y) > .1)) {
- var speed = Math.sqrt(field.velocity.x * field.velocity.x + field.velocity.y * field.velocity.y), dirX = field.velocity.x / speed, dirY = field.velocity.y / speed;
- _this.drawEllipse(screenX, screenY, 300, 300 * (1 + src_obstacleAvoidance.directionBias || 2.5), Math.atan2(dirY, dirX)),
- _this.ctx.fill();
- } else _this.ctx.beginPath(), _this.ctx.arc(screenX, screenY, 300, 0, 2 * Math.PI),
- _this.ctx.fill();
- }));
- }
- if (this.showEnemyHitbox && Object.values(src_gameState.entities).forEach((function(entity) {
- if (entity.id !== src_gameState.selfId && !entity.isHarmless && void 0 !== entity.entityType && 0 !== entity.entityType && 1 != entity.entityType) {
- var dx = entity.x - playerX, dy = entity.y - playerY;
- if (Math.sqrt(dx * dx + dy * dy) <= 300) {
- var screenX = centerX + dx, screenY = centerY + dy, enemyRadius = src_network.getEnemyRadius(entity), safeDistance = src_network.playerRadius + enemyRadius + src_network.safetyMargin;
- _this.ctx.beginPath(), _this.ctx.fillStyle = "rgba(255, 0, 0, 0.1)", _this.ctx.strokeStyle = "rgba(255, 0, 0, 0.5)",
- _this.ctx.arc(screenX, screenY, safeDistance, 0, 2 * Math.PI), _this.ctx.fill(),
- _this.ctx.stroke(), _this.ctx.beginPath(), _this.ctx.strokeStyle = "rgba(255, 0, 0, 0.8)",
- _this.ctx.arc(screenX, screenY, enemyRadius, 0, 2 * Math.PI), _this.ctx.stroke();
- }
- }
- })), Object.values(src_gameState.entities).forEach((function(entity) {
- if (entity.id !== src_gameState.selfId && 1 !== entity.entityType) {
- var dx = entity.x - playerX, dy = entity.y - playerY;
- if (Math.sqrt(dx * dx + dy * dy) <= 1e3) {
- var screenX = centerX + dx, screenY = centerY + dy;
- if (_this.ctx.beginPath(), _this.ctx.fillStyle = entity.isHarmless ? "rgba(0, 255, 0, 0.8)" : "rgba(255, 0, 0, 0.8)",
- _this.ctx.arc(screenX, screenY, 5, 0, 2 * Math.PI), _this.ctx.fill(), _this.showVelocities && src_obstacleAvoidance.velocities && src_obstacleAvoidance.velocities[entity.id]) {
- var vel = src_obstacleAvoidance.velocities[entity.id];
- if (Math.sqrt(vel.x * vel.x + vel.y * vel.y) > .1) {
- _this.ctx.beginPath(), _this.ctx.strokeStyle = "rgba(255, 255, 0, 0.8)", _this.ctx.lineWidth = 2,
- _this.ctx.moveTo(screenX, screenY), _this.ctx.lineTo(screenX + 5 * vel.x, screenY + 5 * vel.y),
- _this.ctx.stroke();
- var arrowAngle = Math.atan2(vel.y, vel.x);
- _this.drawArrowhead(screenX + 5 * vel.x, screenY + 5 * vel.y, arrowAngle, 8);
- }
- }
- if (_this.showLabels) {
- var typeName = src_network.getEntityTypeName(entity.entityType), radius = src_network.getEnemyRadius(entity), radiusText = radius ? " (r: ".concat(radius, ")") : "", labelText = "".concat(typeName).concat(radiusText);
- _this.ctx.fillStyle = "white", _this.ctx.strokeStyle = "black", _this.ctx.lineWidth = 2,
- _this.ctx.font = "10px Arial", _this.ctx.textAlign = "center", _this.ctx.strokeText(labelText, screenX, screenY - 10),
- _this.ctx.fillText(labelText, screenX, screenY - 10);
- }
- }
- }
- })), this.ctx.beginPath(), this.ctx.strokeStyle = "rgba(0, 255, 0, 0.8)", this.ctx.arc(centerX, centerY, src_network.playerRadius, 0, 2 * Math.PI),
- this.ctx.stroke(), src_obstacleAvoidance.lastCalculatedForce) {
- var force = src_obstacleAvoidance.lastCalculatedForce, forceMag = Math.sqrt(force.x * force.x + force.y * force.y);
- if (forceMag > .1) {
- this.ctx.beginPath(), this.ctx.strokeStyle = "rgba(0, 200, 255, 0.8)", this.ctx.lineWidth = 3,
- this.ctx.moveTo(centerX, centerY);
- var forceScale = 50 / Math.max(forceMag, 1);
- this.ctx.lineTo(centerX + force.x * forceScale, centerY + force.y * forceScale),
- this.ctx.stroke(), this.ctx.fillStyle = "white", this.ctx.font = "12px Arial", this.ctx.textAlign = "center",
- this.ctx.fillText("Force: ".concat(forceMag.toFixed(0)), centerX + force.x * forceScale / 2, centerY + force.y * forceScale / 2 - 5);
- }
- }
- this.ctx.restore();
- }
- }
- };
- 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(r, e) {
- var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
- if (!t) {
- if (Array.isArray(r) || (t = function(r, a) {
- if (r) {
- if ("string" == typeof r) return CWSS_arrayLikeToArray(r, a);
- var t = {}.toString.call(r).slice(8, -1);
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? CWSS_arrayLikeToArray(r, a) : void 0;
- }
- }(r)) || e && r && "number" == typeof r.length) {
- t && (r = t);
- var _n = 0, F = function() {};
- return {
- s: F,
- n: function() {
- return _n >= r.length ? {
- done: !0
- } : {
- done: !1,
- value: r[_n++]
- };
- },
- e: function(r) {
- throw r;
- },
- 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 o, a = !0, u = !1;
- return {
- s: function() {
- t = t.call(r);
- },
- n: function() {
- var r = t.next();
- return a = r.done, r;
- },
- e: function(r) {
- u = !0, o = r;
- },
- f: function() {
- try {
- a || null == t.return || t.return();
- } finally {
- if (u) throw o;
- }
- }
- };
- }
- function CWSS_arrayLikeToArray(r, a) {
- (null == a || a > r.length) && (a = r.length);
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
- return n;
- }
- __webpack_require__(2675), __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 src_CWSS = function() {
- var CWSS = window.CWSS || {};
- if (CWSS.ws) return CWSS;
- var proto = WebSocket.prototype, def = Object.defineProperty, rebase = function(obj, key, list) {
- return def(obj, key, {
- configurable: !0,
- enumerable: !0,
- set: function(func) {
- return list.push(func);
- }
- });
- }, native = function(obj, value) {
- obj.toString = function() {
- var _Function$toString;
- return (_Function$toString = Function.toString).call.apply(_Function$toString, [ value ].concat(Array.prototype.slice.call(arguments)));
- };
- }, pipe = function(type) {
- for (var _len = arguments.length, next = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) next[_key - 1] = arguments[_key];
- return _asyncToGenerator(regenerator_default().mark((function _callee() {
- var arg, _iterator, _step, _hook$type, hook, _this = this, _args = arguments;
- return regenerator_default().wrap((function(_context) {
- for (;;) switch (_context.prev = _context.next) {
- case 0:
- arg = _args, _iterator = _createForOfIteratorHelper(CWSS.hooks.sort((function(a, b) {
- return b.priority - a.priority;
- }))), _context.prev = 2, _iterator.s();
-
- case 4:
- if ((_step = _iterator.n()).done) {
- _context.next = 15;
- break;
- }
- if ((hook = _step.value)[type]) {
- _context.next = 8;
- break;
- }
- return _context.abrupt("continue", 13);
-
- case 8:
- if (arg) {
- _context.next = 10;
- break;
- }
- return _context.abrupt("break", 15);
-
- case 10:
- return _context.next = 12, (_hook$type = hook[type]).call.apply(_hook$type, [ this ].concat(_toConsumableArray(arg)));
-
- case 12:
- arg = _context.sent;
-
- case 13:
- _context.next = 4;
- break;
-
- case 15:
- _context.next = 20;
- break;
-
- case 17:
- _context.prev = 17, _context.t0 = _context.catch(2), _iterator.e(_context.t0);
-
- case 20:
- return _context.prev = 20, _iterator.f(), _context.finish(20);
-
- case 23:
- if (arg) {
- _context.next = 25;
- break;
- }
- return _context.abrupt("return");
-
- case 25:
- next.flat().forEach((function(func) {
- return func.call.apply(func, [ _this ].concat(_toConsumableArray(arg)));
- }));
-
- case 26:
- case "end":
- return _context.stop();
- }
- }), _callee, this, [ [ 2, 17, 20, 23 ] ]);
- })));
- };
- for (var k in CWSS.ws = window.WebSocket, CWSS.send = proto.send, CWSS.addList = proto.addEventListener,
- CWSS.sockets = [], CWSS.hooks = [], CWSS.setHook = function(hook) {
- return CWSS.hooks.push(hook), CWSS;
- }, CWSS.setHooks = function() {
- for (var _CWSS$hooks, _len2 = arguments.length, hooks = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) hooks[_key2] = arguments[_key2];
- return (_CWSS$hooks = CWSS.hooks).push.apply(_CWSS$hooks, _toConsumableArray(hooks.flat())),
- CWSS;
- }, proto.send = pipe("send", CWSS.send), proto.addEventListener = function() {
- var _CWSS$addList, type = arguments[0], func = arguments[1], list = this.listeners[type];
- list ? list.push(func) : (_CWSS$addList = CWSS.addList).call.apply(_CWSS$addList, [ this ].concat(Array.prototype.slice.call(arguments)));
- }, window.WebSocket = function() {
- var _pipeSync, arg = arguments;
- arg = (_pipeSync = function() {
- var _step2, arg = arguments, _iterator2 = _createForOfIteratorHelper(CWSS.hooks.sort((function(a, b) {
- return b.priority - a.priority;
- })));
- try {
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done; ) {
- var _hook$type2, hook = _step2.value;
- if (hook.args) {
- if (!arg) break;
- arg = (_hook$type2 = hook.args).call.apply(_hook$type2, [ this ].concat(_toConsumableArray(arg)));
- }
- }
- } catch (err) {
- _iterator2.e(err);
- } finally {
- _iterator2.f();
- }
- return arg;
- }).call.apply(_pipeSync, [ this ].concat(_toConsumableArray(arg)));
- var _step3, ws = function(t, e, r) {
- if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
- var o = [ null ];
- o.push.apply(o, e);
- var p = new (t.bind.apply(t, o));
- return r && _setPrototypeOf(p, r.prototype), p;
- }(CWSS.ws, _toConsumableArray(arg)), _iterator3 = _createForOfIteratorHelper(CWSS.hooks.sort((function(a, b) {
- return b.priority - a.priority;
- })));
- try {
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done; ) {
- var hook = _step3.value;
- Object.assign(hook, {
- ws,
- sendServer: function(data) {
- return _asyncToGenerator(regenerator_default().mark((function _callee2() {
- return regenerator_default().wrap((function(_context2) {
- for (;;) switch (_context2.prev = _context2.next) {
- case 0:
- CWSS.send.call(ws, data);
-
- case 1:
- case "end":
- return _context2.stop();
- }
- }), _callee2);
- })))();
- },
- sendClient: function(data) {
- return _asyncToGenerator(regenerator_default().mark((function _callee3() {
- return regenerator_default().wrap((function(_context3) {
- for (;;) switch (_context3.prev = _context3.next) {
- case 0:
- ws.listeners.message.forEach((function(func) {
- return func.call(ws, {
- data
- });
- }));
-
- case 1:
- case "end":
- return _context3.stop();
- }
- }), _callee3);
- })))();
- }
- });
- }
- } catch (err) {
- _iterator3.e(err);
- } finally {
- _iterator3.f();
- }
- CWSS.sockets.push(ws), pipe("init").call(ws), ws.listeners = {};
- for (var _i = 0, _arr = [ "open", "message", "close" ]; _i < _arr.length; _i++) {
- var key = _arr[_i], list = ws.listeners[key] = [];
- CWSS.addList.call(ws, key, pipe(key, list)), rebase(ws, "on" + key, list);
- }
- return ws;
- }, CWSS.ws) "prototype" != k && (window.WebSocket[k] = CWSS.ws[k]);
- for (var _k in proto) if ("constructor" != _k) try {
- window.WebSocket.prototype[_k] = proto[_k];
- } catch (e) {}
- return native(proto.send, CWSS.send), native(proto.addEventListener, CWSS.addList),
- native(window.WebSocket, CWSS.ws), window.CWSS = CWSS, CWSS;
- }();
- var settings, container, settingsPanel, isExpanded, createElement, togglePanel, createSettingContainer;
- __webpack_require__(8459);
- const src_uiLibrary = (settings = {}, container = null, settingsPanel = null, isExpanded = !1,
- createElement = function(type, classNames) {
- var attributes = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, element = document.createElement(type);
- classNames && (element.className = classNames);
- for (var _i = 0, _Object$entries = Object.entries(attributes); _i < _Object$entries.length; _i++) {
- var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2), key = _Object$entries$_i[0], value = _Object$entries$_i[1];
- element.setAttribute(key, value);
- }
- return element;
- }, createSettingContainer = function(id, label, tooltip) {
- var container = createElement("div", "epush-ui-setting"), labelElement = createElement("label", "epush-ui-label");
- if (labelElement.textContent = label, labelElement.setAttribute("for", "epush-setting-".concat(id)),
- container.appendChild(labelElement), tooltip) {
- var tooltipElement = createElement("div", "epush-ui-tooltip");
- tooltipElement.textContent = tooltip, container.appendChild(tooltipElement);
- }
- return container;
- }, {
- init: function() {
- (container = createElement("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 header = createElement("div", "epush-ui-header");
- header.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 ",
- header.innerHTML = '<span>E-Push Settings</span><span class="epush-ui-toggle">▼</span>',
- header.addEventListener("click", togglePanel), (settingsPanel = createElement("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",
- container.appendChild(header), container.appendChild(settingsPanel), document.body.appendChild(container);
- var style = document.createElement("style");
- style.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(style);
- },
- addBooleanSetting: function(id, label) {
- var defaultValue = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], onChange = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null, container = createSettingContainer(id, label, arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : ""), checkbox = createElement("input", "epush-ui-checkbox", {
- type: "checkbox",
- id: "epush-setting-".concat(id)
- });
- return checkbox.checked = defaultValue, checkbox.addEventListener("change", (function() {
- onChange && onChange(checkbox.checked), settings[id].value = checkbox.checked;
- })), container.appendChild(checkbox), settingsPanel.appendChild(container), settings[id] = {
- type: "boolean",
- element: checkbox,
- value: defaultValue,
- onChange
- }, settings[id];
- },
- addTextSetting: function(id, label) {
- var defaultValue = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "", onChange = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null, container = createSettingContainer(id, label, arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : ""), input = createElement("input", "epush-ui-input", {
- type: "text",
- id: "epush-setting-".concat(id),
- value: defaultValue
- });
- return input.addEventListener("change", (function() {
- onChange && onChange(input.value), settings[id].value = input.value;
- })), container.appendChild(input), settingsPanel.appendChild(container), settings[id] = {
- type: "text",
- element: input,
- value: defaultValue,
- onChange
- }, settings[id];
- },
- addNumberSetting: function(id, label) {
- var defaultValue = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0, onChange = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null, container = createSettingContainer(id, label, arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : ""), input = createElement("input", "epush-ui-input", {
- type: "number",
- id: "epush-setting-".concat(id),
- value: defaultValue
- });
- return input.addEventListener("change", (function() {
- var value = parseFloat(input.value);
- onChange && onChange(value), settings[id].value = value;
- })), container.appendChild(input), settingsPanel.appendChild(container), settings[id] = {
- type: "number",
- element: input,
- value: defaultValue,
- onChange
- }, settings[id];
- },
- addSliderSetting: function(id, label) {
- var defaultValue = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0, min = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0, max = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 100, step = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 1, onChange = arguments.length > 7 && void 0 !== arguments[7] ? arguments[7] : null, container = createSettingContainer(id, label, arguments.length > 6 && void 0 !== arguments[6] ? arguments[6] : ""), sliderContainer = createElement("div", "epush-ui-slider-container");
- sliderContainer.style.cssText = "\n display: flex;\n align-items: center;\n gap: 10px;\n ";
- var slider = createElement("input", "epush-ui-slider", {
- type: "range",
- id: "epush-setting-".concat(id),
- min,
- max,
- step,
- value: defaultValue
- }), valueDisplay = createElement("span", "epush-ui-slider-value");
- return valueDisplay.textContent = defaultValue, valueDisplay.style.minWidth = "40px",
- valueDisplay.style.textAlign = "right", slider.addEventListener("input", (function() {
- var value = parseFloat(slider.value);
- valueDisplay.textContent = value, onChange && onChange(value), settings[id].value = value;
- })), sliderContainer.appendChild(slider), sliderContainer.appendChild(valueDisplay),
- container.appendChild(sliderContainer), settingsPanel.appendChild(container), settings[id] = {
- type: "slider",
- element: slider,
- valueDisplay,
- value: defaultValue,
- onChange
- }, settings[id];
- },
- addColorSetting: function(id, label) {
- var defaultValue = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "#ffffff", onChange = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null, container = createSettingContainer(id, label, arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : ""), input = createElement("input", "epush-ui-color", {
- type: "color",
- id: "epush-setting-".concat(id),
- value: defaultValue
- });
- return input.addEventListener("change", (function() {
- onChange && onChange(input.value), settings[id].value = input.value;
- })), container.appendChild(input), settingsPanel.appendChild(container), settings[id] = {
- type: "color",
- element: input,
- value: defaultValue,
- onChange
- }, settings[id];
- },
- updateSetting: function(id, value) {
- if (settings[id]) {
- var setting = settings[id];
- switch (setting.value = value, setting.type) {
- case "boolean":
- setting.element.checked = value;
- break;
-
- case "slider":
- setting.element.value = value, setting.valueDisplay.textContent = value;
- break;
-
- default:
- setting.element.value = value;
- }
- }
- },
- getSettingValue: function(id) {
- var _settings$id;
- return null === (_settings$id = settings[id]) || void 0 === _settings$id ? void 0 : _settings$id.value;
- },
- togglePanel: togglePanel = function() {
- isExpanded = !isExpanded, settingsPanel.style.display = isExpanded ? "grid" : "none",
- container.querySelector(".epush-ui-toggle").textContent = isExpanded ? "▲" : "▼";
- }
- });
- function initTracker() {
- return _initTracker.apply(this, arguments);
- }
- function _initTracker() {
- return (_initTracker = _asyncToGenerator(regenerator_default().mark((function _callee() {
- var wsHook, _getCanvas;
- return regenerator_default().wrap((function(_context) {
- for (;;) switch (_context.prev = _context.next) {
- case 0:
- return src_network.init(src_CWSS), _context.next = 5, src_network.initCoder();
-
- case 5:
- if (_context.sent) {
- _context.next = 9;
- break;
- }
- return _context.abrupt("return", null);
-
- case 9:
- return wsHook = src_network.createWSHook(), src_CWSS.setHook(wsHook), (_getCanvas = function() {
- var canvas = document.getElementById("canvas");
- canvas ? src_renderer.init(canvas).startDrawing() : setTimeout(_getCanvas, 1e3);
- })(), src_uiLibrary.init(), src_uiLibrary.addBooleanSetting("collisionAvoidance", "Collision Avoidance", !0, "Enable/disable automatic collision avoidance system", (function(enabled) {
- return src_network.toggleCollisionAvoidance(enabled);
- })), src_uiLibrary.addBooleanSetting("networkLogging", "Network Logging", !1, "Enable/disable network logging", (function(enabled) {
- return src_network.toggleLogging(enabled);
- })), src_uiLibrary.addBooleanSetting("autoKey11", "Auto Key (11)", !1, "Automatically send key (11) when close to enemies", (function(enabled) {
- src_obstacleAvoidance.autoForceKey11 = enabled;
- })), src_uiLibrary.addBooleanSetting("autoKey10", "Auto Key (10)", !1, "Automatically send key (10) when close to enemies", (function(enabled) {
- src_obstacleAvoidance.autoForceKey10 = enabled;
- })), src_uiLibrary.addSliderSetting("speedInfluence", "Speed Influence", src_obstacleAvoidance.speedInfluence, 0, 2, .1, "How much entity speed affects the avoidance field strength", (function(value) {
- src_obstacleAvoidance.speedInfluence = value;
- })), src_uiLibrary.addSliderSetting("fieldExponent", "Field Exponent", src_obstacleAvoidance.fieldExponent, 0, 4, .1, "Exponent for the field strength calculation", (function(exponent) {
- src_obstacleAvoidance.fieldExponent = exponent;
- })), src_uiLibrary.addSliderSetting("safetyMargin", "Safety Margin", src_obstacleAvoidance.safetyMargin, 0, 50, 1, "Additional distance to maintain from obstacles", (function(margin) {
- src_obstacleAvoidance.safetyMargin = margin;
- })), src_uiLibrary.addBooleanSetting("showLabels", "Show Labels", !1, "Show entity labels on the map", (function(enabled) {
- return src_renderer.toggleLabels(enabled);
- })), src_uiLibrary.addBooleanSetting("showEnemyHitbox", "Show Enemy Hitboxes", !0, "Visualize collision radius", (function(enabled) {
- return src_renderer.toggleEnemyHitbox(enabled);
- })), window.epush = {
- state: src_gameState,
- movePlayer: src_network.movePlayer.bind(src_network),
- renderer: src_renderer,
- getEntityTypeName: src_network.getEntityTypeName.bind(src_network),
- toggleCollisionAvoidance: src_network.toggleCollisionAvoidance.bind(src_network),
- toggleAutoKey11: function() {
- return src_obstacleAvoidance.autoForceKey11 = !src_obstacleAvoidance.autoForceKey11,
- src_uiLibrary.updateSetting("autoKey11", src_obstacleAvoidance.autoForceKey11),
- src_obstacleAvoidance.autoForceKey11;
- },
- toggleAutoKey10: function() {
- return src_obstacleAvoidance.autoForceKey10 = !src_obstacleAvoidance.autoForceKey10,
- src_uiLibrary.updateSetting("autoKey10", src_obstacleAvoidance.autoForceKey10),
- src_obstacleAvoidance.autoForceKey10;
- },
- setPlayerRadius: function(radius) {
- src_network.playerRadius = radius, src_uiLibrary.updateSetting("playerRadius", radius);
- },
- setSafetyMargin: function(margin) {
- src_obstacleAvoidance.safetyMargin = margin, src_uiLibrary.updateSetting("safetyMargin", margin);
- },
- getEnemyRadius: function(entity) {
- return src_network.getEnemyRadius(entity);
- },
- toggleLabels: function() {
- var newState = src_renderer.toggleLabels();
- return src_uiLibrary.updateSetting("showLabels", newState), newState;
- },
- toggleEnemyHitbox: function() {
- var newState = src_renderer.toggleEnemyHitbox();
- return src_uiLibrary.updateSetting("toggleEnemyHitbox", newState), newState;
- },
- listEntityTypes: function() {
- if (!src_network.rawCoder) return "Coder not initialized";
- try {
- return src_network.rawCoder.lookupEnum("EntityType").valuesById;
- } catch (e) {
- return "Error retrieving entity types";
- }
- },
- listEnemyRadii: function() {
- return src_network.enemyRadiusMap ? src_network.enemyRadiusMap : "Enemy radii not loaded";
- },
- ui: src_uiLibrary
- }, _context.abrupt("return", window.epush);
-
- case 26:
- case "end":
- return _context.stop();
- }
- }), _callee);
- })))).apply(this, arguments);
- }
- const src = initTracker;
- "undefined" != typeof window && initTracker();
- })(), __webpack_exports__ = __webpack_exports__.default, __webpack_exports__;
- })()));
- })();