@famibee/skynovel 1.32.1 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +1156 -1133
- package/dist/app.js.map +1 -1
- package/dist/sn/RubySpliter.d.ts.map +1 -1
- package/dist/sn/TxtLayer.d.ts.map +1 -1
- package/dist/web.js +591 -568
- package/dist/web.js.map +1 -1
- package/package.json +4 -4
package/dist/web.js
CHANGED
|
@@ -2211,26 +2211,26 @@ Config.EXT_SCRIPT = "sn|ssn";
|
|
|
2211
2211
|
Config.EXT_FONT = "woff2|woff|otf|ttf";
|
|
2212
2212
|
Config.EXT_SOUND = "mp3|m4a|ogg|aac|flac|wav";
|
|
2213
2213
|
Config.EXT_HTML = "htm|html";
|
|
2214
|
-
var
|
|
2215
|
-
const
|
|
2214
|
+
var Ji, Ar, Ia;
|
|
2215
|
+
const _i = class {
|
|
2216
2216
|
constructor() {
|
|
2217
|
-
it(this,
|
|
2217
|
+
it(this, Ar, () => {
|
|
2218
2218
|
});
|
|
2219
2219
|
}
|
|
2220
2220
|
static setting(t) {
|
|
2221
|
-
t.sesame && rt(
|
|
2221
|
+
t.sesame && rt(_i, Ji, t.sesame);
|
|
2222
2222
|
}
|
|
2223
2223
|
static getSesame() {
|
|
2224
|
-
return z(
|
|
2224
|
+
return z(_i, Ji);
|
|
2225
2225
|
}
|
|
2226
2226
|
static destroy() {
|
|
2227
|
-
rt(
|
|
2227
|
+
rt(_i, Ji, "\u30FD");
|
|
2228
2228
|
}
|
|
2229
2229
|
init(t) {
|
|
2230
|
-
rt(this,
|
|
2230
|
+
rt(this, Ar, t);
|
|
2231
2231
|
}
|
|
2232
2232
|
static setEscape(t) {
|
|
2233
|
-
rt(
|
|
2233
|
+
rt(_i, Ia, new RegExp(
|
|
2234
2234
|
`${t ? `(?<ce>\\${t}\\S)|` : ""}\uFF5C(?<str>[^\u300A\\n]+)\u300A(?<ruby>[^\u300B\\n]+)\u300B|(?:(?<kan>[\u2E80-\u2FDF\u3005\u3007\u303B\u3400-\u9FFF\u8C48-\uFAFF]+[\u3041-\u30FF]*|[^\u3000\uFF5C\u300A\u300B\\n])\u300A(?<kan_ruby>[^\u300B\\n]+)\u300B)|(?<txt>[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u3000\uFF5C\u300A\u300B]+(?=\uFF5C)|[^\u3000\uFF5C\u300A\u300B]*[\u3041-\u30FF](?=[\u2E80-\u2FDF\u3005\u3007\u303B\u3400-\u9FFF\u8C48-\uFAFF]+\u300A)|.)`,
|
|
2235
2235
|
"gs"
|
|
2236
2236
|
));
|
|
@@ -2238,7 +2238,7 @@ const gi = class {
|
|
|
2238
2238
|
putTxt(t) {
|
|
2239
2239
|
var o;
|
|
2240
2240
|
let e = null;
|
|
2241
|
-
for (; e = z(
|
|
2241
|
+
for (; e = z(_i, Ia).exec(t); ) {
|
|
2242
2242
|
const R = e == null ? void 0 : e.groups;
|
|
2243
2243
|
if (!R)
|
|
2244
2244
|
continue;
|
|
@@ -2253,31 +2253,35 @@ const gi = class {
|
|
|
2253
2253
|
continue;
|
|
2254
2254
|
}
|
|
2255
2255
|
if (R.ce) {
|
|
2256
|
-
z(this,
|
|
2256
|
+
z(this, Ar).call(this, R.ce.slice(1), "");
|
|
2257
2257
|
continue;
|
|
2258
2258
|
}
|
|
2259
|
-
Array.from((o = R.txt) != null ? o : "").forEach((D) => z(this,
|
|
2259
|
+
Array.from((o = R.txt) != null ? o : "").forEach((D) => z(this, Ar).call(this, D, ""));
|
|
2260
2260
|
}
|
|
2261
2261
|
}
|
|
2262
2262
|
putTxtRb(t, e) {
|
|
2263
|
+
if (/^\w+|{"/.test(e)) {
|
|
2264
|
+
z(this, Ar).call(this, t, e);
|
|
2265
|
+
return;
|
|
2266
|
+
}
|
|
2263
2267
|
const o = Array.from(t), R = o.length;
|
|
2264
|
-
if (
|
|
2265
|
-
const L = "center\uFF5C" + (e === "*" ? z(
|
|
2268
|
+
if (/^\*.?$/.test(e)) {
|
|
2269
|
+
const L = "center\uFF5C" + (e === "*" ? z(_i, Ji) : e.charAt(1));
|
|
2266
2270
|
for (let B = 0; B < R; ++B)
|
|
2267
|
-
z(this,
|
|
2271
|
+
z(this, Ar).call(this, o[B], L);
|
|
2268
2272
|
return;
|
|
2269
2273
|
}
|
|
2270
2274
|
if (R === 1 || e.indexOf(" ") === -1) {
|
|
2271
|
-
z(this,
|
|
2275
|
+
z(this, Ar).call(this, t, decodeURIComponent(e));
|
|
2272
2276
|
return;
|
|
2273
2277
|
}
|
|
2274
2278
|
const N = e.split(" "), M = N.length, D = M > R ? M : R;
|
|
2275
2279
|
for (let L = 0; L < D; ++L)
|
|
2276
|
-
z(this,
|
|
2280
|
+
z(this, Ar).call(this, L < R ? o[L] : "", L < M ? decodeURIComponent(N[L]) : "");
|
|
2277
2281
|
}
|
|
2278
2282
|
};
|
|
2279
|
-
let RubySpliter =
|
|
2280
|
-
|
|
2283
|
+
let RubySpliter = _i;
|
|
2284
|
+
Ji = new WeakMap(), Ar = new WeakMap(), Ia = new WeakMap(), it(RubySpliter, Ji, "\u30FD"), it(RubySpliter, Ia, void 0);
|
|
2281
2285
|
const REG_TAG = /(?<name>[^\s;\]]+)/;
|
|
2282
2286
|
function tagToken2Name_Args(n) {
|
|
2283
2287
|
const t = REG_TAG.exec(n.slice(1, -1)), e = t == null ? void 0 : t.groups;
|
|
@@ -2304,10 +2308,10 @@ function splitAmpersand(n) {
|
|
|
2304
2308
|
cast: e === 3 ? t[2].trim() : void 0
|
|
2305
2309
|
};
|
|
2306
2310
|
}
|
|
2307
|
-
var
|
|
2311
|
+
var Qi, Qn, ts, es, ke;
|
|
2308
2312
|
class Grammar {
|
|
2309
2313
|
constructor() {
|
|
2310
|
-
it(this,
|
|
2314
|
+
it(this, Qi, void 0);
|
|
2311
2315
|
it(this, Qn, void 0);
|
|
2312
2316
|
it(this, ts, void 0);
|
|
2313
2317
|
it(this, es, void 0);
|
|
@@ -2339,7 +2343,7 @@ class Grammar {
|
|
|
2339
2343
|
this.REG_TOKEN = new RegExp(
|
|
2340
2344
|
(t ? `\\${t}\\S|` : "") + `\\n+|\\t+|\\[let_ml\\s+[^\\]]+\\].+?(?=\\[endlet_ml[\\]\\s])|\\[(?:[^"'#;\\]]+|` + (e ? `(?:"(?:\\${e}["'#\\n]|[^"])*"|'(?:\\${e}["'#\\n]|[^'])*'|\\#(?:\\${e}["'#\\n]|[^#])*\\#)` : `(["'#]).*?\\1`) + `|;[^\\n]*)*?]|;[^\\n]*|&[^&\\n]+&|&&?[^;\\n\\t&]+|^\\*\\w+|[^\\n\\t\\[;${t ? `\\${t}` : ""}]+`,
|
|
2341
2345
|
"gs"
|
|
2342
|
-
), RubySpliter.setEscape(t), rt(this,
|
|
2346
|
+
), RubySpliter.setEscape(t), rt(this, Qi, new RegExp(`[\\w\\s;[\\]*=&\uFF5C\u300A\u300B${t ? `\\${t}` : ""}]`)), this.REG_TOKEN_NOTXT = new RegExp(`[\\n\\t;\\[*&${t ? `\\${t}` : ""}]`);
|
|
2343
2347
|
}
|
|
2344
2348
|
matchToken(t) {
|
|
2345
2349
|
var e;
|
|
@@ -2360,9 +2364,9 @@ class Grammar {
|
|
|
2360
2364
|
throw "[bracket2macro] text\u3010" + M + "\u3011\u304C\u767B\u9332\u6E08\u307F\u306E\u62EC\u5F27\u30DE\u30AF\u30ED\u307E\u305F\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u3067\u3059";
|
|
2361
2365
|
if (D in z(this, ke))
|
|
2362
2366
|
throw "[bracket2macro] text\u3010" + D + "\u3011\u304C\u767B\u9332\u6E08\u307F\u306E\u62EC\u5F27\u30DE\u30AF\u30ED\u307E\u305F\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u3067\u3059";
|
|
2363
|
-
if (z(this,
|
|
2367
|
+
if (z(this, Qi).test(M))
|
|
2364
2368
|
throw "[bracket2macro] text\u3010" + M + "\u3011\u306F\u62EC\u5F27\u30DE\u30AF\u30ED\u306B\u4F7F\u7528\u3067\u304D\u306A\u3044\u6587\u5B57\u3067\u3059";
|
|
2365
|
-
if (z(this,
|
|
2369
|
+
if (z(this, Qi).test(D))
|
|
2366
2370
|
throw "[bracket2macro] text\u3010" + D + "\u3011\u306F\u62EC\u5F27\u30DE\u30AF\u30ED\u306B\u4F7F\u7528\u3067\u304D\u306A\u3044\u6587\u5B57\u3067\u3059";
|
|
2367
2371
|
z(this, ke)[D] = "0", z(this, ke)[M] = `[${R} text=`, this.addC2M(`\\${M}[^\\${D}]*\\${D}`, `\\${M}\\${D}`), this.replaceScr_C2M_And_let_ml(e, o);
|
|
2368
2372
|
}
|
|
@@ -2373,7 +2377,7 @@ class Grammar {
|
|
|
2373
2377
|
throw "[char2macro] char\u306F\u5FC5\u9808\u3067\u3059";
|
|
2374
2378
|
if ((D = z(this, ke)) != null || rt(this, ke, {}), N in z(this, ke))
|
|
2375
2379
|
throw "[char2macro] char\u3010" + N + "\u3011\u304C\u767B\u9332\u6E08\u307F\u306E\u62EC\u5F27\u30DE\u30AF\u30ED\u307E\u305F\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u3067\u3059";
|
|
2376
|
-
if (z(this,
|
|
2380
|
+
if (z(this, Qi).test(N))
|
|
2377
2381
|
throw "[char2macro] char\u3010" + N + "\u3011\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u306B\u4F7F\u7528\u3067\u304D\u306A\u3044\u6587\u5B57\u3067\u3059";
|
|
2378
2382
|
if (!M)
|
|
2379
2383
|
throw "[char2macro] name\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -2388,35 +2392,35 @@ class Grammar {
|
|
|
2388
2392
|
));
|
|
2389
2393
|
}
|
|
2390
2394
|
}
|
|
2391
|
-
|
|
2392
|
-
var ou,
|
|
2395
|
+
Qi = new WeakMap(), Qn = new WeakMap(), ts = new WeakMap(), es = new WeakMap(), ke = new WeakMap();
|
|
2396
|
+
var ou, tn, rs;
|
|
2393
2397
|
class AnalyzeTagArg {
|
|
2394
2398
|
constructor() {
|
|
2395
2399
|
it(this, ou, /;[^\n]*|(?<key>\w+)(?:\s|;[^\n]*\n)*=(?:\s|;[^\n]*\n)*(?:(?<val>[^\s"'#|;]+)|(["'#])(?<val2>.*?)\3)(?:\|(?:(?<def>[^\s"'#;]+)|(["'#])(?<def2>.*?)\6))?|(?<literal>[^\s;]+)/g);
|
|
2396
|
-
it(this,
|
|
2400
|
+
it(this, tn, {});
|
|
2397
2401
|
it(this, rs, !1);
|
|
2398
2402
|
}
|
|
2399
2403
|
go(t) {
|
|
2400
2404
|
var o, R;
|
|
2401
|
-
if (rt(this,
|
|
2405
|
+
if (rt(this, tn, {}), rt(this, rs, !1), !t)
|
|
2402
2406
|
return;
|
|
2403
2407
|
let e = null;
|
|
2404
2408
|
for (; e = z(this, ou).exec(t); ) {
|
|
2405
2409
|
const N = e == null ? void 0 : e.groups;
|
|
2406
|
-
!N || (N.key ? z(this,
|
|
2410
|
+
!N || (N.key ? z(this, tn)[N.key] = {
|
|
2407
2411
|
val: (o = N.val) != null ? o : N.val2,
|
|
2408
2412
|
def: (R = N.def) != null ? R : N.def2
|
|
2409
|
-
} : N.literal && (N.literal === "*" ? rt(this, rs, !0) : z(this,
|
|
2413
|
+
} : N.literal && (N.literal === "*" ? rt(this, rs, !0) : z(this, tn)[N.literal] = { val: "1" }));
|
|
2410
2414
|
}
|
|
2411
2415
|
}
|
|
2412
2416
|
get hPrm() {
|
|
2413
|
-
return z(this,
|
|
2417
|
+
return z(this, tn);
|
|
2414
2418
|
}
|
|
2415
2419
|
get isKomeParam() {
|
|
2416
2420
|
return z(this, rs);
|
|
2417
2421
|
}
|
|
2418
2422
|
}
|
|
2419
|
-
ou = new WeakMap(),
|
|
2423
|
+
ou = new WeakMap(), tn = new WeakMap(), rs = new WeakMap();
|
|
2420
2424
|
var parsimmon_umd_min = { exports: {} };
|
|
2421
2425
|
(function(n, t) {
|
|
2422
2426
|
(function(e, o) {
|
|
@@ -2564,8 +2568,8 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
2564
2568
|
if (function() {
|
|
2565
2569
|
if (N._supportsSet !== void 0)
|
|
2566
2570
|
return N._supportsSet;
|
|
2567
|
-
var
|
|
2568
|
-
return N._supportsSet =
|
|
2571
|
+
var Xr = typeof Set < "u";
|
|
2572
|
+
return N._supportsSet = Xr, Xr;
|
|
2569
2573
|
}() && Array.from) {
|
|
2570
2574
|
for (var Bt = new Set(wt), $t = 0; $t < Mt.length; $t++)
|
|
2571
2575
|
Bt.add(Mt[$t]);
|
|
@@ -2576,10 +2580,10 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
2576
2580
|
ge[wt[$e]] = !0;
|
|
2577
2581
|
for (var Me = 0; Me < Mt.length; Me++)
|
|
2578
2582
|
ge[Mt[Me]] = !0;
|
|
2579
|
-
var
|
|
2583
|
+
var Vr = [];
|
|
2580
2584
|
for (var Je in ge)
|
|
2581
|
-
({}).hasOwnProperty.call(ge, Je) &&
|
|
2582
|
-
return
|
|
2585
|
+
({}).hasOwnProperty.call(ge, Je) && Vr.push(Je);
|
|
2586
|
+
return Vr.sort(), Vr;
|
|
2583
2587
|
}(ut.expected, pt.expected) : pt.expected;
|
|
2584
2588
|
return { status: ut.status, index: ut.index, value: ut.value, furthest: pt.furthest, expected: Et };
|
|
2585
2589
|
}
|
|
@@ -2635,31 +2639,31 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
2635
2639
|
if (ge === ut.length)
|
|
2636
2640
|
return "Got the end of the input";
|
|
2637
2641
|
if (Q(ut)) {
|
|
2638
|
-
var Me = ge - ge % bt,
|
|
2639
|
-
return B(function(
|
|
2640
|
-
return Rt(
|
|
2642
|
+
var Me = ge - ge % bt, Vr = ge - Me, Je = Dt(Me, ft, _t + bt, ut.length), Xr = B(function(Re) {
|
|
2643
|
+
return B(function(Hn) {
|
|
2644
|
+
return Rt(Hn.toString(16), 2, "0");
|
|
2641
2645
|
}, Re);
|
|
2642
|
-
}, function(Re,
|
|
2643
|
-
var
|
|
2644
|
-
if (
|
|
2646
|
+
}, function(Re, Hn) {
|
|
2647
|
+
var zn = Re.length, Wi = [], jn = 0;
|
|
2648
|
+
if (zn <= Hn)
|
|
2645
2649
|
return [Re.slice()];
|
|
2646
|
-
for (var
|
|
2647
|
-
Wi[
|
|
2650
|
+
for (var Vn = 0; Vn < zn; Vn++)
|
|
2651
|
+
Wi[jn] || Wi.push([]), Wi[jn].push(Re[Vn]), (Vn + 1) % Hn == 0 && jn++;
|
|
2648
2652
|
return Wi;
|
|
2649
2653
|
}(ut.slice(Je.from, Je.to).toJSON().data, bt));
|
|
2650
2654
|
Bt = function(Re) {
|
|
2651
2655
|
return Re.from === 0 && Re.to === 1 ? { from: Re.from, to: Re.to } : { from: Re.from / bt, to: Math.floor(Re.to / bt) };
|
|
2652
|
-
}(Je), wt = Me / bt, Et = 3 *
|
|
2656
|
+
}(Je), wt = Me / bt, Et = 3 * Vr, Vr >= 4 && (Et += 1), $e = 2, Mt = B(function(Re) {
|
|
2653
2657
|
return Re.length <= 4 ? Re.join(" ") : Re.slice(0, 4).join(" ") + " " + Re.slice(4).join(" ");
|
|
2654
|
-
},
|
|
2658
|
+
}, Xr), ($t = (8 * (Bt.to > 0 ? Bt.to - 1 : Bt.to)).toString(16).length) < 2 && ($t = 2);
|
|
2655
2659
|
} else {
|
|
2656
|
-
var
|
|
2657
|
-
Et = Yt.column - 1, wt = Yt.line - 1, Bt = Dt(wt, Tt, Ft,
|
|
2660
|
+
var Un = ut.split(/\r\n|[\n\r\u2028\u2029]/);
|
|
2661
|
+
Et = Yt.column - 1, wt = Yt.line - 1, Bt = Dt(wt, Tt, Ft, Un.length), Mt = Un.slice(Bt.from, Bt.to), $t = Bt.to.toString().length;
|
|
2658
2662
|
}
|
|
2659
2663
|
var Nf = wt - Bt.from;
|
|
2660
|
-
return Q(ut) && ($t = (8 * (Bt.to > 0 ? Bt.to - 1 : Bt.to)).toString(16).length) < 2 && ($t = 2), L(function(Re,
|
|
2661
|
-
var Wi,
|
|
2662
|
-
return Wi = Q(ut) ? Rt((8 * (Bt.from +
|
|
2664
|
+
return Q(ut) && ($t = (8 * (Bt.to > 0 ? Bt.to - 1 : Bt.to)).toString(16).length) < 2 && ($t = 2), L(function(Re, Hn, zn) {
|
|
2665
|
+
var Wi, jn = zn === Nf, Vn = jn ? "> " : St;
|
|
2666
|
+
return Wi = Q(ut) ? Rt((8 * (Bt.from + zn)).toString(16), $t, "0") : Rt((Bt.from + zn + 1).toString(), $t, " "), [].concat(Re, [Vn + Wi + " | " + Hn], jn ? [St + Pt(" ", $t) + " | " + Rt("", Et, " ") + Pt("^", $e)] : []);
|
|
2663
2667
|
}, [], Mt).join(`
|
|
2664
2668
|
`);
|
|
2665
2669
|
}
|
|
@@ -2985,13 +2989,13 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
2985
2989
|
if (Et === 0)
|
|
2986
2990
|
throw new Error("seqObj expects at least one named parser, found zero");
|
|
2987
2991
|
return N(function(ge, $e) {
|
|
2988
|
-
for (var Me,
|
|
2989
|
-
var
|
|
2990
|
-
if (tt(wt[Je]) ? (
|
|
2992
|
+
for (var Me, Vr = {}, Je = 0; Je < Mt; Je += 1) {
|
|
2993
|
+
var Xr, Un;
|
|
2994
|
+
if (tt(wt[Je]) ? (Xr = wt[Je][0], Un = wt[Je][1]) : (Xr = null, Un = wt[Je]), !(Me = nt(Un._(ge, $e), Me)).status)
|
|
2991
2995
|
return Me;
|
|
2992
|
-
|
|
2996
|
+
Xr && (Vr[Xr] = Me.value), $e = Me.index;
|
|
2993
2997
|
}
|
|
2994
|
-
return nt(st($e,
|
|
2998
|
+
return nt(st($e, Vr), Me);
|
|
2995
2999
|
});
|
|
2996
3000
|
}, N.string = xt, N.succeed = Lt, N.takeWhile = function(ut) {
|
|
2997
3001
|
return vt(ut), N(function(pt, Et) {
|
|
@@ -3054,16 +3058,16 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
3054
3058
|
}]);
|
|
3055
3059
|
});
|
|
3056
3060
|
})(parsimmon_umd_min);
|
|
3057
|
-
var
|
|
3061
|
+
var yi, jt, Vt, Wr, bi, Xn, wa, Ra, ih, uu, lu, zh;
|
|
3058
3062
|
const Bh = class {
|
|
3059
3063
|
constructor(t, e = "\\") {
|
|
3060
3064
|
it(this, jt);
|
|
3061
|
-
it(this,
|
|
3065
|
+
it(this, bi);
|
|
3062
3066
|
it(this, Ra);
|
|
3063
|
-
it(this,
|
|
3067
|
+
it(this, yi, void 0);
|
|
3064
3068
|
it(this, Wr, void 0);
|
|
3065
3069
|
it(this, wa, void 0);
|
|
3066
|
-
this.val = t, rt(this,
|
|
3070
|
+
this.val = t, rt(this, yi, null), rt(this, Wr, {
|
|
3067
3071
|
"!num!": (Y) => Y.shift(),
|
|
3068
3072
|
"!str!": (Y) => ot(this, Ra, ih).call(this, Y.shift()),
|
|
3069
3073
|
"!bool!": (Y) => Y.shift(),
|
|
@@ -3082,15 +3086,15 @@ const Bh = class {
|
|
|
3082
3086
|
return Object.prototype.toString.call(q) === "[object String]" || Object.prototype.toString.call(Z) === "[object String]" ? String(q) + String(Z) : Number(q) + Number(Z);
|
|
3083
3087
|
},
|
|
3084
3088
|
"-": (Y) => Number(ot(this, jt, Vt).call(this, Y.shift())) - Number(ot(this, jt, Vt).call(this, Y.shift())),
|
|
3085
|
-
int: (Y) => int(ot(this,
|
|
3089
|
+
int: (Y) => int(ot(this, bi, Xn).call(this, Y.shift())),
|
|
3086
3090
|
parseInt: (Y) => int(z(this, Wr).Number(Y)),
|
|
3087
3091
|
Number: (Y) => {
|
|
3088
3092
|
const q = ot(this, jt, Vt).call(this, Y.shift());
|
|
3089
|
-
return Object.prototype.toString.call(q) !== "[object String]" ? Number(q) : ot(this,
|
|
3093
|
+
return Object.prototype.toString.call(q) !== "[object String]" ? Number(q) : ot(this, bi, Xn).call(this, z(this, yi).parse(String(q)).value);
|
|
3090
3094
|
},
|
|
3091
|
-
ceil: (Y) => Math.ceil(ot(this,
|
|
3092
|
-
floor: (Y) => Math.floor(ot(this,
|
|
3093
|
-
round: (Y) => Math.round(ot(this,
|
|
3095
|
+
ceil: (Y) => Math.ceil(ot(this, bi, Xn).call(this, Y.shift())),
|
|
3096
|
+
floor: (Y) => Math.floor(ot(this, bi, Xn).call(this, Y.shift())),
|
|
3097
|
+
round: (Y) => Math.round(ot(this, bi, Xn).call(this, Y.shift())),
|
|
3094
3098
|
isNaN: (Y) => isNaN(Number(ot(this, jt, Vt).call(this, Y.shift()))),
|
|
3095
3099
|
"<<": (Y) => Number(ot(this, jt, Vt).call(this, Y.shift())) << Number(ot(this, jt, Vt).call(this, Y.shift())),
|
|
3096
3100
|
">>": (Y) => Number(ot(this, jt, Vt).call(this, Y.shift())) >> Number(ot(this, jt, Vt).call(this, Y.shift())),
|
|
@@ -3183,7 +3187,7 @@ const Bh = class {
|
|
|
3183
3187
|
const Z = this.val.getVal(q);
|
|
3184
3188
|
return Z == null ? ["!str!", Z] : typeof Z == "boolean" ? ["!bool!", Z] : Object.prototype.toString.call(Z) === "[object String]" ? ["!str!", String(Z)] : ["!num!", Number(Z)];
|
|
3185
3189
|
}).desc("string"), V = parsimmon_umd_min.exports.lazy(
|
|
3186
|
-
() => parsimmon_umd_min.exports.string("(").then(z(this,
|
|
3190
|
+
() => parsimmon_umd_min.exports.string("(").then(z(this, yi)).skip(parsimmon_umd_min.exports.string(")")).or(D).or(L).or(B).or($).or(H)
|
|
3187
3191
|
), X = [
|
|
3188
3192
|
{ type: R, ops: o([/[A-Za-z_][A-Za-z0-9_]*(?=\()/]) },
|
|
3189
3193
|
{ type: R, ops: o([/(!(?!=)|~)/]) },
|
|
@@ -3204,10 +3208,10 @@ const Bh = class {
|
|
|
3204
3208
|
(Y, q) => q.type(q.ops, Y),
|
|
3205
3209
|
V
|
|
3206
3210
|
);
|
|
3207
|
-
rt(this,
|
|
3211
|
+
rt(this, yi, X.trim(parsimmon_umd_min.exports.optWhitespace));
|
|
3208
3212
|
}
|
|
3209
3213
|
parse(t) {
|
|
3210
|
-
const e = z(this,
|
|
3214
|
+
const e = z(this, yi).parse(t);
|
|
3211
3215
|
if (!e.status)
|
|
3212
3216
|
throw Error("(PropParser)\u6587\u6CD5\u30A8\u30E9\u30FC\u3010" + t + "\u3011");
|
|
3213
3217
|
const o = e.value;
|
|
@@ -3225,13 +3229,13 @@ const Bh = class {
|
|
|
3225
3229
|
}
|
|
3226
3230
|
};
|
|
3227
3231
|
let PropParser = Bh;
|
|
3228
|
-
|
|
3232
|
+
yi = new WeakMap(), jt = new WeakSet(), Vt = function(t) {
|
|
3229
3233
|
const e = t.shift();
|
|
3230
3234
|
if (e instanceof Array)
|
|
3231
3235
|
return ot(this, jt, Vt).call(this, e);
|
|
3232
3236
|
const o = z(this, Wr)[e];
|
|
3233
3237
|
return o ? o(t) : Object(null);
|
|
3234
|
-
}, Wr = new WeakMap(),
|
|
3238
|
+
}, Wr = new WeakMap(), bi = new WeakSet(), Xn = function(t) {
|
|
3235
3239
|
const e = ot(this, jt, Vt).call(this, t);
|
|
3236
3240
|
if (Object.prototype.toString.call(e) !== "[object Number]")
|
|
3237
3241
|
throw Error("(PropParser)\u5F15\u6570\u3010" + e + "\u3011\u304C\u6570\u5024\u3067\u306F\u3042\u308A\u307E\u305B\u3093");
|
|
@@ -3434,7 +3438,7 @@ class Areas {
|
|
|
3434
3438
|
}), t !== "" && (t = t.slice(1)), t;
|
|
3435
3439
|
}
|
|
3436
3440
|
}
|
|
3437
|
-
var Se, Ve, ve, Yr, me, Xe, ur, Pa, Aa, Oa, nh, is, ns, hu, jh, cu, Vh, lr, Pr, fu, Xh, du, Wh, pu, Yh, vu, qh, gu, Zh, _u, Kh, mu, Jh, yu, Qh, ss, zo, Na, sh, as,
|
|
3441
|
+
var Se, Ve, ve, Yr, me, Xe, ur, Pa, Aa, Oa, nh, is, ns, hu, jh, cu, Vh, lr, Pr, fu, Xh, du, Wh, pu, Yh, vu, qh, gu, Zh, _u, Kh, mu, Jh, yu, Qh, ss, zo, Na, sh, as, en, Ma, ah, Da, La, rn, os, us, jo, bu, tc, Eu, ec, Fa, oh, Ba, uh, xu, rc, Tu, ic, ls, Vo;
|
|
3438
3442
|
const Jn = class {
|
|
3439
3443
|
constructor(t, e) {
|
|
3440
3444
|
it(this, Oa);
|
|
@@ -3474,7 +3478,7 @@ const Jn = class {
|
|
|
3474
3478
|
it(this, as, void 0);
|
|
3475
3479
|
it(this, Da, void 0);
|
|
3476
3480
|
it(this, La, void 0);
|
|
3477
|
-
it(this,
|
|
3481
|
+
it(this, rn, void 0);
|
|
3478
3482
|
it(this, os, void 0);
|
|
3479
3483
|
var N;
|
|
3480
3484
|
if (this.cfg = t, rt(this, Se, { sys: {}, save: {}, tmp: {}, mp: {} }), rt(this, Ve, z(this, Se).save), rt(this, ve, z(this, Se).tmp), rt(this, me, { sys: {}, mark: {}, kidoku: {} }), rt(this, ur, {}), rt(this, Aa, {
|
|
@@ -3492,7 +3496,7 @@ const Jn = class {
|
|
|
3492
3496
|
set_data_break: (M, D) => {
|
|
3493
3497
|
ot(this, Oa, nh).call(this, D.a), z(this, Yr).send2Dbg(D.ri, {});
|
|
3494
3498
|
},
|
|
3495
|
-
disconnect: (M) => rt(Jn,
|
|
3499
|
+
disconnect: (M) => rt(Jn, en, {})
|
|
3496
3500
|
}), rt(this, is, () => {
|
|
3497
3501
|
}), rt(this, ns, (M) => {
|
|
3498
3502
|
}), this.getMark = (M) => z(this, me).mark[M], this.getAreaKidoku = (M) => z(this, ur)[M], rt(this, as, (M, D, L = !0) => {
|
|
@@ -3562,7 +3566,7 @@ const Jn = class {
|
|
|
3562
3566
|
}
|
|
3563
3567
|
}
|
|
3564
3568
|
return console.info("\u{1F95F} [dump_val]", M), !1;
|
|
3565
|
-
}), rt(this,
|
|
3569
|
+
}), rt(this, rn, !1), rt(this, os, {
|
|
3566
3570
|
"sys:sn.tagCh.doWait": (M) => ot(this, us, jo).call(this, M),
|
|
3567
3571
|
"sys:sn.tagCh.doWait_Kidoku": (M) => ot(this, us, jo).call(this, M),
|
|
3568
3572
|
"sys:sn.tagCh.msecWait": (M) => ot(this, bu, tc).call(this, M),
|
|
@@ -3573,7 +3577,7 @@ const Jn = class {
|
|
|
3573
3577
|
"sys:sn.auto.msecLineWait": (M) => ot(this, Ba, uh).call(this, M),
|
|
3574
3578
|
"sys:sn.auto.msecLineWait_Kidoku": (M) => ot(this, Ba, uh).call(this, M),
|
|
3575
3579
|
"save:sn.doRecLog": (M) => {
|
|
3576
|
-
z(this, ns).call(this, rt(this,
|
|
3580
|
+
z(this, ns).call(this, rt(this, rn, ot(this, xu, rc).call(this, M)));
|
|
3577
3581
|
},
|
|
3578
3582
|
"save:sn.userFnTail": (M, D) => this.cfg.userFnTail = D,
|
|
3579
3583
|
"tmp:sn.tagL.enabled": (M) => ot(this, Tu, ic).call(this, M),
|
|
@@ -3666,7 +3670,7 @@ const Jn = class {
|
|
|
3666
3670
|
}
|
|
3667
3671
|
mark2save(t) {
|
|
3668
3672
|
var e;
|
|
3669
|
-
rt(this, Ve, z(this, Se).save = { ...t.hSave }), rt(this,
|
|
3673
|
+
rt(this, Ve, z(this, Se).save = { ...t.hSave }), rt(this, rn, (e = z(this, Ve)["sn.doRecLog"]) != null ? e : !1);
|
|
3670
3674
|
}
|
|
3671
3675
|
loadScrWork(t) {
|
|
3672
3676
|
t in z(this, ur) || (z(this, ur)[t] = new Areas());
|
|
@@ -3681,7 +3685,7 @@ const Jn = class {
|
|
|
3681
3685
|
const N = z(this, Se)[t];
|
|
3682
3686
|
R && (o = ot(this, Ma, ah).call(this, o));
|
|
3683
3687
|
const M = t + ":" + e;
|
|
3684
|
-
if (M in z(Jn,
|
|
3688
|
+
if (M in z(Jn, en)) {
|
|
3685
3689
|
const B = N[e], $ = o;
|
|
3686
3690
|
B != $ && z(this, Pa).call(this, "data_break", {
|
|
3687
3691
|
dataId: M,
|
|
@@ -3692,7 +3696,7 @@ const Jn = class {
|
|
|
3692
3696
|
N[e] = o, (L = (D = z(this, os))[M]) == null || L.call(D, e, o);
|
|
3693
3697
|
}
|
|
3694
3698
|
doRecLog() {
|
|
3695
|
-
return z(this,
|
|
3699
|
+
return z(this, rn);
|
|
3696
3700
|
}
|
|
3697
3701
|
defValTrg(t, e) {
|
|
3698
3702
|
z(this, os)[t] = e;
|
|
@@ -3700,7 +3704,7 @@ const Jn = class {
|
|
|
3700
3704
|
};
|
|
3701
3705
|
let Variable = Jn;
|
|
3702
3706
|
Se = new WeakMap(), Ve = new WeakMap(), ve = new WeakMap(), Yr = new WeakMap(), me = new WeakMap(), Xe = new WeakMap(), ur = new WeakMap(), Pa = new WeakMap(), Aa = new WeakMap(), Oa = new WeakSet(), nh = function(t) {
|
|
3703
|
-
rt(Jn,
|
|
3707
|
+
rt(Jn, en, {}), t.forEach((e) => z(Jn, en)[e.dataId] = 1);
|
|
3704
3708
|
}, is = new WeakMap(), ns = new WeakMap(), hu = new WeakSet(), jh = function(t) {
|
|
3705
3709
|
if (!("from" in t))
|
|
3706
3710
|
throw "from\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -3788,7 +3792,7 @@ Se = new WeakMap(), Ve = new WeakMap(), ve = new WeakMap(), Yr = new WeakMap(),
|
|
|
3788
3792
|
var R, N, M;
|
|
3789
3793
|
const t = (R = z(this, Ve)["const.sn.mesLayer"]) != null ? R : "", e = (N = z(this, Ve)["sn.doRecLog"]) != null ? N : !1, o = (M = z(this, Ve)["const.sn.sLog"]) != null ? M : "[]";
|
|
3790
3794
|
return rt(this, Ve, z(this, Se).save = {}), this.setVal_Nochk("save", "const.sn.mesLayer", t), this.setVal_Nochk("save", "sn.doRecLog", e), this.setVal_Nochk("save", "const.sn.sLog", o), !1;
|
|
3791
|
-
}, as = new WeakMap(),
|
|
3795
|
+
}, as = new WeakMap(), en = new WeakMap(), Ma = new WeakSet(), ah = function(t) {
|
|
3792
3796
|
const e = t;
|
|
3793
3797
|
if (e === "true")
|
|
3794
3798
|
return !0;
|
|
@@ -3798,7 +3802,7 @@ Se = new WeakMap(), Ve = new WeakMap(), ve = new WeakMap(), Yr = new WeakMap(),
|
|
|
3798
3802
|
return null;
|
|
3799
3803
|
if (e !== "undefined")
|
|
3800
3804
|
return z(this, Da).test(e) ? parseFloat(e) : t;
|
|
3801
|
-
}, Da = new WeakMap(), La = new WeakMap(),
|
|
3805
|
+
}, Da = new WeakMap(), La = new WeakMap(), rn = new WeakMap(), os = new WeakMap(), us = new WeakSet(), jo = function(t) {
|
|
3802
3806
|
argChk_Boolean(z(this, Xe), t, !0);
|
|
3803
3807
|
}, bu = new WeakSet(), tc = function(t) {
|
|
3804
3808
|
argChk_Num(z(this, Xe), t, 10), z(this, Xe)["sn.tagCh.doWait"];
|
|
@@ -3822,7 +3826,7 @@ Se = new WeakMap(), Ve = new WeakMap(), ve = new WeakMap(), Yr = new WeakMap(),
|
|
|
3822
3826
|
argChk_Boolean(z(this, ve), t, !0);
|
|
3823
3827
|
}, ls = new WeakSet(), Vo = function(t) {
|
|
3824
3828
|
argChk_Boolean(z(this, ve), t, !1);
|
|
3825
|
-
}, it(Variable,
|
|
3829
|
+
}, it(Variable, en, {});
|
|
3826
3830
|
var Easing = {
|
|
3827
3831
|
Linear: {
|
|
3828
3832
|
None: function(n) {
|
|
@@ -4195,15 +4199,15 @@ $a = new WeakMap(), it(CmnTween, $a, {
|
|
|
4195
4199
|
"Sinusoidal.Out": (t) => Easing.Sinusoidal.Out(t)
|
|
4196
4200
|
});
|
|
4197
4201
|
/*!
|
|
4198
|
-
* @pixi/settings - v6.5.
|
|
4199
|
-
* Compiled
|
|
4202
|
+
* @pixi/settings - v6.5.3
|
|
4203
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
4200
4204
|
*
|
|
4201
4205
|
* @pixi/settings is licensed under the MIT License.
|
|
4202
4206
|
* http://www.opensource.org/licenses/mit-license
|
|
4203
4207
|
*/
|
|
4204
4208
|
/*!
|
|
4205
|
-
* @pixi/constants - v6.5.
|
|
4206
|
-
* Compiled
|
|
4209
|
+
* @pixi/constants - v6.5.3
|
|
4210
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
4207
4211
|
*
|
|
4208
4212
|
* @pixi/constants is licensed under the MIT License.
|
|
4209
4213
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -4426,8 +4430,8 @@ var settings$1 = {
|
|
|
4426
4430
|
ROUND_PIXELS: !1
|
|
4427
4431
|
};
|
|
4428
4432
|
/*!
|
|
4429
|
-
* @pixi/constants - v6.5.
|
|
4430
|
-
* Compiled
|
|
4433
|
+
* @pixi/constants - v6.5.3
|
|
4434
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
4431
4435
|
*
|
|
4432
4436
|
* @pixi/constants is licensed under the MIT License.
|
|
4433
4437
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -5241,8 +5245,8 @@ Url.prototype.parseHost = function() {
|
|
|
5241
5245
|
t && (t = t[0], t !== ":" && (this.port = t.substr(1)), n = n.substr(0, n.length - t.length)), n && (this.hostname = n);
|
|
5242
5246
|
};
|
|
5243
5247
|
/*!
|
|
5244
|
-
* @pixi/utils - v6.5.
|
|
5245
|
-
* Compiled
|
|
5248
|
+
* @pixi/utils - v6.5.3
|
|
5249
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
5246
5250
|
*
|
|
5247
5251
|
* @pixi/utils is licensed under the MIT License.
|
|
5248
5252
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -5254,7 +5258,7 @@ var url = {
|
|
|
5254
5258
|
};
|
|
5255
5259
|
settings$1.RETINA_PREFIX = /@([0-9\.]+)x/;
|
|
5256
5260
|
settings$1.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = !1;
|
|
5257
|
-
var saidHello = !1, VERSION = "6.5.
|
|
5261
|
+
var saidHello = !1, VERSION = "6.5.3";
|
|
5258
5262
|
function skipHello() {
|
|
5259
5263
|
saidHello = !0;
|
|
5260
5264
|
}
|
|
@@ -5615,8 +5619,8 @@ function getResolutionOfUrl(n, t) {
|
|
|
5615
5619
|
return e ? parseFloat(e[1]) : t !== void 0 ? t : 1;
|
|
5616
5620
|
}
|
|
5617
5621
|
/*!
|
|
5618
|
-
* @pixi/extensions - v6.5.
|
|
5619
|
-
* Compiled
|
|
5622
|
+
* @pixi/extensions - v6.5.3
|
|
5623
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
5620
5624
|
*
|
|
5621
5625
|
* @pixi/extensions is licensed under the MIT License.
|
|
5622
5626
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -5712,8 +5716,8 @@ var normalizeExtension = function(n) {
|
|
|
5712
5716
|
}
|
|
5713
5717
|
};
|
|
5714
5718
|
/*!
|
|
5715
|
-
* @pixi/runner - v6.5.
|
|
5716
|
-
* Compiled
|
|
5719
|
+
* @pixi/runner - v6.5.3
|
|
5720
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
5717
5721
|
*
|
|
5718
5722
|
* @pixi/runner is licensed under the MIT License.
|
|
5719
5723
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -5762,8 +5766,8 @@ Object.defineProperties(Runner.prototype, {
|
|
|
5762
5766
|
run: { value: Runner.prototype.emit }
|
|
5763
5767
|
});
|
|
5764
5768
|
/*!
|
|
5765
|
-
* @pixi/ticker - v6.5.
|
|
5766
|
-
* Compiled
|
|
5769
|
+
* @pixi/ticker - v6.5.3
|
|
5770
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
5767
5771
|
*
|
|
5768
5772
|
* @pixi/ticker is licensed under the MIT License.
|
|
5769
5773
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -5943,8 +5947,8 @@ var TickerListener = function() {
|
|
|
5943
5947
|
}, n.extension = ExtensionType.Application, n;
|
|
5944
5948
|
}();
|
|
5945
5949
|
/*!
|
|
5946
|
-
* @pixi/math - v6.5.
|
|
5947
|
-
* Compiled
|
|
5950
|
+
* @pixi/math - v6.5.3
|
|
5951
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
5948
5952
|
*
|
|
5949
5953
|
* @pixi/math is licensed under the MIT License.
|
|
5950
5954
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -6331,8 +6335,8 @@ var groupD8 = {
|
|
|
6331
6335
|
}), n.IDENTITY = new n(), n;
|
|
6332
6336
|
}();
|
|
6333
6337
|
/*!
|
|
6334
|
-
* @pixi/core - v6.5.
|
|
6335
|
-
* Compiled
|
|
6338
|
+
* @pixi/core - v6.5.3
|
|
6339
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
6336
6340
|
*
|
|
6337
6341
|
* @pixi/core is licensed under the MIT License.
|
|
6338
6342
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -8179,8 +8183,8 @@ var uniformParsers = [
|
|
|
8179
8183
|
}
|
|
8180
8184
|
},
|
|
8181
8185
|
{
|
|
8182
|
-
test: function(n) {
|
|
8183
|
-
return (n.type === "sampler2D" || n.type === "samplerCube" || n.type === "sampler2DArray") && n.size === 1 && !n.isArray;
|
|
8186
|
+
test: function(n, t) {
|
|
8187
|
+
return (n.type === "sampler2D" || n.type === "samplerCube" || n.type === "sampler2DArray") && n.size === 1 && !n.isArray && (t == null || t.castToBaseTexture !== void 0);
|
|
8184
8188
|
},
|
|
8185
8189
|
code: function(n) {
|
|
8186
8190
|
return `t = syncData.textureCount++;
|
|
@@ -8452,9 +8456,27 @@ var uniformParsers = [
|
|
|
8452
8456
|
mat2: "gl.uniformMatrix2fv(location, false, v)",
|
|
8453
8457
|
mat3: "gl.uniformMatrix3fv(location, false, v)",
|
|
8454
8458
|
mat4: "gl.uniformMatrix4fv(location, false, v)",
|
|
8455
|
-
sampler2D:
|
|
8456
|
-
|
|
8457
|
-
|
|
8459
|
+
sampler2D: `
|
|
8460
|
+
if (cv !== v)
|
|
8461
|
+
{
|
|
8462
|
+
cu.value = v;
|
|
8463
|
+
|
|
8464
|
+
gl.uniform1i(location, v);
|
|
8465
|
+
}`,
|
|
8466
|
+
samplerCube: `
|
|
8467
|
+
if (cv !== v)
|
|
8468
|
+
{
|
|
8469
|
+
cu.value = v;
|
|
8470
|
+
|
|
8471
|
+
gl.uniform1i(location, v);
|
|
8472
|
+
}`,
|
|
8473
|
+
sampler2DArray: `
|
|
8474
|
+
if (cv !== v)
|
|
8475
|
+
{
|
|
8476
|
+
cu.value = v;
|
|
8477
|
+
|
|
8478
|
+
gl.uniform1i(location, v);
|
|
8479
|
+
}`
|
|
8458
8480
|
}, GLSL_TO_ARRAY_SETTERS = {
|
|
8459
8481
|
float: "gl.uniform1fv(location, v)",
|
|
8460
8482
|
vec2: "gl.uniform2fv(location, v)",
|
|
@@ -10018,8 +10040,8 @@ Object.assign(BatchRenderer, {
|
|
|
10018
10040
|
}
|
|
10019
10041
|
});
|
|
10020
10042
|
/*!
|
|
10021
|
-
* @pixi/loaders - v6.5.
|
|
10022
|
-
* Compiled
|
|
10043
|
+
* @pixi/loaders - v6.5.3
|
|
10044
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
10023
10045
|
*
|
|
10024
10046
|
* @pixi/loaders is licensed under the MIT License.
|
|
10025
10047
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -11843,8 +11865,8 @@ var objectAssign = shouldUseNative() ? Object.assign : function(n, t) {
|
|
|
11843
11865
|
return o;
|
|
11844
11866
|
};
|
|
11845
11867
|
/*!
|
|
11846
|
-
* @pixi/polyfill - v6.5.
|
|
11847
|
-
* Compiled
|
|
11868
|
+
* @pixi/polyfill - v6.5.3
|
|
11869
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
11848
11870
|
*
|
|
11849
11871
|
* @pixi/polyfill is licensed under the MIT License.
|
|
11850
11872
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -11891,8 +11913,8 @@ globalThis.Uint16Array || (globalThis.Uint16Array = Array);
|
|
|
11891
11913
|
globalThis.Uint8Array || (globalThis.Uint8Array = Array);
|
|
11892
11914
|
globalThis.Int32Array || (globalThis.Int32Array = Array);
|
|
11893
11915
|
/*!
|
|
11894
|
-
* @pixi/display - v6.5.
|
|
11895
|
-
* Compiled
|
|
11916
|
+
* @pixi/display - v6.5.3
|
|
11917
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
11896
11918
|
*
|
|
11897
11919
|
* @pixi/display is licensed under the MIT License.
|
|
11898
11920
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -12176,8 +12198,8 @@ var DisplayObject = function(n) {
|
|
|
12176
12198
|
}(DisplayObject);
|
|
12177
12199
|
DisplayObject.prototype.displayObjectUpdateTransform = DisplayObject.prototype.updateTransform;
|
|
12178
12200
|
/*!
|
|
12179
|
-
* @pixi/constants - v6.5.
|
|
12180
|
-
* Compiled
|
|
12201
|
+
* @pixi/constants - v6.5.3
|
|
12202
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
12181
12203
|
*
|
|
12182
12204
|
* @pixi/constants is licensed under the MIT License.
|
|
12183
12205
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -12441,8 +12463,8 @@ var Container = function(n) {
|
|
|
12441
12463
|
}(DisplayObject);
|
|
12442
12464
|
Container.prototype.containerUpdateTransform = Container.prototype.updateTransform;
|
|
12443
12465
|
/*!
|
|
12444
|
-
* @pixi/accessibility - v6.5.
|
|
12445
|
-
* Compiled
|
|
12466
|
+
* @pixi/accessibility - v6.5.3
|
|
12467
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
12446
12468
|
*
|
|
12447
12469
|
* @pixi/accessibility is licensed under the MIT License.
|
|
12448
12470
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -12552,8 +12574,8 @@ var KEY_CODE_TAB = 9, DIV_TOUCH_SIZE = 100, DIV_TOUCH_POS_X = 0, DIV_TOUCH_POS_Y
|
|
|
12552
12574
|
}, n;
|
|
12553
12575
|
}();
|
|
12554
12576
|
/*!
|
|
12555
|
-
* @pixi/interaction - v6.5.
|
|
12556
|
-
* Compiled
|
|
12577
|
+
* @pixi/interaction - v6.5.3
|
|
12578
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
12557
12579
|
*
|
|
12558
12580
|
* @pixi/interaction is licensed under the MIT License.
|
|
12559
12581
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -12948,8 +12970,8 @@ var MOUSE_POINTER_ID = 1, hitTestEvent = {
|
|
|
12948
12970
|
}, t;
|
|
12949
12971
|
}(EventEmitter$4);
|
|
12950
12972
|
/*!
|
|
12951
|
-
* @pixi/extract - v6.5.
|
|
12952
|
-
* Compiled
|
|
12973
|
+
* @pixi/extract - v6.5.3
|
|
12974
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
12953
12975
|
*
|
|
12954
12976
|
* @pixi/extract is licensed under the MIT License.
|
|
12955
12977
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -12992,8 +13014,8 @@ var TEMP_RECT = new Rectangle(), BYTES_PER_PIXEL = 4, Extract = function() {
|
|
|
12992
13014
|
}, n;
|
|
12993
13015
|
}();
|
|
12994
13016
|
/*!
|
|
12995
|
-
* @pixi/compressed-textures - v6.5.
|
|
12996
|
-
* Compiled
|
|
13017
|
+
* @pixi/compressed-textures - v6.5.3
|
|
13018
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
12997
13019
|
*
|
|
12998
13020
|
* @pixi/compressed-textures is licensed under the MIT License.
|
|
12999
13021
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -13531,8 +13553,8 @@ var KTXLoader = function() {
|
|
|
13531
13553
|
}, n.extension = ExtensionType.Loader, n.loadKeyValueData = !1, n;
|
|
13532
13554
|
}();
|
|
13533
13555
|
/*!
|
|
13534
|
-
* @pixi/particle-container - v6.5.
|
|
13535
|
-
* Compiled
|
|
13556
|
+
* @pixi/particle-container - v6.5.3
|
|
13557
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
13536
13558
|
*
|
|
13537
13559
|
* @pixi/particle-container is licensed under the MIT License.
|
|
13538
13560
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -13790,8 +13812,8 @@ void main(void){
|
|
|
13790
13812
|
}, t;
|
|
13791
13813
|
}(ObjectRenderer);
|
|
13792
13814
|
/*!
|
|
13793
|
-
* @pixi/graphics - v6.5.
|
|
13794
|
-
* Compiled
|
|
13815
|
+
* @pixi/graphics - v6.5.3
|
|
13816
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
13795
13817
|
*
|
|
13796
13818
|
* @pixi/graphics is licensed under the MIT License.
|
|
13797
13819
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -14555,8 +14577,8 @@ var ArcUtils = function() {
|
|
|
14555
14577
|
}, t.nextRoundedRectBehavior = !1, t._TEMP_POINT = new Point(), t;
|
|
14556
14578
|
}(Container);
|
|
14557
14579
|
/*!
|
|
14558
|
-
* @pixi/sprite - v6.5.
|
|
14559
|
-
* Compiled
|
|
14580
|
+
* @pixi/sprite - v6.5.3
|
|
14581
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
14560
14582
|
*
|
|
14561
14583
|
* @pixi/sprite is licensed under the MIT License.
|
|
14562
14584
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -14698,8 +14720,8 @@ var tempPoint$2 = new Point(), indices = new Uint16Array([0, 1, 2, 0, 2, 3]), Sp
|
|
|
14698
14720
|
}), t;
|
|
14699
14721
|
}(Container);
|
|
14700
14722
|
/*!
|
|
14701
|
-
* @pixi/text - v6.5.
|
|
14702
|
-
* Compiled
|
|
14723
|
+
* @pixi/text - v6.5.3
|
|
14724
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
14703
14725
|
*
|
|
14704
14726
|
* @pixi/text is licensed under the MIT License.
|
|
14705
14727
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -15426,8 +15448,8 @@ var defaultDestroyOptions = {
|
|
|
15426
15448
|
}), t.nextLineHeightBehavior = !1, t.experimentalLetterSpacing = !1, t;
|
|
15427
15449
|
}(Sprite);
|
|
15428
15450
|
/*!
|
|
15429
|
-
* @pixi/prepare - v6.5.
|
|
15430
|
-
* Compiled
|
|
15451
|
+
* @pixi/prepare - v6.5.3
|
|
15452
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
15431
15453
|
*
|
|
15432
15454
|
* @pixi/prepare is licensed under the MIT License.
|
|
15433
15455
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -15601,8 +15623,8 @@ var Prepare = function(n) {
|
|
|
15601
15623
|
}, t;
|
|
15602
15624
|
}(BasePrepare);
|
|
15603
15625
|
/*!
|
|
15604
|
-
* @pixi/spritesheet - v6.5.
|
|
15605
|
-
* Compiled
|
|
15626
|
+
* @pixi/spritesheet - v6.5.3
|
|
15627
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
15606
15628
|
*
|
|
15607
15629
|
* @pixi/spritesheet is licensed under the MIT License.
|
|
15608
15630
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -15708,8 +15730,8 @@ var Spritesheet = function() {
|
|
|
15708
15730
|
}, n.extension = ExtensionType.Loader, n;
|
|
15709
15731
|
}();
|
|
15710
15732
|
/*!
|
|
15711
|
-
* @pixi/sprite-tiling - v6.5.
|
|
15712
|
-
* Compiled
|
|
15733
|
+
* @pixi/sprite-tiling - v6.5.3
|
|
15734
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
15713
15735
|
*
|
|
15714
15736
|
* @pixi/sprite-tiling is licensed under the MIT License.
|
|
15715
15737
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -15960,8 +15982,8 @@ void main(void)
|
|
|
15960
15982
|
}, t;
|
|
15961
15983
|
}(ObjectRenderer);
|
|
15962
15984
|
/*!
|
|
15963
|
-
* @pixi/mesh - v6.5.
|
|
15964
|
-
* Compiled
|
|
15985
|
+
* @pixi/mesh - v6.5.3
|
|
15986
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
15965
15987
|
*
|
|
15966
15988
|
* @pixi/mesh is licensed under the MIT License.
|
|
15967
15989
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -16210,8 +16232,8 @@ void main(void)
|
|
|
16210
16232
|
}), t;
|
|
16211
16233
|
}(Geometry);
|
|
16212
16234
|
/*!
|
|
16213
|
-
* @pixi/text-bitmap - v6.5.
|
|
16214
|
-
* Compiled
|
|
16235
|
+
* @pixi/text-bitmap - v6.5.3
|
|
16236
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
16215
16237
|
*
|
|
16216
16238
|
* @pixi/text-bitmap is licensed under the MIT License.
|
|
16217
16239
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -16891,8 +16913,8 @@ var BitmapFontLoader = function() {
|
|
|
16891
16913
|
}, n.extension = ExtensionType.Loader, n;
|
|
16892
16914
|
}();
|
|
16893
16915
|
/*!
|
|
16894
|
-
* @pixi/filter-alpha - v6.5.
|
|
16895
|
-
* Compiled
|
|
16916
|
+
* @pixi/filter-alpha - v6.5.3
|
|
16917
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
16896
16918
|
*
|
|
16897
16919
|
* @pixi/filter-alpha is licensed under the MIT License.
|
|
16898
16920
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -16955,8 +16977,8 @@ void main(void)
|
|
|
16955
16977
|
}), t;
|
|
16956
16978
|
})(Filter);
|
|
16957
16979
|
/*!
|
|
16958
|
-
* @pixi/filter-blur - v6.5.
|
|
16959
|
-
* Compiled
|
|
16980
|
+
* @pixi/filter-blur - v6.5.3
|
|
16981
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
16960
16982
|
*
|
|
16961
16983
|
* @pixi/filter-blur is licensed under the MIT License.
|
|
16962
16984
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -17057,8 +17079,8 @@ function generateBlurFragSource(n) {
|
|
|
17057
17079
|
return o = o.replace("%blur%", R), o = o.replace("%size%", n.toString()), o;
|
|
17058
17080
|
}
|
|
17059
17081
|
/*!
|
|
17060
|
-
* @pixi/constants - v6.5.
|
|
17061
|
-
* Compiled
|
|
17082
|
+
* @pixi/constants - v6.5.3
|
|
17083
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
17062
17084
|
*
|
|
17063
17085
|
* @pixi/constants is licensed under the MIT License.
|
|
17064
17086
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -17260,8 +17282,8 @@ var BlurFilterPass = function(n) {
|
|
|
17260
17282
|
}), t;
|
|
17261
17283
|
})(Filter);
|
|
17262
17284
|
/*!
|
|
17263
|
-
* @pixi/filter-color-matrix - v6.5.
|
|
17264
|
-
* Compiled
|
|
17285
|
+
* @pixi/filter-color-matrix - v6.5.3
|
|
17286
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
17265
17287
|
*
|
|
17266
17288
|
* @pixi/filter-color-matrix is licensed under the MIT License.
|
|
17267
17289
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -17894,8 +17916,8 @@ void main(void)
|
|
|
17894
17916
|
}(Filter);
|
|
17895
17917
|
ColorMatrixFilter.prototype.grayscale = ColorMatrixFilter.prototype.greyscale;
|
|
17896
17918
|
/*!
|
|
17897
|
-
* @pixi/filter-displacement - v6.5.
|
|
17898
|
-
* Compiled
|
|
17919
|
+
* @pixi/filter-displacement - v6.5.3
|
|
17920
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
17899
17921
|
*
|
|
17900
17922
|
* @pixi/filter-displacement is licensed under the MIT License.
|
|
17901
17923
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18006,8 +18028,8 @@ void main(void)
|
|
|
18006
18028
|
}), t;
|
|
18007
18029
|
})(Filter);
|
|
18008
18030
|
/*!
|
|
18009
|
-
* @pixi/filter-fxaa - v6.5.
|
|
18010
|
-
* Compiled
|
|
18031
|
+
* @pixi/filter-fxaa - v6.5.3
|
|
18032
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18011
18033
|
*
|
|
18012
18034
|
* @pixi/filter-fxaa is licensed under the MIT License.
|
|
18013
18035
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18213,8 +18235,8 @@ void main() {
|
|
|
18213
18235
|
return t;
|
|
18214
18236
|
})(Filter);
|
|
18215
18237
|
/*!
|
|
18216
|
-
* @pixi/filter-noise - v6.5.
|
|
18217
|
-
* Compiled
|
|
18238
|
+
* @pixi/filter-noise - v6.5.3
|
|
18239
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18218
18240
|
*
|
|
18219
18241
|
* @pixi/filter-noise is licensed under the MIT License.
|
|
18220
18242
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18314,15 +18336,15 @@ void main()
|
|
|
18314
18336
|
}), t;
|
|
18315
18337
|
})(Filter);
|
|
18316
18338
|
/*!
|
|
18317
|
-
* @pixi/mixin-cache-as-bitmap - v6.5.
|
|
18318
|
-
* Compiled
|
|
18339
|
+
* @pixi/mixin-cache-as-bitmap - v6.5.3
|
|
18340
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18319
18341
|
*
|
|
18320
18342
|
* @pixi/mixin-cache-as-bitmap is licensed under the MIT License.
|
|
18321
18343
|
* http://www.opensource.org/licenses/mit-license
|
|
18322
18344
|
*/
|
|
18323
18345
|
/*!
|
|
18324
|
-
* @pixi/constants - v6.5.
|
|
18325
|
-
* Compiled
|
|
18346
|
+
* @pixi/constants - v6.5.3
|
|
18347
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18326
18348
|
*
|
|
18327
18349
|
* @pixi/constants is licensed under the MIT License.
|
|
18328
18350
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18505,8 +18527,8 @@ DisplayObject.prototype._cacheAsBitmapDestroy = function(t) {
|
|
|
18505
18527
|
this.cacheAsBitmap = !1, this.destroy(t);
|
|
18506
18528
|
};
|
|
18507
18529
|
/*!
|
|
18508
|
-
* @pixi/mixin-get-child-by-name - v6.5.
|
|
18509
|
-
* Compiled
|
|
18530
|
+
* @pixi/mixin-get-child-by-name - v6.5.3
|
|
18531
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18510
18532
|
*
|
|
18511
18533
|
* @pixi/mixin-get-child-by-name is licensed under the MIT License.
|
|
18512
18534
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18528,8 +18550,8 @@ Container.prototype.getChildByName = function(t, e) {
|
|
|
18528
18550
|
return null;
|
|
18529
18551
|
};
|
|
18530
18552
|
/*!
|
|
18531
|
-
* @pixi/mixin-get-global-position - v6.5.
|
|
18532
|
-
* Compiled
|
|
18553
|
+
* @pixi/mixin-get-global-position - v6.5.3
|
|
18554
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18533
18555
|
*
|
|
18534
18556
|
* @pixi/mixin-get-global-position is licensed under the MIT License.
|
|
18535
18557
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18538,8 +18560,8 @@ DisplayObject.prototype.getGlobalPosition = function(t, e) {
|
|
|
18538
18560
|
return t === void 0 && (t = new Point()), e === void 0 && (e = !1), this.parent ? this.parent.toGlobal(this.position, t, e) : (t.x = this.position.x, t.y = this.position.y), t;
|
|
18539
18561
|
};
|
|
18540
18562
|
/*!
|
|
18541
|
-
* @pixi/app - v6.5.
|
|
18542
|
-
* Compiled
|
|
18563
|
+
* @pixi/app - v6.5.3
|
|
18564
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18543
18565
|
*
|
|
18544
18566
|
* @pixi/app is licensed under the MIT License.
|
|
18545
18567
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -18584,15 +18606,15 @@ var ResizePlugin = function() {
|
|
|
18584
18606
|
}, n.extension = ExtensionType.Application, n;
|
|
18585
18607
|
}();
|
|
18586
18608
|
/*!
|
|
18587
|
-
* @pixi/settings - v6.5.
|
|
18588
|
-
* Compiled
|
|
18609
|
+
* @pixi/settings - v6.5.3
|
|
18610
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18589
18611
|
*
|
|
18590
18612
|
* @pixi/settings is licensed under the MIT License.
|
|
18591
18613
|
* http://www.opensource.org/licenses/mit-license
|
|
18592
18614
|
*/
|
|
18593
18615
|
/*!
|
|
18594
|
-
* @pixi/constants - v6.5.
|
|
18595
|
-
* Compiled
|
|
18616
|
+
* @pixi/constants - v6.5.3
|
|
18617
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
18596
18618
|
*
|
|
18597
18619
|
* @pixi/constants is licensed under the MIT License.
|
|
18598
18620
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -19084,8 +19106,8 @@ createCommonjsModule(function(n, t) {
|
|
|
19084
19106
|
t.decode = t.parse = decode, t.encode = t.stringify = encode;
|
|
19085
19107
|
});
|
|
19086
19108
|
/*!
|
|
19087
|
-
* @pixi/constants - v6.5.
|
|
19088
|
-
* Compiled
|
|
19109
|
+
* @pixi/constants - v6.5.3
|
|
19110
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
19089
19111
|
*
|
|
19090
19112
|
* @pixi/constants is licensed under the MIT License.
|
|
19091
19113
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -19171,8 +19193,8 @@ var BUFFER_TYPE;
|
|
|
19171
19193
|
n[n.ELEMENT_ARRAY_BUFFER = 34963] = "ELEMENT_ARRAY_BUFFER", n[n.ARRAY_BUFFER = 34962] = "ARRAY_BUFFER", n[n.UNIFORM_BUFFER = 35345] = "UNIFORM_BUFFER";
|
|
19172
19194
|
})(BUFFER_TYPE || (BUFFER_TYPE = {}));
|
|
19173
19195
|
/*!
|
|
19174
|
-
* @pixi/utils - v6.5.
|
|
19175
|
-
* Compiled
|
|
19196
|
+
* @pixi/utils - v6.5.3
|
|
19197
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
19176
19198
|
*
|
|
19177
19199
|
* @pixi/utils is licensed under the MIT License.
|
|
19178
19200
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -19267,8 +19289,8 @@ var Application = function() {
|
|
|
19267
19289
|
extensions.handleByList(ExtensionType.Application, Application._plugins);
|
|
19268
19290
|
extensions.add(ResizePlugin);
|
|
19269
19291
|
/*!
|
|
19270
|
-
* @pixi/mesh-extras - v6.5.
|
|
19271
|
-
* Compiled
|
|
19292
|
+
* @pixi/mesh-extras - v6.5.3
|
|
19293
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
19272
19294
|
*
|
|
19273
19295
|
* @pixi/mesh-extras is licensed under the MIT License.
|
|
19274
19296
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -19521,8 +19543,8 @@ var DEFAULT_BORDER_SIZE = 10;
|
|
|
19521
19543
|
}, t;
|
|
19522
19544
|
})(SimplePlane);
|
|
19523
19545
|
/*!
|
|
19524
|
-
* @pixi/sprite-animated - v6.5.
|
|
19525
|
-
* Compiled
|
|
19546
|
+
* @pixi/sprite-animated - v6.5.3
|
|
19547
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
19526
19548
|
*
|
|
19527
19549
|
* @pixi/sprite-animated is licensed under the MIT License.
|
|
19528
19550
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -19649,8 +19671,8 @@ var AnimatedSprite = function(n) {
|
|
|
19649
19671
|
}), t;
|
|
19650
19672
|
}(Sprite);
|
|
19651
19673
|
/*!
|
|
19652
|
-
* pixi.js - v6.5.
|
|
19653
|
-
* Compiled
|
|
19674
|
+
* pixi.js - v6.5.3
|
|
19675
|
+
* Compiled Fri, 09 Sep 2022 13:55:20 UTC
|
|
19654
19676
|
*
|
|
19655
19677
|
* pixi.js is licensed under the MIT License.
|
|
19656
19678
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -19671,7 +19693,7 @@ extensions.add(
|
|
|
19671
19693
|
TickerPlugin,
|
|
19672
19694
|
AppLoaderPlugin
|
|
19673
19695
|
);
|
|
19674
|
-
var be, De,
|
|
19696
|
+
var be, De, Ei, Cu, nc, hs, Xo, Iu, sc, wu, ac, ka, lh, nn, va, Ga, hh, cs, fs, Wo, sn, ga, Ua, ds, Yo, Ru, oc, Or, gi, Pu, uc, Ha, ch, an, ma, Au, lc, za, fh, Ou, hc, Nu, cc, ps, qo;
|
|
19675
19697
|
const Ca = class {
|
|
19676
19698
|
constructor(t, e, o, R, N) {
|
|
19677
19699
|
it(this, Cu);
|
|
@@ -19679,16 +19701,16 @@ const Ca = class {
|
|
|
19679
19701
|
it(this, Iu);
|
|
19680
19702
|
it(this, wu);
|
|
19681
19703
|
it(this, ka);
|
|
19682
|
-
it(this,
|
|
19704
|
+
it(this, nn);
|
|
19683
19705
|
it(this, Ga);
|
|
19684
19706
|
it(this, fs);
|
|
19685
|
-
it(this,
|
|
19707
|
+
it(this, sn);
|
|
19686
19708
|
it(this, ds);
|
|
19687
19709
|
it(this, Ru);
|
|
19688
|
-
it(this,
|
|
19710
|
+
it(this, Or);
|
|
19689
19711
|
it(this, Pu);
|
|
19690
19712
|
it(this, Ha);
|
|
19691
|
-
it(this,
|
|
19713
|
+
it(this, an);
|
|
19692
19714
|
it(this, Au);
|
|
19693
19715
|
it(this, za);
|
|
19694
19716
|
it(this, Ou);
|
|
@@ -19696,15 +19718,15 @@ const Ca = class {
|
|
|
19696
19718
|
it(this, ps);
|
|
19697
19719
|
it(this, be, {});
|
|
19698
19720
|
it(this, De, {});
|
|
19699
|
-
it(this,
|
|
19721
|
+
it(this, Ei, void 0);
|
|
19700
19722
|
it(this, Ua, () => {
|
|
19701
19723
|
I.volumeAll = Number(this.val.getVal("sys:sn.sound.global_volume", 1)), rt(this, Ua, () => {
|
|
19702
19724
|
});
|
|
19703
19725
|
});
|
|
19704
|
-
this.cfg = t, this.val = o, this.main = R, this.sys = N, e.volume = (M) => ot(this, Cu, nc).call(this, M), e.fadebgm = (M) => ot(this, ka, lh).call(this, M), e.fadeoutbgm = (M) => ot(this, Iu, sc).call(this, M), e.fadeoutse = (M) => ot(this, wu, ac).call(this, M), e.fadese = (M) => ot(this,
|
|
19726
|
+
this.cfg = t, this.val = o, this.main = R, this.sys = N, e.volume = (M) => ot(this, Cu, nc).call(this, M), e.fadebgm = (M) => ot(this, ka, lh).call(this, M), e.fadeoutbgm = (M) => ot(this, Iu, sc).call(this, M), e.fadeoutse = (M) => ot(this, wu, ac).call(this, M), e.fadese = (M) => ot(this, nn, va).call(this, M), e.playbgm = (M) => ot(this, Ga, hh).call(this, M), e.playse = (M) => ot(this, fs, Wo).call(this, M), e.stop_allse = () => ot(this, ds, Yo).call(this), e.stopbgm = (M) => ot(this, Ru, oc).call(this, M), e.stopse = (M) => ot(this, Or, gi).call(this, M), e.wb = (M) => ot(this, Pu, uc).call(this, M), e.wf = (M) => ot(this, Ha, ch).call(this, M), e.stopfadese = (M) => ot(this, an, ma).call(this, M), e.wl = (M) => ot(this, Au, lc).call(this, M), e.ws = (M) => ot(this, za, fh).call(this, M), e.xchgbuf = (M) => ot(this, Ou, hc).call(this, M), this.val.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), o.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(G.supported));
|
|
19705
19727
|
}
|
|
19706
19728
|
setEvtMng(t) {
|
|
19707
|
-
rt(this,
|
|
19729
|
+
rt(this, Ei, t);
|
|
19708
19730
|
}
|
|
19709
19731
|
setNoticeChgVolume(t, e) {
|
|
19710
19732
|
this.val.defValTrg("sys:sn.sound.global_volume", (o, R) => t(I.volumeAll = Number(R))), this.val.defValTrg("sys:sn.sound.movie_volume", (o, R) => e(Number(R))), 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));
|
|
@@ -19714,7 +19736,7 @@ const Ca = class {
|
|
|
19714
19736
|
}
|
|
19715
19737
|
loadAheadSnd(t) {
|
|
19716
19738
|
[t.clickse, t.enterse, t.leavese].forEach((e) => {
|
|
19717
|
-
!e || I.exists(e) || ot(this,
|
|
19739
|
+
!e || I.exists(e) || ot(this, sn, ga).call(this, "", e, { preload: !0, autoPlay: !1 });
|
|
19718
19740
|
});
|
|
19719
19741
|
}
|
|
19720
19742
|
playLoopFromSaveObj() {
|
|
@@ -19744,20 +19766,20 @@ const Ca = class {
|
|
|
19744
19766
|
}
|
|
19745
19767
|
};
|
|
19746
19768
|
let SoundMng = Ca;
|
|
19747
|
-
be = new WeakMap(), De = new WeakMap(),
|
|
19769
|
+
be = new WeakMap(), De = new WeakMap(), Ei = new WeakMap(), Cu = new WeakSet(), nc = function(t) {
|
|
19748
19770
|
const { buf: e = "SE" } = t, o = "const.sn.sound." + e + ".volume", R = ot(this, hs, Xo).call(this, t, 1);
|
|
19749
|
-
return Number(this.val.getVal("sys:" + o)) === R ? !1 : (this.val.setVal_Nochk("sys", o, R), this.val.flush(), t.time = 0, t.volume = Number(this.val.getVal("save:" + o)), ot(this,
|
|
19771
|
+
return Number(this.val.getVal("sys:" + o)) === R ? !1 : (this.val.setVal_Nochk("sys", o, R), this.val.flush(), t.time = 0, t.volume = Number(this.val.getVal("save:" + o)), ot(this, nn, va).call(this, t));
|
|
19750
19772
|
}, hs = new WeakSet(), Xo = function(t, e) {
|
|
19751
19773
|
const o = argChk_Num(t, "volume", e);
|
|
19752
19774
|
return o < 0 ? 0 : o > 1 ? 1 : o;
|
|
19753
19775
|
}, Iu = new WeakSet(), sc = function(t) {
|
|
19754
19776
|
return t.volume = 0, ot(this, ka, lh).call(this, t);
|
|
19755
19777
|
}, wu = new WeakSet(), ac = function(t) {
|
|
19756
|
-
return t.volume = 0, ot(this,
|
|
19778
|
+
return t.volume = 0, ot(this, nn, va).call(this, t);
|
|
19757
19779
|
}, ka = new WeakSet(), lh = function(t) {
|
|
19758
|
-
return t.buf = "BGM", ot(this,
|
|
19759
|
-
},
|
|
19760
|
-
ot(this,
|
|
19780
|
+
return t.buf = "BGM", ot(this, nn, va).call(this, t);
|
|
19781
|
+
}, nn = new WeakSet(), va = function(t) {
|
|
19782
|
+
ot(this, an, ma).call(this, t);
|
|
19761
19783
|
const { buf: e = "SE" } = t, o = z(this, be)[e];
|
|
19762
19784
|
if (!(o != null && o.playing()) || !o.snd)
|
|
19763
19785
|
return !1;
|
|
@@ -19766,23 +19788,23 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
|
|
|
19766
19788
|
const M = N * Number(this.val.getVal("sys:" + R, 1)), D = argChk_Boolean(t, "stop", N === 0);
|
|
19767
19789
|
D && (ot(this, ps, qo).call(this, e), this.val.setVal_Nochk("save", "const.sn.sound." + e + ".fn", "")), this.val.flush();
|
|
19768
19790
|
const L = argChk_Num(t, "time", NaN), B = argChk_Num(t, "delay", 0);
|
|
19769
|
-
if (L === 0 && B === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this,
|
|
19770
|
-
return o.snd.volume = M, D && ot(this,
|
|
19791
|
+
if (L === 0 && B === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this, Ei).isSkippingByKeyDown())
|
|
19792
|
+
return o.snd.volume = M, D && ot(this, Or, gi).call(this, t), !1;
|
|
19771
19793
|
const $ = argChk_Num(t, "repeat", 1);
|
|
19772
19794
|
return o.twFade = new Tween({ v: o.snd.volume }).to({ v: M }, L).delay(B).easing(CmnTween.ease(t.ease)).repeat($ === 0 ? 1 / 0 : $ - 1).yoyo(argChk_Boolean(t, "yoyo", !1)).onUpdate((U) => {
|
|
19773
19795
|
o.playing() && (o.snd.volume = U.v);
|
|
19774
19796
|
}).onComplete(() => {
|
|
19775
19797
|
const U = z(this, be)[t.buf = o.now_buf];
|
|
19776
|
-
!(U != null && U.twFade) || (delete U.twFade, D && ot(this,
|
|
19798
|
+
!(U != null && U.twFade) || (delete U.twFade, D && ot(this, Or, gi).call(this, t), U.resumeFade && this.main.resume());
|
|
19777
19799
|
}).start(), !1;
|
|
19778
19800
|
}, Ga = new WeakSet(), hh = function(t) {
|
|
19779
19801
|
return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), ot(this, fs, Wo).call(this, t);
|
|
19780
19802
|
}, cs = new WeakMap(), fs = new WeakSet(), Wo = function(t) {
|
|
19781
19803
|
var q;
|
|
19782
19804
|
const { buf: e = "SE", fn: o } = t;
|
|
19783
|
-
if (ot(this,
|
|
19805
|
+
if (ot(this, Or, gi).call(this, { buf: e }), !o)
|
|
19784
19806
|
throw `[playse] fn\u306F\u5FC5\u9808\u3067\u3059 buf:${e}`;
|
|
19785
|
-
if (argChk_Boolean(t, "canskip", !0) && z(this,
|
|
19807
|
+
if (argChk_Boolean(t, "canskip", !0) && z(this, Ei).isSkippingByKeyDown())
|
|
19786
19808
|
return !1;
|
|
19787
19809
|
const R = argChk_Boolean(t, "loop", !1);
|
|
19788
19810
|
ot(this, Nu, cc).call(this, e, R);
|
|
@@ -19814,7 +19836,7 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
|
|
|
19814
19836
|
playing: () => !0,
|
|
19815
19837
|
onend: () => {
|
|
19816
19838
|
const Z = z(this, be)[t.buf = V.now_buf];
|
|
19817
|
-
!Z || (delete z(this, be)[t.buf], Z.playing = () => !1, ot(this,
|
|
19839
|
+
!Z || (delete z(this, be)[t.buf], Z.playing = () => !1, ot(this, an, ma).call(this, t), Z.resume && this.main.resume());
|
|
19818
19840
|
}
|
|
19819
19841
|
}, W = {
|
|
19820
19842
|
loop: R,
|
|
@@ -19881,13 +19903,13 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
|
|
|
19881
19903
|
};
|
|
19882
19904
|
if (Q.end < 0 && (Q.end += K, Z.removeSprites(J), Z.addSprites(J, Q)), Q.start >= K)
|
|
19883
19905
|
throw `[playse] ret_ms:${$} >= \u97F3\u58F0\u30D5\u30A1\u30A4\u30EB\u518D\u751F\u6642\u9593:${K} \u306F\u7570\u5E38\u5024\u3067\u3059`;
|
|
19884
|
-
ot(this,
|
|
19906
|
+
ot(this, sn, ga).call(this, e, o, tt);
|
|
19885
19907
|
}) : W.complete = () => {
|
|
19886
19908
|
var Z;
|
|
19887
19909
|
return (Z = z(this, be)[V.now_buf]) == null ? void 0 : Z.onend();
|
|
19888
19910
|
}, z(this, Ua).call(this), H) {
|
|
19889
19911
|
if (H.volume = D, X)
|
|
19890
|
-
ot(this,
|
|
19912
|
+
ot(this, sn, ga).call(this, e, o, W);
|
|
19891
19913
|
else if (H.isPlayable) {
|
|
19892
19914
|
const Z = H.options.source;
|
|
19893
19915
|
!(Z instanceof ArrayBuffer) || Z.byteLength === 0 ? H.play(W) : V.snd = A.from({
|
|
@@ -19905,8 +19927,8 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
|
|
|
19905
19927
|
Z == null || Z(K, J), this.main.resume();
|
|
19906
19928
|
};
|
|
19907
19929
|
}
|
|
19908
|
-
return ot(this,
|
|
19909
|
-
},
|
|
19930
|
+
return ot(this, sn, ga).call(this, e, o, W), Y;
|
|
19931
|
+
}, sn = new WeakSet(), ga = function(t, e, o) {
|
|
19910
19932
|
const R = this.cfg.searchPath(e, Config.EXT_SOUND);
|
|
19911
19933
|
if (R.slice(-4) !== ".bin") {
|
|
19912
19934
|
o.url = R;
|
|
@@ -19934,11 +19956,11 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
|
|
|
19934
19956
|
});
|
|
19935
19957
|
}, Ua = new WeakMap(), ds = new WeakSet(), Yo = function() {
|
|
19936
19958
|
for (const t in z(this, be))
|
|
19937
|
-
ot(this,
|
|
19959
|
+
ot(this, Or, gi).call(this, { buf: t });
|
|
19938
19960
|
return rt(this, be, {}), I.stopAll(), !1;
|
|
19939
19961
|
}, Ru = new WeakSet(), oc = function(t) {
|
|
19940
|
-
return t.buf = "BGM", ot(this,
|
|
19941
|
-
},
|
|
19962
|
+
return t.buf = "BGM", ot(this, Or, gi).call(this, t);
|
|
19963
|
+
}, Or = new WeakSet(), gi = function(t) {
|
|
19942
19964
|
var R;
|
|
19943
19965
|
const { buf: e = "SE" } = t;
|
|
19944
19966
|
ot(this, ps, qo).call(this, e);
|
|
@@ -19948,12 +19970,12 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
|
|
|
19948
19970
|
return t.buf = "BGM", ot(this, Ha, ch).call(this, t);
|
|
19949
19971
|
}, Ha = new WeakSet(), ch = function(t) {
|
|
19950
19972
|
const { buf: e = "SE" } = t, o = z(this, be)[e];
|
|
19951
|
-
return !(o != null && o.twFade) || !o.playing() ? !1 : o.resumeFade = z(this,
|
|
19952
|
-
() => ot(this,
|
|
19973
|
+
return !(o != null && o.twFade) || !o.playing() ? !1 : o.resumeFade = z(this, Ei).waitEvent(
|
|
19974
|
+
() => ot(this, an, ma).call(this, t),
|
|
19953
19975
|
argChk_Boolean(t, "canskip", !0),
|
|
19954
19976
|
argChk_Boolean(t, "global", !1)
|
|
19955
19977
|
);
|
|
19956
|
-
},
|
|
19978
|
+
}, an = new WeakSet(), ma = function(t) {
|
|
19957
19979
|
var o, R;
|
|
19958
19980
|
const { buf: e = "SE" } = t;
|
|
19959
19981
|
return (R = (o = z(this, be)[e]) == null ? void 0 : o.twFade) == null || R.stop().end(), !1;
|
|
@@ -19961,9 +19983,9 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
|
|
|
19961
19983
|
return t.buf = "BGM", ot(this, za, fh).call(this, t);
|
|
19962
19984
|
}, za = new WeakSet(), fh = function(t) {
|
|
19963
19985
|
const { buf: e = "SE" } = t, o = z(this, be)[e];
|
|
19964
|
-
return !(o != null && o.playing()) || o.loop ? !1 : o.resume = z(this,
|
|
19986
|
+
return !(o != null && o.playing()) || o.loop ? !1 : o.resume = z(this, Ei).waitEvent(
|
|
19965
19987
|
() => {
|
|
19966
|
-
t.buf = o.now_buf, ot(this,
|
|
19988
|
+
t.buf = o.now_buf, ot(this, Or, gi).call(this, t);
|
|
19967
19989
|
const R = z(this, be)[t.buf];
|
|
19968
19990
|
!(R != null && R.playing()) || R.loop || R.onend();
|
|
19969
19991
|
},
|
|
@@ -20026,7 +20048,7 @@ const $h = class {
|
|
|
20026
20048
|
let Pages = $h;
|
|
20027
20049
|
ue = new WeakMap();
|
|
20028
20050
|
var Mu, Du;
|
|
20029
|
-
const
|
|
20051
|
+
const mi = class {
|
|
20030
20052
|
constructor() {
|
|
20031
20053
|
this.layname = "", this.name_ = "", this.spLay = new Sprite(Texture.EMPTY);
|
|
20032
20054
|
}
|
|
@@ -20081,7 +20103,7 @@ const _i = class {
|
|
|
20081
20103
|
destroy() {
|
|
20082
20104
|
}
|
|
20083
20105
|
lay(t) {
|
|
20084
|
-
return "alpha" in t && (this.spLay.alpha = argChk_Num(t, "alpha", 1)),
|
|
20106
|
+
return "alpha" in t && (this.spLay.alpha = argChk_Num(t, "alpha", 1)), mi.setBlendmode(this.spLay, t), ("pivot_x" in t || "pivot_y" in t) && this.spLay.pivot.set(
|
|
20085
20107
|
argChk_Num(t, "pivot_x", this.spLay.pivot.x),
|
|
20086
20108
|
argChk_Num(t, "pivot_y", this.spLay.pivot.y)
|
|
20087
20109
|
), "rotation" in t && (this.spLay.angle = argChk_Num(t, "rotation", 0)), ("scale_x" in t || "scale_y" in t) && this.spLay.scale.set(
|
|
@@ -20093,7 +20115,7 @@ const _i = class {
|
|
|
20093
20115
|
const { blendmode: o } = e;
|
|
20094
20116
|
if (!o)
|
|
20095
20117
|
return;
|
|
20096
|
-
const R =
|
|
20118
|
+
const R = mi.getBlendmodeNum(o);
|
|
20097
20119
|
t instanceof Sprite && (t.blendMode = R), t.children.forEach((N) => {
|
|
20098
20120
|
N instanceof Sprite && (N.blendMode = R);
|
|
20099
20121
|
});
|
|
@@ -20101,14 +20123,14 @@ const _i = class {
|
|
|
20101
20123
|
static getBlendmodeNum(t) {
|
|
20102
20124
|
if (!t)
|
|
20103
20125
|
return BLEND_MODES$5.NORMAL;
|
|
20104
|
-
const e = z(
|
|
20126
|
+
const e = z(mi, Mu)[t];
|
|
20105
20127
|
if (e !== void 0)
|
|
20106
20128
|
return e;
|
|
20107
20129
|
throw `${t} \u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u306A\u3044 blendmode \u3067\u3059`;
|
|
20108
20130
|
}
|
|
20109
20131
|
static getNum2Blendmode(t) {
|
|
20110
20132
|
var e;
|
|
20111
|
-
return (e = z(
|
|
20133
|
+
return (e = z(mi, Du)[t]) != null ? e : "normal";
|
|
20112
20134
|
}
|
|
20113
20135
|
get containMovement() {
|
|
20114
20136
|
return !1;
|
|
@@ -20165,14 +20187,14 @@ const _i = class {
|
|
|
20165
20187
|
}
|
|
20166
20188
|
static setXY(t, e, o, R = !1, N = !1) {
|
|
20167
20189
|
if (e.pos) {
|
|
20168
|
-
|
|
20190
|
+
mi.setXYByPos(t, e.pos, o);
|
|
20169
20191
|
return;
|
|
20170
20192
|
}
|
|
20171
20193
|
const M = t.getBounds(), D = o.scale.x < 0 ? -o.scale.x : o.scale.x, L = D === 1 ? M.width : M.width * D, B = o.scale.y < 0 ? -o.scale.y : o.scale.y, $ = B === 1 ? M.height : M.height * B;
|
|
20172
20194
|
let U = o.x;
|
|
20173
20195
|
"left" in e ? (U = argChk_Num(e, "left", 0), U > -1 && U < 1 && (U *= CmnLib.stageW)) : "center" in e ? (U = argChk_Num(e, "center", 0), U > -1 && U < 1 && (U *= CmnLib.stageW), U = U - (N ? L / 3 : L) / 2) : "right" in e ? (U = argChk_Num(e, "right", 0), U > -1 && U < 1 && (U *= CmnLib.stageW), U = U - (N ? L / 3 : L)) : "s_right" in e && (U = argChk_Num(e, "s_right", 0), U > -1 && U < 1 && (U *= CmnLib.stageW), U = CmnLib.stageW - U - (N ? L / 3 : L)), o.x = int(o.scale.x < 0 ? U + (N ? L / 3 : L) : U);
|
|
20174
20196
|
let H = o.y;
|
|
20175
|
-
"top" in e ? (H = argChk_Num(e, "top", 0), H > -1 && H < 1 && (H *= CmnLib.stageH)) : "middle" in e ? (H = argChk_Num(e, "middle", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = H - $ / 2) : "bottom" in e ? (H = argChk_Num(e, "bottom", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = H - $) : "s_bottom" in e && (H = argChk_Num(e, "s_bottom", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = CmnLib.stageH - H - $), o.y = int(o.scale.y < 0 ? H + $ : H), R && !("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) &&
|
|
20197
|
+
"top" in e ? (H = argChk_Num(e, "top", 0), H > -1 && H < 1 && (H *= CmnLib.stageH)) : "middle" in e ? (H = argChk_Num(e, "middle", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = H - $ / 2) : "bottom" in e ? (H = argChk_Num(e, "bottom", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = H - $) : "s_bottom" in e && (H = argChk_Num(e, "s_bottom", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = CmnLib.stageH - H - $), o.y = int(o.scale.y < 0 ? H + $ : H), R && !("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) && mi.setXYByPos(t, "c", o);
|
|
20176
20198
|
}
|
|
20177
20199
|
static setXYByPos(t, e, o) {
|
|
20178
20200
|
if (e === "stay")
|
|
@@ -20190,7 +20212,7 @@ const _i = class {
|
|
|
20190
20212
|
t.x = (CmnLib.stageW - e.width) * 0.5, t.y = (CmnLib.stageH - e.height) * 0.5;
|
|
20191
20213
|
}
|
|
20192
20214
|
};
|
|
20193
|
-
let Layer =
|
|
20215
|
+
let Layer = mi;
|
|
20194
20216
|
Mu = new WeakMap(), Du = new WeakMap(), it(Layer, Mu, {
|
|
20195
20217
|
normal: BLEND_MODES$5.NORMAL,
|
|
20196
20218
|
add: BLEND_MODES$5.ADD,
|
|
@@ -20202,10 +20224,10 @@ Mu = new WeakMap(), Du = new WeakMap(), it(Layer, Mu, {
|
|
|
20202
20224
|
2: "multiply",
|
|
20203
20225
|
3: "screen"
|
|
20204
20226
|
});
|
|
20205
|
-
var
|
|
20227
|
+
var xi;
|
|
20206
20228
|
class EventListenerCtn {
|
|
20207
20229
|
constructor() {
|
|
20208
|
-
it(this,
|
|
20230
|
+
it(this, xi, []);
|
|
20209
20231
|
}
|
|
20210
20232
|
add(t, e, o, R = {}) {
|
|
20211
20233
|
if (t instanceof BaseTexture) {
|
|
@@ -20214,25 +20236,25 @@ class EventListenerCtn {
|
|
|
20214
20236
|
case "update":
|
|
20215
20237
|
case "error":
|
|
20216
20238
|
case "dispose":
|
|
20217
|
-
t.on(e, o, R), z(this,
|
|
20239
|
+
t.on(e, o, R), z(this, xi).push(() => t.off(e, o, R));
|
|
20218
20240
|
break;
|
|
20219
20241
|
}
|
|
20220
20242
|
return;
|
|
20221
20243
|
}
|
|
20222
20244
|
if (t instanceof EventEmitter$4) {
|
|
20223
|
-
t.on(e, o, R), z(this,
|
|
20245
|
+
t.on(e, o, R), z(this, xi).push(() => t.off(e, o, R));
|
|
20224
20246
|
return;
|
|
20225
20247
|
}
|
|
20226
|
-
t.addEventListener(e, o, R), z(this,
|
|
20248
|
+
t.addEventListener(e, o, R), z(this, xi).push(() => {
|
|
20227
20249
|
var N;
|
|
20228
20250
|
return t.removeEventListener(e, o, { capture: (N = R.capture) != null ? N : !1 });
|
|
20229
20251
|
});
|
|
20230
20252
|
}
|
|
20231
20253
|
clear() {
|
|
20232
|
-
z(this,
|
|
20254
|
+
z(this, xi).forEach((t) => t()), rt(this, xi, []);
|
|
20233
20255
|
}
|
|
20234
20256
|
}
|
|
20235
|
-
|
|
20257
|
+
xi = new WeakMap();
|
|
20236
20258
|
function prefixNames(n) {
|
|
20237
20259
|
for (var t = [], e = 1; e < arguments.length; e++)
|
|
20238
20260
|
t[e - 1] = arguments[e];
|
|
@@ -29679,22 +29701,22 @@ __privateAdd$2(DesignCast, _ID_DESIGNMODE, "DesignMode");
|
|
|
29679
29701
|
__privateAdd$2(DesignCast, _cntDesignCast, 0);
|
|
29680
29702
|
__privateAdd$2(DesignCast, _hId2dc, {});
|
|
29681
29703
|
__privateAdd$2(DesignCast, _aDC, []);
|
|
29682
|
-
var
|
|
29704
|
+
var Ti;
|
|
29683
29705
|
class GrpLayDesignCast extends DesignCast {
|
|
29684
29706
|
constructor(e, o) {
|
|
29685
29707
|
super("#29e", !0);
|
|
29686
|
-
it(this,
|
|
29708
|
+
it(this, Ti, void 0);
|
|
29687
29709
|
this.spLay = e, this.gl = o, this.oldFn = () => {
|
|
29688
29710
|
var R;
|
|
29689
29711
|
return (R = this.hArg.fn) != null ? R : "";
|
|
29690
29712
|
};
|
|
29691
29713
|
}
|
|
29692
29714
|
setSp(e) {
|
|
29693
|
-
rt(this,
|
|
29715
|
+
rt(this, Ti, e);
|
|
29694
29716
|
}
|
|
29695
29717
|
getRect() {
|
|
29696
29718
|
var e, o, R, N;
|
|
29697
|
-
return new Rectangle(this.spLay.x, this.spLay.y, (o = (e = z(this,
|
|
29719
|
+
return new Rectangle(this.spLay.x, this.spLay.y, (o = (e = z(this, Ti)) == null ? void 0 : e.width) != null ? o : 0, (N = (R = z(this, Ti)) == null ? void 0 : R.height) != null ? N : 0);
|
|
29698
29720
|
}
|
|
29699
29721
|
cnvPosArg(e, o) {
|
|
29700
29722
|
return { left: e, top: o };
|
|
@@ -29706,7 +29728,7 @@ class GrpLayDesignCast extends DesignCast {
|
|
|
29706
29728
|
this.spLay.x = e, this.spLay.y = o;
|
|
29707
29729
|
}
|
|
29708
29730
|
setSize(e, o) {
|
|
29709
|
-
z(this,
|
|
29731
|
+
z(this, Ti).width = e, z(this, Ti).height = o;
|
|
29710
29732
|
}
|
|
29711
29733
|
setOther(e) {
|
|
29712
29734
|
var o;
|
|
@@ -29717,7 +29739,7 @@ class GrpLayDesignCast extends DesignCast {
|
|
|
29717
29739
|
this.spLay.pivot.copyFrom(this.pivot), this.spLay.scale.copyFrom(this.scale), this.spLay.angle = this.rotation;
|
|
29718
29740
|
}
|
|
29719
29741
|
}
|
|
29720
|
-
|
|
29742
|
+
Ti = new WeakMap();
|
|
29721
29743
|
class TxtLayDesignCast extends DesignCast {
|
|
29722
29744
|
constructor(t, e) {
|
|
29723
29745
|
super("#29e", !0), this.spLay = t, this.ts = e, this.hDesignArg = {
|
|
@@ -30291,7 +30313,7 @@ __privateAdd$1(GrpLayer, _dec2cache, (n, t, e) => {
|
|
|
30291
30313
|
GrpLayer.hFn2VElm = {};
|
|
30292
30314
|
__privateAdd$1(GrpLayer, _hAEncImg, {});
|
|
30293
30315
|
__privateAdd$1(GrpLayer, _hEncImgOUrl, {});
|
|
30294
|
-
var vs, Va,
|
|
30316
|
+
var vs, Va, un, se, Nr, Zr, er, Si, zt, Kr, mr, yr, gs, Zo, br, Mr, Xa, _s, Wa, Lu, fc, ln, ms, hn, cn, fn, dn, ys, Fu, Jr, Ya, ph, Qr, qa, ti, Dr, Za, Ka, vh, Ci, pn, Ja, gh, hr;
|
|
30295
30317
|
const Wt = class extends Container {
|
|
30296
30318
|
constructor(e, o, R) {
|
|
30297
30319
|
super();
|
|
@@ -30301,10 +30323,10 @@ const Wt = class extends Container {
|
|
|
30301
30323
|
it(this, Ka);
|
|
30302
30324
|
it(this, Ja);
|
|
30303
30325
|
it(this, se, document.createElement("span"));
|
|
30304
|
-
it(this,
|
|
30326
|
+
it(this, Nr, new Container());
|
|
30305
30327
|
it(this, Zr, new Graphics());
|
|
30306
30328
|
it(this, er, new TxtLayDesignCast(this.spLay, this));
|
|
30307
|
-
it(this,
|
|
30329
|
+
it(this, Si, new TxtLayPadDesignCast(this));
|
|
30308
30330
|
it(this, zt, {
|
|
30309
30331
|
fontsize: 24,
|
|
30310
30332
|
$width: 0,
|
|
@@ -30318,26 +30340,26 @@ const Wt = class extends Container {
|
|
|
30318
30340
|
it(this, mr, 0);
|
|
30319
30341
|
it(this, yr, 0);
|
|
30320
30342
|
it(this, br, 0);
|
|
30321
|
-
it(this,
|
|
30343
|
+
it(this, Mr, !1);
|
|
30322
30344
|
it(this, Xa, 0);
|
|
30323
30345
|
it(this, _s, 0);
|
|
30324
|
-
it(this,
|
|
30346
|
+
it(this, ln, void 0);
|
|
30325
30347
|
it(this, ms, []);
|
|
30326
|
-
it(this,
|
|
30327
|
-
it(this,
|
|
30348
|
+
it(this, hn, []);
|
|
30349
|
+
it(this, cn, 0);
|
|
30328
30350
|
it(this, Fu, /animation\-duration: (?<ms>\d+)ms;/);
|
|
30329
30351
|
it(this, Jr, () => !1);
|
|
30330
30352
|
it(this, Za, 0);
|
|
30331
|
-
it(this,
|
|
30332
|
-
it(this,
|
|
30353
|
+
it(this, Ci, "Quadratic.Out");
|
|
30354
|
+
it(this, pn, "Quadratic.Out");
|
|
30333
30355
|
it(this, hr, void 0);
|
|
30334
|
-
this.spLay = e, this.canFocus = o, this.sys = R, z(this, se).classList.add("sn_tx"), z(this, se).style.position = "absolute", z(Wt, Va).view.parentElement.appendChild(z(this, se)), this.addChild(z(this,
|
|
30356
|
+
this.spLay = e, this.canFocus = o, this.sys = R, z(this, se).classList.add("sn_tx"), z(this, se).style.position = "absolute", z(Wt, Va).view.parentElement.appendChild(z(this, se)), this.addChild(z(this, Nr)), this.addChild(z(this, Zr)), z(this, Zr).name = "grpDbgMasume", z(this, er).adopt(z(this, Si));
|
|
30335
30357
|
}
|
|
30336
30358
|
static init(e, o) {
|
|
30337
|
-
rt(Wt, vs, e), rt(Wt, Va, o), rt(Wt,
|
|
30359
|
+
rt(Wt, vs, e), rt(Wt, Va, o), rt(Wt, fn, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), rt(Wt, dn, /[[({〈「『【〔“〝]/), rt(Wt, ys, /[─‥…]/);
|
|
30338
30360
|
}
|
|
30339
30361
|
static setEvtMng(e) {
|
|
30340
|
-
rt(Wt,
|
|
30362
|
+
rt(Wt, un, e);
|
|
30341
30363
|
}
|
|
30342
30364
|
static destroy() {
|
|
30343
30365
|
rt(Wt, Wa, {
|
|
@@ -30350,7 +30372,7 @@ const Wt = class extends Container {
|
|
|
30350
30372
|
marginLeft: 0,
|
|
30351
30373
|
marginRight: 0,
|
|
30352
30374
|
marginTop: 0
|
|
30353
|
-
}), rt(Wt, Qr, /* @__PURE__ */ Object.create(null)), rt(Wt, ti, /* @__PURE__ */ Object.create(null)), rt(Wt,
|
|
30375
|
+
}), rt(Wt, Qr, /* @__PURE__ */ Object.create(null)), rt(Wt, ti, /* @__PURE__ */ Object.create(null)), rt(Wt, Dr, new Container());
|
|
30354
30376
|
}
|
|
30355
30377
|
lay(e) {
|
|
30356
30378
|
var R, N, M, D, L, B, $, U;
|
|
@@ -30370,9 +30392,9 @@ const Wt = class extends Container {
|
|
|
30370
30392
|
!H.style.opacity && "alpha" in e && (o.opacity = String(this.spLay.alpha));
|
|
30371
30393
|
} else
|
|
30372
30394
|
"alpha" in e && (o.opacity = String(this.spLay.alpha));
|
|
30373
|
-
if ("width" in e && (o.width = ((R = e.width) != null ? R : "0") + "px"), "height" in e && (o.height = ((N = e.height) != null ? N : "0") + "px"), "pl" in e && (o.paddingLeft = ((M = e.pl) != null ? M : "0") + "px"), "pr" in e && (o.paddingRight = ((D = e.pr) != null ? D : "0") + "px"), "pt" in e && (o.paddingTop = ((L = e.pt) != null ? L : "0") + "px"), "pb" in e && (o.paddingBottom = ((B = e.pb) != null ? B : "0") + "px"), "kinsoku_sol" in e && rt(Wt,
|
|
30395
|
+
if ("width" in e && (o.width = ((R = e.width) != null ? R : "0") + "px"), "height" in e && (o.height = ((N = e.height) != null ? N : "0") + "px"), "pl" in e && (o.paddingLeft = ((M = e.pl) != null ? M : "0") + "px"), "pr" in e && (o.paddingRight = ((D = e.pr) != null ? D : "0") + "px"), "pt" in e && (o.paddingTop = ((L = e.pt) != null ? L : "0") + "px"), "pb" in e && (o.paddingBottom = ((B = e.pb) != null ? B : "0") + "px"), "kinsoku_sol" in e && rt(Wt, fn, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && rt(Wt, dn, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && rt(Wt, ys, new RegExp(`[${e.kinsoku_dns}]`)), ot(this, gs, Zo).call(this), z(this, er).sethArg(e), rt(this, br, this.spLay.position.x), o.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), o.display = this.spLay.visible ? "inline" : "none", o.textShadow = (U = ($ = e.filter) != null ? $ : o.textShadow) != null ? U : "", rt(this, Kr, argChk_Boolean(e, "break_fixed", z(this, Kr))), rt(this, mr, argChk_Num(e, "break_fixed_left", z(this, mr))), rt(this, yr, argChk_Num(e, "break_fixed_top", z(this, yr))), ":redraw" in e && z(this, cn) > 0) {
|
|
30374
30396
|
const H = [
|
|
30375
|
-
z(this, se).innerHTML.
|
|
30397
|
+
z(this, se).innerHTML.replaceAll(/(animation-delay: )\d+ms/g, "$10ms"),
|
|
30376
30398
|
`<span class='sn_ch' data-add='{"ch_in_style":"default"}'>\u3000</span>`
|
|
30377
30399
|
];
|
|
30378
30400
|
ot(this, Ja, gh).call(this), this.goTxt(H);
|
|
@@ -30380,10 +30402,10 @@ const Wt = class extends Container {
|
|
|
30380
30402
|
}
|
|
30381
30403
|
cvsResize() {
|
|
30382
30404
|
const e = z(this, se).style;
|
|
30383
|
-
e.left = `${this.sys.ofsLeft4elm + z(this, br) * this.sys.cvsScale}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * this.sys.cvsScale}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * this.sys.cvsScale}, ${this.spLay.scale.y * this.sys.cvsScale})`, z(this, er).cvsResize(), z(this,
|
|
30405
|
+
e.left = `${this.sys.ofsLeft4elm + z(this, br) * this.sys.cvsScale}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * this.sys.cvsScale}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * this.sys.cvsScale}, ${this.spLay.scale.y * this.sys.cvsScale})`, z(this, er).cvsResize(), z(this, Si).cvsResize();
|
|
30384
30406
|
}
|
|
30385
30407
|
get tategaki() {
|
|
30386
|
-
return z(this,
|
|
30408
|
+
return z(this, Mr);
|
|
30387
30409
|
}
|
|
30388
30410
|
get infTL() {
|
|
30389
30411
|
return z(this, zt);
|
|
@@ -30399,17 +30421,17 @@ const Wt = class extends Container {
|
|
|
30399
30421
|
}
|
|
30400
30422
|
goTxt(e) {
|
|
30401
30423
|
var Y, q, Z, K, J, tt, Q, st;
|
|
30402
|
-
z(Wt,
|
|
30403
|
-
const o = z(this,
|
|
30424
|
+
z(Wt, Dr).visible = !1;
|
|
30425
|
+
const o = z(this, hn).length;
|
|
30404
30426
|
o === 0 ? (z(Wt, vs).oCfg.debug.masume && (CmnLib.debugLog && console.log(`\u{1F34C} masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${z(this, zt).pad_left} pr:${z(this, zt).pad_right} pt:${z(this, zt).pad_top} pb:${z(this, zt).pad_bottom} w:${z(this, zt).$width} h:${z(this, zt).$height}`), z(this, Zr).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-z(this, zt).pad_left, -z(this, zt).pad_top, z(this, zt).$width, z(this, zt).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
|
|
30405
30427
|
0,
|
|
30406
30428
|
0,
|
|
30407
30429
|
z(this, zt).$width - z(this, zt).pad_left - z(this, zt).pad_right,
|
|
30408
30430
|
z(this, zt).$height - z(this, zt).pad_top - z(this, zt).pad_bottom
|
|
30409
|
-
).endFill()), z(this, se).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "")) : z(this, se).insertAdjacentHTML("beforeend", e.slice(z(this,
|
|
30431
|
+
).endFill()), z(this, se).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "")) : z(this, se).insertAdjacentHTML("beforeend", e.slice(z(this, cn)).join("").replaceAll(/[\n\t]/g, "")), rt(this, cn, e.length);
|
|
30410
30432
|
let R = 0, N = 2;
|
|
30411
30433
|
do {
|
|
30412
|
-
const et = rt(this,
|
|
30434
|
+
const et = rt(this, hn, ot(this, Ka, vh).call(this, z(this, se)));
|
|
30413
30435
|
if (R = et.length, this.sys.cvsScale !== 1) {
|
|
30414
30436
|
const at = this.sys.ofsPadLeft_Dom2PIXI + parseFloat(z(this, se).style.left) * (1 - this.sys.cvsScale), ct = this.sys.ofsPadTop_Dom2PIXI + parseFloat(z(this, se).style.top) * (1 - this.sys.cvsScale);
|
|
30415
30437
|
for (let lt = 0; lt < R; ++lt) {
|
|
@@ -30434,14 +30456,14 @@ const Wt = class extends Container {
|
|
|
30434
30456
|
if (z(Wt, ys).test(et[N - 1].ch) && et[N - 1].ch === at.ch)
|
|
30435
30457
|
--N;
|
|
30436
30458
|
else {
|
|
30437
|
-
if (z(Wt,
|
|
30459
|
+
if (z(Wt, dn).test(et[N - 1].ch))
|
|
30438
30460
|
--N;
|
|
30439
|
-
else if (z(Wt,
|
|
30440
|
-
for (; N > 0 && z(Wt,
|
|
30461
|
+
else if (z(Wt, fn).test(at.ch))
|
|
30462
|
+
for (; N > 0 && z(Wt, fn).test(et[--N].ch); )
|
|
30441
30463
|
;
|
|
30442
30464
|
else
|
|
30443
30465
|
continue;
|
|
30444
|
-
for (; N > 0 && z(Wt,
|
|
30466
|
+
for (; N > 0 && z(Wt, dn).test(et[N - 1].ch); )
|
|
30445
30467
|
--N;
|
|
30446
30468
|
}
|
|
30447
30469
|
const dt = et[N].elm.parentElement, mt = document.createElement("br");
|
|
@@ -30459,13 +30481,13 @@ const Wt = class extends Container {
|
|
|
30459
30481
|
}, D = z(Wt, vs).oCfg.debug.masume ? (et, nt) => {
|
|
30460
30482
|
M(et, nt), z(this, Zr).beginFill(6737151, 0.5).lineStyle(2, 16724736, 1).drawRect(nt.x, nt.y, nt.width, nt.height).endFill();
|
|
30461
30483
|
} : () => {
|
|
30462
|
-
}, L = CmnTween.ease(z(this,
|
|
30484
|
+
}, L = CmnTween.ease(z(this, Ci)), B = z(this, se).getBoundingClientRect(), $ = B.left + globalThis.scrollX + z(this, zt).pad_left, U = B.top + globalThis.scrollY + z(this, zt).pad_top;
|
|
30463
30485
|
let H = new Rectangle();
|
|
30464
30486
|
for (let et = o; et < R; ++et) {
|
|
30465
|
-
const nt = z(this,
|
|
30466
|
-
if (at.x -= $, at.y -= U, D(nt, at), dt && (z(this,
|
|
30487
|
+
const nt = z(this, hn)[et], at = nt.rect, ct = JSON.parse((Z = nt.arg) != null ? Z : '{"delay": 0}'), lt = JSON.parse((K = nt.add) != null ? K : "{}"), dt = z(Wt, Qr)[lt.ch_in_style];
|
|
30488
|
+
if (at.x -= $, at.y -= U, D(nt, at), dt && (z(this, Mr) ? (at.x += (at.width - at.height) / 2, at.width = at.height) : (at.y += (at.height - at.width) / 2, at.height = at.width), H = at), nt.cmd === "grp") {
|
|
30467
30489
|
const mt = new Container();
|
|
30468
|
-
z(this,
|
|
30490
|
+
z(this, Nr).addChild(mt), GrpLayer.csv2Sprites(ct.pic, mt, (vt) => {
|
|
30469
30491
|
ot(this, Ya, ph).call(this, mt, ct, lt, at, L, dt != null ? dt : {}), mt.parent || mt.removeChild(vt);
|
|
30470
30492
|
});
|
|
30471
30493
|
}
|
|
@@ -30477,20 +30499,20 @@ const Wt = class extends Container {
|
|
|
30477
30499
|
const Tt = (tt = vt.style) != null ? tt : "", Ft = Tt + ((Q = vt.style_hover) != null ? Q : ""), bt = Tt + ((st = vt.style_clicked) != null ? st : ""), ft = mt.style.cssText, _t = (Pt) => {
|
|
30478
30500
|
!Pt || (mt.style.cssText = ft + Pt);
|
|
30479
30501
|
};
|
|
30480
|
-
mt.querySelectorAll(".sn_ch").forEach((Pt) => Pt.dataset.st_bk = Pt.style.cssText), z(Wt,
|
|
30502
|
+
mt.querySelectorAll(".sn_ch").forEach((Pt) => Pt.dataset.st_bk = Pt.style.cssText), z(Wt, un).button(
|
|
30481
30503
|
vt,
|
|
30482
30504
|
gt,
|
|
30483
30505
|
() => _t(Tt),
|
|
30484
30506
|
() => this.canFocus() ? (_t(Ft), !0) : !1,
|
|
30485
30507
|
() => _t(bt)
|
|
30486
|
-
), z(this,
|
|
30508
|
+
), z(this, Nr).addChild(gt);
|
|
30487
30509
|
}
|
|
30488
30510
|
}
|
|
30489
30511
|
const V = z(this, se).querySelectorAll("span.sn_ch");
|
|
30490
|
-
V.forEach((et) => et.className = et.className.replace(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1")), rt(this, Jr, () => (rt(this, Jr, () => !1), V.forEach((et) => et.className = et.className.replace(/ go_ch_in_[^\s"]+/g, "")), o !== R && (rt(this, mr, H.x + (z(this,
|
|
30512
|
+
V.forEach((et) => et.className = et.className.replace(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1")), rt(this, Jr, () => (rt(this, Jr, () => !1), V.forEach((et) => et.className = et.className.replace(/ go_ch_in_[^\s"]+/g, "")), o !== R && (rt(this, mr, H.x + (z(this, Mr) ? 0 : H.width)), rt(this, yr, H.y + (z(this, Mr) ? H.height : 0))), z(Wt, Dr).position.set(
|
|
30491
30513
|
z(this, mr),
|
|
30492
30514
|
z(this, yr)
|
|
30493
|
-
), z(Wt,
|
|
30515
|
+
), z(Wt, Dr).visible = !0, z(Wt, un).noticeCompTxt(), !0));
|
|
30494
30516
|
const W = V.length;
|
|
30495
30517
|
if (W === 0) {
|
|
30496
30518
|
z(this, Jr).call(this);
|
|
@@ -30582,20 +30604,20 @@ const Wt = class extends Container {
|
|
|
30582
30604
|
};
|
|
30583
30605
|
}
|
|
30584
30606
|
dispBreak(e) {
|
|
30585
|
-
const o = z(Wt,
|
|
30607
|
+
const o = z(Wt, Dr);
|
|
30586
30608
|
o.visible = !1, this.addChild(o), GrpLayer.csv2Sprites(e, o, (R) => {
|
|
30587
30609
|
o.parent || o.removeChild(R);
|
|
30588
30610
|
});
|
|
30589
30611
|
}
|
|
30590
30612
|
static delBreak() {
|
|
30591
|
-
const e = z(Wt,
|
|
30592
|
-
e.parent && (e.parent.removeChild(e), e.removeChildren()), rt(Wt,
|
|
30613
|
+
const e = z(Wt, Dr);
|
|
30614
|
+
e.parent && (e.parent.removeChild(e), e.removeChildren()), rt(Wt, Dr, new Container());
|
|
30593
30615
|
}
|
|
30594
30616
|
reNew() {
|
|
30595
30617
|
var o;
|
|
30596
30618
|
ot(this, Ja, gh).call(this);
|
|
30597
30619
|
const e = new Wt(this.spLay, () => this.canFocus(), this.sys);
|
|
30598
|
-
return rt(e, zt, z(this, zt)), z(e, se).style.cssText = z(this, se).style.cssText, rt(e, br, z(this, br)), e.name = this.name, ot(o = e, gs, Zo).call(o), z(e, er).sethArg(z(this, er).gethArg()), rt(e,
|
|
30620
|
+
return rt(e, zt, z(this, zt)), z(e, se).style.cssText = z(this, se).style.cssText, rt(e, br, z(this, br)), e.name = this.name, ot(o = e, gs, Zo).call(o), z(e, er).sethArg(z(this, er).gethArg()), rt(e, ln, z(this, ln)), rt(e, Ci, z(this, Ci)), rt(e, pn, z(this, pn)), rt(e, Kr, z(this, Kr)), rt(e, mr, z(this, mr)), rt(e, yr, z(this, yr)), this.destroy(), e;
|
|
30599
30621
|
}
|
|
30600
30622
|
record() {
|
|
30601
30623
|
return {
|
|
@@ -30603,9 +30625,9 @@ const Wt = class extends Container {
|
|
|
30603
30625
|
cssText: z(this, se).style.cssText,
|
|
30604
30626
|
left: z(this, br),
|
|
30605
30627
|
idc_hArg: z(this, er).gethArg(),
|
|
30606
|
-
ch_filter: z(this,
|
|
30607
|
-
fi_easing: z(this,
|
|
30608
|
-
fo_easing: z(this,
|
|
30628
|
+
ch_filter: z(this, ln),
|
|
30629
|
+
fi_easing: z(this, Ci),
|
|
30630
|
+
fo_easing: z(this, pn),
|
|
30609
30631
|
break_fixed: z(this, Kr),
|
|
30610
30632
|
break_fixed_left: z(this, mr),
|
|
30611
30633
|
break_fixed_top: z(this, yr)
|
|
@@ -30613,23 +30635,23 @@ const Wt = class extends Container {
|
|
|
30613
30635
|
}
|
|
30614
30636
|
playback(e) {
|
|
30615
30637
|
var o, R, N;
|
|
30616
|
-
rt(this, zt, e.infTL), this.position.set(z(this, zt).pad_left, z(this, zt).pad_top), z(this, se).style.cssText = e.cssText, rt(this, br, e.left), ot(this, gs, Zo).call(this), z(this, er).sethArg(e.idc_hArg), rt(this,
|
|
30638
|
+
rt(this, zt, e.infTL), this.position.set(z(this, zt).pad_left, z(this, zt).pad_top), z(this, se).style.cssText = e.cssText, rt(this, br, e.left), ot(this, gs, Zo).call(this), z(this, er).sethArg(e.idc_hArg), rt(this, ln, e.ch_filter), rt(this, Ci, e.fi_easing), rt(this, pn, e.fo_easing), rt(this, Kr, (o = e.break_fixed) != null ? o : !1), rt(this, mr, (R = e.break_fixed_left) != null ? R : 0), rt(this, yr, (N = e.break_fixed_top) != null ? N : 0);
|
|
30617
30639
|
}
|
|
30618
30640
|
snapshot(e, o) {
|
|
30619
30641
|
ot(this, Lu, fc).call(this, (R) => {
|
|
30620
|
-
rt(this, hr, new Sprite(R)), z(this,
|
|
30642
|
+
rt(this, hr, new Sprite(R)), z(this, Mr) && (z(this, hr).x += CmnLib.stageW - (z(this, br) + z(this, zt).$width)), z(this, hr).y -= z(this, _s), z(this, hr).texture.frame = new Rectangle(0, 0, z(this, zt).$width - z(this, br), z(this, zt).$height), z(this, Nr).addChild(z(this, hr)), e.render(z(this, hr), void 0, !1), o();
|
|
30621
30643
|
}, !1);
|
|
30622
30644
|
}
|
|
30623
30645
|
snapshot_end() {
|
|
30624
|
-
z(this, hr) && (z(this,
|
|
30646
|
+
z(this, hr) && (z(this, Nr).removeChild(z(this, hr)), rt(this, hr, void 0));
|
|
30625
30647
|
}
|
|
30626
30648
|
makeDesignCast(e) {
|
|
30627
30649
|
e(z(this, er));
|
|
30628
30650
|
const o = z(this, er).gethArg();
|
|
30629
|
-
z(this,
|
|
30651
|
+
z(this, Si).sethArg({ ...o, ":id_dc": o[":id_tag"] + "_pad" }), e(z(this, Si));
|
|
30630
30652
|
}
|
|
30631
30653
|
showDesignCast() {
|
|
30632
|
-
z(this, er).visible = !0, z(this,
|
|
30654
|
+
z(this, er).visible = !0, z(this, Si).visible = !0;
|
|
30633
30655
|
}
|
|
30634
30656
|
dump() {
|
|
30635
30657
|
const e = [], o = z(this, se).style, R = o.length;
|
|
@@ -30640,17 +30662,17 @@ const Wt = class extends Container {
|
|
|
30640
30662
|
return `"txt":"${z(this, se).textContent.replace(/(["\\])/g, "\\$1")}", "style":{${e.join(",")}}`;
|
|
30641
30663
|
}
|
|
30642
30664
|
destroy() {
|
|
30643
|
-
Wt.delBreak(), z(this, se).parentElement.removeChild(z(this, se)), this.removeChild(z(this,
|
|
30665
|
+
Wt.delBreak(), z(this, se).parentElement.removeChild(z(this, se)), this.removeChild(z(this, Nr)), this.removeChild(z(this, Zr)), super.destroy();
|
|
30644
30666
|
}
|
|
30645
30667
|
};
|
|
30646
30668
|
let TxtStage = Wt;
|
|
30647
|
-
vs = new WeakMap(), Va = new WeakMap(),
|
|
30669
|
+
vs = new WeakMap(), Va = new WeakMap(), un = new WeakMap(), se = new WeakMap(), Nr = new WeakMap(), Zr = new WeakMap(), er = new WeakMap(), Si = new WeakMap(), zt = new WeakMap(), Kr = new WeakMap(), mr = new WeakMap(), yr = new WeakMap(), gs = new WeakSet(), Zo = function() {
|
|
30648
30670
|
var N;
|
|
30649
30671
|
const e = z(this, se).style, o = parseFloat(e.fontSize || "0");
|
|
30650
|
-
z(this, zt).fontsize = o, z(this, zt).pad_left = parseFloat(e.paddingLeft || "0"), z(this, zt).pad_right = parseFloat(e.paddingRight || "0"), z(this, zt).pad_top = parseFloat(e.paddingTop || "0"), z(this, zt).pad_bottom = parseFloat(e.paddingBottom || "0"), z(this, zt).$width = parseFloat(e.width || "0"), z(this, zt).$height = parseFloat(e.height || "0"), this.position.set(z(this, zt).pad_left, z(this, zt).pad_top), rt(this,
|
|
30672
|
+
z(this, zt).fontsize = o, z(this, zt).pad_left = parseFloat(e.paddingLeft || "0"), z(this, zt).pad_right = parseFloat(e.paddingRight || "0"), z(this, zt).pad_top = parseFloat(e.paddingTop || "0"), z(this, zt).pad_bottom = parseFloat(e.paddingBottom || "0"), z(this, zt).$width = parseFloat(e.width || "0"), z(this, zt).$height = parseFloat(e.height || "0"), this.position.set(z(this, zt).pad_left, z(this, zt).pad_top), rt(this, Mr, e.writingMode === "vertical-rl"), rt(this, Xa, 0), rt(this, _s, 0);
|
|
30651
30673
|
const R = (N = e.lineHeight) != null ? N : "0";
|
|
30652
|
-
rt(this, Za, z(this,
|
|
30653
|
-
}, br = new WeakMap(),
|
|
30674
|
+
rt(this, Za, z(this, Mr) ? 0 : (R.slice(-2) === "px" ? parseFloat(R) : o * parseFloat(R) - o) / 2);
|
|
30675
|
+
}, br = new WeakMap(), Mr = new WeakMap(), Xa = new WeakMap(), _s = new WeakMap(), Wa = new WeakMap(), Lu = new WeakSet(), fc = function(e, o = !0) {
|
|
30654
30676
|
const R = {
|
|
30655
30677
|
escape: (Y) => Y.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
|
|
30656
30678
|
mimeType: (Y) => {
|
|
@@ -30831,7 +30853,7 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
|
|
|
30831
30853
|
});
|
|
30832
30854
|
});
|
|
30833
30855
|
}).catch((Y) => DebugMng.myTrace(`goTxt() = ${Y}`));
|
|
30834
|
-
},
|
|
30856
|
+
}, ln = new WeakMap(), ms = new WeakMap(), hn = new WeakMap(), cn = new WeakMap(), fn = new WeakMap(), dn = new WeakMap(), ys = new WeakMap(), Fu = new WeakMap(), Jr = new WeakMap(), Ya = new WeakSet(), ph = function(e, o, R, N, M, D) {
|
|
30835
30857
|
var B, $, U;
|
|
30836
30858
|
e.alpha = 0, o.x && (N.x = o.x.charAt(0) === "=" ? N.x + parseInt(o.x.slice(1)) : parseInt(o.x)), o.y && (N.y = o.y.charAt(0) === "=" ? N.y + parseInt(o.y.slice(1)) : parseInt(o.y)), o.width && (N.width = parseInt(o.width)), o.height && (N.height = parseInt(o.height)), o.wait && (D.wait = parseInt(o.wait)), e.width = N.width, e.height = N.height, D.x ? e.position.set(
|
|
30837
30859
|
D.x.charAt(0) === "=" ? N.x + e.width * D.nx : D.nx,
|
|
@@ -30844,7 +30866,7 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
|
|
|
30844
30866
|
}).start()
|
|
30845
30867
|
};
|
|
30846
30868
|
z(this, ms).push(L);
|
|
30847
|
-
}, Qr = new WeakMap(), qa = new WeakMap(), ti = new WeakMap(),
|
|
30869
|
+
}, Qr = new WeakMap(), qa = new WeakMap(), ti = new WeakMap(), Dr = new WeakMap(), Za = new WeakMap(), Ka = new WeakSet(), vh = function(e) {
|
|
30848
30870
|
const o = [];
|
|
30849
30871
|
if (e.nodeType !== e.TEXT_NODE)
|
|
30850
30872
|
return e.childNodes.forEach((D) => o.push(ot(this, Ka, vh).call(this, D))), o.flat();
|
|
@@ -30874,9 +30896,9 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
|
|
|
30874
30896
|
o.push($);
|
|
30875
30897
|
}
|
|
30876
30898
|
return R.detach(), o;
|
|
30877
|
-
},
|
|
30899
|
+
}, Ci = new WeakMap(), pn = new WeakMap(), Ja = new WeakSet(), gh = function() {
|
|
30878
30900
|
var M;
|
|
30879
|
-
z(this, Zr).clear(), rt(this,
|
|
30901
|
+
z(this, Zr).clear(), rt(this, hn, []), rt(this, cn, 0), this.skipChIn();
|
|
30880
30902
|
const e = z(this, se).cloneNode(!0);
|
|
30881
30903
|
e.textContent = "";
|
|
30882
30904
|
const o = z(this, se);
|
|
@@ -30899,12 +30921,12 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
|
|
|
30899
30921
|
}
|
|
30900
30922
|
});
|
|
30901
30923
|
const N = () => {
|
|
30902
|
-
o.parentElement.removeChild(o), z(this,
|
|
30903
|
-
D instanceof Container && z(Wt,
|
|
30924
|
+
o.parentElement.removeChild(o), z(this, Nr).removeChildren().forEach((D) => {
|
|
30925
|
+
D instanceof Container && z(Wt, un).unButton(D), D.destroy();
|
|
30904
30926
|
});
|
|
30905
30927
|
};
|
|
30906
30928
|
R === 0 ? (z(this, se).textContent = "", N()) : (M = o.lastElementChild) == null || M.addEventListener("animationend", N, { once: !0, passive: !0 }), rt(this, se, e);
|
|
30907
|
-
}, hr = new WeakMap(), it(TxtStage, vs, void 0), it(TxtStage, Va, void 0), it(TxtStage,
|
|
30929
|
+
}, hr = new WeakMap(), it(TxtStage, vs, void 0), it(TxtStage, Va, void 0), it(TxtStage, un, void 0), it(TxtStage, Wa, {
|
|
30908
30930
|
backgroundColor: 0,
|
|
30909
30931
|
borderBottomWidth: 0,
|
|
30910
30932
|
borderLeftWidth: 0,
|
|
@@ -30914,7 +30936,7 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
|
|
|
30914
30936
|
marginLeft: 0,
|
|
30915
30937
|
marginRight: 0,
|
|
30916
30938
|
marginTop: 0
|
|
30917
|
-
}), it(TxtStage,
|
|
30939
|
+
}), it(TxtStage, fn, void 0), it(TxtStage, dn, void 0), it(TxtStage, ys, void 0), it(TxtStage, Qr, /* @__PURE__ */ Object.create(null)), it(TxtStage, qa, /[\s\.,]/), it(TxtStage, ti, /* @__PURE__ */ Object.create(null)), it(TxtStage, Dr, new Container());
|
|
30918
30940
|
var __accessCheck = (n, t, e) => {
|
|
30919
30941
|
if (!t.has(n))
|
|
30920
30942
|
throw TypeError("Cannot " + e);
|
|
@@ -31091,7 +31113,7 @@ __privateAdd(Button, _procMasume4txt, (n, t) => {
|
|
|
31091
31113
|
});
|
|
31092
31114
|
__privateAdd(Button, _procMasume4pic, (n, t, e, o) => {
|
|
31093
31115
|
});
|
|
31094
|
-
var bs, Er, Es, Qa, to, _h, eo, mh, ro,
|
|
31116
|
+
var bs, Er, Es, Qa, to, _h, eo, mh, ro, vn, io, ei, gn, Bu, dc, Lr, rr, cr, he, xr, ie, xs, Ge, Ts, Ko, Tr, _n, Ss, Jo, Fr, no, yh, so, bh, Ii, mn, yn, Cs, Is, ri, ir, $u, pc, We, ws, Rs, Qo, ii, Yi, Br, nr, sr, $r, Ps, tu, wi, Wn, Ri;
|
|
31095
31117
|
const qt = class extends Layer {
|
|
31096
31118
|
constructor() {
|
|
31097
31119
|
super();
|
|
@@ -31101,10 +31123,10 @@ const qt = class extends Layer {
|
|
|
31101
31123
|
it(this, so);
|
|
31102
31124
|
it(this, $u);
|
|
31103
31125
|
it(this, Rs);
|
|
31104
|
-
it(this,
|
|
31126
|
+
it(this, ii);
|
|
31105
31127
|
it(this, Ps);
|
|
31106
31128
|
it(this, wi);
|
|
31107
|
-
it(this,
|
|
31129
|
+
it(this, Lr, void 0);
|
|
31108
31130
|
it(this, rr, void 0);
|
|
31109
31131
|
it(this, cr, void 0);
|
|
31110
31132
|
it(this, he, void 0);
|
|
@@ -31113,22 +31135,22 @@ const qt = class extends Layer {
|
|
|
31113
31135
|
it(this, xs, void 0);
|
|
31114
31136
|
it(this, Ge, void 0);
|
|
31115
31137
|
it(this, Tr, void 0);
|
|
31116
|
-
it(this, gn, void 0);
|
|
31117
|
-
it(this, Lr, void 0);
|
|
31118
|
-
it(this, Ci, void 0);
|
|
31119
31138
|
it(this, _n, void 0);
|
|
31139
|
+
it(this, Fr, void 0);
|
|
31140
|
+
it(this, Ii, void 0);
|
|
31120
31141
|
it(this, mn, void 0);
|
|
31142
|
+
it(this, yn, void 0);
|
|
31121
31143
|
it(this, Cs, void 0);
|
|
31122
31144
|
it(this, ri, void 0);
|
|
31123
31145
|
it(this, ir, void 0);
|
|
31124
31146
|
it(this, We, void 0);
|
|
31125
31147
|
it(this, ws, void 0);
|
|
31126
|
-
it(this,
|
|
31148
|
+
it(this, Br, void 0);
|
|
31127
31149
|
it(this, nr, void 0);
|
|
31128
31150
|
it(this, sr, void 0);
|
|
31129
|
-
it(this,
|
|
31151
|
+
it(this, $r, void 0);
|
|
31130
31152
|
it(this, Ri, void 0);
|
|
31131
|
-
rt(this,
|
|
31153
|
+
rt(this, Lr, 0), rt(this, rr, 0), rt(this, cr, !1), rt(this, he, void 0), rt(this, xr, ""), rt(this, ie, new TxtStage(this.spLay, () => this.canFocus(), z(qt, io))), rt(this, xs, new RubySpliter()), rt(this, Ge, new Container()), rt(this, Tr, ""), rt(this, _n, !0), rt(this, Fr, ""), rt(this, Ii, ""), rt(this, mn, (o) => ""), rt(this, yn, ""), rt(this, Cs, new RegExp("[\u3000]")), this.isCur = !1, rt(this, ri, () => ""), rt(this, ir, ""), rt(this, We, !1), rt(this, ws, (o, R) => {
|
|
31132
31154
|
var B, $, U, H, V, W, X, Y, q, Z;
|
|
31133
31155
|
z(qt, bs).oCfg.debug.putCh && console.log(`\u{1F58A} \u6587\u5B57\u8868\u793A text:\`${o}\` ruby:\`${R}\` name:\`${this.name_}\``);
|
|
31134
31156
|
const N = R.split("\uFF5C");
|
|
@@ -31156,12 +31178,12 @@ const qt = class extends Layer {
|
|
|
31156
31178
|
rt(this, nr, !1), rt(this, We, !0), M = ot(this, Rs, Qo).call(this, o, L, D);
|
|
31157
31179
|
break;
|
|
31158
31180
|
case "gotxt":
|
|
31159
|
-
ot(this, wi, Wn).call(this), this.isCur && z(B = qt, Es).call(B, z(this, sr).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, "style='").replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, "class='sn_ch'").replaceAll("class='offrec'", "style='display: none;'").replaceAll("`", "\\`")), z(this, We) ? (z(this, ie).goTxt(z(this, sr)), rt(this, We, !1), rt(this,
|
|
31181
|
+
ot(this, wi, Wn).call(this), this.isCur && z(B = qt, Es).call(B, z(this, sr).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, "style='").replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, "class='sn_ch'").replaceAll("class='offrec'", "style='display: none;'").replaceAll("`", "\\`")), z(this, We) ? (z(this, ie).goTxt(z(this, sr)), rt(this, We, !1), rt(this, Br, 0)) : this.isCur && z(qt, vn).noticeCompTxt();
|
|
31160
31182
|
return;
|
|
31161
31183
|
case "add":
|
|
31162
31184
|
{
|
|
31163
|
-
const K = JSON.parse(L), { cl: J, sty: tt } = ot(this,
|
|
31164
|
-
z(this, sr).push(`<span${J} style='display: inline;${(U = ($ = z(this,
|
|
31185
|
+
const K = JSON.parse(L), { cl: J, sty: tt } = ot(this, ii, Yi).call(this, !0, K.wait);
|
|
31186
|
+
z(this, sr).push(`<span${J} style='display: inline;${(U = ($ = z(this, $r).at(-1)) == null ? void 0 : $.o.style) != null ? U : ""}${(H = K.style) != null ? H : ""}${tt}'>`), delete K.style, ot(this, Ps, tu).call(this, K);
|
|
31165
31187
|
}
|
|
31166
31188
|
return;
|
|
31167
31189
|
case "add_close":
|
|
@@ -31171,24 +31193,24 @@ const qt = class extends Layer {
|
|
|
31171
31193
|
rt(this, We, !0);
|
|
31172
31194
|
{
|
|
31173
31195
|
const K = JSON.parse(L);
|
|
31174
|
-
if (K.delay = z(this,
|
|
31196
|
+
if (K.delay = z(this, Br), (V = K.id) != null || (K.id = z(this, sr).length), K.id === "break") {
|
|
31175
31197
|
z(this, ie).dispBreak(K.pic);
|
|
31176
31198
|
return;
|
|
31177
31199
|
}
|
|
31178
31200
|
(W = K.style) != null || (K.style = "");
|
|
31179
|
-
const { cl: J, sty: tt, lnk: Q } = ot(this,
|
|
31180
|
-
M = `<span data-cmd='grp' data-id='${K.id}'${J} style='${tt} ${(X = K.style) != null ? X : ""}'${Q} data-arg='${JSON.stringify(K)}' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this,
|
|
31201
|
+
const { cl: J, sty: tt, lnk: Q } = ot(this, ii, Yi).call(this, !0, K.wait);
|
|
31202
|
+
M = `<span data-cmd='grp' data-id='${K.id}'${J} style='${tt} ${(X = K.style) != null ? X : ""}'${Q} data-arg='${JSON.stringify(K)}' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Fr)}"}'>\u3000</span>`, z(this, nr) && (rt(this, nr, !1), M = `<ruby>${M}<rt>\u3000</rt></ruby>`);
|
|
31181
31203
|
}
|
|
31182
31204
|
break;
|
|
31183
31205
|
case "tcy":
|
|
31184
31206
|
rt(this, nr, !1), rt(this, We, !0);
|
|
31185
31207
|
{
|
|
31186
31208
|
z(qt, Er).doRecLog() && rt(this, Ri, z(this, Ri) + (o + (R ? `\u300A${R}\u300B` : "")));
|
|
31187
|
-
const K = JSON.parse(L), { t: J, r: tt = "" } = K, Q = CmnLib.isSafari ? tt.replace(/[A-Za-z0-9]/g, (ct) => String.fromCharCode(ct.charCodeAt(0) + 65248)) : tt, st = this.mkStyle_r_align(J, Q, z(this, ir)), { cl: et, sty: nt, lnk: at } = ot(this,
|
|
31188
|
-
M = `<span${et} style='${nt}${z(this,
|
|
31209
|
+
const K = JSON.parse(L), { t: J, r: tt = "" } = K, Q = CmnLib.isSafari ? tt.replace(/[A-Za-z0-9]/g, (ct) => String.fromCharCode(ct.charCodeAt(0) + 65248)) : tt, st = this.mkStyle_r_align(J, Q, z(this, ir)), { cl: et, sty: nt, lnk: at } = ot(this, ii, Yi).call(this, !0, K.wait);
|
|
31210
|
+
M = `<span${et} style='${nt}${z(this, mn).call(this, J)} ${(Y = K.style) != null ? Y : ""}'${at}><ruby><span style='
|
|
31189
31211
|
text-combine-upright: all;
|
|
31190
31212
|
-webkit-text-combine: horizontal;
|
|
31191
|
-
' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this,
|
|
31213
|
+
' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Fr)}"}'>${J}</span>
|
|
31192
31214
|
<rt${st}>${Q}</rt></ruby></span>`;
|
|
31193
31215
|
}
|
|
31194
31216
|
break;
|
|
@@ -31207,8 +31229,8 @@ text-combine-upright: all;
|
|
|
31207
31229
|
{
|
|
31208
31230
|
const K = JSON.parse(L);
|
|
31209
31231
|
K[":link"] = " data-lnk='@'";
|
|
31210
|
-
const { cl: J, sty: tt } = ot(this,
|
|
31211
|
-
z(this, sr).push(`<span data-arg='${L}'${J} style='display: inline; ${tt} ${(q = K.style) != null ? q : ""}' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this,
|
|
31232
|
+
const { cl: J, sty: tt } = ot(this, ii, Yi).call(this, !1, K.wait);
|
|
31233
|
+
z(this, sr).push(`<span data-arg='${L}'${J} style='display: inline; ${tt} ${(q = K.style) != null ? q : ""}' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Fr)}"}'}>`), delete K.style, ot(this, Ps, tu).call(this, K);
|
|
31212
31234
|
}
|
|
31213
31235
|
return;
|
|
31214
31236
|
case "endlink":
|
|
@@ -31220,9 +31242,9 @@ text-combine-upright: all;
|
|
|
31220
31242
|
break;
|
|
31221
31243
|
}
|
|
31222
31244
|
z(this, sr).push(z(Z = qt, Is).call(Z, M));
|
|
31223
|
-
}), rt(this,
|
|
31245
|
+
}), rt(this, Br, 0), rt(this, nr, !0), rt(this, sr, []), rt(this, $r, []), this.click = () => !this.spLay.interactiveChildren || !this.spLay.visible ? !1 : z(this, ie).skipChIn(), rt(this, Ri, ""), this.addButton = (o) => new Promise((R) => {
|
|
31224
31246
|
o.key = `btn=[${z(this, Ge).children.length}] ` + this.name_, o[":id_tag"] = o.key.slice(0, -7), argChk_Boolean(o, "hint_tate", z(this, ie).tategaki);
|
|
31225
|
-
const N = new Button(o, z(qt,
|
|
31247
|
+
const N = new Button(o, z(qt, vn), () => R(), () => this.canFocus());
|
|
31226
31248
|
N.name = JSON.stringify(o).replaceAll('"', "'"), z(this, Ge).addChild(N);
|
|
31227
31249
|
}), this.record = () => ({
|
|
31228
31250
|
...super.record(),
|
|
@@ -31230,12 +31252,12 @@ text-combine-upright: all;
|
|
|
31230
31252
|
r_align: z(this, ir),
|
|
31231
31253
|
b_do: z(this, he) === void 0 ? void 0 : z(this, he) instanceof Sprite ? "Sprite" : "Graphics",
|
|
31232
31254
|
b_pic: z(this, xr),
|
|
31233
|
-
b_color: z(this,
|
|
31255
|
+
b_color: z(this, Lr),
|
|
31234
31256
|
b_alpha: z(this, rr),
|
|
31235
31257
|
b_alpha_isfixed: z(this, cr),
|
|
31236
|
-
ffs: z(this,
|
|
31258
|
+
ffs: z(this, Ii),
|
|
31237
31259
|
txs: z(this, ie).record(),
|
|
31238
|
-
strNoFFS: z(this,
|
|
31260
|
+
strNoFFS: z(this, yn),
|
|
31239
31261
|
btns: z(this, Ge).children.map((o) => o.name)
|
|
31240
31262
|
}), this.spLay.addChild(z(this, ie)), z(this, xs).init(z(this, ws)), this.spLay.addChild(z(this, Ge)), z(this, Ge).name = "cntBtn";
|
|
31241
31263
|
const e = 16;
|
|
@@ -31298,13 +31320,13 @@ text-combine-upright: all;
|
|
|
31298
31320
|
});
|
|
31299
31321
|
}
|
|
31300
31322
|
static setEvtMng(e, o, R) {
|
|
31301
|
-
rt(qt, ro, e), rt(qt,
|
|
31323
|
+
rt(qt, ro, e), rt(qt, vn, o), rt(qt, io, R), TxtStage.setEvtMng(o);
|
|
31302
31324
|
}
|
|
31303
31325
|
destroy() {
|
|
31304
31326
|
z(this, he) && (this.spLay.removeChild(z(this, he)).destroy(), rt(this, he, void 0)), this.clearText(), z(this, ie).destroy();
|
|
31305
31327
|
}
|
|
31306
31328
|
static destroy() {
|
|
31307
|
-
rt(qt, ei, !1), rt(qt,
|
|
31329
|
+
rt(qt, ei, !1), rt(qt, gn, {}), rt(qt, Is, (e) => e);
|
|
31308
31330
|
}
|
|
31309
31331
|
set name(e) {
|
|
31310
31332
|
this.name_ = e, z(this, ie).name = e;
|
|
@@ -31333,7 +31355,7 @@ text-combine-upright: all;
|
|
|
31333
31355
|
chgBackAlpha(e) {
|
|
31334
31356
|
const o = z(this, cr) ? z(this, rr) : e * z(this, rr);
|
|
31335
31357
|
z(this, he) instanceof Graphics && (z(this, he) && (this.spLay.removeChild(z(this, he)), z(this, he).destroy()), this.spLay.addChildAt(
|
|
31336
|
-
rt(this, he, new Graphics()).beginFill(z(this,
|
|
31358
|
+
rt(this, he, new Graphics()).beginFill(z(this, Lr)).lineStyle(void 0).drawRect(0, 0, z(this, ie).getWidth, z(this, ie).getHeight).endFill(),
|
|
31337
31359
|
0
|
|
31338
31360
|
), z(this, he).name = "back(color)"), z(this, he) && (z(this, he).visible = o > 0, z(this, he).alpha = o);
|
|
31339
31361
|
}
|
|
@@ -31370,7 +31392,7 @@ text-combine-upright: all;
|
|
|
31370
31392
|
}
|
|
31371
31393
|
clearText() {
|
|
31372
31394
|
var e;
|
|
31373
|
-
this.spLay.addChild(rt(this, ie, z(this, ie).reNew())), rt(this,
|
|
31395
|
+
this.spLay.addChild(rt(this, ie, z(this, ie).reNew())), rt(this, Br, 0), rt(this, nr, !0), rt(this, sr, []), rt(this, Ri, ""), z(e = qt, Es).call(e, "", !0);
|
|
31374
31396
|
}
|
|
31375
31397
|
get pageText() {
|
|
31376
31398
|
return z(this, Ri).replace("\u300A\u3000\u300B", "");
|
|
@@ -31417,7 +31439,7 @@ text-combine-upright: all;
|
|
|
31417
31439
|
z(this, Ge).children.forEach((e) => e.showDesignCast());
|
|
31418
31440
|
}
|
|
31419
31441
|
dump() {
|
|
31420
|
-
return z(this, ws).call(this, "", "gotxt\uFF5C"), super.dump() + `, "enabled":"${this.enabled}", ${z(this, ie).dump()}, "b_pic":"${z(this, xr)}", "b_color":"${z(this,
|
|
31442
|
+
return z(this, ws).call(this, "", "gotxt\uFF5C"), super.dump() + `, "enabled":"${this.enabled}", ${z(this, ie).dump()}, "b_pic":"${z(this, xr)}", "b_color":"${z(this, Lr)}", "b_alpha":${z(this, rr)}, "b_alpha_isfixed":"${z(this, cr)}", "width":${z(this, ie).getWidth}, "height":${z(this, ie).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":[${z(this, Ge).children.map((e) => {
|
|
31421
31443
|
var o;
|
|
31422
31444
|
return (o = e.children[0].name) != null ? o : "{}";
|
|
31423
31445
|
}).join(",")}]`;
|
|
@@ -31456,7 +31478,7 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
|
|
|
31456
31478
|
transform: rotate(${o.rotate}deg) scale(${o.scale_x}, ${o.scale_y}) translate(${R}, ${N});
|
|
31457
31479
|
}
|
|
31458
31480
|
`), !1;
|
|
31459
|
-
}, ro = new WeakMap(),
|
|
31481
|
+
}, ro = new WeakMap(), vn = new WeakMap(), io = new WeakMap(), ei = new WeakMap(), gn = new WeakMap(), Bu = new WeakSet(), dc = function(e) {
|
|
31460
31482
|
rt(qt, ei, argChk_Boolean(e, "enabled", z(qt, ei))), z(qt, Er).setVal_Nochk("save", "const.sn.autowc.enabled", z(qt, ei));
|
|
31461
31483
|
const { text: o } = e;
|
|
31462
31484
|
if ("text" in e != "time" in e)
|
|
@@ -31469,25 +31491,25 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
|
|
|
31469
31491
|
const N = String(e.time).split(",");
|
|
31470
31492
|
if (N.length !== R)
|
|
31471
31493
|
throw "[autowc] text\u6587\u5B57\u6570\u3068time\u306B\u8A18\u8FF0\u3055\u308C\u305F\u5F85\u3061\u6642\u9593\uFF08\u30B3\u30F3\u30DE\u533A\u5207\u308A\uFF09\u306F\u540C\u6570\u306B\u3057\u3066\u4E0B\u3055\u3044";
|
|
31472
|
-
return rt(qt,
|
|
31473
|
-
},
|
|
31494
|
+
return rt(qt, gn, {}), N.forEach((M, D) => z(qt, gn)[o[D]] = uint(M)), z(qt, Er).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
|
|
31495
|
+
}, Lr = new WeakMap(), rr = new WeakMap(), cr = new WeakMap(), he = new WeakMap(), xr = new WeakMap(), ie = new WeakMap(), xs = new WeakMap(), Ge = new WeakMap(), Ts = new WeakSet(), Ko = function(e) {
|
|
31474
31496
|
const { in_style: o } = e;
|
|
31475
31497
|
if (!o)
|
|
31476
31498
|
return;
|
|
31477
31499
|
const R = TxtStage.getChInStyle(o);
|
|
31478
31500
|
if (!R)
|
|
31479
31501
|
throw `\u5B58\u5728\u3057\u306A\u3044in_style\u3010${o}\u3011\u3067\u3059`;
|
|
31480
|
-
rt(this, Tr, o), rt(this,
|
|
31481
|
-
}, Tr = new WeakMap(),
|
|
31502
|
+
rt(this, Tr, o), rt(this, _n, R.join);
|
|
31503
|
+
}, Tr = new WeakMap(), _n = new WeakMap(), Ss = new WeakSet(), Jo = function(e) {
|
|
31482
31504
|
const { out_style: o } = e;
|
|
31483
31505
|
if (!o)
|
|
31484
31506
|
return;
|
|
31485
31507
|
if (!TxtStage.getChOutStyle(o))
|
|
31486
31508
|
throw `\u5B58\u5728\u3057\u306A\u3044out_style\u3010${o}\u3011\u3067\u3059`;
|
|
31487
|
-
rt(this,
|
|
31488
|
-
},
|
|
31509
|
+
rt(this, Fr, o);
|
|
31510
|
+
}, Fr = new WeakMap(), no = new WeakSet(), yh = function(e, o) {
|
|
31489
31511
|
if ("back_clear" in e)
|
|
31490
|
-
return argChk_Boolean(e, "back_clear", !1) && (rt(this,
|
|
31512
|
+
return argChk_Boolean(e, "back_clear", !1) && (rt(this, Lr, 0), rt(this, rr, 0), rt(this, cr, !1), rt(this, xr, "")), o(!1), !1;
|
|
31491
31513
|
rt(this, rr, argChk_Num(e, "b_alpha", z(this, rr))), rt(this, cr, argChk_Boolean(e, "b_alpha_isfixed", z(this, cr)));
|
|
31492
31514
|
const R = (z(this, cr) ? 1 : Number(z(qt, Er).getVal("sys:TextLayer.Back.Alpha"))) * z(this, rr);
|
|
31493
31515
|
if (e.b_pic) {
|
|
@@ -31496,15 +31518,15 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
|
|
|
31496
31518
|
rt(this, he, N), N.name = "back(pic)", N.visible = R > 0, N.alpha = R, z(this, ie).setSize(N.width, N.height), this.spLay.setChildIndex(N, 0), o(!0);
|
|
31497
31519
|
});
|
|
31498
31520
|
} else
|
|
31499
|
-
"b_color" in e && (rt(this,
|
|
31500
|
-
rt(this, he, new Graphics()).beginFill(z(this,
|
|
31521
|
+
"b_color" in e && (rt(this, Lr, argChk_Color(e, "b_color", 0)), z(this, he) && (this.spLay.removeChild(z(this, he)), z(this, he).destroy()), rt(this, xr, ""), this.spLay.addChildAt(
|
|
31522
|
+
rt(this, he, new Graphics()).beginFill(z(this, Lr)).lineStyle(void 0).drawRect(0, 0, z(this, ie).getWidth, z(this, ie).getHeight).endFill(),
|
|
31501
31523
|
0
|
|
31502
31524
|
), z(this, he).name = "back(color)");
|
|
31503
31525
|
return z(this, he) && (z(this, he).visible = R > 0, z(this, he).alpha = R), o(!1), !1;
|
|
31504
31526
|
}, so = new WeakSet(), bh = function(e) {
|
|
31505
31527
|
var o, R;
|
|
31506
|
-
"noffs" in e && (rt(this,
|
|
31507
|
-
},
|
|
31528
|
+
"noffs" in e && (rt(this, yn, (o = e.noffs) != null ? o : ""), rt(this, Cs, new RegExp(`[\u3000${z(this, yn)}]`))), "ffs" in e && ((R = z(this, Ii)) != null || rt(this, Ii, ""), rt(this, mn, z(this, Ii) === "" ? () => "" : (N) => z(this, Cs).test(N) ? "" : ` font-feature-settings: ${z(this, Ii)};`));
|
|
31529
|
+
}, Ii = new WeakMap(), mn = new WeakMap(), yn = new WeakMap(), Cs = new WeakMap(), Is = new WeakMap(), ri = new WeakMap(), ir = new WeakMap(), $u = new WeakSet(), pc = function(e, o, R) {
|
|
31508
31530
|
if (!R)
|
|
31509
31531
|
return "";
|
|
31510
31532
|
const N = e.length * 2;
|
|
@@ -31539,30 +31561,31 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
|
|
|
31539
31561
|
}
|
|
31540
31562
|
return ` style='${M}'`;
|
|
31541
31563
|
}, We = new WeakMap(), ws = new WeakMap(), Rs = new WeakSet(), Qo = function(e, o, R) {
|
|
31542
|
-
e === " "
|
|
31543
|
-
|
|
31544
|
-
|
|
31545
|
-
|
|
31564
|
+
const N = e === " " ? " " : e;
|
|
31565
|
+
z(qt, Er).doRecLog() && rt(this, Ri, z(this, Ri) + (N + (o ? `\u300A${o}\u300B` : "")));
|
|
31566
|
+
const { cl: M, sty: D, lnk: L } = ot(this, ii, Yi).call(this, !0, null, e), B = `${L} data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Fr)}"}'`;
|
|
31567
|
+
return `<span style='${z(this, mn).call(this, e)}` + (o ? `'><ruby${B}>${Array.from(e).map(($, U) => `<span${M} style='${U > 0 ? ot(this, ii, Yi).call(this, !0, null, e).sty : D}'>${$ === " " ? " " : $}</span>`).join("")}<rt${this.mkStyle_r_align(e, o, R)}><span${M} style='${D}'>${o}</span></rt></ruby>` : `${D}'${M + B}>${N}`) + "</span>";
|
|
31568
|
+
}, ii = new WeakSet(), Yi = function(e, o, R = `
|
|
31546
31569
|
`) {
|
|
31547
31570
|
var M, D, L, B, $, U, H, V;
|
|
31548
|
-
const N = z(this,
|
|
31549
|
-
return z(qt,
|
|
31571
|
+
const N = z(this, _n) ? (L = o != null ? o : (M = z(this, $r).at(0)) == null ? void 0 : M.o.wait) != null ? L : z(qt, ei) ? (D = z(qt, gn)[R.charAt(0)]) != null ? D : 0 : LayerMng.msecChWait : 0;
|
|
31572
|
+
return z(qt, vn).isSkippingByKeyDown() ? rt(this, Br, 0) : e && z(this, _n) && rt(this, Br, z(this, Br) + Number(N)), {
|
|
31550
31573
|
cl: ` class='sn_ch${N > 0 ? ` sn_ch_in_${z(this, Tr)}` : ""}'`,
|
|
31551
|
-
sty: `animation-delay: ${z(this,
|
|
31552
|
-
lnk: (V = (H = z(this,
|
|
31574
|
+
sty: `animation-delay: ${z(this, Br)}ms;${(U = ($ = (B = z(this, $r).at(-1)) == null ? void 0 : B.o) == null ? void 0 : $.style) != null ? U : ""}`,
|
|
31575
|
+
lnk: (V = (H = z(this, $r).at(0)) == null ? void 0 : H.o[":link"]) != null ? V : ""
|
|
31553
31576
|
};
|
|
31554
|
-
},
|
|
31555
|
-
z(this,
|
|
31577
|
+
}, Br = new WeakMap(), nr = new WeakMap(), sr = new WeakMap(), $r = new WeakMap(), Ps = new WeakSet(), tu = function(e) {
|
|
31578
|
+
z(this, $r).push({
|
|
31556
31579
|
o: e,
|
|
31557
31580
|
r_align: z(this, ir),
|
|
31558
31581
|
ch_in_style: z(this, Tr),
|
|
31559
|
-
ch_out_style: z(this,
|
|
31582
|
+
ch_out_style: z(this, Fr)
|
|
31560
31583
|
}), "r_align" in e && rt(this, ir, e.r_align), ot(this, Ts, Ko).call(this, e), ot(this, Ss, Jo).call(this, e);
|
|
31561
31584
|
}, wi = new WeakSet(), Wn = function() {
|
|
31562
|
-
const e = z(this,
|
|
31585
|
+
const e = z(this, $r).pop();
|
|
31563
31586
|
!e || (rt(this, ir, e.r_align), ot(this, Ts, Ko).call(this, { in_style: e.ch_in_style }), ot(this, Ss, Jo).call(this, { out_style: e.ch_out_style }));
|
|
31564
|
-
}, Ri = new WeakMap(), it(TxtLayer, to), it(TxtLayer, eo), it(TxtLayer, Bu), it(TxtLayer, bs, void 0), it(TxtLayer, Er, void 0), it(TxtLayer, Es, void 0), it(TxtLayer, Qa, void 0), it(TxtLayer, ro, void 0), it(TxtLayer,
|
|
31565
|
-
var As,
|
|
31587
|
+
}, Ri = new WeakMap(), it(TxtLayer, to), it(TxtLayer, eo), it(TxtLayer, Bu), it(TxtLayer, bs, void 0), it(TxtLayer, Er, void 0), it(TxtLayer, Es, void 0), it(TxtLayer, Qa, void 0), it(TxtLayer, ro, void 0), it(TxtLayer, vn, void 0), it(TxtLayer, io, void 0), it(TxtLayer, ei, !1), it(TxtLayer, gn, {}), it(TxtLayer, Is, (e) => e);
|
|
31588
|
+
var As, ni, ku, vc, Os, Ns, eu, Gu, gc, Uu, mc, ao, Hu, yc, zu, bc;
|
|
31566
31589
|
class FrameMng {
|
|
31567
31590
|
constructor(t, e, o, R, N, M, D) {
|
|
31568
31591
|
it(this, ku);
|
|
@@ -31572,7 +31595,7 @@ class FrameMng {
|
|
|
31572
31595
|
it(this, Hu);
|
|
31573
31596
|
it(this, zu);
|
|
31574
31597
|
it(this, As, void 0);
|
|
31575
|
-
it(this,
|
|
31598
|
+
it(this, ni, /* @__PURE__ */ Object.create(null));
|
|
31576
31599
|
it(this, Os, {});
|
|
31577
31600
|
it(this, ao, 1);
|
|
31578
31601
|
this.cfg = t, this.appPixi = o, this.val = R, this.main = N, this.sys = M, this.hTwInf = D, e.add_frame = (L) => ot(this, ku, vc).call(this, L), e.let_frame = (L) => ot(this, Gu, gc).call(this, L), e.set_frame = (L) => ot(this, Uu, mc).call(this, L), e.frame = (L) => ot(this, Hu, yc).call(this, L), e.tsy_frame = (L) => ot(this, zu, bc).call(this, L);
|
|
@@ -31581,23 +31604,23 @@ class FrameMng {
|
|
|
31581
31604
|
rt(this, As, t);
|
|
31582
31605
|
}
|
|
31583
31606
|
destroy() {
|
|
31584
|
-
for (const t in z(this,
|
|
31585
|
-
const e = z(this,
|
|
31607
|
+
for (const t in z(this, ni)) {
|
|
31608
|
+
const e = z(this, ni)[t];
|
|
31586
31609
|
e.parentElement.removeChild(e);
|
|
31587
31610
|
}
|
|
31588
|
-
rt(this,
|
|
31611
|
+
rt(this, ni, /* @__PURE__ */ Object.create(null));
|
|
31589
31612
|
}
|
|
31590
31613
|
getFrmDisabled(t) {
|
|
31591
31614
|
return z(this, Os)[t];
|
|
31592
31615
|
}
|
|
31593
31616
|
cvsResize() {
|
|
31594
|
-
for (const t in z(this,
|
|
31595
|
-
const e = z(this,
|
|
31617
|
+
for (const t in z(this, ni)) {
|
|
31618
|
+
const e = z(this, ni)[t], o = "const.sn.frm." + t, R = Number(this.val.getVal(o + ".x")), N = Number(this.val.getVal(o + ".y")), M = Number(this.val.getVal(o + ".width")), D = Number(this.val.getVal(o + ".height"));
|
|
31596
31619
|
e.style.left = `${this.sys.ofsLeft4elm + R * this.sys.cvsScale}px`, e.style.top = `${this.sys.ofsTop4elm + N * this.sys.cvsScale}px`, e.width = String(M * this.sys.cvsScale), e.height = String(D * this.sys.cvsScale);
|
|
31597
31620
|
}
|
|
31598
31621
|
}
|
|
31599
31622
|
}
|
|
31600
|
-
As = new WeakMap(),
|
|
31623
|
+
As = new WeakMap(), ni = new WeakMap(), ku = new WeakSet(), vc = function(t) {
|
|
31601
31624
|
const { id: e, src: o, alpha: R = 1, scale_x: N = 1, scale_y: M = 1, rotate: D = 0 } = t;
|
|
31602
31625
|
if (!e)
|
|
31603
31626
|
throw "id\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -31619,7 +31642,7 @@ As = new WeakMap(), ii = new WeakMap(), ku = new WeakSet(), vc = function(t) {
|
|
|
31619
31642
|
}), V.load((W, X) => {
|
|
31620
31643
|
var q;
|
|
31621
31644
|
const Y = document.getElementById(e);
|
|
31622
|
-
z(this,
|
|
31645
|
+
z(this, ni)[e] = Y, z(this, Os)[e] = !1, Y.srcdoc = String((q = X[o]) == null ? void 0 : q.data).replace("sn_repRes();", "").replace(
|
|
31623
31646
|
/\s(?:src|href)=(["'])(\S+)\1/g,
|
|
31624
31647
|
(Z, K, J) => J.slice(0, 3) === "../" ? this.sys.cur + J.slice(4) : Z.replace(K, K + H.slice(0, H.lastIndexOf("/") + 1))
|
|
31625
31648
|
), Y.onload = () => {
|
|
@@ -31760,8 +31783,8 @@ ${t.id}`, X = new Tween(N).to(D, argChk_Num(t, "time", NaN) * (Boolean(this.val.
|
|
|
31760
31783
|
X.start();
|
|
31761
31784
|
return this.hTwInf[W] = { tw: X, resume: !1 }, !1;
|
|
31762
31785
|
};
|
|
31763
|
-
var Sr, ne, _e, Pi,
|
|
31764
|
-
const
|
|
31786
|
+
var Sr, ne, _e, Pi, bn, Ms, Ds, Ls, En, oo, Eh, si, kr, ju, Ec, ar, Vu, xc, Xu, Tc, Wu, Sc, Jt, Cr, Ir, Fs, Yu, Cc, Bs, ru, qu, Ic, uo, $s, lo, Ai, Oi, Gr, Ce, Ni, Zu, wc, Ie, Ue, Qe, Ku, Rc, Ju, Pc, Qu, Ac, xn, ya, tl, Oc, Ye, el, Nc, rl, Mc, il, Dc, nl, Lc, sl, Fc, Mi, Di, Yn, fr, al, Bc, ks, ol, $c, Ur, Li, Fi, qn, wr, Rr, ul, kc, ll, Gc, hl, Uc, cl, Hc, fl, zc, dl, jc, pl, Vc, vl, Xc, gl, Wc, _l, Yc, ml, qc, yl, Zc, bl, Kc, El, Jc, xl, Qc;
|
|
31787
|
+
const Ki = class {
|
|
31765
31788
|
constructor(t, e, o, R, N, M, D, L, B, $) {
|
|
31766
31789
|
it(this, oo);
|
|
31767
31790
|
it(this, ju);
|
|
@@ -31776,7 +31799,7 @@ const Zi = class {
|
|
|
31776
31799
|
it(this, Ku);
|
|
31777
31800
|
it(this, Ju);
|
|
31778
31801
|
it(this, Qu);
|
|
31779
|
-
it(this,
|
|
31802
|
+
it(this, xn);
|
|
31780
31803
|
it(this, tl);
|
|
31781
31804
|
it(this, el);
|
|
31782
31805
|
it(this, rl);
|
|
@@ -31806,13 +31829,13 @@ const Zi = class {
|
|
|
31806
31829
|
it(this, ne, void 0);
|
|
31807
31830
|
it(this, _e, void 0);
|
|
31808
31831
|
it(this, Pi, void 0);
|
|
31809
|
-
it(this,
|
|
31832
|
+
it(this, bn, void 0);
|
|
31810
31833
|
it(this, Ms, void 0);
|
|
31811
31834
|
it(this, Ds, void 0);
|
|
31812
31835
|
it(this, Ls, void 0);
|
|
31813
|
-
it(this,
|
|
31814
|
-
it(this,
|
|
31815
|
-
it(this,
|
|
31836
|
+
it(this, En, void 0);
|
|
31837
|
+
it(this, si, void 0);
|
|
31838
|
+
it(this, kr, void 0);
|
|
31816
31839
|
it(this, ar, void 0);
|
|
31817
31840
|
it(this, Jt, void 0);
|
|
31818
31841
|
it(this, Cr, void 0);
|
|
@@ -31823,14 +31846,14 @@ const Zi = class {
|
|
|
31823
31846
|
it(this, lo, void 0);
|
|
31824
31847
|
it(this, Ai, void 0);
|
|
31825
31848
|
it(this, Oi, void 0);
|
|
31826
|
-
it(this,
|
|
31849
|
+
it(this, Gr, void 0);
|
|
31827
31850
|
it(this, Ce, void 0);
|
|
31828
31851
|
it(this, Ni, void 0);
|
|
31829
31852
|
it(this, Ie, void 0);
|
|
31830
31853
|
it(this, Ye, void 0);
|
|
31831
31854
|
it(this, fr, void 0);
|
|
31832
31855
|
it(this, ks, void 0);
|
|
31833
|
-
it(this,
|
|
31856
|
+
it(this, Ur, void 0);
|
|
31834
31857
|
it(this, Li, void 0);
|
|
31835
31858
|
it(this, wr, void 0);
|
|
31836
31859
|
it(this, Rr, void 0);
|
|
@@ -31844,7 +31867,7 @@ const Zi = class {
|
|
|
31844
31867
|
}), ot(this, oo, Eh).call(this, z(this, Ir)), !1),
|
|
31845
31868
|
_replaceToken: (X, Y) => (DesignCast.replaceToken(Y), !1),
|
|
31846
31869
|
_selectNode: (X, Y) => (ot(this, oo, Eh).call(this, Y.node), !1)
|
|
31847
|
-
}), rt(this, Ls, ""), rt(this,
|
|
31870
|
+
}), rt(this, Ls, ""), rt(this, En, ""), this.getFrmDisabled = (X) => z(this, Pi).getFrmDisabled(X), rt(this, si, void 0), rt(this, ar, (X, Y = this.currentTxtlayForeNeedErr, q = !0) => Y.tagCh("\uFF5C\u3000\u300A" + X + "\u300B")), this.goTxt = () => {
|
|
31848
31871
|
}, this.breakLine = () => {
|
|
31849
31872
|
}, this.breakPage = () => {
|
|
31850
31873
|
}, rt(this, Jt, {}), rt(this, Cr, []), rt(this, Ir, ""), rt(this, Fs, ""), rt(this, uo, `
|
|
@@ -31884,10 +31907,10 @@ void main(void) {
|
|
|
31884
31907
|
}), rt(this, lo, new Filter(void 0, z(this, uo), z(this, $s))), rt(this, Ai, RenderTexture.create({
|
|
31885
31908
|
width: CmnLib.stageW,
|
|
31886
31909
|
height: CmnLib.stageH
|
|
31887
|
-
})), rt(this, Oi, new Sprite(z(this, Ai))), rt(this,
|
|
31910
|
+
})), rt(this, Oi, new Sprite(z(this, Ai))), rt(this, Gr, RenderTexture.create({
|
|
31888
31911
|
width: CmnLib.stageW,
|
|
31889
31912
|
height: CmnLib.stageH
|
|
31890
|
-
})), rt(this, Ce, new Sprite(z(this,
|
|
31913
|
+
})), rt(this, Ce, new Sprite(z(this, Gr))), rt(this, Ni, []), rt(this, Ie, { tw: void 0, resume: !1 }), rt(this, Ye, {}), rt(this, fr, (X) => {
|
|
31891
31914
|
throw z(this, Li).call(this), 0;
|
|
31892
31915
|
}), rt(this, ks, (X) => {
|
|
31893
31916
|
throw z(this, Li).call(this), 0;
|
|
@@ -31895,11 +31918,11 @@ void main(void) {
|
|
|
31895
31918
|
throw "\u6587\u5B57\u30EC\u30A4\u30E4\u30FC\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u6587\u5B57\u8868\u793A\u3084\u64CD\u4F5C\u3059\u308B\u524D\u306B\u3001[add_lay layer=\uFF08\u30EC\u30A4\u30E4\u540D\uFF09 class=txt]\u3067\u6587\u5B57\u30EC\u30A4\u30E4\u3092\u8FFD\u52A0\u3057\u3066\u4E0B\u3055\u3044";
|
|
31896
31919
|
}), rt(this, wr, { text: "" }), rt(this, Rr, []);
|
|
31897
31920
|
const U = () => {
|
|
31898
|
-
D.cvsResize(), this.cvsResizeDesign(), z(this,
|
|
31921
|
+
D.cvsResize(), this.cvsResizeDesign(), z(this, En) ? z(this, Cr).forEach(
|
|
31899
31922
|
(X) => z(this, Jt)[X].fore.cvsResizeChildren()
|
|
31900
31923
|
) : z(this, Cr).forEach(
|
|
31901
31924
|
(X) => z(this, Jt)[X].fore.cvsResize()
|
|
31902
|
-
), z(this, Pi).cvsResize(), z(this,
|
|
31925
|
+
), z(this, Pi).cvsResize(), z(this, kr).cvsResize();
|
|
31903
31926
|
};
|
|
31904
31927
|
if (CmnLib.isMobile)
|
|
31905
31928
|
globalThis.addEventListener("orientationchange", U, { passive: !0 });
|
|
@@ -31911,9 +31934,9 @@ void main(void) {
|
|
|
31911
31934
|
}, 1e3 / 60 * 10));
|
|
31912
31935
|
}, { passive: !0 });
|
|
31913
31936
|
}
|
|
31914
|
-
D.cvsResize(), TxtLayer.init(t, e, R, (X) => this.recText(X), (X) => z(this, Jt)[X.layname].fore === X, o), GrpLayer.init(N, t, o, D, L, R), Button.init(t), rt(this, Pi, new FrameMng(this.cfg, this.hTag, this.appPixi, this.val, N, this.sys, z(this, Ye))), D.hFactoryCls.grp = () => new GrpLayer(), D.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (X) => ot(this, Xu, Tc).call(this, X), e.snapshot = (X) => ot(this, Vu, xc).call(this, X), e.add_lay = (X) => ot(this, Wu, Sc).call(this, X), e.clear_lay = (X) => ot(this, qu, Ic).call(this, X), e.finish_trans = () => ot(this,
|
|
31937
|
+
D.cvsResize(), TxtLayer.init(t, e, R, (X) => this.recText(X), (X) => z(this, Jt)[X.layname].fore === X, o), GrpLayer.init(N, t, o, D, L, R), Button.init(t), rt(this, Pi, new FrameMng(this.cfg, this.hTag, this.appPixi, this.val, N, this.sys, z(this, Ye))), D.hFactoryCls.grp = () => new GrpLayer(), D.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (X) => ot(this, Xu, Tc).call(this, X), e.snapshot = (X) => ot(this, Vu, xc).call(this, X), e.add_lay = (X) => ot(this, Wu, Sc).call(this, X), e.clear_lay = (X) => ot(this, qu, Ic).call(this, X), e.finish_trans = () => ot(this, xn, ya).call(this), e.lay = (X) => ot(this, Yu, Cc).call(this, X), e.trans = (X) => ot(this, Zu, wc).call(this, X), e.wt = (X) => ot(this, Qu, Ac).call(this, X), e.quake = (X) => ot(this, tl, Oc).call(this, X), e.stop_quake = (X) => e.finish_trans(X), e.wq = (X) => e.wt(X), e.pause_tsy = (X) => ot(this, nl, Lc).call(this, X), e.resume_tsy = (X) => ot(this, sl, Fc).call(this, X), e.stop_tsy = (X) => ot(this, il, Dc).call(this, X), e.tsy = (X) => ot(this, el, Nc).call(this, X), e.wait_tsy = (X) => ot(this, rl, Mc).call(this, X), e.ch = (X) => ot(this, Di, Yn).call(this, X), e.clear_text = (X) => ot(this, ul, kc).call(this, X), e.current = (X) => z(this, ks).call(this, X), e.endlink = (X) => ot(this, ll, Gc).call(this, X), e.er = (X) => ot(this, hl, Uc).call(this, X), e.graph = (X) => ot(this, cl, Hc).call(this, X), e.link = (X) => ot(this, fl, zc).call(this, X), e.r = (X) => ot(this, dl, jc).call(this, X), e.rec_ch = (X) => ot(this, vl, Xc).call(this, X), e.rec_r = () => ot(this, pl, Vc).call(this), e.reset_rec = (X) => ot(this, gl, Wc).call(this, X), e.ruby2 = (X) => ot(this, _l, Yc).call(this, X), e.span = (X) => ot(this, ml, qc).call(this, X), e.tcy = (X) => ot(this, yl, Zc).call(this, X), e.add_face = (X) => GrpLayer.add_face(X), e.wv = (X) => GrpLayer.wv(X), e.dump_lay = (X) => ot(this, bl, Kc).call(this, X), e.enable_event = (X) => ot(this, El, Jc).call(this, X), e.button = (X) => ot(this, xl, Qc).call(this, X), t.existsBreakline && (this.breakLine = () => z(this, ar).call(this, 'grp\uFF5C{"id":"break","pic":"breakline"}')), t.existsBreakpage && (this.breakPage = () => z(this, ar).call(this, 'grp\uFF5C{"id":"break","pic":"breakpage"}')), rt(this, bn, parseColor(String(t.oCfg.init.bg_color)));
|
|
31915
31938
|
const H = new Graphics();
|
|
31916
|
-
H.beginFill(z(this,
|
|
31939
|
+
H.beginFill(z(this, bn), 1).lineStyle(0, z(this, bn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), z(this, ne).addChild(H.clone()), z(this, _e).addChild(H), z(this, _e).visible = !1, rt(this, Sr, this.appPixi.stage), z(this, Sr).addChild(z(this, _e)), z(this, Sr).addChild(z(this, ne)), z(this, Sr).addChild(z(this, Oi)), z(this, Sr).addChild(z(this, Ce)), this.appPixi.ticker.add(z(this, Ms));
|
|
31917
31940
|
const V = (X, Y) => {
|
|
31918
31941
|
ot(this, ju, Ec).call(this, Number(Y));
|
|
31919
31942
|
};
|
|
@@ -31932,19 +31955,19 @@ void main(void) {
|
|
|
31932
31955
|
cvsResizeDesign() {
|
|
31933
31956
|
}
|
|
31934
31957
|
cover(t, e = 0) {
|
|
31935
|
-
z(this,
|
|
31936
|
-
rt(this,
|
|
31958
|
+
z(this, si) && (z(this, Sr).removeChild(z(this, si)), z(this, si).destroy(), rt(this, si, void 0)), t && z(this, Sr).addChild(
|
|
31959
|
+
rt(this, si, new Graphics()).beginFill(e).lineStyle(0, e).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill()
|
|
31937
31960
|
);
|
|
31938
31961
|
}
|
|
31939
31962
|
setEvtMng(t) {
|
|
31940
|
-
rt(this,
|
|
31963
|
+
rt(this, kr, t), z(this, Pi).setEvtMng(t), GrpLayer.setEvtMng(t);
|
|
31941
31964
|
}
|
|
31942
31965
|
before_destroy() {
|
|
31943
31966
|
for (const t in z(this, Jt))
|
|
31944
31967
|
z(this, Jt)[t].destroy();
|
|
31945
31968
|
}
|
|
31946
31969
|
destroy() {
|
|
31947
|
-
GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), z(this, Pi).destroy(), this.stopAllTw(), this.appPixi.ticker.remove(z(this, Ms)), rt(
|
|
31970
|
+
GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), z(this, Pi).destroy(), this.stopAllTw(), this.appPixi.ticker.remove(z(this, Ms)), rt(Ki, Mi, 10);
|
|
31948
31971
|
}
|
|
31949
31972
|
stopAllTw() {
|
|
31950
31973
|
rt(this, Ye, {}), removeAll();
|
|
@@ -31959,20 +31982,20 @@ void main(void) {
|
|
|
31959
31982
|
}) : !1;
|
|
31960
31983
|
}
|
|
31961
31984
|
static get msecChWait() {
|
|
31962
|
-
return z(
|
|
31985
|
+
return z(Ki, Mi);
|
|
31963
31986
|
}
|
|
31964
31987
|
static set msecChWait(t) {
|
|
31965
|
-
rt(
|
|
31988
|
+
rt(Ki, Mi, t);
|
|
31966
31989
|
}
|
|
31967
31990
|
setNormalChWait() {
|
|
31968
|
-
rt(
|
|
31991
|
+
rt(Ki, Mi, this.scrItr.normalWait);
|
|
31969
31992
|
}
|
|
31970
31993
|
get currentTxtlayForeNeedErr() {
|
|
31971
31994
|
return z(this, Li).call(this), this.currentTxtlayFore;
|
|
31972
31995
|
}
|
|
31973
31996
|
get currentTxtlayFore() {
|
|
31974
|
-
if (!!z(this,
|
|
31975
|
-
return z(this,
|
|
31997
|
+
if (!!z(this, Ur))
|
|
31998
|
+
return z(this, Ur).fore;
|
|
31976
31999
|
}
|
|
31977
32000
|
recText(t, e = !1) {
|
|
31978
32001
|
const o = z(this, wr);
|
|
@@ -32021,12 +32044,12 @@ void main(void) {
|
|
|
32021
32044
|
}).catch((L) => console.error("fn:LayerMng.ts playback e:%o", L));
|
|
32022
32045
|
}
|
|
32023
32046
|
};
|
|
32024
|
-
let LayerMng =
|
|
32025
|
-
Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
|
|
32026
|
-
[Pe(this, Ls)._, this.
|
|
32047
|
+
let LayerMng = Ki;
|
|
32048
|
+
Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(), bn = new WeakMap(), Ms = new WeakMap(), Ds = new WeakMap(), Ls = new WeakMap(), En = new WeakMap(), oo = new WeakSet(), Eh = function(t) {
|
|
32049
|
+
[Pe(this, Ls)._, this.En = ""] = t.split("/");
|
|
32027
32050
|
const e = z(this, Jt)[z(this, Ls)];
|
|
32028
|
-
!e || (DesignCast.allHide(), z(this,
|
|
32029
|
-
},
|
|
32051
|
+
!e || (DesignCast.allHide(), z(this, En) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
|
|
32052
|
+
}, si = new WeakMap(), kr = new WeakMap(), ju = new WeakSet(), Ec = function(t) {
|
|
32030
32053
|
ot(this, Ue, Qe).call(this).forEach((e) => {
|
|
32031
32054
|
const o = z(this, Jt)[e];
|
|
32032
32055
|
o.fore instanceof TxtLayer && (o.fore.chgBackAlpha(t), o.back.chgBackAlpha(t));
|
|
@@ -32035,7 +32058,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
|
|
|
32035
32058
|
const e = t.fn ? t.fn.slice(0, 10) === "userdata:/" ? t.fn : `downloads:/${t.fn + getDateStr("-", "_", "", "_")}.png` : `downloads:/snapshot${getDateStr("-", "_", "", "_")}.png`, o = this.cfg.searchPath(e);
|
|
32036
32059
|
if (this.sys.canCapturePage(o))
|
|
32037
32060
|
return !1;
|
|
32038
|
-
const R = getExt(o), N = argChk_Color(t, "b_color", z(this,
|
|
32061
|
+
const R = getExt(o), N = argChk_Color(t, "b_color", z(this, bn)), M = autoDetectRenderer({
|
|
32039
32062
|
width: argChk_Num(t, "width", CmnLib.stageW),
|
|
32040
32063
|
height: argChk_Num(t, "height", CmnLib.stageH),
|
|
32041
32064
|
backgroundAlpha: N > 16777216 && R === "png" ? 0 : 1,
|
|
@@ -32088,7 +32111,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
|
|
|
32088
32111
|
case "txt":
|
|
32089
32112
|
z(this, Ir) || (rt(this, Li, () => {
|
|
32090
32113
|
}), rt(this, fr, ot(this, al, Bc)), rt(this, ks, ot(this, ol, $c)), this.hTag.current({ layer: e }), this.goTxt = () => {
|
|
32091
|
-
this.val.getVal("sn.skip.enabled") ? rt(
|
|
32114
|
+
this.val.getVal("sn.skip.enabled") ? rt(Ki, Mi, 0) : this.setNormalChWait(), ot(this, Ue, Qe).call(this).forEach((N) => {
|
|
32092
32115
|
const M = z(this, Jt)[N].fore;
|
|
32093
32116
|
M instanceof TxtLayer && z(this, ar).call(this, "gotxt\uFF5C", M, !1);
|
|
32094
32117
|
});
|
|
@@ -32130,8 +32153,8 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
|
|
|
32130
32153
|
const o = z(this, Jt)[ot(this, Fi, qn).call(this, { layer: e })];
|
|
32131
32154
|
t.page === "both" ? (o.fore.clearLay(t), o.back.clearLay(t)) : o.getPage(t).clearLay(t);
|
|
32132
32155
|
}), !1;
|
|
32133
|
-
}, uo = new WeakMap(), $s = new WeakMap(), lo = new WeakMap(), Ai = new WeakMap(), Oi = new WeakMap(),
|
|
32134
|
-
ot(this,
|
|
32156
|
+
}, uo = new WeakMap(), $s = new WeakMap(), lo = new WeakMap(), Ai = new WeakMap(), Oi = new WeakMap(), Gr = new WeakMap(), Ce = new WeakMap(), Ni = new WeakMap(), Zu = new WeakSet(), wc = function(t) {
|
|
32157
|
+
ot(this, xn, ya).call(this);
|
|
32135
32158
|
const e = CmnTween.ease(t.ease);
|
|
32136
32159
|
rt(this, Ni, []);
|
|
32137
32160
|
const o = {}, R = [];
|
|
@@ -32155,9 +32178,9 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
|
|
|
32155
32178
|
}, V();
|
|
32156
32179
|
};
|
|
32157
32180
|
}
|
|
32158
|
-
z(this,
|
|
32181
|
+
z(this, Gr).resize(CmnLib.stageW, CmnLib.stageH), this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this, Gr) });
|
|
32159
32182
|
let D = () => {
|
|
32160
|
-
z(this, ne).visible = !0, this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this,
|
|
32183
|
+
z(this, ne).visible = !0, this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this, Gr) }), z(this, ne).visible = !1;
|
|
32161
32184
|
};
|
|
32162
32185
|
if (!R.some((V) => V.containMovement)) {
|
|
32163
32186
|
let V = D;
|
|
@@ -32187,7 +32210,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
|
|
|
32187
32210
|
};
|
|
32188
32211
|
rt(this, Ie, { tw: void 0, resume: !1 });
|
|
32189
32212
|
const $ = argChk_Num(t, "time", 0);
|
|
32190
|
-
if ($ === 0 || z(this,
|
|
32213
|
+
if ($ === 0 || z(this, kr).isSkippingByKeyDown())
|
|
32191
32214
|
return B(), !1;
|
|
32192
32215
|
const U = "glsl" in t;
|
|
32193
32216
|
if (!U && !("rule" in t))
|
|
@@ -32219,22 +32242,22 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
|
|
|
32219
32242
|
return R < N ? -1 : R > N ? 1 : 0;
|
|
32220
32243
|
});
|
|
32221
32244
|
}, Qu = new WeakSet(), Ac = function(t) {
|
|
32222
|
-
return z(this, Ie).tw ? (z(this, Ie).resume = !0, z(this,
|
|
32223
|
-
},
|
|
32245
|
+
return z(this, Ie).tw ? (z(this, Ie).resume = !0, z(this, kr).waitLimitedEvent(t, () => ot(this, xn, ya).call(this))) : !1;
|
|
32246
|
+
}, xn = new WeakSet(), ya = function() {
|
|
32224
32247
|
var t;
|
|
32225
32248
|
return (t = z(this, Ie).tw) == null || t.end(), !1;
|
|
32226
32249
|
}, tl = new WeakSet(), Oc = function(t) {
|
|
32227
|
-
ot(this,
|
|
32250
|
+
ot(this, xn, ya).call(this);
|
|
32228
32251
|
const e = argChk_Num(t, "time", NaN);
|
|
32229
|
-
if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this,
|
|
32252
|
+
if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this, kr).isSkippingByKeyDown())
|
|
32230
32253
|
return !1;
|
|
32231
32254
|
const o = [];
|
|
32232
32255
|
ot(this, Ue, Qe).call(this, t.layer).forEach((U) => {
|
|
32233
32256
|
o.push(z(this, Jt)[U].fore.spLay);
|
|
32234
|
-
}), z(this,
|
|
32257
|
+
}), z(this, Gr).resize(CmnLib.stageW, CmnLib.stageH);
|
|
32235
32258
|
const R = () => {
|
|
32236
32259
|
z(this, ne).visible = !0, o.forEach(
|
|
32237
|
-
(U) => this.appPixi.renderer.render(U, { renderTexture: z(this,
|
|
32260
|
+
(U) => this.appPixi.renderer.render(U, { renderTexture: z(this, Gr), clear: !1 })
|
|
32238
32261
|
), z(this, ne).visible = !1;
|
|
32239
32262
|
};
|
|
32240
32263
|
z(this, Ce).visible = !0, z(this, Ce).alpha = 1;
|
|
@@ -32256,7 +32279,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
|
|
|
32256
32279
|
const e = ot(this, Fi, qn).call(this, t);
|
|
32257
32280
|
let o = z(this, Jt)[e].fore, R = () => {
|
|
32258
32281
|
};
|
|
32259
|
-
const N = z(this,
|
|
32282
|
+
const N = z(this, kr).isSkippingByKeyDown();
|
|
32260
32283
|
!N && "render" in t && (o.renderStart(), R = () => o.renderEnd());
|
|
32261
32284
|
const M = cnvTweenArg(t, o), D = argChk_Num(t, "repeat", 1), L = (H = t.name) != null ? H : t.layer, B = new Tween(o).to(M, argChk_Num(t, "time", NaN) * (Boolean(this.val.getVal("tmp:sn.skip.enabled") || N) ? 0 : 1)).delay(argChk_Num(t, "delay", 0)).easing(CmnTween.ease(t.ease)).repeat(D === 0 ? 1 / 0 : D - 1).yoyo(argChk_Boolean(t, "yoyo", !1)).onComplete(() => {
|
|
32262
32285
|
var X, Y;
|
|
@@ -32285,7 +32308,7 @@ ${t.id}` : (R = t.name) != null ? R : t.layer;
|
|
|
32285
32308
|
if (!e)
|
|
32286
32309
|
throw "\u30C8\u30A5\u30A4\u30FC\u30F3\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093";
|
|
32287
32310
|
const o = z(this, Ye)[e];
|
|
32288
|
-
return o != null && o.tw ? o.resume = z(this,
|
|
32311
|
+
return o != null && o.tw ? o.resume = z(this, kr).waitEvent(
|
|
32289
32312
|
() => {
|
|
32290
32313
|
var N;
|
|
32291
32314
|
return (N = o.tw) == null ? void 0 : N.end();
|
|
@@ -32332,13 +32355,13 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
|
|
|
32332
32355
|
const { layer: e } = t;
|
|
32333
32356
|
if (!e)
|
|
32334
32357
|
throw "[current] layer\u306F\u5FC5\u9808\u3067\u3059";
|
|
32335
|
-
if (rt(this,
|
|
32358
|
+
if (rt(this, Ur, z(this, Jt)[e]), !(z(this, Ur).getPage(t) instanceof TxtLayer))
|
|
32336
32359
|
throw `${e}\u306FTxtLayer\u3067\u306F\u3042\u308A\u307E\u305B\u3093`;
|
|
32337
32360
|
return this.recText("", !0), rt(this, Ir, e), this.val.setVal_Nochk("save", "const.sn.mesLayer", e), ot(this, Ue, Qe).call(this).forEach((o) => {
|
|
32338
32361
|
const R = z(this, Jt)[o];
|
|
32339
32362
|
R.fore instanceof TxtLayer && (R.fore.isCur = R.back.isCur = o === e);
|
|
32340
32363
|
}), !1;
|
|
32341
|
-
},
|
|
32364
|
+
}, Ur = new WeakMap(), Li = new WeakMap(), Fi = new WeakSet(), qn = function(t, e = "") {
|
|
32342
32365
|
var R;
|
|
32343
32366
|
const o = (R = t.layer) != null ? R : e;
|
|
32344
32367
|
if (o.includes(","))
|
|
@@ -32352,7 +32375,7 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
|
|
|
32352
32375
|
}, ll = new WeakSet(), Gc = function(t) {
|
|
32353
32376
|
return z(this, ar).call(this, "endlink\uFF5C", z(this, fr).call(this, t)), !1;
|
|
32354
32377
|
}, hl = new WeakSet(), Uc = function(t) {
|
|
32355
|
-
return argChk_Boolean(t, "rec_page_break", !0) && this.recText("", !0), z(this,
|
|
32378
|
+
return argChk_Boolean(t, "rec_page_break", !0) && this.recText("", !0), z(this, Ur) && (z(this, Ur).fore.clearLay(t), z(this, Ur).back.clearLay(t)), !1;
|
|
32356
32379
|
}, cl = new WeakSet(), Hc = function(t) {
|
|
32357
32380
|
if (!t.pic)
|
|
32358
32381
|
throw "[graph] pic\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -32409,11 +32432,11 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
|
|
|
32409
32432
|
var e, o, R;
|
|
32410
32433
|
return Pages.argChk_page(t, "back"), (e = t.clicksebuf) != null || (t.clicksebuf = "SYS"), (o = t.entersebuf) != null || (t.entersebuf = "SYS"), (R = t.leavesebuf) != null || (t.leavesebuf = "SYS"), t.fn || (t.fn = this.scrItr.scriptFn), z(this, fr).call(this, t).addButton(t), this.scrItr.recodeDesign(t), !1;
|
|
32411
32434
|
}, it(LayerMng, Mi, 10);
|
|
32412
|
-
var ye, de, Tl, tf, ho,
|
|
32435
|
+
var ye, de, Tl, tf, ho, Tn, ba;
|
|
32413
32436
|
class FocusMng {
|
|
32414
32437
|
constructor() {
|
|
32415
32438
|
it(this, Tl);
|
|
32416
|
-
it(this,
|
|
32439
|
+
it(this, Tn);
|
|
32417
32440
|
it(this, ye, []);
|
|
32418
32441
|
it(this, de, -1);
|
|
32419
32442
|
it(this, ho, CmnLib.debugLog ? (t) => console.log(`\u{1F47E} <FocusMng idx:${t} btn:%o`, z(this, ye)[t].btn) : () => {
|
|
@@ -32489,7 +32512,7 @@ class FocusMng {
|
|
|
32489
32512
|
return z(this, de) < 0 ? !1 : z(this, ye)[z(this, de)].btn === t;
|
|
32490
32513
|
}
|
|
32491
32514
|
prev() {
|
|
32492
|
-
ot(this,
|
|
32515
|
+
ot(this, Tn, ba).call(this);
|
|
32493
32516
|
const t = z(this, ye).length;
|
|
32494
32517
|
if (t !== 0) {
|
|
32495
32518
|
--Pe(this, de)._ < 0 && rt(this, de, t - 1);
|
|
@@ -32504,7 +32527,7 @@ class FocusMng {
|
|
|
32504
32527
|
}
|
|
32505
32528
|
}
|
|
32506
32529
|
next() {
|
|
32507
|
-
ot(this,
|
|
32530
|
+
ot(this, Tn, ba).call(this);
|
|
32508
32531
|
const t = z(this, ye).length;
|
|
32509
32532
|
if (t !== 0) {
|
|
32510
32533
|
++Pe(this, de)._ >= t && rt(this, de, 0);
|
|
@@ -32521,12 +32544,12 @@ class FocusMng {
|
|
|
32521
32544
|
getFocus() {
|
|
32522
32545
|
if (z(this, de) < 0)
|
|
32523
32546
|
return;
|
|
32524
|
-
ot(this,
|
|
32547
|
+
ot(this, Tn, ba).call(this), z(this, de) >= z(this, ye).length && rt(this, de, 0);
|
|
32525
32548
|
const t = z(this, ye)[z(this, de)];
|
|
32526
32549
|
return t.on() ? t.btn : void 0;
|
|
32527
32550
|
}
|
|
32528
32551
|
blur() {
|
|
32529
|
-
ot(this,
|
|
32552
|
+
ot(this, Tn, ba).call(this), rt(this, de, -1), globalThis.focus();
|
|
32530
32553
|
}
|
|
32531
32554
|
}
|
|
32532
32555
|
ye = new WeakMap(), de = new WeakMap(), Tl = new WeakSet(), tf = function(t, e) {
|
|
@@ -32536,7 +32559,7 @@ ye = new WeakMap(), de = new WeakMap(), Tl = new WeakSet(), tf = function(t, e)
|
|
|
32536
32559
|
o[(N + R + (e === "ArrowUp" ? -1 : 1)) % R].checked = !0;
|
|
32537
32560
|
break;
|
|
32538
32561
|
}
|
|
32539
|
-
}, ho = new WeakMap(),
|
|
32562
|
+
}, ho = new WeakMap(), Tn = new WeakSet(), ba = function() {
|
|
32540
32563
|
for (let t = z(this, ye).length - 1; t >= 0; --t) {
|
|
32541
32564
|
const e = z(this, ye)[t];
|
|
32542
32565
|
!(e.btn instanceof Container) || e.btn.parent ? e.off() : z(this, ye).splice(t, 1);
|
|
@@ -33516,7 +33539,7 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
|
|
|
33516
33539
|
defaultModifiers
|
|
33517
33540
|
});
|
|
33518
33541
|
const { GamepadListener } = require("gamepad.js");
|
|
33519
|
-
var
|
|
33542
|
+
var Hr, Bi, Le, co, fo, xh, po, Th, vo, Sh, Gs, Us, go, Ch, Ee, dr, ai, oi, _o, $i, Zn, mo, yo, He, Hs, zs, bo, Sl, ef, Eo, Sn, Cl, rf, xo, Ih, Il, nf, To, wh, Cn, Ea, In, wl, sf, Rl, af, pr, Pl, of, Al, uf, js, iu, ui, wn, Rn, Ol, lf, ze;
|
|
33520
33543
|
class EventMng {
|
|
33521
33544
|
constructor(t, e, o, R, N, M, D, L, B) {
|
|
33522
33545
|
it(this, fo);
|
|
@@ -33529,14 +33552,14 @@ class EventMng {
|
|
|
33529
33552
|
it(this, xo);
|
|
33530
33553
|
it(this, Il);
|
|
33531
33554
|
it(this, To);
|
|
33532
|
-
it(this,
|
|
33555
|
+
it(this, Cn);
|
|
33533
33556
|
it(this, wl);
|
|
33534
33557
|
it(this, Rl);
|
|
33535
33558
|
it(this, Pl);
|
|
33536
33559
|
it(this, Al);
|
|
33537
33560
|
it(this, js);
|
|
33538
33561
|
it(this, Ol);
|
|
33539
|
-
it(this,
|
|
33562
|
+
it(this, Hr, new EventListenerCtn());
|
|
33540
33563
|
it(this, Bi, new GamepadListener({
|
|
33541
33564
|
analog: !1,
|
|
33542
33565
|
deadZone: 0.3
|
|
@@ -33548,8 +33571,8 @@ class EventMng {
|
|
|
33548
33571
|
it(this, Us, !1);
|
|
33549
33572
|
it(this, Ee, {});
|
|
33550
33573
|
it(this, dr, {});
|
|
33551
|
-
it(this, si, !1);
|
|
33552
33574
|
it(this, ai, !1);
|
|
33575
|
+
it(this, oi, !1);
|
|
33553
33576
|
it(this, _o, (t) => {
|
|
33554
33577
|
var e;
|
|
33555
33578
|
return (e = z(this, Ee)[t]) != null ? e : z(this, dr)[t];
|
|
@@ -33570,13 +33593,13 @@ class EventMng {
|
|
|
33570
33593
|
});
|
|
33571
33594
|
it(this, Eo, (t, e) => {
|
|
33572
33595
|
});
|
|
33573
|
-
it(this,
|
|
33574
|
-
it(this,
|
|
33596
|
+
it(this, Sn, new EventListenerCtn());
|
|
33597
|
+
it(this, In, () => this.layMng.goTxt());
|
|
33575
33598
|
it(this, pr, () => !1);
|
|
33576
|
-
it(this,
|
|
33599
|
+
it(this, ui, () => {
|
|
33577
33600
|
});
|
|
33578
|
-
it(this,
|
|
33579
|
-
it(this,
|
|
33601
|
+
it(this, wn, new EventEmitter$4());
|
|
33602
|
+
it(this, Rn, "sn:notice_comp_txt");
|
|
33580
33603
|
it(this, ze, {
|
|
33581
33604
|
Alt: 0,
|
|
33582
33605
|
Meta: 0,
|
|
@@ -33593,15 +33616,15 @@ class EventMng {
|
|
|
33593
33616
|
}, !1, !0)), e.set_cancel_skip = () => ot(this, Pl, of).call(this), e.set_focus = (X) => ot(this, Al, uf).call(this, X), e.wait = (X) => ot(this, js, iu).call(this, X), e.waitclick = () => ot(this, Ol, lf).call(this), D.setEvtMng(this), L.setOtherObj(this, N), TxtLayer.setEvtMng(R, this, B), N.setEvtMng(this), B.setFire((X, Y) => this.fire(X, Y)), CmnLib.isDbg) {
|
|
33594
33617
|
const X = {
|
|
33595
33618
|
pause: () => {
|
|
33596
|
-
if (rt(this,
|
|
33619
|
+
if (rt(this, ai, !0), !z(this, oi))
|
|
33597
33620
|
return;
|
|
33598
33621
|
const Y = {};
|
|
33599
33622
|
this.scrItr.recodeDesign(Y), this.sys.callHook("_enterDesign", Y), this.sys.send2Dbg("_enterDesign", Y);
|
|
33600
33623
|
},
|
|
33601
|
-
stopOnBreakpoint: () => rt(this,
|
|
33602
|
-
stopOnDataBreakpoint: () => rt(this,
|
|
33603
|
-
continue: () => rt(this,
|
|
33604
|
-
disconnect: () => rt(this,
|
|
33624
|
+
stopOnBreakpoint: () => rt(this, ai, !0),
|
|
33625
|
+
stopOnDataBreakpoint: () => rt(this, ai, !0),
|
|
33626
|
+
continue: () => rt(this, ai, !1),
|
|
33627
|
+
disconnect: () => rt(this, ai, !1)
|
|
33605
33628
|
};
|
|
33606
33629
|
X.attach = X.stopOnEntry = X.stopOnStep = X.stopOnStepIn = X.stopOnStepOut = X.stopOnBackstep = X.pause, B.addHook((Y) => {
|
|
33607
33630
|
var q;
|
|
@@ -33647,7 +33670,7 @@ class EventMng {
|
|
|
33647
33670
|
<div class="sn_hint" role="tooltip">
|
|
33648
33671
|
<span>Dummy</span>
|
|
33649
33672
|
<div class="sn_hint_ar" data-popper-arrow></div>
|
|
33650
|
-
</div>`), rt(this, He, document.querySelector(".sn_hint")), rt(this, Hs, z(this, He).querySelector("span")), rt(this, zs, createPopper(z(this, yo), z(this, He))), z(this, He).hidden = !0, o.stage.interactive = !0, CmnLib.isMobile ? o.stage.on("pointerdown", (X) => this.fire("click", X)) : z(this,
|
|
33673
|
+
</div>`), rt(this, He, document.querySelector(".sn_hint")), rt(this, Hs, z(this, He).querySelector("span")), rt(this, zs, createPopper(z(this, yo), z(this, He))), z(this, He).hidden = !0, o.stage.interactive = !0, CmnLib.isMobile ? o.stage.on("pointerdown", (X) => this.fire("click", X)) : z(this, Hr).add(o.stage, "pointerdown", (X) => {
|
|
33651
33674
|
switch (X.data.button) {
|
|
33652
33675
|
case 0:
|
|
33653
33676
|
this.fire("click", X);
|
|
@@ -33656,13 +33679,13 @@ class EventMng {
|
|
|
33656
33679
|
this.fire("middleclick", X);
|
|
33657
33680
|
break;
|
|
33658
33681
|
}
|
|
33659
|
-
}), z(this,
|
|
33682
|
+
}), z(this, Hr).add(window, "keydown", (X) => ot(this, fo, xh).call(this, X)), z(this, Hr).add(o.view, "contextmenu", (X) => ot(this, po, Th).call(this, X));
|
|
33660
33683
|
const $ = (X) => {
|
|
33661
33684
|
CmnLib.isDarkMode = X.matches, M.setVal_Nochk("tmp", "const.sn.isDarkMode", CmnLib.isDarkMode);
|
|
33662
33685
|
}, U = globalThis.matchMedia("(prefers-color-scheme: dark)");
|
|
33663
33686
|
$(U), U.addEventListener("change", (X) => {
|
|
33664
33687
|
$(X), this.fire("sn:chgDarkMode", X);
|
|
33665
|
-
}), "WheelEvent" in window && (z(this,
|
|
33688
|
+
}), "WheelEvent" in window && (z(this, Hr).add(o.view, "wheel", (X) => ot(this, vo, Sh).call(this, X), { passive: !0 }), rt(this, co, (X) => X.addEventListener("wheel", (Y) => ot(this, vo, Sh).call(this, Y), { passive: !0 })), rt(this, Eo, (X, Y) => X.add(o.view, "wheel", (q) => {
|
|
33666
33689
|
q.isComposing || q.deltaY <= 0 || (q.stopPropagation(), Y());
|
|
33667
33690
|
}))), CmnLib.debugLog && (z(this, Bi).on("gamepad:connected", (X) => console.log(`\u{1F47A}<'gamepad:connected' index:${X.detail.index} id:${X.detail.gamepad.id}`)), z(this, Bi).on("gamepad:disconnected", (X) => console.log(`\u{1F47A}<'gamepad:disconnected' index:${X.detail.index} id:${X.detail.gamepad.id}`)));
|
|
33668
33691
|
const H = [
|
|
@@ -33692,7 +33715,7 @@ class EventMng {
|
|
|
33692
33715
|
(!Y || Y instanceof Container ? globalThis : Y).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
|
|
33693
33716
|
} else
|
|
33694
33717
|
o.view.dispatchEvent(new Event("contextmenu"));
|
|
33695
|
-
}), z(this, Bi).start(), z(this,
|
|
33718
|
+
}), z(this, Bi).start(), z(this, Hr).add(window, "keyup", (X) => {
|
|
33696
33719
|
X.isComposing || X.key in z(this, ze) && (z(this, ze)[X.key] = 0);
|
|
33697
33720
|
}), M.defTmp("const.sn.key.alternate", () => z(this, ze).Alt > 0), M.defTmp("const.sn.key.command", () => z(this, ze).Meta > 0), M.defTmp("const.sn.key.control", () => z(this, ze).Control > 0), M.defTmp("const.sn.key.end", () => z(this, ze).End > 0), M.defTmp("const.sn.key.escape", () => z(this, ze).Escape > 0), M.defTmp("const.sn.key.back", () => z(this, ze).GoBack > 0);
|
|
33698
33721
|
}
|
|
@@ -33700,11 +33723,11 @@ class EventMng {
|
|
|
33700
33723
|
t.addEventListener("keydown", (e) => ot(this, fo, xh).call(this, e)), t.addEventListener("contextmenu", (e) => ot(this, po, Th).call(this, e)), z(this, co).call(this, t);
|
|
33701
33724
|
}
|
|
33702
33725
|
destroy() {
|
|
33703
|
-
z(this, Le).destroy(), z(this,
|
|
33726
|
+
z(this, Le).destroy(), z(this, Hr).clear();
|
|
33704
33727
|
}
|
|
33705
33728
|
fire(t, e) {
|
|
33706
33729
|
var N;
|
|
33707
|
-
if (z(this, pr).call(this) || !z(this,
|
|
33730
|
+
if (z(this, pr).call(this) || !z(this, oi) || z(this, ai))
|
|
33708
33731
|
return;
|
|
33709
33732
|
const o = t.toLowerCase();
|
|
33710
33733
|
if (CmnLib.debugLog && console.log(`\u{1F47A} fire<(key:\`${o}\` type:${e.type} e:%o)`, { ...e }), o === "enter") {
|
|
@@ -33722,7 +33745,7 @@ class EventMng {
|
|
|
33722
33745
|
);
|
|
33723
33746
|
return;
|
|
33724
33747
|
}
|
|
33725
|
-
o.slice(-5) !== "wheel" && ((N = e.preventDefault) == null || N.call(e)), e.stopPropagation(), !(o.slice(0, 4) !== "dom=" && this.layMng.clickTxtLay()) && (rt(this,
|
|
33748
|
+
o.slice(-5) !== "wheel" && ((N = e.preventDefault) == null || N.call(e)), e.stopPropagation(), !(o.slice(0, 4) !== "dom=" && this.layMng.clickTxtLay()) && (rt(this, oi, !1), R(e), z(this, He).hidden = !0);
|
|
33726
33749
|
}
|
|
33727
33750
|
popLocalEvts() {
|
|
33728
33751
|
const t = z(this, Ee);
|
|
@@ -33785,23 +33808,23 @@ class EventMng {
|
|
|
33785
33808
|
z(this, He).hidden = !0;
|
|
33786
33809
|
}
|
|
33787
33810
|
waitLimitedEvent(t, e) {
|
|
33788
|
-
z(this,
|
|
33811
|
+
z(this, In).call(this), this.val.saveKidoku();
|
|
33789
33812
|
const o = () => {
|
|
33790
|
-
z(this,
|
|
33813
|
+
z(this, Sn).clear(), e();
|
|
33791
33814
|
};
|
|
33792
33815
|
if (this.val.getVal("tmp:sn.skip.enabled"))
|
|
33793
33816
|
if (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku)
|
|
33794
33817
|
z(this, pr).call(this);
|
|
33795
33818
|
else
|
|
33796
33819
|
return o(), !1;
|
|
33797
|
-
return argChk_Boolean(t, "canskip", !0) && (z(this,
|
|
33820
|
+
return argChk_Boolean(t, "canskip", !0) && (z(this, Sn).add(window, "pointerdown", (R) => {
|
|
33798
33821
|
R.stopPropagation(), o();
|
|
33799
|
-
}), z(this,
|
|
33822
|
+
}), z(this, Sn).add(window, "keydown", (R) => {
|
|
33800
33823
|
R.isComposing || (R.stopPropagation(), o());
|
|
33801
|
-
}), z(this, Eo).call(this, z(this,
|
|
33824
|
+
}), z(this, Eo).call(this, z(this, Sn), o)), !0;
|
|
33802
33825
|
}
|
|
33803
33826
|
noticeCompTxt() {
|
|
33804
|
-
z(this,
|
|
33827
|
+
z(this, wn).emit(z(this, Rn));
|
|
33805
33828
|
}
|
|
33806
33829
|
isSkippingByKeyDown() {
|
|
33807
33830
|
if (this.scrItr.skip4page)
|
|
@@ -33812,7 +33835,7 @@ class EventMng {
|
|
|
33812
33835
|
return !1;
|
|
33813
33836
|
}
|
|
33814
33837
|
}
|
|
33815
|
-
|
|
33838
|
+
Hr = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(), fo = new WeakSet(), xh = function(t) {
|
|
33816
33839
|
if (t.isComposing)
|
|
33817
33840
|
return;
|
|
33818
33841
|
t.key in z(this, ze) && (z(this, ze)[t.key] = t.repeat ? 2 : 1);
|
|
@@ -33839,11 +33862,11 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
|
|
|
33839
33862
|
}
|
|
33840
33863
|
rt(this, Gs, !1);
|
|
33841
33864
|
}, 250);
|
|
33842
|
-
}, Ee = new WeakMap(), dr = new WeakMap(),
|
|
33843
|
-
if (z(this,
|
|
33865
|
+
}, Ee = new WeakMap(), dr = new WeakMap(), ai = new WeakMap(), oi = new WeakMap(), _o = new WeakMap(), $i = new WeakSet(), Zn = function(t, e = !0, o = !0) {
|
|
33866
|
+
if (z(this, In).call(this), this.val.saveKidoku(), e ? z(this, Ee).click = z(this, Ee).enter = z(this, Ee).arrowdown = z(this, Ee)["wheel.y>0"] = t : (delete z(this, Ee).click, delete z(this, Ee).enter, delete z(this, Ee).arrowdown, delete z(this, Ee)["wheel.y>0"]), rt(this, _o, o ? (R) => {
|
|
33844
33867
|
var N;
|
|
33845
33868
|
return (N = z(this, Ee)[R]) != null ? N : z(this, dr)[R];
|
|
33846
|
-
} : (R) => z(this, Ee)[R]), rt(this,
|
|
33869
|
+
} : (R) => z(this, Ee)[R]), rt(this, oi, !0), z(this, mo).call(this), CmnLib.debugLog) {
|
|
33847
33870
|
const R = /* @__PURE__ */ Object.create(null);
|
|
33848
33871
|
R.local = Object.keys(z(this, Ee)), R.global = Object.keys(z(this, dr)), console.log("\u{1F38D} wait event... %o", R);
|
|
33849
33872
|
}
|
|
@@ -33872,13 +33895,13 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
|
|
|
33872
33895
|
width: o.width,
|
|
33873
33896
|
height: o.height
|
|
33874
33897
|
}), z(this, zs).update(), z(this, He).hidden = !1;
|
|
33875
|
-
}, Eo = new WeakMap(),
|
|
33898
|
+
}, Eo = new WeakMap(), Sn = new WeakMap(), Cl = new WeakSet(), rf = function(t) {
|
|
33876
33899
|
const e = argChk_Boolean(t, "global", !1), o = e ? z(this, dr) : z(this, Ee);
|
|
33877
33900
|
for (const R in o)
|
|
33878
33901
|
ot(this, xo, Ih).call(this, R, o[R]);
|
|
33879
|
-
return e ? rt(this, dr, {}) : rt(this, Ee, {}), rt(this,
|
|
33902
|
+
return e ? rt(this, dr, {}) : rt(this, Ee, {}), rt(this, oi, !1), !1;
|
|
33880
33903
|
}, xo = new WeakSet(), Ih = function(t, e) {
|
|
33881
|
-
t.slice(0, 4) === "dom=" && ot(this,
|
|
33904
|
+
t.slice(0, 4) === "dom=" && ot(this, Cn, Ea).call(this, t).el.forEach((o) => o.removeEventListener("click", e));
|
|
33882
33905
|
}, Il = new WeakSet(), nf = function(t) {
|
|
33883
33906
|
var M, D;
|
|
33884
33907
|
const e = t.key;
|
|
@@ -33891,7 +33914,7 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
|
|
|
33891
33914
|
return ot(this, xo, Ih).call(this, e, N[o]), delete N[o], !1;
|
|
33892
33915
|
}
|
|
33893
33916
|
if ((M = t.fn) != null || (t.fn = this.scrItr.scriptFn), e.slice(0, 4) === "dom=") {
|
|
33894
|
-
const L = ot(this,
|
|
33917
|
+
const L = ot(this, Cn, Ea).call(this, e);
|
|
33895
33918
|
if (L.el.length === 0) {
|
|
33896
33919
|
if (argChk_Boolean(t, "need_err", !0))
|
|
33897
33920
|
throw `HTML\u5185\u306B\u30BB\u30EC\u30AF\u30BF\uFF08${L.sel}\uFF09\u306B\u5BFE\u5FDC\u3059\u308B\u8981\u7D20\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u5B58\u5728\u3057\u306A\u3044\u5834\u5408\u3092\u8A31\u5BB9\u3059\u308B\u306A\u3089\u3001need_err=false \u3068\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044`;
|
|
@@ -33911,8 +33934,8 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
|
|
|
33911
33934
|
break;
|
|
33912
33935
|
}
|
|
33913
33936
|
B.forEach((U, H) => L.el.forEach((V) => {
|
|
33914
|
-
z(this,
|
|
33915
|
-
if (!z(this,
|
|
33937
|
+
z(this, Hr).add(V, U, (W) => {
|
|
33938
|
+
if (!z(this, oi) || this.layMng.getFrmDisabled(L.id) || U === "keydown" && W.key !== "Enter")
|
|
33916
33939
|
return;
|
|
33917
33940
|
const X = V.dataset;
|
|
33918
33941
|
for (const Y in X)
|
|
@@ -33937,7 +33960,7 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
|
|
|
33937
33960
|
e = e.parentElement;
|
|
33938
33961
|
} while (e !== null);
|
|
33939
33962
|
return !0;
|
|
33940
|
-
},
|
|
33963
|
+
}, Cn = new WeakSet(), Ea = function(t) {
|
|
33941
33964
|
const e = t.indexOf(":");
|
|
33942
33965
|
let o = "";
|
|
33943
33966
|
if (e >= 0) {
|
|
@@ -33948,11 +33971,11 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
|
|
|
33948
33971
|
return o = t.slice(e + 1), { el: D.document.querySelectorAll(o), id: R, sel: o };
|
|
33949
33972
|
}
|
|
33950
33973
|
return o = t.slice(4), { el: document.querySelectorAll(o), id: "", sel: o };
|
|
33951
|
-
},
|
|
33974
|
+
}, In = new WeakMap(), wl = new WeakSet(), sf = function(t) {
|
|
33952
33975
|
if (this.scrItr.skip4page)
|
|
33953
33976
|
return !1;
|
|
33954
33977
|
if (!this.val.getVal("tmp:sn.tagL.enabled"))
|
|
33955
|
-
return z(this,
|
|
33978
|
+
return z(this, In).call(this), !1;
|
|
33956
33979
|
if (this.val.getVal("tmp:sn.skip.enabled")) {
|
|
33957
33980
|
if (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku)
|
|
33958
33981
|
z(this, pr).call(this);
|
|
@@ -33967,7 +33990,7 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
|
|
|
33967
33990
|
if (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku)
|
|
33968
33991
|
z(this, pr).call(this);
|
|
33969
33992
|
else if (this.val.getVal("sys:sn.skip.mode") == "s")
|
|
33970
|
-
return z(this,
|
|
33993
|
+
return z(this, In).call(this), !1;
|
|
33971
33994
|
}
|
|
33972
33995
|
if (this.val.getVal("tmp:sn.auto.enabled"))
|
|
33973
33996
|
return ot(this, js, iu).call(this, {
|
|
@@ -33981,11 +34004,11 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
|
|
|
33981
34004
|
this.hTag.er(t), e();
|
|
33982
34005
|
} : e);
|
|
33983
34006
|
}, pr = new WeakMap(), Pl = new WeakSet(), of = function() {
|
|
33984
|
-
return rt(this, pr, () => (rt(this, pr, () => !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(), z(this,
|
|
34007
|
+
return rt(this, pr, () => (rt(this, pr, () => !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(), z(this, ui).call(this), !0)), !1;
|
|
33985
34008
|
}, Al = new WeakSet(), uf = function(t) {
|
|
33986
34009
|
const { add: e, del: o, to: R } = t;
|
|
33987
34010
|
if ((e == null ? void 0 : e.slice(0, 4)) === "dom=") {
|
|
33988
|
-
const N = ot(this,
|
|
34011
|
+
const N = ot(this, Cn, Ea).call(this, e);
|
|
33989
34012
|
if (N.el.length === 0 && argChk_Boolean(t, "need_err", !0))
|
|
33990
34013
|
throw `HTML\u5185\u306B\u30BB\u30EC\u30AF\u30BF\uFF08${N.sel}\uFF09\u306B\u5BFE\u5FDC\u3059\u308B\u8981\u7D20\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u5B58\u5728\u3057\u306A\u3044\u5834\u5408\u3092\u8A31\u5BB9\u3059\u308B\u306A\u3089\u3001need_err=false \u3068\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044`;
|
|
33991
34014
|
return N.el.forEach((M) => z(this, Le).add(
|
|
@@ -33996,7 +34019,7 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
|
|
|
33996
34019
|
)), !1;
|
|
33997
34020
|
}
|
|
33998
34021
|
if ((o == null ? void 0 : o.slice(0, 4)) === "dom=") {
|
|
33999
|
-
const N = ot(this,
|
|
34022
|
+
const N = ot(this, Cn, Ea).call(this, o);
|
|
34000
34023
|
if (N.el.length === 0 && argChk_Boolean(t, "need_err", !0))
|
|
34001
34024
|
throw `HTML\u5185\u306B\u30BB\u30EC\u30AF\u30BF\uFF08${N.sel}\uFF09\u306B\u5BFE\u5FDC\u3059\u308B\u8981\u7D20\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u5B58\u5728\u3057\u306A\u3044\u5834\u5408\u3092\u8A31\u5BB9\u3059\u308B\u306A\u3089\u3001need_err=false \u3068\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044`;
|
|
34002
34025
|
return N.el.forEach((M) => z(this, Le).remove(M)), !1;
|
|
@@ -34017,22 +34040,22 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
|
|
|
34017
34040
|
return !1;
|
|
34018
34041
|
}, js = new WeakSet(), iu = function(t) {
|
|
34019
34042
|
const e = argChk_Num(t, "time", NaN);
|
|
34020
|
-
return this.scrItr.skip4page ? !1 : this.val.getVal("tmp:sn.skip.enabled") ? (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku && z(this, pr).call(this), !1) : (z(this,
|
|
34021
|
-
z(this,
|
|
34043
|
+
return this.scrItr.skip4page ? !1 : this.val.getVal("tmp:sn.skip.enabled") ? (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku && z(this, pr).call(this), !1) : (z(this, wn).once(z(this, Rn), () => {
|
|
34044
|
+
z(this, wn).off(z(this, Rn));
|
|
34022
34045
|
const o = new Tween({}).to({}, e).onComplete(() => {
|
|
34023
|
-
rt(this,
|
|
34046
|
+
rt(this, ui, () => {
|
|
34024
34047
|
}), o.stop(), this.main.resume();
|
|
34025
34048
|
}).start();
|
|
34026
|
-
rt(this,
|
|
34027
|
-
}), rt(this,
|
|
34028
|
-
rt(this,
|
|
34029
|
-
}), z(this,
|
|
34049
|
+
rt(this, ui, () => o.end());
|
|
34050
|
+
}), rt(this, ui, () => {
|
|
34051
|
+
rt(this, ui, () => {
|
|
34052
|
+
}), z(this, wn).off(z(this, Rn));
|
|
34030
34053
|
}), this.waitEvent(
|
|
34031
|
-
() => z(this,
|
|
34054
|
+
() => z(this, ui).call(this),
|
|
34032
34055
|
argChk_Boolean(t, "canskip", !0),
|
|
34033
34056
|
argChk_Boolean(t, "global", !1)
|
|
34034
34057
|
));
|
|
34035
|
-
},
|
|
34058
|
+
}, ui = new WeakMap(), wn = new WeakMap(), Rn = new WeakMap(), Ol = new WeakSet(), lf = function() {
|
|
34036
34059
|
return this.scrItr.skip4page ? !1 : ((this.val.getVal("tmp:sn.skip.enabled") || this.val.getVal("tmp:sn.auto.enabled")) && z(this, pr).call(this), ot(this, $i, Zn).call(this, () => this.main.resume()));
|
|
34037
34060
|
}, ze = new WeakMap();
|
|
34038
34061
|
class CallStack {
|
|
@@ -34040,20 +34063,20 @@ class CallStack {
|
|
|
34040
34063
|
this.fn = t, this.idx = e, this.csArg = o, this.toString = () => `[fn:${this.fn}, idx:${this.idx}, csArg:${this.csArg}]`;
|
|
34041
34064
|
}
|
|
34042
34065
|
}
|
|
34043
|
-
var Xt, ee, Ht, fe, ce,
|
|
34066
|
+
var Xt, ee, Ht, fe, ce, li, So, Rh, ki, Pn, Nl, hi, Co, Ph, Io, Ah, Vs, Gi, Kn, An, xa, On, ci, xe, Ml, hf, Nn, Ta, Dl, cf, Xs, Ws, or, Ll, ff, Fl, df, fi, qi, Bl, pf, Ui, Hi, Ys, qs, Zs, qe, $l, vf, kl, gf, Gl, _f, wo, Oh, Ul, mf, Hl, yf, zl, bf, Ro, Nh, Ks, Mn, Sa, zi, di, Zi, Po, Mh, Js, Ao, Dh, Oo, No, Qs, ji, ta, jl, Ef, je, Vl, xf, Mo, Lh, Do, Lo, Fo, Xl, Tf, zr, Bo, Fh, Wl, Sf, Yl, Cf, ql, If, ea, Dn, Zl, wf, ra, nu, Ln, Kl, Rf, vr, Jl, Pf, ia, su, Ql, Af, gr, Oe;
|
|
34044
34067
|
const tr = class {
|
|
34045
34068
|
constructor(t, e, o, R, N, M, D, L, B) {
|
|
34046
34069
|
it(this, So);
|
|
34047
34070
|
it(this, Co);
|
|
34048
34071
|
it(this, Io);
|
|
34049
34072
|
it(this, Gi);
|
|
34050
|
-
it(this,
|
|
34073
|
+
it(this, An);
|
|
34051
34074
|
it(this, Ml);
|
|
34052
|
-
it(this,
|
|
34075
|
+
it(this, Nn);
|
|
34053
34076
|
it(this, Dl);
|
|
34054
34077
|
it(this, Ll);
|
|
34055
34078
|
it(this, Fl);
|
|
34056
|
-
it(this,
|
|
34079
|
+
it(this, fi);
|
|
34057
34080
|
it(this, Bl);
|
|
34058
34081
|
it(this, $l);
|
|
34059
34082
|
it(this, kl);
|
|
@@ -34063,8 +34086,8 @@ const tr = class {
|
|
|
34063
34086
|
it(this, Hl);
|
|
34064
34087
|
it(this, zl);
|
|
34065
34088
|
it(this, Ro);
|
|
34066
|
-
it(this,
|
|
34067
|
-
it(this,
|
|
34089
|
+
it(this, Mn);
|
|
34090
|
+
it(this, di);
|
|
34068
34091
|
it(this, Po);
|
|
34069
34092
|
it(this, Ao);
|
|
34070
34093
|
it(this, jl);
|
|
@@ -34086,10 +34109,10 @@ const tr = class {
|
|
|
34086
34109
|
it(this, Ht, void 0);
|
|
34087
34110
|
it(this, fe, void 0);
|
|
34088
34111
|
it(this, ce, void 0);
|
|
34089
|
-
it(this, ui, void 0);
|
|
34090
|
-
it(this, ki, void 0);
|
|
34091
|
-
it(this, Rn, void 0);
|
|
34092
34112
|
it(this, li, void 0);
|
|
34113
|
+
it(this, ki, void 0);
|
|
34114
|
+
it(this, Pn, void 0);
|
|
34115
|
+
it(this, hi, void 0);
|
|
34093
34116
|
it(this, Vs, void 0);
|
|
34094
34117
|
it(this, xe, void 0);
|
|
34095
34118
|
it(this, Xs, void 0);
|
|
@@ -34113,17 +34136,17 @@ const tr = class {
|
|
|
34113
34136
|
it(this, Do, void 0);
|
|
34114
34137
|
it(this, Lo, void 0);
|
|
34115
34138
|
it(this, Fo, void 0);
|
|
34116
|
-
it(this,
|
|
34139
|
+
it(this, zr, void 0);
|
|
34117
34140
|
it(this, ea, void 0);
|
|
34118
|
-
it(this, Mn, void 0);
|
|
34119
34141
|
it(this, Dn, void 0);
|
|
34142
|
+
it(this, Ln, void 0);
|
|
34120
34143
|
it(this, vr, void 0);
|
|
34121
34144
|
it(this, gr, void 0);
|
|
34122
34145
|
it(this, Oe, void 0);
|
|
34123
|
-
if (this.cfg = t, this.hTag = e, this.main = o, this.val = R, this.alzTagArg = N, this.runAnalyze = M, this.prpPrs = D, this.sndMng = L, this.sys = B, rt(this, Xt, { aToken: [""], len: 1, aLNum: [1] }), rt(this, ee, ""), rt(this, Ht, 0), rt(this, fe, 0), this.addLineNum = ($) => rt(this, fe, z(this, fe) + $), rt(this, ce, []), rt(this,
|
|
34146
|
+
if (this.cfg = t, this.hTag = e, this.main = o, this.val = R, this.alzTagArg = N, this.runAnalyze = M, this.prpPrs = D, this.sndMng = L, this.sys = B, rt(this, Xt, { aToken: [""], len: 1, aLNum: [1] }), rt(this, ee, ""), rt(this, Ht, 0), rt(this, fe, 0), this.addLineNum = ($) => rt(this, fe, z(this, fe) + $), rt(this, ce, []), rt(this, li, new Grammar()), this.firstWait = () => {
|
|
34124
34147
|
}, rt(this, ki, {
|
|
34125
34148
|
disconnect: () => {
|
|
34126
|
-
rt(tr,
|
|
34149
|
+
rt(tr, On, {}), rt(tr, ci, {}), this.isBreak = () => !1, z(this, ki).continue({}), rt(this, xe, 0);
|
|
34127
34150
|
},
|
|
34128
34151
|
restart: () => this.isBreak = () => !1,
|
|
34129
34152
|
add_break: ($) => ot(this, So, Rh).call(this, $.fn, $.o),
|
|
@@ -34131,24 +34154,24 @@ const tr = class {
|
|
|
34131
34154
|
z(this, xe) === 0 && (rt(this, xe, 1), this.main.setLoop(!1, `\u5909\u6570 ${$.dataId}\u3010${$.old_v}\u3011\u2192\u3010${$.new_v}\u3011\u30C7\u30FC\u30BF\u30D6\u30EC\u30FC\u30AF`), this.sys.callHook("stopOnDataBreakpoint", {}), this.sys.send2Dbg("stopOnDataBreakpoint", {}));
|
|
34132
34155
|
},
|
|
34133
34156
|
set_func_break: ($) => {
|
|
34134
|
-
rt(tr,
|
|
34157
|
+
rt(tr, ci, {}), $.a.forEach((U) => z(tr, ci)[U.name] = 1), this.sys.send2Dbg($.ri, {});
|
|
34135
34158
|
},
|
|
34136
34159
|
stack: ($) => this.sys.send2Dbg($.ri, { a: ot(this, Dl, cf).call(this) }),
|
|
34137
34160
|
eval: ($) => {
|
|
34138
34161
|
this.sys.send2Dbg($.ri, { v: this.prpPrs.parse($.txt) });
|
|
34139
34162
|
},
|
|
34140
34163
|
continue: () => {
|
|
34141
|
-
ot(this,
|
|
34164
|
+
ot(this, An, xa).call(this) || (rt(this, Ht, z(this, Ht) - z(this, Gi, Kn)), rt(this, xe, 3), this.main.setLoop(!0), this.main.resume());
|
|
34142
34165
|
},
|
|
34143
34166
|
stepover: ($) => ot(this, Co, Ph).call(this, $),
|
|
34144
34167
|
stepin: () => {
|
|
34145
|
-
if (ot(this,
|
|
34168
|
+
if (ot(this, An, xa).call(this))
|
|
34146
34169
|
return;
|
|
34147
34170
|
const $ = z(this, Xt).aToken[z(this, Ht) - z(this, Gi, Kn)];
|
|
34148
|
-
this.sys.callHook(`stopOnStep${z(this,
|
|
34171
|
+
this.sys.callHook(`stopOnStep${z(this, Dn).test($) ? "In" : ""}`, {}), rt(this, Ht, z(this, Ht) - z(this, Gi, Kn)), rt(this, xe, z(this, xe) === 1 ? 4 : 5), this.main.setLoop(!0), this.main.resume();
|
|
34149
34172
|
},
|
|
34150
34173
|
stepout: ($) => {
|
|
34151
|
-
ot(this,
|
|
34174
|
+
ot(this, An, xa).call(this) || (z(this, ce).length > 0 ? ot(this, Io, Ah).call(this, !0) : ot(this, Co, Ph).call(this, $));
|
|
34152
34175
|
},
|
|
34153
34176
|
pause: () => {
|
|
34154
34177
|
rt(this, xe, 4), this.main.setLoop(!1, "\u4E00\u6642\u505C\u6B62"), this.sys.send2Dbg("stopOnStep", {});
|
|
@@ -34156,7 +34179,7 @@ const tr = class {
|
|
|
34156
34179
|
stopOnEntry: () => {
|
|
34157
34180
|
rt(this, xe, 4), this.main.setLoop(!1, "\u4E00\u6642\u505C\u6B62"), this.sys.send2Dbg("stopOnEntry", {});
|
|
34158
34181
|
}
|
|
34159
|
-
}), rt(this,
|
|
34182
|
+
}), rt(this, Pn, ($) => this.cfg.searchPath($, Config.EXT_SCRIPT)), rt(this, hi, ($) => (this.sys.pathBaseCnvSnPath4Dbg + z(this, Pn).call(this, $)).replace(z(tr, Nl), `$1/prj/$2/${z(this, ee)}$3`)), this.cnvPath4Dbg = ($) => this.sys.pathBaseCnvSnPath4Dbg + $.replace("/crypto_prj/", "/prj/"), rt(this, Vs, 0), rt(this, xe, 0), this.isBreak = ($) => !1, rt(this, Xs, ($) => {
|
|
34160
34183
|
}), rt(this, Ui, () => {
|
|
34161
34184
|
}), rt(this, Hi, () => {
|
|
34162
34185
|
}), rt(this, Ys, ""), rt(this, qs, {}), this.noticeBreak = ($) => {
|
|
@@ -34185,11 +34208,11 @@ const tr = class {
|
|
|
34185
34208
|
}
|
|
34186
34209
|
}
|
|
34187
34210
|
z(this, Xt).len = z(this, Xt).aToken.length;
|
|
34188
|
-
}), rt(this,
|
|
34211
|
+
}), rt(this, zr, !1), rt(this, ea, "call"), rt(this, Dn, /\[(call)\b/), rt(this, Ln, !1), rt(this, vr, {
|
|
34189
34212
|
hSave: {},
|
|
34190
34213
|
hPages: {},
|
|
34191
34214
|
aIfStk: [-1]
|
|
34192
|
-
}), rt(this, gr, []), rt(this, Oe, -1), e.let_ml = ($) => ot(this, Ll, ff).call(this, $), e.dump_stack = () => ot(this, Fl, df).call(this), e.dump_script = ($) => ot(this, Bl, pf).call(this, $), e.else = e.elsif = e.endif = () => ot(this, $l, vf).call(this), e.if = ($) => ot(this, kl, gf).call(this, $), e.call = ($) => ot(this, Gl, _f).call(this, $), e.jump = ($) => ot(this, Ul, mf).call(this, $), e.page = ($) => ot(this, Hl, yf).call(this, $), e.pop_stack = ($) => ot(this, zl, bf).call(this, $), e.return = ($) => ot(this, Ro, Nh).call(this, $), e.bracket2macro = ($) => ot(this, Wl, Sf).call(this, $), e.char2macro = ($) => ot(this, Yl, Cf).call(this, $), e.endmacro = ($) => ot(this, Ro, Nh).call(this, $), e.macro = ($) => ot(this, ql, If).call(this, $), e.load = ($) => ot(this, Zl, wf).call(this, $), e.reload_script = ($) => ot(this, Kl, Rf).call(this, $), e.record_place = () => ot(this, Jl, Pf).call(this), e.save = ($) => ot(this, Ql, Af).call(this, $), t.oCfg.debug.token && rt(this, Js, ($) => console.log(`\u{1F331} \u30C8\u30FC\u30AF\u30F3 fn:${z(this, ee)} idx:${z(this, Ht)} ln:${z(this, fe)} token\u3010${$}\u3011`)), R.defTmp("const.sn.vctCallStk.length", () => z(this, ce).length), z(this,
|
|
34215
|
+
}), rt(this, gr, []), rt(this, Oe, -1), e.let_ml = ($) => ot(this, Ll, ff).call(this, $), e.dump_stack = () => ot(this, Fl, df).call(this), e.dump_script = ($) => ot(this, Bl, pf).call(this, $), e.else = e.elsif = e.endif = () => ot(this, $l, vf).call(this), e.if = ($) => ot(this, kl, gf).call(this, $), e.call = ($) => ot(this, Gl, _f).call(this, $), e.jump = ($) => ot(this, Ul, mf).call(this, $), e.page = ($) => ot(this, Hl, yf).call(this, $), e.pop_stack = ($) => ot(this, zl, bf).call(this, $), e.return = ($) => ot(this, Ro, Nh).call(this, $), e.bracket2macro = ($) => ot(this, Wl, Sf).call(this, $), e.char2macro = ($) => ot(this, Yl, Cf).call(this, $), e.endmacro = ($) => ot(this, Ro, Nh).call(this, $), e.macro = ($) => ot(this, ql, If).call(this, $), e.load = ($) => ot(this, Zl, wf).call(this, $), e.reload_script = ($) => ot(this, Kl, Rf).call(this, $), e.record_place = () => ot(this, Jl, Pf).call(this), e.save = ($) => ot(this, Ql, Af).call(this, $), t.oCfg.debug.token && rt(this, Js, ($) => console.log(`\u{1F331} \u30C8\u30FC\u30AF\u30F3 fn:${z(this, ee)} idx:${z(this, Ht)} ln:${z(this, fe)} token\u3010${$}\u3011`)), R.defTmp("const.sn.vctCallStk.length", () => z(this, ce).length), z(this, li).setEscape(t.oCfg.init.escape), CmnLib.isDbg) {
|
|
34193
34216
|
B.addHook((U, H) => {
|
|
34194
34217
|
var V, W;
|
|
34195
34218
|
return (W = (V = z(this, ki))[U]) == null ? void 0 : W.call(V, H);
|
|
@@ -34202,7 +34225,7 @@ const tr = class {
|
|
|
34202
34225
|
const H = U.hBreakpoint.hFn2hLineBP;
|
|
34203
34226
|
for (const V in H)
|
|
34204
34227
|
ot(this, So, Rh).call(this, V, H[V]);
|
|
34205
|
-
if (rt(tr,
|
|
34228
|
+
if (rt(tr, ci, {}), U.hBreakpoint.aFunc.forEach((V) => z(tr, ci)[V.name] = 1), U.stopOnEntry) {
|
|
34206
34229
|
for (; ; ) {
|
|
34207
34230
|
let V = this.nextToken();
|
|
34208
34231
|
if (!V)
|
|
@@ -34294,7 +34317,7 @@ const tr = class {
|
|
|
34294
34317
|
const e = t.split(`
|
|
34295
34318
|
`).slice(-z(this, Zs)), o = e.length;
|
|
34296
34319
|
console.group(`\u{1F95F} Error line (from ${o} rows before) fn:${z(this, ee)}`);
|
|
34297
|
-
const R = String(z(this, fe)).length, N = ot(this,
|
|
34320
|
+
const R = String(z(this, fe)).length, N = ot(this, fi, qi).call(this, z(this, Xt), z(this, Ht));
|
|
34298
34321
|
for (let D = 0; D < o; ++D) {
|
|
34299
34322
|
const L = z(this, fe) - o + D + 1, B = `${String(L).padStart(R, " ")}: %c`, $ = e[D], U = $.length > 75 ? $.slice(0, 75) + "\u2026" : $;
|
|
34300
34323
|
D === o - 1 ? console.info(
|
|
@@ -34310,7 +34333,7 @@ const tr = class {
|
|
|
34310
34333
|
rt(this, Ht, t.idx), rt(this, fe, t.ln), this.runAnalyze();
|
|
34311
34334
|
}
|
|
34312
34335
|
get isKidoku() {
|
|
34313
|
-
return z(this,
|
|
34336
|
+
return z(this, zr);
|
|
34314
34337
|
}
|
|
34315
34338
|
get isNextKidoku() {
|
|
34316
34339
|
let t = z(this, ee), e = z(this, Ht), o = z(this, Xt).len;
|
|
@@ -34324,13 +34347,13 @@ const tr = class {
|
|
|
34324
34347
|
return !R || e === o ? !1 : R.search(e);
|
|
34325
34348
|
}
|
|
34326
34349
|
get normalWait() {
|
|
34327
|
-
return z(this,
|
|
34350
|
+
return z(this, zr) ? this.val.getVal("sys:sn.tagCh.doWait_Kidoku") ? uint(this.val.getVal("sys:sn.tagCh.msecWait_Kidoku")) : 0 : this.val.getVal("sys:sn.tagCh.doWait") ? uint(this.val.getVal("sys:sn.tagCh.msecWait")) : 0;
|
|
34328
34351
|
}
|
|
34329
34352
|
get skip4page() {
|
|
34330
|
-
return z(this,
|
|
34353
|
+
return z(this, Ln);
|
|
34331
34354
|
}
|
|
34332
34355
|
recodePage() {
|
|
34333
|
-
if (rt(this,
|
|
34356
|
+
if (rt(this, Ln, !1), !this.val.getVal("save:sn.doRecLog"))
|
|
34334
34357
|
return;
|
|
34335
34358
|
const { fn: t, idx: e } = ot(this, ia, su).call(this), o = e - 1, R = o + ":" + t, N = z(this, gr).findIndex((D) => D.key === R);
|
|
34336
34359
|
if (N > -1) {
|
|
@@ -34359,8 +34382,8 @@ const tr = class {
|
|
|
34359
34382
|
e = D.fn, o = D.idx;
|
|
34360
34383
|
} else
|
|
34361
34384
|
e = z(this, ee), o = z(this, Ht);
|
|
34362
|
-
t[":path"] = z(this,
|
|
34363
|
-
const N = ot(this,
|
|
34385
|
+
t[":path"] = z(this, hi).call(this, e);
|
|
34386
|
+
const N = ot(this, fi, qi).call(this, z(this, je)[e], o);
|
|
34364
34387
|
t[":ln"] = N.ln, t[":col_s"] = N.col_s, t[":col_e"] = N.col_e;
|
|
34365
34388
|
const M = o - 1;
|
|
34366
34389
|
t[":idx_tkn"] = M, t[":token"] = z(this, je)[e].aToken[M], this.sys.send2Dbg("_recodeDesign", t);
|
|
@@ -34370,41 +34393,41 @@ const tr = class {
|
|
|
34370
34393
|
}
|
|
34371
34394
|
};
|
|
34372
34395
|
let ScriptIterator = tr;
|
|
34373
|
-
Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(), ce = new WeakMap(),
|
|
34374
|
-
z(tr,
|
|
34375
|
-
}, ki = new WeakMap(),
|
|
34376
|
-
if (ot(this,
|
|
34396
|
+
Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(), ce = new WeakMap(), li = new WeakMap(), So = new WeakSet(), Rh = function(t, e) {
|
|
34397
|
+
z(tr, On)[z(this, hi).call(this, t)] = e;
|
|
34398
|
+
}, ki = new WeakMap(), Pn = new WeakMap(), Nl = new WeakMap(), hi = new WeakMap(), Co = new WeakSet(), Ph = function(t) {
|
|
34399
|
+
if (ot(this, An, xa).call(this))
|
|
34377
34400
|
return;
|
|
34378
34401
|
const e = z(this, Xt).aToken[z(this, Ht) - z(this, Gi, Kn)];
|
|
34379
|
-
z(this,
|
|
34402
|
+
z(this, Dn).test(e) ? ot(this, Io, Ah).call(this, !1) : (this.sys.callHook("stopOnStep", {}), z(this, ki).stepin(t));
|
|
34380
34403
|
}, Io = new WeakSet(), Ah = function(t) {
|
|
34381
34404
|
this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), rt(this, Vs, z(this, ce).length - (t ? 1 : 0)), rt(this, Ht, z(this, Ht) - z(this, Gi, Kn)), rt(this, xe, t ? 7 : 6), this.main.setLoop(!0), this.main.resume();
|
|
34382
34405
|
}, Vs = new WeakMap(), Gi = new WeakSet(), Kn = function() {
|
|
34383
34406
|
return z(this, xe) === 2 || z(this, xe) === 4 ? 1 : 0;
|
|
34384
|
-
},
|
|
34407
|
+
}, An = new WeakSet(), xa = function() {
|
|
34385
34408
|
return z(this, Ht) < z(this, Xt).len ? !1 : (this.sys.callHook("stopOnEntry", {}), this.main.setLoop(!1, "\u30B9\u30AF\u30EA\u30D7\u30C8\u7D42\u7AEF\u3067\u3059"), !0);
|
|
34386
|
-
},
|
|
34409
|
+
}, On = new WeakMap(), ci = new WeakMap(), xe = new WeakMap(), Ml = new WeakSet(), hf = function(t) {
|
|
34387
34410
|
switch (z(this, xe)) {
|
|
34388
34411
|
case 6:
|
|
34389
|
-
ot(this,
|
|
34412
|
+
ot(this, Nn, Ta).call(this), rt(this, xe, 7);
|
|
34390
34413
|
break;
|
|
34391
34414
|
case 7:
|
|
34392
34415
|
if (z(this, ce).length !== z(this, Vs))
|
|
34393
34416
|
break;
|
|
34394
34417
|
return rt(this, xe, 4), this.main.setLoop(!1, "\u30B9\u30C6\u30C3\u30D7\u5B9F\u884C"), this.sys.send2Dbg("stopOnStep", {}), !0;
|
|
34395
34418
|
case 5:
|
|
34396
|
-
ot(this,
|
|
34419
|
+
ot(this, Nn, Ta).call(this), rt(this, xe, 4);
|
|
34397
34420
|
break;
|
|
34398
34421
|
case 4:
|
|
34399
|
-
return ot(this,
|
|
34422
|
+
return ot(this, Nn, Ta).call(this), this.main.setLoop(!1, "\u30B9\u30C6\u30C3\u30D7\u5B9F\u884C"), this.sys.send2Dbg("stopOnStep", {}), !0;
|
|
34400
34423
|
case 3:
|
|
34401
|
-
ot(this,
|
|
34424
|
+
ot(this, Nn, Ta).call(this), rt(this, xe, 0);
|
|
34402
34425
|
break;
|
|
34403
34426
|
default:
|
|
34404
|
-
if (tagToken2Name(t) in z(tr,
|
|
34427
|
+
if (tagToken2Name(t) in z(tr, ci))
|
|
34405
34428
|
return rt(this, xe, 2), this.main.setLoop(!1, `\u95A2\u6570 ${t} \u30D6\u30EC\u30FC\u30AF`), this.sys.callHook("stopOnBreakpoint", {}), this.sys.send2Dbg("stopOnBreakpoint", {}), !0;
|
|
34406
34429
|
{
|
|
34407
|
-
const e = z(tr,
|
|
34430
|
+
const e = z(tr, On)[z(this, hi).call(this, z(this, ee))];
|
|
34408
34431
|
if (!e)
|
|
34409
34432
|
break;
|
|
34410
34433
|
const o = e[z(this, fe)];
|
|
@@ -34423,22 +34446,22 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34423
34446
|
return !0;
|
|
34424
34447
|
}
|
|
34425
34448
|
return !1;
|
|
34426
|
-
},
|
|
34449
|
+
}, Nn = new WeakSet(), Ta = function() {
|
|
34427
34450
|
var e;
|
|
34428
|
-
const t = (e = z(tr,
|
|
34451
|
+
const t = (e = z(tr, On)[getFn(z(this, ee))]) == null ? void 0 : e[z(this, fe)];
|
|
34429
34452
|
t != null && t.hitCondition && --t.hitCondition;
|
|
34430
34453
|
}, Dl = new WeakSet(), cf = function() {
|
|
34431
34454
|
var $, U;
|
|
34432
|
-
const t = z(this, xe) === 3 ? 1 : 0, e = z(this, Xt).aToken[z(this, Ht) - 1 + t], o = z(this,
|
|
34455
|
+
const t = z(this, xe) === 3 ? 1 : 0, e = z(this, Xt).aToken[z(this, Ht) - 1 + t], o = z(this, hi).call(this, z(this, ee)), R = tagToken2Name(e), N = R ? `[${R}]` : e, M = ($ = this.val.getVal("mp:const.sn.macro")) != null ? $ : "{}";
|
|
34433
34456
|
if (z(this, Ht) === 0)
|
|
34434
34457
|
return [{ fn: o, ln: 1, col: 1, nm: N, ma: M }];
|
|
34435
|
-
const D = ot(this,
|
|
34458
|
+
const D = ot(this, fi, qi).call(this, z(this, Xt), z(this, Ht)), L = [{ fn: o, ln: D.ln, col: D.col_s + 1, nm: N, ma: M }], B = z(this, ce).length;
|
|
34436
34459
|
if (B === 0)
|
|
34437
34460
|
return L;
|
|
34438
34461
|
for (let H = B - 1; H >= 0; --H) {
|
|
34439
|
-
const V = z(this, ce)[H], W = z(this, je)[V.fn], X = W.aToken[V.idx - 1], Y = ot(this,
|
|
34462
|
+
const V = z(this, ce)[H], W = z(this, je)[V.fn], X = W.aToken[V.idx - 1], Y = ot(this, fi, qi).call(this, W, V.idx), q = tagToken2Name(X);
|
|
34440
34463
|
L.push({
|
|
34441
|
-
fn: z(this,
|
|
34464
|
+
fn: z(this, hi).call(this, V.fn),
|
|
34442
34465
|
ln: Y.ln,
|
|
34443
34466
|
col: Y.col_s + 1,
|
|
34444
34467
|
nm: q ? `[${q}]` : X,
|
|
@@ -34460,20 +34483,20 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34460
34483
|
var R;
|
|
34461
34484
|
if (z(this, Ht) === 0)
|
|
34462
34485
|
return console.group(`\u{1F95F} [dump_stack] \u30B9\u30AF\u30EA\u30D7\u30C8\u73FE\u5728\u5730 fn:${z(this, ee)} line:${1} col:${0}`), console.groupEnd(), !1;
|
|
34463
|
-
const t = ot(this,
|
|
34486
|
+
const t = ot(this, fi, qi).call(this, z(this, Xt), z(this, Ht)), e = `\u30B9\u30AF\u30EA\u30D7\u30C8\u73FE\u5728\u5730 fn:${z(this, ee)} line:${t.ln} col:${t.col_s + 1}`;
|
|
34464
34487
|
console.group(`\u{1F95F} [dump_stack] ${e}`);
|
|
34465
34488
|
const o = z(this, ce).length;
|
|
34466
34489
|
if (o > 0) {
|
|
34467
34490
|
console.info(e);
|
|
34468
34491
|
for (let N = o - 1; N >= 0; --N) {
|
|
34469
|
-
const M = z(this, ce)[N], D = M.csArg[":hMp"], L = D ? D[":\u30BF\u30B0\u540D"] : void 0, B = (R = M.csArg[":\u30BF\u30B0\u540D"]) != null ? R : "", $ = ot(this,
|
|
34492
|
+
const M = z(this, ce)[N], D = M.csArg[":hMp"], L = D ? D[":\u30BF\u30B0\u540D"] : void 0, B = (R = M.csArg[":\u30BF\u30B0\u540D"]) != null ? R : "", $ = ot(this, fi, qi).call(this, z(this, je)[M.fn], M.idx);
|
|
34470
34493
|
console.info(
|
|
34471
34494
|
`${o - N}\u3064\u524D\u306E\u30B3\u30FC\u30EB\u5143 fn:${M.fn} line:${$.ln} col:${$.col_s + 1}` + (L ? "\uFF08[" + L + "]\u30DE\u30AF\u30ED\u5185\uFF09" : " ") + `\u3067 [${B} ...]\u3092\u30B3\u30FC\u30EB`
|
|
34472
34495
|
);
|
|
34473
34496
|
}
|
|
34474
34497
|
}
|
|
34475
34498
|
return console.groupEnd(), !1;
|
|
34476
|
-
},
|
|
34499
|
+
}, fi = new WeakSet(), qi = function(t, e) {
|
|
34477
34500
|
const o = { ln: 1, col_s: 0, col_e: 0 };
|
|
34478
34501
|
if (!t)
|
|
34479
34502
|
return o;
|
|
@@ -34571,11 +34594,11 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34571
34594
|
}, Gl = new WeakSet(), _f = function(t) {
|
|
34572
34595
|
argChk_Boolean(t, "count", !1) || ot(this, Bo, Fh).call(this);
|
|
34573
34596
|
const { fn: e } = t;
|
|
34574
|
-
return e && z(this,
|
|
34597
|
+
return e && z(this, Pn).call(this, e), ot(this, wo, Oh).call(this, { ":hEvt1Time": z(this, Ws).popLocalEvts(), ":hMp": this.val.cloneMp() }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), ot(this, di, Zi).call(this, e, t.label), !0;
|
|
34575
34598
|
}, wo = new WeakSet(), Oh = function(t) {
|
|
34576
|
-
z(this, Xt).aLNum[z(this, Ht)] = z(this, fe), z(this, Ks) || (t[":resvToken"] = "", ot(this,
|
|
34599
|
+
z(this, Xt).aLNum[z(this, Ht)] = z(this, fe), z(this, Ks) || (t[":resvToken"] = "", ot(this, Mn, Sa).call(this)), z(this, ce).push(new CallStack(z(this, ee), z(this, Ht), t)), z(this, qe).unshift(-1);
|
|
34577
34600
|
}, Ul = new WeakSet(), mf = function(t) {
|
|
34578
|
-
return argChk_Boolean(t, "count", !0) || ot(this, Bo, Fh).call(this), z(this, qe)[0] = -1, ot(this,
|
|
34601
|
+
return argChk_Boolean(t, "count", !0) || ot(this, Bo, Fh).call(this), z(this, qe)[0] = -1, ot(this, di, Zi).call(this, t.fn, t.label), !0;
|
|
34579
34602
|
}, Hl = new WeakSet(), yf = function(t) {
|
|
34580
34603
|
if (z(this, Oe) === -1)
|
|
34581
34604
|
return !1;
|
|
@@ -34605,7 +34628,7 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34605
34628
|
rt(this, ce, []);
|
|
34606
34629
|
else if (!z(this, ce).pop())
|
|
34607
34630
|
throw "[pop_stack] \u30B9\u30BF\u30C3\u30AF\u304C\u7A7A\u3067\u3059";
|
|
34608
|
-
return ot(this,
|
|
34631
|
+
return ot(this, Mn, Sa).call(this), rt(this, qe, [-1]), this.val.setMp({}), !1;
|
|
34609
34632
|
}, Ro = new WeakSet(), Nh = function(t) {
|
|
34610
34633
|
const e = z(this, ce).pop();
|
|
34611
34634
|
if (!e)
|
|
@@ -34615,17 +34638,17 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34615
34638
|
const R = o[":hMp"];
|
|
34616
34639
|
R && this.val.setMp(R);
|
|
34617
34640
|
const N = o[":resvToken"];
|
|
34618
|
-
N ? this.nextToken = () => (ot(this,
|
|
34641
|
+
N ? this.nextToken = () => (ot(this, Mn, Sa).call(this), N) : ot(this, Mn, Sa).call(this), o[":hEvt1Time"] && z(this, Ws).pushLocalEvts(o[":hEvt1Time"]);
|
|
34619
34642
|
const { fn: M, label: D } = t;
|
|
34620
|
-
return M || D ? (ot(this,
|
|
34621
|
-
}, Ks = new WeakMap(),
|
|
34643
|
+
return M || D ? (ot(this, di, Zi).call(this, M, D), !0) : e.fn in z(this, je) ? (ot(this, Mo, Lh).call(this, e), !1) : (ot(this, di, Zi).call(this, e.fn, "", e.idx), !0);
|
|
34644
|
+
}, Ks = new WeakMap(), Mn = new WeakSet(), Sa = function() {
|
|
34622
34645
|
rt(this, Ks, ""), this.nextToken = ot(this, Po, Mh);
|
|
34623
|
-
}, zi = new WeakMap(),
|
|
34646
|
+
}, zi = new WeakMap(), di = new WeakSet(), Zi = function(t = "", e = "", o = 0) {
|
|
34624
34647
|
if (!t && !e && this.main.errScript("[jump\u7CFB] fn\u307E\u305F\u306Flabel\u306F\u5FC5\u9808\u3067\u3059"), e ? (e.charAt(0) !== "*" && this.main.errScript("[jump\u7CFB] label\u306F*\u3067\u59CB\u307E\u308A\u307E\u3059"), rt(this, zi, e), z(this, zi).slice(0, 2) !== "**" && rt(this, Ht, o)) : (rt(this, zi, ""), rt(this, Ht, o)), !t) {
|
|
34625
34648
|
this.analyzeInit();
|
|
34626
34649
|
return;
|
|
34627
34650
|
}
|
|
34628
|
-
const R = z(this,
|
|
34651
|
+
const R = z(this, Pn).call(this, t);
|
|
34629
34652
|
if (t === z(this, ee)) {
|
|
34630
34653
|
this.analyzeInit();
|
|
34631
34654
|
return;
|
|
@@ -34718,7 +34741,7 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34718
34741
|
}
|
|
34719
34742
|
throw B ? "[let_ml]\u306E\u7D42\u7AEF\u30FB[endlet_ml]\u304C\u3042\u308A\u307E\u305B\u3093" : (DebugMng.myTrace(`[jump\u7CFB] \u30E9\u30D9\u30EB\u3010${R}\u3011\u304C\u3042\u308A\u307E\u305B\u3093`, "ET"), "Dummy");
|
|
34720
34743
|
}, je = new WeakMap(), Vl = new WeakSet(), xf = function(t) {
|
|
34721
|
-
const e = z(this,
|
|
34744
|
+
const e = z(this, li).matchToken(t.replace(/(\r\n|\r)/g, `
|
|
34722
34745
|
`));
|
|
34723
34746
|
for (let R = e.length - 1; R >= 0; --R) {
|
|
34724
34747
|
const N = e[R];
|
|
@@ -34733,7 +34756,7 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34733
34756
|
rt(this, Xt, { aToken: e, len: e.length, aLNum: [] });
|
|
34734
34757
|
let o = "";
|
|
34735
34758
|
try {
|
|
34736
|
-
o = "ScriptIterator.replaceScriptChar2macro", z(this,
|
|
34759
|
+
o = "ScriptIterator.replaceScriptChar2macro", z(this, li).replaceScr_C2M_And_let_ml(z(this, Xt)), o = "ScriptIterator.replaceScript_Wildcard", z(this, Fo).call(this);
|
|
34737
34760
|
} catch (R) {
|
|
34738
34761
|
R instanceof Error ? o += `\u4F8B\u5916 mes=${R.message}(${R.name})` : o = R, this.main.errScript(o, !1);
|
|
34739
34762
|
}
|
|
@@ -34750,14 +34773,14 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34750
34773
|
t.record(z(this, Ht));
|
|
34751
34774
|
return;
|
|
34752
34775
|
}
|
|
34753
|
-
rt(this,
|
|
34754
|
-
},
|
|
34776
|
+
rt(this, zr, t.search(z(this, Ht))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", z(this, zr)), !z(this, zr) && t.record(z(this, Ht));
|
|
34777
|
+
}, zr = new WeakMap(), Bo = new WeakSet(), Fh = function() {
|
|
34755
34778
|
var t;
|
|
34756
|
-
(t = this.val.getAreaKidoku(z(this, ee))) == null || t.erase(z(this, Ht)), rt(this,
|
|
34779
|
+
(t = this.val.getAreaKidoku(z(this, ee))) == null || t.erase(z(this, Ht)), rt(this, zr, !1);
|
|
34757
34780
|
}, Wl = new WeakSet(), Sf = function(t) {
|
|
34758
|
-
return z(this,
|
|
34781
|
+
return z(this, li).bracket2macro(t, z(this, Xt), z(this, Ht)), !1;
|
|
34759
34782
|
}, Yl = new WeakSet(), Cf = function(t) {
|
|
34760
|
-
return z(this,
|
|
34783
|
+
return z(this, li).char2macro(t, this.hTag, z(this, Xt), z(this, Ht)), !1;
|
|
34761
34784
|
}, ql = new WeakSet(), If = function(t) {
|
|
34762
34785
|
var N, M, D;
|
|
34763
34786
|
const { name: e } = t;
|
|
@@ -34766,7 +34789,7 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34766
34789
|
if (e in this.hTag)
|
|
34767
34790
|
throw `[${e}]\u306F\u30BF\u30B0\u304B\u3059\u3067\u306B\u5B9A\u7FA9\u6E08\u307F\u306E\u30DE\u30AF\u30ED\u3067\u3059`;
|
|
34768
34791
|
const o = z(this, fe), R = new CallStack(z(this, ee), z(this, Ht));
|
|
34769
|
-
for (rt(this, ea, z(this, ea) + ("|" + e)), rt(this,
|
|
34792
|
+
for (rt(this, ea, z(this, ea) + ("|" + e)), rt(this, Dn, new RegExp(`\\[(${z(this, ea)})\\b`)), this.hTag[e] = (L) => (L.design_unit = t.design_unit, ot(this, wo, Oh).call(this, { ...L, ":hMp": this.val.cloneMp() }), this.val.setMp(L), this.val.setVal_Nochk("mp", "const.sn.macro", JSON.stringify(t)), this.val.setVal_Nochk("mp", "const.sn.me_call_scriptFn", z(this, ee)), rt(this, fe, o), ot(this, Mo, Lh).call(this, R), !1); z(this, Ht) < z(this, Xt).len; ++Pe(this, Ht)._) {
|
|
34770
34793
|
(N = z(this, Xt).aLNum)[M = z(this, Ht)] || (N[M] = z(this, fe));
|
|
34771
34794
|
const L = z(this, Xt).aToken[z(this, Ht)];
|
|
34772
34795
|
if (L.search(z(this, Qs)) > -1)
|
|
@@ -34775,7 +34798,7 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34775
34798
|
B === 10 ? rt(this, fe, z(this, fe) + L.length) : B === 91 && rt(this, fe, z(this, fe) + ((D = L.match(/\n/g)) != null ? D : []).length);
|
|
34776
34799
|
}
|
|
34777
34800
|
throw `\u30DE\u30AF\u30ED[${e}]\u5B9A\u7FA9\u306E\u7D42\u7AEF\u30FB[endmacro]\u304C\u3042\u308A\u307E\u305B\u3093`;
|
|
34778
|
-
}, ea = new WeakMap(),
|
|
34801
|
+
}, ea = new WeakMap(), Dn = new WeakMap(), Zl = new WeakSet(), wf = function(t) {
|
|
34779
34802
|
if (!("place" in t))
|
|
34780
34803
|
throw "place\u306F\u5FC5\u9808\u3067\u3059";
|
|
34781
34804
|
const e = Number(t.place);
|
|
@@ -34800,16 +34823,16 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34800
34823
|
const N = String(this.val.getVal("save:const.sn.scriptFn")), M = Number(this.val.getVal("save:const.sn.scriptIdx"));
|
|
34801
34824
|
return rt(this, qe, [...z(this, vr).aIfStk]), rt(this, ce, []), z(this, or).cover(!0), z(this, or).stopAllTw(), "index" in t ? (z(this, or).playback(z(this, vr).hPages, () => {
|
|
34802
34825
|
var D, L;
|
|
34803
|
-
z(this, or).cover(!1), rt(this,
|
|
34826
|
+
z(this, or).cover(!1), rt(this, Ln, !0), ot(this, di, Zi).call(this, (D = t.fn) != null ? D : N, "", (L = t.index) != null ? L : M);
|
|
34804
34827
|
}), !0) : (delete z(this, je)[N], z(this, or).playback(
|
|
34805
34828
|
z(this, vr).hPages,
|
|
34806
34829
|
"label" in t ? () => {
|
|
34807
34830
|
z(this, or).cover(!1), rt(this, ee, N), rt(this, Ht, M), this.hTag.call({ fn: t.fn, label: t.label });
|
|
34808
34831
|
} : () => {
|
|
34809
|
-
z(this, or).cover(!1), ot(this,
|
|
34832
|
+
z(this, or).cover(!1), ot(this, di, Zi).call(this, N, "", M);
|
|
34810
34833
|
}
|
|
34811
34834
|
), !0);
|
|
34812
|
-
},
|
|
34835
|
+
}, Ln = new WeakMap(), Kl = new WeakSet(), Rf = function(t) {
|
|
34813
34836
|
const e = this.val.getMark(0);
|
|
34814
34837
|
return delete z(this, je)[getFn(e.hSave["const.sn.scriptFn"])], t.do_rec = !1, ot(this, ra, nu).call(this, t, e, !1);
|
|
34815
34838
|
}, vr = new WeakMap(), Jl = new WeakSet(), Pf = function() {
|
|
@@ -34840,8 +34863,8 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
|
|
|
34840
34863
|
delete t[":\u30BF\u30B0\u540D"], delete t.place, t.text = ((R = t.text) != null ? R : "").replace(/^(<br\/>)+/, ""), z(this, vr).json = t, this.val.setMark(e, z(this, vr));
|
|
34841
34864
|
const o = Number(this.val.getVal("sys:const.sn.save.place"));
|
|
34842
34865
|
return e === o && this.val.setVal_Nochk("sys", "const.sn.save.place", o + 1), !1;
|
|
34843
|
-
}, gr = new WeakMap(), Oe = new WeakMap(), it(ScriptIterator, Nl, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), it(ScriptIterator,
|
|
34844
|
-
var Ze, Ke, Fe, _r,
|
|
34866
|
+
}, gr = new WeakMap(), Oe = new WeakMap(), it(ScriptIterator, Nl, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), it(ScriptIterator, On, {}), it(ScriptIterator, ci, {});
|
|
34867
|
+
var Ze, Ke, Fe, _r, pi, Fn, Be, $o, vi, na, Vi, sa, aa, Bn, th, Of, oa, ua, $n, la, au, Xi, kn;
|
|
34845
34868
|
class Main {
|
|
34846
34869
|
constructor(t) {
|
|
34847
34870
|
it(this, th);
|
|
@@ -34850,30 +34873,30 @@ class Main {
|
|
|
34850
34873
|
it(this, Ke, void 0);
|
|
34851
34874
|
it(this, Fe, void 0);
|
|
34852
34875
|
it(this, _r, void 0);
|
|
34853
|
-
it(this,
|
|
34854
|
-
it(this,
|
|
34876
|
+
it(this, pi, void 0);
|
|
34877
|
+
it(this, Fn, void 0);
|
|
34855
34878
|
it(this, Be, void 0);
|
|
34856
34879
|
it(this, $o, void 0);
|
|
34857
|
-
it(this,
|
|
34880
|
+
it(this, vi, void 0);
|
|
34858
34881
|
it(this, na, void 0);
|
|
34859
34882
|
it(this, Vi, void 0);
|
|
34860
34883
|
it(this, sa, void 0);
|
|
34861
34884
|
it(this, aa, void 0);
|
|
34862
|
-
it(this,
|
|
34885
|
+
it(this, Bn, void 0);
|
|
34863
34886
|
it(this, oa, void 0);
|
|
34864
34887
|
it(this, ua, void 0);
|
|
34865
|
-
it(this, Bn, void 0);
|
|
34866
|
-
it(this, Xi, void 0);
|
|
34867
34888
|
it(this, $n, void 0);
|
|
34889
|
+
it(this, Xi, void 0);
|
|
34890
|
+
it(this, kn, void 0);
|
|
34868
34891
|
this.sys = t, rt(this, Fe, /* @__PURE__ */ Object.create(null)), rt(this, Vi, () => {
|
|
34869
|
-
}), rt(this, sa, new AnalyzeTagArg()), rt(this, aa, !1), rt(this,
|
|
34870
|
-
z(this, Xi) || (z(this,
|
|
34892
|
+
}), rt(this, sa, new AnalyzeTagArg()), rt(this, aa, !1), rt(this, Bn, "skynovel"), rt(this, oa, () => z(this, Vi).call(this)), rt(this, ua, (e = ot(this, la, au)) => {
|
|
34893
|
+
z(this, Xi) || (z(this, vi).clearBreak(), rt(this, Vi, e), this.resume = (o = ot(this, la, au)) => {
|
|
34871
34894
|
rt(this, Vi, o);
|
|
34872
34895
|
}, z(this, Be).noticeBreak(!1));
|
|
34873
34896
|
}), this.resume = z(this, ua), this.stop = () => {
|
|
34874
34897
|
rt(this, Vi, () => {
|
|
34875
34898
|
}), this.resume = z(this, ua), z(this, Be).noticeBreak(!0);
|
|
34876
|
-
}, rt(this,
|
|
34899
|
+
}, rt(this, $n, !0), rt(this, Xi, !1), this.isDestroyed = () => z(this, Xi), skipHello(), Config.generate(t).then((e) => rt(this, Ze, e)).then(() => ot(this, th, Of).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
|
|
34877
34900
|
}
|
|
34878
34901
|
errScript(t, e = !0) {
|
|
34879
34902
|
if (this.stop(), DebugMng.myTrace(t), CmnLib.debugLog && console.log("\u{1F35C} SKYNovel err!"), e)
|
|
@@ -34888,16 +34911,16 @@ class Main {
|
|
|
34888
34911
|
z(this, _r).setVal_Nochk("tmp", "sn.eventArg", (e = t.arg) != null ? e : ""), z(this, _r).setVal_Nochk("tmp", "sn.eventLabel", (o = t.label) != null ? o : ""), argChk_Boolean(t, "call", !1) ? (z(this, Be).subIdxToken(), this.resume(() => z(this, Fe).call(t))) : (z(this, Fe).clear_event({}), this.resume(() => z(this, Fe).jump(t)));
|
|
34889
34912
|
}
|
|
34890
34913
|
setLoop(t, e = "") {
|
|
34891
|
-
rt(this,
|
|
34914
|
+
rt(this, $n, t) ? this.resume() : this.stop(), this.sys.setTitleInfo(e ? ` -- ${e}\u4E2D` : "");
|
|
34892
34915
|
}
|
|
34893
34916
|
fire(t, e) {
|
|
34894
34917
|
z(this, na).fire(t, e);
|
|
34895
34918
|
}
|
|
34896
34919
|
async destroy(t = 0) {
|
|
34897
|
-
z(this, Xi) || (rt(this, Xi, !0), z(this, aa) && (this.stop(), rt(this,
|
|
34920
|
+
z(this, Xi) || (rt(this, Xi, !0), z(this, aa) && (this.stop(), rt(this, $n, !1), z(this, vi).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), rt(this, Fe, {}), z(this, na).destroy(), z(this, Be).destroy(), z(this, vi).destroy(), z(this, $o).destroy(), z(this, Ke).ticker.remove(z(this, oa)), z(this, kn) && z(this, Ke) && z(this, Ke).view.parentNode.appendChild(z(this, kn)), clearTextureCache(), z(this, Ke).destroy(!0)));
|
|
34898
34921
|
}
|
|
34899
34922
|
}
|
|
34900
|
-
Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(),
|
|
34923
|
+
Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(), pi = new WeakMap(), Fn = new WeakMap(), Be = new WeakMap(), $o = new WeakMap(), vi = new WeakMap(), na = new WeakMap(), Vi = new WeakMap(), sa = new WeakMap(), aa = new WeakMap(), Bn = new WeakMap(), th = new WeakSet(), Of = async function() {
|
|
34901
34924
|
var R, N, M;
|
|
34902
34925
|
const t = (R = document.createElement("canvas")) == null ? void 0 : R.getContext("2d");
|
|
34903
34926
|
if (!t)
|
|
@@ -34909,11 +34932,11 @@ Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(),
|
|
|
34909
34932
|
backgroundColor: parseColor(String(z(this, Ze).oCfg.init.bg_color)),
|
|
34910
34933
|
resolution: (N = globalThis.devicePixelRatio) != null ? N : 1,
|
|
34911
34934
|
autoResize: !0
|
|
34912
|
-
}, o = document.getElementById(z(this,
|
|
34913
|
-
o && (rt(this,
|
|
34914
|
-
}, oa = new WeakMap(), ua = new WeakMap(),
|
|
34935
|
+
}, o = document.getElementById(z(this, Bn));
|
|
34936
|
+
o && (rt(this, kn, o.cloneNode(!0)), z(this, kn).id = z(this, Bn), e.view = o), rt(this, Ke, new Application(e)), o || (document.body.appendChild(z(this, Ke).view), z(this, Ke).view.id = z(this, Bn)), rt(this, _r, new Variable(z(this, Ze), z(this, Fe))), rt(this, pi, new PropParser(z(this, _r), (M = z(this, Ze).oCfg.init.escape) != null ? M : "\\")), await Promise.allSettled(this.sys.init(z(this, Fe), z(this, Ke), z(this, _r), this)), z(this, Fe).title({ text: z(this, Ze).oCfg.book.title || "SKYNovel" }), rt(this, Fn, new SoundMng(z(this, Ze), z(this, Fe), z(this, _r), this, this.sys)), rt(this, Be, new ScriptIterator(z(this, Ze), z(this, Fe), this, z(this, _r), z(this, sa), () => ot(this, la, au).call(this), z(this, pi), z(this, Fn), this.sys)), rt(this, $o, new DebugMng(this.sys, z(this, Fe), z(this, Be))), rt(this, vi, new LayerMng(z(this, Ze), z(this, Fe), z(this, Ke), z(this, _r), this, z(this, Be), this.sys, z(this, Fn), z(this, sa), z(this, pi))), rt(this, na, new EventMng(z(this, Ze), z(this, Fe), z(this, Ke), this, z(this, vi), z(this, _r), z(this, Fn), z(this, Be), this.sys)), z(this, Ke).ticker.add(z(this, oa)), this.resumeByJumpOrCall({ fn: "main" }), rt(this, aa, !0);
|
|
34937
|
+
}, oa = new WeakMap(), ua = new WeakMap(), $n = new WeakMap(), la = new WeakSet(), au = function() {
|
|
34915
34938
|
var t;
|
|
34916
|
-
for (; z(this,
|
|
34939
|
+
for (; z(this, $n); ) {
|
|
34917
34940
|
let e = z(this, Be).nextToken();
|
|
34918
34941
|
if (!e)
|
|
34919
34942
|
break;
|
|
@@ -34944,12 +34967,12 @@ Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(),
|
|
|
34944
34967
|
if (z(this, Be).isBreak(e))
|
|
34945
34968
|
return;
|
|
34946
34969
|
const R = splitAmpersand(e.slice(1));
|
|
34947
|
-
R.name = z(this,
|
|
34970
|
+
R.name = z(this, pi).getValAmpersand(R.name), R.text = String(z(this, pi).parse(R.text)), z(this, Fe).let(R);
|
|
34948
34971
|
continue;
|
|
34949
34972
|
}
|
|
34950
34973
|
if (e.charAt(1) === "&")
|
|
34951
34974
|
throw new Error("\u300C&\u8868\u793A&\u300D\u66F8\u5F0F\u3067\u306F\u300C&\u300D\u6307\u5B9A\u304C\u4E0D\u8981\u3067\u3059");
|
|
34952
|
-
e = String(z(this,
|
|
34975
|
+
e = String(z(this, pi).parse(e.slice(1, -1)));
|
|
34953
34976
|
} catch (R) {
|
|
34954
34977
|
this.errScript(
|
|
34955
34978
|
R instanceof Error ? `& \u5909\u6570\u64CD\u4F5C\u30FB\u8868\u793A mes=${R.message}(${R.name})` : R,
|
|
@@ -34964,7 +34987,7 @@ Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(),
|
|
|
34964
34987
|
continue;
|
|
34965
34988
|
}
|
|
34966
34989
|
try {
|
|
34967
|
-
z(this,
|
|
34990
|
+
z(this, vi).currentTxtlayForeNeedErr.tagCh(e);
|
|
34968
34991
|
} catch (R) {
|
|
34969
34992
|
this.errScript(
|
|
34970
34993
|
R instanceof Error ? `\u6587\u5B57\u8868\u793A mes=${R.message}(${R.name})` : R,
|
|
@@ -34974,7 +34997,7 @@ Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(),
|
|
|
34974
34997
|
}
|
|
34975
34998
|
}
|
|
34976
34999
|
}
|
|
34977
|
-
}, Xi = new WeakMap(),
|
|
35000
|
+
}, Xi = new WeakMap(), kn = new WeakMap();
|
|
34978
35001
|
var assign = make_assign(), create$1 = make_create(), trim$1 = make_trim(), Global$5 = typeof window < "u" ? window : commonjsGlobal$1, util$6 = {
|
|
34979
35002
|
assign,
|
|
34980
35003
|
create: create$1,
|
|
@@ -35523,17 +35546,17 @@ const devtools = {
|
|
|
35523
35546
|
};
|
|
35524
35547
|
main({ emitEvents: !1 });
|
|
35525
35548
|
setInterval(main, 500);
|
|
35526
|
-
var
|
|
35549
|
+
var Gn, ha, jr, ca;
|
|
35527
35550
|
class SysWeb extends SysBase {
|
|
35528
35551
|
constructor(e = {}, o = { cur: "prj/", crypto: !1, dip: "" }) {
|
|
35529
35552
|
super(e, o);
|
|
35530
|
-
it(this,
|
|
35553
|
+
it(this, Gn, void 0);
|
|
35531
35554
|
it(this, ha, void 0);
|
|
35532
|
-
it(this,
|
|
35555
|
+
it(this, jr, void 0);
|
|
35533
35556
|
it(this, ca, void 0);
|
|
35534
|
-
rt(this,
|
|
35535
|
-
z(this,
|
|
35536
|
-
}, rt(this,
|
|
35557
|
+
rt(this, Gn, ""), rt(this, ha, ":"), this.run = async () => {
|
|
35558
|
+
z(this, jr) && (z(this, jr).destroy(10), await new Promise((M) => setTimeout(M, 10))), rt(this, jr, new Main(this));
|
|
35559
|
+
}, rt(this, jr, void 0), this.pathBaseCnvSnPath4Dbg = "${pathbase}/", this._export = () => ((async () => {
|
|
35537
35560
|
const N = JSON.stringify({
|
|
35538
35561
|
sys: this.data.sys,
|
|
35539
35562
|
mark: this.data.mark,
|
|
@@ -35564,7 +35587,7 @@ class SysWeb extends SysBase {
|
|
|
35564
35587
|
return globalThis.open(M, "_blank"), !1;
|
|
35565
35588
|
}, rt(this, ca, {});
|
|
35566
35589
|
const R = o.cur.split("/");
|
|
35567
|
-
rt(this,
|
|
35590
|
+
rt(this, Gn, R.length > 2 ? R.slice(0, -2).join("/") + "/" : ""), globalThis.onload = async () => this.loaded(e, o);
|
|
35568
35591
|
}
|
|
35569
35592
|
async loaded(e, o) {
|
|
35570
35593
|
await super.loaded(e, o), document.querySelectorAll("[data-prj]").forEach((D) => {
|
|
@@ -35578,13 +35601,13 @@ class SysWeb extends SysBase {
|
|
|
35578
35601
|
return;
|
|
35579
35602
|
argChk_Boolean(CmnLib.hDip, "dbg", !1) && (CmnLib.isDbg = !0, this.fetch = (D) => fetch(D, { mode: "cors" })), this.extPort = argChk_Num(CmnLib.hDip, "port", this.extPort);
|
|
35580
35603
|
const M = R.get("cur");
|
|
35581
|
-
M && (o.cur = z(this,
|
|
35604
|
+
M && (o.cur = z(this, Gn) + M + "/"), this.run();
|
|
35582
35605
|
}
|
|
35583
35606
|
runSN(e) {
|
|
35584
|
-
this.arg.cur = z(this,
|
|
35607
|
+
this.arg.cur = z(this, Gn) + e + "/", z(this, ha) !== this.arg.cur && (rt(this, ha, this.arg.cur), this.run());
|
|
35585
35608
|
}
|
|
35586
35609
|
stop() {
|
|
35587
|
-
!z(this,
|
|
35610
|
+
!z(this, jr) || (z(this, jr).destroy(), rt(this, jr, void 0));
|
|
35588
35611
|
}
|
|
35589
35612
|
async loadPath(e, o) {
|
|
35590
35613
|
await super.loadPath(e, o);
|
|
@@ -35658,7 +35681,7 @@ class SysWeb extends SysBase {
|
|
|
35658
35681
|
D.href = URL.createObjectURL(M), D.download = e, D.click();
|
|
35659
35682
|
}
|
|
35660
35683
|
}
|
|
35661
|
-
|
|
35684
|
+
Gn = new WeakMap(), ha = new WeakMap(), jr = new WeakMap(), ca = new WeakMap();
|
|
35662
35685
|
export {
|
|
35663
35686
|
CmnLib,
|
|
35664
35687
|
Layer,
|