@famibee/skynovel 1.32.2 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web.js CHANGED
@@ -2211,10 +2211,10 @@ 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 Ki, Xr, Ia;
2214
+ var Ki, Ar, Ia;
2215
2215
  const gi = class {
2216
2216
  constructor() {
2217
- it(this, Xr, () => {
2217
+ it(this, Ar, () => {
2218
2218
  });
2219
2219
  }
2220
2220
  static setting(t) {
@@ -2227,7 +2227,7 @@ const gi = class {
2227
2227
  rt(gi, Ki, "\u30FD");
2228
2228
  }
2229
2229
  init(t) {
2230
- rt(this, Xr, t);
2230
+ rt(this, Ar, t);
2231
2231
  }
2232
2232
  static setEscape(t) {
2233
2233
  rt(gi, Ia, new RegExp(
@@ -2253,31 +2253,35 @@ const gi = class {
2253
2253
  continue;
2254
2254
  }
2255
2255
  if (R.ce) {
2256
- z(this, Xr).call(this, R.ce.slice(1), "");
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, Xr).call(this, D, ""));
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 (e.charAt(0) === "*" && e.length <= 2) {
2268
+ if (/^\*.?$/.test(e)) {
2265
2269
  const L = "center\uFF5C" + (e === "*" ? z(gi, Ki) : e.charAt(1));
2266
2270
  for (let B = 0; B < R; ++B)
2267
- z(this, Xr).call(this, o[B], L);
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, Xr).call(this, t, e.replaceAll(" ", " "));
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, Xr).call(this, L < R ? o[L] : "", L < M ? N[L].replaceAll(" ", " ") : "");
2280
+ z(this, Ar).call(this, L < R ? o[L] : "", L < M ? decodeURIComponent(N[L]) : "");
2277
2281
  }
2278
2282
  };
2279
2283
  let RubySpliter = gi;
2280
- Ki = new WeakMap(), Xr = new WeakMap(), Ia = new WeakMap(), it(RubySpliter, Ki, "\u30FD"), it(RubySpliter, Ia, void 0);
2284
+ Ki = new WeakMap(), Ar = new WeakMap(), Ia = new WeakMap(), it(RubySpliter, Ki, "\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;
@@ -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 Vr = typeof Set < "u";
2568
- return N._supportsSet = Vr, Vr;
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 jr = [];
2583
+ var Vr = [];
2580
2584
  for (var Je in ge)
2581
- ({}).hasOwnProperty.call(ge, Je) && jr.push(Je);
2582
- return jr.sort(), jr;
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,7 +2639,7 @@ 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, jr = ge - Me, Je = Dt(Me, ft, _t + bt, ut.length), Vr = B(function(Re) {
2642
+ var Me = ge - ge % bt, Vr = ge - Me, Je = Dt(Me, ft, _t + bt, ut.length), Xr = B(function(Re) {
2639
2643
  return B(function(Un) {
2640
2644
  return Rt(Un.toString(16), 2, "0");
2641
2645
  }, Re);
@@ -2649,9 +2653,9 @@ var parsimmon_umd_min = { exports: {} };
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 * jr, jr >= 4 && (Et += 1), $e = 2, Mt = B(function(Re) {
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
- }, Vr), ($t = (8 * (Bt.to > 0 ? Bt.to - 1 : Bt.to)).toString(16).length) < 2 && ($t = 2);
2658
+ }, Xr), ($t = (8 * (Bt.to > 0 ? Bt.to - 1 : Bt.to)).toString(16).length) < 2 && ($t = 2);
2655
2659
  } else {
2656
2660
  var Gn = ut.split(/\r\n|[\n\r\u2028\u2029]/);
2657
2661
  Et = Yt.column - 1, wt = Yt.line - 1, Bt = Dt(wt, Tt, Ft, Gn.length), Mt = Gn.slice(Bt.from, Bt.to), $t = Bt.to.toString().length;
@@ -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, jr = {}, Je = 0; Je < Mt; Je += 1) {
2989
- var Vr, Gn;
2990
- if (tt(wt[Je]) ? (Vr = wt[Je][0], Gn = wt[Je][1]) : (Vr = null, Gn = wt[Je]), !(Me = nt(Gn._(ge, $e), Me)).status)
2992
+ for (var Me, Vr = {}, Je = 0; Je < Mt; Je += 1) {
2993
+ var Xr, Gn;
2994
+ if (tt(wt[Je]) ? (Xr = wt[Je][0], Gn = wt[Je][1]) : (Xr = null, Gn = wt[Je]), !(Me = nt(Gn._(ge, $e), Me)).status)
2991
2995
  return Me;
2992
- Vr && (jr[Vr] = Me.value), $e = Me.index;
2996
+ Xr && (Vr[Xr] = Me.value), $e = Me.index;
2993
2997
  }
2994
- return nt(st($e, jr), Me);
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) {
@@ -19689,7 +19693,7 @@ extensions.add(
19689
19693
  TickerPlugin,
19690
19694
  AppLoaderPlugin
19691
19695
  );
19692
- var be, De, bi, Cu, nc, hs, Xo, Iu, sc, wu, ac, ka, lh, rn, va, Ga, hh, cs, fs, Wo, nn, ga, Ua, ds, Yo, Ru, oc, Ar, vi, Pu, uc, Ha, ch, sn, ma, Au, lc, za, fh, Ou, hc, Nu, cc, ps, qo;
19696
+ var be, De, bi, Cu, nc, hs, Xo, Iu, sc, wu, ac, ka, lh, rn, va, Ga, hh, cs, fs, Wo, nn, ga, Ua, ds, Yo, Ru, oc, Or, vi, Pu, uc, Ha, ch, sn, ma, Au, lc, za, fh, Ou, hc, Nu, cc, ps, qo;
19693
19697
  const Ca = class {
19694
19698
  constructor(t, e, o, R, N) {
19695
19699
  it(this, Cu);
@@ -19703,7 +19707,7 @@ const Ca = class {
19703
19707
  it(this, nn);
19704
19708
  it(this, ds);
19705
19709
  it(this, Ru);
19706
- it(this, Ar);
19710
+ it(this, Or);
19707
19711
  it(this, Pu);
19708
19712
  it(this, Ha);
19709
19713
  it(this, sn);
@@ -19719,7 +19723,7 @@ const Ca = class {
19719
19723
  I.volumeAll = Number(this.val.getVal("sys:sn.sound.global_volume", 1)), rt(this, Ua, () => {
19720
19724
  });
19721
19725
  });
19722
- 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, rn, 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, Ar, vi).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, sn, 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));
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, rn, 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, vi).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, sn, 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));
19723
19727
  }
19724
19728
  setEvtMng(t) {
19725
19729
  rt(this, bi, t);
@@ -19785,20 +19789,20 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
19785
19789
  D && (ot(this, ps, qo).call(this, e), this.val.setVal_Nochk("save", "const.sn.sound." + e + ".fn", "")), this.val.flush();
19786
19790
  const L = argChk_Num(t, "time", NaN), B = argChk_Num(t, "delay", 0);
19787
19791
  if (L === 0 && B === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this, bi).isSkippingByKeyDown())
19788
- return o.snd.volume = M, D && ot(this, Ar, vi).call(this, t), !1;
19792
+ return o.snd.volume = M, D && ot(this, Or, vi).call(this, t), !1;
19789
19793
  const $ = argChk_Num(t, "repeat", 1);
19790
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) => {
19791
19795
  o.playing() && (o.snd.volume = U.v);
19792
19796
  }).onComplete(() => {
19793
19797
  const U = z(this, be)[t.buf = o.now_buf];
19794
- !(U != null && U.twFade) || (delete U.twFade, D && ot(this, Ar, vi).call(this, t), U.resumeFade && this.main.resume());
19798
+ !(U != null && U.twFade) || (delete U.twFade, D && ot(this, Or, vi).call(this, t), U.resumeFade && this.main.resume());
19795
19799
  }).start(), !1;
19796
19800
  }, Ga = new WeakSet(), hh = function(t) {
19797
19801
  return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), ot(this, fs, Wo).call(this, t);
