@famibee/skynovel 1.32.2 → 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 +349 -345
- package/dist/app.js.map +1 -1
- package/dist/appMain.js +12 -12
- package/dist/appMain.js.map +1 -1
- package/dist/sn/RubySpliter.d.ts.map +1 -1
- package/dist/web.js +141 -137
- package/dist/web.js.map +1 -1
- package/package.json +2 -2
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)
|
|
@@ -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,7 +4452,7 @@ 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
|
|
@@ -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 = "~";
|
|
@@ -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) {
|
|
@@ -6016,7 +6020,7 @@ var ke = {
|
|
|
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
|
}
|
|
@@ -8271,7 +8275,7 @@ void main(void){
|
|
|
8271
8275
|
function r(t, e, i) {
|
|
8272
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 + `
|
|
8273
8277
|
` + this.vertexSrc, this.fragmentSrc = "#define SHADER_NAME " + i + `
|
|
8274
|
-
` + 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;
|
|
8275
8279
|
}
|
|
8276
8280
|
return Object.defineProperty(r, "defaultVertexSrc", {
|
|
8277
8281
|
get: function() {
|
|
@@ -8429,7 +8433,7 @@ void main(void)
|
|
|
8429
8433
|
gl_Position = filterVertexPosition();
|
|
8430
8434
|
vTextureCoord = filterTextureCoord();
|
|
8431
8435
|
}
|
|
8432
|
-
`,
|
|
8436
|
+
`, On = function(r) {
|
|
8433
8437
|
Re(t, r);
|
|
8434
8438
|
function t(e, i, n) {
|
|
8435
8439
|
var s = this, a = cd.from(e || t.defaultVertexSrc, i || t.defaultFragmentSrc);
|
|
@@ -8560,7 +8564,7 @@ void main(void)
|
|
|
8560
8564
|
var a = this._maskSprite, o = a._texture;
|
|
8561
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));
|
|
8562
8566
|
}, t;
|
|
8563
|
-
}(
|
|
8567
|
+
}(On), wF = function() {
|
|
8564
8568
|
function r(t) {
|
|
8565
8569
|
this.renderer = t, this.enableScissor = !0, this.alphaMaskPool = [], this.maskDataPool = [], this.maskStack = [], this.alphaMaskIndex = 0;
|
|
8566
8570
|
}
|
|
@@ -9223,7 +9227,7 @@ var dm = function() {
|
|
|
9223
9227
|
function t(e, i) {
|
|
9224
9228
|
e === void 0 && (e = Ac.UNKNOWN);
|
|
9225
9229
|
var n = r.call(this) || this;
|
|
9226
|
-
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;
|
|
9227
9231
|
}
|
|
9228
9232
|
return t.prototype.initPlugins = function(e) {
|
|
9229
9233
|
for (var i in e)
|
|
@@ -9245,7 +9249,7 @@ var dm = function() {
|
|
|
9245
9249
|
var n = this.view.width / this.resolution, s = this.view.height / this.resolution;
|
|
9246
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);
|
|
9247
9251
|
}, t.prototype.generateTexture = function(e, i, n, s) {
|
|
9248
|
-
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 });
|
|
9249
9253
|
var a = i.region, o = AA(i, ["region"]);
|
|
9250
9254
|
s = a || e.getLocalBounds(null, !0), s.width === 0 && (s.width = 1), s.height === 0 && (s.height = 1);
|
|
9251
9255
|
var u = Yi.create(I_({ width: s.width, height: s.height }, o));
|
|
@@ -9376,7 +9380,7 @@ var dm = function() {
|
|
|
9376
9380
|
return this;
|
|
9377
9381
|
}, t.prototype.render = function(e, i) {
|
|
9378
9382
|
var n, s, a, o;
|
|
9379
|
-
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) {
|
|
9380
9384
|
if (n || (this._lastObjectRendered = e), !o) {
|
|
9381
9385
|
var u = e.enableTempParent();
|
|
9382
9386
|
e.updateTransform(), e.disableTempParent(u);
|
|
@@ -9400,12 +9404,12 @@ var dm = function() {
|
|
|
9400
9404
|
r.prototype.destroy.call(this, e), this.gl = null;
|
|
9401
9405
|
}, Object.defineProperty(t.prototype, "extract", {
|
|
9402
9406
|
get: function() {
|
|
9403
|
-
return
|
|
9407
|
+
return Rn("6.0.0", "Renderer#extract has been deprecated, please use Renderer#plugins.extract instead."), this.plugins.extract;
|
|
9404
9408
|
},
|
|
9405
9409
|
enumerable: !1,
|
|
9406
9410
|
configurable: !0
|
|
9407
9411
|
}), t.registerPlugin = function(e, i) {
|
|
9408
|
-
|
|
9412
|
+
Rn("6.5.0", "Renderer.registerPlugin() has been deprecated, please use extensions.add() instead."), Rs.add({
|
|
9409
9413
|
name: e,
|
|
9410
9414
|
type: ge.RendererPlugin,
|
|
9411
9415
|
ref: i
|
|
@@ -10180,7 +10184,7 @@ var lM = function() {
|
|
|
10180
10184
|
}
|
|
10181
10185
|
return this.resources = {}, this;
|
|
10182
10186
|
}, r.prototype.load = function(t) {
|
|
10183
|
-
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)
|
|
10184
10188
|
return this;
|
|
10185
10189
|
if (this._queue.idle())
|
|
10186
10190
|
this._onStart(), this._onComplete();
|
|
@@ -10236,7 +10240,7 @@ var lM = function() {
|
|
|
10236
10240
|
enumerable: !1,
|
|
10237
10241
|
configurable: !0
|
|
10238
10242
|
}), r.registerPlugin = function(t) {
|
|
10239
|
-
return
|
|
10243
|
+
return Rn("6.5.0", "Loader.registerPlugin() is deprecated, use extensions.add() instead."), Rs.add({
|
|
10240
10244
|
type: ge.Loader,
|
|
10241
10245
|
ref: t
|
|
10242
10246
|
}), r;
|
|
@@ -12159,7 +12163,7 @@ var jM = {
|
|
|
12159
12163
|
Je.mixin(jM);
|
|
12160
12164
|
var $M = 9, Hd = 100, VM = 0, XM = 0, cE = 2, fE = 1, WM = -1e3, YM = -1e3, qM = 2, ZM = function() {
|
|
12161
12165
|
function r(t) {
|
|
12162
|
-
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();
|
|
12163
12167
|
var e = document.createElement("div");
|
|
12164
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);
|
|
12165
12169
|
}
|
|
@@ -12198,7 +12202,7 @@ var $M = 9, Hd = 100, VM = 0, XM = 0, cE = 2, fE = 1, WM = -1e3, YM = -1e3, qM =
|
|
|
12198
12202
|
}
|
|
12199
12203
|
}, r.prototype.update = function() {
|
|
12200
12204
|
var t = performance.now();
|
|
12201
|
-
if (!(
|
|
12205
|
+
if (!(wn.android.device && t < this.androidUpdateCount) && (this.androidUpdateCount = t + this.androidUpdateFrequency, !!this.renderer.renderingToScreen)) {
|
|
12202
12206
|
this.renderer._lastObjectRendered && this.updateAccessibleObjects(this.renderer._lastObjectRendered);
|
|
12203
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;
|
|
12204
12208
|
p.style.left = i + "px", p.style.top = n + "px", p.style.width = u + "px", p.style.height = h + "px";
|
|
@@ -13070,7 +13074,7 @@ function wk(r) {
|
|
|
13070
13074
|
}
|
|
13071
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!");
|
|
13072
13076
|
}
|
|
13073
|
-
var Os,
|
|
13077
|
+
var Os, Gn, Ul, mE = [171, 75, 84, 88, 32, 49, 49, 187, 13, 10, 26, 10], Tk = 67305985, Ni = {
|
|
13074
13078
|
FILE_IDENTIFIER: 0,
|
|
13075
13079
|
ENDIANNESS: 12,
|
|
13076
13080
|
GL_TYPE: 16,
|
|
@@ -13085,7 +13089,7 @@ var Os, Un, Ul, mE = [171, 75, 84, 88, 32, 49, 49, 187, 13, 10, 26, 10], Tk = 67
|
|
|
13085
13089
|
NUMBER_OF_FACES: 52,
|
|
13086
13090
|
NUMBER_OF_MIPMAP_LEVELS: 56,
|
|
13087
13091
|
BYTES_OF_KEY_VALUE_DATA: 60
|
|
13088
|
-
}, 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);
|
|
13089
13093
|
function Rk(r, t, e) {
|
|
13090
13094
|
e === void 0 && (e = !1);
|
|
13091
13095
|
var i = new DataView(t);
|
|
@@ -14777,7 +14781,7 @@ function Pm(r, t, e) {
|
|
|
14777
14781
|
for (var i in e)
|
|
14778
14782
|
Array.isArray(t[i]) ? r[i] = t[i].slice() : r[i] = t[i];
|
|
14779
14783
|
}
|
|
14780
|
-
var
|
|
14784
|
+
var kn = function() {
|
|
14781
14785
|
function r(t, e, i, n, s, a, o, u, h) {
|
|
14782
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;
|
|
14783
14787
|
}
|
|
@@ -14946,16 +14950,16 @@ var Mn = function() {
|
|
|
14946
14950
|
configurable: !0
|
|
14947
14951
|
}), r;
|
|
14948
14952
|
}();
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
|
|
14952
|
-
|
|
14953
|
-
|
|
14954
|
-
|
|
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 = [
|
|
14955
14959
|
10,
|
|
14956
14960
|
13
|
|
14957
14961
|
];
|
|
14958
|
-
|
|
14962
|
+
kn._breakingSpaces = [
|
|
14959
14963
|
9,
|
|
14960
14964
|
32,
|
|
14961
14965
|
8192,
|
|
@@ -14987,7 +14991,7 @@ var Jk = {
|
|
|
14987
14991
|
var i = this._style;
|
|
14988
14992
|
if (this.localStyleID !== i.styleID && (this.dirty = !0, this.localStyleID = i.styleID), !(!this.dirty && e)) {
|
|
14989
14993
|
this._font = this._style.toFontString();
|
|
14990
|
-
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;
|
|
14991
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;
|
|
14992
14996
|
for (var p, g, v = i.dropShadow ? 2 : 1, m = 0; m < v; ++m) {
|
|
14993
14997
|
var _ = i.dropShadow && m === 0, y = _ ? Math.ceil(Math.max(1, o) + i.padding * 2) : 0, b = y * this._resolution;
|
|
@@ -15200,7 +15204,7 @@ function iB(r, t) {
|
|
|
15200
15204
|
function nB(r, t) {
|
|
15201
15205
|
if (t instanceof Qo) {
|
|
15202
15206
|
var e = t.toFontString();
|
|
15203
|
-
return
|
|
15207
|
+
return kn.measureFont(e), !0;
|
|
15204
15208
|
}
|
|
15205
15209
|
return !1;
|
|
15206
15210
|
}
|
|
@@ -15224,7 +15228,7 @@ var oB = function() {
|
|
|
15224
15228
|
}
|
|
15225
15229
|
return r.prototype.upload = function(t, e) {
|
|
15226
15230
|
var i = this;
|
|
15227
|
-
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) {
|
|
15228
15232
|
t && i.add(t);
|
|
15229
15233
|
var s = function() {
|
|
15230
15234
|
e == null || e(), n();
|
|
@@ -15316,7 +15320,7 @@ var cB = function() {
|
|
|
15316
15320
|
return i === null && (i = e !== void 0 ? parseFloat(e) : 1), i !== 1 && this.baseTexture.setResolution(i), i;
|
|
15317
15321
|
}, r.prototype.parse = function(t) {
|
|
15318
15322
|
var e = this;
|
|
15319
|
-
return t &&
|
|
15323
|
+
return t && Rn("6.5.0", "Spritesheet.parse callback is deprecated, use the return Promise instead."), new Promise(function(i) {
|
|
15320
15324
|
e._callback = function(n) {
|
|
15321
15325
|
t == null || t(n), i(n);
|
|
15322
15326
|
}, e._batchIndex = 0, e._frameKeys.length <= r.BATCH_SIZE ? (e._processFrames(0), e._processAnimations(), e._parseComplete()) : e._nextBatch();
|
|
@@ -16213,7 +16217,7 @@ var Iu = function() {
|
|
|
16213
16217
|
id: x.length - 1,
|
|
16214
16218
|
file: ""
|
|
16215
16219
|
}));
|
|
16216
|
-
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);
|
|
16217
16221
|
if (v >= h - T * o) {
|
|
16218
16222
|
if (v === 0)
|
|
16219
16223
|
throw new Error("[BitmapFont] textureHeight " + h + "px is " + ("too small for " + c.fontSize + "px fonts"));
|
|
@@ -16650,7 +16654,7 @@ void main(void)
|
|
|
16650
16654
|
enumerable: !1,
|
|
16651
16655
|
configurable: !0
|
|
16652
16656
|
}), t;
|
|
16653
|
-
})(
|
|
16657
|
+
})(On);
|
|
16654
16658
|
/*!
|
|
16655
16659
|
* @pixi/filter-blur - v6.5.3
|
|
16656
16660
|
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
@@ -16883,7 +16887,7 @@ var qE = function(r) {
|
|
|
16883
16887
|
enumerable: !1,
|
|
16884
16888
|
configurable: !0
|
|
16885
16889
|
}), t;
|
|
16886
|
-
}(
|
|
16890
|
+
}(On);
|
|
16887
16891
|
(function(r) {
|
|
16888
16892
|
$C(t, r);
|
|
16889
16893
|
function t(e, i, n, s) {
|
|
@@ -16955,7 +16959,7 @@ var qE = function(r) {
|
|
|
16955
16959
|
enumerable: !1,
|
|
16956
16960
|
configurable: !0
|
|
16957
16961
|
}), t;
|
|
16958
|
-
})(
|
|
16962
|
+
})(On);
|
|
16959
16963
|
/*!
|
|
16960
16964
|
* @pixi/filter-color-matrix - v6.5.3
|
|
16961
16965
|
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
@@ -17588,7 +17592,7 @@ void main(void)
|
|
|
17588
17592
|
enumerable: !1,
|
|
17589
17593
|
configurable: !0
|
|
17590
17594
|
}), t;
|
|
17591
|
-
}(
|
|
17595
|
+
}(On);
|
|
17592
17596
|
ZE.prototype.grayscale = ZE.prototype.greyscale;
|
|
17593
17597
|
/*!
|
|
17594
17598
|
* @pixi/filter-displacement - v6.5.3
|
|
@@ -17701,7 +17705,7 @@ void main(void)
|
|
|
17701
17705
|
enumerable: !1,
|
|
17702
17706
|
configurable: !0
|
|
17703
17707
|
}), t;
|
|
17704
|
-
})(
|
|
17708
|
+
})(On);
|
|
17705
17709
|
/*!
|
|
17706
17710
|
* @pixi/filter-fxaa - v6.5.3
|
|
17707
17711
|
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
@@ -17908,7 +17912,7 @@ void main() {
|
|
|
17908
17912
|
return r.call(this, VB, XB) || this;
|
|
17909
17913
|
}
|
|
17910
17914
|
return t;
|
|
17911
|
-
})(
|
|
17915
|
+
})(On);
|
|
17912
17916
|
/*!
|
|
17913
17917
|
* @pixi/filter-noise - v6.5.3
|
|
17914
17918
|
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
@@ -18009,7 +18013,7 @@ void main()
|
|
|
18009
18013
|
enumerable: !1,
|
|
18010
18014
|
configurable: !0
|
|
18011
18015
|
}), t;
|
|
18012
|
-
})(
|
|
18016
|
+
})(On);
|
|
18013
18017
|
/*!
|
|
18014
18018
|
* @pixi/mixin-cache-as-bitmap - v6.5.3
|
|
18015
18019
|
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
@@ -18392,7 +18396,7 @@ var JB = {
|
|
|
18392
18396
|
fetch: function(r, t) {
|
|
18393
18397
|
return fetch(r, t);
|
|
18394
18398
|
}
|
|
18395
|
-
}, 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) {
|
|
18396
18400
|
return typeof r < "u" && r.platform === "MacIntel" && typeof r.maxTouchPoints == "number" && r.maxTouchPoints > 1 && typeof MSStream > "u";
|
|
18397
18401
|
};
|
|
18398
18402
|
function KB(r) {
|
|
@@ -18419,11 +18423,11 @@ function QB(r) {
|
|
|
18419
18423
|
typeof i[1] < "u" && (e = i[0]), i = e.split("Twitter"), typeof i[1] < "u" && (e = i[0]);
|
|
18420
18424
|
var n = KB(e), s = {
|
|
18421
18425
|
apple: {
|
|
18422
|
-
phone: n(Am) && !n(
|
|
18426
|
+
phone: n(Am) && !n(Hn),
|
|
18423
18427
|
ipod: n(N3),
|
|
18424
|
-
tablet: !n(Am) && (n(O3) || G3(t)) && !n(
|
|
18428
|
+
tablet: !n(Am) && (n(O3) || G3(t)) && !n(Hn),
|
|
18425
18429
|
universal: n(A3),
|
|
18426
|
-
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)
|
|
18427
18431
|
},
|
|
18428
18432
|
amazon: {
|
|
18429
18433
|
phone: n(mu),
|
|
@@ -18431,14 +18435,14 @@ function QB(r) {
|
|
|
18431
18435
|
device: n(mu) || n(Zd)
|
|
18432
18436
|
},
|
|
18433
18437
|
android: {
|
|
18434
|
-
phone: !n(
|
|
18435
|
-
tablet: !n(
|
|
18436
|
-
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)
|
|
18437
18441
|
},
|
|
18438
18442
|
windows: {
|
|
18439
|
-
phone: n(
|
|
18443
|
+
phone: n(Hn),
|
|
18440
18444
|
tablet: n(M3),
|
|
18441
|
-
device: n(
|
|
18445
|
+
device: n(Hn) || n(M3)
|
|
18442
18446
|
},
|
|
18443
18447
|
other: {
|
|
18444
18448
|
blackberry: n(k3),
|
|
@@ -19368,7 +19372,7 @@ Rs.add(
|
|
|
19368
19372
|
CA,
|
|
19369
19373
|
fM
|
|
19370
19374
|
);
|
|
19371
|
-
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;
|
|
19372
19376
|
const Pc = class {
|
|
19373
19377
|
constructor(t, e, i, n, s) {
|
|
19374
19378
|
I(this, Jv);
|
|
@@ -19382,7 +19386,7 @@ const Pc = class {
|
|
|
19382
19386
|
I(this, co);
|
|
19383
19387
|
I(this, vh);
|
|
19384
19388
|
I(this, t0);
|
|
19385
|
-
I(this,
|
|
19389
|
+
I(this, un);
|
|
19386
19390
|
I(this, e0);
|
|
19387
19391
|
I(this, df);
|
|
19388
19392
|
I(this, fo);
|
|
@@ -19398,7 +19402,7 @@ const Pc = class {
|
|
|
19398
19402
|
Ns.volumeAll = Number(this.val.getVal("sys:sn.sound.global_volume", 1)), C(this, ff, () => {
|
|
19399
19403
|
});
|
|
19400
19404
|
});
|
|
19401
|
-
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));
|
|
19402
19406
|
}
|
|
19403
19407
|
setEvtMng(t) {
|
|
19404
19408
|
C(this, Vs, t);
|
|
@@ -19464,20 +19468,20 @@ Oe = new WeakMap(), yr = new WeakMap(), Vs = new WeakMap(), Jv = new WeakSet(),
|
|
|
19464
19468
|
o && (P(this, gh, Mp).call(this, e), this.val.setVal_Nochk("save", "const.sn.sound." + e + ".fn", "")), this.val.flush();
|
|
19465
19469
|
const u = K(t, "time", NaN), h = K(t, "delay", 0);
|
|
19466
19470
|
if (u === 0 && h === 0 || this.val.getVal("tmp:sn.skip.enabled") || f(this, Vs).isSkippingByKeyDown())
|
|
19467
|
-
return i.snd.volume = a, o && P(this,
|
|
19471
|
+
return i.snd.volume = a, o && P(this, un, Ms).call(this, t), !1;
|
|
19468
19472
|
const l = K(t, "repeat", 1);
|
|
19469
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) => {
|
|
19470
19474
|
i.playing() && (i.snd.volume = c.v);
|
|
19471
19475
|
}).onComplete(() => {
|
|
19472
19476
|
const c = f(this, Oe)[t.buf = i.now_buf];
|
|
19473
|
-
!(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());
|
|
19474
19478
|
}).start(), !1;
|
|
19475
19479
|
}, cf = new WeakSet(), cy = function(t) {
|
|
19476
19480
|
return t.buf = "BGM", t.canskip = !1, dt(t, "loop", !0), P(this, ph, Ap).call(this, t);
|
|
19477
19481
|
}, dh = new WeakMap(), ph = new WeakSet(), Ap = function(t) {
|
|
19478
19482
|
var _;
|
|
19479
19483
|
const { buf: e = "SE", fn: i } = t;
|
|
19480
|
-
if (P(this,
|
|
19484
|
+
if (P(this, un, Ms).call(this, { buf: e }), !i)
|
|
19481
19485
|
throw `[playse] fn\u306F\u5FC5\u9808\u3067\u3059 buf:${e}`;
|
|
19482
19486
|
if (dt(t, "canskip", !0) && f(this, Vs).isSkippingByKeyDown())
|
|
19483
19487
|
return !1;
|
|
@@ -19631,11 +19635,11 @@ Oe = new WeakMap(), yr = new WeakMap(), Vs = new WeakMap(), Jv = new WeakSet(),
|
|
|
19631
19635
|
});
|
|
19632
19636
|
}, ff = new WeakMap(), vh = new WeakSet(), Fp = function() {
|
|
19633
19637
|
for (const t in f(this, Oe))
|
|
19634
|
-
P(this,
|
|
19638
|
+
P(this, un, Ms).call(this, { buf: t });
|
|
19635
19639
|
return C(this, Oe, {}), Ns.stopAll(), !1;
|
|
19636
19640
|
}, t0 = new WeakSet(), JC = function(t) {
|
|
19637
|
-
return t.buf = "BGM", P(this,
|
|
19638
|
-
},
|
|
19641
|
+
return t.buf = "BGM", P(this, un, Ms).call(this, t);
|
|
19642
|
+
}, un = new WeakSet(), Ms = function(t) {
|
|
19639
19643
|
var n;
|
|
19640
19644
|
const { buf: e = "SE" } = t;
|
|
19641
19645
|
P(this, gh, Mp).call(this, e);
|
|
@@ -19660,7 +19664,7 @@ Oe = new WeakMap(), yr = new WeakMap(), Vs = new WeakMap(), Jv = new WeakSet(),
|
|
|
19660
19664
|
const { buf: e = "SE" } = t, i = f(this, Oe)[e];
|
|
19661
19665
|
return !(i != null && i.playing()) || i.loop ? !1 : i.resume = f(this, Vs).waitEvent(
|
|
19662
19666
|
() => {
|
|
19663
|
-
t.buf = i.now_buf, P(this,
|
|
19667
|
+
t.buf = i.now_buf, P(this, un, Ms).call(this, t);
|
|
19664
19668
|
const n = f(this, Oe)[t.buf];
|
|
19665
19669
|
!(n != null && n.playing()) || n.loop || n.onend();
|
|
19666
19670
|
},
|
|
@@ -19944,7 +19948,7 @@ function dL(r, t) {
|
|
|
19944
19948
|
return i.replace(/\.([^{,\s\d.]+)/g, "." + r + "$1") + "{";
|
|
19945
19949
|
});
|
|
19946
19950
|
}
|
|
19947
|
-
function
|
|
19951
|
+
function Sn(r, t) {
|
|
19948
19952
|
return function(e) {
|
|
19949
19953
|
e && (r[t] = e);
|
|
19950
19954
|
};
|
|
@@ -21119,7 +21123,7 @@ function bI(r, t, e) {
|
|
|
21119
21123
|
i[n * e + t - 1] = 0, i[(t - 1) * e + n] = 0;
|
|
21120
21124
|
return i[(t - 1) * (e + 1)] = 1, i;
|
|
21121
21125
|
}
|
|
21122
|
-
function
|
|
21126
|
+
function An(r, t) {
|
|
21123
21127
|
t === void 0 && (t = Math.sqrt(r.length));
|
|
21124
21128
|
for (var e = r.slice(), i = De(t), n = 0; n < t; ++n) {
|
|
21125
21129
|
var s = t * n + n;
|
|
@@ -21163,7 +21167,7 @@ function eu(r, t) {
|
|
|
21163
21167
|
e[i] = 0;
|
|
21164
21168
|
return e[t - 1] = 1, e;
|
|
21165
21169
|
}
|
|
21166
|
-
function
|
|
21170
|
+
function Fn(r, t, e) {
|
|
21167
21171
|
if (t === void 0 && (t = Math.sqrt(r.length)), t === e)
|
|
21168
21172
|
return r;
|
|
21169
21173
|
for (var i = De(e), n = Math.min(t, e), s = 0; s < n - 1; ++s) {
|
|
@@ -21263,11 +21267,11 @@ function $c(r, t) {
|
|
|
21263
21267
|
return e;
|
|
21264
21268
|
}
|
|
21265
21269
|
function Wb(r, t, e, i, n, s, a, o) {
|
|
21266
|
-
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);
|
|
21267
21271
|
if (!R.length)
|
|
21268
21272
|
return [];
|
|
21269
21273
|
var N = Ee(R, [m, _, y, b, x, w, E, S], 8);
|
|
21270
|
-
return N[8] = 1,
|
|
21274
|
+
return N[8] = 1, Fn(s5(N), 3, 4);
|
|
21271
21275
|
}
|
|
21272
21276
|
function c5() {
|
|
21273
21277
|
return [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
@@ -22403,7 +22407,7 @@ var Y5 = /* @__PURE__ */ function(r) {
|
|
|
22403
22407
|
return ZL.indexOf("simple") > -1 && a && (l = {
|
|
22404
22408
|
portalContainer: a
|
|
22405
22409
|
}), wi(h, Ay({
|
|
22406
|
-
ref:
|
|
22410
|
+
ref: Sn(this, "element"),
|
|
22407
22411
|
"data-styled-id": u,
|
|
22408
22412
|
className: s + " " + u
|
|
22409
22413
|
}, l, o));
|
|
@@ -22699,7 +22703,7 @@ var ml = /* @__PURE__ */ function() {
|
|
|
22699
22703
|
}, r;
|
|
22700
22704
|
}();
|
|
22701
22705
|
function BI(r, t) {
|
|
22702
|
-
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({
|
|
22703
22707
|
datas: n,
|
|
22704
22708
|
distX: g,
|
|
22705
22709
|
distY: v
|
|
@@ -22708,7 +22712,7 @@ function BI(r, t) {
|
|
|
22708
22712
|
}
|
|
22709
22713
|
function au(r, t) {
|
|
22710
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;
|
|
22711
|
-
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);
|
|
22712
22716
|
}
|
|
22713
22717
|
function aD(r) {
|
|
22714
22718
|
return mv(r.datas.beforeTransform, [50, 50], 100, 100).direction;
|
|
@@ -22739,14 +22743,14 @@ function oD(r) {
|
|
|
22739
22743
|
return wr(o, eu([0, 0, 0], 4), 4);
|
|
22740
22744
|
}
|
|
22741
22745
|
function LI(r, t, e) {
|
|
22742
|
-
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);
|
|
22743
22747
|
return l;
|
|
22744
22748
|
}
|
|
22745
22749
|
function DI(r) {
|
|
22746
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;
|
|
22747
22751
|
return Lt(wr(n, te(o, [e, i]), u), a);
|
|
22748
22752
|
}
|
|
22749
|
-
function
|
|
22753
|
+
function Bn(r, t) {
|
|
22750
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;
|
|
22751
22755
|
return Lt(wr(t ? s : a, te(l, [i, n]), c), t ? u : h);
|
|
22752
22756
|
}
|
|
@@ -22787,7 +22791,7 @@ function _d(r, t, e, i) {
|
|
|
22787
22791
|
}
|
|
22788
22792
|
function fD(r, t, e) {
|
|
22789
22793
|
var i = r.transformOrigin, n = r.offsetMatrix, s = r.is3d, a = t.beforeTransform, o = t.afterTransform, u = s ? 4 : 3, h = Yb([e]);
|
|
22790
|
-
return _d(n,
|
|
22794
|
+
return _d(n, Fn(Ee(Ee(a, h, 4), o, 4), 4, u), i, u);
|
|
22791
22795
|
}
|
|
22792
22796
|
function dD(r, t) {
|
|
22793
22797
|
var e = r.transformOrigin, i = r.offsetMatrix, n = r.is3d, s = r.targetMatrix, a = n ? 4 : 3;
|
|
@@ -22994,7 +22998,7 @@ function WI(r, t, e) {
|
|
|
22994
22998
|
function By(r) {
|
|
22995
22999
|
r.forEach(function(t) {
|
|
22996
23000
|
var e = t.matrix;
|
|
22997
|
-
e && (t.matrix =
|
|
23001
|
+
e && (t.matrix = Fn(e, 3, 4));
|
|
22998
23002
|
});
|
|
22999
23003
|
}
|
|
23000
23004
|
function wD() {
|
|
@@ -23093,7 +23097,7 @@ function RD(r, t, e, i, n) {
|
|
|
23093
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];
|
|
23094
23098
|
e === document.body && (p = WI(a, !0));
|
|
23095
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; ) {
|
|
23096
|
-
var H =
|
|
23100
|
+
var H = An(n, i);
|
|
23097
23101
|
s = Lt(pr(H, F, i), pr(H, R, i)), A[0] = s[0], A[1] = s[1];
|
|
23098
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;
|
|
23099
23103
|
if (Math.abs(z) < 2 && Math.abs(D) < 2)
|
|
@@ -23375,7 +23379,7 @@ function _l() {
|
|
|
23375
23379
|
}), r[0];
|
|
23376
23380
|
}
|
|
23377
23381
|
function Qu(r, t, e) {
|
|
23378
|
-
return wr(
|
|
23382
|
+
return wr(An(r, e), eu(t, e), e);
|
|
23379
23383
|
}
|
|
23380
23384
|
function KI(r, t) {
|
|
23381
23385
|
var e, i = r.is3d, n = r.rootMatrix, s = i ? 4 : 3;
|
|
@@ -23459,8 +23463,8 @@ function DD(r, t, e) {
|
|
|
23459
23463
|
return i = e >= 0 ? i : 180 - i, i = i >= 0 ? i : 360 + i, i;
|
|
23460
23464
|
}
|
|
23461
23465
|
function Ew(r, t) {
|
|
23462
|
-
var e = r.rootMatrix, i = r.is3d, n = i ? 4 : 3, s =
|
|
23463
|
-
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);
|
|
23464
23468
|
}
|
|
23465
23469
|
function tR(r, t, e, i, n) {
|
|
23466
23470
|
var s = r[0], a = r[1], o = 0, u = 0;
|
|
@@ -23493,7 +23497,7 @@ function eR(r, t, e, i) {
|
|
|
23493
23497
|
var y = a * m[0], b = o * m[1], x = qi([y, b]);
|
|
23494
23498
|
u = d / x * y * _[0], h = d / x * b * _[1];
|
|
23495
23499
|
} else {
|
|
23496
|
-
var w =
|
|
23500
|
+
var w = Bn({
|
|
23497
23501
|
datas: e,
|
|
23498
23502
|
distX: l,
|
|
23499
23503
|
distY: c
|
|
@@ -23983,7 +23987,7 @@ function Ca(r, t, e, i, n, s) {
|
|
|
23983
23987
|
}
|
|
23984
23988
|
function aR(r, t, e) {
|
|
23985
23989
|
return t.map(function(i) {
|
|
23986
|
-
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({
|
|
23987
23991
|
datas: e,
|
|
23988
23992
|
distX: a[0],
|
|
23989
23993
|
distY: a[1]
|
|
@@ -24432,7 +24436,7 @@ function Uy(r, t, e, i, n) {
|
|
|
24432
24436
|
isOutside: !1,
|
|
24433
24437
|
offset: [0, 0]
|
|
24434
24438
|
};
|
|
24435
|
-
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({
|
|
24436
24440
|
datas: n,
|
|
24437
24441
|
distX: s[0],
|
|
24438
24442
|
distY: s[1]
|
|
@@ -24593,7 +24597,7 @@ function f4(r, t, e, i, n, s) {
|
|
|
24593
24597
|
offset: [0, 0]
|
|
24594
24598
|
};
|
|
24595
24599
|
var E = w === "vertical", S = [0, 0];
|
|
24596
|
-
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({
|
|
24597
24601
|
datas: s,
|
|
24598
24602
|
distX: -_,
|
|
24599
24603
|
distY: -p
|
|
@@ -24902,7 +24906,7 @@ function b4(r, t, e, i, n, s, a, o, u) {
|
|
|
24902
24906
|
horizontal: [h[1]]
|
|
24903
24907
|
}), c = l.horizontal.offset, d = l.vertical.offset;
|
|
24904
24908
|
if (d || c) {
|
|
24905
|
-
var p =
|
|
24909
|
+
var p = Bn({
|
|
24906
24910
|
datas: u,
|
|
24907
24911
|
distX: -d,
|
|
24908
24912
|
distY: -c
|
|
@@ -25538,7 +25542,7 @@ var Fr = {
|
|
|
25538
25542
|
return;
|
|
25539
25543
|
if (d) {
|
|
25540
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);
|
|
25541
|
-
A !== H && (B =
|
|
25545
|
+
A !== H && (B = Fn(B, H, A));
|
|
25542
25546
|
var L = _d(N, B, F, A), G = ou(L, E, S, A);
|
|
25543
25547
|
i.startPositions = G, i.nextTargetMatrix = B, i.nextAllMatrix = L;
|
|
25544
25548
|
}
|
|
@@ -26410,7 +26414,7 @@ var k4 = {
|
|
|
26410
26414
|
if (!a || !n)
|
|
26411
26415
|
return !1;
|
|
26412
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;
|
|
26413
|
-
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) {
|
|
26414
26418
|
return Lt(y, u);
|
|
26415
26419
|
}), e.nextPoses = e.poses.map(function(y) {
|
|
26416
26420
|
var b = y[0], x = y[1];
|
|
@@ -26445,7 +26449,7 @@ var k4 = {
|
|
|
26445
26449
|
}), v = g.horizontal, m = g.vertical;
|
|
26446
26450
|
s -= v.offset, n -= m.offset;
|
|
26447
26451
|
}
|
|
26448
|
-
var _ =
|
|
26452
|
+
var _ = Bn({
|
|
26449
26453
|
datas: e,
|
|
26450
26454
|
distX: n,
|
|
26451
26455
|
distY: s
|
|
@@ -26463,7 +26467,7 @@ var k4 = {
|
|
|
26463
26467
|
var b = Wb(l[0], l[2], l[1], l[3], y[0], y[2], y[1], y[3]);
|
|
26464
26468
|
if (!b.length)
|
|
26465
26469
|
return !1;
|
|
26466
|
-
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);
|
|
26467
26471
|
e.prevMatrix = w;
|
|
26468
26472
|
var S = Ee(h, w, 4), T = Lg(e, "matrix3d(".concat(S.join(", "), ")"), "matrix3d(".concat(w.join(", "), ")"));
|
|
26469
26473
|
return Qb(t, T), _t(r, "onWarp", Ut(r, t, {
|
|
@@ -26515,7 +26519,7 @@ var mR = {
|
|
|
26515
26519
|
if (s)
|
|
26516
26520
|
return [t.createElement("div", {
|
|
26517
26521
|
key: "area",
|
|
26518
|
-
ref:
|
|
26522
|
+
ref: Sn(r, "areaElement"),
|
|
26519
26523
|
className: c
|
|
26520
26524
|
}), Dw(t)];
|
|
26521
26525
|
if (!i || !n)
|
|
@@ -26523,7 +26527,7 @@ var mR = {
|
|
|
26523
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";
|
|
26524
26528
|
return [t.createElement("div", {
|
|
26525
26529
|
key: "area",
|
|
26526
|
-
ref:
|
|
26530
|
+
ref: Sn(r, "areaElement"),
|
|
26527
26531
|
className: c,
|
|
26528
26532
|
style: {
|
|
26529
26533
|
top: "0px",
|
|
@@ -27288,7 +27292,7 @@ var Y4 = {
|
|
|
27288
27292
|
var a = i, o = a.isControl, u = a.isLine, h = a.isArea, l = a.clipIndex, c = a.clipPath;
|
|
27289
27293
|
if (!c)
|
|
27290
27294
|
return !1;
|
|
27291
|
-
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);
|
|
27292
27296
|
s && m ? (e = m.prevBeforeDist, g = e[0], v = e[1]) : (g = _[0], v = _[1]);
|
|
27293
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) {
|
|
27294
27298
|
return O.pos;
|
|
@@ -27437,7 +27441,7 @@ var Y4 = {
|
|
|
27437
27441
|
var e = t.datas, i = t.isPinch, n = t.isRequest;
|
|
27438
27442
|
if (!e.isDragOrigin)
|
|
27439
27443
|
return !1;
|
|
27440
|
-
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];
|
|
27441
27445
|
if (n) {
|
|
27442
27446
|
var y = t.distOrigin;
|
|
27443
27447
|
(y[0] || y[1]) && (_ = y);
|
|
@@ -27590,7 +27594,7 @@ var J4 = {
|
|
|
27590
27594
|
var e = t.datas;
|
|
27591
27595
|
if (!e.isRound || !e.isControl || !e.controlPoses.length)
|
|
27592
27596
|
return !1;
|
|
27593
|
-
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) {
|
|
27594
27598
|
var w = x.horizontal, E = x.vertical, S = [w * _ * u[0], E * m * u[1]];
|
|
27595
27599
|
if (w) {
|
|
27596
27600
|
if (c[0] === 1)
|
|
@@ -27978,7 +27982,7 @@ function jw(r, t, e) {
|
|
|
27978
27982
|
};
|
|
27979
27983
|
y && (d = !0, b = TD(i), p = b.fixedContainer);
|
|
27980
27984
|
var x = _.length;
|
|
27981
|
-
!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));
|
|
27982
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];
|
|
27983
27987
|
E === "svg" && c && (n.push({
|
|
27984
27988
|
type: "target",
|
|
@@ -28041,7 +28045,7 @@ function eU(r, t, e, i) {
|
|
|
28041
28045
|
var n;
|
|
28042
28046
|
e === void 0 && (e = t);
|
|
28043
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;
|
|
28044
|
-
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) {
|
|
28045
28049
|
E = Ee(E, L.matrix, y);
|
|
28046
28050
|
});
|
|
28047
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) {
|
|
@@ -28056,7 +28060,7 @@ function eU(r, t, e, i) {
|
|
|
28056
28060
|
});
|
|
28057
28061
|
var B = !b && o;
|
|
28058
28062
|
x || (x = De(B ? 4 : 3));
|
|
28059
|
-
var H = Gg(b && x.length === 16 ?
|
|
28063
|
+
var H = Gg(b && x.length === 16 ? Fn(x, 4, 3) : x, B);
|
|
28060
28064
|
return E = bI(E, y, y), {
|
|
28061
28065
|
hasFixed: d,
|
|
28062
28066
|
rootMatrix: E,
|
|
@@ -28169,7 +28173,7 @@ var yl = /* @__PURE__ */ function(r) {
|
|
|
28169
28173
|
T["data-able-".concat(R.name.toLowerCase())] = !0;
|
|
28170
28174
|
}), wi(c, U({
|
|
28171
28175
|
cspNonce: h,
|
|
28172
|
-
ref:
|
|
28176
|
+
ref: Sn(this, "controlBox"),
|
|
28173
28177
|
className: "".concat(St("control-box", b === -1 ? "reverse" : "", S ? "dragging" : ""), " ").concat(a)
|
|
28174
28178
|
}, T, {
|
|
28175
28179
|
onClick: this._onPreventClick,
|
|
@@ -28710,7 +28714,7 @@ var cU = /* @__PURE__ */ function(r) {
|
|
|
28710
28714
|
var i = this, n = this.props, s = n.cspNonce, a = n.cssStyled, o = n.targets;
|
|
28711
28715
|
return wi(a, {
|
|
28712
28716
|
cspNonce: s,
|
|
28713
|
-
ref:
|
|
28717
|
+
ref: Sn(this, "controlBox"),
|
|
28714
28718
|
className: St("control-box")
|
|
28715
28719
|
}, o.map(function(u, h) {
|
|
28716
28720
|
return wi(yl, U({
|
|
@@ -28786,19 +28790,19 @@ var cU = /* @__PURE__ */ function(r) {
|
|
|
28786
28790
|
});
|
|
28787
28791
|
return this._elementTargets = h, l ? o.individualGroupable ? wi(fU, U({
|
|
28788
28792
|
key: "individual-group",
|
|
28789
|
-
ref:
|
|
28793
|
+
ref: Sn(this, "moveable")
|
|
28790
28794
|
}, p, {
|
|
28791
28795
|
target: null,
|
|
28792
28796
|
targets: h
|
|
28793
28797
|
})) : wi(cU, U({
|
|
28794
28798
|
key: "group",
|
|
28795
|
-
ref:
|
|
28799
|
+
ref: Sn(this, "moveable")
|
|
28796
28800
|
}, p, {
|
|
28797
28801
|
target: null,
|
|
28798
28802
|
targets: h
|
|
28799
28803
|
})) : wi(yl, U({
|
|
28800
28804
|
key: "single",
|
|
28801
|
-
ref:
|
|
28805
|
+
ref: Sn(this, "moveable")
|
|
28802
28806
|
}, p, {
|
|
28803
28807
|
target: h[0]
|
|
28804
28808
|
}));
|
|
@@ -28894,7 +28898,7 @@ var mU = /* @__PURE__ */ function(r) {
|
|
|
28894
28898
|
var e = t.prototype;
|
|
28895
28899
|
return e.render = function() {
|
|
28896
28900
|
return qL(wi(vU, Wc({
|
|
28897
|
-
ref:
|
|
28901
|
+
ref: Sn(this, "moveable")
|
|
28898
28902
|
}, this.state)), this.state.parentElement);
|
|
28899
28903
|
}, t;
|
|
28900
28904
|
}(jb), _U = hU, yU = kI, bU = uU;
|
|
@@ -29003,7 +29007,7 @@ var EU = /* @__PURE__ */ function() {
|
|
|
29003
29007
|
return s.trigger(h, l);
|
|
29004
29008
|
};
|
|
29005
29009
|
}), dw(wi(mU, Wc({
|
|
29006
|
-
ref:
|
|
29010
|
+
ref: Sn(s, "innerMoveable"),
|
|
29007
29011
|
parentElement: i
|
|
29008
29012
|
}, a, o)), s.tempElement);
|
|
29009
29013
|
var u = a.target;
|
|
@@ -29062,7 +29066,7 @@ var EU = /* @__PURE__ */ function() {
|
|
|
29062
29066
|
get _() {
|
|
29063
29067
|
return Ge(r, t, i);
|
|
29064
29068
|
}
|
|
29065
|
-
}), $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;
|
|
29066
29070
|
const ft = class {
|
|
29067
29071
|
constructor(r, t = !1) {
|
|
29068
29072
|
this.bg_col = r, this.isLay = t, Ss(this, Lp), this.hArg = {}, this.id_tag = "", this.hDesignArg = {
|
|
@@ -29083,7 +29087,7 @@ const ft = class {
|
|
|
29083
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;
|
|
29084
29088
|
}
|
|
29085
29089
|
static init(r, t, e, i, n, s, a) {
|
|
29086
|
-
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(`
|
|
29087
29091
|
.sn_design_cast {
|
|
29088
29092
|
position: absolute; touch-action: none; user-select: none;
|
|
29089
29093
|
opacity: 0.6; border-radius: 8px;
|
|
@@ -29116,7 +29120,7 @@ const ft = class {
|
|
|
29116
29120
|
top: ${Math.max(10, i.ly + e - a - 10)}px;`;
|
|
29117
29121
|
}
|
|
29118
29122
|
static cvsResizeDesign() {
|
|
29119
|
-
const r = Ge(ft,
|
|
29123
|
+
const r = Ge(ft, Xn).style;
|
|
29120
29124
|
r.width = `${W.stageW * ft.sys.cvsScale}px`, r.height = `${W.stageH * ft.sys.cvsScale}px`;
|
|
29121
29125
|
}
|
|
29122
29126
|
destroy() {
|
|
@@ -29159,7 +29163,7 @@ const ft = class {
|
|
|
29159
29163
|
this.child = r, r.parent = this;
|
|
29160
29164
|
}
|
|
29161
29165
|
static enterMode() {
|
|
29162
|
-
ft.leaveMode(), Ge(ft,
|
|
29166
|
+
ft.leaveMode(), Ge(ft, Xn).style.display = "inline", ks(ft, wv, 0), ks(ft, zu, {});
|
|
29163
29167
|
}
|
|
29164
29168
|
static allHide() {
|
|
29165
29169
|
Ge(ft, ju).forEach((r) => r.visible = !1);
|
|
@@ -29168,7 +29172,7 @@ const ft = class {
|
|
|
29168
29172
|
!this.div || !this.mov || (this.div.style.display = r ? "inline" : "none", this.mov.updateTarget());
|
|
29169
29173
|
}
|
|
29170
29174
|
static leaveMode() {
|
|
29171
|
-
Ge(ft,
|
|
29175
|
+
Ge(ft, Xn).textContent = "", Ge(ft, Xn).style.display = "none", Ge(ft, ju).forEach((r) => r.destroy()), ks(ft, ju, []);
|
|
29172
29176
|
}
|
|
29173
29177
|
cvsResize() {
|
|
29174
29178
|
var r;
|
|
@@ -29183,7 +29187,7 @@ const ft = class {
|
|
|
29183
29187
|
const t = this.div = document.createElement("div");
|
|
29184
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(
|
|
29185
29189
|
`[data-id_dc="${this.parent.id_tag}"]`
|
|
29186
|
-
)) != null ? u : Ge(ft,
|
|
29190
|
+
)) != null ? u : Ge(ft, Xn)).appendChild(t);
|
|
29187
29191
|
const e = {
|
|
29188
29192
|
aPos: [0, 0],
|
|
29189
29193
|
roDeg: 0,
|
|
@@ -29348,7 +29352,7 @@ ${s}`, "F"), i.rotation = x;
|
|
|
29348
29352
|
}
|
|
29349
29353
|
};
|
|
29350
29354
|
let Jt = ft;
|
|
29351
|
-
|
|
29355
|
+
Xn = /* @__PURE__ */ new WeakMap();
|
|
29352
29356
|
bc = /* @__PURE__ */ new WeakMap();
|
|
29353
29357
|
xc = /* @__PURE__ */ new WeakMap();
|
|
29354
29358
|
Ec = /* @__PURE__ */ new WeakMap();
|
|
@@ -29367,7 +29371,7 @@ Xy = function() {
|
|
|
29367
29371
|
transform: `scale(${this.scale.x}, ${this.scale.y}) rotate(${this.rotation}deg)`
|
|
29368
29372
|
});
|
|
29369
29373
|
};
|
|
29370
|
-
Ss(Jt,
|
|
29374
|
+
Ss(Jt, Xn, void 0);
|
|
29371
29375
|
Ss(Jt, bc, void 0);
|
|
29372
29376
|
Ss(Jt, xc, void 0);
|
|
29373
29377
|
Ss(Jt, Ec, void 0);
|
|
@@ -29627,23 +29631,23 @@ var b1 = (r, t, e) => {
|
|
|
29627
29631
|
if (t.has(r))
|
|
29628
29632
|
throw TypeError("Cannot add the same private member more than once");
|
|
29629
29633
|
t instanceof WeakSet ? t.add(r) : t.set(r, e);
|
|
29630
|
-
}, _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;
|
|
29631
29635
|
const xt = class extends Cr {
|
|
29632
29636
|
constructor() {
|
|
29633
|
-
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) => {
|
|
29634
29638
|
t && yt(xt, zs).resume();
|
|
29635
29639
|
}), Ie(this, Dp, 0), Ie(this, Up, 0), Ie(this, sc, void 0), Ie(this, sn, void 0), Ie(this, ac, () => {
|
|
29636
29640
|
}), this.record = () => ({
|
|
29637
29641
|
...super.record(),
|
|
29638
29642
|
sBkFn: yt(this, Ya),
|
|
29639
29643
|
sBkFace: yt(this, qa),
|
|
29640
|
-
idc_hArg: yt(this,
|
|
29641
|
-
}), this.dump = () => super.dump() + `, "pic":"${yt(this, Bs)}"`, W.isDbg && (this.setSp = (r) => yt(this,
|
|
29642
|
-
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();
|
|
29643
29647
|
});
|
|
29644
29648
|
}
|
|
29645
29649
|
static init(r, t, e, i, n, s) {
|
|
29646
|
-
_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);
|
|
29647
29651
|
const a = () => {
|
|
29648
29652
|
const o = yt(xt, xl) * yt(xt, Tv);
|
|
29649
29653
|
for (const u in xt.hFn2VElm)
|
|
@@ -29656,7 +29660,7 @@ const xt = class extends Cr {
|
|
|
29656
29660
|
(o) => {
|
|
29657
29661
|
_e(xt, Tv, o), a();
|
|
29658
29662
|
}
|
|
29659
|
-
), yt(xt,
|
|
29663
|
+
), yt(xt, Wn).crypto && _e(xt, Iv, bl(xt, w1, NR));
|
|
29660
29664
|
}
|
|
29661
29665
|
static setEvtMng(r) {
|
|
29662
29666
|
_e(xt, Cv, r);
|
|
@@ -29668,7 +29672,7 @@ const xt = class extends Cr {
|
|
|
29668
29672
|
}
|
|
29669
29673
|
laySub(r, t) {
|
|
29670
29674
|
const { fn: e, face: i = "" } = r;
|
|
29671
|
-
if (yt(this,
|
|
29675
|
+
if (yt(this, $n).sethArg(r), !e)
|
|
29672
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;
|
|
29673
29677
|
const n = "fn" in r, s = "face" in r;
|
|
29674
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(
|
|
@@ -29713,7 +29717,7 @@ const xt = class extends Cr {
|
|
|
29713
29717
|
if (s.push({ fn: l.fn, fnc: c }), l.fn in xt.hFn2ResAniSpr || l.fn in Vr || l.fn in oi.shared.resources)
|
|
29714
29718
|
return;
|
|
29715
29719
|
n = !0;
|
|
29716
|
-
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 } : {};
|
|
29717
29721
|
a.add({ ...p, name: l.fn, url: d });
|
|
29718
29722
|
});
|
|
29719
29723
|
const o = (u) => {
|
|
@@ -29725,7 +29729,7 @@ const xt = class extends Cr {
|
|
|
29725
29729
|
i(n);
|
|
29726
29730
|
};
|
|
29727
29731
|
return n ? a.use((u, h) => {
|
|
29728
|
-
yt(this,
|
|
29732
|
+
yt(this, Wn).dec(u.extension, u.data).then((l) => {
|
|
29729
29733
|
var c;
|
|
29730
29734
|
return yt(c = xt, Iv).call(c, l, u, () => h == null ? void 0 : h());
|
|
29731
29735
|
}).catch((l) => yt(this, zs).errScript(`Graphic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 fn:${u.name} ${l}`, !1));
|
|
@@ -29787,8 +29791,8 @@ const xt = class extends Cr {
|
|
|
29787
29791
|
}
|
|
29788
29792
|
yt(this, Vu)[r] = [t];
|
|
29789
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 });
|
|
29790
|
-
yt(xt,
|
|
29791
|
-
yt(xt,
|
|
29794
|
+
yt(xt, Wn).crypto && a.use((o, u) => {
|
|
29795
|
+
yt(xt, Wn).dec(o.extension, o.data).then((h) => {
|
|
29792
29796
|
if (o.extension !== "bin") {
|
|
29793
29797
|
u == null || u();
|
|
29794
29798
|
return;
|
|
@@ -29845,7 +29849,7 @@ const xt = class extends Cr {
|
|
|
29845
29849
|
}
|
|
29846
29850
|
playback(r, t) {
|
|
29847
29851
|
if (super.playback(r, t), r.sBkFn === "" && r.sBkFace === "") {
|
|
29848
|
-
_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);
|
|
29849
29853
|
return;
|
|
29850
29854
|
}
|
|
29851
29855
|
t.push(new Promise((e) => this.laySub(
|
|
@@ -29856,13 +29860,13 @@ const xt = class extends Cr {
|
|
|
29856
29860
|
)));
|
|
29857
29861
|
}
|
|
29858
29862
|
makeDesignCast(r) {
|
|
29859
|
-
!this.spLay.visible || r(yt(this,
|
|
29863
|
+
!this.spLay.visible || r(yt(this, $n));
|
|
29860
29864
|
}
|
|
29861
29865
|
cvsResize() {
|
|
29862
29866
|
super.cvsResize();
|
|
29863
29867
|
}
|
|
29864
29868
|
showDesignCast() {
|
|
29865
|
-
yt(this,
|
|
29869
|
+
yt(this, $n).visible = !0;
|
|
29866
29870
|
}
|
|
29867
29871
|
};
|
|
29868
29872
|
let re = xt;
|
|
@@ -29871,12 +29875,12 @@ eo = /* @__PURE__ */ new WeakMap();
|
|
|
29871
29875
|
zs = /* @__PURE__ */ new WeakMap();
|
|
29872
29876
|
th = /* @__PURE__ */ new WeakMap();
|
|
29873
29877
|
$u = /* @__PURE__ */ new WeakMap();
|
|
29874
|
-
|
|
29878
|
+
Wn = /* @__PURE__ */ new WeakMap();
|
|
29875
29879
|
$g = /* @__PURE__ */ new WeakMap();
|
|
29876
29880
|
xl = /* @__PURE__ */ new WeakMap();
|
|
29877
29881
|
Tv = /* @__PURE__ */ new WeakMap();
|
|
29878
29882
|
Cv = /* @__PURE__ */ new WeakMap();
|
|
29879
|
-
|
|
29883
|
+
$n = /* @__PURE__ */ new WeakMap();
|
|
29880
29884
|
Bs = /* @__PURE__ */ new WeakMap();
|
|
29881
29885
|
Ya = /* @__PURE__ */ new WeakMap();
|
|
29882
29886
|
qa = /* @__PURE__ */ new WeakMap();
|
|
@@ -29912,7 +29916,7 @@ NR = function(r, t, e) {
|
|
|
29912
29916
|
}
|
|
29913
29917
|
const s = dc(n.meta.image), a = yt(xt, th).searchPath(s, hr.EXT_SPRITE);
|
|
29914
29918
|
new oi().use((u, h) => {
|
|
29915
|
-
yt(this,
|
|
29919
|
+
yt(this, Wn).dec(u.extension, u.data).then((l) => {
|
|
29916
29920
|
u.data = l, l instanceof HTMLImageElement && (u.type = Bt.TYPE.IMAGE, URL.revokeObjectURL(l.src)), h == null || h();
|
|
29917
29921
|
}).catch((l) => yt(this, zs).errScript(`Graphic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 dec2res4Cripto fn:${u.name} ${l}`, !1));
|
|
29918
29922
|
}).add({ name: s, url: a, xhrType: Bt.XHR_RESPONSE_TYPE.BUFFER }).load((u, h) => {
|
|
@@ -29963,7 +29967,7 @@ Ie(re, eo, {});
|
|
|
29963
29967
|
Ie(re, zs, void 0);
|
|
29964
29968
|
Ie(re, th, void 0);
|
|
29965
29969
|
Ie(re, $u, void 0);
|
|
29966
|
-
Ie(re,
|
|
29970
|
+
Ie(re, Wn, void 0);
|
|
29967
29971
|
Ie(re, $g, void 0);
|
|
29968
29972
|
Ie(re, xl, 1);
|
|
29969
29973
|
Ie(re, Tv, 1);
|
|
@@ -29988,7 +29992,7 @@ Ie(re, Iv, (r, t, e) => {
|
|
|
29988
29992
|
re.hFn2VElm = {};
|
|
29989
29993
|
Ie(re, Vu, {});
|
|
29990
29994
|
Ie(re, Rv, {});
|
|
29991
|
-
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;
|
|
29992
29996
|
const Ot = class extends ve {
|
|
29993
29997
|
constructor(e, i, n) {
|
|
29994
29998
|
super();
|
|
@@ -29998,7 +30002,7 @@ const Ot = class extends ve {
|
|
|
29998
30002
|
I(this, Ef);
|
|
29999
30003
|
I(this, wf);
|
|
30000
30004
|
I(this, ie, document.createElement("span"));
|
|
30001
|
-
I(this,
|
|
30005
|
+
I(this, hn, new ve());
|
|
30002
30006
|
I(this, Jn, new ui());
|
|
30003
30007
|
I(this, Qr, new SU(this.spLay, this));
|
|
30004
30008
|
I(this, Ys, new PU(this));
|
|
@@ -30015,7 +30019,7 @@ const Ot = class extends ve {
|
|
|
30015
30019
|
I(this, Fi, 0);
|
|
30016
30020
|
I(this, Mi, 0);
|
|
30017
30021
|
I(this, ki, 0);
|
|
30018
|
-
I(this,
|
|
30022
|
+
I(this, ln, !1);
|
|
30019
30023
|
I(this, mf, 0);
|
|
30020
30024
|
I(this, yh, 0);
|
|
30021
30025
|
I(this, vo, void 0);
|
|
@@ -30028,7 +30032,7 @@ const Ot = class extends ve {
|
|
|
30028
30032
|
I(this, qs, "Quadratic.Out");
|
|
30029
30033
|
I(this, bo, "Quadratic.Out");
|
|
30030
30034
|
I(this, vi, void 0);
|
|
30031
|
-
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));
|
|
30032
30036
|
}
|
|
30033
30037
|
static init(e, i) {
|
|
30034
30038
|
C(Ot, mh, e), C(Ot, gf, i), C(Ot, _o, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), C(Ot, yo, /[[({〈「『【〔“〝]/), C(Ot, xh, /[─‥…]/);
|
|
@@ -30047,7 +30051,7 @@ const Ot = class extends ve {
|
|
|
30047
30051
|
marginLeft: 0,
|
|
30048
30052
|
marginRight: 0,
|
|
30049
30053
|
marginTop: 0
|
|
30050
|
-
}), 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());
|
|
30051
30055
|
}
|
|
30052
30056
|
lay(e) {
|
|
30053
30057
|
var n, s, a, o, u, h, l, c;
|
|
@@ -30080,7 +30084,7 @@ const Ot = class extends ve {
|
|
|
30080
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();
|
|
30081
30085
|
}
|
|
30082
30086
|
get tategaki() {
|
|
30083
|
-
return f(this,
|
|
30087
|
+
return f(this, ln);
|
|
30084
30088
|
}
|
|
30085
30089
|
get infTL() {
|
|
30086
30090
|
return f(this, Et);
|
|
@@ -30096,7 +30100,7 @@ const Ot = class extends ve {
|
|
|
30096
30100
|
}
|
|
30097
30101
|
goTxt(e) {
|
|
30098
30102
|
var m, _, y, b, x, w, E, S;
|
|
30099
|
-
f(Ot,
|
|
30103
|
+
f(Ot, cn).visible = !1;
|
|
30100
30104
|
const i = f(this, go).length;
|
|
30101
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(
|
|
30102
30106
|
0,
|
|
@@ -30160,9 +30164,9 @@ const Ot = class extends ve {
|
|
|
30160
30164
|
let d = new Pt();
|
|
30161
30165
|
for (let T = i; T < n; ++T) {
|
|
30162
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];
|
|
30163
|
-
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") {
|
|
30164
30168
|
const H = new ve();
|
|
30165
|
-
f(this,
|
|
30169
|
+
f(this, hn).addChild(H), re.csv2Sprites(F.pic, H, (L) => {
|
|
30166
30170
|
P(this, yf, Yy).call(this, H, F, A, N, u, B != null ? B : {}), H.parent || H.removeChild(L);
|
|
30167
30171
|
});
|
|
30168
30172
|
}
|
|
@@ -30180,14 +30184,14 @@ const Ot = class extends ve {
|
|
|
30180
30184
|
() => Y(X),
|
|
30181
30185
|
() => this.canFocus() ? (Y(it), !0) : !1,
|
|
30182
30186
|
() => Y(z)
|
|
30183
|
-
), f(this,
|
|
30187
|
+
), f(this, hn).addChild(G);
|
|
30184
30188
|
}
|
|
30185
30189
|
}
|
|
30186
30190
|
const p = f(this, ie).querySelectorAll("span.sn_ch");
|
|
30187
|
-
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(
|
|
30188
30192
|
f(this, Fi),
|
|
30189
30193
|
f(this, Mi)
|
|
30190
|
-
), f(Ot,
|
|
30194
|
+
), f(Ot, cn).visible = !0, f(Ot, po).noticeCompTxt(), !0));
|
|
30191
30195
|
const g = p.length;
|
|
30192
30196
|
if (g === 0) {
|
|
30193
30197
|
f(this, Qn).call(this);
|
|
@@ -30279,14 +30283,14 @@ const Ot = class extends ve {
|
|
|
30279
30283
|
};
|
|
30280
30284
|
}
|
|
30281
30285
|
dispBreak(e) {
|
|
30282
|
-
const i = f(Ot,
|
|
30286
|
+
const i = f(Ot, cn);
|
|
30283
30287
|
i.visible = !1, this.addChild(i), re.csv2Sprites(e, i, (n) => {
|
|
30284
30288
|
i.parent || i.removeChild(n);
|
|
30285
30289
|
});
|
|
30286
30290
|
}
|
|
30287
30291
|
static delBreak() {
|
|
30288
|
-
const e = f(Ot,
|
|
30289
|
-
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());
|
|
30290
30294
|
}
|
|
30291
30295
|
reNew() {
|
|
30292
30296
|
var i;
|
|
@@ -30314,11 +30318,11 @@ const Ot = class extends ve {
|
|
|
30314
30318
|
}
|
|
30315
30319
|
snapshot(e, i) {
|
|
30316
30320
|
P(this, o0, AR).call(this, (n) => {
|
|
30317
|
-
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();
|
|
30318
30322
|
}, !1);
|
|
30319
30323
|
}
|
|
30320
30324
|
snapshot_end() {
|
|
30321
|
-
f(this, vi) && (f(this,
|
|
30325
|
+
f(this, vi) && (f(this, hn).removeChild(f(this, vi)), C(this, vi, void 0));
|
|
30322
30326
|
}
|
|
30323
30327
|
makeDesignCast(e) {
|
|
30324
30328
|
e(f(this, Qr));
|
|
@@ -30337,17 +30341,17 @@ const Ot = class extends ve {
|
|
|
30337
30341
|
return `"txt":"${f(this, ie).textContent.replace(/(["\\])/g, "\\$1")}", "style":{${e.join(",")}}`;
|
|
30338
30342
|
}
|
|
30339
30343
|
destroy() {
|
|
30340
|
-
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();
|
|
30341
30345
|
}
|
|
30342
30346
|
};
|
|
30343
30347
|
let Be = Ot;
|
|
30344
|
-
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() {
|
|
30345
30349
|
var s;
|
|
30346
30350
|
const e = f(this, ie).style, i = parseFloat(e.fontSize || "0");
|
|
30347
|
-
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);
|
|
30348
30352
|
const n = (s = e.lineHeight) != null ? s : "0";
|
|
30349
|
-
C(this, xf, f(this,
|
|
30350
|
-
}, 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) {
|
|
30351
30355
|
const n = {
|
|
30352
30356
|
escape: (m) => m.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
|
|
30353
30357
|
mimeType: (m) => {
|
|
@@ -30541,7 +30545,7 @@ mh = new WeakMap(), gf = new WeakMap(), po = new WeakMap(), ie = new WeakMap(),
|
|
|
30541
30545
|
}).start()
|
|
30542
30546
|
};
|
|
30543
30547
|
f(this, bh).push(u);
|
|
30544
|
-
}, 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) {
|
|
30545
30549
|
const i = [];
|
|
30546
30550
|
if (e.nodeType !== e.TEXT_NODE)
|
|
30547
30551
|
return e.childNodes.forEach((o) => i.push(P(this, Ef, qy).call(this, o))), i.flat();
|
|
@@ -30596,7 +30600,7 @@ mh = new WeakMap(), gf = new WeakMap(), po = new WeakMap(), ie = new WeakMap(),
|
|
|
30596
30600
|
}
|
|
30597
30601
|
});
|
|
30598
30602
|
const s = () => {
|
|
30599
|
-
i.parentElement.removeChild(i), f(this,
|
|
30603
|
+
i.parentElement.removeChild(i), f(this, hn).removeChildren().forEach((o) => {
|
|
30600
30604
|
o instanceof ve && f(Ot, po).unButton(o), o.destroy();
|
|
30601
30605
|
});
|
|
30602
30606
|
};
|
|
@@ -30611,7 +30615,7 @@ mh = new WeakMap(), gf = new WeakMap(), po = new WeakMap(), ie = new WeakMap(),
|
|
|
30611
30615
|
marginLeft: 0,
|
|
30612
30616
|
marginRight: 0,
|
|
30613
30617
|
marginTop: 0
|
|
30614
|
-
}), 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());
|
|
30615
30619
|
var I1 = (r, t, e) => {
|
|
30616
30620
|
if (!t.has(r))
|
|
30617
30621
|
throw TypeError("Cannot " + e);
|
|
@@ -30788,7 +30792,7 @@ Ai(Ra, Sv, (r, t) => {
|
|
|
30788
30792
|
});
|
|
30789
30793
|
Ai(Ra, Wg, (r, t, e, i) => {
|
|
30790
30794
|
});
|
|
30791
|
-
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;
|
|
30792
30796
|
const Mt = class extends Cr {
|
|
30793
30797
|
constructor() {
|
|
30794
30798
|
super();
|
|
@@ -30801,7 +30805,7 @@ const Mt = class extends Cr {
|
|
|
30801
30805
|
I(this, Js);
|
|
30802
30806
|
I(this, Oh);
|
|
30803
30807
|
I(this, Ks);
|
|
30804
|
-
I(this,
|
|
30808
|
+
I(this, fn, void 0);
|
|
30805
30809
|
I(this, ti, void 0);
|
|
30806
30810
|
I(this, gi, void 0);
|
|
30807
30811
|
I(this, he, void 0);
|
|
@@ -30811,7 +30815,7 @@ const Mt = class extends Cr {
|
|
|
30811
30815
|
I(this, Sr, void 0);
|
|
30812
30816
|
I(this, Di, void 0);
|
|
30813
30817
|
I(this, wo, void 0);
|
|
30814
|
-
I(this,
|
|
30818
|
+
I(this, dn, void 0);
|
|
30815
30819
|
I(this, Zs, void 0);
|
|
30816
30820
|
I(this, To, void 0);
|
|
30817
30821
|
I(this, Co, void 0);
|
|
@@ -30820,12 +30824,12 @@ const Mt = class extends Cr {
|
|
|
30820
30824
|
I(this, ei, void 0);
|
|
30821
30825
|
I(this, Ur, void 0);
|
|
30822
30826
|
I(this, Ph, void 0);
|
|
30823
|
-
I(this,
|
|
30827
|
+
I(this, pn, void 0);
|
|
30824
30828
|
I(this, ri, void 0);
|
|
30825
30829
|
I(this, ii, void 0);
|
|
30826
|
-
I(this,
|
|
30830
|
+
I(this, vn, void 0);
|
|
30827
30831
|
I(this, Qs, void 0);
|
|
30828
|
-
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) => {
|
|
30829
30833
|
var h, l, c, d, p, g, v, m, _, y;
|
|
30830
30834
|
f(Mt, Eh).oCfg.debug.putCh && console.log(`\u{1F58A} \u6587\u5B57\u8868\u793A text:\`${i}\` ruby:\`${n}\` name:\`${this.name_}\``);
|
|
30831
30835
|
const s = n.split("\uFF5C");
|
|
@@ -30853,12 +30857,12 @@ const Mt = class extends Cr {
|
|
|
30853
30857
|
C(this, ri, !1), C(this, Ur, !0), a = P(this, Nh, Vp).call(this, i, u, o);
|
|
30854
30858
|
break;
|
|
30855
30859
|
case "gotxt":
|
|
30856
|
-
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();
|
|
30857
30861
|
return;
|
|
30858
30862
|
case "add":
|
|
30859
30863
|
{
|
|
30860
30864
|
const b = JSON.parse(u), { cl: x, sty: w } = P(this, Js, Su).call(this, !0, b.wait);
|
|
30861
|
-
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);
|
|
30862
30866
|
}
|
|
30863
30867
|
return;
|
|
30864
30868
|
case "add_close":
|
|
@@ -30868,13 +30872,13 @@ const Mt = class extends Cr {
|
|
|
30868
30872
|
C(this, Ur, !0);
|
|
30869
30873
|
{
|
|
30870
30874
|
const b = JSON.parse(u);
|
|
30871
|
-
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") {
|
|
30872
30876
|
f(this, Kt).dispBreak(b.pic);
|
|
30873
30877
|
return;
|
|
30874
30878
|
}
|
|
30875
30879
|
(g = b.style) != null || (b.style = "");
|
|
30876
30880
|
const { cl: x, sty: w, lnk: E } = P(this, Js, Su).call(this, !0, b.wait);
|
|
30877
|
-
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>`);
|
|
30878
30882
|
}
|
|
30879
30883
|
break;
|
|
30880
30884
|
case "tcy":
|
|
@@ -30885,7 +30889,7 @@ const Mt = class extends Cr {
|
|
|
30885
30889
|
a = `<span${T} style='${R}${f(this, To).call(this, x)} ${(m = b.style) != null ? m : ""}'${N}><ruby><span style='
|
|
30886
30890
|
text-combine-upright: all;
|
|
30887
30891
|
-webkit-text-combine: horizontal;
|
|
30888
|
-
' 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>
|
|
30889
30893
|
<rt${S}>${E}</rt></ruby></span>`;
|
|
30890
30894
|
}
|
|
30891
30895
|
break;
|
|
@@ -30905,7 +30909,7 @@ text-combine-upright: all;
|
|
|
30905
30909
|
const b = JSON.parse(u);
|
|
30906
30910
|
b[":link"] = " data-lnk='@'";
|
|
30907
30911
|
const { cl: x, sty: w } = P(this, Js, Su).call(this, !1, b.wait);
|
|
30908
|
-
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);
|
|
30909
30913
|
}
|
|
30910
30914
|
return;
|
|
30911
30915
|
case "endlink":
|
|
@@ -30917,7 +30921,7 @@ text-combine-upright: all;
|
|
|
30917
30921
|
break;
|
|
30918
30922
|
}
|
|
30919
30923
|
f(this, ii).push(f(y = Mt, Sh).call(y, a));
|
|
30920
|
-
}), 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) => {
|
|
30921
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);
|
|
30922
30926
|
const s = new Ra(i, f(Mt, xo), () => n(), () => this.canFocus());
|
|
30923
30927
|
s.name = JSON.stringify(i).replaceAll('"', "'"), f(this, Sr).addChild(s);
|
|
@@ -30927,7 +30931,7 @@ text-combine-upright: all;
|
|
|
30927
30931
|
r_align: f(this, ei),
|
|
30928
30932
|
b_do: f(this, he) === void 0 ? void 0 : f(this, he) instanceof Ze ? "Sprite" : "Graphics",
|
|
30929
30933
|
b_pic: f(this, Li),
|
|
30930
|
-
b_color: f(this,
|
|
30934
|
+
b_color: f(this, fn),
|
|
30931
30935
|
b_alpha: f(this, ti),
|
|
30932
30936
|
b_alpha_isfixed: f(this, gi),
|
|
30933
30937
|
ffs: f(this, Zs),
|
|
@@ -31030,7 +31034,7 @@ text-combine-upright: all;
|
|
|
31030
31034
|
chgBackAlpha(e) {
|
|
31031
31035
|
const i = f(this, gi) ? f(this, ti) : e * f(this, ti);
|
|
31032
31036
|
f(this, he) instanceof ui && (f(this, he) && (this.spLay.removeChild(f(this, he)), f(this, he).destroy()), this.spLay.addChildAt(
|
|
31033
|
-
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(),
|
|
31034
31038
|
0
|
|
31035
31039
|
), f(this, he).name = "back(color)"), f(this, he) && (f(this, he).visible = i > 0, f(this, he).alpha = i);
|
|
31036
31040
|
}
|
|
@@ -31067,7 +31071,7 @@ text-combine-upright: all;
|
|
|
31067
31071
|
}
|
|
31068
31072
|
clearText() {
|
|
31069
31073
|
var e;
|
|
31070
|
-
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);
|
|
31071
31075
|
}
|
|
31072
31076
|
get pageText() {
|
|
31073
31077
|
return f(this, Qs).replace("\u300A\u3000\u300B", "");
|
|
@@ -31114,7 +31118,7 @@ text-combine-upright: all;
|
|
|
31114
31118
|
f(this, Sr).children.forEach((e) => e.showDesignCast());
|
|
31115
31119
|
}
|
|
31116
31120
|
dump() {
|
|
31117
|
-
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) => {
|
|
31118
31122
|
var i;
|
|
31119
31123
|
return (i = e.children[0].name) != null ? i : "{}";
|
|
31120
31124
|
}).join(",")}]`;
|
|
@@ -31167,7 +31171,7 @@ Eh = new WeakMap(), Bi = new WeakMap(), wh = new WeakMap(), Tf = new WeakMap(),
|
|
|
31167
31171
|
if (s.length !== n)
|
|
31168
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";
|
|
31169
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;
|
|
31170
|
-
},
|
|
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) {
|
|
31171
31175
|
const { in_style: i } = e;
|
|
31172
31176
|
if (!i)
|
|
31173
31177
|
return;
|
|
@@ -31181,10 +31185,10 @@ Eh = new WeakMap(), Bi = new WeakMap(), wh = new WeakMap(), Tf = new WeakMap(),
|
|
|
31181
31185
|
return;
|
|
31182
31186
|
if (!Be.getChOutStyle(i))
|
|
31183
31187
|
throw `\u5B58\u5728\u3057\u306A\u3044out_style\u3010${i}\u3011\u3067\u3059`;
|
|
31184
|
-
C(this,
|
|
31185
|
-
},
|
|
31188
|
+
C(this, dn, i);
|
|
31189
|
+
}, dn = new WeakMap(), Pf = new WeakSet(), eb = function(e, i) {
|
|
31186
31190
|
if ("back_clear" in e)
|
|
31187
|
-
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;
|
|
31188
31192
|
C(this, ti, K(e, "b_alpha", f(this, ti))), C(this, gi, dt(e, "b_alpha_isfixed", f(this, gi)));
|
|
31189
31193
|
const n = (f(this, gi) ? 1 : Number(f(Mt, Bi).getVal("sys:TextLayer.Back.Alpha"))) * f(this, ti);
|
|
31190
31194
|
if (e.b_pic) {
|
|
@@ -31193,8 +31197,8 @@ Eh = new WeakMap(), Bi = new WeakMap(), wh = new WeakMap(), Tf = new WeakMap(),
|
|
|
31193
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);
|
|
31194
31198
|
});
|
|
31195
31199
|
} else
|
|
31196
|
-
"b_color" in e && (C(this,
|
|
31197
|
-
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(),
|
|
31198
31202
|
0
|
|
31199
31203
|
), f(this, he).name = "back(color)");
|
|
31200
31204
|
return f(this, he) && (f(this, he).visible = n > 0, f(this, he).alpha = n), i(!1), !1;
|
|
@@ -31237,26 +31241,26 @@ Eh = new WeakMap(), Bi = new WeakMap(), wh = new WeakMap(), Tf = new WeakMap(),
|
|
|
31237
31241
|
return ` style='${a}'`;
|
|
31238
31242
|
}, Ur = new WeakMap(), Ph = new WeakMap(), Nh = new WeakSet(), Vp = function(e, i, n) {
|
|
31239
31243
|
e === " " && (e = " "), f(Mt, Bi).doRecLog() && C(this, Qs, f(this, Qs) + (e + (i ? `\u300A${i}\u300B` : "")));
|
|
31240
|
-
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)}"}'`;
|
|
31241
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>`;
|
|
31242
31246
|
}, Js = new WeakSet(), Su = function(e, i, n = `
|
|
31243
31247
|
`) {
|
|
31244
31248
|
var a, o, u, h, l, c, d, p;
|
|
31245
|
-
const s = f(this, wo) ? (u = i != null ? i : (a = f(this,
|
|
31246
|
-
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)), {
|
|
31247
31251
|
cl: ` class='sn_ch${s > 0 ? ` sn_ch_in_${f(this, Di)}` : ""}'`,
|
|
31248
|
-
sty: `animation-delay: ${f(this,
|
|
31249
|
-
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 : ""
|
|
31250
31254
|
};
|
|
31251
|
-
},
|
|
31252
|
-
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({
|
|
31253
31257
|
o: e,
|
|
31254
31258
|
r_align: f(this, ei),
|
|
31255
31259
|
ch_in_style: f(this, Di),
|
|
31256
|
-
ch_out_style: f(this,
|
|
31260
|
+
ch_out_style: f(this, dn)
|
|
31257
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);
|
|
31258
31262
|
}, Ks = new WeakSet(), Pu = function() {
|
|
31259
|
-
const e = f(this,
|
|
31263
|
+
const e = f(this, vn).pop();
|
|
31260
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 }));
|
|
31261
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);
|
|
31262
31266
|
var Ah, ns, c0, kR, Fh, Mh, Wp, f0, BR, d0, LR, Of, p0, DR, v0, UR;
|
|
@@ -31457,7 +31461,7 @@ ${t.id}`, v = new ba(s).to(o, K(t, "time", NaN) * (Boolean(this.val.getVal("tmp:
|
|
|
31457
31461
|
v.start();
|
|
31458
31462
|
return this.hTwInf[g] = { tw: v, resume: !1 }, !1;
|
|
31459
31463
|
};
|
|
31460
|
-
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;
|
|
31461
31465
|
const ro = class {
|
|
31462
31466
|
constructor(t, e, i, n, s, a, o, u, h, l) {
|
|
31463
31467
|
I(this, Af);
|
|
@@ -31509,7 +31513,7 @@ const ro = class {
|
|
|
31509
31513
|
I(this, Lh, void 0);
|
|
31510
31514
|
I(this, Ro, void 0);
|
|
31511
31515
|
I(this, ss, void 0);
|
|
31512
|
-
I(this,
|
|
31516
|
+
I(this, gn, void 0);
|
|
31513
31517
|
I(this, ni, void 0);
|
|
31514
31518
|
I(this, Ht, void 0);
|
|
31515
31519
|
I(this, Gi, void 0);
|
|
@@ -31520,14 +31524,14 @@ const ro = class {
|
|
|
31520
31524
|
I(this, Mf, void 0);
|
|
31521
31525
|
I(this, ea, void 0);
|
|
31522
31526
|
I(this, ra, void 0);
|
|
31523
|
-
I(this,
|
|
31527
|
+
I(this, mn, void 0);
|
|
31524
31528
|
I(this, Ye, void 0);
|
|
31525
31529
|
I(this, ia, void 0);
|
|
31526
31530
|
I(this, qe, void 0);
|
|
31527
31531
|
I(this, Gr, void 0);
|
|
31528
31532
|
I(this, mi, void 0);
|
|
31529
31533
|
I(this, Hh, void 0);
|
|
31530
|
-
I(this,
|
|
31534
|
+
I(this, _n, void 0);
|
|
31531
31535
|
I(this, aa, void 0);
|
|
31532
31536
|
I(this, zi, void 0);
|
|
31533
31537
|
I(this, ji, void 0);
|
|
@@ -31578,13 +31582,13 @@ void main(void) {
|
|
|
31578
31582
|
rule: It.EMPTY,
|
|
31579
31583
|
vague: 0,
|
|
31580
31584
|
tick: 0
|
|
31581
|
-
}), C(this, Mf, new
|
|
31585
|
+
}), C(this, Mf, new On(void 0, f(this, Ff), f(this, Gh))), C(this, ea, Yi.create({
|
|
31582
31586
|
width: W.stageW,
|
|
31583
31587
|
height: W.stageH
|
|
31584
|
-
})), C(this, ra, new Ze(f(this, ea))), C(this,
|
|
31588
|
+
})), C(this, ra, new Ze(f(this, ea))), C(this, mn, Yi.create({
|
|
31585
31589
|
width: W.stageW,
|
|
31586
31590
|
height: W.stageH
|
|
31587
|
-
})), 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) => {
|
|
31588
31592
|
throw f(this, aa).call(this), 0;
|
|
31589
31593
|
}), C(this, Hh, (v) => {
|
|
31590
31594
|
throw f(this, aa).call(this), 0;
|
|
@@ -31596,7 +31600,7 @@ void main(void) {
|
|
|
31596
31600
|
(v) => f(this, Ht)[v].fore.cvsResizeChildren()
|
|
31597
31601
|
) : f(this, Gi).forEach(
|
|
31598
31602
|
(v) => f(this, Ht)[v].fore.cvsResize()
|
|
31599
|
-
), f(this, ta).cvsResize(), f(this,
|
|
31603
|
+
), f(this, ta).cvsResize(), f(this, gn).cvsResize();
|
|
31600
31604
|
};
|
|
31601
31605
|
if (W.isMobile)
|
|
31602
31606
|
globalThis.addEventListener("orientationchange", c, { passive: !0 });
|
|
@@ -31634,7 +31638,7 @@ void main(void) {
|
|
|
31634
31638
|
);
|
|
31635
31639
|
}
|
|
31636
31640
|
setEvtMng(t) {
|
|
31637
|
-
C(this,
|
|
31641
|
+
C(this, gn, t), f(this, ta).setEvtMng(t), re.setEvtMng(t);
|
|
31638
31642
|
}
|
|
31639
31643
|
before_destroy() {
|
|
31640
31644
|
for (const t in f(this, Ht))
|
|
@@ -31668,8 +31672,8 @@ void main(void) {
|
|
|
31668
31672
|
return f(this, aa).call(this), this.currentTxtlayFore;
|
|
31669
31673
|
}
|
|
31670
31674
|
get currentTxtlayFore() {
|
|
31671
|
-
if (!!f(this,
|
|
31672
|
-
return f(this,
|
|
31675
|
+
if (!!f(this, _n))
|
|
31676
|
+
return f(this, _n).fore;
|
|
31673
31677
|
}
|
|
31674
31678
|
recText(t, e = !1) {
|
|
31675
31679
|
const i = f(this, zi);
|
|
@@ -31723,7 +31727,7 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31723
31727
|
[sr(this, Lh)._, this.Ro = ""] = t.split("/");
|
|
31724
31728
|
const e = f(this, Ht)[f(this, Lh)];
|
|
31725
31729
|
!e || (Jt.allHide(), f(this, Ro) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
|
|
31726
|
-
}, ss = new WeakMap(),
|
|
31730
|
+
}, ss = new WeakMap(), gn = new WeakMap(), g0 = new WeakSet(), GR = function(t) {
|
|
31727
31731
|
P(this, Pr, Jr).call(this).forEach((e) => {
|
|
31728
31732
|
const i = f(this, Ht)[e];
|
|
31729
31733
|
i.fore instanceof Ne && (i.fore.chgBackAlpha(t), i.back.chgBackAlpha(t));
|
|
@@ -31827,7 +31831,7 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31827
31831
|
const i = f(this, Ht)[P(this, oa, Ou).call(this, { layer: e })];
|
|
31828
31832
|
t.page === "both" ? (i.fore.clearLay(t), i.back.clearLay(t)) : i.getPage(t).clearLay(t);
|
|
31829
31833
|
}), !1;
|
|
31830
|
-
}, 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) {
|
|
31831
31835
|
P(this, So, oc).call(this);
|
|
31832
31836
|
const e = bs.ease(t.ease);
|
|
31833
31837
|
C(this, ia, []);
|
|
@@ -31852,9 +31856,9 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31852
31856
|
}, p();
|
|
31853
31857
|
};
|
|
31854
31858
|
}
|
|
31855
|
-
f(this,
|
|
31859
|
+
f(this, mn).resize(W.stageW, W.stageH), this.appPixi.renderer.render(f(this, Qt), { renderTexture: f(this, mn) });
|
|
31856
31860
|
let o = () => {
|
|
31857
|
-
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;
|
|
31858
31862
|
};
|
|
31859
31863
|
if (!n.some((p) => p.containMovement)) {
|
|
31860
31864
|
let p = o;
|
|
@@ -31884,12 +31888,12 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31884
31888
|
};
|
|
31885
31889
|
C(this, qe, { tw: void 0, resume: !1 });
|
|
31886
31890
|
const l = K(t, "time", 0);
|
|
31887
|
-
if (l === 0 || f(this,
|
|
31891
|
+
if (l === 0 || f(this, gn).isSkippingByKeyDown())
|
|
31888
31892
|
return h(), !1;
|
|
31889
31893
|
const c = "glsl" in t;
|
|
31890
31894
|
if (!c && !("rule" in t))
|
|
31891
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;
|
|
31892
|
-
const d = c ? new
|
|
31896
|
+
const d = c ? new On(void 0, t.glsl, f(this, Gh)) : f(this, Mf);
|
|
31893
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)
|
|
31894
31898
|
return f(this, qe).tw.start(), this.appPixi.ticker.add(u), !1;
|
|
31895
31899
|
if (!t.rule)
|
|
@@ -31916,22 +31920,22 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31916
31920
|
return n < s ? -1 : n > s ? 1 : 0;
|
|
31917
31921
|
});
|
|
31918
31922
|
}, C0 = new WeakSet(), qR = function(t) {
|
|
31919
|
-
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;
|
|
31920
31924
|
}, So = new WeakSet(), oc = function() {
|
|
31921
31925
|
var t;
|
|
31922
31926
|
return (t = f(this, qe).tw) == null || t.end(), !1;
|
|
31923
31927
|
}, I0 = new WeakSet(), ZR = function(t) {
|
|
31924
31928
|
P(this, So, oc).call(this);
|
|
31925
31929
|
const e = K(t, "time", NaN);
|
|
31926
|
-
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())
|
|
31927
31931
|
return !1;
|
|
31928
31932
|
const i = [];
|
|
31929
31933
|
P(this, Pr, Jr).call(this, t.layer).forEach((c) => {
|
|
31930
31934
|
i.push(f(this, Ht)[c].fore.spLay);
|
|
31931
|
-
}), f(this,
|
|
31935
|
+
}), f(this, mn).resize(W.stageW, W.stageH);
|
|
31932
31936
|
const n = () => {
|
|
31933
31937
|
f(this, Qt).visible = !0, i.forEach(
|
|
31934
|
-
(c) => this.appPixi.renderer.render(c, { renderTexture: f(this,
|
|
31938
|
+
(c) => this.appPixi.renderer.render(c, { renderTexture: f(this, mn), clear: !1 })
|
|
31935
31939
|
), f(this, Qt).visible = !1;
|
|
31936
31940
|
};
|
|
31937
31941
|
f(this, Ye).visible = !0, f(this, Ye).alpha = 1;
|
|
@@ -31953,7 +31957,7 @@ Ui = new WeakMap(), Qt = new WeakMap(), Ce = new WeakMap(), ta = new WeakMap(),
|
|
|
31953
31957
|
const e = P(this, oa, Ou).call(this, t);
|
|
31954
31958
|
let i = f(this, Ht)[e].fore, n = () => {
|
|
31955
31959
|
};
|
|
31956
|
-
const s = f(this,
|
|
31960
|
+
const s = f(this, gn).isSkippingByKeyDown();
|
|
31957
31961
|
!s && "render" in t && (i.renderStart(), n = () => i.renderEnd());
|
|
31958
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(() => {
|
|
31959
31963
|
var v, m;
|
|
@@ -31982,7 +31986,7 @@ ${t.id}` : (n = t.name) != null ? n : t.layer;
|
|
|
31982
31986
|
if (!e)
|
|
31983
31987
|
throw "\u30C8\u30A5\u30A4\u30FC\u30F3\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093";
|
|
31984
31988
|
const i = f(this, Gr)[e];
|
|
31985
|
-
return i != null && i.tw ? i.resume = f(this,
|
|
31989
|
+
return i != null && i.tw ? i.resume = f(this, gn).waitEvent(
|
|
31986
31990
|
() => {
|
|
31987
31991
|
var s;
|
|
31988
31992
|
return (s = i.tw) == null ? void 0 : s.end();
|
|
@@ -32029,13 +32033,13 @@ ${t.id}` : (i = t.name) != null ? i : t.layer;
|
|
|
32029
32033
|
const { layer: e } = t;
|
|
32030
32034
|
if (!e)
|
|
32031
32035
|
throw "[current] layer\u306F\u5FC5\u9808\u3067\u3059";
|
|
32032
|
-
if (C(this,
|
|
32036
|
+
if (C(this, _n, f(this, Ht)[e]), !(f(this, _n).getPage(t) instanceof Ne))
|
|
32033
32037
|
throw `${e}\u306FTxtLayer\u3067\u306F\u3042\u308A\u307E\u305B\u3093`;
|
|
32034
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) => {
|
|
32035
32039
|
const n = f(this, Ht)[i];
|
|
32036
32040
|
n.fore instanceof Ne && (n.fore.isCur = n.back.isCur = i === e);
|
|
32037
32041
|
}), !1;
|
|
32038
|
-
},
|
|
32042
|
+
}, _n = new WeakMap(), aa = new WeakMap(), oa = new WeakSet(), Ou = function(t, e = "") {
|
|
32039
32043
|
var n;
|
|
32040
32044
|
const i = (n = t.layer) != null ? n : e;
|
|
32041
32045
|
if (i.includes(","))
|
|
@@ -32049,7 +32053,7 @@ ${t.id}` : (i = t.name) != null ? i : t.layer;
|
|
|
32049
32053
|
}, k0 = new WeakSet(), s2 = function(t) {
|
|
32050
32054
|
return f(this, ni).call(this, "endlink\uFF5C", f(this, mi).call(this, t)), !1;
|
|
32051
32055
|
}, B0 = new WeakSet(), a2 = function(t) {
|
|
32052
|
-
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;
|
|
32053
32057
|
}, L0 = new WeakSet(), o2 = function(t) {
|
|
32054
32058
|
if (!t.pic)
|
|
32055
32059
|
throw "[graph] pic\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -32244,7 +32248,7 @@ var Xr = "top", Ci = "bottom", Ii = "right", Wr = "left", Yg = "auto", yd = [Xr,
|
|
|
32244
32248
|
}, []), x2 = /* @__PURE__ */ [].concat(yd, [Yg]).reduce(function(r, t) {
|
|
32245
32249
|
return r.concat([t, t + "-" + El, t + "-" + Yc]);
|
|
32246
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];
|
|
32247
|
-
function
|
|
32251
|
+
function Mn(r) {
|
|
32248
32252
|
return r ? (r.nodeName || "").toLowerCase() : null;
|
|
32249
32253
|
}
|
|
32250
32254
|
function Si(r) {
|
|
@@ -32274,7 +32278,7 @@ function VU(r) {
|
|
|
32274
32278
|
var t = r.state;
|
|
32275
32279
|
Object.keys(t.elements).forEach(function(e) {
|
|
32276
32280
|
var i = t.styles[e] || {}, n = t.attributes[e] || {}, s = t.elements[e];
|
|
32277
|
-
!hi(s) || !
|
|
32281
|
+
!hi(s) || !Mn(s) || (Object.assign(s.style, i), Object.keys(n).forEach(function(a) {
|
|
32278
32282
|
var o = n[a];
|
|
32279
32283
|
o === !1 ? s.removeAttribute(a) : s.setAttribute(a, o === !0 ? "" : o);
|
|
32280
32284
|
}));
|
|
@@ -32298,7 +32302,7 @@ function XU(r) {
|
|
|
32298
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) {
|
|
32299
32303
|
return u[h] = "", u;
|
|
32300
32304
|
}, {});
|
|
32301
|
-
!hi(n) || !
|
|
32305
|
+
!hi(n) || !Mn(n) || (Object.assign(n.style, o), Object.keys(s).forEach(function(u) {
|
|
32302
32306
|
n.removeAttribute(u);
|
|
32303
32307
|
}));
|
|
32304
32308
|
});
|
|
@@ -32368,13 +32372,13 @@ function en(r) {
|
|
|
32368
32372
|
return Si(r).getComputedStyle(r);
|
|
32369
32373
|
}
|
|
32370
32374
|
function YU(r) {
|
|
32371
|
-
return ["table", "td", "th"].indexOf(
|
|
32375
|
+
return ["table", "td", "th"].indexOf(Mn(r)) >= 0;
|
|
32372
32376
|
}
|
|
32373
32377
|
function Ma(r) {
|
|
32374
32378
|
return ((iu(r) ? r.ownerDocument : r.document) || window.document).documentElement;
|
|
32375
32379
|
}
|
|
32376
32380
|
function qg(r) {
|
|
32377
|
-
return
|
|
32381
|
+
return Mn(r) === "html" ? r : r.assignedSlot || r.parentNode || (R1(r) ? r.host : null) || Ma(r);
|
|
32378
32382
|
}
|
|
32379
32383
|
function Xw(r) {
|
|
32380
32384
|
return !hi(r) || en(r).position === "fixed" ? null : r.offsetParent;
|
|
@@ -32387,7 +32391,7 @@ function qU(r) {
|
|
|
32387
32391
|
return null;
|
|
32388
32392
|
}
|
|
32389
32393
|
var n = qg(r);
|
|
32390
|
-
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; ) {
|
|
32391
32395
|
var s = en(n);
|
|
32392
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")
|
|
32393
32397
|
return n;
|
|
@@ -32398,7 +32402,7 @@ function qU(r) {
|
|
|
32398
32402
|
function bd(r) {
|
|
32399
32403
|
for (var t = Si(r), e = Xw(r); e && YU(e) && en(e).position === "static"; )
|
|
32400
32404
|
e = Xw(e);
|
|
32401
|
-
return e && (
|
|
32405
|
+
return e && (Mn(e) === "html" || Mn(e) === "body" && en(e).position === "static") ? t : e || qU(r) || t;
|
|
32402
32406
|
}
|
|
32403
32407
|
function P1(r) {
|
|
32404
32408
|
return ["top", "bottom"].indexOf(r) >= 0 ? "x" : "y";
|
|
@@ -32632,7 +32636,7 @@ function A1(r) {
|
|
|
32632
32636
|
return /auto|scroll|overlay|hidden/.test(e + n + i);
|
|
32633
32637
|
}
|
|
32634
32638
|
function R2(r) {
|
|
32635
|
-
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));
|
|
32636
32640
|
}
|
|
32637
32641
|
function Sc(r, t) {
|
|
32638
32642
|
var e;
|
|
@@ -32658,7 +32662,7 @@ function qw(r, t, e) {
|
|
|
32658
32662
|
function fG(r) {
|
|
32659
32663
|
var t = Sc(qg(r)), e = ["absolute", "fixed"].indexOf(en(r).position) >= 0, i = e && hi(r) ? bd(r) : r;
|
|
32660
32664
|
return iu(i) ? t.filter(function(n) {
|
|
32661
|
-
return iu(n) && w2(n, i) &&
|
|
32665
|
+
return iu(n) && w2(n, i) && Mn(n) !== "body";
|
|
32662
32666
|
}) : [];
|
|
32663
32667
|
}
|
|
32664
32668
|
function dG(r, t, e, i) {
|
|
@@ -32967,7 +32971,7 @@ function OG(r, t, e) {
|
|
|
32967
32971
|
x: 0,
|
|
32968
32972
|
y: 0
|
|
32969
32973
|
};
|
|
32970
|
-
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))), {
|
|
32971
32975
|
x: a.left + o.scrollLeft - u.x,
|
|
32972
32976
|
y: a.top + o.scrollTop - u.y,
|
|
32973
32977
|
width: a.width,
|
|
@@ -33213,7 +33217,7 @@ var HG = [aG, TG, nG, WU, EG, mG, RG, tG, yG], zG = /* @__PURE__ */ GG({
|
|
|
33213
33217
|
defaultModifiers: HG
|
|
33214
33218
|
});
|
|
33215
33219
|
const { GamepadListener: jG } = require("gamepad.js");
|
|
33216
|
-
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;
|
|
33217
33221
|
class $G {
|
|
33218
33222
|
constructor(t, e, i, n, s, a, o, u, h) {
|
|
33219
33223
|
I(this, Lf);
|
|
@@ -33233,7 +33237,7 @@ class $G {
|
|
|
33233
33237
|
I(this, rg);
|
|
33234
33238
|
I(this, Xh);
|
|
33235
33239
|
I(this, ig);
|
|
33236
|
-
I(this,
|
|
33240
|
+
I(this, yn, new py());
|
|
33237
33241
|
I(this, ua, new jG({
|
|
33238
33242
|
analog: !1,
|
|
33239
33243
|
deadZone: 0.3
|
|
@@ -33344,7 +33348,7 @@ class $G {
|
|
|
33344
33348
|
<div class="sn_hint" role="tooltip">
|
|
33345
33349
|
<span>Dummy</span>
|
|
33346
33350
|
<div class="sn_hint_ar" data-popper-arrow></div>
|
|
33347
|
-
</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) => {
|
|
33348
33352
|
switch (v.data.button) {
|
|
33349
33353
|
case 0:
|
|
33350
33354
|
this.fire("click", v);
|
|
@@ -33353,13 +33357,13 @@ class $G {
|
|
|
33353
33357
|
this.fire("middleclick", v);
|
|
33354
33358
|
break;
|
|
33355
33359
|
}
|
|
33356
|
-
}), 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));
|
|
33357
33361
|
const l = (v) => {
|
|
33358
33362
|
W.isDarkMode = v.matches, a.setVal_Nochk("tmp", "const.sn.isDarkMode", W.isDarkMode);
|
|
33359
33363
|
}, c = globalThis.matchMedia("(prefers-color-scheme: dark)");
|
|
33360
33364
|
l(c), c.addEventListener("change", (v) => {
|
|
33361
33365
|
l(v), this.fire("sn:chgDarkMode", v);
|
|
33362
|
-
}), "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", (_) => {
|
|
33363
33367
|
_.isComposing || _.deltaY <= 0 || (_.stopPropagation(), m());
|
|
33364
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}`)));
|
|
33365
33369
|
const d = [
|
|
@@ -33389,7 +33393,7 @@ class $G {
|
|
|
33389
33393
|
(!m || m instanceof ve ? globalThis : m).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
|
|
33390
33394
|
} else
|
|
33391
33395
|
i.view.dispatchEvent(new Event("contextmenu"));
|
|
33392
|
-
}), f(this, ua).start(), f(this,
|
|
33396
|
+
}), f(this, ua).start(), f(this, yn).add(window, "keyup", (v) => {
|
|
33393
33397
|
v.isComposing || v.key in f(this, Or) && (f(this, Or)[v.key] = 0);
|
|
33394
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);
|
|
33395
33399
|
}
|
|
@@ -33397,7 +33401,7 @@ class $G {
|
|
|
33397
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);
|
|
33398
33402
|
}
|
|
33399
33403
|
destroy() {
|
|
33400
|
-
f(this, br).destroy(), f(this,
|
|
33404
|
+
f(this, br).destroy(), f(this, yn).clear();
|
|
33401
33405
|
}
|
|
33402
33406
|
fire(t, e) {
|
|
33403
33407
|
var s;
|
|
@@ -33509,7 +33513,7 @@ class $G {
|
|
|
33509
33513
|
return !1;
|
|
33510
33514
|
}
|
|
33511
33515
|
}
|
|
33512
|
-
|
|
33516
|
+
yn = new WeakMap(), ua = new WeakMap(), br = new WeakMap(), Bf = new WeakMap(), Lf = new WeakSet(), ob = function(t) {
|
|
33513
33517
|
if (t.isComposing)
|
|
33514
33518
|
return;
|
|
33515
33519
|
t.key in f(this, Or) && (f(this, Or)[t.key] = t.repeat ? 2 : 1);
|
|
@@ -33608,7 +33612,7 @@ _n = new WeakMap(), ua = new WeakMap(), br = new WeakMap(), Bf = new WeakMap(),
|
|
|
33608
33612
|
break;
|
|
33609
33613
|
}
|
|
33610
33614
|
h.forEach((c, d) => u.el.forEach((p) => {
|
|
33611
|
-
f(this,
|
|
33615
|
+
f(this, yn).add(p, c, (g) => {
|
|
33612
33616
|
if (!f(this, os) || this.layMng.getFrmDisabled(u.id) || c === "keydown" && g.key !== "Enter")
|
|
33613
33617
|
return;
|
|
33614
33618
|
const v = p.dataset;
|
|
@@ -33737,7 +33741,7 @@ class rT {
|
|
|
33737
33741
|
this.fn = t, this.idx = e, this.csArg = i, this.toString = () => `[fn:${this.fn}, idx:${this.idx}, csArg:${this.csArg}]`;
|
|
33738
33742
|
}
|
|
33739
33743
|
}
|
|
33740
|
-
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;
|
|
33741
33745
|
const Kr = class {
|
|
33742
33746
|
constructor(t, e, i, n, s, a, o, u, h) {
|
|
33743
33747
|
I(this, Yf);
|
|
@@ -33810,7 +33814,7 @@ const Kr = class {
|
|
|
33810
33814
|
I(this, nd, void 0);
|
|
33811
33815
|
I(this, sd, void 0);
|
|
33812
33816
|
I(this, ad, void 0);
|
|
33813
|
-
I(this,
|
|
33817
|
+
I(this, bn, void 0);
|
|
33814
33818
|
I(this, il, void 0);
|
|
33815
33819
|
I(this, Go, void 0);
|
|
33816
33820
|
I(this, Ho, void 0);
|
|
@@ -33882,7 +33886,7 @@ const Kr = class {
|
|
|
33882
33886
|
}
|
|
33883
33887
|
}
|
|
33884
33888
|
f(this, Nt).len = f(this, Nt).aToken.length;
|
|
33885
|
-
}), C(this,
|
|
33889
|
+
}), C(this, bn, !1), C(this, il, "call"), C(this, Go, /\[(call)\b/), C(this, Ho, !1), C(this, bi, {
|
|
33886
33890
|
hSave: {},
|
|
33887
33891
|
hPages: {},
|
|
33888
33892
|
aIfStk: [-1]
|
|
@@ -34007,7 +34011,7 @@ const Kr = class {
|
|
|
34007
34011
|
C(this, vt, t.idx), C(this, ce, t.ln), this.runAnalyze();
|
|
34008
34012
|
}
|
|
34009
34013
|
get isKidoku() {
|
|
34010
|
-
return f(this,
|
|
34014
|
+
return f(this, bn);
|
|
34011
34015
|
}
|
|
34012
34016
|
get isNextKidoku() {
|
|
34013
34017
|
let t = f(this, Wt), e = f(this, vt), i = f(this, Nt).len;
|
|
@@ -34021,7 +34025,7 @@ const Kr = class {
|
|
|
34021
34025
|
return !n || e === i ? !1 : n.search(e);
|
|
34022
34026
|
}
|
|
34023
34027
|
get normalWait() {
|
|
34024
|
-
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;
|
|
34025
34029
|
}
|
|
34026
34030
|
get skip4page() {
|
|
34027
34031
|
return f(this, Ho);
|
|
@@ -34447,10 +34451,10 @@ Nt = new WeakMap(), Wt = new WeakMap(), vt = new WeakMap(), ce = new WeakMap(),
|
|
|
34447
34451
|
t.record(f(this, vt));
|
|
34448
34452
|
return;
|
|
34449
34453
|
}
|
|
34450
|
-
C(this,
|
|
34451
|
-
},
|
|
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() {
|
|
34452
34456
|
var t;
|
|
34453
|
-
(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);
|
|
34454
34458
|
}, yg = new WeakSet(), J2 = function(t) {
|
|
34455
34459
|
return f(this, hs).bracket2macro(t, f(this, Nt), f(this, vt)), !1;
|
|
34456
34460
|
}, bg = new WeakSet(), K2 = function(t) {
|