@famibee/skynovel 1.43.10 → 1.44.1
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 +1859 -1848
- package/dist/app.js.map +1 -1
- package/dist/sn/EventMng.d.ts.map +1 -1
- package/dist/sn/Main.d.ts.map +1 -1
- package/dist/sn/ScriptIterator.d.ts +1 -0
- package/dist/sn/ScriptIterator.d.ts.map +1 -1
- package/dist/web.js +541 -530
- package/dist/web.js.map +1 -1
- package/package.json +3 -3
package/dist/web.js
CHANGED
|
@@ -8,7 +8,7 @@ var G = (o, t, e) => (bc(o, t, "read from private field"), e ? e.call(o) : t.get
|
|
|
8
8
|
if (t.has(o))
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
t instanceof WeakSet ? t.add(o) : t.set(o, e);
|
|
11
|
-
}, Q = (o, t, e, r) => (bc(o, t, "write to private field"), r ? r.call(o, e) : t.set(o, e), e),
|
|
11
|
+
}, Q = (o, t, e, r) => (bc(o, t, "write to private field"), r ? r.call(o, e) : t.set(o, e), e), Te = (o, t, e, r) => ({
|
|
12
12
|
set _(N) {
|
|
13
13
|
Q(o, t, N, e);
|
|
14
14
|
},
|
|
@@ -97,7 +97,7 @@ platform$1.exports;
|
|
|
97
97
|
ft && (lt = nt, nt = null);
|
|
98
98
|
var pt = lt.navigator || {}, Et = pt.userAgent || "";
|
|
99
99
|
nt || (nt = Et);
|
|
100
|
-
var Pt = ft ? !!pt.likeChrome : /\bChrome\b/.test(nt) && !/internal|\n/i.test(X.toString()), Mt = "Object", xt = ft ? Mt : "ScriptBridgingProxyObject", yt = ft ? Mt : "Environment", Rt = ft && lt.java ? "JavaPackage" : J(lt.java), jt = ft ? Mt : "RuntimeObject", It = /\bJava/.test(Rt) && lt.java, St = It && J(lt.environment) == yt, bt = It ? "a" : "α", Ut = It ? "b" : "β", Gt = lt.document || {}, Dt = lt.operamini || lt.opera, Wt = $.test(Wt = ft && Dt ? Dt["[[Class]]"] : J(Dt)) ? Wt : Dt = null, ut, qt = nt, At = [], oe = null, Kt = nt == Et, Tt = Kt && Dt && typeof Dt.version == "function" && Dt.version(),
|
|
100
|
+
var Pt = ft ? !!pt.likeChrome : /\bChrome\b/.test(nt) && !/internal|\n/i.test(X.toString()), Mt = "Object", xt = ft ? Mt : "ScriptBridgingProxyObject", yt = ft ? Mt : "Environment", Rt = ft && lt.java ? "JavaPackage" : J(lt.java), jt = ft ? Mt : "RuntimeObject", It = /\bJava/.test(Rt) && lt.java, St = It && J(lt.environment) == yt, bt = It ? "a" : "α", Ut = It ? "b" : "β", Gt = lt.document || {}, Dt = lt.operamini || lt.opera, Wt = $.test(Wt = ft && Dt ? Dt["[[Class]]"] : J(Dt)) ? Wt : Dt = null, ut, qt = nt, At = [], oe = null, Kt = nt == Et, Tt = Kt && Dt && typeof Dt.version == "function" && Dt.version(), ae, kt = Re([
|
|
101
101
|
{ label: "EdgeHTML", pattern: "Edge" },
|
|
102
102
|
"Trident",
|
|
103
103
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
|
@@ -107,7 +107,7 @@ platform$1.exports;
|
|
|
107
107
|
"Tasman",
|
|
108
108
|
"KHTML",
|
|
109
109
|
"Gecko"
|
|
110
|
-
]), vt =
|
|
110
|
+
]), vt = Me([
|
|
111
111
|
"Adobe AIR",
|
|
112
112
|
"Arora",
|
|
113
113
|
"Avant Browser",
|
|
@@ -245,7 +245,7 @@ platform$1.exports;
|
|
|
245
245
|
"Windows 98;",
|
|
246
246
|
"Windows "
|
|
247
247
|
]);
|
|
248
|
-
function
|
|
248
|
+
function Re(be) {
|
|
249
249
|
return at(be, function(le, te) {
|
|
250
250
|
return le || RegExp("\\b" + (te.pattern || it(te)) + "\\b", "i").exec(nt) && (te.label || te);
|
|
251
251
|
});
|
|
@@ -255,7 +255,7 @@ platform$1.exports;
|
|
|
255
255
|
return le || (te[Nt] || te[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Nt)] || RegExp("\\b" + it(ii) + "(?:\\b|\\w*\\d)", "i").exec(nt)) && ii;
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function Me(be) {
|
|
259
259
|
return at(be, function(le, te) {
|
|
260
260
|
return le || RegExp("\\b" + (te.pattern || it(te)) + "\\b", "i").exec(nt) && (te.label || te);
|
|
261
261
|
});
|
|
@@ -316,13 +316,13 @@ platform$1.exports;
|
|
|
316
316
|
}
|
|
317
317
|
else
|
|
318
318
|
(/\bBlackBerry\b/.test(Nt) || /\bBB10\b/.test(nt)) && (ut = (RegExp(Nt.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(nt) || 0)[1] || Tt) ? (ut = [ut, /BB10/.test(nt)], mt = (ut[1] ? (Nt = null, Yt = "BlackBerry") : "Device Software") + " " + ut[0], Tt = null) : this != K && Nt != "Wii" && (Kt && Dt || /Opera/.test(vt) && /\b(?:MSIE|Firefox)\b/i.test(nt) || vt == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(mt) || vt == "IE" && (mt && !/^Win/.test(mt) && Tt > 5.5 || /\bWindows XP\b/.test(mt) && Tt > 8 || Tt == 8 && !/\bTrident\b/.test(nt))) && !$.test(ut = ht.call(K, nt.replace($, "") + ";")) && ut.name && (ut = "ing as " + ut.name + ((ut = ut.version) ? " " + ut : ""), $.test(vt) ? (/\bIE\b/.test(ut) && mt == "Mac OS" && (mt = null), ut = "identify" + ut) : (ut = "mask" + ut, Wt ? vt = W(Wt.replace(/([a-z])([A-Z])/g, "$1 $2")) : vt = "Opera", /\bIE\b/.test(ut) && (mt = null), Kt || (Tt = null)), kt = ["Presto"], At.push(ut));
|
|
319
|
-
(ut = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(nt) || 0)[1]) && (ut = [parseFloat(ut.replace(/\.(\d)$/, ".0$1")), ut], vt == "Safari" && ut[1].slice(-1) == "+" ? (vt = "WebKit Nightly", oe = "alpha", Tt = ut[1].slice(0, -1)) : (Tt == ut[1] || Tt == (ut[2] = (/\bSafari\/([\d.]+\+?)/i.exec(nt) || 0)[1])) && (Tt = null), ut[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(nt) || 0)[1], ut[0] == 537.36 && ut[2] == 537.36 && parseFloat(ut[1]) >= 28 && kt == "WebKit" && (kt = ["Blink"]), !Kt || !Pt && !ut[1] ? (kt && (kt[1] = "like Safari"), ut = (ut = ut[0], ut < 400 ? 1 : ut < 500 ? 2 : ut < 526 ? 3 : ut < 533 ? 4 : ut < 534 ? "4+" : ut < 535 ? 5 : ut < 537 ? 6 : ut < 538 ? 7 : ut < 601 ? 8 : ut < 602 ? 9 : ut < 604 ? 10 : ut < 606 ? 11 : ut < 608 ? 12 : "12")) : (kt && (kt[1] = "like Chrome"), ut = ut[1] || (ut = ut[0], ut < 530 ? 1 : ut < 532 ? 2 : ut < 532.05 ? 3 : ut < 533 ? 4 : ut < 534.03 ? 5 : ut < 534.07 ? 6 : ut < 534.1 ? 7 : ut < 534.13 ? 8 : ut < 534.16 ? 9 : ut < 534.24 ? 10 : ut < 534.3 ? 11 : ut < 535.01 ? 12 : ut < 535.02 ? "13+" : ut < 535.07 ? 15 : ut < 535.11 ? 16 : ut < 535.19 ? 17 : ut < 536.05 ? 18 : ut < 536.1 ? 19 : ut < 537.01 ? 20 : ut < 537.11 ? "21+" : ut < 537.13 ? 23 : ut < 537.18 ? 24 : ut < 537.24 ? 25 : ut < 537.36 ? 26 : kt != "Blink" ? "27" : "28")), kt && (kt[1] += " " + (ut += typeof ut == "number" ? ".x" : /[.+]/.test(ut) ? "" : "+")), vt == "Safari" && (!Tt || parseInt(Tt) > 45) ? Tt = ut : vt == "Chrome" && /\bHeadlessChrome/i.test(nt) && At.unshift("headless")), vt == "Opera" && (ut = /\bzbov|zvav$/.exec(mt)) ? (vt += " ", At.unshift("desktop mode"), ut == "zvav" ? (vt += "Mini", Tt = null) : vt += "Mobile", mt = mt.replace(RegExp(" *" + ut + "$"), "")) : vt == "Safari" && /\bChrome\b/.exec(kt && kt[1]) ? (At.unshift("desktop mode"), vt = "Chrome Mobile", Tt = null, /\bOS X\b/.test(mt) ? (Yt = "Apple", mt = "iOS 4.3+") : mt = null) : /\bSRWare Iron\b/.test(vt) && !Tt && (Tt = qe("Chrome")), Tt && Tt.indexOf(ut = /[\d.]+$/.exec(mt)) == 0 && nt.indexOf("/" + ut + "-") > -1 && (mt = st(mt.replace(ut, ""))), mt && mt.indexOf(vt) != -1 && !RegExp(vt + " OS").test(mt) && (mt = mt.replace(RegExp(" *" + it(vt) + " *"), "")), kt && !/\b(?:Avant|Nook)\b/.test(vt) && (/Browser|Lunascape|Maxthon/.test(vt) || vt != "Safari" && /^iOS/.test(mt) && /\bSafari\b/.test(kt[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(vt) && kt[1]) && (ut = kt[kt.length - 1]) && At.push(ut), At.length && (At = ["(" + At.join("; ") + ")"]), Yt && Nt && Nt.indexOf(Yt) < 0 && At.push("on " + Yt), Nt && At.push((/^on /.test(At[At.length - 1]) ? "" : "on ") + Nt), mt && (ut = / ([\d.+]+)$/.exec(mt),
|
|
319
|
+
(ut = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(nt) || 0)[1]) && (ut = [parseFloat(ut.replace(/\.(\d)$/, ".0$1")), ut], vt == "Safari" && ut[1].slice(-1) == "+" ? (vt = "WebKit Nightly", oe = "alpha", Tt = ut[1].slice(0, -1)) : (Tt == ut[1] || Tt == (ut[2] = (/\bSafari\/([\d.]+\+?)/i.exec(nt) || 0)[1])) && (Tt = null), ut[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(nt) || 0)[1], ut[0] == 537.36 && ut[2] == 537.36 && parseFloat(ut[1]) >= 28 && kt == "WebKit" && (kt = ["Blink"]), !Kt || !Pt && !ut[1] ? (kt && (kt[1] = "like Safari"), ut = (ut = ut[0], ut < 400 ? 1 : ut < 500 ? 2 : ut < 526 ? 3 : ut < 533 ? 4 : ut < 534 ? "4+" : ut < 535 ? 5 : ut < 537 ? 6 : ut < 538 ? 7 : ut < 601 ? 8 : ut < 602 ? 9 : ut < 604 ? 10 : ut < 606 ? 11 : ut < 608 ? 12 : "12")) : (kt && (kt[1] = "like Chrome"), ut = ut[1] || (ut = ut[0], ut < 530 ? 1 : ut < 532 ? 2 : ut < 532.05 ? 3 : ut < 533 ? 4 : ut < 534.03 ? 5 : ut < 534.07 ? 6 : ut < 534.1 ? 7 : ut < 534.13 ? 8 : ut < 534.16 ? 9 : ut < 534.24 ? 10 : ut < 534.3 ? 11 : ut < 535.01 ? 12 : ut < 535.02 ? "13+" : ut < 535.07 ? 15 : ut < 535.11 ? 16 : ut < 535.19 ? 17 : ut < 536.05 ? 18 : ut < 536.1 ? 19 : ut < 537.01 ? 20 : ut < 537.11 ? "21+" : ut < 537.13 ? 23 : ut < 537.18 ? 24 : ut < 537.24 ? 25 : ut < 537.36 ? 26 : kt != "Blink" ? "27" : "28")), kt && (kt[1] += " " + (ut += typeof ut == "number" ? ".x" : /[.+]/.test(ut) ? "" : "+")), vt == "Safari" && (!Tt || parseInt(Tt) > 45) ? Tt = ut : vt == "Chrome" && /\bHeadlessChrome/i.test(nt) && At.unshift("headless")), vt == "Opera" && (ut = /\bzbov|zvav$/.exec(mt)) ? (vt += " ", At.unshift("desktop mode"), ut == "zvav" ? (vt += "Mini", Tt = null) : vt += "Mobile", mt = mt.replace(RegExp(" *" + ut + "$"), "")) : vt == "Safari" && /\bChrome\b/.exec(kt && kt[1]) ? (At.unshift("desktop mode"), vt = "Chrome Mobile", Tt = null, /\bOS X\b/.test(mt) ? (Yt = "Apple", mt = "iOS 4.3+") : mt = null) : /\bSRWare Iron\b/.test(vt) && !Tt && (Tt = qe("Chrome")), Tt && Tt.indexOf(ut = /[\d.]+$/.exec(mt)) == 0 && nt.indexOf("/" + ut + "-") > -1 && (mt = st(mt.replace(ut, ""))), mt && mt.indexOf(vt) != -1 && !RegExp(vt + " OS").test(mt) && (mt = mt.replace(RegExp(" *" + it(vt) + " *"), "")), kt && !/\b(?:Avant|Nook)\b/.test(vt) && (/Browser|Lunascape|Maxthon/.test(vt) || vt != "Safari" && /^iOS/.test(mt) && /\bSafari\b/.test(kt[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(vt) && kt[1]) && (ut = kt[kt.length - 1]) && At.push(ut), At.length && (At = ["(" + At.join("; ") + ")"]), Yt && Nt && Nt.indexOf(Yt) < 0 && At.push("on " + Yt), Nt && At.push((/^on /.test(At[At.length - 1]) ? "" : "on ") + Nt), mt && (ut = / ([\d.+]+)$/.exec(mt), ae = ut && mt.charAt(mt.length - ut[0].length - 1) == "/", mt = {
|
|
320
320
|
architecture: 32,
|
|
321
|
-
family: ut && !
|
|
321
|
+
family: ut && !ae ? mt.replace(ut[0], "") : mt,
|
|
322
322
|
version: ut ? ut[1] : null,
|
|
323
323
|
toString: function() {
|
|
324
324
|
var be = this.version;
|
|
325
|
-
return this.family + (be && !
|
|
325
|
+
return this.family + (be && !ae ? " " + be : "") + (this.architecture == 64 ? " 64-bit" : "");
|
|
326
326
|
}
|
|
327
327
|
}), (ut = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(qt)) && !/\bi686\b/i.test(qt) ? (mt && (mt.architecture = 64, mt.family = mt.family.replace(RegExp(" *" + ut), "")), vt && (/\bWOW64\b/i.test(nt) || Kt && /\w(?:86|32)$/.test(pt.cpuClass || pt.platform) && !/\bWin64; x64\b/i.test(nt)) && At.unshift("32-bit")) : mt && /^OS X/.test(mt.family) && vt == "Chrome" && parseFloat(Tt) >= 39 && (mt.architecture = 64), nt || (nt = null);
|
|
328
328
|
var Se = {};
|
|
@@ -1660,34 +1660,34 @@ punycode$1.exports;
|
|
|
1660
1660
|
return st(Gt + (at + 1) * St / (St + X));
|
|
1661
1661
|
}
|
|
1662
1662
|
function yt(St) {
|
|
1663
|
-
var bt = [], Ut = St.length, Gt, Dt = 0, Wt = q, ut = Y, qt, At, oe, Kt, Tt,
|
|
1663
|
+
var bt = [], Ut = St.length, Gt, Dt = 0, Wt = q, ut = Y, qt, At, oe, Kt, Tt, ae, kt, vt, Nt;
|
|
1664
1664
|
for (qt = St.lastIndexOf(W), qt < 0 && (qt = 0), At = 0; At < qt; ++At)
|
|
1665
1665
|
St.charCodeAt(At) >= 128 && nt("not-basic"), bt.push(St.charCodeAt(At));
|
|
1666
1666
|
for (oe = qt > 0 ? qt + 1 : 0; oe < Ut; ) {
|
|
1667
|
-
for (Kt = Dt, Tt = 1,
|
|
1667
|
+
for (Kt = Dt, Tt = 1, ae = $; oe >= Ut && nt("invalid-input"), kt = Pt(St.charCodeAt(oe++)), (kt >= $ || kt > st((U - Dt) / Tt)) && nt("overflow"), Dt += kt * Tt, vt = ae <= ut ? H : ae >= ut + V ? V : ae - ut, !(kt < vt); ae += $)
|
|
1668
1668
|
Nt = $ - vt, Tt > st(U / Nt) && nt("overflow"), Tt *= Nt;
|
|
1669
1669
|
Gt = bt.length + 1, ut = xt(Dt - Kt, Gt, Kt == 0), st(Dt / Gt) > U - Wt && nt("overflow"), Wt += st(Dt / Gt), Dt %= Gt, bt.splice(Dt++, 0, Wt);
|
|
1670
1670
|
}
|
|
1671
1671
|
return Et(bt);
|
|
1672
1672
|
}
|
|
1673
1673
|
function Rt(St) {
|
|
1674
|
-
var bt, Ut, Gt, Dt, Wt, ut, qt, At, oe, Kt, Tt,
|
|
1674
|
+
var bt, Ut, Gt, Dt, Wt, ut, qt, At, oe, Kt, Tt, ae = [], kt, vt, Nt, Yt;
|
|
1675
1675
|
for (St = pt(St), kt = St.length, bt = q, Ut = 0, Wt = Y, ut = 0; ut < kt; ++ut)
|
|
1676
|
-
Tt = St[ut], Tt < 128 &&
|
|
1677
|
-
for (Gt = Dt =
|
|
1676
|
+
Tt = St[ut], Tt < 128 && ae.push(ht(Tt));
|
|
1677
|
+
for (Gt = Dt = ae.length, Dt && ae.push(W); Gt < kt; ) {
|
|
1678
1678
|
for (qt = U, ut = 0; ut < kt; ++ut)
|
|
1679
1679
|
Tt = St[ut], Tt >= bt && Tt < qt && (qt = Tt);
|
|
1680
1680
|
for (vt = Gt + 1, qt - bt > st((U - Ut) / vt) && nt("overflow"), Ut += (qt - bt) * vt, bt = qt, ut = 0; ut < kt; ++ut)
|
|
1681
1681
|
if (Tt = St[ut], Tt < bt && ++Ut > U && nt("overflow"), Tt == bt) {
|
|
1682
1682
|
for (At = Ut, oe = $; Kt = oe <= Wt ? H : oe >= Wt + V ? V : oe - Wt, !(At < Kt); oe += $)
|
|
1683
|
-
Yt = At - Kt, Nt = $ - Kt,
|
|
1683
|
+
Yt = At - Kt, Nt = $ - Kt, ae.push(
|
|
1684
1684
|
ht(Mt(Kt + Yt % Nt, 0))
|
|
1685
1685
|
), At = st(Yt / Nt);
|
|
1686
|
-
|
|
1686
|
+
ae.push(ht(Mt(At, 0))), Wt = xt(Ut, vt, Gt == Dt), Ut = 0, ++Gt;
|
|
1687
1687
|
}
|
|
1688
1688
|
++Ut, ++bt;
|
|
1689
1689
|
}
|
|
1690
|
-
return
|
|
1690
|
+
return ae.join("");
|
|
1691
1691
|
}
|
|
1692
1692
|
function jt(St) {
|
|
1693
1693
|
return ft(St, function(bt) {
|
|
@@ -10805,12 +10805,12 @@ function buildNonNativeLine(o, t) {
|
|
|
10805
10805
|
z.push(st - lt * xt, ht - ft * xt), z.push(st + lt * yt, ht + ft * yt), Ut >= 0 && (k.join === LINE_JOIN.ROUND ? q += round$1(st, ht, st - lt * xt, ht - ft * xt, st - pt * xt, ht - Et * xt, z, !1) + 4 : q += 2, z.push(st - pt * yt, ht - Et * yt), z.push(st + pt * xt, ht + Et * xt));
|
|
10806
10806
|
continue;
|
|
10807
10807
|
}
|
|
10808
|
-
var Wt = (-lt + it) * (-ft + ht) - (-lt + st) * (-ft + at), ut = (-pt + ot) * (-Et + ht) - (-pt + st) * (-Et + nt), qt = (jt * ut - St * Wt) / Gt, At = (bt * Wt - It * ut) / Gt, oe = (qt - st) * (qt - st) + (At - ht) * (At - ht), Kt = st + (qt - st) * xt, Tt = ht + (At - ht) * xt,
|
|
10809
|
-
mt ? k.join === LINE_JOIN.BEVEL || oe / J > et ? (Dt ? (z.push(Kt, Tt), z.push(st + lt * yt, ht + ft * yt), z.push(Kt, Tt), z.push(st + pt * yt, ht + Et * yt)) : (z.push(st - lt * xt, ht - ft * xt), z.push(
|
|
10808
|
+
var Wt = (-lt + it) * (-ft + ht) - (-lt + st) * (-ft + at), ut = (-pt + ot) * (-Et + ht) - (-pt + st) * (-Et + nt), qt = (jt * ut - St * Wt) / Gt, At = (bt * Wt - It * ut) / Gt, oe = (qt - st) * (qt - st) + (At - ht) * (At - ht), Kt = st + (qt - st) * xt, Tt = ht + (At - ht) * xt, ae = st - (qt - st) * yt, kt = ht - (At - ht) * yt, vt = Math.min(jt * jt + It * It, St * St + bt * bt), Nt = Dt ? xt : yt, Yt = vt + Nt * Nt * J, mt = oe <= Yt;
|
|
10809
|
+
mt ? k.join === LINE_JOIN.BEVEL || oe / J > et ? (Dt ? (z.push(Kt, Tt), z.push(st + lt * yt, ht + ft * yt), z.push(Kt, Tt), z.push(st + pt * yt, ht + Et * yt)) : (z.push(st - lt * xt, ht - ft * xt), z.push(ae, kt), z.push(st - pt * xt, ht - Et * xt), z.push(ae, kt)), q += 2) : k.join === LINE_JOIN.ROUND ? Dt ? (z.push(Kt, Tt), z.push(st + lt * yt, ht + ft * yt), q += round$1(st, ht, st + lt * yt, ht + ft * yt, st + pt * yt, ht + Et * yt, z, !0) + 4, z.push(Kt, Tt), z.push(st + pt * yt, ht + Et * yt)) : (z.push(st - lt * xt, ht - ft * xt), z.push(ae, kt), q += round$1(st, ht, st - lt * xt, ht - ft * xt, st - pt * xt, ht - Et * xt, z, !1) + 4, z.push(st - pt * xt, ht - Et * xt), z.push(ae, kt)) : (z.push(Kt, Tt), z.push(ae, kt)) : (z.push(st - lt * xt, ht - ft * xt), z.push(st + lt * yt, ht + ft * yt), k.join === LINE_JOIN.ROUND ? Dt ? q += round$1(st, ht, st + lt * yt, ht + ft * yt, st + pt * yt, ht + Et * yt, z, !0) + 2 : q += round$1(st, ht, st - lt * xt, ht - ft * xt, st - pt * xt, ht - Et * xt, z, !1) + 2 : k.join === LINE_JOIN.MITER && oe / J <= et && (Dt ? (z.push(ae, kt), z.push(ae, kt)) : (z.push(Kt, Tt), z.push(Kt, Tt)), q += 2), z.push(st - pt * xt, ht - Et * xt), z.push(st + pt * yt, ht + Et * yt), q += 2);
|
|
10810
10810
|
}
|
|
10811
10811
|
it = r[(Y - 2) * 2], at = r[(Y - 2) * 2 + 1], st = r[(Y - 1) * 2], ht = r[(Y - 1) * 2 + 1], lt = -(at - ht), ft = it - st, Pt = Math.sqrt(lt * lt + ft * ft), lt /= Pt, ft /= Pt, lt *= K, ft *= K, z.push(st - lt * xt, ht - ft * xt), z.push(st + lt * yt, ht + ft * yt), $ || (k.cap === LINE_CAP.ROUND ? q += round$1(st - lt * (xt - yt) * 0.5, ht - ft * (xt - yt) * 0.5, st - lt * xt, ht - ft * xt, st + lt * yt, ht + ft * yt, z, !1) + 2 : k.cap === LINE_CAP.SQUARE && (q += square(st, ht, lt, ft, xt, yt, !1, z)));
|
|
10812
|
-
for (var
|
|
10813
|
-
it = z[Rt * 2], at = z[Rt * 2 + 1], st = z[(Rt + 1) * 2], ht = z[(Rt + 1) * 2 + 1], ot = z[(Rt + 2) * 2], nt = z[(Rt + 2) * 2 + 1], !(Math.abs(it * (ht - nt) + st * (nt - at) + ot * (at - ht)) < ei) &&
|
|
10812
|
+
for (var Re = t.indices, ei = GRAPHICS_CURVES.epsilon * GRAPHICS_CURVES.epsilon, Rt = W; Rt < q + W - 2; ++Rt)
|
|
10813
|
+
it = z[Rt * 2], at = z[Rt * 2 + 1], st = z[(Rt + 1) * 2], ht = z[(Rt + 1) * 2 + 1], ot = z[(Rt + 2) * 2], nt = z[(Rt + 2) * 2 + 1], !(Math.abs(it * (ht - nt) + st * (nt - at) + ot * (at - ht)) < ei) && Re.push(Rt, Rt + 1, Rt + 2);
|
|
10814
10814
|
}
|
|
10815
10815
|
}
|
|
10816
10816
|
function buildNativeLine(o, t) {
|
|
@@ -13799,15 +13799,15 @@ void main(void)\r
|
|
|
13799
13799
|
for (var ot = 0; ot < xt; ot++) {
|
|
13800
13800
|
var nt = U[ot], Tt = nt.position.x + Pt[nt.line] * (this._align === "justify" ? nt.prevSpaces : 1);
|
|
13801
13801
|
this._roundPixels && (Tt = Math.round(Tt));
|
|
13802
|
-
var
|
|
13803
|
-
vt.indices[mt * 6 + 0] = 0 + mt * 4, vt.indices[mt * 6 + 1] = 1 + mt * 4, vt.indices[mt * 6 + 2] = 2 + mt * 4, vt.indices[mt * 6 + 3] = 0 + mt * 4, vt.indices[mt * 6 + 4] = 2 + mt * 4, vt.indices[mt * 6 + 5] = 3 + mt * 4, vt.vertices[mt * 8 + 0] =
|
|
13802
|
+
var ae = Tt * k, kt = nt.position.y * k, It = nt.texture, vt = yt[It.baseTexture.uid], Nt = It.frame, Yt = It._uvs, mt = vt.index++;
|
|
13803
|
+
vt.indices[mt * 6 + 0] = 0 + mt * 4, vt.indices[mt * 6 + 1] = 1 + mt * 4, vt.indices[mt * 6 + 2] = 2 + mt * 4, vt.indices[mt * 6 + 3] = 0 + mt * 4, vt.indices[mt * 6 + 4] = 2 + mt * 4, vt.indices[mt * 6 + 5] = 3 + mt * 4, vt.vertices[mt * 8 + 0] = ae, vt.vertices[mt * 8 + 1] = kt, vt.vertices[mt * 8 + 2] = ae + Nt.width * k, vt.vertices[mt * 8 + 3] = kt, vt.vertices[mt * 8 + 4] = ae + Nt.width * k, vt.vertices[mt * 8 + 5] = kt + Nt.height * k, vt.vertices[mt * 8 + 6] = ae, vt.vertices[mt * 8 + 7] = kt + Nt.height * k, vt.uvs[mt * 8 + 0] = Yt.x0, vt.uvs[mt * 8 + 1] = Yt.y0, vt.uvs[mt * 8 + 2] = Yt.x1, vt.uvs[mt * 8 + 3] = Yt.y1, vt.uvs[mt * 8 + 4] = Yt.x2, vt.uvs[mt * 8 + 5] = Yt.y2, vt.uvs[mt * 8 + 6] = Yt.x3, vt.uvs[mt * 8 + 7] = Yt.y3;
|
|
13804
13804
|
}
|
|
13805
13805
|
this._textWidth = K * k, this._textHeight = (D.y + r.lineHeight) * k;
|
|
13806
13806
|
for (var ot in yt) {
|
|
13807
13807
|
var bt = yt[ot];
|
|
13808
13808
|
if (this.anchor.x !== 0 || this.anchor.y !== 0)
|
|
13809
|
-
for (var
|
|
13810
|
-
bt.vertices[
|
|
13809
|
+
for (var Re = 0, ei = this._textWidth * this.anchor.x, Me = this._textHeight * this.anchor.y, di = 0; di < bt.total; di++)
|
|
13810
|
+
bt.vertices[Re++] -= ei, bt.vertices[Re++] -= Me, bt.vertices[Re++] -= ei, bt.vertices[Re++] -= Me, bt.vertices[Re++] -= ei, bt.vertices[Re++] -= Me, bt.vertices[Re++] -= ei, bt.vertices[Re++] -= Me;
|
|
13811
13811
|
this._maxLineHeight = st * k;
|
|
13812
13812
|
var pi = bt.mesh.geometry.getBuffer("aVertexPosition"), qe = bt.mesh.geometry.getBuffer("aTextureCoord"), Gi = bt.mesh.geometry.getIndex();
|
|
13813
13813
|
pi.data = bt.vertices, qe.data = bt.uvs, Gi.data = bt.indices, pi.update(), qe.update(), Gi.update();
|
|
@@ -16197,11 +16197,11 @@ extensions.add(
|
|
|
16197
16197
|
TickerPlugin,
|
|
16198
16198
|
AppLoaderPlugin
|
|
16199
16199
|
);
|
|
16200
|
-
var
|
|
16200
|
+
var Nr;
|
|
16201
16201
|
class EventListenerCtn {
|
|
16202
16202
|
constructor() {
|
|
16203
16203
|
// リソースリーク対策
|
|
16204
|
-
Z(this,
|
|
16204
|
+
Z(this, Nr, []);
|
|
16205
16205
|
}
|
|
16206
16206
|
add(t, e, r, N = {}) {
|
|
16207
16207
|
if (t instanceof BaseTexture) {
|
|
@@ -16210,24 +16210,24 @@ class EventListenerCtn {
|
|
|
16210
16210
|
case "update":
|
|
16211
16211
|
case "error":
|
|
16212
16212
|
case "dispose":
|
|
16213
|
-
t.on(e, r, N), G(this,
|
|
16213
|
+
t.on(e, r, N), G(this, Nr).push(() => t.off(e, r, N));
|
|
16214
16214
|
break;
|
|
16215
16215
|
}
|
|
16216
16216
|
return;
|
|
16217
16217
|
}
|
|
16218
16218
|
if (t instanceof i$1) {
|
|
16219
|
-
t.on(e, r, N), G(this,
|
|
16219
|
+
t.on(e, r, N), G(this, Nr).push(() => t.off(e, r, N));
|
|
16220
16220
|
return;
|
|
16221
16221
|
}
|
|
16222
|
-
t.addEventListener(e, r, N), G(this,
|
|
16222
|
+
t.addEventListener(e, r, N), G(this, Nr).push(() => t.removeEventListener(e, r, { capture: N.capture ?? !1 }));
|
|
16223
16223
|
}
|
|
16224
16224
|
clear() {
|
|
16225
|
-
for (const t of G(this,
|
|
16225
|
+
for (const t of G(this, Nr))
|
|
16226
16226
|
t();
|
|
16227
|
-
Q(this,
|
|
16227
|
+
Q(this, Nr, []);
|
|
16228
16228
|
}
|
|
16229
16229
|
}
|
|
16230
|
-
|
|
16230
|
+
Nr = new WeakMap();
|
|
16231
16231
|
var SEARCH_PATH_ARG_EXT = /* @__PURE__ */ ((o) => (o.DEFAULT = "", o.SP_GSM = "png|jpg|jpeg|json|svg|webp|mp4|webm", o.SCRIPT = "sn|ssn", o.FONT = "woff2|woff|otf|ttf", o.SOUND = "mp3|m4a|ogg|aac|flac|wav", o.HTML = "htm|html", o.CSS = "css", o.SN = "sn", o.PSD = "psd", o.TST_PNGPNG_ = "png|png_", o.TST_HH = "hh", o.TST_EEE = "eee", o.TST_GGG = "ggg", o.TST_PNGXML = "png|xml", o))(SEARCH_PATH_ARG_EXT || {}), Ba, Fa, Zh;
|
|
16232
16232
|
class ConfigBase {
|
|
16233
16233
|
constructor(t) {
|
|
@@ -16721,8 +16721,8 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
16721
16721
|
return new k(function(Ct, Ot) {
|
|
16722
16722
|
var zt = _t + Ot;
|
|
16723
16723
|
return zt > Ct.length ? nt(Ot, _t.toString() + " bytes") : ot(zt, $(function(ve, $e) {
|
|
16724
|
-
var
|
|
16725
|
-
return { coll: ve.coll.concat(
|
|
16724
|
+
var ke = V($e, ve.buf);
|
|
16725
|
+
return { coll: ve.coll.concat(ke.v), buf: ke.buf };
|
|
16726
16726
|
}, { coll: [], buf: Ct.slice(Ot, zt) }, rt).coll);
|
|
16727
16727
|
});
|
|
16728
16728
|
}
|
|
@@ -16778,8 +16778,8 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
16778
16778
|
if (function() {
|
|
16779
16779
|
if (k._supportsSet !== void 0)
|
|
16780
16780
|
return k._supportsSet;
|
|
16781
|
-
var
|
|
16782
|
-
return k._supportsSet =
|
|
16781
|
+
var sr = typeof Set < "u";
|
|
16782
|
+
return k._supportsSet = sr, sr;
|
|
16783
16783
|
}() && Array.from) {
|
|
16784
16784
|
for (var Ct = new Set(_t), Ot = 0; Ot < wt.length; Ot++)
|
|
16785
16785
|
Ct.add(wt[Ot]);
|
|
@@ -16788,12 +16788,12 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
16788
16788
|
}
|
|
16789
16789
|
for (var ve = {}, $e = 0; $e < _t.length; $e++)
|
|
16790
16790
|
ve[_t[$e]] = !0;
|
|
16791
|
-
for (var
|
|
16792
|
-
ve[wt[
|
|
16793
|
-
var
|
|
16791
|
+
for (var ke = 0; ke < wt.length; ke++)
|
|
16792
|
+
ve[wt[ke]] = !0;
|
|
16793
|
+
var nr = [];
|
|
16794
16794
|
for (var ri in ve)
|
|
16795
|
-
({}).hasOwnProperty.call(ve, ri) &&
|
|
16796
|
-
return
|
|
16795
|
+
({}).hasOwnProperty.call(ve, ri) && nr.push(ri);
|
|
16796
|
+
return nr.sort(), nr;
|
|
16797
16797
|
}(rt.expected, ct.expected) : ct.expected;
|
|
16798
16798
|
return { status: rt.status, index: rt.index, value: rt.value, furthest: ct.furthest, expected: dt };
|
|
16799
16799
|
}
|
|
@@ -16849,31 +16849,31 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
16849
16849
|
if (ve === rt.length)
|
|
16850
16850
|
return "Got the end of the input";
|
|
16851
16851
|
if (ht(rt)) {
|
|
16852
|
-
var
|
|
16852
|
+
var ke = ve - ve % It, nr = ve - ke, ri = Wt(ke, St, bt + It, rt.length), sr = H(function(Ie) {
|
|
16853
16853
|
return H(function(ds) {
|
|
16854
16854
|
return Dt(ds.toString(16), 2, "0");
|
|
16855
|
-
},
|
|
16856
|
-
}, function(
|
|
16857
|
-
var ps =
|
|
16855
|
+
}, Ie);
|
|
16856
|
+
}, function(Ie, ds) {
|
|
16857
|
+
var ps = Ie.length, en = [], vs = 0;
|
|
16858
16858
|
if (ps <= ds)
|
|
16859
|
-
return [
|
|
16859
|
+
return [Ie.slice()];
|
|
16860
16860
|
for (var ms = 0; ms < ps; ms++)
|
|
16861
|
-
|
|
16862
|
-
return
|
|
16861
|
+
en[vs] || en.push([]), en[vs].push(Ie[ms]), (ms + 1) % ds == 0 && vs++;
|
|
16862
|
+
return en;
|
|
16863
16863
|
}(rt.slice(ri.from, ri.to).toJSON().data, It));
|
|
16864
|
-
Ct = function(
|
|
16865
|
-
return
|
|
16866
|
-
}(ri), _t =
|
|
16867
|
-
return
|
|
16868
|
-
},
|
|
16864
|
+
Ct = function(Ie) {
|
|
16865
|
+
return Ie.from === 0 && Ie.to === 1 ? { from: Ie.from, to: Ie.to } : { from: Ie.from / It, to: Math.floor(Ie.to / It) };
|
|
16866
|
+
}(ri), _t = ke / It, dt = 3 * nr, nr >= 4 && (dt += 1), $e = 2, wt = H(function(Ie) {
|
|
16867
|
+
return Ie.length <= 4 ? Ie.join(" ") : Ie.slice(0, 4).join(" ") + " " + Ie.slice(4).join(" ");
|
|
16868
|
+
}, sr), (Ot = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Ot = 2);
|
|
16869
16869
|
} else {
|
|
16870
16870
|
var fs = rt.split(/\r\n|[\n\r\u2028\u2029]/);
|
|
16871
16871
|
dt = zt.column - 1, _t = zt.line - 1, Ct = Wt(_t, Rt, jt, fs.length), wt = fs.slice(Ct.from, Ct.to), Ot = Ct.to.toString().length;
|
|
16872
16872
|
}
|
|
16873
16873
|
var mp = _t - Ct.from;
|
|
16874
|
-
return ht(rt) && (Ot = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Ot = 2), $(function(
|
|
16875
|
-
var
|
|
16876
|
-
return
|
|
16874
|
+
return ht(rt) && (Ot = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Ot = 2), $(function(Ie, ds, ps) {
|
|
16875
|
+
var en, vs = ps === mp, ms = vs ? "> " : Ut;
|
|
16876
|
+
return en = ht(rt) ? Dt((8 * (Ct.from + ps)).toString(16), Ot, "0") : Dt((Ct.from + ps + 1).toString(), Ot, " "), [].concat(Ie, [ms + en + " | " + ds], vs ? [Ut + Gt(" ", Ot) + " | " + Dt("", dt, " ") + Gt("^", $e)] : []);
|
|
16877
16877
|
}, [], wt).join(`
|
|
16878
16878
|
`);
|
|
16879
16879
|
}
|
|
@@ -16928,7 +16928,7 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
16928
16928
|
return Ct;
|
|
16929
16929
|
});
|
|
16930
16930
|
}
|
|
16931
|
-
function
|
|
16931
|
+
function ae(rt, ct) {
|
|
16932
16932
|
return kt(rt, ct).or(Yt([]));
|
|
16933
16933
|
}
|
|
16934
16934
|
function kt(rt, ct) {
|
|
@@ -16979,16 +16979,16 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
16979
16979
|
return nt(dt, rt);
|
|
16980
16980
|
});
|
|
16981
16981
|
}
|
|
16982
|
-
function
|
|
16982
|
+
function Re(rt) {
|
|
16983
16983
|
if (at(rt))
|
|
16984
16984
|
return k(function(ct, dt) {
|
|
16985
16985
|
var _t = rt._(ct, dt);
|
|
16986
16986
|
return _t.index = dt, _t.value = "", _t;
|
|
16987
16987
|
});
|
|
16988
16988
|
if (typeof rt == "string")
|
|
16989
|
-
return
|
|
16989
|
+
return Re(vt(rt));
|
|
16990
16990
|
if (rt instanceof RegExp)
|
|
16991
|
-
return
|
|
16991
|
+
return Re(Nt(rt));
|
|
16992
16992
|
throw new Error("not a string, regexp, or parser: " + rt);
|
|
16993
16993
|
}
|
|
16994
16994
|
function ei(rt) {
|
|
@@ -16997,7 +16997,7 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
16997
16997
|
return _t.status ? nt(dt, 'not "' + wt + '"') : ot(dt, null);
|
|
16998
16998
|
});
|
|
16999
16999
|
}
|
|
17000
|
-
function
|
|
17000
|
+
function Me(rt) {
|
|
17001
17001
|
return xt(rt), k(function(ct, dt) {
|
|
17002
17002
|
var _t = Pt(ct, dt);
|
|
17003
17003
|
return dt < ct.length && rt(_t) ? ot(dt + 1, _t) : nt(dt, "a character/byte matching " + rt);
|
|
@@ -17119,11 +17119,11 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17119
17119
|
return { name: rt, value: dt, start: ct, end: _t };
|
|
17120
17120
|
});
|
|
17121
17121
|
}, D.sepBy = function(rt) {
|
|
17122
|
-
return
|
|
17122
|
+
return ae(this, rt);
|
|
17123
17123
|
}, D.sepBy1 = function(rt) {
|
|
17124
17124
|
return kt(this, rt);
|
|
17125
17125
|
}, D.lookahead = function(rt) {
|
|
17126
|
-
return this.skip(
|
|
17126
|
+
return this.skip(Re(rt));
|
|
17127
17127
|
}, D.notFollowedBy = function(rt) {
|
|
17128
17128
|
return this.skip(ei(rt));
|
|
17129
17129
|
}, D.desc = function(rt) {
|
|
@@ -17168,21 +17168,21 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17168
17168
|
return ct;
|
|
17169
17169
|
}, k.crlf = ff, k.custom = function(rt) {
|
|
17170
17170
|
return k(rt(ot, nt));
|
|
17171
|
-
}, k.digit = le, k.digits = te, k.empty = pi, k.end = vp, k.eof = be, k.fail = mt, k.formatError = qt, k.index = qe, k.isParser = at, k.lazy = di, k.letter = ii, k.letters = fp, k.lf = cf, k.lookahead =
|
|
17172
|
-
return
|
|
17171
|
+
}, k.digit = le, k.digits = te, k.empty = pi, k.end = vp, k.eof = be, k.fail = mt, k.formatError = qt, k.index = qe, k.isParser = at, k.lazy = di, k.letter = ii, k.letters = fp, k.lf = cf, k.lookahead = Re, k.makeFailure = nt, k.makeSuccess = ot, k.newline = df, k.noneOf = function(rt) {
|
|
17172
|
+
return Me(function(ct) {
|
|
17173
17173
|
return rt.indexOf(ct) < 0;
|
|
17174
17174
|
}).desc("none of '" + rt + "'");
|
|
17175
17175
|
}, k.notFollowedBy = ei, k.of = Yt, k.oneOf = function(rt) {
|
|
17176
17176
|
for (var ct = rt.split(""), dt = 0; dt < ct.length; dt++)
|
|
17177
17177
|
ct[dt] = "'" + ct[dt] + "'";
|
|
17178
|
-
return
|
|
17178
|
+
return Me(function(_t) {
|
|
17179
17179
|
return rt.indexOf(_t) >= 0;
|
|
17180
17180
|
}).desc(ct);
|
|
17181
17181
|
}, k.optWhitespace = dp, k.Parser = k, k.range = function(rt, ct) {
|
|
17182
|
-
return
|
|
17182
|
+
return Me(function(dt) {
|
|
17183
17183
|
return rt <= dt && dt <= ct;
|
|
17184
17184
|
}).desc(rt + "-" + ct);
|
|
17185
|
-
}, k.regex = Nt, k.regexp = Nt, k.sepBy =
|
|
17185
|
+
}, k.regex = Nt, k.regexp = Nt, k.sepBy = ae, k.sepBy1 = kt, k.seq = oe, k.seqMap = Kt, k.seqObj = function() {
|
|
17186
17186
|
for (var rt, ct = {}, dt = 0, _t = (rt = arguments, Array.prototype.slice.call(rt)), wt = _t.length, Ct = 0; Ct < wt; Ct += 1) {
|
|
17187
17187
|
var Ot = _t[Ct];
|
|
17188
17188
|
if (!at(Ot)) {
|
|
@@ -17199,13 +17199,13 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17199
17199
|
if (dt === 0)
|
|
17200
17200
|
throw new Error("seqObj expects at least one named parser, found zero");
|
|
17201
17201
|
return k(function(ve, $e) {
|
|
17202
|
-
for (var
|
|
17203
|
-
var
|
|
17204
|
-
if (st(_t[ri]) ? (
|
|
17205
|
-
return
|
|
17206
|
-
|
|
17202
|
+
for (var ke, nr = {}, ri = 0; ri < wt; ri += 1) {
|
|
17203
|
+
var sr, fs;
|
|
17204
|
+
if (st(_t[ri]) ? (sr = _t[ri][0], fs = _t[ri][1]) : (sr = null, fs = _t[ri]), !(ke = lt(fs._(ve, $e), ke)).status)
|
|
17205
|
+
return ke;
|
|
17206
|
+
sr && (nr[sr] = ke.value), $e = ke.index;
|
|
17207
17207
|
}
|
|
17208
|
-
return lt(ot($e,
|
|
17208
|
+
return lt(ot($e, nr), ke);
|
|
17209
17209
|
});
|
|
17210
17210
|
}, k.string = vt, k.succeed = Yt, k.takeWhile = function(rt) {
|
|
17211
17211
|
return xt(rt), k(function(ct, dt) {
|
|
@@ -17213,7 +17213,7 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17213
17213
|
_t++;
|
|
17214
17214
|
return ot(_t, ct.slice(dt, _t));
|
|
17215
17215
|
});
|
|
17216
|
-
}, k.test =
|
|
17216
|
+
}, k.test = Me, k.whitespace = pp, k["fantasy-land/empty"] = pi, k["fantasy-land/of"] = Yt, k.Binary = { bitSeq: Y, bitSeqObj: function(rt) {
|
|
17217
17217
|
z();
|
|
17218
17218
|
var ct = {}, dt = 0, _t = H(function(Ct) {
|
|
17219
17219
|
if (st(Ct)) {
|
|
@@ -17268,11 +17268,11 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17268
17268
|
}]);
|
|
17269
17269
|
});
|
|
17270
17270
|
})(parsimmon_umd_min);
|
|
17271
|
-
var parsimmon_umd_minExports = parsimmon_umd_min.exports, cn, $t, Ht, Pi,
|
|
17271
|
+
var parsimmon_umd_minExports = parsimmon_umd_min.exports, cn, $t, Ht, Pi, or, rn, Jh, Va, xc, Qh, tl, mf;
|
|
17272
17272
|
const hf = class {
|
|
17273
17273
|
constructor(t, e = "\\") {
|
|
17274
17274
|
Z(this, $t);
|
|
17275
|
-
Z(this,
|
|
17275
|
+
Z(this, or);
|
|
17276
17276
|
Z(this, Va);
|
|
17277
17277
|
Z(this, cn, null);
|
|
17278
17278
|
Z(this, Pi, {
|
|
@@ -17311,20 +17311,20 @@ const hf = class {
|
|
|
17311
17311
|
},
|
|
17312
17312
|
"-": (t) => Number(tt(this, $t, Ht).call(this, t.shift())) - Number(tt(this, $t, Ht).call(this, t.shift())),
|
|
17313
17313
|
// 関数
|
|
17314
|
-
int: (t) => int(tt(this,
|
|
17314
|
+
int: (t) => int(tt(this, or, rn).call(this, t.shift())),
|
|
17315
17315
|
parseInt: (t) => int(G(this, Pi).Number(t)),
|
|
17316
17316
|
Number: (t) => {
|
|
17317
17317
|
const e = tt(this, $t, Ht).call(this, t.shift());
|
|
17318
|
-
return Object.prototype.toString.call(e) === "[object String]" ? tt(this,
|
|
17318
|
+
return Object.prototype.toString.call(e) === "[object String]" ? tt(this, or, rn).call(this, G(this, cn).parse(String(e)).value) : Number(e);
|
|
17319
17319
|
},
|
|
17320
17320
|
Boolean: (t) => {
|
|
17321
17321
|
const e = t.shift();
|
|
17322
17322
|
return e[0] === "!bool!" ? !!e[1] : !!tt(this, $t, Ht).call(this, e);
|
|
17323
17323
|
},
|
|
17324
|
-
ceil: (t) => Math.ceil(tt(this,
|
|
17325
|
-
floor: (t) => Math.floor(tt(this,
|
|
17326
|
-
round: (t) => Math.round(tt(this,
|
|
17327
|
-
isNaN: (t) => Number.isNaN(tt(this,
|
|
17324
|
+
ceil: (t) => Math.ceil(tt(this, or, rn).call(this, t.shift())),
|
|
17325
|
+
floor: (t) => Math.floor(tt(this, or, rn).call(this, t.shift())),
|
|
17326
|
+
round: (t) => Math.round(tt(this, or, rn).call(this, t.shift())),
|
|
17327
|
+
isNaN: (t) => Number.isNaN(tt(this, or, rn).call(this, t.shift())),
|
|
17328
17328
|
// ビットシフト
|
|
17329
17329
|
"<<": (t) => Number(tt(this, $t, Ht).call(this, t.shift())) << Number(tt(this, $t, Ht).call(this, t.shift())),
|
|
17330
17330
|
">>": (t) => Number(tt(this, $t, Ht).call(this, t.shift())) >> Number(tt(this, $t, Ht).call(this, t.shift())),
|
|
@@ -17489,7 +17489,7 @@ cn = new WeakMap(), $t = new WeakSet(), Ht = function(t) {
|
|
|
17489
17489
|
return tt(this, $t, Ht).call(this, e);
|
|
17490
17490
|
const r = G(this, Pi)[e];
|
|
17491
17491
|
return r ? r(t) : Object(null);
|
|
17492
|
-
}, Pi = new WeakMap(),
|
|
17492
|
+
}, Pi = new WeakMap(), or = new WeakSet(), rn = function(t) {
|
|
17493
17493
|
const e = tt(this, $t, Ht).call(this, t);
|
|
17494
17494
|
if (Object.prototype.toString.call(e) !== "[object Number]")
|
|
17495
17495
|
throw Error("(PropParser)引数【" + e + "】が数値ではありません");
|
|
@@ -17666,7 +17666,7 @@ class Areas {
|
|
|
17666
17666
|
return t.slice(1);
|
|
17667
17667
|
}
|
|
17668
17668
|
}
|
|
17669
|
-
var Ae, vi, me,
|
|
17669
|
+
var Ae, vi, me, hr, Pe, ai, ji, Xa, sl, Ya, Ec, Wa, qa, al, xf, ol, Ef, mi, $i, hl, Sf, ll, Tf, ul, wf, cl, Pf, fl, Cf, dl, Of, pl, Rf, vl, Mf, Cs, Bh, Ka, Sc, Za, dn, Ja, Tc, ml, _l, Os, Qa, Rs, Fh, gl, If, yl, Af, to, wc, eo, Pc, bl, Lf, xl, Nf, Ms, Uh;
|
|
17670
17670
|
const xs = class {
|
|
17671
17671
|
constructor(t, e) {
|
|
17672
17672
|
Z(this, Ya);
|
|
@@ -17711,22 +17711,22 @@ const xs = class {
|
|
|
17711
17711
|
Z(this, Ae, { sys: {}, save: {}, tmp: {}, mp: {} });
|
|
17712
17712
|
Z(this, vi, G(this, Ae).save);
|
|
17713
17713
|
Z(this, me, G(this, Ae).tmp);
|
|
17714
|
-
Z(this,
|
|
17715
|
-
Z(this,
|
|
17714
|
+
Z(this, hr, void 0);
|
|
17715
|
+
Z(this, Pe, { sys: {}, mark: {}, kidoku: {} });
|
|
17716
17716
|
Z(this, ai, void 0);
|
|
17717
17717
|
Z(this, ji, {});
|
|
17718
17718
|
Z(this, Xa, void 0);
|
|
17719
17719
|
Z(this, sl, {
|
|
17720
17720
|
auth: (t, e) => tt(this, Ya, Ec).call(this, e.hBreakpoint.aData),
|
|
17721
|
-
var: (t, e) => G(this,
|
|
17721
|
+
var: (t, e) => G(this, hr).send2Dbg(e.ri, { v: G(this, Ae)[e.scope] ?? {} }),
|
|
17722
17722
|
set_var: (t, e) => {
|
|
17723
17723
|
try {
|
|
17724
|
-
G(this, Za).call(this, e.nm, e.val), G(this,
|
|
17724
|
+
G(this, Za).call(this, e.nm, e.val), G(this, hr).send2Dbg(e.ri, {});
|
|
17725
17725
|
} catch {
|
|
17726
17726
|
}
|
|
17727
17727
|
},
|
|
17728
17728
|
set_data_break: (t, e) => {
|
|
17729
|
-
tt(this, Ya, Ec).call(this, e.a), G(this,
|
|
17729
|
+
tt(this, Ya, Ec).call(this, e.a), G(this, hr).send2Dbg(e.ri, {});
|
|
17730
17730
|
},
|
|
17731
17731
|
disconnect: (t) => Q(xs, dn, {})
|
|
17732
17732
|
});
|
|
@@ -17734,7 +17734,7 @@ const xs = class {
|
|
|
17734
17734
|
});
|
|
17735
17735
|
Z(this, qa, (t) => {
|
|
17736
17736
|
});
|
|
17737
|
-
gt(this, "getMark", (t) => G(this,
|
|
17737
|
+
gt(this, "getMark", (t) => G(this, Pe).mark[t]);
|
|
17738
17738
|
gt(this, "getAreaKidoku", (t) => G(this, ji)[t]);
|
|
17739
17739
|
Z(this, Za, (t, e, r = !0) => {
|
|
17740
17740
|
if (!t)
|
|
@@ -17837,8 +17837,8 @@ const xs = class {
|
|
|
17837
17837
|
});
|
|
17838
17838
|
if (this.cfg = t, e.let = (k) => tt(this, mi, $i).call(this, k), e.let_abs = (k) => tt(this, hl, Sf).call(this, k), e.let_char_at = (k) => tt(this, ll, Tf).call(this, k), e.let_index_of = (k) => tt(this, ul, wf).call(this, k), e.let_length = (k) => tt(this, cl, Pf).call(this, k), e.let_replace = (k) => tt(this, fl, Cf).call(this, k), e.let_round = (k) => tt(this, dl, Of).call(this, k), e.let_search = (k) => tt(this, pl, Rf).call(this, k), e.let_substr = (k) => tt(this, vl, Mf).call(this, k), e.clearsysvar = () => tt(this, Cs, Bh).call(this), e.clearvar = () => tt(this, Ka, Sc).call(this), e.dump_val = () => G(this, _l).call(this), e.copybookmark = (k) => tt(this, al, xf).call(this, k), e.erasebookmark = (k) => tt(this, ol, Ef).call(this, k), G(this, vi)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
|
|
17839
17839
|
const k = [];
|
|
17840
|
-
for (const D of Object.keys(G(this,
|
|
17841
|
-
const U = { ...G(this,
|
|
17840
|
+
for (const D of Object.keys(G(this, Pe).mark).sort()) {
|
|
17841
|
+
const U = { ...G(this, Pe).mark[D].json };
|
|
17842
17842
|
U.place = D, k.push(U);
|
|
17843
17843
|
}
|
|
17844
17844
|
return JSON.stringify(k);
|
|
@@ -17848,7 +17848,7 @@ const xs = class {
|
|
|
17848
17848
|
G(this, me)["const.sn.needClick2Play"] = () => new N().state === "suspended";
|
|
17849
17849
|
}
|
|
17850
17850
|
setSys(t) {
|
|
17851
|
-
Q(this,
|
|
17851
|
+
Q(this, hr, t), t.initVal(G(this, Pe), G(this, me), (e) => {
|
|
17852
17852
|
this.updateData(e), sessionStorage.clear();
|
|
17853
17853
|
const r = this.cfg.getNs();
|
|
17854
17854
|
Q(this, Wa, this.cfg.oCfg.debug.variable ? () => {
|
|
@@ -17869,11 +17869,11 @@ const xs = class {
|
|
|
17869
17869
|
$[X] = z instanceof Function ? z() : z;
|
|
17870
17870
|
sessionStorage[r + "mp"] = JSON.stringify($);
|
|
17871
17871
|
const H = {};
|
|
17872
|
-
for (const [X, z] of Object.entries(G(this,
|
|
17872
|
+
for (const [X, z] of Object.entries(G(this, Pe).mark))
|
|
17873
17873
|
H[X] = z instanceof Function ? z() : z;
|
|
17874
17874
|
sessionStorage[r + "mark"] = JSON.stringify(H);
|
|
17875
17875
|
const V = {};
|
|
17876
|
-
for (const [X, z] of Object.entries(G(this,
|
|
17876
|
+
for (const [X, z] of Object.entries(G(this, Pe).kidoku))
|
|
17877
17877
|
V[X] = z instanceof Function ? z() : z;
|
|
17878
17878
|
sessionStorage[r + "kidoku"] = JSON.stringify(V), t.flush();
|
|
17879
17879
|
} : () => t.flush()), Q(this, Xa, (k, D) => t.callHook(k, D)), t.addHook((k, D) => {
|
|
@@ -17885,8 +17885,8 @@ const xs = class {
|
|
|
17885
17885
|
});
|
|
17886
17886
|
}
|
|
17887
17887
|
updateData(t) {
|
|
17888
|
-
Q(this,
|
|
17889
|
-
for (const [e, r] of Object.entries(G(this,
|
|
17888
|
+
Q(this, Pe, t), Q(this, ai, G(this, Ae).sys = G(this, Pe).sys), Q(this, ji, {});
|
|
17889
|
+
for (const [e, r] of Object.entries(G(this, Pe).kidoku)) {
|
|
17890
17890
|
const N = new Areas();
|
|
17891
17891
|
N.hAreas = { ...r }, G(this, ji)[e] = N;
|
|
17892
17892
|
}
|
|
@@ -17908,7 +17908,7 @@ const xs = class {
|
|
|
17908
17908
|
G(this, Ae).mp = t;
|
|
17909
17909
|
}
|
|
17910
17910
|
setMark(t, e) {
|
|
17911
|
-
G(this,
|
|
17911
|
+
G(this, Pe).mark[t] = e, this.flush();
|
|
17912
17912
|
}
|
|
17913
17913
|
cloneSave() {
|
|
17914
17914
|
return { ...G(this, Ae).save };
|
|
@@ -17922,7 +17922,7 @@ const xs = class {
|
|
|
17922
17922
|
}
|
|
17923
17923
|
saveKidoku() {
|
|
17924
17924
|
for (const [t, { hAreas: e }] of Object.entries(G(this, ji)))
|
|
17925
|
-
G(this,
|
|
17925
|
+
G(this, Pe).kidoku[t] = { ...e };
|
|
17926
17926
|
this.flush();
|
|
17927
17927
|
}
|
|
17928
17928
|
setVal_Nochk(t, e, r, N = !1) {
|
|
@@ -17948,7 +17948,7 @@ const xs = class {
|
|
|
17948
17948
|
}
|
|
17949
17949
|
};
|
|
17950
17950
|
let Variable = xs;
|
|
17951
|
-
Ae = new WeakMap(), vi = new WeakMap(), me = new WeakMap(),
|
|
17951
|
+
Ae = new WeakMap(), vi = new WeakMap(), me = new WeakMap(), hr = new WeakMap(), Pe = new WeakMap(), ai = new WeakMap(), ji = new WeakMap(), Xa = new WeakMap(), sl = new WeakMap(), Ya = new WeakSet(), Ec = function(t) {
|
|
17952
17952
|
Q(xs, dn, {});
|
|
17953
17953
|
for (const e of t)
|
|
17954
17954
|
G(xs, dn)[e.dataId] = 1;
|
|
@@ -17960,14 +17960,14 @@ Ae = new WeakMap(), vi = new WeakMap(), me = new WeakMap(), or = new WeakMap(),
|
|
|
17960
17960
|
const e = Number(t.from), r = Number(t.to);
|
|
17961
17961
|
if (e === r)
|
|
17962
17962
|
return !1;
|
|
17963
|
-
if (!(e in G(this,
|
|
17963
|
+
if (!(e in G(this, Pe).mark))
|
|
17964
17964
|
throw `from:${e} のセーブデータは存在しません`;
|
|
17965
|
-
return this.setMark(r, { ...G(this,
|
|
17965
|
+
return this.setMark(r, { ...G(this, Pe).mark[e] }), G(this, hr).copyBMFolder(e, r), !1;
|
|
17966
17966
|
}, ol = new WeakSet(), Ef = function(t) {
|
|
17967
17967
|
const { place: e } = t;
|
|
17968
17968
|
if (!e)
|
|
17969
17969
|
throw "placeは必須です";
|
|
17970
|
-
return delete G(this,
|
|
17970
|
+
return delete G(this, Pe).mark[e], this.flush(), G(this, hr).eraseBMFolder(e), !1;
|
|
17971
17971
|
}, mi = new WeakSet(), $i = function(t) {
|
|
17972
17972
|
if (!t.name)
|
|
17973
17973
|
throw "nameは必須です";
|
|
@@ -18023,11 +18023,11 @@ Ae = new WeakMap(), vi = new WeakMap(), me = new WeakMap(), or = new WeakMap(),
|
|
|
18023
18023
|
const e = argChk_Num(t, "pos", 0);
|
|
18024
18024
|
return t.text = t.len !== "all" ? (t.text ?? "").slice(e, e + int(argChk_Num(t, "len", 1))) : (t.text ?? "").slice(e), tt(this, mi, $i).call(this, t), !1;
|
|
18025
18025
|
}, Cs = new WeakSet(), Bh = function() {
|
|
18026
|
-
const t = Q(this, ai, G(this, Ae).sys = G(this,
|
|
18026
|
+
const t = Q(this, ai, G(this, Ae).sys = G(this, Pe).sys = {});
|
|
18027
18027
|
typeof process < "u" || (this.setVal_Nochk("sys", "const.sn.window.x", 0), this.setVal_Nochk("sys", "const.sn.window.y", 0)), this.setVal_Nochk("sys", "sn.tagCh.doWait", !0), this.setVal_Nochk("sys", "sn.tagCh.doWait_Kidoku", !0), this.setVal_Nochk("sys", "sn.tagCh.msecWait", this.cfg.oCfg.init.tagch_msecwait), this.setVal_Nochk("sys", "sn.tagCh.msecWait_Kidoku", this.cfg.oCfg.init.tagch_msecwait), this.setVal_Nochk("sys", "sn.tagCh.canskip", !0), this.setVal_Nochk("sys", "sn.skip.mode", "s"), this.setVal_Nochk("sys", "sn.auto.msecPageWait", argChk_Num(t, "sn.auto.msecPageWait", this.cfg.oCfg.init.auto_msecpagewait ?? 3500)), this.setVal_Nochk("sys", "sn.auto.msecPageWait_Kidoku", argChk_Num(t, "sn.auto.msecPageWait", this.cfg.oCfg.init.auto_msecpagewait ?? 3500)), this.setVal_Nochk("sys", "sn.auto.msecLineWait", 500), this.setVal_Nochk("sys", "sn.auto.msecLineWait_Kidoku", 500), this.setVal_Nochk("sys", "const.sn.sound.BGM.volume", 1), this.setVal_Nochk("sys", "const.sn.sound.SE.volume", 1), this.setVal_Nochk("sys", "const.sn.sound.SYS.volume", 1);
|
|
18028
|
-
for (const [r, N] of Object.entries(G(this,
|
|
18028
|
+
for (const [r, N] of Object.entries(G(this, Pe).kidoku))
|
|
18029
18029
|
N.hAreas = {}, G(this, ji)[r].clear();
|
|
18030
|
-
return this.setVal_Nochk("sys", "TextLayer.Back.Alpha", 0.5), G(this, Ae).mark = G(this,
|
|
18030
|
+
return this.setVal_Nochk("sys", "TextLayer.Back.Alpha", 0.5), G(this, Ae).mark = G(this, Pe).mark = {}, this.setVal_Nochk("sys", "const.sn.save.place", 1), this.flush(), !1;
|
|
18031
18031
|
}, Ka = new WeakSet(), Sc = function() {
|
|
18032
18032
|
const t = G(this, vi)["const.sn.mesLayer"] ?? "", e = G(this, vi)["sn.doRecLog"] ?? !1, r = G(this, vi)["const.sn.sLog"] ?? "[]";
|
|
18033
18033
|
return Q(this, vi, G(this, Ae).save = {}), this.setVal_Nochk("save", "const.sn.mesLayer", t), this.setVal_Nochk("save", "sn.doRecLog", e), this.setVal_Nochk("save", "const.sn.sLog", r), !1;
|
|
@@ -19457,8 +19457,8 @@ var y = p.filter(function(o) {
|
|
|
19457
19457
|
}(new S());
|
|
19458
19458
|
"extensions" in n ? extensions.add(m) : Loader.registerPlugin(m);
|
|
19459
19459
|
let cfg, val, main$2, sys;
|
|
19460
|
-
var
|
|
19461
|
-
const
|
|
19460
|
+
var Ge, Ee, Is, ro, no, Cc;
|
|
19461
|
+
const we = class {
|
|
19462
19462
|
constructor() {
|
|
19463
19463
|
Z(this, no);
|
|
19464
19464
|
Z(this, Ee, void 0);
|
|
@@ -19471,12 +19471,12 @@ const Te = class {
|
|
|
19471
19471
|
gt(this, "stopfadese", (t) => G(this, Ee).stt.stopfadese(G(this, Ee), t));
|
|
19472
19472
|
}
|
|
19473
19473
|
static init(t, e, r, N) {
|
|
19474
|
-
Q(
|
|
19474
|
+
Q(we, Ge, {}), cfg = t, val = e, main$2 = r, sys = N;
|
|
19475
19475
|
}
|
|
19476
19476
|
static delLoopPlay(t) {
|
|
19477
|
-
delete G(
|
|
19477
|
+
delete G(we, Ge)[t];
|
|
19478
19478
|
const e = "const.sn.sound." + t + ".";
|
|
19479
|
-
val.setVal_Nochk("save", e + "fn", ""), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(
|
|
19479
|
+
val.setVal_Nochk("save", e + "fn", ""), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ge))), val.flush();
|
|
19480
19480
|
}
|
|
19481
19481
|
static getVol(t, e) {
|
|
19482
19482
|
const r = argChk_Num(t, "volume", e);
|
|
@@ -19487,10 +19487,10 @@ const Te = class {
|
|
|
19487
19487
|
if (e === r)
|
|
19488
19488
|
return;
|
|
19489
19489
|
const N = "const.sn.sound." + e + ".", k = Number(val.getVal("save:" + N + "volume")), D = String(val.getVal("save:" + N + "fn")), U = "const.sn.sound." + r + ".", $ = Number(val.getVal("save:" + U + "volume")), H = String(val.getVal("save:" + U + "fn"));
|
|
19490
|
-
val.setVal_Nochk("save", N + "volume", $), val.setVal_Nochk("save", U + "volume", k), val.setVal_Nochk("save", N + "fn", H), val.setVal_Nochk("save", U + "fn", D), e in G(
|
|
19490
|
+
val.setVal_Nochk("save", N + "volume", $), val.setVal_Nochk("save", U + "volume", k), val.setVal_Nochk("save", N + "fn", H), val.setVal_Nochk("save", U + "fn", D), e in G(we, Ge) != r in G(we, Ge) && (e in G(we, Ge) ? (delete G(we, Ge)[e], G(we, Ge)[r] = 0) : (delete G(we, Ge)[r], G(we, Ge)[e] = 0), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ge)))), val.flush();
|
|
19491
19491
|
}
|
|
19492
19492
|
init(t) {
|
|
19493
|
-
const { buf: e = "SE", fn: r = "" } = t, N = argChk_Num(t, "start_ms", 0), k = argChk_Num(t, "end_ms", G(
|
|
19493
|
+
const { buf: e = "SE", fn: r = "" } = t, N = argChk_Num(t, "start_ms", 0), k = argChk_Num(t, "end_ms", G(we, Is)), D = argChk_Num(t, "ret_ms", 0), U = argChk_Num(t, "pan", 0), $ = argChk_Num(t, "speed", 1);
|
|
19494
19494
|
if (N < 0)
|
|
19495
19495
|
throw `[playse] start_ms:${N} が負の値です`;
|
|
19496
19496
|
if (D < 0)
|
|
@@ -19503,10 +19503,10 @@ const Te = class {
|
|
|
19503
19503
|
}
|
|
19504
19504
|
const H = "const.sn.sound." + e + ".";
|
|
19505
19505
|
val.setVal_Nochk("save", H + "fn", r);
|
|
19506
|
-
const V =
|
|
19506
|
+
const V = we.getVol(t, 1);
|
|
19507
19507
|
val.setVal_Nochk("save", H + "volume", V);
|
|
19508
19508
|
const X = V * Number(val.getVal("sys:" + H + "volume", 1)), z = argChk_Boolean(t, "loop", !1);
|
|
19509
|
-
z ? (G(
|
|
19509
|
+
z ? (G(we, Ge)[e] = 0, val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ge)))) : we.delLoopPlay(e), val.setVal_Nochk("save", H + "start_ms", N), val.setVal_Nochk("save", H + "end_ms", k), val.setVal_Nochk("save", H + "ret_ms", D), val.setVal_Nochk("tmp", H + "playing", !0), val.flush();
|
|
19510
19510
|
const Y = B.find(r);
|
|
19511
19511
|
Q(this, Ee, {
|
|
19512
19512
|
fn: r,
|
|
@@ -19531,7 +19531,7 @@ const Te = class {
|
|
|
19531
19531
|
}
|
|
19532
19532
|
};
|
|
19533
19533
|
let W = "";
|
|
19534
|
-
if (0 < N || k < G(
|
|
19534
|
+
if (0 < N || k < G(we, Is)) {
|
|
19535
19535
|
W = `${r};${N};${k};${D}`;
|
|
19536
19536
|
const J = (q.sprites ?? (q.sprites = {}))[W] = {
|
|
19537
19537
|
start: N / 1e3,
|
|
@@ -19542,7 +19542,7 @@ const Te = class {
|
|
|
19542
19542
|
q.loaded = (it, at) => {
|
|
19543
19543
|
et(it, at);
|
|
19544
19544
|
const st = at, ht = st.duration;
|
|
19545
|
-
J.end < 0 && (J.end += ht, st.removeSprites(W), st.addSprites(W, J)), J.end <= J.start && main$2.errScript(`[playse] end_ms:${k}(${J.end * 1e3}) >= start_ms:${N} は異常値です`), J.end * 1e3 <= D && main$2.errScript(`[playse] end_ms:${k}(${J.end * 1e3}) <= ret_ms:${D} は異常値です`), ht <= J.start && main$2.errScript(`[playse] 音声ファイル再生時間:${ht * 1e3} <= start_ms:${N} は異常値です`), k !== G(
|
|
19545
|
+
J.end < 0 && (J.end += ht, st.removeSprites(W), st.addSprites(W, J)), J.end <= J.start && main$2.errScript(`[playse] end_ms:${k}(${J.end * 1e3}) >= start_ms:${N} は異常値です`), J.end * 1e3 <= D && main$2.errScript(`[playse] end_ms:${k}(${J.end * 1e3}) <= ret_ms:${D} は異常値です`), ht <= J.start && main$2.errScript(`[playse] 音声ファイル再生時間:${ht * 1e3} <= start_ms:${N} は異常値です`), k !== G(we, Is) && ht <= J.end && main$2.errScript(`[playse] 音声ファイル再生時間:${ht * 1e3} <= end_ms:${k} は異常値です`), st.play(W, (ot) => {
|
|
19546
19546
|
var nt;
|
|
19547
19547
|
(nt = q.complete) == null || nt.call(q, ot), z || G(this, Ee).stt.onPlayEnd();
|
|
19548
19548
|
});
|
|
@@ -19598,8 +19598,8 @@ const Te = class {
|
|
|
19598
19598
|
G(this, Ee).stt.fade(G(this, Ee), t, e);
|
|
19599
19599
|
}
|
|
19600
19600
|
};
|
|
19601
|
-
let SndBuf =
|
|
19602
|
-
|
|
19601
|
+
let SndBuf = we;
|
|
19602
|
+
Ge = new WeakMap(), Ee = new WeakMap(), Is = new WeakMap(), ro = new WeakMap(), no = new WeakSet(), Cc = function(t, e) {
|
|
19603
19603
|
const r = cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SOUND);
|
|
19604
19604
|
if (r.slice(-4) !== ".bin") {
|
|
19605
19605
|
e.url = r, C.from(e);
|
|
@@ -19613,7 +19613,7 @@ Fe = new WeakMap(), Ee = new WeakMap(), Is = new WeakMap(), ro = new WeakMap(),
|
|
|
19613
19613
|
var D;
|
|
19614
19614
|
e.source = (D = k[t]) == null ? void 0 : D.data, C.from(e);
|
|
19615
19615
|
});
|
|
19616
|
-
}, Z(SndBuf,
|
|
19616
|
+
}, Z(SndBuf, Ge, {}), Z(SndBuf, Is, 999e3);
|
|
19617
19617
|
function stop2var(o, t) {
|
|
19618
19618
|
if (o.loop)
|
|
19619
19619
|
SndBuf.delLoopPlay(t);
|
|
@@ -19808,7 +19808,7 @@ class SsStop {
|
|
|
19808
19808
|
}
|
|
19809
19809
|
// ok
|
|
19810
19810
|
}
|
|
19811
|
-
var He, so,
|
|
19811
|
+
var He, so, kr, Sl, kf, Tl, Df, wl, Bf, Pl, Ff, ao, Oc, pn, Pa, oo, Rc, As, Gh, ho, Mc, Cl, Uf, vn, Ca, Ol, Gf, lo, Ic, uo, Ac, Rl, $f, co, Lc, Ml, jf;
|
|
19812
19812
|
class SoundMng {
|
|
19813
19813
|
constructor(t, e, r, N, k) {
|
|
19814
19814
|
// 音量設定(独自拡張)
|
|
@@ -19846,11 +19846,11 @@ class SoundMng {
|
|
|
19846
19846
|
Z(this, Ml);
|
|
19847
19847
|
Z(this, He, {});
|
|
19848
19848
|
Z(this, so, {});
|
|
19849
|
-
Z(this,
|
|
19849
|
+
Z(this, kr, void 0);
|
|
19850
19850
|
this.cfg = t, this.val = r, this.main = N, this.sys = k, e.volume = (D) => tt(this, Sl, kf).call(this, D), e.fadebgm = (D) => tt(this, ao, Oc).call(this, D), e.fadeoutbgm = (D) => tt(this, wl, Bf).call(this, D), e.fadeoutse = (D) => tt(this, Pl, Ff).call(this, D), e.fadese = (D) => tt(this, pn, Pa).call(this, D), e.playbgm = (D) => tt(this, oo, Rc).call(this, D), e.playse = (D) => tt(this, As, Gh).call(this, D), e.stop_allse = () => tt(this, ho, Mc).call(this), e.stopbgm = (D) => tt(this, Cl, Uf).call(this, D), e.stopse = (D) => tt(this, vn, Ca).call(this, D), e.wb = (D) => tt(this, Ol, Gf).call(this, D), e.wf = (D) => tt(this, lo, Ic).call(this, D), e.stopfadese = (D) => tt(this, uo, Ac).call(this, D), e.wl = (D) => tt(this, Rl, $f).call(this, D), e.ws = (D) => tt(this, co, Lc).call(this, D), e.xchgbuf = (D) => tt(this, Ml, jf).call(this, D), r.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), r.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(R.supported)), SndBuf.init(t, r, N, k);
|
|
19851
19851
|
}
|
|
19852
19852
|
setEvtMng(t) {
|
|
19853
|
-
Q(this,
|
|
19853
|
+
Q(this, kr, t);
|
|
19854
19854
|
}
|
|
19855
19855
|
setNoticeChgVolume(t, e) {
|
|
19856
19856
|
this.val.defValTrg("sys:sn.sound.global_volume", (r, N) => t(B.volumeAll = Number(N))), this.val.defValTrg("sys:sn.sound.movie_volume", (r, N) => e(Number(N))), this.val.setVal_Nochk("sys", "sn.sound.global_volume", this.val.getVal("sys:sn.sound.global_volume", 1)), this.val.setVal_Nochk("sys", "sn.sound.movie_volume", this.val.getVal("sys:sn.sound.movie_volume", 1));
|
|
@@ -19885,7 +19885,7 @@ class SoundMng {
|
|
|
19885
19885
|
r();
|
|
19886
19886
|
}
|
|
19887
19887
|
}
|
|
19888
|
-
He = new WeakMap(), so = new WeakMap(),
|
|
19888
|
+
He = new WeakMap(), so = new WeakMap(), kr = new WeakMap(), Sl = new WeakSet(), kf = function(t) {
|
|
19889
19889
|
const { buf: e = "SE" } = t, r = "const.sn.sound." + e + ".volume", N = tt(this, Tl, Df).call(this, t, 1);
|
|
19890
19890
|
return Number(this.val.getVal("sys:" + r)) === N ? !1 : (this.val.setVal_Nochk("sys", r, N), this.val.flush(), t.time = 0, t.volume = Number(this.val.getVal("save:" + r)), tt(this, pn, Pa).call(this, t));
|
|
19891
19891
|
}, Tl = new WeakSet(), Df = function(t, e) {
|
|
@@ -19900,14 +19900,14 @@ He = new WeakMap(), so = new WeakMap(), Nr = new WeakMap(), Sl = new WeakSet(),
|
|
|
19900
19900
|
}, pn = new WeakSet(), Pa = function(t) {
|
|
19901
19901
|
var r;
|
|
19902
19902
|
const { buf: e = "SE" } = t;
|
|
19903
|
-
return tt(this, uo, Ac).call(this, t), (r = G(this, He)[e]) == null || r.fade(t, G(this,
|
|
19903
|
+
return tt(this, uo, Ac).call(this, t), (r = G(this, He)[e]) == null || r.fade(t, G(this, kr)), !1;
|
|
19904
19904
|
}, oo = new WeakSet(), Rc = function(t) {
|
|
19905
19905
|
return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), tt(this, As, Gh).call(this, t);
|
|
19906
19906
|
}, As = new WeakSet(), Gh = function(t) {
|
|
19907
19907
|
const { buf: e = "SE", fn: r } = t;
|
|
19908
19908
|
if (tt(this, vn, Ca).call(this, { buf: e }), !r)
|
|
19909
19909
|
throw `[playse] fnは必須です buf:${e}`;
|
|
19910
|
-
return argChk_Boolean(t, "canskip", !0) && G(this,
|
|
19910
|
+
return argChk_Boolean(t, "canskip", !0) && G(this, kr).isSkippingByKeyDown() ? !1 : (G(this, He)[e] = new SndBuf()).init(t);
|
|
19911
19911
|
}, ho = new WeakSet(), Mc = function() {
|
|
19912
19912
|
for (const t of Object.keys(G(this, He)))
|
|
19913
19913
|
tt(this, vn, Ca).call(this, { buf: t });
|
|
@@ -19923,7 +19923,7 @@ He = new WeakMap(), so = new WeakMap(), Nr = new WeakMap(), Sl = new WeakSet(),
|
|
|
19923
19923
|
}, lo = new WeakSet(), Ic = function(t) {
|
|
19924
19924
|
var r;
|
|
19925
19925
|
const { buf: e = "SE" } = t;
|
|
19926
|
-
return (r = G(this, He)[e]) == null ? void 0 : r.wf(t, G(this,
|
|
19926
|
+
return (r = G(this, He)[e]) == null ? void 0 : r.wf(t, G(this, kr));
|
|
19927
19927
|
}, uo = new WeakSet(), Ac = function(t) {
|
|
19928
19928
|
var r;
|
|
19929
19929
|
const { buf: e = "SE" } = t;
|
|
@@ -19933,7 +19933,7 @@ He = new WeakMap(), so = new WeakMap(), Nr = new WeakMap(), Sl = new WeakSet(),
|
|
|
19933
19933
|
}, co = new WeakSet(), Lc = function(t) {
|
|
19934
19934
|
var r;
|
|
19935
19935
|
const { buf: e = "SE" } = t;
|
|
19936
|
-
return (r = G(this, He)[e]) == null ? void 0 : r.ws(t, G(this,
|
|
19936
|
+
return (r = G(this, He)[e]) == null ? void 0 : r.ws(t, G(this, kr));
|
|
19937
19937
|
}, Ml = new WeakSet(), jf = function(t) {
|
|
19938
19938
|
const { buf: e = "SE", buf2: r = "SE" } = t;
|
|
19939
19939
|
return e === r || ([G(this, He)[e], G(this, He)[r]] = [G(this, He)[r], G(this, He)[e]], SndBuf.xchgbuf(t)), !1;
|
|
@@ -19977,7 +19977,7 @@ const lf = class {
|
|
|
19977
19977
|
let Pages = lf;
|
|
19978
19978
|
fe = new WeakMap();
|
|
19979
19979
|
var Il, Al;
|
|
19980
|
-
const
|
|
19980
|
+
const ar = class {
|
|
19981
19981
|
constructor() {
|
|
19982
19982
|
gt(this, "layname", "");
|
|
19983
19983
|
gt(this, "name_", "");
|
|
@@ -20041,7 +20041,7 @@ const sr = class {
|
|
|
20041
20041
|
destroy() {
|
|
20042
20042
|
}
|
|
20043
20043
|
lay(t) {
|
|
20044
|
-
return "alpha" in t && (this.spLay.alpha = argChk_Num(t, "alpha", 1)),
|
|
20044
|
+
return "alpha" in t && (this.spLay.alpha = argChk_Num(t, "alpha", 1)), ar.setBlendmode(this.spLay, t), ("pivot_x" in t || "pivot_y" in t) && this.spLay.pivot.set(
|
|
20045
20045
|
argChk_Num(t, "pivot_x", this.spLay.pivot.x),
|
|
20046
20046
|
argChk_Num(t, "pivot_y", this.spLay.pivot.y)
|
|
20047
20047
|
), "rotation" in t && (this.spLay.angle = argChk_Num(t, "rotation", 0)), ("scale_x" in t || "scale_y" in t) && this.spLay.scale.set(
|
|
@@ -20053,14 +20053,14 @@ const sr = class {
|
|
|
20053
20053
|
const { blendmode: r } = e;
|
|
20054
20054
|
if (!r)
|
|
20055
20055
|
return;
|
|
20056
|
-
const N =
|
|
20056
|
+
const N = ar.getBlendmodeNum(r);
|
|
20057
20057
|
t instanceof Sprite && (t.blendMode = N);
|
|
20058
20058
|
}
|
|
20059
20059
|
static setBlendmode(t, e) {
|
|
20060
20060
|
const { blendmode: r } = e;
|
|
20061
20061
|
if (!r)
|
|
20062
20062
|
return;
|
|
20063
|
-
const N =
|
|
20063
|
+
const N = ar.getBlendmodeNum(r);
|
|
20064
20064
|
t instanceof Sprite && (t.blendMode = N);
|
|
20065
20065
|
for (const k of t.children)
|
|
20066
20066
|
k instanceof Sprite && (k.blendMode = N);
|
|
@@ -20068,13 +20068,13 @@ const sr = class {
|
|
|
20068
20068
|
static getBlendmodeNum(t) {
|
|
20069
20069
|
if (!t)
|
|
20070
20070
|
return BLEND_MODES.NORMAL;
|
|
20071
|
-
const e = G(
|
|
20071
|
+
const e = G(ar, Il)[t];
|
|
20072
20072
|
if (e !== void 0)
|
|
20073
20073
|
return e;
|
|
20074
20074
|
throw `${t} はサポートされない blendmode です`;
|
|
20075
20075
|
}
|
|
20076
20076
|
static getNum2Blendmode(t) {
|
|
20077
|
-
return G(
|
|
20077
|
+
return G(ar, Al)[t] ?? "normal";
|
|
20078
20078
|
}
|
|
20079
20079
|
// アニメ・動画があるか
|
|
20080
20080
|
get containMovement() {
|
|
@@ -20132,14 +20132,14 @@ const sr = class {
|
|
|
20132
20132
|
}
|
|
20133
20133
|
static setXY(t, e, r, N = !1, k = !1) {
|
|
20134
20134
|
if (e.pos) {
|
|
20135
|
-
|
|
20135
|
+
ar.setXYByPos(t, e.pos, r);
|
|
20136
20136
|
return;
|
|
20137
20137
|
}
|
|
20138
20138
|
const D = t.getBounds(), U = r.scale.x < 0 ? -r.scale.x : r.scale.x, $ = U === 1 ? D.width : D.width * U, H = r.scale.y < 0 ? -r.scale.y : r.scale.y, V = H === 1 ? D.height : D.height * H;
|
|
20139
20139
|
let X = r.x;
|
|
20140
20140
|
"left" in e ? (X = argChk_Num(e, "left", 0), X > -1 && X < 1 && (X *= CmnLib.stageW)) : "center" in e ? (X = argChk_Num(e, "center", 0), X > -1 && X < 1 && (X *= CmnLib.stageW), X = X - (k ? $ / 3 : $) / 2) : "right" in e ? (X = argChk_Num(e, "right", 0), X > -1 && X < 1 && (X *= CmnLib.stageW), X = X - (k ? $ / 3 : $)) : "s_right" in e && (X = argChk_Num(e, "s_right", 0), X > -1 && X < 1 && (X *= CmnLib.stageW), X = CmnLib.stageW - X - (k ? $ / 3 : $)), r.x = int(r.scale.x < 0 ? X + (k ? $ / 3 : $) : X);
|
|
20141
20141
|
let z = r.y;
|
|
20142
|
-
"top" in e ? (z = argChk_Num(e, "top", 0), z > -1 && z < 1 && (z *= CmnLib.stageH)) : "middle" in e ? (z = argChk_Num(e, "middle", 0), z > -1 && z < 1 && (z *= CmnLib.stageH), z = z - V / 2) : "bottom" in e ? (z = argChk_Num(e, "bottom", 0), z > -1 && z < 1 && (z *= CmnLib.stageH), z = z - V) : "s_bottom" in e && (z = argChk_Num(e, "s_bottom", 0), z > -1 && z < 1 && (z *= CmnLib.stageH), z = CmnLib.stageH - z - V), r.y = int(r.scale.y < 0 ? z + V : z), N && !("left" in e) && !("center" in e) && !("right" in e) && !("s_right" in e) && !("top" in e) && !("middle" in e) && !("bottom" in e) && !("s_bottom" in e) &&
|
|
20142
|
+
"top" in e ? (z = argChk_Num(e, "top", 0), z > -1 && z < 1 && (z *= CmnLib.stageH)) : "middle" in e ? (z = argChk_Num(e, "middle", 0), z > -1 && z < 1 && (z *= CmnLib.stageH), z = z - V / 2) : "bottom" in e ? (z = argChk_Num(e, "bottom", 0), z > -1 && z < 1 && (z *= CmnLib.stageH), z = z - V) : "s_bottom" in e && (z = argChk_Num(e, "s_bottom", 0), z > -1 && z < 1 && (z *= CmnLib.stageH), z = CmnLib.stageH - z - V), r.y = int(r.scale.y < 0 ? z + V : z), N && !("left" in e) && !("center" in e) && !("right" in e) && !("s_right" in e) && !("top" in e) && !("middle" in e) && !("bottom" in e) && !("s_bottom" in e) && ar.setXYByPos(t, "c", r);
|
|
20143
20143
|
}
|
|
20144
20144
|
static setXYByPos(t, e, r) {
|
|
20145
20145
|
if (e === "stay")
|
|
@@ -20157,7 +20157,7 @@ const sr = class {
|
|
|
20157
20157
|
t.x = (CmnLib.stageW - e.width) * 0.5, t.y = (CmnLib.stageH - e.height) * 0.5;
|
|
20158
20158
|
}
|
|
20159
20159
|
};
|
|
20160
|
-
let Layer =
|
|
20160
|
+
let Layer = ar;
|
|
20161
20161
|
Il = new WeakMap(), Al = new WeakMap(), Z(Layer, Il, {
|
|
20162
20162
|
normal: BLEND_MODES.NORMAL,
|
|
20163
20163
|
add: BLEND_MODES.ADD,
|
|
@@ -20270,16 +20270,16 @@ class PicBtnDesignCast extends BtnDesignCast {
|
|
|
20270
20270
|
setSp(t) {
|
|
20271
20271
|
}
|
|
20272
20272
|
}
|
|
20273
|
-
var Ll,
|
|
20273
|
+
var Ll, Dr, lr, mn, _n, Hi, Ls, gn, fo, Ns, Vi, ur, cr, Br, po, vo, mo, Nl, Hf, kl, Vf, _o, Nc, Dl, zf, ks, $h, Ds, Ri, Bs, Bl, yn, go;
|
|
20274
20274
|
const Bt = class extends Layer {
|
|
20275
20275
|
constructor() {
|
|
20276
20276
|
super();
|
|
20277
20277
|
Z(this, Vi, new GrpLayDesignCast(this.spLay, this));
|
|
20278
|
-
Z(this, lr, "");
|
|
20279
20278
|
Z(this, ur, "");
|
|
20280
|
-
Z(this,
|
|
20279
|
+
Z(this, cr, "");
|
|
20280
|
+
Z(this, Br, "");
|
|
20281
20281
|
gt(this, "lay", (e) => this.laySub(e, (r) => {
|
|
20282
|
-
r && G(Bt,
|
|
20282
|
+
r && G(Bt, lr).resume();
|
|
20283
20283
|
}));
|
|
20284
20284
|
Z(this, po, 0);
|
|
20285
20285
|
Z(this, vo, 0);
|
|
@@ -20289,18 +20289,18 @@ const Bt = class extends Layer {
|
|
|
20289
20289
|
});
|
|
20290
20290
|
gt(this, "record", () => ({
|
|
20291
20291
|
...super.record(),
|
|
20292
|
-
sBkFn: G(this,
|
|
20293
|
-
sBkFace: G(this,
|
|
20292
|
+
sBkFn: G(this, cr),
|
|
20293
|
+
sBkFace: G(this, Br),
|
|
20294
20294
|
idc_hArg: G(this, Vi).gethArg()
|
|
20295
20295
|
}));
|
|
20296
20296
|
//showDesignCastChildren() {}
|
|
20297
|
-
gt(this, "dump", () => super.dump() + `, "pic":"${G(this,
|
|
20297
|
+
gt(this, "dump", () => super.dump() + `, "pic":"${G(this, ur)}"`);
|
|
20298
20298
|
CmnLib.isDbg && (this.setSp = (e) => G(this, Vi).setSp(e), this.cvsResize = () => {
|
|
20299
20299
|
super.cvsResize(), G(this, Vi).cvsResize();
|
|
20300
20300
|
});
|
|
20301
20301
|
}
|
|
20302
20302
|
static init(e, r, N, k, D, U) {
|
|
20303
|
-
Q(Bt,
|
|
20303
|
+
Q(Bt, lr, e), Q(Bt, mn, r), Q(Bt, _n, N), Q(Bt, Hi, k), Q(Bt, Ls, U);
|
|
20304
20304
|
const $ = () => {
|
|
20305
20305
|
const H = G(Bt, gn) * G(Bt, fo);
|
|
20306
20306
|
for (const V of Object.values(Bt.hFn2VElm))
|
|
@@ -20319,19 +20319,19 @@ const Bt = class extends Layer {
|
|
|
20319
20319
|
Q(Bt, Ns, e);
|
|
20320
20320
|
}
|
|
20321
20321
|
static destroy() {
|
|
20322
|
-
G(Bt, Ll).clear(), Q(Bt,
|
|
20322
|
+
G(Bt, Ll).clear(), Q(Bt, Dr, {}), Bt.hFn2ResAniSpr = {}, Bt.hFn2VElm = {};
|
|
20323
20323
|
}
|
|
20324
20324
|
setSp(e) {
|
|
20325
20325
|
}
|
|
20326
20326
|
laySub(e, r) {
|
|
20327
20327
|
var $;
|
|
20328
|
-
tt($ = Bt, ks, $h).call($, G(this,
|
|
20328
|
+
tt($ = Bt, ks, $h).call($, G(this, cr));
|
|
20329
20329
|
const { fn: N, face: k = "" } = e;
|
|
20330
20330
|
if (G(this, Vi).sethArg(e), !N)
|
|
20331
|
-
return super.lay(e), this.spLay.children.length > 0 && this.setPos(e), Q(this,
|
|
20331
|
+
return super.lay(e), this.spLay.children.length > 0 && this.setPos(e), Q(this, cr, ""), Q(this, ur, Q(this, Br, k)), r(!1), !1;
|
|
20332
20332
|
const D = "fn" in e, U = "face" in e;
|
|
20333
|
-
return this.clearLay({ filter: "true" }), D && Q(this,
|
|
20334
|
-
Q(this,
|
|
20333
|
+
return this.clearLay({ filter: "true" }), D && Q(this, cr, N), U && Q(this, Br, k), super.lay(e), e.dx = 0, e.dy = 0, Bt.csv2Sprites(
|
|
20334
|
+
Q(this, ur, N + (k ? "," + k : "")),
|
|
20335
20335
|
this.spLay,
|
|
20336
20336
|
(H) => {
|
|
20337
20337
|
("width" in e || "height" in e) && (H.width = argChk_Num(e, "width", 0), H.height = argChk_Num(e, "height", 0)), Q(this, po, H.width), Q(this, vo, H.height), Layer.setXY(H, e, this.spLay, !0), this.setSp(H);
|
|
@@ -20362,7 +20362,7 @@ const Bt = class extends Layer {
|
|
|
20362
20362
|
e.split(",").forEach((V, X) => {
|
|
20363
20363
|
if (!V)
|
|
20364
20364
|
throw "face属性に空要素が含まれます";
|
|
20365
|
-
const { dx: z, dy: Y, blendmode: q, fn: W } = G(Bt,
|
|
20365
|
+
const { dx: z, dy: Y, blendmode: q, fn: W } = G(Bt, Dr)[V] || {
|
|
20366
20366
|
fn: V,
|
|
20367
20367
|
dx: 0,
|
|
20368
20368
|
dy: 0,
|
|
@@ -20388,7 +20388,7 @@ const Bt = class extends Layer {
|
|
|
20388
20388
|
G(this, Hi).dec(V.extension, V.data).then((z) => {
|
|
20389
20389
|
var Y;
|
|
20390
20390
|
return G(Y = Bt, mo).call(Y, z, V, () => X == null ? void 0 : X());
|
|
20391
|
-
}).catch((z) => G(this,
|
|
20391
|
+
}).catch((z) => G(this, lr).errScript(`Graphic ロード失敗です fn:${V.name} ${z}`, !1));
|
|
20392
20392
|
}).load((V, X) => H(X)) : H({}), D;
|
|
20393
20393
|
}
|
|
20394
20394
|
static wv(e) {
|
|
@@ -20403,7 +20403,7 @@ const Bt = class extends Layer {
|
|
|
20403
20403
|
return tt(D = Bt, ks, $h).call(D, r), !1;
|
|
20404
20404
|
const k = () => {
|
|
20405
20405
|
var U;
|
|
20406
|
-
tt(U = Bt, ks, $h).call(U, r), G(this,
|
|
20406
|
+
tt(U = Bt, ks, $h).call(U, r), G(this, lr).resume();
|
|
20407
20407
|
};
|
|
20408
20408
|
return N.addEventListener("ended", k, { once: !0, passive: !0 }), G(Bt, Ns).waitEvent(
|
|
20409
20409
|
() => {
|
|
@@ -20465,7 +20465,7 @@ const Bt = class extends Layer {
|
|
|
20465
20465
|
return;
|
|
20466
20466
|
}
|
|
20467
20467
|
X.data = Y, Y instanceof HTMLImageElement && (X.type = LoaderResource.TYPE.IMAGE), z == null || z();
|
|
20468
|
-
}).catch((Y) => G(Bt,
|
|
20468
|
+
}).catch((Y) => G(Bt, lr).errScript(`GrpLayer loadPic ロード失敗です fn:${X.name} ${Y}`, !1));
|
|
20469
20469
|
}), V.load((X, z) => {
|
|
20470
20470
|
for (const [Y, { data: { src: q } }] of Object.entries(z)) {
|
|
20471
20471
|
const W = G(this, go)[Y] = q + (q.slice(0, 5) === "blob:" ? "" : D);
|
|
@@ -20487,10 +20487,10 @@ const Bt = class extends Layer {
|
|
|
20487
20487
|
const { name: r } = e;
|
|
20488
20488
|
if (!r)
|
|
20489
20489
|
throw "nameは必須です";
|
|
20490
|
-
if (r in G(Bt,
|
|
20490
|
+
if (r in G(Bt, Dr))
|
|
20491
20491
|
throw "一つのname(" + r + ")に対して同じ画像を複数割り当てられません";
|
|
20492
20492
|
const { fn: N = r } = e;
|
|
20493
|
-
return G(Bt,
|
|
20493
|
+
return G(Bt, Dr)[r] = {
|
|
20494
20494
|
fn: N,
|
|
20495
20495
|
dx: argChk_Num(e, "dx", 0),
|
|
20496
20496
|
dy: argChk_Num(e, "dy", 0),
|
|
@@ -20498,14 +20498,14 @@ const Bt = class extends Layer {
|
|
|
20498
20498
|
}, !1;
|
|
20499
20499
|
}
|
|
20500
20500
|
static clearFace2Name() {
|
|
20501
|
-
Q(Bt,
|
|
20501
|
+
Q(Bt, Dr, {});
|
|
20502
20502
|
}
|
|
20503
20503
|
// アニメ・動画を含むか
|
|
20504
20504
|
get containMovement() {
|
|
20505
|
-
if (G(this,
|
|
20505
|
+
if (G(this, ur) === "")
|
|
20506
20506
|
return !1;
|
|
20507
20507
|
const e = this.spLay.children;
|
|
20508
|
-
return G(this,
|
|
20508
|
+
return G(this, ur).split(",").some(
|
|
20509
20509
|
(r, N) => e[N] instanceof AnimatedSprite || Bt.hFn2VElm[r]
|
|
20510
20510
|
);
|
|
20511
20511
|
}
|
|
@@ -20513,11 +20513,11 @@ const Bt = class extends Layer {
|
|
|
20513
20513
|
super.clearLay(e);
|
|
20514
20514
|
for (const r of this.spLay.removeChildren())
|
|
20515
20515
|
r.destroy();
|
|
20516
|
-
Q(this,
|
|
20516
|
+
Q(this, cr, ""), Q(this, Br, ""), Q(this, ur, "");
|
|
20517
20517
|
}
|
|
20518
20518
|
playback(e, r) {
|
|
20519
20519
|
if (super.playback(e, r), e.sBkFn === "" && e.sBkFace === "") {
|
|
20520
|
-
Q(this,
|
|
20520
|
+
Q(this, cr, e.sBkFn), Q(this, Br, e.sBkFace), G(this, Vi).sethArg(e.idc_hArg);
|
|
20521
20521
|
return;
|
|
20522
20522
|
}
|
|
20523
20523
|
r.push(new Promise((N) => this.laySub(
|
|
@@ -20540,7 +20540,7 @@ const Bt = class extends Layer {
|
|
|
20540
20540
|
}
|
|
20541
20541
|
};
|
|
20542
20542
|
let GrpLayer = Bt;
|
|
20543
|
-
Ll = new WeakMap(),
|
|
20543
|
+
Ll = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(), _n = new WeakMap(), Hi = new WeakMap(), Ls = new WeakMap(), gn = new WeakMap(), fo = new WeakMap(), Ns = new WeakMap(), Vi = new WeakMap(), ur = new WeakMap(), cr = new WeakMap(), Br = new WeakMap(), po = new WeakMap(), vo = new WeakMap(), mo = new WeakMap(), Nl = new WeakSet(), Hf = function(e) {
|
|
20544
20544
|
const r = /([^\d]+)\d+\.(\w+)/.exec(e[0]);
|
|
20545
20545
|
if (!r)
|
|
20546
20546
|
return [];
|
|
@@ -20567,7 +20567,7 @@ Ll = new WeakMap(), kr = new WeakMap(), hr = new WeakMap(), mn = new WeakMap(),
|
|
|
20567
20567
|
new Loader().use((V, X) => {
|
|
20568
20568
|
G(this, Hi).dec(V.extension, V.data).then((z) => {
|
|
20569
20569
|
V.data = z, z instanceof HTMLImageElement && (V.type = LoaderResource.TYPE.IMAGE, URL.revokeObjectURL(z.src)), X == null || X();
|
|
20570
|
-
}).catch((z) => G(this,
|
|
20570
|
+
}).catch((z) => G(this, lr).errScript(`Graphic ロード失敗です dec2res4Cripto fn:${V.name} ${z}`, !1));
|
|
20571
20571
|
}).add({ name: U, url: $, xhrType: LoaderResource.XHR_RESPONSE_TYPE.BUFFER }).load((V, X) => {
|
|
20572
20572
|
for (const { data: z } of Object.values(V.resources)) {
|
|
20573
20573
|
const { baseTexture: Y } = Texture.from(z), q = Object.values(D);
|
|
@@ -20593,7 +20593,7 @@ Ll = new WeakMap(), kr = new WeakMap(), hr = new WeakMap(), mn = new WeakMap(),
|
|
|
20593
20593
|
}, ks = new WeakSet(), $h = function(e) {
|
|
20594
20594
|
const r = Bt.hFn2VElm[e];
|
|
20595
20595
|
r && (delete Bt.hFn2VElm[e], r.pause(), r.currentTime = r.duration);
|
|
20596
|
-
}, Ds = new WeakMap(), Ri = new WeakMap(), Bs = new WeakMap(), Bl = new WeakMap(), yn = new WeakMap(), go = new WeakMap(), Z(GrpLayer, Nl), Z(GrpLayer, kl), Z(GrpLayer, _o), Z(GrpLayer, Dl), Z(GrpLayer, ks), Z(GrpLayer, Ll, new EventListenerCtn()), Z(GrpLayer,
|
|
20596
|
+
}, Ds = new WeakMap(), Ri = new WeakMap(), Bs = new WeakMap(), Bl = new WeakMap(), yn = new WeakMap(), go = new WeakMap(), Z(GrpLayer, Nl), Z(GrpLayer, kl), Z(GrpLayer, _o), Z(GrpLayer, Dl), Z(GrpLayer, ks), Z(GrpLayer, Ll, new EventListenerCtn()), Z(GrpLayer, Dr, {}), Z(GrpLayer, lr, void 0), Z(GrpLayer, mn, void 0), Z(GrpLayer, _n, void 0), Z(GrpLayer, Hi, void 0), Z(GrpLayer, Ls, void 0), Z(GrpLayer, gn, 1), Z(GrpLayer, fo, 1), Z(GrpLayer, Ns, void 0), gt(GrpLayer, "hFn2ResAniSpr", {}), Z(GrpLayer, mo, (e, r, N) => {
|
|
20597
20597
|
var k, D;
|
|
20598
20598
|
switch (r.type) {
|
|
20599
20599
|
case LoaderResource.TYPE.JSON:
|
|
@@ -20609,7 +20609,7 @@ Ll = new WeakMap(), kr = new WeakMap(), hr = new WeakMap(), mn = new WeakMap(),
|
|
|
20609
20609
|
}
|
|
20610
20610
|
N();
|
|
20611
20611
|
}), gt(GrpLayer, "hFn2VElm", {}), Z(GrpLayer, Bl, /\?([^?]+)$/), Z(GrpLayer, yn, {}), Z(GrpLayer, go, {});
|
|
20612
|
-
var Fs, yo, bn, Zt, zi,
|
|
20612
|
+
var Fs, yo, bn, Zt, zi, fr, Fl, oi, Fr, Ft, _i, Ve, ze, Us, jh, Mi, dr, bo, Gs, Ul, Xf, xn, $s, Ur, En, Sn, Tn, js, xo, Gr, Eo, kc, pr, So, vr, Xi, Hs, To, Dc, $r, wn, wo, Bc, Ke;
|
|
20613
20613
|
const Vt = class extends Container {
|
|
20614
20614
|
constructor(e, r, N) {
|
|
20615
20615
|
super();
|
|
@@ -20623,9 +20623,9 @@ const Vt = class extends Container {
|
|
|
20623
20623
|
// サンプリング元
|
|
20624
20624
|
Z(this, zi, new Container());
|
|
20625
20625
|
// サンプリング先
|
|
20626
|
-
Z(this,
|
|
20626
|
+
Z(this, fr, new Graphics());
|
|
20627
20627
|
Z(this, oi, new TxtLayDesignCast(this.spLay, this));
|
|
20628
|
-
Z(this,
|
|
20628
|
+
Z(this, Fr, new TxtLayPadDesignCast(this));
|
|
20629
20629
|
Z(this, Ft, {
|
|
20630
20630
|
fontsize: 24,
|
|
20631
20631
|
$width: 0,
|
|
@@ -20644,20 +20644,20 @@ const Vt = class extends Container {
|
|
|
20644
20644
|
Z(this, Ve, 0);
|
|
20645
20645
|
Z(this, ze, 0);
|
|
20646
20646
|
Z(this, Mi, 0);
|
|
20647
|
-
Z(this,
|
|
20647
|
+
Z(this, dr, !1);
|
|
20648
20648
|
Z(this, bo, 0);
|
|
20649
20649
|
Z(this, Gs, 0);
|
|
20650
20650
|
Z(this, xn, void 0);
|
|
20651
20651
|
// 文字にかけるフィルター
|
|
20652
20652
|
Z(this, $s, []);
|
|
20653
|
-
Z(this,
|
|
20653
|
+
Z(this, Ur, []);
|
|
20654
20654
|
Z(this, En, 0);
|
|
20655
|
-
Z(this,
|
|
20655
|
+
Z(this, Gr, () => !1);
|
|
20656
20656
|
Z(this, Hs, 0);
|
|
20657
|
-
Z(this,
|
|
20657
|
+
Z(this, $r, "Quadratic.Out");
|
|
20658
20658
|
Z(this, wn, "Quadratic.Out");
|
|
20659
20659
|
Z(this, Ke, void 0);
|
|
20660
|
-
this.spLay = e, this.canFocus = r, this.sys = N, G(this, Zt).classList.add("sn_tx"), G(this, Zt).style.position = "absolute", G(Vt, yo).view.parentElement.appendChild(G(this, Zt)), this.addChild(G(this, zi)), this.addChild(G(this,
|
|
20660
|
+
this.spLay = e, this.canFocus = r, this.sys = N, G(this, Zt).classList.add("sn_tx"), G(this, Zt).style.position = "absolute", G(Vt, yo).view.parentElement.appendChild(G(this, Zt)), this.addChild(G(this, zi)), this.addChild(G(this, fr)), G(this, fr).name = "grpDbgMasume", G(this, oi).adopt(G(this, Fr));
|
|
20661
20661
|
}
|
|
20662
20662
|
static init(e, r) {
|
|
20663
20663
|
Q(Vt, Fs, e), Q(Vt, yo, r), Q(Vt, Sn, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), Q(Vt, Tn, /[[({〈「『【〔“〝]/), Q(Vt, js, /[─‥…]/);
|
|
@@ -20666,7 +20666,7 @@ const Vt = class extends Container {
|
|
|
20666
20666
|
Q(Vt, bn, e);
|
|
20667
20667
|
}
|
|
20668
20668
|
static destroy() {
|
|
20669
|
-
Q(Vt,
|
|
20669
|
+
Q(Vt, pr, /* @__PURE__ */ Object.create(null)), Q(Vt, vr, /* @__PURE__ */ Object.create(null)), Q(Vt, Xi, new Container());
|
|
20670
20670
|
}
|
|
20671
20671
|
lay(e) {
|
|
20672
20672
|
const r = G(this, Zt).style;
|
|
@@ -20698,10 +20698,10 @@ const Vt = class extends Container {
|
|
|
20698
20698
|
}
|
|
20699
20699
|
cvsResize() {
|
|
20700
20700
|
const e = G(this, Zt).style, r = this.sys.cvsScale;
|
|
20701
|
-
e.left = `${this.sys.ofsLeft4elm + G(this, Mi) * r}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * r}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * r}, ${this.spLay.scale.y * r})`, G(this, oi).cvsResize(), G(this,
|
|
20701
|
+
e.left = `${this.sys.ofsLeft4elm + G(this, Mi) * r}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * r}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * r}, ${this.spLay.scale.y * r})`, G(this, oi).cvsResize(), G(this, Fr).cvsResize();
|
|
20702
20702
|
}
|
|
20703
20703
|
get tategaki() {
|
|
20704
|
-
return G(this,
|
|
20704
|
+
return G(this, dr);
|
|
20705
20705
|
}
|
|
20706
20706
|
get infTL() {
|
|
20707
20707
|
return G(this, Ft);
|
|
@@ -20718,16 +20718,16 @@ const Vt = class extends Container {
|
|
|
20718
20718
|
goTxt(e, r) {
|
|
20719
20719
|
var it, at, st, ht;
|
|
20720
20720
|
G(Vt, Xi).visible = !1;
|
|
20721
|
-
let N = G(this,
|
|
20721
|
+
let N = G(this, Ur).length, k = "";
|
|
20722
20722
|
if (N === 0) {
|
|
20723
|
-
if (G(Vt, Fs).oCfg.debug.masume && (CmnLib.debugLog && console.log(`🍌 masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${G(this, Ft).pad_left} pr:${G(this, Ft).pad_right} pt:${G(this, Ft).pad_top} pb:${G(this, Ft).pad_bottom} w:${G(this, Ft).$width} h:${G(this, Ft).$height}`), G(this,
|
|
20723
|
+
if (G(Vt, Fs).oCfg.debug.masume && (CmnLib.debugLog && console.log(`🍌 masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${G(this, Ft).pad_left} pr:${G(this, Ft).pad_right} pt:${G(this, Ft).pad_top} pb:${G(this, Ft).pad_bottom} w:${G(this, Ft).$width} h:${G(this, Ft).$height}`), G(this, fr).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-G(this, Ft).pad_left, -G(this, Ft).pad_top, G(this, Ft).$width, G(this, Ft).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
|
|
20724
20724
|
0,
|
|
20725
20725
|
0,
|
|
20726
20726
|
G(this, Ft).$width - G(this, Ft).pad_left - G(this, Ft).pad_right,
|
|
20727
20727
|
G(this, Ft).$height - G(this, Ft).pad_top - G(this, Ft).pad_bottom
|
|
20728
20728
|
).endFill()), G(this, Zt).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "") + G(Vt, xo), !G(this, _i)) {
|
|
20729
20729
|
const ot = globalThis.getComputedStyle(G(this, Zt)), nt = parseFloat(ot.fontSize);
|
|
20730
|
-
G(this,
|
|
20730
|
+
G(this, dr) ? (Q(this, Ve, (G(this, Ft).$width - G(this, Ft).pad_left - G(this, Ft).pad_right - nt * 1.5) * this.sys.cvsScale), Q(this, ze, 0)) : (Q(this, Ve, 0), Q(this, ze, nt / 2 * this.sys.cvsScale));
|
|
20731
20731
|
}
|
|
20732
20732
|
} else
|
|
20733
20733
|
k = G(this, Zt).innerHTML, G(this, Zt).querySelectorAll(":scope > br").forEach((ot) => G(this, Zt).removeChild(ot)), G(this, Zt).insertAdjacentHTML(
|
|
@@ -20756,7 +20756,7 @@ const Vt = class extends Container {
|
|
|
20756
20756
|
}
|
|
20757
20757
|
let X = 0, z = 2, Y = !1;
|
|
20758
20758
|
do {
|
|
20759
|
-
const ot = Q(this,
|
|
20759
|
+
const ot = Q(this, Ur, tt(this, To, Dc).call(this, G(this, Zt), V));
|
|
20760
20760
|
if (X = ot.length, !Y && (X < 2 || N === X)) {
|
|
20761
20761
|
N > 0 && N === X && (G(this, Zt).innerHTML = k.replaceAll('class="sn_ch"', 'class="sn_ch sn_ch_in_default"'));
|
|
20762
20762
|
break;
|
|
@@ -20779,7 +20779,7 @@ const Vt = class extends Container {
|
|
|
20779
20779
|
if (!G(this, _i)) {
|
|
20780
20780
|
Q(this, Ve, Et.rect.x), Q(this, ze, Et.rect.y);
|
|
20781
20781
|
const Rt = globalThis.getComputedStyle(Et.elm), jt = parseFloat(Rt.fontSize);
|
|
20782
|
-
G(this,
|
|
20782
|
+
G(this, dr) ? Q(this, ze, G(this, ze) + jt) : Q(this, Ve, G(this, Ve) + jt);
|
|
20783
20783
|
}
|
|
20784
20784
|
nt = -1 / 0;
|
|
20785
20785
|
const Mt = z;
|
|
@@ -20811,11 +20811,11 @@ const Vt = class extends Container {
|
|
|
20811
20811
|
} while (X < 0);
|
|
20812
20812
|
const q = CmnLib.debugLog ? (ot, nt) => console.log(`🍌 masume ch:${ot.ch} x:${nt.x} y:${nt.y} w:${nt.width} h:${nt.height}`) : () => {
|
|
20813
20813
|
}, W = G(Vt, Fs).oCfg.debug.masume ? (ot, nt) => {
|
|
20814
|
-
q(ot, nt), G(this,
|
|
20814
|
+
q(ot, nt), G(this, fr).beginFill(6737151, 0.5).lineStyle(2, 16724736, 1).drawRect(nt.x, nt.y, nt.width, nt.height).endFill();
|
|
20815
20815
|
} : () => {
|
|
20816
|
-
}, K = CmnTween.ease(G(this,
|
|
20816
|
+
}, K = CmnTween.ease(G(this, $r));
|
|
20817
20817
|
for (let ot = N; ot < X; ++ot) {
|
|
20818
|
-
const nt = G(this,
|
|
20818
|
+
const nt = G(this, Ur)[ot], lt = nt.rect, ft = JSON.parse(nt.elm.dataset.arg ?? '{"delay": 0}'), pt = JSON.parse(nt.elm.dataset.add ?? "{}"), Et = G(Vt, pr)[pt.ch_in_style];
|
|
20819
20819
|
if (W(nt, lt), nt.elm.dataset.cmd === "grp") {
|
|
20820
20820
|
const Pt = new Container();
|
|
20821
20821
|
G(this, zi).addChild(Pt), GrpLayer.csv2Sprites(ft.pic, Pt, (Mt) => {
|
|
@@ -20845,35 +20845,35 @@ const Vt = class extends Container {
|
|
|
20845
20845
|
}
|
|
20846
20846
|
}
|
|
20847
20847
|
const J = G(this, Zt).querySelectorAll("span.sn_ch");
|
|
20848
|
-
Q(this,
|
|
20848
|
+
Q(this, Gr, () => (Q(this, Gr, () => !1), J.forEach((ot) => ot.className = ot.className.replaceAll(/ go_ch_in_[^\s"]+/g, "")), G(Vt, Xi).position.set(
|
|
20849
20849
|
G(this, Ve),
|
|
20850
20850
|
G(this, ze)
|
|
20851
20851
|
), G(Vt, Xi).visible = !0, G(Vt, bn).noticeCompTxt(), !0)), J.forEach((ot) => ot.className = ot.className.replaceAll(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1")), N > 0 && ++N;
|
|
20852
20852
|
let et;
|
|
20853
20853
|
for (let ot = X - 2; ot >= 0; --ot) {
|
|
20854
|
-
const { elm: nt } = G(this,
|
|
20854
|
+
const { elm: nt } = G(this, Ur)[ot];
|
|
20855
20855
|
if (nt.tagName === "SPAN") {
|
|
20856
20856
|
et = ((ht = nt.parentElement) == null ? void 0 : ht.tagName) === "RUBY" ? nt.parentElement.parentElement ?? nt : nt;
|
|
20857
20857
|
break;
|
|
20858
20858
|
}
|
|
20859
20859
|
}
|
|
20860
20860
|
if (!et || r || N === X) {
|
|
20861
|
-
G(this,
|
|
20861
|
+
G(this, Gr).call(this);
|
|
20862
20862
|
return;
|
|
20863
20863
|
}
|
|
20864
|
-
et.addEventListener("animationend", G(this,
|
|
20864
|
+
et.addEventListener("animationend", G(this, Gr), { once: !0, passive: !0 });
|
|
20865
20865
|
}
|
|
20866
20866
|
skipChIn() {
|
|
20867
|
-
let e = G(this,
|
|
20867
|
+
let e = G(this, Gr).call(this);
|
|
20868
20868
|
for (const r of G(this, $s))
|
|
20869
20869
|
r.tw && (r.tw.stop().end(), e = !0);
|
|
20870
20870
|
return Q(this, $s, []), e;
|
|
20871
20871
|
}
|
|
20872
20872
|
static initChStyle() {
|
|
20873
|
-
Q(Vt,
|
|
20873
|
+
Q(Vt, pr, /* @__PURE__ */ Object.create(null)), Q(Vt, vr, /* @__PURE__ */ Object.create(null));
|
|
20874
20874
|
}
|
|
20875
20875
|
static getChInStyle(e) {
|
|
20876
|
-
return G(Vt,
|
|
20876
|
+
return G(Vt, pr)[e];
|
|
20877
20877
|
}
|
|
20878
20878
|
static ch_in_style(e) {
|
|
20879
20879
|
const { name: r } = e;
|
|
@@ -20881,10 +20881,10 @@ const Vt = class extends Container {
|
|
|
20881
20881
|
throw "nameは必須です";
|
|
20882
20882
|
if (G(Vt, So).test(r))
|
|
20883
20883
|
throw `name【${r}】に使えない文字が含まれます`;
|
|
20884
|
-
if (r in G(Vt,
|
|
20884
|
+
if (r in G(Vt, pr))
|
|
20885
20885
|
throw `name【${r}】はすでにあります`;
|
|
20886
20886
|
const N = String(e.x ?? "=0"), k = String(e.y ?? "=0");
|
|
20887
|
-
return G(Vt,
|
|
20887
|
+
return G(Vt, pr)[r] = {
|
|
20888
20888
|
wait: argChk_Num(e, "wait", 500),
|
|
20889
20889
|
// アニメ・FI時間
|
|
20890
20890
|
alpha: argChk_Num(e, "alpha", 0),
|
|
@@ -20908,7 +20908,7 @@ const Vt = class extends Container {
|
|
|
20908
20908
|
};
|
|
20909
20909
|
}
|
|
20910
20910
|
static getChOutStyle(e) {
|
|
20911
|
-
return G(Vt,
|
|
20911
|
+
return G(Vt, vr)[e];
|
|
20912
20912
|
}
|
|
20913
20913
|
static ch_out_style(e) {
|
|
20914
20914
|
const { name: r } = e;
|
|
@@ -20916,10 +20916,10 @@ const Vt = class extends Container {
|
|
|
20916
20916
|
throw "nameは必須です";
|
|
20917
20917
|
if (G(Vt, So).test(r))
|
|
20918
20918
|
throw `name【${r}】に使えない文字が含まれます`;
|
|
20919
|
-
if (r in G(Vt,
|
|
20919
|
+
if (r in G(Vt, vr))
|
|
20920
20920
|
throw `name【${r}】はすでにあります`;
|
|
20921
20921
|
const N = String(e.x ?? "=0"), k = String(e.y ?? "=0");
|
|
20922
|
-
return G(Vt,
|
|
20922
|
+
return G(Vt, vr)[r] = {
|
|
20923
20923
|
wait: argChk_Num(e, "wait", 500),
|
|
20924
20924
|
// アニメ・FI時間
|
|
20925
20925
|
alpha: argChk_Num(e, "alpha", 0),
|
|
@@ -20956,7 +20956,7 @@ const Vt = class extends Container {
|
|
|
20956
20956
|
var r;
|
|
20957
20957
|
tt(this, wo, Bc).call(this);
|
|
20958
20958
|
const e = new Vt(this.spLay, () => this.canFocus(), this.sys);
|
|
20959
|
-
return Q(e, Ft, G(this, Ft)), G(e, Zt).style.cssText = G(this, Zt).style.cssText, Q(e, Mi, G(this, Mi)), e.name = this.name, tt(r = e, Us, jh).call(r), G(e, oi).sethArg(G(this, oi).gethArg()), Q(e, xn, G(this, xn)), Q(e,
|
|
20959
|
+
return Q(e, Ft, G(this, Ft)), G(e, Zt).style.cssText = G(this, Zt).style.cssText, Q(e, Mi, G(this, Mi)), e.name = this.name, tt(r = e, Us, jh).call(r), G(e, oi).sethArg(G(this, oi).gethArg()), Q(e, xn, G(this, xn)), Q(e, $r, G(this, $r)), Q(e, wn, G(this, wn)), Q(e, _i, G(this, _i)), Q(e, Ve, G(this, Ve)), Q(e, ze, G(this, ze)), this.destroy(), e;
|
|
20960
20960
|
}
|
|
20961
20961
|
record() {
|
|
20962
20962
|
return {
|
|
@@ -20965,7 +20965,7 @@ const Vt = class extends Container {
|
|
|
20965
20965
|
left: G(this, Mi),
|
|
20966
20966
|
idc_hArg: G(this, oi).gethArg(),
|
|
20967
20967
|
ch_filter: G(this, xn),
|
|
20968
|
-
fi_easing: G(this,
|
|
20968
|
+
fi_easing: G(this, $r),
|
|
20969
20969
|
fo_easing: G(this, wn),
|
|
20970
20970
|
break_fixed: G(this, _i),
|
|
20971
20971
|
break_fixed_left: G(this, Ve),
|
|
@@ -20973,11 +20973,11 @@ const Vt = class extends Container {
|
|
|
20973
20973
|
};
|
|
20974
20974
|
}
|
|
20975
20975
|
playback(e) {
|
|
20976
|
-
Q(this, Ft, e.infTL), this.position.set(G(this, Ft).pad_left, G(this, Ft).pad_top), G(this, Zt).style.cssText = e.cssText, Q(this, Mi, e.left), tt(this, Us, jh).call(this), G(this, oi).sethArg(e.idc_hArg), Q(this, xn, e.ch_filter), Q(this,
|
|
20976
|
+
Q(this, Ft, e.infTL), this.position.set(G(this, Ft).pad_left, G(this, Ft).pad_top), G(this, Zt).style.cssText = e.cssText, Q(this, Mi, e.left), tt(this, Us, jh).call(this), G(this, oi).sethArg(e.idc_hArg), Q(this, xn, e.ch_filter), Q(this, $r, e.fi_easing), Q(this, wn, e.fo_easing), Q(this, _i, e.break_fixed ?? !1), Q(this, Ve, e.break_fixed_left ?? 0), Q(this, ze, e.break_fixed_top ?? 0);
|
|
20977
20977
|
}
|
|
20978
20978
|
snapshot(e, r) {
|
|
20979
20979
|
tt(this, Ul, Xf).call(this, (N) => {
|
|
20980
|
-
Q(this, Ke, new Sprite(N)), G(this,
|
|
20980
|
+
Q(this, Ke, new Sprite(N)), G(this, dr) && (G(this, Ke).x += CmnLib.stageW - (G(this, Mi) + G(this, Ft).$width)), G(this, Ke).y -= G(this, Gs), G(this, Ke).texture.frame = new Rectangle(
|
|
20981
20981
|
0,
|
|
20982
20982
|
0,
|
|
20983
20983
|
Math.min(G(this, Ke).width, G(this, Ft).$width - G(this, Mi)),
|
|
@@ -20991,10 +20991,10 @@ const Vt = class extends Container {
|
|
|
20991
20991
|
makeDesignCast(e) {
|
|
20992
20992
|
e(G(this, oi));
|
|
20993
20993
|
const r = G(this, oi).gethArg();
|
|
20994
|
-
G(this,
|
|
20994
|
+
G(this, Fr).sethArg({ ...r, ":id_dc": r[":id_tag"] + "_pad" }), e(G(this, Fr));
|
|
20995
20995
|
}
|
|
20996
20996
|
showDesignCast() {
|
|
20997
|
-
G(this, oi).visible = !0, G(this,
|
|
20997
|
+
G(this, oi).visible = !0, G(this, Fr).visible = !0;
|
|
20998
20998
|
}
|
|
20999
20999
|
dump() {
|
|
21000
21000
|
const e = [], r = G(this, Zt).style, N = r.length;
|
|
@@ -21005,16 +21005,16 @@ const Vt = class extends Container {
|
|
|
21005
21005
|
return `"txt":"${G(this, Zt).textContent.replaceAll(/(["\\])/g, "\\$1")}", "style":{${e.join(",")}}`;
|
|
21006
21006
|
}
|
|
21007
21007
|
destroy() {
|
|
21008
|
-
Vt.delBreak(), G(this, Zt).parentElement.removeChild(G(this, Zt)), this.removeChild(G(this, zi)), this.removeChild(G(this,
|
|
21008
|
+
Vt.delBreak(), G(this, Zt).parentElement.removeChild(G(this, Zt)), this.removeChild(G(this, zi)), this.removeChild(G(this, fr)), super.destroy();
|
|
21009
21009
|
}
|
|
21010
21010
|
};
|
|
21011
21011
|
let TxtStage = Vt;
|
|
21012
|
-
Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(), zi = new WeakMap(),
|
|
21012
|
+
Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(), zi = new WeakMap(), fr = new WeakMap(), Fl = new WeakMap(), oi = new WeakMap(), Fr = new WeakMap(), Ft = new WeakMap(), _i = new WeakMap(), Ve = new WeakMap(), ze = new WeakMap(), Us = new WeakSet(), jh = function() {
|
|
21013
21013
|
const e = G(this, Zt).style, r = parseFloat(e.fontSize || "0");
|
|
21014
|
-
G(this, Ft).fontsize = r, G(this, Ft).pad_left = parseFloat(e.paddingLeft || "0"), G(this, Ft).pad_right = parseFloat(e.paddingRight || "0"), G(this, Ft).pad_top = parseFloat(e.paddingTop || "0"), G(this, Ft).pad_bottom = parseFloat(e.paddingBottom || "0"), G(this, Ft).$width = parseFloat(e.width || "0"), G(this, Ft).$height = parseFloat(e.height || "0"), this.position.set(G(this, Ft).pad_left, G(this, Ft).pad_top), Q(this,
|
|
21014
|
+
G(this, Ft).fontsize = r, G(this, Ft).pad_left = parseFloat(e.paddingLeft || "0"), G(this, Ft).pad_right = parseFloat(e.paddingRight || "0"), G(this, Ft).pad_top = parseFloat(e.paddingTop || "0"), G(this, Ft).pad_bottom = parseFloat(e.paddingBottom || "0"), G(this, Ft).$width = parseFloat(e.width || "0"), G(this, Ft).$height = parseFloat(e.height || "0"), this.position.set(G(this, Ft).pad_left, G(this, Ft).pad_top), Q(this, dr, e.writingMode === "vertical-rl"), Q(this, bo, 0), Q(this, Gs, 0);
|
|
21015
21015
|
const N = e.lineHeight ?? "0";
|
|
21016
|
-
Q(this, Hs, G(this,
|
|
21017
|
-
}, Mi = new WeakMap(),
|
|
21016
|
+
Q(this, Hs, G(this, dr) ? 0 : (N.slice(-2) === "px" ? parseFloat(N) : r * parseFloat(N) - r) / 2);
|
|
21017
|
+
}, Mi = new WeakMap(), dr = new WeakMap(), bo = new WeakMap(), Gs = new WeakMap(), Ul = new WeakSet(), Xf = function(e, r = !0) {
|
|
21018
21018
|
const N = {
|
|
21019
21019
|
escape: (K) => K.replaceAll(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
|
|
21020
21020
|
mimeType: (K) => {
|
|
@@ -21194,7 +21194,7 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
|
|
|
21194
21194
|
});
|
|
21195
21195
|
});
|
|
21196
21196
|
}).catch((K) => DebugMng.myTrace(`goTxt() = ${K}`));
|
|
21197
|
-
}, xn = new WeakMap(), $s = new WeakMap(),
|
|
21197
|
+
}, xn = new WeakMap(), $s = new WeakMap(), Ur = new WeakMap(), En = new WeakMap(), Sn = new WeakMap(), Tn = new WeakMap(), js = new WeakMap(), xo = new WeakMap(), Gr = new WeakMap(), Eo = new WeakSet(), kc = function(e, r, N, k, D, U) {
|
|
21198
21198
|
e.alpha = 0, r.x && (k.x = r.x.at(0) === "=" ? k.x + parseInt(r.x.slice(1)) : parseInt(r.x)), r.y && (k.y = r.y.at(0) === "=" ? k.y + parseInt(r.y.slice(1)) : parseInt(r.y)), r.width && (k.width = parseInt(r.width)), r.height && (k.height = parseInt(r.height)), r.wait && (U.wait = parseInt(r.wait)), e.width = k.width, e.height = k.height, U.x ? e.position.set(
|
|
21199
21199
|
U.x.at(0) === "=" ? k.x + e.width * U.nx : U.nx,
|
|
21200
21200
|
U.y.at(0) === "=" ? k.y + e.height * U.ny : U.ny
|
|
@@ -21206,7 +21206,7 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
|
|
|
21206
21206
|
}).start()
|
|
21207
21207
|
};
|
|
21208
21208
|
G(this, $s).push($);
|
|
21209
|
-
},
|
|
21209
|
+
}, pr = new WeakMap(), So = new WeakMap(), vr = new WeakMap(), Xi = new WeakMap(), Hs = new WeakMap(), To = new WeakSet(), Dc = function(e, r) {
|
|
21210
21210
|
const N = [];
|
|
21211
21211
|
if (e.nodeType !== e.TEXT_NODE)
|
|
21212
21212
|
return Array.from(e.childNodes).map(($) => tt(this, To, Dc).call(this, $, r)).flat();
|
|
@@ -21224,9 +21224,9 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
|
|
|
21224
21224
|
});
|
|
21225
21225
|
}
|
|
21226
21226
|
return k.detach(), N;
|
|
21227
|
-
},
|
|
21227
|
+
}, $r = new WeakMap(), wn = new WeakMap(), wo = new WeakSet(), Bc = function() {
|
|
21228
21228
|
var D;
|
|
21229
|
-
G(this,
|
|
21229
|
+
G(this, fr).clear(), Q(this, Ur, []), Q(this, En, 0), this.skipChIn();
|
|
21230
21230
|
const e = G(this, Zt).cloneNode(!0);
|
|
21231
21231
|
e.textContent = "";
|
|
21232
21232
|
const r = G(this, Zt);
|
|
@@ -21242,7 +21242,7 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
|
|
|
21242
21242
|
);
|
|
21243
21243
|
if (!$.ch_out_style)
|
|
21244
21244
|
return;
|
|
21245
|
-
const H = G(Vt,
|
|
21245
|
+
const H = G(Vt, vr)[$.ch_out_style];
|
|
21246
21246
|
if (H) {
|
|
21247
21247
|
if (H.wait === 0) {
|
|
21248
21248
|
U.style.display = "none";
|
|
@@ -21267,33 +21267,33 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
|
|
|
21267
21267
|
"margin-left": 0,
|
|
21268
21268
|
"margin-right": 0,
|
|
21269
21269
|
"margin-top": 0
|
|
21270
|
-
}), Z(TxtStage, Sn, void 0), Z(TxtStage, Tn, void 0), Z(TxtStage, js, void 0), Z(TxtStage, xo, "<span class='sn_ch sn_ch_last'> </span>"), Z(TxtStage,
|
|
21270
|
+
}), Z(TxtStage, Sn, void 0), Z(TxtStage, Tn, void 0), Z(TxtStage, js, void 0), Z(TxtStage, xo, "<span class='sn_ch sn_ch_last'> </span>"), Z(TxtStage, pr, /* @__PURE__ */ Object.create(null)), Z(TxtStage, So, /[\s\.,]/), Z(TxtStage, vr, /* @__PURE__ */ Object.create(null)), Z(TxtStage, Xi, new Container());
|
|
21271
21271
|
var Pn, Yi, Po;
|
|
21272
|
-
const
|
|
21272
|
+
const Ar = class {
|
|
21273
21273
|
constructor() {
|
|
21274
21274
|
Z(this, Yi, () => {
|
|
21275
21275
|
});
|
|
21276
21276
|
}
|
|
21277
21277
|
static setting(t) {
|
|
21278
|
-
t.sesame && Q(
|
|
21278
|
+
t.sesame && Q(Ar, Pn, t.sesame);
|
|
21279
21279
|
}
|
|
21280
21280
|
static getSesame() {
|
|
21281
|
-
return G(
|
|
21281
|
+
return G(Ar, Pn);
|
|
21282
21282
|
}
|
|
21283
21283
|
static destroy() {
|
|
21284
|
-
Q(
|
|
21284
|
+
Q(Ar, Pn, "ヽ");
|
|
21285
21285
|
}
|
|
21286
21286
|
init(t) {
|
|
21287
21287
|
Q(this, Yi, t);
|
|
21288
21288
|
}
|
|
21289
21289
|
static setEscape(t) {
|
|
21290
|
-
Q(
|
|
21290
|
+
Q(Ar, Po, new RegExp(
|
|
21291
21291
|
`${t ? `(?<ce>\\${t}\\S)|` : ""}|(?<str>[^《\\n]+)《(?<ruby>[^》\\n]+)》|(?:(?<kan>[⺀-々〇〻㐀-鿿豈-]+[ぁ-ヿ]*|[^ |《》\\n])《(?<kan_ruby>[^》\\n]+)》)|(?<txt>[\uD800-\uDBFF][\uDC00-\uDFFF]|[^|《》]+?|.)`,
|
|
21292
21292
|
"gs"
|
|
21293
21293
|
));
|
|
21294
21294
|
}
|
|
21295
21295
|
putTxt(t) {
|
|
21296
|
-
for (const { groups: e } of t.matchAll(G(
|
|
21296
|
+
for (const { groups: e } of t.matchAll(G(Ar, Po))) {
|
|
21297
21297
|
const { ruby: r, kan_ruby: N, kan: k, ce: D, txt: U = "", str: $ } = e;
|
|
21298
21298
|
if (r) {
|
|
21299
21299
|
this.putTxtRb(decodeURIComponent($), r);
|
|
@@ -21318,7 +21318,7 @@ const Ir = class {
|
|
|
21318
21318
|
}
|
|
21319
21319
|
const r = Array.from(t), N = r.length;
|
|
21320
21320
|
if (/^\*.?$/.test(e)) {
|
|
21321
|
-
const $ = "center|" + (e === "*" ? G(
|
|
21321
|
+
const $ = "center|" + (e === "*" ? G(Ar, Pn) : e.charAt(1));
|
|
21322
21322
|
for (let H = 0; H < N; ++H)
|
|
21323
21323
|
G(this, Yi).call(this, r[H], $);
|
|
21324
21324
|
return;
|
|
@@ -21332,7 +21332,7 @@ const Ir = class {
|
|
|
21332
21332
|
G(this, Yi).call(this, $ < N ? r[$] : "", $ < D ? decodeURIComponent(k[$]) : "");
|
|
21333
21333
|
}
|
|
21334
21334
|
};
|
|
21335
|
-
let RubySpliter =
|
|
21335
|
+
let RubySpliter = Ar;
|
|
21336
21336
|
Pn = new WeakMap(), Yi = new WeakMap(), Po = new WeakMap(), Z(RubySpliter, Pn, "ヽ"), /*
|
|
21337
21337
|
★Unicodeで「漢字」の正規表現 – ものかの http://tama-san.com/kanji-regex/
|
|
21338
21338
|
2E80..2FDF CJK部首補助+康熙部首
|
|
@@ -21357,7 +21357,7 @@ Pn = new WeakMap(), Yi = new WeakMap(), Po = new WeakMap(), Z(RubySpliter, Pn, "
|
|
|
21357
21357
|
・Unicode文字一覧表 - instant tools https://tools.m-bsys.com/ex/unicode_table.php
|
|
21358
21358
|
*/
|
|
21359
21359
|
Z(RubySpliter, Po, void 0);
|
|
21360
|
-
var Co, Oo, Ii,
|
|
21360
|
+
var Co, Oo, Ii, mr, ie, Gl, Yf, Vs, zs, $l, Wf;
|
|
21361
21361
|
const an = class extends Container {
|
|
21362
21362
|
constructor(e, r, N, k) {
|
|
21363
21363
|
var z;
|
|
@@ -21367,14 +21367,14 @@ const an = class extends Container {
|
|
|
21367
21367
|
gt(this, "getBtnBounds", () => G(this, Ii));
|
|
21368
21368
|
// 文字ボタンは背景画像を含まない位置指定なので、その当たり判定用
|
|
21369
21369
|
Z(this, Ii, new Rectangle());
|
|
21370
|
-
Z(this,
|
|
21370
|
+
Z(this, mr, void 0);
|
|
21371
21371
|
Z(this, ie, void 0);
|
|
21372
21372
|
gt(this, "normal", () => {
|
|
21373
21373
|
});
|
|
21374
21374
|
Z(this, Vs, () => !1);
|
|
21375
21375
|
Z(this, zs, () => {
|
|
21376
21376
|
});
|
|
21377
|
-
if (this.hArg = e, this.evtMng = r, this.resolve = N, this.canFocus = k, CmnLib.isDbg && (this.makeDesignCast = (Y) => Y(G(this,
|
|
21377
|
+
if (this.hArg = e, this.evtMng = r, this.resolve = N, this.canFocus = k, CmnLib.isDbg && (this.makeDesignCast = (Y) => Y(G(this, mr)), this.cvsResize = () => G(this, mr).cvsResize()), Q(this, ie, {
|
|
21378
21378
|
type: "pic",
|
|
21379
21379
|
enabled: argChk_Boolean(e, "enabled", !0),
|
|
21380
21380
|
x: this.x = uint(e.left ?? 0),
|
|
@@ -21392,7 +21392,7 @@ const an = class extends Container {
|
|
|
21392
21392
|
width: 0,
|
|
21393
21393
|
height: 0
|
|
21394
21394
|
}), this.getBtnBounds = () => (G(this, Ii).x = G(this, ie).x, G(this, Ii).y = G(this, ie).y, G(this, Ii)), G(this, ie).enabled && r.button(this.hArg, this, () => this.normal(), () => G(this, Vs).call(this), () => G(this, zs).call(this)), e.pic) {
|
|
21395
|
-
G(this, ie).type = "pic", Q(this,
|
|
21395
|
+
G(this, ie).type = "pic", Q(this, mr, new PicBtnDesignCast(this, e)), GrpLayer.csv2Sprites(
|
|
21396
21396
|
e.pic,
|
|
21397
21397
|
this,
|
|
21398
21398
|
(Y) => {
|
|
@@ -21425,7 +21425,7 @@ const an = class extends Container {
|
|
|
21425
21425
|
throw new Error(mesErrJSON(e, "style", Y.message));
|
|
21426
21426
|
}
|
|
21427
21427
|
const $ = new Text(e.text ?? "", U);
|
|
21428
|
-
$.alpha = argChk_Num(e, "alpha", $.alpha), $.width = argChk_Num(e, "width", 100), $.height = e.height = D, this.setText = (Y) => $.text = Y, G(this, ie).type = "text", Q(this, ie, { ...G(this, ie), ...U }), G(this, ie).alpha = $.alpha, G(this, ie).text = $.text, G(this, ie).width = $.width, G(this, ie).height = $.height, Q(this,
|
|
21428
|
+
$.alpha = argChk_Num(e, "alpha", $.alpha), $.width = argChk_Num(e, "width", 100), $.height = e.height = D, this.setText = (Y) => $.text = Y, G(this, ie).type = "text", Q(this, ie, { ...G(this, ie), ...U }), G(this, ie).alpha = $.alpha, G(this, ie).text = $.text, G(this, ie).width = $.width, G(this, ie).height = $.height, Q(this, mr, new TxtBtnDesignCast(this, e, $));
|
|
21429
21429
|
let H = !1;
|
|
21430
21430
|
if (G(this, ie).width = this.width, G(this, ie).height = this.height, e.b_pic && (G(this, ie).b_pic = e.b_pic, H = GrpLayer.csv2Sprites(
|
|
21431
21431
|
e.b_pic,
|
|
@@ -21479,13 +21479,13 @@ const an = class extends Container {
|
|
|
21479
21479
|
makeDesignCast(e) {
|
|
21480
21480
|
}
|
|
21481
21481
|
showDesignCast() {
|
|
21482
|
-
G(this,
|
|
21482
|
+
G(this, mr).visible = !0;
|
|
21483
21483
|
}
|
|
21484
21484
|
cvsResize() {
|
|
21485
21485
|
}
|
|
21486
21486
|
};
|
|
21487
21487
|
let Button = an;
|
|
21488
|
-
Co = new WeakMap(), Oo = new WeakMap(), Ii = new WeakMap(),
|
|
21488
|
+
Co = new WeakMap(), Oo = new WeakMap(), Ii = new WeakMap(), mr = new WeakMap(), ie = new WeakMap(), Gl = new WeakSet(), Yf = function(e, r) {
|
|
21489
21489
|
this.setChildIndex(e, 0), e.alpha = r.alpha, e.setTransform(
|
|
21490
21490
|
r.x,
|
|
21491
21491
|
r.y,
|
|
@@ -21499,13 +21499,13 @@ Co = new WeakMap(), Oo = new WeakMap(), Ii = new WeakMap(), vr = new WeakMap(),
|
|
|
21499
21499
|
), e.name = r.name;
|
|
21500
21500
|
}, Vs = new WeakMap(), zs = new WeakMap(), $l = new WeakSet(), Wf = function(e) {
|
|
21501
21501
|
var X;
|
|
21502
|
-
G(this, ie).alpha = e.alpha = argChk_Num(this.hArg, "alpha", e.alpha), G(this,
|
|
21502
|
+
G(this, ie).alpha = e.alpha = argChk_Num(this.hArg, "alpha", e.alpha), G(this, mr).setSp(e);
|
|
21503
21503
|
const r = e.width / 3, N = G(this, ie).enabled ? r : e.width, k = e.height, D = e.texture.baseTexture, U = new Texture(D, new Rectangle(0, 0, r, k)), $ = new Texture(D, new Rectangle(r, 0, r, k)), H = new Texture(D, new Rectangle(r * 2, 0, r, k)), V = () => e.texture = U;
|
|
21504
21504
|
G(this, ie).enabled && V(), this.normal = V, Q(this, Vs, () => this.canFocus() ? (e.texture = H, !0) : !1), Q(this, zs, () => e.texture = $), "width" in this.hArg ? (G(this, ie).width = uint(this.hArg.width), this.scale.x *= G(this, ie).width / N) : G(this, ie).width = N, "height" in this.hArg ? (G(this, ie).height = uint(this.hArg.height), this.scale.y *= G(this, ie).height / k) : G(this, ie).height = k, e.name = JSON.stringify(G(this, ie)), G(X = an, Oo).call(X, this, e, N, k);
|
|
21505
21505
|
}, gt(Button, "fontFamily", "'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif"), Z(Button, Co, (e, r) => {
|
|
21506
21506
|
}), Z(Button, Oo, (e, r, N, k) => {
|
|
21507
21507
|
});
|
|
21508
|
-
var Xs, Ai, Ro, Ys, Mo, Fc, Io, Uc, Ao, Cn, Lo,
|
|
21508
|
+
var Xs, Ai, Ro, Ys, Mo, Fc, Io, Uc, Ao, Cn, Lo, _r, On, jl, qf, gr, gi, Li, ue, Wi, ee, No, qi, Hl, Ze, Rn, Oa, Mn, Ws, In, Ra, qs, ko, Gc, Do, $c, An, Ln, Ks, Bo, Zs, jr, Je, Vl, Kf, hi, Fo, Js, Hh, yr, nn, Ki, Ni, yi, bi, Uo, jc, Qs, Vh, Go, Hc, Nn, kn;
|
|
21509
21509
|
const Xt = class extends Layer {
|
|
21510
21510
|
constructor() {
|
|
21511
21511
|
super();
|
|
@@ -21515,12 +21515,12 @@ const Xt = class extends Layer {
|
|
|
21515
21515
|
Z(this, Do);
|
|
21516
21516
|
Z(this, Vl);
|
|
21517
21517
|
Z(this, Js);
|
|
21518
|
-
Z(this,
|
|
21518
|
+
Z(this, yr);
|
|
21519
21519
|
Z(this, Uo);
|
|
21520
21520
|
Z(this, Qs);
|
|
21521
21521
|
Z(this, Go);
|
|
21522
21522
|
// バック
|
|
21523
|
-
Z(this,
|
|
21523
|
+
Z(this, gr, 0);
|
|
21524
21524
|
Z(this, gi, 0);
|
|
21525
21525
|
Z(this, Li, !1);
|
|
21526
21526
|
Z(this, ue, void 0);
|
|
@@ -21539,7 +21539,7 @@ const Xt = class extends Layer {
|
|
|
21539
21539
|
Z(this, Ks, "");
|
|
21540
21540
|
Z(this, Bo, new RegExp("[ ]"));
|
|
21541
21541
|
gt(this, "isCur", !1);
|
|
21542
|
-
Z(this,
|
|
21542
|
+
Z(this, jr, () => "");
|
|
21543
21543
|
Z(this, Je, "");
|
|
21544
21544
|
Z(this, hi, !1);
|
|
21545
21545
|
Z(this, Fo, (e, r) => {
|
|
@@ -21577,7 +21577,7 @@ const Xt = class extends Layer {
|
|
|
21577
21577
|
return;
|
|
21578
21578
|
case "add":
|
|
21579
21579
|
{
|
|
21580
|
-
const z = JSON.parse($), { style: Y = "", wait: q = null } = z, { cl: W, sty: K } = tt(this,
|
|
21580
|
+
const z = JSON.parse($), { style: Y = "", wait: q = null } = z, { cl: W, sty: K } = tt(this, yr, nn).call(this, !0, q);
|
|
21581
21581
|
G(this, yi).push(`<span${W} style='${K} display: inline; ${Y}'>`), delete z.style, tt(this, Uo, jc).call(this, z);
|
|
21582
21582
|
}
|
|
21583
21583
|
return;
|
|
@@ -21593,7 +21593,7 @@ const Xt = class extends Layer {
|
|
|
21593
21593
|
return;
|
|
21594
21594
|
}
|
|
21595
21595
|
Q(this, Ni, !1), z.delay = G(this, Ki), z.r ?? (z.r = ""), z.style ?? (z.style = ""), z.r_style ?? (z.r_style = "");
|
|
21596
|
-
const { cl: Y, sty: q, lnk: W } = tt(this,
|
|
21596
|
+
const { cl: Y, sty: q, lnk: W } = tt(this, yr, nn).call(this, !0, z.wait);
|
|
21597
21597
|
k = `<span${Y} style='${q} ${z.style}'><ruby><span data-cmd='grp' data-arg='${JSON.stringify(z)}'${W} style='${q} display: inline;'> </span><rt${W}${this.mkStyle_r_align(
|
|
21598
21598
|
" ",
|
|
21599
21599
|
z.r,
|
|
@@ -21607,7 +21607,7 @@ const Xt = class extends Layer {
|
|
|
21607
21607
|
{
|
|
21608
21608
|
const { t: z, r: Y = "", wait: q = null, style: W = "", r_style: K = "" } = JSON.parse($);
|
|
21609
21609
|
G(Xt, Ai).doRecLog() && (Q(this, Nn, G(this, Nn) + (e + (r ? `《${r}》` : ""))), Q(this, kn, G(this, kn) + z));
|
|
21610
|
-
const J = CmnLib.isSafari ? Y.replaceAll(/[A-Za-z0-9]/g, (st) => String.fromCharCode(st.charCodeAt(0) + 65248)) : Y, { cl: et, sty: it, lnk: at } = tt(this,
|
|
21610
|
+
const J = CmnLib.isSafari ? Y.replaceAll(/[A-Za-z0-9]/g, (st) => String.fromCharCode(st.charCodeAt(0) + 65248)) : Y, { cl: et, sty: it, lnk: at } = tt(this, yr, nn).call(this, !0, q);
|
|
21611
21611
|
k = `<span${et} style='${it}${G(this, Ln).call(this, z)} ${W}'><ruby><span${at} style='${it} display: inline;
|
|
21612
21612
|
text-combine-upright: all;
|
|
21613
21613
|
-webkit-text-combine: horizontal;'>${z}</span><rt${at}${this.mkStyle_r_align(
|
|
@@ -21629,7 +21629,7 @@ text-combine-upright: all;
|
|
|
21629
21629
|
{
|
|
21630
21630
|
const z = JSON.parse($);
|
|
21631
21631
|
z[":link"] = " data-lnk='@'";
|
|
21632
|
-
const { cl: Y, sty: q, curpos: W } = tt(this,
|
|
21632
|
+
const { cl: Y, sty: q, curpos: W } = tt(this, yr, nn).call(this, !1, z.wait);
|
|
21633
21633
|
G(this, yi).push(`<span${Y} style='${q} display: inline; ${z.style ?? ""}' ${W} data-arg='${$}'>`), delete z.style, tt(this, Go, Hc).call(this, z);
|
|
21634
21634
|
}
|
|
21635
21635
|
return;
|
|
@@ -21663,7 +21663,7 @@ text-combine-upright: all;
|
|
|
21663
21663
|
// バック
|
|
21664
21664
|
b_do: G(this, ue) === void 0 ? void 0 : G(this, ue) instanceof Sprite ? "Sprite" : "Graphics",
|
|
21665
21665
|
b_pic: G(this, Wi),
|
|
21666
|
-
b_color: G(this,
|
|
21666
|
+
b_color: G(this, gr),
|
|
21667
21667
|
b_alpha: G(this, gi),
|
|
21668
21668
|
b_alpha_isfixed: G(this, Li),
|
|
21669
21669
|
ffs: G(this, An),
|
|
@@ -21736,7 +21736,7 @@ text-combine-upright: all;
|
|
|
21736
21736
|
G(this, ue) && (this.spLay.removeChild(G(this, ue)).destroy(), Q(this, ue, void 0)), this.clearText(), G(this, ee).destroy();
|
|
21737
21737
|
}
|
|
21738
21738
|
static destroy() {
|
|
21739
|
-
Q(Xt,
|
|
21739
|
+
Q(Xt, _r, !1), Q(Xt, On, {}), Q(Xt, Zs, (e) => e);
|
|
21740
21740
|
}
|
|
21741
21741
|
set name(e) {
|
|
21742
21742
|
this.name_ = e, G(this, ee).name = e;
|
|
@@ -21759,7 +21759,7 @@ text-combine-upright: all;
|
|
|
21759
21759
|
G(this, ee).lay({ y: e });
|
|
21760
21760
|
}
|
|
21761
21761
|
lay(e) {
|
|
21762
|
-
if (super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), tt(this, Do, $c).call(this, e), G(this, ee).lay(e), "r_align" in e && Q(this, Je, e.r_align ?? ""), Q(this,
|
|
21762
|
+
if (super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), tt(this, Do, $c).call(this, e), G(this, ee).lay(e), "r_align" in e && Q(this, Je, e.r_align ?? ""), Q(this, jr, CmnLib.isSafari ? G(this, ee).tategaki ? (r, N) => `text-align: start; height: ${N}em; padding-top: ${r}; padding-bottom: ${r};` : (r, N) => `text-align: start; width: ${N}em; padding-left: ${r}; padding-right: ${r};` : G(this, ee).tategaki ? (r) => `text-align: justify; text-align-last: justify; padding-top: ${r}; padding-bottom: ${r};` : (r) => `text-align: justify; text-align-last: justify; padding-left: ${r}; padding-right: ${r};`), CmnLib.isFirefox && (this.mkStyle_r_align = tt(this, Vl, Kf)), "r_style" in e)
|
|
21763
21763
|
if (e.r_style) {
|
|
21764
21764
|
const r = document.createElement("span");
|
|
21765
21765
|
r.style.cssText = e.r_style;
|
|
@@ -21790,7 +21790,7 @@ text-combine-upright: all;
|
|
|
21790
21790
|
chgBackAlpha(e) {
|
|
21791
21791
|
const r = G(this, Li) ? G(this, gi) : e * G(this, gi);
|
|
21792
21792
|
G(this, ue) instanceof Graphics && (G(this, ue) && (this.spLay.removeChild(G(this, ue)), G(this, ue).destroy()), this.spLay.addChildAt(
|
|
21793
|
-
Q(this, ue, new Graphics()).beginFill(G(this,
|
|
21793
|
+
Q(this, ue, new Graphics()).beginFill(G(this, gr)).lineStyle(void 0).drawRect(0, 0, G(this, ee).getWidth, G(this, ee).getHeight).endFill(),
|
|
21794
21794
|
0
|
|
21795
21795
|
), G(this, ue).name = "back(color)"), G(this, ue) && (G(this, ue).visible = r > 0, G(this, ue).alpha = r);
|
|
21796
21796
|
}
|
|
@@ -21807,16 +21807,16 @@ text-combine-upright: all;
|
|
|
21807
21807
|
let U = "";
|
|
21808
21808
|
switch (N) {
|
|
21809
21809
|
case "justify":
|
|
21810
|
-
U = G(this,
|
|
21810
|
+
U = G(this, jr).call(this, "0", D);
|
|
21811
21811
|
break;
|
|
21812
21812
|
case "121":
|
|
21813
|
-
U = G(this,
|
|
21813
|
+
U = G(this, jr).call(this, `calc(${(D - r.length) / (r.length * 2)}em)`, D);
|
|
21814
21814
|
break;
|
|
21815
21815
|
case "even":
|
|
21816
|
-
U = G(this,
|
|
21816
|
+
U = G(this, jr).call(this, `calc(${(D - r.length) / (r.length + 1)}em)`, D);
|
|
21817
21817
|
break;
|
|
21818
21818
|
case "1ruby":
|
|
21819
|
-
U = G(this,
|
|
21819
|
+
U = G(this, jr).call(this, "1em", D);
|
|
21820
21820
|
break;
|
|
21821
21821
|
default:
|
|
21822
21822
|
U = `text-align: ${N};`;
|
|
@@ -21882,7 +21882,7 @@ text-combine-upright: all;
|
|
|
21882
21882
|
e.showDesignCast();
|
|
21883
21883
|
}
|
|
21884
21884
|
dump() {
|
|
21885
|
-
return G(this, Fo).call(this, "", "gotxt|"), super.dump() + `, "enabled":"${this.enabled}", ${G(this, ee).dump()}, "b_pic":"${G(this, Wi)}", "b_color":"${G(this,
|
|
21885
|
+
return G(this, Fo).call(this, "", "gotxt|"), super.dump() + `, "enabled":"${this.enabled}", ${G(this, ee).dump()}, "b_pic":"${G(this, Wi)}", "b_color":"${G(this, gr)}", "b_alpha":${G(this, gi)}, "b_alpha_isfixed":"${G(this, Li)}", "width":${G(this, ee).getWidth}, "height":${G(this, ee).getHeight}, "pixi_obj":[${this.spLay.children.map((e) => `{"class":"${e instanceof Sprite ? "Sprite" : e instanceof Graphics ? "Graphics" : e instanceof Container ? "Container" : "?"}", "name":"${e.name}", "alpha":${e.alpha}, "x":${e.x}, "y":${e.y}, "visible":"${e.visible}"}`).join(",")}], "button":[${G(this, Ze).children.map((e) => e.children[0].name ?? "{}").join(",")}]`;
|
|
21886
21886
|
}
|
|
21887
21887
|
};
|
|
21888
21888
|
let TxtLayer = Xt;
|
|
@@ -21918,21 +21918,21 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
|
|
|
21918
21918
|
transform: rotate(${r.rotate}deg) scale(${r.scale_x}, ${r.scale_y}) translate(${N}, ${k});
|
|
21919
21919
|
}
|
|
21920
21920
|
`), !1;
|
|
21921
|
-
}, Ao = new WeakMap(), Cn = new WeakMap(), Lo = new WeakMap(),
|
|
21922
|
-
Q(Xt,
|
|
21921
|
+
}, Ao = new WeakMap(), Cn = new WeakMap(), Lo = new WeakMap(), _r = new WeakMap(), On = new WeakMap(), jl = new WeakSet(), qf = function(e) {
|
|
21922
|
+
Q(Xt, _r, argChk_Boolean(e, "enabled", G(Xt, _r))), G(Xt, Ai).setVal_Nochk("save", "const.sn.autowc.enabled", G(Xt, _r));
|
|
21923
21923
|
const { text: r } = e;
|
|
21924
21924
|
if ("text" in e != "time" in e)
|
|
21925
21925
|
throw "[autowc] textとtimeは同時指定必須です";
|
|
21926
21926
|
if (G(Xt, Ai).setVal_Nochk("save", "const.sn.autowc.text", r), !r)
|
|
21927
21927
|
return G(Xt, Ai).setVal_Nochk("save", "const.sn.autowc.time", ""), !1;
|
|
21928
21928
|
const N = r.length;
|
|
21929
|
-
if (G(Xt,
|
|
21929
|
+
if (G(Xt, _r) && N === 0)
|
|
21930
21930
|
throw '[autowc] enabled === false かつ text === "" は許されません';
|
|
21931
21931
|
const k = String(e.time).split(",");
|
|
21932
21932
|
if (k.length !== N)
|
|
21933
21933
|
throw "[autowc] text文字数とtimeに記述された待ち時間(コンマ区切り)は同数にして下さい";
|
|
21934
21934
|
return Q(Xt, On, {}), k.forEach((D, U) => G(Xt, On)[r[U]] = uint(D)), G(Xt, Ai).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
|
|
21935
|
-
},
|
|
21935
|
+
}, gr = new WeakMap(), gi = new WeakMap(), Li = new WeakMap(), ue = new WeakMap(), Wi = new WeakMap(), ee = new WeakMap(), No = new WeakMap(), qi = new WeakMap(), Hl = new WeakMap(), Ze = new WeakMap(), Rn = new WeakSet(), Oa = function(e) {
|
|
21936
21936
|
const { in_style: r } = e;
|
|
21937
21937
|
if (!r)
|
|
21938
21938
|
return;
|
|
@@ -21949,7 +21949,7 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
|
|
|
21949
21949
|
Q(this, qs, r);
|
|
21950
21950
|
}, qs = new WeakMap(), ko = new WeakSet(), Gc = function(e, r) {
|
|
21951
21951
|
if ("back_clear" in e)
|
|
21952
|
-
return argChk_Boolean(e, "back_clear", !1) && (Q(this,
|
|
21952
|
+
return argChk_Boolean(e, "back_clear", !1) && (Q(this, gr, 0), Q(this, gi, 0), Q(this, Li, !1), Q(this, Wi, "")), r(!1), !1;
|
|
21953
21953
|
Q(this, gi, argChk_Num(e, "b_alpha", G(this, gi))), Q(this, Li, argChk_Boolean(e, "b_alpha_isfixed", G(this, Li)));
|
|
21954
21954
|
const N = (G(this, Li) ? 1 : Number(G(Xt, Ai).getVal("sys:TextLayer.Back.Alpha"))) * G(this, gi);
|
|
21955
21955
|
if (e.b_pic) {
|
|
@@ -21958,14 +21958,14 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
|
|
|
21958
21958
|
Q(this, ue, k), k.name = "back(pic)", k.visible = N > 0, k.alpha = N, G(this, ee).setSize(k.width, k.height), this.spLay.setChildIndex(k, 0), r(!0);
|
|
21959
21959
|
});
|
|
21960
21960
|
} else
|
|
21961
|
-
"b_color" in e && (Q(this,
|
|
21962
|
-
Q(this, ue, new Graphics()).beginFill(G(this,
|
|
21961
|
+
"b_color" in e && (Q(this, gr, argChk_Color(e, "b_color", 0)), G(this, ue) && (this.spLay.removeChild(G(this, ue)), G(this, ue).destroy()), Q(this, Wi, ""), this.spLay.addChildAt(
|
|
21962
|
+
Q(this, ue, new Graphics()).beginFill(G(this, gr)).lineStyle(void 0).drawRect(0, 0, G(this, ee).getWidth, G(this, ee).getHeight).endFill(),
|
|
21963
21963
|
0
|
|
21964
21964
|
), G(this, ue).name = "back(color)");
|
|
21965
21965
|
return G(this, ue) && (G(this, ue).visible = N > 0, G(this, ue).alpha = N), r(!1), !1;
|
|
21966
21966
|
}, Do = new WeakSet(), $c = function(e) {
|
|
21967
21967
|
"noffs" in e && (Q(this, Ks, e.noffs ?? ""), Q(this, Bo, new RegExp(`[ ${G(this, Ks)}]`))), "ffs" in e && (G(this, An) ?? Q(this, An, ""), Q(this, Ln, G(this, An) === "" ? () => "" : (r) => G(this, Bo).test(r) ? "" : ` font-feature-settings: ${G(this, An)};`));
|
|
21968
|
-
}, An = new WeakMap(), Ln = new WeakMap(), Ks = new WeakMap(), Bo = new WeakMap(), Zs = new WeakMap(),
|
|
21968
|
+
}, An = new WeakMap(), Ln = new WeakMap(), Ks = new WeakMap(), Bo = new WeakMap(), Zs = new WeakMap(), jr = new WeakMap(), Je = new WeakMap(), Vl = new WeakSet(), Kf = function(e, r, N, k = "") {
|
|
21969
21969
|
if (!N)
|
|
21970
21970
|
return ` style='${k}'`;
|
|
21971
21971
|
const D = e.length * 2;
|
|
@@ -22003,18 +22003,18 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
|
|
|
22003
22003
|
var H;
|
|
22004
22004
|
const k = e === " " ? " " : e;
|
|
22005
22005
|
G(Xt, Ai).doRecLog() && (Q(this, Nn, G(this, Nn) + (k + (r ? `《${r}》` : ""))), e !== " " && Q(this, kn, G(this, kn) + e));
|
|
22006
|
-
const { cl: D, sty: U, lnk: $ } = tt(this,
|
|
22006
|
+
const { cl: D, sty: U, lnk: $ } = tt(this, yr, nn).call(this, !0, null, e);
|
|
22007
22007
|
return r ? `<span${D} style='${U} ${G(this, Ln).call(this, e)}'><ruby>${// 文字個別に出現させるため以下にも ${cl} が必要
|
|
22008
|
-
Array.from(e).map((V, X) => `<span${D}${$} style='${X > 0 ? tt(this,
|
|
22008
|
+
Array.from(e).map((V, X) => `<span${D}${$} style='${X > 0 ? tt(this, yr, nn).call(this, !0, null, e).sty : U} display: inline;'>${V === " " ? " " : V}</span>`).join("")}<rt${$}${this.mkStyle_r_align(
|
|
22009
22009
|
e,
|
|
22010
22010
|
r,
|
|
22011
22011
|
N,
|
|
22012
22012
|
G(this, qi).style.cssText + (((H = G(this, bi).at(-1)) == null ? void 0 : H.o.r_style) ?? "")
|
|
22013
22013
|
)}>${r}</rt></ruby></span>` : `<span${D} style='${U} ${G(this, Ln).call(this, e)}'${$}>${k}</span>`;
|
|
22014
|
-
},
|
|
22014
|
+
}, yr = new WeakSet(), nn = function(e, r, N = `
|
|
22015
22015
|
`) {
|
|
22016
22016
|
var U, $, H;
|
|
22017
|
-
const k = G(this, Ws) ? r ?? ((U = G(this, bi).at(0)) == null ? void 0 : U.o.wait) ?? (G(Xt,
|
|
22017
|
+
const k = G(this, Ws) ? r ?? ((U = G(this, bi).at(0)) == null ? void 0 : U.o.wait) ?? (G(Xt, _r) ? G(Xt, On)[N.at(0) ?? ""] ?? 0 : LayerMng.msecChWait) : 0;
|
|
22018
22018
|
G(Xt, Cn).isSkippingByKeyDown() ? Q(this, Ki, 0) : e && G(this, Ws) && Q(this, Ki, G(this, Ki) + Number(k));
|
|
22019
22019
|
const D = `data-add='{"ch_in_style":"${G(this, Mn)}", "ch_out_style":"${G(this, qs)}"}'`;
|
|
22020
22020
|
return {
|
|
@@ -22045,7 +22045,7 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
|
|
|
22045
22045
|
}, Nn = new WeakMap(), kn = new WeakMap(), // 文字出現演出
|
|
22046
22046
|
Z(TxtLayer, Mo), // 文字消去演出
|
|
22047
22047
|
Z(TxtLayer, Io), Z(TxtLayer, jl), Z(TxtLayer, Xs, void 0), Z(TxtLayer, Ai, void 0), Z(TxtLayer, Ro, void 0), Z(TxtLayer, Ys, void 0), Z(TxtLayer, Ao, void 0), Z(TxtLayer, Cn, void 0), Z(TxtLayer, Lo, void 0), // 文字ごとのウェイト
|
|
22048
|
-
Z(TxtLayer,
|
|
22048
|
+
Z(TxtLayer, _r, !1), Z(TxtLayer, On, {}), // cssチェック・保存用
|
|
22049
22049
|
Z(TxtLayer, Hl, {
|
|
22050
22050
|
"text-align": 0,
|
|
22051
22051
|
"text-align-last": 0,
|
|
@@ -22184,7 +22184,7 @@ ta = new WeakMap(), Dn = new WeakMap(), zl = new WeakSet(), Zf = function(t) {
|
|
|
22184
22184
|
if (!this.val.getVal("tmp:" + N))
|
|
22185
22185
|
throw `frame【${e}】が読み込まれていません`;
|
|
22186
22186
|
const k = r.style;
|
|
22187
|
-
if (argChk_Boolean(t, "float", !1) ? k.zIndex = `${++
|
|
22187
|
+
if (argChk_Boolean(t, "float", !1) ? k.zIndex = `${++Te(this, $o)._}` : "index" in t ? k.zIndex = `${argChk_Num(t, "index", 0)}` : t.dive && (k.zIndex = `-${++Te(this, $o)._}`), "alpha" in t) {
|
|
22188
22188
|
const U = k.opacity = String(t.alpha);
|
|
22189
22189
|
this.val.setVal_Nochk("tmp", N + ".alpha", U);
|
|
22190
22190
|
}
|
|
@@ -22276,8 +22276,8 @@ ${e}`, lt = () => {
|
|
|
22276
22276
|
yt.start();
|
|
22277
22277
|
return this.hTwInf[nt] = { tw: Rt, resume: !1 }, !1;
|
|
22278
22278
|
};
|
|
22279
|
-
var xi, ne, _e,
|
|
22280
|
-
const
|
|
22279
|
+
var xi, ne, _e, Hr, Bn, ra, jo, Ho, Vo, na, zo, Vc, Vr, ki, Kl, id, Qe, Zl, rd, Jl, nd, Ql, sd, Jt, Zi, Ji, Xo, tu, ad, sa, Xh, eu, od, iu, Yo, ru, Fn, Un, br, Ce, Gn, nu, hd, Oe, Xe, ni, su, ld, au, ud, ou, cd, $n, Ma, hu, fd, li, lu, dd, uu, pd, cu, vd, fu, md, du, _d, zr, jn, Ia, ui, pu, gd, Wo, vu, yd, Qi, Hn, Xr, _s, Di, tr, mu, bd, _u, xd, gu, Ed, yu, Sd, bu, Td, xu, wd, Eu, Pd, qo, zc, Su, Cd, Tu, Od, wu, Rd, Pu, Md, Cu, Id, Ou, Ad, Ru, Ld;
|
|
22280
|
+
const Lr = class {
|
|
22281
22281
|
constructor(t, e, r, N, k, D, U, $, H, V) {
|
|
22282
22282
|
Z(this, zo);
|
|
22283
22283
|
// 既存の全文字レイヤの実際のバック不透明度、を再計算
|
|
@@ -22318,7 +22318,7 @@ const Ar = class {
|
|
|
22318
22318
|
Z(this, jn);
|
|
22319
22319
|
Z(this, pu);
|
|
22320
22320
|
Z(this, vu);
|
|
22321
|
-
Z(this,
|
|
22321
|
+
Z(this, Xr);
|
|
22322
22322
|
Z(this, mu);
|
|
22323
22323
|
// ハイパーリンクの終了
|
|
22324
22324
|
Z(this, _u);
|
|
@@ -22351,7 +22351,7 @@ const Ar = class {
|
|
|
22351
22351
|
Z(this, xi, void 0);
|
|
22352
22352
|
Z(this, ne, new Container());
|
|
22353
22353
|
Z(this, _e, new Container());
|
|
22354
|
-
Z(this,
|
|
22354
|
+
Z(this, Hr, void 0);
|
|
22355
22355
|
Z(this, Bn, void 0);
|
|
22356
22356
|
Z(this, ra, new EventListenerCtn());
|
|
22357
22357
|
Z(this, jo, () => update());
|
|
@@ -22371,8 +22371,8 @@ const Ar = class {
|
|
|
22371
22371
|
});
|
|
22372
22372
|
Z(this, Vo, "");
|
|
22373
22373
|
Z(this, na, "");
|
|
22374
|
-
gt(this, "getFrmDisabled", (t) => G(this,
|
|
22375
|
-
Z(this,
|
|
22374
|
+
gt(this, "getFrmDisabled", (t) => G(this, Hr).getFrmDisabled(t));
|
|
22375
|
+
Z(this, Vr, void 0);
|
|
22376
22376
|
Z(this, ki, void 0);
|
|
22377
22377
|
Z(this, Qe, (t, e = this.currentTxtlayForeNeedErr, r = !0) => e.tagCh("| 《" + t + "》"));
|
|
22378
22378
|
gt(this, "goTxt", () => {
|
|
@@ -22429,13 +22429,13 @@ void main(void) {
|
|
|
22429
22429
|
height: CmnLib.stageH
|
|
22430
22430
|
}));
|
|
22431
22431
|
Z(this, Un, new Sprite(G(this, Fn)));
|
|
22432
|
-
Z(this,
|
|
22432
|
+
Z(this, br, RenderTexture.create({
|
|
22433
22433
|
width: CmnLib.stageW,
|
|
22434
22434
|
height: CmnLib.stageH
|
|
22435
22435
|
}));
|
|
22436
|
-
Z(this,
|
|
22436
|
+
Z(this, Ce, new Sprite(G(this, br)));
|
|
22437
22437
|
Z(this, Gn, []);
|
|
22438
|
-
Z(this,
|
|
22438
|
+
Z(this, Oe, { tw: void 0, resume: !1 });
|
|
22439
22439
|
// トゥイーン開始
|
|
22440
22440
|
Z(this, li, {});
|
|
22441
22441
|
Z(this, ui, (t) => {
|
|
@@ -22460,7 +22460,7 @@ void main(void) {
|
|
|
22460
22460
|
else
|
|
22461
22461
|
for (const W of G(this, Zi))
|
|
22462
22462
|
G(this, Jt)[W].fore.cvsResize();
|
|
22463
|
-
G(this,
|
|
22463
|
+
G(this, Hr).cvsResize(), G(this, ki).cvsResize();
|
|
22464
22464
|
};
|
|
22465
22465
|
if (CmnLib.isMobile)
|
|
22466
22466
|
G(this, ra).add(globalThis, "orientationchange", X, { passive: !0 });
|
|
@@ -22472,9 +22472,9 @@ void main(void) {
|
|
|
22472
22472
|
}, 1e3 / 60 * 10));
|
|
22473
22473
|
}, { passive: !0 });
|
|
22474
22474
|
}
|
|
22475
|
-
U.cvsResize(), TxtLayer.init(t, e, N, this, (W) => G(this, Jt)[W.layname].fore === W, r), GrpLayer.init(k, t, r, U, $, N), Button.init(t), Q(this,
|
|
22475
|
+
U.cvsResize(), TxtLayer.init(t, e, N, this, (W) => G(this, Jt)[W.layname].fore === W, r), GrpLayer.init(k, t, r, U, $, N), Button.init(t), Q(this, Hr, new FrameMng(t, e, r, N, k, U, G(this, li))), U.hFactoryCls.grp = () => new GrpLayer(), U.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => tt(this, Jl, nd).call(this, W), e.snapshot = (W) => tt(this, Zl, rd).call(this, W), e.add_lay = (W) => tt(this, Ql, sd).call(this, W), e.clear_lay = (W) => tt(this, eu, od).call(this, W), e.finish_trans = () => tt(this, $n, Ma).call(this), e.lay = (W) => tt(this, tu, ad).call(this, W), e.trans = (W) => tt(this, nu, hd).call(this, W), e.wt = (W) => tt(this, ou, cd).call(this, W), e.quake = (W) => tt(this, hu, fd).call(this, W), e.stop_quake = (W) => e.finish_trans(W), e.wq = (W) => e.wt(W), e.pause_tsy = (W) => tt(this, fu, md).call(this, W), e.resume_tsy = (W) => tt(this, du, _d).call(this, W), e.stop_tsy = (W) => tt(this, cu, vd).call(this, W), e.tsy = (W) => tt(this, lu, dd).call(this, W), e.wait_tsy = (W) => tt(this, uu, pd).call(this, W), e.ch = (W) => tt(this, jn, Ia).call(this, W), e.clear_text = (W) => tt(this, mu, bd).call(this, W), e.current = (W) => G(this, Wo).call(this, W), e.endlink = (W) => tt(this, _u, xd).call(this, W), e.er = (W) => tt(this, gu, Ed).call(this, W), e.graph = (W) => tt(this, yu, Sd).call(this, W), e.link = (W) => tt(this, bu, Td).call(this, W), e.r = (W) => tt(this, xu, wd).call(this, W), e.rec_ch = (W) => tt(this, qo, zc).call(this, W), e.rec_r = (W) => tt(this, Eu, Pd).call(this, W), e.reset_rec = (W) => tt(this, Su, Cd).call(this, W), e.ruby2 = (W) => tt(this, Tu, Od).call(this, W), e.span = (W) => tt(this, wu, Rd).call(this, W), e.tcy = (W) => tt(this, Pu, Md).call(this, W), e.add_face = (W) => GrpLayer.add_face(W), e.wv = (W) => GrpLayer.wv(W), e.dump_lay = (W) => tt(this, Cu, Id).call(this, W), e.enable_event = (W) => tt(this, Ou, Ad).call(this, W), e.button = (W) => tt(this, Ru, Ld).call(this, W), t.existsBreakline && (this.breakLine = () => G(this, Qe).call(this, 'grp|{"id":"break","pic":"breakline"}')), t.existsBreakpage && (this.breakPage = () => G(this, Qe).call(this, 'grp|{"id":"break","pic":"breakpage"}')), Q(this, Bn, parseColor(String(t.oCfg.init.bg_color)));
|
|
22476
22476
|
const z = new Graphics();
|
|
22477
|
-
z.beginFill(G(this, Bn), 1).lineStyle(0, G(this, Bn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), G(this, ne).addChild(z.clone()), G(this, _e).addChild(z), G(this, _e).visible = !1, G(this, ne).name = "page:A", G(this, _e).name = "page:B", Q(this, xi, r.stage), G(this, xi).addChild(G(this, _e)), G(this, xi).addChild(G(this, ne)), G(this, xi).addChild(G(this, Un)), G(this, xi).addChild(G(this,
|
|
22477
|
+
z.beginFill(G(this, Bn), 1).lineStyle(0, G(this, Bn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), G(this, ne).addChild(z.clone()), G(this, _e).addChild(z), G(this, _e).visible = !1, G(this, ne).name = "page:A", G(this, _e).name = "page:B", Q(this, xi, r.stage), G(this, xi).addChild(G(this, _e)), G(this, xi).addChild(G(this, ne)), G(this, xi).addChild(G(this, Un)), G(this, xi).addChild(G(this, Ce)), G(this, xi).name = "stage", r.ticker.add(G(this, jo));
|
|
22478
22478
|
const Y = (W, K) => {
|
|
22479
22479
|
tt(this, Kl, id).call(this, Number(K));
|
|
22480
22480
|
};
|
|
@@ -22496,19 +22496,19 @@ void main(void) {
|
|
|
22496
22496
|
cvsResizeDesign() {
|
|
22497
22497
|
}
|
|
22498
22498
|
cover(t, e = 0) {
|
|
22499
|
-
G(this,
|
|
22500
|
-
Q(this,
|
|
22499
|
+
G(this, Vr) && (G(this, xi).removeChild(G(this, Vr)), G(this, Vr).destroy(), Q(this, Vr, void 0)), t && G(this, xi).addChild(
|
|
22500
|
+
Q(this, Vr, new Graphics()).beginFill(e).lineStyle(0, e).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill()
|
|
22501
22501
|
);
|
|
22502
22502
|
}
|
|
22503
22503
|
setEvtMng(t) {
|
|
22504
|
-
Q(this, ki, t), G(this,
|
|
22504
|
+
Q(this, ki, t), G(this, Hr).setEvtMng(t), GrpLayer.setEvtMng(t);
|
|
22505
22505
|
}
|
|
22506
22506
|
before_destroy() {
|
|
22507
22507
|
for (const t of Object.values(G(this, Jt)))
|
|
22508
22508
|
t.destroy();
|
|
22509
22509
|
}
|
|
22510
22510
|
destroy() {
|
|
22511
|
-
G(this, ra).clear(), GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), G(this,
|
|
22511
|
+
G(this, ra).clear(), GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), G(this, Hr).destroy(), this.stopAllTw(), this.appPixi.ticker.remove(G(this, jo)), Q(Lr, zr, 10);
|
|
22512
22512
|
}
|
|
22513
22513
|
// トゥイーン全停止
|
|
22514
22514
|
stopAllTw() {
|
|
@@ -22524,13 +22524,13 @@ void main(void) {
|
|
|
22524
22524
|
}) : !1;
|
|
22525
22525
|
}
|
|
22526
22526
|
static get msecChWait() {
|
|
22527
|
-
return G(
|
|
22527
|
+
return G(Lr, zr);
|
|
22528
22528
|
}
|
|
22529
22529
|
static set msecChWait(t) {
|
|
22530
|
-
Q(
|
|
22530
|
+
Q(Lr, zr, t);
|
|
22531
22531
|
}
|
|
22532
22532
|
setNormalChWait() {
|
|
22533
|
-
Q(
|
|
22533
|
+
Q(Lr, zr, this.scrItr.normalWait);
|
|
22534
22534
|
}
|
|
22535
22535
|
get currentTxtlayForeNeedErr() {
|
|
22536
22536
|
return G(this, Hn).call(this), this.currentTxtlayFore;
|
|
@@ -22586,12 +22586,12 @@ void main(void) {
|
|
|
22586
22586
|
}).catch((U) => console.error("fn:LayerMng.ts playback e:%o", U));
|
|
22587
22587
|
}
|
|
22588
22588
|
};
|
|
22589
|
-
let LayerMng =
|
|
22590
|
-
xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(),
|
|
22591
|
-
[
|
|
22589
|
+
let LayerMng = Lr;
|
|
22590
|
+
xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(), Bn = new WeakMap(), ra = new WeakMap(), jo = new WeakMap(), Ho = new WeakMap(), Vo = new WeakMap(), na = new WeakMap(), zo = new WeakSet(), Vc = function(t) {
|
|
22591
|
+
[Te(this, Vo)._, this.na = ""] = t.split("/");
|
|
22592
22592
|
const e = G(this, Jt)[G(this, Vo)];
|
|
22593
22593
|
e && (G(this, na) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
|
|
22594
|
-
},
|
|
22594
|
+
}, Vr = new WeakMap(), ki = new WeakMap(), Kl = new WeakSet(), id = function(t) {
|
|
22595
22595
|
for (const e of tt(this, Xe, ni).call(this)) {
|
|
22596
22596
|
const r = G(this, Jt)[e];
|
|
22597
22597
|
r.fore instanceof TxtLayer && (r.fore.chgBackAlpha(t), r.back.chgBackAlpha(t));
|
|
@@ -22609,12 +22609,12 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22609
22609
|
backgroundColor: k & 16777215,
|
|
22610
22610
|
autoDensity: !0
|
|
22611
22611
|
}), U = [], $ = t.page !== "back" ? "fore" : "back";
|
|
22612
|
-
if (G(this,
|
|
22612
|
+
if (G(this, Oe).tw)
|
|
22613
22613
|
U.push(new Promise((H) => {
|
|
22614
22614
|
G(this, _e).visible = !0;
|
|
22615
22615
|
for (const V of G(this, Gn))
|
|
22616
22616
|
D.render(V, { clear: !1 });
|
|
22617
|
-
G(this, _e).visible = !1, G(this, Un).visible = !0, G(this, ne).filters = G(this,
|
|
22617
|
+
G(this, _e).visible = !1, G(this, Un).visible = !0, G(this, ne).filters = G(this, Ce).filters, G(this, ne).visible = !0, D.render(G(this, ne), { clear: !1 }), G(this, ne).visible = !1, G(this, ne).filters = [], H();
|
|
22618
22618
|
}));
|
|
22619
22619
|
else
|
|
22620
22620
|
for (const H of tt(this, Xe, ni).call(this, t.layer))
|
|
@@ -22626,7 +22626,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22626
22626
|
if (D.render(G(this, xi), { renderTexture: H }), await this.sys.savePic(
|
|
22627
22627
|
r,
|
|
22628
22628
|
D.plugins.extract.base64(Sprite.from(H))
|
|
22629
|
-
), !G(this,
|
|
22629
|
+
), !G(this, Oe).tw)
|
|
22630
22630
|
for (const V of tt(this, Xe, ni).call(this, t.layer))
|
|
22631
22631
|
G(this, Jt)[V][$].snapshot_end();
|
|
22632
22632
|
D.destroy(!0), this.main.resume();
|
|
@@ -22664,7 +22664,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22664
22664
|
case "txt":
|
|
22665
22665
|
G(this, Ji) || (Q(this, Hn, () => {
|
|
22666
22666
|
}), Q(this, ui, tt(this, pu, gd)), Q(this, Wo, tt(this, vu, yd)), this.hTag.current({ layer: e }), this.goTxt = () => {
|
|
22667
|
-
this.val.getVal("sn.skip.enabled") ? Q(
|
|
22667
|
+
this.val.getVal("sn.skip.enabled") ? Q(Lr, zr, 0) : this.setNormalChWait();
|
|
22668
22668
|
for (const k of tt(this, Xe, ni).call(this)) {
|
|
22669
22669
|
const D = G(this, Jt)[k].fore;
|
|
22670
22670
|
D instanceof TxtLayer && G(this, Qe).call(this, "gotxt|", D, !1);
|
|
@@ -22683,7 +22683,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22683
22683
|
}
|
|
22684
22684
|
return this.scrItr.recodeDesign(t), N.isWait;
|
|
22685
22685
|
}, Jt = new WeakMap(), Zi = new WeakMap(), Ji = new WeakMap(), Xo = new WeakMap(), tu = new WeakSet(), ad = function(t) {
|
|
22686
|
-
const e = tt(this,
|
|
22686
|
+
const e = tt(this, Xr, _s).call(this, t), r = G(this, Jt)[e], N = r.back.spLay, k = r.fore.spLay;
|
|
22687
22687
|
if (argChk_Boolean(t, "float", !1))
|
|
22688
22688
|
G(this, _e).setChildIndex(N, G(this, _e).children.length - 1), G(this, ne).setChildIndex(k, G(this, ne).children.length - 1), tt(this, sa, Xh).call(this);
|
|
22689
22689
|
else if (t.index)
|
|
@@ -22704,10 +22704,10 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22704
22704
|
Q(this, Zi, tt(this, au, ud).call(this));
|
|
22705
22705
|
}, eu = new WeakSet(), od = function(t) {
|
|
22706
22706
|
return tt(this, su, ld).call(this, t, (e) => {
|
|
22707
|
-
const r = G(this, Jt)[tt(this,
|
|
22707
|
+
const r = G(this, Jt)[tt(this, Xr, _s).call(this, { layer: e })];
|
|
22708
22708
|
t.page === "both" ? (r.fore.clearLay(t), r.back.clearLay(t)) : r.getPage(t).clearLay(t);
|
|
22709
22709
|
}), !1;
|
|
22710
|
-
}, iu = new WeakMap(), Yo = new WeakMap(), ru = new WeakMap(), Fn = new WeakMap(), Un = new WeakMap(),
|
|
22710
|
+
}, iu = new WeakMap(), Yo = new WeakMap(), ru = new WeakMap(), Fn = new WeakMap(), Un = new WeakMap(), br = new WeakMap(), Ce = new WeakMap(), Gn = new WeakMap(), nu = new WeakSet(), hd = function(t) {
|
|
22711
22711
|
tt(this, $n, Ma).call(this), G(this, ki).hideHint();
|
|
22712
22712
|
const { layer: e } = t;
|
|
22713
22713
|
Q(this, Gn, []);
|
|
@@ -22733,9 +22733,9 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22733
22733
|
}, K();
|
|
22734
22734
|
};
|
|
22735
22735
|
}
|
|
22736
|
-
G(this,
|
|
22736
|
+
G(this, br).resize(CmnLib.stageW, CmnLib.stageH), this.appPixi.renderer.render(G(this, ne), { renderTexture: G(this, br) });
|
|
22737
22737
|
let U = () => {
|
|
22738
|
-
G(this, ne).visible = !0, this.appPixi.renderer.render(G(this, ne), { renderTexture: G(this,
|
|
22738
|
+
G(this, ne).visible = !0, this.appPixi.renderer.render(G(this, ne), { renderTexture: G(this, br) }), G(this, ne).visible = !1;
|
|
22739
22739
|
};
|
|
22740
22740
|
if (!N.some((K) => K.containMovement)) {
|
|
22741
22741
|
let K = U;
|
|
@@ -22745,12 +22745,12 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22745
22745
|
};
|
|
22746
22746
|
}
|
|
22747
22747
|
const $ = () => {
|
|
22748
|
-
D(), G(this, Un).visible = !0, U(), G(this,
|
|
22748
|
+
D(), G(this, Un).visible = !0, U(), G(this, Ce).visible = !0;
|
|
22749
22749
|
};
|
|
22750
|
-
G(this,
|
|
22750
|
+
G(this, Ce).alpha = 1;
|
|
22751
22751
|
const H = () => {
|
|
22752
22752
|
var J;
|
|
22753
|
-
this.appPixi.ticker && this.appPixi.ticker.remove($), [
|
|
22753
|
+
this.appPixi.ticker && this.appPixi.ticker.remove($), [Te(this, ne)._, Te(this, _e)._] = [G(this, _e), G(this, ne)];
|
|
22754
22754
|
const K = [];
|
|
22755
22755
|
for (const [et, it] of Object.entries(G(this, Jt))) {
|
|
22756
22756
|
if (r[et]) {
|
|
@@ -22760,25 +22760,25 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22760
22760
|
const { fore: { spLay: at }, back: { spLay: st } } = it, ht = G(this, ne).getChildIndex(st);
|
|
22761
22761
|
G(this, ne).removeChild(st), G(this, _e).removeChild(at), G(this, ne).addChildAt(at, ht), G(this, _e).addChildAt(st, ht);
|
|
22762
22762
|
}
|
|
22763
|
-
Promise.allSettled(K), G(this, ne).visible = !0, G(this, _e).visible = !1, G(this, Un).visible = !1, G(this,
|
|
22763
|
+
Promise.allSettled(K), G(this, ne).visible = !0, G(this, _e).visible = !1, G(this, Un).visible = !1, G(this, Ce).visible = !1, (J = G(this, Oe).tw) == null || J.stop(), G(this, Oe).resume && this.main.resume(), Q(this, Oe, { tw: void 0, resume: !1 });
|
|
22764
22764
|
};
|
|
22765
|
-
Q(this,
|
|
22765
|
+
Q(this, Oe, { tw: void 0, resume: !1 });
|
|
22766
22766
|
const V = argChk_Num(t, "time", 0);
|
|
22767
22767
|
if (V === 0 || G(this, ki).isSkippingByKeyDown())
|
|
22768
22768
|
return H(), !1;
|
|
22769
22769
|
const { ease: X, glsl: z, rule: Y } = t, q = CmnTween.ease(X);
|
|
22770
22770
|
if (!z && !Y)
|
|
22771
|
-
return G(this,
|
|
22771
|
+
return G(this, Ce).filters = [], G(this, Oe).tw = new Tween(G(this, Ce)).to({ alpha: 0 }, V).delay(argChk_Num(t, "delay", 0)).easing(q).onComplete(H).start(), this.appPixi.ticker.add($), !1;
|
|
22772
22772
|
const W = z ? new Filter(void 0, z, G(this, Yo)) : G(this, ru);
|
|
22773
|
-
if (W.uniforms.vague = argChk_Num(t, "vague", 0.04), W.uniforms.tick = 0, G(this,
|
|
22774
|
-
return G(this,
|
|
22773
|
+
if (W.uniforms.vague = argChk_Num(t, "vague", 0.04), W.uniforms.tick = 0, G(this, Oe).tw = new Tween(W.uniforms).to({ tick: 1 }, V).delay(argChk_Num(t, "delay", 0)).easing(q).onComplete(H), G(this, Ce).filters = [W], z)
|
|
22774
|
+
return G(this, Oe).tw.start(), this.appPixi.ticker.add($), !1;
|
|
22775
22775
|
if (!Y)
|
|
22776
22776
|
throw "ruleが指定されていません";
|
|
22777
22777
|
return GrpLayer.csv2Sprites(Y, void 0, (K) => {
|
|
22778
22778
|
var J;
|
|
22779
|
-
W.uniforms.rule = K.texture, K.destroy(), (J = G(this,
|
|
22779
|
+
W.uniforms.rule = K.texture, K.destroy(), (J = G(this, Oe).tw) == null || J.start(), this.appPixi.ticker.add($);
|
|
22780
22780
|
}), !1;
|
|
22781
|
-
},
|
|
22781
|
+
}, Oe = new WeakMap(), Xe = new WeakSet(), ni = function(t = "") {
|
|
22782
22782
|
return t ? t.split(",") : G(this, Zi);
|
|
22783
22783
|
}, su = new WeakSet(), ld = function(t, e) {
|
|
22784
22784
|
const r = tt(this, Xe, ni).call(this, t.layer);
|
|
@@ -22797,10 +22797,10 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22797
22797
|
return N < k ? -1 : N > k ? 1 : 0;
|
|
22798
22798
|
});
|
|
22799
22799
|
}, ou = new WeakSet(), cd = function(t) {
|
|
22800
|
-
return G(this,
|
|
22800
|
+
return G(this, Oe).tw ? (G(this, Oe).resume = !0, G(this, ki).waitLimitedEvent(t, () => tt(this, $n, Ma).call(this))) : !1;
|
|
22801
22801
|
}, $n = new WeakSet(), Ma = function() {
|
|
22802
22802
|
var t;
|
|
22803
|
-
return (t = G(this,
|
|
22803
|
+
return (t = G(this, Oe).tw) == null || t.end(), !1;
|
|
22804
22804
|
}, hu = new WeakSet(), fd = function(t) {
|
|
22805
22805
|
tt(this, $n, Ma).call(this);
|
|
22806
22806
|
const e = argChk_Num(t, "time", NaN);
|
|
@@ -22809,33 +22809,33 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22809
22809
|
const { layer: r, ease: N } = t, k = [];
|
|
22810
22810
|
for (const Y of tt(this, Xe, ni).call(this, r))
|
|
22811
22811
|
k.push(G(this, Jt)[Y].fore.spLay);
|
|
22812
|
-
G(this,
|
|
22812
|
+
G(this, br).resize(CmnLib.stageW, CmnLib.stageH);
|
|
22813
22813
|
const D = () => {
|
|
22814
22814
|
G(this, ne).visible = !0;
|
|
22815
22815
|
for (const Y of k)
|
|
22816
22816
|
this.appPixi.renderer.render(
|
|
22817
22817
|
Y,
|
|
22818
|
-
{ renderTexture: G(this,
|
|
22818
|
+
{ renderTexture: G(this, br), clear: !1 }
|
|
22819
22819
|
);
|
|
22820
22820
|
G(this, ne).visible = !1;
|
|
22821
22821
|
};
|
|
22822
|
-
G(this,
|
|
22822
|
+
G(this, Ce).visible = !0, G(this, Ce).alpha = 1;
|
|
22823
22823
|
const U = uint(argChk_Num(t, "hmax", 10)), $ = uint(argChk_Num(t, "vmax", 10)), H = U === 0 ? () => {
|
|
22824
|
-
} : () => G(this,
|
|
22825
|
-
} : () => G(this,
|
|
22826
|
-
G(this,
|
|
22827
|
-
const X = argChk_Num(t, "repeat", 1), z = new Tween(G(this,
|
|
22824
|
+
} : () => G(this, Ce).x = Math.round(Math.random() * U * 2) - U, V = $ === 0 ? () => {
|
|
22825
|
+
} : () => G(this, Ce).y = Math.round(Math.random() * $ * 2) - $;
|
|
22826
|
+
G(this, Ce).filters = [];
|
|
22827
|
+
const X = argChk_Num(t, "repeat", 1), z = new Tween(G(this, Ce)).to({ x: 0, y: 0 }, e).delay(argChk_Num(t, "delay", 0)).easing(CmnTween.ease(N)).onUpdate(() => {
|
|
22828
22828
|
H(), V();
|
|
22829
22829
|
}).repeat(X > 0 ? X - 1 : 1 / 0).yoyo(argChk_Boolean(t, "yoyo", !1)).onComplete(() => {
|
|
22830
22830
|
var Y, q;
|
|
22831
|
-
(Y = this.appPixi.ticker) == null || Y.remove(D), G(this, ne).visible = !0, G(this,
|
|
22831
|
+
(Y = this.appPixi.ticker) == null || Y.remove(D), G(this, ne).visible = !0, G(this, Ce).visible = !1, G(this, Ce).x = 0, G(this, Ce).y = 0, (q = G(this, Oe).tw) == null || q.stop(), G(this, Oe).resume && this.main.resume(), Q(this, Oe, { tw: void 0, resume: !1 });
|
|
22832
22832
|
}).start();
|
|
22833
|
-
return Q(this,
|
|
22833
|
+
return Q(this, Oe, { tw: z, resume: !1 }), this.appPixi.ticker.add(D), !1;
|
|
22834
22834
|
}, li = new WeakMap(), lu = new WeakSet(), dd = function(t) {
|
|
22835
22835
|
const { layer: e, render: r, path: N, name: k, ease: D, chain: U } = t;
|
|
22836
22836
|
if (!e)
|
|
22837
22837
|
throw "layerは必須です";
|
|
22838
|
-
const $ = tt(this,
|
|
22838
|
+
const $ = tt(this, Xr, _s).call(this, t);
|
|
22839
22839
|
let H = G(this, Jt)[$].fore, V = () => {
|
|
22840
22840
|
};
|
|
22841
22841
|
const X = G(this, ki).isSkippingByKeyDown();
|
|
@@ -22848,7 +22848,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), jr = new WeakMap(),
|
|
|
22848
22848
|
let ht = st;
|
|
22849
22849
|
if (N) {
|
|
22850
22850
|
CmnLib.debugLog && console.group(`🍝 [tsy] path=${N}= start(${H.x},${H.y},${H.alpha})`);
|
|
22851
|
-
for (const { groups: lt } of N.matchAll(
|
|
22851
|
+
for (const { groups: lt } of N.matchAll(Lr.REG_TSY_PATH)) {
|
|
22852
22852
|
const { x: ft, x2: pt, y: Et, y2: Pt, o: Mt, o2: xt, json: yt } = lt;
|
|
22853
22853
|
let Rt = {};
|
|
22854
22854
|
if (yt)
|
|
@@ -22918,7 +22918,7 @@ ${r}` : N ?? e;
|
|
|
22918
22918
|
if (!k)
|
|
22919
22919
|
throw "トゥイーンが指定されていません";
|
|
22920
22920
|
return (U = (D = G(this, li)[k]) == null ? void 0 : D.tw) == null || U.resume(), !1;
|
|
22921
|
-
},
|
|
22921
|
+
}, zr = new WeakMap(), jn = new WeakSet(), Ia = function(t) {
|
|
22922
22922
|
const { text: e } = t;
|
|
22923
22923
|
if (!e)
|
|
22924
22924
|
throw "textは必須です";
|
|
@@ -22930,7 +22930,7 @@ ${r}` : N ?? e;
|
|
|
22930
22930
|
return k || this.val.setVal_Nochk("save", "sn.doRecLog", k), r.tagCh(e.replaceAll("[r]", `
|
|
22931
22931
|
`)), this.val.setVal_Nochk("save", "sn.doRecLog", D), G(this, Qe).call(this, "add_close|", r), !1;
|
|
22932
22932
|
}, ui = new WeakMap(), pu = new WeakSet(), gd = function(t) {
|
|
22933
|
-
const e = tt(this,
|
|
22933
|
+
const e = tt(this, Xr, _s).call(this, t, G(this, Ji)), N = G(this, Jt)[e].getPage(t);
|
|
22934
22934
|
if (!(N instanceof TxtLayer))
|
|
22935
22935
|
throw e + "はTxtLayerではありません";
|
|
22936
22936
|
return N;
|
|
@@ -22946,7 +22946,7 @@ ${r}` : N ?? e;
|
|
|
22946
22946
|
N.fore instanceof TxtLayer && (N.fore.isCur = N.back.isCur = r === e);
|
|
22947
22947
|
}
|
|
22948
22948
|
return !1;
|
|
22949
|
-
}, Qi = new WeakMap(), Hn = new WeakMap(),
|
|
22949
|
+
}, Qi = new WeakMap(), Hn = new WeakMap(), Xr = new WeakSet(), _s = function(t, e = "") {
|
|
22950
22950
|
const r = t.layer ?? e;
|
|
22951
22951
|
if (r.includes(","))
|
|
22952
22952
|
throw "layer名に「,」は使えません";
|
|
@@ -22966,7 +22966,9 @@ ${r}` : N ?? e;
|
|
|
22966
22966
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
22967
22967
|
return G(this, Qe).call(this, "grp|" + e, G(this, ui).call(this, t)), !1;
|
|
22968
22968
|
}, bu = new WeakSet(), Td = function(t) {
|
|
22969
|
-
|
|
22969
|
+
if (!t.fn && !t.label && !t.url)
|
|
22970
|
+
throw "fnまたはlabelまたはurlは必須です";
|
|
22971
|
+
t.fn ?? (t.fn = this.scrItr.scriptFn), t.style ?? (t.style = "background-color: rgba(255,0,0,0.5);"), t.style_hover ?? (t.style_hover = "background-color: rgba(255,0,0,0.9);"), t.style_clicked ?? (t.style_clicked = t.style);
|
|
22970
22972
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
22971
22973
|
return G(this, Qe).call(this, "link|" + e, G(this, ui).call(this, t)), !1;
|
|
22972
22974
|
}, xu = new WeakSet(), wd = function(t) {
|
|
@@ -23013,10 +23015,10 @@ ${r}` : N ?? e;
|
|
|
23013
23015
|
}
|
|
23014
23016
|
return console.groupEnd(), !1;
|
|
23015
23017
|
}, Ou = new WeakSet(), Ad = function(t) {
|
|
23016
|
-
const e = tt(this,
|
|
23018
|
+
const e = tt(this, Xr, _s).call(this, t, G(this, Ji)), r = argChk_Boolean(t, "enabled", !0);
|
|
23017
23019
|
return G(this, ui).call(this, t).enabled = r, this.val.setVal_Nochk("save", "const.sn.layer." + e + ".enabled", r), !1;
|
|
23018
23020
|
}, Ru = new WeakSet(), Ld = function(t) {
|
|
23019
|
-
return Pages.argChk_page(t, "back"), t.
|
|
23021
|
+
return Pages.argChk_page(t, "back"), t.fn ?? (t.fn = this.scrItr.scriptFn), G(this, ui).call(this, t).addButton(t), this.scrItr.recodeDesign(t), !1;
|
|
23020
23022
|
}, // 11 match 301 step (0.1ms) PCRE2 https://regex101.com/r/reinpq/1
|
|
23021
23023
|
// List ${x}${x2}/${y}${y2}/${o}${o2}=${json}\n
|
|
23022
23024
|
/*
|
|
@@ -23035,7 +23037,7 @@ ${r}` : N ?? e;
|
|
|
23035
23037
|
(?<json>\{[^{}]*})
|
|
23036
23038
|
*/
|
|
23037
23039
|
gt(LayerMng, "REG_TSY_PATH", /\(\s*(?:(?<x>[-=\d\.]+)|(['"])(?<x2>.*?)\2)?(?:\s*,\s*(?:(?<y>[-=\d\.]+)|(['"])(?<y2>.*?)\5)?(?:\s*,\s*(?:(?<o>[-=\d\.]+)|(['"])(?<o2>.*?)\8))?)?|(?<json>\{[^{}]*})/g), // // 文字・文字レイヤ
|
|
23038
|
-
Z(LayerMng,
|
|
23040
|
+
Z(LayerMng, zr, 10);
|
|
23039
23041
|
var ge, de, aa, Mu, Nd, Ko, Vn, Aa;
|
|
23040
23042
|
class FocusMng {
|
|
23041
23043
|
constructor() {
|
|
@@ -23109,7 +23111,7 @@ class FocusMng {
|
|
|
23109
23111
|
}
|
|
23110
23112
|
remove(t) {
|
|
23111
23113
|
const e = G(this, ge).findIndex((r) => r.btn === t);
|
|
23112
|
-
e < 0 || (G(this, ge).splice(e, 1), G(this, ge).length === 0 ? Q(this, de, -1) : e <= G(this, de) && --
|
|
23114
|
+
e < 0 || (G(this, ge).splice(e, 1), G(this, ge).length === 0 ? Q(this, de, -1) : e <= G(this, de) && --Te(this, de)._);
|
|
23113
23115
|
}
|
|
23114
23116
|
isFocus(t) {
|
|
23115
23117
|
return G(this, de) < 0 ? !1 : G(this, ge)[G(this, de)].btn === t;
|
|
@@ -23118,7 +23120,7 @@ class FocusMng {
|
|
|
23118
23120
|
tt(this, Vn, Aa).call(this);
|
|
23119
23121
|
const t = G(this, ge).length;
|
|
23120
23122
|
if (t !== 0) {
|
|
23121
|
-
--
|
|
23123
|
+
--Te(this, de)._ < 0 && Q(this, de, t - 1);
|
|
23122
23124
|
for (let e = t; e >= 1; --e) {
|
|
23123
23125
|
const r = (G(this, de) + e) % t;
|
|
23124
23126
|
if (G(this, ge)[r].on()) {
|
|
@@ -23133,7 +23135,7 @@ class FocusMng {
|
|
|
23133
23135
|
tt(this, Vn, Aa).call(this);
|
|
23134
23136
|
const t = G(this, ge).length;
|
|
23135
23137
|
if (t !== 0) {
|
|
23136
|
-
++
|
|
23138
|
+
++Te(this, de)._ >= t && Q(this, de, 0);
|
|
23137
23139
|
for (let e = 0; e < t; ++e) {
|
|
23138
23140
|
const r = (G(this, de) + e) % t;
|
|
23139
23141
|
if (G(this, ge)[r].on()) {
|
|
@@ -23879,12 +23881,12 @@ function preventOverflow(o) {
|
|
|
23879
23881
|
var Pt, Mt = at === "y" ? top : left, xt = at === "y" ? bottom : right, yt = at === "y" ? "height" : "width", Rt = ht[at], jt = Rt + K[Mt], It = Rt - K[xt], St = Y ? -nt[yt] / 2 : 0, bt = et === start ? ot[yt] : nt[yt], Ut = et === start ? -nt[yt] : -ot[yt], Gt = t.elements.arrow, Dt = Y && Gt ? getLayoutRect(Gt) : {
|
|
23880
23882
|
width: 0,
|
|
23881
23883
|
height: 0
|
|
23882
|
-
}, Wt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(), ut = Wt[Mt], qt = Wt[xt], At = within(0, ot[yt], Dt[yt]), oe = it ? ot[yt] / 2 - St - At - ut - ft.mainAxis : bt - At - ut - ft.mainAxis, Kt = it ? -ot[yt] / 2 + St + At + qt + ft.mainAxis : Ut + At + qt + ft.mainAxis, Tt = t.elements.arrow && getOffsetParent(t.elements.arrow),
|
|
23884
|
+
}, Wt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(), ut = Wt[Mt], qt = Wt[xt], At = within(0, ot[yt], Dt[yt]), oe = it ? ot[yt] / 2 - St - At - ut - ft.mainAxis : bt - At - ut - ft.mainAxis, Kt = it ? -ot[yt] / 2 + St + At + qt + ft.mainAxis : Ut + At + qt + ft.mainAxis, Tt = t.elements.arrow && getOffsetParent(t.elements.arrow), ae = Tt ? at === "y" ? Tt.clientTop || 0 : Tt.clientLeft || 0 : 0, kt = (Pt = pt == null ? void 0 : pt[at]) != null ? Pt : 0, vt = Rt + oe - kt - ae, Nt = Rt + Kt - kt, Yt = within(Y ? min(jt, vt) : jt, Rt, Y ? max(It, Nt) : It);
|
|
23883
23885
|
ht[at] = Yt, Et[at] = Yt - Rt;
|
|
23884
23886
|
}
|
|
23885
23887
|
if (U) {
|
|
23886
|
-
var mt,
|
|
23887
|
-
ht[st] = te, Et[st] = te -
|
|
23888
|
+
var mt, Re = at === "x" ? top : left, ei = at === "x" ? bottom : right, Me = ht[st], di = st === "y" ? "height" : "width", pi = Me + K[Re], qe = Me - K[ei], Gi = [top, left].indexOf(J) !== -1, Se = (mt = pt == null ? void 0 : pt[st]) != null ? mt : 0, be = Gi ? pi : Me - ot[di] - nt[di] - Se + ft.altAxis, le = Gi ? Me + ot[di] + nt[di] - Se - ft.altAxis : qe, te = Y && Gi ? withinMaxClamp(be, Me, le) : within(Y ? be : pi, Me, Y ? le : qe);
|
|
23889
|
+
ht[st] = te, Et[st] = te - Me;
|
|
23888
23890
|
}
|
|
23889
23891
|
t.modifiersData[r] = Et;
|
|
23890
23892
|
}
|
|
@@ -24172,14 +24174,14 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
|
|
|
24172
24174
|
defaultModifiers
|
|
24173
24175
|
});
|
|
24174
24176
|
const { GamepadListener } = require("gamepad.js");
|
|
24175
|
-
var Ye,
|
|
24177
|
+
var Ye, Yr, Le, Zo, Jo, Xc, Qo, Yc, th, Wc, oa, ha, eh, qc, ye, Ei, xr, Er, ih, Wr, gs, rh, nh, De, la, ua, sh, Iu, kd, ah, zn, Au, Dd, oh, Kc, Lu, Bd, hh, Zc, Xn, La, Yn, Nu, Fd, ku, Ud, Si, Du, Gd, Bu, $d, ca, Yh, Sr, Wn, qn, Fu, jd, We;
|
|
24176
24178
|
class EventMng {
|
|
24177
24179
|
constructor(t, e, r, N, k, D, U, $, H) {
|
|
24178
24180
|
Z(this, Jo);
|
|
24179
24181
|
Z(this, Qo);
|
|
24180
24182
|
Z(this, th);
|
|
24181
24183
|
Z(this, eh);
|
|
24182
|
-
Z(this,
|
|
24184
|
+
Z(this, Wr);
|
|
24183
24185
|
Z(this, Iu);
|
|
24184
24186
|
// イベントを全消去
|
|
24185
24187
|
Z(this, Au);
|
|
@@ -24200,7 +24202,7 @@ class EventMng {
|
|
|
24200
24202
|
// クリックを待つ
|
|
24201
24203
|
Z(this, Fu);
|
|
24202
24204
|
Z(this, Ye, new EventListenerCtn());
|
|
24203
|
-
Z(this,
|
|
24205
|
+
Z(this, Yr, new GamepadListener({
|
|
24204
24206
|
analog: !1,
|
|
24205
24207
|
deadZone: 0.3
|
|
24206
24208
|
}));
|
|
@@ -24211,8 +24213,8 @@ class EventMng {
|
|
|
24211
24213
|
Z(this, ha, !1);
|
|
24212
24214
|
Z(this, ye, {});
|
|
24213
24215
|
Z(this, Ei, {});
|
|
24214
|
-
Z(this, br, !1);
|
|
24215
24216
|
Z(this, xr, !1);
|
|
24217
|
+
Z(this, Er, !1);
|
|
24216
24218
|
// 予約イベントの発生待ち中か
|
|
24217
24219
|
Z(this, ih, (t) => G(this, ye)[t] ?? G(this, Ei)[t]);
|
|
24218
24220
|
Z(this, rh, () => {
|
|
@@ -24222,12 +24224,20 @@ class EventMng {
|
|
|
24222
24224
|
Z(this, nh, {
|
|
24223
24225
|
getBoundingClientRect: (t = 0, e = 0) => DOMRect.fromRect({ x: t, y: e, width: 0, height: 0 })
|
|
24224
24226
|
});
|
|
24225
|
-
Z(this,
|
|
24227
|
+
Z(this, De, void 0);
|
|
24226
24228
|
Z(this, la, void 0);
|
|
24227
24229
|
Z(this, ua, void 0);
|
|
24228
24230
|
Z(this, sh, {
|
|
24229
24231
|
placement: "bottom",
|
|
24230
|
-
|
|
24232
|
+
modifiers: [
|
|
24233
|
+
{
|
|
24234
|
+
// Flip | Popper https://popper.js.org/docs/v2/modifiers/flip/
|
|
24235
|
+
name: "flip",
|
|
24236
|
+
options: {
|
|
24237
|
+
fallbackPlacements: ["top", "bottom"]
|
|
24238
|
+
}
|
|
24239
|
+
}
|
|
24240
|
+
]
|
|
24231
24241
|
});
|
|
24232
24242
|
Z(this, ah, (t, e) => {
|
|
24233
24243
|
});
|
|
@@ -24235,7 +24245,7 @@ class EventMng {
|
|
|
24235
24245
|
Z(this, Yn, () => this.layMng.goTxt());
|
|
24236
24246
|
// スキップ中断予約
|
|
24237
24247
|
Z(this, Si, () => !1);
|
|
24238
|
-
Z(this,
|
|
24248
|
+
Z(this, Sr, () => {
|
|
24239
24249
|
});
|
|
24240
24250
|
Z(this, Wn, new i$1());
|
|
24241
24251
|
Z(this, qn, "sn:notice_comp_txt");
|
|
@@ -24254,19 +24264,19 @@ class EventMng {
|
|
|
24254
24264
|
// AndroidのBackキーだと思う
|
|
24255
24265
|
});
|
|
24256
24266
|
var W, K;
|
|
24257
|
-
if (this.cfg = t, this.hTag = e, this.appPixi = r, this.main = N, this.layMng = k, this.val = D, this.sndMng = U, this.scrItr = $, this.sys = H, e.clear_event = (J) => tt(this, Au, Dd).call(this, J), e.event = (J) => tt(this, Lu, Bd).call(this, J), e.l = (J) => tt(this, Nu, Fd).call(this, J), e.p = (J) => tt(this, ku, Ud).call(this, J), e.s = () => ($.recodePage(), tt(this,
|
|
24267
|
+
if (this.cfg = t, this.hTag = e, this.appPixi = r, this.main = N, this.layMng = k, this.val = D, this.sndMng = U, this.scrItr = $, this.sys = H, e.clear_event = (J) => tt(this, Au, Dd).call(this, J), e.event = (J) => tt(this, Lu, Bd).call(this, J), e.l = (J) => tt(this, Nu, Fd).call(this, J), e.p = (J) => tt(this, ku, Ud).call(this, J), e.s = () => ($.recodePage(), tt(this, Wr, gs).call(this, () => {
|
|
24258
24268
|
}, !1, !0)), e.set_cancel_skip = () => tt(this, Du, Gd).call(this), e.set_focus = (J) => tt(this, Bu, $d).call(this, J), e.wait = (J) => tt(this, ca, Yh).call(this, J), e.waitclick = () => tt(this, Fu, jd).call(this), U.setEvtMng(this), $.setOtherObj(this, k), TxtLayer.setEvtMng(N, this, H), k.setEvtMng(this), H.setFire((J, et) => this.fire(J, et)), CmnLib.isDbg) {
|
|
24259
24269
|
const J = {
|
|
24260
24270
|
pause: () => {
|
|
24261
|
-
if (Q(this,
|
|
24271
|
+
if (Q(this, xr, !0), !G(this, Er))
|
|
24262
24272
|
return;
|
|
24263
24273
|
const et = {};
|
|
24264
24274
|
$.recodeDesign(et), H.callHook("_enterDesign", et), H.send2Dbg("_enterDesign", et);
|
|
24265
24275
|
},
|
|
24266
|
-
stopOnBreakpoint: () => Q(this,
|
|
24267
|
-
stopOnDataBreakpoint: () => Q(this,
|
|
24268
|
-
continue: () => Q(this,
|
|
24269
|
-
disconnect: () => Q(this,
|
|
24276
|
+
stopOnBreakpoint: () => Q(this, xr, !0),
|
|
24277
|
+
stopOnDataBreakpoint: () => Q(this, xr, !0),
|
|
24278
|
+
continue: () => Q(this, xr, !1),
|
|
24279
|
+
disconnect: () => Q(this, xr, !1)
|
|
24270
24280
|
};
|
|
24271
24281
|
J.attach = J.stopOnEntry = J.stopOnStep = J.stopOnStepIn = J.stopOnStepOut = J.stopOnBackstep = J.pause, H.addHook((et) => {
|
|
24272
24282
|
var it;
|
|
@@ -24312,7 +24322,7 @@ class EventMng {
|
|
|
24312
24322
|
<div class="sn_hint" role="tooltip">
|
|
24313
24323
|
<span>Dummy</span>
|
|
24314
24324
|
<div class="sn_hint_ar" data-popper-arrow></div>
|
|
24315
|
-
</div>`), Q(this,
|
|
24325
|
+
</div>`), Q(this, De, document.querySelector(".sn_hint")), Q(this, la, G(this, De).querySelector("span")), Q(this, ua, createPopper(G(this, nh), G(this, De))), G(this, De).hidden = !0, r.stage.interactive = !0, CmnLib.isMobile ? r.stage.on("pointerdown", (J) => this.fire("click", J)) : G(this, Ye).add(r.stage, "pointerdown", (J) => {
|
|
24316
24326
|
switch (J.data.button) {
|
|
24317
24327
|
case 0:
|
|
24318
24328
|
this.fire("click", J);
|
|
@@ -24333,7 +24343,7 @@ class EventMng {
|
|
|
24333
24343
|
X(J), this.fire("sn:chgDarkMode", J);
|
|
24334
24344
|
}), "WheelEvent" in window && (G(this, Ye).add(Main.cvs, "wheel", (J) => tt(this, th, Wc).call(this, J), { passive: !0 }), Q(this, Zo, (J) => G(this, Ye).add(J, "wheel", (et) => tt(this, th, Wc).call(this, et), { passive: !0 })), Q(this, ah, (J, et) => J.add(Main.cvs, "wheel", (it) => {
|
|
24335
24345
|
it.isComposing || it.deltaY <= 0 || (it.stopPropagation(), et());
|
|
24336
|
-
}))), CmnLib.debugLog && (G(this,
|
|
24346
|
+
}))), CmnLib.debugLog && (G(this, Yr).on("gamepad:connected", (J) => console.log(`👺<'gamepad:connected' index:${J.detail.index} id:${J.detail.gamepad.id}`)), G(this, Yr).on("gamepad:disconnected", (J) => console.log(`👺<'gamepad:disconnected' index:${J.detail.index} id:${J.detail.gamepad.id}`)));
|
|
24337
24347
|
const Y = [
|
|
24338
24348
|
"",
|
|
24339
24349
|
"ArrowUp",
|
|
@@ -24348,7 +24358,7 @@ class EventMng {
|
|
|
24348
24358
|
""
|
|
24349
24359
|
// '1', '2', '3',
|
|
24350
24360
|
], q = [0, 0];
|
|
24351
|
-
G(this,
|
|
24361
|
+
G(this, Yr).on("gamepad:axis", (J) => {
|
|
24352
24362
|
if (!document.hasFocus() || J.detail.stick !== 0)
|
|
24353
24363
|
return;
|
|
24354
24364
|
q[J.detail.axis] = J.detail.value;
|
|
@@ -24357,14 +24367,14 @@ class EventMng {
|
|
|
24357
24367
|
return;
|
|
24358
24368
|
const at = G(this, Le).getFocus();
|
|
24359
24369
|
(!at || at instanceof Container ? globalThis : at).dispatchEvent(new KeyboardEvent("keydown", { key: it, bubbles: !0 })), !(!at || at instanceof Container) && at.getAttribute("type") === "range" && at.dispatchEvent(new InputEvent("input", { bubbles: !0 }));
|
|
24360
|
-
}), G(this,
|
|
24370
|
+
}), G(this, Yr).on("gamepad:button", (J) => {
|
|
24361
24371
|
if (document.hasFocus())
|
|
24362
24372
|
if (J.detail.button % 2 === 0) {
|
|
24363
24373
|
const et = G(this, Le).getFocus();
|
|
24364
24374
|
(!et || et instanceof Container ? globalThis : et).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
|
|
24365
24375
|
} else
|
|
24366
24376
|
Main.cvs.dispatchEvent(new Event("contextmenu"));
|
|
24367
|
-
}), G(this,
|
|
24377
|
+
}), G(this, Yr).start(), G(this, Ye).add(window, "keyup", (J) => {
|
|
24368
24378
|
J.isComposing || J.key in G(this, We) && (G(this, We)[J.key] = 0);
|
|
24369
24379
|
}), D.defTmp("const.sn.key.alternate", () => G(this, We).Alt > 0), D.defTmp("const.sn.key.command", () => G(this, We).Meta > 0), D.defTmp("const.sn.key.control", () => G(this, We).Control > 0), D.defTmp("const.sn.key.end", () => G(this, We).End > 0), D.defTmp("const.sn.key.escape", () => G(this, We).Escape > 0), D.defTmp("const.sn.key.back", () => G(this, We).GoBack > 0);
|
|
24370
24380
|
}
|
|
@@ -24376,7 +24386,7 @@ class EventMng {
|
|
|
24376
24386
|
}
|
|
24377
24387
|
fire(t, e) {
|
|
24378
24388
|
var k;
|
|
24379
|
-
if (G(this, Si).call(this) || !G(this,
|
|
24389
|
+
if (G(this, Si).call(this) || !G(this, Er) || G(this, xr))
|
|
24380
24390
|
return;
|
|
24381
24391
|
const r = t.toLowerCase();
|
|
24382
24392
|
if (CmnLib.debugLog && console.log(`👺 fire<(key:\`${r}\` type:${e.type} e:%o)`, { ...e }), r === "enter") {
|
|
@@ -24394,7 +24404,7 @@ class EventMng {
|
|
|
24394
24404
|
);
|
|
24395
24405
|
return;
|
|
24396
24406
|
}
|
|
24397
|
-
r.slice(-5) !== "wheel" && ((k = e.preventDefault) == null || k.call(e)), e.stopPropagation(), !(r.slice(0, 4) !== "dom=" && this.layMng.clickTxtLay()) && (Q(this,
|
|
24407
|
+
r.slice(-5) !== "wheel" && ((k = e.preventDefault) == null || k.call(e)), e.stopPropagation(), !(r.slice(0, 4) !== "dom=" && this.layMng.clickTxtLay()) && (Q(this, Er, !1), N(e));
|
|
24398
24408
|
}
|
|
24399
24409
|
popLocalEvts() {
|
|
24400
24410
|
const t = G(this, ye);
|
|
@@ -24411,26 +24421,24 @@ class EventMng {
|
|
|
24411
24421
|
return t(), !1;
|
|
24412
24422
|
G(this, Si).call(this);
|
|
24413
24423
|
}
|
|
24414
|
-
return tt(this,
|
|
24424
|
+
return tt(this, Wr, gs).call(this, t, e, r);
|
|
24415
24425
|
}
|
|
24416
24426
|
unButton(t) {
|
|
24417
24427
|
G(this, Le).remove(t);
|
|
24418
24428
|
}
|
|
24419
24429
|
button(t, e, r, N, k) {
|
|
24420
24430
|
var X;
|
|
24421
|
-
!t.fn && !t.label && this.main.errScript("fnまたはlabelは必須です"), e.interactive = e.buttonMode = !0;
|
|
24422
|
-
const D = ((X = t.key) == null ? void 0 : X.toLowerCase()) ?? " ";
|
|
24423
|
-
t.fn || (t.fn = this.scrItr.scriptFn);
|
|
24424
|
-
const U = argChk_Boolean(t, "global", !1);
|
|
24431
|
+
!t.fn && !t.label && !t.url && this.main.errScript("fnまたはlabelまたはurlは必須です"), t.fn ?? (t.fn = this.scrItr.scriptFn), e.interactive = e.buttonMode = !0;
|
|
24432
|
+
const D = ((X = t.key) == null ? void 0 : X.toLowerCase()) ?? " ", U = argChk_Boolean(t, "global", !1);
|
|
24425
24433
|
U ? G(this, Ei)[D] = () => this.main.resumeByJumpOrCall(t) : G(this, ye)[D] = () => this.main.resumeByJumpOrCall(t), e.on("pointerdown", (z) => this.fire(D, z));
|
|
24426
24434
|
const $ = t.hint ? () => tt(this, Iu, kd).call(this, t, e) : () => {
|
|
24427
24435
|
}, H = () => {
|
|
24428
|
-
r(), G(this,
|
|
24436
|
+
r(), G(this, De).hidden = !0;
|
|
24429
24437
|
}, V = () => ($(), N());
|
|
24430
24438
|
if (e.on("pointerover", V), e.on("pointerout", () => {
|
|
24431
24439
|
G(this, Le).isFocus(e) ? V() : H();
|
|
24432
24440
|
}), e.on("pointerdown", () => {
|
|
24433
|
-
G(this,
|
|
24441
|
+
G(this, De).hidden = !0;
|
|
24434
24442
|
const z = G(this, Le).getFocus();
|
|
24435
24443
|
k(), z instanceof Button && z.normal();
|
|
24436
24444
|
}), e.on(
|
|
@@ -24438,15 +24446,12 @@ class EventMng {
|
|
|
24438
24446
|
CmnLib.isMobile ? H : () => {
|
|
24439
24447
|
G(this, Le).isFocus(e) ? V() : H();
|
|
24440
24448
|
}
|
|
24441
|
-
), G(this, Le).add(e, V, H), t.clickse && (this.cfg.searchPath(t.clickse, SEARCH_PATH_ARG_EXT.SOUND), e.on("pointerdown", () => {
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
})), t.leavese && (this.cfg.searchPath(t.leavese, SEARCH_PATH_ARG_EXT.SOUND), e.on("pointerout", () => {
|
|
24448
|
-
const z = { fn: t.leavese, join: !1 };
|
|
24449
|
-
t.leavesebuf && (z.buf = t.leavesebuf), this.hTag.playse(z);
|
|
24449
|
+
), G(this, Le).add(e, V, H), t.clickse && (t.clicksebuf ?? (t.clicksebuf = "SYS"), this.cfg.searchPath(t.clickse, SEARCH_PATH_ARG_EXT.SOUND), e.on("pointerdown", () => {
|
|
24450
|
+
this.hTag.playse({ fn: t.clickse, buf: t.clicksebuf, join: !1 });
|
|
24451
|
+
})), t.enterse && (t.entersebuf ?? (t.entersebuf = "SYS"), this.cfg.searchPath(t.enterse, SEARCH_PATH_ARG_EXT.SOUND), e.on("pointerover", () => {
|
|
24452
|
+
this.hTag.playse({ fn: t.enterse, buf: t.entersebuf, join: !1 });
|
|
24453
|
+
})), t.leavese && (t.leavesebuf ?? (t.leavesebuf = "SYS"), this.cfg.searchPath(t.leavese, SEARCH_PATH_ARG_EXT.SOUND), e.on("pointerout", () => {
|
|
24454
|
+
this.hTag.playse({ fn: t.leavese, buf: t.leavesebuf, join: !1 });
|
|
24450
24455
|
})), t.onenter) {
|
|
24451
24456
|
const z = D + t.onenter.toLowerCase(), Y = { fn: t.fn, label: t.onenter, call: !0, key: z };
|
|
24452
24457
|
U ? G(this, Ei)[z] = () => this.main.resumeByJumpOrCall(Y) : G(this, ye)[z] = () => this.main.resumeByJumpOrCall(Y), e.on("pointerover", (q) => this.fire(z, q));
|
|
@@ -24457,10 +24462,10 @@ class EventMng {
|
|
|
24457
24462
|
}
|
|
24458
24463
|
}
|
|
24459
24464
|
hideHint() {
|
|
24460
|
-
G(this,
|
|
24465
|
+
G(this, De).hidden = !0;
|
|
24461
24466
|
}
|
|
24462
24467
|
cvsResize() {
|
|
24463
|
-
G(this,
|
|
24468
|
+
G(this, De).hidden = !0;
|
|
24464
24469
|
}
|
|
24465
24470
|
// 予約イベントの発生待ちしない waitEvent()
|
|
24466
24471
|
waitLimitedEvent(t, e) {
|
|
@@ -24488,7 +24493,7 @@ class EventMng {
|
|
|
24488
24493
|
return this.scrItr.skip4page ? !0 : Object.keys(G(this, We)).some((t) => G(this, We)[t] === 2);
|
|
24489
24494
|
}
|
|
24490
24495
|
}
|
|
24491
|
-
Ye = new WeakMap(),
|
|
24496
|
+
Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(), Jo = new WeakSet(), Xc = function(t) {
|
|
24492
24497
|
if (t.isComposing)
|
|
24493
24498
|
return;
|
|
24494
24499
|
t.key in G(this, We) && (G(this, We)[t.key] = t.repeat ? 2 : 1);
|
|
@@ -24515,28 +24520,28 @@ Ye = new WeakMap(), Xr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
|
|
|
24515
24520
|
}
|
|
24516
24521
|
Q(this, oa, !1);
|
|
24517
24522
|
}, 250);
|
|
24518
|
-
}, ye = new WeakMap(), Ei = new WeakMap(),
|
|
24523
|
+
}, ye = new WeakMap(), Ei = new WeakMap(), xr = new WeakMap(), Er = new WeakMap(), ih = new WeakMap(), Wr = new WeakSet(), gs = function(t, e = !0, r = !0) {
|
|
24519
24524
|
if (G(this, Yn).call(this), this.val.saveKidoku(), e ? G(this, ye).click = //this.hTag.event({key:'enter', breakout: fnc});
|
|
24520
24525
|
//hTag.event({key:'down', breakout: fnc});
|
|
24521
24526
|
// hTag.event()は内部で使わず、こうする
|
|
24522
24527
|
G(this, ye).enter = G(this, ye).arrowdown = // hTag.event({key:'downwheel', breakout: fnc});
|
|
24523
24528
|
// hTag.event()は内部で使わず、こうする
|
|
24524
|
-
G(this, ye)["wheel.y>0"] = t : (delete G(this, ye).click, delete G(this, ye).enter, delete G(this, ye).arrowdown, delete G(this, ye)["wheel.y>0"]), Q(this, ih, r ? (N) => G(this, ye)[N] ?? G(this, Ei)[N] : (N) => G(this, ye)[N]), Q(this,
|
|
24529
|
+
G(this, ye)["wheel.y>0"] = t : (delete G(this, ye).click, delete G(this, ye).enter, delete G(this, ye).arrowdown, delete G(this, ye)["wheel.y>0"]), Q(this, ih, r ? (N) => G(this, ye)[N] ?? G(this, Ei)[N] : (N) => G(this, ye)[N]), Q(this, Er, !0), G(this, rh).call(this), CmnLib.debugLog) {
|
|
24525
24530
|
const N = /* @__PURE__ */ Object.create(null);
|
|
24526
24531
|
N.local = Object.keys(G(this, ye)), N.global = Object.keys(G(this, Ei)), console.log("🎍 wait event... %o", N);
|
|
24527
24532
|
}
|
|
24528
24533
|
return !0;
|
|
24529
|
-
}, rh = new WeakMap(), nh = new WeakMap(),
|
|
24534
|
+
}, rh = new WeakMap(), nh = new WeakMap(), De = new WeakMap(), la = new WeakMap(), ua = new WeakMap(), sh = new WeakMap(), Iu = new WeakSet(), kd = function(t, e) {
|
|
24530
24535
|
const r = e instanceof Button ? e.getBtnBounds() : e.getBounds();
|
|
24531
24536
|
if (!(t[":タグ名"] === "link")) {
|
|
24532
24537
|
const k = e.parent.parent;
|
|
24533
24538
|
r.x += k.x, r.y += k.y;
|
|
24534
24539
|
}
|
|
24535
24540
|
if (!t.hint) {
|
|
24536
|
-
G(this,
|
|
24541
|
+
G(this, De).hidden = !0;
|
|
24537
24542
|
return;
|
|
24538
24543
|
}
|
|
24539
|
-
G(this,
|
|
24544
|
+
G(this, De).style.cssText = `position:${G(this, De).style.position}; transform:${G(this, De).style.transform};` + (t.hint_style ?? ""), G(this, la).style.cssText = "", G(this, la).textContent = t.hint ?? "";
|
|
24540
24545
|
try {
|
|
24541
24546
|
const k = t.hint_opt ? { ...G(this, sh), ...JSON.parse(t.hint_opt) } : G(this, sh);
|
|
24542
24547
|
G(this, ua).setOptions(k);
|
|
@@ -24548,12 +24553,12 @@ Ye = new WeakMap(), Xr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
|
|
|
24548
24553
|
y: this.sys.ofsTop4elm + r.y * this.sys.cvsScale,
|
|
24549
24554
|
width: r.width,
|
|
24550
24555
|
height: r.height
|
|
24551
|
-
}), G(this, ua).update(), G(this,
|
|
24556
|
+
}), G(this, ua).update(), G(this, De).hidden = !1;
|
|
24552
24557
|
}, ah = new WeakMap(), zn = new WeakMap(), Au = new WeakSet(), Dd = function(t) {
|
|
24553
24558
|
const e = argChk_Boolean(t, "global", !1), r = e ? G(this, Ei) : G(this, ye);
|
|
24554
24559
|
for (const [N, k] of Object.entries(r))
|
|
24555
24560
|
tt(this, oh, Kc).call(this, N, k);
|
|
24556
|
-
return e ? Q(this, Ei, {}) : Q(this, ye, {}), Q(this,
|
|
24561
|
+
return e ? Q(this, Ei, {}) : Q(this, ye, {}), Q(this, Er, !1), !1;
|
|
24557
24562
|
}, oh = new WeakSet(), Kc = function(t, e) {
|
|
24558
24563
|
t.slice(0, 4) === "dom=" && tt(this, Xn, La).call(this, t).el.forEach((r) => r.removeEventListener("click", e));
|
|
24559
24564
|
}, Lu = new WeakSet(), Bd = function(t) {
|
|
@@ -24562,10 +24567,12 @@ Ye = new WeakMap(), Xr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
|
|
|
24562
24567
|
throw "keyは必須です";
|
|
24563
24568
|
const r = e.toLowerCase(), N = argChk_Boolean(t, "call", !1), k = argChk_Boolean(t, "global", !1) ? G(this, Ei) : G(this, ye);
|
|
24564
24569
|
if (argChk_Boolean(t, "del", !1)) {
|
|
24565
|
-
if (t.fn || t.label || N)
|
|
24570
|
+
if (t.fn || t.label || N || t.url)
|
|
24566
24571
|
throw "fn/label/callとdelは同時指定できません";
|
|
24567
24572
|
return tt(this, oh, Kc).call(this, e, k[r]), delete k[r], !1;
|
|
24568
24573
|
}
|
|
24574
|
+
if (!t.fn && !t.label && !t.url)
|
|
24575
|
+
throw "fnまたはlabelまたはurlは必須です";
|
|
24569
24576
|
if (t.fn ?? (t.fn = this.scrItr.scriptFn), e.slice(0, 4) === "dom=") {
|
|
24570
24577
|
const D = tt(this, Xn, La).call(this, e);
|
|
24571
24578
|
if (D.el.length === 0) {
|
|
@@ -24588,7 +24595,7 @@ Ye = new WeakMap(), Xr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
|
|
|
24588
24595
|
}
|
|
24589
24596
|
U.forEach((H, V) => D.el.forEach((X) => {
|
|
24590
24597
|
G(this, Ye).add(X, H, (z) => {
|
|
24591
|
-
if (!G(this,
|
|
24598
|
+
if (!G(this, Er) || this.layMng.getFrmDisabled(D.id) || H === "keydown" && z.key !== "Enter")
|
|
24592
24599
|
return;
|
|
24593
24600
|
const Y = X.dataset;
|
|
24594
24601
|
for (const [q, W] of Object.entries(Y))
|
|
@@ -24638,7 +24645,7 @@ Ye = new WeakMap(), Xr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
|
|
|
24638
24645
|
}
|
|
24639
24646
|
return this.val.getVal("tmp:sn.auto.enabled") ? tt(this, ca, Yh).call(this, {
|
|
24640
24647
|
time: Number(this.scrItr.isKidoku ? this.val.getVal("sys:sn.auto.msecLineWait_Kidoku") : this.val.getVal("sys:sn.auto.msecLineWait"))
|
|
24641
|
-
}) : (argChk_Boolean(t, "visible", !0) && this.layMng.breakLine(), tt(this,
|
|
24648
|
+
}) : (argChk_Boolean(t, "visible", !0) && this.layMng.breakLine(), tt(this, Wr, gs).call(this, () => this.main.resume()));
|
|
24642
24649
|
}, ku = new WeakSet(), Ud = function(t) {
|
|
24643
24650
|
if (this.scrItr.recodePage(), this.val.getVal("tmp:sn.skip.enabled")) {
|
|
24644
24651
|
if (!this.val.getVal("tmp:sn.skip.all") && // 未読で停止
|
|
@@ -24653,13 +24660,13 @@ Ye = new WeakMap(), Xr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
|
|
|
24653
24660
|
});
|
|
24654
24661
|
argChk_Boolean(t, "visible", !0) && this.layMng.breakPage();
|
|
24655
24662
|
const e = () => {
|
|
24656
|
-
this.sndMng.clearCache(), this.main.resume();
|
|
24663
|
+
this.sndMng.clearCache(), G(this, De).hidden = !0, this.main.resume();
|
|
24657
24664
|
};
|
|
24658
|
-
return tt(this,
|
|
24665
|
+
return tt(this, Wr, gs).call(this, argChk_Boolean(t, "er", !1) && this.layMng.currentTxtlayFore ? () => {
|
|
24659
24666
|
this.hTag.er(t), e();
|
|
24660
24667
|
} : e);
|
|
24661
24668
|
}, Si = new WeakMap(), Du = new WeakSet(), Gd = function() {
|
|
24662
|
-
return Q(this, Si, () => (Q(this, Si, () => !1), this.val.setVal_Nochk("tmp", "sn.tagL.enabled", !0), this.val.setVal_Nochk("tmp", "sn.skip.enabled", !1), this.val.setVal_Nochk("tmp", "sn.auto.enabled", !1), this.layMng.setNormalChWait(), G(this,
|
|
24669
|
+
return Q(this, Si, () => (Q(this, Si, () => !1), this.val.setVal_Nochk("tmp", "sn.tagL.enabled", !0), this.val.setVal_Nochk("tmp", "sn.skip.enabled", !1), this.val.setVal_Nochk("tmp", "sn.auto.enabled", !1), this.layMng.setNormalChWait(), G(this, Sr).call(this), !0)), !1;
|
|
24663
24670
|
}, Bu = new WeakSet(), $d = function(t) {
|
|
24664
24671
|
const { add: e, del: r, to: N } = t;
|
|
24665
24672
|
if ((e == null ? void 0 : e.slice(0, 4)) === "dom=") {
|
|
@@ -24699,21 +24706,21 @@ Ye = new WeakMap(), Xr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
|
|
|
24699
24706
|
!this.scrItr.isNextKidoku && G(this, Si).call(this), !1) : (G(this, Wn).once(G(this, qn), () => {
|
|
24700
24707
|
G(this, Wn).off(G(this, qn));
|
|
24701
24708
|
const r = new Tween({}).to({}, e).onComplete(() => {
|
|
24702
|
-
Q(this,
|
|
24709
|
+
Q(this, Sr, () => {
|
|
24703
24710
|
}), r.stop(), this.main.resume();
|
|
24704
24711
|
}).start();
|
|
24705
|
-
Q(this,
|
|
24706
|
-
}), Q(this,
|
|
24707
|
-
Q(this,
|
|
24712
|
+
Q(this, Sr, () => r.end());
|
|
24713
|
+
}), Q(this, Sr, () => {
|
|
24714
|
+
Q(this, Sr, () => {
|
|
24708
24715
|
}), G(this, Wn).off(G(this, qn));
|
|
24709
24716
|
}), this.waitEvent(
|
|
24710
|
-
() => G(this,
|
|
24717
|
+
() => G(this, Sr).call(this),
|
|
24711
24718
|
argChk_Boolean(t, "canskip", !0),
|
|
24712
24719
|
// スキップ中は利かない
|
|
24713
24720
|
argChk_Boolean(t, "global", !1)
|
|
24714
24721
|
));
|
|
24715
|
-
},
|
|
24716
|
-
return this.scrItr.skip4page ? !1 : ((this.val.getVal("tmp:sn.skip.enabled") || this.val.getVal("tmp:sn.auto.enabled")) && G(this, Si).call(this), tt(this,
|
|
24722
|
+
}, Sr = new WeakMap(), Wn = new WeakMap(), qn = new WeakMap(), Fu = new WeakSet(), jd = function() {
|
|
24723
|
+
return this.scrItr.skip4page ? !1 : ((this.val.getVal("tmp:sn.skip.enabled") || this.val.getVal("tmp:sn.auto.enabled")) && G(this, Si).call(this), tt(this, Wr, gs).call(this, () => this.main.resume()));
|
|
24717
24724
|
}, We = new WeakMap();
|
|
24718
24725
|
class CallStack {
|
|
24719
24726
|
constructor(t = "", e = 0, r = { ":hEvt1Time": {}, ":hMp": {} }) {
|
|
@@ -24721,13 +24728,13 @@ class CallStack {
|
|
|
24721
24728
|
this.fn = t, this.idx = e, this.csArg = r;
|
|
24722
24729
|
}
|
|
24723
24730
|
}
|
|
24724
|
-
var Qt,
|
|
24731
|
+
var Qt, se, Lt, pe, ce, Tr, lh, Jc, Kn, qr, Uu, Kr, uh, Qc, ch, tf, fh, Zr, ys, Zn, Na, Jn, wr, xe, Gu, Hd, Qn, ka, $u, Vd, dh, fa, ci, ju, zd, Hu, Xd, Pr, sn, Vu, Yd, ts, es, ph, vh, mh, fi, zu, Wd, Xu, qd, Yu, Kd, _h, ef, Wu, Zd, qu, Jd, Ku, Qd, gh, rf, yh, is, Da, rs, er, Ir, bh, nf, xh, Eh, sf, Zu, Ju, Sh, Qu, tp, Be, tc, ep, Th, af, ec, ic, rc, ip, nc, rp, Cr, wh, of, sc, np, ac, sp, oc, hc, ap, Ph, da, lc, op, pa, Wh, va, uc, hp, Bi, cc, lp, ma, qh, fc, up, Fi, Fe;
|
|
24725
24732
|
const si = class {
|
|
24726
24733
|
constructor(t, e, r, N, k, D, U, $, H) {
|
|
24727
24734
|
Z(this, lh);
|
|
24728
24735
|
Z(this, uh);
|
|
24729
24736
|
Z(this, ch);
|
|
24730
|
-
Z(this,
|
|
24737
|
+
Z(this, Zr);
|
|
24731
24738
|
Z(this, Zn);
|
|
24732
24739
|
Z(this, Gu);
|
|
24733
24740
|
Z(this, Qn);
|
|
@@ -24738,7 +24745,7 @@ const si = class {
|
|
|
24738
24745
|
// // デバッグ・その他
|
|
24739
24746
|
// スタックのダンプ
|
|
24740
24747
|
Z(this, Hu);
|
|
24741
|
-
Z(this,
|
|
24748
|
+
Z(this, Pr);
|
|
24742
24749
|
// 外部へスクリプトを表示
|
|
24743
24750
|
Z(this, Vu);
|
|
24744
24751
|
// FIFOバッファ(push/unshift)
|
|
@@ -24757,7 +24764,7 @@ const si = class {
|
|
|
24757
24764
|
// サブルーチンから戻る
|
|
24758
24765
|
Z(this, gh);
|
|
24759
24766
|
Z(this, is);
|
|
24760
|
-
Z(this,
|
|
24767
|
+
Z(this, er);
|
|
24761
24768
|
// 初期化前に終了した場合向け
|
|
24762
24769
|
Z(this, bh);
|
|
24763
24770
|
Z(this, Eh);
|
|
@@ -24786,20 +24793,21 @@ const si = class {
|
|
|
24786
24793
|
// しおりの保存
|
|
24787
24794
|
Z(this, fc);
|
|
24788
24795
|
Z(this, Qt, { aToken: [""], len: 1, aLNum: [1] });
|
|
24789
|
-
Z(this,
|
|
24796
|
+
Z(this, se, "");
|
|
24790
24797
|
Z(this, Lt, 0);
|
|
24791
24798
|
Z(this, pe, 0);
|
|
24792
24799
|
gt(this, "addLineNum", (t) => Q(this, pe, G(this, pe) + t));
|
|
24800
|
+
// 直前にジャンプ
|
|
24793
24801
|
Z(this, ce, []);
|
|
24794
24802
|
// FILOバッファ(push/pop)
|
|
24795
|
-
Z(this,
|
|
24803
|
+
Z(this, Tr, new Grammar());
|
|
24796
24804
|
gt(this, "firstWait", () => {
|
|
24797
24805
|
});
|
|
24798
24806
|
Z(this, Kn, {
|
|
24799
24807
|
//auth: // constructorで
|
|
24800
24808
|
//launch: // ここでは冒頭停止に間に合わないのでanalyzeInit()で
|
|
24801
24809
|
disconnect: () => {
|
|
24802
|
-
Q(si, Jn, {}), Q(si,
|
|
24810
|
+
Q(si, Jn, {}), Q(si, wr, {}), this.isBreak = () => !1, G(this, Kn).continue({}), Q(this, xe, 0);
|
|
24803
24811
|
},
|
|
24804
24812
|
restart: () => this.isBreak = () => !1,
|
|
24805
24813
|
// ブレークポイント登録
|
|
@@ -24808,9 +24816,9 @@ const si = class {
|
|
|
24808
24816
|
G(this, xe) === 0 && (Q(this, xe, 1), this.main.setLoop(!1, `変数 ${t.dataId}【${t.old_v}】→【${t.new_v}】データブレーク`), this.sys.callHook("stopOnDataBreakpoint", {}), this.sys.send2Dbg("stopOnDataBreakpoint", {}));
|
|
24809
24817
|
},
|
|
24810
24818
|
set_func_break: (t) => {
|
|
24811
|
-
Q(si,
|
|
24819
|
+
Q(si, wr, {});
|
|
24812
24820
|
for (const e of t.a)
|
|
24813
|
-
G(si,
|
|
24821
|
+
G(si, wr)[e.name] = 1;
|
|
24814
24822
|
this.sys.send2Dbg(t.ri, {});
|
|
24815
24823
|
},
|
|
24816
24824
|
// 情報問い合わせ系
|
|
@@ -24820,14 +24828,14 @@ const si = class {
|
|
|
24820
24828
|
},
|
|
24821
24829
|
// デバッガからの操作系
|
|
24822
24830
|
continue: () => {
|
|
24823
|
-
tt(this, Zn, Na).call(this) || (Q(this, Lt, G(this, Lt) - G(this,
|
|
24831
|
+
tt(this, Zn, Na).call(this) || (Q(this, Lt, G(this, Lt) - G(this, Zr, ys)), Q(this, xe, 3), this.main.setLoop(!0), this.main.resume());
|
|
24824
24832
|
},
|
|
24825
24833
|
stepover: (t) => tt(this, uh, Qc).call(this, t),
|
|
24826
24834
|
stepin: () => {
|
|
24827
24835
|
if (tt(this, Zn, Na).call(this))
|
|
24828
24836
|
return;
|
|
24829
|
-
const t = G(this, Qt).aToken[G(this, Lt) - G(this,
|
|
24830
|
-
this.sys.callHook(`stopOnStep${G(this, da).test(t) ? "In" : ""}`, {}), Q(this, Lt, G(this, Lt) - G(this,
|
|
24837
|
+
const t = G(this, Qt).aToken[G(this, Lt) - G(this, Zr, ys)];
|
|
24838
|
+
this.sys.callHook(`stopOnStep${G(this, da).test(t) ? "In" : ""}`, {}), Q(this, Lt, G(this, Lt) - G(this, Zr, ys)), Q(this, xe, G(this, xe) === 1 ? 4 : 5), this.main.setLoop(!0), this.main.resume();
|
|
24831
24839
|
},
|
|
24832
24840
|
stepout: (t) => {
|
|
24833
24841
|
tt(this, Zn, Na).call(this) || (G(this, ce).length > 0 ? tt(this, ch, tf).call(this, !0) : tt(this, uh, Qc).call(this, t));
|
|
@@ -24839,9 +24847,9 @@ const si = class {
|
|
|
24839
24847
|
Q(this, xe, 4), this.main.setLoop(!1, "一時停止"), this.sys.send2Dbg("stopOnEntry", {});
|
|
24840
24848
|
}
|
|
24841
24849
|
});
|
|
24842
|
-
Z(this,
|
|
24850
|
+
Z(this, qr, (t) => this.cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SCRIPT));
|
|
24843
24851
|
// https://regex101.com/r/Km54EK/1 141 steps (~0ms)
|
|
24844
|
-
Z(this,
|
|
24852
|
+
Z(this, Kr, (t) => (this.sys.pathBaseCnvSnPath4Dbg + G(this, qr).call(this, t)).replace(G(si, Uu), `$1/prj/$2/${G(this, se)}$3`));
|
|
24845
24853
|
gt(this, "cnvPath4Dbg", (t) => this.sys.pathBaseCnvSnPath4Dbg + t.replace("/crypto_prj/", "/prj/"));
|
|
24846
24854
|
Z(this, fh, 0);
|
|
24847
24855
|
Z(this, xe, 0);
|
|
@@ -24872,7 +24880,7 @@ const si = class {
|
|
|
24872
24880
|
Z(this, Zu, /(\*{2,})([^\|]*)/);
|
|
24873
24881
|
Z(this, Ju, /\[macro\s/);
|
|
24874
24882
|
Z(this, Sh, /\[endmacro[\s\]]/);
|
|
24875
|
-
Z(this,
|
|
24883
|
+
Z(this, Be, /* @__PURE__ */ Object.create(null));
|
|
24876
24884
|
Z(this, ec, /^\[(call|loadplugin)\s/);
|
|
24877
24885
|
Z(this, ic, /\bfn\s*=\s*[^\s\]]+/);
|
|
24878
24886
|
Z(this, Cr, !1);
|
|
@@ -24888,12 +24896,12 @@ const si = class {
|
|
|
24888
24896
|
aIfStk: [-1]
|
|
24889
24897
|
});
|
|
24890
24898
|
Z(this, Fi, []);
|
|
24891
|
-
Z(this,
|
|
24899
|
+
Z(this, Fe, -1);
|
|
24892
24900
|
this.cfg = t, this.hTag = e, this.main = r, this.val = N, this.alzTagArg = k, this.runAnalyze = D, this.prpPrs = U, this.sndMng = $, this.sys = H, e.let_ml = (X) => tt(this, ju, zd).call(this, X), e.endlet_ml = () => !1, e.dump_stack = () => tt(this, Hu, Xd).call(this), e.dump_script = (X) => tt(this, Vu, Yd).call(this, X), e.else = // その他ifブロック開始
|
|
24893
24901
|
e.elsif = // 別条件のifブロック開始
|
|
24894
|
-
e.endif = () => tt(this, zu, Wd).call(this), e.if = (X) => tt(this, Xu, qd).call(this, X), e.call = (X) => tt(this, Yu, Kd).call(this, X), e.jump = (X) => tt(this, Wu, Zd).call(this, X), e.page = (X) => tt(this, qu, Jd).call(this, X), e.pop_stack = (X) => tt(this, Ku, Qd).call(this, X), e.return = (X) => tt(this, gh, rf).call(this, X), e.bracket2macro = (X) => tt(this, sc, np).call(this, X), e.char2macro = (X) => tt(this, ac, sp).call(this, X), e.endmacro = (X) => tt(this, gh, rf).call(this, X), e.macro = (X) => tt(this, hc, ap).call(this, X), e.load = (X) => tt(this, lc, op).call(this, X), e.reload_script = (X) => tt(this, uc, hp).call(this, X), e.record_place = () => tt(this, cc, lp).call(this), e.save = (X) => tt(this, fc, up).call(this, X), t.oCfg.debug.token && Q(this, xh, (X) => console.log(`🌱 トークン fn:${G(this,
|
|
24902
|
+
e.endif = () => tt(this, zu, Wd).call(this), e.if = (X) => tt(this, Xu, qd).call(this, X), e.call = (X) => tt(this, Yu, Kd).call(this, X), e.jump = (X) => tt(this, Wu, Zd).call(this, X), e.page = (X) => tt(this, qu, Jd).call(this, X), e.pop_stack = (X) => tt(this, Ku, Qd).call(this, X), e.return = (X) => tt(this, gh, rf).call(this, X), e.bracket2macro = (X) => tt(this, sc, np).call(this, X), e.char2macro = (X) => tt(this, ac, sp).call(this, X), e.endmacro = (X) => tt(this, gh, rf).call(this, X), e.macro = (X) => tt(this, hc, ap).call(this, X), e.load = (X) => tt(this, lc, op).call(this, X), e.reload_script = (X) => tt(this, uc, hp).call(this, X), e.record_place = () => tt(this, cc, lp).call(this), e.save = (X) => tt(this, fc, up).call(this, X), t.oCfg.debug.token && Q(this, xh, (X) => console.log(`🌱 トークン fn:${G(this, se)} idx:${G(this, Lt)} ln:${G(this, pe)} token【${X}】`)), N.defTmp("const.sn.vctCallStk.length", () => G(this, ce).length);
|
|
24895
24903
|
const V = t.oCfg.init.escape;
|
|
24896
|
-
if (G(this,
|
|
24904
|
+
if (G(this, Tr).setEscape(V), RubySpliter.setEscape(V), CmnLib.isDbg) {
|
|
24897
24905
|
H.addHook((z, Y) => {
|
|
24898
24906
|
var q, W;
|
|
24899
24907
|
return (W = (q = G(this, Kn))[z]) == null ? void 0 : W.call(q, Y);
|
|
@@ -24906,9 +24914,9 @@ const si = class {
|
|
|
24906
24914
|
const Y = z.hBreakpoint.hFn2hLineBP;
|
|
24907
24915
|
for (const [q, W] of Object.entries(Y))
|
|
24908
24916
|
tt(this, lh, Jc).call(this, q, W);
|
|
24909
|
-
Q(si,
|
|
24917
|
+
Q(si, wr, {});
|
|
24910
24918
|
for (const q of z.hBreakpoint.aFunc)
|
|
24911
|
-
G(si,
|
|
24919
|
+
G(si, wr)[q.name] = 1;
|
|
24912
24920
|
if (z.stopOnEntry) {
|
|
24913
24921
|
for (; ; ) {
|
|
24914
24922
|
let q = this.nextToken();
|
|
@@ -24928,17 +24936,20 @@ const si = class {
|
|
|
24928
24936
|
} else
|
|
24929
24937
|
this.recodeDesign = () => {
|
|
24930
24938
|
};
|
|
24931
|
-
t.oCfg.debug.tag && Q(this, dh, (X) => console.log(`🌲 タグ解析 fn:${G(this,
|
|
24939
|
+
t.oCfg.debug.tag && Q(this, dh, (X) => console.log(`🌲 タグ解析 fn:${G(this, se)} idx:${G(this, Lt)} ln:${G(this, pe)} [${X} %o]`, this.alzTagArg.hPrm));
|
|
24932
24940
|
}
|
|
24933
24941
|
get scriptFn() {
|
|
24934
|
-
return G(this,
|
|
24942
|
+
return G(this, se);
|
|
24935
24943
|
}
|
|
24936
24944
|
subIdxToken() {
|
|
24937
|
-
--
|
|
24945
|
+
--Te(this, Lt)._;
|
|
24938
24946
|
}
|
|
24939
24947
|
get lineNum() {
|
|
24940
24948
|
return G(this, pe);
|
|
24941
24949
|
}
|
|
24950
|
+
jumpJustBefore() {
|
|
24951
|
+
tt(this, er, Ir).call(this, G(this, se), "", --Te(this, Lt)._);
|
|
24952
|
+
}
|
|
24942
24953
|
destroy() {
|
|
24943
24954
|
this.isBreak = () => !1;
|
|
24944
24955
|
}
|
|
@@ -24991,7 +25002,7 @@ const si = class {
|
|
|
24991
25002
|
}
|
|
24992
25003
|
dumpErrForeLine() {
|
|
24993
25004
|
if (G(this, Lt) === 0) {
|
|
24994
|
-
console.group(`🥟 Error line (from 0 rows before) fn:${G(this,
|
|
25005
|
+
console.group(`🥟 Error line (from 0 rows before) fn:${G(this, se)}`), console.groupEnd();
|
|
24995
25006
|
return;
|
|
24996
25007
|
}
|
|
24997
25008
|
let t = "";
|
|
@@ -24999,8 +25010,8 @@ const si = class {
|
|
|
24999
25010
|
;
|
|
25000
25011
|
const e = t.split(`
|
|
25001
25012
|
`).slice(-G(this, mh)), r = e.length;
|
|
25002
|
-
console.group(`🥟 Error line (from ${r} rows before) fn:${G(this,
|
|
25003
|
-
const N = String(G(this, pe)).length, k = tt(this,
|
|
25013
|
+
console.group(`🥟 Error line (from ${r} rows before) fn:${G(this, se)}`);
|
|
25014
|
+
const N = String(G(this, pe)).length, k = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Lt));
|
|
25004
25015
|
for (let D = 0; D < r; ++D) {
|
|
25005
25016
|
const U = G(this, pe) - r + D + 1, $ = `${String(U).padStart(N, " ")}: %c`, H = e[D], V = H.length > 75 ? H.slice(0, 75) + "…" : H;
|
|
25006
25017
|
D === r - 1 ? console.info(
|
|
@@ -25019,11 +25030,11 @@ const si = class {
|
|
|
25019
25030
|
return G(this, Cr);
|
|
25020
25031
|
}
|
|
25021
25032
|
get isNextKidoku() {
|
|
25022
|
-
let t = G(this,
|
|
25033
|
+
let t = G(this, se), e = G(this, Lt), r = G(this, Qt).len;
|
|
25023
25034
|
if (G(this, ce).length > 0) {
|
|
25024
25035
|
const k = G(this, ce)[0];
|
|
25025
25036
|
t = k.fn, e = k.idx;
|
|
25026
|
-
const D = G(this,
|
|
25037
|
+
const D = G(this, Be)[t];
|
|
25027
25038
|
D && (r = D.len);
|
|
25028
25039
|
}
|
|
25029
25040
|
const N = this.val.getAreaKidoku(t);
|
|
@@ -25040,7 +25051,7 @@ const si = class {
|
|
|
25040
25051
|
return;
|
|
25041
25052
|
const { fn: t, idx: e } = tt(this, ma, qh).call(this), r = e - 1, N = r + ":" + t, k = G(this, Fi).findIndex((U) => U.key === N);
|
|
25042
25053
|
if (k > -1) {
|
|
25043
|
-
Q(this,
|
|
25054
|
+
Q(this, Fe, k);
|
|
25044
25055
|
return;
|
|
25045
25056
|
}
|
|
25046
25057
|
const D = {
|
|
@@ -25051,11 +25062,11 @@ const si = class {
|
|
|
25051
25062
|
retIdx: 0,
|
|
25052
25063
|
retMark: { ...G(this, Bi) }
|
|
25053
25064
|
};
|
|
25054
|
-
if (G(this,
|
|
25055
|
-
const U = G(this, Fi)[G(this,
|
|
25065
|
+
if (G(this, Fe) >= 0) {
|
|
25066
|
+
const U = G(this, Fi)[G(this, Fe)];
|
|
25056
25067
|
D.retFn = U.fn, D.retIdx = U.idx + 1;
|
|
25057
25068
|
}
|
|
25058
|
-
++
|
|
25069
|
+
++Te(this, Fe)._ === G(this, Fi).length ? G(this, Fi).push(D) : G(this, Fi)[G(this, Fe)] = D;
|
|
25059
25070
|
}
|
|
25060
25071
|
recodeDesign(t) {
|
|
25061
25072
|
let e = "", r = 0;
|
|
@@ -25064,32 +25075,32 @@ const si = class {
|
|
|
25064
25075
|
const U = G(this, ce)[0];
|
|
25065
25076
|
e = U.fn, r = U.idx;
|
|
25066
25077
|
} else
|
|
25067
|
-
e = G(this,
|
|
25068
|
-
t[":path"] = G(this,
|
|
25069
|
-
const k = tt(this,
|
|
25078
|
+
e = G(this, se), r = G(this, Lt);
|
|
25079
|
+
t[":path"] = G(this, Kr).call(this, e);
|
|
25080
|
+
const k = tt(this, Pr, sn).call(this, G(this, Be)[e], r);
|
|
25070
25081
|
t[":ln"] = k.ln, t[":col_s"] = k.col_s, t[":col_e"] = k.col_e;
|
|
25071
25082
|
const D = r - 1;
|
|
25072
|
-
t[":idx_tkn"] = D, t[":token"] = G(this,
|
|
25083
|
+
t[":idx_tkn"] = D, t[":token"] = G(this, Be)[e].aToken[D], this.sys.send2Dbg("_recodeDesign", t);
|
|
25073
25084
|
}
|
|
25074
25085
|
replace(t, e) {
|
|
25075
25086
|
G(this, Qt).aToken[t] = e;
|
|
25076
25087
|
}
|
|
25077
25088
|
};
|
|
25078
25089
|
let ScriptIterator = si;
|
|
25079
|
-
Qt = new WeakMap(),
|
|
25080
|
-
G(si, Jn)[G(this,
|
|
25081
|
-
}, Kn = new WeakMap(),
|
|
25090
|
+
Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(), ce = new WeakMap(), Tr = new WeakMap(), lh = new WeakSet(), Jc = function(t, e) {
|
|
25091
|
+
G(si, Jn)[G(this, Kr).call(this, t)] = e;
|
|
25092
|
+
}, Kn = new WeakMap(), qr = new WeakMap(), Uu = new WeakMap(), Kr = new WeakMap(), uh = new WeakSet(), Qc = function(t) {
|
|
25082
25093
|
if (tt(this, Zn, Na).call(this))
|
|
25083
25094
|
return;
|
|
25084
|
-
const e = G(this, Qt).aToken[G(this, Lt) - G(this,
|
|
25095
|
+
const e = G(this, Qt).aToken[G(this, Lt) - G(this, Zr, ys)];
|
|
25085
25096
|
G(this, da).test(e) ? tt(this, ch, tf).call(this, !1) : (this.sys.callHook("stopOnStep", {}), G(this, Kn).stepin(t));
|
|
25086
25097
|
}, ch = new WeakSet(), tf = function(t) {
|
|
25087
|
-
this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), Q(this, fh, G(this, ce).length - (t ? 1 : 0)), Q(this, Lt, G(this, Lt) - G(this,
|
|
25088
|
-
}, fh = new WeakMap(),
|
|
25098
|
+
this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), Q(this, fh, G(this, ce).length - (t ? 1 : 0)), Q(this, Lt, G(this, Lt) - G(this, Zr, ys)), Q(this, xe, t ? 7 : 6), this.main.setLoop(!0), this.main.resume();
|
|
25099
|
+
}, fh = new WeakMap(), Zr = new WeakSet(), ys = function() {
|
|
25089
25100
|
return G(this, xe) === 2 || G(this, xe) === 4 ? 1 : 0;
|
|
25090
25101
|
}, Zn = new WeakSet(), Na = function() {
|
|
25091
25102
|
return G(this, Lt) < G(this, Qt).len ? !1 : (this.sys.callHook("stopOnEntry", {}), this.main.setLoop(!1, "スクリプト終端です"), !0);
|
|
25092
|
-
}, Jn = new WeakMap(),
|
|
25103
|
+
}, Jn = new WeakMap(), wr = new WeakMap(), xe = new WeakMap(), Gu = new WeakSet(), Hd = function(t) {
|
|
25093
25104
|
switch (G(this, xe)) {
|
|
25094
25105
|
case 6:
|
|
25095
25106
|
tt(this, Qn, ka).call(this), Q(this, xe, 7);
|
|
@@ -25107,10 +25118,10 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25107
25118
|
tt(this, Qn, ka).call(this), Q(this, xe, 0);
|
|
25108
25119
|
break;
|
|
25109
25120
|
default:
|
|
25110
|
-
if (tagToken2Name(t) in G(si,
|
|
25121
|
+
if (tagToken2Name(t) in G(si, wr))
|
|
25111
25122
|
return Q(this, xe, 2), this.main.setLoop(!1, `関数 ${t} ブレーク`), this.sys.callHook("stopOnBreakpoint", {}), this.sys.send2Dbg("stopOnBreakpoint", {}), !0;
|
|
25112
25123
|
{
|
|
25113
|
-
const e = G(si, Jn)[G(this,
|
|
25124
|
+
const e = G(si, Jn)[G(this, Kr).call(this, G(this, se))];
|
|
25114
25125
|
if (!e)
|
|
25115
25126
|
break;
|
|
25116
25127
|
const r = e[G(this, pe)];
|
|
@@ -25131,19 +25142,19 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25131
25142
|
return !1;
|
|
25132
25143
|
}, Qn = new WeakSet(), ka = function() {
|
|
25133
25144
|
var e;
|
|
25134
|
-
const t = (e = G(si, Jn)[getFn(G(this,
|
|
25145
|
+
const t = (e = G(si, Jn)[getFn(G(this, se))]) == null ? void 0 : e[G(this, pe)];
|
|
25135
25146
|
t != null && t.hitCondition && --t.hitCondition;
|
|
25136
25147
|
}, $u = new WeakSet(), Vd = function() {
|
|
25137
|
-
const t = G(this, xe) === 3 ? 1 : 0, e = G(this, Qt).aToken[G(this, Lt) - 1 + t], r = G(this,
|
|
25148
|
+
const t = G(this, xe) === 3 ? 1 : 0, e = G(this, Qt).aToken[G(this, Lt) - 1 + t], r = G(this, Kr).call(this, G(this, se)), N = tagToken2Name(e), k = N ? `[${N}]` : e, D = this.val.getVal("mp:const.sn.macro") ?? "{}";
|
|
25138
25149
|
if (G(this, Lt) === 0)
|
|
25139
25150
|
return [{ fn: r, ln: 1, col: 1, nm: k, ma: D }];
|
|
25140
|
-
const U = tt(this,
|
|
25151
|
+
const U = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Lt)), $ = [{ fn: r, ln: U.ln, col: U.col_s + 1, nm: k, ma: D }], H = G(this, ce).length;
|
|
25141
25152
|
if (H === 0)
|
|
25142
25153
|
return $;
|
|
25143
25154
|
for (let V = H - 1; V >= 0; --V) {
|
|
25144
|
-
const X = G(this, ce)[V], z = G(this,
|
|
25155
|
+
const X = G(this, ce)[V], z = G(this, Be)[X.fn], Y = z.aToken[X.idx - 1], q = tt(this, Pr, sn).call(this, z, X.idx), W = tagToken2Name(Y);
|
|
25145
25156
|
$.push({
|
|
25146
|
-
fn: G(this,
|
|
25157
|
+
fn: G(this, Kr).call(this, X.fn),
|
|
25147
25158
|
ln: q.ln,
|
|
25148
25159
|
col: q.col_s + 1,
|
|
25149
25160
|
nm: W ? `[${W}]` : Y,
|
|
@@ -25157,26 +25168,26 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25157
25168
|
throw "nameは必須です";
|
|
25158
25169
|
let r = "";
|
|
25159
25170
|
const N = G(this, Qt).len;
|
|
25160
|
-
for (; G(this, Lt) < N && (r = G(this, Qt).aToken[G(this, Lt)], r === ""); ++
|
|
25171
|
+
for (; G(this, Lt) < N && (r = G(this, Qt).aToken[G(this, Lt)], r === ""); ++Te(this, Lt)._)
|
|
25161
25172
|
;
|
|
25162
25173
|
return t.text = r, t.cast = "str", this.hTag.let(t), Q(this, Lt, G(this, Lt) + 2), Q(this, pe, G(this, pe) + (r.match(/\n/g) ?? []).length), !1;
|
|
25163
25174
|
}, Hu = new WeakSet(), Xd = function() {
|
|
25164
25175
|
if (G(this, Lt) === 0)
|
|
25165
|
-
return console.group(`🥟 [dump_stack] スクリプト現在地 fn:${G(this,
|
|
25166
|
-
const t = tt(this,
|
|
25176
|
+
return console.group(`🥟 [dump_stack] スクリプト現在地 fn:${G(this, se)} line:1 col:0`), console.groupEnd(), !1;
|
|
25177
|
+
const t = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Lt)), e = `スクリプト現在地 fn:${G(this, se)} line:${t.ln} col:${t.col_s + 1}`;
|
|
25167
25178
|
console.group(`🥟 [dump_stack] ${e}`);
|
|
25168
25179
|
const r = G(this, ce).length;
|
|
25169
25180
|
if (r > 0) {
|
|
25170
25181
|
console.info(e);
|
|
25171
25182
|
for (let N = r - 1; N >= 0; --N) {
|
|
25172
|
-
const k = G(this, ce)[N], D = k.csArg[":hMp"], U = D ? D[":タグ名"] : void 0, $ = k.csArg[":タグ名"] ?? "", H = tt(this,
|
|
25183
|
+
const k = G(this, ce)[N], D = k.csArg[":hMp"], U = D ? D[":タグ名"] : void 0, $ = k.csArg[":タグ名"] ?? "", H = tt(this, Pr, sn).call(this, G(this, Be)[k.fn], k.idx);
|
|
25173
25184
|
console.info(
|
|
25174
25185
|
`${r - N}つ前のコール元 fn:${k.fn} line:${H.ln} col:${H.col_s + 1}` + (U ? "([" + U + "]マクロ内)" : " ") + `で [${$} ...]をコール`
|
|
25175
25186
|
);
|
|
25176
25187
|
}
|
|
25177
25188
|
}
|
|
25178
25189
|
return console.groupEnd(), !1;
|
|
25179
|
-
},
|
|
25190
|
+
}, Pr = new WeakSet(), sn = function(t, e) {
|
|
25180
25191
|
const r = { ln: 1, col_s: 0, col_e: 0 };
|
|
25181
25192
|
if (!t)
|
|
25182
25193
|
return r;
|
|
@@ -25203,7 +25214,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25203
25214
|
}), !1;
|
|
25204
25215
|
}
|
|
25205
25216
|
if (this.noticeBreak = (N) => {
|
|
25206
|
-
G(this, ph) !== G(this,
|
|
25217
|
+
G(this, ph) !== G(this, se) && (Q(this, ph, G(this, se)), G(this, ts).call(this, G(this, vh)[G(this, se)] = G(this, vh)[G(this, se)] ?? G(this, Qt).aToken.join(""))), G(this, es).call(this, G(this, pe), N);
|
|
25207
25218
|
}, this.noticeBreak(!0), !r)
|
|
25208
25219
|
return !1;
|
|
25209
25220
|
if (Q(this, es, globalThis[r]), !G(this, es)) {
|
|
@@ -25227,7 +25238,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25227
25238
|
const k = G(this, Qt).aLNum[G(this, Lt)];
|
|
25228
25239
|
let D = G(this, pe) - (k || 0);
|
|
25229
25240
|
const U = G(this, Qt).len;
|
|
25230
|
-
for (; G(this, Lt) < U; ++
|
|
25241
|
+
for (; G(this, Lt) < U; ++Te(this, Lt)._) {
|
|
25231
25242
|
const $ = G(this, Qt).aLNum[G(this, Lt)];
|
|
25232
25243
|
G(this, Qt).aLNum[G(this, Lt)] = ($ || 0) + D;
|
|
25233
25244
|
const H = G(this, Qt).aToken[G(this, Lt)];
|
|
@@ -25265,41 +25276,41 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25265
25276
|
--r;
|
|
25266
25277
|
break;
|
|
25267
25278
|
}
|
|
25268
|
-
return N === -1 ? (++
|
|
25279
|
+
return N === -1 ? (++Te(this, Lt)._, G(this, Qt).aLNum[G(this, Lt)] += D) : (G(this, fi).unshift(G(this, Lt) + 1), Q(this, Lt, N), Q(this, pe, G(this, Qt).aLNum[G(this, Lt)])), !1;
|
|
25269
25280
|
}
|
|
25270
25281
|
}
|
|
25271
25282
|
throw "[endif]がないままスクリプト終端です";
|
|
25272
25283
|
}, Yu = new WeakSet(), Kd = function(t) {
|
|
25273
25284
|
argChk_Boolean(t, "count", !1) || tt(this, wh, of).call(this);
|
|
25274
25285
|
const { fn: e } = t;
|
|
25275
|
-
return e && G(this,
|
|
25286
|
+
return e && G(this, qr).call(this, e), tt(this, _h, ef).call(this, { ":hEvt1Time": G(this, fa).popLocalEvts(), ":hMp": this.val.cloneMp() }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), tt(this, er, Ir).call(this, e, t.label), !0;
|
|
25276
25287
|
}, _h = new WeakSet(), ef = function(t) {
|
|
25277
|
-
G(this, Qt).aLNum[G(this, Lt)] = G(this, pe), G(this, yh) || (t[":resvToken"] = "", tt(this, is, Da).call(this)), G(this, ce).push(new CallStack(G(this,
|
|
25288
|
+
G(this, Qt).aLNum[G(this, Lt)] = G(this, pe), G(this, yh) || (t[":resvToken"] = "", tt(this, is, Da).call(this)), G(this, ce).push(new CallStack(G(this, se), G(this, Lt), t)), G(this, fi).unshift(-1);
|
|
25278
25289
|
}, Wu = new WeakSet(), Zd = function(t) {
|
|
25279
|
-
return argChk_Boolean(t, "count", !0) || tt(this, wh, of).call(this), G(this, fi)[0] = -1, tt(this,
|
|
25290
|
+
return argChk_Boolean(t, "count", !0) || tt(this, wh, of).call(this), G(this, fi)[0] = -1, tt(this, er, Ir).call(this, t.fn, t.label), !0;
|
|
25280
25291
|
}, qu = new WeakSet(), Jd = function(t) {
|
|
25281
|
-
if (G(this,
|
|
25292
|
+
if (G(this, Fe) === -1)
|
|
25282
25293
|
return !1;
|
|
25283
25294
|
if (argChk_Boolean(t, "clear", !1))
|
|
25284
|
-
return Q(this, Fi, []), Q(this,
|
|
25295
|
+
return Q(this, Fi, []), Q(this, Fe, -1), !1;
|
|
25285
25296
|
const { to: e } = t;
|
|
25286
25297
|
if (!e)
|
|
25287
25298
|
throw "clearかtoは必須です";
|
|
25288
|
-
const r = G(this,
|
|
25299
|
+
const r = G(this, Fe);
|
|
25289
25300
|
switch (e) {
|
|
25290
25301
|
case "prev":
|
|
25291
|
-
G(this,
|
|
25302
|
+
G(this, Fe) > 0 && --Te(this, Fe)._;
|
|
25292
25303
|
break;
|
|
25293
25304
|
case "next":
|
|
25294
25305
|
const U = G(this, Fi).length;
|
|
25295
|
-
G(this,
|
|
25306
|
+
G(this, Fe) < U - 1 && ++Te(this, Fe)._;
|
|
25296
25307
|
break;
|
|
25297
25308
|
default:
|
|
25298
25309
|
throw `属性to「${e}」は異常です`;
|
|
25299
25310
|
}
|
|
25300
|
-
if (r === G(this,
|
|
25311
|
+
if (r === G(this, Fe))
|
|
25301
25312
|
return !1;
|
|
25302
|
-
const N = G(this, Fi)[G(this,
|
|
25313
|
+
const N = G(this, Fi)[G(this, Fe)], { fn: k, idx: D } = tt(this, ma, qh).call(this);
|
|
25303
25314
|
return N.key === D + ":" + k ? !1 : tt(this, pa, Wh).call(this, { fn: N.retFn, index: N.retIdx }, N.retMark);
|
|
25304
25315
|
}, Ku = new WeakSet(), Qd = function(t) {
|
|
25305
25316
|
if (argChk_Boolean(t, "clear", !1))
|
|
@@ -25318,23 +25329,23 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25318
25329
|
const k = r[":resvToken"];
|
|
25319
25330
|
k ? this.nextToken = () => (tt(this, is, Da).call(this), k) : tt(this, is, Da).call(this), r[":hEvt1Time"] && G(this, fa).pushLocalEvts(r[":hEvt1Time"]);
|
|
25320
25331
|
const { fn: D, label: U } = t;
|
|
25321
|
-
return D || U ? (tt(this,
|
|
25332
|
+
return D || U ? (tt(this, er, Ir).call(this, D, U), !0) : e.fn in G(this, Be) ? (tt(this, Th, af).call(this, e), !1) : (tt(this, er, Ir).call(this, e.fn, "", e.idx), !0);
|
|
25322
25333
|
}, yh = new WeakMap(), is = new WeakSet(), Da = function() {
|
|
25323
25334
|
Q(this, yh, ""), this.nextToken = tt(this, bh, nf);
|
|
25324
|
-
}, rs = new WeakMap(),
|
|
25335
|
+
}, rs = new WeakMap(), er = new WeakSet(), Ir = function(t = "", e = "", r = 0) {
|
|
25325
25336
|
if (!t && !e && this.main.errScript("[jump系] fnまたはlabelは必須です"), e ? (e.at(0) !== "*" && this.main.errScript("[jump系] labelは*で始まります"), Q(this, rs, e), G(this, rs).slice(0, 2) !== "**" && Q(this, Lt, r)) : (Q(this, rs, ""), Q(this, Lt, r)), !t) {
|
|
25326
25337
|
this.analyzeInit();
|
|
25327
25338
|
return;
|
|
25328
25339
|
}
|
|
25329
25340
|
if (t.includes("@"))
|
|
25330
25341
|
throw "[jump系] fn には文字「@」は禁止です";
|
|
25331
|
-
const N = G(this,
|
|
25332
|
-
if (t === G(this,
|
|
25342
|
+
const N = G(this, qr).call(this, t);
|
|
25343
|
+
if (t === G(this, se)) {
|
|
25333
25344
|
this.analyzeInit();
|
|
25334
25345
|
return;
|
|
25335
25346
|
}
|
|
25336
|
-
Q(this,
|
|
25337
|
-
const k = G(this,
|
|
25347
|
+
Q(this, se, t);
|
|
25348
|
+
const k = G(this, Be)[t];
|
|
25338
25349
|
if (k) {
|
|
25339
25350
|
Q(this, Qt, k), this.analyzeInit();
|
|
25340
25351
|
return;
|
|
@@ -25342,7 +25353,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25342
25353
|
const D = new Loader();
|
|
25343
25354
|
let U = "";
|
|
25344
25355
|
try {
|
|
25345
|
-
U = G(this,
|
|
25356
|
+
U = G(this, qr).call(this, t + "@"), D.add({ name: t + ":base", url: N }), D.add({ name: t, url: U });
|
|
25346
25357
|
} catch {
|
|
25347
25358
|
D.add({ name: t, url: N });
|
|
25348
25359
|
}
|
|
@@ -25371,7 +25382,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25371
25382
|
return "";
|
|
25372
25383
|
tt(this, nc, rp).call(this), (e = G(this, Qt).aLNum)[r = G(this, Lt)] || (e[r] = G(this, pe));
|
|
25373
25384
|
const t = G(this, Qt).aToken[G(this, Lt)];
|
|
25374
|
-
return G(this, xh).call(this, t), ++
|
|
25385
|
+
return G(this, xh).call(this, t), ++Te(this, Lt)._, t;
|
|
25375
25386
|
}, xh = new WeakMap(), Eh = new WeakSet(), sf = function() {
|
|
25376
25387
|
return G(this, Lt) < G(this, Qt).len ? !1 : (this.main.errScript("スクリプト終端です"), !0);
|
|
25377
25388
|
}, Zu = new WeakMap(), Ju = new WeakMap(), Sh = new WeakMap(), Qu = new WeakSet(), tp = function(t, e, r, N, k) {
|
|
@@ -25420,7 +25431,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25420
25431
|
(X = t.aLNum)[z] || (X[z] = r);
|
|
25421
25432
|
const Y = t.aToken[z];
|
|
25422
25433
|
if (H) {
|
|
25423
|
-
G(this,
|
|
25434
|
+
G(this, Tr).testTagEndLetml(Y) ? H = !1 : r += (Y.match(/\n/g) ?? []).length;
|
|
25424
25435
|
continue;
|
|
25425
25436
|
}
|
|
25426
25437
|
const q = Y.charCodeAt(0);
|
|
@@ -25433,22 +25444,22 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25433
25444
|
return { idx: z + 1, ln: r };
|
|
25434
25445
|
continue;
|
|
25435
25446
|
}
|
|
25436
|
-
q === 91 && (r += (Y.match(/\n/g) ?? []).length, G(this,
|
|
25447
|
+
q === 91 && (r += (Y.match(/\n/g) ?? []).length, G(this, Tr).testTagLetml(Y) && (H = !0));
|
|
25437
25448
|
}
|
|
25438
25449
|
throw H ? "[let_ml]の終端・[endlet_ml]がありません" : (DebugMng.myTrace(`[jump系] ラベル【${N}】がありません`, "ET"), "Dummy");
|
|
25439
|
-
},
|
|
25450
|
+
}, Be = new WeakMap(), tc = new WeakSet(), ep = function(t) {
|
|
25440
25451
|
let e = "";
|
|
25441
25452
|
try {
|
|
25442
25453
|
e = "ScriptIterator.resolveScript";
|
|
25443
|
-
const r = G(this,
|
|
25444
|
-
e = "ScriptIterator.replaceScript_Wildcard", tt(this, rc, ip).call(this, r), G(this,
|
|
25454
|
+
const r = G(this, Tr).resolveScript(t);
|
|
25455
|
+
e = "ScriptIterator.replaceScript_Wildcard", tt(this, rc, ip).call(this, r), G(this, Be)[G(this, se)] = Q(this, Qt, r);
|
|
25445
25456
|
} catch (r) {
|
|
25446
25457
|
r instanceof Error ? e += `例外 mes=${r.message}(${r.name})` : e = r, this.main.errScript(e, !1);
|
|
25447
25458
|
}
|
|
25448
|
-
this.val.loadScrWork(G(this,
|
|
25459
|
+
this.val.loadScrWork(G(this, se));
|
|
25449
25460
|
}, Th = new WeakSet(), af = function(t) {
|
|
25450
|
-
Q(this,
|
|
25451
|
-
const e = G(this,
|
|
25461
|
+
Q(this, se, t.fn), Q(this, Lt, t.idx);
|
|
25462
|
+
const e = G(this, Be)[G(this, se)];
|
|
25452
25463
|
e && Q(this, Qt, e), Q(this, pe, G(this, Qt).aLNum[t.idx]);
|
|
25453
25464
|
}, ec = new WeakMap(), ic = new WeakMap(), rc = new WeakSet(), ip = function(t) {
|
|
25454
25465
|
for (let e = t.len - 1; e >= 0; --e) {
|
|
@@ -25475,9 +25486,9 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25475
25486
|
}
|
|
25476
25487
|
t.len = t.aToken.length;
|
|
25477
25488
|
}, nc = new WeakSet(), rp = function() {
|
|
25478
|
-
const t = this.val.getAreaKidoku(G(this,
|
|
25489
|
+
const t = this.val.getAreaKidoku(G(this, se));
|
|
25479
25490
|
if (!t)
|
|
25480
|
-
throw `recordKidoku fn:'${G(this,
|
|
25491
|
+
throw `recordKidoku fn:'${G(this, se)}' (areas === null)`;
|
|
25481
25492
|
if (G(this, ce).length > 0) {
|
|
25482
25493
|
t.record(G(this, Lt));
|
|
25483
25494
|
return;
|
|
@@ -25485,11 +25496,11 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25485
25496
|
Q(this, Cr, t.search(G(this, Lt))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", G(this, Cr)), !G(this, Cr) && t.record(G(this, Lt));
|
|
25486
25497
|
}, Cr = new WeakMap(), wh = new WeakSet(), of = function() {
|
|
25487
25498
|
var t;
|
|
25488
|
-
(t = this.val.getAreaKidoku(G(this,
|
|
25499
|
+
(t = this.val.getAreaKidoku(G(this, se))) == null || t.erase(G(this, Lt)), Q(this, Cr, !1);
|
|
25489
25500
|
}, sc = new WeakSet(), np = function(t) {
|
|
25490
|
-
return G(this,
|
|
25501
|
+
return G(this, Tr).bracket2macro(t, this.hTag, G(this, Qt), G(this, Lt)), !1;
|
|
25491
25502
|
}, ac = new WeakSet(), sp = function(t) {
|
|
25492
|
-
return G(this,
|
|
25503
|
+
return G(this, Tr).char2macro(t, this.hTag, G(this, Qt), G(this, Lt)), !1;
|
|
25493
25504
|
}, oc = new WeakMap(), hc = new WeakSet(), ap = function(t) {
|
|
25494
25505
|
var k, D;
|
|
25495
25506
|
const { name: e } = t;
|
|
@@ -25499,12 +25510,12 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25499
25510
|
throw `[${e}]はタグかすでに定義済みのマクロです`;
|
|
25500
25511
|
if (G(this, oc).test(e))
|
|
25501
25512
|
throw `[${e}]はマクロ名として異常です`;
|
|
25502
|
-
const r = G(this, pe), N = new CallStack(G(this,
|
|
25503
|
-
for (Q(this, Ph, G(this, Ph) + ("|" + e)), Q(this, da, new RegExp(`\\[(${G(this, Ph)})\\b`)), this.hTag[e] = (U) => (U.design_unit = t.design_unit, tt(this, _h, ef).call(this, { ...U, ":hMp": this.val.cloneMp() }), this.val.setMp(U), this.val.setVal_Nochk("mp", "const.sn.macro", JSON.stringify(t)), this.val.setVal_Nochk("mp", "const.sn.me_call_scriptFn", G(this,
|
|
25513
|
+
const r = G(this, pe), N = new CallStack(G(this, se), G(this, Lt));
|
|
25514
|
+
for (Q(this, Ph, G(this, Ph) + ("|" + e)), Q(this, da, new RegExp(`\\[(${G(this, Ph)})\\b`)), this.hTag[e] = (U) => (U.design_unit = t.design_unit, tt(this, _h, ef).call(this, { ...U, ":hMp": this.val.cloneMp() }), this.val.setMp(U), this.val.setVal_Nochk("mp", "const.sn.macro", JSON.stringify(t)), this.val.setVal_Nochk("mp", "const.sn.me_call_scriptFn", G(this, se)), Q(this, pe, r), tt(this, Th, af).call(this, N), !1); G(this, Lt) < G(this, Qt).len; ++Te(this, Lt)._) {
|
|
25504
25515
|
(k = G(this, Qt).aLNum)[D = G(this, Lt)] || (k[D] = G(this, pe));
|
|
25505
25516
|
const U = G(this, Qt).aToken[G(this, Lt)];
|
|
25506
25517
|
if (U.search(G(this, Sh)) > -1)
|
|
25507
|
-
return ++
|
|
25518
|
+
return ++Te(this, Lt)._, !1;
|
|
25508
25519
|
const $ = U.charCodeAt(0);
|
|
25509
25520
|
$ === 10 ? Q(this, pe, G(this, pe) + U.length) : $ === 91 && Q(this, pe, G(this, pe) + (U.match(/\n/g) ?? []).length);
|
|
25510
25521
|
}
|
|
@@ -25533,26 +25544,26 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25533
25544
|
this.hTag.autowc(N);
|
|
25534
25545
|
const k = String(this.val.getVal("save:const.sn.scriptFn")), D = Number(this.val.getVal("save:const.sn.scriptIdx"));
|
|
25535
25546
|
return Q(this, fi, [...G(this, Bi).aIfStk]), Q(this, ce, []), G(this, ci).cover(!0), G(this, ci).stopAllTw(), "index" in t ? (G(this, ci).playback(G(this, Bi).hPages, () => {
|
|
25536
|
-
G(this, ci).cover(!1), Q(this, va, !0), tt(this,
|
|
25537
|
-
}), !0) : (delete G(this,
|
|
25547
|
+
G(this, ci).cover(!1), Q(this, va, !0), tt(this, er, Ir).call(this, t.fn ?? k, "", t.index ?? D);
|
|
25548
|
+
}), !0) : (delete G(this, Be)[k], G(this, ci).playback(
|
|
25538
25549
|
G(this, Bi).hPages,
|
|
25539
25550
|
"label" in t ? () => {
|
|
25540
|
-
G(this, ci).cover(!1), Q(this,
|
|
25551
|
+
G(this, ci).cover(!1), Q(this, se, k), Q(this, Lt, D), this.hTag.call({ fn: t.fn, label: t.label });
|
|
25541
25552
|
} : () => {
|
|
25542
|
-
G(this, ci).cover(!1), tt(this,
|
|
25553
|
+
G(this, ci).cover(!1), tt(this, er, Ir).call(this, k, "", D);
|
|
25543
25554
|
}
|
|
25544
25555
|
), !0);
|
|
25545
25556
|
}, va = new WeakMap(), uc = new WeakSet(), hp = function(t) {
|
|
25546
25557
|
const e = this.val.getMark(0);
|
|
25547
|
-
delete G(this,
|
|
25558
|
+
delete G(this, Be)[getFn(e.hSave["const.sn.scriptFn"])];
|
|
25548
25559
|
const r = {};
|
|
25549
|
-
for (const N in G(this,
|
|
25560
|
+
for (const N in G(this, Be))
|
|
25550
25561
|
try {
|
|
25551
|
-
G(this,
|
|
25562
|
+
G(this, qr).call(this, N + "@");
|
|
25552
25563
|
} catch {
|
|
25553
|
-
r[N] = G(this,
|
|
25564
|
+
r[N] = G(this, Be)[N];
|
|
25554
25565
|
}
|
|
25555
|
-
return Q(this,
|
|
25566
|
+
return Q(this, Be, r), t.do_rec = !1, tt(this, pa, Wh).call(this, t, e, !1);
|
|
25556
25567
|
}, Bi = new WeakMap(), cc = new WeakSet(), lp = function() {
|
|
25557
25568
|
if (this.main.isDestroyed())
|
|
25558
25569
|
return !1;
|
|
@@ -25565,7 +25576,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25565
25576
|
}, ma = new WeakSet(), qh = function() {
|
|
25566
25577
|
if (G(this, ce).length === 0)
|
|
25567
25578
|
return {
|
|
25568
|
-
fn: G(this,
|
|
25579
|
+
fn: G(this, se),
|
|
25569
25580
|
idx: G(this, Lt)
|
|
25570
25581
|
};
|
|
25571
25582
|
const e = G(this, ce)[0];
|
|
@@ -25580,21 +25591,21 @@ Qt = new WeakMap(), ae = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25580
25591
|
delete t[":タグ名"], delete t.place, t.text = t.text ?? "", G(this, Bi).json = t, this.val.setMark(e, G(this, Bi));
|
|
25581
25592
|
const r = Number(this.val.getVal("sys:const.sn.save.place"));
|
|
25582
25593
|
return e === r && this.val.setVal_Nochk("sys", "const.sn.save.place", r + 1), !1;
|
|
25583
|
-
}, Fi = new WeakMap(),
|
|
25584
|
-
Z(ScriptIterator, Jn, {}), Z(ScriptIterator,
|
|
25585
|
-
var ti, Ti,
|
|
25594
|
+
}, Fi = new WeakMap(), Fe = new WeakMap(), Z(ScriptIterator, Uu, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), // reload 再生成 Main に受け渡すため static
|
|
25595
|
+
Z(ScriptIterator, Jn, {}), Z(ScriptIterator, wr, {});
|
|
25596
|
+
var ti, Ti, Ue, wi, Or, ns, Ne, Ch, Rr, ga, ss, Oh, Rh, ya, dc, cp, Mh, Ih, ba, xa, Kh, as, os;
|
|
25586
25597
|
const Es = class {
|
|
25587
25598
|
constructor(t) {
|
|
25588
25599
|
Z(this, dc);
|
|
25589
25600
|
Z(this, xa);
|
|
25590
25601
|
Z(this, ti, void 0);
|
|
25591
25602
|
Z(this, Ti, void 0);
|
|
25592
|
-
Z(this,
|
|
25603
|
+
Z(this, Ue, /* @__PURE__ */ Object.create(null));
|
|
25593
25604
|
// タグ処理辞書
|
|
25594
25605
|
Z(this, wi, void 0);
|
|
25595
25606
|
Z(this, Or, void 0);
|
|
25596
25607
|
Z(this, ns, void 0);
|
|
25597
|
-
Z(this,
|
|
25608
|
+
Z(this, Ne, void 0);
|
|
25598
25609
|
Z(this, Ch, void 0);
|
|
25599
25610
|
Z(this, Rr, void 0);
|
|
25600
25611
|
Z(this, ga, void 0);
|
|
@@ -25608,12 +25619,12 @@ const Es = class {
|
|
|
25608
25619
|
Z(this, Ih, (t = tt(this, xa, Kh)) => {
|
|
25609
25620
|
G(this, as) || (G(this, Rr).clearBreak(), Q(this, ss, t), this.resume = (e = tt(this, xa, Kh)) => {
|
|
25610
25621
|
Q(this, ss, e);
|
|
25611
|
-
}, G(this,
|
|
25622
|
+
}, G(this, Ne).noticeBreak(!1));
|
|
25612
25623
|
});
|
|
25613
25624
|
gt(this, "resume", G(this, Ih));
|
|
25614
25625
|
gt(this, "stop", () => {
|
|
25615
25626
|
Q(this, ss, () => {
|
|
25616
|
-
}), this.resume = G(this, Ih), G(this,
|
|
25627
|
+
}), this.resume = G(this, Ih), G(this, Ne).noticeBreak(!0);
|
|
25617
25628
|
});
|
|
25618
25629
|
Z(this, ba, !0);
|
|
25619
25630
|
Z(this, as, !1);
|
|
@@ -25628,10 +25639,10 @@ const Es = class {
|
|
|
25628
25639
|
}
|
|
25629
25640
|
resumeByJumpOrCall(t) {
|
|
25630
25641
|
if (t.url) {
|
|
25631
|
-
|
|
25642
|
+
G(this, Ue).navigate_to(t), G(this, Ne).jumpJustBefore();
|
|
25632
25643
|
return;
|
|
25633
25644
|
}
|
|
25634
|
-
G(this, wi).setVal_Nochk("tmp", "sn.eventArg", t.arg ?? ""), G(this, wi).setVal_Nochk("tmp", "sn.eventLabel", t.label ?? ""), argChk_Boolean(t, "call", !1) ? (G(this,
|
|
25645
|
+
G(this, wi).setVal_Nochk("tmp", "sn.eventArg", t.arg ?? ""), G(this, wi).setVal_Nochk("tmp", "sn.eventLabel", t.label ?? ""), argChk_Boolean(t, "call", !1) ? (G(this, Ne).subIdxToken(), this.resume(() => G(this, Ue).call(t))) : (G(this, Ue).clear_event({}), this.resume(() => G(this, Ue).jump(t)));
|
|
25635
25646
|
}
|
|
25636
25647
|
setLoop(t, e = "") {
|
|
25637
25648
|
Q(this, ba, t) ? this.resume() : this.stop(), this.sys.setTitleInfo(e ? ` -- ${e}中` : "");
|
|
@@ -25640,11 +25651,11 @@ const Es = class {
|
|
|
25640
25651
|
G(this, ga).fire(t, e);
|
|
25641
25652
|
}
|
|
25642
25653
|
async destroy(t = 0) {
|
|
25643
|
-
G(this, as) || (Q(this, as, !0), G(this, Rh) && (this.stop(), Q(this, ba, !1), G(this, Rr).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), Q(this,
|
|
25654
|
+
G(this, as) || (Q(this, as, !0), G(this, Rh) && (this.stop(), Q(this, ba, !1), G(this, Rr).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), Q(this, Ue, {}), G(this, ga).destroy(), G(this, Ne).destroy(), G(this, Rr).destroy(), G(this, Ch).destroy(), G(this, Ti).ticker.remove(G(this, Mh)), G(this, os) && G(this, Ti) && Es.cvs.parentNode.appendChild(G(this, os)), clearTextureCache(), G(this, Ti).destroy(!0), this.sys.destroy()));
|
|
25644
25655
|
}
|
|
25645
25656
|
};
|
|
25646
25657
|
let Main = Es;
|
|
25647
|
-
ti = new WeakMap(), Ti = new WeakMap(),
|
|
25658
|
+
ti = new WeakMap(), Ti = new WeakMap(), Ue = new WeakMap(), wi = new WeakMap(), Or = new WeakMap(), ns = new WeakMap(), Ne = new WeakMap(), Ch = new WeakMap(), Rr = new WeakMap(), ga = new WeakMap(), ss = new WeakMap(), Oh = new WeakMap(), Rh = new WeakMap(), ya = new WeakMap(), dc = new WeakSet(), cp = async function() {
|
|
25648
25659
|
var N;
|
|
25649
25660
|
const t = (N = document.createElement("canvas")) == null ? void 0 : N.getContext("2d");
|
|
25650
25661
|
if (!t)
|
|
@@ -25659,24 +25670,24 @@ ti = new WeakMap(), Ti = new WeakMap(), Ge = new WeakMap(), wi = new WeakMap(),
|
|
|
25659
25670
|
resolution: globalThis.devicePixelRatio ?? 1
|
|
25660
25671
|
// 理想
|
|
25661
25672
|
}, r = document.getElementById(G(this, ya));
|
|
25662
|
-
r && (Q(this, os, r.cloneNode(!0)), G(this, os).id = G(this, ya), e.view = r), Q(this, Ti, new Application(e)), Es.cvs = G(this, Ti).view, r || (document.body.appendChild(Es.cvs), Es.cvs.id = G(this, ya)), Q(this, wi, new Variable(G(this, ti), G(this,
|
|
25673
|
+
r && (Q(this, os, r.cloneNode(!0)), G(this, os).id = G(this, ya), e.view = r), Q(this, Ti, new Application(e)), Es.cvs = G(this, Ti).view, r || (document.body.appendChild(Es.cvs), Es.cvs.id = G(this, ya)), Q(this, wi, new Variable(G(this, ti), G(this, Ue))), Q(this, Or, new PropParser(G(this, wi), G(this, ti).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(G(this, Ue), G(this, Ti), G(this, wi), this)), G(this, Ue).title({ text: G(this, ti).oCfg.book.title || "SKYNovel" }), Q(this, ns, new SoundMng(G(this, ti), G(this, Ue), G(this, wi), this, this.sys)), Q(this, Ne, new ScriptIterator(G(this, ti), G(this, Ue), this, G(this, wi), G(this, Oh), () => tt(this, xa, Kh).call(this), G(this, Or), G(this, ns), this.sys)), Q(this, Ch, new DebugMng(this.sys, G(this, Ue), G(this, Ne))), Q(this, Rr, new LayerMng(G(this, ti), G(this, Ue), G(this, Ti), G(this, wi), this, G(this, Ne), this.sys, G(this, ns), G(this, Oh), G(this, Or))), Q(this, ga, new EventMng(G(this, ti), G(this, Ue), G(this, Ti), this, G(this, Rr), G(this, wi), G(this, ns), G(this, Ne), this.sys)), G(this, Ti).ticker.add(G(this, Mh)), this.resumeByJumpOrCall({ fn: "main" }), Q(this, Rh, !0);
|
|
25663
25674
|
}, Mh = new WeakMap(), Ih = new WeakMap(), ba = new WeakMap(), xa = new WeakSet(), Kh = function() {
|
|
25664
25675
|
for (; G(this, ba); ) {
|
|
25665
|
-
let t = G(this,
|
|
25676
|
+
let t = G(this, Ne).nextToken();
|
|
25666
25677
|
if (!t)
|
|
25667
25678
|
break;
|
|
25668
25679
|
const e = t.charCodeAt(0);
|
|
25669
25680
|
if (e !== 9) {
|
|
25670
25681
|
if (e === 10) {
|
|
25671
|
-
G(this,
|
|
25682
|
+
G(this, Ne).addLineNum(t.length);
|
|
25672
25683
|
continue;
|
|
25673
25684
|
}
|
|
25674
25685
|
if (e === 91) {
|
|
25675
|
-
if (G(this,
|
|
25686
|
+
if (G(this, Ne).isBreak(t))
|
|
25676
25687
|
return;
|
|
25677
25688
|
try {
|
|
25678
25689
|
const r = (t.match(/\n/g) ?? []).length;
|
|
25679
|
-
if (r > 0 && G(this,
|
|
25690
|
+
if (r > 0 && G(this, Ne).addLineNum(r), G(this, Ne).タグ解析(t)) {
|
|
25680
25691
|
this.stop();
|
|
25681
25692
|
break;
|
|
25682
25693
|
}
|
|
@@ -25689,10 +25700,10 @@ ti = new WeakMap(), Ti = new WeakMap(), Ge = new WeakMap(), wi = new WeakMap(),
|
|
|
25689
25700
|
if (e === 38)
|
|
25690
25701
|
try {
|
|
25691
25702
|
if (t.at(-1) !== "&") {
|
|
25692
|
-
if (G(this,
|
|
25703
|
+
if (G(this, Ne).isBreak(t))
|
|
25693
25704
|
return;
|
|
25694
25705
|
const r = splitAmpersand(t.slice(1));
|
|
25695
|
-
r.name = G(this, Or).getValAmpersand(r.name), r.text = String(G(this, Or).parse(r.text)), G(this,
|
|
25706
|
+
r.name = G(this, Or).getValAmpersand(r.name), r.text = String(G(this, Or).parse(r.text)), G(this, Ue).let(r);
|
|
25696
25707
|
continue;
|
|
25697
25708
|
}
|
|
25698
25709
|
if (t.charAt(1) === "&")
|
|
@@ -27795,7 +27806,7 @@ Object.assign(lookup, {
|
|
|
27795
27806
|
io: lookup,
|
|
27796
27807
|
connect: lookup
|
|
27797
27808
|
});
|
|
27798
|
-
var Ui,
|
|
27809
|
+
var Ui, ir, rr, hs, ls, Jr, Qr, tn, pc, vc, Ah, Ea, mc, Sa, us, gc, cs, Ta;
|
|
27799
27810
|
const yc = class {
|
|
27800
27811
|
constructor(t = {}, e) {
|
|
27801
27812
|
gt(this, "hFactoryCls", {});
|
|
@@ -27807,15 +27818,15 @@ const yc = class {
|
|
|
27807
27818
|
gt(this, "val");
|
|
27808
27819
|
gt(this, "appPixi");
|
|
27809
27820
|
Z(this, Ui, 0);
|
|
27810
|
-
Z(this,
|
|
27811
|
-
Z(this,
|
|
27821
|
+
Z(this, ir, 0);
|
|
27822
|
+
Z(this, rr, 1);
|
|
27812
27823
|
Z(this, hs, 0);
|
|
27813
27824
|
Z(this, ls, 0);
|
|
27814
|
-
Z(this, Zr, 0);
|
|
27815
27825
|
Z(this, Jr, 0);
|
|
27826
|
+
Z(this, Qr, 0);
|
|
27816
27827
|
gt(this, "isFullScr", !1);
|
|
27817
27828
|
gt(this, "extPort", 3776);
|
|
27818
|
-
Z(this,
|
|
27829
|
+
Z(this, tn, void 0);
|
|
27819
27830
|
Z(this, pc, {
|
|
27820
27831
|
auth: (t) => {
|
|
27821
27832
|
if (t.t !== this.cfg.oCfg.debuger_token) {
|
|
@@ -27846,7 +27857,7 @@ const yc = class {
|
|
|
27846
27857
|
});
|
|
27847
27858
|
gt(this, "send2Dbg", (t, e) => {
|
|
27848
27859
|
var r;
|
|
27849
|
-
(r = G(this,
|
|
27860
|
+
(r = G(this, tn)) == null || r.emit("data", t, e);
|
|
27850
27861
|
});
|
|
27851
27862
|
gt(this, "copyBMFolder", (t, e) => {
|
|
27852
27863
|
});
|
|
@@ -27979,10 +27990,10 @@ const yc = class {
|
|
|
27979
27990
|
return G(this, Ui);
|
|
27980
27991
|
}
|
|
27981
27992
|
get cvsHeight() {
|
|
27982
|
-
return G(this,
|
|
27993
|
+
return G(this, ir);
|
|
27983
27994
|
}
|
|
27984
27995
|
get cvsScale() {
|
|
27985
|
-
return G(this,
|
|
27996
|
+
return G(this, rr);
|
|
27986
27997
|
}
|
|
27987
27998
|
get ofsLeft4elm() {
|
|
27988
27999
|
return G(this, hs);
|
|
@@ -27991,10 +28002,10 @@ const yc = class {
|
|
|
27991
28002
|
return G(this, ls);
|
|
27992
28003
|
}
|
|
27993
28004
|
get ofsPadLeft_Dom2PIXI() {
|
|
27994
|
-
return G(this,
|
|
28005
|
+
return G(this, Jr);
|
|
27995
28006
|
}
|
|
27996
28007
|
get ofsPadTop_Dom2PIXI() {
|
|
27997
|
-
return G(this,
|
|
28008
|
+
return G(this, Qr);
|
|
27998
28009
|
}
|
|
27999
28010
|
cvsResize() {
|
|
28000
28011
|
var $;
|
|
@@ -28010,18 +28021,18 @@ const yc = class {
|
|
|
28010
28021
|
}
|
|
28011
28022
|
const k = r.getBoundingClientRect();
|
|
28012
28023
|
if (argChk_Boolean(CmnLib.hDip, "expanding", !0) || N || CmnLib.stageW > t || CmnLib.stageH > e)
|
|
28013
|
-
if (CmnLib.stageW / CmnLib.stageH <= t / e ? (Q(this,
|
|
28014
|
-
Q(this,
|
|
28024
|
+
if (CmnLib.stageW / CmnLib.stageH <= t / e ? (Q(this, ir, e), Q(this, Ui, CmnLib.stageW / CmnLib.stageH * e)) : (Q(this, Ui, t), Q(this, ir, CmnLib.stageH / CmnLib.stageW * t)), Q(this, rr, G(this, Ui) / CmnLib.stageW), N)
|
|
28025
|
+
Q(this, Jr, 0), Q(this, Qr, 0);
|
|
28015
28026
|
else {
|
|
28016
|
-
const H = 1 - G(this,
|
|
28017
|
-
CmnLib.isMobile ? (Q(this,
|
|
28027
|
+
const H = 1 - G(this, rr);
|
|
28028
|
+
CmnLib.isMobile ? (Q(this, Jr, (t - G(this, Ui)) / 2 * H), Q(this, Qr, (e - G(this, ir)) / 2 * H)) : (Q(this, Jr, k.left * H), Q(this, Qr, k.top * H));
|
|
28018
28029
|
}
|
|
28019
28030
|
else
|
|
28020
|
-
Q(this, Ui, CmnLib.stageW), Q(this,
|
|
28031
|
+
Q(this, Ui, CmnLib.stageW), Q(this, ir, CmnLib.stageH), Q(this, rr, 1), Q(this, Jr, 0), Q(this, Qr, 0);
|
|
28021
28032
|
const D = r.parentElement.style;
|
|
28022
|
-
N || (D.position = "relative", D.width = `${G(this, Ui)}px`, D.height = `${G(this,
|
|
28033
|
+
N || (D.position = "relative", D.width = `${G(this, Ui)}px`, D.height = `${G(this, ir)}px`);
|
|
28023
28034
|
const U = r.style;
|
|
28024
|
-
U.width = D.width, U.height = D.height, N ? (Q(this, hs, k.left), Q(this, ls, k.top)) : (Q(this, hs, 0), Q(this, ls, 0)), this.isFullScr && (Q(this, hs, G(this, hs) + (t - G(this, Ui)) / 2), Q(this, ls, G(this, ls) + (e - G(this,
|
|
28035
|
+
U.width = D.width, U.height = D.height, N ? (Q(this, hs, k.left), Q(this, ls, k.top)) : (Q(this, hs, 0), Q(this, ls, 0)), this.isFullScr && (Q(this, hs, G(this, hs) + (t - G(this, Ui)) / 2), Q(this, ls, G(this, ls) + (e - G(this, ir)) / 2));
|
|
28025
28036
|
}
|
|
28026
28037
|
// デバッガ接続
|
|
28027
28038
|
attach_debug(t) {
|
|
@@ -28056,7 +28067,7 @@ const yc = class {
|
|
|
28056
28067
|
}`, document.getElementsByTagName("head")[0].appendChild(e), this.addHook((r, N) => {
|
|
28057
28068
|
var k, D;
|
|
28058
28069
|
return (D = (k = G(this, pc))[r]) == null ? void 0 : D.call(k, N);
|
|
28059
|
-
}), Q(this,
|
|
28070
|
+
}), Q(this, tn, lookup(`http://localhost:${this.extPort}`)), G(this, tn).on("data", (r, N) => {
|
|
28060
28071
|
this.callHook(r, N);
|
|
28061
28072
|
}).on("disconnect", () => t.setLoop(!0)), this.callHook = (r, N) => {
|
|
28062
28073
|
for (const k of G(this, Ah))
|
|
@@ -28065,17 +28076,17 @@ const yc = class {
|
|
|
28065
28076
|
}
|
|
28066
28077
|
end() {
|
|
28067
28078
|
var t;
|
|
28068
|
-
(t = G(this,
|
|
28079
|
+
(t = G(this, tn)) == null || t.disconnect(), Q(this, tn, void 0);
|
|
28069
28080
|
}
|
|
28070
28081
|
toast(t) {
|
|
28071
28082
|
const e = document.body;
|
|
28072
28083
|
e.querySelectorAll(".sn_BounceIn, .sn_HopIn").forEach((D) => e.removeChild(D));
|
|
28073
28084
|
const r = document.createElement("img"), N = G(yc, vc)[t];
|
|
28074
28085
|
r.src = `data:image/svg+xml;base64,${N.dat}`;
|
|
28075
|
-
const k = Math.min(CmnLib.stageW, CmnLib.stageH) / 4 * G(this,
|
|
28086
|
+
const k = Math.min(CmnLib.stageW, CmnLib.stageH) / 4 * G(this, rr);
|
|
28076
28087
|
r.width = r.height = k, r.style.cssText = `position: absolute;
|
|
28077
|
-
left: ${(CmnLib.stageW - k) / 2 * G(this,
|
|
28078
|
-
top: ${(CmnLib.stageH - k) / 2 * G(this,
|
|
28088
|
+
left: ${(CmnLib.stageW - k) / 2 * G(this, rr) + k * (N.dx ?? 0)}px;
|
|
28089
|
+
top: ${(CmnLib.stageH - k) / 2 * G(this, rr) + k * (N.dy ?? 0)}px;`, r.classList.add("sn_toast", N.ease ?? "sn_BounceInOut"), N.ease || r.addEventListener("animationend", () => e.removeChild(r), { once: !0, passive: !0 }), e.insertBefore(r, Main.cvs);
|
|
28079
28090
|
}
|
|
28080
28091
|
setFire(t) {
|
|
28081
28092
|
this.fire = t;
|
|
@@ -28114,7 +28125,7 @@ top: ${(CmnLib.stageH - k) / 2 * G(this, ir) + k * (N.dy ?? 0)}px;`, r.classList
|
|
|
28114
28125
|
}
|
|
28115
28126
|
};
|
|
28116
28127
|
let SysBase = yc;
|
|
28117
|
-
Ui = new WeakMap(),
|
|
28128
|
+
Ui = new WeakMap(), ir = new WeakMap(), rr = new WeakMap(), hs = new WeakMap(), ls = new WeakMap(), Jr = new WeakMap(), Qr = new WeakMap(), tn = new WeakMap(), pc = new WeakMap(), vc = new WeakMap(), Ah = new WeakMap(), Ea = new WeakMap(), mc = new WeakMap(), Sa = new WeakMap(), us = new WeakMap(), gc = new WeakMap(), cs = new WeakMap(), Ta = new WeakMap(), gt(SysBase, "VALNM_CFG_NS", "const.sn.cfg.ns"), Z(SysBase, vc, {
|
|
28118
28129
|
// Thanks ICOOON MONO https://icooon-mono.com/ 、 https://vectr.com/ で 640x640化、ImageOptim経由、Base64エンコーダー https://lab.syncer.jp/Tool/Base64-encode/
|
|
28119
28130
|
接続: { dx: -1, dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtNjQwIDMyMGMwIDE3Ni43My0xNDMuMjcgMzIwLTMyMCAzMjBzLTMyMC0xNDMuMjctMzIwLTMyMCAxNDMuMjctMzIwIDMyMC0zMjAgMzIwIDE0My4yNyAzMjAgMzIweiIvPjxwYXRoIGlkPSJiIiBkPSJtMCAyOTJ2NTUuODhoMTI3LjEzYzEyLjM3IDQ2IDU0LjEyIDc5Ljg3IDEwNCA3OS44N2g3Ny44N3YtMjE1LjYyYy00Ni43MyAwLTcyLjY4IDAtNzcuODggMC00OS43NCAwLTkxLjYyIDMzLjg3LTEwMy45OSA3OS44Ny0xNi45NSAwLTU5LjMzIDAtMTI3LjEzIDB6Ii8+PHBhdGggaWQ9ImMiIGQ9Im01MTIuODggMjkyYy0xMi4zOC00Ni01NC4xMy03OS44Ny0xMDQtNzkuODctNS4yMSAwLTMxLjIxIDAtNzggMHYyMTUuNzRoNzcuODdjNDkuODggMCA5MS43NS0zMy44NyAxMDQtNzkuODdoMTI3LjI1di01NmMtNzYuMjcgMC0xMTguNjUgMC0xMjcuMTIgMHoiLz48L2RlZnM+PHVzZSBmaWxsPSIjMmUyZTJlIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2EiLz48dXNlIGZpbGw9IiMzYWFiZDIiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSJub25lIiB4bGluazpocmVmPSIjYiIvPjx1c2UgZmlsbD0iIzNhYWJkMiIgeGxpbms6aHJlZj0iI2MiLz48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNjIi8+PC9zdmc+" },
|
|
28120
28131
|
切断: { dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtNjQwIDMyMGMwIDE3Ni43My0xNDMuMjcgMzIwLTMyMCAzMjBzLTMyMC0xNDMuMjctMzIwLTMyMCAxNDMuMjctMzIwIDMyMC0zMjAgMzIwIDE0My4yNyAzMjAgMzIweiIvPjxwYXRoIGlkPSJiIiBkPSJtMTkxLjUzIDIyMS4yNGMtNDUuNjggMC04NC4wMSAzMS4wNC05NS4zIDczLjE2LTYuNDEgMC0zOC40OSAwLTk2LjIzIDB2NTEuMjFoOTYuMjNjMTEuMyA0Mi4xMSA0OS42MyA3My4xNiA5NS4zIDczLjE2aDcxLjMzdi00OC4yNGg1My43OHYtMTAxLjA1aC01My43OHYtNDguMjRjLTQyLjggMC02Ni41NyAwLTcxLjMzIDB6Ii8+PHBhdGggaWQ9ImMiIGQ9Im00NDguNDcgMjIxLjIzYy00Ljc2IDAtMjguNTMgMC03MS4zMyAwdjE5Ny41M2g3MS4zM2M0NS42OCAwIDgzLjk5LTMxLjA0IDk1LjI5LTczLjE1aDk2LjI0di01MS4yMWgtOTYuMjRjLTMzLjA4LTQ4Ljc4LTY0Ljg0LTczLjE3LTk1LjI5LTczLjE3eiIvPjwvZGVmcz48dXNlIGZpbGw9IiMyZTJlMmUiIHhsaW5rOmhyZWY9IiNhIi8+PHVzZSBmaWxsPSJub25lIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0iI2RmNTY1NiIgeGxpbms6aHJlZj0iI2IiLz48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSIjZGY1NjU2IiB4bGluazpocmVmPSIjYyIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2MiLz48L3N2Zz4=" },
|