19798
19802
  }, cs = new WeakMap(), fs = new WeakSet(), Wo = function(t) {
19799
19803
  var q;
19800
19804
  const { buf: e = "SE", fn: o } = t;
19801
- if (ot(this, Ar, vi).call(this, { buf: e }), !o)
19805
+ if (ot(this, Or, vi).call(this, { buf: e }), !o)
19802
19806
  throw `[playse] fn\u306F\u5FC5\u9808\u3067\u3059 buf:${e}`;
19803
19807
  if (argChk_Boolean(t, "canskip", !0) && z(this, bi).isSkippingByKeyDown())
19804
19808
  return !1;
@@ -19952,11 +19956,11 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
19952
19956
  });
19953
19957
  }, Ua = new WeakMap(), ds = new WeakSet(), Yo = function() {
19954
19958
  for (const t in z(this, be))
19955
- ot(this, Ar, vi).call(this, { buf: t });
19959
+ ot(this, Or, vi).call(this, { buf: t });
19956
19960
  return rt(this, be, {}), I.stopAll(), !1;
19957
19961
  }, Ru = new WeakSet(), oc = function(t) {
19958
- return t.buf = "BGM", ot(this, Ar, vi).call(this, t);
19959
- }, Ar = new WeakSet(), vi = function(t) {
19962
+ return t.buf = "BGM", ot(this, Or, vi).call(this, t);
19963
+ }, Or = new WeakSet(), vi = function(t) {
19960
19964
  var R;
19961
19965
  const { buf: e = "SE" } = t;
19962
19966
  ot(this, ps, qo).call(this, e);
@@ -19981,7 +19985,7 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
19981
19985
  const { buf: e = "SE" } = t, o = z(this, be)[e];
19982
19986
  return !(o != null && o.playing()) || o.loop ? !1 : o.resume = z(this, bi).waitEvent(
19983
19987
  () => {
19984
- t.buf = o.now_buf, ot(this, Ar, vi).call(this, t);
19988
+ t.buf = o.now_buf, ot(this, Or, vi).call(this, t);
19985
19989
  const R = z(this, be)[t.buf];
19986
19990
  !(R != null && R.playing()) || R.loop || R.onend();
19987
19991
  },
@@ -30309,7 +30313,7 @@ __privateAdd$1(GrpLayer, _dec2cache, (n, t, e) => {
30309
30313
  GrpLayer.hFn2VElm = {};
30310
30314
  __privateAdd$1(GrpLayer, _hAEncImg, {});
30311
30315
  __privateAdd$1(GrpLayer, _hEncImgOUrl, {});
30312
- var vs, Va, an, se, Or, Zr, er, Ti, zt, Kr, mr, yr, gs, Zo, br, Nr, Xa, _s, Wa, Lu, fc, un, ms, ln, hn, cn, fn, ys, Fu, Jr, Ya, ph, Qr, qa, ti, Mr, Za, Ka, vh, Si, dn, Ja, gh, hr;
30316
+ var vs, Va, an, se, Nr, Zr, er, Ti, zt, Kr, mr, yr, gs, Zo, br, Mr, Xa, _s, Wa, Lu, fc, un, ms, ln, hn, cn, fn, ys, Fu, Jr, Ya, ph, Qr, qa, ti, Dr, Za, Ka, vh, Si, dn, Ja, gh, hr;
30313
30317
  const Wt = class extends Container {
30314
30318
  constructor(e, o, R) {
30315
30319
  super();
@@ -30319,7 +30323,7 @@ const Wt = class extends Container {
30319
30323
  it(this, Ka);
30320
30324
  it(this, Ja);
30321
30325
  it(this, se, document.createElement("span"));
30322
- it(this, Or, new Container());
30326
+ it(this, Nr, new Container());
30323
30327
  it(this, Zr, new Graphics());
30324
30328
  it(this, er, new TxtLayDesignCast(this.spLay, this));
30325
30329
  it(this, Ti, new TxtLayPadDesignCast(this));
@@ -30336,7 +30340,7 @@ const Wt = class extends Container {
30336
30340
  it(this, mr, 0);
30337
30341
  it(this, yr, 0);
30338
30342
  it(this, br, 0);
30339
- it(this, Nr, !1);
30343
+ it(this, Mr, !1);
30340
30344
  it(this, Xa, 0);
30341
30345
  it(this, _s, 0);
30342
30346
  it(this, un, void 0);
@@ -30349,7 +30353,7 @@ const Wt = class extends Container {
30349
30353
  it(this, Si, "Quadratic.Out");
30350
30354
  it(this, dn, "Quadratic.Out");
30351
30355
  it(this, hr, void 0);
30352
- 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, Or)), this.addChild(z(this, Zr)), z(this, Zr).name = "grpDbgMasume", z(this, er).adopt(z(this, Ti));
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, Ti));
30353
30357
  }
30354
30358
  static init(e, o) {
30355
30359
  rt(Wt, vs, e), rt(Wt, Va, o), rt(Wt, cn, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), rt(Wt, fn, /[[({〈「『【〔“〝]/), rt(Wt, ys, /[─‥…]/);
@@ -30368,7 +30372,7 @@ const Wt = class extends Container {
30368
30372
  marginLeft: 0,
30369
30373
  marginRight: 0,
30370
30374
  marginTop: 0
30371
- }), rt(Wt, Qr, /* @__PURE__ */ Object.create(null)), rt(Wt, ti, /* @__PURE__ */ Object.create(null)), rt(Wt, Mr, new Container());
30375
+ }), rt(Wt, Qr, /* @__PURE__ */ Object.create(null)), rt(Wt, ti, /* @__PURE__ */ Object.create(null)), rt(Wt, Dr, new Container());
30372
30376
  }
30373
30377
  lay(e) {
30374
30378
  var R, N, M, D, L, B, $, U;
@@ -30401,7 +30405,7 @@ const Wt = class extends Container {
30401
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, Ti).cvsResize();
30402
30406
  }
30403
30407
  get tategaki() {
30404
- return z(this, Nr);
30408
+ return z(this, Mr);
30405
30409
  }
30406
30410
  get infTL() {
30407
30411
  return z(this, zt);
@@ -30417,7 +30421,7 @@ const Wt = class extends Container {
30417
30421
  }
30418
30422
  goTxt(e) {
30419
30423
  var Y, q, Z, K, J, tt, Q, st;
30420
- z(Wt, Mr).visible = !1;
30424
+ z(Wt, Dr).visible = !1;
30421
30425
  const o = z(this, ln).length;
30422
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(
30423
30427
  0,
@@ -30481,9 +30485,9 @@ const Wt = class extends Container {
30481
30485
  let H = new Rectangle();
30482
30486
  for (let et = o; et < R; ++et) {
30483
30487
  const nt = z(this, ln)[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];
30484
- if (at.x -= $, at.y -= U, D(nt, at), dt && (z(this, Nr) ? (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") {
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") {
30485
30489
  const mt = new Container();
30486
- z(this, Or).addChild(mt), GrpLayer.csv2Sprites(ct.pic, mt, (vt) => {
30490
+ z(this, Nr).addChild(mt), GrpLayer.csv2Sprites(ct.pic, mt, (vt) => {
30487
30491
  ot(this, Ya, ph).call(this, mt, ct, lt, at, L, dt != null ? dt : {}), mt.parent || mt.removeChild(vt);
30488
30492
  });
30489
30493
  }
@@ -30501,14 +30505,14 @@ const Wt = class extends Container {
30501
30505
  () => _t(Tt),
30502
30506
  () => this.canFocus() ? (_t(Ft), !0) : !1,
30503
30507
  () => _t(bt)
30504
- ), z(this, Or).addChild(gt);
30508
+ ), z(this, Nr).addChild(gt);
30505
30509
  }
30506
30510
  }
30507
30511
  const V = z(this, se).querySelectorAll("span.sn_ch");
30508
- 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, Nr) ? 0 : H.width)), rt(this, yr, H.y + (z(this, Nr) ? H.height : 0))), z(Wt, Mr).position.set(
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(
30509
30513
  z(this, mr),
30510
30514
  z(this, yr)
30511
- ), z(Wt, Mr).visible = !0, z(Wt, an).noticeCompTxt(), !0));
30515
+ ), z(Wt, Dr).visible = !0, z(Wt, an).noticeCompTxt(), !0));
30512
30516
  const W = V.length;
30513
30517
  if (W === 0) {
30514
30518
  z(this, Jr).call(this);
@@ -30600,14 +30604,14 @@ const Wt = class extends Container {
30600
30604
  };
30601
30605
  }
30602
30606
  dispBreak(e) {
30603
- const o = z(Wt, Mr);
30607
+ const o = z(Wt, Dr);
30604
30608
  o.visible = !1, this.addChild(o), GrpLayer.csv2Sprites(e, o, (R) => {
30605
30609
  o.parent || o.removeChild(R);
30606
30610
  });
30607
30611
  }
30608
30612
  static delBreak() {
30609
- const e = z(Wt, Mr);
30610
- e.parent && (e.parent.removeChild(e), e.removeChildren()), rt(Wt, Mr, new Container());
30613
+ const e = z(Wt, Dr);
30614
+ e.parent && (e.parent.removeChild(e), e.removeChildren()), rt(Wt, Dr, new Container());
30611
30615
  }
30612
30616
  reNew() {
30613
30617
  var o;
@@ -30635,11 +30639,11 @@ const Wt = class extends Container {
30635
30639
  }
30636
30640
  snapshot(e, o) {
30637
30641
  ot(this, Lu, fc).call(this, (R) => {
30638
- rt(this, hr, new Sprite(R)), z(this, Nr) && (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, Or).addChild(z(this, hr)), e.render(z(this, hr), void 0, !1), o();
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();
30639
30643
  }, !1);
30640
30644
  }
30641
30645
  snapshot_end() {
30642
- z(this, hr) && (z(this, Or).removeChild(z(this, hr)), rt(this, hr, void 0));
30646
+ z(this, hr) && (z(this, Nr).removeChild(z(this, hr)), rt(this, hr, void 0));
30643
30647
  }
30644
30648
  makeDesignCast(e) {
30645
30649
  e(z(this, er));
@@ -30658,17 +30662,17 @@ const Wt = class extends Container {
30658
30662
  return `"txt":"${z(this, se).textContent.replace(/(["\\])/g, "\\$1")}", "style":{${e.join(",")}}`;
30659
30663
  }
30660
30664
  destroy() {
30661
- Wt.delBreak(), z(this, se).parentElement.removeChild(z(this, se)), this.removeChild(z(this, Or)), this.removeChild(z(this, Zr)), super.destroy();
30665
+ Wt.delBreak(), z(this, se).parentElement.removeChild(z(this, se)), this.removeChild(z(this, Nr)), this.removeChild(z(this, Zr)), super.destroy();
30662
30666
  }
30663
30667
  };
30664
30668
  let TxtStage = Wt;
30665
- vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(), Or = new WeakMap(), Zr = new WeakMap(), er = new WeakMap(), Ti = new WeakMap(), zt = new WeakMap(), Kr = new WeakMap(), mr = new WeakMap(), yr = new WeakMap(), gs = new WeakSet(), Zo = function() {
30669
+ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(), Nr = new WeakMap(), Zr = new WeakMap(), er = new WeakMap(), Ti = new WeakMap(), zt = new WeakMap(), Kr = new WeakMap(), mr = new WeakMap(), yr = new WeakMap(), gs = new WeakSet(), Zo = function() {
30666
30670
  var N;
30667
30671
  const e = z(this, se).style, o = parseFloat(e.fontSize || "0");
30668
- 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, Nr, e.writingMode === "vertical-rl"), rt(this, Xa, 0), rt(this, _s, 0);
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);
30669
30673
  const R = (N = e.lineHeight) != null ? N : "0";
30670
- rt(this, Za, z(this, Nr) ? 0 : (R.slice(-2) === "px" ? parseFloat(R) : o * parseFloat(R) - o) / 2);
30671
- }, br = new WeakMap(), Nr = new WeakMap(), Xa = new WeakMap(), _s = new WeakMap(), Wa = new WeakMap(), Lu = new WeakSet(), fc = function(e, o = !0) {
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) {
30672
30676
  const R = {
30673
30677
  escape: (Y) => Y.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
30674
30678
  mimeType: (Y) => {
@@ -30862,7 +30866,7 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
30862
30866
  }).start()
30863
30867
  };
30864
30868
  z(this, ms).push(L);
30865
- }, Qr = new WeakMap(), qa = new WeakMap(), ti = new WeakMap(), Mr = new WeakMap(), Za = new WeakMap(), Ka = new WeakSet(), vh = function(e) {
30869
+ }, Qr = new WeakMap(), qa = new WeakMap(), ti = new WeakMap(), Dr = new WeakMap(), Za = new WeakMap(), Ka = new WeakSet(), vh = function(e) {
30866
30870
  const o = [];
30867
30871
  if (e.nodeType !== e.TEXT_NODE)
30868
30872
  return e.childNodes.forEach((D) => o.push(ot(this, Ka, vh).call(this, D))), o.flat();
@@ -30917,7 +30921,7 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
30917
30921
  }
30918
30922
  });
