feat(3dtank): 本地镜像与 hornet 工具链迁到新版 bundle main.6469b966.js

旧 main.b7114b43.js 已被新构建替换(10,011,039 字节 / 1335 模块),本地镜像整体重切到新版并清掉旧产物;hornet 工具链按 tools/map_symbols.js 生成的新旧符号映射改名后重新打包(3dtank_bundle.js 与 unpacked/hornet_bundle.js 同步)。tools/symbol_map.json(8.9MB 映射产物)与切割解包目录不进库,可用 map_symbols.js / split.js 重新生成。
This commit is contained in:
TermiNexus committed 2026-09-17 19:59:40 +08:00
1 parent fd32881c3d
commit 90c377ad79
103 files changed
+400668 -399443

No files matched your search

@@ -0,0 +1,60 @@
var __script_base_url__=(typeof document!=="undefined"&&document.currentScript&&document.currentScript.src)?document.currentScript.src.replace(/[^\/]+$/,""):"./";!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Launcher=n():t.Launcher=n()}(globalThis,async()=>{
// ===== 切割版模块加载器 =====
window.__modules__ = {};
const __base_url__ = window.__script_base_url__ || './';
// 6.1 加载资源模块 (从 resources.json 批量注册)
const __resource_resp__ = await fetch(__base_url__ + 'unpacked/resources.json');
if (!__resource_resp__.ok) throw new Error('resources.json load failed: HTTP ' + __resource_resp__.status);
const __resource_data__ = await __resource_resp__.json();
const __resource_map__ = __resource_data__.resourceMap;
for (const __id__ in __resource_map__) {
if (!Object.prototype.hasOwnProperty.call(__resource_map__, __id__)) continue;
const __path__ = __resource_map__[__id__];
const __id_num__ = Number(__id__);
window.__modules__[__id_num__] = (function(__p__) {
return (t, n, i) => {
"use strict";
t.exports = i.p + __p__;
};
})(__path__);
}
// 6.2 加载代码模块 (fetch + eval 独立文件)
const __code_ids__ = [806,905,1510,1901,3535,3569,7426,7552,7793,9345,9539,9963,10032,10283,10849,12218,13431,13532,13754,14766,15152,15330,15831,16100,17259,17323,18334,19074,19487,21300,21973,24635,24923,25377,26482,27736,28485,29518,29545,29554,30285,31509,31584,31620,31908,32088,36659,36734,37036,37504,38335,40293,41164,42920,43319,44740,44794,45555,45686,47243,48576,50824,51233,51400,51887,52943,54199,55088,55520,55920,56077,57128,57328,58309,59131,59411,60273,60824,61378,61430,61860,63383,64280,64477,65201,66610,67222,69682,70130,70298,71105,71426,72834,73932,74897,75453,76074,77249,77672,78231,78931,79763,80397,80693,81886,82347,84441,85183,85196,85667,85745,87072,88693,89613,89679,89803,90225,90875,92980,94090,94965,96480,97556,97675,99295,99527];
await Promise.all(__code_ids__.map(async (__id__) => {
const __padded__ = typeof __id__ === 'number' ? String(__id__).padStart(5, '0') : __id__;
const __url__ = __base_url__ + 'unpacked/module_' + __padded__ + '.js';
const __resp__ = await fetch(__url__);
if (!__resp__.ok) throw new Error('Module ' + __id__ + ' load failed: HTTP ' + __resp__.status + ' @ ' + __url__);
const __code__ = await __resp__.text();
(0, eval)(__code__);
}));
var __webpack_modules__ = window.__modules__;
// ===== 原 webpack runtime (一字未改) =====
;var __webpack_module_cache__={};function __webpack_require__(t){var n=__webpack_module_cache__[t];if(void 0!==n)return n.exports;var i=__webpack_module_cache__[t]={id:t,loaded:!1,exports:{}};return __webpack_modules__[t].call(i.exports,i,i.exports,__webpack_require__),i.loaded=!0,i.exports}__webpack_require__.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(n,{a:n}),n},__webpack_require__.d=(t,n)=>{for(var i in n)__webpack_require__.o(n,i)&&!__webpack_require__.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),__webpack_require__.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},__webpack_require__.p="/play/",__webpack_require__(76074),__webpack_require__(13431),__webpack_require__(26482);var __webpack_exports__=__webpack_require__(78231);
// ===== 暴露 webpack require(hornet 工具链 hook_gamemode/hornet_lib 依赖)=====
window.__wp_require__ = __webpack_require__;
// ===== 加载 hornet_bundle(默认关闭:URL 加 ?hornet=1 才加载,避免日志遮挡)=====
if (/[?&]hornet=1(&|$)/.test(location.search)) {
try {
const __hornet_url__ = __base_url__ + 'unpacked/hornet_bundle.js';
const __hornet_resp__ = await fetch(__hornet_url__);
if (__hornet_resp__.ok) {
const __hornet_code__ = await __hornet_resp__.text();
(0, eval)(__hornet_code__);
console.log('[Hornet] bundle 已加载');
} else {
console.warn('[Hornet] bundle 加载失败: HTTP ' + __hornet_resp__.status);
}
} catch (__hornet_err__) {
console.error('[Hornet] bundle 加载异常:', __hornet_err__);
}
}
return __webpack_exports__;
})//# sourceMappingURL=main.6469b966.js.map
-266
View File
@@ -1,266 +0,0 @@
console.log("如果你能看到这个声明,证明你正在使用本地版本进行实验");
// ===== WebSocket 捕获钩子 (注入在游戏加载前) =====
/*(function() {
if (window.__ws_hooked__)
return;
window.__ws_hooked__ = true;
window.__ws_capture__ = [];
function toHex(b) {
var bytes = new Uint8Array(b);
var h = [];
for (var i = 0; i < bytes.length; i += 16) {
var c = bytes.slice(i, Math.min(i + 16, bytes.length));
var hp = Array.from(c).map(function(b) {
return b.toString(16).padStart(2, '0')
}).join(' ');
var ap = Array.from(c).map(function(b) {
return (b >= 32 && b < 127) ? String.fromCharCode(b) : '.'
}).join('');
h.push(i.toString(16).padStart(8, '0') + ' ' + hp.padEnd(48) + ' ' + ap)
}
return h.join('\n')
}
function toAB(d) {
if (d instanceof ArrayBuffer)
return d;
if (ArrayBuffer.isView(d))
return d.buffer.slice(d.byteOffset, d.byteOffset + d.byteLength);
if (typeof d === 'string')
return new TextEncoder().encode(d).buffer;
return d
}
var OW = window.WebSocket;
function HW(url, p) {
var ws = p ? new OW(url,p) : new OW(url);
var id = window.__ws_capture__.length;
var info = {
id: id,
url: url,
openTime: null,
messages: []
};
window.__ws_capture__.push(info);
var os = ws.send.bind(ws);
ws.send = function(d) {
var ab = toAB(d);
info.messages.push({
dir: 'send',
t: Date.now(),
sz: ab.byteLength,
hx: toHex(ab),
buf: ab
});
console.log('[WS#' + id + '] >>> ' + ab.byteLength + 'B:\n' + toHex(ab));
return os(d)
}
;
var oom = null;
Object.defineProperty(ws, 'onmessage', {
get: function() {
return oom
},
set: function(fn) {
oom = fn;
ws.addEventListener('message', function(e) {
var ab = toAB(e.data);
info.messages.push({
dir: 'recv',
t: Date.now(),
sz: ab.byteLength,
hx: toHex(ab),
buf: ab
});
console.log('[WS#' + id + '] <<< ' + ab.byteLength + 'B:\n' + toHex(ab))
})
}
});
ws.addEventListener('open', function() {
info.openTime = Date.now();
console.log('[WS#' + id + '] 已连接')
});
ws.addEventListener('close', function(e) {
console.log('[WS#' + id + '] 关闭 code=' + e.code)
});
ws.addEventListener('error', function(e) {
console.log('[WS#' + id + '] 错误', e)
});
return ws
}
HW.CONNECTING = OW.CONNECTING;
HW.OPEN = OW.OPEN;
HW.CLOSING = OW.CLOSING;
HW.CLOSED = OW.CLOSED;
HW.prototype = OW.prototype;
window.WebSocket = HW;
window.__dl_ws = function() {
var d = window.__ws_capture__.map(function(w) {
return {
id: w.id,
url: w.url,
t: w.openTime,
m: w.messages.map(function(m) {
var b = new Uint8Array(m.buf);
var s = '';
for (var i = 0; i < b.length; i++)
s += String.fromCharCode(b[i]);
return {
d: m.dir,
t: m.t,
s: m.sz,
h: m.hx,
b: btoa(s)
}
})
}
});
var bl = new Blob([JSON.stringify(d, null, 2)],{
type: 'application/json'
});
var u = URL.createObjectURL(bl);
var a = document.createElement('a');
a.href = u;
a.download = 'ws_capture_' + Date.now() + '.json';
a.click();
URL.revokeObjectURL(u);
console.log('[WS] 已下载 ' + d.length + ' 个连接')
}
;
console.log('[WS Hook] 已加载,用 __dl_ws() 下载')
})();*/
var __script_base_url__ = (typeof document !== "undefined" && document.currentScript && document.currentScript.src) ? document.currentScript.src.replace(/[^\/]+$/, "") : "./";
!function(t, n) {
"object" == typeof exports && "object" == typeof module ? module.exports = n() : "function" == typeof define && define.amd ? define([], n) : "object" == typeof exports ? exports.Launcher = n() : t.Launcher = n()
}(globalThis, async () => {
// ===== 切割版模块加载器 =====
window.__modules__ = {};
console.log("加载决定");
console.log(window.__modules__);
const __base_url__ = window.__script_base_url__ || './';
// 6.1 加载资源模块 (从 resources.json 批量注册)
const __resource_resp__ = await fetch(__base_url__ + 'unpacked/resources.json');
if (!__resource_resp__.ok)
throw new Error('resources.json load failed: HTTP ' + __resource_resp__.status);
const __resource_data__ = await __resource_resp__.json();
const __resource_map__ = __resource_data__.resourceMap;
for (const __id__ in __resource_map__) {
if (!Object.prototype.hasOwnProperty.call(__resource_map__, __id__))
continue;
const __path__ = __resource_map__[__id__];
const __id_num__ = Number(__id__);
window.__modules__[__id_num__] = (function(__p__) {
return (t, n, i) => {
"use strict";
t.exports = i.p + __p__;
}
;
}
)(__path__);
}
// 6.2 加载代码模块 (fetch + eval 独立文件)
const __code_ids__ = [806, 905, 1510, 1901, 3535, 3569, 7426, 7552, 7793, 9345, 9539, 9963, 10032, 10283, 10849, 12218, 13431, 13532, 13754, 14766, 15152, 15330, 15831, 16100, 17259, 17323, 18334, 19074, 19487, 21300, 21973, 24635, 24923, 25377, 26482, 27736, 28485, 29518, 29545, 29554, 30285, 31509, 31584, 31620, 31908, 32088, 36659, 36734, 37036, 37504, 38335, 40293, 41164, 42920, 43319, 44740, 44794, 45555, 45686, 47243, 48576, 50824, 51233, 51400, 51887, 52943, 54199, 55088, 55520, 55920, 56077, 57128, 57328, 58309, 59131, 59411, 60273, 60824, 61378, 61430, 61860, 63383, 64280, 64477, 65201, 66610, 67222, 69682, 70130, 70298, 71105, 71426, 72834, 73932, 74897, 75453, 76074, 77249, 77672, 78231, 78931, 79763, 80397, 80693, 81886, 82347, 84441, 85183, 85196, 85667, 85745, 87072, 88693, 89613, 89679, 89803, 90225, 90875, 92980, 94090, 94965, 96480, 97556, 97675, 99295, 99527];
await Promise.all(__code_ids__.map(async (__id__) => {
const __padded__ = typeof __id__ === 'number' ? String(__id__).padStart(5, '0') : __id__;
const __url__ = __base_url__ + 'unpacked/module_' + __padded__ + '.js';
const __resp__ = await fetch(__url__);
if (!__resp__.ok)
throw new Error('Module ' + __id__ + ' load failed: HTTP ' + __resp__.status + ' @ ' + __url__);
const __code__ = await __resp__.text();
(0,
eval)(__code__);
}
));
console.log(window.__modules__);
var __webpack_modules__ = window.__modules__;
// ===== 原 webpack runtime (一字未改) =====
;var __webpack_module_cache__ = {};
function __webpack_require__(t) {
var n = __webpack_module_cache__[t];
if (void 0 !== n)
return n.exports;
var i = __webpack_module_cache__[t] = {
id: t,
loaded: !1,
exports: {}
};
return __webpack_modules__[t].call(i.exports, i, i.exports, __webpack_require__),
i.loaded = !0,
i.exports
}
// ===== __webpack_require__ 由 module_13431.js 内部捕获到 window.__wp_require__ =====
__webpack_require__.n = t => {
var n = t && t.__esModule ? () => t.default : () => t;
return __webpack_require__.d(n, {
a: n
}),
n
}
,
__webpack_require__.d = (t, n) => {
for (var i in n)
__webpack_require__.o(n, i) && !__webpack_require__.o(t, i) && Object.defineProperty(t, i, {
enumerable: !0,
get: n[i]
})
}
,
__webpack_require__.g = function() {
if ("object" == typeof globalThis)
return globalThis;
try {
return this || new Function("return this")()
} catch (t) {
if ("object" == typeof window)
return window
}
}(),
__webpack_require__.hmd = t => ((t = Object.create(t)).children || (t.children = []),
Object.defineProperty(t, "exports", {
enumerable: !0,
set: () => {
throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: " + t.id)
}
}),
t),
__webpack_require__.o = (t, n) => Object.prototype.hasOwnProperty.call(t, n),
__webpack_require__.r = t => {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
value: "Module"
}),
Object.defineProperty(t, "__esModule", {
value: !0
})
}
,
__webpack_require__.p = "/play/",
__webpack_require__(76074),
__webpack_require__(13431),
__webpack_require__(26482);
var __webpack_exports__ = __webpack_require__(78231);
// ===== 最后加载 hornet_bundle (自定义工具) =====
try {
const __hornet_url__ = __base_url__ + 'unpacked/hornet_bundle.js';
const __hornet_resp__ = await fetch(__hornet_url__);
if (__hornet_resp__.ok) {
const __hornet_code__ = await __hornet_resp__.text();
(0, eval)(__hornet_code__);
console.log('[Hornet] bundle 已加载');
} else {
console.warn('[Hornet] bundle 加载失败: HTTP ' + __hornet_resp__.status);
}
} catch(__hornet_err__) {
console.error('[Hornet] bundle 加载异常:', __hornet_err__);
}
return __webpack_exports__;
}
)
//# sourceMappingURL=main.b7114b43.js.map
File diff suppressed because it is too large. Load diff
@@ -25,26 +25,26 @@
}
((o[r.ForwardRef] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }),
(o[r.Memo] = s));
var h = Object.defineProperty,
a = Object.getOwnPropertyNames,
var a = Object.defineProperty,
h = Object.getOwnPropertyNames,
c = Object.getOwnPropertySymbols,
f = Object.getOwnPropertyDescriptor,
l = Object.getPrototypeOf,
l = Object.getOwnPropertyDescriptor,
f = Object.getPrototypeOf,
v = Object.prototype;
t.exports = function t(n, i, r) {
if ("string" != typeof i) {
if (v) {
var e = l(i);
var e = f(i);
e && e !== v && t(n, e, r);
}
var s = a(i);
var s = h(i);
c && (s = s.concat(c(i)));
for (var o = _(n), w = _(i), d = 0; d < s.length; ++d) {
var m = s[d];
if (!(u[m] || (r && r[m]) || (w && w[m]) || (o && o[m]))) {
var p = f(i, m);
for (var o = _(n), w = _(i), p = 0; p < s.length; ++p) {
var d = s[p];
if (!(u[d] || (r && r[d]) || (w && w[d]) || (o && o[d]))) {
var g = l(i, d);
try {
h(n, m, p);
a(n, d, g);
} catch (t) {}
}
}
File diff suppressed because it is too large. Load diff
@@ -3,7 +3,7 @@
// ============================================================
;(window.__modules__ = window.__modules__ || {})[1901] = (t, n, i) => {
"use strict";
(i.r(n), i.d(n, { ReCAPTCHA: () => a, default: () => k }));
(i.r(n), i.d(n, { ReCAPTCHA: () => h, default: () => k }));
var r = i(7552),
e = i(15152),
u = i.n(e),
@@ -40,17 +40,17 @@
if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return t;
}
function h(t, n) {
function a(t, n) {
return (
(h = Object.setPrototypeOf
(a = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (t, n) {
return ((t.__proto__ = n), t);
}),
h(t, n)
a(t, n)
);
}
var a = (function (t) {
var h = (function (t) {
var n, i;
function e() {
var n;
@@ -62,7 +62,7 @@
n
);
}
((i = t), ((n = e).prototype = Object.create(i.prototype)), (n.prototype.constructor = n), h(n, i));
((i = t), ((n = e).prototype = Object.create(i.prototype)), (n.prototype.constructor = n), a(n, i));
var u = e.prototype;
return (
(u.getCaptchaFunction = function (t) {
@@ -175,8 +175,8 @@
e
);
})(r.Component);
((a.displayName = "ReCAPTCHA"),
(a.propTypes = {
((h.displayName = "ReCAPTCHA"),
(h.propTypes = {
sitekey: u().string.isRequired,
onChange: u().func,
grecaptcha: u().object,
@@ -191,7 +191,7 @@
badge: u().oneOf(["bottomright", "bottomleft", "inline"]),
isolated: u().bool,
}),
(a.defaultProps = {
(h.defaultProps = {
onChange: function () {},
theme: "light",
type: "image",
@@ -200,10 +200,10 @@
badge: "bottomright",
}));
var c = i(806),
f = i.n(c);
function l() {
l = i.n(c);
function f() {
return (
(l =
(f =
Object.assign ||
function (t) {
for (var n = 1; n < arguments.length; n++) {
@@ -212,24 +212,24 @@
}
return t;
}),
l.apply(this, arguments)
f.apply(this, arguments)
);
}
var v = {},
w = 0,
d = "onloadcallback";
function m() {
p = "onloadcallback";
function d() {
return ("undefined" != typeof window && window.recaptchaOptions) || {};
}
const p = ((g = function () {
var t = m(),
const g = ((m = function () {
var t = d(),
n = t.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
return t.enterprise
? "https://" + n + "/recaptcha/enterprise.js?onload=" + d + "&render=explicit"
: "https://" + n + "/recaptcha/api.js?onload=" + d + "&render=explicit";
? "https://" + n + "/recaptcha/enterprise.js?onload=" + p + "&render=explicit"
: "https://" + n + "/recaptcha/api.js?onload=" + p + "&render=explicit";
}),
(y =
(y = { callbackName: d, globalName: "grecaptcha", attributes: m().nonce ? { nonce: m().nonce } : {} }) ||
(y = { callbackName: p, globalName: "grecaptcha", attributes: d().nonce ? { nonce: d().nonce } : {} }) ||
{}),
function (t) {
var n = t.displayName || t.name || "Component",
@@ -252,7 +252,7 @@
);
}),
(s.setupScriptURL = function () {
return ((this.__scriptURL = g()), this.__scriptURL);
return ((this.__scriptURL = m()), this.__scriptURL);
}),
(s.asyncScriptLoaderHandleLoad = function (t) {
var n = this;
@@ -287,9 +287,9 @@
return t.asyncScriptLoaderHandleLoad(n);
}),
(v[n] = { loaded: !1, observers: _ }));
var h = document.createElement("script");
for (var a in ((h.src = n), (h.async = !0), y.attributes)) h.setAttribute(a, y.attributes[a]);
s && (h.id = s);
var a = document.createElement("script");
for (var h in ((a.src = n), (a.async = !0), y.attributes)) a.setAttribute(h, y.attributes[h]);
s && (a.id = s);
var c = function (t) {
if (v[n]) {
var i = v[n].observers;
@@ -301,7 +301,7 @@
(window[u] = function () {
return t.asyncScriptLoaderTriggerOnScriptLoaded();
}),
(h.onload = function () {
(a.onload = function () {
var t = v[n];
t &&
((t.loaded = !0),
@@ -309,7 +309,7 @@
return !u && (n(t), !0);
}));
}),
(h.onerror = function () {
(a.onerror = function () {
var t = v[n];
t &&
((t.errored = !0),
@@ -317,7 +317,7 @@
return (n(t), !0);
}));
}),
document.body.appendChild(h));
document.body.appendChild(a));
}),
(s.componentWillUnmount = function () {
var t = this.__scriptURL;
@@ -352,14 +352,14 @@
);
})(r.Component),
e = (0, r.forwardRef)(function (t, n) {
return (0, r.createElement)(i, l({}, t, { forwardedRef: n }));
return (0, r.createElement)(i, f({}, t, { forwardedRef: n }));
});
return (
(e.displayName = "AsyncScriptLoader(" + n + ")"),
(e.propTypes = { asyncScriptOnLoad: u().func }),
f()(e, t)
l()(e, t)
);
})(a);
var g, y;
const k = p;
})(h);
var m, y;
const k = g;
};
@@ -10,27 +10,27 @@
s = n.createElement,
o = n.useEffect,
_ = n.useInsertionEffect,
h = n.useLayoutEffect,
a = i.$_$.h5,
a = n.useLayoutEffect,
h = i.$_$.h5,
c = i.$_$.c,
f = i.$_$.wd;
function l() {
return (d(), r);
l = i.$_$.wd;
function f() {
return (p(), r);
}
function v() {
return (d(), e);
return (p(), e);
}
function w(t, n) {
if ((d(), null != t[l()])) t[l()].push(n);
if ((p(), null != t[f()])) t[f()].push(n);
else {
var i = [n];
t[l()] = i;
t[f()] = i;
}
}
function d() {
function p() {
u || ((u = !0), (r = Symbol("@@child-array")), (e = Symbol("@@default-key")));
}
function m(t) {
function d(t) {
return (
(n = t),
function () {
@@ -47,7 +47,7 @@
var e = t[i];
((i = (i + 1) | 0), e());
}
return a;
return h;
}
);
})(t)
@@ -59,18 +59,18 @@
((t.$_$ = t.$_$ || {}),
(t.$_$.a = w),
(t.$_$.b = function (t, n, i) {
d();
p();
var r = (function (t) {
d();
p();
var n = t[v()];
return (Reflect.deleteProperty(t, v()), n);
})(t),
e = {};
(i(e),
(function (t, n, i, r, e) {
((i = i === c ? null : i), (r = r === c ? null : r), d());
((i = i === c ? null : i), (r = r === c ? null : r), p());
var u = (function (t, n) {
if ((d(), null == n)) return t;
if ((p(), null == n)) return t;
if (null == t) {
var i = {};
return ((i.key = n), i);
@@ -85,28 +85,28 @@
n,
e,
(function (t) {
return (d(), t[l()]);
return (p(), t[f()]);
})(e),
r,
));
}),
(t.$_$.c = function (t) {
return (d(), t[l()]);
return (p(), t[f()]);
}),
(t.$_$.d = function (t) {
return f(t);
return l(t);
}),
(t.$_$.e = function (t) {
var n = m(t);
var n = d(t);
o(n, []);
}),
(t.$_$.f = function (t, n) {
var i = m(n);
var i = d(n);
_(i, t);
}),
(t.$_$.g = function (t, n) {
var i = m(n);
h(i, t);
var i = d(n);
a(i, t);
}));
})(t.exports, i(7552), i(37036));
};
File diff suppressed because it is too large. Load diff
@@ -9,12 +9,12 @@
s = n.$_$.f,
o = n.$_$.n2,
_ = n.$_$.wa,
h = i.$_$.l,
a = r.$_$.c;
a = i.$_$.l,
h = r.$_$.c;
((t.$_$ = t.$_$ || {}),
(t.$_$.a = function (t, n) {
return (function (t, n) {
var i = new h(_(n), 1);
var i = new a(_(n), 1);
i.xt();
var r,
e,
@@ -30,8 +30,8 @@
),
s.signal),
c = new Request(t, { signal: o, signal: o }),
f = fetch(c);
return (a(f, i), i.yt());
l = fetch(c);
return (h(l, i), i.yt());
})(new Request(t), n);
}),
(t.$_$.b = function (t, n, i, r) {
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -9,7 +9,7 @@
s = i.$_$.h5,
o = r.$_$.c,
_ = i.$_$.c;
function h(t) {
function a(t) {
var n = {};
t(n);
var i = o(n);
@@ -23,7 +23,7 @@
return (
(n = t),
function () {
return h(n);
return a(n);
}
);
var n;
@@ -34,7 +34,7 @@
return (
(n = t),
function (t) {
return h(
return a(
(function (t, n) {
return function (i) {
return (t(i, n), s);
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -11,17 +11,17 @@
var s,
o,
_,
h,
a,
h,
c,
f,
l = n.PriorityQueue.make();
for (l.push(i, 0); !l.empty();)
for (_ in ((o = (s = l.pop()).value), (h = s.cost), (a = t[o] || {})))
a.hasOwnProperty(_) &&
((c = h + a[_]),
(f = u[_]),
(void 0 === u[_] || f > c) && ((u[_] = c), l.push(_, c), (e[_] = o)));
l,
f = n.PriorityQueue.make();
for (f.push(i, 0); !f.empty();)
for (_ in ((o = (s = f.pop()).value), (a = s.cost), (h = t[o] || {})))
h.hasOwnProperty(_) &&
((c = a + h[_]),
(l = u[_]),
(void 0 === u[_] || l > c) && ((u[_] = c), f.push(_, c), (e[_] = o)));
if (void 0 !== r && void 0 === u[r]) {
var v = ["Could not find a path from ", i, " to ", r, "."].join("");
throw new Error(v);
+136 -136
View File
@@ -6,14 +6,14 @@
(i.r(n),
i.d(n, {
cache: () => Ct,
css: () => xt,
css: () => zt,
cx: () => bt,
flush: () => yt,
getRegisteredStyles: () => $t,
hydrate: () => kt,
injectGlobal: () => qt,
keyframes: () => zt,
merge: () => jt,
injectGlobal: () => jt,
keyframes: () => xt,
merge: () => qt,
sheet: () => St,
}));
var r = (function () {
@@ -94,29 +94,29 @@
function _(t, n, i) {
return t.replace(n, i);
}
function h(t, n) {
function a(t, n) {
return t.indexOf(n);
}
function a(t, n) {
function h(t, n) {
return 0 | t.charCodeAt(n);
}
function c(t, n, i) {
return t.slice(n, i);
}
function f(t) {
function l(t) {
return t.length;
}
function l(t) {
function f(t) {
return t.length;
}
function v(t, n) {
return (n.push(t), t);
}
var w = 1,
d = 1,
m = 0,
p = 0,
p = 1,
d = 0,
g = 0,
m = 0,
y = "";
function k(t, n, i, r, e, u, s) {
return {
@@ -127,7 +127,7 @@
props: e,
children: u,
line: w,
column: d,
column: p,
length: s,
return: "",
};
@@ -135,19 +135,19 @@
function b(t, n) {
return s(k("", null, null, "", null, null, 0), t, { length: -t.length }, n);
}
function j() {
return ((g = p > 0 ? a(y, --p) : 0), d--, 10 === g && ((d = 1), w--), g);
function q() {
return ((m = g > 0 ? h(y, --g) : 0), p--, 10 === m && ((p = 1), w--), m);
}
function $() {
return ((g = p < m ? a(y, p++) : 0), d++, 10 === g && ((d = 1), w++), g);
return ((m = g < d ? h(y, g++) : 0), p++, 10 === m && ((p = 1), w++), m);
}
function q() {
return a(y, p);
function j() {
return h(y, g);
}
function z() {
return p;
function x() {
return g;
}
function x(t, n) {
function z(t, n) {
return c(y, t, n);
}
function S(t) {
@@ -183,30 +183,30 @@
return 0;
}
function C(t) {
return ((w = d = 1), (m = f((y = t))), (p = 0), []);
return ((w = p = 1), (d = l((y = t))), (g = 0), []);
}
function E(t) {
return ((y = ""), t);
}
function T(t) {
return o(x(p - 1, R(91 === t ? t + 2 : 40 === t ? t + 1 : t)));
return o(z(g - 1, R(91 === t ? t + 2 : 40 === t ? t + 1 : t)));
}
function I(t) {
for (; (g = q()) && g < 33;) $();
return S(t) > 2 || S(g) > 3 ? "" : " ";
for (; (m = j()) && m < 33;) $();
return S(t) > 2 || S(m) > 3 ? "" : " ";
}
function A(t, n) {
for (; --n && $() && !(g < 48 || g > 102 || (g > 57 && g < 65) || (g > 70 && g < 97)););
return x(t, z() + (n < 6 && 32 == q() && 32 == $()));
for (; --n && $() && !(m < 48 || m > 102 || (m > 57 && m < 65) || (m > 70 && m < 97)););
return z(t, x() + (n < 6 && 32 == j() && 32 == $()));
}
function R(t) {
for (; $();)
switch (g) {
switch (m) {
case t:
return p;
return g;
case 34:
case 39:
34 !== t && 39 !== t && R(g);
34 !== t && 39 !== t && R(m);
break;
case 40:
41 === t && R(t);
@@ -214,15 +214,15 @@
case 92:
$();
}
return p;
return g;
}
function P(t, n) {
for (; $() && t + g !== 57 && (t + g !== 84 || 47 !== q()););
return "/*" + x(n, p - 1) + "*" + u(47 === t ? t : $());
for (; $() && t + m !== 57 && (t + m !== 84 || 47 !== j()););
return "/*" + z(n, g - 1) + "*" + u(47 === t ? t : $());
}
function N(t) {
for (; !S(q());) $();
return x(t, p);
for (; !S(j());) $();
return z(t, g);
}
var O = "-ms-",
M = "-moz-",
@@ -232,7 +232,7 @@
U = "decl",
F = "@keyframes";
function G(t, n) {
for (var i = "", r = l(t), e = 0; e < r; e++) i += n(t[e], e, t, n) || "";
for (var i = "", r = f(t), e = 0; e < r; e++) i += n(t[e], e, t, n) || "";
return i;
}
function H(t, n, i, r) {
@@ -249,22 +249,22 @@
case B:
t.value = t.props.join(",");
}
return f((i = G(t.children, r))) ? (t.return = t.value + "{" + i + "}") : "";
return l((i = G(t.children, r))) ? (t.return = t.value + "{" + i + "}") : "";
}
function W(t) {
return E(V("", null, null, null, [""], (t = C(t)), 0, [0], t));
}
function V(t, n, i, r, e, s, o, c, l) {
function V(t, n, i, r, e, s, o, c, f) {
for (
var w = 0,
d = 0,
m = o,
p = 0,
d = o,
g = 0,
m = 0,
y = 0,
k = 1,
b = 1,
x = 1,
z = 1,
S = 0,
C = "",
E = e,
@@ -275,8 +275,8 @@
)
switch (((y = S), (S = $()))) {
case 40:
if (108 != y && 58 == a(M, m - 1)) {
-1 != h((M += _(T(S), "&", "&\f")), "&\f") && (x = -1);
if (108 != y && 58 == h(M, d - 1)) {
-1 != a((M += _(T(S), "&", "&\f")), "&\f") && (z = -1);
break;
}
case 34:
@@ -291,20 +291,20 @@
M += I(y);
break;
case 92:
M += A(z() - 1, 7);
M += A(x() - 1, 7);
continue;
case 47:
switch (q()) {
switch (j()) {
case 42:
case 47:
v(Y(P($(), z()), n, i), l);
v(Y(P($(), x()), n, i), f);
break;
default:
M += "/";
}
break;
case 123 * k:
c[w++] = f(M) * x;
c[w++] = l(M) * z;
case 125 * k:
case 59:
case 0:
@@ -312,68 +312,68 @@
case 0:
case 125:
b = 0;
case 59 + d:
(-1 == x && (M = _(M, /\f/g, "")),
g > 0 &&
f(M) - m &&
v(g > 32 ? X(M + ";", r, i, m - 1) : X(_(M, " ", "") + ";", r, i, m - 2), l));
case 59 + p:
(-1 == z && (M = _(M, /\f/g, "")),
m > 0 &&
l(M) - d &&
v(m > 32 ? X(M + ";", r, i, d - 1) : X(_(M, " ", "") + ";", r, i, d - 2), f));
break;
case 59:
M += ";";
default:
if ((v((O = K(M, n, i, w, d, e, c, C, (E = []), (R = []), m)), s), 123 === S))
if (0 === d) V(M, n, O, O, E, s, m, c, R);
if ((v((O = K(M, n, i, w, p, e, c, C, (E = []), (R = []), d)), s), 123 === S))
if (0 === p) V(M, n, O, O, E, s, d, c, R);
else
switch (99 === p && 110 === a(M, 3) ? 100 : p) {
switch (99 === g && 110 === h(M, 3) ? 100 : g) {
case 100:
case 108:
case 109:
case 115:
V(t, O, O, r && v(K(t, O, O, 0, 0, e, c, C, e, (E = []), m), R), e, R, m, c, r ? E : R);
V(t, O, O, r && v(K(t, O, O, 0, 0, e, c, C, e, (E = []), d), R), e, R, d, c, r ? E : R);
break;
default:
V(M, O, O, O, [""], R, 0, c, R);
}
}
((w = d = g = 0), (k = x = 1), (C = M = ""), (m = o));
((w = p = m = 0), (k = z = 1), (C = M = ""), (d = o));
break;
case 58:
((m = 1 + f(M)), (g = y));
((d = 1 + l(M)), (m = y));
default:
if (k < 1)
if (123 == S) --k;
else if (125 == S && 0 == k++ && 125 == j()) continue;
else if (125 == S && 0 == k++ && 125 == q()) continue;
switch (((M += u(S)), S * k)) {
case 38:
x = d > 0 ? 1 : ((M += "\f"), -1);
z = p > 0 ? 1 : ((M += "\f"), -1);
break;
case 44:
((c[w++] = (f(M) - 1) * x), (x = 1));
((c[w++] = (l(M) - 1) * z), (z = 1));
break;
case 64:
(45 === q() && (M += T($())), (p = q()), (d = m = f((C = M += N(z())))), S++);
(45 === j() && (M += T($())), (g = j()), (p = d = l((C = M += N(x())))), S++);
break;
case 45:
45 === y && 2 == f(M) && (k = 0);
45 === y && 2 == l(M) && (k = 0);
}
}
return s;
}
function K(t, n, i, r, u, s, h, a, f, v, w) {
for (var d = u - 1, m = 0 === u ? s : [""], p = l(m), g = 0, y = 0, b = 0; g < r; ++g)
for (var j = 0, $ = c(t, d + 1, (d = e((y = h[g])))), q = t; j < p; ++j)
(q = o(y > 0 ? m[j] + " " + $ : _($, /&\f/g, m[j]))) && (f[b++] = q);
return k(t, n, i, 0 === u ? B : a, f, v, w);
function K(t, n, i, r, u, s, a, h, l, v, w) {
for (var p = u - 1, d = 0 === u ? s : [""], g = f(d), m = 0, y = 0, b = 0; m < r; ++m)
for (var q = 0, $ = c(t, p + 1, (p = e((y = a[m])))), j = t; q < g; ++q)
(j = o(y > 0 ? d[q] + " " + $ : _($, /&\f/g, d[q]))) && (l[b++] = j);
return k(t, n, i, 0 === u ? B : h, l, v, w);
}
function Y(t, n, i) {
return k(t, n, i, L, u(g), c(t, 2, -2), 0);
return k(t, n, i, L, u(m), c(t, 2, -2), 0);
}
function X(t, n, i, r) {
return k(t, n, i, U, c(t, 0, r), c(t, r + 1, -1), r);
}
var J = function (t, n, i) {
for (var r = 0, e = 0; (r = e), (e = q()), 38 === r && 12 === e && (n[i] = 1), !S(e);) $();
return x(t, p);
for (var r = 0, e = 0; (r = e), (e = j()), 38 === r && 12 === e && (n[i] = 1), !S(e);) $();
return z(t, g);
},
Z = new WeakMap(),
Q = function (t) {
@@ -395,14 +395,14 @@
do {
switch (S(r)) {
case 0:
(38 === r && 12 === q() && (n[i] = 1), (t[i] += J(p - 1, n, i)));
(38 === r && 12 === j() && (n[i] = 1), (t[i] += J(g - 1, n, i)));
break;
case 2:
t[i] += T(r);
break;
case 4:
if (44 === r) {
((t[++i] = 58 === q() ? "&\f" : ""), (n[i] = t[i].length));
((t[++i] = 58 === j() ? "&\f" : ""), (n[i] = t[i].length));
break;
}
default:
@@ -415,12 +415,12 @@
})(n, e),
o = i.props,
_ = 0,
h = 0;
a = 0;
_ < s.length;
_++
)
for (var a = 0; a < o.length; a++, h++)
t.props[h] = e[_] ? s[_].replace(/&\f/g, o[a]) : o[a] + " " + s[_];
for (var h = 0; h < o.length; h++, a++)
t.props[a] = e[_] ? s[_].replace(/&\f/g, o[h]) : o[h] + " " + s[_];
}
}
},
@@ -433,7 +433,7 @@
function nt(t, n) {
switch (
(function (t, n) {
return 45 ^ a(t, 0) ? (((((((n << 2) ^ a(t, 0)) << 2) ^ a(t, 1)) << 2) ^ a(t, 2)) << 2) ^ a(t, 3) : 0;
return 45 ^ h(t, 0) ? (((((((n << 2) ^ h(t, 0)) << 2) ^ h(t, 1)) << 2) ^ h(t, 2)) << 2) ^ h(t, 3) : 0;
})(t, n)
) {
case 5103:
@@ -518,22 +518,22 @@
case 5789:
case 5021:
case 4765:
if (f(t) - 1 - n > 6)
switch (a(t, n + 1)) {
if (l(t) - 1 - n > 6)
switch (h(t, n + 1)) {
case 109:
if (45 !== a(t, n + 4)) break;
if (45 !== h(t, n + 4)) break;
case 102:
return (
_(t, /(.+:)(.+)-([^]+)/, "$1" + D + "$2-$3$1" + M + (108 == a(t, n + 3) ? "$3" : "$2-$3")) + t
_(t, /(.+:)(.+)-([^]+)/, "$1" + D + "$2-$3$1" + M + (108 == h(t, n + 3) ? "$3" : "$2-$3")) + t
);
case 115:
return ~h(t, "stretch") ? nt(_(t, "stretch", "fill-available"), n) + t : t;
return ~a(t, "stretch") ? nt(_(t, "stretch", "fill-available"), n) + t : t;
}
break;
case 4949:
if (115 !== a(t, n + 1)) break;
if (115 !== h(t, n + 1)) break;
case 6444:
switch (a(t, f(t) - 3 - (~h(t, "!important") && 10))) {
switch (h(t, l(t) - 3 - (~a(t, "!important") && 10))) {
case 107:
return _(t, ":", ":" + D) + t;
case 101:
@@ -541,13 +541,13 @@
_(
t,
/(.+:)([^;!]+)(;|!.+)?/,
"$1" + D + (45 === a(t, 14) ? "inline-" : "") + "box$3$1" + D + "$2$3$1" + O + "$2box$3",
"$1" + D + (45 === h(t, 14) ? "inline-" : "") + "box$3$1" + D + "$2$3$1" + O + "$2box$3",
) + t
);
}
break;
case 5936:
switch (a(t, n + 11)) {
switch (h(t, n + 11)) {
case 114:
return D + t + O + _(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
case 108:
@@ -659,16 +659,16 @@
_t = function (t) {
return null != t && "boolean" != typeof t;
},
ht = et(function (t) {
at = et(function (t) {
return ot(t) ? t : t.replace(ut, "-$&").toLowerCase();
}),
at = function (t, n) {
ht = function (t, n) {
switch (t) {
case "animation":
case "animationName":
if ("string" == typeof n)
return n.replace(st, function (t, n, i) {
return ((ft = { name: n, styles: i, next: ft }), n);
return ((lt = { name: n, styles: i, next: lt }), n);
});
}
return 1 === rt[t] || ot(t) || "number" != typeof n || 0 === n ? n : n + "px";
@@ -682,12 +682,12 @@
return "";
case "object":
var e = i;
if (1 === e.anim) return ((ft = { name: e.name, styles: e.styles, next: ft }), e.name);
if (1 === e.anim) return ((lt = { name: e.name, styles: e.styles, next: lt }), e.name);
var u = i;
if (void 0 !== u.styles) {
var s = u.next;
if (void 0 !== s)
for (; void 0 !== s;) ((ft = { name: s.name, styles: s.styles, next: ft }), (s = s.next));
for (; void 0 !== s;) ((lt = { name: s.name, styles: s.styles, next: lt }), (s = s.next));
return u.styles + ";";
}
return (function (t, n, i) {
@@ -700,46 +700,46 @@
var o = s;
null != n && void 0 !== n[o]
? (r += u + "{" + n[o] + "}")
: _t(o) && (r += ht(u) + ":" + at(u, o) + ";");
: _t(o) && (r += at(u) + ":" + ht(u, o) + ";");
} else if (!Array.isArray(s) || "string" != typeof s[0] || (null != n && void 0 !== n[s[0]])) {
var _ = ct(t, n, s);
switch (u) {
case "animation":
case "animationName":
r += ht(u) + ":" + _ + ";";
r += at(u) + ":" + _ + ";";
break;
default:
r += u + "{" + _ + "}";
}
} else for (var h = 0; h < s.length; h++) _t(s[h]) && (r += ht(u) + ":" + at(u, s[h]) + ";");
} else for (var a = 0; a < s.length; a++) _t(s[a]) && (r += at(u) + ":" + ht(u, s[a]) + ";");
}
return r;
})(t, n, i);
case "function":
if (void 0 !== t) {
var o = ft,
var o = lt,
_ = i(t);
return ((ft = o), ct(t, n, _));
return ((lt = o), ct(t, n, _));
}
}
var h = i;
if (null == n) return h;
var a = n[h];
return void 0 !== a ? a : h;
var a = i;
if (null == n) return a;
var h = n[a];
return void 0 !== h ? h : a;
}
var ft,
lt = /label:\s*([^\s;{]+)\s*(;|$)/g;
var lt,
ft = /label:\s*([^\s;{]+)\s*(;|$)/g;
function vt(t, n, i) {
if (1 === t.length && "object" == typeof t[0] && null !== t[0] && void 0 !== t[0].styles) return t[0];
var r = !0,
e = "";
ft = void 0;
lt = void 0;
var u = t[0];
null == u || void 0 === u.raw ? ((r = !1), (e += ct(i, n, u))) : (e += u[0]);
for (var s = 1; s < t.length; s++) ((e += ct(i, n, t[s])), r && (e += u[s]));
lt.lastIndex = 0;
for (var o, _ = ""; null !== (o = lt.exec(e));) _ += "-" + o[1];
var h =
ft.lastIndex = 0;
for (var o, _ = ""; null !== (o = ft.exec(e));) _ += "-" + o[1];
var a =
(function (t) {
for (var n, i = 0, r = 0, e = t.length; e >= 4; ++r, e -= 4)
((n =
@@ -767,7 +767,7 @@
0
).toString(36);
})(e) + _;
return { name: h, styles: e, next: ft };
return { name: a, styles: e, next: lt };
}
function wt(t, n, i) {
var r = "";
@@ -778,15 +778,15 @@
r
);
}
function dt(t, n) {
function pt(t, n) {
if (void 0 === t.inserted[n.name]) return t.insert("", n, t.sheet, !0);
}
function mt(t, n, i) {
function dt(t, n, i) {
var r = [],
e = wt(t, r, i);
return r.length < 2 ? i : e + n(r);
}
var pt = function t(n) {
var gt = function t(n) {
for (var i = "", r = 0; r < n.length; r++) {
var e = n[r];
if (null != e) {
@@ -806,7 +806,7 @@
}
return i;
},
gt = (function () {
mt = (function () {
var t = (function (t) {
var n = t.key;
if ("css" === n) {
@@ -829,30 +829,30 @@
_.push(t);
},
));
var h,
a,
var a,
h,
c,
f,
l,
v = [
H,
((f = function (t) {
h.insert(t);
((l = function (t) {
a.insert(t);
}),
function (t) {
t.root || ((t = t.return) && f(t));
t.root || ((t = t.return) && l(t));
}),
],
w =
((a = [Q, tt].concat(s, v)),
(c = l(a)),
((h = [Q, tt].concat(s, v)),
(c = f(h)),
function (t, n, i, r) {
for (var e = "", u = 0; u < c; u++) e += a[u](t, n, i, r) || "";
for (var e = "", u = 0; u < c; u++) e += h[u](t, n, i, r) || "";
return e;
});
u = function (t, n, i, r) {
((h = i), G(W(t ? t + "{" + n.styles + "}" : n.styles), w), r && (d.inserted[n.name] = !0));
((a = i), G(W(t ? t + "{" + n.styles + "}" : n.styles), w), r && (p.inserted[n.name] = !0));
};
var d = {
var p = {
key: n,
sheet: new r({
key: n,
@@ -867,7 +867,7 @@
registered: {},
insert: u,
};
return (d.sheet.hydrate(_), d);
return (p.sheet.hydrate(_), p);
})({ key: "css" });
((t.sheet.speedy = function (t) {
this.isSpeedy = t;
@@ -897,18 +897,18 @@
css: n,
cx: function () {
for (var i = arguments.length, r = new Array(i), e = 0; e < i; e++) r[e] = arguments[e];
return mt(t.registered, n, pt(r));
return dt(t.registered, n, gt(r));
},
injectGlobal: function () {
for (var n = arguments.length, i = new Array(n), r = 0; r < n; r++) i[r] = arguments[r];
var e = vt(i, t.registered);
dt(t, e);
pt(t, e);
},
keyframes: function () {
for (var n = arguments.length, i = new Array(n), r = 0; r < n; r++) i[r] = arguments[r];
var e = vt(i, t.registered),
u = "animation-" + e.name;
return (dt(t, { name: e.name, styles: "@keyframes " + u + "{" + e.styles + "}" }), u);
return (pt(t, { name: e.name, styles: "@keyframes " + u + "{" + e.styles + "}" }), u);
},
hydrate: function (n) {
n.forEach(function (n) {
@@ -921,17 +921,17 @@
sheet: t.sheet,
cache: t,
getRegisteredStyles: wt.bind(null, t.registered),
merge: mt.bind(null, t.registered, n),
merge: dt.bind(null, t.registered, n),
};
})(),
yt = gt.flush,
kt = gt.hydrate,
bt = gt.cx,
jt = gt.merge,
$t = gt.getRegisteredStyles,
qt = gt.injectGlobal,
zt = gt.keyframes,
xt = gt.css,
St = gt.sheet,
Ct = gt.cache;
yt = mt.flush,
kt = mt.hydrate,
bt = mt.cx,
qt = mt.merge,
$t = mt.getRegisteredStyles,
jt = mt.injectGlobal,
xt = mt.keyframes,
zt = mt.css,
St = mt.sheet,
Ct = mt.cache;
};
@@ -51,20 +51,20 @@
s = n.getScale(e, r),
o = Math.floor((e + 2 * r.margin) * s),
_ = r.margin * s,
h = [r.color.light, r.color.dark];
a = [r.color.light, r.color.dark];
for (let n = 0; n < o; n++)
for (let i = 0; i < o; i++) {
let a = 4 * (n * o + i),
let h = 4 * (n * o + i),
c = r.color.light;
(n >= _ &&
i >= _ &&
n < o - _ &&
i < o - _ &&
(c = h[u[Math.floor((n - _) / s) * e + Math.floor((i - _) / s)] ? 1 : 0]),
(t[a++] = c.r),
(t[a++] = c.g),
(t[a++] = c.b),
(t[a] = c.a));
(c = a[u[Math.floor((n - _) / s) * e + Math.floor((i - _) / s)] ? 1 : 0]),
(t[h++] = c.r),
(t[h++] = c.g),
(t[h++] = c.b),
(t[h] = c.a));
}
}));
};
File diff suppressed because it is too large. Load diff
@@ -10,17 +10,17 @@
s = i ? Symbol.for("react.strict_mode") : 60108,
o = i ? Symbol.for("react.profiler") : 60114,
_ = i ? Symbol.for("react.provider") : 60109,
h = i ? Symbol.for("react.context") : 60110,
a = i ? Symbol.for("react.async_mode") : 60111,
a = i ? Symbol.for("react.context") : 60110,
h = i ? Symbol.for("react.async_mode") : 60111,
c = i ? Symbol.for("react.concurrent_mode") : 60111,
f = i ? Symbol.for("react.forward_ref") : 60112,
l = i ? Symbol.for("react.suspense") : 60113,
l = i ? Symbol.for("react.forward_ref") : 60112,
f = i ? Symbol.for("react.suspense") : 60113,
v = i ? Symbol.for("react.suspense_list") : 60120,
w = i ? Symbol.for("react.memo") : 60115,
d = i ? Symbol.for("react.lazy") : 60116,
m = i ? Symbol.for("react.block") : 60121,
p = i ? Symbol.for("react.fundamental") : 60117,
g = i ? Symbol.for("react.responder") : 60118,
p = i ? Symbol.for("react.lazy") : 60116,
d = i ? Symbol.for("react.block") : 60121,
g = i ? Symbol.for("react.fundamental") : 60117,
m = i ? Symbol.for("react.responder") : 60118,
y = i ? Symbol.for("react.scope") : 60119;
function k(t) {
if ("object" == typeof t && null !== t) {
@@ -28,18 +28,18 @@
switch (n) {
case r:
switch ((t = t.type)) {
case a:
case h:
case c:
case u:
case o:
case s:
case l:
case f:
return t;
default:
switch ((t = t && t.$$typeof)) {
case h:
case f:
case d:
case a:
case l:
case p:
case w:
case _:
return t;
@@ -55,25 +55,25 @@
function b(t) {
return k(t) === c;
}
((n.AsyncMode = a),
((n.AsyncMode = h),
(n.ConcurrentMode = c),
(n.ContextConsumer = h),
(n.ContextConsumer = a),
(n.ContextProvider = _),
(n.Element = r),
(n.ForwardRef = f),
(n.ForwardRef = l),
(n.Fragment = u),
(n.Lazy = d),
(n.Lazy = p),
(n.Memo = w),
(n.Portal = e),
(n.Profiler = o),
(n.StrictMode = s),
(n.Suspense = l),
(n.Suspense = f),
(n.isAsyncMode = function (t) {
return b(t) || k(t) === a;
return b(t) || k(t) === h;
}),
(n.isConcurrentMode = b),
(n.isContextConsumer = function (t) {
return k(t) === h;
return k(t) === a;
}),
(n.isContextProvider = function (t) {
return k(t) === _;
@@ -82,13 +82,13 @@
return "object" == typeof t && null !== t && t.$$typeof === r;
}),
(n.isForwardRef = function (t) {
return k(t) === f;
return k(t) === l;
}),
(n.isFragment = function (t) {
return k(t) === u;
}),
(n.isLazy = function (t) {
return k(t) === d;
return k(t) === p;
}),
(n.isMemo = function (t) {
return k(t) === w;
@@ -103,7 +103,7 @@
return k(t) === s;
}),
(n.isSuspense = function (t) {
return k(t) === l;
return k(t) === f;
}),
(n.isValidElementType = function (t) {
return (
@@ -113,19 +113,19 @@
t === c ||
t === o ||
t === s ||
t === l ||
t === f ||
t === v ||
("object" == typeof t &&
null !== t &&
(t.$$typeof === d ||
(t.$$typeof === p ||
t.$$typeof === w ||
t.$$typeof === _ ||
t.$$typeof === h ||
t.$$typeof === f ||
t.$$typeof === p ||
t.$$typeof === a ||
t.$$typeof === l ||
t.$$typeof === g ||
t.$$typeof === m ||
t.$$typeof === y ||
t.$$typeof === m))
t.$$typeof === d))
);
}),
(n.typeOf = k));
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+138 -138
View File
@@ -7,61 +7,61 @@
var s = n.$_$.nb,
o = n.$_$.mf,
_ = i.$_$.e,
h = i.$_$.c,
a = r.$_$.r,
a = i.$_$.c,
h = r.$_$.r,
c = n.$_$.ge,
f = n.$_$.vj,
l = n.$_$.p5,
l = n.$_$.vj,
f = n.$_$.p5,
v = n.$_$.td,
w = (n.$_$.h5, n.$_$.o1),
d = n.$_$.fd,
m = e.$_$.u,
p = n.$_$.w4,
g = i.$_$.f,
p = n.$_$.fd,
d = e.$_$.u,
g = n.$_$.w4,
m = i.$_$.f,
y = u.$_$.s1,
k = r.$_$.n,
b = n.$_$.qf,
j = n.$_$.cd,
q = n.$_$.cd,
$ = n.$_$.qj,
q = i.$_$.r,
z = r.$_$.f,
x = n.$_$.xb,
j = i.$_$.r,
x = r.$_$.f,
z = n.$_$.xb,
S = n.$_$.c,
C = r.$_$.f1,
E = n.$_$.fe,
T = r.$_$.l,
I = n.$_$.je;
function A(t) {
var n = t.e1w1_1;
var n = t.d1wc_1;
if (null != n) return n;
s("codec_modelsData");
}
function R(t) {
var n = t.f1w1_1;
var n = t.e1wc_1;
if (null != n) return n;
s("codec_objects");
}
function P() {}
function N(t) {
var n = t.k1w1_1;
var n = t.j1wc_1;
if (null != n) return n;
s("codec_resources");
}
function O() {}
function M(t) {
var n = t.n1w1_1;
var n = t.m1wc_1;
if (null != n) return n;
s("codec_data");
}
function D() {}
function L() {
((this.q1w1_1 = new y(o(g), null)), (this.r1w1_1 = new y(o(k), null)));
((this.p1wc_1 = new y(o(m), null)), (this.q1wc_1 = new y(o(k), null)));
}
function B(t) {
var n = b;
return t.v1w1_1.i2c(
return t.u1wc_1.e2b(
t,
j(
q(
"protocol",
1,
n,
@@ -73,22 +73,22 @@
);
}
function U() {
(z.call(this),
(this.v1w1_1 = new y(o(g), null)),
(this.w1w1_1 = new y(o(k), null)),
(this.y1w1_1 = new $(163351191, 191355032)),
(this.z1w1_1 = new $(1488436371, 748816660)),
(this.b1w2_1 = new $(1862164506, 1779039460)),
(this.d1w2_1 = new $(705359222, 1904359626)),
(this.f1w2_1 = new $(54326167, 2104499555)),
this.faw(),
(this.h1w2_1 = this.y1w1_1));
(x.call(this),
(this.u1wc_1 = new y(o(m), null)),
(this.v1wc_1 = new y(o(k), null)),
(this.x1wc_1 = new $(163351191, 191355032)),
(this.y1wc_1 = new $(1488436371, 748816660)),
(this.a1wd_1 = new $(1862164506, 1779039460)),
(this.c1wd_1 = new $(705359222, 1904359626)),
(this.e1wd_1 = new $(54326167, 2104499555)),
this.taw(),
(this.g1wd_1 = this.x1wc_1));
}
function F(t) {
var n = b;
return t.m1w2_1.i2c(
return t.l1wd_1.e2b(
t,
j(
q(
"protocol",
1,
n,
@@ -100,7 +100,7 @@
);
}
function G() {
((this.m1w2_1 = new y(o(g), null)), (this.o1w2_1 = new $(1791645716, 423004956)));
((this.l1wd_1 = new y(o(m), null)), (this.n1wd_1 = new $(1791645716, 423004956)));
}
function H() {
return ((t = E(c(W))), W.call(t), t);
@@ -112,223 +112,223 @@
var t;
}
function K() {
this.l1w1_1 = 0;
this.k1wc_1 = 0;
}
function Y() {
return ((t = E(c(X))), X.call(t), t);
var t;
}
function X() {
this.p1w1_1 = new $(0, 0);
this.o1wc_1 = new $(0, 0);
}
(d(P, "", P),
d(O, "", O),
d(D, "", D),
d(L, "", L),
d(U, "", S, z),
d(G, ""),
d(W, "", H),
d(K, "", V),
d(X, "", Y),
(c(P).e7g = function (t) {
((this.e1w1_1 = t.b7f(new h(new _(o(X), !1), !1))),
(this.f1w1_1 = t.b7f(new h(new _(o(a), !1), !1))));
(p(P, "", P),
p(O, "", O),
p(D, "", D),
p(L, "", L),
p(U, "", S, x),
p(G, ""),
p(W, "", H),
p(K, "", V),
p(X, "", Y),
(c(P).q7g = function (t) {
((this.d1wc_1 = t.n7f(new a(new _(o(X), !1), !1))),
(this.e1wc_1 = t.n7f(new a(new _(o(h), !1), !1))));
}),
(c(P).d7g = function (t) {
(c(P).p7g = function (t) {
var n = H(),
i = n,
r = A(this).d7g(t);
i.g1w1_1 = null != r && v(r, l) ? r : f();
r = A(this).p7g(t);
i.f1wc_1 = null != r && v(r, f) ? r : l();
var e = n,
u = R(this).d7g(t);
return ((e.h1w1_1 = null != u && v(u, l) ? u : f()), n);
u = R(this).p7g(t);
return ((e.g1wc_1 = null != u && v(u, f) ? u : l()), n);
}),
(c(P).c7g = function (t, n) {
(c(P).o7g = function (t, n) {
if (null == n) throw w("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof W ? n : f();
(A(this).c7g(t, i.i1w1()), R(this).c7g(t, i.j1w1()));
var i = n instanceof W ? n : l();
(A(this).o7g(t, i.h1wc()), R(this).o7g(t, i.i1wc()));
}),
(c(O).e7g = function (t) {
this.k1w1_1 = t.b7f(new h(new _(o(m), !1), !1));
(c(O).q7g = function (t) {
this.j1wc_1 = t.n7f(new a(new _(o(d), !1), !1));
}),
(c(O).d7g = function (t) {
(c(O).p7g = function (t) {
var n = V();
n.l1w1_1 = t.o7f_1.i2u();
n.k1wc_1 = t.a7g_1.p2u();
var i = n,
r = N(this).d7g(t);
return ((i.m1w1_1 = null != r && v(r, l) ? r : f()), n);
r = N(this).p7g(t);
return ((i.l1wc_1 = null != r && v(r, f) ? r : l()), n);
}),
(c(O).c7g = function (t, n) {
(c(O).o7g = function (t, n) {
if (null == n) throw w("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof K ? n : f();
(t.o7f_1.d2u(i.l1w1_1), N(this).c7g(t, i.sic()));
var i = n instanceof K ? n : l();
(t.a7g_1.k2u(i.k1wc_1), N(this).o7g(t, i.rif()));
}),
(c(D).e7g = function (t) {
this.n1w1_1 = t.b7f(new _(p().mb(), !1));
(c(D).q7g = function (t) {
this.m1wc_1 = t.n7f(new _(g().mb(), !1));
}),
(c(D).d7g = function (t) {
(c(D).p7g = function (t) {
var n = Y(),
i = n,
r = M(this).d7g(t);
return ((i.o1w1_1 = null != r ? r : f()), (n.p1w1_1 = t.o7f_1.j2u()), n);
r = M(this).p7g(t);
return ((i.n1wc_1 = null != r ? r : l()), (n.o1wc_1 = t.a7g_1.q2u()), n);
}),
(c(D).c7g = function (t, n) {
(c(D).o7g = function (t, n) {
if (null == n) throw w("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof X ? n : f();
(M(this).c7g(t, i.p84()), t.o7f_1.p1s(i.p1w1_1));
var i = n instanceof X ? n : l();
(M(this).o7g(t, i.b85()), t.a7g_1.p1s(i.o1wc_1));
}),
(c(L).g80 = function () {
(c(L).s80 = function () {
var t = b;
return this.q1w1_1.i2c(
return this.p1wc_1.e2b(
this,
j(
q(
"protocol",
1,
t,
function (t) {
return t.g80();
return t.s80();
},
null,
),
);
}),
(c(L).iav = function () {
(c(L).wav = function () {
var t = b;
return this.r1w1_1.i2c(
return this.q1wc_1.e2b(
this,
j(
q(
"modelService",
1,
t,
function (t) {
return t.iav();
return t.wav();
},
null,
),
);
}),
(c(L).h80 = function () {
(c(L).t80 = function () {
var t;
(this.iav().v7m(new $(163351191, 191355032), new $(1488436371, 748816660)),
this.iav().v7m(new $(163351191, 191355032), new $(1862164506, 1779039460)),
this.iav().v7m(new $(163351191, 191355032), new $(705359222, 1904359626)),
this.iav().v7m(new $(163351191, 191355032), new $(54326167, 2104499555)),
(this.wav().h7n(new $(163351191, 191355032), new $(1488436371, 748816660)),
this.wav().h7n(new $(163351191, 191355032), new $(1862164506, 1779039460)),
this.wav().h7n(new $(163351191, 191355032), new $(705359222, 1904359626)),
this.wav().h7n(new $(163351191, 191355032), new $(54326167, 2104499555)),
(t = new P()),
this.g80().z7e(new _(o(W), !1), t),
this.g80().z7e(new _(o(W), !0), q(t)),
this.s80().l7f(new _(o(W), !1), t),
this.s80().l7f(new _(o(W), !0), j(t)),
(t = new O()),
this.g80().z7e(new _(o(K), !1), t),
this.g80().z7e(new _(o(K), !0), q(t)),
this.s80().l7f(new _(o(K), !1), t),
this.s80().l7f(new _(o(K), !0), j(t)),
(t = new D()),
this.g80().z7e(new _(o(X), !1), t),
this.g80().z7e(new _(o(X), !0), q(t)));
this.s80().l7f(new _(o(X), !1), t),
this.s80().l7f(new _(o(X), !0), j(t)));
}),
(c(U).gaw = function () {
var t = this.x1w1_1;
(c(U).uaw = function () {
var t = this.w1wc_1;
if (null != t) return t;
s("server");
}),
(c(U).faw = function () {
(c(U).taw = function () {
var t, n;
((this.x1w1_1 =
((this.w1wc_1 =
((t = this),
(n = E(c(G))),
G.call(n),
(n.q1w2_1 = t),
(n.n1w2_1 = C().s7i_1),
(n.p1w2_1 = F(n).b7f(new _(p().sb(), !1))),
(n.p1wd_1 = t),
(n.m1wd_1 = C().e7j_1),
(n.o1wd_1 = F(n).n7f(new _(g().sb(), !1))),
n)),
(this.a1w2_1 = B(this).b7f(new _(o(K), !1))),
(this.c1w2_1 = B(this).b7f(new _(o(W), !1))),
(this.e1w2_1 = B(this).b7f(new _(p().qb(), !1))),
(this.g1w2_1 = B(this).b7f(new h(new _(o(a), !1), !1))));
(this.z1wc_1 = B(this).n7f(new _(o(K), !1))),
(this.b1wd_1 = B(this).n7f(new _(o(W), !1))),
(this.d1wd_1 = B(this).n7f(new _(g().qb(), !1))),
(this.f1wd_1 = B(this).n7f(new a(new _(o(h), !1), !1))));
}),
(c(U).e7i = function (t, n) {
if (x(t, this.z1w1_1)) {
(c(U).q7i = function (t, n) {
if (z(t, this.y1wc_1)) {
var i = (function (t) {
var n = t.a1w2_1;
var n = t.z1wc_1;
if (null != n) return n;
s("_loadDependencies_dependenciesCodec");
})(this).d7g(n);
this.i1w2(i instanceof K ? i : f());
} else if (x(t, this.b1w2_1)) {
})(this).p7g(n);
this.h1wd(i instanceof K ? i : l());
} else if (z(t, this.a1wd_1)) {
var r = (function (t) {
var n = t.c1w2_1;
var n = t.b1wd_1;
if (null != n) return n;
s("_loadObjectsData_objectsDataCodec");
})(this).d7g(n);
this.j1w2(r instanceof W ? r : f());
} else if (x(t, this.d1w2_1)) {
})(this).p7g(n);
this.i1wd(r instanceof W ? r : l());
} else if (z(t, this.c1wd_1)) {
var e = (function (t) {
var n = t.e1w2_1;
var n = t.d1wd_1;
if (null != n) return n;
s("_setModelCommandAlias_aliasCodec");
})(this).d7g(n);
this.k1w2(null != e && "number" == typeof e ? e : f(), n.o7f_1.j2u(), n.o7f_1.j2u());
} else if (x(t, this.f1w2_1)) {
})(this).p7g(n);
this.j1wd(null != e && "number" == typeof e ? e : l(), n.a7g_1.q2u(), n.a7g_1.q2u());
} else if (z(t, this.e1wd_1)) {
var u = (function (t) {
var n = t.g1w2_1;
var n = t.f1wd_1;
if (null != n) return n;
s("_unloadObjects_objectsCodec");
})(this).d7g(n);
this.l1w2(null != u && v(u, l) ? u : f());
})(this).p7g(n);
this.k1wd(null != u && v(u, f) ? u : l());
}
}),
(c(U).c57 = function () {
return this.h1w2_1;
(c(U).p57 = function () {
return this.g1wd_1;
}),
(c(G).r1w2 = function (t) {
this.p1w2_1.c7g(this.n1w2_1, t);
var n = new T(C().u7i().c57(), this.o1w2_1, this.n1w2_1),
i = C().u7i().e7o();
(this.n1w2_1.n7f(), i.j7o().w7p(n), this.n1w2_1.d3());
(c(G).q1wd = function (t) {
this.o1wd_1.o7g(this.m1wd_1, t);
var n = new T(C().g7j().p57(), this.n1wd_1, this.m1wd_1),
i = C().g7j().q7o();
(this.m1wd_1.z7f(), i.v7o().i7q(n), this.m1wd_1.d3());
}),
(c(W).i1w1 = function () {
var t = this.g1w1_1;
(c(W).h1wc = function () {
var t = this.f1wc_1;
if (null != t) return t;
s("modelsData");
}),
(c(W).j1w1 = function () {
var t = this.h1w1_1;
(c(W).i1wc = function () {
var t = this.g1wc_1;
if (null != t) return t;
s("objects");
}),
(c(W).toString = function () {
var t = "ObjectsData [";
return (
(t = (t = t + "modelsData = " + I(this.i1w1()) + " ") + "objects = " + I(this.j1w1()) + " ") + "]"
(t = (t = t + "modelsData = " + I(this.h1wc()) + " ") + "objects = " + I(this.i1wc()) + " ") + "]"
);
}),
(c(K).sic = function () {
var t = this.m1w1_1;
(c(K).rif = function () {
var t = this.l1wc_1;
if (null != t) return t;
s("resources");
}),
(c(K).toString = function () {
var t = "ObjectsDependencies [";
return (
(t = (t = t + "callbackId = " + this.l1w1_1 + " ") + "resources = " + I(this.sic()) + " ") + "]"
(t = (t = t + "callbackId = " + this.k1wc_1 + " ") + "resources = " + I(this.rif()) + " ") + "]"
);
}),
(c(X).p84 = function () {
var t = this.o1w1_1;
(c(X).b85 = function () {
var t = this.n1wc_1;
if (null != t) return t;
s("data");
}),
(c(X).toString = function () {
var t = "ModelData [";
return (t = (t = t + "data = " + I(this.p84()) + " ") + "id = " + this.p1w1_1.toString() + " ") + "]";
return (t = (t = t + "data = " + I(this.b85()) + " ") + "id = " + this.o1wc_1.toString() + " ") + "]";
}),
(t.$_$ = t.$_$ || {}),
(t.$_$.a = H),
(t.$_$.b = function (t, n) {
return (function (t, n, i) {
return (K.call(i), (i.l1w1_1 = t), (i.m1w1_1 = n), i);
return (K.call(i), (i.k1wc_1 = t), (i.l1wc_1 = n), i);
})(t, n, E(c(K)));
}),
(t.$_$.c = function (t, n) {
return (function (t, n, i) {
return (X.call(i), (i.o1w1_1 = t), (i.p1w1_1 = n), i);
return (X.call(i), (i.n1wc_1 = t), (i.o1wc_1 = n), i);
})(t, n, E(c(X)));
}),
(t.$_$.d = L),
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -45,17 +45,17 @@
Object.defineProperty(t, r.key, r));
}
}
function h(t, n, i) {
function a(t, n, i) {
return (n && _(t.prototype, n), i && _(t, i), t);
}
function a(t, n) {
function h(t, n) {
return (
(a =
(h =
Object.setPrototypeOf ||
function (t, n) {
return ((t.__proto__ = n), t);
}),
a(t, n)
h(t, n)
);
}
function c(t) {
@@ -71,9 +71,9 @@
})();
return function () {
var i,
r = f(t);
r = l(t);
if (n) {
var e = f(this).constructor;
var e = l(this).constructor;
i = Reflect.construct(r, arguments, e);
} else i = r.apply(this, arguments);
return (function (t, n) {
@@ -87,17 +87,17 @@
})(this, i);
};
}
function f(t) {
function l(t) {
return (
(f = Object.setPrototypeOf
(l = Object.setPrototypeOf
? Object.getPrototypeOf
: function (t) {
return t.__proto__ || Object.getPrototypeOf(t);
}),
f(t)
l(t)
);
}
function l(t, n) {
function f(t, n) {
var i = Object.keys(t);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(t);
@@ -113,12 +113,12 @@
for (var n = 1; n < arguments.length; n++) {
var i = null != arguments[n] ? arguments[n] : {};
n % 2
? l(Object(i), !0).forEach(function (n) {
? f(Object(i), !0).forEach(function (n) {
w(t, n, i[n]);
})
: Object.getOwnPropertyDescriptors
? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i))
: l(Object(i)).forEach(function (n) {
: f(Object(i)).forEach(function (n) {
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(i, n));
});
}
@@ -147,21 +147,21 @@
}
return ((i.default = t), n && n.set(t, i), i);
})(i)));
var d = { x: "clientWidth", y: "clientHeight" },
m = { x: "clientTop", y: "clientLeft" },
p = { x: "innerWidth", y: "innerHeight" },
g = { x: "offsetWidth", y: "offsetHeight" },
var p = { x: "clientWidth", y: "clientHeight" },
d = { x: "clientTop", y: "clientLeft" },
g = { x: "innerWidth", y: "innerHeight" },
m = { x: "offsetWidth", y: "offsetHeight" },
y = { x: "offsetLeft", y: "offsetTop" },
k = { x: "overflowX", y: "overflowY" },
b = { x: "scrollWidth", y: "scrollHeight" },
j = { x: "scrollLeft", y: "scrollTop" },
q = { x: "scrollLeft", y: "scrollTop" },
$ = { x: "width", y: "height" },
q = function () {},
z = !!(function () {
j = function () {},
x = !!(function () {
if ("undefined" == typeof window) return !1;
var t = !1;
try {
document.createElement("div").addEventListener("test", q, {
document.createElement("div").addEventListener("test", j, {
get passive() {
return ((t = !0), !1);
},
@@ -169,7 +169,7 @@
} catch (t) {}
return t;
})() && { passive: !0 },
x = function (t, n) {
z = function (t, n) {
var i = t.length,
r = t.minSize,
e = t.type,
@@ -193,7 +193,7 @@
((t.prototype = Object.create(n && n.prototype, {
constructor: { value: t, writable: !0, configurable: !0 },
})),
n && a(t, n));
n && h(t, n));
})(r, t);
var n = c(r);
function r(t) {
@@ -202,7 +202,7 @@
(function (t, n) {
if (!(t instanceof n)) throw new TypeError("Cannot call a class as a function");
})(this, r),
((i = n.call(this, t)).state = x(t, { itemsPerRow: 1, from: t.initialIndex, size: 0 })),
((i = n.call(this, t)).state = z(t, { itemsPerRow: 1, from: t.initialIndex, size: 0 })),
(i.cache = {}),
(i.cachedScrollPosition = null),
(i.prevPrevState = {}),
@@ -212,16 +212,16 @@
);
}
return (
h(r, null, [
a(r, null, [
{
key: "getDerivedStateFromProps",
value: function (t, n) {
var i = x(t, n);
var i = z(t, n);
return i === n ? null : i;
},
},
]),
h(r, [
a(r, [
{
key: "componentDidMount",
value: function () {
@@ -265,15 +265,15 @@
key: "componentWillUnmount",
value: function () {
(window.removeEventListener("resize", this.updateFrameAndClearCache),
this.scrollParent.removeEventListener("scroll", this.updateFrameAndClearCache, z),
this.scrollParent.removeEventListener("mousewheel", q, z));
this.scrollParent.removeEventListener("scroll", this.updateFrameAndClearCache, x),
this.scrollParent.removeEventListener("mousewheel", j, x));
},
},
{
key: "getOffset",
value: function (t) {
var n = this.props.axis,
i = t[m[n]] || 0,
i = t[d[n]] || 0,
r = y[n];
do {
i += t[r] || 0;
@@ -293,7 +293,7 @@
if ("number" == typeof this.cachedScrollPosition) return this.cachedScrollPosition;
var t = this.scrollParent,
n = this.props.axis,
i = j[n],
i = q[n],
r = t === window ? document.body[i] || document.documentElement[i] : t[i],
e = this.getScrollSize() - this.props.scrollParentViewportSizeGetter(this),
u = Math.max(0, Math.min(r, e)),
@@ -310,7 +310,7 @@
var n = this.scrollParent,
i = this.props.axis;
if (((t += this.getOffset(this.getEl())), n === window)) return window.scrollTo(0, t);
((t -= this.getOffset(this.scrollParent)), (n[j[i]] = t));
((t -= this.getOffset(this.scrollParent)), (n[q[i]] = t));
},
},
{
@@ -359,10 +359,10 @@
var s = this.items.children;
if (!s.length) return {};
var o = s[0],
_ = o[g[n]],
h = Math.abs(_ - e);
if (((isNaN(h) || h >= 1) && (e = _), !e)) return {};
for (var a = y[n], c = o[a], f = s[(u = 1)]; f && f[a] === c; f = s[u]) ++u;
_ = o[m[n]],
a = Math.abs(_ - e);
if (((isNaN(a) || a >= 1) && (e = _), !e)) return {};
for (var h = y[n], c = o[h], l = s[(u = 1)]; l && l[h] === c; l = s[u]) ++u;
return { itemSize: e, itemsPerRow: u };
},
},
@@ -381,7 +381,7 @@
{
key: "updateFrame",
value: function (t) {
switch ((this.updateScrollParent(), "function" != typeof t && (t = q), this.props.type)) {
switch ((this.updateScrollParent(), "function" != typeof t && (t = j), this.props.type)) {
case "simple":
return this.updateSimpleFrame(t);
case "variable":
@@ -399,10 +399,10 @@
t !== this.scrollParent &&
(t &&
(t.removeEventListener("scroll", this.updateFrameAndClearCache),
t.removeEventListener("mousewheel", q)),
t.removeEventListener("mousewheel", j)),
this.clearSizeCache(),
this.scrollParent.addEventListener("scroll", this.updateFrameAndClearCache, z),
this.scrollParent.addEventListener("mousewheel", q, z)));
this.scrollParent.addEventListener("scroll", this.updateFrameAndClearCache, x),
this.scrollParent.addEventListener("mousewheel", j, x)));
},
},
{
@@ -415,14 +415,14 @@
var e = this.props.axis,
u = i[0],
s = i[i.length - 1];
r = this.getOffset(s) + s[g[e]] - this.getOffset(u);
r = this.getOffset(s) + s[m[e]] - this.getOffset(u);
}
if (r > n) return t();
var o = this.props,
_ = o.pageSize,
h = o.length,
a = Math.min(this.state.size + _, h);
this.maybeSetState({ size: a }, t);
a = o.length,
h = Math.min(this.state.size + _, a);
this.maybeSetState({ size: h }, t);
},
},
{
@@ -438,23 +438,23 @@
s = e.pageSize,
o = 0,
_ = 0,
h = 0,
a = u - 1;
_ < a;
a = 0,
h = u - 1;
_ < h;
) {
var c = this.getSizeOfItem(_);
if (null == c || o + c > i) break;
((o += c), ++_);
}
for (var f = u - _; h < f && o < r;) {
var l = this.getSizeOfItem(_ + h);
if (null == l) {
h = Math.min(h + s, f);
for (var l = u - _; a < l && o < r;) {
var f = this.getSizeOfItem(_ + a);
if (null == f) {
a = Math.min(a + s, l);
break;
}
((o += l), ++h);
((o += f), ++a);
}
this.maybeSetState(x(this.props, { from: _, itemsPerRow: 1, size: h }), t);
this.maybeSetState(z(this.props, { from: _, itemsPerRow: 1, size: a }), t);
},
},
{
@@ -467,14 +467,14 @@
var e = this.getStartAndEnd(),
u = e.start,
s = e.end,
o = x(this.props, {
o = z(this.props, {
from: Math.floor(u / i) * r,
size: (Math.ceil((s - u) / i) + 1) * r,
itemsPerRow: r,
}),
_ = o.from,
h = o.size;
return this.maybeSetState({ itemsPerRow: r, from: _, itemSize: i, size: h }, t);
a = o.size;
return this.maybeSetState({ itemsPerRow: r, from: _, itemSize: i, size: a }, t);
},
},
{
@@ -503,7 +503,7 @@
var t = this.cache,
n = this.state.from,
i = this.items.children,
r = g[this.props.axis],
r = m[this.props.axis],
e = 0,
u = i.length;
e < u;
@@ -523,15 +523,15 @@
s = r.itemSizeEstimator,
o = r.type,
_ = this.state,
h = _.from,
a = _.itemSize,
a = _.from,
h = _.itemSize,
c = _.size;
if (a) return a;
if (h) return h;
if (u) return u(t);
if (t in n) return n[t];
if ("simple" === o && t >= h && t < h + c && i) {
var f = i.children[t - h];
if (f) return f[g[e]];
if ("simple" === o && t >= a && t < a + c && i) {
var l = i.children[t - a];
if (l) return l[m[e]];
}
return s ? s(t, n) : void 0;
},
@@ -566,13 +566,13 @@
s = u.start,
o = u.end,
_ = {},
h = r;
h < r + e;
++h
a = r;
a < r + e;
++a
) {
var a = this.getSpaceBefore(h, _),
c = a + this.getSizeOfItem(h);
(null == t && c > s && (t = h), null != t && a < o && (n = h));
var h = this.getSpaceBefore(a, _),
c = h + this.getSizeOfItem(a);
(null == t && c > s && (t = a), null != t && h < o && (n = a));
}
return [t, n];
},
@@ -610,21 +610,21 @@
s = n.useTranslate3d,
o = this.state,
_ = o.from,
h = o.itemsPerRow,
a = this.renderItems();
if ("simple" === u) return a;
a = o.itemsPerRow,
h = this.renderItems();
if ("simple" === u) return h;
var c = { position: "relative" },
f = {},
l = Math.ceil(e / h) * h,
v = this.getSpaceBefore(l, f);
l = {},
f = Math.ceil(e / a) * a,
v = this.getSpaceBefore(f, l);
v && ((c[$[r]] = v), "x" === r && (c.overflowX = "hidden"));
var w = this.getSpaceBefore(_, f),
d = "x" === r ? w : 0,
m = "y" === r ? w : 0,
p = s
? "translate3d(".concat(d, "px, ").concat(m, "px, 0)")
: "translate(".concat(d, "px, ").concat(m, "px)"),
g = { msTransform: p, WebkitTransform: p, transform: p };
var w = this.getSpaceBefore(_, l),
p = "x" === r ? w : 0,
d = "y" === r ? w : 0,
g = s
? "translate3d(".concat(p, "px, ").concat(d, "px, 0)")
: "translate(".concat(p, "px, ").concat(d, "px)"),
m = { msTransform: g, WebkitTransform: g, transform: g };
return i.default.createElement(
"div",
{
@@ -633,7 +633,7 @@
return (t.el = n);
},
},
i.default.createElement("div", { style: g }, a),
i.default.createElement("div", { style: m }, h),
);
},
},
@@ -683,7 +683,7 @@
scrollParentViewportSizeGetter: function (t) {
var n = t.props.axis,
i = t.scrollParent;
return i === window ? window[p[n]] : i[d[n]];
return i === window ? window[g[n]] : i[p[n]];
},
threshold: 100,
type: "simple",
+340 -305
View File
@@ -8,438 +8,473 @@
s,
o,
_,
h,
a,
h,
c,
f,
l,
v = n.$_$.ge,
w = n.$_$.kd,
d = n.$_$.c,
m = i.$_$.f,
p = i.$_$.l,
g = n.$_$.h5,
y = n.$_$.fd,
k = i.$_$.k,
b = i.$_$.m,
j = r.$_$.a,
$ = n.$_$.wc,
q = n.$_$.xk,
z = e.$_$.p3,
x = e.$_$.q3,
S = e.$_$.s,
C = n.$_$.mf,
E = e.$_$.w1,
T = n.$_$.mk,
I = e.$_$.u2,
A = e.$_$.i9,
R = e.$_$.d9,
P = n.$_$.l8,
N = e.$_$.x8,
O = e.$_$.q7,
M = n.$_$.id,
D = r.$_$.n,
L = e.$_$.h4,
B = n.$_$.v,
U = n.$_$.sc,
F = n.$_$.tk,
G = i.$_$.i,
H = i.$_$.h,
W = i.$_$.d,
V = i.$_$.g,
K = n.$_$.yk,
Y = n.$_$.xd,
X = n.$_$.jb,
J = n.$_$.vj,
Z = r.$_$.g,
Q = n.$_$.td,
tt = n.$_$.jd,
nt = i.$_$.c;
function it() {
return !0;
}
function rt() {
((u = this), dt.call(this, "client_js_start", !0));
}
function et() {
((s = this), dt.call(this, "log_in", !0));
}
function ut() {
((o = this), dt.call(this, "log_out", !0));
}
f,
v,
w,
p,
d = n.$_$.h5,
g = i.$_$.f,
m = i.$_$.l,
y = n.$_$.ge,
k = n.$_$.kd,
b = n.$_$.c,
q = n.$_$.lj,
$ = n.$_$.fd,
j = i.$_$.k,
x = i.$_$.m,
z = n.$_$.gd,
S = r.$_$.a,
C = n.$_$.wc,
E = n.$_$.xk,
T = e.$_$.p3,
I = e.$_$.q3,
A = e.$_$.s,
R = n.$_$.mf,
P = e.$_$.w1,
N = n.$_$.mk,
O = e.$_$.u2,
M = e.$_$.j9,
D = e.$_$.e9,
L = n.$_$.l8,
B = e.$_$.y8,
U = e.$_$.q7,
F = n.$_$.id,
G = r.$_$.o,
H = n.$_$.v,
W = n.$_$.sc,
V = n.$_$.tk,
K = i.$_$.i,
Y = i.$_$.h,
X = i.$_$.d,
J = i.$_$.g,
Z = n.$_$.yk,
Q = n.$_$.xd,
tt = n.$_$.jb,
nt = n.$_$.vj,
it = r.$_$.h,
rt = n.$_$.td,
et = n.$_$.jd,
ut = i.$_$.c;
function st() {
((_ = this), dt.call(this, "registration_complete", !0));
if (o) return d;
((o = !0), (u = new ft("QUEST", 0, "quest")), (s = new ft("SHOP_ITEM", 1, "shop_item")));
}
function ot() {
((h = this), dt.call(this, "battle_start", !0));
function ot(t, n, i) {
var r = new g();
return (m(r, "reward_type", n.tor_1), m(r, "reward_id", i.toString()), r.z1p());
}
function _t(t, n) {
var i = new m();
(p(i, "old", t), p(i, "new", n));
var r = i.z1p();
dt.call(this, "entrance_set_language", !0, r);
function _t() {
((_ = this), jt.call(this, "client_js_start", !0));
}
function ht(t, n) {
n = n === d ? null : n;
var i = new m();
(p(i, "action", t), null == n || k(i, "item_id", n));
var r = i.z1p();
dt.call(this, "tutorial_tank_builder", d, r);
function at() {
((a = this), jt.call(this, "log_in", !0));
}
function at(t, n) {
n = n === d ? null : n;
var i = new m();
(p(i, "stage", t), null == n || p(i, "substage", n));
var r = i.z1p();
dt.call(this, "tutorial_battle", d, r);
function ht() {
((h = this), jt.call(this, "log_out", !0));
}
function ct(t) {
var n = new m();
k(n, "quest_id", t);
var i = n.z1p();
dt.call(this, "quest_reward_get", d, i);
function ct() {
((c = this), jt.call(this, "registration_complete", !0));
}
function ft(t, n, i, r, e, u) {
u = u === d || u;
var s = new m();
p(s, "transaction_id", e);
var o = new m();
(p(o, "id", i.toString()), p(o, "category", r));
var _ = o.z1p();
s.h1r("product", _);
var h = new m();
(p(h, "name", t), p(h, "amount", n.toString()));
var a = h.z1p();
s.h1r("currency", a);
var c = s.z1p();
(dt.call(this, "purchase", u, c),
(this.woo_1 = t),
(this.xoo_1 = n),
(this.yoo_1 = i),
(this.zoo_1 = r),
(this.aop_1 = e));
function lt() {
((l = this), jt.call(this, "battle_start", !0));
}
function lt(t, n, i, r) {
r = r !== d && r;
var e = new m(),
u = new m();
p(u, "id", i.toString());
var s = u.z1p();
e.h1r("product", s);
var o = new m();
(p(o, "name", t.j3_1), p(o, "amount", n.toString()));
var _ = o.z1p();
e.h1r("currency", _);
var h = e.z1p();
(dt.call(this, "virtual_purchase", r, h), (this.eop_1 = t), (this.fop_1 = n), (this.gop_1 = i));
function ft(t, n, i) {
(q.call(this, t, n), (this.tor_1 = i));
}
function vt(t, n) {
n = n !== d && n;
var i = new m();
p(i, "screen", t);
jt.call(this, "rewarded_video_start", b, ot(0, t, n));
}
function wt(t, n) {
jt.call(this, "rewarded_video_reward", b, ot(0, t, n));
}
function pt(t, n) {
var i = new g();
(m(i, "old", t), m(i, "new", n));
var r = i.z1p();
(dt.call(this, "screen_show", n, r), (this.kop_1 = t));
jt.call(this, "entrance_set_language", !0, r);
}
function wt(t, n, i, r) {
((i = i === d ? null : i), (r = r !== d && r));
var e = new m();
(p(e, "screen", n), p(e, "button", t), null == i || b(e, "active", i));
function dt(t, n) {
n = n === b ? null : n;
var i = new g();
(m(i, "action", t), null == n || j(i, "item_id", n));
var r = i.z1p();
jt.call(this, "tutorial_tank_builder", b, r);
}
function gt(t, n) {
n = n === b ? null : n;
var i = new g();
(m(i, "stage", t), null == n || m(i, "substage", n));
var r = i.z1p();
jt.call(this, "tutorial_battle", b, r);
}
function mt(t) {
var n = new g();
j(n, "quest_id", t);
var i = n.z1p();
jt.call(this, "quest_reward_get", b, i);
}
function yt(t, n, i, r, e, u) {
u = u === b || u;
var s = new g();
m(s, "transaction_id", e);
var o = new g();
(m(o, "id", i.toString()), m(o, "category", r));
var _ = o.z1p();
s.h1r("product", _);
var a = new g();
(m(a, "name", t), m(a, "amount", n.toString()));
var h = a.z1p();
s.h1r("currency", h);
var c = s.z1p();
(jt.call(this, "purchase", u, c),
(this.cos_1 = t),
(this.dos_1 = n),
(this.eos_1 = i),
(this.fos_1 = r),
(this.gos_1 = e));
}
function kt(t, n, i, r) {
r = r !== b && r;
var e = new g(),
u = new g();
m(u, "id", i.toString());
var s = u.z1p();
e.h1r("product", s);
var o = new g();
(m(o, "name", t.j3_1), m(o, "amount", n.toString()));
var _ = o.z1p();
e.h1r("currency", _);
var a = e.z1p();
(jt.call(this, "virtual_purchase", r, a), (this.kos_1 = t), (this.los_1 = n), (this.mos_1 = i));
}
function bt(t, n) {
n = n !== b && n;
var i = new g();
m(i, "screen", t);
var r = i.z1p();
(jt.call(this, "screen_show", n, r), (this.qos_1 = t));
}
function qt(t, n, i, r) {
((i = i === b ? null : i), (r = r !== b && r));
var e = new g();
(m(e, "screen", n), m(e, "button", t), null == i || x(e, "active", i));
var u = e.z1p();
(dt.call(this, "button_click", r, u), (this.oop_1 = t), (this.pop_1 = n));
(jt.call(this, "button_click", r, u), (this.uos_1 = t), (this.vos_1 = n));
}
function dt(t, n, i) {
((n = n !== d && n), (i = i === d ? null : i), (this.ooo_1 = t), (this.poo_1 = n), (this.qoo_1 = i));
function $t() {}
function jt(t, n, i) {
((n = n !== b && n), (i = i === b ? null : i), (this.uor_1 = t), (this.vor_1 = n), (this.wor_1 = i));
}
function mt() {
((a = this),
(this.qop_1 = P([l, c, f])),
(this.rop_1 = null),
(this.sop_1 = null),
(this.top_1 = I()),
(this.uop_1 = N(1)),
(this.vop_1 = null));
function xt() {
((f = this),
(this.wos_1 = L([p, v, w])),
(this.xos_1 = null),
(this.yos_1 = null),
(this.zos_1 = O()),
(this.aot_1 = B(1)),
(this.bot_1 = null));
}
function pt() {}
function gt() {}
function yt(t) {
if (L()) return null;
function zt() {}
function St() {}
function Ct(t) {
var n = window.gtag;
return "function" == typeof n ? n : null;
}
function kt(t, n, i) {
for (var r = B(), e = n.u1().t(); e.u();) {
function Et(t, n, i) {
for (var r = H(), e = n.u1().t(); e.u();) {
var u = e.v(),
s = u.v2(),
o = u.w2(),
_ = 0 === U(i) ? s : i + "_" + s;
if (o instanceof V)
_ = 0 === W(i) ? s : i + "_" + s;
if (o instanceof J)
if (o.r()) {
var h = H("{}");
r.g3(_, h);
} else r.i3(kt(t, o, _));
else if (o instanceof W) {
var a = H(o.toString());
var a = Y("{}");
r.g3(_, a);
} else o instanceof G ? r.g3(_, o) : F();
} else r.i3(Et(t, o, _));
else if (o instanceof X) {
var h = Y(o.toString());
r.g3(_, h);
} else o instanceof K ? r.g3(_, o) : V();
}
return new V(r);
return new J(r);
}
function bt() {
this.zop_1 = "app";
function Tt() {
this.fot_1 = "app";
}
function jt(t, n) {
((this.ioq_1 = t), X.call(this, n));
function It(t, n) {
((this.oot_1 = t), tt.call(this, n));
}
function $t(t, n) {
((this.uoq_1 = t), X.call(this, n));
function At(t, n) {
((this.aou_1 = t), tt.call(this, n));
}
function qt() {}
function zt() {}
(y(dt, "", d, d, [x]),
w(rt, "", d, dt),
w(et, "", d, dt),
w(ut, "", d, dt),
w(st, "", d, dt),
w(ot, "", d, dt),
y(_t, "", d, dt),
y(ht, "", d, dt),
y(at, "", d, dt),
y(ct, "", d, dt),
y(ft, "", d, dt),
y(lt, "", d, dt),
y(vt, "", d, dt),
y(wt, "", d, dt),
w(mt, ""),
M(pt, ""),
M(gt, "", d, d, [pt]),
w(bt, "", d, d, [pt]),
tt(jt, X, d, [1]),
tt($t, X, d, [1]),
w(qt, "", d, d, [gt]),
w(zt, "", d, d, [pt]),
(v(dt).m = function () {
return this.ooo_1;
function Rt() {}
function Pt() {}
($(jt, "", b, b, [I]),
k(_t, "", b, jt),
k(at, "", b, jt),
k(ht, "", b, jt),
k(ct, "", b, jt),
k(lt, "", b, jt),
$(ft, "", b, q),
$(vt, "", b, jt),
$(wt, "", b, jt),
$(pt, "", b, jt),
$(dt, "", b, jt),
$(gt, "", b, jt),
$(mt, "", b, jt),
$(yt, "", b, jt),
$(kt, "", b, jt),
$(bt, "", b, jt),
$(qt, "", b, jt),
z($t),
k(xt, ""),
F(zt, ""),
F(St, "", b, b, [zt]),
k(Tt, "", b, b, [zt]),
et(It, tt, b, [1]),
et(At, tt, b, [1]),
k(Rt, "", b, b, [St]),
k(Pt, "", b, b, [zt]),
(y(jt).m = function () {
return this.uor_1;
}),
(v(dt).k2a = function () {
return this.qoo_1;
(y(jt).l2a = function () {
return this.wor_1;
}),
(v(dt).roo = function () {
return new j(this.m(), this.k2a(), this.poo_1);
(y(jt).xor = function () {
return new S(this.m(), this.l2a(), this.vor_1);
}),
(v(dt).soo = function (t) {
return this === t || (this.m() === t.m() && $(this.k2a(), t.k2a()));
(y(jt).yor = function (t) {
return this === t || (this.m() === t.m() && C(this.l2a(), t.l2a()));
}),
(v(dt).toString = function () {
return "AnalyticsEvent(name='" + this.m() + "', params=" + q(this.k2a()) + ")";
(y(jt).toString = function () {
return "AnalyticsEvent(name='" + this.m() + "', params=" + E(this.l2a()) + ")";
}),
(v(mt).goo = function (t) {
if (t != this.vop_1) {
this.vop_1 = t;
for (var n = this.qop_1.t(); n.u();) {
(y(xt).jor = function (t) {
if (t != this.bot_1) {
this.bot_1 = t;
for (var n = this.wos_1.t(); n.u();) {
var i = n.v();
i.wop() && i.goo(t);
i.cot() && i.jor(t);
}
null != t ? this.xop((null == s && new et(), s)) : this.xop((null == o && new ut(), o));
null != t ? this.dot((null == a && new at(), a)) : this.dot((null == h && new ht(), h));
}
}),
(v(mt).xop = function (t) {
(y(xt).dot = function (t) {
if (
!(function (t, n) {
var i = t.sop_1;
return null == i || !i.soo(n) || R(A(I(), t.top_1), t.uop_1) > 0;
var i = t.yos_1;
return null == i || !i.yor(n) || D(M(O(), t.zos_1), t.aot_1) > 0;
})(this, t)
)
return g;
return d;
var n = (function (t) {
var n,
i = t.rop_1;
return (null == i ? ((t.rop_1 = E(C(S), null)), (n = T(t.rop_1))) : (n = i), n);
i = t.xos_1;
return (null == i ? ((t.xos_1 = P(R(A), null)), (n = N(t.xos_1))) : (n = i), n);
})(this),
i = O(),
i = U(),
r = t.m(),
e = t.k2a(),
e = t.l2a(),
u = null == e ? null : e.toString();
n.z2j(i, r, null == u ? "" : u);
for (var s = this.qop_1.t(); s.u();) {
n.g2k(i, r, null == u ? "" : u);
for (var s = this.wos_1.t(); s.u();) {
var o = s.v();
o.wop() && o.xop(t);
o.cot() && o.dot(t);
}
((this.sop_1 = t), (this.top_1 = I()));
((this.yos_1 = t), (this.zos_1 = O()));
}),
(v(mt).yop = function (t) {
for (var n = this.qop_1.t(); n.u();) {
(y(xt).eot = function (t) {
for (var n = this.wos_1.t(); n.u();) {
var i = n.v();
i.wop() && i.yop(t);
i.cot() && i.eot(t);
}
}),
(v(bt).goo = function (t) {
var n = yt();
if (null == n) return g;
n("set", Y([K("user_id", t)]));
(y(Tt).cot = function () {
return 1 == window.analytics.ga.enabled;
}),
(v(bt).xop = function (t) {
var n = yt();
if (null == n) return g;
(y(Tt).jor = function (t) {
var n = Ct();
if (null == n) return d;
n("set", Q([Z("user_id", t)]));
}),
(y(Tt).dot = function (t) {
var n = Ct();
if (null == n) return d;
var i = n,
r = t.k2a();
r = t.l2a();
if (null != r) {
var e = kt(this, r, "app"),
var e = Et(this, r, "app"),
u = JSON.parse(e.toString());
(t instanceof ft &&
((u.transaction_id = t.aop_1),
(u.currency = t.woo_1),
(u.value = t.xoo_1),
(t instanceof yt &&
((u.transaction_id = t.gos_1),
(u.currency = t.cos_1),
(u.value = t.dos_1),
(u.items = [
Y([
K("item_id", t.yoo_1.toString()),
K("item_category", t.zoo_1),
K("price", t.xoo_1),
K("quantity", 1),
Q([
Z("item_id", t.eos_1.toString()),
Z("item_category", t.fos_1),
Z("price", t.dos_1),
Z("quantity", 1),
]),
])),
i("event", t.m(), u));
} else i("event", t.m());
}),
(v(bt).yop = function (t) {
var n = yt();
if (null == n) return g;
(y(Tt).eot = function (t) {
var n = Ct();
if (null == n) return d;
var i,
r = n,
e = kt(this, t, (i = i === d ? "" : i));
e = Et(this, t, (i = i === b ? "" : i));
r("set", "user_properties", JSON.parse(e.toString()));
}),
(v(jt).koq = function (t, n) {
var i = this.loq(t, n);
return ((i.l9_1 = g), (i.m9_1 = null), i.r9());
(y(It).qot = function (t, n) {
var i = this.rot(t, n);
return ((i.l9_1 = d), (i.m9_1 = null), i.r9());
}),
(v(jt).ea = function (t, n) {
return this.koq(null != t && Q(t, Z) ? t : J(), n);
(y(It).ea = function (t, n) {
return this.qot(null != t && rt(t, it) ? t : nt(), n);
}),
(v(jt).r9 = function () {
(y(It).r9 = function () {
for (this.l9_1; ;)
try {
var t = this.j9_1;
if (0 === t) return ((this.k9_1 = 1), this.joq_1.moh().setUser(this.ioq_1), g);
if (0 === t) return ((this.k9_1 = 1), this.pot_1.nok().setUser(this.oot_1), d);
if (1 === t) throw this.m9_1;
} catch (t) {
throw t;
}
}),
(v(jt).loq = function (t, n) {
var i = new jt(this.ioq_1, n);
return ((i.joq_1 = t), i);
(y(It).rot = function (t, n) {
var i = new It(this.oot_1, n);
return ((i.pot_1 = t), i);
}),
(v($t).koq = function (t, n) {
var i = this.loq(t, n);
return ((i.l9_1 = g), (i.m9_1 = null), i.r9());
(y(At).qot = function (t, n) {
var i = this.rot(t, n);
return ((i.l9_1 = d), (i.m9_1 = null), i.r9());
}),
(v($t).ea = function (t, n) {
return this.koq(null != t && Q(t, Z) ? t : J(), n);
(y(At).ea = function (t, n) {
return this.qot(null != t && rt(t, it) ? t : nt(), n);
}),
(v($t).r9 = function () {
(y(At).r9 = function () {
for (this.l9_1; ;)
try {
var t = this.j9_1;
if (0 === t) return ((this.k9_1 = 1), this.voq_1.moh().sendAnalyticsEvent(this.uoq_1.roo()), g);
if (0 === t) return ((this.k9_1 = 1), this.bou_1.nok().sendAnalyticsEvent(this.aou_1.xor()), d);
if (1 === t) throw this.m9_1;
} catch (t) {
throw t;
}
}),
(v($t).loq = function (t, n) {
var i = new $t(this.uoq_1, n);
return ((i.voq_1 = t), i);
(y(At).rot = function (t, n) {
var i = new At(this.aou_1, n);
return ((i.bou_1 = t), i);
}),
(v(qt).goo = function (t) {
(y(Rt).jor = function (t) {
var n, i;
D().rol(
((n = new jt(t, null)),
G().too(
((n = new It(t, null)),
((i = function (t, i) {
return n.koq(t, i);
return n.qot(t, i);
}).$arity = 1),
i),
);
}),
(v(qt).xop = function (t) {
(y(Rt).dot = function (t) {
var n, i;
D().rol(
((n = new $t(t, null)),
G().too(
((n = new At(t, null)),
((i = function (t, i) {
return n.koq(t, i);
return n.qot(t, i);
}).$arity = 1),
i),
);
}),
(v(qt).yop = function (t) {
return g;
(y(Rt).eot = function (t) {
return d;
}),
(v(zt).goo = function (t) {
(y(Pt).cot = function () {
return 1 == window.analytics.yametrica.enabled;
}),
(y(Pt).jor = function (t) {
window.ymSetUserID(t);
}),
(v(zt).xop = function (t) {
(y(Pt).dot = function (t) {
var n;
((n = t.l2a()),
((n = t.m2a()),
window.ymReachGoal(n),
t instanceof ft &&
t instanceof yt &&
(function (t, n) {
window.ymDataLayer.push(JSON.parse(n.toString()));
})(
0,
(function (t, n, i, r, e, u) {
var s = new m(),
o = new m();
p(o, "currencyCode", r);
var _ = new m(),
h = new m();
p(h, "id", n);
var a = h.z1p();
_.h1r("actionField", a);
var c = new nt(),
f = new m();
(p(f, "id", i), k(f, "price", e), p(f, "category", u));
var l = f.z1p();
c.j1r(l);
var s = new g(),
o = new g();
m(o, "currencyCode", r);
var _ = new g(),
a = new g();
m(a, "id", n);
var h = a.z1p();
_.h1r("actionField", h);
var c = new ut(),
l = new g();
(m(l, "id", i), j(l, "price", e), m(l, "category", u));
var f = l.z1p();
c.j1r(f);
var v = c.z1p();
_.h1r("products", v);
var w = _.z1p();
o.h1r("purchase", w);
var d = o.z1p();
return (s.h1r("ecommerce", d), s.z1p());
})(0, t.aop_1, t.yoo_1.toString(), t.woo_1, t.xoo_1, t.zoo_1),
var p = o.z1p();
return (s.h1r("ecommerce", p), s.z1p());
})(0, t.gos_1, t.eos_1.toString(), t.cos_1, t.dos_1, t.fos_1),
));
}),
(v(zt).yop = function (t) {
(y(Pt).eot = function (t) {
window.ymParams(JSON.parse(t.toString()));
}),
(v(dt).l2a = z),
(v(bt).wop = it),
(v(qt).wop = function () {
return D().lol();
(y(jt).m2a = T),
(y(Rt).cot = function () {
return G().noo();
}),
(v(zt).wop = it),
(c = new bt()),
(f = new qt()),
(l = new zt()),
new $t(),
(v = new Tt()),
(w = new Rt()),
(p = new Pt()),
(t.$_$ = t.$_$ || {}),
(t.$_$.a = wt),
(t.$_$.b = _t),
(t.$_$.c = ct),
(t.$_$.d = lt),
(t.$_$.e = ft),
(t.$_$.f = vt),
(t.$_$.g = at),
(t.$_$.h = ht),
(t.$_$.i = function () {
return (null == h && new ot(), h);
}),
(t.$_$.j = function () {
return (null == u && new rt(), u);
}),
(t.$_$.a = qt),
(t.$_$.b = pt),
(t.$_$.c = mt),
(t.$_$.d = kt),
(t.$_$.e = yt),
(t.$_$.f = wt),
(t.$_$.g = vt),
(t.$_$.h = bt),
(t.$_$.i = gt),
(t.$_$.j = dt),
(t.$_$.k = function () {
return (null == _ && new st(), _);
return (st(), u);
}),
(t.$_$.l = function () {
return (null == a && new mt(), a);
return (st(), s);
}),
(t.$_$.m = function () {
return (null == l && new lt(), l);
}),
(t.$_$.n = function () {
return (null == _ && new _t(), _);
}),
(t.$_$.o = function () {
return (null == c && new ct(), c);
}),
(t.$_$.p = function () {
return (null == f && new xt(), f);
}));
})(t.exports, i(37036), i(61430), i(97675), i(52943));
};
@@ -4,15 +4,15 @@
;(window.__modules__ = window.__modules__ || {})[44740] = (t, n, i) => {
"use strict";
i.d(n, {
$N: () => f,
$N: () => l,
$X: () => _,
Dl: () => o,
FA: () => v,
M6: () => c,
VZ: () => u,
eJ: () => s,
gO: () => a,
pq: () => h,
gO: () => h,
pq: () => a,
});
var r = i(55920),
e = {};
@@ -52,7 +52,7 @@
}
return t.event_id || "<unknown>";
}
function h(t) {
function a(t) {
var n = u();
if (!("console" in n)) return t();
var i = n.console,
@@ -68,7 +68,7 @@
e
);
}
function a(t, n, i) {
function h(t, n, i) {
((t.exception = t.exception || {}),
(t.exception.values = t.exception.values || []),
(t.exception.values[0] = t.exception.values[0] || {}),
@@ -84,19 +84,19 @@
}));
} catch (t) {}
}
function f() {
function l() {
try {
return document.location.href;
} catch (t) {
return "";
}
}
var l = 6e4;
var f = 6e4;
function v(t, n) {
if (!n) return l;
if (!n) return f;
var i = parseInt("" + n, 10);
if (!isNaN(i)) return 1e3 * i;
var r = Date.parse("" + n);
return isNaN(r) ? l : r - t;
return isNaN(r) ? f : r - t;
}
};
File diff suppressed because it is too large. Load diff
+189 -189
View File
@@ -6,25 +6,25 @@
"use strict";
var o,
_,
h,
a = n.$_$.qf,
a,
h = n.$_$.qf,
c = n.$_$.cd,
f = n.$_$.m,
l = n.$_$.h5,
l = n.$_$.m,
f = n.$_$.h5,
v = i.$_$.f1,
w = n.$_$.vj,
d = n.$_$.qj,
m = n.$_$.xb,
p = i.$_$.k,
g = n.$_$.mf,
p = n.$_$.qj,
d = n.$_$.xb,
g = i.$_$.k,
m = n.$_$.mf,
y = i.$_$.g,
k = i.$_$.h,
b = r.$_$.g,
j = i.$_$.n,
q = i.$_$.n,
$ = e.$_$.s1,
q = u.$_$.s,
z = n.$_$.ge,
x = n.$_$.fd,
j = u.$_$.s,
x = n.$_$.ge,
z = n.$_$.fd,
S = n.$_$.gd,
C = n.$_$.nb,
E = s.$_$.e,
@@ -35,7 +35,7 @@
P = i.$_$.m,
N = i.$_$.p,
O = r.$_$.a,
M = e.$_$.t8,
M = e.$_$.u8,
D = u.$_$.b1,
L = u.$_$.r,
B = n.$_$.s,
@@ -56,8 +56,8 @@
it = n.$_$.pf,
rt = n.$_$.ad;
function et(t) {
var n = a;
return t.i1w3_1.i2c(
var n = h;
return t.h1we_1.e2b(
t,
c(
"modelRegister",
@@ -71,8 +71,8 @@
);
}
function ut(t) {
var n = a;
return t.j1w3_1.i2c(
var n = h;
return t.i1we_1.e2b(
t,
c(
"resourceLoaderService",
@@ -86,83 +86,68 @@
);
}
function st(t, n) {
n.e7o().o7o() && (n.h7o(g(y)).l7i(), n.h7o(g(k)).m7i());
n.q7o().a7p() && (n.t7o(m(y)).x7i(), n.t7o(m(k)).y7i());
}
function ot() {
return l;
return f;
}
function _t() {
(b.call(this), (this.i1w3_1 = new $(g(j), null)), (this.j1w3_1 = new $(g(q), null)));
}
function ht() {
((o = this), (this.k1w3_1 = new $(g(j), null)));
(b.call(this), (this.h1we_1 = new $(m(q), null)), (this.i1we_1 = new $(m(j), null)));
}
function at() {
return (null == o && new ht(), o);
((o = this), (this.j1we_1 = new $(m(q), null)));
}
function ht() {
return (null == o && new at(), o);
}
function ct(t) {
var n = t.m1w3_1;
var n = t.l1we_1;
if (null != n) return n;
C("idCodec");
}
function ft() {
at();
function lt() {
ht();
}
function lt(t, n) {
var i = n.o7f_1.j2u(),
r = n.o7f_1.j2u(),
e = wt().v7k().o7m();
m(e.k7o().c57(), i) && e.n7o(i);
var u = wt().p1w3().t7m(r);
function ft(t, n) {
var i = n.a7g_1.q2u(),
r = n.a7g_1.q2u(),
e = wt().h7l().a7n();
d(e.w7o().p57(), i) && e.z7o(i);
var u = wt().o1we().f7n(r);
if (null == u) throw A("Class not found exception class=" + r.toString() + ", object=" + i.toString());
var s = u;
return e.m7o(i, s, "");
return e.y7o(i, s, "");
}
function vt() {
((_ = this), (this.n1w3_1 = new $(g(P), null)), (this.o1w3_1 = new $(g(N), null)));
((_ = this), (this.m1we_1 = new $(m(P), null)), (this.n1we_1 = new $(m(N), null)));
}
function wt() {
return (null == _ && new vt(), _);
}
function dt() {
(wt(), (this.q1w3_1 = new ft()));
function pt() {
(wt(), (this.p1we_1 = new lt()));
}
function mt(t) {
var n = a;
return t.r1w3_1.i2c(
function dt(t) {
var n = h;
return t.q1we_1.e2b(
t,
c(
"gameTypeRegistry",
1,
n,
function (t) {
return mt(t);
},
null,
),
);
}
function pt(t) {
var n = a;
return t.s1w3_1.i2c(
t,
c(
"resourceRegistry",
1,
n,
function (t) {
return pt(t);
return dt(t);
},
null,
),
);
}
function gt(t) {
var n = a;
return t.t1w3_1.i2c(
var n = h;
return t.r1we_1.e2b(
t,
c(
"modelRegistry",
"resourceRegistry",
1,
n,
function (t) {
@@ -172,9 +157,24 @@
),
);
}
function mt(t) {
var n = h;
return t.s1we_1.e2b(
t,
c(
"modelRegistry",
1,
n,
function (t) {
return mt(t);
},
null,
),
);
}
function yt(t) {
var n = a;
return t.u1w3_1.i2c(
var n = h;
return t.t1we_1.e2b(
t,
c(
"spaceRegistry",
@@ -188,48 +188,48 @@
);
}
function kt(t, n) {
var i = n.o7f_1.j2u(),
r = n.q7f_1.i2u(),
var i = n.a7g_1.q2u(),
r = n.c7g_1.p2u(),
e = M(r),
u = 0;
if (u < r)
do {
u = (u + 1) | 0;
var s = n.o7f_1.j2u(),
o = gt(t).a7n(s);
if (null == o) throw new ModelNotFoundError(yt(t).o7m().c57(), i, s, gt(t).u7m().e1());
var s = n.a7g_1.q2u(),
o = mt(t).m7n(s);
if (null == o) throw new ModelNotFoundError(yt(t).a7n().p57(), i, s, mt(t).g7n().e1());
var _ = o;
e.ii(_);
} while (u < r);
mt(t).s7m(i, e);
dt(t).e7n(i, e);
}
function bt(t, n) {
return !(n.q80_1 === D.v83_1 || n.q80_1 === D.b84_1);
return !(n.c81_1 === D.h84_1 || n.c81_1 === D.n84_1);
}
function jt(t, n) {
var i = pt(t).l83(n.s80_1);
return null == i ? pt(t).j83(n) : i;
function qt(t, n) {
var i = gt(t).x83(n.e81_1);
return null == i ? gt(t).v83(n) : i;
}
function $t(t, n) {
var i,
r = n.o7f_1.j2u(),
e = n.o7f_1.h2u(),
u = n.o7f_1.h2u(),
s = n.o7f_1.j2u(),
r = n.a7g_1.q2u(),
e = n.a7g_1.o2u(),
u = n.a7g_1.o2u(),
s = n.a7g_1.q2u(),
o = (function (t) {
var n = t.v1w3_1;
var n = t.u1we_1;
if (null != n) return n;
C("booleanCodec");
})(t).d7g(n);
})(t).p7g(n);
return (
(i = !!(null != o && "boolean" == typeof o ? o : w()) || zt().w1w3_1.h1(r)),
(i = !!(null != o && "boolean" == typeof o ? o : w()) || xt().v1we_1.h1(r)),
new L(e, u, r, s, i)
);
}
function qt() {
((h = this),
(this.w1w3_1 = B()),
this.w1w3_1.f1(
function jt() {
((a = this),
(this.v1we_1 = B()),
this.v1we_1.f1(
F([
U(0, 500360050),
U(0, 500381261),
@@ -270,7 +270,7 @@
U(356, -1308055559),
]),
),
this.w1w3_1.f1(
this.v1we_1.f1(
F([
U(0, 500025807),
U(0, 500378100),
@@ -321,15 +321,15 @@
]),
));
}
function zt() {
return (null == h && new qt(), h);
}
function xt() {
(zt(),
(this.r1w3_1 = new $(g(P), null)),
(this.s1w3_1 = new $(g(G), null)),
(this.t1w3_1 = new $(g(j), null)),
(this.u1w3_1 = new $(g(N), null)));
return (null == a && new jt(), a);
}
function zt() {
(xt(),
(this.q1we_1 = new $(m(P), null)),
(this.r1we_1 = new $(m(G), null)),
(this.s1we_1 = new $(m(q), null)),
(this.t1we_1 = new $(m(N), null)));
}
function ModelNotFoundError(t, n, i, r) {
(Y(
@@ -346,58 +346,58 @@
X(this, ModelNotFoundError));
}
function St(t) {
return t.i2c(null, rt("protocol", it, !1));
return t.e2b(null, rt("protocol", it, !1));
}
function Ct(t) {
return t.i2c(null, rt("modelRegistry", it, !1));
return t.e2b(null, rt("modelRegistry", it, !1));
}
(x(_t, "", _t, b),
S(ht),
x(ft, "", ft),
(z(_t, "", _t, b),
S(at),
z(lt, "", lt),
S(vt),
x(dt, "", dt),
S(qt),
x(xt, "", xt),
x(ModelNotFoundError, "", J, K),
(z(_t).i1w2 = function (t) {
if (t.sic().r()) t.l1w1_1 > 0 && this.gaw().r1w2(t.l1w1_1);
z(pt, "", pt),
S(jt),
z(zt, "", zt),
z(ModelNotFoundError, "", J, K),
(x(_t).h1wd = function (t) {
if (t.rif().r()) t.k1wc_1 > 0 && this.uaw().q1wd(t.k1wc_1);
else {
var n = v().u7i().e7o();
n.p7o(t.sic());
var n = v().g7j().q7o();
n.b7p(t.rif());
for (
var i = this.g7j(
var i = this.s7j(
((c = this),
(w = t),
(d = n),
(p = n),
function () {
return (
c.gaw().r1w2(w.l1w1_1),
c.uaw().q1wd(w.k1wc_1),
(function (t, n, i) {
for (var r = ut(t), e = n.sic(), u = f(), s = e.t(); s.u();) {
for (var r = ut(t), e = n.rif(), u = l(), s = e.t(); s.u();) {
var o = s.v();
o.ju() && u.y(o);
}
var _,
h,
a = u,
c = ot;
r.g83(
a,
h = u,
c = ot;
r.s83(
h,
c,
((_ = i),
((h = function (t) {
return (_.r7o(t), l);
((a = function (t) {
return (_.d7p(t), f);
}).callableName = "onError"),
h),
a),
);
})(c, w, d),
l
})(c, w, p),
f
);
}),
),
r = ut(this),
e = t.sic(),
u = f(),
e = t.rif(),
u = l(),
s = e.t();
s.u();
) {
@@ -405,31 +405,31 @@
o.ju() || u.y(o);
}
var _ = u;
r.g83(
r.s83(
_,
i,
((h = n),
((a = function (t) {
return (h.r7o(t), l);
((a = n),
((h = function (t) {
return (a.d7p(t), f);
}).callableName = "onError"),
a),
h),
);
}
var h, a, c, w, d;
var a, h, c, w, p;
}),
(z(_t).j1w2 = function (t) {
(x(_t).i1wd = function (t) {
(!(function (t, n) {
for (var i = n.i1w1(), r = v().u7i().e7o(), e = 0; e < i.e1();) {
for (var i = n.h1wc(), r = v().g7j().q7o(), e = 0; e < i.e1();) {
for (
var u = i.g1(e).p84(), s = u instanceof d ? u : w(), o = r.l7o(s), _ = (e = (e + 1) | 0);
_ < i.e1() && !m(i.g1(_).p1w1_1, new d(0, 0));
var u = i.g1(e).b85(), s = u instanceof p ? u : w(), o = r.x7o(s), _ = (e = (e + 1) | 0);
_ < i.e1() && !d(i.g1(_).o1wc_1, new p(0, 0));
)
_ = (_ + 1) | 0;
for (; e < _;) {
var h = i.g1(e),
a = et(t).a7n(h.p1w1_1);
if (null == a) throw new ModelNotFoundError(r.c57(), s, h.p1w1_1, et(t).u7m().e1());
(a.f7i(o, h.p84()), (e = (e + 1) | 0));
var a = i.g1(e),
h = et(t).m7n(a.o1wc_1);
if (null == h) throw new ModelNotFoundError(r.p57(), s, a.o1wc_1, et(t).g7n().e1());
(h.r7i(o, a.b85()), (e = (e + 1) | 0));
}
}
})(this, t),
@@ -446,15 +446,15 @@
if (u < s)
do {
var o = u;
((u = (u + 1) | 0), n.g1(o).h7o(g(p)).p7i());
((u = (u + 1) | 0), n.g1(o).t7o(m(g)).b7j());
} while (u < s);
})(0, t.j1w1()));
})(0, t.i1wc()));
}),
(z(_t).k1w2 = function (t, n, i) {
v().u7i().e7o().s7o(t, n, i);
(x(_t).j1wd = function (t, n, i) {
v().g7j().q7o().e7p(t, n, i);
}),
(z(_t).l1w2 = function (t) {
var n = v().u7i().e7o(),
(x(_t).k1wd = function (t) {
var n = v().g7j().q7o(),
i = 0,
r = t.e1();
if (i < r)
@@ -462,108 +462,108 @@
var e = i;
i = (i + 1) | 0;
var u = t.g1(e);
n.n7o(u.c57());
n.z7o(u.p57());
} while (i < r);
}),
(z(ht).l1w3 = function () {
var t = a;
return this.k1w3_1.i2c(
(x(at).k1we = function () {
var t = h;
return this.j1we_1.e2b(
this,
c(
"modelRegister",
1,
t,
function (t) {
return t.l1w3();
return t.k1we();
},
null,
),
);
}),
(z(ft).e7g = function (t) {
this.m1w3_1 = t.b7f(new E(g(d), !1));
(x(lt).q7g = function (t) {
this.l1we_1 = t.n7f(new E(m(p), !1));
}),
(z(ft).c7g = function (t, n) {}),
(z(ft).d7g = function (t) {
var n = ct(this).d7g(t),
i = n instanceof d ? n : w();
if (m(i, new d(0, 0))) return I(T(ct(this).d7g(t)), i);
var r = at().l1w3().y7m(i),
e = T(r.d7g(t));
(x(lt).o7g = function (t, n) {}),
(x(lt).p7g = function (t) {
var n = ct(this).p7g(t),
i = n instanceof p ? n : w();
if (d(i, new p(0, 0))) return I(T(ct(this).p7g(t)), i);
var r = ht().k1we().k7n(i),
e = T(r.p7g(t));
return I(e, i);
}),
(z(vt).p1w3 = function () {
var t = a;
return this.n1w3_1.i2c(
(x(vt).o1we = function () {
var t = h;
return this.m1we_1.e2b(
this,
c(
"gameTypeRegistry",
1,
t,
function (t) {
return t.p1w3();
return t.o1we();
},
null,
),
);
}),
(z(vt).v7k = function () {
var t = a;
return this.o1w3_1.i2c(
(x(vt).h7l = function () {
var t = h;
return this.n1we_1.e2b(
this,
c(
"spaceRegistry",
1,
t,
function (t) {
return t.v7k();
return t.h7l();
},
null,
),
);
}),
(z(dt).e7g = function (t) {
this.q1w3_1.e7g(t);
(x(pt).q7g = function (t) {
this.p1we_1.q7g(t);
}),
(z(dt).c7g = function (t, n) {
(x(pt).o7g = function (t, n) {
throw A("unsupported");
}),
(z(dt).d7g = function (t) {
(x(pt).p7g = function (t) {
var n = O();
return (
(n.h1w1_1 = (function (t, n) {
var i = n.q7f_1.i2u(),
r = f(),
(n.g1wc_1 = (function (t, n) {
var i = n.c7g_1.p2u(),
r = l(),
e = 0;
if (e < i)
do {
((e = (e + 1) | 0), r.y(lt(0, n)));
((e = (e + 1) | 0), r.y(ft(0, n)));
} while (e < i);
return r;
})(0, t)),
(n.g1w1_1 = (function (t, n) {
var i = n.q7f_1.i2u(),
(n.f1wc_1 = (function (t, n) {
var i = n.c7g_1.p2u(),
r = R(i),
e = 0;
if (e < i)
do {
((e = (e + 1) | 0), r.y(t.q1w3_1.d7g(n)));
((e = (e + 1) | 0), r.y(t.p1we_1.p7g(n)));
} while (e < i);
return r;
})(this, t)),
n
);
}),
(z(xt).e7g = function (t) {
this.v1w3_1 = t.c7f(H().pb(), !1);
(x(zt).q7g = function (t) {
this.u1we_1 = t.o7f(H().pb(), !1);
}),
(z(xt).c7g = function (t, n) {
(x(zt).o7g = function (t, n) {
throw W();
}),
(z(xt).d7g = function (t) {
var n = t.q7f_1.i2u();
(x(zt).p7g = function (t) {
var n = t.c7g_1.p2u();
!(function (t, n) {
var i = n.q7f_1.i2u(),
var i = n.c7g_1.p2u(),
r = 0;
if (r < i)
do {
@@ -571,23 +571,23 @@
} while (r < i);
})(this, t);
var i = (function (t, n) {
var i = n.q7f_1,
r = i.i2u(),
e = f(),
var i = n.c7g_1,
r = i.p2u(),
e = l(),
u = 0;
if (u < r)
do {
u = (u + 1) | 0;
var s = $t(t, n),
o = i.g2u(),
o = i.n2u(),
_ = 0;
if (_ < o)
do {
((_ = (_ + 1) | 0), n.o7f_1.j2u());
((_ = (_ + 1) | 0), n.a7g_1.q2u());
} while (_ < o);
if (bt(0, s)) {
var h = jt(t, s);
e.y(h);
var a = qt(t, s);
e.y(a);
}
} while (u < r);
return e;
@@ -596,11 +596,11 @@
}),
(t.$_$ = t.$_$ || {}),
(t.$_$.a = function () {
var t = new $(g(Z), null);
(St(t).a7f(g(Q), new ft()), St(t).a7f(g(tt), new dt()), St(t).a7f(g(nt), new xt()));
var n = new $(g(j), null),
var t = new $(m(Z), null);
(St(t).m7f(m(Q), new lt()), St(t).m7f(m(tt), new pt()), St(t).m7f(m(nt), new zt()));
var n = new $(m(q), null),
i = new _t();
(Ct(n).x7m(i.c57(), new ft()), Ct(n).w7m(i));
(Ct(n).j7n(i.p57(), new lt()), Ct(n).i7n(i));
}));
})(t.exports, i(37036), i(61860), i(29554), i(52943), i(71105), i(24635));
};
File diff suppressed because it is too large. Load diff
@@ -16,8 +16,8 @@
const s = r.getOptions(n),
o = t.modules.size,
_ = t.modules.data,
h = o + 2 * s.margin,
a = s.color.light.a ? "<path " + e(s.color.light, "fill") + ' d="M0 0h' + h + "v" + h + 'H0z"/>' : "",
a = o + 2 * s.margin,
h = s.color.light.a ? "<path " + e(s.color.light, "fill") + ' d="M0 0h' + a + "v" + a + 'H0z"/>' : "",
c =
"<path " +
e(s.color.dark, "stroke") +
@@ -28,28 +28,28 @@
s = !1,
o = 0;
for (let _ = 0; _ < t.length; _++) {
const h = Math.floor(_ % n),
a = Math.floor(_ / n);
(h || s || (s = !0),
const a = Math.floor(_ % n),
h = Math.floor(_ / n);
(a || s || (s = !0),
t[_]
? (o++,
(_ > 0 && h > 0 && t[_ - 1]) ||
((r += s ? u("M", h + i, 0.5 + a + i) : u("m", e, 0)), (e = 0), (s = !1)),
(h + 1 < n && t[_ + 1]) || ((r += u("h", o)), (o = 0)))
(_ > 0 && a > 0 && t[_ - 1]) ||
((r += s ? u("M", a + i, 0.5 + h + i) : u("m", e, 0)), (e = 0), (s = !1)),
(a + 1 < n && t[_ + 1]) || ((r += u("h", o)), (o = 0)))
: e++);
}
return r;
})(_, o, s.margin) +
'"/>',
f = 'viewBox="0 0 ' + h + " " + h + '"',
l =
l = 'viewBox="0 0 ' + a + " " + a + '"',
f =
'<svg xmlns="http://www.w3.org/2000/svg" ' +
(s.width ? 'width="' + s.width + '" height="' + s.width + '" ' : "") +
f +
l +
' shape-rendering="crispEdges">' +
a +
h +
c +
"</svg>\n";
return ("function" == typeof i && i(null, l), l);
return ("function" == typeof i && i(null, f), f);
};
};
@@ -9,32 +9,32 @@
s,
o,
_,
h,
a,
h,
c = n.createElement,
f = i.$_$.ge,
l = i.$_$.gd,
l = i.$_$.ge,
f = i.$_$.gd,
v = i.$_$.h5,
w = i.$_$.a7,
d = r.$_$.d,
m = i.$_$.id,
p = i.$_$.c,
g = i.$_$.fd,
p = r.$_$.d,
d = i.$_$.id,
g = i.$_$.c,
m = i.$_$.fd,
y = i.$_$.g1,
k = r.$_$.c,
b = i.$_$.m,
j = i.$_$.of,
q = i.$_$.of,
$ = i.$_$.cd,
q = i.$_$.ed,
z = i.$_$.kd,
x = i.$_$.l8,
j = i.$_$.ed,
x = i.$_$.kd,
z = i.$_$.l8,
S = i.$_$.l6,
C = i.$_$.m8,
E = i.$_$.se,
T = i.$_$.u,
I = i.$_$.ka;
function A(t, n, i) {
t.itz().uuc(t, n, i);
t.yu4().kui(t, n, i);
}
function R() {}
function P() {}
@@ -44,17 +44,17 @@
var n = (W(), s).z2(t);
return null == n ? t : n;
})(n);
t.juh()[r] = i;
t.zum()[r] = i;
}
function O(t) {
this.muh_1 = t;
this.cun_1 = t;
}
function M(t) {
this.nuh_1 = t;
this.dun_1 = t;
}
function D(t) {
(k.call(this), (this.puh_1 = new M(this)), (this.quh_1 = t(this.puh_1)), (this.ruh_1 = {}));
for (var n = this.quh_1.wu2(), i = b(), r = n.t(); r.u();) {
(k.call(this), (this.fun_1 = new M(this)), (this.gun_1 = t(this.fun_1)), (this.hun_1 = {}));
for (var n = this.gun_1.mu8(), i = b(), r = n.t(); r.u();) {
var e = r.v();
"$style$" !== e.v2() && i.y(e);
}
@@ -62,13 +62,13 @@
var s = u.v();
N(this, s.v2(), s.w2());
}
var o = G(this.quh_1);
var o = G(this.gun_1);
null != o && N(this, "style", o);
}
function L(t, n) {
W();
var i = j;
return o.suh(
var i = q;
return o.iun(
t,
$(
"key",
@@ -86,8 +86,8 @@
}
function B(t) {
W();
var n = j;
return o.tuh(
var n = q;
return o.jun(
t,
$(
"key",
@@ -104,8 +104,8 @@
}
function U(t, n) {
W();
var i = j;
return _.suh(
var i = q;
return _.iun(
t,
$(
"defaultValue",
@@ -123,8 +123,8 @@
}
function F(t) {
W();
var n = j;
return _.tuh(
var n = q;
return _.jun(
t,
$(
"defaultValue",
@@ -146,8 +146,8 @@
return (
(function (t, n) {
(W(), (t.$style$ = n));
var i = t.mtz(),
r = q(n).toString();
var i = t.cu5(),
r = j(n).toString();
i.g3("$style$", r);
})(t, i),
i
@@ -155,9 +155,9 @@
}
function H() {}
function W() {
if (!a) {
((a = !0),
(u = x([
if (!h) {
((h = !0),
(u = z([
"onCopy",
"onCut",
"onPaste",
@@ -368,73 +368,73 @@
c = e.toLowerCase();
i.g3(c, e);
}
var f = I(i);
(f.g3("class", "className"), f.g3("ondblclick", "onDoubleClick"), (s = f), (o = h), (_ = h));
var l = I(i);
(l.g3("class", "className"), l.g3("ondblclick", "onDoubleClick"), (s = l), (o = a), (_ = a));
}
}
(l(R),
m(P, "RDOMBuilder", p, p, [d]),
g(O),
g(M),
g(D, "RDOMBuilderImpl", p, k, [P, k]),
z(H, "StringAttr"),
(f(R).huh = function (t) {
(f(R),
d(P, "RDOMBuilder", g, g, [p]),
m(O),
m(M),
m(D, "RDOMBuilderImpl", g, k, [P, k]),
x(H, "StringAttr"),
(l(R).xum = function (t) {
return new D(t);
}),
(f(O).ram = function (t) {
this.muh_1.q(t);
(l(O).dan = function (t) {
this.cun_1.q(t);
}),
(f(M).eu0 = function (t, n, i) {
"$style$" === n ? N(this.nuh_1, "style", G(this.nuh_1.quh_1)) : N(this.nuh_1, n, i);
(l(M).uu5 = function (t, n, i) {
"$style$" === n ? N(this.dun_1, "style", G(this.dun_1.gun_1)) : N(this.dun_1, n, i);
}),
(f(M).jtz = function (t) {
(l(M).zu4 = function (t) {
var n = y();
t(new O(n));
var i = {};
((i.__html = n.toString()), (this.nuh_1.ruh_1.dangerouslySetInnerHTML = i));
((i.__html = n.toString()), (this.dun_1.hun_1.dangerouslySetInnerHTML = i));
}),
(f(M).uuc = function (t, n, i) {
N(this.nuh_1, n, i);
(l(M).kui = function (t, n, i) {
N(this.dun_1, n, i);
}),
(f(D).yam = function () {
return this.quh_1;
(l(D).kan = function () {
return this.gun_1;
}),
(f(D).juh = function () {
return this.ruh_1;
(l(D).zum = function () {
return this.hun_1;
}),
(f(H).tuh = function (t, n) {
var i = t.mtz().z2(n.callableName);
(l(H).jun = function (t, n) {
var i = t.cu5().z2(n.callableName);
return null == i ? "" : i;
}),
(f(H).suh = function (t, n, i) {
var r = t.mtz(),
(l(H).iun = function (t, n, i) {
var r = t.cu5(),
e = n.callableName;
r.g3(e, i);
}),
(f(D).iuh = function (t, n) {
return this.juh()[n];
(l(D).yum = function (t, n) {
return this.zum()[n];
}),
(f(D).kuh = function (t, n, i) {
this.juh()[n] = i;
(l(D).aun = function (t, n, i) {
this.zum()[n] = i;
}),
(f(D).luh = function (t, n) {
this.kuh(t, "value", n);
(l(D).bun = function (t, n) {
this.aun(t, "value", n);
}),
(f(D).aan = function (t) {
this.juh().key = t;
(l(D).man = function (t) {
this.zum().key = t;
}),
(f(D).ban = function (t) {
this.juh().ref = t;
(l(D).nan = function (t) {
this.zum().ref = t;
}),
(f(D).g9j = function () {
var t = this.yam().vu2(),
n = this.juh(),
i = this.pam(),
(l(D).s9j = function () {
var t = this.kan().lu8(),
n = this.zum(),
i = this.ban(),
r = w(i);
return c.apply(null, [t, n].concat([].slice.call(r.slice())));
}),
(e = new R()),
(h = new H()),
(a = new H()),
(t.$_$ = t.$_$ || {}),
(t.$_$.a = e),
(t.$_$.b = D),
@@ -8,14 +8,14 @@
s = i(31620),
o = i(66610),
_ = r.getBCHDigit(7973);
function h(t, n) {
function a(t, n) {
return s.getCharCountIndicator(t, n) + 4;
}
function a(t, n) {
function h(t, n) {
let i = 0;
return (
t.forEach(function (t) {
const r = h(t.mode, n);
const r = a(t.mode, n);
i += r + t.getBitsLength();
}),
i
@@ -29,7 +29,7 @@
void 0 === i && (i = s.BYTE);
const u = 8 * (r.getSymbolTotalCodewords(t) - e.getTotalCodewordsCount(t, n));
if (i === s.MIXED) return u;
const _ = u - h(i, t);
const _ = u - a(i, t);
switch (i) {
case s.NUMERIC:
return Math.floor((_ / 10) * 3);
@@ -48,7 +48,7 @@
if (Array.isArray(t)) {
if (t.length > 1)
return (function (t, i) {
for (let r = 1; r <= 40; r++) if (a(t, r) <= n.getCapacity(r, i, s.MIXED)) return r;
for (let r = 1; r <= 40; r++) if (h(t, r) <= n.getCapacity(r, i, s.MIXED)) return r;
})(t, e);
if (0 === t.length) return 1;
r = t[0];
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -10,13 +10,13 @@
s = n.$_$.b2,
o = n.$_$.fd,
_ = n.$_$.c,
h = n.$_$.wa,
a = i.$_$.l,
a = n.$_$.wa,
h = i.$_$.l,
c = n.$_$.h5,
f = (n.$_$.c5, n.$_$.x2),
l = n.$_$.lk;
l = (n.$_$.c5, n.$_$.x2),
f = n.$_$.lk;
function v(t) {
((this.a2a_1 = t), r.call(this));
((this.b2a_1 = t), r.call(this));
}
function w(t, n) {
var i,
@@ -25,7 +25,7 @@
((i = n),
((r = function (t) {
var n = i,
r = f(t);
r = l(t);
return (n.u9(r), c);
}).callableName = "resume"),
r);
@@ -34,7 +34,7 @@
(function (t) {
var n = function (n) {
var i = t,
r = f(l(n));
r = l(f(n));
return (i.u9(r), c);
};
return ((n.callableName = "resumeWithException"), n);
@@ -43,15 +43,15 @@
}
(o(v, _, _, r),
(e(v).e1 = function () {
return this.a2a_1.length;
return this.b2a_1.length;
}),
(e(v).g1 = function (t) {
if (!(0 <= t && t <= u(this))) throw s("index " + t + " is not in range [0.." + u(this) + "]");
return this.a2a_1[t];
return this.b2a_1[t];
}),
(t.$_$ = t.$_$ || {}),
(t.$_$.a = function (t, n) {
var i = new a(h(n), 1);
var i = new h(a(n), 1);
return (i.xt(), w(t, i), i.yt());
}),
(t.$_$.b = function (t) {
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -9,9 +9,9 @@
function o(t, n, i, u, s) {
const o = [].slice.call(arguments, 1),
_ = o.length,
h = "function" == typeof o[_ - 1];
if (!h && !r()) throw new Error("Callback required as last argument");
if (!h) {
a = "function" == typeof o[_ - 1];
if (!a && !r()) throw new Error("Callback required as last argument");
if (!a) {
if (_ < 1) throw new Error("Too few arguments provided");
return (
1 === _ ? ((i = n), (n = u = void 0)) : 2 !== _ || n.getContext || ((u = i), (i = n), (n = void 0)),
@@ -61,23 +61,23 @@
for (var n = 0, i = arguments.length <= 1 ? 0 : arguments.length - 1; n < i; ++n) {
var u = n + 1 < 1 || arguments.length <= n + 1 ? void 0 : arguments[n + 1];
for (var _ in u) {
var h = u[_],
a = t[_];
if (a && h) {
if (Array.isArray(a)) {
t[_] = s(a.concat(h));
continue;
}
var a = u[_],
h = t[_];
if (h && a) {
if (Array.isArray(h)) {
t[_] = s([a].concat(e(h)));
t[_] = s(h.concat(a));
continue;
}
if ("object" === r(h)) {
t[_] = o({}, a, h);
if (Array.isArray(a)) {
t[_] = s([h].concat(e(a)));
continue;
}
if ("object" === r(a)) {
t[_] = o({}, h, a);
continue;
}
}
t[_] = h;
t[_] = a;
}
}
return t;
@@ -85,12 +85,12 @@
(i.r(n),
i.d(n, {
assignStyle: () => o,
camelCaseProperty: () => f,
camelCaseProperty: () => l,
cssifyDeclaration: () => w,
cssifyObject: () => d,
cssifyObject: () => p,
hyphenateProperty: () => v,
isPrefixedProperty: () => p,
isPrefixedValue: () => g.A,
isPrefixedProperty: () => g,
isPrefixedValue: () => m.A,
isUnitlessProperty: () => E,
normalizeProperty: () => A,
resolveArrayValue: () => R,
@@ -98,24 +98,24 @@
unprefixValue: () => N,
}));
var _ = /-([a-z])/g,
h = /^Ms/g,
a = {};
a = /^Ms/g,
h = {};
function c(t) {
return t[1].toUpperCase();
}
function f(t) {
if (a.hasOwnProperty(t)) return a[t];
var n = t.replace(_, c).replace(h, "ms");
return ((a[t] = n), n);
function l(t) {
if (h.hasOwnProperty(t)) return h[t];
var n = t.replace(_, c).replace(a, "ms");
return ((h[t] = n), n);
}
var l = i(7793);
var f = i(7793);
function v(t) {
return (0, l.default)(t);
return (0, f.default)(t);
}
function w(t, n) {
return v(t) + ":" + n;
}
function d(t) {
function p(t) {
var n = "";
for (var i in t) {
var r = t[i];
@@ -123,11 +123,11 @@
}
return n;
}
var m = /^(Webkit|Moz|O|ms)/;
function p(t) {
return m.test(t);
var d = /^(Webkit|Moz|O|ms)/;
function g(t) {
return d.test(t);
}
var g = i(17323),
var m = i(17323),
y = {
borderImageOutset: !0,
borderImageSlice: !0,
@@ -171,13 +171,13 @@
"order",
],
b = ["Webkit", "ms", "Moz", "O"];
function j(t, n) {
function q(t, n) {
return t + n.charAt(0).toUpperCase() + n.slice(1);
}
for (var $ = 0, q = k.length; $ < q; ++$) {
var z = k[$];
y[z] = !0;
for (var x = 0, S = b.length; x < S; ++x) y[j(b[x], z)] = !0;
for (var $ = 0, j = k.length; $ < j; ++$) {
var x = k[$];
y[x] = !0;
for (var z = 0, S = b.length; z < S; ++z) y[q(b[z], x)] = !0;
}
for (var C in y) y[v(C)] = !0;
function E(t) {
@@ -189,7 +189,7 @@
return n.charAt(0).toLowerCase() + n.slice(1);
}
function A(t) {
return I(f(t));
return I(l(t));
}
function R(t, n) {
return n.join(";" + v(t) + ":");
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+127 -127
View File
@@ -8,25 +8,25 @@
s,
o,
_,
h = n.$_$.nb,
a = n.$_$.w4,
a = n.$_$.nb,
h = n.$_$.w4,
c = i.$_$.e,
f = n.$_$.ge,
l = n.$_$.vj,
l = n.$_$.ge,
f = n.$_$.vj,
v = n.$_$.h5,
w = n.$_$.o1,
d = n.$_$.fd,
m = i.$_$.d,
p = n.$_$.r5,
g = n.$_$.td,
p = n.$_$.fd,
d = i.$_$.d,
g = n.$_$.r5,
m = n.$_$.td,
y = i.$_$.f,
k = n.$_$.mf,
b = r.$_$.s1,
j = n.$_$.qf,
q = n.$_$.qf,
$ = n.$_$.cd,
q = i.$_$.r,
z = i.$_$.b,
x = n.$_$.fe,
j = i.$_$.r,
x = i.$_$.b,
z = n.$_$.fe,
S = e.$_$.f,
C = e.$_$.n,
E = n.$_$.qj,
@@ -35,56 +35,56 @@
A = n.$_$.lj,
R = n.$_$.je;
function P(t) {
var n = t.rgm_1;
var n = t.qgp_1;
if (null != n) return n;
h("codec_canOpenExternalLinks");
a("codec_canOpenExternalLinks");
}
function N(t) {
var n = t.sgm_1;
var n = t.rgp_1;
if (null != n) return n;
h("codec_failedRedirectUrl");
a("codec_failedRedirectUrl");
}
function O(t) {
var n = t.tgm_1;
var n = t.sgp_1;
if (null != n) return n;
h("codec_hasAccountBinding");
a("codec_hasAccountBinding");
}
function M(t) {
var n = t.ugm_1;
var n = t.tgp_1;
if (null != n) return n;
h("codec_hasClientPaymentAction");
a("codec_hasClientPaymentAction");
}
function D(t) {
var n = t.vgm_1;
var n = t.ugp_1;
if (null != n) return n;
h("codec_hasOwnPaymentSystem");
a("codec_hasOwnPaymentSystem");
}
function L(t) {
var n = t.wgm_1;
var n = t.vgp_1;
if (null != n) return n;
h("codec_hasSocialFunction");
a("codec_hasSocialFunction");
}
function B() {}
function U() {}
function F(t) {
var n = t.egn_1;
var n = t.dgq_1;
if (null != n) return n;
h("codec_parameters");
a("codec_parameters");
}
function G() {}
function H() {
this.ggn_1 = new b(k(y), null);
this.fgq_1 = new b(k(y), null);
}
function W() {
return ((t = x(f(V))), V.call(t), t);
return ((t = z(l(V))), V.call(t), t);
var t;
}
function V() {
((this.xgm_1 = !1), (this.zgm_1 = !1), (this.agn_1 = !1), (this.bgn_1 = !1), (this.cgn_1 = !1));
((this.wgp_1 = !1), (this.ygp_1 = !1), (this.zgp_1 = !1), (this.agq_1 = !1), (this.bgq_1 = !1));
}
function K(t) {
var n = j;
return t.kgn_1.i2c(
var n = q;
return t.jgq_1.e2b(
t,
$(
"protocol",
@@ -98,8 +98,8 @@
);
}
function Y(t) {
var n = j;
return t.lgn_1.i2c(
var n = q;
return t.kgq_1.e2b(
t,
$(
"modelRegistry",
@@ -114,14 +114,14 @@
}
function X() {
(S.call(this),
(this.kgn_1 = new b(k(y), null)),
(this.lgn_1 = new b(k(C), null)),
(this.ngn_1 = new E(760833293, 1480731399)),
this.faw(),
(this.ogn_1 = this.ngn_1));
(this.jgq_1 = new b(k(y), null)),
(this.kgq_1 = new b(k(C), null)),
(this.mgq_1 = new E(760833293, 1480731399)),
this.taw(),
(this.ngq_1 = this.mgq_1));
}
function J() {
this.pgn_1 = new b(k(y), null);
this.ogq_1 = new b(k(y), null);
}
function Z() {
if (_) return v;
@@ -131,61 +131,61 @@
A.call(this, t, n);
}
function tt() {
return ((t = x(f(nt))), nt.call(t), t);
return ((t = z(l(nt))), nt.call(t), t);
var t;
}
function nt() {}
(d(B, "", B),
d(U, "", U),
d(G, "", G),
d(H, "", H),
d(V, "", W),
d(X, "", T, S),
d(J, ""),
d(Q, "", T, A),
d(nt, "", tt),
(f(B).e7g = function (t) {
((this.rgm_1 = t.b7f(new c(a().pb(), !1))),
(this.sgm_1 = t.b7f(new c(a().xb(), !1))),
(this.tgm_1 = t.b7f(new c(a().pb(), !1))),
(this.ugm_1 = t.b7f(new c(a().pb(), !1))),
(this.vgm_1 = t.b7f(new c(a().pb(), !1))),
(this.wgm_1 = t.b7f(new c(a().pb(), !1))));
(p(B, "", B),
p(U, "", U),
p(G, "", G),
p(H, "", H),
p(V, "", W),
p(X, "", T, S),
p(J, ""),
p(Q, "", T, A),
p(nt, "", tt),
(l(B).q7g = function (t) {
((this.qgp_1 = t.n7f(new c(h().pb(), !1))),
(this.rgp_1 = t.n7f(new c(h().xb(), !1))),
(this.sgp_1 = t.n7f(new c(h().pb(), !1))),
(this.tgp_1 = t.n7f(new c(h().pb(), !1))),
(this.ugp_1 = t.n7f(new c(h().pb(), !1))),
(this.vgp_1 = t.n7f(new c(h().pb(), !1))));
}),
(f(B).d7g = function (t) {
(l(B).p7g = function (t) {
var n = W(),
i = n,
r = P(this).d7g(t);
i.xgm_1 = null != r && "boolean" == typeof r ? r : l();
r = P(this).p7g(t);
i.wgp_1 = null != r && "boolean" == typeof r ? r : f();
var e = n,
u = N(this).d7g(t);
e.ygm_1 = null != u && "string" == typeof u ? u : l();
u = N(this).p7g(t);
e.xgp_1 = null != u && "string" == typeof u ? u : f();
var s = n,
o = O(this).d7g(t);
s.zgm_1 = null != o && "boolean" == typeof o ? o : l();
o = O(this).p7g(t);
s.ygp_1 = null != o && "boolean" == typeof o ? o : f();
var _ = n,
h = M(this).d7g(t);
_.agn_1 = null != h && "boolean" == typeof h ? h : l();
var a = n,
c = D(this).d7g(t);
a.bgn_1 = null != c && "boolean" == typeof c ? c : l();
var f = n,
v = L(this).d7g(t);
return ((f.cgn_1 = null != v && "boolean" == typeof v ? v : l()), n);
a = M(this).p7g(t);
_.zgp_1 = null != a && "boolean" == typeof a ? a : f();
var h = n,
c = D(this).p7g(t);
h.agq_1 = null != c && "boolean" == typeof c ? c : f();
var l = n,
v = L(this).p7g(t);
return ((l.bgq_1 = null != v && "boolean" == typeof v ? v : f()), n);
}),
(f(B).c7g = function (t, n) {
(l(B).o7g = function (t, n) {
if (null == n) throw w("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof V ? n : l();
(P(this).c7g(t, i.xgm_1),
N(this).c7g(t, i.dgn()),
O(this).c7g(t, i.zgm_1),
M(this).c7g(t, i.agn_1),
D(this).c7g(t, i.bgn_1),
L(this).c7g(t, i.cgn_1));
var i = n instanceof V ? n : f();
(P(this).o7g(t, i.wgp_1),
N(this).o7g(t, i.cgq()),
O(this).o7g(t, i.ygp_1),
M(this).o7g(t, i.zgp_1),
D(this).o7g(t, i.agq_1),
L(this).o7g(t, i.bgq_1));
}),
(f(U).e7g = function (t) {}),
(f(U).d7g = function (t) {
var n = t.o7f_1.i2u();
(l(U).q7g = function (t) {}),
(l(U).p7g = function (t) {
var n = t.a7g_1.p2u();
switch (n) {
case 0:
return (Z(), u);
@@ -196,59 +196,59 @@
}
throw w("Enum item not found for code " + n);
}),
(f(U).c7g = function (t, n) {
(l(U).o7g = function (t, n) {
if (null == n) throw w("Object is null. Use @ProtocolOptional annotation.");
n instanceof Q || l();
n instanceof Q || f();
var i = n.k3_1;
t.o7f_1.d2u(i);
t.a7g_1.k2u(i);
}),
(f(G).e7g = function (t) {
this.egn_1 = t.b7f(new m(new c(a().xb(), !1), new c(a().xb(), !1), !1));
(l(G).q7g = function (t) {
this.dgq_1 = t.n7f(new d(new c(h().xb(), !1), new c(h().xb(), !1), !1));
}),
(f(G).d7g = function (t) {
(l(G).p7g = function (t) {
var n = tt(),
i = n,
r = F(this).d7g(t);
return ((i.fgn_1 = null != r && g(r, p) ? r : l()), n);
r = F(this).p7g(t);
return ((i.egq_1 = null != r && m(r, g) ? r : f()), n);
}),
(f(G).c7g = function (t, n) {
(l(G).o7g = function (t, n) {
if (null == n) throw w("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof nt ? n : l();
F(this).c7g(t, i.k2a());
var i = n instanceof nt ? n : f();
F(this).o7g(t, i.l2a());
}),
(f(H).g80 = function () {
var t = j;
return this.ggn_1.i2c(
(l(H).s80 = function () {
var t = q;
return this.fgq_1.e2b(
this,
$(
"protocol",
1,
t,
function (t) {
return t.g80();
return t.s80();
},
null,
),
);
}),
(f(H).h80 = function () {
(l(H).t80 = function () {
var t;
((t = new B()),
this.g80().z7e(new c(k(V), !1), t),
this.g80().z7e(new c(k(V), !0), q(t)),
this.s80().l7f(new c(k(V), !1), t),
this.s80().l7f(new c(k(V), !0), j(t)),
(t = new U()),
this.g80().z7e(new z(k(Q), !1), t),
this.g80().z7e(new z(k(Q), !0), q(t)),
this.s80().l7f(new x(k(Q), !1), t),
this.s80().l7f(new x(k(Q), !0), j(t)),
(t = new G()),
this.g80().z7e(new c(k(nt), !1), t),
this.g80().z7e(new c(k(nt), !0), q(t)));
this.s80().l7f(new c(k(nt), !1), t),
this.s80().l7f(new c(k(nt), !0), j(t)));
}),
(f(V).dgn = function () {
var t = this.ygm_1;
(l(V).cgq = function () {
var t = this.xgp_1;
if (null != t) return t;
h("failedRedirectUrl");
a("failedRedirectUrl");
}),
(f(V).toString = function () {
(l(V).toString = function () {
var t = "SocialNetworkParametersCC [";
return (
(t =
@@ -256,47 +256,47 @@
(t =
(t =
(t =
(t = t + "canOpenExternalLinks = " + this.xgm_1 + " ") +
(t = t + "canOpenExternalLinks = " + this.wgp_1 + " ") +
"failedRedirectUrl = " +
this.dgn() +
this.cgq() +
" ") +
"hasAccountBinding = " +
this.zgm_1 +
this.ygp_1 +
" ") +
"hasClientPaymentAction = " +
this.agn_1 +
this.zgp_1 +
" ") +
"hasOwnPaymentSystem = " +
this.bgn_1 +
this.agq_1 +
" ") +
"hasSocialFunction = " +
this.cgn_1 +
this.bgq_1 +
" ") + "]"
);
}),
(f(X).faw = function () {
(l(X).taw = function () {
var t, n;
((this.mgn_1 = ((t = this), (n = x(f(J))), J.call(n), (n.rgn_1 = t), (n.qgn_1 = I().s7i_1), n)),
Y(this).x7m(this.ngn_1, K(this).b7f(new c(k(V), !1))));
((this.lgq_1 = ((t = this), (n = z(l(J))), J.call(n), (n.qgq_1 = t), (n.pgq_1 = I().e7j_1), n)),
Y(this).j7n(this.mgq_1, K(this).n7f(new c(k(V), !1))));
}),
(f(X).e7i = function (t, n) {}),
(f(X).c57 = function () {
return this.ogn_1;
(l(X).q7i = function (t, n) {}),
(l(X).p57 = function () {
return this.ngq_1;
}),
(f(nt).k2a = function () {
var t = this.fgn_1;
(l(nt).l2a = function () {
var t = this.egq_1;
if (null != t) return t;
h("parameters");
a("parameters");
}),
(f(nt).toString = function () {
(l(nt).toString = function () {
var t = "LoginParameters [";
return (t = t + "parameters = " + R(this.k2a()) + " ") + "]";
return (t = t + "parameters = " + R(this.l2a()) + " ") + "]";
}),
(t.$_$ = t.$_$ || {}),
(t.$_$.a = function (t) {
return (function (t, n) {
return (nt.call(n), (n.fgn_1 = t), n);
})(t, x(f(nt)));
return (nt.call(n), (n.egq_1 = t), n);
})(t, z(l(nt)));
}),
(t.$_$.b = H),
(t.$_$.c = X),
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -11,30 +11,30 @@
s = n.$_$.fd,
o = n.$_$.xk;
function _() {
((i = this), a.call(this));
((i = this), h.call(this));
}
function h() {
function a() {
return (null == i && new _(), i);
}
function a() {}
function h() {}
function c(t) {
this.kotlinx$atomicfu$value = t;
}
function f(t) {
this.kotlinx$atomicfu$value = t;
}
function l(t) {
this.kotlinx$atomicfu$value = t;
}
(s(a, "TraceBase"),
e(_, "None", u, a),
function f(t) {
this.kotlinx$atomicfu$value = t;
}
(s(h, "TraceBase"),
e(_, "None", u, h),
s(c, "AtomicInt"),
s(f, "AtomicRef"),
s(l, "AtomicBoolean"),
(r(a).atomicfu$Trace$append$1 = function (t) {}),
(r(a).atomicfu$Trace$append$2 = function (t, n) {}),
(r(a).atomicfu$Trace$append$3 = function (t, n, i) {}),
(r(a).atomicfu$Trace$append$4 = function (t, n, i, r) {}),
s(l, "AtomicRef"),
s(f, "AtomicBoolean"),
(r(h).atomicfu$Trace$append$1 = function (t) {}),
(r(h).atomicfu$Trace$append$2 = function (t, n) {}),
(r(h).atomicfu$Trace$append$3 = function (t, n, i) {}),
(r(h).atomicfu$Trace$append$4 = function (t, n, i, r) {}),
(r(c).sp = function (t) {
this.kotlinx$atomicfu$value = t;
}),
@@ -81,23 +81,7 @@
(r(c).toString = function () {
return this.kotlinx$atomicfu$value.toString();
}),
(r(f).up = function (t) {
this.kotlinx$atomicfu$value = t;
}),
(r(f).tp = function () {
return this.kotlinx$atomicfu$value;
}),
(r(f).atomicfu$compareAndSet = function (t, n) {
return this.kotlinx$atomicfu$value === t && ((this.kotlinx$atomicfu$value = n), !0);
}),
(r(f).atomicfu$getAndSet = function (t) {
var n = this.kotlinx$atomicfu$value;
return ((this.kotlinx$atomicfu$value = t), n);
}),
(r(f).toString = function () {
return o(this.kotlinx$atomicfu$value);
}),
(r(l).vp = function (t) {
(r(l).up = function (t) {
this.kotlinx$atomicfu$value = t;
}),
(r(l).tp = function () {
@@ -111,23 +95,39 @@
return ((this.kotlinx$atomicfu$value = t), n);
}),
(r(l).toString = function () {
return o(this.kotlinx$atomicfu$value);
}),
(r(f).vp = function (t) {
this.kotlinx$atomicfu$value = t;
}),
(r(f).tp = function () {
return this.kotlinx$atomicfu$value;
}),
(r(f).atomicfu$compareAndSet = function (t, n) {
return this.kotlinx$atomicfu$value === t && ((this.kotlinx$atomicfu$value = n), !0);
}),
(r(f).atomicfu$getAndSet = function (t) {
var n = this.kotlinx$atomicfu$value;
return ((this.kotlinx$atomicfu$value = t), n);
}),
(r(f).toString = function () {
return this.kotlinx$atomicfu$value.toString();
}),
(t.$_$ = t.$_$ || {}),
(t.$_$.a = function (t) {
return (function (t, n) {
return ((n = n === u ? h() : n), new l(t));
})(t, h());
return ((n = n === u ? a() : n), new f(t));
})(t, a());
}),
(t.$_$.b = function (t) {
return (function (t, n) {
return ((n = n === u ? h() : n), new f(t));
})(t, h());
return ((n = n === u ? a() : n), new l(t));
})(t, a());
}),
(t.$_$.c = function (t) {
return (function (t, n) {
return ((n = n === u ? h() : n), new c(t));
})(t, h());
return ((n = n === u ? a() : n), new c(t));
})(t, a());
}));
})(t.exports, i(37036));
};
+295 -295
View File
@@ -8,28 +8,28 @@
r,
e,
u = Math.imul,
s = (n.$_$.h5, n.$_$.c),
o = n.$_$.pf,
s = n.$_$.c,
o = (n.$_$.h5, n.$_$.pf),
_ = n.$_$.cd,
h = n.$_$.ge,
a = n.$_$.wc,
a = n.$_$.ge,
h = n.$_$.wc,
c = n.$_$.a2,
f = n.$_$.fd,
l = n.$_$.je,
l = n.$_$.fd,
f = n.$_$.je,
v = n.$_$.s1,
w = n.$_$.gd,
d = n.$_$.mj,
m = n.$_$.h1,
p = n.$_$.nc,
g = n.$_$.ub,
p = n.$_$.mj,
d = n.$_$.h1,
g = n.$_$.nc,
m = n.$_$.ub,
y = n.$_$.gc,
k = n.$_$.yb,
b = n.$_$.fc,
j = n.$_$.qj,
q = n.$_$.qj,
$ = n.$_$.qb,
q = n.$_$.rb,
z = n.$_$.b2,
x = n.$_$.sk;
j = n.$_$.rb,
x = n.$_$.b2,
z = n.$_$.sk;
function S() {
K();
var t = i;
@@ -47,16 +47,16 @@
);
}
function C() {
(I.call(this), (this.r2s_1 = !1));
(I.call(this), (this.y2s_1 = !1));
}
function E(t) {
return (K(), new F(new ArrayBuffer(t), 0, t));
}
function T(t) {
t.w2s_1 > t.u2s_1 && (t.w2s_1 = -1);
t.d2t_1 > t.b2t_1 && (t.d2t_1 = -1);
}
function I() {
((this.t2s_1 = 0), (this.u2s_1 = 0), (this.v2s_1 = 0), (this.w2s_1 = -1));
((this.a2t_1 = 0), (this.b2t_1 = 0), (this.c2t_1 = 0), (this.d2t_1 = -1));
}
function A() {
I.call(this);
@@ -65,125 +65,125 @@
I.call(this);
}
function P() {
((r = this), (this.c2t_1 = new O("BIG_ENDIAN")), (this.d2t_1 = new O("LITTLE_ENDIAN")));
((r = this), (this.j2t_1 = new O("BIG_ENDIAN")), (this.k2t_1 = new O("LITTLE_ENDIAN")));
}
function N() {
return (null == r && new P(), r);
}
function O(t) {
(N(), (this.y2u_1 = t));
(N(), (this.f2v_1 = t));
}
function M() {
return (K(), S() ? N().d2t_1 : N().c2t_1);
}
function D(t, n, i, r, e) {
function M(t, n, i, r, e) {
if ((K(), n < 0 || r < 0)) throw c();
if (((t.length - n) | 0) < e) throw new BufferUnderflowException();
if (((i.length - r) | 0) < e) throw new BufferOverflowException();
var u = 0 === n && e === t.length ? t : t.subarray(n, (n + e) | 0);
i.set(u, r);
}
function D() {
return (K(), S() ? N().k2t_1 : N().j2t_1);
}
function BufferUnderflowException() {
(m(this), p(this, BufferUnderflowException));
(d(this), g(this, BufferUnderflowException));
}
function BufferOverflowException() {
(m(this), p(this, BufferOverflowException));
(d(this), g(this, BufferOverflowException));
}
function L(t, n) {
if (t.k2t() < n) throw new BufferUnderflowException();
if (t.r2t() < n) throw new BufferUnderflowException();
}
function B(t, n, i) {
if (((n + i) | 0) > t.t2s_1) throw c();
if (((n + i) | 0) > t.a2t_1) throw c();
}
function U(t, n) {
if (t.k2t() < n) throw new BufferOverflowException();
if (t.r2t() < n) throw new BufferOverflowException();
}
function F(t, n, i, r) {
if (
((r = r === s ? null : r),
C.call(this),
(this.e2v_1 = t),
(this.f2v_1 = n),
(this.g2v_1 = 1),
!(this.f2v_1 >= 0))
(this.l2v_1 = t),
(this.m2v_1 = n),
(this.n2v_1 = 1),
!(this.m2v_1 >= 0))
)
throw v(l("Byte offset is negative."));
if (!(i >= 0)) throw v(l("Capacity is negative."));
if (!(((this.f2v_1 + i) | 0) <= this.e2v_1.byteLength)) {
var e = "Array buffer is too small (" + this.e2v_1.byteLength + " < " + ((this.f2v_1 + i) | 0);
throw v(l(e));
throw v(f("Byte offset is negative."));
if (!(i >= 0)) throw v(f("Capacity is negative."));
if (!(((this.m2v_1 + i) | 0) <= this.l2v_1.byteLength)) {
var e = "Array buffer is too small (" + this.l2v_1.byteLength + " < " + ((this.m2v_1 + i) | 0);
throw v(f(e));
}
if (null != r) {
var u = r;
if (!a(u.buffer, this.e2v_1)) throw v(l("Failed requirement."));
if (!(this.f2v_1 >= u.byteOffset)) throw v(l("Failed requirement."));
if (!(i <= u.byteLength)) throw v(l("Failed requirement."));
this.i2v_1 = r;
if (!h(u.buffer, this.l2v_1)) throw v(f("Failed requirement."));
if (!(this.m2v_1 >= u.byteOffset)) throw v(f("Failed requirement."));
if (!(i <= u.byteLength)) throw v(f("Failed requirement."));
this.p2v_1 = r;
} else {
var o = new Int8Array(this.e2v_1, this.f2v_1, i);
this.i2v_1 = o;
var o = new Int8Array(this.l2v_1, this.m2v_1, i);
this.p2v_1 = o;
}
((this.h2v_1 = new DataView(this.e2v_1, this.f2v_1, i)),
(this.j2v_1 = new Int8Array(this.e2v_1, this.f2v_1, i)),
(this.v2s_1 = i),
(this.t2s_1 = i));
((this.o2v_1 = new DataView(this.l2v_1, this.m2v_1, i)),
(this.q2v_1 = new Int8Array(this.l2v_1, this.m2v_1, i)),
(this.c2t_1 = i),
(this.a2t_1 = i));
}
function G(t, n, i, r) {
function G(t, n, i, r, e) {
if (
(A.call(this),
(this.o2v_1 = t),
(this.p2v_1 = n),
(this.q2v_1 = r),
(this.r2v_1 = 2),
!(this.p2v_1 >= 0))
(this.v2v_1 = t),
(this.w2v_1 = n),
(this.x2v_1 = r),
(this.y2v_1 = 4),
!(this.w2v_1 >= 0))
)
throw v(l("Byte offset is negative."));
if (!(i >= 0)) throw v(l("Capacity is negative."));
if (!(((this.p2v_1 + u(i, this.r2v_1)) | 0) <= this.o2v_1.byteLength)) {
var e =
"Array buffer is too small (" +
this.o2v_1.byteLength +
" < " +
((this.p2v_1 + u(i, this.r2v_1)) | 0);
throw v(l(e));
}
((this.s2v_1 = new DataView(this.o2v_1, this.p2v_1, u(i, this.r2v_1))),
(this.t2v_1 = new Int16Array(this.o2v_1, this.p2v_1, i)),
(this.v2s_1 = i),
(this.t2s_1 = i));
}
function H(t, n, i, r, e) {
if (
(R.call(this),
(this.y2v_1 = t),
(this.z2v_1 = n),
(this.a2w_1 = r),
(this.b2w_1 = 4),
!(this.z2v_1 >= 0))
)
throw v(l("Byte offset is negative."));
if (!(i >= 0)) throw v(l("Capacity is negative."));
if (!(((this.z2v_1 + u(i, this.b2w_1)) | 0) <= this.y2v_1.byteLength)) {
throw v(f("Byte offset is negative."));
if (!(i >= 0)) throw v(f("Capacity is negative."));
if (!(((this.w2v_1 + u(i, this.y2v_1)) | 0) <= this.v2v_1.byteLength)) {
var s =
"Array buffer is too small (" +
this.y2v_1.byteLength +
this.v2v_1.byteLength +
" < " +
((this.z2v_1 + u(i, this.b2w_1)) | 0);
throw v(l(s));
((this.w2v_1 + u(i, this.y2v_1)) | 0);
throw v(f(s));
}
if (null != e) {
if (!a(e.buffer, this.y2v_1)) throw v(l("Failed requirement."));
if (!(this.z2v_1 >= e.byteOffset)) throw v(l("Failed requirement."));
if (!(i <= e.length)) throw v(l("Failed requirement."));
((this.e2w_1 = e), (this.f2w_1 = (((this.z2v_1 - e.byteOffset) | 0) / 4) | 0));
} else ((this.e2w_1 = new Float32Array(this.y2v_1, this.z2v_1, i)), (this.f2w_1 = 0));
((this.c2w_1 = new DataView(this.y2v_1, this.z2v_1, u(i, this.b2w_1))),
(this.d2w_1 = new Float32Array(this.y2v_1, this.z2v_1, i)),
(this.v2s_1 = i),
(this.t2s_1 = i));
if (!h(e.buffer, this.v2v_1)) throw v(f("Failed requirement."));
if (!(this.w2v_1 >= e.byteOffset)) throw v(f("Failed requirement."));
if (!(i <= e.length)) throw v(f("Failed requirement."));
((this.b2w_1 = e), (this.c2w_1 = (((this.w2v_1 - e.byteOffset) | 0) / 4) | 0));
} else ((this.b2w_1 = new Float32Array(this.v2v_1, this.w2v_1, i)), (this.c2w_1 = 0));
((this.z2v_1 = new DataView(this.v2v_1, this.w2v_1, u(i, this.y2v_1))),
(this.a2w_1 = new Float32Array(this.v2v_1, this.w2v_1, i)),
(this.c2t_1 = i),
(this.a2t_1 = i));
}
function H(t, n, i, r) {
if (
(R.call(this),
(this.h2w_1 = t),
(this.i2w_1 = n),
(this.j2w_1 = r),
(this.k2w_1 = 2),
!(this.i2w_1 >= 0))
)
throw v(f("Byte offset is negative."));
if (!(i >= 0)) throw v(f("Capacity is negative."));
if (!(((this.i2w_1 + u(i, this.k2w_1)) | 0) <= this.h2w_1.byteLength)) {
var e =
"Array buffer is too small (" +
this.h2w_1.byteLength +
" < " +
((this.i2w_1 + u(i, this.k2w_1)) | 0);
throw v(f(e));
}
((this.l2w_1 = new DataView(this.h2w_1, this.i2w_1, u(i, this.k2w_1))),
(this.m2w_1 = new Int16Array(this.h2w_1, this.i2w_1, i)),
(this.c2t_1 = i),
(this.a2t_1 = i));
}
function W(t, n) {
return (K(), q(b(k(t), 32), $(k(n), new j(-1, 0))));
return (K(), j(b(k(t), 32), $(k(n), new q(-1, 0))));
}
function V() {
K();
@@ -191,37 +191,37 @@
return ((t[0] = 1), (t[1] = 0), (t[2] = 0), (t[3] = 0), 1 === new Int32Array(t.buffer)[0]);
}
function K() {
e || ((e = !0), (i = x(V)));
e || ((e = !0), (i = z(V)));
}
(f(I, ""),
f(C, "", s, I),
f(A, "", s, I),
f(R, "", s, I),
(l(I, ""),
l(C, "", s, I),
l(A, "", s, I),
l(R, "", s, I),
w(P),
f(O, ""),
f(BufferUnderflowException, "", BufferUnderflowException, d),
f(BufferOverflowException, "", BufferOverflowException, d),
f(F, "", s, C),
f(G, "", s, A),
f(H, "", s, R),
(h(C).b2t = function () {
return this.r2s_1 ? N().d2t_1 : N().c2t_1;
l(O, ""),
l(BufferUnderflowException, "", BufferUnderflowException, p),
l(BufferOverflowException, "", BufferOverflowException, p),
l(F, "", s, C),
l(G, "", s, A),
l(H, "", s, R),
(a(C).i2t = function () {
return this.y2s_1 ? N().k2t_1 : N().j2t_1;
}),
(h(C).s2s = function (t) {
return ((this.r2s_1 = a(t, N().d2t_1)), this);
(a(C).z2s = function (t) {
return ((this.y2s_1 = h(t, N().k2t_1)), this);
}),
(h(C).e2t = function () {
return this.f2t();
(a(C).l2t = function () {
return this.m2t();
}),
(h(C).g2t = function () {
return this.h2t();
(a(C).n2t = function () {
return this.o2t();
}),
(h(C).i2t = function (t) {
return this.j2t(t, 0, t.length);
(a(C).p2t = function (t) {
return this.q2t(t, 0, t.length);
}),
(h(C).j2t = function (t, n, i) {
(a(C).q2t = function (t, n, i) {
if (n < 0 || i < 0 || ((n + i) | 0) > t.length) throw c();
if (i > this.k2t()) throw new BufferUnderflowException();
if (i > this.r2t()) throw new BufferUnderflowException();
var r = n,
e = (n + i) | 0;
if (r < e)
@@ -231,304 +231,304 @@
} while (r < e);
return this;
}),
(h(C).r2t = function (t) {
return this.s2t(t, 0, t.length);
(a(C).y2t = function (t) {
return this.z2t(t, 0, t.length);
}),
(h(C).s2t = function (t, n, i) {
(a(C).z2t = function (t, n, i) {
if (n < 0 || i < 0 || ((n + i) | 0) > t.length) throw c();
if (this.k2t() < i) throw new BufferOverflowException();
if (this.r2t() < i) throw new BufferOverflowException();
var r = n,
e = (n + i) | 0;
if (r < e)
do {
var u = r;
((r = (r + 1) | 0), this.q2t(t[u]));
((r = (r + 1) | 0), this.x2t(t[u]));
} while (r < e);
return this;
}),
(h(C).t2t = function (t) {
if (this.k2t() < t.k2t()) throw new BufferOverflowException();
for (; t.u2t();) this.q2t(t.xy());
(a(C).a2u = function (t) {
if (this.r2t() < t.r2t()) throw new BufferOverflowException();
for (; t.b2u();) this.x2t(t.xy());
return this;
}),
(h(C).b2u = function (t) {
this.q2t(t);
(a(C).i2u = function (t) {
this.x2t(t);
}),
(h(C).c2u = function (t) {
this.v2t(t);
(a(C).j2u = function (t) {
this.c2u(t);
}),
(h(C).d2u = function (t) {
this.w2t(t);
(a(C).k2u = function (t) {
this.d2u(t);
}),
(h(C).p1s = function (t) {
this.y2t(t);
(a(C).p1s = function (t) {
this.f2u(t);
}),
(h(C).e2u = function (t) {
this.z2t(t);
(a(C).l2u = function (t) {
this.g2u(t);
}),
(h(C).f2u = function (t) {
this.a2u(t);
(a(C).m2u = function (t) {
this.h2u(t);
}),
(h(C).g2u = function () {
(a(C).n2u = function () {
return this.xy();
}),
(h(C).h2u = function () {
return this.l2t();
(a(C).o2u = function () {
return this.s2t();
}),
(h(C).i2u = function () {
(a(C).p2u = function () {
return this.t2t();
}),
(a(C).q2u = function () {
return this.u2t();
}),
(a(C).r2u = function () {
return this.v2t();
}),
(a(C).s2u = function () {
return this.w2t();
}),
(a(I).u2u = function () {
return this.a2t_1;
}),
(a(I).v2u = function (t) {
if (!(0 <= t && t <= this.c2t_1)) {
var n = "Limit " + t + " is out of range 0.." + this.c2t_1;
throw v(f(n));
}
return ((this.a2t_1 = t), this.b2t_1 > t && ((this.b2t_1 = t), T(this)), this);
}),
(a(I).x2u = function () {
return u(this.w2u(), this.r2t());
}),
(a(I).e2t = function () {
return this.b2t_1;
}),
(a(I).f2t = function (t) {
if (!(0 <= t && t <= this.a2t_1)) {
var n = "Position " + t + " is out of range 0.." + this.a2t_1;
throw v(f(n));
}
return ((this.b2t_1 = t), T(this), this);
}),
(a(I).y2u = function () {
return this.c2t_1;
}),
(a(I).r2t = function () {
return (this.a2t_1 - this.b2t_1) | 0;
}),
(a(I).b2u = function () {
return this.r2t() > 0;
}),
(a(I).nc = function () {
return ((this.b2t_1 = 0), (this.a2t_1 = this.c2t_1), (this.d2t_1 = -1), this);
}),
(a(I).z2u = function () {
return ((this.a2t_1 = this.b2t_1), (this.b2t_1 = 0), (this.d2t_1 = -1), this);
}),
(a(A).l2t = function () {
return this.m2t();
}),
(h(C).j2u = function () {
return this.n2t();
}),
(h(C).k2u = function () {
(a(A).n2t = function () {
return this.o2t();
}),
(h(C).l2u = function () {
return this.p2t();
}),
(h(I).n2u = function () {
return this.t2s_1;
}),
(h(I).o2u = function (t) {
if (!(0 <= t && t <= this.v2s_1)) {
var n = "Limit " + t + " is out of range 0.." + this.v2s_1;
throw v(l(n));
}
return ((this.t2s_1 = t), this.u2s_1 > t && ((this.u2s_1 = t), T(this)), this);
}),
(h(I).q2u = function () {
return u(this.p2u(), this.k2t());
}),
(h(I).x2s = function () {
return this.u2s_1;
}),
(h(I).y2s = function (t) {
if (!(0 <= t && t <= this.t2s_1)) {
var n = "Position " + t + " is out of range 0.." + this.t2s_1;
throw v(l(n));
}
return ((this.u2s_1 = t), T(this), this);
}),
(h(I).r2u = function () {
return this.v2s_1;
}),
(h(I).k2t = function () {
return (this.t2s_1 - this.u2s_1) | 0;
}),
(h(I).u2t = function () {
return this.k2t() > 0;
}),
(h(I).nc = function () {
return ((this.u2s_1 = 0), (this.t2s_1 = this.v2s_1), (this.w2s_1 = -1), this);
}),
(h(I).s2u = function () {
return ((this.t2s_1 = this.u2s_1), (this.u2s_1 = 0), (this.w2s_1 = -1), this);
}),
(h(R).e2t = function () {
return this.f2t();
}),
(h(R).g2t = function () {
return this.h2t();
}),
(h(O).toString = function () {
return this.y2u_1;
}),
(h(F).p2u = function () {
return this.g2v_1;
}),
(h(F).m2u = function () {
return this.j2v_1;
}),
(h(F).f2t = function () {
return this.i2v_1;
}),
(h(F).h2t = function () {
(a(O).toString = function () {
return this.f2v_1;
}),
(h(F).xy = function () {
(a(F).w2u = function () {
return this.n2v_1;
}),
(a(F).t2u = function () {
return this.q2v_1;
}),
(a(F).m2t = function () {
return this.p2v_1;
}),
(a(F).o2t = function () {
return this.m2v_1;
}),
(a(F).xy = function () {
L(this, 1);
var t = this.u2s_1,
n = this.h2v_1.getInt8(t);
return ((this.u2s_1 = (this.u2s_1 + 1) | 0), n);
var t = this.b2t_1,
n = this.o2v_1.getInt8(t);
return ((this.b2t_1 = (this.b2t_1 + 1) | 0), n);
}),
(h(F).l2t = function () {
(a(F).s2t = function () {
L(this, 2);
var t = this.u2s_1,
n = this.h2v_1.getInt16(t, this.r2s_1);
return ((this.u2s_1 = (this.u2s_1 + 2) | 0), n);
var t = this.b2t_1,
n = this.o2v_1.getInt16(t, this.y2s_1);
return ((this.b2t_1 = (this.b2t_1 + 2) | 0), n);
}),
(h(F).m2t = function () {
(a(F).t2t = function () {
L(this, 4);
var t = this.u2s_1,
n = this.h2v_1.getInt32(t, this.r2s_1);
return ((this.u2s_1 = (this.u2s_1 + 4) | 0), n);
var t = this.b2t_1,
n = this.o2v_1.getInt32(t, this.y2s_1);
return ((this.b2t_1 = (this.b2t_1 + 4) | 0), n);
}),
(h(F).n2t = function () {
(a(F).u2t = function () {
L(this, 8);
var t,
n = this.u2s_1;
if (this.r2s_1) {
var i = this.h2v_1.getInt32(n, !0);
t = W(this.h2v_1.getInt32((n + 4) | 0, !0), i);
} else t = W(this.h2v_1.getInt32(n, !1), this.h2v_1.getInt32((n + 4) | 0, !1));
n = this.b2t_1;
if (this.y2s_1) {
var i = this.o2v_1.getInt32(n, !0);
t = W(this.o2v_1.getInt32((n + 4) | 0, !0), i);
} else t = W(this.o2v_1.getInt32(n, !1), this.o2v_1.getInt32((n + 4) | 0, !1));
var r = t;
return ((this.u2s_1 = (this.u2s_1 + 8) | 0), r);
return ((this.b2t_1 = (this.b2t_1 + 8) | 0), r);
}),
(h(F).o2t = function () {
(L(this, 4), this.u2s_1);
var t = this.h2v_1.getFloat32(this.u2s_1, this.r2s_1);
return ((this.u2s_1 = (this.u2s_1 + 4) | 0), t);
(a(F).v2t = function () {
(L(this, 4), this.b2t_1);
var t = this.o2v_1.getFloat32(this.b2t_1, this.y2s_1);
return ((this.b2t_1 = (this.b2t_1 + 4) | 0), t);
}),
(h(F).p2t = function () {
(L(this, 8), this.u2s_1);
var t = this.h2v_1.getFloat64(this.u2s_1, this.r2s_1);
return ((this.u2s_1 = (this.u2s_1 + 8) | 0), t);
(a(F).w2t = function () {
(L(this, 8), this.b2t_1);
var t = this.o2v_1.getFloat64(this.b2t_1, this.y2s_1);
return ((this.b2t_1 = (this.b2t_1 + 8) | 0), t);
}),
(h(F).q2t = function (t) {
(a(F).x2t = function (t) {
U(this, 1);
var n = this.u2s_1;
return (this.h2v_1.setInt8(n, t), (this.u2s_1 = (this.u2s_1 + 1) | 0), this);
var n = this.b2t_1;
return (this.o2v_1.setInt8(n, t), (this.b2t_1 = (this.b2t_1 + 1) | 0), this);
}),
(h(F).v2t = function (t) {
(a(F).c2u = function (t) {
U(this, 2);
var n = this.u2s_1;
return (this.h2v_1.setInt16(n, t, this.r2s_1), (this.u2s_1 = (this.u2s_1 + 2) | 0), this);
var n = this.b2t_1;
return (this.o2v_1.setInt16(n, t, this.y2s_1), (this.b2t_1 = (this.b2t_1 + 2) | 0), this);
}),
(h(F).a2t = function (t, n) {
return (B(this, t, 2), this.h2v_1.setInt16(t, n, this.r2s_1), this);
(a(F).h2t = function (t, n) {
return (B(this, t, 2), this.o2v_1.setInt16(t, n, this.y2s_1), this);
}),
(h(F).w2t = function (t) {
(a(F).d2u = function (t) {
U(this, 4);
var n = this.u2s_1;
return (this.h2v_1.setInt32(n, t, this.r2s_1), (this.u2s_1 = (this.u2s_1 + 4) | 0), this);
var n = this.b2t_1;
return (this.o2v_1.setInt32(n, t, this.y2s_1), (this.b2t_1 = (this.b2t_1 + 4) | 0), this);
}),
(h(F).x2t = function (t, n) {
return (B(this, t, 4), this.h2v_1.setInt32(t, n, this.r2s_1), this);
(a(F).e2u = function (t, n) {
return (B(this, t, 4), this.o2v_1.setInt32(t, n, this.y2s_1), this);
}),
(h(F).y2t = function (t) {
(a(F).f2u = function (t) {
U(this, 8);
var n = this.u2s_1,
i = g(t),
r = g(y(t, 32));
var n = this.b2t_1,
i = m(t),
r = m(y(t, 32));
return (
this.r2s_1
? (this.h2v_1.setInt32(n, i, !0), this.h2v_1.setInt32((n + 4) | 0, r, !0))
: (this.h2v_1.setInt32(n, r, !1), this.h2v_1.setInt32((n + 4) | 0, i, !1)),
(this.u2s_1 = (this.u2s_1 + 8) | 0),
this.y2s_1
? (this.o2v_1.setInt32(n, i, !0), this.o2v_1.setInt32((n + 4) | 0, r, !0))
: (this.o2v_1.setInt32(n, r, !1), this.o2v_1.setInt32((n + 4) | 0, i, !1)),
(this.b2t_1 = (this.b2t_1 + 8) | 0),
this
);
}),
(h(F).z2t = function (t) {
(a(F).g2u = function (t) {
U(this, 4);
var n = this.u2s_1;
return (this.h2v_1.setFloat32(n, t, this.r2s_1), (this.u2s_1 = (this.u2s_1 + 4) | 0), this);
var n = this.b2t_1;
return (this.o2v_1.setFloat32(n, t, this.y2s_1), (this.b2t_1 = (this.b2t_1 + 4) | 0), this);
}),
(h(F).z2s = function (t, n) {
return (B(this, t, 4), this.h2v_1.setFloat32(t, n, this.r2s_1), this);
(a(F).g2t = function (t, n) {
return (B(this, t, 4), this.o2v_1.setFloat32(t, n, this.y2s_1), this);
}),
(h(F).a2u = function (t) {
(a(F).h2u = function (t) {
U(this, 8);
var n = this.u2s_1;
return (this.h2v_1.setFloat64(n, t, this.r2s_1), (this.u2s_1 = (this.u2s_1 + 8) | 0), this);
var n = this.b2t_1;
return (this.o2v_1.setFloat64(n, t, this.y2s_1), (this.b2t_1 = (this.b2t_1 + 8) | 0), this);
}),
(h(G).p2u = function () {
return this.r2v_1;
(a(G).w2u = function () {
return this.y2v_1;
}),
(h(G).m2u = function () {
return this.t2v_1;
(a(G).t2u = function () {
return this.a2w_1;
}),
(h(H).p2u = function () {
(a(G).m2t = function () {
return this.b2w_1;
}),
(h(H).m2u = function () {
return this.d2w_1;
(a(G).o2t = function () {
return this.c2w_1;
}),
(h(H).f2t = function () {
return this.e2w_1;
}),
(h(H).h2t = function () {
return this.f2w_1;
}),
(h(H).x2u = function (t, n) {
(a(G).e2v = function (t, n) {
return (
(function (t, n, i) {
if ((K(), !(0 <= t && t < i)))
throw z("Index " + t + " is out of bounds [0, " + ((i - 1) | 0) + "]");
})(t, 0, this.t2s_1),
this.c2w_1.setFloat32(u(t, 4), n, this.a2w_1),
throw x("Index " + t + " is out of bounds [0, " + ((i - 1) | 0) + "]");
})(t, 0, this.a2t_1),
this.z2v_1.setFloat32(u(t, 4), n, this.x2v_1),
this
);
}),
(a(H).w2u = function () {
return this.k2w_1;
}),
(a(H).t2u = function () {
return this.m2w_1;
}),
(t.$_$ = t.$_$ || {}),
(t.$_$.a = C),
(t.$_$.b = function (t) {
var n = E(t);
return (n.s2s(M()), n);
return (n.z2s(D()), n);
}),
(t.$_$.c = E),
(t.$_$.d = function (t) {
return (K(), new H(new ArrayBuffer(u(t, 4)), 0, t, S(), null));
return (K(), new G(new ArrayBuffer(u(t, 4)), 0, t, S(), null));
}),
(t.$_$.e = D),
(t.$_$.e = M),
(t.$_$.f = function (t, n, i, r, e) {
if ((K(), n < 0 || r < 0)) throw c();
if (((t.length - n) | 0) < e) throw new BufferUnderflowException();
if (((i.n2u() - r) | 0) < e) throw new BufferOverflowException();
if (((i.u2u() - r) | 0) < e) throw new BufferOverflowException();
var u = 0 === n && e === t.length ? t : t.subarray(n, (n + e) | 0);
i.e2t().set(u, (i.g2t() + r) | 0);
i.l2t().set(u, (i.n2t() + r) | 0);
}),
(t.$_$.g = function (t, n, i) {
D(t, 0, n, (i = i === s ? 0 : i), t.length);
M(t, 0, n, (i = i === s ? 0 : i), t.length);
}),
(t.$_$.h = function () {
return (K(), N().c2t_1);
return (K(), N().j2t_1);
}),
(t.$_$.i = function () {
return (K(), N().d2t_1);
return (K(), N().k2t_1);
}),
(t.$_$.j = function (t, n) {
t.y2s((t.x2s() + n) | 0);
t.f2t((t.e2t() + n) | 0);
}),
(t.$_$.k = function (t) {
K();
var n = new F(t, 0, t.byteLength);
return (n.s2s(M()), n);
return (n.z2s(D()), n);
}),
(t.$_$.l = function (t) {
return (function (t, n, i) {
if ((K(), !(0 <= ((t.length - 1) | 0)))) {
var r = "Offset 0 is out of bounds [0, " + t.length + ").";
throw v(l(r));
throw v(f(r));
}
if (!(((0 + i) | 0) <= t.length)) {
var e = "Array is too small (" + t.length + " < " + ((0 + i) | 0) + ")";
throw v(l(e));
throw v(f(e));
}
var u = t,
s = (u.byteOffset + 0) | 0,
o = new F(u.buffer, s, i, t);
return (o.s2s(M()), o);
return (o.z2s(D()), o);
})(t, 0, t.length);
}),
(t.$_$.m = function (t) {
K();
var n = t;
return new H(n.buffer, n.byteOffset, t.length, S(), n);
return new G(n.buffer, n.byteOffset, t.length, S(), n);
}),
(t.$_$.n = function (t) {
K();
var n = t;
return new G(n.buffer, n.byteOffset, t.length, S());
return new H(n.buffer, n.byteOffset, t.length, S());
}),
(t.$_$.o = function (t, n, i, r) {
(t.z2s(n, i), t.z2s((n + 4) | 0, r));
(t.g2t(n, i), t.g2t((n + 4) | 0, r));
}),
(t.$_$.p = function (t, n, i, r, e) {
(t.z2s(n, i), t.z2s((n + 4) | 0, r), t.z2s((n + 8) | 0, e));
(t.g2t(n, i), t.g2t((n + 4) | 0, r), t.g2t((n + 8) | 0, e));
}),
(t.$_$.q = function (t, n, i, r) {
(t.a2t(n, i), t.a2t((n + 2) | 0, r));
(t.h2t(n, i), t.h2t((n + 2) | 0, r));
}),
(t.$_$.r = N));
})(t.exports, i(37036));
@@ -8,25 +8,25 @@
s = i(69682),
o = i(65201),
_ = i(27736),
h = i(44794),
a = i(13532);
a = i(44794),
h = i(13532);
function c(t) {
return unescape(encodeURIComponent(t)).length;
}
function f(t, n, i) {
function l(t, n, i) {
const r = [];
let e;
for (; null !== (e = t.exec(i));) r.push({ data: e[0], index: e.index, mode: n, length: e[0].length });
return r;
}
function l(t) {
const n = f(_.NUMERIC, r.NUMERIC, t),
i = f(_.ALPHANUMERIC, r.ALPHANUMERIC, t);
function f(t) {
const n = l(_.NUMERIC, r.NUMERIC, t),
i = l(_.ALPHANUMERIC, r.ALPHANUMERIC, t);
let e, u;
return (
h.isKanjiModeEnabled()
? ((e = f(_.BYTE, r.BYTE, t)), (u = f(_.KANJI, r.KANJI, t)))
: ((e = f(_.BYTE_KANJI, r.BYTE, t)), (u = [])),
a.isKanjiModeEnabled()
? ((e = l(_.BYTE, r.BYTE, t)), (u = l(_.KANJI, r.KANJI, t)))
: ((e = l(_.BYTE_KANJI, r.BYTE, t)), (u = [])),
n
.concat(i, e, u)
.sort(function (t, n) {
@@ -61,7 +61,7 @@
".\n Suggested mode is: " +
r.toString(_),
);
switch ((i !== r.KANJI || h.isKanjiModeEnabled() || (i = r.BYTE), i)) {
switch ((i !== r.KANJI || a.isKanjiModeEnabled() || (i = r.BYTE), i)) {
case r.NUMERIC:
return new e(t);
case r.ALPHANUMERIC:
@@ -101,7 +101,7 @@
}
}
return n;
})(l(t, h.isKanjiModeEnabled())),
})(f(t, a.isKanjiModeEnabled())),
u = (function (t, n) {
const i = {},
e = { start: {} };
@@ -110,16 +110,16 @@
const o = t[s],
_ = [];
for (let t = 0; t < o.length; t++) {
const h = o[t],
a = "" + s + t;
(_.push(a), (i[a] = { node: h, lastCount: 0 }), (e[a] = {}));
const a = o[t],
h = "" + s + t;
(_.push(h), (i[h] = { node: a, lastCount: 0 }), (e[h] = {}));
for (let t = 0; t < u.length; t++) {
const s = u[t];
i[s] && i[s].node.mode === h.mode
? ((e[s][a] = v(i[s].lastCount + h.length, h.mode) - v(i[s].lastCount, h.mode)),
(i[s].lastCount += h.length))
: (i[s] && (i[s].lastCount = h.length),
(e[s][a] = v(h.length, h.mode) + 4 + r.getCharCountIndicator(h.mode, n)));
i[s] && i[s].node.mode === a.mode
? ((e[s][h] = v(i[s].lastCount + a.length, a.mode) - v(i[s].lastCount, a.mode)),
(i[s].lastCount += a.length))
: (i[s] && (i[s].lastCount = a.length),
(e[s][h] = v(a.length, a.mode) + 4 + r.getCharCountIndicator(a.mode, n)));
}
}
u = _;
@@ -127,7 +127,7 @@
for (let t = 0; t < u.length; t++) e[u[t]].end = 0;
return { map: e, table: i };
})(e, i),
s = a.find_path(u.map, "start", "end"),
s = h.find_path(u.map, "start", "end"),
o = [];
for (let t = 1; t < s.length - 1; t++) o.push(u.table[s[t]].node);
return n.fromArray(
@@ -138,6 +138,6 @@
);
}),
(n.rawSplit = function (t) {
return n.fromArray(l(t, h.isKanjiModeEnabled()));
return n.fromArray(f(t, a.isKanjiModeEnabled()));
}));
};
@@ -2,12 +2,10 @@
// Module ID: 76074
// ============================================================
;(window.__modules__ = window.__modules__ || {})[76074] = () => {
if (
if (window.analytics.yametrica.enabled) {
((window.ymReachGoal = function (t) {}),
(window.ymParams = function (t) {}),
(window.ymSetUserID = function (t) {}),
!window.tankiBuildConstants.isBuildForChina)
) {
(window.ymSetUserID = function (t) {}));
const t = window.analytics.yametrica.id;
(!(function (t, n, i, r, e, u, s) {
((t[e] =
@@ -31,32 +31,32 @@
function _(t) {
return t instanceof Object && !Array.isArray(t);
}
function h(t) {
function a(t) {
var n = t.prefixMap,
i = t.plugins;
return function t(r) {
for (var s in r) {
var h = r[s];
if (_(h)) r[s] = t(h);
else if (Array.isArray(h)) {
for (var a = [], c = 0, f = h.length; c < f; ++c) o(a, u(i, s, h[c], r, n) || h[c]);
a.length > 0 && (r[s] = a);
var a = r[s];
if (_(a)) r[s] = t(a);
else if (Array.isArray(a)) {
for (var h = [], c = 0, l = a.length; c < l; ++c) o(h, u(i, s, a[c], r, n) || a[c]);
h.length > 0 && (r[s] = h);
} else {
var l = u(i, s, h, r, n);
(l && (r[s] = l), (r = e(n, s, r)));
var f = u(i, s, a, r, n);
(f && (r[s] = f), (r = e(n, s, r)));
}
}
return r;
};
}
(i.r(n), i.d(n, { createPrefixer: () => h, prefix: () => G }));
var a = i(60273),
(i.r(n), i.d(n, { createPrefixer: () => a, prefix: () => G }));
var h = i(60273),
c = i(51400),
f = i(31509),
l = i(96480),
l = i(31509),
f = i(96480),
v = ["Webkit"];
const w = {
plugins: [a.A, c.A, f.A, l.A],
plugins: [h.A, c.A, l.A, f.A],
prefixMap: {
textEmphasisPosition: v,
textEmphasis: v,
@@ -95,14 +95,14 @@
textDecorationColor: v,
},
};
var d = ["-webkit-", "-moz-", ""],
m = { "zoom-in": !0, "zoom-out": !0, grab: !0, grabbing: !0 },
p = i(17323),
g = /cross-fade\(/g,
var p = ["-webkit-", "-moz-", ""],
d = { "zoom-in": !0, "zoom-out": !0, grab: !0, grabbing: !0 },
g = i(17323),
m = /cross-fade\(/g,
y = ["-webkit-", ""],
k = /filter\(/g,
b = ["-webkit-", ""],
j = {
q = {
flex: ["-webkit-box", "-moz-box", "-ms-flexbox", "-webkit-flex", "flex"],
"inline-flex": [
"-webkit-inline-box",
@@ -120,14 +120,14 @@
"wrap-reverse": "multiple",
wrap: "multiple",
},
q = {
j = {
alignItems: "WebkitBoxAlign",
justifyContent: "WebkitBoxPack",
flexWrap: "WebkitBoxLines",
flexGrow: "WebkitBoxFlex",
},
z = i(19074),
x = ["-webkit-", "-moz-", ""],
x = i(19074),
z = ["-webkit-", "-moz-", ""],
S = /linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi,
C = function (t, n) {
if (Array.isArray(t)) return t;
@@ -179,8 +179,8 @@
var s = u.split(/ ?span /),
o = C(s, 2),
_ = o[0],
h = o[1];
"" === _ ? R.gridColumnEnd(+e + +h, n) : R.gridColumnEnd(+u, n);
a = o[1];
"" === _ ? R.gridColumnEnd(+e + +a, n) : R.gridColumnEnd(+u, n);
} else R.gridColumnStart(t, n);
},
gridColumnEnd: function (t, n) {
@@ -201,8 +201,8 @@
var s = u.split(/ ?span /),
o = C(s, 2),
_ = o[0],
h = o[1];
"" === _ ? R.gridRowEnd(+e + +h, n) : R.gridRowEnd(+u, n);
a = o[1];
"" === _ ? R.gridRowEnd(+e + +a, n) : R.gridRowEnd(+u, n);
} else R.gridRowStart(t, n);
},
gridRowEnd: function (t, n) {
@@ -270,19 +270,19 @@
U = { Webkit: "-webkit-", Moz: "-moz-", ms: "-ms-" },
F = [
function (t, n) {
if ("string" == typeof n && !(0, p.A)(n) && -1 !== n.indexOf("cross-fade("))
if ("string" == typeof n && !(0, g.A)(n) && -1 !== n.indexOf("cross-fade("))
return y.map(function (t) {
return n.replace(g, t + "cross-fade(");
return n.replace(m, t + "cross-fade(");
});
},
function (t, n) {
if ("cursor" === t && m.hasOwnProperty(n))
return d.map(function (t) {
if ("cursor" === t && d.hasOwnProperty(n))
return p.map(function (t) {
return t + n;
});
},
function (t, n) {
if ("string" == typeof n && !(0, p.A)(n) && -1 !== n.indexOf("filter("))
if ("string" == typeof n && !(0, g.A)(n) && -1 !== n.indexOf("filter("))
return b.map(function (t) {
return n.replace(k, t + "filter(");
});
@@ -292,11 +292,11 @@
"string" == typeof n &&
(n.indexOf("column") > -1 ? (i.WebkitBoxOrient = "vertical") : (i.WebkitBoxOrient = "horizontal"),
n.indexOf("reverse") > -1 ? (i.WebkitBoxDirection = "reverse") : (i.WebkitBoxDirection = "normal")),
q.hasOwnProperty(t) && (i[q[t]] = $[n] || n));
j.hasOwnProperty(t) && (i[j[t]] = $[n] || n));
},
function (t, n) {
if ("string" == typeof n && !(0, z.default)(n) && S.test(n))
return x.map(function (t) {
if ("string" == typeof n && !(0, x.default)(n) && S.test(n))
return z.map(function (t) {
return n.replace(S, function (n) {
return t + n;
});
@@ -307,7 +307,7 @@
t in R && (0, R[t])(n, i);
},
function (t, n) {
if ("string" == typeof n && !(0, z.default)(n) && n.indexOf("image-set(") > -1)
if ("string" == typeof n && !(0, x.default)(n) && n.indexOf("image-set(") > -1)
return P.map(function (t) {
return n.replace(/image-set\(/g, t + "image-set(");
});
@@ -328,14 +328,14 @@
function (t, n, i, e) {
if ("string" == typeof n && B.hasOwnProperty(t)) {
var u = (function (t, n) {
if ((0, z.default)(t)) return t;
if ((0, x.default)(t)) return t;
for (var i = t.split(/,(?![^()]*(?:\([^()]*\))?\))/g), r = 0, e = i.length; r < e; ++r) {
var u = i[r],
s = [u];
for (var o in n) {
var _ = (0, L.default)(o);
if (u.indexOf(_) > -1 && "order" !== _)
for (var h = n[o], a = 0, c = h.length; a < c; ++a) s.unshift(u.replace(_, U[h[a]] + _));
for (var a = n[o], h = 0, c = a.length; h < c; ++h) s.unshift(u.replace(_, U[a[h]] + _));
}
i[r] = s.join(",");
}
@@ -358,8 +358,8 @@
}
},
function (t, n) {
if ("display" === t && j.hasOwnProperty(n)) return j[n];
if ("display" === t && q.hasOwnProperty(n)) return q[n];
},
],
G = h({ prefixMap: w.prefixMap, plugins: F });
G = a({ prefixMap: w.prefixMap, plugins: F });
};
@@ -10,11 +10,11 @@
s = Symbol.for("react.profiler"),
o = Symbol.for("react.provider"),
_ = Symbol.for("react.context"),
h = Symbol.for("react.forward_ref"),
a = Symbol.for("react.suspense"),
a = Symbol.for("react.forward_ref"),
h = Symbol.for("react.suspense"),
c = Symbol.for("react.memo"),
f = Symbol.for("react.lazy"),
l = Symbol.iterator,
l = Symbol.for("react.lazy"),
f = Symbol.iterator,
v = {
isMounted: function () {
return !1;
@@ -24,33 +24,33 @@
enqueueSetState: function () {},
},
w = Object.assign,
d = {};
p = {};
function d(t, n, i) {
((this.props = t), (this.context = n), (this.refs = p), (this.updater = i || v));
}
function g() {}
function m(t, n, i) {
((this.props = t), (this.context = n), (this.refs = d), (this.updater = i || v));
((this.props = t), (this.context = n), (this.refs = p), (this.updater = i || v));
}
function p() {}
function g(t, n, i) {
((this.props = t), (this.context = n), (this.refs = d), (this.updater = i || v));
}
((m.prototype.isReactComponent = {}),
(m.prototype.setState = function (t, n) {
((d.prototype.isReactComponent = {}),
(d.prototype.setState = function (t, n) {
if ("object" != typeof t && "function" != typeof t && null != t)
throw Error(
"setState(...): takes an object of state variables to update or a function which returns an object of state variables.",
);
this.updater.enqueueSetState(this, t, n, "setState");
}),
(m.prototype.forceUpdate = function (t) {
(d.prototype.forceUpdate = function (t) {
this.updater.enqueueForceUpdate(this, t, "forceUpdate");
}),
(p.prototype = m.prototype));
var y = (g.prototype = new p());
((y.constructor = g), w(y, m.prototype), (y.isPureReactComponent = !0));
(g.prototype = d.prototype));
var y = (m.prototype = new g());
((y.constructor = m), w(y, d.prototype), (y.isPureReactComponent = !0));
var k = Array.isArray,
b = Object.prototype.hasOwnProperty,
j = { current: null },
q = { current: null },
$ = { key: !0, ref: !0, __self: !0, __source: !0 };
function q(t, n, r) {
function j(t, n, r) {
var e,
u = {},
s = null,
@@ -61,16 +61,16 @@
var _ = arguments.length - 2;
if (1 === _) u.children = r;
else if (1 < _) {
for (var h = Array(_), a = 0; a < _; a++) h[a] = arguments[a + 2];
u.children = h;
for (var a = Array(_), h = 0; h < _; h++) a[h] = arguments[h + 2];
u.children = a;
}
if (t && t.defaultProps) for (e in (_ = t.defaultProps)) void 0 === u[e] && (u[e] = _[e]);
return { $$typeof: i, type: t, key: s, ref: o, props: u, _owner: j.current };
return { $$typeof: i, type: t, key: s, ref: o, props: u, _owner: q.current };
}
function z(t) {
function x(t) {
return "object" == typeof t && null !== t && t.$$typeof === i;
}
var x = /\/+/g;
var z = /\/+/g;
function S(t, n) {
return "object" == typeof t && null !== t && null != t.key
? (function (t) {
@@ -108,34 +108,34 @@
(t = "" === u ? "." + S(_, 0) : u),
k(s)
? ((e = ""),
null != t && (e = t.replace(x, "$&/") + "/"),
null != t && (e = t.replace(z, "$&/") + "/"),
C(s, n, e, "", function (t) {
return t;
}))
: null != s &&
(z(s) &&
(x(s) &&
(s = (function (t, n) {
return { $$typeof: i, type: t.type, key: n, ref: t.ref, props: t.props, _owner: t._owner };
})(s, e + (!s.key || (_ && _.key === s.key) ? "" : ("" + s.key).replace(x, "$&/") + "/") + t)),
})(s, e + (!s.key || (_ && _.key === s.key) ? "" : ("" + s.key).replace(z, "$&/") + "/") + t)),
n.push(s)),
1
);
if (((_ = 0), (u = "" === u ? "." : u + ":"), k(t)))
for (var h = 0; h < t.length; h++) {
var a = u + S((o = t[h]), h);
_ += C(o, n, e, a, s);
for (var a = 0; a < t.length; a++) {
var h = u + S((o = t[a]), a);
_ += C(o, n, e, h, s);
}
else if (
((a = (function (t) {
((h = (function (t) {
return null === t || "object" != typeof t
? null
: "function" == typeof (t = (l && t[l]) || t["@@iterator"])
: "function" == typeof (t = (f && t[f]) || t["@@iterator"])
? t
: null;
})(t)),
"function" == typeof a)
"function" == typeof h)
)
for (t = a.call(t), h = 0; !(o = t.next()).done;) _ += C((o = o.value), n, e, (a = u + S(o, h++)), s);
for (t = h.call(t), a = 0; !(o = t.next()).done;) _ += C((o = o.value), n, e, (h = u + S(o, a++)), s);
else if ("object" === o)
throw (
(n = String(t)),
@@ -176,7 +176,7 @@
}
var I = { current: null },
A = { transition: null },
R = { ReactCurrentDispatcher: I, ReactCurrentBatchConfig: A, ReactCurrentOwner: j };
R = { ReactCurrentDispatcher: I, ReactCurrentBatchConfig: A, ReactCurrentOwner: q };
function P() {
throw Error("act(...) is not supported in production builds of React.");
}
@@ -208,16 +208,16 @@
);
},
only: function (t) {
if (!z(t)) throw Error("React.Children.only expected to receive a single React element child.");
if (!x(t)) throw Error("React.Children.only expected to receive a single React element child.");
return t;
},
}),
(n.Component = m),
(n.Component = d),
(n.Fragment = e),
(n.Profiler = s),
(n.PureComponent = g),
(n.PureComponent = m),
(n.StrictMode = u),
(n.Suspense = a),
(n.Suspense = h),
(n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = R),
(n.act = P),
(n.cloneElement = function (t, n, r) {
@@ -231,19 +231,19 @@
o = t._owner;
if (null != n) {
if (
(void 0 !== n.ref && ((s = n.ref), (o = j.current)),
(void 0 !== n.ref && ((s = n.ref), (o = q.current)),
void 0 !== n.key && (u = "" + n.key),
t.type && t.type.defaultProps)
)
var _ = t.type.defaultProps;
for (h in n)
b.call(n, h) && !$.hasOwnProperty(h) && (e[h] = void 0 === n[h] && void 0 !== _ ? _[h] : n[h]);
for (a in n)
b.call(n, a) && !$.hasOwnProperty(a) && (e[a] = void 0 === n[a] && void 0 !== _ ? _[a] : n[a]);
}
var h = arguments.length - 2;
if (1 === h) e.children = r;
else if (1 < h) {
_ = Array(h);
for (var a = 0; a < h; a++) _[a] = arguments[a + 2];
var a = arguments.length - 2;
if (1 === a) e.children = r;
else if (1 < a) {
_ = Array(a);
for (var h = 0; h < a; h++) _[h] = arguments[h + 2];
e.children = _;
}
return { $$typeof: i, type: t.type, key: u, ref: s, props: e, _owner: o };
@@ -263,20 +263,20 @@
(t.Consumer = t)
);
}),
(n.createElement = q),
(n.createElement = j),
(n.createFactory = function (t) {
var n = q.bind(null, t);
var n = j.bind(null, t);
return ((n.type = t), n);
}),
(n.createRef = function () {
return { current: null };
}),
(n.forwardRef = function (t) {
return { $$typeof: h, render: t };
return { $$typeof: a, render: t };
}),
(n.isValidElement = z),
(n.isValidElement = x),
(n.lazy = function (t) {
return { $$typeof: f, _payload: { _status: -1, _result: t }, _init: T };
return { $$typeof: l, _payload: { _status: -1, _result: t }, _init: T };
}),
(n.memo = function (t, n) {
return { $$typeof: c, type: t, compare: void 0 === n ? null : n };
@@ -25,13 +25,13 @@
t: for (var r = 0, e = t.length, s = e >>> 1; r < s;) {
var o = 2 * (r + 1) - 1,
_ = t[o],
h = o + 1,
a = t[h];
a = o + 1,
h = t[a];
if (0 > u(_, i))
h < e && 0 > u(a, _) ? ((t[r] = a), (t[h] = i), (r = h)) : ((t[r] = _), (t[o] = i), (r = o));
a < e && 0 > u(h, _) ? ((t[r] = h), (t[a] = i), (r = a)) : ((t[r] = _), (t[o] = i), (r = o));
else {
if (!(h < e && 0 > u(a, i))) break t;
((t[r] = a), (t[h] = i), (r = h));
if (!(a < e && 0 > u(h, i))) break t;
((t[r] = h), (t[a] = i), (r = a));
}
}
}
@@ -53,103 +53,103 @@
return o.now() - _;
};
}
var h = [],
a = [],
var a = [],
h = [],
c = 1,
f = null,
l = 3,
l = null,
f = 3,
v = !1,
w = !1,
d = !1,
m = "function" == typeof setTimeout ? setTimeout : null,
p = "function" == typeof clearTimeout ? clearTimeout : null,
g = "undefined" != typeof setImmediate ? setImmediate : null;
p = !1,
d = "function" == typeof setTimeout ? setTimeout : null,
g = "function" == typeof clearTimeout ? clearTimeout : null,
m = "undefined" != typeof setImmediate ? setImmediate : null;
function y(t) {
for (var n = r(a); null !== n;) {
if (null === n.callback) e(a);
for (var n = r(h); null !== n;) {
if (null === n.callback) e(h);
else {
if (!(n.startTime <= t)) break;
(e(a), (n.sortIndex = n.expirationTime), i(h, n));
(e(h), (n.sortIndex = n.expirationTime), i(a, n));
}
n = r(a);
n = r(h);
}
}
function k(t) {
if (((d = !1), y(t), !w))
if (null !== r(h)) ((w = !0), A(b));
if (((p = !1), y(t), !w))
if (null !== r(a)) ((w = !0), A(b));
else {
var n = r(a);
var n = r(h);
null !== n && R(k, n.startTime - t);
}
}
function b(t, i) {
((w = !1), d && ((d = !1), p(z), (z = -1)), (v = !0));
var u = l;
((w = !1), p && ((p = !1), g(x), (x = -1)), (v = !0));
var u = f;
try {
for (y(i), f = r(h); null !== f && (!(f.expirationTime > i) || (t && !C()));) {
var s = f.callback;
for (y(i), l = r(a); null !== l && (!(l.expirationTime > i) || (t && !C()));) {
var s = l.callback;
if ("function" == typeof s) {
((f.callback = null), (l = f.priorityLevel));
var o = s(f.expirationTime <= i);
((i = n.unstable_now()), "function" == typeof o ? (f.callback = o) : f === r(h) && e(h), y(i));
} else e(h);
f = r(h);
((l.callback = null), (f = l.priorityLevel));
var o = s(l.expirationTime <= i);
((i = n.unstable_now()), "function" == typeof o ? (l.callback = o) : l === r(a) && e(a), y(i));
} else e(a);
l = r(a);
}
if (null !== f) var _ = !0;
if (null !== l) var _ = !0;
else {
var c = r(a);
var c = r(h);
(null !== c && R(k, c.startTime - i), (_ = !1));
}
return _;
} finally {
((f = null), (l = u), (v = !1));
((l = null), (f = u), (v = !1));
}
}
"undefined" != typeof navigator &&
void 0 !== navigator.scheduling &&
void 0 !== navigator.scheduling.isInputPending &&
navigator.scheduling.isInputPending.bind(navigator.scheduling);
var j,
var q,
$ = !1,
q = null,
z = -1,
x = 5,
j = null,
x = -1,
z = 5,
S = -1;
function C() {
return !(n.unstable_now() - S < x);
return !(n.unstable_now() - S < z);
}
function E() {
if (null !== q) {
if (null !== j) {
var t = n.unstable_now();
S = t;
var i = !0;
try {
i = q(!0, t);
i = j(!0, t);
} finally {
i ? j() : (($ = !1), (q = null));
i ? q() : (($ = !1), (j = null));
}
} else $ = !1;
}
if ("function" == typeof g)
j = function () {
g(E);
if ("function" == typeof m)
q = function () {
m(E);
};
else if ("undefined" != typeof MessageChannel) {
var T = new MessageChannel(),
I = T.port2;
((T.port1.onmessage = E),
(j = function () {
(q = function () {
I.postMessage(null);
}));
} else
j = function () {
m(E, 0);
q = function () {
d(E, 0);
};
function A(t) {
((q = t), $ || (($ = !0), j()));
((j = t), $ || (($ = !0), q()));
}
function R(t, i) {
z = m(function () {
x = d(function () {
t(n.unstable_now());
}, i);
}
@@ -170,30 +170,30 @@
? console.error(
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported",
)
: (x = 0 < t ? Math.floor(1e3 / t) : 5);
: (z = 0 < t ? Math.floor(1e3 / t) : 5);
}),
(n.unstable_getCurrentPriorityLevel = function () {
return l;
return f;
}),
(n.unstable_getFirstCallbackNode = function () {
return r(h);
return r(a);
}),
(n.unstable_next = function (t) {
switch (l) {
switch (f) {
case 1:
case 2:
case 3:
var n = 3;
break;
default:
n = l;
n = f;
}
var i = l;
l = n;
var i = f;
f = n;
try {
return t();
} finally {
l = i;
f = i;
}
}),
(n.unstable_pauseExecution = function () {}),
@@ -209,12 +209,12 @@
default:
t = 3;
}
var i = l;
l = t;
var i = f;
f = t;
try {
return n();
} finally {
l = i;
f = i;
}
}),
(n.unstable_scheduleCallback = function (t, e, u) {
@@ -248,22 +248,22 @@
}),
u > s
? ((t.sortIndex = u),
i(a, t),
null === r(h) && t === r(a) && (d ? (p(z), (z = -1)) : (d = !0), R(k, u - s)))
: ((t.sortIndex = o), i(h, t), w || v || ((w = !0), A(b))),
i(h, t),
null === r(a) && t === r(h) && (p ? (g(x), (x = -1)) : (p = !0), R(k, u - s)))
: ((t.sortIndex = o), i(a, t), w || v || ((w = !0), A(b))),
t
);
}),
(n.unstable_shouldYield = C),
(n.unstable_wrapCallback = function (t) {
var n = l;
var n = f;
return function () {
var i = l;
l = n;
var i = f;
f = n;
try {
return t.apply(this, arguments);
} finally {
l = i;
f = i;
}
};
}));
File diff suppressed because it is too large. Load diff
@@ -8,16 +8,16 @@
s = i(64280),
o = i(51233),
_ = i(42920),
h = i(77672),
a = i(70298),
a = i(77672),
h = i(70298),
c = i(55520),
f = i(51887),
l = i(90225),
l = i(51887),
f = i(90225),
v = i(31620),
w = i(75453);
function d(t, n, i) {
function p(t, n, i) {
const r = t.size,
e = l.getEncodedBits(n, i);
e = f.getEncodedBits(n, i);
let u, s;
for (u = 0; u < 15; u++)
((s = 1 == ((e >> u) & 1)),
@@ -29,69 +29,69 @@
: t.set(8, 15 - u - 1, s, !0));
t.set(r - 8, 8, 1, !0);
}
function m(t, n, i, e) {
let l;
if (Array.isArray(t)) l = w.fromArray(t);
function d(t, n, i, e) {
let f;
if (Array.isArray(t)) f = w.fromArray(t);
else {
if ("string" != typeof t) throw new Error("Invalid data");
{
let r = n;
if (!r) {
const n = w.rawSplit(t);
r = f.getBestVersionForData(n, i);
r = l.getBestVersionForData(n, i);
}
l = w.fromString(t, r || 40);
f = w.fromString(t, r || 40);
}
}
const m = f.getBestVersionForData(l, i);
if (!m) throw new Error("The amount of data is too big to be stored in a QR Code");
const d = l.getBestVersionForData(f, i);
if (!d) throw new Error("The amount of data is too big to be stored in a QR Code");
if (n) {
if (n < m)
if (n < d)
throw new Error(
"\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: " +
m +
d +
".\n",
);
} else n = m;
const p = (function (t, n, i) {
} else n = d;
const g = (function (t, n, i) {
const e = new u();
i.forEach(function (n) {
(e.put(n.mode.bit, 4), e.put(n.getLength(), v.getCharCountIndicator(n.mode, t)), n.write(e));
});
const s = 8 * (r.getSymbolTotalCodewords(t) - a.getTotalCodewordsCount(t, n));
const s = 8 * (r.getSymbolTotalCodewords(t) - h.getTotalCodewordsCount(t, n));
for (e.getLengthInBits() + 4 <= s && e.put(0, 4); e.getLengthInBits() % 8 != 0;) e.putBit(0);
const o = (s - e.getLengthInBits()) / 8;
for (let t = 0; t < o; t++) e.put(t % 2 ? 17 : 236, 8);
return (function (t, n, i) {
const e = r.getSymbolTotalCodewords(n),
u = e - a.getTotalCodewordsCount(n, i),
s = a.getBlocksCount(n, i),
u = e - h.getTotalCodewordsCount(n, i),
s = h.getBlocksCount(n, i),
o = s - (e % s),
_ = Math.floor(e / s),
h = Math.floor(u / s),
f = h + 1,
l = _ - h,
v = new c(l);
a = Math.floor(u / s),
l = a + 1,
f = _ - a,
v = new c(f);
let w = 0;
const d = new Array(s),
m = new Array(s);
let p = 0;
const g = new Uint8Array(t.buffer);
const p = new Array(s),
d = new Array(s);
let g = 0;
const m = new Uint8Array(t.buffer);
for (let t = 0; t < s; t++) {
const n = t < o ? h : f;
((d[t] = g.slice(w, w + n)), (m[t] = v.encode(d[t])), (w += n), (p = Math.max(p, n)));
const n = t < o ? a : l;
((p[t] = m.slice(w, w + n)), (d[t] = v.encode(p[t])), (w += n), (g = Math.max(g, n)));
}
const y = new Uint8Array(e);
let k,
b,
j = 0;
for (k = 0; k < p; k++) for (b = 0; b < s; b++) k < d[b].length && (y[j++] = d[b][k]);
for (k = 0; k < l; k++) for (b = 0; b < s; b++) y[j++] = m[b][k];
q = 0;
for (k = 0; k < g; k++) for (b = 0; b < s; b++) k < p[b].length && (y[q++] = p[b][k]);
for (k = 0; k < f; k++) for (b = 0; b < s; b++) y[q++] = d[b][k];
return y;
})(e, t, n);
})(n, i, l),
g = r.getSymbolSize(n),
y = new s(g);
})(n, i, f),
m = r.getSymbolSize(n),
y = new s(m);
return (
(function (t, n) {
const i = t.size,
@@ -130,11 +130,11 @@
: t.set(r + n, e + i, !1, !0);
}
})(y, n),
d(y, i, 0),
p(y, i, 0),
n >= 7 &&
(function (t, n) {
const i = t.size,
r = f.getEncodedBits(n);
r = l.getEncodedBits(n);
let e, u, s;
for (let n = 0; n < 18; n++)
((e = Math.floor(n / 3)),
@@ -164,11 +164,11 @@
break;
}
}
})(y, p),
isNaN(e) && (e = h.getBestMask(y, d.bind(null, y, i))),
h.applyMask(e, y),
d(y, i, e),
{ modules: y, version: n, errorCorrectionLevel: i, maskPattern: e, segments: l }
})(y, g),
isNaN(e) && (e = a.getBestMask(y, p.bind(null, y, i))),
a.applyMask(e, y),
p(y, i, e),
{ modules: y, version: n, errorCorrectionLevel: i, maskPattern: e, segments: f }
);
}
n.create = function (t, n) {
@@ -179,10 +179,10 @@
return (
void 0 !== n &&
((s = e.from(n.errorCorrectionLevel, e.M)),
(i = f.from(n.version)),
(u = h.from(n.maskPattern)),
(i = l.from(n.version)),
(u = a.from(n.maskPattern)),
n.toSJISFunc && r.setToSJISFunction(n.toSJISFunc)),
m(t, i, s, u)
d(t, i, s, u)
);
};
};
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -9,31 +9,31 @@
s,
o,
_,
h,
a = n.$_$.ge,
a,
h = n.$_$.ge,
c = n.$_$.o1,
f = n.$_$.h5,
l = n.$_$.vj,
l = n.$_$.h5,
f = n.$_$.vj,
v = n.$_$.fd,
w = i.$_$.f,
d = n.$_$.mf,
m = r.$_$.s1,
p = n.$_$.qf,
g = n.$_$.cd,
p = n.$_$.mf,
d = r.$_$.s1,
g = n.$_$.qf,
m = n.$_$.cd,
y = i.$_$.b,
k = i.$_$.r,
b = i.$_$.e,
j = n.$_$.lj,
q = n.$_$.lj,
$ = n.$_$.c,
q = n.$_$.fe;
function z() {}
j = n.$_$.fe;
function x() {}
function z() {}
function S() {
this.d1w4_1 = new m(d(w), null);
this.c1wf_1 = new d(p(w), null);
}
function C() {
if (h) return f;
((h = !0),
if (a) return l;
((a = !0),
(e = new E("x10", 0)),
(u = new E("x15", 1)),
(s = new E("x20", 2)),
@@ -41,28 +41,28 @@
(_ = new E("x30", 4)));
}
function E(t, n) {
j.call(this, t, n);
q.call(this, t, n);
}
function T() {
return ((t = q(a(I))), I.call(t), t);
return ((t = j(h(I))), I.call(t), t);
var t;
}
function I() {
((this.x1w3_1 = 0),
(this.y1w3_1 = 0),
(this.z1w3_1 = 0),
(this.a1w4_1 = 0),
(this.b1w4_1 = 0),
(this.c1w4_1 = 0));
((this.w1we_1 = 0),
(this.x1we_1 = 0),
(this.y1we_1 = 0),
(this.z1we_1 = 0),
(this.a1wf_1 = 0),
(this.b1wf_1 = 0));
}
(v(z, "", z),
v(x, "", x),
(v(x, "", x),
v(z, "", z),
v(S, "", S),
v(E, "", $, j),
v(E, "", $, q),
v(I, "", T),
(a(z).e7g = function (t) {}),
(a(z).d7g = function (t) {
var n = t.o7f_1.i2u();
(h(x).q7g = function (t) {}),
(h(x).p7g = function (t) {
var n = t.a7g_1.p2u();
switch (n) {
case 0:
return (C(), e);
@@ -77,78 +77,78 @@
}
throw c("Enum item not found for code " + n);
}),
(a(z).c7g = function (t, n) {
(h(x).o7g = function (t, n) {
if (null == n) throw c("Object is null. Use @ProtocolOptional annotation.");
n instanceof E || l();
n instanceof E || f();
var i = n.k3_1;
t.o7f_1.d2u(i);
t.a7g_1.k2u(i);
}),
(a(x).e7g = function (t) {}),
(a(x).d7g = function (t) {
(h(z).q7g = function (t) {}),
(h(z).p7g = function (t) {
var n = T();
return (
(n.x1w3_1 = t.o7f_1.k2u()),
(n.y1w3_1 = t.o7f_1.i2u()),
(n.z1w3_1 = t.o7f_1.i2u()),
(n.a1w4_1 = t.o7f_1.i2u()),
(n.b1w4_1 = t.o7f_1.i2u()),
(n.c1w4_1 = t.o7f_1.h2u()),
(n.w1we_1 = t.a7g_1.r2u()),
(n.x1we_1 = t.a7g_1.p2u()),
(n.y1we_1 = t.a7g_1.p2u()),
(n.z1we_1 = t.a7g_1.p2u()),
(n.a1wf_1 = t.a7g_1.p2u()),
(n.b1wf_1 = t.a7g_1.o2u()),
n
);
}),
(a(x).c7g = function (t, n) {
(h(z).o7g = function (t, n) {
if (null == n) throw c("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof I ? n : l();
(t.o7f_1.e2u(i.x1w3_1),
t.o7f_1.d2u(i.y1w3_1),
t.o7f_1.d2u(i.z1w3_1),
t.o7f_1.d2u(i.a1w4_1),
t.o7f_1.d2u(i.b1w4_1),
t.o7f_1.c2u(i.c1w4_1));
var i = n instanceof I ? n : f();
(t.a7g_1.l2u(i.w1we_1),
t.a7g_1.k2u(i.x1we_1),
t.a7g_1.k2u(i.y1we_1),
t.a7g_1.k2u(i.z1we_1),
t.a7g_1.k2u(i.a1wf_1),
t.a7g_1.j2u(i.b1wf_1));
}),
(a(S).g80 = function () {
var t = p;
return this.d1w4_1.i2c(
(h(S).s80 = function () {
var t = g;
return this.c1wf_1.e2b(
this,
g(
m(
"protocol",
1,
t,
function (t) {
return t.g80();
return t.s80();
},
null,
),
);
}),
(a(S).h80 = function () {
(h(S).t80 = function () {
var t;
((t = new z()),
this.g80().z7e(new y(d(E), !1), t),
this.g80().z7e(new y(d(E), !0), k(t)),
(t = new x()),
this.g80().z7e(new b(d(I), !1), t),
this.g80().z7e(new b(d(I), !0), k(t)));
((t = new x()),
this.s80().l7f(new y(p(E), !1), t),
this.s80().l7f(new y(p(E), !0), k(t)),
(t = new z()),
this.s80().l7f(new b(p(I), !1), t),
this.s80().l7f(new b(p(I), !0), k(t)));
}),
(a(I).toString = function () {
(h(I).toString = function () {
var t = "ResourceImageFrameParams [";
return (
(t =
(t =
(t =
(t =
(t = (t = t + "fps = " + this.x1w3_1 + " ") + "frameHeight = " + this.y1w3_1 + " ") +
(t = (t = t + "fps = " + this.w1we_1 + " ") + "frameHeight = " + this.x1we_1 + " ") +
"frameWidth = " +
this.z1w3_1 +
this.y1we_1 +
" ") +
"imageHeight = " +
this.a1w4_1 +
this.z1we_1 +
" ") +
"imageWidth = " +
this.b1w4_1 +
this.a1wf_1 +
" ") +
"numFrames = " +
this.c1w4_1 +
this.b1wf_1 +
" ") + "]"
);
}),
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -9,130 +9,130 @@
s = n.Component,
o = n.Fragment,
_ = n.isValidElement,
h = n.forwardRef,
a = i.$_$.ge,
a = n.forwardRef,
h = i.$_$.ge,
c = i.$_$.h5,
f = i.$_$.a7,
l = i.$_$.c,
l = i.$_$.a7,
f = i.$_$.c,
v = r.$_$.d,
w = i.$_$.x5,
d = i.$_$.id,
m = i.$_$.m,
p = i.$_$.fd,
g = i.$_$.n7;
p = i.$_$.id,
d = i.$_$.m,
g = i.$_$.fd,
m = i.$_$.n7;
function y(t, n, i) {
if (null == i) return (this.qam(e(t, n)), c);
if (null == i) return (this.can(e(t, n)), c);
var r = new $(n);
i(r);
var u = r.pam(),
s = f(u);
this.qam(e.apply(null, [t, n].concat([].slice.call(s.slice()))));
var u = r.ban(),
s = l(u);
this.can(e.apply(null, [t, n].concat([].slice.call(s.slice()))));
}
function k() {}
function b() {}
function j() {
this.can_1 = m();
function q() {
this.oan_1 = d();
}
function $(t) {
(j.call(this), (this.ean_1 = t));
(q.call(this), (this.qan_1 = t));
}
function q() {}
function z(t) {
var n = new j();
function j() {}
function x(t) {
var n = new q();
t(n);
var i,
r = n.pam();
r = n.ban();
if (0 === r.e1()) i = null;
else if (1 === r.e1() && _(g(r))) i = g(r);
else if (1 === r.e1() && _(m(r))) i = m(r);
else {
var u = o,
s = f(r);
i = e.apply(null, [u, l].concat([].slice.call(s.slice())));
s = l(r);
i = e.apply(null, [u, f].concat([].slice.call(s.slice())));
}
return i;
}
(d(k, "RBuilder"),
d(b, "RElementBuilder", l, l, [k]),
p(j, "RBuilderImpl", j, l, [k]),
p($, "RElementBuilderImpl", l, j, [b, j]),
p(q, "RComponent", l, s),
(a(j).pam = function () {
return this.can_1;
(p(k, "RBuilder"),
p(b, "RElementBuilder", f, f, [k]),
g(q, "RBuilderImpl", q, f, [k]),
g($, "RElementBuilderImpl", f, q, [b, q]),
g(j, "RComponent", f, s),
(h(q).ban = function () {
return this.oan_1;
}),
(a($).yam = function () {
return this.ean_1;
(h($).kan = function () {
return this.qan_1;
}),
(a(q).fan = function (t) {}),
(a(q).gan = function (t, n) {}),
(a(q).ian = function () {
return z(
(h(j).ran = function (t) {}),
(h(j).san = function (t, n) {}),
(h(j).uan = function () {
return x(
((t = this),
function (n) {
return (t.han(n), c);
return (t.tan(n), c);
}),
);
var t;
}),
(a(q).render = function () {
return this.ian();
(h(j).render = function () {
return this.uan();
}),
(a(j).qam = function (t) {
this.pam().y(t);
(h(q).can = function (t) {
this.ban().y(t);
}),
(a(j).sam = y),
(a(j).tam = function (t, n, i, r) {
(h(q).ean = y),
(h(q).fan = function (t, n, i, r) {
var e;
return (
(n = n === l ? {} : n),
(i = i === l ? null : i),
r === l ? (this.sam(t, n, i), (e = c)) : (y(t, n, i), (e = c)),
(n = n === f ? {} : n),
(i = i === f ? null : i),
r === f ? (this.ean(t, n, i), (e = c)) : (y(t, n, i), (e = c)),
e
);
}),
(a(j).wam = function (t, n) {
this.vam(v(t), n);
(h(q).ian = function (t, n) {
this.han(v(t), n);
}),
(a(j).ram = function (t) {
this.qam(t);
(h(q).dan = function (t) {
this.can(t);
}),
(a(j).uam = function (t) {
this.qam(e(t));
(h(q).gan = function (t) {
this.can(e(t));
}),
(a(j).vam = function (t, n) {
this.tam(t, l, n);
(h(q).han = function (t, n) {
this.fan(t, f, n);
}),
(a(j).xam = function (t) {
w(this.pam(), u.toArray(t.children));
(h(q).jan = function (t) {
w(this.ban(), u.toArray(t.children));
}),
(a($).zam = function (t) {
t(this.yam());
(h($).lan = function (t) {
t(this.kan());
}),
(a($).aan = function (t) {
this.yam().key = t;
(h($).man = function (t) {
this.kan().key = t;
}),
(a($).ban = function (t) {
this.yam().ref = t;
(h($).nan = function (t) {
this.kan().ref = t;
}),
(t.$_$ = t.$_$ || {}),
(t.$_$.a = function (t) {
(s.call(t), q.call(t));
(s.call(t), j.call(t));
var n = {};
return (t.fan(n), (t.state = n), t);
return (t.ran(n), (t.state = n), t);
}),
(t.$_$.b = function (t, n) {
(s.call(n, t), q.call(n));
(s.call(n, t), j.call(n));
var i = {};
return (n.gan(i, t), (n.state = i), n);
return (n.san(i, t), (n.state = i), n);
}),
(t.$_$.c = j),
(t.$_$.c = q),
(t.$_$.d = k),
(t.$_$.e = q),
(t.$_$.f = z),
(t.$_$.e = j),
(t.$_$.f = x),
(t.$_$.g = function (t) {
return h(
return a(
((n = t),
function (t, i) {
return z(
return x(
(function (t, n, i) {
return function (r) {
return (t(r, n, i), c);
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -5,28 +5,28 @@
"use strict";
n.A = function (t, n, i, s) {
if ("string" == typeof n && o.hasOwnProperty(t)) {
var h = (function (t, n) {
var a = (function (t, n) {
if ((0, e.default)(t)) return t;
for (var i = t.split(/,(?![^()]*(?:\([^()]*\))?\))/g), u = 0, s = i.length; u < s; ++u) {
var o = i[u],
h = [o];
for (var a in n) {
var c = (0, r.default)(a);
a = [o];
for (var h in n) {
var c = (0, r.default)(h);
if (o.indexOf(c) > -1 && "order" !== c)
for (var f = n[a], l = 0, v = f.length; l < v; ++l) h.unshift(o.replace(c, _[f[l]] + c));
for (var l = n[h], f = 0, v = l.length; f < v; ++f) a.unshift(o.replace(c, _[l[f]] + c));
}
i[u] = h.join(",");
i[u] = a.join(",");
}
return i.join(",");
})(n, s),
a = h
h = a
.split(/,(?![^()]*(?:\([^()]*\))?\))/g)
.filter(function (t) {
return !/-moz-|-ms-/.test(t);
})
.join(",");
if (t.indexOf("Webkit") > -1) return a;
var c = h
if (t.indexOf("Webkit") > -1) return h;
var c = a
.split(/,(?![^()]*(?:\([^()]*\))?\))/g)
.filter(function (t) {
return !/-webkit-|-ms-/.test(t);
@@ -34,7 +34,7 @@
.join(",");
return t.indexOf("Moz") > -1
? c
: ((i["Webkit" + (0, u.default)(t)] = a), (i["Moz" + (0, u.default)(t)] = c), h);
: ((i["Webkit" + (0, u.default)(t)] = h), (i["Moz" + (0, u.default)(t)] = c), a);
}
};
var r = s(i(58309)),
+181 -181
View File
@@ -10,67 +10,67 @@
s,
o = Math.imul,
_ = n.$_$.c,
h = n.$_$.ge,
a = n.$_$.fe,
a = n.$_$.ge,
h = n.$_$.fe,
c = n.$_$.gd,
f = i.$_$.u,
l = n.$_$.le,
l = i.$_$.u,
f = n.$_$.le,
v = n.$_$.h5,
w = n.$_$.xe,
d = n.$_$.ni,
m = n.$_$.bd,
p = n.$_$.wc,
g = n.$_$.fd,
p = n.$_$.ni,
d = n.$_$.bd,
g = n.$_$.wc,
m = n.$_$.fd,
y = i.$_$.q,
k = n.$_$.de,
b = n.$_$.l8;
function j(t) {
function q(t) {
return (function (t, n) {
return ((t = t === _ ? 0 : t), C.call(n, E(t), T(t), I(t), A(t)), n);
})(t, a(h(C)));
})(t, h(a(C)));
}
function $(t, n) {
return (function (t, n, i) {
return (C.call(i, E(t), T(t), I(t), n / 255), i);
})(t, n, a(h(C)));
})(t, n, h(a(C)));
}
function q(t, n, i, r) {
function j(t, n, i, r) {
return (function (t, n, i, r, e) {
return ((r = r === _ ? 255 : r), C.call(e, t / 255, n / 255, i / 255, r / 255), e);
})(t, n, i, r, a(h(C)));
}
function z() {
((r = this),
(this.g2q_1 = new C(1, 0, 0, 1)),
(this.h2q_1 = this.b2r(15634576)),
(this.i2q_1 = q(128, 0, 0)),
(this.j2q_1 = new C(0, 1, 0, 1)),
(this.k2q_1 = q(0, 128, 0)),
(this.l2q_1 = this.b2r(9498256)),
(this.m2q_1 = new C(0, 0, 1, 1)),
(this.n2q_1 = this.b2r(5749247)),
(this.o2q_1 = q(0, 0, 128)),
(this.p2q_1 = new C(1, 1, 1, 1)),
(this.q2q_1 = new C(0, 1, 1, 1)),
(this.r2q_1 = new C(1, 1, 0, 1)),
(this.s2q_1 = new C(1, 0, 1, 1)),
(this.t2q_1 = new C(0, 0, 0, 1)),
(this.u2q_1 = $(8421504, 255)),
(this.v2q_1 = $(4210752, 255)),
(this.w2q_1 = $(10526880, 255)),
(this.x2q_1 = q(198, 174, 122)),
(this.y2q_1 = q(255, 232, 181)),
(this.z2q_1 = q(76, 67, 47)),
(this.a2r_1 = new C(0, 0, 0, 0)));
})(t, n, i, r, h(a(C)));
}
function x() {
return (null == r && new z(), r);
((r = this),
(this.n2q_1 = new C(1, 0, 0, 1)),
(this.o2q_1 = this.i2r(15634576)),
(this.p2q_1 = j(128, 0, 0)),
(this.q2q_1 = new C(0, 1, 0, 1)),
(this.r2q_1 = j(0, 128, 0)),
(this.s2q_1 = this.i2r(9498256)),
(this.t2q_1 = new C(0, 0, 1, 1)),
(this.u2q_1 = this.i2r(5749247)),
(this.v2q_1 = j(0, 0, 128)),
(this.w2q_1 = new C(1, 1, 1, 1)),
(this.x2q_1 = new C(0, 1, 1, 1)),
(this.y2q_1 = new C(1, 1, 0, 1)),
(this.z2q_1 = new C(1, 0, 1, 1)),
(this.a2r_1 = new C(0, 0, 0, 1)),
(this.b2r_1 = $(8421504, 255)),
(this.c2r_1 = $(4210752, 255)),
(this.d2r_1 = $(10526880, 255)),
(this.e2r_1 = j(198, 174, 122)),
(this.f2r_1 = j(255, 232, 181)),
(this.g2r_1 = j(76, 67, 47)),
(this.h2r_1 = new C(0, 0, 0, 0)));
}
function z() {
return (null == r && new x(), r);
}
function S(t) {
return 1 === t.length ? "0" + t : t;
}
function C(t, n, i, r) {
(x(), (r = r === _ ? 1 : r), (this.c2r_1 = t), (this.d2r_1 = n), (this.e2r_1 = i), (this.f2r_1 = r));
(z(), (r = r === _ ? 1 : r), (this.j2r_1 = t), (this.k2r_1 = n), (this.l2r_1 = i), (this.m2r_1 = r));
}
function E(t) {
return N(t) / 255;
@@ -89,9 +89,9 @@
((t = t === _ ? 0 : t),
(n = n === _ ? 1 : n),
(i = i === _ ? 1 : i),
(this.d2s_1 = t),
(this.e2s_1 = n),
(this.f2s_1 = i));
(this.k2s_1 = t),
(this.l2s_1 = n),
(this.m2s_1 = i));
}
function N(t) {
return (t >> 16) & 255;
@@ -116,232 +116,232 @@
function B(t, n) {
((t = t === _ ? new C(1, 1, 1, 1) : t),
(n = n === _ ? new C(0, 0, 0, 0) : n),
(this.i2s_1 = t),
(this.j2s_1 = n));
(this.p2s_1 = t),
(this.q2s_1 = n));
}
(c(z),
g(C, "", j),
(c(x),
m(C, "", q),
c(R),
g(P, "", P),
g(B, "", B),
(h(z).b2r = function (t) {
m(P, "", P),
m(B, "", B),
(a(x).i2r = function (t) {
return $(t, 255);
}),
(h(C).w2 = function () {
return L(this.c2r_1, this.d2r_1, this.e2r_1, this.f2r_1);
(a(C).w2 = function () {
return L(this.j2r_1, this.k2r_1, this.l2r_1, this.m2r_1);
}),
(h(C).g2r = function (t) {
this.c2r_1 = f(t, 0, 255) / 255;
(a(C).n2r = function (t) {
this.j2r_1 = l(t, 0, 255) / 255;
}),
(h(C).h2r = function () {
var t = 255 * this.c2r_1;
return l(t);
(a(C).o2r = function () {
var t = 255 * this.j2r_1;
return f(t);
}),
(h(C).i2r = function (t) {
this.d2r_1 = f(t, 0, 255) / 255;
(a(C).p2r = function (t) {
this.k2r_1 = l(t, 0, 255) / 255;
}),
(h(C).j2r = function () {
var t = 255 * this.d2r_1;
return l(t);
(a(C).q2r = function () {
var t = 255 * this.k2r_1;
return f(t);
}),
(h(C).k2r = function (t) {
this.e2r_1 = f(t, 0, 255) / 255;
(a(C).r2r = function (t) {
this.l2r_1 = l(t, 0, 255) / 255;
}),
(h(C).l2r = function () {
var t = 255 * this.e2r_1;
return l(t);
(a(C).s2r = function () {
var t = 255 * this.l2r_1;
return f(t);
}),
(h(C).m2r = function () {
var t = 255 * this.f2r_1;
return l(t);
(a(C).t2r = function () {
var t = 255 * this.m2r_1;
return f(t);
}),
(h(C).j29 = function (t, n, i, r) {
((this.c2r_1 = t), (this.d2r_1 = n), (this.e2r_1 = i), (this.f2r_1 = r));
(a(C).k29 = function (t, n, i, r) {
((this.j2r_1 = t), (this.k2r_1 = n), (this.l2r_1 = i), (this.m2r_1 = r));
}),
(h(C).n2r = function (t, n, i, r, e) {
(a(C).u2r = function (t, n, i, r, e) {
var u;
return (
(r = r === _ ? 1 : r),
e === _ ? (this.j29(t, n, i, r), (u = v)) : (u = e.j29.call(this, t, n, i, r)),
e === _ ? (this.k29(t, n, i, r), (u = v)) : (u = e.k29.call(this, t, n, i, r)),
u
);
}),
(h(C).o2r = function (t, n) {
this.j29(E(t), T(t), I(t), n / 255);
(a(C).v2r = function (t, n) {
this.k29(E(t), T(t), I(t), n / 255);
}),
(h(C).p2r = function (t, n, i) {
(a(C).w2r = function (t, n, i) {
var r;
return (
(n = n === _ ? 255 : n),
i === _ ? (this.o2r(t, n), (r = v)) : (r = i.o2r.call(this, t, n)),
i === _ ? (this.v2r(t, n), (r = v)) : (r = i.v2r.call(this, t, n)),
r
);
}),
(h(C).q2r = function (t) {
this.j29(t.c2r_1, t.d2r_1, t.e2r_1, t.f2r_1);
(a(C).x2r = function (t) {
this.k29(t.j2r_1, t.k2r_1, t.l2r_1, t.m2r_1);
}),
(h(C).r2r = function (t) {
((this.c2r_1 = this.c2r_1 * t.c2r_1),
(this.d2r_1 = this.d2r_1 * t.d2r_1),
(this.e2r_1 = this.e2r_1 * t.e2r_1),
(this.f2r_1 = this.f2r_1 * t.f2r_1));
(a(C).y2r = function (t) {
((this.j2r_1 = this.j2r_1 * t.j2r_1),
(this.k2r_1 = this.k2r_1 * t.k2r_1),
(this.l2r_1 = this.l2r_1 * t.l2r_1),
(this.m2r_1 = this.m2r_1 * t.m2r_1));
}),
(h(C).s2r = function (t) {
((this.c2r_1 = this.c2r_1 * t), (this.d2r_1 = this.d2r_1 * t), (this.e2r_1 = this.e2r_1 * t));
(a(C).z2r = function (t) {
((this.j2r_1 = this.j2r_1 * t), (this.k2r_1 = this.k2r_1 * t), (this.l2r_1 = this.l2r_1 * t));
}),
(h(C).t2r = function (t, n, i) {
var r = t.c2r_1;
this.c2r_1 = r + (n.c2r_1 - r) * i;
var e = t.d2r_1;
this.d2r_1 = e + (n.d2r_1 - e) * i;
var u = t.e2r_1;
this.e2r_1 = u + (n.e2r_1 - u) * i;
var s = t.f2r_1;
this.f2r_1 = s + (n.f2r_1 - s) * i;
(a(C).a2s = function (t, n, i) {
var r = t.j2r_1;
this.j2r_1 = r + (n.j2r_1 - r) * i;
var e = t.k2r_1;
this.k2r_1 = e + (n.k2r_1 - e) * i;
var u = t.l2r_1;
this.l2r_1 = u + (n.l2r_1 - u) * i;
var s = t.m2r_1;
this.m2r_1 = s + (n.m2r_1 - s) * i;
}),
(h(C).u2r = function (t, n, i) {
(a(C).b2s = function (t, n, i) {
var r = E(t);
this.c2r_1 = r + (E(n) - r) * i;
this.j2r_1 = r + (E(n) - r) * i;
var e = T(t);
this.d2r_1 = e + (T(n) - e) * i;
this.k2r_1 = e + (T(n) - e) * i;
var u = I(t);
this.e2r_1 = u + (I(n) - u) * i;
this.l2r_1 = u + (I(n) - u) * i;
}),
(h(C).v2r = function (t, n) {
(a(C).c2s = function (t, n) {
var i = w(n, 0, 1);
((this.c2r_1 = this.c2r_1 + (t.c2r_1 - this.c2r_1) * i),
(this.d2r_1 = this.d2r_1 + (t.d2r_1 - this.d2r_1) * i),
(this.e2r_1 = this.e2r_1 + (t.e2r_1 - this.e2r_1) * i),
(this.f2r_1 = this.f2r_1 + (t.f2r_1 - this.f2r_1) * i));
((this.j2r_1 = this.j2r_1 + (t.j2r_1 - this.j2r_1) * i),
(this.k2r_1 = this.k2r_1 + (t.k2r_1 - this.k2r_1) * i),
(this.l2r_1 = this.l2r_1 + (t.l2r_1 - this.l2r_1) * i),
(this.m2r_1 = this.m2r_1 + (t.m2r_1 - this.m2r_1) * i));
}),
(h(C).w2r = function (t, n) {
(a(C).d2s = function (t, n) {
var i = w(n, 0, 1);
((this.c2r_1 = this.c2r_1 + (t.c2r_1 - this.c2r_1) * i),
(this.d2r_1 = this.d2r_1 + (t.d2r_1 - this.d2r_1) * i),
(this.e2r_1 = this.e2r_1 + (t.e2r_1 - this.e2r_1) * i));
((this.j2r_1 = this.j2r_1 + (t.j2r_1 - this.j2r_1) * i),
(this.k2r_1 = this.k2r_1 + (t.k2r_1 - this.k2r_1) * i),
(this.l2r_1 = this.l2r_1 + (t.l2r_1 - this.l2r_1) * i));
}),
(h(C).x2r = function () {
return S(d(this.m2r(), 16)) + S(d(this.h2r(), 16)) + S(d(this.j2r(), 16)) + S(d(this.l2r(), 16));
(a(C).e2s = function () {
return S(p(this.t2r(), 16)) + S(p(this.o2r(), 16)) + S(p(this.q2r(), 16)) + S(p(this.s2r(), 16));
}),
(h(C).y2r = function (t, n, i, r) {
(a(C).f2s = function (t, n, i, r) {
return new C(t, n, i, r);
}),
(h(C).z2r = function (t, n, i, r, e) {
(a(C).g2s = function (t, n, i, r, e) {
return (
(t = t === _ ? this.c2r_1 : t),
(n = n === _ ? this.d2r_1 : n),
(i = i === _ ? this.e2r_1 : i),
(r = r === _ ? this.f2r_1 : r),
e === _ ? this.y2r(t, n, i, r) : e.y2r.call(this, t, n, i, r)
(t = t === _ ? this.j2r_1 : t),
(n = n === _ ? this.k2r_1 : n),
(i = i === _ ? this.l2r_1 : i),
(r = r === _ ? this.m2r_1 : r),
e === _ ? this.f2s(t, n, i, r) : e.f2s.call(this, t, n, i, r)
);
}),
(h(C).toString = function () {
(a(C).toString = function () {
return (
"Color(r=" + this.c2r_1 + ", g=" + this.d2r_1 + ", b=" + this.e2r_1 + ", a=" + this.f2r_1 + ")"
"Color(r=" + this.j2r_1 + ", g=" + this.k2r_1 + ", b=" + this.l2r_1 + ", a=" + this.m2r_1 + ")"
);
}),
(h(C).hashCode = function () {
var t = m(this.c2r_1);
(a(C).hashCode = function () {
var t = d(this.j2r_1);
return (
(t = (o(t, 31) + m(this.d2r_1)) | 0),
(t = (o(t, 31) + m(this.e2r_1)) | 0),
(o(t, 31) + m(this.f2r_1)) | 0
(t = (o(t, 31) + d(this.k2r_1)) | 0),
(t = (o(t, 31) + d(this.l2r_1)) | 0),
(o(t, 31) + d(this.m2r_1)) | 0
);
}),
(h(C).equals = function (t) {
(a(C).equals = function (t) {
return (
this === t ||
(t instanceof C &&
!!p(this.c2r_1, t.c2r_1) &&
!!p(this.d2r_1, t.d2r_1) &&
!!p(this.e2r_1, t.e2r_1) &&
!!p(this.f2r_1, t.f2r_1))
!!g(this.j2r_1, t.j2r_1) &&
!!g(this.k2r_1, t.k2r_1) &&
!!g(this.l2r_1, t.l2r_1) &&
!!g(this.m2r_1, t.m2r_1))
);
}),
(h(R).a2s = function (t) {
(a(R).h2s = function (t) {
var n = y(t + 240 * 0.017453292),
i = y(t + 120 * 0.017453292);
return L(this.b2s(t), this.b2s(n), this.b2s(i));
return L(this.i2s(t), this.i2s(n), this.i2s(i));
}),
(h(R).c2s = function (t, n) {
(a(R).j2s = function (t, n) {
var i = y(t + 240 * 0.017453292),
r = y(t + 120 * 0.017453292);
((n.c2r_1 = this.b2s(t)), (n.d2r_1 = this.b2s(i)), (n.e2r_1 = this.b2s(r)));
((n.j2r_1 = this.i2s(t)), (n.k2r_1 = this.i2s(i)), (n.l2r_1 = this.i2s(r)));
}),
(h(R).b2s = function (t) {
(a(R).i2s = function (t) {
var n = 3.1415927 / 3,
i = 2 * n,
r = 5 * n;
return t < n ? 1 : t < i ? (i - t) / n : t < 4 * n ? 0 : t < r ? 1 - (r - t) / n : 1;
}),
(h(P).g2s = function (t) {
(e.c2s(this.d2s_1, t), t.w2r(x().p2q_1, 1 - this.e2s_1), t.s2r(this.f2s_1));
(a(P).n2s = function (t) {
(e.j2s(this.k2s_1, t), t.d2s(z().w2q_1, 1 - this.l2s_1), t.z2r(this.m2s_1));
}),
(h(P).h2s = function (t) {
(a(P).o2s = function (t) {
var n,
i = t.c2r_1,
r = t.d2r_1,
i = t.j2r_1,
r = t.k2r_1,
e = Math.min(i, r),
u = t.e2r_1,
u = t.l2r_1,
s = Math.min(e, u),
o = t.c2r_1,
_ = t.d2r_1,
h = Math.max(o, _),
a = t.e2r_1,
c = Math.max(h, a),
f = c - s;
((this.f2s_1 = c),
(this.e2s_1 = 0 === c ? 0 : f / c),
o = t.j2r_1,
_ = t.k2r_1,
a = Math.max(o, _),
h = t.l2r_1,
c = Math.max(a, h),
l = c - s;
((this.m2s_1 = c),
(this.l2s_1 = 0 === c ? 0 : l / c),
(n =
0 === f
0 === l
? 0
: c === t.c2r_1
? (((t.d2r_1 - t.e2r_1) / f) % 6) * 60 * 0.017453292
: c === t.d2r_1
? 60 * ((t.e2r_1 - t.c2r_1) / f + 2) * 0.017453292
: c === t.e2r_1
? 60 * ((t.c2r_1 - t.d2r_1) / f + 4) * 0.017453292
: c === t.j2r_1
? (((t.k2r_1 - t.l2r_1) / l) % 6) * 60 * 0.017453292
: c === t.k2r_1
? 60 * ((t.l2r_1 - t.j2r_1) / l + 2) * 0.017453292
: c === t.l2r_1
? 60 * ((t.j2r_1 - t.k2r_1) / l + 4) * 0.017453292
: 0),
(this.d2s_1 = n),
(this.d2s_1 = y(this.d2s_1)));
(this.k2s_1 = n),
(this.k2s_1 = y(this.k2s_1)));
}),
(h(P).toString = function () {
return "ColorHSV(hue=" + this.d2s_1 + ", saturation=" + this.e2s_1 + ", value=" + this.f2s_1 + ")";
(a(P).toString = function () {
return "ColorHSV(hue=" + this.k2s_1 + ", saturation=" + this.l2s_1 + ", value=" + this.m2s_1 + ")";
}),
(h(P).hashCode = function () {
var t = m(this.d2s_1);
return ((t = (o(t, 31) + m(this.e2s_1)) | 0), (o(t, 31) + m(this.f2s_1)) | 0);
(a(P).hashCode = function () {
var t = d(this.k2s_1);
return ((t = (o(t, 31) + d(this.l2s_1)) | 0), (o(t, 31) + d(this.m2s_1)) | 0);
}),
(h(P).equals = function (t) {
(a(P).equals = function (t) {
return (
this === t ||
(t instanceof P && !!p(this.d2s_1, t.d2s_1) && !!p(this.e2s_1, t.e2s_1) && !!p(this.f2s_1, t.f2s_1))
(t instanceof P && !!g(this.k2s_1, t.k2s_1) && !!g(this.l2s_1, t.l2s_1) && !!g(this.m2s_1, t.m2s_1))
);
}),
(h(B).k2s = function (t, n) {
(t.q2r(this.i2s_1), n.q2r(this.j2s_1));
(a(B).r2s = function (t, n) {
(t.x2r(this.p2s_1), n.x2r(this.q2s_1));
}),
(h(B).l2s = function (t) {
(this.i2s_1.q2r(t.i2s_1), this.j2s_1.q2r(t.j2s_1));
(a(B).s2s = function (t) {
(this.p2s_1.x2r(t.p2s_1), this.q2s_1.x2r(t.q2s_1));
}),
(h(B).m2s = function (t, n, i) {
(this.i2s_1.t2r(t.i2s_1, n.i2s_1, i), this.j2s_1.t2r(t.j2s_1, n.j2s_1, i));
(a(B).t2s = function (t, n, i) {
(this.p2s_1.a2s(t.p2s_1, n.p2s_1, i), this.q2s_1.a2s(t.q2s_1, n.q2s_1, i));
}),
(h(B).toString = function () {
(a(B).toString = function () {
return (
"LinearColorTransform(multiplier=" +
this.i2s_1.toString() +
this.p2s_1.toString() +
", offset=" +
this.j2s_1.toString() +
this.q2s_1.toString() +
")"
);
}),
(h(B).hashCode = function () {
var t = this.i2s_1.hashCode();
return (o(t, 31) + this.j2s_1.hashCode()) | 0;
(a(B).hashCode = function () {
var t = this.p2s_1.hashCode();
return (o(t, 31) + this.q2s_1.hashCode()) | 0;
}),
(h(B).equals = function (t) {
return this === t || (t instanceof B && !!this.i2s_1.equals(t.i2s_1) && !!this.j2s_1.equals(t.j2s_1));
(a(B).equals = function (t) {
return this === t || (t instanceof B && !!this.p2s_1.equals(t.p2s_1) && !!this.q2s_1.equals(t.q2s_1));
}),
(e = new R()),
(t.$_$ = t.$_$ || {}),
@@ -359,10 +359,10 @@
(t.$_$.l = function () {
return (s || ((s = !0), (u = b([!0, !1]))), u);
}),
(t.$_$.m = j),
(t.$_$.m = q),
(t.$_$.n = $),
(t.$_$.o = q),
(t.$_$.p = x),
(t.$_$.o = j),
(t.$_$.p = z),
(t.$_$.q = e));
})(t.exports, i(37036), i(32088));
};
File diff suppressed because it is too large. Load diff
+180 -180
View File
@@ -8,25 +8,25 @@
s,
o,
_,
h,
a,
h,
c,
f = n.$_$.nb,
l = n.$_$.w4,
l = n.$_$.nb,
f = n.$_$.w4,
v = i.$_$.e,
w = n.$_$.ge,
d = n.$_$.vj,
m = n.$_$.h5,
p = n.$_$.o1,
g = n.$_$.fd,
p = n.$_$.vj,
d = n.$_$.h5,
g = n.$_$.o1,
m = n.$_$.fd,
y = i.$_$.f,
k = n.$_$.mf,
b = r.$_$.s1,
j = n.$_$.qf,
q = n.$_$.qf,
$ = n.$_$.cd,
q = i.$_$.r,
z = i.$_$.b,
x = e.$_$.f,
j = i.$_$.r,
x = i.$_$.b,
z = e.$_$.f,
S = e.$_$.n,
C = n.$_$.qj,
E = n.$_$.c,
@@ -34,60 +34,60 @@
I = e.$_$.f1,
A = n.$_$.lj;
function R(t) {
var n = t.sdc_1;
var n = t.gdd_1;
if (null != n) return n;
f("codec_description");
l("codec_description");
}
function P(t) {
var n = t.tdc_1;
var n = t.hdd_1;
if (null != n) return n;
f("codec_name");
l("codec_name");
}
function N() {}
function O(t) {
var n = t.wdc_1;
var n = t.kdd_1;
if (null != n) return n;
f("codec_isEnabled");
l("codec_isEnabled");
}
function M(t) {
var n = t.xdc_1;
var n = t.ldd_1;
if (null != n) return n;
f("codec_isTimeless");
l("codec_isTimeless");
}
function D() {}
function L(t) {
var n = t.cdd_1;
var n = t.qdd_1;
if (null != n) return n;
f("codec_day");
l("codec_day");
}
function B(t) {
var n = t.ddd_1;
var n = t.rdd_1;
if (null != n) return n;
f("codec_hours");
l("codec_hours");
}
function U(t) {
var n = t.edd_1;
var n = t.sdd_1;
if (null != n) return n;
f("codec_minutes");
l("codec_minutes");
}
function F(t) {
var n = t.fdd_1;
var n = t.tdd_1;
if (null != n) return n;
f("codec_month");
l("codec_month");
}
function G(t) {
var n = t.gdd_1;
var n = t.udd_1;
if (null != n) return n;
f("codec_seconds");
l("codec_seconds");
}
function H() {}
function W() {}
function V() {
this.ndd_1 = new b(k(y), null);
this.bde_1 = new b(k(y), null);
}
function K(t) {
var n = j;
return t.rdd_1.i2c(
var n = q;
return t.fde_1.e2b(
t,
$(
"protocol",
@@ -101,8 +101,8 @@
);
}
function Y(t) {
var n = j;
return t.sdd_1.i2c(
var n = q;
return t.gde_1.e2b(
t,
$(
"modelRegistry",
@@ -116,26 +116,26 @@
);
}
function X() {
(x.call(this),
(this.rdd_1 = new b(k(y), null)),
(this.sdd_1 = new b(k(S), null)),
(this.udd_1 = new C(-841295065, 916213531)),
this.faw(),
(this.vdd_1 = this.udd_1));
(z.call(this),
(this.fde_1 = new b(k(y), null)),
(this.gde_1 = new b(k(S), null)),
(this.ide_1 = new C(-841295065, 916213531)),
this.taw(),
(this.jde_1 = this.ide_1));
}
function J() {
return ((t = T(w(Z))), Z.call(t), t);
var t;
}
function Z() {
((this.udc_1 = null), (this.vdc_1 = null));
((this.idd_1 = null), (this.jdd_1 = null));
}
function Q() {
this.wdd_1 = new b(k(y), null);
this.kde_1 = new b(k(y), null);
}
function tt(t) {
var n = j;
return t.cde_1.i2c(
var n = q;
return t.qde_1.e2b(
t,
$(
"protocol",
@@ -149,8 +149,8 @@
);
}
function nt(t) {
var n = j;
return t.dde_1.i2c(
var n = q;
return t.rde_1.e2b(
t,
$(
"modelRegistry",
@@ -164,226 +164,226 @@
);
}
function it() {
(x.call(this),
(this.cde_1 = new b(k(y), null)),
(this.dde_1 = new b(k(S), null)),
(this.fde_1 = new C(1080360405, 1870140649)),
this.faw(),
(this.gde_1 = this.fde_1));
(z.call(this),
(this.qde_1 = new b(k(y), null)),
(this.rde_1 = new b(k(S), null)),
(this.tde_1 = new C(1080360405, 1870140649)),
this.taw(),
(this.ude_1 = this.tde_1));
}
function rt() {
return ((t = T(w(et))), et.call(t), t);
var t;
}
function et() {
((this.ydc_1 = !1), (this.zdc_1 = !1), (this.add_1 = 0), (this.bdd_1 = 0));
((this.mdd_1 = !1), (this.ndd_1 = !1), (this.odd_1 = 0), (this.pdd_1 = 0));
}
function ut() {
this.hde_1 = new b(k(y), null);
this.vde_1 = new b(k(y), null);
}
function st() {
return ((t = T(w(ot))), ot.call(t), t);
var t;
}
function ot() {
((this.hdd_1 = 0),
(this.idd_1 = 0),
(this.jdd_1 = 0),
(this.kdd_1 = 0),
(this.ldd_1 = 0),
(this.mdd_1 = 0));
((this.vdd_1 = 0),
(this.wdd_1 = 0),
(this.xdd_1 = 0),
(this.ydd_1 = 0),
(this.zdd_1 = 0),
(this.ade_1 = 0));
}
function _t() {
if (c) return m;
if (c) return d;
((c = !0),
(u = new ht("TOO_SHORT", 0)),
(s = new ht("TOO_LONG", 1)),
(o = new ht("NOT_UNIQUE", 2)),
(_ = new ht("NOT_MATCH_PATTERN", 3)),
(h = new ht("FORBIDDEN", 4)),
(a = new ht("CORRECT", 5)));
(u = new at("TOO_SHORT", 0)),
(s = new at("TOO_LONG", 1)),
(o = new at("NOT_UNIQUE", 2)),
(_ = new at("NOT_MATCH_PATTERN", 3)),
(a = new at("FORBIDDEN", 4)),
(h = new at("CORRECT", 5)));
}
function ht(t, n) {
function at(t, n) {
A.call(this, t, n);
}
function at() {
function ht() {
return (_t(), o);
}
(g(N, "", N),
g(D, "", D),
g(H, "", H),
g(W, "", W),
g(V, "", V),
g(X, "", E, x),
g(Z, "", J),
g(Q, ""),
g(it, "", E, x),
g(et, "", rt),
g(ut, ""),
g(ot, "", st),
g(ht, "", E, A),
(w(N).e7g = function (t) {
((this.sdc_1 = t.b7f(new v(l().xb(), !0))), (this.tdc_1 = t.b7f(new v(l().xb(), !0))));
(m(N, "", N),
m(D, "", D),
m(H, "", H),
m(W, "", W),
m(V, "", V),
m(X, "", E, z),
m(Z, "", J),
m(Q, ""),
m(it, "", E, z),
m(et, "", rt),
m(ut, ""),
m(ot, "", st),
m(at, "", E, A),
(w(N).q7g = function (t) {
((this.gdd_1 = t.n7f(new v(f().xb(), !0))), (this.hdd_1 = t.n7f(new v(f().xb(), !0))));
}),
(w(N).d7g = function (t) {
(w(N).p7g = function (t) {
var n = J(),
i = n,
r = R(this).d7g(t);
i.udc_1 = null == r || "string" == typeof r ? r : d();
r = R(this).p7g(t);
i.idd_1 = null == r || "string" == typeof r ? r : p();
var e = n,
u = P(this).d7g(t);
return ((e.vdc_1 = null == u || "string" == typeof u ? u : d()), n);
u = P(this).p7g(t);
return ((e.jdd_1 = null == u || "string" == typeof u ? u : p()), n);
}),
(w(N).c7g = function (t, n) {
if (null == n) throw p("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof Z ? n : d();
(R(this).c7g(t, i.udc_1), P(this).c7g(t, i.vdc_1));
(w(N).o7g = function (t, n) {
if (null == n) throw g("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof Z ? n : p();
(R(this).o7g(t, i.idd_1), P(this).o7g(t, i.jdd_1));
}),
(w(D).e7g = function (t) {
((this.wdc_1 = t.b7f(new v(l().pb(), !1))), (this.xdc_1 = t.b7f(new v(l().pb(), !1))));
(w(D).q7g = function (t) {
((this.kdd_1 = t.n7f(new v(f().pb(), !1))), (this.ldd_1 = t.n7f(new v(f().pb(), !1))));
}),
(w(D).d7g = function (t) {
(w(D).p7g = function (t) {
var n = rt(),
i = n,
r = O(this).d7g(t);
i.ydc_1 = null != r && "boolean" == typeof r ? r : d();
r = O(this).p7g(t);
i.mdd_1 = null != r && "boolean" == typeof r ? r : p();
var e = n,
u = M(this).d7g(t);
u = M(this).p7g(t);
return (
(e.zdc_1 = null != u && "boolean" == typeof u ? u : d()),
(n.add_1 = t.o7f_1.i2u()),
(n.bdd_1 = t.o7f_1.i2u()),
(e.ndd_1 = null != u && "boolean" == typeof u ? u : p()),
(n.odd_1 = t.a7g_1.p2u()),
(n.pdd_1 = t.a7g_1.p2u()),
n
);
}),
(w(D).c7g = function (t, n) {
if (null == n) throw p("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof et ? n : d();
(O(this).c7g(t, i.ydc_1), M(this).c7g(t, i.zdc_1), t.o7f_1.d2u(i.add_1), t.o7f_1.d2u(i.bdd_1));
(w(D).o7g = function (t, n) {
if (null == n) throw g("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof et ? n : p();
(O(this).o7g(t, i.mdd_1), M(this).o7g(t, i.ndd_1), t.a7g_1.k2u(i.odd_1), t.a7g_1.k2u(i.pdd_1));
}),
(w(H).e7g = function (t) {
((this.cdd_1 = t.b7f(new v(l().qb(), !1))),
(this.ddd_1 = t.b7f(new v(l().qb(), !1))),
(this.edd_1 = t.b7f(new v(l().qb(), !1))),
(this.fdd_1 = t.b7f(new v(l().qb(), !1))),
(this.gdd_1 = t.b7f(new v(l().qb(), !1))));
(w(H).q7g = function (t) {
((this.qdd_1 = t.n7f(new v(f().qb(), !1))),
(this.rdd_1 = t.n7f(new v(f().qb(), !1))),
(this.sdd_1 = t.n7f(new v(f().qb(), !1))),
(this.tdd_1 = t.n7f(new v(f().qb(), !1))),
(this.udd_1 = t.n7f(new v(f().qb(), !1))));
}),
(w(H).d7g = function (t) {
(w(H).p7g = function (t) {
var n = st(),
i = n,
r = L(this).d7g(t);
i.hdd_1 = null != r && "number" == typeof r ? r : d();
r = L(this).p7g(t);
i.vdd_1 = null != r && "number" == typeof r ? r : p();
var e = n,
u = B(this).d7g(t);
e.idd_1 = null != u && "number" == typeof u ? u : d();
u = B(this).p7g(t);
e.wdd_1 = null != u && "number" == typeof u ? u : p();
var s = n,
o = U(this).d7g(t);
s.jdd_1 = null != o && "number" == typeof o ? o : d();
o = U(this).p7g(t);
s.xdd_1 = null != o && "number" == typeof o ? o : p();
var _ = n,
h = F(this).d7g(t);
_.kdd_1 = null != h && "number" == typeof h ? h : d();
var a = n,
c = G(this).d7g(t);
return ((a.ldd_1 = null != c && "number" == typeof c ? c : d()), (n.mdd_1 = t.o7f_1.h2u()), n);
a = F(this).p7g(t);
_.ydd_1 = null != a && "number" == typeof a ? a : p();
var h = n,
c = G(this).p7g(t);
return ((h.zdd_1 = null != c && "number" == typeof c ? c : p()), (n.ade_1 = t.a7g_1.o2u()), n);
}),
(w(H).c7g = function (t, n) {
if (null == n) throw p("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof ot ? n : d();
(L(this).c7g(t, i.hdd_1),
B(this).c7g(t, i.idd_1),
U(this).c7g(t, i.jdd_1),
F(this).c7g(t, i.kdd_1),
G(this).c7g(t, i.ldd_1),
t.o7f_1.c2u(i.mdd_1));
(w(H).o7g = function (t, n) {
if (null == n) throw g("Object is null. Use @ProtocolOptional annotation.");
var i = n instanceof ot ? n : p();
(L(this).o7g(t, i.vdd_1),
B(this).o7g(t, i.wdd_1),
U(this).o7g(t, i.xdd_1),
F(this).o7g(t, i.ydd_1),
G(this).o7g(t, i.zdd_1),
t.a7g_1.j2u(i.ade_1));
}),
(w(W).e7g = function (t) {}),
(w(W).d7g = function (t) {
var n = t.o7f_1.i2u();
(w(W).q7g = function (t) {}),
(w(W).p7g = function (t) {
var n = t.a7g_1.p2u();
switch (n) {
case 0:
return (_t(), u);
case 1:
return (_t(), s);
case 2:
return at();
return ht();
case 3:
return (_t(), _);
case 4:
return (_t(), h);
case 5:
return (_t(), a);
case 5:
return (_t(), h);
}
throw p("Enum item not found for code " + n);
throw g("Enum item not found for code " + n);
}),
(w(W).c7g = function (t, n) {
if (null == n) throw p("Object is null. Use @ProtocolOptional annotation.");
n instanceof ht || d();
(w(W).o7g = function (t, n) {
if (null == n) throw g("Object is null. Use @ProtocolOptional annotation.");
n instanceof at || p();
var i = n.k3_1;
t.o7f_1.d2u(i);
t.a7g_1.k2u(i);
}),
(w(V).g80 = function () {
var t = j;
return this.ndd_1.i2c(
(w(V).s80 = function () {
var t = q;
return this.bde_1.e2b(
this,
$(
"protocol",
1,
t,
function (t) {
return t.g80();
return t.s80();
},
null,
),
);
}),
(w(V).h80 = function () {
(w(V).t80 = function () {
var t;
((t = new N()),
this.g80().z7e(new v(k(Z), !1), t),
this.g80().z7e(new v(k(Z), !0), q(t)),
this.s80().l7f(new v(k(Z), !1), t),
this.s80().l7f(new v(k(Z), !0), j(t)),
(t = new D()),
this.g80().z7e(new v(k(et), !1), t),
this.g80().z7e(new v(k(et), !0), q(t)),
this.s80().l7f(new v(k(et), !1), t),
this.s80().l7f(new v(k(et), !0), j(t)),
(t = new H()),
this.g80().z7e(new v(k(ot), !1), t),
this.g80().z7e(new v(k(ot), !0), q(t)),
this.s80().l7f(new v(k(ot), !1), t),
this.s80().l7f(new v(k(ot), !0), j(t)),
(t = new W()),
this.g80().z7e(new z(k(ht), !1), t),
this.g80().z7e(new z(k(ht), !0), q(t)));
this.s80().l7f(new x(k(at), !1), t),
this.s80().l7f(new x(k(at), !0), j(t)));
}),
(w(X).faw = function () {
(w(X).taw = function () {
var t, n;
((this.tdd_1 = ((t = this), (n = T(w(Q))), Q.call(n), (n.ydd_1 = t), (n.xdd_1 = I().s7i_1), n)),
Y(this).x7m(this.udd_1, K(this).b7f(new v(k(Z), !1))));
((this.hde_1 = ((t = this), (n = T(w(Q))), Q.call(n), (n.mde_1 = t), (n.lde_1 = I().e7j_1), n)),
Y(this).j7n(this.ide_1, K(this).n7f(new v(k(Z), !1))));
}),
(w(X).e7i = function (t, n) {}),
(w(X).c57 = function () {
return this.vdd_1;
(w(X).q7i = function (t, n) {}),
(w(X).p57 = function () {
return this.jde_1;
}),
(w(Z).toString = function () {
var t = "DescriptionModelCC [";
return (t = (t = t + "description = " + this.udc_1 + " ") + "name = " + this.vdc_1 + " ") + "]";
return (t = (t = t + "description = " + this.idd_1 + " ") + "name = " + this.jdd_1 + " ") + "]";
}),
(w(it).faw = function () {
(w(it).taw = function () {
var t, n;
((this.ede_1 = ((t = this), (n = T(w(ut))), ut.call(n), (n.jde_1 = t), (n.ide_1 = I().s7i_1), n)),
nt(this).x7m(this.fde_1, tt(this).b7f(new v(k(et), !1))));
((this.sde_1 = ((t = this), (n = T(w(ut))), ut.call(n), (n.xde_1 = t), (n.wde_1 = I().e7j_1), n)),
nt(this).j7n(this.tde_1, tt(this).n7f(new v(k(et), !1))));
}),
(w(it).e7i = function (t, n) {}),
(w(it).c57 = function () {
return this.gde_1;
(w(it).q7i = function (t, n) {}),
(w(it).p57 = function () {
return this.ude_1;
}),
(w(et).toString = function () {
var t = "TimePeriodModelCC [";
return (
(t =
(t =
(t = (t = t + "isEnabled = " + this.ydc_1 + " ") + "isTimeless = " + this.zdc_1 + " ") +
(t = (t = t + "isEnabled = " + this.mdd_1 + " ") + "isTimeless = " + this.ndd_1 + " ") +
"timeLeftInSeconds = " +
this.add_1 +
this.odd_1 +
" ") +
"timeToStartInSeconds = " +
this.bdd_1 +
this.pdd_1 +
" ") + "]"
);
}),
@@ -394,27 +394,27 @@
(t =
(t =
(t =
(t = (t = t + "day = " + this.hdd_1 + " ") + "hours = " + this.idd_1 + " ") +
(t = (t = t + "day = " + this.vdd_1 + " ") + "hours = " + this.wdd_1 + " ") +
"minutes = " +
this.jdd_1 +
this.xdd_1 +
" ") +
"month = " +
this.kdd_1 +
this.ydd_1 +
" ") +
"seconds = " +
this.ldd_1 +
this.zdd_1 +
" ") +
"year = " +
this.mdd_1 +
this.ade_1 +
" ") + "]"
);
}),
(t.$_$ = t.$_$ || {}),
(t.$_$.a = at),
(t.$_$.a = ht),
(t.$_$.b = V),
(t.$_$.c = X),
(t.$_$.d = Z),
(t.$_$.e = it),
(t.$_$.f = ht));
(t.$_$.f = at));
})(t.exports, i(37036), i(24635), i(52943), i(61860));
};
@@ -1 +1 @@
{"type":"webpack-resource-map","generatedAt":"2026-07-06T11:32:54.168Z","totalResources":1215,"resourceMap":{"17":"static/images/31.2d481c05.webp","146":"static/images/neutral-g.38b68a23.svg","164":"static/images/gold.e0b82d44.svg","214":"static/images/btnBarrelUp.300e56c4.svg","349":"static/images/armor.d6fc6ef4.svg","405":"static/images/08.6a9e421e.webp","410":"static/images/speedIcon.3aaad0d9.svg","430":"static/images/18.0fcfcee7.webp","465":"static/images/stabilized_lightning.5b5469d1.svg","894":"static/images/05.4baa68b2.webp","899":"static/images/13.0ad436cb.webp","906":"static/images/Gauss.da869a90.svg","909":"static/images/contract.90d7cd8f.svg","911":"static/images/neutral-b.678833d3.svg","964":"static/images/unavailable.5c3ecd75.svg","1039":"static/images/armor.960e021b.svg","1042":"static/images/freeze_resistance.33bdf642.svg","1067":"static/images/battle_main_pick_match.f9aabe76.webp","1076":"static/images/bgSecondaryButton.d770f6f8.svg","1127":"static/images/overdrive.c8de54da.svg","1153":"static/images/overheat.89c0e772.svg","1196":"static/images/ctf_blue_base_no_flag.94a2bf33.svg","1254":"static/images/Smoky.a2623c59.svg","1257":"static/images/rgb_blue_delivering.6c8a284b.svg","1311":"static/images/lock.301e2c47.svg","1461":"static/images/claimAllButton.b9e9611f.webp","1498":"static/images/revolver.3f7f2a0e.svg","1502":"static/images/25.60b5ac7d.webp","1507":"static/images/22.39ef9ff5.webp","1552":"static/images/bgActionButton.b5ff3b72.svg","1580":"static/images/09.bc6e748e.webp","1647":"static/images/high_caliber_ammo.7d27e891.svg","1832":"static/images/vivern_shells.d1dda9d2.svg","1900":"static/images/RU.09428d33.webp","1911":"static/images/Add-friend.137d3601.svg","1988":"static/images/iconLobbyMenuGarage.0b623165.svg","2044":"static/images/booster_damage.c3e7e6b3.svg","2144":"static/images/tsunami_resistance.6200aad9.svg","2209":"static/images/self-destruction-stripe.cacb47e5.webp","2261":"static/images/tank-above.ac5b8ccc.svg","2277":"static/images/iconActiveProgressBar.ef307714.svg","2298":"static/images/emp.65915d57.svg","2328":"static/images/Scorpion.17f0ca64.svg","2387":"static/images/31.d51e86c9.webp","2417":"static/images/twitch.d986fa35.webp","2462":"static/images/red-c.0da087f5.svg","2538":"static/images/03.46e2680b.webp","2621":"static/images/battle_main_pick_pro_battles.015a9f72.webp","2826":"static/images/dejavu-sans-mono-16px-basis33-15px.bb61e2ba.png","2858":"static/images/experience.402435da.svg","3289":"static/images/blue-indicator.1208edf8.svg","3358":"static/images/btnSettings.abd80236.svg","3360":"static/images/09.390d5c71.webp","3370":"static/images/09.2e8435ba.webp","3439":"static/images/indicator-blue.23ed1adc.svg","3447":"static/images/firebird_magnetic.422b1b1c.svg","3581":"static/images/manual_mode.246743df.svg","3596":"static/images/alert.d58f4b55.svg","3611":"static/images/iconEpicFiolet.d91b1151.svg","3642":"static/images/logoTankiOnlineChina.0b6ba850.svg","3682":"static/images/jgr_red.8e25466e.svg","3905":"static/images/26.f1020f51.webp","3933":"static/images/shopIcon.c02c69df.svg","3953":"static/images/transitionToWindowScreenShotTanks.f3eeaa44.svg","4011":"static/images/externalLink.e7a8bb5a.svg","4081":"static/images/02.faa1f4fb.webp","4112":"static/images/policy_link.692055b6.svg","4238":"static/images/TwinsPlasmaInjector.53f9cfc2.svg","4348":"static/images/Viking.45549e00.svg","4432":"static/images/reset.b088bab6.svg","4549":"static/images/pierce.b182be03.svg","4958":"static/images/14.038e31ee.webp","4959":"static/images/magnum_lafet.ffcd092b.svg","5012":"static/images/Ultimate.94f7d547.svg","5067":"static/images/chatDirectArrow.d2462f04.svg","5072":"static/images/closedEye.81774df3.svg","5159":"static/images/24.d891a26c.webp","5370":"static/videos/rare.b7ef6294.webm","5640":"static/images/Hopper.17d5fd98.svg","5680":"static/images/overheat.c5da6580.svg","5912":"static/images/booster_armor.3dfb0e1e.svg","6153":"static/images/arrowRightMenuIconActive.f061716d.svg","6230":"static/images/hulls.b316ae80.svg","6458":"static/images/petalUp.688b620f.svg","6497":"static/images/hull_freezing_protection.1e959682.svg","6501":"static/images/15.981b89e8.webp","6506":"static/images/03.67da784b.webp","6511":"static/images/Reset.d3c792f7.svg","6693":"static/images/protectionSlotEquip.5f03fffe.svg","6715":"static/images/ic_unmount.01e4da15.svg","6784":"static/images/google.9550d60e.svg","6830":"static/images/ic_standard.9d75638b.svg","6898":"static/images/Clan_image.545f6980.webp","6937":"static/images/jgr_blue.c3fe3a20.svg","6942":"static/translations/cs.28cd2ba9.json","6979":"static/images/nitro_hd.c9ef057e.webp","7070":"static/images/plasma_torch.b06f598e.svg","7110":"static/images/PT_BR.12471229.webp","7112":"static/images/arrow-gray.75f5f8a5.svg","7156":"static/images/battleChatToggleTeamSpectators.2cb18c57.svg","7161":"static/images/supplyRepair.2bd316e0.svg","7438":"static/images/Freeze.51cbde00.svg","7446":"static/images/hull_freezing_immunity.d1dda9d2.svg","7522Line truncated
{"type":"webpack-resource-map","generatedAt":"2026-09-16T03:01:34.814Z","totalResources":1218,"resourceMap":{"17":"static/images/31.2d481c05.webp","146":"static/images/neutral-g.38b68a23.svg","164":"static/images/gold.e0b82d44.svg","214":"static/images/btnBarrelUp.300e56c4.svg","349":"static/images/armor.d6fc6ef4.svg","405":"static/images/08.6a9e421e.webp","410":"static/images/speedIcon.3aaad0d9.svg","430":"static/images/18.0fcfcee7.webp","465":"static/images/stabilized_lightning.5b5469d1.svg","894":"static/images/05.4baa68b2.webp","899":"static/images/13.0ad436cb.webp","906":"static/images/Gauss.da869a90.svg","909":"static/images/contract.90d7cd8f.svg","911":"static/images/neutral-b.678833d3.svg","964":"static/images/unavailable.5c3ecd75.svg","1039":"static/images/armor.960e021b.svg","1042":"static/images/freeze_resistance.33bdf642.svg","1067":"static/images/battle_main_pick_match.f9aabe76.webp","1076":"static/images/bgSecondaryButton.d770f6f8.svg","1127":"static/images/overdrive.c8de54da.svg","1153":"static/images/overheat.89c0e772.svg","1196":"static/images/ctf_blue_base_no_flag.94a2bf33.svg","1254":"static/images/Smoky.a2623c59.svg","1257":"static/images/rgb_blue_delivering.6c8a284b.svg","1311":"static/images/lock.301e2c47.svg","1461":"static/images/claimAllButton.b9e9611f.webp","1498":"static/images/revolver.3f7f2a0e.svg","1502":"static/images/25.60b5ac7d.webp","1507":"static/images/22.39ef9ff5.webp","1552":"static/images/bgActionButton.b5ff3b72.svg","1580":"static/images/09.bc6e748e.webp","1647":"static/images/high_caliber_ammo.7d27e891.svg","1832":"static/images/vivern_shells.d1dda9d2.svg","1900":"static/images/RU.09428d33.webp","1911":"static/images/Add-friend.137d3601.svg","1988":"static/images/iconLobbyMenuGarage.0b623165.svg","2044":"static/images/booster_damage.c3e7e6b3.svg","2144":"static/images/tsunami_resistance.6200aad9.svg","2209":"static/images/self-destruction-stripe.cacb47e5.webp","2261":"static/images/tank-above.ac5b8ccc.svg","2277":"static/images/iconActiveProgressBar.ef307714.svg","2298":"static/images/emp.65915d57.svg","2328":"static/images/Scorpion.17f0ca64.svg","2387":"static/images/31.d51e86c9.webp","2417":"static/images/twitch.d986fa35.webp","2462":"static/images/red-c.0da087f5.svg","2538":"static/images/03.46e2680b.webp","2621":"static/images/battle_main_pick_pro_battles.015a9f72.webp","2826":"static/images/dejavu-sans-mono-16px-basis33-15px.bb61e2ba.png","2858":"static/images/experience.402435da.svg","3289":"static/images/blue-indicator.1208edf8.svg","3358":"static/images/btnSettings.abd80236.svg","3360":"static/images/09.390d5c71.webp","3370":"static/images/09.2e8435ba.webp","3439":"static/images/indicator-blue.23ed1adc.svg","3447":"static/images/firebird_magnetic.422b1b1c.svg","3581":"static/images/manual_mode.246743df.svg","3596":"static/images/alert.d58f4b55.svg","3611":"static/images/iconEpicFiolet.d91b1151.svg","3642":"static/images/logoTankiOnlineChina.0b6ba850.svg","3682":"static/images/jgr_red.8e25466e.svg","3905":"static/images/26.f1020f51.webp","3933":"static/images/shopIcon.c02c69df.svg","3953":"static/images/transitionToWindowScreenShotTanks.f3eeaa44.svg","4011":"static/images/externalLink.e7a8bb5a.svg","4081":"static/images/02.faa1f4fb.webp","4112":"static/images/policy_link.692055b6.svg","4238":"static/images/TwinsPlasmaInjector.53f9cfc2.svg","4348":"static/images/Viking.45549e00.svg","4432":"static/images/reset.b088bab6.svg","4549":"static/images/pierce.b182be03.svg","4958":"static/images/14.038e31ee.webp","4959":"static/images/magnum_lafet.ffcd092b.svg","5012":"static/images/Ultimate.94f7d547.svg","5067":"static/images/chatDirectArrow.d2462f04.svg","5072":"static/images/closedEye.81774df3.svg","5159":"static/images/24.d891a26c.webp","5370":"static/videos/rare.b7ef6294.webm","5640":"static/images/Hopper.17d5fd98.svg","5680":"static/images/overheat.c5da6580.svg","5912":"static/images/booster_armor.3dfb0e1e.svg","6153":"static/images/arrowRightMenuIconActive.f061716d.svg","6230":"static/images/hulls.b316ae80.svg","6458":"static/images/petalUp.688b620f.svg","6497":"static/images/hull_freezing_protection.1e959682.svg","6501":"static/images/15.981b89e8.webp","6506":"static/images/03.67da784b.webp","6511":"static/images/Reset.d3c792f7.svg","6693":"static/images/protectionSlotEquip.5f03fffe.svg","6715":"static/images/ic_unmount.01e4da15.svg","6784":"static/images/google.9550d60e.svg","6830":"static/images/ic_standard.9d75638b.svg","6898":"static/images/Clan_image.545f6980.webp","6937":"static/images/jgr_blue.c3fe3a20.svg","6942":"static/translations/cs.2078c440.json","6979":"static/images/nitro_hd.c9ef057e.webp","7070":"static/images/plasma_torch.b06f598e.svg","7110":"static/images/PT_BR.12471229.webp","7112":"static/images/arrow-gray.75f5f8a5.svg","7156":"static/images/battleChatToggleTeamSpectators.2cb18c57.svg","7161":"static/images/supplyRepair.2bd316e0.svg","7438":"static/images/Freeze.51cbde00.svg","7446":"static/images/hull_freezing_immunity.d1dda9d2.svg","7522Line truncated
+588 -428
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -1,2 +1,2 @@
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Launcher=n():t.Launcher=n()}(globalThis,()=>(()=>{var __webpack_modules__={17:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/31.2d481c05.webp"},146:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/neutral-g.38b68a23.svg"},164:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/gold.e0b82d44.svg"},214:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/btnBarrelUp.300e56c4.svg"},349:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/armor.d6fc6ef4.svg"},405:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/08.6a9e421e.webp"},410:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/speedIcon.3aaad0d9.svg"},430:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/18.0fcfcee7.webp"},465:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/stabilized_lightning.5b5469d1.svg"},806:(t,n,i)=>{"use strict";var r=i(19487),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},u={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function _(t){return r.isMemo(t)?s:o[t.$$typeof]||e}o[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[r.Memo]=s;var h=Object.defineProperty,a=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,v=Object.prototype;t.exports=function t(n,i,r){if("string"!=typeof i){if(v){var e=l(i);e&&e!==v&&t(n,e,r)}var s=a(i);c&&(s=s.concat(c(i)));for(var o=_(n),w=_(i),d=0;d<s.length;++d){var m=s[d];if(!(u[m]||r&&r[m]||w&&w[m]||o&&o[m])){var p=f(i,m);try{h(n,m,p)}catch(t){}}}}return n}},894:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/05.4baa68b2.webp"},899:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/13.0ad436cb.webp"},905:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},906:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/Gauss.da869a90.svg"},909:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/contract.90d7cd8f.svg"},911:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/neutral-b.678833d3.svg"},964:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/unavailable.5c3ecd75.svg"},1039:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/armor.960e021b.svg"},1042:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/freeze_resistance.33bdf642.svg"},1067:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/battle_main_pick_match.f9aabe76.webp"},1076:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/bgSecondaryButton.d770f6f8.svg"},1127:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/overdrive.c8de54da.svg"},1153:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/overheat.89c0e772.svg"},1196:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/ctf_blue_base_no_flag.94a2bf33.svg"},1254:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/Smoky.a2623c59.svg"},1257:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/rgb_blue_delivering.6c8a284b.svg"},1311:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/lock.301e2c47.svg"},1461:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/claimAllButton.b9e9611f.webp"},1498:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/revolver.3f7f2a0e.svg"},1502:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/25.60b5ac7d.webp"},1507:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/22.39ef9ff5.webp"},1510:(t,n,i)=>{!function(t,n,i,r,e){"use strict";var u,s,o,_,h,a,c,f,l,v,w,d,m,p,g,y,k=n.$_$.nb,b=n.$_$.w4,j=i.$_$.e,$=n.$_$.ge,q=n.$_$.vj,z=n.$_$.h5,x=n.$_$.o1,S=n.$_$.fd,C=i.$_$.d,E=n.$_$.r5,T=n.$_$.td,I=i.$_$.f,A=n.$_$.mf,R=r.$_$.s1,P=e.$_$.n,N=n.$_$.qf,O=n.$_$.cd,M=n.$_$.qj,D=i.$_$.r,L=i.$_$.b,B=e.$_$.f,U=n.$_$.xb,F=n.$_$.c,G=e.$_$.f1,H=n.$_$.fe,W=e.$_$.l,V=n.$_$.lj,K=n.$_$.je;function Y(t){var n=t.jum_1;if(null!=n)return n;k("codec_appId")}function X(){}function J(){}function Z(t){var n=t.mum_1;if(null!=n)return n;k("codec_questToAchievementMap")}function Q(){}function tt(t){var n=t.pum_1;if(null!=n)return n;k("codec_itemIdMap")}function nt(){}function it(){this.sum_1=new R(A(I),null),this.tum_1=new R(A(P),null)}function rt(){B.call(this),this.xum_1=new R(A(I),null),this.yum_1=new R(A(P),null),this.aun_1=new M(-621796162,1132145095),this.bun_1=new M(1635469714,1785333818),this.cun_1=new M(-773564903,1989636776),this.dun_1=new M(497901439,366177258),this.faw(),this.eun_1=this.aun_1}function et(t){var n=N;return t.hun_1.i2c(t,O("protocol",1,n,function(t){return et(t)},null))}function ut(){this.hun_1=new R(A(I),null),this.jun_1=new M(-1272608814,1097348888)}function st(){return t=H($(ot)),ot.call(t),t;var t}function ot(){}function _t(t){var n=N;return t.pun_1.i2c(t,O("protocol",1,n,function(t){return _t(t)},null))}funcLine truncated
//# sourceMappingURL=main.b7114b43.js.map
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Launcher=n():t.Launcher=n()}(globalThis,()=>(()=>{var __webpack_modules__={17:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/31.2d481c05.webp"},146:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/neutral-g.38b68a23.svg"},164:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/gold.e0b82d44.svg"},214:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/btnBarrelUp.300e56c4.svg"},349:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/armor.d6fc6ef4.svg"},405:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/08.6a9e421e.webp"},410:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/speedIcon.3aaad0d9.svg"},430:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/18.0fcfcee7.webp"},465:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/stabilized_lightning.5b5469d1.svg"},806:(t,n,i)=>{"use strict";var r=i(19487),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},u={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function _(t){return r.isMemo(t)?s:o[t.$$typeof]||e}o[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[r.Memo]=s;var a=Object.defineProperty,h=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;t.exports=function t(n,i,r){if("string"!=typeof i){if(v){var e=f(i);e&&e!==v&&t(n,e,r)}var s=h(i);c&&(s=s.concat(c(i)));for(var o=_(n),w=_(i),p=0;p<s.length;++p){var d=s[p];if(!(u[d]||r&&r[d]||w&&w[d]||o&&o[d])){var g=l(i,d);try{a(n,d,g)}catch(t){}}}}return n}},894:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/05.4baa68b2.webp"},899:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/13.0ad436cb.webp"},905:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},906:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/Gauss.da869a90.svg"},909:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/contract.90d7cd8f.svg"},911:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/neutral-b.678833d3.svg"},964:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/unavailable.5c3ecd75.svg"},1039:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/armor.960e021b.svg"},1042:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/freeze_resistance.33bdf642.svg"},1067:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/battle_main_pick_match.f9aabe76.webp"},1076:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/bgSecondaryButton.d770f6f8.svg"},1127:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/overdrive.c8de54da.svg"},1153:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/overheat.89c0e772.svg"},1196:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/ctf_blue_base_no_flag.94a2bf33.svg"},1254:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/Smoky.a2623c59.svg"},1257:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/rgb_blue_delivering.6c8a284b.svg"},1311:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/lock.301e2c47.svg"},1461:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/claimAllButton.b9e9611f.webp"},1498:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/revolver.3f7f2a0e.svg"},1502:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/25.60b5ac7d.webp"},1507:(t,n,i)=>{"use strict";t.exports=i.p+"static/images/22.39ef9ff5.webp"},1510:(t,n,i)=>{!function(t,n,i,r,e){"use strict";var u,s,o,_,a,h,c,l,f,v,w,p,d,g,m,y,k=n.$_$.nb,b=n.$_$.w4,q=i.$_$.e,$=n.$_$.ge,j=n.$_$.vj,x=n.$_$.h5,z=n.$_$.o1,S=n.$_$.fd,C=i.$_$.d,E=n.$_$.r5,T=n.$_$.td,I=i.$_$.f,A=n.$_$.mf,R=r.$_$.s1,P=e.$_$.n,N=n.$_$.qf,O=n.$_$.cd,M=n.$_$.qj,D=i.$_$.r,L=i.$_$.b,B=e.$_$.f,U=n.$_$.xb,F=n.$_$.c,G=e.$_$.f1,H=n.$_$.fe,W=e.$_$.l,V=n.$_$.lj,K=n.$_$.je;function Y(t){var n=t.zur_1;if(null!=n)return n;k("codec_appId")}function X(){}function J(){}function Z(t){var n=t.cus_1;if(null!=n)return n;k("codec_questToAchievementMap")}function Q(){}function tt(t){var n=t.fus_1;if(null!=n)return n;k("codec_itemIdMap")}function nt(){}function it(){this.ius_1=new R(A(I),null),this.jus_1=new R(A(P),null)}function rt(){B.call(this),this.nus_1=new R(A(I),null),this.ous_1=new R(A(P),null),this.qus_1=new M(-621796162,1132145095),this.rus_1=new M(1635469714,1785333818),this.sus_1=new M(-773564903,1989636776),this.tus_1=new M(497901439,366177258),this.taw(),this.uus_1=this.qus_1}function et(t){var n=N;return t.xus_1.e2b(t,O("protocol",1,n,function(t){return et(t)},null))}function ut(){this.xus_1=new R(A(I),null),this.zus_1=new M(-1272608814,1097348888)}function st(){return t=H($(ot)),ot.call(t),t;var t}function ot(){}function _t(t){var n=N;return t.fut_1.e2b(t,O("protocol",1,n,function(t){return _t(t)},null))}funcLine truncated
//# sourceMappingURL=main.6469b966.js.map
+5 -1
View File
@@ -443,7 +443,11 @@ log(hexDump(frame));
log('');
// 连接参数
const url = 'wss://c1.3dtank.com:9090/';
// 默认连真实服务器;加 --url ws://localhost:9091/ 可改为连本地中继/模拟服务器
const url = (() => {
const I = process.argv.indexOf('--url');
return I >= 0 && process.argv[I + 1] ? process.argv[I + 1] : 'wss://c1.3dtank.com:9090/';
})();
let recvSeq = 0;
let sendSeq = 0;
let hashRequestSent = false;
+5 -5
View File
@@ -47,7 +47,7 @@
// 尝试获取坦克列表(失败也不影响 gameMode 设置)
var tankCount = -1;
try {
var list = gm.xzq_1.z11b();
var list = gm.q100_1.r11l();
tankCount = list.e1();
window.__tankList__ = list;
} catch(e) {
@@ -103,7 +103,7 @@
if (window.__gameMode__) {
// 验证当前引用是否有效
try {
var list = window.__gameMode__.xzq_1.z11b();
var list = window.__gameMode__.q100_1.r11l();
window.__tankList__ = list;
} catch(e) {
// 引用失效(新战斗/退出战斗),重置等待重新捕获
@@ -142,7 +142,7 @@
console.log('ght 实例未捕获,请等待');
return;
}
var list = window.__gameMode__.xzq_1.z11b();
var list = window.__gameMode__.q100_1.r11l();
var count = list.e1();
console.log('=== 坦克列表 (' + count + " 个) ===");
for (var i = 0; i < count; i++) {
@@ -157,7 +157,7 @@
console.log('ght 实例未捕获');
return;
}
var list = window.__gameMode__.xzq_1.z11b();
var list = window.__gameMode__.q100_1.r11l();
var tank = list.g1(idx || 0);
console.log('坦克[' + (idx || 0) + ']:', tank);
console.log('字段:', Object.keys(tank));
@@ -181,7 +181,7 @@
window.__refreshGameMode__ = function() {
if (window.__gameMode__) {
try {
var list = window.__gameMode__.xzq_1.z11b();
var list = window.__gameMode__.q100_1.r11l();
console.log('%c[刷新] ght 引用有效,坦克数:' + list.e1(), 'color:#0f0;font-weight:bold');
return window.__gameMode__;
} catch(e) {
+50 -50
View File
@@ -126,7 +126,7 @@
}
function GetTDtComponent(entity) {
var comp = FindComponentByField(entity, 'u112_1');
var comp = FindComponentByField(entity, 'n11c_1');
if (comp) return comp;
comp = FindComponentByField(entity, 'q112_1');
return comp;
@@ -134,14 +134,14 @@
// ===== 从GPU读取顶点位置数据(缓冲区[0]) =====
function ReadVertexPositionsFromTp(tp) {
if (!tp || !tp.h4w_1) return null;
var tl = tp.h4w_1.g1(0);
if (!tl || !tl.w3w_1) return null;
var vq = tl.w3w_1;
var bs = vq.l3h_1;
if (!bs || !bs.p73_1) return null;
var gl = bs.p73_1;
var webglBuf = vq.k3x_1 && vq.k3x_1.n73_1;
if (!tp || !tp.t4w_1) return null;
var tl = tp.t4w_1.g1(0);
if (!tl || !tl.d3x_1) return null;
var vq = tl.d3x_1;
var bs = vq.s3h_1;
if (!bs || !bs.b74_1) return null;
var gl = bs.b74_1;
var webglBuf = vq.r3x_1 && vq.r3x_1.z73_1;
if (!webglBuf) return null;
gl.bindBuffer(gl.ARRAY_BUFFER, webglBuf);
var bufSize = gl.getBufferParameter(gl.ARRAY_BUFFER, gl.BUFFER_SIZE);
@@ -153,18 +153,18 @@
// ===== 从GPU读取索引数据 =====
function ReadIndicesFromTp(tp) {
if (!tp.m4w_1 || typeof tp.m4w_1.e1 !== 'function') return null;
var meshCount = tp.m4w_1.e1();
if (!tp.y4w_1 || typeof tp.y4w_1.e1 !== 'function') return null;
var meshCount = tp.y4w_1.e1();
if (meshCount === 0) return null;
var allIndices = [];
for (var m = 0; m < meshCount; m++) {
var il = tp.m4w_1.g1(m);
if (!il || !il.j3p_1) continue;
var fq = il.j3p_1;
var bs = fq.l3h_1;
if (!bs || !bs.p73_1) continue;
var gl = bs.p73_1;
var webglBuf = fq.c3x_1 && fq.c3x_1.n73_1;
var il = tp.y4w_1.g1(m);
if (!il || !il.q3p_1) continue;
var fq = il.q3p_1;
var bs = fq.s3h_1;
if (!bs || !bs.b74_1) continue;
var gl = bs.b74_1;
var webglBuf = fq.j3x_1 && fq.j3x_1.z73_1;
if (!webglBuf) continue;
gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, webglBuf);
var bufSize = gl.getBufferParameter(gl.ELEMENT_ARRAY_BUFFER, gl.BUFFER_SIZE);
@@ -224,12 +224,12 @@
var GhostCooldown = 120;
function IsNodeGhost(bpNode, tankIsMoving) {
if (!bpNode || !bpNode.g35_1) return false;
if (!bpNode || !bpNode.n35_1) return false;
// 方案1:z34_1 字段检测(主方案)
var z34Val = bpNode.z34_1;
var z34Val = bpNode.g35_1;
if (z34Val !== undefined && z34Val < 0.9) return true;
// 方案2:世界矩阵更新检测(后备方案)
var curMatrix = bpNode.g35_1;
var curMatrix = bpNode.n35_1;
var hist = NodeMatrixHistory.get(bpNode);
if (!hist) {
hist = { m: new Array(16), unchanged: 0, cooldown: 0 };
@@ -257,23 +257,23 @@
// ===== 递归收集mesh节点(每帧重新获取 Bp 节点引用) =====
function CollectMeshNodes(bpNode, nodes, depth, group) {
if (!bpNode || depth > 5) return;
var name = bpNode.x34_1 || '';
if (bpNode.m3m_1) {
var gpuData = GetGpuData(bpNode.m3m_1);
var name = bpNode.e35_1 || '';
if (bpNode.t3m_1) {
var gpuData = GetGpuData(bpNode.t3m_1);
if (gpuData) {
nodes.push({
name: name, node: bpNode, tp: bpNode.m3m_1,
name: name, node: bpNode, tp: bpNode.t3m_1,
positions: gpuData.positions, indices: gpuData.indices, stride: gpuData.stride, group: group
});
}
}
if (bpNode.e4x_1 && typeof bpNode.e4x_1.e1 === 'function') {
if (bpNode.q4x_1 && typeof bpNode.q4x_1.e1 === 'function') {
try {
var lodCount = bpNode.e4x_1.e1();
var lodCount = bpNode.q4x_1.e1();
for (var lod = 0; lod < lodCount && lod < 1; lod++) {
var lodLevel = bpNode.e4x_1.g1(lod);
var lodLevel = bpNode.q4x_1.g1(lod);
if (!lodLevel) continue;
var lodTp = lodLevel.m3m_1 || lodLevel.o3m_1;
var lodTp = lodLevel.t3m_1 || lodLevel.v3m_1;
if (!lodTp) continue;
var lodGpuData = GetGpuData(lodTp);
if (lodGpuData) {
@@ -285,11 +285,11 @@
}
} catch(e) {}
}
if (bpNode.i35_1 && typeof bpNode.i35_1.e1 === 'function') {
var childCount = bpNode.i35_1.e1();
if (bpNode.p35_1 && typeof bpNode.p35_1.e1 === 'function') {
var childCount = bpNode.p35_1.e1();
for (var c = 0; c < childCount; c++) {
try {
var child = bpNode.i35_1.g1(c);
var child = bpNode.p35_1.g1(c);
if (child) CollectMeshNodes(child, nodes, depth + 1, group);
} catch(e) {}
}
@@ -300,16 +300,16 @@
function GetTankMeshData(tank) {
var nodes = [];
var kmt = GetKMtComponent(tank);
if (kmt && kmt.t14l_1 && kmt.t14l_1.p16z_1) {
if (kmt && kmt.t14l_1 && kmt.t14l_1.s17b_1) {
var skin = kmt.t14l_1;
try {
var partCount = skin.p16z_1.e1();
var partCount = skin.s17b_1.e1();
for (var p = 0; p < partCount; p++) {
var part = skin.p16z_1.g1(p);
if (!part || !part.s16z_1) continue;
var nodeCount = part.s16z_1.e1();
var part = skin.s17b_1.g1(p);
if (!part || !part.v17b_1) continue;
var nodeCount = part.v17b_1.e1();
for (var n = 0; n < nodeCount; n++) {
var bpNode = part.s16z_1.g1(n);
var bpNode = part.v17b_1.g1(n);
if (!bpNode) continue;
CollectMeshNodes(bpNode, nodes, 0, 'hull');
}
@@ -317,21 +317,21 @@
} catch(e) {}
}
var tdt = GetTDtComponent(tank);
if (tdt && tdt.u112_1 && tdt.u112_1.f16y_1) {
try { CollectMeshNodes(tdt.u112_1.f16y_1, nodes, 0, 'turret'); } catch(e) {}
if (tdt && tdt.n11c_1 && tdt.n11c_1.m17a_1) {
try { CollectMeshNodes(tdt.n11c_1.m17a_1, nodes, 0, 'turret'); } catch(e) {}
}
return nodes;
}
// ===== 检查节点是否有效(幽灵检测 + 位置检查) =====
function IsNodeValid(bpNode, pos, tankIsMoving, diagStats) {
var worldMatrix = bpNode.g35_1;
var worldMatrix = bpNode.n35_1;
if (!worldMatrix) return null;
if (diagStats) diagStats.totalNodes++;
// 幽灵检测1:z34_1 字段
var z34Val = bpNode.z34_1;
var z34Val = bpNode.g35_1;
if (z34Val !== undefined && z34Val < 0.9) {
if (diagStats) diagStats.ghostNodes++;
return null;
@@ -681,7 +681,7 @@
if (pPos) camInfo.pos = { x: pPos.x, y: pPos.y, z: pPos.z + 100 };
}
var tankList = gm.xzq_1.z11b();
var tankList = gm.q100_1.r11l();
var count = tankList.e1();
var drawnCount = 0;
@@ -689,19 +689,19 @@
var tank = tankList.g1(i);
if (!tank || tank === playerTank) continue;
var physicsComp = FindComponentByField(tank, 'pz7_1');
if (!physicsComp || !physicsComp.pz7_1) continue;
var physicsComp = FindComponentByField(tank, 'gzh_1');
if (!physicsComp || !physicsComp.gzh_1) continue;
var tankState = GetTankState(tank);
if (tankState !== 3) continue;
var pos = {
x: physicsComp.pz7_1.f20_1,
y: physicsComp.pz7_1.g20_1,
z: physicsComp.pz7_1.h20_1
x: physicsComp.gzh_1.f20_1,
y: physicsComp.gzh_1.g20_1,
z: physicsComp.gzh_1.h20_1
};
// 坦克移动检测
var tankId = tank.oyj_1;
var tankId = tank.hyt_1;
var prevPos = TankPrevPos.get(tankId);
var tankIsMoving = false;
if (prevPos) {
@@ -718,7 +718,7 @@
if (distance > 50000) continue;
var friendly = IsFriendly(tank, playerTank);
var tankName = GetTankName(tank) || ('ID:' + tank.oyj_1);
var tankName = GetTankName(tank) || ('ID:' + tank.hyt_1);
// 根据 HighlightMode 判断是否渲染该坦克
if (!ShouldRender(tankName)) continue;
// 颜色按队伍:友方=蓝,敌方=红
+30 -30
View File
@@ -75,7 +75,7 @@
// ===== 获取 TDt 武器皮肤组件(炮塔) =====
function GetTDtComponent(entity) {
var comp = FindComponentByField(entity, 'u112_1');
var comp = FindComponentByField(entity, 'n11c_1');
if (comp) return comp;
comp = FindComponentByField(entity, 'q112_1');
return comp;
@@ -90,9 +90,9 @@
// 返回 { angle: 炮塔朝向与"敌方→玩家"方向的夹角, distance: 距离, turretAngle: 炮塔朝向角度, turretDir: {x,y} }
function GetTurretAimAngle(tank, enemyPos, playerPos) {
var tdt = GetTDtComponent(tank);
if (!tdt || !tdt.u112_1 || !tdt.u112_1.f16y_1) return null;
var bpNode = tdt.u112_1.f16y_1;
var m = bpNode.g35_1;
if (!tdt || !tdt.n11c_1 || !tdt.n11c_1.m17a_1) return null;
var bpNode = tdt.n11c_1.m17a_1;
var m = bpNode.n35_1;
if (!m) return null;
// 敌方→玩家方向(x,y 水平面)
@@ -132,13 +132,13 @@
function GetUMtComponent() {
if (UMtComponent) return UMtComponent;
try {
var gmEntity = gm.rym();
if (!gmEntity || !gmEntity.wyj_1 || !gmEntity.wyj_1.r2a_1) return null;
gmEntity.wyj_1.r2a_1.forEach(function(valueList, key) {
var gmEntity = gm.jyw();
if (!gmEntity || !gmEntity.pyt_1 || !gmEntity.pyt_1.s2a_1) return null;
gmEntity.pyt_1.s2a_1.forEach(function(valueList, key) {
if (UMtComponent) return;
try {
var comp = (valueList && typeof valueList.g1 === 'function') ? valueList.g1(0) : valueList;
if (comp && typeof comp.g16x === 'function') UMtComponent = comp;
if (comp && typeof comp.m179 === 'function') UMtComponent = comp;
} catch(e) {}
});
if (UMtComponent) console.log('[瞄准] uMt 碰撞检测器已获取');
@@ -180,30 +180,30 @@
var maxDist = dist - 300;
var result = {
s16w_1: MkVec(0,0,0),
t16w_1: MkVec(0,0,0),
u16w_1: maxDist,
w16w_1: null,
v16w_1: null,
x16w: function(t, n, i, r, e) {
this.s16w_1.j26(t);
this.t16w_1.j26(n);
this.u16w_1 = i;
this.w16w_1 = r;
this.v16w_1 = e;
y178_1: MkVec(0,0,0),
z178_1: MkVec(0,0,0),
a179_1: maxDist,
c179_1: null,
b179_1: null,
d179: function(t, n, i, r, e) {
this.y178_1.k26(t);
this.z178_1.k26(n);
this.a179_1 = i;
this.c179_1 = r;
this.b179_1 = e;
},
d3: function() { this.v16w_1 = null; }
d3: function() { this.b179_1 = null; }
};
var filter = {
w1cg_1: { h1: function() { return false; }, d3: function() {} },
q16x: function() { return true; },
d3: function() { this.w1cg_1.d3(); },
x1cg: function() {}
o1co_1: { h1: function() { return false; }, d3: function() {} },
w179: function() { return true; },
d3: function() { this.o1co_1.d3(); },
p1co: function() {}
};
var hit = uMt.g16x(startVec, dirVec, maxDist, result, filter);
blocked = !!hit && result.u16w_1 < (maxDist - 50);
var hit = uMt.m179(startVec, dirVec, maxDist, result, filter);
blocked = !!hit && result.a179_1 < (maxDist - 50);
RaycastFailCount = 0;
} catch(e) {
RaycastFailCount++;
@@ -271,7 +271,7 @@
camInfo.pos = { x: playerPos.x, y: playerPos.y, z: playerPos.z + 100 };
}
var tankList = gm.xzq_1.z11b();
var tankList = gm.q100_1.r11l();
var count = tankList.e1();
var threats = [];
@@ -296,19 +296,19 @@
if (aimInfo.angle >= aimThreshold) continue;
// 墙体阻隔判断
var blocked = IsLineOfSightBlocked(pos, playerPos, tank.oyj_1, frameCount);
var blocked = IsLineOfSightBlocked(pos, playerPos, tank.hyt_1, frameCount);
if (blocked) continue;
// 记录威胁
var proj = Project3D(pos, camInfo.pos, camInfo.yaw, camInfo.pitch, camInfo.fov, screenW, screenH);
var tankName = GetTankName(tank) || ('ID:' + tank.oyj_1);
var tankName = GetTankName(tank) || ('ID:' + tank.hyt_1);
threats.push({
pos: pos,
distance: aimInfo.distance,
angle: aimInfo.angle,
turretDir: aimInfo.turretDir,
screenProj: proj,
tankId: tank.oyj_1,
tankId: tank.hyt_1,
tankName: tankName
});
}
+29 -29
View File
@@ -33,15 +33,15 @@
var initError = null;
try {
scene = gm.rym().pyj_1;
mainCamera = scene.nyf_1;
ff = scene.lye_1.r74_1;
if (!mainCamera || !mainCamera.l35_1 || !mainCamera.k35_1 || !mainCamera.h37) {
scene = gm.jyw().iyt_1;
mainCamera = scene.hyp_1;
ff = scene.fyo_1.d75_1;
if (!mainCamera || !mainCamera.s35_1 || !mainCamera.r35_1 || !mainCamera.o37) {
throw new Error('相机字段缺失');
}
console.log('[自由视角] 主相机:', mainCamera.constructor.name,
'l35=(' + mainCamera.l35_1.f20_1.toFixed(2) + ',' + mainCamera.l35_1.g20_1.toFixed(2) + ',' + mainCamera.l35_1.h20_1.toFixed(2) + ')',
'k35=(' + mainCamera.k35_1.f20_1.toFixed(0) + ',' + mainCamera.k35_1.g20_1.toFixed(0) + ',' + mainCamera.k35_1.h20_1.toFixed(0) + ')');
'l35=(' + mainCamera.s35_1.f20_1.toFixed(2) + ',' + mainCamera.s35_1.g20_1.toFixed(2) + ',' + mainCamera.s35_1.h20_1.toFixed(2) + ')',
'k35=(' + mainCamera.r35_1.f20_1.toFixed(0) + ',' + mainCamera.r35_1.g20_1.toFixed(0) + ',' + mainCamera.r35_1.h20_1.toFixed(0) + ')');
} catch(e) {
initError = e;
console.error('[自由视角] 初始化失败:', e.message);
@@ -63,16 +63,16 @@
var mouseSensitivity = 0.005; // 鼠标灵敏度
// ===== Hook mainCamera.h37 =====
var hadOwnH37 = mainCamera.hasOwnProperty('h37');
var origH37 = mainCamera.h37;
var hadOwnH37 = mainCamera.hasOwnProperty('o37');
var origH37 = mainCamera.o37;
function applyFreeLookParams() {
mainCamera.l35_1.f20_1 = freePitch; // pitch (f)
mainCamera.l35_1.g20_1 = freeRoll; // roll (g) 保持初始值
mainCamera.l35_1.h20_1 = freeYaw; // yaw (h) 鼠标左右控制
mainCamera.k35_1.f20_1 = freePosX;
mainCamera.k35_1.g20_1 = freePosY;
mainCamera.k35_1.h20_1 = freePosZ;
mainCamera.s35_1.f20_1 = freePitch; // pitch (f)
mainCamera.s35_1.g20_1 = freeRoll; // roll (g) 保持初始值
mainCamera.s35_1.h20_1 = freeYaw; // yaw (h) 鼠标左右控制
mainCamera.r35_1.f20_1 = freePosX;
mainCamera.r35_1.g20_1 = freePosY;
mainCamera.r35_1.h20_1 = freePosZ;
}
// 缓存从 viewMatrix 提取的前方向/右方向(h37 更新后设置)
@@ -84,34 +84,34 @@
var cachedInitialized = false;
var suspended = false; // 后视镜等模块渲染时临时暂停 hook
mainCamera.h37 = function() {
mainCamera.o37 = function() {
if (freeLookActive && !suspended) {
applyFreeLookParams();
origH37.call(this);
// 从更新后的 viewMatrix (u36_1) 提取前方向和右方向(水平分量 x,y)
if (this.u36_1) {
cachedFwdX = -this.u36_1[2]; // forward.x
cachedFwdY = -this.u36_1[6]; // forward.y
cachedRightX = this.u36_1[0]; // right.x
cachedRightY = this.u36_1[4]; // right.y
if (this.b37_1) {
cachedFwdX = -this.b37_1[2]; // forward.x
cachedFwdY = -this.b37_1[6]; // forward.y
cachedRightX = this.b37_1[0]; // right.x
cachedRightY = this.b37_1[4]; // right.y
cachedInitialized = true;
}
} else {
return origH37.call(this);
}
};
console.log('[自由视角] mainCamera.h37 已 Hook');
console.log('[自由视角] mainCamera.o37 已 Hook');
// ===== 开启/关闭自由视角 =====
function enableFreeLook() {
// 从当前相机参数初始化(平滑过渡)
// l35_1: f=pitch, g=roll, h=yaw
freePitch = mainCamera.l35_1.f20_1;
freeRoll = mainCamera.l35_1.g20_1; // roll 保持初始值
freeYaw = mainCamera.l35_1.h20_1; // yaw 鼠标控制
freePosX = mainCamera.k35_1.f20_1;
freePosY = mainCamera.k35_1.g20_1;
freePosZ = mainCamera.k35_1.h20_1;
freePitch = mainCamera.s35_1.f20_1;
freeRoll = mainCamera.s35_1.g20_1; // roll 保持初始值
freeYaw = mainCamera.s35_1.h20_1; // yaw 鼠标控制
freePosX = mainCamera.r35_1.f20_1;
freePosY = mainCamera.r35_1.g20_1;
freePosZ = mainCamera.r35_1.h20_1;
freeLookActive = true;
console.log('[自由视角] 已开启 — WASD移动 | 鼠标旋转 | 空格上升/Shift下降 | 滚轮调速 | Alt+F关闭');
updateHud();
@@ -282,8 +282,8 @@
if (rafId) cancelAnimationFrame(rafId);
disableFreeLook();
// 恢复 h37
if (hadOwnH37) mainCamera.h37 = origH37;
else delete mainCamera.h37;
if (hadOwnH37) mainCamera.o37 = origH37;
else delete mainCamera.o37;
// 移除监听
window.removeEventListener('keydown', onKeyDown, true);
window.removeEventListener('keyup', onKeyUp, true);
+136 -89
View File
@@ -15,14 +15,14 @@
// 加载队伍判断函数(从 module_87072 导出)
// ZCt (mod.$_$.kd): 从坦克对象获取队伍ID
// m2 (mod.$_$.jk): 判断两个队伍ID是否相同且非中立 = t.equals(n) && !t.equals(E$())
// m2 (mod.$_$.rk): 判断两个队伍ID是否相同且非中立 = t.equals(n) && !t.equals(E$())
function LoadTeamFunctions() {
if (ZCt && m2Fn) return { ZCt: ZCt, m2Fn: m2Fn };
try {
var mod87072 = window.__wp_require__(87072);
if (mod87072 && mod87072.$_$) {
ZCt = mod87072.$_$.kd;
m2Fn = mod87072.$_$.jk;
m2Fn = mod87072.$_$.rk;
console.log('[公共库] 队伍判断函数已加载: ZCt=' + (typeof ZCt) + ', m2=' + (typeof m2Fn));
}
} catch(e) {
@@ -35,9 +35,9 @@
// 遍历 entity.wyj_1.r2a_1(Map<组件标识, 组件列表>),value 是列表类(s_),g1(0) 获取实际组件
// 注意:用 !== undefined 检查字段存在性,避免 falsy 值(0/""/null/false)漏判
function FindComponentByField(entity, fieldName) {
if (!entity || !entity.wyj_1 || !entity.wyj_1.r2a_1) return null;
if (!entity || !entity.pyt_1 || !entity.pyt_1.s2a_1) return null;
var result = null;
entity.wyj_1.r2a_1.forEach(function(valueList, key) {
entity.pyt_1.s2a_1.forEach(function(valueList, key) {
if (result) return;
try {
var comp = (valueList && typeof valueList.g1 === 'function') ? valueList.g1(0) : valueList;
@@ -50,12 +50,12 @@
// ===== 获取坦克位置(G$t 物理组件的 pz7_1 = O$向量) =====
// 返回 {x, y, z},x/y 水平面,z 高度
function GetTankPosition(tank) {
var physicsComp = FindComponentByField(tank, 'pz7_1');
if (physicsComp && physicsComp.pz7_1) {
var physicsComp = FindComponentByField(tank, 'gzh_1');
if (physicsComp && physicsComp.gzh_1) {
return {
x: physicsComp.pz7_1.f20_1,
y: physicsComp.pz7_1.g20_1,
z: physicsComp.pz7_1.h20_1
x: physicsComp.gzh_1.f20_1,
y: physicsComp.gzh_1.g20_1,
z: physicsComp.gzh_1.h20_1
};
}
return null;
@@ -65,16 +65,16 @@
// 状态枚举:0=DEAD, 1=DEAD_PHANTOM, 2=SEMI_ACTIVE, 3=ACTIVE, 4=DISABLED
// Yjt 特征:有 azs_1(状态机)和 vzr_1(状态枚举)字段
function GetTankState(tank) {
if (!tank || !tank.wyj_1 || !tank.wyj_1.r2a_1) return -1;
if (!tank || !tank.pyt_1 || !tank.pyt_1.s2a_1) return -1;
var tankComp = null;
tank.wyj_1.r2a_1.forEach(function(valueList, key) {
tank.pyt_1.s2a_1.forEach(function(valueList, key) {
if (tankComp) return;
try {
var comp = (valueList && typeof valueList.g1 === 'function') ? valueList.g1(0) : valueList;
if (comp && comp.azs_1 && comp.vzr_1 !== undefined) tankComp = comp;
if (comp && comp.t101_1 && comp.o101_1 !== undefined) tankComp = comp;
} catch(e) {}
});
if (tankComp && tankComp.vzr_1) return tankComp.vzr_1.k3_1;
if (tankComp && tankComp.o101_1) return tankComp.o101_1.k3_1;
return -1;
}
@@ -84,20 +84,20 @@
// ===== 获取坦克名称(yot 用户信息组件) =====
// s120_1 = userName, u120_1 = clanTag(可为null), t120_1 = userRank
function GetTankName(tank) {
var userComp = FindComponentByField(tank, 's120_1');
var userComp = FindComponentByField(tank, 'k12a_1');
if (!userComp) return null;
var name = userComp.s120_1 || '';
var clanTag = userComp.u120_1 || '';
var name = userComp.k12a_1 || '';
var clanTag = userComp.m12a_1 || '';
return clanTag ? (clanTag + ' ' + name) : name;
}
// ===== 获取坦克血量(Vkt 血量组件) =====
// f122_1 = 最大血量(max), g122_1 = 当前血量(current, 死亡时=0)
function GetTankHealth(tank) {
var healthComp = FindComponentByField(tank, 'g122_1');
var healthComp = FindComponentByField(tank, 'y12b_1');
if (!healthComp) return null;
var max = healthComp.f122_1 || 0;
var cur = healthComp.g122_1 || 0;
var max = healthComp.x12b_1 || 0;
var cur = healthComp.y12b_1 || 0;
if (max <= 0) return null;
return { current: cur, max: max, percent: cur / max };
}
@@ -107,12 +107,12 @@
// checkPosition: 是否检查位置有效性(默认true;测试脚本传false以在死亡状态控制)
function GetPlayerTank(gm, checkPosition) {
if (checkPosition === undefined) checkPosition = true;
var t = gm.ezr_1;
var t = gm.x100_1;
if (t && (!checkPosition || GetTankPosition(t))) return t;
t = gm.fzr_1;
t = gm.y100_1;
if (t && (!checkPosition || GetTankPosition(t))) return t;
try {
var tl = gm.xzq_1.z11b();
var tl = gm.q100_1.r11l();
if (tl.e1() > 0) {
t = tl.g1(0);
if (t && (!checkPosition || GetTankPosition(t))) return t;
@@ -134,10 +134,10 @@
} catch(e) {}
}
try {
if (gm && gm.gzr_1 && ZCt) {
if (gm && gm.z100_1 && ZCt) {
var team = ZCt(tank);
if (team && gm.gzr_1) {
return team.equals(gm.gzr_1) && m2Fn ? m2Fn(team, gm.gzr_1) : team.equals(gm.gzr_1);
if (team && gm.z100_1) {
return team.equals(gm.z100_1) && m2Fn ? m2Fn(team, gm.z100_1) : team.equals(gm.z100_1);
}
}
} catch(e) {}
@@ -153,12 +153,12 @@
function GetCameraInfo(gm) {
var entities = [];
try {
var gameScene = gm.rym().pyj_1;
var gmEntity = gameScene.eyl("GameMode");
var gameScene = gm.jyw().iyt_1;
var gmEntity = gameScene.xyu("GameMode");
if (gmEntity) entities.push(gmEntity);
} catch(e) {}
try {
var tankList = gm.xzq_1.z11b();
var tankList = gm.q100_1.r11l();
var tCount = tankList.e1();
for (var i = 0; i < tCount; i++) {
var t = tankList.g1(i);
@@ -168,26 +168,26 @@
for (var i = 0; i < entities.length; i++) {
var entity = entities[i];
if (!entity || !entity.wyj_1 || !entity.wyj_1.r2a_1) continue;
if (!entity || !entity.pyt_1 || !entity.pyt_1.s2a_1) continue;
var found = null;
entity.wyj_1.r2a_1.forEach(function(valueList, key) {
entity.pyt_1.s2a_1.forEach(function(valueList, key) {
if (found) return;
try {
var comp = (valueList && typeof valueList.g1 === 'function') ? valueList.g1(0) : valueList;
if (!comp) return;
// 策略1:$r/gq 相机组件
if (comp.kym_1 && comp.lym_1 &&
comp.kym_1.f20_1 !== undefined && comp.lym_1.f20_1 !== undefined) {
if (Math.abs(comp.lym_1.h20_1) > 0.001 || Math.abs(comp.lym_1.f20_1) > 0.001) {
if (comp.cyw_1 && comp.dyw_1 &&
comp.cyw_1.f20_1 !== undefined && comp.dyw_1.f20_1 !== undefined) {
if (Math.abs(comp.dyw_1.h20_1) > 0.001 || Math.abs(comp.dyw_1.f20_1) > 0.001) {
found = comp;
return;
}
}
// 策略2:k7 相机控制器
if (comp.qz9_1 && comp.gz9_1) {
var camComp = comp.gz9_1;
if (camComp && camComp.kym_1 && camComp.lym_1 &&
(Math.abs(camComp.lym_1.h20_1) > 0.001 || Math.abs(camComp.lym_1.f20_1) > 0.001)) {
if (comp.jzj_1 && comp.zzi_1) {
var camComp = comp.zzi_1;
if (camComp && camComp.cyw_1 && camComp.dyw_1 &&
(Math.abs(camComp.dyw_1.h20_1) > 0.001 || Math.abs(camComp.dyw_1.f20_1) > 0.001)) {
found = camComp;
return;
}
@@ -196,13 +196,13 @@
});
if (found) {
return {
yaw: found.lym_1.h20_1,
pitch: found.lym_1.f20_1,
fov: found.jym_1 || 1.0471976,
yaw: found.dyw_1.h20_1,
pitch: found.dyw_1.f20_1,
fov: found.byw_1 || 1.0471976,
pos: {
x: found.kym_1.f20_1,
y: found.kym_1.g20_1,
z: found.kym_1.h20_1
x: found.cyw_1.f20_1,
y: found.cyw_1.g20_1,
z: found.cyw_1.h20_1
}
};
}
@@ -214,14 +214,14 @@
// g16x(startVec, dirVec, maxDist, resultObj, filterObj) = 全局射线检测
function GetUMtComponent(gm) {
try {
var gmEntity = gm.rym();
if (!gmEntity || !gmEntity.wyj_1 || !gmEntity.wyj_1.r2a_1) return null;
var gmEntity = gm.jyw();
if (!gmEntity || !gmEntity.pyt_1 || !gmEntity.pyt_1.s2a_1) return null;
var uMt = null;
gmEntity.wyj_1.r2a_1.forEach(function(valueList, key) {
gmEntity.pyt_1.s2a_1.forEach(function(valueList, key) {
if (uMt) return;
try {
var comp = (valueList && typeof valueList.g1 === 'function') ? valueList.g1(0) : valueList;
if (comp && typeof comp.g16x === 'function') uMt = comp;
if (comp && typeof comp.m179 === 'function') uMt = comp;
} catch(e) {}
});
return uMt;
@@ -234,8 +234,8 @@
function MkVec(x, y, z) {
return {
f20_1: x || 0, g20_1: y || 0, h20_1: z || 0,
j26: function(t) { this.f20_1 = t.f20_1; this.g20_1 = t.g20_1; this.h20_1 = t.h20_1; },
o23: function(x, y, z) { this.f20_1 = x; this.g20_1 = y; this.h20_1 = z; return this; }
k26: function(t) { this.f20_1 = t.f20_1; this.g20_1 = t.g20_1; this.h20_1 = t.h20_1; },
n23: function(x, y, z) { this.f20_1 = x; this.g20_1 = y; this.h20_1 = z; return this; }
};
}
@@ -248,28 +248,28 @@
var startVec = MkVec(fromPos.x, fromPos.y, fromPos.z);
var dirVec = MkVec(dirX, dirY, dirZ);
var result = {
s16w_1: MkVec(0, 0, 0),
t16w_1: MkVec(0, 0, 0),
u16w_1: maxDist,
w16w_1: null,
v16w_1: null,
x16w: function(t, n, i, r, e) {
this.s16w_1.j26(t);
this.t16w_1.j26(n);
this.u16w_1 = i;
this.w16w_1 = r;
this.v16w_1 = e;
y178_1: MkVec(0, 0, 0),
z178_1: MkVec(0, 0, 0),
a179_1: maxDist,
c179_1: null,
b179_1: null,
d179: function(t, n, i, r, e) {
this.y178_1.k26(t);
this.z178_1.k26(n);
this.a179_1 = i;
this.c179_1 = r;
this.b179_1 = e;
},
d3: function() { this.v16w_1 = null; }
d3: function() { this.b179_1 = null; }
};
var filter = {
w1cg_1: { h1: function() { return false; }, d3: function() {} },
q16x: function() { return true; },
d3: function() { this.w1cg_1.d3(); },
x1cg: function() {}
o1co_1: { h1: function() { return false; }, d3: function() {} },
w179: function() { return true; },
d3: function() { this.o1co_1.d3(); },
p1co: function() {}
};
var hit = uMt.g16x(startVec, dirVec, maxDist, result, filter);
return (hit && result.u16w_1 < maxDist) ? result.u16w_1 : -1;
var hit = uMt.m179(startVec, dirVec, maxDist, result, filter);
return (hit && result.a179_1 < maxDist) ? result.a179_1 : -1;
} catch(e) {
return -1;
}
@@ -313,35 +313,82 @@
// ===== 让元素可拖动(左键拖动,改变 left/top) =====
// 适用于固定定位的小窗口(雷达、后视镜等)
// 实现要点:Pointer Events + setPointerCapture,保证 pointerup/pointercancel 必定回到元素,
// 并在 window 捕获阶段兜底,避免游戏画布抢事件后"松手仍粘着鼠标"。
function MakeDraggable(elem) {
if (!elem) return;
if (!elem) return null;
elem.style.cursor = 'move';
var dragging = false;
var startX = 0, startY = 0, elemX = 0, elemY = 0;
elem.addEventListener('mousedown', function(e) {
if (e.button !== 0) return;
dragging = true;
startX = e.clientX;
startY = e.clientY;
var rect = elem.getBoundingClientRect();
elemX = rect.left;
elemY = rect.top;
var Active = false;
var PointerId = null;
var GrabX = 0;
var GrabY = 0;
function MoveTo(ClientX, ClientY) {
var NextX = Math.max(0, Math.min(window.innerWidth - 50, ClientX - GrabX));
var NextY = Math.max(0, Math.min(window.innerHeight - 30, ClientY - GrabY));
elem.style.left = NextX + 'px';
elem.style.top = NextY + 'px';
}
function Begin(ClientX, ClientY) {
var Rect = elem.getBoundingClientRect();
// 移除 right 定位,改用 left
elem.style.right = 'auto';
elem.style.left = elemX + 'px';
elem.style.top = elemY + 'px';
elem.style.transform = 'none';
elem.style.left = Rect.left + 'px';
elem.style.top = Rect.top + 'px';
GrabX = ClientX - Rect.left;
GrabY = ClientY - Rect.top;
Active = true;
elem.style.cursor = 'grabbing';
}
function End() {
if (!Active) return;
Active = false;
if (PointerId !== null && elem.releasePointerCapture) {
try { elem.releasePointerCapture(PointerId); } catch (Err) {}
}
PointerId = null;
elem.style.cursor = 'move';
}
if (window.PointerEvent) {
elem.addEventListener('pointerdown', function (e) {
if (e.button !== 0) return;
Begin(e.clientX, e.clientY);
PointerId = e.pointerId;
try { elem.setPointerCapture(e.pointerId); } catch (Err) {}
e.preventDefault();
});
elem.addEventListener('pointermove', function (e) {
if (!Active || (PointerId !== null && e.pointerId !== PointerId)) return;
if (e.buttons === 0) { End(); return; }
MoveTo(e.clientX, e.clientY);
});
elem.addEventListener('pointerup', function () { End(); });
elem.addEventListener('pointercancel', function () { End(); });
elem.addEventListener('lostpointercapture', function () { End(); });
window.addEventListener('pointerup', function () { End(); }, true);
} else {
elem.addEventListener('mousedown', function (e) {
if (e.button !== 0) return;
Begin(e.clientX, e.clientY);
e.preventDefault();
});
document.addEventListener('mousemove', function (e) {
if (!dragging) return;
var nx = elemX + (e.clientX - startX);
var ny = elemY + (e.clientY - startY);
nx = Math.max(0, Math.min(window.innerWidth - 50, nx));
ny = Math.max(0, Math.min(window.innerHeight - 30, ny));
elem.style.left = nx + 'px';
elem.style.top = ny + 'px';
});
document.addEventListener('mouseup', function() { dragging = false; });
if (!Active) return;
if (e.buttons === 0) { End(); return; }
MoveTo(e.clientX, e.clientY);
}, true);
document.addEventListener('mouseup', function () { End(); }, true);
}
window.addEventListener('blur', End);
window.addEventListener('mouseleave', End);
return { End: End, IsActive: function () { return Active; } };
}
// ===== 导出公共函数到 window.__hornetLib__ =====
+97 -31
View File
@@ -16,42 +16,101 @@
// ===== 通用拖动功能 =====
// elem: 要拖动的元素,handle: 触发拖动的元素(默认=elem)
// ignoreTags: 点击这些标签时不触发拖动(如 BUTTON)
// 实现要点:Pointer Events + setPointerCapture 把指针"锁"在 handle 上,
// pointerup/pointercancel 必定回到 handle;并在 window 捕获阶段加兜底,
// 避免面板内 stopPropagation 或游戏画布抢事件导致"松手后仍粘着鼠标"。
// 返回:{ End, IsActive },供隐藏面板时强制结束拖动
function MakeDraggable(elem, handle, ignoreTags) {
handle = handle || elem;
ignoreTags = ignoreTags || ['BUTTON', 'INPUT', 'SELECT', 'TEXTAREA'];
handle.style.cursor = 'move';
var dragging = false;
var startX = 0, startY = 0, elemX = 0, elemY = 0;
handle.addEventListener('mousedown', function(e) {
if (e.button !== 0) return; // 只响应左键
var tag = e.target.tagName;
if (ignoreTags.indexOf(tag) >= 0) return; // 按钮等不触发拖动
dragging = true;
startX = e.clientX;
startY = e.clientY;
var rect = elem.getBoundingClientRect();
elemX = rect.left;
elemY = rect.top;
// 移除 transform 居中,改用绝对位置
var Active = false;
var PointerId = null;
var GrabX = 0;
var GrabY = 0;
function MoveTo(ClientX, ClientY) {
var MaxX = window.innerWidth - 40;
var MaxY = window.innerHeight - 24;
var NextX = Math.max(0, Math.min(MaxX, ClientX - GrabX));
var NextY = Math.max(0, Math.min(MaxY, ClientY - GrabY));
elem.style.left = NextX + 'px';
elem.style.top = NextY + 'px';
}
function Begin(ClientX, ClientY) {
var Rect = elem.getBoundingClientRect();
// 移除 transform 居中,改用绝对定位,避免拖动起点跳变
elem.style.transform = 'none';
elem.style.left = elemX + 'px';
elem.style.top = elemY + 'px';
elem.style.left = Rect.left + 'px';
elem.style.top = Rect.top + 'px';
GrabX = ClientX - Rect.left;
GrabY = ClientY - Rect.top;
Active = true;
handle.style.cursor = 'grabbing';
}
function End() {
if (!Active) return;
Active = false;
if (PointerId !== null && handle.releasePointerCapture) {
try { handle.releasePointerCapture(PointerId); } catch (Err) {}
}
PointerId = null;
handle.style.cursor = 'move';
}
function CanStart(Target) {
return !Target || ignoreTags.indexOf(Target.tagName) < 0;
}
if (window.PointerEvent) {
// 捕获阶段监听:先于元素自身的 stopPropagation 执行
handle.addEventListener('pointerdown', function (e) {
if (e.button !== 0) return;
if (!CanStart(e.target)) return;
Begin(e.clientX, e.clientY);
PointerId = e.pointerId;
try { handle.setPointerCapture(e.pointerId); } catch (Err) {}
e.preventDefault();
});
e.stopPropagation();
}, true);
handle.addEventListener('pointermove', function (e) {
if (!Active || (PointerId !== null && e.pointerId !== PointerId)) return;
// 兜底:按键已经松开(例如在窗口外松手)→ 结束拖动
if (e.buttons === 0) { End(); return; }
MoveTo(e.clientX, e.clientY);
e.preventDefault();
}, true);
handle.addEventListener('pointerup', function () { End(); }, true);
handle.addEventListener('pointercancel', function () { End(); }, true);
handle.addEventListener('lostpointercapture', function () { End(); }, true);
window.addEventListener('pointerup', function () { End(); }, true);
} else {
// 旧浏览器回退:mouse 事件 + document 捕获阶段监听
handle.addEventListener('mousedown', function (e) {
if (e.button !== 0) return;
if (!CanStart(e.target)) return;
Begin(e.clientX, e.clientY);
e.preventDefault();
}, true);
document.addEventListener('mousemove', function (e) {
if (!dragging) return;
var nx = elemX + (e.clientX - startX);
var ny = elemY + (e.clientY - startY);
// 限制在屏幕内
nx = Math.max(0, Math.min(window.innerWidth - 50, nx));
ny = Math.max(0, Math.min(window.innerHeight - 30, ny));
elem.style.left = nx + 'px';
elem.style.top = ny + 'px';
});
if (!Active) return;
if (e.buttons === 0) { End(); return; }
MoveTo(e.clientX, e.clientY);
}, true);
document.addEventListener('mouseup', function () { End(); }, true);
}
document.addEventListener('mouseup', function() { dragging = false; });
// 公共兜底:窗口失焦 / 页面切后台 / 鼠标离开窗口
window.addEventListener('blur', End);
window.addEventListener('mouseleave', End);
document.addEventListener('visibilitychange', function () { if (document.hidden) End(); });
return { End: End, IsActive: function () { return Active; } };
}
// ===== 工具列表(动态从 __hornetTools__ 获取)=====
@@ -78,7 +137,7 @@
'white-space:pre;line-height:1.6;text-shadow:0 0 3px rgba(125,249,255,0.4);' +
'user-select:none;-webkit-user-select:none;box-shadow:0 2px 12px rgba(0,0,0,0.4);';
document.body.appendChild(hud);
MakeDraggable(hud);
var HudDrag = MakeDraggable(hud);
// ===== 面板(可拖动,Alt+T 切换)=====
var panel = document.createElement('div');
@@ -428,7 +487,7 @@
document.body.appendChild(panel);
// 面板通过标题栏拖动
MakeDraggable(panel, title);
var PanelDrag = MakeDraggable(panel, title);
// ===== 阻止面板内事件冒泡到 window(防止游戏/工具拦截键盘鼠标)=====
// 鼠标事件:面板上所有鼠标事件都阻止冒泡(防止游戏转视角/开炮等)
@@ -624,9 +683,14 @@
return parts.join('+');
}
function HidePanel() {
panel.style.display = 'none';
PanelDrag.End(); // 防止隐藏时拖动状态残留(粘手)
}
function TogglePanel() {
if (panel.style.display === 'block') {
panel.style.display = 'none';
HidePanel();
} else {
panel.style.display = 'block';
UpdateButtons();
@@ -636,7 +700,7 @@
function OnHotkey(e) {
if (e.key === 'Escape' && panel.style.display === 'block') {
panel.style.display = 'none';
HidePanel();
return;
}
var hk = EventToHotkey(e);
@@ -667,7 +731,7 @@
window.__hornetPanel__ = {
Toggle: TogglePanel,
Show: function() { panel.style.display = 'block'; UpdateButtons(); SyncWfSettings(); },
Hide: function() { panel.style.display = 'none'; },
Hide: HidePanel,
UpdateButtons: UpdateButtons,
RebuildButtons: BuildButtons,
GetHotkeys: function() { var r = {}; Object.keys(Hotkeys).forEach(function(k) { r[k] = Hotkeys[k]; }); return r; },
@@ -688,6 +752,8 @@
console.log('[3DTank] 热键已重置为默认值');
},
Destroy: function() {
HudDrag.End();
PanelDrag.End();
if (hud.parentNode) hud.parentNode.removeChild(hud);
if (panel.parentNode) panel.parentNode.removeChild(panel);
window.removeEventListener('keydown', OnHotkey);
+2 -2
View File
@@ -50,8 +50,8 @@
console.log('[Hornet Prehook] __webpack_require__ 已捕获');
console.log('[Hornet Prehook] window.__wp_require__ 就绪');
// 加载 hornet_bundle.js(如果尚未加载)
if (!window.__hornetTools__) {
// 加载 hornet_bundle.js(默认关闭:URL 加 ?hornet=1 才加载,避免日志遮挡)
if (!window.__hornetTools__ && /[?&]hornet=1(&|$)/.test(location.search)) {
var s = document.createElement('script');
s.src = '/play/static/js/unpacked/hornet_bundle.js';
s.onload = function() {
+39 -39
View File
@@ -36,12 +36,12 @@
// ===== 获取坦克方向(Kkt 组件的 dzc_1) =====
function getTankDirection(tank) {
var hullComp = FindComponentByField(tank, 'czc_1');
if (hullComp && hullComp.dzc_1) {
var hullComp = FindComponentByField(tank, 'vzl_1');
if (hullComp && hullComp.wzl_1) {
return {
x: hullComp.dzc_1.f20_1,
y: hullComp.dzc_1.g20_1,
z: hullComp.dzc_1.h20_1
x: hullComp.wzl_1.f20_1,
y: hullComp.wzl_1.g20_1,
z: hullComp.wzl_1.h20_1
};
}
return null;
@@ -56,14 +56,14 @@
// 1. GameMode entity
try {
var gameScene = gm.rym().pyj_1;
var gmEntity = gameScene.eyl("GameMode");
var gameScene = gm.jyw().iyt_1;
var gmEntity = gameScene.xyu("GameMode");
if (gmEntity) entities.push(gmEntity);
} catch(e) {}
// 2. 所有坦克列表中的 entity
try {
var tankList = gm.xzq_1.z11b();
var tankList = gm.q100_1.r11l();
var tCount = tankList.e1();
for (var i = 0; i < tCount; i++) {
var t = tankList.g1(i);
@@ -74,30 +74,30 @@
// 在每个 entity 上查找相机组件
for (var i = 0; i < entities.length; i++) {
var entity = entities[i];
if (!entity || !entity.wyj_1 || !entity.wyj_1.r2a_1) continue;
if (!entity || !entity.pyt_1 || !entity.pyt_1.s2a_1) continue;
var found = null;
entity.wyj_1.r2a_1.forEach(function(valueList, key) {
entity.pyt_1.s2a_1.forEach(function(valueList, key) {
if (found) return;
try {
var comp = (valueList && typeof valueList.g1 === 'function') ? valueList.g1(0) : valueList;
if (!comp) return;
// 策略1:查找 $r/gq 相机组件(有 kym_1 和 lym_1 字段)
if (comp.kym_1 && comp.lym_1 &&
comp.kym_1.f20_1 !== undefined && comp.lym_1.f20_1 !== undefined) {
if (comp.cyw_1 && comp.dyw_1 &&
comp.cyw_1.f20_1 !== undefined && comp.dyw_1.f20_1 !== undefined) {
// 检查是否是活跃的相机(lym_1 不全为0)
if (Math.abs(comp.lym_1.h20_1) > 0.001 || Math.abs(comp.lym_1.f20_1) > 0.001) {
if (Math.abs(comp.dyw_1.h20_1) > 0.001 || Math.abs(comp.dyw_1.f20_1) > 0.001) {
found = comp;
return;
}
}
// 策略2:查找 k7 相机控制器(有 qz9_1 和 gz9_1 字段)
if (comp.qz9_1 && comp.gz9_1) {
var camComp = comp.gz9_1;
if (camComp && camComp.kym_1 && camComp.lym_1 &&
(Math.abs(camComp.lym_1.h20_1) > 0.001 || Math.abs(camComp.lym_1.f20_1) > 0.001)) {
if (comp.jzj_1 && comp.zzi_1) {
var camComp = comp.zzi_1;
if (camComp && camComp.cyw_1 && camComp.dyw_1 &&
(Math.abs(camComp.dyw_1.h20_1) > 0.001 || Math.abs(camComp.dyw_1.f20_1) > 0.001)) {
found = camComp;
return;
}
@@ -109,12 +109,12 @@
// lym_1.h20_1 = -atan2(t, n) = 偏航角
// lym_1.f20_1 = atan2(i, e) = 俯仰角
return {
yaw: -found.lym_1.h20_1, // 偏航角(转为正向)
pitch: found.lym_1.f20_1, // 俯仰角
yaw: -found.dyw_1.h20_1, // 偏航角(转为正向)
pitch: found.dyw_1.f20_1, // 俯仰角
pos: {
x: found.kym_1.f20_1,
y: found.kym_1.g20_1,
z: found.kym_1.h20_1
x: found.cyw_1.f20_1,
y: found.cyw_1.g20_1,
z: found.cyw_1.h20_1
}
};
}
@@ -133,13 +133,13 @@
function getUMtComponent() {
if (UMtComponent) return UMtComponent;
try {
var gmEntity = gm.rym();
if (!gmEntity || !gmEntity.wyj_1 || !gmEntity.wyj_1.r2a_1) return null;
gmEntity.wyj_1.r2a_1.forEach(function(valueList, key) {
var gmEntity = gm.jyw();
if (!gmEntity || !gmEntity.pyt_1 || !gmEntity.pyt_1.s2a_1) return null;
gmEntity.pyt_1.s2a_1.forEach(function(valueList, key) {
if (UMtComponent) return;
try {
var comp = (valueList && typeof valueList.g1 === 'function') ? valueList.g1(0) : valueList;
if (comp && typeof comp.g16x === 'function') UMtComponent = comp;
if (comp && typeof comp.m179 === 'function') UMtComponent = comp;
} catch(e) {}
});
if (UMtComponent) console.log('[雷达] uMt 碰撞检测器已获取');
@@ -161,21 +161,21 @@
var startVec = MkVec(fromPos.x, fromPos.y, fromPos.z);
var dirVec = MkVec(dirX, dirY, dirZ);
var result = {
s16w_1: MkVec(0,0,0), t16w_1: MkVec(0,0,0),
u16w_1: maxDist, w16w_1: null, v16w_1: null,
x16w: function(t, n, i, r, e) {
this.s16w_1.j26(t); this.t16w_1.j26(n);
this.u16w_1 = i; this.w16w_1 = r; this.v16w_1 = e;
y178_1: MkVec(0,0,0), z178_1: MkVec(0,0,0),
a179_1: maxDist, c179_1: null, b179_1: null,
d179: function(t, n, i, r, e) {
this.y178_1.k26(t); this.z178_1.k26(n);
this.a179_1 = i; this.c179_1 = r; this.b179_1 = e;
},
d3: function() { this.v16w_1 = null; }
d3: function() { this.b179_1 = null; }
};
var filter = {
w1cg_1: { h1: function() { return false; }, d3: function() {} },
q16x: function() { return true; },
d3: function() {}, x1cg: function() {}
o1co_1: { h1: function() { return false; }, d3: function() {} },
w179: function() { return true; },
d3: function() {}, p1co: function() {}
};
var hit = uMt.g16x(startVec, dirVec, maxDist, result, filter);
return (hit && result.u16w_1 < maxDist) ? result.u16w_1 : -1;
var hit = uMt.m179(startVec, dirVec, maxDist, result, filter);
return (hit && result.a179_1 < maxDist) ? result.a179_1 : -1;
} catch(e) {
return -1;
}
@@ -524,7 +524,7 @@
radar.frameCount++;
try {
var tankList = gm.xzq_1.z11b();
var tankList = gm.q100_1.r11l();
var count = tankList.e1();
radar.tankCount = count;
@@ -677,7 +677,7 @@
ctx.textAlign = 'left';
ctx.fillText('Tanks: ' + count + ' (B:' + friendlyCount + ' R:' + enemyCount + ')', 5, 12);
if (radar.playerFound) {
ctx.fillText('Player: ' + (playerTank ? playerTank.oyj_1 : '?'), 5, 24);
ctx.fillText('Player: ' + (playerTank ? playerTank.hyt_1 : '?'), 5, 24);
} else {
ctx.fillText('Player: NOT FOUND', 5, 24);
}
+70 -70
View File
@@ -71,7 +71,7 @@
var fakeQueue = {
e1: function() { return 0; },
g1: function(i) { return null; },
v2a: function(x) {},
w2a: function(x) {},
d3: function() {},
ii: function(x) {}
};
@@ -81,27 +81,27 @@
var initError = null;
try {
scene = gm.rym().pyj_1;
scene = gm.jyw().iyt_1;
console.log('[后视] 场景对象:', scene);
// hC 渲染器实例(jr.lye_1)
var renderer = scene.lye_1;
var renderer = scene.fyo_1;
console.log('[后视] 渲染器:', renderer);
// Ff 绘制器实例(hC.r74_1)
ff = renderer.r74_1;
ff = renderer.d75_1;
console.log('[后视] Ff绘制器:', ff);
// 场景根节点(jr.kyf_1)
rootNode = scene.kyf_1;
rootNode = scene.eyp_1;
console.log('[后视] 根节点:', rootNode);
// 主相机 Ha 实例(jr.nyf_1)
mainCamera = scene.nyf_1;
mainCamera = scene.hyp_1;
console.log('[后视] 主相机:', mainCamera);
// 游戏 gl context(Ff.p39_1.p73_1 = BS.p73_1)
gl = ff.p39_1.p73_1;
gl = ff.w39_1.b74_1;
console.log('[后视] GL上下文:', gl);
if (!ff || !rootNode || !mainCamera || !gl) {
@@ -109,11 +109,11 @@
}
// 探测相机字段
console.log('[后视] 相机l35_1:', mainCamera.l35_1);
console.log('[后视] 相机k35_1:', mainCamera.k35_1);
console.log('[后视] 相机u36_1:', mainCamera.u36_1);
console.log('[后视] 相机s35_1:', mainCamera.s35_1);
console.log('[后视] 相机r35_1:', mainCamera.r35_1);
console.log('[后视] 相机b37_1:', mainCamera.b37_1);
if (!mainCamera.l35_1 || !mainCamera.k35_1) {
if (!mainCamera.s35_1 || !mainCamera.r35_1) {
throw new Error('相机字段缺失');
}
@@ -245,11 +245,11 @@
// Hook BS.h3c/g3c:后视渲染时返回 FBO 尺寸(修复 screenSize/aspect ratio)
// y3s 会调用 BS.h3c()/g3c() 获取 drawingBufferWidth/Height 设置相机 l36_1/m36_1
// 不 Hook 的话 aspect ratio 会用游戏 canvas 尺寸(如1920x1080),导致画面比例错误
origH3c = ff.p39_1.h3c.bind(ff.p39_1);
origG3c = ff.p39_1.g3c.bind(ff.p39_1);
ff.p39_1.h3c = function() { return rearviewRendering ? rw : origH3c(); };
ff.p39_1.g3c = function() { return rearviewRendering ? rh : origG3c(); };
console.log('[后视] BS.h3c/g3c 已 Hook');
origH3c = ff.w39_1.o3c.bind(ff.w39_1);
origG3c = ff.w39_1.n3c.bind(ff.w39_1);
ff.w39_1.o3c = function() { return rearviewRendering ? rw : origH3c(); };
ff.w39_1.n3c = function() { return rearviewRendering ? rh : origG3c(); };
console.log('[后视] BS.o3c/n3c 已 Hook');
}
// ===== 渲染后视镜 =====
@@ -309,17 +309,17 @@
var camPosZ = playerPos.z + Config.cameraHeight;
// ===== 保存主相机参数 =====
var savedPitch = mainCamera.l35_1.f20_1;
var savedYaw = mainCamera.l35_1.g20_1;
var savedRoll = mainCamera.l35_1.h20_1;
var savedX = mainCamera.k35_1.f20_1;
var savedY = mainCamera.k35_1.g20_1;
var savedZ = mainCamera.k35_1.h20_1;
var savedL36 = mainCamera.l36_1;
var savedM36 = mainCamera.m36_1;
var savedS36 = mainCamera.s36_1;
var savedQ36 = mainCamera.q36_1;
var savedR36 = mainCamera.r36_1;
var savedPitch = mainCamera.s35_1.f20_1;
var savedYaw = mainCamera.s35_1.g20_1;
var savedRoll = mainCamera.s35_1.h20_1;
var savedX = mainCamera.r35_1.f20_1;
var savedY = mainCamera.r35_1.g20_1;
var savedZ = mainCamera.r35_1.h20_1;
var savedL36 = mainCamera.s36_1;
var savedM36 = mainCamera.t36_1;
var savedS36 = mainCamera.z36_1;
var savedQ36 = mainCamera.x36_1;
var savedR36 = mainCamera.y36_1;
// 临时暂停自由视角的 h37 hook,避免覆盖后视镜相机参数
var fl = window.__hornetFreeLook__;
@@ -330,41 +330,41 @@
// g=π 使水平方向反向(朝后看),h=yaw+π 保持水平视角正确
// f=-pitch 使垂直方向与主视一致(低头看后方地形)
// up 朝下 → FBO 画面颠倒 → GL readback Y 翻转修正
mainCamera.l35_1.f20_1 = rearPitch;
mainCamera.l35_1.g20_1 = Math.PI;
mainCamera.l35_1.h20_1 = camInfo.yaw + Math.PI;
mainCamera.k35_1.f20_1 = camPosX;
mainCamera.k35_1.g20_1 = camPosY;
mainCamera.k35_1.h20_1 = camPosZ;
mainCamera.l36_1 = rw;
mainCamera.m36_1 = rh;
mainCamera.s36_1 = Config.fov;
mainCamera.q36_1 = Config.near;
mainCamera.r36_1 = Config.far;
mainCamera.s35_1.f20_1 = rearPitch;
mainCamera.s35_1.g20_1 = Math.PI;
mainCamera.s35_1.h20_1 = camInfo.yaw + Math.PI;
mainCamera.r35_1.f20_1 = camPosX;
mainCamera.r35_1.g20_1 = camPosY;
mainCamera.r35_1.h20_1 = camPosZ;
mainCamera.s36_1 = rw;
mainCamera.t36_1 = rh;
mainCamera.z36_1 = Config.fov;
mainCamera.x36_1 = Config.near;
mainCamera.y36_1 = Config.far;
// 更新相机矩阵(viewMatrix, projectionMatrix, viewProjectionMatrix)
mainCamera.h37();
mainCamera.o37();
// 保存后视视图矩阵副本(用于 UI 标记投影,finally 会恢复相机所以需提前保存)
var rearViewMatrix = new Float32Array(mainCamera.u36_1);
var rearViewMatrix = new Float32Array(mainCamera.b37_1);
// ===== 保存并禁用阴影/后处理(避免它们切换 FBO 覆盖 rearFbo)=====
// p38_1.x3n_1 控制 z39_1(阴影),y3n_1 控制 c3a_1/d3a_1(后处理),z3n_1 控制 f3a_1
// 禁用后 y3s 只执行主场景渲染 z3k,跳过所有 FBO 切换的 pass
var savedX3n = ff.p38_1.x3n_1;
var savedY3n = ff.p38_1.y3n_1;
var savedZ3n = ff.p38_1.z3n_1;
ff.p38_1.x3n_1 = false;
ff.p38_1.y3n_1 = false;
ff.p38_1.z3n_1 = false;
var savedX3n = ff.w38_1.e3o_1;
var savedY3n = ff.w38_1.f3o_1;
var savedZ3n = ff.w38_1.g3o_1;
ff.w38_1.e3o_1 = false;
ff.w38_1.f3o_1 = false;
ff.w38_1.g3o_1 = false;
// ===== 禁用 UI 渲染层(防止技能条等 UI 混入后视 FBO)=====
// 保存 UI 层队列,替换为空假对象,y3s 后恢复
var savedUiQueues = {};
for (var ui = 0; ui < uiLayerIndices.length; ui++) {
var li = uiLayerIndices[ui];
savedUiQueues[li] = ff.x38_1[li];
ff.x38_1[li] = fakeQueue;
savedUiQueues[li] = ff.e39_1[li];
ff.e39_1[li] = fakeQueue;
}
// ===== 渲染到 FBO =====
@@ -377,7 +377,7 @@
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
// 调用游戏原生渲染器(已禁用阴影/后处理/UI层,只渲染 3D 场景)
ff.y3s(rootNode, mainCamera);
ff.f3t(rootNode, mainCamera);
rearviewRendering = false;
@@ -430,9 +430,9 @@
// ===== 恢复阴影/后处理(异常时也要恢复)=====
try {
if (typeof savedX3n !== 'undefined') {
ff.p38_1.x3n_1 = savedX3n;
ff.p38_1.y3n_1 = savedY3n;
ff.p38_1.z3n_1 = savedZ3n;
ff.w38_1.e3o_1 = savedX3n;
ff.w38_1.f3o_1 = savedY3n;
ff.w38_1.g3o_1 = savedZ3n;
}
} catch(e) {
console.error('[后视] 恢复阴影/后处理失败:', e.message);
@@ -443,7 +443,7 @@
if (savedUiQueues) {
for (var ui2 = 0; ui2 < uiLayerIndices.length; ui2++) {
var li2 = uiLayerIndices[ui2];
ff.x38_1[li2] = savedUiQueues[li2];
ff.e39_1[li2] = savedUiQueues[li2];
}
}
} catch(e) {
@@ -452,18 +452,18 @@
// ===== 恢复主相机参数 =====
try {
mainCamera.l35_1.f20_1 = savedPitch;
mainCamera.l35_1.g20_1 = savedYaw;
mainCamera.l35_1.h20_1 = savedRoll;
mainCamera.k35_1.f20_1 = savedX;
mainCamera.k35_1.g20_1 = savedY;
mainCamera.k35_1.h20_1 = savedZ;
mainCamera.l36_1 = savedL36;
mainCamera.m36_1 = savedM36;
mainCamera.s36_1 = savedS36;
mainCamera.q36_1 = savedQ36;
mainCamera.r36_1 = savedR36;
mainCamera.h37();
mainCamera.s35_1.f20_1 = savedPitch;
mainCamera.s35_1.g20_1 = savedYaw;
mainCamera.s35_1.h20_1 = savedRoll;
mainCamera.r35_1.f20_1 = savedX;
mainCamera.r35_1.g20_1 = savedY;
mainCamera.r35_1.h20_1 = savedZ;
mainCamera.s36_1 = savedL36;
mainCamera.t36_1 = savedM36;
mainCamera.z36_1 = savedS36;
mainCamera.x36_1 = savedQ36;
mainCamera.y36_1 = savedR36;
mainCamera.o37();
} catch(e) {
console.error('[后视] 恢复相机失败:', e.message);
}
@@ -479,7 +479,7 @@
// ===== UI 标记绘制 =====
function DrawUIMarkers(playerTank, playerPos, camInfo, viewMatrix) {
var tankList = gm.xzq_1.z11b();
var tankList = gm.q100_1.r11l();
var count = tankList.e1();
debugInfo.tankCount = count;
var visibleTanks = 0;
@@ -579,10 +579,10 @@
}
// 恢复 BS.h3c/g3c
if (origH3c && ff && ff.p39_1) {
ff.p39_1.h3c = origH3c;
ff.p39_1.g3c = origG3c;
console.log('[后视] BS.h3c/g3c 已恢复');
if (origH3c && ff && ff.w39_1) {
ff.w39_1.o3c = origH3c;
ff.w39_1.n3c = origG3c;
console.log('[后视] BS.o3c/n3c 已恢复');
}
// 清理 FBO
+50 -50
View File
@@ -26,7 +26,7 @@
var kcVerified = false;
function _start() {
console.log('===== 坦克移动控制启动(j14b_1 控制值修改版) =====');
console.log('===== 坦克移动控制启动(v14m_1 控制值修改版) =====');
if (!window.__gameMode__) {
console.error('请先运行 hook_gamemode.js');
@@ -47,12 +47,12 @@
// ===== 获取玩家坦克 =====
function GetPlayerTank() {
var t = gm.fzr_1;
var t = gm.y100_1;
if (t) return t;
t = gm.ezr_1;
t = gm.x100_1;
if (t) return t;
try {
var tl = gm.xzq_1.z11b();
var tl = gm.q100_1.r11l();
if (tl.e1() > 0) return tl.g1(0);
} catch(e) {}
return null;
@@ -65,47 +65,47 @@
}
// ===== 获取 Dyt 组件(履带底盘,有 j14b_1 字段) =====
dyt = FindComponentByField(playerTank, 'j14b_1');
dyt = FindComponentByField(playerTank, 'v14m_1');
if (!dyt) {
console.error('[测试] 未找到 Dyt 组件(j14b_1 字段)');
console.error('[测试] 未找到 Dyt 组件(v14m_1 字段)');
console.error('[测试] 玩家坦克可能不是履带坦克,或移动组件未初始化');
return;
}
// ===== 诊断信息 =====
console.log('[诊断] Dyt 组件状态:');
console.log(' b14b_1 (在战斗中):', dyt.b14b_1);
console.log(' n14m_1 (在战斗中):', dyt.n14m_1);
try {
console.log(' j14b_1:', dyt.j14b_1.toString());
console.log(' v14m_1:', dyt.v14m_1.toString());
console.log(' i14b_1:', dyt.i14b_1.toString());
} catch(e) {
console.log(' j14b_1/i14b_1 toString 失败:', e.message);
console.log(' v14m_1/i14b_1 toString 失败:', e.message);
}
// 检查 KC(z14a_1)的方法
if (dyt.z14a_1) {
console.log(' z14a_1.aye:', typeof dyt.z14a_1.aye);
console.log(' z14a_1.kak:', typeof dyt.z14a_1.kak);
console.log(' z14a_1 constructor:', dyt.z14a_1.constructor && dyt.z14a_1.constructor.name);
if (dyt.l14m_1) {
console.log(' l14m_1.aye:', typeof dyt.l14m_1.aye);
console.log(' l14m_1.kak:', typeof dyt.l14m_1.kak);
console.log(' l14m_1 constructor:', dyt.l14m_1.constructor && dyt.l14m_1.constructor.name);
} else {
console.warn(' z14a_1 为 null,KC 回调可能未注册');
console.warn(' l14m_1 为 null,KC 回调可能未注册');
}
// ===== 获取 maxSpeed 和 maxTurn =====
// 尝试从 f14b_1(speedCharacteristics/dgt 组件)获取
try {
var sc = dyt.f14b_1;
var sc = dyt.r14m_1;
if (sc) {
if (typeof sc.na9 === 'function') {
maxSpeed = sc.na9();
console.log(' 从 f14b_1.na9() 获取 maxSpeed:', maxSpeed);
} else if (sc.i141_1 !== undefined) {
maxSpeed = sc.i141_1;
console.log(' 从 f14b_1.i141_1 获取 maxSpeed:', maxSpeed);
console.log(' 从 r14m_1.na9() 获取 maxSpeed:', maxSpeed);
} else if (sc.f14c_1 !== undefined) {
maxSpeed = sc.f14c_1;
console.log(' 从 r14m_1.f14c_1 获取 maxSpeed:', maxSpeed);
}
if (sc.m141_1 !== undefined) {
maxTurn = sc.m141_1;
console.log(' 从 f14b_1.m141_1 获取 maxTurn:', maxTurn);
if (sc.j14c_1 !== undefined) {
maxTurn = sc.j14c_1;
console.log(' 从 r14m_1.j14c_1 获取 maxTurn:', maxTurn);
}
}
} catch(e) {
@@ -115,13 +115,13 @@
// 尝试从其他组件获取(a149_1 字段存储 na9() 的值)
if (maxSpeed === 100) {
try {
playerTank.wyj_1.r2a_1.forEach(function(valueList) {
playerTank.pyt_1.s2a_1.forEach(function(valueList) {
if (maxSpeed !== 100) return;
try {
var comp = valueList && typeof valueList.g1 === 'function' ? valueList.g1(0) : valueList;
if (comp && comp.a149_1 !== undefined && typeof comp.a149_1 === 'number' && comp.a149_1 > 0) {
maxSpeed = comp.a149_1;
console.log(' 从组件 a149_1 获取 maxSpeed:', maxSpeed);
if (comp && comp.m14k_1 !== undefined && typeof comp.m14k_1 === 'number' && comp.m14k_1 > 0) {
maxSpeed = comp.m14k_1;
console.log(' 从组件 m14k_1 获取 maxSpeed:', maxSpeed);
}
} catch(e) {}
});
@@ -131,8 +131,8 @@
console.log(' 最终 maxSpeed:', maxSpeed);
console.log(' 最终 maxTurn:', maxTurn);
if (!dyt.b14b_1) {
console.warn('[测试] 玩家不在战斗中(b14b_1=false),KC 回调会直接返回不触发 ryp(Ds)');
if (!dyt.n14m_1) {
console.warn('[测试] 玩家不在战斗中(n14m_1=false),KC 回调会直接返回不触发 iyz(Ds)');
console.warn('[测试] 请确保在战斗中再启动移动控制');
}
@@ -159,8 +159,8 @@
// ===== 主循环:设置 j14b_1 控制值 =====
running = true;
lastS140 = dyt.j14b_1.s140_1;
lastT140 = dyt.j14b_1.t140_1;
lastS140 = dyt.v14m_1.m14b_1;
lastT140 = dyt.v14m_1.n14b_1;
updateInterval = setInterval(function() {
if (!running || !dyt) return;
@@ -174,15 +174,15 @@
// 只在值变化时设置(KC 回调检测 j14b_1 ≠ i14b_1 才触发 ryp(Ds))
if (newS140 !== lastS140 || newT140 !== lastT140) {
try {
dyt.j14b_1.s140_1 = newS140;
dyt.j14b_1.t140_1 = newT140;
dyt.v14m_1.m14b_1 = newS140;
dyt.v14m_1.n14b_1 = newT140;
// u140_1 (reverseBackTurn) 不修改
lastS140 = newS140;
lastT140 = newT140;
console.log('[移动] s140_1=' + newS140 + ' t140_1=' + newT140 +
' (j14b_1 ≠ i14b_1 → KC 回调将触发 ryp(Ds) → kyt 发送网络包)');
console.log('[移动] m14b_1=' + newS140 + ' n14b_1=' + newT140 +
' (v14m_1 ≠ i14b_1 → KC 回调将触发 iyz(Ds) → kyt 发送网络包)');
} catch(e) {
console.error('[测试] 设置 j14b_1 失败:', e.message);
console.error('[测试] 设置 v14m_1 失败:', e.message);
}
}
}, 50);
@@ -199,8 +199,8 @@
clearInterval(verifyInterval);
verifyInterval = null;
if (!kcVerified) {
console.warn('[验证] 3秒内未检测到 KC 回调工作(i14b_1 未跟随 j14b_1 更新)');
console.warn('[验证] 可能原因:1) KC 回调不每帧调用 2) b14b_1=false 3) z14a_1 未注册');
console.warn('[验证] 3秒内未检测到 KC 回调工作(i14b_1 未跟随 v14m_1 更新)');
console.warn('[验证] 可能原因:1) KC 回调不每帧调用 2) n14m_1=false 3) l14m_1 未注册');
console.warn('[验证] 请尝试在游戏中移动(点击地面寻路),观察 i14b_1 是否变化');
}
return;
@@ -208,15 +208,15 @@
// 如果 j14b_1 ≠ i14b_1,说明 KC 回调还没复制(可能 KC 不每帧调用)
// 如果 j14b_1 == i14b_1,说明 KC 回调已复制(KC 工作正常)
try {
if (dyt.j14b_1.s140_1 === dyt.i14b_1.s140_1 &&
dyt.j14b_1.t140_1 === dyt.i14b_1.t140_1) {
if (dyt.v14m_1.m14b_1 === dyt.i14b_1.m14b_1 &&
dyt.v14m_1.n14b_1 === dyt.i14b_1.n14b_1) {
if (lastS140 !== 0 || lastT140 !== 0) {
// j14b_1 有非零值且 i14b_1 已同步
kcVerified = true;
clearInterval(verifyInterval);
verifyInterval = null;
console.log('[验证] KC 回调工作正常!i14b_1 已跟随 j14b_1 更新');
console.log('[验证] ryp(Ds) 应已触发,kyt 应已发送网络包');
console.log('[验证] KC 回调工作正常!i14b_1 已跟随 v14m_1 更新');
console.log('[验证] iyz(Ds) 应已触发,kyt 应已发送网络包');
}
}
} catch(e) {}
@@ -271,13 +271,13 @@
_stopCallbacks = null;
}
// 停止移动:设置 j14b_1 为 0
if (dyt && dyt.j14b_1) {
if (dyt && dyt.v14m_1) {
try {
dyt.j14b_1.s140_1 = 0;
dyt.j14b_1.t140_1 = 0;
console.log('[测试] j14b_1 已归零,坦克停止移动');
dyt.v14m_1.m14b_1 = 0;
dyt.v14m_1.n14b_1 = 0;
console.log('[测试] v14m_1 已归零,坦克停止移动');
} catch(e) {
console.error('[测试] 归零 j14b_1 失败:', e.message);
console.error('[测试] 归零 v14m_1 失败:', e.message);
}
}
keys = {};
@@ -307,18 +307,18 @@
// ===== 手动设置移动值(不通过键盘) =====
function SetMove(forward, turn) {
if (!dyt || !dyt.j14b_1) {
if (!dyt || !dyt.v14m_1) {
console.error('[测试] Dyt 组件未初始化,请先 Start');
return;
}
var newS140 = Math.round(forward * maxSpeed);
var newT140 = Math.round(turn * maxTurn);
try {
dyt.j14b_1.s140_1 = newS140;
dyt.j14b_1.t140_1 = newT140;
dyt.v14m_1.m14b_1 = newS140;
dyt.v14m_1.n14b_1 = newT140;
lastS140 = newS140;
lastT140 = newT140;
console.log('[手动移动] s140_1=' + newS140 + ' t140_1=' + newT140);
console.log('[手动移动] m14b_1=' + newS140 + ' n14b_1=' + newT140);
} catch(e) {
console.error('[测试] 手动设置失败:', e.message);
}
+132 -85
View File
@@ -41,19 +41,19 @@
FindComponentByField(tank, 'p14l_1');
if (!hullComp || !hullComp.t14l_1) return null;
var skin = hullComp.t14l_1;
if (!skin || !skin.p16z_1) return null;
if (!skin || !skin.s17b_1) return null;
try {
var partCount = skin.p16z_1.e1();
var partCount = skin.s17b_1.e1();
for (var p = 0; p < partCount; p++) {
var part = skin.p16z_1.g1(p);
if (!part || !part.s16z_1) continue;
var nodeCount = part.s16z_1.e1();
var part = skin.s17b_1.g1(p);
if (!part || !part.v17b_1) continue;
var nodeCount = part.v17b_1.e1();
for (var n = 0; n < nodeCount; n++) {
var bpNode = part.s16z_1.g1(n);
if (!bpNode || !bpNode.g35_1) continue;
var bpNode = part.v17b_1.g1(n);
if (!bpNode || !bpNode.n35_1) continue;
// 跳过幽灵节点(z34_1 < 0.9)
if (bpNode.z34_1 !== undefined && bpNode.z34_1 < 0.9) continue;
var m = bpNode.g35_1;
if (bpNode.g35_1 !== undefined && bpNode.g35_1 < 0.9) continue;
var m = bpNode.n35_1;
// 列主序世界矩阵:Col0=(m[0],m[1],m[2]) Col1=(m[4],m[5],m[6]) Col2=(m[8],m[9],m[10])
// 游戏坐标:x,y 水平面; z(h20_1)=高度。找"上"列(|z|最大),其余为水平方向
var az0 = Math.abs(m[2]), az1 = Math.abs(m[6]), az2 = Math.abs(m[10]);
@@ -83,11 +83,11 @@
var scene = null, ff = null, rootNode = null, mainCamera = null, gl = null;
var initError = null;
try {
scene = gm.rym().pyj_1;
ff = scene.lye_1.r74_1;
rootNode = scene.kyf_1;
mainCamera = scene.nyf_1;
gl = ff.p39_1.p73_1;
scene = gm.jyw().iyt_1;
ff = scene.fyo_1.d75_1;
rootNode = scene.eyp_1;
mainCamera = scene.hyp_1;
gl = ff.w39_1.b74_1;
if (!ff || !rootNode || !mainCamera || !gl) throw new Error('关键字段缺失');
} catch(e) {
initError = e;
@@ -227,16 +227,16 @@
}
return origBindFramebuffer(target, fbo);
};
var origH3c = ff.p39_1.h3c.bind(ff.p39_1);
var origG3c = ff.p39_1.g3c.bind(ff.p39_1);
ff.p39_1.h3c = function() { return sandboxRendering ? FBO_W : origH3c(); };
ff.p39_1.g3c = function() { return sandboxRendering ? FBO_H : origG3c(); };
var origH3c = ff.w39_1.o3c.bind(ff.w39_1);
var origG3c = ff.w39_1.n3c.bind(ff.w39_1);
ff.w39_1.o3c = function() { return sandboxRendering ? FBO_W : origH3c(); };
ff.w39_1.n3c = function() { return sandboxRendering ? FBO_H : origG3c(); };
// UI 层禁用
var uiLayerIndices = [20, 21, 22, 23, 24];
var fakeQueue = {
e1: function() { return 0; }, g1: function(i) { return null; },
v2a: function(x) {}, d3: function() {}, ii: function(x) {}
w2a: function(x) {}, d3: function() {}, ii: function(x) {}
};
// ===== 视图状态 =====
@@ -245,45 +245,92 @@
var viewYaw = 0; // 地图旋转(0=北朝上)
var initialized = false;
// ===== 指针拖动绑定(Pointer Events + setPointerCapture,避免松手后粘手)=====
// HandleEl: 触发拖动的元素;OnStart/OnMove/OnEnd 分别处理开始/移动/结束
function BindPointerDrag(HandleEl, OnStart, OnMove, OnEnd) {
var Active = false;
var PointerId = null;
function Finish() {
if (!Active) return;
Active = false;
if (PointerId !== null && HandleEl.releasePointerCapture) {
try { HandleEl.releasePointerCapture(PointerId); } catch (Err) {}
}
PointerId = null;
OnEnd();
}
if (window.PointerEvent) {
HandleEl.addEventListener('pointerdown', function(e) {
if (e.button !== 0) return;
if (OnStart(e) === false) return;
Active = true;
PointerId = e.pointerId;
try { HandleEl.setPointerCapture(e.pointerId); } catch (Err) {}
e.preventDefault();
e.stopPropagation();
}, true);
HandleEl.addEventListener('pointermove', function(e) {
if (!Active || (PointerId !== null && e.pointerId !== PointerId)) return;
if (e.buttons === 0) { Finish(); return; } // 兜底:按键已松开
OnMove(e);
e.preventDefault();
}, true);
HandleEl.addEventListener('pointerup', Finish, true);
HandleEl.addEventListener('pointercancel', Finish, true);
HandleEl.addEventListener('lostpointercapture', Finish, true);
window.addEventListener('pointerup', Finish, true);
} else {
HandleEl.addEventListener('mousedown', function(e) {
if (e.button !== 0) return;
if (OnStart(e) === false) return;
Active = true;
e.preventDefault();
}, true);
document.addEventListener('mousemove', function(e) {
if (!Active) return;
if (e.buttons === 0) { Finish(); return; }
OnMove(e);
}, true);
document.addEventListener('mouseup', Finish, true);
}
window.addEventListener('blur', Finish);
window.addEventListener('mouseleave', Finish);
return { End: Finish, IsActive: function() { return Active; } };
}
// ===== 窗口拖动 =====
var dragging = false, dsx = 0, dsy = 0, dwx = 0, dwy = 0;
titleBar.addEventListener('mousedown', function(e) {
if (e.button !== 0 || e.target.tagName === 'BUTTON') return;
dragging = true; dsx = e.clientX; dsy = e.clientY;
var dsx = 0, dsy = 0, dwx = 0, dwy = 0;
BindPointerDrag(titleBar, function(e) {
if (e.target.tagName === 'BUTTON') return false;
dsx = e.clientX; dsy = e.clientY;
var rect = container.getBoundingClientRect();
dwx = rect.left; dwy = rect.top;
container.style.transform = 'none';
container.style.left = dwx + 'px'; container.style.top = dwy + 'px';
e.preventDefault();
});
document.addEventListener('mousemove', function(e) {
if (!dragging) return;
}, function(e) {
var nx = Math.max(0, Math.min(window.innerWidth - 100, dwx + e.clientX - dsx));
var ny = Math.max(0, Math.min(window.innerHeight - 40, dwy + e.clientY - dsy));
container.style.left = nx + 'px'; container.style.top = ny + 'px';
});
document.addEventListener('mouseup', function() { dragging = false; });
}, function() {});
// ===== 地图平移 =====
var panning = false, psx = 0, psy = 0, pcx = 0, pcy = 0;
canvas.addEventListener('mousedown', function(e) {
if (e.button !== 0) return;
panning = true; psx = e.clientX; psy = e.clientY;
var psx = 0, psy = 0, pcx = 0, pcy = 0;
BindPointerDrag(canvas, function(e) {
psx = e.clientX; psy = e.clientY;
pcx = viewCenterX; pcy = viewCenterY;
canvas.style.cursor = 'grabbing';
e.preventDefault();
});
document.addEventListener('mousemove', function(e) {
if (!panning) return;
}, function(e) {
// 俯瞰视图:屏幕像素→世界单位,X/Y 方向缩放不同(FBO 拉伸到 canvas)
var ext = getViewExtents();
var dx = (e.clientX - psx) * ext.wppX;
var dy = (e.clientY - psy) * ext.wppY;
viewCenterX = pcx - dx;
viewCenterY = pcy + dy; // y 反转
});
document.addEventListener('mouseup', function() {
if (panning) { panning = false; canvas.style.cursor = 'grab'; }
}, function() {
canvas.style.cursor = 'grab';
});
// 滚轮缩放(改变相机高度)
@@ -383,7 +430,7 @@
// 坦克标记
var tanks = [];
try {
var list = gm.xzq_1.z11b();
var list = gm.q100_1.r11l();
var n = list.e1();
for (var i = 0; i < n; i++) { var t = list.g1(i); if (t) tanks.push(t); }
} catch(e) {}
@@ -551,44 +598,44 @@
try {
// 保存主相机参数
var sPitch = mainCamera.l35_1.f20_1;
var sRoll = mainCamera.l35_1.g20_1;
var sYaw = mainCamera.l35_1.h20_1;
var sX = mainCamera.k35_1.f20_1;
var sY = mainCamera.k35_1.g20_1;
var sZ = mainCamera.k35_1.h20_1;
var sL36 = mainCamera.l36_1, sM36 = mainCamera.m36_1;
var sS36 = mainCamera.s36_1, sQ36 = mainCamera.q36_1, sR36 = mainCamera.r36_1;
var sPitch = mainCamera.s35_1.f20_1;
var sRoll = mainCamera.s35_1.g20_1;
var sYaw = mainCamera.s35_1.h20_1;
var sX = mainCamera.r35_1.f20_1;
var sY = mainCamera.r35_1.g20_1;
var sZ = mainCamera.r35_1.h20_1;
var sL36 = mainCamera.s36_1, sM36 = mainCamera.t36_1;
var sS36 = mainCamera.z36_1, sQ36 = mainCamera.x36_1, sR36 = mainCamera.y36_1;
// 设置俯瞰相机参数
// pitch=-π/2 朝下看,roll=0 不翻转,yaw=0 北朝上
mainCamera.l35_1.f20_1 = -Math.PI / 2;
mainCamera.l35_1.g20_1 = 0;
mainCamera.l35_1.h20_1 = 0;
mainCamera.k35_1.f20_1 = viewCenterX;
mainCamera.k35_1.g20_1 = viewCenterY;
mainCamera.k35_1.h20_1 = camHeight;
mainCamera.l36_1 = FBO_W;
mainCamera.m36_1 = FBO_H;
mainCamera.s36_1 = Config.fov;
mainCamera.q36_1 = Config.near;
mainCamera.r36_1 = Config.far;
mainCamera.h37();
mainCamera.s35_1.f20_1 = -Math.PI / 2;
mainCamera.s35_1.g20_1 = 0;
mainCamera.s35_1.h20_1 = 0;
mainCamera.r35_1.f20_1 = viewCenterX;
mainCamera.r35_1.g20_1 = viewCenterY;
mainCamera.r35_1.h20_1 = camHeight;
mainCamera.s36_1 = FBO_W;
mainCamera.t36_1 = FBO_H;
mainCamera.z36_1 = Config.fov;
mainCamera.x36_1 = Config.near;
mainCamera.y36_1 = Config.far;
mainCamera.o37();
// 禁用阴影/后处理
var savedX3n = ff.p38_1.x3n_1;
var savedY3n = ff.p38_1.y3n_1;
var savedZ3n = ff.p38_1.z3n_1;
ff.p38_1.x3n_1 = false;
ff.p38_1.y3n_1 = false;
ff.p38_1.z3n_1 = false;
var savedX3n = ff.w38_1.e3o_1;
var savedY3n = ff.w38_1.f3o_1;
var savedZ3n = ff.w38_1.g3o_1;
ff.w38_1.e3o_1 = false;
ff.w38_1.f3o_1 = false;
ff.w38_1.g3o_1 = false;
// 禁用 UI 层
var savedUiQueues = {};
for (var ui = 0; ui < uiLayerIndices.length; ui++) {
var li = uiLayerIndices[ui];
savedUiQueues[li] = ff.x38_1[li];
ff.x38_1[li] = fakeQueue;
savedUiQueues[li] = ff.e39_1[li];
ff.e39_1[li] = fakeQueue;
}
// 渲染到 FBO
@@ -597,7 +644,7 @@
gl.viewport(0, 0, FBO_W, FBO_H);
gl.clearColor(0.05, 0.08, 0.12, 1.0);
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
ff.y3s(rootNode, mainCamera);
ff.f3t(rootNode, mainCamera);
sandboxRendering = false;
// Readback
@@ -634,23 +681,23 @@
origBindFramebuffer(gl.FRAMEBUFFER, mainFbo);
// 恢复渲染状态
ff.p38_1.x3n_1 = savedX3n;
ff.p38_1.y3n_1 = savedY3n;
ff.p38_1.z3n_1 = savedZ3n;
ff.w38_1.e3o_1 = savedX3n;
ff.w38_1.f3o_1 = savedY3n;
ff.w38_1.g3o_1 = savedZ3n;
for (var ui2 = 0; ui2 < uiLayerIndices.length; ui2++) {
ff.x38_1[uiLayerIndices[ui2]] = savedUiQueues[uiLayerIndices[ui2]];
ff.e39_1[uiLayerIndices[ui2]] = savedUiQueues[uiLayerIndices[ui2]];
}
// 恢复主相机
mainCamera.l35_1.f20_1 = sPitch;
mainCamera.l35_1.g20_1 = sRoll;
mainCamera.l35_1.h20_1 = sYaw;
mainCamera.k35_1.f20_1 = sX;
mainCamera.k35_1.g20_1 = sY;
mainCamera.k35_1.h20_1 = sZ;
mainCamera.l36_1 = sL36; mainCamera.m36_1 = sM36;
mainCamera.s36_1 = sS36; mainCamera.q36_1 = sQ36; mainCamera.r36_1 = sR36;
mainCamera.h37();
mainCamera.s35_1.f20_1 = sPitch;
mainCamera.s35_1.g20_1 = sRoll;
mainCamera.s35_1.h20_1 = sYaw;
mainCamera.r35_1.f20_1 = sX;
mainCamera.r35_1.g20_1 = sY;
mainCamera.r35_1.h20_1 = sZ;
mainCamera.s36_1 = sL36; mainCamera.t36_1 = sM36;
mainCamera.z36_1 = sS36; mainCamera.x36_1 = sQ36; mainCamera.y36_1 = sR36;
mainCamera.o37();
// 绘制 2D 叠加层(坦克标记/网格/罗盘)
drawOverlays();
@@ -685,8 +732,8 @@
if (rafId) cancelAnimationFrame(rafId);
// 恢复 hook
gl.bindFramebuffer = origBindFramebuffer;
ff.p39_1.h3c = origH3c;
ff.p39_1.g3c = origG3c;
ff.w39_1.o3c = origH3c;
ff.w39_1.n3c = origG3c;
window.removeEventListener('resize', resizeCanvas);
if (container.parentNode) container.parentNode.removeChild(container);
window.__hornetWarSandbox__ = null;
+430
View File
@@ -0,0 +1,430 @@
// map_symbols.js - 生成新旧客户端 bundle 之间的符号映射表
// 原理:两版源码除"混淆重命名"外高度一致。用 K 元 token 块做锚点对齐,
// 对齐后区域若 token 数相同则按位置一一对应,据此对标识符改名投票。
// 用法: node map_symbols.js <旧unpacked目录> <新bundle路径> <模块id逗号分隔> [输出json]
// 输出: JSON,结构 { 模块id: { 旧名: 新名 }, "_merged": { 旧名: 新名 } }
const fs = require('fs');
const path = require('path');
const K = 10; // 锚点块长度(token 数)
const MIN_ID_LEN = 3; // 参与投票的标识符最小长度(过滤局部单字符名)
// ===== 词法切分:标识符 / 数字 / 字符串 / 正则 / 标点 =====
function Tokenize(src) {
const out = [];
let i = 0;
const n = src.length;
const IdStart = /[A-Za-z_$]/;
const IdPart = /[A-Za-z0-9_$]/;
while (i < n) {
const c = src[i];
// 空白(换行/空格/制表)不参与比对
if (c === ' ' || c === '\n' || c === '\r' || c === '\t' || c === '\f' || c === '\v') { i++; continue; }
// 注释
if (c === '/' && src[i + 1] === '/') {
while (i < n && src[i] !== '\n') i++;
continue;
}
if (c === '/' && src[i + 1] === '*') {
i += 2;
while (i < n && !(src[i] === '*' && src[i + 1] === '/')) i++;
i += 2;
continue;
}
// 字符串
if (c === '"' || c === "'" || c === '`') {
const quote = c;
let j = i + 1;
while (j < n) {
if (src[j] === '\\') { j += 2; continue; }
if (src[j] === quote) { j++; break; }
j++;
}
out.push({ k: 'str', s: src.slice(i, j) });
i = j;
continue;
}
// 正则字面量(启发式:前一个有效字符不是标识符/数字/右括号)
if (c === '/') {
let p = out.length - 1;
const prev = p >= 0 ? out[p] : null;
const okPrev = !prev || (prev.k === 'punct' && !')]'.includes(prev.s));
if (okPrev) {
let j = i + 1;
let closed = false;
while (j < n) {
if (src[j] === '\\') { j += 2; continue; }
if (src[j] === '\n') break;
if (src[j] === '[') { while (j < n && src[j] !== ']') { if (src[j] === '\\') j++; j++; } }
if (src[j] === '/') { j++; closed = true; break; }
j++;
}
if (closed) {
while (j < n && /[a-z]/.test(src[j])) j++;
out.push({ k: 're', s: src.slice(i, j) });
i = j;
continue;
}
}
}
if (IdStart.test(c)) {
let j = i + 1;
while (j < n && IdPart.test(src[j])) j++;
out.push({ k: 'id', s: src.slice(i, j) });
i = j;
continue;
}
if (/[0-9]/.test(c)) {
let j = i + 1;
while (j < n && /[0-9a-fA-FxX._]/.test(src[j])) j++;
out.push({ k: 'num', s: src.slice(i, j) });
i = j;
continue;
}
out.push({ k: 'punct', s: c });
i++;
}
return out;
}
// ===== 从新 bundle 提取模块源码 =====
function ExtractNewModule(bundle, id) {
const re = /(?<=[{,])(\d{3,6}):(?:\(|function)/g;
let m;
const marks = [];
while ((m = re.exec(bundle)) !== null) {
marks.push({ id: m[1], start: m.index, keyEnd: m.index + m[1].length });
}
for (let i = 0; i < marks.length; i++) {
if (marks[i].id !== String(Number(id))) continue;
const end = i + 1 < marks.length ? marks[i + 1].start : bundle.length;
// 从 ':' 之后开始(跳过 "87072:")
return bundle.slice(marks[i].keyEnd + 1, end);
}
return null;
}
// ===== 读旧模块源码(去掉文件头注释)=====
function ReadOldModule(dir, id) {
const f = path.join(dir, 'module_' + id + '.js');
if (!fs.existsSync(f)) return null;
let src = fs.readFileSync(f, 'utf8');
src = src.replace(/^(?:\s*\/\/[^\n]*\n)+/, '');
return src;
}
// ===== 过滤"无信息"标点 =====
// 两版由不同代 minifier 产出:括号/逗号/分号的增删不影响语义,但会打断对齐,故丢弃。
// 保留:标识符/数字/字符串/正则,以及 {} . [] = + - * / % < > ! & | ? : ~ ^
const SIG_PUNCT = '{}.[]=+-*/%<>!&|?:~^';
function FilterSignificant(tokens) {
const out = [];
for (const t of tokens) {
if (t.k === 'punct') {
if (SIG_PUNCT.indexOf(t.s) < 0) continue;
out.push(t);
} else {
out.push(t);
}
}
return out;
}
// ===== 流式对齐 =====
// 两个 token 流同源,差异只有两类:①标识符改名 ②minifier 风格差异/少量源码改动。
// 策略:同步推进;标识符对标识符即记录一条改名投票;否则在有限窗口内找一个"4 token 完全一致块"重同步。
const LOOK = 40; // 重同步搜索窗口(token 数)
const SYNC_LEN = 4; // 重同步锚块长度
function SameTok(a, b) {
return a.k === b.k && a.s === b.s;
}
function SameBlock(oldT, i, newT, j, len) {
if (i + len > oldT.length || j + len > newT.length) return false;
for (let x = 0; x < len; x++) if (!SameTok(oldT[i + x], newT[j + x])) return false;
return true;
}
function WalkAlign(oldT, newT, onIdPair, counter, onUnsync, look) {
const LOOK2 = look || LOOK;
let i = 0, j = 0;
const n = oldT.length, m = newT.length;
while (i < n && j < m) {
const a = oldT[i], b = newT[j];
if (SameTok(a, b)) { i++; j++; counter.same++; continue; }
if (a.k === 'id' && b.k === 'id') { onIdPair(a.s, b.s); i++; j++; counter.rename++; continue; }
// 重同步:优先以字符串/数字常量定位,其次 4-token 块
let bestK = -1, bestL = -1;
for (let k = 0; k <= LOOK2 && i + k < n; k++) {
const ta = oldT[i + k];
if (ta.k !== 'str' && ta.k !== 'num') continue;
for (let l = 0; l <= LOOK2 && j + l < m; l++) {
const tb = newT[j + l];
if (SameTok(ta, tb)) { bestK = k; bestL = l; break; }
}
if (bestK >= 0) break;
}
if (bestK < 0) {
for (let k = 0; k <= LOOK2 && i + k < n; k++) {
for (let l = 0; l <= LOOK2 && j + l < m; l++) {
if (SameBlock(oldT, i + k, newT, j + l, SYNC_LEN)) { bestK = k; bestL = l; break; }
}
if (bestK >= 0) break;
}
}
if (bestK < 0) {
if (onUnsync) onUnsync(i, j, oldT, newT);
i++; j++; counter.unsync++; continue;
}
counter.sync += (bestK + bestL);
i += bestK;
j += bestL;
}
}
// ===== 递归唯一 token 切分 =====
// 思路(patience diff):在两侧都"只出现一次"的 token 天然对应,可作锚点切分;
// 切出的段内再递归找唯一 token,直到段足够小,再做局部对齐。
const REGION_MAX = 4000; // 单段最大 token 数,超过则继续切分
const REGION_BAD = 0.25; // 段内未同步比例上限,超过则丢弃该段的投票
const MAX_DEPTH = 12;
function LowerBound(arr, v) {
let lo = 0, hi = arr.length;
while (lo < hi) {
const mid = (lo + hi) >> 1;
if (arr[mid] < v) lo = mid + 1; else hi = mid;
}
return lo;
}
function UniqueAnchors(oldT, newT) {
const cntO = new Map(), posO = new Map();
for (let i = 0; i < oldT.length; i++) {
const k = oldT[i].k + ':' + oldT[i].s;
cntO.set(k, (cntO.get(k) || 0) + 1);
posO.set(k, i);
}
const cntN = new Map(), posN = new Map();
for (let j = 0; j < newT.length; j++) {
const k = newT[j].k + ':' + newT[j].s;
cntN.set(k, (cntN.get(k) || 0) + 1);
posN.set(k, j);
}
const pairs = [];
for (const [k, c] of cntO) {
if (c !== 1 || cntN.get(k) !== 1) continue;
pairs.push([posO.get(k), posN.get(k)]);
}
pairs.sort((a, b) => a[0] - b[0]);
return LisLongest(pairs);
}
// 取按第二坐标严格递增的最长子序列,保证锚点单调
function LisLongest(pairs) {
const tails = [];
const prev = new Array(pairs.length).fill(-1);
for (let i = 0; i < pairs.length; i++) {
const v = pairs[i][1];
let lo = 0, hi = tails.length;
while (lo < hi) {
const mid = (lo + hi) >> 1;
if (pairs[tails[mid]][1] < v) lo = mid + 1; else hi = mid;
}
prev[i] = lo > 0 ? tails[lo - 1] : -1;
tails[lo] = i;
}
const out = [];
let k = tails.length ? tails[tails.length - 1] : -1;
while (k >= 0) { out.push(pairs[k]); k = prev[k]; }
return out.reverse();
}
// 段内局部对齐(带质量门限,低质段整段丢弃)
function LocalWalk(oldT, os, oe, newT, ns, ne, sink, counter) {
const oLen = oe - os, nLen = ne - ns;
if (oLen <= 0 || nLen <= 0) return;
if (oLen > REGION_MAX || nLen > REGION_MAX) { counter.skipBig++; return; }
const pairs = [];
const c = { same: 0, rename: 0, sync: 0, unsync: 0 };
WalkAlign(oldT.slice(os, oe), newT.slice(ns, ne), (a, b) => pairs.push([a, b]), c, null, 150);
counter.same += c.same;
counter.rename += c.rename;
counter.sync += c.sync;
counter.unsync += c.unsync;
const bad = (c.unsync * 2) / (oLen + nLen || 1);
if (bad > REGION_BAD) { counter.badRegion++; return; }
for (const [a, b] of pairs) sink(a, b);
}
function RecursiveAlign(oldT, newT, sink, counter, depth) {
const anchors = UniqueAnchors(oldT, newT);
if (anchors.length === 0) {
LocalWalk(oldT, 0, oldT.length, newT, 0, newT.length, sink, counter);
return;
}
const parts = [];
let oi = 0, nj = 0;
for (const [i, j] of anchors) {
parts.push([oi, i, nj, j]);
oi = i + 1;
nj = j + 1;
}
parts.push([oi, oldT.length, nj, newT.length]);
for (const [os, oe, ns, ne] of parts) {
const oLen = oe - os, nLen = ne - ns;
if (oLen <= 0 || nLen <= 0) continue;
if (oLen <= REGION_MAX && nLen <= REGION_MAX) {
LocalWalk(oldT, os, oe, newT, ns, ne, sink, counter);
} else if (depth < MAX_DEPTH) {
RecursiveAlign(oldT.slice(os, oe), newT.slice(ns, ne), sink, counter, depth + 1);
} else {
counter.skipBig++;
}
}
}
function AlignByAnchors(oldT, newT, sink, counter) {
RecursiveAlign(oldT, newT, sink, counter, 0);
}
// ===== 主流程 =====
function SumVotes(votes) {
const merged = {};
const detail = {};
for (const [oldName, m] of votes) {
let best = null, total = 0;
for (const [k, v] of m) {
total += v;
if (!best || v > best.v) best = { k, v };
}
merged[oldName] = best.k;
detail[oldName] = {
to: best.k,
keep: best.k === oldName,
votes: best.v,
total,
ratio: +(best.v / total).toFixed(3),
};
}
return { merged, detail };
}
function BuildMap(oldDir, newBundlePath, ids) {
const bundle = fs.readFileSync(newBundlePath, 'utf8');
const perModule = {};
const globalVotes = new Map();
const stats = [];
for (const id of ids) {
const oldSrc = ReadOldModule(oldDir, id);
const newSrc = ExtractNewModule(bundle, id);
if (!oldSrc || !newSrc) {
stats.push({ id, error: 'missing source' });
continue;
}
const oldT = FilterSignificant(Tokenize(oldSrc));
const newT = FilterSignificant(Tokenize(newSrc));
const counter = { same: 0, rename: 0, sync: 0, unsync: 0, skipBig: 0, badRegion: 0, voted: 0 };
const votes = new Map();
AlignByAnchors(oldT, newT, (a, b) => {
if (a.length < MIN_ID_LEN) return;
counter.voted++;
if (!votes.has(a)) votes.set(a, new Map());
const m = votes.get(a);
m.set(b, (m.get(b) || 0) + 1);
if (!globalVotes.has(a)) globalVotes.set(a, new Map());
const g = globalVotes.get(a);
g.set(b, (g.get(b) || 0) + 1);
}, counter);
const per = {};
for (const [oldName, m] of votes) {
let best = null, total = 0;
for (const [k, v] of m) {
total += v;
if (!best || v > best.v) best = { k, v };
}
if (best.v >= 2 && best.v / total >= 0.6) per[oldName] = best.k;
}
perModule[id] = per;
stats.push({
id,
oldTok: oldT.length,
newTok: newT.length,
same: counter.same,
rename: counter.rename,
sync: counter.sync,
unsync: counter.unsync,
skipBig: counter.skipBig,
badRegion: counter.badRegion,
voted: counter.voted,
mapped: Object.keys(per).length,
});
}
const { merged, detail } = SumVotes(globalVotes);
perModule['_merged'] = merged;
perModule['_detail'] = detail;
perModule['_stats'] = stats;
// 跨模块冲突检测:同一旧名在不同模块映射到不同新名
const conflicts = [];
const seen = new Map();
for (const id of ids) {
const per = perModule[id];
if (!per) continue;
for (const [oldName, newName] of Object.entries(per)) {
if (!seen.has(oldName)) { seen.set(oldName, new Map()); }
const m = seen.get(oldName);
if (!m.has(newName)) m.set(newName, []);
m.get(newName).push(id);
}
}
for (const [oldName, m] of seen) {
if (m.size > 1) {
const items = [];
for (const [newName, ids2] of m) items.push(newName + '(' + ids2.join('/') + ')');
conflicts.push(oldName + ' => ' + items.join(' | '));
}
}
perModule['_conflicts'] = conflicts;
return perModule;
}
function main() {
const oldDir = process.argv[2];
const newBundle = process.argv[3];
let ids = (process.argv[4] || '').split(',').filter(Boolean);
const outPath = process.argv[5] || path.join(__dirname, 'symbol_map.json');
if (!oldDir || !newBundle || ids.length === 0) {
console.error('用法: node map_symbols.js <旧unpacked目录> <新bundle> <模块id逗号分隔|all> [输出json]');
process.exit(1);
}
if (ids.length === 1 && ids[0] === 'all') {
ids = fs.readdirSync(oldDir)
.filter((f) => /^module_\d+\.js$/.test(f))
.map((f) => f.replace(/^module_|\.js$/g, ''));
console.log('模块数: ' + ids.length);
}
const result = BuildMap(oldDir, newBundle, ids);
fs.writeFileSync(outPath, JSON.stringify(result, null, 2), 'utf8');
console.log('=== 统计 ===');
for (const s of result._stats) {
console.log(s.error
? ('[' + s.id + '] ' + s.error)
: ('[' + s.id + '] 旧token=' + s.oldTok + ' 新token=' + s.newTok +
' 一致=' + s.same + ' 改名=' + s.rename + ' 重同步丢失=' + s.sync + ' 未同步=' + s.unsync +
' 跳过段=' + s.skipBig + ' 低质段=' + s.badRegion + ' 投票=' + s.voted + ' 映射=' + s.mapped));
}
const names = Object.keys(result._merged);
console.log('=== 映射条目: ' + names.length + ' ===');
console.log('输出: ' + outPath);
}
module.exports = { Tokenize, FilterSignificant, ExtractNewModule, ReadOldModule, WalkAlign, UniqueAnchors, RecursiveAlign, AlignByAnchors, BuildMap };
if (require.main === module) main();
Loaded 100 of 103 files, more files were not shown because too many files have changed in this diff. Show more