@famibee/skynovel 1.32.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +478 -448
- package/dist/app.js.map +1 -1
- package/dist/sn/RubySpliter.d.ts.map +1 -1
- package/dist/sn/SoundMng.d.ts.map +1 -1
- package/dist/web.js +270 -240
- package/dist/web.js.map +1 -1
- package/package.json +3 -3
package/dist/app.js
CHANGED
|
@@ -460,19 +460,19 @@ W.hDip = {};
|
|
|
460
460
|
W.isDbg = !1;
|
|
461
461
|
W.isPackaged = !1;
|
|
462
462
|
W.isDarkMode = !1;
|
|
463
|
-
const
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
463
|
+
const Pn = /* @__PURE__ */ Object.create(null);
|
|
464
|
+
Pn.open = "0";
|
|
465
|
+
Pn.close = "1";
|
|
466
|
+
Pn.ping = "2";
|
|
467
|
+
Pn.pong = "3";
|
|
468
|
+
Pn.message = "4";
|
|
469
|
+
Pn.upgrade = "5";
|
|
470
|
+
Pn.noop = "6";
|
|
471
471
|
const pp = /* @__PURE__ */ Object.create(null);
|
|
472
|
-
Object.keys(
|
|
473
|
-
pp[
|
|
472
|
+
Object.keys(Pn).forEach((r) => {
|
|
473
|
+
pp[Pn[r]] = r;
|
|
474
474
|
});
|
|
475
|
-
const dS = { type: "error", data: "parser error" }, pS = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", vS = typeof ArrayBuffer == "function", gS = (r) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(r) : r && r.buffer instanceof ArrayBuffer, fT = ({ type: r, data: t }, e, i) => pS && t instanceof Blob ? e ? i(t) : k1(t, i) : vS && (t instanceof ArrayBuffer || gS(t)) ? e ? i(t) : k1(new Blob([t]), i) : i(
|
|
475
|
+
const dS = { type: "error", data: "parser error" }, pS = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", vS = typeof ArrayBuffer == "function", gS = (r) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(r) : r && r.buffer instanceof ArrayBuffer, fT = ({ type: r, data: t }, e, i) => pS && t instanceof Blob ? e ? i(t) : k1(t, i) : vS && (t instanceof ArrayBuffer || gS(t)) ? e ? i(t) : k1(new Blob([t]), i) : i(Pn[r] + (t || "")), k1 = (r, t) => {
|
|
476
476
|
const e = new FileReader();
|
|
477
477
|
return e.onload = function() {
|
|
478
478
|
const i = e.result.split(",")[1];
|
|
@@ -758,7 +758,7 @@ class MS extends _T {
|
|
|
758
758
|
return e + "://" + (s ? "[" + this.opts.hostname + "]" : this.opts.hostname) + i + this.opts.path + (n.length ? "?" + n : "");
|
|
759
759
|
}
|
|
760
760
|
request(t = {}) {
|
|
761
|
-
return Object.assign(t, { xd: this.xd, xs: this.xs }, this.opts), new
|
|
761
|
+
return Object.assign(t, { xd: this.xd, xs: this.xs }, this.opts), new Cn(this.uri(), t);
|
|
762
762
|
}
|
|
763
763
|
doWrite(t, e) {
|
|
764
764
|
const i = this.request({
|
|
@@ -776,7 +776,7 @@ class MS extends _T {
|
|
|
776
776
|
}), this.pollXhr = t;
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
|
-
class
|
|
779
|
+
class Cn extends rr {
|
|
780
780
|
constructor(t, e) {
|
|
781
781
|
super(), Rg(this, e), this.opts = e, this.method = e.method || "GET", this.uri = t, this.async = e.async !== !1, this.data = e.data !== void 0 ? e.data : null, this.create();
|
|
782
782
|
}
|
|
@@ -814,7 +814,7 @@ class Tn extends rr {
|
|
|
814
814
|
}, 0);
|
|
815
815
|
return;
|
|
816
816
|
}
|
|
817
|
-
typeof document < "u" && (this.index =
|
|
817
|
+
typeof document < "u" && (this.index = Cn.requestsCount++, Cn.requests[this.index] = this);
|
|
818
818
|
}
|
|
819
819
|
onError(t) {
|
|
820
820
|
this.emitReserved("error", t, this.xhr), this.cleanup(!0);
|
|
@@ -826,7 +826,7 @@ class Tn extends rr {
|
|
|
826
826
|
this.xhr.abort();
|
|
827
827
|
} catch {
|
|
828
828
|
}
|
|
829
|
-
typeof document < "u" && delete
|
|
829
|
+
typeof document < "u" && delete Cn.requests[this.index], this.xhr = null;
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
onLoad() {
|
|
@@ -837,8 +837,8 @@ class Tn extends rr {
|
|
|
837
837
|
this.cleanup();
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
|
-
|
|
841
|
-
|
|
840
|
+
Cn.requestsCount = 0;
|
|
841
|
+
Cn.requests = {};
|
|
842
842
|
if (typeof document < "u") {
|
|
843
843
|
if (typeof attachEvent == "function")
|
|
844
844
|
attachEvent("onunload", G1);
|
|
@@ -848,8 +848,8 @@ if (typeof document < "u") {
|
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
850
|
function G1() {
|
|
851
|
-
for (let r in
|
|
852
|
-
|
|
851
|
+
for (let r in Cn.requests)
|
|
852
|
+
Cn.requests.hasOwnProperty(r) && Cn.requests[r].abort();
|
|
853
853
|
}
|
|
854
854
|
const kS = (() => typeof Promise == "function" && typeof Promise.resolve == "function" ? (t) => Promise.resolve().then(t) : (t, e) => e(t, 0))(), Id = _a.WebSocket || _a.MozWebSocket, H1 = !0, BS = "arraybuffer", z1 = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
|
|
855
855
|
class LS extends _T {
|
|
@@ -1748,10 +1748,10 @@ var IT = (r, t, e) => {
|
|
|
1748
1748
|
if (t.has(r))
|
|
1749
1749
|
throw TypeError("Cannot add the same private member more than once");
|
|
1750
1750
|
t instanceof WeakSet ? t.add(r) : t.set(r, e);
|
|
1751
|
-
}, Te = (r, t, e, i) => (IT(r, t, "write to private field"), i ? i.call(r, e) : t.set(r, e), e), rn,
|
|
1751
|
+
}, Te = (r, t, e, i) => (IT(r, t, "write to private field"), i ? i.call(r, e) : t.set(r, e), e), rn, zn, jn, yu, bu, Ga, Ha, za, t_, Cb, mp, Xl, e_, Wl, xu, r_, Eu, Yl;
|
|
1752
1752
|
const i_ = class {
|
|
1753
1753
|
constructor(r = {}, t) {
|
|
1754
|
-
this.hPlg = r, this.arg = t, this.hFactoryCls = {}, this.fetch = (e) => fetch(e), this.resolution = 1, this.data = { sys: {}, mark: {}, kidoku: {} }, fr(this, rn, 0), fr(this,
|
|
1754
|
+
this.hPlg = r, this.arg = t, this.hFactoryCls = {}, this.fetch = (e) => fetch(e), this.resolution = 1, this.data = { sys: {}, mark: {}, kidoku: {} }, fr(this, rn, 0), fr(this, zn, 0), fr(this, jn, 1), fr(this, yu, 0), fr(this, bu, 0), fr(this, Ga, 0), fr(this, Ha, 0), this.isFullScr = !1, this.extPort = 3776, fr(this, za, void 0), fr(this, t_, {
|
|
1755
1755
|
auth: (e) => {
|
|
1756
1756
|
if (e.t !== this.cfg.oCfg.debuger_token) {
|
|
1757
1757
|
this.end();
|
|
@@ -1888,10 +1888,10 @@ const i_ = class {
|
|
|
1888
1888
|
return Dt(this, rn);
|
|
1889
1889
|
}
|
|
1890
1890
|
get cvsHeight() {
|
|
1891
|
-
return Dt(this,
|
|
1891
|
+
return Dt(this, zn);
|
|
1892
1892
|
}
|
|
1893
1893
|
get cvsScale() {
|
|
1894
|
-
return Dt(this,
|
|
1894
|
+
return Dt(this, jn);
|
|
1895
1895
|
}
|
|
1896
1896
|
get ofsLeft4elm() {
|
|
1897
1897
|
return Dt(this, yu);
|
|
@@ -1919,18 +1919,18 @@ const i_ = class {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
const n = e.getBoundingClientRect();
|
|
1921
1921
|
if (dt(W.hDip, "expanding", !0) || i || W.stageW > r || W.stageH > t)
|
|
1922
|
-
if (W.stageW / W.stageH <= r / t ? (Te(this,
|
|
1922
|
+
if (W.stageW / W.stageH <= r / t ? (Te(this, zn, t), Te(this, rn, W.stageW / W.stageH * t)) : (Te(this, rn, r), Te(this, zn, W.stageH / W.stageW * r)), Te(this, jn, Dt(this, rn) / W.stageW), i)
|
|
1923
1923
|
Te(this, Ga, 0), Te(this, Ha, 0);
|
|
1924
1924
|
else {
|
|
1925
|
-
const h = 1 - Dt(this,
|
|
1926
|
-
W.isMobile ? (Te(this, Ga, (r - Dt(this, rn)) / 2 * h), Te(this, Ha, (t - Dt(this,
|
|
1925
|
+
const h = 1 - Dt(this, jn);
|
|
1926
|
+
W.isMobile ? (Te(this, Ga, (r - Dt(this, rn)) / 2 * h), Te(this, Ha, (t - Dt(this, zn)) / 2 * h)) : (Te(this, Ga, n.left * h), Te(this, Ha, n.top * h));
|
|
1927
1927
|
}
|
|
1928
1928
|
else
|
|
1929
|
-
Te(this, rn, W.stageW), Te(this,
|
|
1929
|
+
Te(this, rn, W.stageW), Te(this, zn, W.stageH), Te(this, jn, 1), Te(this, Ga, 0), Te(this, Ha, 0);
|
|
1930
1930
|
const s = e.parentElement.style;
|
|
1931
|
-
i || (s.position = "relative", s.width = `${Dt(this, rn)}px`, s.height = `${Dt(this,
|
|
1931
|
+
i || (s.position = "relative", s.width = `${Dt(this, rn)}px`, s.height = `${Dt(this, zn)}px`);
|
|
1932
1932
|
const a = e.style;
|
|
1933
|
-
a.width = s.width, a.height = s.height, Te(this, yu, n.left), Te(this, bu, n.top), this.isFullScr && (Te(this, yu, Dt(this, yu) + (r - Dt(this, rn)) / 2), Te(this, bu, Dt(this, bu) + (t - Dt(this,
|
|
1933
|
+
a.width = s.width, a.height = s.height, Te(this, yu, n.left), Te(this, bu, n.top), this.isFullScr && (Te(this, yu, Dt(this, yu) + (r - Dt(this, rn)) / 2), Te(this, bu, Dt(this, bu) + (t - Dt(this, zn)) / 2));
|
|
1934
1934
|
}
|
|
1935
1935
|
attach_debug(r) {
|
|
1936
1936
|
this.attach_debug = () => {
|
|
@@ -1978,10 +1978,10 @@ const i_ = class {
|
|
|
1978
1978
|
t.querySelectorAll(".sn_BounceIn, .sn_HopIn").forEach((u) => t.removeChild(u));
|
|
1979
1979
|
const e = document.createElement("img"), i = Dt(i_, Cb)[r];
|
|
1980
1980
|
e.src = `data:image/svg+xml;base64,${i.dat}`;
|
|
1981
|
-
const n = Math.min(W.stageW, W.stageH) / 4 * Dt(this,
|
|
1981
|
+
const n = Math.min(W.stageW, W.stageH) / 4 * Dt(this, jn);
|
|
1982
1982
|
e.width = e.height = n, e.style.cssText = `position: absolute;
|
|
1983
|
-
left: ${(W.stageW - n) / 2 * Dt(this,
|
|
1984
|
-
top: ${(W.stageH - n) / 2 * Dt(this,
|
|
1983
|
+
left: ${(W.stageW - n) / 2 * Dt(this, jn) + n * ((s = i.dx) != null ? s : 0)}px;
|
|
1984
|
+
top: ${(W.stageH - n) / 2 * Dt(this, jn) + n * ((a = i.dy) != null ? a : 0)}px;`, e.classList.add("sn_toast", (o = i.ease) != null ? o : "sn_BounceInOut"), i.ease || e.addEventListener("animationend", () => t.removeChild(e), { once: !0, passive: !0 }), t.insertBefore(e, this.appPixi.view);
|
|
1985
1985
|
}
|
|
1986
1986
|
setFire(r) {
|
|
1987
1987
|
this.fire = r;
|
|
@@ -2018,8 +2018,8 @@ top: ${(W.stageH - n) / 2 * Dt(this, zn) + n * ((a = i.dy) != null ? a : 0)}px;`
|
|
|
2018
2018
|
};
|
|
2019
2019
|
let Ib = i_;
|
|
2020
2020
|
rn = /* @__PURE__ */ new WeakMap();
|
|
2021
|
-
Hn = /* @__PURE__ */ new WeakMap();
|
|
2022
2021
|
zn = /* @__PURE__ */ new WeakMap();
|
|
2022
|
+
jn = /* @__PURE__ */ new WeakMap();
|
|
2023
2023
|
yu = /* @__PURE__ */ new WeakMap();
|
|
2024
2024
|
bu = /* @__PURE__ */ new WeakMap();
|
|
2025
2025
|
Ga = /* @__PURE__ */ new WeakMap();
|
|
@@ -2239,10 +2239,10 @@ hr.EXT_SCRIPT = "sn|ssn";
|
|
|
2239
2239
|
hr.EXT_FONT = "woff2|woff|otf|ttf";
|
|
2240
2240
|
hr.EXT_SOUND = "mp3|m4a|ogg|aac|flac|wav";
|
|
2241
2241
|
hr.EXT_HTML = "htm|html";
|
|
2242
|
-
var so,
|
|
2242
|
+
var so, on, Zc;
|
|
2243
2243
|
const Us = class {
|
|
2244
2244
|
constructor() {
|
|
2245
|
-
I(this,
|
|
2245
|
+
I(this, on, () => {
|
|
2246
2246
|
});
|
|
2247
2247
|
}
|
|
2248
2248
|
static setting(t) {
|
|
@@ -2255,7 +2255,7 @@ const Us = class {
|
|
|
2255
2255
|
C(Us, so, "\u30FD");
|
|
2256
2256
|
}
|
|
2257
2257
|
init(t) {
|
|
2258
|
-
C(this,
|
|
2258
|
+
C(this, on, t);
|
|
2259
2259
|
}
|
|
2260
2260
|
static setEscape(t) {
|
|
2261
2261
|
C(Us, Zc, new RegExp(
|
|
@@ -2281,31 +2281,35 @@ const Us = class {
|
|
|
2281
2281
|
continue;
|
|
2282
2282
|
}
|
|
2283
2283
|
if (n.ce) {
|
|
2284
|
-
f(this,
|
|
2284
|
+
f(this, on).call(this, n.ce.slice(1), "");
|
|
2285
2285
|
continue;
|
|
2286
2286
|
}
|
|
2287
|
-
Array.from((i = n.txt) != null ? i : "").forEach((o) => f(this,
|
|
2287
|
+
Array.from((i = n.txt) != null ? i : "").forEach((o) => f(this, on).call(this, o, ""));
|
|
2288
2288
|
}
|
|
2289
2289
|
}
|
|
2290
2290
|
putTxtRb(t, e) {
|
|
2291
|
+
if (/^\w+|{"/.test(e)) {
|
|
2292
|
+
f(this, on).call(this, t, e);
|
|
2293
|
+
return;
|
|
2294
|
+
}
|
|
2291
2295
|
const i = Array.from(t), n = i.length;
|
|
2292
|
-
if (
|
|
2296
|
+
if (/^\*.?$/.test(e)) {
|
|
2293
2297
|
const u = "center\uFF5C" + (e === "*" ? f(Us, so) : e.charAt(1));
|
|
2294
2298
|
for (let h = 0; h < n; ++h)
|
|
2295
|
-
f(this,
|
|
2299
|
+
f(this, on).call(this, i[h], u);
|
|
2296
2300
|
return;
|
|
2297
2301
|
}
|
|
2298
2302
|
if (n === 1 || e.indexOf(" ") === -1) {
|
|
2299
|
-
f(this,
|
|
2303
|
+
f(this, on).call(this, t, decodeURIComponent(e));
|
|
2300
2304
|
return;
|
|
2301
2305
|
}
|
|
2302
2306
|
const s = e.split(" "), a = s.length, o = a > n ? a : n;
|
|
2303
2307
|
for (let u = 0; u < o; ++u)
|
|
2304
|
-
f(this,
|
|
2308
|
+
f(this, on).call(this, u < n ? i[u] : "", u < a ? decodeURIComponent(s[u]) : "");
|
|
2305
2309
|
}
|
|
2306
2310
|
};
|
|
2307
2311
|
let ya = Us;
|
|
2308
|
-
so = new WeakMap(),
|
|
2312
|
+
so = new WeakMap(), on = new WeakMap(), Zc = new WeakMap(), I(ya, so, "\u30FD"), I(ya, Zc, void 0);
|
|
2309
2313
|
const ST = /(?<name>[^\s;\]]+)/;
|
|
2310
2314
|
function xp(r) {
|
|
2311
2315
|
const t = ST.exec(r.slice(1, -1)), e = t == null ? void 0 : t.groups;
|
|
@@ -2592,8 +2596,8 @@ var ye = { exports: {} };
|
|
|
2592
2596
|
if (function() {
|
|
2593
2597
|
if (s._supportsSet !== void 0)
|
|
2594
2598
|
return s._supportsSet;
|
|
2595
|
-
var
|
|
2596
|
-
return s._supportsSet =
|
|
2599
|
+
var Dn = typeof Set < "u";
|
|
2600
|
+
return s._supportsSet = Dn, Dn;
|
|
2597
2601
|
}() && Array.from) {
|
|
2598
2602
|
for (var st = new Set(Z), lt = 0; lt < rt.length; lt++)
|
|
2599
2603
|
st.add(rt[lt]);
|
|
@@ -2604,10 +2608,10 @@ var ye = { exports: {} };
|
|
|
2604
2608
|
we[Z[Ir]] = !0;
|
|
2605
2609
|
for (var _r = 0; _r < rt.length; _r++)
|
|
2606
2610
|
we[rt[_r]] = !0;
|
|
2607
|
-
var
|
|
2611
|
+
var Ln = [];
|
|
2608
2612
|
for (var qr in we)
|
|
2609
|
-
({}).hasOwnProperty.call(we, qr) &&
|
|
2610
|
-
return
|
|
2613
|
+
({}).hasOwnProperty.call(we, qr) && Ln.push(qr);
|
|
2614
|
+
return Ln.sort(), Ln;
|
|
2611
2615
|
}(O.expected, k.expected) : k.expected;
|
|
2612
2616
|
return { status: O.status, index: O.index, value: O.value, furthest: k.furthest, expected: j };
|
|
2613
2617
|
}
|
|
@@ -2663,7 +2667,7 @@ var ye = { exports: {} };
|
|
|
2663
2667
|
if (we === O.length)
|
|
2664
2668
|
return "Got the end of the input";
|
|
2665
2669
|
if (E(O)) {
|
|
2666
|
-
var _r = we - we % z,
|
|
2670
|
+
var _r = we - we % z, Ln = we - _r, qr = ct(_r, D, Y + z, O.length), Dn = h(function(nr) {
|
|
2667
2671
|
return h(function(hu) {
|
|
2668
2672
|
return et(hu.toString(16), 2, "0");
|
|
2669
2673
|
}, nr);
|
|
@@ -2677,9 +2681,9 @@ var ye = { exports: {} };
|
|
|
2677
2681
|
}(O.slice(qr.from, qr.to).toJSON().data, z));
|
|
2678
2682
|
st = function(nr) {
|
|
2679
2683
|
return nr.from === 0 && nr.to === 1 ? { from: nr.from, to: nr.to } : { from: nr.from / z, to: Math.floor(nr.to / z) };
|
|
2680
|
-
}(qr), Z = _r / z, j = 3 *
|
|
2684
|
+
}(qr), Z = _r / z, j = 3 * Ln, Ln >= 4 && (j += 1), Ir = 2, rt = h(function(nr) {
|
|
2681
2685
|
return nr.length <= 4 ? nr.join(" ") : nr.slice(0, 4).join(" ") + " " + nr.slice(4).join(" ");
|
|
2682
|
-
},
|
|
2686
|
+
}, Dn), (lt = (8 * (st.to > 0 ? st.to - 1 : st.to)).toString(16).length) < 2 && (lt = 2);
|
|
2683
2687
|
} else {
|
|
2684
2688
|
var uu = O.split(/\r\n|[\n\r\u2028\u2029]/);
|
|
2685
2689
|
j = Ft.column - 1, Z = Ft.line - 1, st = ct(Z, X, it, uu.length), rt = uu.slice(st.from, st.to), lt = st.to.toString().length;
|
|
@@ -3013,13 +3017,13 @@ var ye = { exports: {} };
|
|
|
3013
3017
|
if (j === 0)
|
|
3014
3018
|
throw new Error("seqObj expects at least one named parser, found zero");
|
|
3015
3019
|
return s(function(we, Ir) {
|
|
3016
|
-
for (var _r,
|
|
3017
|
-
var
|
|
3018
|
-
if (w(Z[qr]) ? (
|
|
3020
|
+
for (var _r, Ln = {}, qr = 0; qr < rt; qr += 1) {
|
|
3021
|
+
var Dn, uu;
|
|
3022
|
+
if (w(Z[qr]) ? (Dn = Z[qr][0], uu = Z[qr][1]) : (Dn = null, uu = Z[qr]), !(_r = R(uu._(we, Ir), _r)).status)
|
|
3019
3023
|
return _r;
|
|
3020
|
-
|
|
3024
|
+
Dn && (Ln[Dn] = _r.value), Ir = _r.index;
|
|
3021
3025
|
}
|
|
3022
|
-
return R(S(Ir,
|
|
3026
|
+
return R(S(Ir, Ln), _r);
|
|
3023
3027
|
});
|
|
3024
3028
|
}, s.string = V, s.succeed = at, s.takeWhile = function(O) {
|
|
3025
3029
|
return L(O), s(function(k, j) {
|
|
@@ -3288,16 +3292,16 @@ var Rb = (r, t, e) => {
|
|
|
3288
3292
|
if (t.has(r))
|
|
3289
3293
|
throw TypeError("Cannot add the same private member more than once");
|
|
3290
3294
|
t instanceof WeakSet ? t.add(r) : t.set(r, e);
|
|
3291
|
-
}, Tu = (r, t, e, i) => (Rb(r, t, "write to private field"), i ? i.call(r, e) : t.set(r, e), e), wp = (r, t, e) => (Rb(r, t, "access private method"), e),
|
|
3295
|
+
}, Tu = (r, t, e, i) => (Rb(r, t, "write to private field"), i ? i.call(r, e) : t.set(r, e), e), wp = (r, t, e) => (Rb(r, t, "access private method"), e), En, qu, Oc, xn, ev, a_, NT, o_, OT, Sb, AT, Pb, FT;
|
|
3292
3296
|
const fe = class {
|
|
3293
3297
|
constructor(r, t, e) {
|
|
3294
|
-
this.sys = r, ys(this, a_), ys(this, o_), ys(this, ev, !0), Tu(fe,
|
|
3298
|
+
this.sys = r, ys(this, a_), ys(this, o_), ys(this, ev, !0), Tu(fe, En, e), Tu(fe, qu, t), Tu(fe, Oc, t.title), fe.myTrace = wp(fe, Sb, AT), t.log = (i) => wp(this, a_, NT).call(this, i), t.trace = (i) => wp(this, o_, OT).call(this, i), Tu(fe, xn, document.createElement("span")), ur(fe, xn).hidden = !0, ur(fe, xn).textContent = "", ur(fe, xn).style.cssText = ` z-index: ${Number.MAX_SAFE_INTEGER};
|
|
3295
3299
|
position: absolute; left: 0; top: 0;
|
|
3296
3300
|
color: black;
|
|
3297
|
-
background-color: rgba(255, 255, 255, 0.7);`, document.body.appendChild(ur(fe,
|
|
3301
|
+
background-color: rgba(255, 255, 255, 0.7);`, document.body.appendChild(ur(fe, xn));
|
|
3298
3302
|
}
|
|
3299
3303
|
destroy() {
|
|
3300
|
-
Tu(fe, Oc, () => !1), document.body.removeChild(ur(fe,
|
|
3304
|
+
Tu(fe, Oc, () => !1), document.body.removeChild(ur(fe, xn)), fe.myTrace = fe.trace_beforeNew;
|
|
3301
3305
|
}
|
|
3302
3306
|
static trace_beforeNew(r, t = "E") {
|
|
3303
3307
|
let e = `{${t}} ` + r, i = "";
|
|
@@ -3323,10 +3327,10 @@ const fe = class {
|
|
|
3323
3327
|
}
|
|
3324
3328
|
};
|
|
3325
3329
|
let Vt = fe;
|
|
3326
|
-
|
|
3330
|
+
En = /* @__PURE__ */ new WeakMap();
|
|
3327
3331
|
qu = /* @__PURE__ */ new WeakMap();
|
|
3328
3332
|
Oc = /* @__PURE__ */ new WeakMap();
|
|
3329
|
-
|
|
3333
|
+
xn = /* @__PURE__ */ new WeakMap();
|
|
3330
3334
|
ev = /* @__PURE__ */ new WeakMap();
|
|
3331
3335
|
a_ = /* @__PURE__ */ new WeakSet();
|
|
3332
3336
|
NT = function(r) {
|
|
@@ -3334,7 +3338,7 @@ NT = function(r) {
|
|
|
3334
3338
|
return ur(this, ev) && (Tu(this, ev, !1), t = `== ${oT.description} ==
|
|
3335
3339
|
`), this.sys.appendFile(
|
|
3336
3340
|
this.sys.path_downloads + "log.txt",
|
|
3337
|
-
`${t}--- ${Nc("-", "_", "")} [fn:${ur(fe,
|
|
3341
|
+
`${t}--- ${Nc("-", "_", "")} [fn:${ur(fe, En).scriptFn} line:${ur(fe, En).lineNum}] prj:${this.sys.cur}
|
|
3338
3342
|
${r.text || `(text is ${r.text})`}
|
|
3339
3343
|
`,
|
|
3340
3344
|
(e) => {
|
|
@@ -3364,7 +3368,7 @@ AT = function(r, t = "E") {
|
|
|
3364
3368
|
break;
|
|
3365
3369
|
case "ET":
|
|
3366
3370
|
case "E":
|
|
3367
|
-
if (ur(i = fe, Oc).call(i, { text: r }), ur(this, qu).dump_lay({}), ur(this, qu).dump_val({}), ur(fe,
|
|
3371
|
+
if (ur(i = fe, Oc).call(i, { text: r }), ur(this, qu).dump_lay({}), ur(this, qu).dump_val({}), ur(fe, En).dumpErrForeLine(), ur(this, qu).dump_stack({}), t === "ET")
|
|
3368
3372
|
throw n;
|
|
3369
3373
|
console.error("%c" + n, "color:#F30;");
|
|
3370
3374
|
return;
|
|
@@ -3393,16 +3397,16 @@ FT = function(r, t) {
|
|
|
3393
3397
|
default:
|
|
3394
3398
|
e = "";
|
|
3395
3399
|
}
|
|
3396
|
-
ur(fe,
|
|
3400
|
+
ur(fe, xn).innerHTML += `<span style='${e}'>${r}</span><br/>`, ur(fe, xn).hidden = !1;
|
|
3397
3401
|
};
|
|
3398
3402
|
ys(Vt, Sb);
|
|
3399
3403
|
ys(Vt, Pb);
|
|
3400
|
-
ys(Vt,
|
|
3404
|
+
ys(Vt, En, void 0);
|
|
3401
3405
|
ys(Vt, qu, void 0);
|
|
3402
3406
|
ys(Vt, Oc, void 0);
|
|
3403
|
-
ys(Vt,
|
|
3407
|
+
ys(Vt, xn, void 0);
|
|
3404
3408
|
Vt.myTrace = fe.trace_beforeNew;
|
|
3405
|
-
Vt.strPos = () => ur(fe,
|
|
3409
|
+
Vt.strPos = () => ur(fe, En) && ur(fe, En).lineNum > 0 ? `(fn:${ur(fe, En).scriptFn} line:${ur(fe, En).lineNum}) ` : "";
|
|
3406
3410
|
class $1 {
|
|
3407
3411
|
constructor() {
|
|
3408
3412
|
this.hAreas = {};
|
|
@@ -4173,12 +4177,12 @@ var Cu = ql, sP = function() {
|
|
|
4173
4177
|
}, r;
|
|
4174
4178
|
}();
|
|
4175
4179
|
YT.nextId;
|
|
4176
|
-
var
|
|
4177
|
-
|
|
4178
|
-
var aP =
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
var oP =
|
|
4180
|
+
var Nn = qT;
|
|
4181
|
+
Nn.getAll.bind(Nn);
|
|
4182
|
+
var aP = Nn.removeAll.bind(Nn);
|
|
4183
|
+
Nn.add.bind(Nn);
|
|
4184
|
+
Nn.remove.bind(Nn);
|
|
4185
|
+
var oP = Nn.update.bind(Nn), hf;
|
|
4182
4186
|
const Zv = class {
|
|
4183
4187
|
static ease(t) {
|
|
4184
4188
|
if (!t)
|
|
@@ -4223,15 +4227,15 @@ hf = new WeakMap(), I(bs, hf, {
|
|
|
4223
4227
|
"Sinusoidal.Out": (t) => qt.Sinusoidal.Out(t)
|
|
4224
4228
|
});
|
|
4225
4229
|
/*!
|
|
4226
|
-
* @pixi/settings - v6.5.
|
|
4227
|
-
* Compiled
|
|
4230
|
+
* @pixi/settings - v6.5.3
|
|
4231
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
4228
4232
|
*
|
|
4229
4233
|
* @pixi/settings is licensed under the MIT License.
|
|
4230
4234
|
* http://www.opensource.org/licenses/mit-license
|
|
4231
4235
|
*/
|
|
4232
4236
|
/*!
|
|
4233
|
-
* @pixi/constants - v6.5.
|
|
4234
|
-
* Compiled
|
|
4237
|
+
* @pixi/constants - v6.5.3
|
|
4238
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
4235
4239
|
*
|
|
4236
4240
|
* @pixi/constants is licensed under the MIT License.
|
|
4237
4241
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -4334,7 +4338,7 @@ var uP = {
|
|
|
4334
4338
|
fetch: function(r, t) {
|
|
4335
4339
|
return fetch(r, t);
|
|
4336
4340
|
}
|
|
4337
|
-
}, tm = /iPhone/i, sx = /iPod/i, ax = /iPad/i, ox = /\biOS-universal(?:.+)Mac\b/i, em = /\bAndroid(?:.+)Mobile\b/i, ux = /Android/i, du = /(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i, Rd = /Silk/i,
|
|
4341
|
+
}, tm = /iPhone/i, sx = /iPod/i, ax = /iPad/i, ox = /\biOS-universal(?:.+)Mac\b/i, em = /\bAndroid(?:.+)Mobile\b/i, ux = /Android/i, du = /(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i, Rd = /Silk/i, Un = /Windows Phone/i, hx = /\bWindows(?:.+)ARM\b/i, lx = /BlackBerry/i, cx = /BB10/i, fx = /Opera Mini/i, dx = /\b(CriOS|Chrome)(?:.+)Mobile/i, px = /Mobile(?:.+)Firefox\b/i, vx = function(r) {
|
|
4338
4342
|
return typeof r < "u" && r.platform === "MacIntel" && typeof r.maxTouchPoints == "number" && r.maxTouchPoints > 1 && typeof MSStream > "u";
|
|
4339
4343
|
};
|
|
4340
4344
|
function hP(r) {
|
|
@@ -4361,11 +4365,11 @@ function lP(r) {
|
|
|
4361
4365
|
typeof i[1] < "u" && (e = i[0]), i = e.split("Twitter"), typeof i[1] < "u" && (e = i[0]);
|
|
4362
4366
|
var n = hP(e), s = {
|
|
4363
4367
|
apple: {
|
|
4364
|
-
phone: n(tm) && !n(
|
|
4368
|
+
phone: n(tm) && !n(Un),
|
|
4365
4369
|
ipod: n(sx),
|
|
4366
|
-
tablet: !n(tm) && (n(ax) || vx(t)) && !n(
|
|
4370
|
+
tablet: !n(tm) && (n(ax) || vx(t)) && !n(Un),
|
|
4367
4371
|
universal: n(ox),
|
|
4368
|
-
device: (n(tm) || n(sx) || n(ax) || n(ox) || vx(t)) && !n(
|
|
4372
|
+
device: (n(tm) || n(sx) || n(ax) || n(ox) || vx(t)) && !n(Un)
|
|
4369
4373
|
},
|
|
4370
4374
|
amazon: {
|
|
4371
4375
|
phone: n(du),
|
|
@@ -4373,14 +4377,14 @@ function lP(r) {
|
|
|
4373
4377
|
device: n(du) || n(Rd)
|
|
4374
4378
|
},
|
|
4375
4379
|
android: {
|
|
4376
|
-
phone: !n(
|
|
4377
|
-
tablet: !n(
|
|
4378
|
-
device: !n(
|
|
4380
|
+
phone: !n(Un) && n(du) || !n(Un) && n(em),
|
|
4381
|
+
tablet: !n(Un) && !n(du) && !n(em) && (n(Rd) || n(ux)),
|
|
4382
|
+
device: !n(Un) && (n(du) || n(Rd) || n(em) || n(ux)) || n(/\bokhttp\b/i)
|
|
4379
4383
|
},
|
|
4380
4384
|
windows: {
|
|
4381
|
-
phone: n(
|
|
4385
|
+
phone: n(Un),
|
|
4382
4386
|
tablet: n(hx),
|
|
4383
|
-
device: n(
|
|
4387
|
+
device: n(Un) || n(hx)
|
|
4384
4388
|
},
|
|
4385
4389
|
other: {
|
|
4386
4390
|
blackberry: n(lx),
|
|
@@ -4396,21 +4400,21 @@ function lP(r) {
|
|
|
4396
4400
|
};
|
|
4397
4401
|
return s.any = s.apple.device || s.android.device || s.windows.device || s.other.device, s.phone = s.apple.phone || s.android.phone || s.windows.phone, s.tablet = s.apple.tablet || s.android.tablet || s.windows.tablet, s;
|
|
4398
4402
|
}
|
|
4399
|
-
var
|
|
4403
|
+
var wn = lP(globalThis.navigator);
|
|
4400
4404
|
function cP() {
|
|
4401
|
-
return !
|
|
4405
|
+
return !wn.apple.device;
|
|
4402
4406
|
}
|
|
4403
4407
|
function fP(r) {
|
|
4404
4408
|
var t = !0;
|
|
4405
|
-
if (
|
|
4406
|
-
if (
|
|
4409
|
+
if (wn.tablet || wn.phone) {
|
|
4410
|
+
if (wn.apple.device) {
|
|
4407
4411
|
var e = navigator.userAgent.match(/OS (\d+)_(\d+)?/);
|
|
4408
4412
|
if (e) {
|
|
4409
4413
|
var i = parseInt(e[1], 10);
|
|
4410
4414
|
i < 11 && (t = !1);
|
|
4411
4415
|
}
|
|
4412
4416
|
}
|
|
4413
|
-
if (
|
|
4417
|
+
if (wn.android.device) {
|
|
4414
4418
|
var e = navigator.userAgent.match(/Android\s([0-9.]*)/);
|
|
4415
4419
|
if (e) {
|
|
4416
4420
|
var i = parseInt(e[1], 10);
|
|
@@ -4448,14 +4452,14 @@ var pt = {
|
|
|
4448
4452
|
WRAP_MODE: p_.CLAMP,
|
|
4449
4453
|
SCALE_MODE: d_.LINEAR,
|
|
4450
4454
|
PRECISION_VERTEX: pc.HIGH,
|
|
4451
|
-
PRECISION_FRAGMENT:
|
|
4455
|
+
PRECISION_FRAGMENT: wn.apple.device ? pc.HIGH : pc.MEDIUM,
|
|
4452
4456
|
CAN_UPLOAD_SAME_BUFFER: cP(),
|
|
4453
4457
|
CREATE_IMAGE_BITMAP: !1,
|
|
4454
4458
|
ROUND_PIXELS: !1
|
|
4455
4459
|
};
|
|
4456
4460
|
/*!
|
|
4457
|
-
* @pixi/constants - v6.5.
|
|
4458
|
-
* Compiled
|
|
4461
|
+
* @pixi/constants - v6.5.3
|
|
4462
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
4459
4463
|
*
|
|
4460
4464
|
* @pixi/constants is licensed under the MIT License.
|
|
4461
4465
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -4520,10 +4524,10 @@ var __;
|
|
|
4520
4524
|
(function(r) {
|
|
4521
4525
|
r[r.AUTO = 0] = "AUTO", r[r.MANUAL = 1] = "MANUAL";
|
|
4522
4526
|
})(__ || (__ = {}));
|
|
4523
|
-
var
|
|
4527
|
+
var Tn;
|
|
4524
4528
|
(function(r) {
|
|
4525
4529
|
r.LOW = "lowp", r.MEDIUM = "mediump", r.HIGH = "highp";
|
|
4526
|
-
})(
|
|
4530
|
+
})(Tn || (Tn = {}));
|
|
4527
4531
|
var ar;
|
|
4528
4532
|
(function(r) {
|
|
4529
4533
|
r[r.NONE = 0] = "NONE", r[r.SCISSOR = 1] = "SCISSOR", r[r.STENCIL = 2] = "STENCIL", r[r.SPRITE = 3] = "SPRITE", r[r.COLOR = 4] = "COLOR";
|
|
@@ -4536,10 +4540,10 @@ var tr;
|
|
|
4536
4540
|
(function(r) {
|
|
4537
4541
|
r[r.NONE = 0] = "NONE", r[r.LOW = 2] = "LOW", r[r.MEDIUM = 4] = "MEDIUM", r[r.HIGH = 8] = "HIGH";
|
|
4538
4542
|
})(tr || (tr = {}));
|
|
4539
|
-
var
|
|
4543
|
+
var In;
|
|
4540
4544
|
(function(r) {
|
|
4541
4545
|
r[r.ELEMENT_ARRAY_BUFFER = 34963] = "ELEMENT_ARRAY_BUFFER", r[r.ARRAY_BUFFER = 34962] = "ARRAY_BUFFER", r[r.UNIFORM_BUFFER = 35345] = "UNIFORM_BUFFER";
|
|
4542
|
-
})(
|
|
4546
|
+
})(In || (In = {}));
|
|
4543
4547
|
var ZT = { exports: {} };
|
|
4544
4548
|
(function(r) {
|
|
4545
4549
|
var t = Object.prototype.hasOwnProperty, e = "~";
|
|
@@ -4920,8 +4924,8 @@ Pg.flatten = function(r) {
|
|
|
4920
4924
|
return e;
|
|
4921
4925
|
};
|
|
4922
4926
|
/*!
|
|
4923
|
-
* @pixi/utils - v6.5.
|
|
4924
|
-
* Compiled
|
|
4927
|
+
* @pixi/utils - v6.5.3
|
|
4928
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
4925
4929
|
*
|
|
4926
4930
|
* @pixi/utils is licensed under the MIT License.
|
|
4927
4931
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -4933,7 +4937,7 @@ var Bu = {
|
|
|
4933
4937
|
};
|
|
4934
4938
|
pt.RETINA_PREFIX = /@([0-9\.]+)x/;
|
|
4935
4939
|
pt.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = !1;
|
|
4936
|
-
var E_ = !1, _x = "6.5.
|
|
4940
|
+
var E_ = !1, _x = "6.5.3";
|
|
4937
4941
|
function SP() {
|
|
4938
4942
|
E_ = !0;
|
|
4939
4943
|
}
|
|
@@ -5217,7 +5221,7 @@ function Jo() {
|
|
|
5217
5221
|
return ++xA;
|
|
5218
5222
|
}
|
|
5219
5223
|
var xx = {};
|
|
5220
|
-
function
|
|
5224
|
+
function Rn(r, t, e) {
|
|
5221
5225
|
if (e === void 0 && (e = 3), !xx[t]) {
|
|
5222
5226
|
var i = new Error().stack;
|
|
5223
5227
|
typeof i > "u" ? console.warn("PixiJS Deprecation Warning: ", t + `
|
|
@@ -5228,13 +5232,13 @@ Deprecated since v` + r), console.warn(i), console.groupEnd()) : (console.warn("
|
|
|
5228
5232
|
Deprecated since v` + r), console.warn(i))), xx[t] = !0;
|
|
5229
5233
|
}
|
|
5230
5234
|
}
|
|
5231
|
-
var Ex = {}, Vr = /* @__PURE__ */ Object.create(null),
|
|
5235
|
+
var Ex = {}, Vr = /* @__PURE__ */ Object.create(null), Vn = /* @__PURE__ */ Object.create(null);
|
|
5232
5236
|
function EA() {
|
|
5233
5237
|
var r;
|
|
5234
5238
|
for (r in Vr)
|
|
5235
5239
|
delete Vr[r];
|
|
5236
|
-
for (r in
|
|
5237
|
-
delete
|
|
5240
|
+
for (r in Vn)
|
|
5241
|
+
delete Vn[r];
|
|
5238
5242
|
}
|
|
5239
5243
|
var wx = function() {
|
|
5240
5244
|
function r(t, e, i) {
|
|
@@ -5294,8 +5298,8 @@ function sv(r, t) {
|
|
|
5294
5298
|
return e ? parseFloat(e[1]) : t !== void 0 ? t : 1;
|
|
5295
5299
|
}
|
|
5296
5300
|
/*!
|
|
5297
|
-
* @pixi/extensions - v6.5.
|
|
5298
|
-
* Compiled
|
|
5301
|
+
* @pixi/extensions - v6.5.3
|
|
5302
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
5299
5303
|
*
|
|
5300
5304
|
* @pixi/extensions is licensed under the MIT License.
|
|
5301
5305
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -5391,8 +5395,8 @@ var Tx = function(r) {
|
|
|
5391
5395
|
}
|
|
5392
5396
|
};
|
|
5393
5397
|
/*!
|
|
5394
|
-
* @pixi/runner - v6.5.
|
|
5395
|
-
* Compiled
|
|
5398
|
+
* @pixi/runner - v6.5.3
|
|
5399
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
5396
5400
|
*
|
|
5397
5401
|
* @pixi/runner is licensed under the MIT License.
|
|
5398
5402
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -5441,8 +5445,8 @@ Object.defineProperties(Tr.prototype, {
|
|
|
5441
5445
|
run: { value: Tr.prototype.emit }
|
|
5442
5446
|
});
|
|
5443
5447
|
/*!
|
|
5444
|
-
* @pixi/ticker - v6.5.
|
|
5445
|
-
* Compiled
|
|
5448
|
+
* @pixi/ticker - v6.5.3
|
|
5449
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
5446
5450
|
*
|
|
5447
5451
|
* @pixi/ticker is licensed under the MIT License.
|
|
5448
5452
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -5622,8 +5626,8 @@ var im = function() {
|
|
|
5622
5626
|
}, r.extension = ge.Application, r;
|
|
5623
5627
|
}();
|
|
5624
5628
|
/*!
|
|
5625
|
-
* @pixi/math - v6.5.
|
|
5626
|
-
* Compiled
|
|
5629
|
+
* @pixi/math - v6.5.3
|
|
5630
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
5627
5631
|
*
|
|
5628
5632
|
* @pixi/math is licensed under the MIT License.
|
|
5629
5633
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -6010,13 +6014,13 @@ var ke = {
|
|
|
6010
6014
|
}), r.IDENTITY = new r(), r;
|
|
6011
6015
|
}();
|
|
6012
6016
|
/*!
|
|
6013
|
-
* @pixi/core - v6.5.
|
|
6014
|
-
* Compiled
|
|
6017
|
+
* @pixi/core - v6.5.3
|
|
6018
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
6015
6019
|
*
|
|
6016
6020
|
* @pixi/core is licensed under the MIT License.
|
|
6017
6021
|
* http://www.opensource.org/licenses/mit-license
|
|
6018
6022
|
*/
|
|
6019
|
-
pt.PREFER_ENV =
|
|
6023
|
+
pt.PREFER_ENV = wn.any ? ws.WEBGL : ws.WEBGL2;
|
|
6020
6024
|
pt.STRICT_TEXTURE_CACHE = !1;
|
|
6021
6025
|
var T_ = [];
|
|
6022
6026
|
function uC(r, t) {
|
|
@@ -6215,7 +6219,7 @@ var Bc = function() {
|
|
|
6215
6219
|
}, t.prototype.onError = function(e) {
|
|
6216
6220
|
this.emit("error", this, e);
|
|
6217
6221
|
}, t.prototype.destroy = function() {
|
|
6218
|
-
this.resource && (this.resource.unbind(this), this.resource.internal && this.resource.destroy(), this.resource = null), this.cacheId && (delete
|
|
6222
|
+
this.resource && (this.resource.unbind(this), this.resource.internal && this.resource.destroy(), this.resource = null), this.cacheId && (delete Vn[this.cacheId], delete Vr[this.cacheId], this.cacheId = null), this.dispose(), t.removeFromCache(this), this.textureCacheIds = null, this.destroyed = !0;
|
|
6219
6223
|
}, t.prototype.dispose = function() {
|
|
6220
6224
|
this.emit("dispose", this);
|
|
6221
6225
|
}, t.prototype.castToBaseTexture = function() {
|
|
@@ -6232,7 +6236,7 @@ var Bc = function() {
|
|
|
6232
6236
|
}
|
|
6233
6237
|
a = e._pixiId;
|
|
6234
6238
|
}
|
|
6235
|
-
var u =
|
|
6239
|
+
var u = Vn[a];
|
|
6236
6240
|
if (s && n && !u)
|
|
6237
6241
|
throw new Error('The cacheId "' + a + '" does not exist in BaseTextureCache.');
|
|
6238
6242
|
return u || (u = new t(e, i), u.cacheId = a, t.addToCache(u, a)), u;
|
|
@@ -6241,17 +6245,17 @@ var Bc = function() {
|
|
|
6241
6245
|
var a = new hd(e, { width: i, height: n }), o = e instanceof Float32Array ? Tt.FLOAT : Tt.UNSIGNED_BYTE;
|
|
6242
6246
|
return new t(a, Object.assign(FA, s || { width: i, height: n, type: o }));
|
|
6243
6247
|
}, t.addToCache = function(e, i) {
|
|
6244
|
-
i && (e.textureCacheIds.indexOf(i) === -1 && e.textureCacheIds.push(i),
|
|
6248
|
+
i && (e.textureCacheIds.indexOf(i) === -1 && e.textureCacheIds.push(i), Vn[i] && console.warn("BaseTexture added to the cache with an id [" + i + "] that already had an entry"), Vn[i] = e);
|
|
6245
6249
|
}, t.removeFromCache = function(e) {
|
|
6246
6250
|
if (typeof e == "string") {
|
|
6247
|
-
var i =
|
|
6251
|
+
var i = Vn[e];
|
|
6248
6252
|
if (i) {
|
|
6249
6253
|
var n = i.textureCacheIds.indexOf(e);
|
|
6250
|
-
return n > -1 && i.textureCacheIds.splice(n, 1), delete
|
|
6254
|
+
return n > -1 && i.textureCacheIds.splice(n, 1), delete Vn[e], i;
|
|
6251
6255
|
}
|
|
6252
6256
|
} else if (e && e.textureCacheIds) {
|
|
6253
6257
|
for (var s = 0; s < e.textureCacheIds.length; ++s)
|
|
6254
|
-
delete
|
|
6258
|
+
delete Vn[e.textureCacheIds[s]];
|
|
6255
6259
|
return e.textureCacheIds.length = 0, e;
|
|
6256
6260
|
}
|
|
6257
6261
|
return null;
|
|
@@ -6879,7 +6883,7 @@ var It = function(r) {
|
|
|
6879
6883
|
}, t.create = function(e) {
|
|
6880
6884
|
for (var i = arguments, n = [], s = 1; s < arguments.length; s++)
|
|
6881
6885
|
n[s - 1] = i[s];
|
|
6882
|
-
return typeof e == "number" && (
|
|
6886
|
+
return typeof e == "number" && (Rn("6.0.0", "Arguments (width, height, scaleMode, resolution) have been deprecated."), e = {
|
|
6883
6887
|
width: e,
|
|
6884
6888
|
height: n[0],
|
|
6885
6889
|
scaleMode: n[1],
|
|
@@ -6957,10 +6961,10 @@ var It = function(r) {
|
|
|
6957
6961
|
this.dispose(), this.data = null;
|
|
6958
6962
|
}, Object.defineProperty(r.prototype, "index", {
|
|
6959
6963
|
get: function() {
|
|
6960
|
-
return this.type ===
|
|
6964
|
+
return this.type === In.ELEMENT_ARRAY_BUFFER;
|
|
6961
6965
|
},
|
|
6962
6966
|
set: function(t) {
|
|
6963
|
-
this.type = t ?
|
|
6967
|
+
this.type = t ? In.ELEMENT_ARRAY_BUFFER : In.ARRAY_BUFFER;
|
|
6964
6968
|
},
|
|
6965
6969
|
enumerable: !1,
|
|
6966
6970
|
configurable: !0
|
|
@@ -7014,7 +7018,7 @@ var Rx = { 5126: 4, 5123: 2, 5121: 1 }, VA = 0, XA = {
|
|
|
7014
7018
|
}, r.prototype.getBuffer = function(t) {
|
|
7015
7019
|
return this.buffers[this.getAttribute(t).buffer];
|
|
7016
7020
|
}, r.prototype.addIndex = function(t) {
|
|
7017
|
-
return t instanceof or || (t instanceof Array && (t = new Uint16Array(t)), t = new or(t)), t.type =
|
|
7021
|
+
return t instanceof or || (t instanceof Array && (t = new Uint16Array(t)), t = new or(t)), t.type = In.ELEMENT_ARRAY_BUFFER, this.indexBuffer = t, this.buffers.indexOf(t) === -1 && this.buffers.push(t), this;
|
|
7018
7022
|
}, r.prototype.getIndex = function() {
|
|
7019
7023
|
return this.indexBuffer;
|
|
7020
7024
|
}, r.prototype.interleave = function() {
|
|
@@ -7045,7 +7049,7 @@ var Rx = { 5126: 4, 5123: 2, 5121: 1 }, VA = 0, XA = {
|
|
|
7045
7049
|
var i = this.attributes[e];
|
|
7046
7050
|
t.attributes[e] = new Ix(i.buffer, i.size, i.normalized, i.type, i.stride, i.start, i.instance);
|
|
7047
7051
|
}
|
|
7048
|
-
return this.indexBuffer && (t.indexBuffer = t.buffers[this.buffers.indexOf(this.indexBuffer)], t.indexBuffer.type =
|
|
7052
|
+
return this.indexBuffer && (t.indexBuffer = t.buffers[this.buffers.indexOf(this.indexBuffer)], t.indexBuffer.type = In.ELEMENT_ARRAY_BUFFER), t;
|
|
7049
7053
|
}, r.merge = function(t) {
|
|
7050
7054
|
for (var e = new r(), i = [], n = [], s = [], a, o = 0; o < t.length; o++) {
|
|
7051
7055
|
a = t[o];
|
|
@@ -7060,7 +7064,7 @@ var Rx = { 5126: 4, 5123: 2, 5121: 1 }, VA = 0, XA = {
|
|
|
7060
7064
|
i[u].set(a.buffers[u].data, s[u]), s[u] += a.buffers[u].data.length;
|
|
7061
7065
|
}
|
|
7062
7066
|
if (e.attributes = a.attributes, a.indexBuffer) {
|
|
7063
|
-
e.indexBuffer = e.buffers[a.buffers.indexOf(a.indexBuffer)], e.indexBuffer.type =
|
|
7067
|
+
e.indexBuffer = e.buffers[a.buffers.indexOf(a.indexBuffer)], e.indexBuffer.type = In.ELEMENT_ARRAY_BUFFER;
|
|
7064
7068
|
for (var h = 0, l = 0, c = 0, d = 0, o = 0; o < a.buffers.length; o++)
|
|
7065
7069
|
if (a.buffers[o] !== a.indexBuffer) {
|
|
7066
7070
|
d = o;
|
|
@@ -7126,7 +7130,7 @@ var Rx = { 5126: 4, 5123: 2, 5121: 1 }, VA = 0, XA = {
|
|
|
7126
7130
|
}, t;
|
|
7127
7131
|
}(ld), YA = 0, Wo = function() {
|
|
7128
7132
|
function r(t, e, i) {
|
|
7129
|
-
this.group = !0, this.syncUniforms = {}, this.dirtyId = 0, this.id = YA++, this.static = !!e, this.ubo = !!i, t instanceof or ? (this.buffer = t, this.buffer.type =
|
|
7133
|
+
this.group = !0, this.syncUniforms = {}, this.dirtyId = 0, this.id = YA++, this.static = !!e, this.ubo = !!i, t instanceof or ? (this.buffer = t, this.buffer.type = In.UNIFORM_BUFFER, this.autoManage = !1, this.ubo = !0) : (this.uniforms = t, this.ubo && (this.buffer = new or(new Float32Array(1)), this.buffer.type = In.UNIFORM_BUFFER, this.autoManage = !0));
|
|
7130
7134
|
}
|
|
7131
7135
|
return r.prototype.update = function() {
|
|
7132
7136
|
this.dirtyId++, !this.autoManage && this.buffer && this.buffer.update();
|
|
@@ -7758,11 +7762,11 @@ function sF() {
|
|
|
7758
7762
|
var kd;
|
|
7759
7763
|
function aF() {
|
|
7760
7764
|
if (!kd) {
|
|
7761
|
-
kd =
|
|
7765
|
+
kd = Tn.MEDIUM;
|
|
7762
7766
|
var r = sF();
|
|
7763
7767
|
if (r && r.getShaderPrecisionFormat) {
|
|
7764
7768
|
var t = r.getShaderPrecisionFormat(r.FRAGMENT_SHADER, r.HIGH_FLOAT);
|
|
7765
|
-
kd = t.precision ?
|
|
7769
|
+
kd = t.precision ? Tn.HIGH : Tn.MEDIUM;
|
|
7766
7770
|
}
|
|
7767
7771
|
}
|
|
7768
7772
|
return kd;
|
|
@@ -7770,9 +7774,9 @@ function aF() {
|
|
|
7770
7774
|
function Ox(r, t, e) {
|
|
7771
7775
|
if (r.substring(0, 9) !== "precision") {
|
|
7772
7776
|
var i = t;
|
|
7773
|
-
return t ===
|
|
7777
|
+
return t === Tn.HIGH && e !== Tn.HIGH && (i = Tn.MEDIUM), "precision " + i + ` float;
|
|
7774
7778
|
` + r;
|
|
7775
|
-
} else if (e !==
|
|
7779
|
+
} else if (e !== Tn.HIGH && r.substring(0, 15) === "precision highp")
|
|
7776
7780
|
return r.replace("precision highp", "precision mediump");
|
|
7777
7781
|
return r;
|
|
7778
7782
|
}
|
|
@@ -7858,8 +7862,8 @@ var Ju = [
|
|
|
7858
7862
|
}
|
|
7859
7863
|
},
|
|
7860
7864
|
{
|
|
7861
|
-
test: function(r) {
|
|
7862
|
-
return (r.type === "sampler2D" || r.type === "samplerCube" || r.type === "sampler2DArray") && r.size === 1 && !r.isArray;
|
|
7865
|
+
test: function(r, t) {
|
|
7866
|
+
return (r.type === "sampler2D" || r.type === "samplerCube" || r.type === "sampler2DArray") && r.size === 1 && !r.isArray && (t == null || t.castToBaseTexture !== void 0);
|
|
7863
7867
|
},
|
|
7864
7868
|
code: function(r) {
|
|
7865
7869
|
return `t = syncData.textureCount++;
|
|
@@ -8131,9 +8135,27 @@ var Ju = [
|
|
|
8131
8135
|
mat2: "gl.uniformMatrix2fv(location, false, v)",
|
|
8132
8136
|
mat3: "gl.uniformMatrix3fv(location, false, v)",
|
|
8133
8137
|
mat4: "gl.uniformMatrix4fv(location, false, v)",
|
|
8134
|
-
sampler2D:
|
|
8135
|
-
|
|
8136
|
-
|
|
8138
|
+
sampler2D: `
|
|
8139
|
+
if (cv !== v)
|
|
8140
|
+
{
|
|
8141
|
+
cu.value = v;
|
|
8142
|
+
|
|
8143
|
+
gl.uniform1i(location, v);
|
|
8144
|
+
}`,
|
|
8145
|
+
samplerCube: `
|
|
8146
|
+
if (cv !== v)
|
|
8147
|
+
{
|
|
8148
|
+
cu.value = v;
|
|
8149
|
+
|
|
8150
|
+
gl.uniform1i(location, v);
|
|
8151
|
+
}`,
|
|
8152
|
+
sampler2DArray: `
|
|
8153
|
+
if (cv !== v)
|
|
8154
|
+
{
|
|
8155
|
+
cu.value = v;
|
|
8156
|
+
|
|
8157
|
+
gl.uniform1i(location, v);
|
|
8158
|
+
}`
|
|
8137
8159
|
}, hF = {
|
|
8138
8160
|
float: "gl.uniform1fv(location, v)",
|
|
8139
8161
|
vec2: "gl.uniform2fv(location, v)",
|
|
@@ -8253,7 +8275,7 @@ void main(void){
|
|
|
8253
8275
|
function r(t, e, i) {
|
|
8254
8276
|
i === void 0 && (i = "pixi-shader"), this.id = mF++, this.vertexSrc = t || r.defaultVertexSrc, this.fragmentSrc = e || r.defaultFragmentSrc, this.vertexSrc = this.vertexSrc.trim(), this.fragmentSrc = this.fragmentSrc.trim(), this.vertexSrc.substring(0, 8) !== "#version" && (i = i.replace(/\s+/g, "-"), Ld[i] ? (Ld[i]++, i += "-" + Ld[i]) : Ld[i] = 1, this.vertexSrc = "#define SHADER_NAME " + i + `
|
|
8255
8277
|
` + this.vertexSrc, this.fragmentSrc = "#define SHADER_NAME " + i + `
|
|
8256
|
-
` + this.fragmentSrc, this.vertexSrc = Ox(this.vertexSrc, pt.PRECISION_VERTEX,
|
|
8278
|
+
` + this.fragmentSrc, this.vertexSrc = Ox(this.vertexSrc, pt.PRECISION_VERTEX, Tn.HIGH), this.fragmentSrc = Ox(this.fragmentSrc, pt.PRECISION_FRAGMENT, aF())), this.glPrograms = {}, this.syncUniforms = null;
|
|
8257
8279
|
}
|
|
8258
8280
|
return Object.defineProperty(r, "defaultVertexSrc", {
|
|
8259
8281
|
get: function() {
|
|
@@ -8411,7 +8433,7 @@ void main(void)
|
|
|
8411
8433
|
gl_Position = filterVertexPosition();
|
|
8412
8434
|
vTextureCoord = filterTextureCoord();
|
|
8413
8435
|
}
|
|
8414
|
-
`,
|
|
8436
|
+
`, On = function(r) {
|
|
8415
8437
|
Re(t, r);
|
|
8416
8438
|
function t(e, i, n) {
|
|
8417
8439
|
var s = this, a = cd.from(e || t.defaultVertexSrc, i || t.defaultFragmentSrc);
|
|
@@ -8542,7 +8564,7 @@ void main(void)
|
|
|
8542
8564
|
var a = this._maskSprite, o = a._texture;
|
|
8543
8565
|
!o.valid || (o.uvMatrix || (o.uvMatrix = new Ob(o, 0)), o.uvMatrix.update(), this.uniforms.npmAlpha = o.baseTexture.alphaMode ? 0 : 1, this.uniforms.mask = o, this.uniforms.otherMatrix = e.calculateSpriteMatrix(this.maskMatrix, a).prepend(o.uvMatrix.mapCoord), this.uniforms.alpha = a.worldAlpha, this.uniforms.maskClamp = o.uvMatrix.uClampFrame, e.applyFilter(this, i, n, s));
|
|
8544
8566
|
}, t;
|
|
8545
|
-
}(
|
|
8567
|
+
}(On), wF = function() {
|
|
8546
8568
|
function r(t) {
|
|
8547
8569
|
this.renderer = t, this.enableScissor = !0, this.alphaMaskPool = [], this.maskDataPool = [], this.maskStack = [], this.alphaMaskIndex = 0;
|
|
8548
8570
|
}
|
|
@@ -9205,7 +9227,7 @@ var dm = function() {
|
|
|
9205
9227
|
function t(e, i) {
|
|
9206
9228
|
e === void 0 && (e = Ac.UNKNOWN);
|
|
9207
9229
|
var n = r.call(this) || this;
|
|
9208
|
-
return i = Object.assign({}, pt.RENDER_OPTIONS, i), n.options = i, n.type = e, n.screen = new Pt(0, 0, i.width, i.height), n.view = i.view || pt.ADAPTER.createCanvas(), n.resolution = i.resolution || pt.RESOLUTION, n.useContextAlpha = i.useContextAlpha, n.autoDensity = !!i.autoDensity, n.preserveDrawingBuffer = i.preserveDrawingBuffer, n.clearBeforeRender = i.clearBeforeRender, n._backgroundColor = 0, n._backgroundColorRgba = [0, 0, 0, 1], n._backgroundColorString = "#000000", n.backgroundColor = i.backgroundColor || n._backgroundColor, n.backgroundAlpha = i.backgroundAlpha, i.transparent !== void 0 && (
|
|
9230
|
+
return i = Object.assign({}, pt.RENDER_OPTIONS, i), n.options = i, n.type = e, n.screen = new Pt(0, 0, i.width, i.height), n.view = i.view || pt.ADAPTER.createCanvas(), n.resolution = i.resolution || pt.RESOLUTION, n.useContextAlpha = i.useContextAlpha, n.autoDensity = !!i.autoDensity, n.preserveDrawingBuffer = i.preserveDrawingBuffer, n.clearBeforeRender = i.clearBeforeRender, n._backgroundColor = 0, n._backgroundColorRgba = [0, 0, 0, 1], n._backgroundColorString = "#000000", n.backgroundColor = i.backgroundColor || n._backgroundColor, n.backgroundAlpha = i.backgroundAlpha, i.transparent !== void 0 && (Rn("6.0.0", "Option transparent is deprecated, please use backgroundAlpha instead."), n.useContextAlpha = i.transparent, n.backgroundAlpha = i.transparent ? 0 : 1), n._lastObjectRendered = null, n.plugins = {}, n;
|
|
9209
9231
|
}
|
|
9210
9232
|
return t.prototype.initPlugins = function(e) {
|
|
9211
9233
|
for (var i in e)
|
|
@@ -9227,7 +9249,7 @@ var dm = function() {
|
|
|
9227
9249
|
var n = this.view.width / this.resolution, s = this.view.height / this.resolution;
|
|
9228
9250
|
this.screen.width = n, this.screen.height = s, this.autoDensity && (this.view.style.width = n + "px", this.view.style.height = s + "px"), this.emit("resize", n, s);
|
|
9229
9251
|
}, t.prototype.generateTexture = function(e, i, n, s) {
|
|
9230
|
-
i === void 0 && (i = {}), typeof i == "number" && (
|
|
9252
|
+
i === void 0 && (i = {}), typeof i == "number" && (Rn("6.1.0", "generateTexture options (scaleMode, resolution, region) are now object options."), i = { scaleMode: i, resolution: n, region: s });
|
|
9231
9253
|
var a = i.region, o = AA(i, ["region"]);
|
|
9232
9254
|
s = a || e.getLocalBounds(null, !0), s.width === 0 && (s.width = 1), s.height === 0 && (s.height = 1);
|
|
9233
9255
|
var u = Yi.create(I_({ width: s.width, height: s.height }, o));
|
|
@@ -9358,7 +9380,7 @@ var dm = function() {
|
|
|
9358
9380
|
return this;
|
|
9359
9381
|
}, t.prototype.render = function(e, i) {
|
|
9360
9382
|
var n, s, a, o;
|
|
9361
|
-
if (i && (i instanceof Yi ? (
|
|
9383
|
+
if (i && (i instanceof Yi ? (Rn("6.0.0", "Renderer#render arguments changed, use options instead."), n = i, s = arguments[2], a = arguments[3], o = arguments[4]) : (n = i.renderTexture, s = i.clear, a = i.transform, o = i.skipUpdateTransform)), this.renderingToScreen = !n, this.runners.prerender.emit(), this.emit("prerender"), this.projection.transform = a, !this.context.isLost) {
|
|
9362
9384
|
if (n || (this._lastObjectRendered = e), !o) {
|
|
9363
9385
|
var u = e.enableTempParent();
|
|
9364
9386
|
e.updateTransform(), e.disableTempParent(u);
|
|
@@ -9382,12 +9404,12 @@ var dm = function() {
|
|
|
9382
9404
|
r.prototype.destroy.call(this, e), this.gl = null;
|
|
9383
9405
|
}, Object.defineProperty(t.prototype, "extract", {
|
|
9384
9406
|
get: function() {
|
|
9385
|
-
return
|
|
9407
|
+
return Rn("6.0.0", "Renderer#extract has been deprecated, please use Renderer#plugins.extract instead."), this.plugins.extract;
|
|
9386
9408
|
},
|
|
9387
9409
|
enumerable: !1,
|
|
9388
9410
|
configurable: !0
|
|
9389
9411
|
}), t.registerPlugin = function(e, i) {
|
|
9390
|
-
|
|
9412
|
+
Rn("6.5.0", "Renderer.registerPlugin() has been deprecated, please use extensions.add() instead."), Rs.add({
|
|
9391
9413
|
name: e,
|
|
9392
9414
|
type: ge.RendererPlugin,
|
|
9393
9415
|
ref: i
|
|
@@ -9697,8 +9719,8 @@ Object.assign(TC, {
|
|
|
9697
9719
|
}
|
|
9698
9720
|
});
|
|
9699
9721
|
/*!
|
|
9700
|
-
* @pixi/loaders - v6.5.
|
|
9701
|
-
* Compiled
|
|
9722
|
+
* @pixi/loaders - v6.5.3
|
|
9723
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
9702
9724
|
*
|
|
9703
9725
|
* @pixi/loaders is licensed under the MIT License.
|
|
9704
9726
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -10162,7 +10184,7 @@ var lM = function() {
|
|
|
10162
10184
|
}
|
|
10163
10185
|
return this.resources = {}, this;
|
|
10164
10186
|
}, r.prototype.load = function(t) {
|
|
10165
|
-
if (
|
|
10187
|
+
if (Rn("6.5.0", "@pixi/loaders is being replaced with @pixi/assets in the next major release."), typeof t == "function" && this.onComplete.once(t), this.loading)
|
|
10166
10188
|
return this;
|
|
10167
10189
|
if (this._queue.idle())
|
|
10168
10190
|
this._onStart(), this._onComplete();
|
|
@@ -10218,7 +10240,7 @@ var lM = function() {
|
|
|
10218
10240
|
enumerable: !1,
|
|
10219
10241
|
configurable: !0
|
|
10220
10242
|
}), r.registerPlugin = function(t) {
|
|
10221
|
-
return
|
|
10243
|
+
return Rn("6.5.0", "Loader.registerPlugin() is deprecated, use extensions.add() instead."), Rs.add({
|
|
10222
10244
|
type: ge.Loader,
|
|
10223
10245
|
ref: t
|
|
10224
10246
|
}), r;
|
|
@@ -11522,8 +11544,8 @@ var UM = DM() ? Object.assign : function(r, t) {
|
|
|
11522
11544
|
return i;
|
|
11523
11545
|
};
|
|
11524
11546
|
/*!
|
|
11525
|
-
* @pixi/polyfill - v6.5.
|
|
11526
|
-
* Compiled
|
|
11547
|
+
* @pixi/polyfill - v6.5.3
|
|
11548
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
11527
11549
|
*
|
|
11528
11550
|
* @pixi/polyfill is licensed under the MIT License.
|
|
11529
11551
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -11570,8 +11592,8 @@ globalThis.Uint16Array || (globalThis.Uint16Array = Array);
|
|
|
11570
11592
|
globalThis.Uint8Array || (globalThis.Uint8Array = Array);
|
|
11571
11593
|
globalThis.Int32Array || (globalThis.Int32Array = Array);
|
|
11572
11594
|
/*!
|
|
11573
|
-
* @pixi/display - v6.5.
|
|
11574
|
-
* Compiled
|
|
11595
|
+
* @pixi/display - v6.5.3
|
|
11596
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
11575
11597
|
*
|
|
11576
11598
|
* @pixi/display is licensed under the MIT License.
|
|
11577
11599
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -11855,8 +11877,8 @@ var Je = function(r) {
|
|
|
11855
11877
|
}(Je);
|
|
11856
11878
|
Je.prototype.displayObjectUpdateTransform = Je.prototype.updateTransform;
|
|
11857
11879
|
/*!
|
|
11858
|
-
* @pixi/constants - v6.5.
|
|
11859
|
-
* Compiled
|
|
11880
|
+
* @pixi/constants - v6.5.3
|
|
11881
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
11860
11882
|
*
|
|
11861
11883
|
* @pixi/constants is licensed under the MIT License.
|
|
11862
11884
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -12120,8 +12142,8 @@ var ve = function(r) {
|
|
|
12120
12142
|
}(Je);
|
|
12121
12143
|
ve.prototype.containerUpdateTransform = ve.prototype.updateTransform;
|
|
12122
12144
|
/*!
|
|
12123
|
-
* @pixi/accessibility - v6.5.
|
|
12124
|
-
* Compiled
|
|
12145
|
+
* @pixi/accessibility - v6.5.3
|
|
12146
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
12125
12147
|
*
|
|
12126
12148
|
* @pixi/accessibility is licensed under the MIT License.
|
|
12127
12149
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -12141,7 +12163,7 @@ var jM = {
|
|
|
12141
12163
|
Je.mixin(jM);
|
|
12142
12164
|
var $M = 9, Hd = 100, VM = 0, XM = 0, cE = 2, fE = 1, WM = -1e3, YM = -1e3, qM = 2, ZM = function() {
|
|
12143
12165
|
function r(t) {
|
|
12144
|
-
this.debug = !1, this._isActive = !1, this._isMobileAccessibility = !1, this.pool = [], this.renderId = 0, this.children = [], this.androidUpdateCount = 0, this.androidUpdateFrequency = 500, this._hookDiv = null, (
|
|
12166
|
+
this.debug = !1, this._isActive = !1, this._isMobileAccessibility = !1, this.pool = [], this.renderId = 0, this.children = [], this.androidUpdateCount = 0, this.androidUpdateFrequency = 500, this._hookDiv = null, (wn.tablet || wn.phone) && this.createTouchHook();
|
|
12145
12167
|
var e = document.createElement("div");
|
|
12146
12168
|
e.style.width = Hd + "px", e.style.height = Hd + "px", e.style.position = "absolute", e.style.top = VM + "px", e.style.left = XM + "px", e.style.zIndex = cE.toString(), this.div = e, this.renderer = t, this._onKeyDown = this._onKeyDown.bind(this), this._onMouseMove = this._onMouseMove.bind(this), globalThis.addEventListener("keydown", this._onKeyDown, !1);
|
|
12147
12169
|
}
|
|
@@ -12180,7 +12202,7 @@ var $M = 9, Hd = 100, VM = 0, XM = 0, cE = 2, fE = 1, WM = -1e3, YM = -1e3, qM =
|
|
|
12180
12202
|
}
|
|
12181
12203
|
}, r.prototype.update = function() {
|
|
12182
12204
|
var t = performance.now();
|
|
12183
|
-
if (!(
|
|
12205
|
+
if (!(wn.android.device && t < this.androidUpdateCount) && (this.androidUpdateCount = t + this.androidUpdateFrequency, !!this.renderer.renderingToScreen)) {
|
|
12184
12206
|
this.renderer._lastObjectRendered && this.updateAccessibleObjects(this.renderer._lastObjectRendered);
|
|
12185
12207
|
var e = this.renderer.view.getBoundingClientRect(), i = e.left, n = e.top, s = e.width, a = e.height, o = this.renderer, u = o.width, h = o.height, l = o.resolution, c = s / u * l, d = a / h * l, p = this.div;
|
|
12186
12208
|
p.style.left = i + "px", p.style.top = n + "px", p.style.width = u + "px", p.style.height = h + "px";
|
|
@@ -12231,8 +12253,8 @@ var $M = 9, Hd = 100, VM = 0, XM = 0, cE = 2, fE = 1, WM = -1e3, YM = -1e3, qM =
|
|
|
12231
12253
|
}, r;
|
|
12232
12254
|
}();
|
|
12233
12255
|
/*!
|
|
12234
|
-
* @pixi/interaction - v6.5.
|
|
12235
|
-
* Compiled
|
|
12256
|
+
* @pixi/interaction - v6.5.3
|
|
12257
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
12236
12258
|
*
|
|
12237
12259
|
* @pixi/interaction is licensed under the MIT License.
|
|
12238
12260
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -12627,8 +12649,8 @@ var zd = 1, jd = {
|
|
|
12627
12649
|
}, t;
|
|
12628
12650
|
}(Ri);
|
|
12629
12651
|
/*!
|
|
12630
|
-
* @pixi/extract - v6.5.
|
|
12631
|
-
* Compiled
|
|
12652
|
+
* @pixi/extract - v6.5.3
|
|
12653
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
12632
12654
|
*
|
|
12633
12655
|
* @pixi/extract is licensed under the MIT License.
|
|
12634
12656
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -12671,8 +12693,8 @@ var pE = new Pt(), vE = 4, rk = function() {
|
|
|
12671
12693
|
}, r;
|
|
12672
12694
|
}();
|
|
12673
12695
|
/*!
|
|
12674
|
-
* @pixi/compressed-textures - v6.5.
|
|
12675
|
-
* Compiled
|
|
12696
|
+
* @pixi/compressed-textures - v6.5.3
|
|
12697
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
12676
12698
|
*
|
|
12677
12699
|
* @pixi/compressed-textures is licensed under the MIT License.
|
|
12678
12700
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -13052,7 +13074,7 @@ function wk(r) {
|
|
|
13052
13074
|
}
|
|
13053
13075
|
throw u & dk ? new Error("DDSParser does not support uncompressed texture data.") : u & pk ? new Error("DDSParser does not supported YUV uncompressed texture data.") : u & vk ? new Error("DDSParser does not support single-channel (lumninance) texture data!") : u & ck ? new Error("DDSParser does not support single-channel (alpha) texture data!") : new Error("DDSParser failed to load a texture file due to an unknown reason!");
|
|
13054
13076
|
}
|
|
13055
|
-
var Os,
|
|
13077
|
+
var Os, Gn, Ul, mE = [171, 75, 84, 88, 32, 49, 49, 187, 13, 10, 26, 10], Tk = 67305985, Ni = {
|
|
13056
13078
|
FILE_IDENTIFIER: 0,
|
|
13057
13079
|
ENDIANNESS: 12,
|
|
13058
13080
|
GL_TYPE: 16,
|
|
@@ -13067,7 +13089,7 @@ var Os, Un, Ul, mE = [171, 75, 84, 88, 32, 49, 49, 187, 13, 10, 26, 10], Tk = 67
|
|
|
13067
13089
|
NUMBER_OF_FACES: 52,
|
|
13068
13090
|
NUMBER_OF_MIPMAP_LEVELS: 56,
|
|
13069
13091
|
BYTES_OF_KEY_VALUE_DATA: 60
|
|
13070
|
-
}, G_ = 64, _E = (Os = {}, Os[Tt.UNSIGNED_BYTE] = 1, Os[Tt.UNSIGNED_SHORT] = 2, Os[Tt.INT] = 4, Os[Tt.UNSIGNED_INT] = 4, Os[Tt.FLOAT] = 4, Os[Tt.HALF_FLOAT] = 8, Os), Ck = (
|
|
13092
|
+
}, G_ = 64, _E = (Os = {}, Os[Tt.UNSIGNED_BYTE] = 1, Os[Tt.UNSIGNED_SHORT] = 2, Os[Tt.INT] = 4, Os[Tt.UNSIGNED_INT] = 4, Os[Tt.FLOAT] = 4, Os[Tt.HALF_FLOAT] = 8, Os), Ck = (Gn = {}, Gn[ht.RGBA] = 4, Gn[ht.RGB] = 3, Gn[ht.RG] = 2, Gn[ht.RED] = 1, Gn[ht.LUMINANCE] = 1, Gn[ht.LUMINANCE_ALPHA] = 2, Gn[ht.ALPHA] = 1, Gn), Ik = (Ul = {}, Ul[Tt.UNSIGNED_SHORT_4_4_4_4] = 2, Ul[Tt.UNSIGNED_SHORT_5_5_5_1] = 2, Ul[Tt.UNSIGNED_SHORT_5_6_5] = 2, Ul);
|
|
13071
13093
|
function Rk(r, t, e) {
|
|
13072
13094
|
e === void 0 && (e = !1);
|
|
13073
13095
|
var i = new DataView(t);
|
|
@@ -13210,8 +13232,8 @@ var Ak = function() {
|
|
|
13210
13232
|
}, r.extension = ge.Loader, r.loadKeyValueData = !1, r;
|
|
13211
13233
|
}();
|
|
13212
13234
|
/*!
|
|
13213
|
-
* @pixi/particle-container - v6.5.
|
|
13214
|
-
* Compiled
|
|
13235
|
+
* @pixi/particle-container - v6.5.3
|
|
13236
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
13215
13237
|
*
|
|
13216
13238
|
* @pixi/particle-container is licensed under the MIT License.
|
|
13217
13239
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -13469,8 +13491,8 @@ void main(void){
|
|
|
13469
13491
|
}, t;
|
|
13470
13492
|
}(Og);
|
|
13471
13493
|
/*!
|
|
13472
|
-
* @pixi/graphics - v6.5.
|
|
13473
|
-
* Compiled
|
|
13494
|
+
* @pixi/graphics - v6.5.3
|
|
13495
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
13474
13496
|
*
|
|
13475
13497
|
* @pixi/graphics is licensed under the MIT License.
|
|
13476
13498
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -14234,8 +14256,8 @@ var wE = function() {
|
|
|
14234
14256
|
}, t.nextRoundedRectBehavior = !1, t._TEMP_POINT = new xe(), t;
|
|
14235
14257
|
}(ve);
|
|
14236
14258
|
/*!
|
|
14237
|
-
* @pixi/sprite - v6.5.
|
|
14238
|
-
* Compiled
|
|
14259
|
+
* @pixi/sprite - v6.5.3
|
|
14260
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
14239
14261
|
*
|
|
14240
14262
|
* @pixi/sprite is licensed under the MIT License.
|
|
14241
14263
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -14377,8 +14399,8 @@ var Gl = new xe(), Wk = new Uint16Array([0, 1, 2, 0, 2, 3]), Ze = function(r) {
|
|
|
14377
14399
|
}), t;
|
|
14378
14400
|
}(ve);
|
|
14379
14401
|
/*!
|
|
14380
|
-
* @pixi/text - v6.5.
|
|
14381
|
-
* Compiled
|
|
14402
|
+
* @pixi/text - v6.5.3
|
|
14403
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
14382
14404
|
*
|
|
14383
14405
|
* @pixi/text is licensed under the MIT License.
|
|
14384
14406
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -14759,7 +14781,7 @@ function Pm(r, t, e) {
|
|
|
14759
14781
|
for (var i in e)
|
|
14760
14782
|
Array.isArray(t[i]) ? r[i] = t[i].slice() : r[i] = t[i];
|
|
14761
14783
|
}
|
|
14762
|
-
var
|
|
14784
|
+
var kn = function() {
|
|
14763
14785
|
function r(t, e, i, n, s, a, o, u, h) {
|
|
14764
14786
|
this.text = t, this.style = e, this.width = i, this.height = n, this.lines = s, this.lineWidths = a, this.lineHeight = o, this.maxLineWidth = u, this.fontProperties = h;
|
|
14765
14787
|
}
|
|
@@ -14928,16 +14950,16 @@ var Mn = function() {
|
|
|
14928
14950
|
configurable: !0
|
|
14929
14951
|
}), r;
|
|
14930
14952
|
}();
|
|
14931
|
-
|
|
14932
|
-
|
|
14933
|
-
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
|
-
|
|
14953
|
+
kn._fonts = {};
|
|
14954
|
+
kn.METRICS_STRING = "|\xC9q\xC5";
|
|
14955
|
+
kn.BASELINE_SYMBOL = "M";
|
|
14956
|
+
kn.BASELINE_MULTIPLIER = 1.4;
|
|
14957
|
+
kn.HEIGHT_MULTIPLIER = 2;
|
|
14958
|
+
kn._newlines = [
|
|
14937
14959
|
10,
|
|
14938
14960
|
13
|
|
14939
14961
|
];
|
|
14940
|
-
|
|
14962
|
+
kn._breakingSpaces = [
|
|
14941
14963
|
9,
|
|
14942
14964
|
32,
|
|
14943
14965
|
8192,
|
|
@@ -14969,7 +14991,7 @@ var Jk = {
|
|
|
14969
14991
|
var i = this._style;
|
|
14970
14992
|
if (this.localStyleID !== i.styleID && (this.dirty = !0, this.localStyleID = i.styleID), !(!this.dirty && e)) {
|
|
14971
14993
|
this._font = this._style.toFontString();
|
|
14972
|
-
var n = this.context, s =
|
|
14994
|
+
var n = this.context, s = kn.measureText(this._text || " ", this._style, this._style.wordWrap, this.canvas), a = s.width, o = s.height, u = s.lines, h = s.lineHeight, l = s.lineWidths, c = s.maxLineWidth, d = s.fontProperties;
|
|
14973
14995
|
this.canvas.width = Math.ceil(Math.ceil(Math.max(1, a) + i.padding * 2) * this._resolution), this.canvas.height = Math.ceil(Math.ceil(Math.max(1, o) + i.padding * 2) * this._resolution), n.scale(this._resolution, this._resolution), n.clearRect(0, 0, this.canvas.width, this.canvas.height), n.font = this._font, n.lineWidth = i.strokeThickness, n.textBaseline = i.textBaseline, n.lineJoin = i.lineJoin, n.miterLimit = i.miterLimit;
|
|
14974
14996
|
for (var p, g, v = i.dropShadow ? 2 : 1, m = 0; m < v; ++m) {
|
|
14975
14997
|
var _ = i.dropShadow && m === 0, y = _ ? Math.ceil(Math.max(1, o) + i.padding * 2) : 0, b = y * this._resolution;
|
|
@@ -15105,8 +15127,8 @@ var Jk = {
|
|
|
15105
15127
|
}), t.nextLineHeightBehavior = !1, t.experimentalLetterSpacing = !1, t;
|
|
15106
15128
|
}(Ze);
|
|
15107
15129
|
/*!
|
|
15108
|
-
* @pixi/prepare - v6.5.
|
|
15109
|
-
* Compiled
|
|
15130
|
+
* @pixi/prepare - v6.5.3
|
|
15131
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
15110
15132
|
*
|
|
15111
15133
|
* @pixi/prepare is licensed under the MIT License.
|
|
15112
15134
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -15182,7 +15204,7 @@ function iB(r, t) {
|
|
|
15182
15204
|
function nB(r, t) {
|
|
15183
15205
|
if (t instanceof Qo) {
|
|
15184
15206
|
var e = t.toFontString();
|
|
15185
|
-
return
|
|
15207
|
+
return kn.measureFont(e), !0;
|
|
15186
15208
|
}
|
|
15187
15209
|
return !1;
|
|
15188
15210
|
}
|
|
@@ -15206,7 +15228,7 @@ var oB = function() {
|
|
|
15206
15228
|
}
|
|
15207
15229
|
return r.prototype.upload = function(t, e) {
|
|
15208
15230
|
var i = this;
|
|
15209
|
-
return typeof t == "function" && (e = t, t = null), e &&
|
|
15231
|
+
return typeof t == "function" && (e = t, t = null), e && Rn("6.5.0", "BasePrepare.upload callback is deprecated, use the return Promise instead."), new Promise(function(n) {
|
|
15210
15232
|
t && i.add(t);
|
|
15211
15233
|
var s = function() {
|
|
15212
15234
|
e == null || e(), n();
|
|
@@ -15280,8 +15302,8 @@ var lB = function(r) {
|
|
|
15280
15302
|
}, t;
|
|
15281
15303
|
}(oB);
|
|
15282
15304
|
/*!
|
|
15283
|
-
* @pixi/spritesheet - v6.5.
|
|
15284
|
-
* Compiled
|
|
15305
|
+
* @pixi/spritesheet - v6.5.3
|
|
15306
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
15285
15307
|
*
|
|
15286
15308
|
* @pixi/spritesheet is licensed under the MIT License.
|
|
15287
15309
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -15298,7 +15320,7 @@ var cB = function() {
|
|
|
15298
15320
|
return i === null && (i = e !== void 0 ? parseFloat(e) : 1), i !== 1 && this.baseTexture.setResolution(i), i;
|
|
15299
15321
|
}, r.prototype.parse = function(t) {
|
|
15300
15322
|
var e = this;
|
|
15301
|
-
return t &&
|
|
15323
|
+
return t && Rn("6.5.0", "Spritesheet.parse callback is deprecated, use the return Promise instead."), new Promise(function(i) {
|
|
15302
15324
|
e._callback = function(n) {
|
|
15303
15325
|
t == null || t(n), i(n);
|
|
15304
15326
|
}, e._batchIndex = 0, e._frameKeys.length <= r.BATCH_SIZE ? (e._processFrames(0), e._processAnimations(), e._parseComplete()) : e._nextBatch();
|
|
@@ -15387,8 +15409,8 @@ var cB = function() {
|
|
|
15387
15409
|
}, r.extension = ge.Loader, r;
|
|
15388
15410
|
}();
|
|
15389
15411
|
/*!
|
|
15390
|
-
* @pixi/sprite-tiling - v6.5.
|
|
15391
|
-
* Compiled
|
|
15412
|
+
* @pixi/sprite-tiling - v6.5.3
|
|
15413
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
15392
15414
|
*
|
|
15393
15415
|
* @pixi/sprite-tiling is licensed under the MIT License.
|
|
15394
15416
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -15639,8 +15661,8 @@ void main(void)
|
|
|
15639
15661
|
}, t;
|
|
15640
15662
|
}(Og);
|
|
15641
15663
|
/*!
|
|
15642
|
-
* @pixi/mesh - v6.5.
|
|
15643
|
-
* Compiled
|
|
15664
|
+
* @pixi/mesh - v6.5.3
|
|
15665
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
15644
15666
|
*
|
|
15645
15667
|
* @pixi/mesh is licensed under the MIT License.
|
|
15646
15668
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -15889,8 +15911,8 @@ void main(void)
|
|
|
15889
15911
|
}), t;
|
|
15890
15912
|
}(ld);
|
|
15891
15913
|
/*!
|
|
15892
|
-
* @pixi/text-bitmap - v6.5.
|
|
15893
|
-
* Compiled
|
|
15914
|
+
* @pixi/text-bitmap - v6.5.3
|
|
15915
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
15894
15916
|
*
|
|
15895
15917
|
* @pixi/text-bitmap is licensed under the MIT License.
|
|
15896
15918
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -16195,7 +16217,7 @@ var Iu = function() {
|
|
|
16195
16217
|
id: x.length - 1,
|
|
16196
16218
|
file: ""
|
|
16197
16219
|
}));
|
|
16198
|
-
var E =
|
|
16220
|
+
var E = kn.measureText(l[w], c, !1, m), S = E.width, T = Math.ceil(E.height), R = Math.ceil((c.fontStyle === "italic" ? 2 : 1) * S);
|
|
16199
16221
|
if (v >= h - T * o) {
|
|
16200
16222
|
if (v === 0)
|
|
16201
16223
|
throw new Error("[BitmapFont] textureHeight " + h + "px is " + ("too small for " + c.fontSize + "px fonts"));
|
|
@@ -16570,8 +16592,8 @@ var OB = function() {
|
|
|
16570
16592
|
}, r.extension = ge.Loader, r;
|
|
16571
16593
|
}();
|
|
16572
16594
|
/*!
|
|
16573
|
-
* @pixi/filter-alpha - v6.5.
|
|
16574
|
-
* Compiled
|
|
16595
|
+
* @pixi/filter-alpha - v6.5.3
|
|
16596
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
16575
16597
|
*
|
|
16576
16598
|
* @pixi/filter-alpha is licensed under the MIT License.
|
|
16577
16599
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -16632,10 +16654,10 @@ void main(void)
|
|
|
16632
16654
|
enumerable: !1,
|
|
16633
16655
|
configurable: !0
|
|
16634
16656
|
}), t;
|
|
16635
|
-
})(
|
|
16657
|
+
})(On);
|
|
16636
16658
|
/*!
|
|
16637
|
-
* @pixi/filter-blur - v6.5.
|
|
16638
|
-
* Compiled
|
|
16659
|
+
* @pixi/filter-blur - v6.5.3
|
|
16660
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
16639
16661
|
*
|
|
16640
16662
|
* @pixi/filter-blur is licensed under the MIT License.
|
|
16641
16663
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -16736,8 +16758,8 @@ function DB(r) {
|
|
|
16736
16758
|
return i = i.replace("%blur%", n), i = i.replace("%size%", r.toString()), i;
|
|
16737
16759
|
}
|
|
16738
16760
|
/*!
|
|
16739
|
-
* @pixi/constants - v6.5.
|
|
16740
|
-
* Compiled
|
|
16761
|
+
* @pixi/constants - v6.5.3
|
|
16762
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
16741
16763
|
*
|
|
16742
16764
|
* @pixi/constants is licensed under the MIT License.
|
|
16743
16765
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -16865,7 +16887,7 @@ var qE = function(r) {
|
|
|
16865
16887
|
enumerable: !1,
|
|
16866
16888
|
configurable: !0
|
|
16867
16889
|
}), t;
|
|
16868
|
-
}(
|
|
16890
|
+
}(On);
|
|
16869
16891
|
(function(r) {
|
|
16870
16892
|
$C(t, r);
|
|
16871
16893
|
function t(e, i, n, s) {
|
|
@@ -16937,10 +16959,10 @@ var qE = function(r) {
|
|
|
16937
16959
|
enumerable: !1,
|
|
16938
16960
|
configurable: !0
|
|
16939
16961
|
}), t;
|
|
16940
|
-
})(
|
|
16962
|
+
})(On);
|
|
16941
16963
|
/*!
|
|
16942
|
-
* @pixi/filter-color-matrix - v6.5.
|
|
16943
|
-
* Compiled
|
|
16964
|
+
* @pixi/filter-color-matrix - v6.5.3
|
|
16965
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
16944
16966
|
*
|
|
16945
16967
|
* @pixi/filter-color-matrix is licensed under the MIT License.
|
|
16946
16968
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -17570,11 +17592,11 @@ void main(void)
|
|
|
17570
17592
|
enumerable: !1,
|
|
17571
17593
|
configurable: !0
|
|
17572
17594
|
}), t;
|
|
17573
|
-
}(
|
|
17595
|
+
}(On);
|
|
17574
17596
|
ZE.prototype.grayscale = ZE.prototype.greyscale;
|
|
17575
17597
|
/*!
|
|
17576
|
-
* @pixi/filter-displacement - v6.5.
|
|
17577
|
-
* Compiled
|
|
17598
|
+
* @pixi/filter-displacement - v6.5.3
|
|
17599
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
17578
17600
|
*
|
|
17579
17601
|
* @pixi/filter-displacement is licensed under the MIT License.
|
|
17580
17602
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -17683,10 +17705,10 @@ void main(void)
|
|
|
17683
17705
|
enumerable: !1,
|
|
17684
17706
|
configurable: !0
|
|
17685
17707
|
}), t;
|
|
17686
|
-
})(
|
|
17708
|
+
})(On);
|
|
17687
17709
|
/*!
|
|
17688
|
-
* @pixi/filter-fxaa - v6.5.
|
|
17689
|
-
* Compiled
|
|
17710
|
+
* @pixi/filter-fxaa - v6.5.3
|
|
17711
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
17690
17712
|
*
|
|
17691
17713
|
* @pixi/filter-fxaa is licensed under the MIT License.
|
|
17692
17714
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -17890,10 +17912,10 @@ void main() {
|
|
|
17890
17912
|
return r.call(this, VB, XB) || this;
|
|
17891
17913
|
}
|
|
17892
17914
|
return t;
|
|
17893
|
-
})(
|
|
17915
|
+
})(On);
|
|
17894
17916
|
/*!
|
|
17895
|
-
* @pixi/filter-noise - v6.5.
|
|
17896
|
-
* Compiled
|
|
17917
|
+
* @pixi/filter-noise - v6.5.3
|
|
17918
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
17897
17919
|
*
|
|
17898
17920
|
* @pixi/filter-noise is licensed under the MIT License.
|
|
17899
17921
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -17991,17 +18013,17 @@ void main()
|
|
|
17991
18013
|
enumerable: !1,
|
|
17992
18014
|
configurable: !0
|
|
17993
18015
|
}), t;
|
|
17994
|
-
})(
|
|
18016
|
+
})(On);
|
|
17995
18017
|
/*!
|
|
17996
|
-
* @pixi/mixin-cache-as-bitmap - v6.5.
|
|
17997
|
-
* Compiled
|
|
18018
|
+
* @pixi/mixin-cache-as-bitmap - v6.5.3
|
|
18019
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
17998
18020
|
*
|
|
17999
18021
|
* @pixi/mixin-cache-as-bitmap is licensed under the MIT License.
|
|
18000
18022
|
* http://www.opensource.org/licenses/mit-license
|
|
18001
18023
|
*/
|
|
18002
18024
|
/*!
|
|
18003
|
-
* @pixi/constants - v6.5.
|
|
18004
|
-
* Compiled
|
|
18025
|
+
* @pixi/constants - v6.5.3
|
|
18026
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18005
18027
|
*
|
|
18006
18028
|
* @pixi/constants is licensed under the MIT License.
|
|
18007
18029
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18184,8 +18206,8 @@ Je.prototype._cacheAsBitmapDestroy = function(t) {
|
|
|
18184
18206
|
this.cacheAsBitmap = !1, this.destroy(t);
|
|
18185
18207
|
};
|
|
18186
18208
|
/*!
|
|
18187
|
-
* @pixi/mixin-get-child-by-name - v6.5.
|
|
18188
|
-
* Compiled
|
|
18209
|
+
* @pixi/mixin-get-child-by-name - v6.5.3
|
|
18210
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18189
18211
|
*
|
|
18190
18212
|
* @pixi/mixin-get-child-by-name is licensed under the MIT License.
|
|
18191
18213
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18207,8 +18229,8 @@ ve.prototype.getChildByName = function(t, e) {
|
|
|
18207
18229
|
return null;
|
|
18208
18230
|
};
|
|
18209
18231
|
/*!
|
|
18210
|
-
* @pixi/mixin-get-global-position - v6.5.
|
|
18211
|
-
* Compiled
|
|
18232
|
+
* @pixi/mixin-get-global-position - v6.5.3
|
|
18233
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18212
18234
|
*
|
|
18213
18235
|
* @pixi/mixin-get-global-position is licensed under the MIT License.
|
|
18214
18236
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18217,8 +18239,8 @@ Je.prototype.getGlobalPosition = function(t, e) {
|
|
|
18217
18239
|
return t === void 0 && (t = new xe()), e === void 0 && (e = !1), this.parent ? this.parent.toGlobal(this.position, t, e) : (t.x = this.position.x, t.y = this.position.y), t;
|
|
18218
18240
|
};
|
|
18219
18241
|
/*!
|
|
18220
|
-
* @pixi/app - v6.5.
|
|
18221
|
-
* Compiled
|
|
18242
|
+
* @pixi/app - v6.5.3
|
|
18243
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18222
18244
|
*
|
|
18223
18245
|
* @pixi/app is licensed under the MIT License.
|
|
18224
18246
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18263,15 +18285,15 @@ var ZB = function() {
|
|
|
18263
18285
|
}, r.extension = ge.Application, r;
|
|
18264
18286
|
}();
|
|
18265
18287
|
/*!
|
|
18266
|
-
* @pixi/settings - v6.5.
|
|
18267
|
-
* Compiled
|
|
18288
|
+
* @pixi/settings - v6.5.3
|
|
18289
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18268
18290
|
*
|
|
18269
18291
|
* @pixi/settings is licensed under the MIT License.
|
|
18270
18292
|
* http://www.opensource.org/licenses/mit-license
|
|
18271
18293
|
*/
|
|
18272
18294
|
/*!
|
|
18273
|
-
* @pixi/constants - v6.5.
|
|
18274
|
-
* Compiled
|
|
18295
|
+
* @pixi/constants - v6.5.3
|
|
18296
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18275
18297
|
*
|
|
18276
18298
|
* @pixi/constants is licensed under the MIT License.
|
|
18277
18299
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18374,7 +18396,7 @@ var JB = {
|
|
|
18374
18396
|
fetch: function(r, t) {
|
|
18375
18397
|
return fetch(r, t);
|
|
18376
18398
|
}
|
|
18377
|
-
}, Am = /iPhone/i, N3 = /iPod/i, O3 = /iPad/i, A3 = /\biOS-universal(?:.+)Mac\b/i, Fm = /\bAndroid(?:.+)Mobile\b/i, F3 = /Android/i, mu = /(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i, Zd = /Silk/i,
|
|
18399
|
+
}, Am = /iPhone/i, N3 = /iPod/i, O3 = /iPad/i, A3 = /\biOS-universal(?:.+)Mac\b/i, Fm = /\bAndroid(?:.+)Mobile\b/i, F3 = /Android/i, mu = /(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i, Zd = /Silk/i, Hn = /Windows Phone/i, M3 = /\bWindows(?:.+)ARM\b/i, k3 = /BlackBerry/i, B3 = /BB10/i, L3 = /Opera Mini/i, D3 = /\b(CriOS|Chrome)(?:.+)Mobile/i, U3 = /Mobile(?:.+)Firefox\b/i, G3 = function(r) {
|
|
18378
18400
|
return typeof r < "u" && r.platform === "MacIntel" && typeof r.maxTouchPoints == "number" && r.maxTouchPoints > 1 && typeof MSStream > "u";
|
|
18379
18401
|
};
|
|
18380
18402
|
function KB(r) {
|
|
@@ -18401,11 +18423,11 @@ function QB(r) {
|
|
|
18401
18423
|
typeof i[1] < "u" && (e = i[0]), i = e.split("Twitter"), typeof i[1] < "u" && (e = i[0]);
|
|
18402
18424
|
var n = KB(e), s = {
|
|
18403
18425
|
apple: {
|
|
18404
|
-
phone: n(Am) && !n(
|
|
18426
|
+
phone: n(Am) && !n(Hn),
|
|
18405
18427
|
ipod: n(N3),
|
|
18406
|
-
tablet: !n(Am) && (n(O3) || G3(t)) && !n(
|
|
18428
|
+
tablet: !n(Am) && (n(O3) || G3(t)) && !n(Hn),
|
|
18407
18429
|
universal: n(A3),
|
|
18408
|
-
device: (n(Am) || n(N3) || n(O3) || n(A3) || G3(t)) && !n(
|
|
18430
|
+
device: (n(Am) || n(N3) || n(O3) || n(A3) || G3(t)) && !n(Hn)
|
|
18409
18431
|
},
|
|
18410
18432
|
amazon: {
|
|
18411
18433
|
phone: n(mu),
|
|
@@ -18413,14 +18435,14 @@ function QB(r) {
|
|
|
18413
18435
|
device: n(mu) || n(Zd)
|
|
18414
18436
|
},
|
|
18415
18437
|
android: {
|
|
18416
|
-
phone: !n(
|
|
18417
|
-
tablet: !n(
|
|
18418
|
-
device: !n(
|
|
18438
|
+
phone: !n(Hn) && n(mu) || !n(Hn) && n(Fm),
|
|
18439
|
+
tablet: !n(Hn) && !n(mu) && !n(Fm) && (n(Zd) || n(F3)),
|
|
18440
|
+
device: !n(Hn) && (n(mu) || n(Zd) || n(Fm) || n(F3)) || n(/\bokhttp\b/i)
|
|
18419
18441
|
},
|
|
18420
18442
|
windows: {
|
|
18421
|
-
phone: n(
|
|
18443
|
+
phone: n(Hn),
|
|
18422
18444
|
tablet: n(M3),
|
|
18423
|
-
device: n(
|
|
18445
|
+
device: n(Hn) || n(M3)
|
|
18424
18446
|
},
|
|
18425
18447
|
other: {
|
|
18426
18448
|
blackberry: n(k3),
|
|
@@ -18763,8 +18785,8 @@ Db(function(r, t) {
|
|
|
18763
18785
|
t.decode = t.parse = nL, t.encode = t.stringify = sL;
|
|
18764
18786
|
});
|
|
18765
18787
|
/*!
|
|
18766
|
-
* @pixi/constants - v6.5.
|
|
18767
|
-
* Compiled
|
|
18788
|
+
* @pixi/constants - v6.5.3
|
|
18789
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18768
18790
|
*
|
|
18769
18791
|
* @pixi/constants is licensed under the MIT License.
|
|
18770
18792
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18850,8 +18872,8 @@ var sw;
|
|
|
18850
18872
|
r[r.ELEMENT_ARRAY_BUFFER = 34963] = "ELEMENT_ARRAY_BUFFER", r[r.ARRAY_BUFFER = 34962] = "ARRAY_BUFFER", r[r.UNIFORM_BUFFER = 35345] = "UNIFORM_BUFFER";
|
|
18851
18873
|
})(sw || (sw = {}));
|
|
18852
18874
|
/*!
|
|
18853
|
-
* @pixi/utils - v6.5.
|
|
18854
|
-
* Compiled
|
|
18875
|
+
* @pixi/utils - v6.5.3
|
|
18876
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18855
18877
|
*
|
|
18856
18878
|
* @pixi/utils is licensed under the MIT License.
|
|
18857
18879
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18946,8 +18968,8 @@ var XC = function() {
|
|
|
18946
18968
|
Rs.handleByList(ge.Application, XC._plugins);
|
|
18947
18969
|
Rs.add(ZB);
|
|
18948
18970
|
/*!
|
|
18949
|
-
* @pixi/mesh-extras - v6.5.
|
|
18950
|
-
* Compiled
|
|
18971
|
+
* @pixi/mesh-extras - v6.5.3
|
|
18972
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18951
18973
|
*
|
|
18952
18974
|
* @pixi/mesh-extras is licensed under the MIT License.
|
|
18953
18975
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -19200,8 +19222,8 @@ var Jd = 10;
|
|
|
19200
19222
|
}, t;
|
|
19201
19223
|
})(lL);
|
|
19202
19224
|
/*!
|
|
19203
|
-
* @pixi/sprite-animated - v6.5.
|
|
19204
|
-
* Compiled
|
|
19225
|
+
* @pixi/sprite-animated - v6.5.3
|
|
19226
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
19205
19227
|
*
|
|
19206
19228
|
* @pixi/sprite-animated is licensed under the MIT License.
|
|
19207
19229
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -19328,8 +19350,8 @@ var WC = function(r) {
|
|
|
19328
19350
|
}), t;
|
|
19329
19351
|
}(Ze);
|
|
19330
19352
|
/*!
|
|
19331
|
-
* pixi.js - v6.5.
|
|
19332
|
-
* Compiled
|
|
19353
|
+
* pixi.js - v6.5.3
|
|
19354
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
19333
19355
|
*
|
|
19334
19356
|
* pixi.js is licensed under the MIT License.
|
|
19335
19357
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -19350,7 +19372,7 @@ Rs.add(
|
|
|
19350
19372
|
CA,
|
|
19351
19373
|
fM
|
|
19352
19374
|
);
|
|
19353
|
-
var Oe, yr, Vs, Jv, YC, fh, Op, Kv, qC, Qv, ZC, lf, ly, lo, Jl, cf, cy, dh, ph, Ap, co, Kl, ff, vh, Fp, t0, JC,
|
|
19375
|
+
var Oe, yr, Vs, Jv, YC, fh, Op, Kv, qC, Qv, ZC, lf, ly, lo, Jl, cf, cy, dh, ph, Ap, co, Kl, ff, vh, Fp, t0, JC, un, Ms, e0, KC, df, fy, fo, Ql, r0, QC, pf, dy, i0, tI, n0, eI, gh, Mp;
|
|
19354
19376
|
const Pc = class {
|
|
19355
19377
|
constructor(t, e, i, n, s) {
|
|
19356
19378
|
I(this, Jv);
|
|
@@ -19364,7 +19386,7 @@ const Pc = class {
|
|
|
19364
19386
|
I(this, co);
|
|
19365
19387
|
I(this, vh);
|
|
19366
19388
|
I(this, t0);
|
|
19367
|
-
I(this,
|
|
19389
|
+
I(this, un);
|
|
19368
19390
|
I(this, e0);
|
|
19369
19391
|
I(this, df);
|
|
19370
19392
|
I(this, fo);
|
|
@@ -19380,7 +19402,7 @@ const Pc = class {
|
|
|
19380
19402
|
Ns.volumeAll = Number(this.val.getVal("sys:sn.sound.global_volume", 1)), C(this, ff, () => {
|
|
19381
19403
|
});
|
|
19382
19404
|
});
|
|
19383
|
-
this.cfg = t, this.val = i, this.main = n, this.sys = s, e.volume = (a) => P(this, Jv, YC).call(this, a), e.fadebgm = (a) => P(this, lf, ly).call(this, a), e.fadeoutbgm = (a) => P(this, Kv, qC).call(this, a), e.fadeoutse = (a) => P(this, Qv, ZC).call(this, a), e.fadese = (a) => P(this, lo, Jl).call(this, a), e.playbgm = (a) => P(this, cf, cy).call(this, a), e.playse = (a) => P(this, ph, Ap).call(this, a), e.stop_allse = () => P(this, vh, Fp).call(this), e.stopbgm = (a) => P(this, t0, JC).call(this, a), e.stopse = (a) => P(this,
|
|
19405
|
+
this.cfg = t, this.val = i, this.main = n, this.sys = s, e.volume = (a) => P(this, Jv, YC).call(this, a), e.fadebgm = (a) => P(this, lf, ly).call(this, a), e.fadeoutbgm = (a) => P(this, Kv, qC).call(this, a), e.fadeoutse = (a) => P(this, Qv, ZC).call(this, a), e.fadese = (a) => P(this, lo, Jl).call(this, a), e.playbgm = (a) => P(this, cf, cy).call(this, a), e.playse = (a) => P(this, ph, Ap).call(this, a), e.stop_allse = () => P(this, vh, Fp).call(this), e.stopbgm = (a) => P(this, t0, JC).call(this, a), e.stopse = (a) => P(this, un, Ms).call(this, a), e.wb = (a) => P(this, e0, KC).call(this, a), e.wf = (a) => P(this, df, fy).call(this, a), e.stopfadese = (a) => P(this, fo, Ql).call(this, a), e.wl = (a) => P(this, r0, QC).call(this, a), e.ws = (a) => P(this, pf, dy).call(this, a), e.xchgbuf = (a) => P(this, i0, tI).call(this, a), this.val.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), i.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(SM.supported));
|
|
19384
19406
|
}
|
|
19385
19407
|
setEvtMng(t) {
|
|
19386
19408
|
C(this, Vs, t);
|
|
@@ -19446,20 +19468,20 @@ Oe = new WeakMap(), yr = new WeakMap(), Vs = new WeakMap(), Jv = new WeakSet(),
|
|
|
19446
19468
|
o && (P(this, gh, Mp).call(this, e), this.val.setVal_Nochk("save", "const.sn.sound." + e + ".fn", "")), this.val.flush();
|
|
19447
19469
|
const u = K(t, "time", NaN), h = K(t, "delay", 0);
|
|
19448
19470
|
if (u === 0 && h === 0 || this.val.getVal("tmp:sn.skip.enabled") || f(this, Vs).isSkippingByKeyDown())
|
|
19449
|
-
return i.snd.volume = a, o && P(this,
|
|
19471
|
+
return i.snd.volume = a, o && P(this, un, Ms).call(this, t), !1;
|
|
19450
19472
|
const l = K(t, "repeat", 1);
|
|
19451
19473
|
return i.twFade = new ba({ v: i.snd.volume }).to({ v: a }, u).delay(h).easing(bs.ease(t.ease)).repeat(l === 0 ? 1 / 0 : l - 1).yoyo(dt(t, "yoyo", !1)).onUpdate((c) => {
|
|
19452
19474
|
i.playing() && (i.snd.volume = c.v);
|
|
19453
19475
|
}).onComplete(() => {
|
|
19454
19476
|
const c = f(this, Oe)[t.buf = i.now_buf];
|
|
19455
|
-
!(c != null && c.twFade) || (delete c.twFade, o && P(this,
|
|
19477
|
+
!(c != null && c.twFade) || (delete c.twFade, o && P(this, un, Ms).call(this, t), c.resumeFade && this.main.resume());
|
|
19456
19478
|
}).start(), !1;
|
|
19457
19479
|
}, cf = new WeakSet(), cy = function(t) {
|
|
19458
19480
|
return t.buf = "BGM", t.canskip = !1, dt(t, "loop", !0), P(this, ph, Ap).call(this, t);
|
|
19459
19481
|
}, dh = new WeakMap(), ph = new WeakSet(), Ap = function(t) {
|
|
19460
19482
|
var _;
|
|
19461
19483
|
const { buf: e = "SE", fn: i } = t;
|
|
19462
|
-
if (P(this,
|
|
19484
|
+
if (P(this, un, Ms).call(this, { buf: e }), !i)
|
|
19463
19485
|
throw `[playse] fn\u306F\u5FC5\u9808\u3067\u3059 buf:${e}`;
|
|
19464
19486
|
if (dt(t, "canskip", !0) && f(this, Vs).isSkippingByKeyDown())
|
|
19465
19487
|
return !1;
|
|
@@ -19589,8 +19611,12 @@ Oe = new WeakMap(), yr = new WeakMap(), Vs = new WeakMap(), Jv = new WeakSet(),
|
|
|
19589
19611
|
const n = this.cfg.searchPath(e, hr.EXT_SOUND);
|
|
19590
19612
|
if (n.slice(-4) !== ".bin") {
|
|
19591
19613
|
i.url = n;
|
|
19592
|
-
const s = Ku.from(i)
|
|
19593
|
-
|
|
19614
|
+
const s = Ku.from(i);
|
|
19615
|
+
if (t) {
|
|
19616
|
+
const a = f(this, Oe)[t];
|
|
19617
|
+
a.snd = s, a.pan !== 0 && (s.filters = [new ym.StereoFilter(a.pan)]);
|
|
19618
|
+
}
|
|
19619
|
+
i.loop || Ns.add(e, s);
|
|
19594
19620
|
return;
|
|
19595
19621
|
}
|
|
19596
19622
|
new oi().add({ name: e, url: n, xhrType: Bt.XHR_RESPONSE_TYPE.BUFFER }).use((s, a) => {
|
|
@@ -19598,18 +19624,22 @@ Oe = new WeakMap(), yr = new WeakMap(), Vs = new WeakMap(), Jv = new WeakSet(),
|
|
|
19598
19624
|
s.data = o, a == null || a();
|
|
19599
19625
|
}).catch((o) => this.main.errScript(`Sound \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 fn:${s.name} ${o}`, !1));
|
|
19600
19626
|
}).load((s, a) => {
|
|
19601
|
-
var
|
|
19602
|
-
i.source = (
|
|
19603
|
-
const o = Ku.from(i)
|
|
19604
|
-
|
|
19627
|
+
var u;
|
|
19628
|
+
i.source = (u = a[e]) == null ? void 0 : u.data;
|
|
19629
|
+
const o = Ku.from(i);
|
|
19630
|
+
if (t) {
|
|
19631
|
+
const h = f(this, Oe)[t];
|
|
19632
|
+
h.snd = o, h.pan !== 0 && (o.filters = [new ym.StereoFilter(h.pan)]);
|
|
19633
|
+
}
|
|
19634
|
+
i.loop || Ns.add(e, o);
|
|
19605
19635
|
});
|
|
19606
19636
|
}, ff = new WeakMap(), vh = new WeakSet(), Fp = function() {
|
|
19607
19637
|
for (const t in f(this, Oe))
|
|
19608
|
-
P(this,
|
|
19638
|
+
P(this, un, Ms).call(this, { buf: t });
|
|
19609
19639
|
return C(this, Oe, {}), Ns.stopAll(), !1;
|
|
19610
19640
|
}, t0 = new WeakSet(), JC = function(t) {
|
|
19611
|
-
return t.buf = "BGM", P(this,
|
|
19612
|
-
},
|
|
19641
|
+
return t.buf = "BGM", P(this, un, Ms).call(this, t);
|
|
19642
|
+
}, un = new WeakSet(), Ms = function(t) {
|
|
19613
19643
|
var n;
|
|
19614
19644
|
const { buf: e = "SE" } = t;
|
|
19615
19645
|
P(this, gh, Mp).call(this, e);
|
|
@@ -19634,7 +19664,7 @@ Oe = new WeakMap(), yr = new WeakMap(), Vs = new WeakMap(), Jv = new WeakSet(),
|
|
|
19634
19664
|
const { buf: e = "SE" } = t, i = f(this, Oe)[e];
|
|
19635
19665
|
return !(i != null && i.playing()) || i.loop ? !1 : i.resume = f(this, Vs).waitEvent(
|
|
19636
19666
|
() => {
|
|
19637
|
-
t.buf = i.now_buf, P(this,
|
|
19667
|
+
t.buf = i.now_buf, P(this, un, Ms).call(this, t);
|
|
19638
19668
|
const n = f(this, Oe)[t.buf];
|
|
19639
19669
|
!(n != null && n.playing()) || n.loop || n.onend();
|
|
19640
19670
|
},
|
|
@@ -19918,7 +19948,7 @@ function dL(r, t) {
|
|
|
19918
19948
|
return i.replace(/\.([^{,\s\d.]+)/g, "." + r + "$1") + "{";
|
|
19919
19949
|
});
|
|
19920
19950
|
}
|
|
19921
|
-
function
|
|
19951
|
+
function Sn(r, t) {
|
|
19922
19952
|
return function(e) {
|
|
19923
19953
|
e && (r[t] = e);
|
|
19924
19954
|
};
|
|
@@ -21093,7 +21123,7 @@ function bI(r, t, e) {
|
|
|
21093
21123
|
i[n * e + t - 1] = 0, i[(t - 1) * e + n] = 0;
|
|
21094
21124
|
return i[(t - 1) * (e + 1)] = 1, i;
|
|
21095
21125
|
}
|
|
21096
|
-
function
|
|
21126
|
+
function An(r, t) {
|
|
21097
21127
|
t === void 0 && (t = Math.sqrt(r.length));
|
|
21098
21128
|
for (var e = r.slice(), i = De(t), n = 0; n < t; ++n) {
|
|
21099
21129
|
var s = t * n + n;
|
|
@@ -21137,7 +21167,7 @@ function eu(r, t) {
|
|
|
21137
21167
|
e[i] = 0;
|
|
21138
21168
|
return e[t - 1] = 1, e;
|
|
21139
21169
|
}
|
|
21140
|
-
function
|
|
21170
|
+
function Fn(r, t, e) {
|
|
21141
21171
|
if (t === void 0 && (t = Math.sqrt(r.length)), t === e)
|
|
21142
21172
|
return r;
|
|
21143
21173
|
for (var i = De(e), n = Math.min(t, e), s = 0; s < n - 1; ++s) {
|
|
@@ -21237,11 +21267,11 @@ function $c(r, t) {
|
|
|
21237
21267
|
return e;
|
|
21238
21268
|
}
|
|
21239
21269
|
function Wb(r, t, e, i, n, s, a, o) {
|
|
21240
|
-
var u = r[0], h = r[1], l = t[0], c = t[1], d = e[0], p = e[1], g = i[0], v = i[1], m = n[0], _ = n[1], y = s[0], b = s[1], x = a[0], w = a[1], E = o[0], S = o[1], T = [u, 0, l, 0, d, 0, g, 0, h, 0, c, 0, p, 0, v, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, u, 0, l, 0, d, 0, g, 0, h, 0, c, 0, p, 0, v, 0, 1, 0, 1, 0, 1, 0, 1, -m * u, -_ * u, -y * l, -b * l, -x * d, -w * d, -E * g, -S * g, -m * h, -_ * h, -y * c, -b * c, -x * p, -w * p, -E * v, -S * v], R =
|
|
21270
|
+
var u = r[0], h = r[1], l = t[0], c = t[1], d = e[0], p = e[1], g = i[0], v = i[1], m = n[0], _ = n[1], y = s[0], b = s[1], x = a[0], w = a[1], E = o[0], S = o[1], T = [u, 0, l, 0, d, 0, g, 0, h, 0, c, 0, p, 0, v, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, u, 0, l, 0, d, 0, g, 0, h, 0, c, 0, p, 0, v, 0, 1, 0, 1, 0, 1, 0, 1, -m * u, -_ * u, -y * l, -b * l, -x * d, -w * d, -E * g, -S * g, -m * h, -_ * h, -y * c, -b * c, -x * p, -w * p, -E * v, -S * v], R = An(T, 8);
|
|
21241
21271
|
if (!R.length)
|
|
21242
21272
|
return [];
|
|
21243
21273
|
var N = Ee(R, [m, _, y, b, x, w, E, S], 8);
|
|
21244
|
-
return N[8] = 1,
|
|
21274
|
+
return N[8] = 1, Fn(s5(N), 3, 4);
|
|
21245
21275
|
}
|
|
21246
21276
|
function c5() {
|
|
21247
21277
|
return [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
@@ -22377,7 +22407,7 @@ var Y5 = /* @__PURE__ */ function(r) {
|
|
|
22377
22407
|
return ZL.indexOf("simple") > -1 && a && (l = {
|
|
22378
22408
|
portalContainer: a
|
|
22379
22409
|
}), wi(h, Ay({
|
|
22380
|
-
ref:
|
|
22410
|
+
ref: Sn(this, "element"),
|
|
22381
22411
|
"data-styled-id": u,
|
|
22382
22412
|
className: s + " " + u
|
|
22383
22413
|
}, l, o));
|
|
@@ -22673,7 +22703,7 @@ var ml = /* @__PURE__ */ function() {
|
|
|
22673
22703
|
}, r;
|
|
22674
22704
|
}();
|
|
22675
22705
|
function BI(r, t) {
|
|
22676
|
-
var e = t.clientX, i = t.clientY, n = t.datas, s = r.state, a = s.moveableClientRect, o = s.rootMatrix, u = s.is3d, h = s.pos1, l = a.left, c = a.top, d = u ? 4 : 3, p = Lt(Qu(o, [e - l, i - c], d), h), g = p[0], v = p[1], m =
|
|
22706
|
+
var e = t.clientX, i = t.clientY, n = t.datas, s = r.state, a = s.moveableClientRect, o = s.rootMatrix, u = s.is3d, h = s.pos1, l = a.left, c = a.top, d = u ? 4 : 3, p = Lt(Qu(o, [e - l, i - c], d), h), g = p[0], v = p[1], m = Bn({
|
|
22677
22707
|
datas: n,
|
|
22678
22708
|
distX: g,
|
|
22679
22709
|
distY: v
|
|
@@ -22682,7 +22712,7 @@ function BI(r, t) {
|
|
|
22682
22712
|
}
|
|
22683
22713
|
function au(r, t) {
|
|
22684
22714
|
var e = t.datas, i = r.state, n = i.allMatrix, s = i.beforeMatrix, a = i.is3d, o = i.left, u = i.top, h = i.origin, l = i.offsetMatrix, c = i.targetMatrix, d = i.transformOrigin, p = a ? 4 : 3;
|
|
22685
|
-
e.is3d = a, e.matrix = n, e.targetMatrix = c, e.beforeMatrix = s, e.offsetMatrix = l, e.transformOrigin = d, e.inverseMatrix =
|
|
22715
|
+
e.is3d = a, e.matrix = n, e.targetMatrix = c, e.beforeMatrix = s, e.offsetMatrix = l, e.transformOrigin = d, e.inverseMatrix = An(n, p), e.inverseBeforeMatrix = An(s, p), e.absoluteOrigin = eu(te([o, u], h), p), e.startDragBeforeDist = wr(e.inverseBeforeMatrix, e.absoluteOrigin, p), e.startDragDist = wr(e.inverseMatrix, e.absoluteOrigin, p);
|
|
22686
22716
|
}
|
|
22687
22717
|
function aD(r) {
|
|
22688
22718
|
return mv(r.datas.beforeTransform, [50, 50], 100, 100).direction;
|
|
@@ -22713,14 +22743,14 @@ function oD(r) {
|
|
|
22713
22743
|
return wr(o, eu([0, 0, 0], 4), 4);
|
|
22714
22744
|
}
|
|
22715
22745
|
function LI(r, t, e) {
|
|
22716
|
-
var i = r.beforeTransform, n = r.afterTransform, s = r.beforeTransform2, a = r.afterTransform2, o = r.targetAllTransform, u = e ? Ee(o, t, 4) : Ee(t, o, 4), h = Ee(
|
|
22746
|
+
var i = r.beforeTransform, n = r.afterTransform, s = r.beforeTransform2, a = r.afterTransform2, o = r.targetAllTransform, u = e ? Ee(o, t, 4) : Ee(t, o, 4), h = Ee(An(e ? s : i, 4), u, 4), l = Ee(h, An(e ? a : n, 4), 4);
|
|
22717
22747
|
return l;
|
|
22718
22748
|
}
|
|
22719
22749
|
function DI(r) {
|
|
22720
22750
|
var t = r.datas, e = r.distX, i = r.distY, n = t.inverseBeforeMatrix, s = t.is3d, a = t.startDragBeforeDist, o = t.absoluteOrigin, u = s ? 4 : 3;
|
|
22721
22751
|
return Lt(wr(n, te(o, [e, i]), u), a);
|
|
22722
22752
|
}
|
|
22723
|
-
function
|
|
22753
|
+
function Bn(r, t) {
|
|
22724
22754
|
var e = r.datas, i = r.distX, n = r.distY, s = e.inverseBeforeMatrix, a = e.inverseMatrix, o = e.is3d, u = e.startDragBeforeDist, h = e.startDragDist, l = e.absoluteOrigin, c = o ? 4 : 3;
|
|
22725
22755
|
return Lt(wr(t ? s : a, te(l, [i, n]), c), t ? u : h);
|
|
22726
22756
|
}
|
|
@@ -22761,7 +22791,7 @@ function _d(r, t, e, i) {
|
|
|
22761
22791
|
}
|
|
22762
22792
|
function fD(r, t, e) {
|
|
22763
22793
|
var i = r.transformOrigin, n = r.offsetMatrix, s = r.is3d, a = t.beforeTransform, o = t.afterTransform, u = s ? 4 : 3, h = Yb([e]);
|
|
22764
|
-
return _d(n,
|
|
22794
|
+
return _d(n, Fn(Ee(Ee(a, h, 4), o, 4), 4, u), i, u);
|
|
22765
22795
|
}
|
|
22766
22796
|
function dD(r, t) {
|
|
22767
22797
|
var e = r.transformOrigin, i = r.offsetMatrix, n = r.is3d, s = r.targetMatrix, a = n ? 4 : 3;
|
|
@@ -22968,7 +22998,7 @@ function WI(r, t, e) {
|
|
|
22968
22998
|
function By(r) {
|
|
22969
22999
|
r.forEach(function(t) {
|
|
22970
23000
|
var e = t.matrix;
|
|
22971
|
-
e && (t.matrix =
|
|
23001
|
+
e && (t.matrix = Fn(e, 3, 4));
|
|
22972
23002
|
});
|
|
22973
23003
|
}
|
|
22974
23004
|
function wD() {
|
|
@@ -23067,7 +23097,7 @@ function RD(r, t, e, i, n) {
|
|
|
23067
23097
|
var s, a = r.target, o = r.origin, u = t.matrix, h = qI(a), l = h.offsetWidth, c = h.offsetHeight, d = e.getBoundingClientRect(), p = [0, 0];
|
|
23068
23098
|
e === document.body && (p = WI(a, !0));
|
|
23069
23099
|
for (var g = a.getBoundingClientRect(), v = g.left - d.left + e.scrollLeft - (e.clientLeft || 0) + p[0], m = g.top - d.top + e.scrollTop - (e.clientTop || 0) + p[1], _ = g.width, y = g.height, b = Ty(i, n, u), x = xw(b, l, c, i), w = x.left, E = x.top, S = x.width, T = x.height, R = pr(b, o, i), N = Lt(R, [w, E]), F = [v + N[0] * _ / S, m + N[1] * y / T], A = [0, 0], B = 0; ++B < 10; ) {
|
|
23070
|
-
var H =
|
|
23100
|
+
var H = An(n, i);
|
|
23071
23101
|
s = Lt(pr(H, F, i), pr(H, R, i)), A[0] = s[0], A[1] = s[1];
|
|
23072
23102
|
var L = Ty(i, n, $c(A, i), u), G = xw(L, l, c, i), X = G.left, it = G.top, z = X - v, D = it - m;
|
|
23073
23103
|
if (Math.abs(z) < 2 && Math.abs(D) < 2)
|
|
@@ -23349,7 +23379,7 @@ function _l() {
|
|
|
23349
23379
|
}), r[0];
|
|
23350
23380
|
}
|
|
23351
23381
|
function Qu(r, t, e) {
|
|
23352
|
-
return wr(
|
|
23382
|
+
return wr(An(r, e), eu(t, e), e);
|
|
23353
23383
|
}
|
|
23354
23384
|
function KI(r, t) {
|
|
23355
23385
|
var e, i = r.is3d, n = r.rootMatrix, s = i ? 4 : 3;
|
|
@@ -23433,8 +23463,8 @@ function DD(r, t, e) {
|
|
|
23433
23463
|
return i = e >= 0 ? i : 180 - i, i = i >= 0 ? i : 360 + i, i;
|
|
23434
23464
|
}
|
|
23435
23465
|
function Ew(r, t) {
|
|
23436
|
-
var e = r.rootMatrix, i = r.is3d, n = i ? 4 : 3, s =
|
|
23437
|
-
return i || (s =
|
|
23466
|
+
var e = r.rootMatrix, i = r.is3d, n = i ? 4 : 3, s = An(e, n);
|
|
23467
|
+
return i || (s = Fn(s, 3, 4)), s[12] = 0, s[13] = 0, s[14] = 0, f5(s, t);
|
|
23438
23468
|
}
|
|
23439
23469
|
function tR(r, t, e, i, n) {
|
|
23440
23470
|
var s = r[0], a = r[1], o = 0, u = 0;
|
|
@@ -23467,7 +23497,7 @@ function eR(r, t, e, i) {
|
|
|
23467
23497
|
var y = a * m[0], b = o * m[1], x = qi([y, b]);
|
|
23468
23498
|
u = d / x * y * _[0], h = d / x * b * _[1];
|
|
23469
23499
|
} else {
|
|
23470
|
-
var w =
|
|
23500
|
+
var w = Bn({
|
|
23471
23501
|
datas: e,
|
|
23472
23502
|
distX: l,
|
|
23473
23503
|
distY: c
|
|
@@ -23957,7 +23987,7 @@ function Ca(r, t, e, i, n, s) {
|
|
|
23957
23987
|
}
|
|
23958
23988
|
function aR(r, t, e) {
|
|
23959
23989
|
return t.map(function(i) {
|
|
23960
|
-
var n = YD(r, i), s = n.isBound, a = n.offset, o = n.isVerticalBound, u = n.isHorizontalBound, h = i.multiple, l =
|
|
23990
|
+
var n = YD(r, i), s = n.isBound, a = n.offset, o = n.isVerticalBound, u = n.isHorizontalBound, h = i.multiple, l = Bn({
|
|
23961
23991
|
datas: e,
|
|
23962
23992
|
distX: a[0],
|
|
23963
23993
|
distY: a[1]
|
|
@@ -24406,7 +24436,7 @@ function Uy(r, t, e, i, n) {
|
|
|
24406
24436
|
isOutside: !1,
|
|
24407
24437
|
offset: [0, 0]
|
|
24408
24438
|
};
|
|
24409
|
-
var a = Wi(r, t), o = Wi(s, r), u = Wi(s, t), h = o > a || u > a, l =
|
|
24439
|
+
var a = Wi(r, t), o = Wi(s, r), u = Wi(s, t), h = o > a || u > a, l = Bn({
|
|
24410
24440
|
datas: n,
|
|
24411
24441
|
distX: s[0],
|
|
24412
24442
|
distY: s[1]
|
|
@@ -24567,7 +24597,7 @@ function f4(r, t, e, i, n, s) {
|
|
|
24567
24597
|
offset: [0, 0]
|
|
24568
24598
|
};
|
|
24569
24599
|
var E = w === "vertical", S = [0, 0];
|
|
24570
|
-
return !i && Math.abs(u[0]) === 1 && Math.abs(u[1]) === 1 && o[0] !== u[0] && o[1] !== u[1] ? S =
|
|
24600
|
+
return !i && Math.abs(u[0]) === 1 && Math.abs(u[1]) === 1 && o[0] !== u[0] && o[1] !== u[1] ? S = Bn({
|
|
24571
24601
|
datas: s,
|
|
24572
24602
|
distX: -_,
|
|
24573
24603
|
distY: -p
|
|
@@ -24876,7 +24906,7 @@ function b4(r, t, e, i, n, s, a, o, u) {
|
|
|
24876
24906
|
horizontal: [h[1]]
|
|
24877
24907
|
}), c = l.horizontal.offset, d = l.vertical.offset;
|
|
24878
24908
|
if (d || c) {
|
|
24879
|
-
var p =
|
|
24909
|
+
var p = Bn({
|
|
24880
24910
|
datas: u,
|
|
24881
24911
|
distX: -d,
|
|
24882
24912
|
distY: -c
|
|
@@ -25512,7 +25542,7 @@ var Fr = {
|
|
|
25512
25542
|
return;
|
|
25513
25543
|
if (d) {
|
|
25514
25544
|
var R = r.state.is3d, N = i.startOffsetMatrix, F = i.startTransformOrigin, A = R ? 4 : 3, B = Yb(GI(t)), H = Math.sqrt(B.length);
|
|
25515
|
-
A !== H && (B =
|
|
25545
|
+
A !== H && (B = Fn(B, H, A));
|
|
25516
25546
|
var L = _d(N, B, F, A), G = ou(L, E, S, A);
|
|
25517
25547
|
i.startPositions = G, i.nextTargetMatrix = B, i.nextAllMatrix = L;
|
|
25518
25548
|
}
|
|
@@ -26384,7 +26414,7 @@ var k4 = {
|
|
|
26384
26414
|
if (!a || !n)
|
|
26385
26415
|
return !1;
|
|
26386
26416
|
var o = r.state, u = o.transformOrigin, h = o.is3d, l = o.targetTransform, c = o.targetMatrix, d = o.width, p = o.height, g = o.left, v = o.top;
|
|
26387
|
-
e.datas = {}, e.targetTransform = l, e.warpTargetMatrix = h ? c :
|
|
26417
|
+
e.datas = {}, e.targetTransform = l, e.warpTargetMatrix = h ? c : Fn(c, 3, 4), e.targetInverseMatrix = bI(An(e.warpTargetMatrix, 4), 3, 4), e.direction = a, e.left = g, e.top = v, e.poses = [[0, 0], [d, 0], [0, p], [d, p]].map(function(y) {
|
|
26388
26418
|
return Lt(y, u);
|
|
26389
26419
|
}), e.nextPoses = e.poses.map(function(y) {
|
|
26390
26420
|
var b = y[0], x = y[1];
|
|
@@ -26419,7 +26449,7 @@ var k4 = {
|
|
|
26419
26449
|
}), v = g.horizontal, m = g.vertical;
|
|
26420
26450
|
s -= v.offset, n -= m.offset;
|
|
26421
26451
|
}
|
|
26422
|
-
var _ =
|
|
26452
|
+
var _ = Bn({
|
|
26423
26453
|
datas: e,
|
|
26424
26454
|
distX: n,
|
|
26425
26455
|
distY: s
|
|
@@ -26437,7 +26467,7 @@ var k4 = {
|
|
|
26437
26467
|
var b = Wb(l[0], l[2], l[1], l[3], y[0], y[2], y[1], y[3]);
|
|
26438
26468
|
if (!b.length)
|
|
26439
26469
|
return !1;
|
|
26440
|
-
var x = Ee(a, b, 4), w = LI(e, x, !0), E = Ee(
|
|
26470
|
+
var x = Ee(a, b, 4), w = LI(e, x, !0), E = Ee(An(o, 4), w, 4);
|
|
26441
26471
|
e.prevMatrix = w;
|
|
26442
26472
|
var S = Ee(h, w, 4), T = Lg(e, "matrix3d(".concat(S.join(", "), ")"), "matrix3d(".concat(w.join(", "), ")"));
|
|
26443
26473
|
return Qb(t, T), _t(r, "onWarp", Ut(r, t, {
|
|
@@ -26489,7 +26519,7 @@ var mR = {
|
|
|
26489
26519
|
if (s)
|
|
26490
26520
|
return [t.createElement("div", {
|
|
26491
26521
|
key: "area",
|
|
26492
|
-
ref:
|
|
26522
|
+
ref: Sn(r, "areaElement"),
|
|
26493
26523
|
className: c
|
|
26494
26524
|
}), Dw(t)];
|
|
26495
26525
|
if (!i || !n)
|
|
@@ -26497,7 +26527,7 @@ var mR = {
|
|
|
26497
26527
|
var d = Wb([0, 0], [u, 0], [0, h], [u, h], l[0], l[1], l[2], l[3]), p = d.length ? Gg(d, !0) : "none";
|
|
26498
26528
|
return [t.createElement("div", {
|
|
26499
26529
|
key: "area",
|
|
26500
|
-
ref:
|
|
26530
|
+
ref: Sn(r, "areaElement"),
|
|
26501
26531
|
className: c,
|
|
26502
26532
|
style: {
|
|
26503
26533
|
top: "0px",
|
|
@@ -27262,7 +27292,7 @@ var Y4 = {
|
|
|
27262
27292
|
var a = i, o = a.isControl, u = a.isLine, h = a.isArea, l = a.clipIndex, c = a.clipPath;
|
|
27263
27293
|
if (!c)
|
|
27264
27294
|
return !1;
|
|
27265
|
-
var d = ru(r.props, "clippable"), p = d.keepRatio, g = 0, v = 0, m = n.draggable, _ =
|
|
27295
|
+
var d = ru(r.props, "clippable"), p = d.keepRatio, g = 0, v = 0, m = n.draggable, _ = Bn(t);
|
|
27266
27296
|
s && m ? (e = m.prevBeforeDist, g = e[0], v = e[1]) : (g = _[0], v = _[1]);
|
|
27267
27297
|
var y = [g, v], b = r.state, x = b.width, w = b.height, E = !h && !o && !u, S = c.type, T = c.poses, R = c.splitter, N = T.map(function(O) {
|
|
27268
27298
|
return O.pos;
|
|
@@ -27411,7 +27441,7 @@ var Y4 = {
|
|
|
27411
27441
|
var e = t.datas, i = t.isPinch, n = t.isRequest;
|
|
27412
27442
|
if (!e.isDragOrigin)
|
|
27413
27443
|
return !1;
|
|
27414
|
-
var s =
|
|
27444
|
+
var s = Bn(t), a = s[0], o = s[1], u = r.state, h = u.width, l = u.height, c = u.offsetMatrix, d = u.targetMatrix, p = u.is3d, g = r.props.originRelative, v = g === void 0 ? !0 : g, m = p ? 4 : 3, _ = [a, o];
|
|
27415
27445
|
if (n) {
|
|
27416
27446
|
var y = t.distOrigin;
|
|
27417
27447
|
(y[0] || y[1]) && (_ = y);
|
|
@@ -27564,7 +27594,7 @@ var J4 = {
|
|
|
27564
27594
|
var e = t.datas;
|
|
27565
27595
|
if (!e.isRound || !e.isControl || !e.controlPoses.length)
|
|
27566
27596
|
return !1;
|
|
27567
|
-
var i = e.controlIndex, n = e.controlPoses, s =
|
|
27597
|
+
var i = e.controlIndex, n = e.controlPoses, s = Bn(t), a = s[0], o = s[1], u = [a, o], h = Lt(u, e.prevDist), l = r.props.maxRoundControls, c = l === void 0 ? [4, 4] : l, d = r.state, p = d.width, g = d.height, v = n[i], m = v.vertical, _ = v.horizontal, y = n.map(function(x) {
|
|
27568
27598
|
var w = x.horizontal, E = x.vertical, S = [w * _ * u[0], E * m * u[1]];
|
|
27569
27599
|
if (w) {
|
|
27570
27600
|
if (c[0] === 1)
|
|
@@ -27952,7 +27982,7 @@ function jw(r, t, e) {
|
|
|
27952
27982
|
};
|
|
27953
27983
|
y && (d = !0, b = TD(i), p = b.fixedContainer);
|
|
27954
27984
|
var x = _.length;
|
|
27955
|
-
!o && x === 16 && (o = !0, u = 4, By(n), c && (c =
|
|
27985
|
+
!o && x === 16 && (o = !0, u = 4, By(n), c && (c = Fn(c, 3, 4))), o && x === 9 && (_ = Fn(_, 3, 4));
|
|
27956
27986
|
var w = ED(i, r, g), E = w.tagName, S = w.hasOffset, T = w.isSVG, R = w.origin, N = w.targetOrigin, F = w.offset, A = F[0], B = F[1];
|
|
27957
27987
|
E === "svg" && c && (n.push({
|
|
27958
27988
|
type: "target",
|
|
@@ -28015,7 +28045,7 @@ function eU(r, t, e, i) {
|
|
|
28015
28045
|
var n;
|
|
28016
28046
|
e === void 0 && (e = t);
|
|
28017
28047
|
var s = jw(r, t), a = s.matrixes, o = s.is3d, u = s.targetMatrix, h = s.transformOrigin, l = s.targetOrigin, c = s.offsetContainer, d = s.hasFixed, p = jw(c, e, !0), g = p.matrixes, v = p.is3d, m = p.offsetContainer, _ = i || v || o, y = _ ? 4 : 3, b = r.tagName.toLowerCase() !== "svg" && "ownerSVGElement" in r, x = u, w = De(y), E = De(y), S = De(y), T = De(y), R = a.length;
|
|
28018
|
-
g.reverse(), a.reverse(), !o && _ && (x =
|
|
28048
|
+
g.reverse(), a.reverse(), !o && _ && (x = Fn(x, 3, 4), By(a)), !v && _ && By(g), g.forEach(function(L) {
|
|
28019
28049
|
E = Ee(E, L.matrix, y);
|
|
28020
28050
|
});
|
|
28021
28051
|
var N = e || document.body, F = ((n = g[0]) === null || n === void 0 ? void 0 : n.target) || gv(N, N, !0).offsetParent, A = g.slice(1).reduce(function(L, G) {
|
|
@@ -28030,7 +28060,7 @@ function eU(r, t, e, i) {
|
|
|
28030
28060
|
});
|
|
28031
28061
|
var B = !b && o;
|
|
28032
28062
|
x || (x = De(B ? 4 : 3));
|
|
28033
|
-
var H = Gg(b && x.length === 16 ?
|
|
28063
|
+
var H = Gg(b && x.length === 16 ? Fn(x, 4, 3) : x, B);
|
|
28034
28064
|
return E = bI(E, y, y), {
|
|
28035
28065
|
hasFixed: d,
|
|
28036
28066
|
rootMatrix: E,
|
|
@@ -28143,7 +28173,7 @@ var yl = /* @__PURE__ */ function(r) {
|
|
|
28143
28173
|
T["data-able-".concat(R.name.toLowerCase())] = !0;
|
|
28144
28174
|
}), wi(c, U({
|
|
28145
28175
|
cspNonce: h,
|
|
28146
|
-
ref:
|
|
28176
|
+
ref: Sn(this, "controlBox"),
|
|
28147
28177
|
className: "".concat(St("control-box", b === -1 ? "reverse" : "", S ? "dragging" : ""), " ").concat(a)
|
|
28148
28178
|
}, T, {
|
|
28149
28179
|
onClick: this._onPreventClick,
|
|
@@ -28684,7 +28714,7 @@ var cU = /* @__PURE__ */ function(r) {
|
|
|
28684
28714
|
var i = this, n = this.props, s = n.cspNonce, a = n.cssStyled, o = n.targets;
|
|
28685
28715
|
return wi(a, {
|
|
28686
28716
|
cspNonce: s,
|
|
28687
|
-
ref:
|
|
28717
|
+
ref: Sn(this, "controlBox"),
|
|
28688
28718
|
className: St("control-box")
|
|
28689
28719
|
}, o.map(function(u, h) {
|
|
28690
28720
|
return wi(yl, U({
|
|
@@ -28760,19 +28790,19 @@ var cU = /* @__PURE__ */ function(r) {
|
|
|
28760
28790
|
});
|
|
28761
28791
|
return this._elementTargets = h, l ? o.individualGroupable ? wi(fU, U({
|
|
28762
28792
|
key: "individual-group",
|
|
28763
|
-
ref:
|
|
28793
|
+
ref: Sn(this, "moveable")
|
|
28764
28794
|
}, p, {
|
|
28765
28795
|
target: null,
|
|
28766
28796
|
targets: h
|
|
28767
28797
|
})) : wi(cU, U({
|
|
28768
28798
|
key: "group",
|
|
28769
|
-
ref:
|
|
28799
|
+
ref: Sn(this, "moveable")
|
|
28770
28800
|
}, p, {
|
|
28771
28801
|
target: null,
|
|
28772
28802
|
targets: h
|
|
28773
28803
|
})) : wi(yl, U({
|
|
28774
28804
|
key: "single",
|
|
28775
|
-
ref:
|
|
28805
|
+
ref: Sn(this, "moveable")
|
|
28776
28806
|
}, p, {
|
|
28777
28807
|
target: h[0]
|
|
28778
28808
|
}));
|
|
@@ -28868,7 +28898,7 @@ var mU = /* @__PURE__ */ function(r) {
|
|
|
28868
28898
|
var e = t.prototype;
|
|
28869
28899
|
return e.render = function() {
|
|
28870
28900
|
return qL(wi(vU, Wc({
|
|
28871
|
-
ref:
|
|
28901
|
+
ref: Sn(this, "moveable")
|
|
28872
28902
|
}, this.state)), this.state.parentElement);
|
|
28873
28903
|
}, t;
|
|
28874
28904
|
}(jb), _U = hU, yU = kI, bU = uU;
|
|
@@ -28977,7 +29007,7 @@ var EU = /* @__PURE__ */ function() {
|
|
|
28977
29007
|
return s.trigger(h, l);
|
|
28978
29008
|
};
|
|
28979
29009
|
}), dw(wi(mU, Wc({
|
|
28980
|
-
ref:
|
|
29010
|
+
ref: Sn(s, "innerMoveable"),
|
|
28981
29011
|
parentElement: i
|
|
28982
29012
|
}, a, o)), s.tempElement);
|
|
28983
29013
|
var u = a.target;
|
|
@@ -29036,7 +29066,7 @@ var EU = /* @__PURE__ */ function() {
|
|
|
29036
29066
|
get _() {
|
|
29037
29067
|
return Ge(r, t, i);
|
|
29038
29068
|
}
|
|
29039
|
-
}), $w = (r, t, e) => (y1(r, t, "access private method"), e),
|
|
29069
|
+
}), $w = (r, t, e) => (y1(r, t, "access private method"), e), Xn, bc, xc, Ec, wc, wv, zu, ju, Lp, Xy;
|
|
29040
29070
|
const ft = class {
|
|
29041
29071
|
constructor(r, t = !1) {
|
|
29042
29072
|
this.bg_col = r, this.isLay = t, Ss(this, Lp), this.hArg = {}, this.id_tag = "", this.hDesignArg = {
|
|
@@ -29057,7 +29087,7 @@ const ft = class {
|
|
|
29057
29087
|
}, this.mov = void 0, this.div = void 0, this.lx = 0, this.ly = 0, this.rect = Pt.EMPTY, this.pivot = new xe(0, 0), this.scale = new xe(1, 1), this.rotation = 0, this.oldFn = () => "", this.rotatable = !0;
|
|
29058
29088
|
}
|
|
29059
29089
|
static init(r, t, e, i, n, s, a) {
|
|
29060
|
-
r.view.insertAdjacentHTML("beforebegin", `<div id="${Ge(ft, wc)}" style="width: ${W.stageW * ft.sys.cvsScale}px; height: ${W.stageH * t.cvsScale}px; background: rgba(0,0,0,0); position: absolute; touch-action: none; user-select: none; display: none;"></div>`), ks(ft,
|
|
29090
|
+
r.view.insertAdjacentHTML("beforebegin", `<div id="${Ge(ft, wc)}" style="width: ${W.stageW * ft.sys.cvsScale}px; height: ${W.stageH * t.cvsScale}px; background: rgba(0,0,0,0); position: absolute; touch-action: none; user-select: none; display: none;"></div>`), ks(ft, Xn, document.getElementById(Ge(ft, wc))), ft.divHint.classList.add("sn_design_hint"), r.view.parentElement.appendChild(ft.divHint), ft.sys = t, ks(ft, bc, e), ft.prpPrs = i, ks(ft, xc, n), ks(ft, Ec, s), ft.hPages = a, Yu(`
|
|
29061
29091
|
.sn_design_cast {
|
|
29062
29092
|
position: absolute; touch-action: none; user-select: none;
|
|
29063
29093
|
opacity: 0.6; border-radius: 8px;
|
|
@@ -29090,7 +29120,7 @@ const ft = class {
|
|
|
29090
29120
|
top: ${Math.max(10, i.ly + e - a - 10)}px;`;
|
|
29091
29121
|
}
|
|
29092
29122
|
static cvsResizeDesign() {
|
|
29093
|
-
const r = Ge(ft,
|
|
29123
|
+
const r = Ge(ft, Xn).style;
|
|
29094
29124
|
r.width = `${W.stageW * ft.sys.cvsScale}px`, r.height = `${W.stageH * ft.sys.cvsScale}px`;
|
|
29095
29125
|
}
|
|
29096
29126
|
destroy() {
|
|
@@ -29133,7 +29163,7 @@ const ft = class {
|
|
|
29133
29163
|
this.child = r, r.parent = this;
|
|
29134
29164
|
}
|
|
29135
29165
|
static enterMode() {
|
|
29136
|
-
ft.leaveMode(), Ge(ft,
|
|
29166
|
+
ft.leaveMode(), Ge(ft, Xn).style.display = "inline", ks(ft, wv, 0), ks(ft, zu, {});
|
|
29137
29167
|
}
|
|
29138
29168
|
static allHide() {
|
|
29139
29169
|
Ge(ft, ju).forEach((r) => r.visible = !1);
|
|
@@ -29142,7 +29172,7 @@ const ft = class {
|
|
|
29142
29172
|
!this.div || !this.mov || (this.div.style.display = r ? "inline" : "none", this.mov.updateTarget());
|
|
29143
29173
|
}
|
|
29144
29174
|
static leaveMode() {
|
|
29145
|
-
Ge(ft,
|
|
29175
|
+
Ge(ft, Xn).textContent = "", Ge(ft, Xn).style.display = "none", Ge(ft, ju).forEach((r) => r.destroy()), ks(ft, ju, []);
|
|
29146
29176
|
}
|
|
29147
29177
|
cvsResize() {
|
|
29148
29178
|
var r;
|
|
@@ -29157,7 +29187,7 @@ const ft = class {
|
|
|
29157
29187
|
const t = this.div = document.createElement("div");
|
|
29158
29188
|
t.id = Ge(ft, wc) + "_" + ++IU(ft, wv)._, t.classList.add("sn_design_cast"), t.dataset.id_dc = r, t.style.backgroundColor = `${this.bg_col}`, t.style.display = "none", this.rect = this.getRect(), $w(this, Lp, Xy).call(this), (this.parent && (u = document.querySelector(
|
|
29159
29189
|
`[data-id_dc="${this.parent.id_tag}"]`
|
|
29160
|
-
)) != null ? u : Ge(ft,
|
|
29190
|
+
)) != null ? u : Ge(ft, Xn)).appendChild(t);
|
|
29161
29191
|
const e = {
|
|
29162
29192
|
aPos: [0, 0],
|
|
29163
29193
|
roDeg: 0,
|
|
@@ -29322,7 +29352,7 @@ ${s}`, "F"), i.rotation = x;
|
|
|
29322
29352
|
}
|
|
29323
29353
|
};
|
|
29324
29354
|
let Jt = ft;
|
|
29325
|
-
|
|
29355
|
+
Xn = /* @__PURE__ */ new WeakMap();
|
|
29326
29356
|
bc = /* @__PURE__ */ new WeakMap();
|
|
29327
29357
|
xc = /* @__PURE__ */ new WeakMap();
|
|
29328
29358
|
Ec = /* @__PURE__ */ new WeakMap();
|
|
@@ -29341,7 +29371,7 @@ Xy = function() {
|
|
|
29341
29371
|
transform: `scale(${this.scale.x}, ${this.scale.y}) rotate(${this.rotation}deg)`
|
|
29342
29372
|
});
|
|
29343
29373
|
};
|
|
29344
|
-
Ss(Jt,
|
|
29374
|
+
Ss(Jt, Xn, void 0);
|
|
29345
29375
|
Ss(Jt, bc, void 0);
|
|
29346
29376
|
Ss(Jt, xc, void 0);
|
|
29347
29377
|
Ss(Jt, Ec, void 0);
|
|
@@ -29601,23 +29631,23 @@ var b1 = (r, t, e) => {
|
|
|
29601
29631
|
if (t.has(r))
|
|
29602
29632
|
throw TypeError("Cannot add the same private member more than once");
|
|
29603
29633
|
t instanceof WeakSet ? t.add(r) : t.set(r, e);
|
|
29604
|
-
}, _e = (r, t, e, i) => (b1(r, t, "write to private field"), i ? i.call(r, e) : t.set(r, e), e), bl = (r, t, e) => (b1(r, t, "access private method"), e), x1, eo, zs, th, $u,
|
|
29634
|
+
}, _e = (r, t, e, i) => (b1(r, t, "write to private field"), i ? i.call(r, e) : t.set(r, e), e), bl = (r, t, e) => (b1(r, t, "access private method"), e), x1, eo, zs, th, $u, Wn, $g, xl, Tv, Cv, $n, Bs, Ya, qa, Dp, Up, Iv, Vg, E1, w1, NR, Xg, T1, C1, OR, sc, sn, ac, Vu, Rv;
|
|
29605
29635
|
const xt = class extends Cr {
|
|
29606
29636
|
constructor() {
|
|
29607
|
-
super(), Ie(this,
|
|
29637
|
+
super(), Ie(this, $n, new RU(this.spLay, this)), Ie(this, Bs, ""), Ie(this, Ya, ""), Ie(this, qa, ""), this.lay = (r) => this.laySub(r, (t) => {
|
|
29608
29638
|
t && yt(xt, zs).resume();
|
|
29609
29639
|
}), Ie(this, Dp, 0), Ie(this, Up, 0), Ie(this, sc, void 0), Ie(this, sn, void 0), Ie(this, ac, () => {
|
|
29610
29640
|
}), this.record = () => ({
|
|
29611
29641
|
...super.record(),
|
|
29612
29642
|
sBkFn: yt(this, Ya),
|
|
29613
29643
|
sBkFace: yt(this, qa),
|
|
29614
|
-
idc_hArg: yt(this,
|
|
29615
|
-
}), this.dump = () => super.dump() + `, "pic":"${yt(this, Bs)}"`, W.isDbg && (this.setSp = (r) => yt(this,
|
|
29616
|
-
super.cvsResize(), yt(this,
|
|
29644
|
+
idc_hArg: yt(this, $n).gethArg()
|
|
29645
|
+
}), this.dump = () => super.dump() + `, "pic":"${yt(this, Bs)}"`, W.isDbg && (this.setSp = (r) => yt(this, $n).setSp(r), this.cvsResize = () => {
|
|
29646
|
+
super.cvsResize(), yt(this, $n).cvsResize();
|
|
29617
29647
|
});
|
|
29618
29648
|
}
|
|
29619
29649
|
static init(r, t, e, i, n, s) {
|
|
29620
|
-
_e(xt, zs, r), _e(xt, th, t), _e(xt, $u, e), _e(xt,
|
|
29650
|
+
_e(xt, zs, r), _e(xt, th, t), _e(xt, $u, e), _e(xt, Wn, i), _e(xt, $g, s);
|
|
29621
29651
|
const a = () => {
|
|
29622
29652
|
const o = yt(xt, xl) * yt(xt, Tv);
|
|
29623
29653
|
for (const u in xt.hFn2VElm)
|
|
@@ -29630,7 +29660,7 @@ const xt = class extends Cr {
|
|
|
29630
29660
|
(o) => {
|
|
29631
29661
|
_e(xt, Tv, o), a();
|
|
29632
29662
|
}
|
|
29633
|
-
), yt(xt,
|
|
29663
|
+
), yt(xt, Wn).crypto && _e(xt, Iv, bl(xt, w1, NR));
|
|
29634
29664
|
}
|
|
29635
29665
|
static setEvtMng(r) {
|
|
29636
29666
|
_e(xt, Cv, r);
|
|
@@ -29642,7 +29672,7 @@ const xt = class extends Cr {
|
|
|
29642
29672
|
}
|
|
29643
29673
|
laySub(r, t) {
|
|
29644
29674
|
const { fn: e, face: i = "" } = r;
|
|
29645
|
-
if (yt(this,
|
|
29675
|
+
if (yt(this, $n).sethArg(r), !e)
|
|
29646
29676
|
return super.lay(r), this.spLay.children.length > 0 && this.setPos(r), _e(this, Ya, ""), _e(this, Bs, _e(this, qa, i)), t(!1), !1;
|
|
29647
29677
|
const n = "fn" in r, s = "face" in r;
|
|
29648
29678
|
return this.clearLay({ filter: "true" }), n && _e(this, Ya, e), s && _e(this, qa, i), super.lay(r), r.dx = 0, r.dy = 0, xt.csv2Sprites(
|
|
@@ -29687,7 +29717,7 @@ const xt = class extends Cr {
|
|
|
29687
29717
|
if (s.push({ fn: l.fn, fnc: c }), l.fn in xt.hFn2ResAniSpr || l.fn in Vr || l.fn in oi.shared.resources)
|
|
29688
29718
|
return;
|
|
29689
29719
|
n = !0;
|
|
29690
|
-
const d = yt(xt, th).searchPath(l.fn, hr.EXT_SPRITE), p = yt(this,
|
|
29720
|
+
const d = yt(xt, th).searchPath(l.fn, hr.EXT_SPRITE), p = yt(this, Wn).crypto ? { xhrType: d.slice(-5) === ".json" ? Bt.XHR_RESPONSE_TYPE.TEXT : Bt.XHR_RESPONSE_TYPE.BUFFER } : {};
|
|
29691
29721
|
a.add({ ...p, name: l.fn, url: d });
|
|
29692
29722
|
});
|
|
29693
29723
|
const o = (u) => {
|
|
@@ -29699,7 +29729,7 @@ const xt = class extends Cr {
|
|
|
29699
29729
|
i(n);
|
|
29700
29730
|
};
|
|
29701
29731
|
return n ? a.use((u, h) => {
|
|
29702
|
-
yt(this,
|
|
29732
|
+
yt(this, Wn).dec(u.extension, u.data).then((l) => {
|
|
29703
29733
|
var c;
|
|
29704
29734
|
return yt(c = xt, Iv).call(c, l, u, () => h == null ? void 0 : h());
|
|
29705
29735
|
}).catch((l) => yt(this, zs).errScript(`Graphic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 fn:${u.name} ${l}`, !1));
|
|
@@ -29761,8 +29791,8 @@ const xt = class extends Cr {
|
|
|
29761
29791
|
}
|
|
29762
29792
|
yt(this, Vu)[r] = [t];
|
|
29763
29793
|
const s = yt(xt, th).searchPath(r, hr.EXT_SPRITE), a = new oi().add({ name: r, url: s, xhrType: Bt.XHR_RESPONSE_TYPE.BUFFER });
|
|
29764
|
-
yt(xt,
|
|
29765
|
-
yt(xt,
|
|
29794
|
+
yt(xt, Wn).crypto && a.use((o, u) => {
|
|
29795
|
+
yt(xt, Wn).dec(o.extension, o.data).then((h) => {
|
|
29766
29796
|
if (o.extension !== "bin") {
|
|
29767
29797
|
u == null || u();
|
|
29768
29798
|
return;
|
|
@@ -29819,7 +29849,7 @@ const xt = class extends Cr {
|
|
|
29819
29849
|
}
|
|
29820
29850
|
playback(r, t) {
|
|
29821
29851
|
if (super.playback(r, t), r.sBkFn === "" && r.sBkFace === "") {
|
|
29822
|
-
_e(this, Ya, r.sBkFn), _e(this, qa, r.sBkFace), yt(this,
|
|
29852
|
+
_e(this, Ya, r.sBkFn), _e(this, qa, r.sBkFace), yt(this, $n).sethArg(r.idc_hArg);
|
|
29823
29853
|
return;
|
|
29824
29854
|
}
|
|
29825
29855
|
t.push(new Promise((e) => this.laySub(
|
|
@@ -29830,13 +29860,13 @@ const xt = class extends Cr {
|
|
|
29830
29860
|
)));
|
|
29831
29861
|
}
|
|
29832
29862
|
makeDesignCast(r) {
|
|
29833
|
-
!this.spLay.visible || r(yt(this,
|
|
29863
|
+
!this.spLay.visible || r(yt(this, $n));
|
|
29834
29864
|
}
|
|
29835
29865
|
cvsResize() {
|
|
29836
29866
|
super.cvsResize();
|
|
29837
29867
|
}
|
|
29838
29868
|
showDesignCast() {
|
|
29839
|
-
yt(this,
|
|
29869
|
+
yt(this, $n).visible = !0;
|
|
29840
29870
|
}
|
|
29841
29871
|
};
|
|
29842
29872
|
let re = xt;
|
|
@@ -29845,12 +29875,12 @@ eo = /* @__PURE__ */ new WeakMap();
|
|
|
29845
29875
|
zs = /* @__PURE__ */ new WeakMap();
|
|
29846
29876
|
th = /* @__PURE__ */ new WeakMap();
|
|
29847
29877
|
$u = /* @__PURE__ */ new WeakMap();
|
|
29848
|
-
|
|
29878
|
+
Wn = /* @__PURE__ */ new WeakMap();
|
|
29849
29879
|
$g = /* @__PURE__ */ new WeakMap();
|
|
29850
29880
|
xl = /* @__PURE__ */ new WeakMap();
|
|
29851
29881
|
Tv = /* @__PURE__ */ new WeakMap();
|
|
29852
29882
|
Cv = /* @__PURE__ */ new WeakMap();
|
|
29853
|
-
|
|
29883
|
+
$n = /* @__PURE__ */ new WeakMap();
|
|
29854
29884
|
Bs = /* @__PURE__ */ new WeakMap();
|
|
29855
29885
|
Ya = /* @__PURE__ */ new WeakMap();
|
|
29856
29886
|
qa = /* @__PURE__ */ new WeakMap();
|
|
@@ -29886,7 +29916,7 @@ NR = function(r, t, e) {
|
|
|
29886
29916
|
}
|
|
29887
29917
|
const s = dc(n.meta.image), a = yt(xt, th).searchPath(s, hr.EXT_SPRITE);
|
|
29888
29918
|
new oi().use((u, h) => {
|
|
29889
|
-
yt(this,
|
|
29919
|
+
yt(this, Wn).dec(u.extension, u.data).then((l) => {
|
|
29890
29920
|
u.data = l, l instanceof HTMLImageElement && (u.type = Bt.TYPE.IMAGE, URL.revokeObjectURL(l.src)), h == null || h();
|
|
29891
29921
|
}).catch((l) => yt(this, zs).errScript(`Graphic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 dec2res4Cripto fn:${u.name} ${l}`, !1));
|
|
29892
29922
|
}).add({ name: s, url: a, xhrType: Bt.XHR_RESPONSE_TYPE.BUFFER }).load((u, h) => {
|
|
@@ -29937,7 +29967,7 @@ Ie(re, eo, {});
|
|
|
29937
29967
|
Ie(re, zs, void 0);
|
|
29938
29968
|
Ie(re, th, void 0);
|
|
29939
29969
|
Ie(re, $u, void 0);
|
|
29940
|
-
Ie(re,
|
|
29970
|
+
Ie(re, Wn, void 0);
|
|
29941
29971
|
Ie(re, $g, void 0);
|
|
29942
29972
|
Ie(re, xl, 1);
|
|
29943
29973
|
Ie(re, Tv, 1);
|
|
@@ -29962,7 +29992,7 @@ Ie(re, Iv, (r, t, e) => {
|
|
|
29962
29992
|
re.hFn2VElm = {};
|
|
29963
29993
|
Ie(re, Vu, {});
|
|
29964
29994
|
Ie(re, Rv, {});
|
|
29965
|
-
var mh, gf, po, ie,
|
|
29995
|
+
var mh, gf, po, ie, hn, Jn, Qr, Ys, Et, Kn, Fi, Mi, _h, Gp, ki, ln, mf, yh, _f, o0, AR, vo, bh, go, mo, _o, yo, xh, u0, Qn, yf, Yy, ts, bf, es, cn, xf, Ef, qy, qs, bo, wf, Zy, vi;
|
|
29966
29996
|
const Ot = class extends ve {
|
|
29967
29997
|
constructor(e, i, n) {
|
|
29968
29998
|
super();
|
|
@@ -29972,7 +30002,7 @@ const Ot = class extends ve {
|
|
|
29972
30002
|
I(this, Ef);
|
|
29973
30003
|
I(this, wf);
|
|
29974
30004
|
I(this, ie, document.createElement("span"));
|
|
29975
|
-
I(this,
|
|
30005
|
+
I(this, hn, new ve());
|
|
29976
30006
|
I(this, Jn, new ui());
|
|
29977
30007
|
I(this, Qr, new SU(this.spLay, this));
|
|
29978
30008
|
I(this, Ys, new PU(this));
|
|
@@ -29989,7 +30019,7 @@ const Ot = class extends ve {
|
|
|
29989
30019
|
I(this, Fi, 0);
|
|
29990
30020
|
I(this, Mi, 0);
|
|
29991
30021
|
I(this, ki, 0);
|
|
29992
|
-
I(this,
|
|
30022
|
+
I(this, ln, !1);
|
|
29993
30023
|
I(this, mf, 0);
|
|
29994
30024
|
I(this, yh, 0);
|
|
29995
30025
|
I(this, vo, void 0);
|
|
@@ -30002,7 +30032,7 @@ const Ot = class extends ve {
|
|
|
30002
30032
|
I(this, qs, "Quadratic.Out");
|
|
30003
30033
|
I(this, bo, "Quadratic.Out");
|
|
30004
30034
|
I(this, vi, void 0);
|
|
30005
|
-
this.spLay = e, this.canFocus = i, this.sys = n, f(this, ie).classList.add("sn_tx"), f(this, ie).style.position = "absolute", f(Ot, gf).view.parentElement.appendChild(f(this, ie)), this.addChild(f(this,
|
|
30035
|
+
this.spLay = e, this.canFocus = i, this.sys = n, f(this, ie).classList.add("sn_tx"), f(this, ie).style.position = "absolute", f(Ot, gf).view.parentElement.appendChild(f(this, ie)), this.addChild(f(this, hn)), this.addChild(f(this, Jn)), f(this, Jn).name = "grpDbgMasume", f(this, Qr).adopt(f(this, Ys));
|
|
30006
30036
|
}
|
|
30007
30037
|
static init(e, i) {
|
|
30008
30038
|
C(Ot, mh, e), C(Ot, gf, i), C(Ot, _o, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), C(Ot, yo, /[[({〈「『【〔“〝]/), C(Ot, xh, /[─‥…]/);
|
|
@@ -30021,7 +30051,7 @@ const Ot = class extends ve {
|
|
|
30021
30051
|
marginLeft: 0,
|
|
30022
30052
|
marginRight: 0,
|
|
30023
30053
|
marginTop: 0
|
|
30024
|
-
}), C(Ot, ts, /* @__PURE__ */ Object.create(null)), C(Ot, es, /* @__PURE__ */ Object.create(null)), C(Ot,
|
|
30054
|
+
}), C(Ot, ts, /* @__PURE__ */ Object.create(null)), C(Ot, es, /* @__PURE__ */ Object.create(null)), C(Ot, cn, new ve());
|
|
30025
30055
|
}
|
|
30026
30056
|
lay(e) {
|
|
30027
30057
|
var n, s, a, o, u, h, l, c;
|
|
@@ -30043,7 +30073,7 @@ const Ot = class extends ve {
|
|
|
30043
30073
|
"alpha" in e && (i.opacity = String(this.spLay.alpha));
|
|
30044
30074
|
if ("width" in e && (i.width = ((n = e.width) != null ? n : "0") + "px"), "height" in e && (i.height = ((s = e.height) != null ? s : "0") + "px"), "pl" in e && (i.paddingLeft = ((a = e.pl) != null ? a : "0") + "px"), "pr" in e && (i.paddingRight = ((o = e.pr) != null ? o : "0") + "px"), "pt" in e && (i.paddingTop = ((u = e.pt) != null ? u : "0") + "px"), "pb" in e && (i.paddingBottom = ((h = e.pb) != null ? h : "0") + "px"), "kinsoku_sol" in e && C(Ot, _o, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && C(Ot, yo, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && C(Ot, xh, new RegExp(`[${e.kinsoku_dns}]`)), P(this, _h, Gp).call(this), f(this, Qr).sethArg(e), C(this, ki, this.spLay.position.x), i.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), i.display = this.spLay.visible ? "inline" : "none", i.textShadow = (c = (l = e.filter) != null ? l : i.textShadow) != null ? c : "", C(this, Kn, dt(e, "break_fixed", f(this, Kn))), C(this, Fi, K(e, "break_fixed_left", f(this, Fi))), C(this, Mi, K(e, "break_fixed_top", f(this, Mi))), ":redraw" in e && f(this, mo) > 0) {
|
|
30045
30075
|
const d = [
|
|
30046
|
-
f(this, ie).innerHTML.
|
|
30076
|
+
f(this, ie).innerHTML.replaceAll(/(animation-delay: )\d+ms/g, "$10ms"),
|
|
30047
30077
|
`<span class='sn_ch' data-add='{"ch_in_style":"default"}'>\u3000</span>`
|
|
30048
30078
|
];
|
|
30049
30079
|
P(this, wf, Zy).call(this), this.goTxt(d);
|
|
@@ -30054,7 +30084,7 @@ const Ot = class extends ve {
|
|
|
30054
30084
|
e.left = `${this.sys.ofsLeft4elm + f(this, ki) * this.sys.cvsScale}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * this.sys.cvsScale}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * this.sys.cvsScale}, ${this.spLay.scale.y * this.sys.cvsScale})`, f(this, Qr).cvsResize(), f(this, Ys).cvsResize();
|
|
30055
30085
|
}
|
|
30056
30086
|
get tategaki() {
|
|
30057
|
-
return f(this,
|
|
30087
|
+
return f(this, ln);
|
|
30058
30088
|
}
|
|
30059
30089
|
get infTL() {
|
|
30060
30090
|
return f(this, Et);
|
|
@@ -30070,7 +30100,7 @@ const Ot = class extends ve {
|
|
|
30070
30100
|
}
|
|
30071
30101
|
goTxt(e) {
|
|
30072
30102
|
var m, _, y, b, x, w, E, S;
|
|
30073
|
-
f(Ot,
|
|
30103
|
+
f(Ot, cn).visible = !1;
|
|
30074
30104
|
const i = f(this, go).length;
|
|
30075
30105
|
i === 0 ? (f(Ot, mh).oCfg.debug.masume && (W.debugLog && console.log(`\u{1F34C} masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${f(this, Et).pad_left} pr:${f(this, Et).pad_right} pt:${f(this, Et).pad_top} pb:${f(this, Et).pad_bottom} w:${f(this, Et).$width} h:${f(this, Et).$height}`), f(this, Jn).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-f(this, Et).pad_left, -f(this, Et).pad_top, f(this, Et).$width, f(this, Et).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
|
|
30076
30106
|
0,
|
|
@@ -30134,9 +30164,9 @@ const Ot = class extends ve {
|
|
|
30134
30164
|
let d = new Pt();
|
|
30135
30165
|
for (let T = i; T < n; ++T) {
|
|
30136
30166
|
const R = f(this, go)[T], N = R.rect, F = JSON.parse((y = R.arg) != null ? y : '{"delay": 0}'), A = JSON.parse((b = R.add) != null ? b : "{}"), B = f(Ot, ts)[A.ch_in_style];
|
|
30137
|
-
if (N.x -= l, N.y -= c, o(R, N), B && (f(this,
|
|
30167
|
+
if (N.x -= l, N.y -= c, o(R, N), B && (f(this, ln) ? (N.x += (N.width - N.height) / 2, N.width = N.height) : (N.y += (N.height - N.width) / 2, N.height = N.width), d = N), R.cmd === "grp") {
|
|
30138
30168
|
const H = new ve();
|
|
30139
|
-
f(this,
|
|
30169
|
+
f(this, hn).addChild(H), re.csv2Sprites(F.pic, H, (L) => {
|
|
30140
30170
|
P(this, yf, Yy).call(this, H, F, A, N, u, B != null ? B : {}), H.parent || H.removeChild(L);
|
|
30141
30171
|
});
|
|
30142
30172
|
}
|
|
@@ -30154,14 +30184,14 @@ const Ot = class extends ve {
|
|
|
30154
30184
|
() => Y(X),
|
|
30155
30185
|
() => this.canFocus() ? (Y(it), !0) : !1,
|
|
30156
30186
|
() => Y(z)
|
|
30157
|
-
), f(this,
|
|
30187
|
+
), f(this, hn).addChild(G);
|
|
30158
30188
|
}
|
|
30159
30189
|
}
|
|
30160
30190
|
const p = f(this, ie).querySelectorAll("span.sn_ch");
|
|
30161
|
-
p.forEach((T) => T.className = T.className.replace(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1")), C(this, Qn, () => (C(this, Qn, () => !1), p.forEach((T) => T.className = T.className.replace(/ go_ch_in_[^\s"]+/g, "")), i !== n && (C(this, Fi, d.x + (f(this,
|
|
30191
|
+
p.forEach((T) => T.className = T.className.replace(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1")), C(this, Qn, () => (C(this, Qn, () => !1), p.forEach((T) => T.className = T.className.replace(/ go_ch_in_[^\s"]+/g, "")), i !== n && (C(this, Fi, d.x + (f(this, ln) ? 0 : d.width)), C(this, Mi, d.y + (f(this, ln) ? d.height : 0))), f(Ot, cn).position.set(
|
|
30162
30192
|
f(this, Fi),
|
|
30163
30193
|
f(this, Mi)
|
|
30164
|
-
), f(Ot,
|
|
30194
|
+
), f(Ot, cn).visible = !0, f(Ot, po).noticeCompTxt(), !0));
|
|
30165
30195
|
const g = p.length;
|
|
30166
30196
|
if (g === 0) {
|
|
30167
30197
|
f(this, Qn).call(this);
|
|
@@ -30253,14 +30283,14 @@ const Ot = class extends ve {
|
|
|
30253
30283
|
};
|
|
30254
30284
|
}
|
|
30255
30285
|
dispBreak(e) {
|
|
30256
|
-
const i = f(Ot,
|
|
30286
|
+
const i = f(Ot, cn);
|
|
30257
30287
|
i.visible = !1, this.addChild(i), re.csv2Sprites(e, i, (n) => {
|
|
30258
30288
|
i.parent || i.removeChild(n);
|
|
30259
30289
|
});
|
|
30260
30290
|
}
|
|
30261
30291
|
static delBreak() {
|
|
30262
|
-
const e = f(Ot,
|
|
30263
|
-
e.parent && (e.parent.removeChild(e), e.removeChildren()), C(Ot,
|
|
30292
|
+
const e = f(Ot, cn);
|
|
30293
|
+
e.parent && (e.parent.removeChild(e), e.removeChildren()), C(Ot, cn, new ve());
|
|
30264
30294
|
}
|
|
30265
30295
|
reNew() {
|
|
30266
30296
|
var i;
|
|
@@ -30288,11 +30318,11 @@ const Ot = class extends ve {
|
|
|
30288
30318
|
}
|
|
30289
30319
|
snapshot(e, i) {
|
|
30290
30320
|
P(this, o0, AR).call(this, (n) => {
|
|
30291
|
-
C(this, vi, new Ze(n)), f(this,
|
|
30321
|
+
C(this, vi, new Ze(n)), f(this, ln) && (f(this, vi).x += W.stageW - (f(this, ki) + f(this, Et).$width)), f(this, vi).y -= f(this, yh), f(this, vi).texture.frame = new Pt(0, 0, f(this, Et).$width - f(this, ki), f(this, Et).$height), f(this, hn).addChild(f(this, vi)), e.render(f(this, vi), void 0, !1), i();
|
|
30292
30322
|
}, !1);
|
|
30293
30323
|
}
|
|
30294
30324
|
snapshot_end() {
|
|
30295
|
-
f(this, vi) && (f(this,
|
|
30325
|
+
f(this, vi) && (f(this, hn).removeChild(f(this, vi)), C(this, vi, void 0));
|
|
30296
30326
|
}
|
|
30297
30327
|
makeDesignCast(e) {
|
|
30298
30328
|
e(f(this, Qr));
|
|
@@ -30311,17 +30341,17 @@ const Ot = class extends ve {
|
|
|
30311
30341
|
return `"txt":"${f(this, ie).textContent.replace(/(["\\])/g, "\\$1")}", "style":{${e.join(",")}}`;
|
|
30312
30342
|
}
|
|
30313
30343
|
destroy() {
|
|
30314
|
-
Ot.delBreak(), f(this, ie).parentElement.removeChild(f(this, ie)), this.removeChild(f(this,
|
|
30344
|
+
Ot.delBreak(), f(this, ie).parentElement.removeChild(f(this, ie)), this.removeChild(f(this, hn)), this.removeChild(f(this, Jn)), super.destroy();
|
|
30315
30345
|
}
|
|
30316
30346
|
};
|
|
30317
30347
|
let Be = Ot;
|
|
30318
|
-
mh = new WeakMap(), gf = new WeakMap(), po = new WeakMap(), ie = new WeakMap(),
|
|
30348
|
+
mh = new WeakMap(), gf = new WeakMap(), po = new WeakMap(), ie = new WeakMap(), hn = new WeakMap(), Jn = new WeakMap(), Qr = new WeakMap(), Ys = new WeakMap(), Et = new WeakMap(), Kn = new WeakMap(), Fi = new WeakMap(), Mi = new WeakMap(), _h = new WeakSet(), Gp = function() {
|
|
30319
30349
|
var s;
|
|
30320
30350
|
const e = f(this, ie).style, i = parseFloat(e.fontSize || "0");
|
|
30321
|
-
f(this, Et).fontsize = i, f(this, Et).pad_left = parseFloat(e.paddingLeft || "0"), f(this, Et).pad_right = parseFloat(e.paddingRight || "0"), f(this, Et).pad_top = parseFloat(e.paddingTop || "0"), f(this, Et).pad_bottom = parseFloat(e.paddingBottom || "0"), f(this, Et).$width = parseFloat(e.width || "0"), f(this, Et).$height = parseFloat(e.height || "0"), this.position.set(f(this, Et).pad_left, f(this, Et).pad_top), C(this,
|
|
30351
|
+
f(this, Et).fontsize = i, f(this, Et).pad_left = parseFloat(e.paddingLeft || "0"), f(this, Et).pad_right = parseFloat(e.paddingRight || "0"), f(this, Et).pad_top = parseFloat(e.paddingTop || "0"), f(this, Et).pad_bottom = parseFloat(e.paddingBottom || "0"), f(this, Et).$width = parseFloat(e.width || "0"), f(this, Et).$height = parseFloat(e.height || "0"), this.position.set(f(this, Et).pad_left, f(this, Et).pad_top), C(this, ln, e.writingMode === "vertical-rl"), C(this, mf, 0), C(this, yh, 0);
|
|
30322
30352
|
const n = (s = e.lineHeight) != null ? s : "0";
|
|
30323
|
-
C(this, xf, f(this,
|
|
30324
|
-
}, ki = new WeakMap(),
|
|
30353
|
+
C(this, xf, f(this, ln) ? 0 : (n.slice(-2) === "px" ? parseFloat(n) : i * parseFloat(n) - i) / 2);
|
|
30354
|
+
}, ki = new WeakMap(), ln = new WeakMap(), mf = new WeakMap(), yh = new WeakMap(), _f = new WeakMap(), o0 = new WeakSet(), AR = function(e, i = !0) {
|
|
30325
30355
|
const n = {
|
|
30326
30356
|
escape: (m) => m.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
|
|
30327
30357
|
mimeType: (m) => {
|
|
@@ -30515,7 +30545,7 @@ mh = new WeakMap(), gf = new WeakMap(), po = new WeakMap(), ie = new WeakMap(),
|
|
|
30515
30545
|
}).start()
|
|
30516
30546
|
};
|
|
30517
30547
|
f(this, bh).push(u);
|
|
30518
|
-
}, ts = new WeakMap(), bf = new WeakMap(), es = new WeakMap(),
|
|
30548
|
+
}, ts = new WeakMap(), bf = new WeakMap(), es = new WeakMap(), cn = new WeakMap(), xf = new WeakMap(), Ef = new WeakSet(), qy = function(e) {
|
|
30519
30549
|
const i = [];
|
|
30520
30550
|
if (e.nodeType !== e.TEXT_NODE)
|
|
30521
30551
|
return e.childNodes.forEach((o) => i.push(P(this, Ef, qy).call(this, o))), i.flat();
|
|
@@ -30570,7 +30600,7 @@ mh = new WeakMap(), gf = new WeakMap(), po = new WeakMap(), ie = new WeakMap(),
|
|
|
30570
30600
|
}
|
|
30571
30601
|
});
|
|
30572
30602
|
const s = () => {
|
|
30573
|
-
i.parentElement.removeChild(i), f(this,
|
|
30603
|
+
i.parentElement.removeChild(i), f(this, hn).removeChildren().forEach((o) => {
|
|
30574
30604
|
o instanceof ve && f(Ot, po).unButton(o), o.destroy();
|
|
30575
30605
|
});
|
|
30576
30606
|
};
|
|
@@ -30585,7 +30615,7 @@ mh = new WeakMap(), gf = new WeakMap(), po = new WeakMap(), ie = new WeakMap(),
|
|
|
30585
30615
|
marginLeft: 0,
|
|
30586
30616
|
marginRight: 0,
|
|
30587
30617
|
marginTop: 0
|
|
30588
|
-
}), I(Be, _o, void 0), I(Be, yo, void 0), I(Be, xh, void 0), I(Be, ts, /* @__PURE__ */ Object.create(null)), I(Be, bf, /[\s\.,]/), I(Be, es, /* @__PURE__ */ Object.create(null)), I(Be,
|
|
30618
|
+
}), I(Be, _o, void 0), I(Be, yo, void 0), I(Be, xh, void 0), I(Be, ts, /* @__PURE__ */ Object.create(null)), I(Be, bf, /[\s\.,]/), I(Be, es, /* @__PURE__ */ Object.create(null)), I(Be, cn, new ve());
|
|
30589
30619
|
var I1 = (r, t, e) => {
|
|
30590
30620
|
if (!t.has(r))
|
|
30591
30621
|
throw TypeError("Cannot " + e);
|
|
@@ -30762,7 +30792,7 @@ Ai(Ra, Sv, (r, t) => {
|
|
|
30762
30792
|
});
|
|
30763
30793
|
Ai(Ra, Wg, (r, t, e, i) => {
|
|
30764
30794
|
});
|
|
30765
|
-
var Eh, Bi, wh, Tf, Cf, Qy, If, tb, Rf, xo, Sf, rs, Eo, h0, FR,
|
|
30795
|
+
var Eh, Bi, wh, Tf, Cf, Qy, If, tb, Rf, xo, Sf, rs, Eo, h0, FR, fn, ti, gi, he, Li, Kt, Th, Sr, Ch, jp, Di, wo, Ih, $p, dn, Pf, eb, Nf, rb, Zs, To, Co, Rh, Sh, is, ei, l0, MR, Ur, Ph, Nh, Vp, Js, Su, pn, ri, ii, vn, Oh, Xp, Ks, Pu, Qs;
|
|
30766
30796
|
const Mt = class extends Cr {
|
|
30767
30797
|
constructor() {
|
|
30768
30798
|
super();
|
|
@@ -30775,7 +30805,7 @@ const Mt = class extends Cr {
|
|
|
30775
30805
|
I(this, Js);
|
|
30776
30806
|
I(this, Oh);
|
|
30777
30807
|
I(this, Ks);
|
|
30778
|
-
I(this,
|
|
30808
|
+
I(this, fn, void 0);
|
|
30779
30809
|
I(this, ti, void 0);
|
|
30780
30810
|
I(this, gi, void 0);
|
|
30781
30811
|
I(this, he, void 0);
|
|
@@ -30785,7 +30815,7 @@ const Mt = class extends Cr {
|
|
|
30785
30815
|
I(this, Sr, void 0);
|
|
30786
30816
|
I(this, Di, void 0);
|
|
30787
30817
|
I(this, wo, void 0);
|
|
30788
|
-
I(this,
|
|
30818
|
+
I(this, dn, void 0);
|
|
30789
30819
|
I(this, Zs, void 0);
|
|
30790
30820
|
I(this, To, void 0);
|
|
30791
30821
|
I(this, Co, void 0);
|
|
@@ -30794,12 +30824,12 @@ const Mt = class extends Cr {
|
|
|
30794
30824
|
I(this, ei, void 0);
|
|
30795
30825
|
I(this, Ur, void 0);
|
|
30796
30826
|
I(this, Ph, void 0);
|
|
30797
|
-
I(this,
|
|
30827
|
+
I(this, pn, void 0);
|
|
30798
30828
|
I(this, ri, void 0);
|
|
30799
30829
|
I(this, ii, void 0);
|
|
30800
|
-
I(this,
|
|
30830
|
+
I(this, vn, void 0);
|
|
30801
30831
|
I(this, Qs, void 0);
|
|
30802
|
-
C(this,
|
|
30832
|
+
C(this, fn, 0), C(this, ti, 0), C(this, gi, !1), C(this, he, void 0), C(this, Li, ""), C(this, Kt, new Be(this.spLay, () => this.canFocus(), f(Mt, Sf))), C(this, Th, new ya()), C(this, Sr, new ve()), C(this, Di, ""), C(this, wo, !0), C(this, dn, ""), C(this, Zs, ""), C(this, To, (i) => ""), C(this, Co, ""), C(this, Rh, new RegExp("[\u3000]")), this.isCur = !1, C(this, is, () => ""), C(this, ei, ""), C(this, Ur, !1), C(this, Ph, (i, n) => {
|
|
30803
30833
|
var h, l, c, d, p, g, v, m, _, y;
|
|
30804
30834
|
f(Mt, Eh).oCfg.debug.putCh && console.log(`\u{1F58A} \u6587\u5B57\u8868\u793A text:\`${i}\` ruby:\`${n}\` name:\`${this.name_}\``);
|
|
30805
30835
|
const s = n.split("\uFF5C");
|
|
@@ -30827,12 +30857,12 @@ const Mt = class extends Cr {
|
|
|
30827
30857
|
C(this, ri, !1), C(this, Ur, !0), a = P(this, Nh, Vp).call(this, i, u, o);
|
|
30828
30858
|
break;
|
|
30829
30859
|
case "gotxt":
|
|
30830
|
-
P(this, Ks, Pu).call(this), this.isCur && f(h = Mt, wh).call(h, f(this, ii).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, "style='").replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, "class='sn_ch'").replaceAll("class='offrec'", "style='display: none;'").replaceAll("`", "\\`")), f(this, Ur) ? (f(this, Kt).goTxt(f(this, ii)), C(this, Ur, !1), C(this,
|
|
30860
|
+
P(this, Ks, Pu).call(this), this.isCur && f(h = Mt, wh).call(h, f(this, ii).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, "style='").replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, "class='sn_ch'").replaceAll("class='offrec'", "style='display: none;'").replaceAll("`", "\\`")), f(this, Ur) ? (f(this, Kt).goTxt(f(this, ii)), C(this, Ur, !1), C(this, pn, 0)) : this.isCur && f(Mt, xo).noticeCompTxt();
|
|
30831
30861
|
return;
|
|
30832
30862
|
case "add":
|
|
30833
30863
|
{
|
|
30834
30864
|
const b = JSON.parse(u), { cl: x, sty: w } = P(this, Js, Su).call(this, !0, b.wait);
|
|
30835
|
-
f(this, ii).push(`<span${x} style='display: inline;${(c = (l = f(this,
|
|
30865
|
+
f(this, ii).push(`<span${x} style='display: inline;${(c = (l = f(this, vn).at(-1)) == null ? void 0 : l.o.style) != null ? c : ""}${(d = b.style) != null ? d : ""}${w}'>`), delete b.style, P(this, Oh, Xp).call(this, b);
|
|
30836
30866
|
}
|
|
30837
30867
|
return;
|
|
30838
30868
|
case "add_close":
|
|
@@ -30842,13 +30872,13 @@ const Mt = class extends Cr {
|
|
|
30842
30872
|
C(this, Ur, !0);
|
|
30843
30873
|
{
|
|
30844
30874
|
const b = JSON.parse(u);
|
|
30845
|
-
if (b.delay = f(this,
|
|
30875
|
+
if (b.delay = f(this, pn), (p = b.id) != null || (b.id = f(this, ii).length), b.id === "break") {
|
|
30846
30876
|
f(this, Kt).dispBreak(b.pic);
|
|
30847
30877
|
return;
|
|
30848
30878
|
}
|
|
30849
30879
|
(g = b.style) != null || (b.style = "");
|
|
30850
30880
|
const { cl: x, sty: w, lnk: E } = P(this, Js, Su).call(this, !0, b.wait);
|
|
30851
|
-
a = `<span data-cmd='grp' data-id='${b.id}'${x} style='${w} ${(v = b.style) != null ? v : ""}'${E} data-arg='${JSON.stringify(b)}' data-add='{"ch_in_style":"${f(this, Di)}", "ch_out_style":"${f(this,
|
|
30881
|
+
a = `<span data-cmd='grp' data-id='${b.id}'${x} style='${w} ${(v = b.style) != null ? v : ""}'${E} data-arg='${JSON.stringify(b)}' data-add='{"ch_in_style":"${f(this, Di)}", "ch_out_style":"${f(this, dn)}"}'>\u3000</span>`, f(this, ri) && (C(this, ri, !1), a = `<ruby>${a}<rt>\u3000</rt></ruby>`);
|
|
30852
30882
|
}
|
|
30853
30883
|
break;
|
|
30854
30884
|
case "tcy":
|
|
@@ -30859,7 +30889,7 @@ const Mt = class extends Cr {
|
|
|
30859
30889
|
a = `<span${T} style='${R}${f(this, To).call(this, x)} ${(m = b.style) != null ? m : ""}'${N}><ruby><span style='
|
|
30860
30890
|
text-combine-upright: all;
|
|
30861
30891
|
-webkit-text-combine: horizontal;
|
|
30862
|
-
' data-add='{"ch_in_style":"${f(this, Di)}", "ch_out_style":"${f(this,
|
|
30892
|
+
' data-add='{"ch_in_style":"${f(this, Di)}", "ch_out_style":"${f(this, dn)}"}'>${x}</span>
|
|
30863
30893
|
<rt${S}>${E}</rt></ruby></span>`;
|
|
30864
30894
|
}
|
|
30865
30895
|
break;
|
|
@@ -30879,7 +30909,7 @@ text-combine-upright: all;
|
|
|
30879
30909
|
const b = JSON.parse(u);
|
|
30880
30910
|
b[":link"] = " data-lnk='@'";
|
|
30881
30911
|
const { cl: x, sty: w } = P(this, Js, Su).call(this, !1, b.wait);
|
|
30882
|
-
f(this, ii).push(`<span data-arg='${u}'${x} style='display: inline; ${w} ${(_ = b.style) != null ? _ : ""}' data-add='{"ch_in_style":"${f(this, Di)}", "ch_out_style":"${f(this,
|
|
30912
|
+
f(this, ii).push(`<span data-arg='${u}'${x} style='display: inline; ${w} ${(_ = b.style) != null ? _ : ""}' data-add='{"ch_in_style":"${f(this, Di)}", "ch_out_style":"${f(this, dn)}"}'}>`), delete b.style, P(this, Oh, Xp).call(this, b);
|
|
30883
30913
|
}
|
|
30884
30914
|
return;
|
|
30885
30915
|
case "endlink":
|
|
@@ -30891,7 +30921,7 @@ text-combine-upright: all;
|
|
|
30891
30921
|
break;
|
|
30892
30922
|
}
|
|
30893
30923
|
f(this, ii).push(f(y = Mt, Sh).call(y, a));
|
|
30894
|
-
}), C(this,
|
|
30924
|
+
}), C(this, pn, 0), C(this, ri, !0), C(this, ii, []), C(this, vn, []), this.click = () => !this.spLay.interactiveChildren || !this.spLay.visible ? !1 : f(this, Kt).skipChIn(), C(this, Qs, ""), this.addButton = (i) => new Promise((n) => {
|
|
30895
30925
|
i.key = `btn=[${f(this, Sr).children.length}] ` + this.name_, i[":id_tag"] = i.key.slice(0, -7), dt(i, "hint_tate", f(this, Kt).tategaki);
|
|
30896
30926
|
const s = new Ra(i, f(Mt, xo), () => n(), () => this.canFocus());
|
|
30897
30927
|
s.name = JSON.stringify(i).replaceAll('"', "'"), f(this, Sr).addChild(s);
|
|
@@ -30901,7 +30931,7 @@ text-combine-upright: all;
|
|
|
30901
30931
|
r_align: f(this, ei),
|
|
30902
30932
|
b_do: f(this, he) === void 0 ? void 0 : f(this, he) instanceof Ze ? "Sprite" : "Graphics",
|
|
30903
30933
|
b_pic: f(this, Li),
|
|
30904
|
-
b_color: f(this,
|
|
30934
|
+
b_color: f(this, fn),
|
|
30905
30935
|
b_alpha: f(this, ti),
|
|
30906
30936
|
b_alpha_isfixed: f(this, gi),
|
|
30907
30937
|
ffs: f(this, Zs),
|
|
@@ -31004,7 +31034,7 @@ text-combine-upright: all;
|
|
|
31004
31034
|
chgBackAlpha(e) {
|
|
31005
31035
|
const i = f(this, gi) ? f(this, ti) : e * f(this, ti);
|
|
31006
31036
|
f(this, he) instanceof ui && (f(this, he) && (this.spLay.removeChild(f(this, he)), f(this, he).destroy()), this.spLay.addChildAt(
|
|
31007
|
-
C(this, he, new ui()).beginFill(f(this,
|
|
31037
|
+
C(this, he, new ui()).beginFill(f(this, fn)).lineStyle(void 0).drawRect(0, 0, f(this, Kt).getWidth, f(this, Kt).getHeight).endFill(),
|
|
31008
31038
|
0
|
|
31009
31039
|
), f(this, he).name = "back(color)"), f(this, he) && (f(this, he).visible = i > 0, f(this, he).alpha = i);
|
|
31010
31040
|
}
|
|
@@ -31041,7 +31071,7 @@ text-combine-upright: all;
|
|
|
31041
31071
|
}
|
|
31042
31072
|
clearText() {
|
|
31043
31073
|
var e;
|
|
31044
|
-
this.spLay.addChild(C(this, Kt, f(this, Kt).reNew())), C(this,
|
|
31074
|
+
this.spLay.addChild(C(this, Kt, f(this, Kt).reNew())), C(this, pn, 0), C(this, ri, !0), C(this, ii, []), C(this, Qs, ""), f(e = Mt, wh).call(e, "", !0);
|
|
31045
31075
|
}
|
|
31046
31076
|
get pageText() {
|
|
31047
31077
|
return f(this, Qs).replace("\u300A\u3000\u300B", "");
|
|
@@ -31088,7 +31118,7 @@ text-combine-upright: all;
|
|
|
31088
31118
|
f(this, Sr).children.forEach((e) => e.showDesignCast());
|
|
31089
31119
|
}
|
|
31090
31120
|
dump() {
|
|
31091
|
-
return f(this, Ph).call(this, "", "gotxt\uFF5C"), super.dump() + `, "enabled":"${this.enabled}", ${f(this, Kt).dump()}, "b_pic":"${f(this, Li)}", "b_color":"${f(this,
|
|
31121
|
+
return f(this, Ph).call(this, "", "gotxt\uFF5C"), super.dump() + `, "enabled":"${this.enabled}", ${f(this, Kt).dump()}, "b_pic":"${f(this, Li)}", "b_color":"${f(this, fn)}", "b_alpha":${f(this, ti)}, "b_alpha_isfixed":"${f(this, gi)}", "width":${f(this, Kt).getWidth}, "height":${f(this, Kt).getHeight}, "pixi_obj":[${this.spLay.children.map((e) => `{"class":"${e instanceof Ze ? "Sprite" : e instanceof ui ? "Graphics" : e instanceof ve ? "Container" : "?"}", "name":"${e.name}", "alpha":${e.alpha}, "x":${e.x}, "y":${e.y}, "visible":"${e.visible}"}`).join(",")}], "button":[${f(this, Sr).children.map((e) => {
|
|
31092
31122
|
var i;
|
|
31093
31123
|
return (i = e.children[0].name) != null ? i : "{}";
|
|
31094
31124
|
}).join(",")}]`;
|
|
@@ -31141,7 +31171,7 @@ Eh = new WeakMap(), Bi = new WeakMap(), wh = new WeakMap(), Tf = new WeakMap(),
|
|
|
31141
31171
|
if (s.length !== n)
|
|
31142
31172
|
throw "[autowc] text\u6587\u5B57\u6570\u3068time\u306B\u8A18\u8FF0\u3055\u308C\u305F\u5F85\u3061\u6642\u9593\uFF08\u30B3\u30F3\u30DE\u533A\u5207\u308A\uFF09\u306F\u540C\u6570\u306B\u3057\u3066\u4E0B\u3055\u3044";
|
|
31143
31173
|
return C(Mt, Eo, {}), s.forEach((a, o) => f(Mt, Eo)[i[o]] = li(a)), f(Mt, Bi).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
|
|
31144
|
-
},
|
|
31174
|
+
}, fn = new WeakMap(), ti = new WeakMap(), gi = new WeakMap(), he = new WeakMap(), Li = new WeakMap(), Kt = new WeakMap(), Th = new WeakMap(), Sr = new WeakMap(), Ch = new WeakSet(), jp = function(e) {
|
|
31145
31175
|
const { in_style: i } = e;
|
|
31146
31176
|
if (!i)
|
|
31147
31177
|
return;
|
|
@@ -31155,10 +31185,10 @@ Eh = new WeakMap(), Bi = new WeakMap(), wh = new WeakMap(), Tf = new WeakMap(),
|
|
|
31155
31185
|
return;
|
|
31156
31186
|
if (!Be.getChOutStyle(i))
|
|
31157
31187
|
throw `\u5B58\u5728\u3057\u306A\u3044out_style\u3010${i}\u3011\u3067\u3059`;
|
|
31158
|
-
C(this,
|
|
31159
|
-
},
|
|
31188
|
+
C(this, dn, i);
|
|
31189
|
+
}, dn = new WeakMap(), Pf = new WeakSet(), eb = function(e, i) {
|
|
31160
31190
|
if ("back_clear" in e)
|
|
31161
|
-
return dt(e, "back_clear", !1) && (C(this,
|
|
31191
|
+
return dt(e, "back_clear", !1) && (C(this, fn, 0), C(this, ti, 0), C(this, gi, !1), C(this, Li, "")), i(!1), !1;
|
|
31162
31192
|
C(this, ti, K(e, "b_alpha", f(this, ti))), C(this, gi, dt(e, "b_alpha_isfixed", f(this, gi)));
|
|
31163
31193
|
const n = (f(this, gi) ? 1 : Number(f(Mt, Bi).getVal("sys:TextLayer.Back.Alpha"))) * f(this, ti);
|
|
31164
31194
|
if (e.b_pic) {
|
|
@@ -31167,8 +31197,8 @@ Eh = new WeakMap(), Bi = new WeakMap(), wh = new WeakMap(), Tf = new WeakMap(),
|
|
|
31167
31197
|
C(this, he, s), s.name = "back(pic)", s.visible = n > 0, s.alpha = n, f(this, Kt).setSize(s.width, s.height), this.spLay.setChildIndex(s, 0), i(!0);
|
|
31168
31198
|
});
|
|
31169
31199
|
} else
|
|
31170
|
-
"b_color" in e && (C(this,
|
|
31171
|
-
C(this, he, new ui()).beginFill(f(this,
|
|
31200
|
+
"b_color" in e && (C(this, fn, cT(e, "b_color", 0)), f(this, he) && (this.spLay.removeChild(f(this, he)), f(this, he).destroy()), C(this, Li, ""), this.spLay.addChildAt(
|
|
31201
|
+
C(this, he, new ui()).beginFill(f(this, fn)).lineStyle(void 0).drawRect(0, 0, f(this, Kt).getWidth, f(this, Kt).getHeight).endFill(),
|
|
31172
31202
|
0
|
|
31173
31203
|
), f(this, he).name = "back(color)");
|
|
31174
31204
|
return f(this, he) && (f(this, he).visible = n > 0, f(this, he).alpha = n), i(!1), !1;
|
|
@@ -31211,26 +31241,26 @@ Eh = new WeakMap(), Bi = new WeakMap(), wh = new WeakMap(), Tf = new WeakMap(),
|
|
|
31211
31241
|
return ` style='${a}'`;
|
|
31212
31242
|
}, Ur = new WeakMap(), Ph = new WeakMap(), Nh = new WeakSet(), Vp = function(e, i, n) {
|
|
31213
31243
|
e === " " && (e = " "), f(Mt, Bi).doRecLog() && C(this, Qs, f(this, Qs) + (e + (i ? `\u300A${i}\u300B` : "")));
|
|
31214
|
-
const { cl: s, sty: a, lnk: o } = P(this, Js, Su).call(this, !0, null, e), u = `${o} data-add='{"ch_in_style":"${f(this, Di)}", "ch_out_style":"${f(this,
|
|
31244
|
+
const { cl: s, sty: a, lnk: o } = P(this, Js, Su).call(this, !0, null, e), u = `${o} data-add='{"ch_in_style":"${f(this, Di)}", "ch_out_style":"${f(this, dn)}"}'`;
|
|
31215
31245
|
return `<span${s} style='${a}${f(this, To).call(this, e)}'${i ? "" : u}>${i ? `<ruby${u}>${e}<rt${this.mkStyle_r_align(e, i, n)}>${i}</rt></ruby>` : e}</span>`;
|
|
31216
31246
|
}, Js = new WeakSet(), Su = function(e, i, n = `
|
|
31217
31247
|
`) {
|
|
31218
31248
|
var a, o, u, h, l, c, d, p;
|
|
31219
|
-
const s = f(this, wo) ? (u = i != null ? i : (a = f(this,
|
|
31220
|
-
return f(Mt, xo).isSkippingByKeyDown() ? C(this,
|
|
31249
|
+
const s = f(this, wo) ? (u = i != null ? i : (a = f(this, vn).at(0)) == null ? void 0 : a.o.wait) != null ? u : f(Mt, rs) ? (o = f(Mt, Eo)[n.charAt(0)]) != null ? o : 0 : Ic.msecChWait : 0;
|
|
31250
|
+
return f(Mt, xo).isSkippingByKeyDown() ? C(this, pn, 0) : e && f(this, wo) && C(this, pn, f(this, pn) + Number(s)), {
|
|
31221
31251
|
cl: ` class='sn_ch${s > 0 ? ` sn_ch_in_${f(this, Di)}` : ""}'`,
|
|
31222
|
-
sty: `animation-delay: ${f(this,
|
|
31223
|
-
lnk: (p = (d = f(this,
|
|
31252
|
+
sty: `animation-delay: ${f(this, pn)}ms;${(c = (l = (h = f(this, vn).at(-1)) == null ? void 0 : h.o) == null ? void 0 : l.style) != null ? c : ""}`,
|
|
31253
|
+
lnk: (p = (d = f(this, vn).at(0)) == null ? void 0 : d.o[":link"]) != null ? p : ""
|
|
31224
31254
|
};
|
|
31225
|
-
},
|
|
31226
|
-
f(this,
|
|
31255
|
+
}, pn = new WeakMap(), ri = new WeakMap(), ii = new WeakMap(), vn = new WeakMap(), Oh = new WeakSet(), Xp = function(e) {
|
|
31256
|
+
f(this, vn).push({
|
|
31227
31257
|
o: e,
|
|
31228
31258
|
r_align: f(this, ei),
|
|
31229
31259
|
ch_in_style: f(this, Di),
|
|
31230
|
-
ch_out_style: f(this,
|
|
31260
|
+
ch_out_style: f(this, dn)
|
|
31231
31261
|
}), "r_align" in e && C(this, ei, e.r_align), P(this, Ch, jp).call(this, e), P(this, Ih, $p).call(this, e);
|
|
31232
31262
|
}, Ks = new WeakSet(), Pu = function() {
|
|
31233
|
-
const e = f(this,
|
|
31263
|
+
const e = f(this, vn).pop();
|
|
31234
31264
|
!e || (C(this, ei, e.r_align), P(this, Ch, jp).call(this, { in_style: e.ch_in_style }), P(this, Ih, $p).call(this, { out_style: e.ch_out_style }));
|
|
31235
31265
|
}, Qs = new WeakMap(), I(Ne, Cf), I(Ne, If), I(Ne, h0), I(Ne, Eh, void 0), I(Ne, Bi, void 0), I(Ne, wh, void 0), I(Ne, Tf, void 0), I(Ne, Rf, void 0), I(Ne, xo, void 0), I(Ne, Sf, void 0), I(Ne, rs, !1), I(Ne, Eo, {}), I(Ne, Sh, (e) => e);
|
|
31236
31266
|
var Ah, ns, c0, kR, Fh, Mh, Wp, f0, BR, d0, LR, Of, p0, DR, v0, UR;
|
|
@@ -31431,7 +31461,7 @@ ${t.id}`, v = new ba(s).to(o, K(t, "time", NaN) * (Boolean(this.val.getVal("tmp:
|
|
|
31431
31461
|
v.start();
|
|
31432
31462
|
return this.hTwInf[g] = { tw: v, resume: !1 }, !1;
|
|
31433
31463
|
};
|
|
31434
|
-
var Ui, Qt, Ce, ta, Io, kh, Bh, Lh, Ro, Af, ib, ss,
|
|
31464
|
+
var Ui, Qt, Ce, ta, Io, kh, Bh, Lh, Ro, Af, ib, ss, gn, g0, GR, ni, m0, HR, _0, zR, y0, jR, Ht, Gi, Hi, Dh, b0, $R, Uh, Yp, x0, VR, Ff, Gh, Mf, ea, ra, mn, Ye, ia, E0, XR, qe, Pr, Jr, w0, WR, T0, YR, C0, qR, So, oc, I0, ZR, Gr, R0, JR, S0, KR, P0, QR, N0, t2, O0, e2, na, sa, Nu, mi, A0, r2, Hh, F0, i2, _n, aa, oa, Ou, zi, ji, M0, n2, k0, s2, B0, a2, L0, o2, D0, u2, U0, h2, G0, l2, H0, c2, z0, f2, j0, d2, $0, p2, V0, v2, X0, g2, W0, m2, Y0, _2;
|
|
31435
31465
|
const ro = class {
|
|
31436
31466
|
constructor(t, e, i, n, s, a, o, u, h, l) {
|
|
31437
31467
|
I(this, Af);
|
|
@@ -31483,7 +31513,7 @@ const ro = class {
|
|
|
31483
31513
|
I(this, Lh, void 0);
|
|
31484
31514
|
I(this, Ro, void 0);
|
|
31485
31515
|
I(this, ss, void 0);
|
|
31486
|
-
I(this,
|
|
31516
|
+
I(this, gn, void 0);
|
|
31487
31517
|
I(this, ni, void 0);
|
|
31488
31518
|
I(this, Ht, void 0);
|
|
31489
31519
|
I(this, Gi, void 0);
|
|
@@ -31494,14 +31524,14 @@ const ro = class {
|
|
|
31494
31524
|
I(this, Mf, void 0);
|
|
31495
31525
|
I(this, ea, void 0);
|
|
31496
31526
|
I(this, ra, void 0);
|
|
31497
|
-
I(this,
|
|
31527
|
+
I(this, mn, void 0);
|
|
31498
31528
|
I(this, Ye, void 0);
|
|
31499
31529
|
I(this, ia, void 0);
|
|
31500
31530
|
I(this, qe, void 0);
|
|
31501
31531
|
I(this, Gr, void 0);
|
|
31502
31532
|
I(this, mi, void 0);
|
|
31503
31533
|
I(this, Hh, void 0);
|
|
31504
|
-
I(this,
|
|
31534
|
+
I(this, _n, void 0);
|
|
31505
31535
|
I(this, aa, void 0);
|
|
31506
31536
|
I(this, zi, void 0);
|
|
31507
31537
|
I(this, ji, void 0);
|
|
@@ -31552,13 +31582,13 @@ void main(void) {
|
|
|
31552
31582
|
rule: It.EMPTY,
|
|
31553
31583
|
vague: 0,
|
|
31554
31584
|
tick: 0
|
|
31555
|
-
}), C(this, Mf, new
|
|
31585
|
+
}), C(this, Mf, new On(void 0, f(this, Ff), f(this, Gh))), C(this, ea, Yi.create({
|
|
31556
31586
|
width: W.stageW,
|
|
31557
31587
|
height: W.stageH
|
|
31558
|
-
})), C(this, ra, new Ze(f(this, ea))), C(this,
|
|
31588
|
+
})), C(this, ra, new Ze(f(this, ea))), C(this, mn, Yi.create({
|
|
31559
31589
|
width: W.stageW,
|
|
31560
31590
|
height: W.stageH
|
|
31561
|
-
})), C(this, Ye, new Ze(f(this,
|
|
31591
|
+
})), C(this, Ye, new Ze(f(this, mn))), C(this, ia, []), C(this, qe, { tw: void 0, resume: !1 }), C(this, Gr, {}), C(this, mi, (v) => {
|
|
31562
31592
|
throw f(this, aa).call(this), 0;
|
|
31563
31593
|
}), C(this, Hh, (v) => {
|
|
31564
31594
|
throw f(this, aa).call(this), 0;
|
|
@@ -31570,7 +31600,7 @@ void main(void) {
|
|
|
31570
31600
|
(v) => f(this, Ht)[v].fore.cvsResizeChildren()
|
|
31571
31601
|
) : f(this, Gi).forEach(
|
|
31572
31602
|
(v) => f(this, Ht)[v].fore.cvsResize()
|
|
31573
|
-
), f(this, ta).cvsResize(), f(this,
|
|
31603
|
+
), f(this, ta).cvsResize(), f(this, gn).cvsResize();
|
|
31574
31604
|
};
|
|
31575
31605
|
if (W.isMobile)
|
|
31576
31606
|
globalThis.addEventListener("orientationchange", c, { passive: !0 });
|
|
@@ -31608,7 +31638,7 @@ void main(void) {
|
|
|
31608
31638
|
);
|
|
31609
31639
|
}
|
|
31610
31640
|
setEvtMng(t) {
|
|
31611
|
-
C(this,
|
|
31641
|
+
C(this, gn, t), f(this, ta).setEvtMng(t), re.setEvtMng(t);
|
|
31612
31642
|
}
|
|
31613
31643
|
before_destroy() {
|
|
31614
31644
|
for (const t in f(this, Ht))
|
|
@@ -31642,8 +31672,8 @@ void main(void) {
|
|
|
31642
31672
|
return f(this, aa).call(this), this.currentTxtlayFore;
|
|
31643
31673
|
}
|
|
31644
31674
|
get currentTxtlayFore() {
|
|
31645
|
-
if (!!f(this,
|
|
31646
|
-
return f(this,
|
|
31675
|
+
if (!!f(this, _n))
|
|
31676
|
+
return f(this, _n).fore;
|
|
31647
31677
|
}
|
|
31648
31678
|
recText(t, e = !1) {
|
|
31649
31679
|
const i = f(this, zi);
|
|
@@ -31697,7 +31727,7 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31697
31727
|
[sr(this, Lh)._, this.Ro = ""] = t.split("/");
|
|
31698
31728
|
const e = f(this, Ht)[f(this, Lh)];
|
|
31699
31729
|
!e || (Jt.allHide(), f(this, Ro) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
|
|
31700
|
-
}, ss = new WeakMap(),
|
|
31730
|
+
}, ss = new WeakMap(), gn = new WeakMap(), g0 = new WeakSet(), GR = function(t) {
|
|
31701
31731
|
P(this, Pr, Jr).call(this).forEach((e) => {
|
|
31702
31732
|
const i = f(this, Ht)[e];
|
|
31703
31733
|
i.fore instanceof Ne && (i.fore.chgBackAlpha(t), i.back.chgBackAlpha(t));
|
|
@@ -31801,7 +31831,7 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31801
31831
|
const i = f(this, Ht)[P(this, oa, Ou).call(this, { layer: e })];
|
|
31802
31832
|
t.page === "both" ? (i.fore.clearLay(t), i.back.clearLay(t)) : i.getPage(t).clearLay(t);
|
|
31803
31833
|
}), !1;
|
|
31804
|
-
}, Ff = new WeakMap(), Gh = new WeakMap(), Mf = new WeakMap(), ea = new WeakMap(), ra = new WeakMap(),
|
|
31834
|
+
}, Ff = new WeakMap(), Gh = new WeakMap(), Mf = new WeakMap(), ea = new WeakMap(), ra = new WeakMap(), mn = new WeakMap(), Ye = new WeakMap(), ia = new WeakMap(), E0 = new WeakSet(), XR = function(t) {
|
|
31805
31835
|
P(this, So, oc).call(this);
|
|
31806
31836
|
const e = bs.ease(t.ease);
|
|
31807
31837
|
C(this, ia, []);
|
|
@@ -31826,9 +31856,9 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31826
31856
|
}, p();
|
|
31827
31857
|
};
|
|
31828
31858
|
}
|
|
31829
|
-
f(this,
|
|
31859
|
+
f(this, mn).resize(W.stageW, W.stageH), this.appPixi.renderer.render(f(this, Qt), { renderTexture: f(this, mn) });
|
|
31830
31860
|
let o = () => {
|
|
31831
|
-
f(this, Qt).visible = !0, this.appPixi.renderer.render(f(this, Qt), { renderTexture: f(this,
|
|
31861
|
+
f(this, Qt).visible = !0, this.appPixi.renderer.render(f(this, Qt), { renderTexture: f(this, mn) }), f(this, Qt).visible = !1;
|
|
31832
31862
|
};
|
|
31833
31863
|
if (!n.some((p) => p.containMovement)) {
|
|
31834
31864
|
let p = o;
|
|
@@ -31858,12 +31888,12 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31858
31888
|
};
|
|
31859
31889
|
C(this, qe, { tw: void 0, resume: !1 });
|
|
31860
31890
|
const l = K(t, "time", 0);
|
|
31861
|
-
if (l === 0 || f(this,
|
|
31891
|
+
if (l === 0 || f(this, gn).isSkippingByKeyDown())
|
|
31862
31892
|
return h(), !1;
|
|
31863
31893
|
const c = "glsl" in t;
|
|
31864
31894
|
if (!c && !("rule" in t))
|
|
31865
31895
|
return f(this, Ye).filters = [], f(this, qe).tw = new ba(f(this, Ye)).to({ alpha: 0 }, l).delay(K(t, "delay", 0)).easing(e).onComplete(h).start(), this.appPixi.ticker.add(u), !1;
|
|
31866
|
-
const d = c ? new
|
|
31896
|
+
const d = c ? new On(void 0, t.glsl, f(this, Gh)) : f(this, Mf);
|
|
31867
31897
|
if (d.uniforms.vague = K(t, "vague", 0.04), d.uniforms.tick = 0, f(this, qe).tw = new ba(d.uniforms).to({ tick: 1 }, l).delay(K(t, "delay", 0)).easing(e).onComplete(h), f(this, Ye).filters = [d], c)
|
|
31868
31898
|
return f(this, qe).tw.start(), this.appPixi.ticker.add(u), !1;
|
|
31869
31899
|
if (!t.rule)
|
|
@@ -31890,22 +31920,22 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31890
31920
|
return n < s ? -1 : n > s ? 1 : 0;
|
|
31891
31921
|
});
|
|
31892
31922
|
}, C0 = new WeakSet(), qR = function(t) {
|
|
31893
|
-
return f(this, qe).tw ? (f(this, qe).resume = !0, f(this,
|
|
31923
|
+
return f(this, qe).tw ? (f(this, qe).resume = !0, f(this, gn).waitLimitedEvent(t, () => P(this, So, oc).call(this))) : !1;
|
|
31894
31924
|
}, So = new WeakSet(), oc = function() {
|
|
31895
31925
|
var t;
|
|
31896
31926
|
return (t = f(this, qe).tw) == null || t.end(), !1;
|
|
31897
31927
|
}, I0 = new WeakSet(), ZR = function(t) {
|
|
31898
31928
|
P(this, So, oc).call(this);
|
|
31899
31929
|
const e = K(t, "time", NaN);
|
|
31900
|
-
if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || f(this,
|
|
31930
|
+
if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || f(this, gn).isSkippingByKeyDown())
|
|
31901
31931
|
return !1;
|
|
31902
31932
|
const i = [];
|
|
31903
31933
|
P(this, Pr, Jr).call(this, t.layer).forEach((c) => {
|
|
31904
31934
|
i.push(f(this, Ht)[c].fore.spLay);
|
|
31905
|
-
}), f(this,
|
|
31935
|
+
}), f(this, mn).resize(W.stageW, W.stageH);
|
|
31906
31936
|
const n = () => {
|
|
31907
31937
|
f(this, Qt).visible = !0, i.forEach(
|
|
31908
|
-
(c) => this.appPixi.renderer.render(c, { renderTexture: f(this,
|
|
31938
|
+
(c) => this.appPixi.renderer.render(c, { renderTexture: f(this, mn), clear: !1 })
|
|
31909
31939
|
), f(this, Qt).visible = !1;
|
|
31910
31940
|
};
|
|
31911
31941
|
f(this, Ye).visible = !0, f(this, Ye).alpha = 1;
|
|
@@ -31927,7 +31957,7 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31927
31957
|
const e = P(this, oa, Ou).call(this, t);
|
|
31928
31958
|
let i = f(this, Ht)[e].fore, n = () => {
|
|
31929
31959
|
};
|
|
31930
|
-
const s = f(this,
|
|
31960
|
+
const s = f(this, gn).isSkippingByKeyDown();
|
|
31931
31961
|
!s && "render" in t && (i.renderStart(), n = () => i.renderEnd());
|
|
31932
31962
|
const a = hT(t, i), o = K(t, "repeat", 1), u = (d = t.name) != null ? d : t.layer, h = new ba(i).to(a, K(t, "time", NaN) * (Boolean(this.val.getVal("tmp:sn.skip.enabled") || s) ? 0 : 1)).delay(K(t, "delay", 0)).easing(bs.ease(t.ease)).repeat(o === 0 ? 1 / 0 : o - 1).yoyo(dt(t, "yoyo", !1)).onComplete(() => {
|
|
31933
31963
|
var v, m;
|
|
@@ -31956,7 +31986,7 @@ ${t.id}` : (n = t.name) != null ? n : t.layer;
|
|
|
31956
31986
|
if (!e)
|
|
31957
31987
|
throw "\u30C8\u30A5\u30A4\u30FC\u30F3\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093";
|
|
31958
31988
|
const i = f(this, Gr)[e];
|
|
31959
|
-
return i != null && i.tw ? i.resume = f(this,
|
|
31989
|
+
return i != null && i.tw ? i.resume = f(this, gn).waitEvent(
|
|
31960
31990
|
() => {
|
|
31961
31991
|
var s;
|
|
31962
31992
|
return (s = i.tw) == null ? void 0 : s.end();
|
|
@@ -32003,13 +32033,13 @@ ${t.id}` : (i = t.name) != null ? i : t.layer;
|
|
|
32003
32033
|
const { layer: e } = t;
|
|
32004
32034
|
if (!e)
|
|
32005
32035
|
throw "[current] layer\u306F\u5FC5\u9808\u3067\u3059";
|
|
32006
|
-
if (C(this,
|
|
32036
|
+
if (C(this, _n, f(this, Ht)[e]), !(f(this, _n).getPage(t) instanceof Ne))
|
|
32007
32037
|
throw `${e}\u306FTxtLayer\u3067\u306F\u3042\u308A\u307E\u305B\u3093`;
|
|
32008
32038
|
return this.recText("", !0), C(this, Hi, e), this.val.setVal_Nochk("save", "const.sn.mesLayer", e), P(this, Pr, Jr).call(this).forEach((i) => {
|
|
32009
32039
|
const n = f(this, Ht)[i];
|
|
32010
32040
|
n.fore instanceof Ne && (n.fore.isCur = n.back.isCur = i === e);
|
|
32011
32041
|
}), !1;
|
|
32012
|
-
},
|
|
32042
|
+
}, _n = new WeakMap(), aa = new WeakMap(), oa = new WeakSet(), Ou = function(t, e = "") {
|
|
32013
32043
|
var n;
|
|
32014
32044
|
const i = (n = t.layer) != null ? n : e;
|
|
32015
32045
|
if (i.includes(","))
|
|
@@ -32023,7 +32053,7 @@ ${t.id}` : (i = t.name) != null ? i : t.layer;
|
|
|
32023
32053
|
}, k0 = new WeakSet(), s2 = function(t) {
|
|
32024
32054
|
return f(this, ni).call(this, "endlink\uFF5C", f(this, mi).call(this, t)), !1;
|
|
32025
32055
|
}, B0 = new WeakSet(), a2 = function(t) {
|
|
32026
|
-
return dt(t, "rec_page_break", !0) && this.recText("", !0), f(this,
|
|
32056
|
+
return dt(t, "rec_page_break", !0) && this.recText("", !0), f(this, _n) && (f(this, _n).fore.clearLay(t), f(this, _n).back.clearLay(t)), !1;
|
|
32027
32057
|
}, L0 = new WeakSet(), o2 = function(t) {
|
|
32028
32058
|
if (!t.pic)
|
|
32029
32059
|
throw "[graph] pic\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -32218,7 +32248,7 @@ var Xr = "top", Ci = "bottom", Ii = "right", Wr = "left", Yg = "auto", yd = [Xr,
|
|
|
32218
32248
|
}, []), x2 = /* @__PURE__ */ [].concat(yd, [Yg]).reduce(function(r, t) {
|
|
32219
32249
|
return r.concat([t, t + "-" + El, t + "-" + Yc]);
|
|
32220
32250
|
}, []), BU = "beforeRead", LU = "read", DU = "afterRead", UU = "beforeMain", GU = "main", HU = "afterMain", zU = "beforeWrite", jU = "write", $U = "afterWrite", nb = [BU, LU, DU, UU, GU, HU, zU, jU, $U];
|
|
32221
|
-
function
|
|
32251
|
+
function Mn(r) {
|
|
32222
32252
|
return r ? (r.nodeName || "").toLowerCase() : null;
|
|
32223
32253
|
}
|
|
32224
32254
|
function Si(r) {
|
|
@@ -32248,7 +32278,7 @@ function VU(r) {
|
|
|
32248
32278
|
var t = r.state;
|
|
32249
32279
|
Object.keys(t.elements).forEach(function(e) {
|
|
32250
32280
|
var i = t.styles[e] || {}, n = t.attributes[e] || {}, s = t.elements[e];
|
|
32251
|
-
!hi(s) || !
|
|
32281
|
+
!hi(s) || !Mn(s) || (Object.assign(s.style, i), Object.keys(n).forEach(function(a) {
|
|
32252
32282
|
var o = n[a];
|
|
32253
32283
|
o === !1 ? s.removeAttribute(a) : s.setAttribute(a, o === !0 ? "" : o);
|
|
32254
32284
|
}));
|
|
@@ -32272,7 +32302,7 @@ function XU(r) {
|
|
|
32272
32302
|
var n = t.elements[i], s = t.attributes[i] || {}, a = Object.keys(t.styles.hasOwnProperty(i) ? t.styles[i] : e[i]), o = a.reduce(function(u, h) {
|
|
32273
32303
|
return u[h] = "", u;
|
|
32274
32304
|
}, {});
|
|
32275
|
-
!hi(n) || !
|
|
32305
|
+
!hi(n) || !Mn(n) || (Object.assign(n.style, o), Object.keys(s).forEach(function(u) {
|
|
32276
32306
|
n.removeAttribute(u);
|
|
32277
32307
|
}));
|
|
32278
32308
|
});
|
|
@@ -32342,13 +32372,13 @@ function en(r) {
|
|
|
32342
32372
|
return Si(r).getComputedStyle(r);
|
|
32343
32373
|
}
|
|
32344
32374
|
function YU(r) {
|
|
32345
|
-
return ["table", "td", "th"].indexOf(
|
|
32375
|
+
return ["table", "td", "th"].indexOf(Mn(r)) >= 0;
|
|
32346
32376
|
}
|
|
32347
32377
|
function Ma(r) {
|
|
32348
32378
|
return ((iu(r) ? r.ownerDocument : r.document) || window.document).documentElement;
|
|
32349
32379
|
}
|
|
32350
32380
|
function qg(r) {
|
|
32351
|
-
return
|
|
32381
|
+
return Mn(r) === "html" ? r : r.assignedSlot || r.parentNode || (R1(r) ? r.host : null) || Ma(r);
|
|
32352
32382
|
}
|
|
32353
32383
|
function Xw(r) {
|
|
32354
32384
|
return !hi(r) || en(r).position === "fixed" ? null : r.offsetParent;
|
|
@@ -32361,7 +32391,7 @@ function qU(r) {
|
|
|
32361
32391
|
return null;
|
|
32362
32392
|
}
|
|
32363
32393
|
var n = qg(r);
|
|
32364
|
-
for (R1(n) && (n = n.host); hi(n) && ["html", "body"].indexOf(
|
|
32394
|
+
for (R1(n) && (n = n.host); hi(n) && ["html", "body"].indexOf(Mn(n)) < 0; ) {
|
|
32365
32395
|
var s = en(n);
|
|
32366
32396
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
|
|
32367
32397
|
return n;
|
|
@@ -32372,7 +32402,7 @@ function qU(r) {
|
|
|
32372
32402
|
function bd(r) {
|
|
32373
32403
|
for (var t = Si(r), e = Xw(r); e && YU(e) && en(e).position === "static"; )
|
|
32374
32404
|
e = Xw(e);
|
|
32375
|
-
return e && (
|
|
32405
|
+
return e && (Mn(e) === "html" || Mn(e) === "body" && en(e).position === "static") ? t : e || qU(r) || t;
|
|
32376
32406
|
}
|
|
32377
32407
|
function P1(r) {
|
|
32378
32408
|
return ["top", "bottom"].indexOf(r) >= 0 ? "x" : "y";
|
|
@@ -32606,7 +32636,7 @@ function A1(r) {
|
|
|
32606
32636
|
return /auto|scroll|overlay|hidden/.test(e + n + i);
|
|
32607
32637
|
}
|
|
32608
32638
|
function R2(r) {
|
|
32609
|
-
return ["html", "body", "#document"].indexOf(
|
|
32639
|
+
return ["html", "body", "#document"].indexOf(Mn(r)) >= 0 ? r.ownerDocument.body : hi(r) && A1(r) ? r : R2(qg(r));
|
|
32610
32640
|
}
|
|
32611
32641
|
function Sc(r, t) {
|
|
32612
32642
|
var e;
|
|
@@ -32632,7 +32662,7 @@ function qw(r, t, e) {
|
|
|
32632
32662
|
function fG(r) {
|
|
32633
32663
|
var t = Sc(qg(r)), e = ["absolute", "fixed"].indexOf(en(r).position) >= 0, i = e && hi(r) ? bd(r) : r;
|
|
32634
32664
|
return iu(i) ? t.filter(function(n) {
|
|
32635
|
-
return iu(n) && w2(n, i) &&
|
|
32665
|
+
return iu(n) && w2(n, i) && Mn(n) !== "body";
|
|
32636
32666
|
}) : [];
|
|
32637
32667
|
}
|
|
32638
32668
|
function dG(r, t, e, i) {
|
|
@@ -32941,7 +32971,7 @@ function OG(r, t, e) {
|
|
|
32941
32971
|
x: 0,
|
|
32942
32972
|
y: 0
|
|
32943
32973
|
};
|
|
32944
|
-
return (i || !i && !e) && ((
|
|
32974
|
+
return (i || !i && !e) && ((Mn(t) !== "body" || A1(s)) && (o = PG(t)), hi(t) ? (u = Tl(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : s && (u.x = O1(s))), {
|
|
32945
32975
|
x: a.left + o.scrollLeft - u.x,
|
|
32946
32976
|
y: a.top + o.scrollTop - u.y,
|
|
32947
32977
|
width: a.width,
|
|
@@ -33187,7 +33217,7 @@ var HG = [aG, TG, nG, WU, EG, mG, RG, tG, yG], zG = /* @__PURE__ */ GG({
|
|
|
33187
33217
|
defaultModifiers: HG
|
|
33188
33218
|
});
|
|
33189
33219
|
const { GamepadListener: jG } = require("gamepad.js");
|
|
33190
|
-
var
|
|
33220
|
+
var yn, ua, br, Bf, Lf, ob, Df, ub, Uf, hb, zh, jh, Gf, lb, Ae, _i, as, os, Hf, ha, Au, zf, jf, Nr, $h, Vh, $f, Z0, P2, Vf, No, J0, N2, Xf, cb, K0, O2, Wf, fb, Oo, hc, Ao, Q0, A2, tg, F2, yi, eg, M2, rg, k2, Xh, Zp, us, Fo, Mo, ig, B2, Or;
|
|
33191
33221
|
class $G {
|
|
33192
33222
|
constructor(t, e, i, n, s, a, o, u, h) {
|
|
33193
33223
|
I(this, Lf);
|
|
@@ -33207,7 +33237,7 @@ class $G {
|
|
|
33207
33237
|
I(this, rg);
|
|
33208
33238
|
I(this, Xh);
|
|
33209
33239
|
I(this, ig);
|
|
33210
|
-
I(this,
|
|
33240
|
+
I(this, yn, new py());
|
|
33211
33241
|
I(this, ua, new jG({
|
|
33212
33242
|
analog: !1,
|
|
33213
33243
|
deadZone: 0.3
|
|
@@ -33318,7 +33348,7 @@ class $G {
|
|
|
33318
33348
|
<div class="sn_hint" role="tooltip">
|
|
33319
33349
|
<span>Dummy</span>
|
|
33320
33350
|
<div class="sn_hint_ar" data-popper-arrow></div>
|
|
33321
|
-
</div>`), C(this, Nr, document.querySelector(".sn_hint")), C(this, $h, f(this, Nr).querySelector("span")), C(this, Vh, zG(f(this, jf), f(this, Nr))), f(this, Nr).hidden = !0, i.stage.interactive = !0, W.isMobile ? i.stage.on("pointerdown", (v) => this.fire("click", v)) : f(this,
|
|
33351
|
+
</div>`), C(this, Nr, document.querySelector(".sn_hint")), C(this, $h, f(this, Nr).querySelector("span")), C(this, Vh, zG(f(this, jf), f(this, Nr))), f(this, Nr).hidden = !0, i.stage.interactive = !0, W.isMobile ? i.stage.on("pointerdown", (v) => this.fire("click", v)) : f(this, yn).add(i.stage, "pointerdown", (v) => {
|
|
33322
33352
|
switch (v.data.button) {
|
|
33323
33353
|
case 0:
|
|
33324
33354
|
this.fire("click", v);
|
|
@@ -33327,13 +33357,13 @@ class $G {
|
|
|
33327
33357
|
this.fire("middleclick", v);
|
|
33328
33358
|
break;
|
|
33329
33359
|
}
|
|
33330
|
-
}), f(this,
|
|
33360
|
+
}), f(this, yn).add(window, "keydown", (v) => P(this, Lf, ob).call(this, v)), f(this, yn).add(i.view, "contextmenu", (v) => P(this, Df, ub).call(this, v));
|
|
33331
33361
|
const l = (v) => {
|
|
33332
33362
|
W.isDarkMode = v.matches, a.setVal_Nochk("tmp", "const.sn.isDarkMode", W.isDarkMode);
|
|
33333
33363
|
}, c = globalThis.matchMedia("(prefers-color-scheme: dark)");
|
|
33334
33364
|
l(c), c.addEventListener("change", (v) => {
|
|
33335
33365
|
l(v), this.fire("sn:chgDarkMode", v);
|
|
33336
|
-
}), "WheelEvent" in window && (f(this,
|
|
33366
|
+
}), "WheelEvent" in window && (f(this, yn).add(i.view, "wheel", (v) => P(this, Uf, hb).call(this, v), { passive: !0 }), C(this, Bf, (v) => v.addEventListener("wheel", (m) => P(this, Uf, hb).call(this, m), { passive: !0 })), C(this, Vf, (v, m) => v.add(i.view, "wheel", (_) => {
|
|
33337
33367
|
_.isComposing || _.deltaY <= 0 || (_.stopPropagation(), m());
|
|
33338
33368
|
}))), W.debugLog && (f(this, ua).on("gamepad:connected", (v) => console.log(`\u{1F47A}<'gamepad:connected' index:${v.detail.index} id:${v.detail.gamepad.id}`)), f(this, ua).on("gamepad:disconnected", (v) => console.log(`\u{1F47A}<'gamepad:disconnected' index:${v.detail.index} id:${v.detail.gamepad.id}`)));
|
|
33339
33369
|
const d = [
|
|
@@ -33363,7 +33393,7 @@ class $G {
|
|
|
33363
33393
|
(!m || m instanceof ve ? globalThis : m).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
|
|
33364
33394
|
} else
|
|
33365
33395
|
i.view.dispatchEvent(new Event("contextmenu"));
|
|
33366
|
-
}), f(this, ua).start(), f(this,
|
|
33396
|
+
}), f(this, ua).start(), f(this, yn).add(window, "keyup", (v) => {
|
|
33367
33397
|
v.isComposing || v.key in f(this, Or) && (f(this, Or)[v.key] = 0);
|
|
33368
33398
|
}), a.defTmp("const.sn.key.alternate", () => f(this, Or).Alt > 0), a.defTmp("const.sn.key.command", () => f(this, Or).Meta > 0), a.defTmp("const.sn.key.control", () => f(this, Or).Control > 0), a.defTmp("const.sn.key.end", () => f(this, Or).End > 0), a.defTmp("const.sn.key.escape", () => f(this, Or).Escape > 0), a.defTmp("const.sn.key.back", () => f(this, Or).GoBack > 0);
|
|
33369
33399
|
}
|
|
@@ -33371,7 +33401,7 @@ class $G {
|
|
|
33371
33401
|
t.addEventListener("keydown", (e) => P(this, Lf, ob).call(this, e)), t.addEventListener("contextmenu", (e) => P(this, Df, ub).call(this, e)), f(this, Bf).call(this, t);
|
|
33372
33402
|
}
|
|
33373
33403
|
destroy() {
|
|
33374
|
-
f(this, br).destroy(), f(this,
|
|
33404
|
+
f(this, br).destroy(), f(this, yn).clear();
|
|
33375
33405
|
}
|
|
33376
33406
|
fire(t, e) {
|
|
33377
33407
|
var s;
|
|
@@ -33483,7 +33513,7 @@ class $G {
|
|
|
33483
33513
|
return !1;
|
|
33484
33514
|
}
|
|
33485
33515
|
}
|
|
33486
|
-
|
|
33516
|
+
yn = new WeakMap(), ua = new WeakMap(), br = new WeakMap(), Bf = new WeakMap(), Lf = new WeakSet(), ob = function(t) {
|
|
33487
33517
|
if (t.isComposing)
|
|
33488
33518
|
return;
|
|
33489
33519
|
t.key in f(this, Or) && (f(this, Or)[t.key] = t.repeat ? 2 : 1);
|
|
@@ -33582,7 +33612,7 @@ _n = new WeakMap(), ua = new WeakMap(), br = new WeakMap(), Bf = new WeakMap(),
|
|
|
33582
33612
|
break;
|
|
33583
33613
|
}
|
|
33584
33614
|
h.forEach((c, d) => u.el.forEach((p) => {
|
|
33585
|
-
f(this,
|
|
33615
|
+
f(this, yn).add(p, c, (g) => {
|
|
33586
33616
|
if (!f(this, os) || this.layMng.getFrmDisabled(u.id) || c === "keydown" && g.key !== "Enter")
|
|
33587
33617
|
return;
|
|
33588
33618
|
const v = p.dataset;
|
|
@@ -33711,7 +33741,7 @@ class rT {
|
|
|
33711
33741
|
this.fn = t, this.idx = e, this.csArg = i, this.toString = () => `[fn:${this.fn}, idx:${this.idx}, csArg:${this.csArg}]`;
|
|
33712
33742
|
}
|
|
33713
33743
|
}
|
|
33714
|
-
var Nt, Wt, vt, ce, le, hs, Yf, db, la, ko, ng, ls, qf, pb, Zf, vb, Wh, ca, Mu, Bo, lc, Lo, cs, Fe, sg, L2, Do, cc, ag, D2, Yh, qh, si, og, U2, ug, G2, fs, Za, hg, H2, fa, da, Zh, Jh, Kh, Hr, lg, z2, cg, j2, fg, $2, Jf, gb, dg, V2, pg, X2, vg, W2, Kf, mb, Qh, Uo, fc, pa, ds, Ja, Qf, _b, tl, td, yb, ed, rd, el, va, rl, gg, Y2, Ar, mg, q2, id, bb, nd, sd, ad, _g, Z2,
|
|
33744
|
+
var Nt, Wt, vt, ce, le, hs, Yf, db, la, ko, ng, ls, qf, pb, Zf, vb, Wh, ca, Mu, Bo, lc, Lo, cs, Fe, sg, L2, Do, cc, ag, D2, Yh, qh, si, og, U2, ug, G2, fs, Za, hg, H2, fa, da, Zh, Jh, Kh, Hr, lg, z2, cg, j2, fg, $2, Jf, gb, dg, V2, pg, X2, vg, W2, Kf, mb, Qh, Uo, fc, pa, ds, Ja, Qf, _b, tl, td, yb, ed, rd, el, va, rl, gg, Y2, Ar, mg, q2, id, bb, nd, sd, ad, _g, Z2, bn, od, xb, yg, J2, bg, K2, xg, Q2, il, Go, Eg, tS, nl, Jp, Ho, wg, eS, bi, Tg, rS, sl, Kp, Cg, iS, xi, dr;
|
|
33715
33745
|
const Kr = class {
|
|
33716
33746
|
constructor(t, e, i, n, s, a, o, u, h) {
|
|
33717
33747
|
I(this, Yf);
|
|
@@ -33784,7 +33814,7 @@ const Kr = class {
|
|
|
33784
33814
|
I(this, nd, void 0);
|
|
33785
33815
|
I(this, sd, void 0);
|
|
33786
33816
|
I(this, ad, void 0);
|
|
33787
|
-
I(this,
|
|
33817
|
+
I(this, bn, void 0);
|
|
33788
33818
|
I(this, il, void 0);
|
|
33789
33819
|
I(this, Go, void 0);
|
|
33790
33820
|
I(this, Ho, void 0);
|
|
@@ -33856,7 +33886,7 @@ const Kr = class {
|
|
|
33856
33886
|
}
|
|
33857
33887
|
}
|
|
33858
33888
|
f(this, Nt).len = f(this, Nt).aToken.length;
|
|
33859
|
-
}), C(this,
|
|
33889
|
+
}), C(this, bn, !1), C(this, il, "call"), C(this, Go, /\[(call)\b/), C(this, Ho, !1), C(this, bi, {
|
|
33860
33890
|
hSave: {},
|
|
33861
33891
|
hPages: {},
|
|
33862
33892
|
aIfStk: [-1]
|
|
@@ -33981,7 +34011,7 @@ const Kr = class {
|
|
|
33981
34011
|
C(this, vt, t.idx), C(this, ce, t.ln), this.runAnalyze();
|
|
33982
34012
|
}
|
|
33983
34013
|
get isKidoku() {
|
|
33984
|
-
return f(this,
|
|
34014
|
+
return f(this, bn);
|
|
33985
34015
|
}
|
|
33986
34016
|
get isNextKidoku() {
|
|
33987
34017
|
let t = f(this, Wt), e = f(this, vt), i = f(this, Nt).len;
|
|
@@ -33995,7 +34025,7 @@ const Kr = class {
|
|
|
33995
34025
|
return !n || e === i ? !1 : n.search(e);
|
|
33996
34026
|
}
|
|
33997
34027
|
get normalWait() {
|
|
33998
|
-
return f(this,
|
|
34028
|
+
return f(this, bn) ? this.val.getVal("sys:sn.tagCh.doWait_Kidoku") ? li(this.val.getVal("sys:sn.tagCh.msecWait_Kidoku")) : 0 : this.val.getVal("sys:sn.tagCh.doWait") ? li(this.val.getVal("sys:sn.tagCh.msecWait")) : 0;
|
|
33999
34029
|
}
|
|
34000
34030
|
get skip4page() {
|
|
34001
34031
|
return f(this, Ho);
|
|
@@ -34421,10 +34451,10 @@ Nt = new WeakMap(), Wt = new WeakMap(), vt = new WeakMap(), ce = new WeakMap(),
|
|
|
34421
34451
|
t.record(f(this, vt));
|
|
34422
34452
|
return;
|
|
34423
34453
|
}
|
|
34424
|
-
C(this,
|
|
34425
|
-
},
|
|
34454
|
+
C(this, bn, t.search(f(this, vt))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", f(this, bn)), !f(this, bn) && t.record(f(this, vt));
|
|
34455
|
+
}, bn = new WeakMap(), od = new WeakSet(), xb = function() {
|
|
34426
34456
|
var t;
|
|
34427
|
-
(t = this.val.getAreaKidoku(f(this, Wt))) == null || t.erase(f(this, vt)), C(this,
|
|
34457
|
+
(t = this.val.getAreaKidoku(f(this, Wt))) == null || t.erase(f(this, vt)), C(this, bn, !1);
|
|
34428
34458
|
}, yg = new WeakSet(), J2 = function(t) {
|
|
34429
34459
|
return f(this, hs).bracket2macro(t, f(this, Nt), f(this, vt)), !1;
|
|
34430
34460
|
}, bg = new WeakSet(), K2 = function(t) {
|