30919
30923
  const N = () => {
30920
- o.parentElement.removeChild(o), z(this, Or).removeChildren().forEach((D) => {
30924
+ o.parentElement.removeChild(o), z(this, Nr).removeChildren().forEach((D) => {
30921
30925
  D instanceof Container && z(Wt, an).unButton(D), D.destroy();
30922
30926
  });
30923
30927
  };
@@ -30932,7 +30936,7 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
30932
30936
  marginLeft: 0,
30933
30937
  marginRight: 0,
30934
30938
  marginTop: 0
30935
- }), it(TxtStage, cn, void 0), it(TxtStage, fn, 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, Mr, new Container());
30939
+ }), it(TxtStage, cn, void 0), it(TxtStage, fn, 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());
30936
30940
  var __accessCheck = (n, t, e) => {
30937
30941
  if (!t.has(n))
30938
30942
  throw TypeError("Cannot " + e);
@@ -31109,7 +31113,7 @@ __privateAdd(Button, _procMasume4txt, (n, t) => {
31109
31113
  });
31110
31114
  __privateAdd(Button, _procMasume4pic, (n, t, e, o) => {
31111
31115
  });
31112
- var bs, Er, Es, Qa, to, _h, eo, mh, ro, pn, io, ei, vn, Bu, dc, Dr, rr, cr, he, xr, ie, xs, Ge, Ts, Ko, Tr, gn, Ss, Jo, Lr, no, yh, so, bh, Ci, _n, mn, Cs, Is, ri, ir, $u, pc, We, ws, Rs, Qo, Ii, Xn, Fr, nr, sr, Br, Ps, tu, wi, Wn, Ri;
31116
+ var bs, Er, Es, Qa, to, _h, eo, mh, ro, pn, io, ei, vn, Bu, dc, Lr, rr, cr, he, xr, ie, xs, Ge, Ts, Ko, Tr, gn, Ss, Jo, Fr, no, yh, so, bh, Ci, _n, mn, Cs, Is, ri, ir, $u, pc, We, ws, Rs, Qo, Ii, Xn, Br, nr, sr, $r, Ps, tu, wi, Wn, Ri;
31113
31117
  const qt = class extends Layer {
31114
31118
  constructor() {
31115
31119
  super();
@@ -31122,7 +31126,7 @@ const qt = class extends Layer {
31122
31126
  it(this, Ii);
31123
31127
  it(this, Ps);
31124
31128
  it(this, wi);
31125
- it(this, Dr, void 0);
31129
+ it(this, Lr, void 0);
31126
31130
  it(this, rr, void 0);
31127
31131
  it(this, cr, void 0);
31128
31132
  it(this, he, void 0);
@@ -31132,7 +31136,7 @@ const qt = class extends Layer {
31132
31136
  it(this, Ge, void 0);
31133
31137
  it(this, Tr, void 0);
31134
31138
  it(this, gn, void 0);
31135
- it(this, Lr, void 0);
31139
+ it(this, Fr, void 0);
31136
31140
  it(this, Ci, void 0);
31137
31141
  it(this, _n, void 0);
31138
31142
  it(this, mn, void 0);
@@ -31141,12 +31145,12 @@ const qt = class extends Layer {
31141
31145
  it(this, ir, void 0);
31142
31146
  it(this, We, void 0);
31143
31147
  it(this, ws, void 0);
31144
- it(this, Fr, void 0);
31148
+ it(this, Br, void 0);
31145
31149
  it(this, nr, void 0);
31146
31150
  it(this, sr, void 0);
31147
- it(this, Br, void 0);
31151
+ it(this, $r, void 0);
31148
31152
  it(this, Ri, void 0);
31149
- rt(this, Dr, 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, gn, !0), rt(this, Lr, ""), rt(this, Ci, ""), rt(this, _n, (o) => ""), rt(this, mn, ""), rt(this, Cs, new RegExp("[\u3000]")), this.isCur = !1, rt(this, ri, () => ""), rt(this, ir, ""), rt(this, We, !1), rt(this, ws, (o, R) => {
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, gn, !0), rt(this, Fr, ""), rt(this, Ci, ""), rt(this, _n, (o) => ""), rt(this, mn, ""), rt(this, Cs, new RegExp("[\u3000]")), this.isCur = !1, rt(this, ri, () => ""), rt(this, ir, ""), rt(this, We, !1), rt(this, ws, (o, R) => {
31150
31154
  var B, $, U, H, V, W, X, Y, q, Z;
31151
31155
  z(qt, bs).oCfg.debug.putCh && console.log(`\u{1F58A} \u6587\u5B57\u8868\u793A text:\`${o}\` ruby:\`${R}\` name:\`${this.name_}\``);
31152
31156
  const N = R.split("\uFF5C");
@@ -31174,12 +31178,12 @@ const qt = class extends Layer {
31174
31178
  rt(this, nr, !1), rt(this, We, !0), M = ot(this, Rs, Qo).call(this, o, L, D);
31175
31179
  break;
31176
31180
  case "gotxt":
31177
- 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, Fr, 0)) : this.isCur && z(qt, pn).noticeCompTxt();
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, pn).noticeCompTxt();
31178
31182
  return;
31179
31183
  case "add":
31180
31184
  {
31181
31185
  const K = JSON.parse(L), { cl: J, sty: tt } = ot(this, Ii, Xn).call(this, !0, K.wait);
31182
- z(this, sr).push(`<span${J} style='display: inline;${(U = ($ = z(this, Br).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);
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);
31183
31187
  }
31184
31188
  return;
31185
31189
  case "add_close":
@@ -31189,13 +31193,13 @@ const qt = class extends Layer {
31189
31193
  rt(this, We, !0);
31190
31194
  {
31191
31195
  const K = JSON.parse(L);
31192
- if (K.delay = z(this, Fr), (V = K.id) != null || (K.id = z(this, sr).length), K.id === "break") {
31196
+ if (K.delay = z(this, Br), (V = K.id) != null || (K.id = z(this, sr).length), K.id === "break") {
31193
31197
  z(this, ie).dispBreak(K.pic);
31194
31198
  return;
31195
31199
  }
31196
31200
  (W = K.style) != null || (K.style = "");
31197
31201
  const { cl: J, sty: tt, lnk: Q } = ot(this, Ii, Xn).call(this, !0, K.wait);
31198
- 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, Lr)}"}'>\u3000</span>`, z(this, nr) && (rt(this, nr, !1), M = `<ruby>${M}<rt>\u3000</rt></ruby>`);
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>`);
31199
31203
  }
31200
31204
  break;
31201
31205
  case "tcy":
@@ -31206,7 +31210,7 @@ const qt = class extends Layer {
31206
31210
  M = `<span${et} style='${nt}${z(this, _n).call(this, J)} ${(Y = K.style) != null ? Y : ""}'${at}><ruby><span style='
31207
31211
  text-combine-upright: all;
31208
31212
  -webkit-text-combine: horizontal;
31209
- ' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Lr)}"}'>${J}</span>
31213
+ ' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Fr)}"}'>${J}</span>
31210
31214
  <rt${st}>${Q}</rt></ruby></span>`;
31211
31215
  }
31212
31216
  break;
@@ -31226,7 +31230,7 @@ text-combine-upright: all;
31226
31230
  const K = JSON.parse(L);
31227
31231
  K[":link"] = " data-lnk='@'";
31228
31232
  const { cl: J, sty: tt } = ot(this, Ii, Xn).call(this, !1, K.wait);
31229
- 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, Lr)}"}'}>`), delete K.style, ot(this, Ps, tu).call(this, K);
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);
31230
31234
  }
31231
31235
  return;
31232
31236
  case "endlink":
@@ -31238,7 +31242,7 @@ text-combine-upright: all;
31238
31242
  break;
31239
31243
  }
31240
31244
  z(this, sr).push(z(Z = qt, Is).call(Z, M));
31241
- }), rt(this, Fr, 0), rt(this, nr, !0), rt(this, sr, []), rt(this, Br, []), this.click = () => !this.spLay.interactiveChildren || !this.spLay.visible ? !1 : z(this, ie).skipChIn(), rt(this, Ri, ""), this.addButton = (o) => new Promise((R) => {
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) => {
31242
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);
31243
31247
  const N = new Button(o, z(qt, pn), () => R(), () => this.canFocus());
31244
31248
  N.name = JSON.stringify(o).replaceAll('"', "'"), z(this, Ge).addChild(N);
@@ -31248,7 +31252,7 @@ text-combine-upright: all;
31248
31252
  r_align: z(this, ir),
31249
31253
  b_do: z(this, he) === void 0 ? void 0 : z(this, he) instanceof Sprite ? "Sprite" : "Graphics",
31250
31254
  b_pic: z(this, xr),
31251
- b_color: z(this, Dr),
31255
+ b_color: z(this, Lr),
31252
31256
  b_alpha: z(this, rr),
31253
31257
  b_alpha_isfixed: z(this, cr),
31254
31258
  ffs: z(this, Ci),
@@ -31351,7 +31355,7 @@ text-combine-upright: all;
31351
31355
  chgBackAlpha(e) {
31352
31356
  const o = z(this, cr) ? z(this, rr) : e * z(this, rr);
31353
31357
  z(this, he) instanceof Graphics && (z(this, he) && (this.spLay.removeChild(z(this, he)), z(this, he).destroy()), this.spLay.addChildAt(
31354
- rt(this, he, new Graphics()).beginFill(z(this, Dr)).lineStyle(void 0).drawRect(0, 0, z(this, ie).getWidth, z(this, ie).getHeight).endFill(),
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(),
31355
31359
  0
31356
31360
  ), z(this, he).name = "back(color)"), z(this, he) && (z(this, he).visible = o > 0, z(this, he).alpha = o);
31357
31361
  }
@@ -31388,7 +31392,7 @@ text-combine-upright: all;
31388
31392
  }
31389
31393
  clearText() {
31390
31394
  var e;
31391
- this.spLay.addChild(rt(this, ie, z(this, ie).reNew())), rt(this, Fr, 0), rt(this, nr, !0), rt(this, sr, []), rt(this, Ri, ""), z(e = qt, Es).call(e, "", !0);
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);
31392
31396
  }
31393
31397
  get pageText() {
31394
31398
  return z(this, Ri).replace("\u300A\u3000\u300B", "");
@@ -31435,7 +31439,7 @@ text-combine-upright: all;
31435
31439
  z(this, Ge).children.forEach((e) => e.showDesignCast());
31436
31440
  }
31437
31441
  dump() {
31438
- 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, Dr)}", "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) => {
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) => {
31439
31443
  var o;
31440
31444
  return (o = e.children[0].name) != null ? o : "{}";
31441
31445
  }).join(",")}]`;
@@ -31488,7 +31492,7 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
31488
31492
  if (N.length !== R)
31489
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";
31490
31494
  return rt(qt, vn, {}), N.forEach((M, D) => z(qt, vn)[o[D]] = uint(M)), z(qt, Er).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
31491
- }, Dr = 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) {
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) {
31492
31496
  const { in_style: o } = e;
31493
31497
  if (!o)
31494
31498
  return;
@@ -31502,10 +31506,10 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
31502
31506
  return;
31503
31507
  if (!TxtStage.getChOutStyle(o))
31504
31508
  throw `\u5B58\u5728\u3057\u306A\u3044out_style\u3010${o}\u3011\u3067\u3059`;
31505
- rt(this, Lr, o);
31506
- }, Lr = new WeakMap(), no = new WeakSet(), yh = function(e, o) {
31509
+ rt(this, Fr, o);
31510
+ }, Fr = new WeakMap(), no = new WeakSet(), yh = function(e, o) {
31507
31511
  if ("back_clear" in e)
31508
- return argChk_Boolean(e, "back_clear", !1) && (rt(this, Dr, 0), rt(this, rr, 0), rt(this, cr, !1), rt(this, xr, "")), o(!1), !1;
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;
31509
31513
  rt(this, rr, argChk_Num(e, "b_alpha", z(this, rr))), rt(this, cr, argChk_Boolean(e, "b_alpha_isfixed", z(this, cr)));
31510
31514
  const R = (z(this, cr) ? 1 : Number(z(qt, Er).getVal("sys:TextLayer.Back.Alpha"))) * z(this, rr);
31511
31515
  if (e.b_pic) {
@@ -31514,8 +31518,8 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
31514
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);
31515
31519
  });
31516
31520
  } else
31517
- "b_color" in e && (rt(this, Dr, 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(
31518
- rt(this, he, new Graphics()).beginFill(z(this, Dr)).lineStyle(void 0).drawRect(0, 0, z(this, ie).getWidth, z(this, ie).getHeight).endFill(),
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(),
31519
31523
  0
31520
31524
  ), z(this, he).name = "back(color)");
31521
31525
  return z(this, he) && (z(this, he).visible = R > 0, z(this, he).alpha = R), o(!1), !1;
@@ -31558,26 +31562,26 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
31558
31562
  return ` style='${M}'`;
31559
31563
  }, We = new WeakMap(), ws = new WeakMap(), Rs = new WeakSet(), Qo = function(e, o, R) {
31560
31564
  e === " " && (e = "&nbsp;"), z(qt, Er).doRecLog() && rt(this, Ri, z(this, Ri) + (e + (o ? `\u300A${o}\u300B` : "")));
31561
- const { cl: N, sty: M, lnk: D } = ot(this, Ii, Xn).call(this, !0, null, e), L = `${D} data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Lr)}"}'`;
31565
+ const { cl: N, sty: M, lnk: D } = ot(this, Ii, Xn).call(this, !0, null, e), L = `${D} data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Fr)}"}'`;
31562
31566
  return `<span${N} style='${M}${z(this, _n).call(this, e)}'${o ? "" : L}>${o ? `<ruby${L}>${e}<rt${this.mkStyle_r_align(e, o, R)}>${o}</rt></ruby>` : e}</span>`;
31563
31567
  }, Ii = new WeakSet(), Xn = function(e, o, R = `
31564
31568
  `) {
31565
31569
  var M, D, L, B, $, U, H, V;
31566
- const N = z(this, gn) ? (L = o != null ? o : (M = z(this, Br).at(0)) == null ? void 0 : M.o.wait) != null ? L : z(qt, ei) ? (D = z(qt, vn)[R.charAt(0)]) != null ? D : 0 : LayerMng.msecChWait : 0;
31567
- return z(qt, pn).isSkippingByKeyDown() ? rt(this, Fr, 0) : e && z(this, gn) && rt(this, Fr, z(this, Fr) + Number(N)), {
31570
+ const N = z(this, gn) ? (L = o != null ? o : (M = z(this, $r).at(0)) == null ? void 0 : M.o.wait) != null ? L : z(qt, ei) ? (D = z(qt, vn)[R.charAt(0)]) != null ? D : 0 : LayerMng.msecChWait : 0;
31571
+ return z(qt, pn).isSkippingByKeyDown() ? rt(this, Br, 0) : e && z(this, gn) && rt(this, Br, z(this, Br) + Number(N)), {
31568
31572
  cl: ` class='sn_ch${N > 0 ? ` sn_ch_in_${z(this, Tr)}` : ""}'`,
31569
- sty: `animation-delay: ${z(this, Fr)}ms;${(U = ($ = (B = z(this, Br).at(-1)) == null ? void 0 : B.o) == null ? void 0 : $.style) != null ? U : ""}`,
31570
- lnk: (V = (H = z(this, Br).at(0)) == null ? void 0 : H.o[":link"]) != null ? V : ""
31573
+ 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 : ""}`,
31574
+ lnk: (V = (H = z(this, $r).at(0)) == null ? void 0 : H.o[":link"]) != null ? V : ""
31571
31575
  };
31572
- }, Fr = new WeakMap(), nr = new WeakMap(), sr = new WeakMap(), Br = new WeakMap(), Ps = new WeakSet(), tu = function(e) {
31573
- z(this, Br).push({
31576
+ }, Br = new WeakMap(), nr = new WeakMap(), sr = new WeakMap(), $r = new WeakMap(), Ps = new WeakSet(), tu = function(e) {
31577
+ z(this, $r).push({
31574
31578
  o: e,
31575
31579
  r_align: z(this, ir),
31576
31580
  ch_in_style: z(this, Tr),
31577
- ch_out_style: z(this, Lr)
31581
+ ch_out_style: z(this, Fr)
31578
31582
  }), "r_align" in e && rt(this, ir, e.r_align), ot(this, Ts, Ko).call(this, e), ot(this, Ss, Jo).call(this, e);
31579
31583
  }, wi = new WeakSet(), Wn = function() {
31580
- const e = z(this, Br).pop();
31584
+ const e = z(this, $r).pop();
31581
31585
  !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 }));
31582
31586
  }, 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, pn, void 0), it(TxtLayer, io, void 0), it(TxtLayer, ei, !1), it(TxtLayer, vn, {}), it(TxtLayer, Is, (e) => e);
31583
31587
  var As, ii, ku, vc, Os, Ns, eu, Gu, gc, Uu, mc, ao, Hu, yc, zu, bc;
@@ -31778,7 +31782,7 @@ ${t.id}`, X = new Tween(N).to(D, argChk_Num(t, "time", NaN) * (Boolean(this.val.
31778
31782
  X.start();
31779
31783
  return this.hTwInf[W] = { tw: X, resume: !1 }, !1;
31780
31784
  };
31781
- var Sr, ne, _e, Pi, yn, Ms, Ds, Ls, bn, oo, Eh, ni, $r, ju, Ec, ar, Vu, xc, Xu, Tc, Wu, Sc, Jt, Cr, Ir, Fs, Yu, Cc, Bs, ru, qu, Ic, uo, $s, lo, Ai, Oi, kr, Ce, Ni, Zu, wc, Ie, Ue, Qe, Ku, Rc, Ju, Pc, Qu, Ac, En, ya, tl, Oc, Ye, el, Nc, rl, Mc, il, Dc, nl, Lc, sl, Fc, Mi, Di, Yn, fr, al, Bc, ks, ol, $c, Gr, 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;
31785
+ var Sr, ne, _e, Pi, yn, Ms, Ds, Ls, bn, oo, Eh, ni, 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, En, 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;
31782
31786
  const Zi = class {
31783
31787
  constructor(t, e, o, R, N, M, D, L, B, $) {
31784
31788
  it(this, oo);
@@ -31830,7 +31834,7 @@ const Zi = class {
31830
31834
  it(this, Ls, void 0);
31831
31835
  it(this, bn, void 0);
31832
31836
  it(this, ni, void 0);
31833
- it(this, $r, void 0);
31837
+ it(this, kr, void 0);
31834
31838
  it(this, ar, void 0);
31835
31839
  it(this, Jt, void 0);
31836
31840
  it(this, Cr, void 0);
@@ -31841,14 +31845,14 @@ const Zi = class {
31841
31845
  it(this, lo, void 0);
31842
31846
  it(this, Ai, void 0);
31843
31847
  it(this, Oi, void 0);
31844
- it(this, kr, void 0);
31848
+ it(this, Gr, void 0);
31845
31849
  it(this, Ce, void 0);
31846
31850
  it(this, Ni, void 0);
31847
31851
  it(this, Ie, void 0);
31848
31852
  it(this, Ye, void 0);
31849
31853
  it(this, fr, void 0);
31850
31854
  it(this, ks, void 0);
31851
- it(this, Gr, void 0);
31855
+ it(this, Ur, void 0);
31852
31856
  it(this, Li, void 0);
31853
31857
  it(this, wr, void 0);
31854
31858
  it(this, Rr, void 0);
@@ -31902,10 +31906,10 @@ void main(void) {
31902
31906
  }), rt(this, lo, new Filter(void 0, z(this, uo), z(this, $s))), rt(this, Ai, RenderTexture.create({
31903
31907
  width: CmnLib.stageW,
31904
31908
  height: CmnLib.stageH
31905
- })), rt(this, Oi, new Sprite(z(this, Ai))), rt(this, kr, RenderTexture.create({
31909
+ })), rt(this, Oi, new Sprite(z(this, Ai))), rt(this, Gr, RenderTexture.create({
31906
31910
  width: CmnLib.stageW,
31907
31911
  height: CmnLib.stageH
31908
- })), rt(this, Ce, new Sprite(z(this, kr))), rt(this, Ni, []), rt(this, Ie, { tw: void 0, resume: !1 }), rt(this, Ye, {}), rt(this, fr, (X) => {
31912
+ })), 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) => {
31909
31913
  throw z(this, Li).call(this), 0;
31910
31914
  }), rt(this, ks, (X) => {
31911
31915
  throw z(this, Li).call(this), 0;
@@ -31917,7 +31921,7 @@ void main(void) {
31917
31921
  (X) => z(this, Jt)[X].fore.cvsResizeChildren()
31918
31922
  ) : z(this, Cr).forEach(
31919
31923
  (X) => z(this, Jt)[X].fore.cvsResize()
31920
- ), z(this, Pi).cvsResize(), z(this, $r).cvsResize();
31924
+ ), z(this, Pi).cvsResize(), z(this, kr).cvsResize();
31921
31925
  };
31922
31926
  if (CmnLib.isMobile)
31923
31927
  globalThis.addEventListener("orientationchange", U, { passive: !0 });
@@ -31955,7 +31959,7 @@ void main(void) {
31955
31959
  );
31956
31960
  }
31957
31961
  setEvtMng(t) {
31958
- rt(this, $r, t), z(this, Pi).setEvtMng(t), GrpLayer.setEvtMng(t);
31962
+ rt(this, kr, t), z(this, Pi).setEvtMng(t), GrpLayer.setEvtMng(t);
31959
31963
  }
31960
31964
  before_destroy() {
31961
31965
  for (const t in z(this, Jt))
@@ -31989,8 +31993,8 @@ void main(void) {
31989
31993
  return z(this, Li).call(this), this.currentTxtlayFore;
31990
31994
  }
31991
31995
  get currentTxtlayFore() {
31992
- if (!!z(this, Gr))
31993
- return z(this, Gr).fore;
31996
+ if (!!z(this, Ur))
31997
+ return z(this, Ur).fore;
31994
31998
  }
31995
31999
  recText(t, e = !1) {
31996
32000
  const o = z(this, wr);
@@ -32044,7 +32048,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32044
32048
  [Pe(this, Ls)._, this.bn = ""] = t.split("/");
32045
32049
  const e = z(this, Jt)[z(this, Ls)];
32046
32050
  !e || (DesignCast.allHide(), z(this, bn) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
32047
- }, ni = new WeakMap(), $r = new WeakMap(), ju = new WeakSet(), Ec = function(t) {
32051
+ }, ni = new WeakMap(), kr = new WeakMap(), ju = new WeakSet(), Ec = function(t) {
32048
32052
  ot(this, Ue, Qe).call(this).forEach((e) => {
32049
32053
  const o = z(this, Jt)[e];
32050
32054
  o.fore instanceof TxtLayer && (o.fore.chgBackAlpha(t), o.back.chgBackAlpha(t));
@@ -32148,7 +32152,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32148
32152
  const o = z(this, Jt)[ot(this, Fi, qn).call(this, { layer: e })];
32149
32153
  t.page === "both" ? (o.fore.clearLay(t), o.back.clearLay(t)) : o.getPage(t).clearLay(t);
32150
32154
  }), !1;
32151
- }, uo = new WeakMap(), $s = new WeakMap(), lo = new WeakMap(), Ai = new WeakMap(), Oi = new WeakMap(), kr = new WeakMap(), Ce = new WeakMap(), Ni = new WeakMap(), Zu = new WeakSet(), wc = function(t) {
32155
+ }, 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) {
32152
32156
  ot(this, En, ya).call(this);
32153
32157
  const e = CmnTween.ease(t.ease);
32154
32158
  rt(this, Ni, []);
@@ -32173,9 +32177,9 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32173
32177
  }, V();
32174
32178
  };
32175
32179
  }
32176
- z(this, kr).resize(CmnLib.stageW, CmnLib.stageH), this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this, kr) });
32180
+ z(this, Gr).resize(CmnLib.stageW, CmnLib.stageH), this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this, Gr) });
32177
32181
  let D = () => {
32178
- z(this, ne).visible = !0, this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this, kr) }), z(this, ne).visible = !1;
32182
+ z(this, ne).visible = !0, this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this, Gr) }), z(this, ne).visible = !1;
32179
32183
  };
32180
32184
  if (!R.some((V) => V.containMovement)) {
32181
32185
  let V = D;
@@ -32205,7 +32209,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32205
32209
  };
32206
32210
  rt(this, Ie, { tw: void 0, resume: !1 });
32207
32211
  const $ = argChk_Num(t, "time", 0);
32208
- if ($ === 0 || z(this, $r).isSkippingByKeyDown())
32212
+ if ($ === 0 || z(this, kr).isSkippingByKeyDown())
32209
32213
  return B(), !1;
32210
32214
  const U = "glsl" in t;
32211
32215
  if (!U && !("rule" in t))
@@ -32237,22 +32241,22 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32237
32241
  return R < N ? -1 : R > N ? 1 : 0;
32238
32242
  });
32239
32243
  }, Qu = new WeakSet(), Ac = function(t) {
32240
- return z(this, Ie).tw ? (z(this, Ie).resume = !0, z(this, $r).waitLimitedEvent(t, () => ot(this, En, ya).call(this))) : !1;
32244
+ return z(this, Ie).tw ? (z(this, Ie).resume = !0, z(this, kr).waitLimitedEvent(t, () => ot(this, En, ya).call(this))) : !1;
32241
32245
  }, En = new WeakSet(), ya = function() {
32242
32246
  var t;
32243
32247
  return (t = z(this, Ie).tw) == null || t.end(), !1;
32244
32248
  }, tl = new WeakSet(), Oc = function(t) {
32245
32249
  ot(this, En, ya).call(this);
32246
32250
  const e = argChk_Num(t, "time", NaN);
32247
- if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this, $r).isSkippingByKeyDown())
32251
+ if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this, kr).isSkippingByKeyDown())
32248
32252
  return !1;
32249
32253
  const o = [];
32250
32254
  ot(this, Ue, Qe).call(this, t.layer).forEach((U) => {
32251
32255
  o.push(z(this, Jt)[U].fore.spLay);
32252
- }), z(this, kr).resize(CmnLib.stageW, CmnLib.stageH);
32256
+ }), z(this, Gr).resize(CmnLib.stageW, CmnLib.stageH);
32253
32257
  const R = () => {
32254
32258
  z(this, ne).visible = !0, o.forEach(
32255
- (U) => this.appPixi.renderer.render(U, { renderTexture: z(this, kr), clear: !1 })
32259
+ (U) => this.appPixi.renderer.render(U, { renderTexture: z(this, Gr), clear: !1 })
32256
32260
  ), z(this, ne).visible = !1;
32257
32261
  };
32258
32262
  z(this, Ce).visible = !0, z(this, Ce).alpha = 1;
@@ -32274,7 +32278,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32274
32278
  const e = ot(this, Fi, qn).call(this, t);
32275
32279
  let o = z(this, Jt)[e].fore, R = () => {
32276
32280
  };
32277
- const N = z(this, $r).isSkippingByKeyDown();
32281
+ const N = z(this, kr).isSkippingByKeyDown();
32278
32282
  !N && "render" in t && (o.renderStart(), R = () => o.renderEnd());
32279
32283
  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(() => {
32280
32284
  var X, Y;
@@ -32303,7 +32307,7 @@ ${t.id}` : (R = t.name) != null ? R : t.layer;
32303
32307
  if (!e)
32304
32308
  throw "\u30C8\u30A5\u30A4\u30FC\u30F3\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093";
32305
32309
  const o = z(this, Ye)[e];
32306
- return o != null && o.tw ? o.resume = z(this, $r).waitEvent(
32310
+ return o != null && o.tw ? o.resume = z(this, kr).waitEvent(
32307
32311
  () => {
32308
32312
  var N;
32309
32313
  return (N = o.tw) == null ? void 0 : N.end();
@@ -32350,13 +32354,13 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
32350
32354
  const { layer: e } = t;
32351
32355
  if (!e)
32352
32356
  throw "[current] layer\u306F\u5FC5\u9808\u3067\u3059";
32353
- if (rt(this, Gr, z(this, Jt)[e]), !(z(this, Gr).getPage(t) instanceof TxtLayer))
32357
+ if (rt(this, Ur, z(this, Jt)[e]), !(z(this, Ur).getPage(t) instanceof TxtLayer))
32354
32358
  throw `${e}\u306FTxtLayer\u3067\u306F\u3042\u308A\u307E\u305B\u3093`;
32355
32359
  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) => {
32356
32360
  const R = z(this, Jt)[o];
32357
32361
  R.fore instanceof TxtLayer && (R.fore.isCur = R.back.isCur = o === e);
32358
32362
  }), !1;
32359
- }, Gr = new WeakMap(), Li = new WeakMap(), Fi = new WeakSet(), qn = function(t, e = "") {
32363
+ }, Ur = new WeakMap(), Li = new WeakMap(), Fi = new WeakSet(), qn = function(t, e = "") {
32360
32364
  var R;
32361
32365
  const o = (R = t.layer) != null ? R : e;
32362
32366
  if (o.includes(","))
@@ -32370,7 +32374,7 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
32370
32374
  }, ll = new WeakSet(), Gc = function(t) {
32371
32375
  return z(this, ar).call(this, "endlink\uFF5C", z(this, fr).call(this, t)), !1;
32372
32376
  }, hl = new WeakSet(), Uc = function(t) {
32373
- return argChk_Boolean(t, "rec_page_break", !0) && this.recText("", !0), z(this, Gr) && (z(this, Gr).fore.clearLay(t), z(this, Gr).back.clearLay(t)), !1;
32377
+ 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;
32374
32378
  }, cl = new WeakSet(), Hc = function(t) {
32375
32379
  if (!t.pic)
32376
32380
  throw "[graph] pic\u306F\u5FC5\u9808\u3067\u3059";
@@ -33534,7 +33538,7 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
33534
33538
  defaultModifiers
33535
33539
  });
33536
33540
  const { GamepadListener } = require("gamepad.js");
33537
- var Ur, Bi, Le, co, fo, xh, po, Th, vo, Sh, Gs, Us, go, Ch, Ee, dr, si, ai, _o, $i, Zn, mo, yo, He, Hs, zs, bo, Sl, ef, Eo, Tn, Cl, rf, xo, Ih, Il, nf, To, wh, Sn, Ea, Cn, wl, sf, Rl, af, pr, Pl, of, Al, uf, js, iu, oi, In, wn, Ol, lf, ze;
33541
+ var Hr, Bi, Le, co, fo, xh, po, Th, vo, Sh, Gs, Us, go, Ch, Ee, dr, si, ai, _o, $i, Zn, mo, yo, He, Hs, zs, bo, Sl, ef, Eo, Tn, Cl, rf, xo, Ih, Il, nf, To, wh, Sn, Ea, Cn, wl, sf, Rl, af, pr, Pl, of, Al, uf, js, iu, oi, In, wn, Ol, lf, ze;
33538
33542
  class EventMng {
33539
33543
  constructor(t, e, o, R, N, M, D, L, B) {
33540
33544
  it(this, fo);
@@ -33554,7 +33558,7 @@ class EventMng {
33554
33558
  it(this, Al);
33555
33559
  it(this, js);
33556
33560
  it(this, Ol);
33557
- it(this, Ur, new EventListenerCtn());
33561
+ it(this, Hr, new EventListenerCtn());
33558
33562
  it(this, Bi, new GamepadListener({
33559
33563
  analog: !1,
33560
33564
  deadZone: 0.3
@@ -33665,7 +33669,7 @@ class EventMng {
33665
33669
  <div class="sn_hint" role="tooltip">
33666
33670
  <span>Dummy</span>
33667
33671
  <div class="sn_hint_ar" data-popper-arrow></div>
33668
- </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, Ur).add(o.stage, "pointerdown", (X) => {
33672
+ </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) => {
33669
33673
  switch (X.data.button) {
33670
33674
  case 0:
33671
33675
  this.fire("click", X);
@@ -33674,13 +33678,13 @@ class EventMng {
33674
33678
  this.fire("middleclick", X);
33675
33679
  break;
33676
33680
  }
33677
- }), z(this, Ur).add(window, "keydown", (X) => ot(this, fo, xh).call(this, X)), z(this, Ur).add(o.view, "contextmenu", (X) => ot(this, po, Th).call(this, X));
33681
+ }), 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));
33678
33682
  const $ = (X) => {
33679
33683
  CmnLib.isDarkMode = X.matches, M.setVal_Nochk("tmp", "const.sn.isDarkMode", CmnLib.isDarkMode);
33680
33684
  }, U = globalThis.matchMedia("(prefers-color-scheme: dark)");
33681
33685
  $(U), U.addEventListener("change", (X) => {
33682
33686
  $(X), this.fire("sn:chgDarkMode", X);
33683
- }), "WheelEvent" in window && (z(this, Ur).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) => {
33687
+ }), "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) => {
33684
33688
  q.isComposing || q.deltaY <= 0 || (q.stopPropagation(), Y());
33685
33689
  }))), 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}`)));
33686
33690
  const H = [
@@ -33710,7 +33714,7 @@ class EventMng {
33710
33714
  (!Y || Y instanceof Container ? globalThis : Y).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
33711
33715
  } else
33712
33716
  o.view.dispatchEvent(new Event("contextmenu"));
33713
- }), z(this, Bi).start(), z(this, Ur).add(window, "keyup", (X) => {
33717
+ }), z(this, Bi).start(), z(this, Hr).add(window, "keyup", (X) => {
33714
33718
  X.isComposing || X.key in z(this, ze) && (z(this, ze)[X.key] = 0);
33715
33719
  }), 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);
33716
33720
  }
@@ -33718,7 +33722,7 @@ class EventMng {
33718
33722
  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);
33719
33723
  }
33720
33724
  destroy() {
33721
- z(this, Le).destroy(), z(this, Ur).clear();
33725
+ z(this, Le).destroy(), z(this, Hr).clear();
33722
33726
  }
33723
33727
  fire(t, e) {
33724
33728
  var N;
@@ -33830,7 +33834,7 @@ class EventMng {
33830
33834
  return !1;
33831
33835
  }
33832
33836
  }
33833
- Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(), fo = new WeakSet(), xh = function(t) {
33837
+ Hr = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(), fo = new WeakSet(), xh = function(t) {
33834
33838
  if (t.isComposing)
33835
33839
  return;
33836
33840
  t.key in z(this, ze) && (z(this, ze)[t.key] = t.repeat ? 2 : 1);
@@ -33929,7 +33933,7 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
33929
33933
  break;
33930
33934
  }
33931
33935
  B.forEach((U, H) => L.el.forEach((V) => {
33932
- z(this, Ur).add(V, U, (W) => {
33936
+ z(this, Hr).add(V, U, (W) => {
33933
33937
  if (!z(this, ai) || this.layMng.getFrmDisabled(L.id) || U === "keydown" && W.key !== "Enter")
33934
33938
  return;
33935
33939
  const X = V.dataset;
@@ -34058,7 +34062,7 @@ class CallStack {
34058
34062
  this.fn = t, this.idx = e, this.csArg = o, this.toString = () => `[fn:${this.fn}, idx:${this.idx}, csArg:${this.csArg}]`;
34059
34063
  }
34060
34064
  }
34061
- var Xt, ee, Ht, fe, ce, ui, So, Rh, ki, Rn, Nl, li, Co, Ph, Io, Ah, Vs, Gi, Kn, Pn, xa, An, hi, xe, Ml, hf, On, Ta, Dl, cf, Xs, Ws, or, Ll, ff, Fl, df, ci, Yi, 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, Nn, Sa, zi, fi, qi, Po, Mh, Js, Ao, Dh, Oo, No, Qs, ji, ta, jl, Ef, je, Vl, xf, Mo, Lh, Do, Lo, Fo, Xl, Tf, Hr, Bo, Fh, Wl, Sf, Yl, Cf, ql, If, ea, Mn, Zl, wf, ra, nu, Dn, Kl, Rf, vr, Jl, Pf, ia, su, Ql, Af, gr, Oe;
34065
+ var Xt, ee, Ht, fe, ce, ui, So, Rh, ki, Rn, Nl, li, Co, Ph, Io, Ah, Vs, Gi, Kn, Pn, xa, An, hi, xe, Ml, hf, On, Ta, Dl, cf, Xs, Ws, or, Ll, ff, Fl, df, ci, Yi, 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, Nn, Sa, zi, fi, qi, 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, Mn, Zl, wf, ra, nu, Dn, Kl, Rf, vr, Jl, Pf, ia, su, Ql, Af, gr, Oe;
34062
34066
  const tr = class {
34063
34067
  constructor(t, e, o, R, N, M, D, L, B) {
34064
34068
  it(this, So);
@@ -34131,7 +34135,7 @@ const tr = class {
34131
34135
  it(this, Do, void 0);
34132
34136
  it(this, Lo, void 0);
34133
34137
  it(this, Fo, void 0);
34134
- it(this, Hr, void 0);
34138
+ it(this, zr, void 0);
34135
34139
  it(this, ea, void 0);
34136
34140
  it(this, Mn, void 0);
34137
34141
  it(this, Dn, void 0);
@@ -34203,7 +34207,7 @@ const tr = class {
34203
34207
  }
34204
34208
  }
34205
34209
  z(this, Xt).len = z(this, Xt).aToken.length;
34206
- }), rt(this, Hr, !1), rt(this, ea, "call"), rt(this, Mn, /\[(call)\b/), rt(this, Dn, !1), rt(this, vr, {
34210
+ }), rt(this, zr, !1), rt(this, ea, "call"), rt(this, Mn, /\[(call)\b/), rt(this, Dn, !1), rt(this, vr, {
34207
34211
  hSave: {},
34208
34212
  hPages: {},
34209
34213
  aIfStk: [-1]
@@ -34328,7 +34332,7 @@ const tr = class {
34328
34332
  rt(this, Ht, t.idx), rt(this, fe, t.ln), this.runAnalyze();
34329
34333
  }
34330
34334
  get isKidoku() {
34331
- return z(this, Hr);
34335
+ return z(this, zr);
34332
34336
  }
34333
34337
  get isNextKidoku() {
34334
34338
  let t = z(this, ee), e = z(this, Ht), o = z(this, Xt).len;
@@ -34342,7 +34346,7 @@ const tr = class {
34342
34346
  return !R || e === o ? !1 : R.search(e);
34343
34347
  }
34344
34348
  get normalWait() {
34345
- return z(this, Hr) ? 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;
34349
+ 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;
34346
34350
  }
34347
34351
  get skip4page() {
34348
34352
  return z(this, Dn);
@@ -34768,10 +34772,10 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34768
34772
  t.record(z(this, Ht));
34769
34773
  return;
34770
34774
  }
34771
- rt(this, Hr, t.search(z(this, Ht))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", z(this, Hr)), !z(this, Hr) && t.record(z(this, Ht));
34772
- }, Hr = new WeakMap(), Bo = new WeakSet(), Fh = function() {
34775
+ 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));
34776
+ }, zr = new WeakMap(), Bo = new WeakSet(), Fh = function() {
34773
34777
  var t;
34774
- (t = this.val.getAreaKidoku(z(this, ee))) == null || t.erase(z(this, Ht)), rt(this, Hr, !1);
34778
+ (t = this.val.getAreaKidoku(z(this, ee))) == null || t.erase(z(this, Ht)), rt(this, zr, !1);
34775
34779
  }, Wl = new WeakSet(), Sf = function(t) {
34776
34780
  return z(this, ui).bracket2macro(t, z(this, Xt), z(this, Ht)), !1;
34777
34781
  }, Yl = new WeakSet(), Cf = function(t) {
@@ -35541,17 +35545,17 @@ const devtools = {
35541
35545
  };
35542
35546
  main({ emitEvents: !1 });
35543
35547
  setInterval(main, 500);
35544
- var kn, ha, zr, ca;
35548
+ var kn, ha, jr, ca;
35545
35549
  class SysWeb extends SysBase {
35546
35550
  constructor(e = {}, o = { cur: "prj/", crypto: !1, dip: "" }) {
35547
35551
  super(e, o);
35548
35552
  it(this, kn, void 0);
35549
35553
  it(this, ha, void 0);
35550
- it(this, zr, void 0);
35554
+ it(this, jr, void 0);
35551
35555
  it(this, ca, void 0);
35552
35556
  rt(this, kn, ""), rt(this, ha, ":"), this.run = async () => {
35553
- z(this, zr) && (z(this, zr).destroy(10), await new Promise((M) => setTimeout(M, 10))), rt(this, zr, new Main(this));
35554
- }, rt(this, zr, void 0), this.pathBaseCnvSnPath4Dbg = "${pathbase}/", this._export = () => ((async () => {
35557
+ z(this, jr) && (z(this, jr).destroy(10), await new Promise((M) => setTimeout(M, 10))), rt(this, jr, new Main(this));
35558
+ }, rt(this, jr, void 0), this.pathBaseCnvSnPath4Dbg = "${pathbase}/", this._export = () => ((async () => {
35555
35559
  const N = JSON.stringify({
35556
35560
  sys: this.data.sys,
35557
35561
  mark: this.data.mark,
@@ -35602,7 +35606,7 @@ class SysWeb extends SysBase {
35602
35606
  this.arg.cur = z(this, kn) + e + "/", z(this, ha) !== this.arg.cur && (rt(this, ha, this.arg.cur), this.run());
35603
35607
  }
35604
35608
  stop() {
35605
- !z(this, zr) || (z(this, zr).destroy(), rt(this, zr, void 0));
35609
+ !z(this, jr) || (z(this, jr).destroy(), rt(this, jr, void 0));
35606
35610
  }
35607
35611
  async loadPath(e, o) {
35608
35612
  await super.loadPath(e, o);
@@ -35676,7 +35680,7 @@ class SysWeb extends SysBase {
35676
35680
  D.href = URL.createObjectURL(M), D.download = e, D.click();
35677
35681
  }
35678
35682
  }
35679
- kn = new WeakMap(), ha = new WeakMap(), zr = new WeakMap(), ca = new WeakMap();
35683
+ kn = new WeakMap(), ha = new WeakMap(), jr = new WeakMap(), ca = new WeakMap();
35680
35684
  export {
35681
35685
  CmnLib,
35682
35686
  Layer,