@famibee/skynovel 1.45.0 → 1.45.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web.js CHANGED
@@ -1,21 +1,21 @@
1
- var _p = Object.defineProperty;
2
- var gp = (o, t, e) => t in o ? _p(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
- var gt = (o, t, e) => (gp(o, typeof t != "symbol" ? t + "" : t, e), e), bc = (o, t, e) => {
1
+ var gp = Object.defineProperty;
2
+ var yp = (o, t, e) => t in o ? gp(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
+ var gt = (o, t, e) => (yp(o, typeof t != "symbol" ? t + "" : t, e), e), xc = (o, t, e) => {
4
4
  if (!t.has(o))
5
5
  throw TypeError("Cannot " + e);
6
6
  };
7
- var G = (o, t, e) => (bc(o, t, "read from private field"), e ? e.call(o) : t.get(o)), Z = (o, t, e) => {
7
+ var G = (o, t, e) => (xc(o, t, "read from private field"), e ? e.call(o) : t.get(o)), Z = (o, t, e) => {
8
8
  if (t.has(o))
9
9
  throw TypeError("Cannot add the same private member more than once");
10
10
  t instanceof WeakSet ? t.add(o) : t.set(o, e);
11
- }, Q = (o, t, e, r) => (bc(o, t, "write to private field"), r ? r.call(o, e) : t.set(o, e), e), Te = (o, t, e, r) => ({
11
+ }, Q = (o, t, e, r) => (xc(o, t, "write to private field"), r ? r.call(o, e) : t.set(o, e), e), Te = (o, t, e, r) => ({
12
12
  set _(N) {
13
13
  Q(o, t, N, e);
14
14
  },
15
15
  get _() {
16
16
  return G(o, t, r);
17
17
  }
18
- }), tt = (o, t, e) => (bc(o, t, "access private method"), e);
18
+ }), tt = (o, t, e) => (xc(o, t, "access private method"), e);
19
19
  var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
20
20
  function getDefaultExportFromCjs(o) {
21
21
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
@@ -478,10 +478,10 @@ const REG_EXT = /\.([^\.]+)$/;
478
478
  function getExt(o) {
479
479
  return (o.match(REG_EXT) ?? ["", ""])[1];
480
480
  }
481
- var pf, vf;
481
+ var vf, mf;
482
482
  class CmnLib {
483
483
  }
484
- gt(CmnLib, "stageW", 0), gt(CmnLib, "stageH", 0), gt(CmnLib, "debugLog", !1), gt(CmnLib, "isSafari", platformExports.name === "Safari"), gt(CmnLib, "isFirefox", platformExports.name === "Firefox"), gt(CmnLib, "isMac", new RegExp("OS X").test(((pf = platformExports.os) == null ? void 0 : pf.family) ?? "")), gt(CmnLib, "isMobile", !new RegExp("(Windows|OS X)").test(((vf = platformExports.os) == null ? void 0 : vf.family) ?? "")), gt(CmnLib, "hDip", {}), gt(CmnLib, "isDbg", !1), gt(CmnLib, "isPackaged", !1), gt(CmnLib, "isDarkMode", !1), gt(CmnLib, "cc4ColorName");
484
+ gt(CmnLib, "stageW", 0), gt(CmnLib, "stageH", 0), gt(CmnLib, "debugLog", !1), gt(CmnLib, "isSafari", platformExports.name === "Safari"), gt(CmnLib, "isFirefox", platformExports.name === "Firefox"), gt(CmnLib, "isMac", new RegExp("OS X").test(((vf = platformExports.os) == null ? void 0 : vf.family) ?? "")), gt(CmnLib, "isMobile", !new RegExp("(Windows|OS X)").test(((mf = platformExports.os) == null ? void 0 : mf.family) ?? "")), gt(CmnLib, "hDip", {}), gt(CmnLib, "isDbg", !1), gt(CmnLib, "isPackaged", !1), gt(CmnLib, "isDarkMode", !1), gt(CmnLib, "cc4ColorName");
485
485
  function finallyConstructor(o) {
486
486
  var t = this.constructor;
487
487
  return this.then(
@@ -16228,7 +16228,7 @@ class EventListenerCtn {
16228
16228
  }
16229
16229
  }
16230
16230
  Lr = new WeakMap();
16231
- var SEARCH_PATH_ARG_EXT = /* @__PURE__ */ ((o) => (o.DEFAULT = "", o.SP_GSM = "png|jpg|jpeg|json|svg|webp|mp4|webm", o.SCRIPT = "sn|ssn", o.FONT = "woff2|woff|otf|ttf", o.SOUND = "mp3|m4a|ogg|aac|flac|wav", o.HTML = "htm|html", o.CSS = "css", o.SN = "sn", o.PSD = "psd", o.TST_PNGPNG_ = "png|png_", o.TST_HH = "hh", o.TST_EEE = "eee", o.TST_GGG = "ggg", o.TST_PNGXML = "png|xml", o))(SEARCH_PATH_ARG_EXT || {}), Ba, Fa, Zh;
16231
+ var SEARCH_PATH_ARG_EXT = /* @__PURE__ */ ((o) => (o.DEFAULT = "", o.SP_GSM = "png|jpg|jpeg|json|svg|webp|mp4|webm", o.SCRIPT = "sn|ssn", o.FONT = "woff2|woff|otf|ttf", o.SOUND = "mp3|m4a|ogg|aac|flac|wav", o.HTML = "htm|html", o.CSS = "css", o.SN = "sn", o.PSD = "psd", o.TST_PNGPNG_ = "png|png_", o.TST_HH = "hh", o.TST_EEE = "eee", o.TST_GGG = "ggg", o.TST_PNGXML = "png|xml", o))(SEARCH_PATH_ARG_EXT || {}), Fa, Ua, Jh;
16232
16232
  class ConfigBase {
16233
16233
  constructor(t) {
16234
16234
  gt(this, "oCfg", {
@@ -16286,18 +16286,18 @@ class ConfigBase {
16286
16286
  gt(this, "userFnTail", "");
16287
16287
  // 4tst public
16288
16288
  gt(this, "hPathFn2Exts", {});
16289
- Z(this, Ba, !1);
16290
16289
  Z(this, Fa, !1);
16291
- Z(this, Zh, /([^\/\s]+)\.([^\d]\w+)/);
16290
+ Z(this, Ua, !1);
16291
+ Z(this, Jh, /([^\/\s]+)\.([^\d]\w+)/);
16292
16292
  this.sys = t;
16293
16293
  }
16294
16294
  async load(t) {
16295
16295
  var e, r, N, k;
16296
- if (this.oCfg.save_ns = (t == null ? void 0 : t.save_ns) ?? this.oCfg.save_ns, this.oCfg.window.width = Number(((e = t == null ? void 0 : t.window) == null ? void 0 : e.width) ?? this.oCfg.window.width), this.oCfg.window.height = Number(((r = t == null ? void 0 : t.window) == null ? void 0 : r.height) ?? this.oCfg.window.height), this.oCfg.book = { ...this.oCfg.book, ...t.book }, this.oCfg.log.max_len = ((k = (N = t.log) == null ? void 0 : N.max_len) == null ? void 0 : k.max_len) ?? this.oCfg.log.max_len, this.oCfg.init = { ...this.oCfg.init, ...t.init }, this.oCfg.debug = { ...this.oCfg.debug, ...t.debug }, this.oCfg.debuger_token = t.debuger_token, await this.sys.loadPath(this.hPathFn2Exts, this), Q(this, Ba, this.matchPath(
16296
+ if (this.oCfg.save_ns = (t == null ? void 0 : t.save_ns) ?? this.oCfg.save_ns, this.oCfg.window.width = Number(((e = t == null ? void 0 : t.window) == null ? void 0 : e.width) ?? this.oCfg.window.width), this.oCfg.window.height = Number(((r = t == null ? void 0 : t.window) == null ? void 0 : r.height) ?? this.oCfg.window.height), this.oCfg.book = { ...this.oCfg.book, ...t.book }, this.oCfg.log.max_len = ((k = (N = t.log) == null ? void 0 : N.max_len) == null ? void 0 : k.max_len) ?? this.oCfg.log.max_len, this.oCfg.init = { ...this.oCfg.init, ...t.init }, this.oCfg.debug = { ...this.oCfg.debug, ...t.debug }, this.oCfg.debuger_token = t.debuger_token, await this.sys.loadPath(this.hPathFn2Exts, this), Q(this, Fa, this.matchPath(
16297
16297
  "^breakline$",
16298
16298
  "png|jpg|jpeg|json|svg|webp|mp4|webm"
16299
16299
  /* SP_GSM */
16300
- ).length > 0), Q(this, Fa, this.matchPath(
16300
+ ).length > 0), Q(this, Ua, this.matchPath(
16301
16301
  "^breakpage$",
16302
16302
  "png|jpg|jpeg|json|svg|webp|mp4|webm"
16303
16303
  /* SP_GSM */
@@ -16312,10 +16312,10 @@ class ConfigBase {
16312
16312
  }
16313
16313
  }
16314
16314
  get existsBreakline() {
16315
- return G(this, Ba);
16315
+ return G(this, Fa);
16316
16316
  }
16317
16317
  get existsBreakpage() {
16318
- return G(this, Fa);
16318
+ return G(this, Ua);
16319
16319
  }
16320
16320
  getNs() {
16321
16321
  return `skynovel.${this.oCfg.save_ns} - `;
@@ -16326,7 +16326,7 @@ class ConfigBase {
16326
16326
  throw "[searchPath] fnが空です";
16327
16327
  if (t.slice(0, 7) === "http://")
16328
16328
  return t;
16329
- const r = t.match(G(this, Zh));
16329
+ const r = t.match(G(this, Jh));
16330
16330
  let N = r ? r[1] : t;
16331
16331
  const k = r ? r[2] : "";
16332
16332
  if (this.userFnTail) {
@@ -16395,7 +16395,7 @@ class ConfigBase {
16395
16395
  this.hPathFn2Exts[t] = r;
16396
16396
  }
16397
16397
  }
16398
- Ba = new WeakMap(), Fa = new WeakMap(), Zh = new WeakMap();
16398
+ Fa = new WeakMap(), Ua = new WeakMap(), Jh = new WeakMap();
16399
16399
  class Config extends ConfigBase {
16400
16400
  constructor(t) {
16401
16401
  super(t), this.sys = t;
@@ -16437,17 +16437,17 @@ function splitAmpersand(o) {
16437
16437
  cast: e === 3 ? t[2].trim() : void 0
16438
16438
  };
16439
16439
  }
16440
- var hn, ln, Ua, Ga, $a, je, ja, Ss, kh;
16440
+ var hn, ln, Ga, $a, ja, je, Ha, Ts, Dh;
16441
16441
  class Grammar {
16442
16442
  constructor() {
16443
- Z(this, Ss);
16443
+ Z(this, Ts);
16444
16444
  Z(this, hn, void 0);
16445
16445
  Z(this, ln, void 0);
16446
- Z(this, Ua, new RegExp(""));
16447
- Z(this, Ga, "");
16446
+ Z(this, Ga, new RegExp(""));
16448
16447
  Z(this, $a, "");
16448
+ Z(this, ja, "");
16449
16449
  Z(this, je, void 0);
16450
- Z(this, ja, void 0);
16450
+ Z(this, Ha, void 0);
16451
16451
  this.setEscape("");
16452
16452
  }
16453
16453
  setEscape(t) {
@@ -16458,7 +16458,7 @@ class Grammar {
16458
16458
  `\\n+|\\t+|\\[let_ml\\s+[^\\]]+\\].+?(?=\\[endlet_ml[\\]\\s])|\\[(?:(?=([^"'#;\\]]+))\\1|(["'#]).*?\\2|;[^\\n]*)*?]|;[^\\n]*|&[^&\\n]+&|&&?[^&;\\n\\t]+|^\\*[^\\s\\[&;\\\\]+|[^\\n\\t\\[;${t ? `\\${t}` : ""}]+`,
16459
16459
  // 本文
16460
16460
  "gs"
16461
- )), Q(this, ln, new RegExp(`[\\w\\s;[\\]*=&|《》${t ? `\\${t}` : ""}]`)), Q(this, ja, new RegExp(`[\\n\\t;\\[*&${t ? `\\${t}` : ""}]`));
16461
+ )), Q(this, ln, new RegExp(`[\\w\\s;[\\]*=&|《》${t ? `\\${t}` : ""}]`)), Q(this, Ha, new RegExp(`[\\n\\t;\\[*&${t ? `\\${t}` : ""}]`));
16462
16462
  }
16463
16463
  // 括弧マクロの定義
16464
16464
  bracket2macro(t, e, r, N) {
@@ -16484,7 +16484,7 @@ class Grammar {
16484
16484
  throw "[bracket2macro] text【" + U + "】は括弧マクロに使用できない文字です";
16485
16485
  if (G(this, ln).test($))
16486
16486
  throw "[bracket2macro] text【" + $ + "】は括弧マクロに使用できない文字です";
16487
- G(this, je)[$] = "0", G(this, je)[U] = `[${k} text=`, this.addC2M(`\\${U}[^\\${$}]*\\${$}`, `\\${U}\\${$}`), tt(this, Ss, kh).call(this, r, N);
16487
+ G(this, je)[$] = "0", G(this, je)[U] = `[${k} text=`, this.addC2M(`\\${U}[^\\${$}]*\\${$}`, `\\${U}\\${$}`), tt(this, Ts, Dh).call(this, r, N);
16488
16488
  }
16489
16489
  // 一文字マクロの定義
16490
16490
  char2macro(t, e, r, N) {
@@ -16499,11 +16499,11 @@ class Grammar {
16499
16499
  throw "[char2macro] nameは必須です";
16500
16500
  if (!(D in e))
16501
16501
  throw `[char2macro] 未定義のタグ又はマクロ[${D}]です`;
16502
- G(this, je)[k] = `[${D}]`, this.addC2M(`\\${k}`, `\\${k}`), tt(this, Ss, kh).call(this, r, N);
16502
+ G(this, je)[k] = `[${D}]`, this.addC2M(`\\${k}`, `\\${k}`), tt(this, Ts, Dh).call(this, r, N);
16503
16503
  }
16504
16504
  addC2M(t, e) {
16505
- Q(this, Ga, G(this, Ga) + `${t}|`), Q(this, $a, G(this, $a) + `${e}`), Q(this, Ua, new RegExp(
16506
- `(${G(this, Ga)}[^${G(this, $a)}]+)`,
16505
+ Q(this, $a, G(this, $a) + `${t}|`), Q(this, ja, G(this, ja) + `${e}`), Q(this, Ga, new RegExp(
16506
+ `(${G(this, $a)}[^${G(this, ja)}]+)`,
16507
16507
  "g"
16508
16508
  ));
16509
16509
  }
@@ -16519,7 +16519,7 @@ class Grammar {
16519
16519
  const [, U, $] = D;
16520
16520
  return [U, $];
16521
16521
  })) ?? [], r = { aToken: e, len: e.length, aLNum: [] };
16522
- return tt(this, Ss, kh).call(this, r), r;
16522
+ return tt(this, Ts, Dh).call(this, r), r;
16523
16523
  }
16524
16524
  testTagLetml(t) {
16525
16525
  return /^\[let_ml\s/.test(t);
@@ -16531,18 +16531,18 @@ class Grammar {
16531
16531
  return G(this, hn).lastIndex = 0, G(this, hn).exec(t);
16532
16532
  }
16533
16533
  testNoTxt(t) {
16534
- return G(this, ja).test(t);
16534
+ return G(this, Ha).test(t);
16535
16535
  }
16536
16536
  //4tst
16537
16537
  }
16538
- hn = new WeakMap(), ln = new WeakMap(), Ua = new WeakMap(), Ga = new WeakMap(), $a = new WeakMap(), je = new WeakMap(), ja = new WeakMap(), Ss = new WeakSet(), kh = function(t, e = 0) {
16538
+ hn = new WeakMap(), ln = new WeakMap(), Ga = new WeakMap(), $a = new WeakMap(), ja = new WeakMap(), je = new WeakMap(), Ha = new WeakMap(), Ts = new WeakSet(), Dh = function(t, e = 0) {
16539
16539
  if (G(this, je)) {
16540
16540
  for (let r = t.len - 1; r >= e; --r) {
16541
16541
  const N = t.aToken[r];
16542
16542
  if (this.testNoTxt(N.at(0) ?? `
16543
16543
  `))
16544
16544
  continue;
16545
- const k = t.aLNum[r], D = N.match(G(this, Ua));
16545
+ const k = t.aLNum[r], D = N.match(G(this, Ga));
16546
16546
  if (!D)
16547
16547
  continue;
16548
16548
  let U = 1;
@@ -16555,10 +16555,10 @@ hn = new WeakMap(), ln = new WeakMap(), Ua = new WeakMap(), Ga = new WeakMap(),
16555
16555
  t.len = t.aToken.length;
16556
16556
  }
16557
16557
  };
16558
- var Ha, Ts, Dh, un, ws;
16558
+ var Va, ws, Bh, un, Ps;
16559
16559
  class AnalyzeTagArg {
16560
16560
  constructor() {
16561
- Z(this, Ts);
16561
+ Z(this, ws);
16562
16562
  // 87 match 2725 step(0.5ms) PCRE2 https://regex101.com/r/aeN57J/1
16563
16563
  /*
16564
16564
  ;[^\n]*
@@ -16573,31 +16573,31 @@ class AnalyzeTagArg {
16573
16573
  | (["'#]) (?<def2>.*?) \6 ) )?
16574
16574
  | (?<literal>[^\s;]+)
16575
16575
  */
16576
- Z(this, Ha, /;[^\n]*|(?<key>[^\s="'#|;]+)(?:\s|;[^\n]*\n)*=(?:\s|;[^\n]*\n)*(?:(?<val>[^\s"'#|;]+)|(["'#])(?<val2>.*?)\3)(?:\|(?:(?<def>[^\s"'#;]+)|(["'#])(?<def2>.*?)\6))?|(?<literal>[^\s;]+)/g);
16576
+ Z(this, Va, /;[^\n]*|(?<key>[^\s="'#|;]+)(?:\s|;[^\n]*\n)*=(?:\s|;[^\n]*\n)*(?:(?<val>[^\s"'#|;]+)|(["'#])(?<val2>.*?)\3)(?:\|(?:(?<def>[^\s"'#;]+)|(["'#])(?<def2>.*?)\6))?|(?<literal>[^\s;]+)/g);
16577
16577
  Z(this, un, {});
16578
- Z(this, ws, !1);
16578
+ Z(this, Ps, !1);
16579
16579
  }
16580
16580
  // 【属性 = 値 | 省略値】の分析
16581
16581
  parse(t) {
16582
- Q(this, un, {}), Q(this, ws, !1);
16583
- for (const { groups: e } of t.matchAll(G(this, Ha))) {
16582
+ Q(this, un, {}), Q(this, Ps, !1);
16583
+ for (const { groups: e } of t.matchAll(G(this, Va))) {
16584
16584
  const { key: r, val: N, val2: k, def: D, def2: U, literal: $ } = e;
16585
16585
  r ? G(this, un)[r] = {
16586
16586
  val: N ?? k,
16587
16587
  def: D ?? U
16588
- } : $ && ($ === "*" ? Q(this, ws, !0) : G(this, un)[$] = { val: "1" });
16588
+ } : $ && ($ === "*" ? Q(this, Ps, !0) : G(this, un)[$] = { val: "1" });
16589
16589
  }
16590
16590
  }
16591
16591
  // 属性と値の位置をまとめて返す
16592
16592
  parseinDetail(t, e, r, N) {
16593
16593
  const k = {}, D = t.slice(1 + e, -1);
16594
- for (const { groups: U, index: $, 0: H } of D.matchAll(G(this, Ha))) {
16594
+ for (const { groups: U, index: $, 0: H } of D.matchAll(G(this, Va))) {
16595
16595
  if ($ === void 0)
16596
16596
  continue;
16597
16597
  const { key: V, val: X, val2: z, literal: Y } = U;
16598
16598
  if (Y) {
16599
16599
  if (Y.at(-1) === "=") {
16600
- const et = Y.length - 1, { ch: it } = tt(this, Ts, Dh).call(this, e, r, N, D, $ + et);
16600
+ const et = Y.length - 1, { ch: it } = tt(this, ws, Bh).call(this, e, r, N, D, $ + et);
16601
16601
  k[Y.slice(0, -1)] = {
16602
16602
  k_ln: r,
16603
16603
  k_ch: it - et,
@@ -16611,7 +16611,7 @@ class AnalyzeTagArg {
16611
16611
  }
16612
16612
  if (!V)
16613
16613
  continue;
16614
- const { ln: q, ch: W } = tt(this, Ts, Dh).call(this, e, r, N, D, $), { ln: K, ch: J } = tt(this, Ts, Dh).call(this, e, r, N, D, $ + H.lastIndexOf(X ?? z) - (X ? 0 : 1));
16614
+ const { ln: q, ch: W } = tt(this, ws, Bh).call(this, e, r, N, D, $), { ln: K, ch: J } = tt(this, ws, Bh).call(this, e, r, N, D, $ + H.lastIndexOf(X ?? z) - (X ? 0 : 1));
16615
16615
  k[V] = { k_ln: q, k_ch: W, v_ln: K, v_ch: J, v_len: X ? X.length : z.length + 2 };
16616
16616
  }
16617
16617
  return k;
@@ -16620,17 +16620,17 @@ class AnalyzeTagArg {
16620
16620
  return G(this, un);
16621
16621
  }
16622
16622
  get isKomeParam() {
16623
- return G(this, ws);
16623
+ return G(this, Ps);
16624
16624
  }
16625
16625
  }
16626
- Ha = new WeakMap(), Ts = new WeakSet(), Dh = function(t, e, r, N, k) {
16626
+ Va = new WeakMap(), ws = new WeakSet(), Bh = function(t, e, r, N, k) {
16627
16627
  const U = N.slice(0, k).split(`
16628
16628
  `), $ = U.length;
16629
16629
  return {
16630
16630
  ln: e + $ - 1,
16631
16631
  ch: $ < 2 ? r + 1 + t + k : U.at(-1).length
16632
16632
  };
16633
- }, un = new WeakMap(), ws = new WeakMap();
16633
+ }, un = new WeakMap(), Ps = new WeakMap();
16634
16634
  var parsimmon_umd_min = { exports: {} };
16635
16635
  (function(o, t) {
16636
16636
  (function(e, r) {
@@ -16850,15 +16850,15 @@ var parsimmon_umd_min = { exports: {} };
16850
16850
  return "Got the end of the input";
16851
16851
  if (ht(rt)) {
16852
16852
  var ke = ve - ve % It, nr = ve - ke, ri = Wt(ke, St, bt + It, rt.length), sr = H(function(Ie) {
16853
- return H(function(ds) {
16854
- return Bt(ds.toString(16), 2, "0");
16853
+ return H(function(ps) {
16854
+ return Bt(ps.toString(16), 2, "0");
16855
16855
  }, Ie);
16856
- }, function(Ie, ds) {
16857
- var ps = Ie.length, en = [], vs = 0;
16858
- if (ps <= ds)
16856
+ }, function(Ie, ps) {
16857
+ var vs = Ie.length, en = [], ms = 0;
16858
+ if (vs <= ps)
16859
16859
  return [Ie.slice()];
16860
- for (var ms = 0; ms < ps; ms++)
16861
- en[vs] || en.push([]), en[vs].push(Ie[ms]), (ms + 1) % ds == 0 && vs++;
16860
+ for (var _s = 0; _s < vs; _s++)
16861
+ en[ms] || en.push([]), en[ms].push(Ie[_s]), (_s + 1) % ps == 0 && ms++;
16862
16862
  return en;
16863
16863
  }(rt.slice(ri.from, ri.to).toJSON().data, It));
16864
16864
  Ct = function(Ie) {
@@ -16867,13 +16867,13 @@ var parsimmon_umd_min = { exports: {} };
16867
16867
  return Ie.length <= 4 ? Ie.join(" ") : Ie.slice(0, 4).join(" ") + " " + Ie.slice(4).join(" ");
16868
16868
  }, sr), (Ot = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Ot = 2);
16869
16869
  } else {
16870
- var fs = rt.split(/\r\n|[\n\r\u2028\u2029]/);
16871
- dt = zt.column - 1, _t = zt.line - 1, Ct = Wt(_t, Rt, jt, fs.length), wt = fs.slice(Ct.from, Ct.to), Ot = Ct.to.toString().length;
16870
+ var ds = rt.split(/\r\n|[\n\r\u2028\u2029]/);
16871
+ dt = zt.column - 1, _t = zt.line - 1, Ct = Wt(_t, Rt, jt, ds.length), wt = ds.slice(Ct.from, Ct.to), Ot = Ct.to.toString().length;
16872
16872
  }
16873
- var mp = _t - Ct.from;
16874
- return ht(rt) && (Ot = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Ot = 2), $(function(Ie, ds, ps) {
16875
- var en, vs = ps === mp, ms = vs ? "> " : Ut;
16876
- return en = ht(rt) ? Bt((8 * (Ct.from + ps)).toString(16), Ot, "0") : Bt((Ct.from + ps + 1).toString(), Ot, " "), [].concat(Ie, [ms + en + " | " + ds], vs ? [Ut + Gt(" ", Ot) + " | " + Bt("", dt, " ") + Gt("^", $e)] : []);
16873
+ var _p = _t - Ct.from;
16874
+ return ht(rt) && (Ot = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Ot = 2), $(function(Ie, ps, vs) {
16875
+ var en, ms = vs === _p, _s = ms ? "> " : Ut;
16876
+ return en = ht(rt) ? Bt((8 * (Ct.from + vs)).toString(16), Ot, "0") : Bt((Ct.from + vs + 1).toString(), Ot, " "), [].concat(Ie, [_s + en + " | " + ps], ms ? [Ut + Gt(" ", Ot) + " | " + Bt("", dt, " ") + Gt("^", $e)] : []);
16877
16877
  }, [], wt).join(`
16878
16878
  `);
16879
16879
  }
@@ -17154,10 +17154,10 @@ var parsimmon_umd_min = { exports: {} };
17154
17154
  return ot(rt.length, rt.slice(ct));
17155
17155
  }), be = k(function(rt, ct) {
17156
17156
  return ct < rt.length ? nt(ct, "EOF") : ot(ct, null);
17157
- }), le = Lt(/[0-9]/).desc("a digit"), te = Lt(/[0-9]*/).desc("optional digits"), ii = Lt(/[a-z]/i).desc("a letter"), fp = Lt(/[a-z]*/i).desc("optional letters"), dp = Lt(/\s*/).desc("optional whitespace"), pp = Lt(/\s+/).desc("whitespace"), uf = vt("\r"), cf = vt(`
17158
- `), ff = vt(`\r
17159
- `), df = Tt(ff, cf, uf).desc("newline"), vp = Tt(df, be);
17160
- k.all = Se, k.alt = Tt, k.any = Gi, k.cr = uf, k.createLanguage = function(rt) {
17157
+ }), le = Lt(/[0-9]/).desc("a digit"), te = Lt(/[0-9]*/).desc("optional digits"), ii = Lt(/[a-z]/i).desc("a letter"), dp = Lt(/[a-z]*/i).desc("optional letters"), pp = Lt(/\s*/).desc("optional whitespace"), vp = Lt(/\s+/).desc("whitespace"), cf = vt("\r"), ff = vt(`
17158
+ `), df = vt(`\r
17159
+ `), pf = Tt(df, ff, cf).desc("newline"), mp = Tt(pf, be);
17160
+ k.all = Se, k.alt = Tt, k.any = Gi, k.cr = cf, k.createLanguage = function(rt) {
17161
17161
  var ct = {};
17162
17162
  for (var dt in rt)
17163
17163
  ({}).hasOwnProperty.call(rt, dt) && function(_t) {
@@ -17166,9 +17166,9 @@ var parsimmon_umd_min = { exports: {} };
17166
17166
  });
17167
17167
  }(dt);
17168
17168
  return ct;
17169
- }, k.crlf = ff, k.custom = function(rt) {
17169
+ }, k.crlf = df, k.custom = function(rt) {
17170
17170
  return k(rt(ot, nt));
17171
- }, k.digit = le, k.digits = te, k.empty = pi, k.end = vp, k.eof = be, k.fail = mt, k.formatError = qt, k.index = qe, k.isParser = at, k.lazy = di, k.letter = ii, k.letters = fp, k.lf = cf, k.lookahead = Re, k.makeFailure = nt, k.makeSuccess = ot, k.newline = df, k.noneOf = function(rt) {
17171
+ }, k.digit = le, k.digits = te, k.empty = pi, k.end = mp, k.eof = be, k.fail = mt, k.formatError = qt, k.index = qe, k.isParser = at, k.lazy = di, k.letter = ii, k.letters = dp, k.lf = ff, k.lookahead = Re, k.makeFailure = nt, k.makeSuccess = ot, k.newline = pf, k.noneOf = function(rt) {
17172
17172
  return Me(function(ct) {
17173
17173
  return rt.indexOf(ct) < 0;
17174
17174
  }).desc("none of '" + rt + "'");
@@ -17178,7 +17178,7 @@ var parsimmon_umd_min = { exports: {} };
17178
17178
  return Me(function(_t) {
17179
17179
  return rt.indexOf(_t) >= 0;
17180
17180
  }).desc(ct);
17181
- }, k.optWhitespace = dp, k.Parser = k, k.range = function(rt, ct) {
17181
+ }, k.optWhitespace = pp, k.Parser = k, k.range = function(rt, ct) {
17182
17182
  return Me(function(dt) {
17183
17183
  return rt <= dt && dt <= ct;
17184
17184
  }).desc(rt + "-" + ct);
@@ -17200,8 +17200,8 @@ var parsimmon_umd_min = { exports: {} };
17200
17200
  throw new Error("seqObj expects at least one named parser, found zero");
17201
17201
  return k(function(ve, $e) {
17202
17202
  for (var ke, nr = {}, ri = 0; ri < wt; ri += 1) {
17203
- var sr, fs;
17204
- if (st(_t[ri]) ? (sr = _t[ri][0], fs = _t[ri][1]) : (sr = null, fs = _t[ri]), !(ke = lt(fs._(ve, $e), ke)).status)
17203
+ var sr, ds;
17204
+ if (st(_t[ri]) ? (sr = _t[ri][0], ds = _t[ri][1]) : (sr = null, ds = _t[ri]), !(ke = lt(ds._(ve, $e), ke)).status)
17205
17205
  return ke;
17206
17206
  sr && (nr[sr] = ke.value), $e = ke.index;
17207
17207
  }
@@ -17213,7 +17213,7 @@ var parsimmon_umd_min = { exports: {} };
17213
17213
  _t++;
17214
17214
  return ot(_t, ct.slice(dt, _t));
17215
17215
  });
17216
- }, k.test = Me, k.whitespace = pp, k["fantasy-land/empty"] = pi, k["fantasy-land/of"] = Yt, k.Binary = { bitSeq: Y, bitSeqObj: function(rt) {
17216
+ }, k.test = Me, k.whitespace = vp, k["fantasy-land/empty"] = pi, k["fantasy-land/of"] = Yt, k.Binary = { bitSeq: Y, bitSeqObj: function(rt) {
17217
17217
  z();
17218
17218
  var ct = {}, dt = 0, _t = H(function(Ct) {
17219
17219
  if (st(Ct)) {
@@ -17268,16 +17268,16 @@ var parsimmon_umd_min = { exports: {} };
17268
17268
  }]);
17269
17269
  });
17270
17270
  })(parsimmon_umd_min);
17271
- var parsimmon_umd_minExports = parsimmon_umd_min.exports, cn, $t, Ht, Pi, or, rn, Jh, Va, xc, Qh, tl, mf;
17272
- const hf = class {
17271
+ var parsimmon_umd_minExports = parsimmon_umd_min.exports, cn, $t, Ht, Pi, or, rn, Qh, za, Ec, tl, el, _f;
17272
+ const lf = class {
17273
17273
  constructor(t, e = "\\") {
17274
17274
  Z(this, $t);
17275
17275
  Z(this, or);
17276
- Z(this, Va);
17276
+ Z(this, za);
17277
17277
  Z(this, cn, null);
17278
17278
  Z(this, Pi, {
17279
17279
  "!num!": (t) => t.shift(),
17280
- "!str!": (t) => tt(this, Va, xc).call(this, t.shift()),
17280
+ "!str!": (t) => tt(this, za, Ec).call(this, t.shift()),
17281
17281
  "!bool!": (t) => t.shift(),
17282
17282
  PostfixInc: (t) => {
17283
17283
  throw Error("(PropParser)後置インクリメントは未サポートです");
@@ -17363,7 +17363,7 @@ const hf = class {
17363
17363
  throw Error("(PropParser)三項演算子の文法エラーです。? が見つかりません");
17364
17364
  }
17365
17365
  });
17366
- Z(this, Jh, /(\$((tmp|sys|save|mp):)?[^\s!--\/:-@[-^`{-~]+|\#\{[^\}]+})/g);
17366
+ Z(this, Qh, /(\$((tmp|sys|save|mp):)?[^\s!--\/:-@[-^`{-~]+|\#\{[^\}]+})/g);
17367
17367
  gt(this, "getValAmpersand", (t) => t.at(0) === "&" ? String(this.parse(t.slice(1))) : t);
17368
17368
  this.val = t;
17369
17369
  function r(et) {
@@ -17465,24 +17465,24 @@ const hf = class {
17465
17465
  if (!e.status)
17466
17466
  throw Error("(PropParser)文法エラー【" + t + "】");
17467
17467
  const r = e.value;
17468
- return r[0] === "!str!" ? tt(this, Va, xc).call(this, r[1]) : tt(this, $t, Ht).call(this, r);
17468
+ return r[0] === "!str!" ? tt(this, za, Ec).call(this, r[1]) : tt(this, $t, Ht).call(this, r);
17469
17469
  }
17470
17470
  // 522 match 18413 step(~10ms) https://regex101.com/r/tmCKuE/1
17471
17471
  // →これは改良しようがない。いい意味で改善の余地なし
17472
17472
  static getValName(t) {
17473
17473
  var U;
17474
- const e = G(this, Qh).exec(t.trim()), r = e == null ? void 0 : e.groups;
17474
+ const e = G(this, tl).exec(t.trim()), r = e == null ? void 0 : e.groups;
17475
17475
  if (!r)
17476
17476
  return null;
17477
17477
  const { scope: N = "tmp", name: k, at: D = "" } = r;
17478
17478
  return {
17479
17479
  scope: N,
17480
- name: tt(U = hf, tl, mf).call(U, k),
17480
+ name: tt(U = lf, el, _f).call(U, k),
17481
17481
  at: D
17482
17482
  };
17483
17483
  }
17484
17484
  };
17485
- let PropParser = hf;
17485
+ let PropParser = lf;
17486
17486
  cn = new WeakMap(), $t = new WeakSet(), Ht = function(t) {
17487
17487
  const e = t.shift();
17488
17488
  if (e instanceof Array)
@@ -17494,12 +17494,12 @@ cn = new WeakMap(), $t = new WeakSet(), Ht = function(t) {
17494
17494
  if (Object.prototype.toString.call(e) !== "[object Number]")
17495
17495
  throw Error("(PropParser)引数【" + e + "】が数値ではありません");
17496
17496
  return Number(e);
17497
- }, Jh = new WeakMap(), Va = new WeakSet(), xc = function(t) {
17497
+ }, Qh = new WeakMap(), za = new WeakSet(), Ec = function(t) {
17498
17498
  return t == null ? t : String(t).replaceAll(
17499
- G(this, Jh),
17499
+ G(this, Qh),
17500
17500
  (e) => e.at(0) === "$" ? this.val.getVal(e.slice(1)) : this.parse(e.slice(2, -1))
17501
17501
  );
17502
- }, Qh = new WeakMap(), tl = new WeakSet(), mf = function(t) {
17502
+ }, tl = new WeakMap(), el = new WeakSet(), _f = function(t) {
17503
17503
  let e = 0, r = 0;
17504
17504
  for (; ; ) {
17505
17505
  if (e = t.indexOf('["'), e < 0) {
@@ -17513,21 +17513,21 @@ cn = new WeakMap(), $t = new WeakSet(), Ht = function(t) {
17513
17513
  t = t.slice(0, e) + "." + t.slice(e + 2, r) + t.slice(r + 2), e = r - 2;
17514
17514
  }
17515
17515
  return t;
17516
- }, Z(PropParser, tl), Z(PropParser, Qh, /^((?<scope>\w+?):)?(?<name>[^\s :@]+)(?<at>\@str)?$/);
17517
- var Ci, fn, Ps, Oi, za, el, _f, il, gf, rl, yf, nl, bf;
17516
+ }, Z(PropParser, el), Z(PropParser, tl, /^((?<scope>\w+?):)?(?<name>[^\s :@]+)(?<at>\@str)?$/);
17517
+ var Ci, fn, Cs, Oi, Xa, il, gf, rl, yf, nl, bf, sl, xf;
17518
17518
  const he = class {
17519
17519
  constructor(t, e, r) {
17520
- Z(this, el);
17521
17520
  Z(this, il);
17521
+ Z(this, rl);
17522
17522
  // ログ出力
17523
- Z(this, za, !0);
17524
- this.sys = t, Q(he, Ci, r), Q(he, fn, e), Q(he, Ps, e.title), he.myTrace = tt(he, rl, yf), e.log = (N) => tt(this, el, _f).call(this, N), e.trace = (N) => tt(this, il, gf).call(this, N), Q(he, Oi, document.createElement("span")), G(he, Oi).hidden = !0, G(he, Oi).textContent = "", G(he, Oi).style.cssText = ` z-index: ${Number.MAX_SAFE_INTEGER};
17523
+ Z(this, Xa, !0);
17524
+ this.sys = t, Q(he, Ci, r), Q(he, fn, e), Q(he, Cs, e.title), he.myTrace = tt(he, nl, bf), e.log = (N) => tt(this, il, gf).call(this, N), e.trace = (N) => tt(this, rl, yf).call(this, N), Q(he, Oi, document.createElement("span")), G(he, Oi).hidden = !0, G(he, Oi).textContent = "", G(he, Oi).style.cssText = ` z-index: ${Number.MAX_SAFE_INTEGER};
17525
17525
  position: absolute; left: 0; top: 0;
17526
17526
  color: black;
17527
17527
  background-color: rgba(255, 255, 255, 0.7);`, document.body.appendChild(G(he, Oi));
17528
17528
  }
17529
17529
  destroy() {
17530
- Q(he, Ps, () => !1), document.body.removeChild(G(he, Oi)), he.myTrace = he.trace_beforeNew;
17530
+ Q(he, Cs, () => !1), document.body.removeChild(G(he, Oi)), he.myTrace = he.trace_beforeNew;
17531
17531
  }
17532
17532
  // private禁止、galleryでエラーになる
17533
17533
  static trace_beforeNew(t, e = "E") {
@@ -17554,9 +17554,9 @@ const he = class {
17554
17554
  }
17555
17555
  };
17556
17556
  let DebugMng = he;
17557
- Ci = new WeakMap(), fn = new WeakMap(), Ps = new WeakMap(), Oi = new WeakMap(), za = new WeakMap(), el = new WeakSet(), _f = function(t) {
17557
+ Ci = new WeakMap(), fn = new WeakMap(), Cs = new WeakMap(), Oi = new WeakMap(), Xa = new WeakMap(), il = new WeakSet(), gf = function(t) {
17558
17558
  let e = "";
17559
- return G(this, za) && (Q(this, za, !1), e = `== ${platform.description} ==
17559
+ return G(this, Xa) && (Q(this, Xa, !1), e = `== ${platform.description} ==
17560
17560
  `), this.sys.appendFile(
17561
17561
  this.sys.path_downloads + "log.txt",
17562
17562
  `${e}--- ${getDateStr("-", "_", "")} [fn:${G(he, Ci).scriptFn} line:${G(he, Ci).lineNum}] prj:${this.sys.cur}
@@ -17566,12 +17566,12 @@ ${t.text || `(text is ${t.text})`}
17566
17566
  r && console.log(r);
17567
17567
  }
17568
17568
  ), !1;
17569
- }, il = new WeakSet(), gf = function(t) {
17569
+ }, rl = new WeakSet(), yf = function(t) {
17570
17570
  return he.myTrace(t.text || `(text is ${t.text})`, "I"), !1;
17571
- }, rl = new WeakSet(), yf = function(t, e = "E") {
17571
+ }, nl = new WeakSet(), bf = function(t, e = "E") {
17572
17572
  var k, D;
17573
17573
  let r = `{${e}} ` + he.strPos() + t;
17574
- tt(k = he, nl, bf).call(k, r, e);
17574
+ tt(k = he, sl, xf).call(k, r, e);
17575
17575
  let N = "";
17576
17576
  switch (e) {
17577
17577
  case "D":
@@ -17585,7 +17585,7 @@ ${t.text || `(text is ${t.text})`}
17585
17585
  break;
17586
17586
  case "ET":
17587
17587
  case "E":
17588
- if (G(D = he, Ps).call(D, { text: t }), G(this, fn).dump_lay({}), G(this, fn).dump_val({}), G(he, Ci).dumpErrForeLine(), G(this, fn).dump_stack({}), e === "ET")
17588
+ if (G(D = he, Cs).call(D, { text: t }), G(this, fn).dump_lay({}), G(this, fn).dump_val({}), G(he, Ci).dumpErrForeLine(), G(this, fn).dump_stack({}), e === "ET")
17589
17589
  throw r;
17590
17590
  console.error("%c" + r, "color:#F30;");
17591
17591
  return;
@@ -17593,7 +17593,7 @@ ${t.text || `(text is ${t.text})`}
17593
17593
  N = "", r = " " + r;
17594
17594
  }
17595
17595
  console.info("%c" + r, N);
17596
- }, nl = new WeakSet(), bf = function(t, e) {
17596
+ }, sl = new WeakSet(), xf = function(t, e) {
17597
17597
  let r = "";
17598
17598
  switch (e) {
17599
17599
  case "D":
@@ -17613,7 +17613,7 @@ ${t.text || `(text is ${t.text})`}
17613
17613
  r = "";
17614
17614
  }
17615
17615
  G(he, Oi).innerHTML += `<span style='${r}'>${t}</span><br/>`, G(he, Oi).hidden = !1;
17616
- }, Z(DebugMng, rl), Z(DebugMng, nl), Z(DebugMng, Ci, void 0), Z(DebugMng, fn, void 0), Z(DebugMng, Ps, void 0), Z(DebugMng, Oi, void 0), gt(DebugMng, "myTrace", he.trace_beforeNew), gt(DebugMng, "strPos", () => G(he, Ci) && G(he, Ci).lineNum > 0 ? `(fn:${G(he, Ci).scriptFn} line:${G(he, Ci).lineNum}) ` : "");
17616
+ }, Z(DebugMng, nl), Z(DebugMng, sl), Z(DebugMng, Ci, void 0), Z(DebugMng, fn, void 0), Z(DebugMng, Cs, void 0), Z(DebugMng, Oi, void 0), gt(DebugMng, "myTrace", he.trace_beforeNew), gt(DebugMng, "strPos", () => G(he, Ci) && G(he, Ci).lineNum > 0 ? `(fn:${G(he, Ci).scriptFn} line:${G(he, Ci).lineNum}) ` : "");
17617
17617
  class Areas {
17618
17618
  constructor() {
17619
17619
  gt(this, "hAreas", /* @__PURE__ */ Object.create(null));
@@ -17666,48 +17666,48 @@ class Areas {
17666
17666
  return t.slice(1);
17667
17667
  }
17668
17668
  }
17669
- var Ae, vi, me, hr, Pe, ai, ji, Xa, sl, Ya, Ec, Wa, qa, al, xf, ol, Ef, mi, $i, hl, Sf, ll, Tf, ul, wf, cl, Pf, fl, Cf, dl, Of, pl, Rf, vl, Mf, Cs, Bh, Ka, Sc, Za, dn, Ja, Tc, ml, _l, Os, Qa, Rs, Fh, gl, If, yl, Af, to, wc, eo, Pc, bl, Nf, xl, Lf, Ms, Uh;
17670
- const xs = class {
17669
+ var Ae, vi, me, hr, Pe, ai, ji, Ya, al, Wa, Sc, qa, Ka, ol, Ef, hl, Sf, mi, $i, ll, Tf, ul, wf, cl, Pf, fl, Cf, dl, Of, pl, Rf, vl, Mf, ml, If, Os, Fh, Za, Tc, Ja, dn, Qa, wc, _l, gl, Rs, to, Ms, Uh, yl, Af, bl, Nf, eo, Pc, io, Cc, xl, Lf, El, kf, Is, Gh;
17670
+ const Es = class {
17671
17671
  constructor(t, e) {
17672
- Z(this, Ya);
17672
+ Z(this, Wa);
17673
17673
  // // しおり
17674
17674
  // しおりの複写
17675
- Z(this, al);
17676
- // しおりの消去
17677
17675
  Z(this, ol);
17676
+ // しおりの消去
17677
+ Z(this, hl);
17678
17678
  // // 変数操作
17679
17679
  // 変数代入・演算
17680
17680
  Z(this, mi);
17681
17681
  // 絶対値
17682
- Z(this, hl);
17683
- // 文字列から一字取りだし
17684
17682
  Z(this, ll);
17685
- // 文字列で検索
17683
+ // 文字列から一字取りだし
17686
17684
  Z(this, ul);
17687
- // 文字列の長さ
17685
+ // 文字列で検索
17688
17686
  Z(this, cl);
17689
- // 正規表現で置換
17687
+ // 文字列の長さ
17690
17688
  Z(this, fl);
17691
- // 四捨五入
17689
+ // 正規表現で置換
17692
17690
  Z(this, dl);
17693
- // 正規表現で検索
17691
+ // 四捨五入
17694
17692
  Z(this, pl);
17695
- // 文字列から抜きだし
17693
+ // 正規表現で検索
17696
17694
  Z(this, vl);
17695
+ // 文字列から抜きだし
17696
+ Z(this, ml);
17697
17697
  // // デバッグ・その他
17698
17698
  // システム変数の全消去
17699
- Z(this, Cs);
17699
+ Z(this, Os);
17700
17700
  // ゲーム変数の全消去
17701
- Z(this, Ka);
17702
- Z(this, Ja);
17703
- Z(this, Rs);
17704
- Z(this, gl);
17701
+ Z(this, Za);
17702
+ Z(this, Qa);
17703
+ Z(this, Ms);
17705
17704
  Z(this, yl);
17706
- Z(this, to);
17707
- Z(this, eo);
17708
17705
  Z(this, bl);
17706
+ Z(this, eo);
17707
+ Z(this, io);
17709
17708
  Z(this, xl);
17710
- Z(this, Ms);
17709
+ Z(this, El);
17710
+ Z(this, Is);
17711
17711
  Z(this, Ae, { sys: {}, save: {}, tmp: {}, mp: {} });
17712
17712
  Z(this, vi, G(this, Ae).save);
17713
17713
  Z(this, me, G(this, Ae).tmp);
@@ -17715,28 +17715,28 @@ const xs = class {
17715
17715
  Z(this, Pe, { sys: {}, mark: {}, kidoku: {} });
17716
17716
  Z(this, ai, void 0);
17717
17717
  Z(this, ji, {});
17718
- Z(this, Xa, void 0);
17719
- Z(this, sl, {
17720
- auth: (t, e) => tt(this, Ya, Ec).call(this, e.hBreakpoint.aData),
17718
+ Z(this, Ya, void 0);
17719
+ Z(this, al, {
17720
+ auth: (t, e) => tt(this, Wa, Sc).call(this, e.hBreakpoint.aData),
17721
17721
  var: (t, e) => G(this, hr).send2Dbg(e.ri, { v: G(this, Ae)[e.scope] ?? {} }),
17722
17722
  set_var: (t, e) => {
17723
17723
  try {
17724
- G(this, Za).call(this, e.nm, e.val), G(this, hr).send2Dbg(e.ri, {});
17724
+ G(this, Ja).call(this, e.nm, e.val), G(this, hr).send2Dbg(e.ri, {});
17725
17725
  } catch {
17726
17726
  }
17727
17727
  },
17728
17728
  set_data_break: (t, e) => {
17729
- tt(this, Ya, Ec).call(this, e.a), G(this, hr).send2Dbg(e.ri, {});
17729
+ tt(this, Wa, Sc).call(this, e.a), G(this, hr).send2Dbg(e.ri, {});
17730
17730
  },
17731
- disconnect: (t) => Q(xs, dn, {})
17731
+ disconnect: (t) => Q(Es, dn, {})
17732
17732
  });
17733
- Z(this, Wa, () => {
17733
+ Z(this, qa, () => {
17734
17734
  });
17735
- Z(this, qa, (t) => {
17735
+ Z(this, Ka, (t) => {
17736
17736
  });
17737
17737
  gt(this, "getMark", (t) => G(this, Pe).mark[t]);
17738
17738
  gt(this, "getAreaKidoku", (t) => G(this, ji)[t]);
17739
- Z(this, Za, (t, e, r = !0) => {
17739
+ Z(this, Ja, (t, e, r = !0) => {
17740
17740
  if (!t)
17741
17741
  throw "[変数に値セット] nameは必須です";
17742
17742
  if (e == null)
@@ -17793,11 +17793,11 @@ const xs = class {
17793
17793
  break;
17794
17794
  }
17795
17795
  }
17796
- return D instanceof Function && (D = D()), r.at === "@str" ? D : tt(this, Ja, Tc).call(this, D);
17796
+ return D instanceof Function && (D = D()), r.at === "@str" ? D : tt(this, Qa, wc).call(this, D);
17797
17797
  });
17798
- Z(this, ml, /^-?[\d\.]+$/);
17798
+ Z(this, _l, /^-?[\d\.]+$/);
17799
17799
  // 変数のダンプ
17800
- Z(this, _l, () => {
17800
+ Z(this, gl, () => {
17801
17801
  const t = { tmp: {}, sys: {}, save: {}, mp: {} };
17802
17802
  for (let e in t) {
17803
17803
  const r = G(this, Ae)[e], N = t[e];
@@ -17806,21 +17806,21 @@ const xs = class {
17806
17806
  }
17807
17807
  return console.info("🥟 [dump_val]", t), !1;
17808
17808
  });
17809
- Z(this, Os, !1);
17810
- Z(this, Qa, {
17809
+ Z(this, Rs, !1);
17810
+ Z(this, to, {
17811
17811
  // sys
17812
- "sys:sn.tagCh.doWait": (t) => tt(this, Rs, Fh).call(this, t),
17813
- "sys:sn.tagCh.doWait_Kidoku": (t) => tt(this, Rs, Fh).call(this, t),
17814
- "sys:sn.tagCh.msecWait": (t) => tt(this, gl, If).call(this, t),
17815
- "sys:sn.tagCh.msecWait_Kidoku": (t) => tt(this, yl, Af).call(this, t),
17816
- "sys:sn.tagCh.canskip": (t) => tt(this, Rs, Fh).call(this, t),
17817
- "sys:sn.auto.msecPageWait": (t) => tt(this, to, wc).call(this, t),
17818
- "sys:sn.auto.msecPageWait_Kidoku": (t) => tt(this, to, wc).call(this, t),
17819
- "sys:sn.auto.msecLineWait": (t) => tt(this, eo, Pc).call(this, t),
17820
- "sys:sn.auto.msecLineWait_Kidoku": (t) => tt(this, eo, Pc).call(this, t),
17812
+ "sys:sn.tagCh.doWait": (t) => tt(this, Ms, Uh).call(this, t),
17813
+ "sys:sn.tagCh.doWait_Kidoku": (t) => tt(this, Ms, Uh).call(this, t),
17814
+ "sys:sn.tagCh.msecWait": (t) => tt(this, yl, Af).call(this, t),
17815
+ "sys:sn.tagCh.msecWait_Kidoku": (t) => tt(this, bl, Nf).call(this, t),
17816
+ "sys:sn.tagCh.canskip": (t) => tt(this, Ms, Uh).call(this, t),
17817
+ "sys:sn.auto.msecPageWait": (t) => tt(this, eo, Pc).call(this, t),
17818
+ "sys:sn.auto.msecPageWait_Kidoku": (t) => tt(this, eo, Pc).call(this, t),
17819
+ "sys:sn.auto.msecLineWait": (t) => tt(this, io, Cc).call(this, t),
17820
+ "sys:sn.auto.msecLineWait_Kidoku": (t) => tt(this, io, Cc).call(this, t),
17821
17821
  // save
17822
17822
  "save:sn.doRecLog": (t) => {
17823
- G(this, qa).call(this, Q(this, Os, tt(this, bl, Nf).call(this, t)));
17823
+ G(this, Ka).call(this, Q(this, Rs, tt(this, xl, Lf).call(this, t)));
17824
17824
  },
17825
17825
  "save:sn.userFnTail": (t, e) => {
17826
17826
  if (e.includes("@"))
@@ -17828,21 +17828,21 @@ const xs = class {
17828
17828
  this.cfg.userFnTail = e;
17829
17829
  },
17830
17830
  // tmp
17831
- "tmp:sn.tagL.enabled": (t) => tt(this, xl, Lf).call(this, t),
17832
- "tmp:sn.skip.all": (t) => tt(this, Ms, Uh).call(this, t),
17833
- "tmp:sn.skip.enabled": (t) => tt(this, Ms, Uh).call(this, t),
17834
- "tmp:sn.auto.enabled": (t) => tt(this, Ms, Uh).call(this, t),
17831
+ "tmp:sn.tagL.enabled": (t) => tt(this, El, kf).call(this, t),
17832
+ "tmp:sn.skip.all": (t) => tt(this, Is, Gh).call(this, t),
17833
+ "tmp:sn.skip.enabled": (t) => tt(this, Is, Gh).call(this, t),
17834
+ "tmp:sn.auto.enabled": (t) => tt(this, Is, Gh).call(this, t),
17835
17835
  "tmp:flash.desktop.NativeApplication.nativeApplication.systemIdleMode": () => {
17836
17836
  }
17837
17837
  });
17838
- if (this.cfg = t, e.let = (k) => tt(this, mi, $i).call(this, k), e.let_abs = (k) => tt(this, hl, Sf).call(this, k), e.let_char_at = (k) => tt(this, ll, Tf).call(this, k), e.let_index_of = (k) => tt(this, ul, wf).call(this, k), e.let_length = (k) => tt(this, cl, Pf).call(this, k), e.let_replace = (k) => tt(this, fl, Cf).call(this, k), e.let_round = (k) => tt(this, dl, Of).call(this, k), e.let_search = (k) => tt(this, pl, Rf).call(this, k), e.let_substr = (k) => tt(this, vl, Mf).call(this, k), e.clearsysvar = () => tt(this, Cs, Bh).call(this), e.clearvar = () => tt(this, Ka, Sc).call(this), e.dump_val = () => G(this, _l).call(this), e.copybookmark = (k) => tt(this, al, xf).call(this, k), e.erasebookmark = (k) => tt(this, ol, Ef).call(this, k), G(this, vi)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
17838
+ if (this.cfg = t, e.let = (k) => tt(this, mi, $i).call(this, k), e.let_abs = (k) => tt(this, ll, Tf).call(this, k), e.let_char_at = (k) => tt(this, ul, wf).call(this, k), e.let_index_of = (k) => tt(this, cl, Pf).call(this, k), e.let_length = (k) => tt(this, fl, Cf).call(this, k), e.let_replace = (k) => tt(this, dl, Of).call(this, k), e.let_round = (k) => tt(this, pl, Rf).call(this, k), e.let_search = (k) => tt(this, vl, Mf).call(this, k), e.let_substr = (k) => tt(this, ml, If).call(this, k), e.clearsysvar = () => tt(this, Os, Fh).call(this), e.clearvar = () => tt(this, Za, Tc).call(this), e.dump_val = () => G(this, gl).call(this), e.copybookmark = (k) => tt(this, ol, Ef).call(this, k), e.erasebookmark = (k) => tt(this, hl, Sf).call(this, k), G(this, vi)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
17839
17839
  const k = [];
17840
17840
  for (const D of Object.keys(G(this, Pe).mark).sort()) {
17841
17841
  const U = { ...G(this, Pe).mark[D].json };
17842
17842
  U.place = D, k.push(U);
17843
17843
  }
17844
17844
  return JSON.stringify(k);
17845
- }), G(this, me)["const.sn.isFirstBoot"] = !0, G(this, me)["sn.tagL.enabled"] = !0, G(this, me)["sn.skip.all"] = !1, G(this, me)["sn.skip.enabled"] = !1, G(this, me)["sn.auto.enabled"] = !1, G(this, me)["const.sn.last_page_text"] = "", G(this, me)["const.sn.last_page_plain_text"] = "", G(this, me)["const.sn.displayState"] = !1, G(this, me)["const.Date.getTime"] = () => (/* @__PURE__ */ new Date()).getTime(), G(this, me)["const.Date.getDateStr"] = () => getDateStr(), G(this, me)["const.sn.platform"] = JSON.stringify(platform), tt(this, Cs, Bh).call(this), tt(this, Ka, Sc).call(this), G(this, me)["const.sn.config.window.width"] = t.oCfg.window.width, G(this, me)["const.sn.config.window.height"] = t.oCfg.window.height, G(this, me)["const.sn.config.book.title"] = t.oCfg.book.title, G(this, me)["const.sn.config.book.version"] = t.oCfg.book.version, G(this, me)["const.sn.Math.PI"] = Math.PI, typeof window > "u")
17845
+ }), G(this, me)["const.sn.isFirstBoot"] = !0, G(this, me)["sn.tagL.enabled"] = !0, G(this, me)["sn.skip.all"] = !1, G(this, me)["sn.skip.enabled"] = !1, G(this, me)["sn.auto.enabled"] = !1, G(this, me)["const.sn.last_page_text"] = "", G(this, me)["const.sn.last_page_plain_text"] = "", G(this, me)["const.sn.displayState"] = !1, G(this, me)["const.Date.getTime"] = () => (/* @__PURE__ */ new Date()).getTime(), G(this, me)["const.Date.getDateStr"] = () => getDateStr(), G(this, me)["const.sn.platform"] = JSON.stringify(platform), tt(this, Os, Fh).call(this), tt(this, Za, Tc).call(this), G(this, me)["const.sn.config.window.width"] = t.oCfg.window.width, G(this, me)["const.sn.config.window.height"] = t.oCfg.window.height, G(this, me)["const.sn.config.book.title"] = t.oCfg.book.title, G(this, me)["const.sn.config.book.version"] = t.oCfg.book.version, G(this, me)["const.sn.Math.PI"] = Math.PI, typeof window > "u")
17846
17846
  return;
17847
17847
  const r = window, N = r.AudioContext ?? r.webkitAudioContext;
17848
17848
  G(this, me)["const.sn.needClick2Play"] = () => new N().state === "suspended";
@@ -17851,7 +17851,7 @@ const xs = class {
17851
17851
  Q(this, hr, t), t.initVal(G(this, Pe), G(this, me), (e) => {
17852
17852
  this.updateData(e), sessionStorage.clear();
17853
17853
  const r = this.cfg.getNs();
17854
- Q(this, Wa, this.cfg.oCfg.debug.variable ? () => {
17854
+ Q(this, qa, this.cfg.oCfg.debug.variable ? () => {
17855
17855
  const k = {};
17856
17856
  for (const [X, z] of Object.entries(G(this, ai)))
17857
17857
  k["sys:" + X] = z instanceof Function ? z() : z;
@@ -17876,12 +17876,12 @@ const xs = class {
17876
17876
  for (const [X, z] of Object.entries(G(this, Pe).kidoku))
17877
17877
  V[X] = z instanceof Function ? z() : z;
17878
17878
  sessionStorage[r + "kidoku"] = JSON.stringify(V), t.flush();
17879
- } : () => t.flush()), Q(this, Xa, (k, D) => t.callHook(k, D)), t.addHook((k, D) => {
17879
+ } : () => t.flush()), Q(this, Ya, (k, D) => t.callHook(k, D)), t.addHook((k, D) => {
17880
17880
  var U, $;
17881
- return ($ = (U = G(this, sl))[k]) == null ? void 0 : $.call(U, k, D);
17881
+ return ($ = (U = G(this, al))[k]) == null ? void 0 : $.call(U, k, D);
17882
17882
  });
17883
17883
  const N = this.getVal("sys:sn.tagCh.msecWait", -1);
17884
- (G(this, me)["const.sn.isFirstBoot"] || N === -1) && tt(this, Cs, Bh).call(this);
17884
+ (G(this, me)["const.sn.isFirstBoot"] || N === -1) && tt(this, Os, Fh).call(this);
17885
17885
  });
17886
17886
  }
17887
17887
  updateData(t) {
@@ -17892,11 +17892,11 @@ const xs = class {
17892
17892
  }
17893
17893
  }
17894
17894
  flush() {
17895
- G(this, Wa).call(this);
17895
+ G(this, qa).call(this);
17896
17896
  }
17897
17897
  // 先にこのメソッドへの参照を配ってしまうので、中身を入れ替える
17898
17898
  setDoRecProc(t) {
17899
- Q(this, qa, t);
17899
+ Q(this, Ka, t);
17900
17900
  }
17901
17901
  defTmp(t, e) {
17902
17902
  G(this, me)[t] = e;
@@ -17914,7 +17914,7 @@ const xs = class {
17914
17914
  return { ...G(this, Ae).save };
17915
17915
  }
17916
17916
  mark2save(t) {
17917
- Q(this, vi, G(this, Ae).save = { ...t.hSave }), Q(this, Os, G(this, vi)["sn.doRecLog"] ?? !1);
17917
+ Q(this, vi, G(this, Ae).save = { ...t.hSave }), Q(this, Rs, G(this, vi)["sn.doRecLog"] ?? !1);
17918
17918
  }
17919
17919
  // 既読系
17920
17920
  loadScrWork(t) {
@@ -17928,31 +17928,31 @@ const xs = class {
17928
17928
  setVal_Nochk(t, e, r, N = !1) {
17929
17929
  var U, $;
17930
17930
  const k = G(this, Ae)[t];
17931
- N && (r = tt(this, Ja, Tc).call(this, r));
17931
+ N && (r = tt(this, Qa, wc).call(this, r));
17932
17932
  const D = t + ":" + e;
17933
- if (D in G(xs, dn)) {
17933
+ if (D in G(Es, dn)) {
17934
17934
  const H = k[e], V = r;
17935
- H != V && G(this, Xa).call(this, "data_break", {
17935
+ H != V && G(this, Ya).call(this, "data_break", {
17936
17936
  dataId: D,
17937
17937
  old_v: H,
17938
17938
  new_v: V
17939
17939
  });
17940
17940
  }
17941
- k[e] = r, ($ = (U = G(this, Qa))[D]) == null || $.call(U, e, r);
17941
+ k[e] = r, ($ = (U = G(this, to))[D]) == null || $.call(U, e, r);
17942
17942
  }
17943
17943
  doRecLog() {
17944
- return G(this, Os);
17944
+ return G(this, Rs);
17945
17945
  }
17946
17946
  defValTrg(t, e) {
17947
- G(this, Qa)[t] = e;
17947
+ G(this, to)[t] = e;
17948
17948
  }
17949
17949
  };
17950
- let Variable = xs;
17951
- Ae = new WeakMap(), vi = new WeakMap(), me = new WeakMap(), hr = new WeakMap(), Pe = new WeakMap(), ai = new WeakMap(), ji = new WeakMap(), Xa = new WeakMap(), sl = new WeakMap(), Ya = new WeakSet(), Ec = function(t) {
17952
- Q(xs, dn, {});
17950
+ let Variable = Es;
17951
+ Ae = new WeakMap(), vi = new WeakMap(), me = new WeakMap(), hr = new WeakMap(), Pe = new WeakMap(), ai = new WeakMap(), ji = new WeakMap(), Ya = new WeakMap(), al = new WeakMap(), Wa = new WeakSet(), Sc = function(t) {
17952
+ Q(Es, dn, {});
17953
17953
  for (const e of t)
17954
- G(xs, dn)[e.dataId] = 1;
17955
- }, Wa = new WeakMap(), qa = new WeakMap(), al = new WeakSet(), xf = function(t) {
17954
+ G(Es, dn)[e.dataId] = 1;
17955
+ }, qa = new WeakMap(), Ka = new WeakMap(), ol = new WeakSet(), Ef = function(t) {
17956
17956
  if (!("from" in t))
17957
17957
  throw "fromは必須です";
17958
17958
  if (!("to" in t))
@@ -17963,7 +17963,7 @@ Ae = new WeakMap(), vi = new WeakMap(), me = new WeakMap(), hr = new WeakMap(),
17963
17963
  if (!(e in G(this, Pe).mark))
17964
17964
  throw `from:${e} のセーブデータは存在しません`;
17965
17965
  return this.setMark(r, { ...G(this, Pe).mark[e] }), G(this, hr).copyBMFolder(e, r), !1;
17966
- }, ol = new WeakSet(), Ef = function(t) {
17966
+ }, hl = new WeakSet(), Sf = function(t) {
17967
17967
  const { place: e } = t;
17968
17968
  if (!e)
17969
17969
  throw "placeは必須です";
@@ -17992,46 +17992,46 @@ Ae = new WeakMap(), vi = new WeakMap(), me = new WeakMap(), hr = new WeakMap(),
17992
17992
  default:
17993
17993
  throw "cast【" + t.cast + "】は未定義です";
17994
17994
  }
17995
- return G(this, Za).call(this, t.name, t.text, e), !1;
17996
- }, hl = new WeakSet(), Sf = function(t) {
17995
+ return G(this, Ja).call(this, t.name, t.text, e), !1;
17996
+ }, ll = new WeakSet(), Tf = function(t) {
17997
17997
  const e = argChk_Num(t, "text", 0);
17998
17998
  return t.text = String(e < 0 ? -e : e), tt(this, mi, $i).call(this, t), !1;
17999
- }, ll = new WeakSet(), Tf = function(t) {
18000
- return t.text = (t.text ?? "").charAt(argChk_Num(t, "pos", 0)), tt(this, mi, $i).call(this, t), !1;
18001
17999
  }, ul = new WeakSet(), wf = function(t) {
18000
+ return t.text = (t.text ?? "").charAt(argChk_Num(t, "pos", 0)), tt(this, mi, $i).call(this, t), !1;
18001
+ }, cl = new WeakSet(), Pf = function(t) {
18002
18002
  const { val: e } = t;
18003
18003
  if (!e)
18004
18004
  throw "valは必須です";
18005
18005
  const r = argChk_Num(t, "start", 0);
18006
18006
  return t.text = String((t.text ?? "").indexOf(e, r)), tt(this, mi, $i).call(this, t), !1;
18007
- }, cl = new WeakSet(), Pf = function(t) {
18008
- return t.text = String((t.text ?? "").length), tt(this, mi, $i).call(this, t), !1;
18009
18007
  }, fl = new WeakSet(), Cf = function(t) {
18008
+ return t.text = String((t.text ?? "").length), tt(this, mi, $i).call(this, t), !1;
18009
+ }, dl = new WeakSet(), Of = function(t) {
18010
18010
  if (!t.reg)
18011
18011
  throw "regは必須です";
18012
18012
  const { flags: e } = t, r = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
18013
18013
  return t.text = String(t.text ?? "").replace(r, String(t.val)), tt(this, mi, $i).call(this, t), !1;
18014
- }, dl = new WeakSet(), Of = function(t) {
18014
+ }, pl = new WeakSet(), Rf = function(t) {
18015
18015
  const e = argChk_Num(t, "text", 0);
18016
18016
  return t.text = String(Math.round(e)), tt(this, mi, $i).call(this, t), !1;
18017
- }, pl = new WeakSet(), Rf = function(t) {
18017
+ }, vl = new WeakSet(), Mf = function(t) {
18018
18018
  if (!t.reg)
18019
18019
  throw "regは必須です";
18020
18020
  const { flags: e } = t, r = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
18021
18021
  return t.text = String((t.text ?? "").search(r)), tt(this, mi, $i).call(this, t), !1;
18022
- }, vl = new WeakSet(), Mf = function(t) {
18022
+ }, ml = new WeakSet(), If = function(t) {
18023
18023
  const e = argChk_Num(t, "pos", 0);
18024
18024
  return t.text = t.len !== "all" ? (t.text ?? "").slice(e, e + int(argChk_Num(t, "len", 1))) : (t.text ?? "").slice(e), tt(this, mi, $i).call(this, t), !1;
18025
- }, Cs = new WeakSet(), Bh = function() {
18025
+ }, Os = new WeakSet(), Fh = function() {
18026
18026
  const t = Q(this, ai, G(this, Ae).sys = G(this, Pe).sys = {});
18027
18027
  typeof process < "u" || (this.setVal_Nochk("sys", "const.sn.window.x", 0), this.setVal_Nochk("sys", "const.sn.window.y", 0)), this.setVal_Nochk("sys", "sn.tagCh.doWait", !0), this.setVal_Nochk("sys", "sn.tagCh.doWait_Kidoku", !0), this.setVal_Nochk("sys", "sn.tagCh.msecWait", this.cfg.oCfg.init.tagch_msecwait), this.setVal_Nochk("sys", "sn.tagCh.msecWait_Kidoku", this.cfg.oCfg.init.tagch_msecwait), this.setVal_Nochk("sys", "sn.tagCh.canskip", !0), this.setVal_Nochk("sys", "sn.skip.mode", "s"), this.setVal_Nochk("sys", "sn.auto.msecPageWait", argChk_Num(t, "sn.auto.msecPageWait", this.cfg.oCfg.init.auto_msecpagewait ?? 3500)), this.setVal_Nochk("sys", "sn.auto.msecPageWait_Kidoku", argChk_Num(t, "sn.auto.msecPageWait", this.cfg.oCfg.init.auto_msecpagewait ?? 3500)), this.setVal_Nochk("sys", "sn.auto.msecLineWait", 500), this.setVal_Nochk("sys", "sn.auto.msecLineWait_Kidoku", 500), this.setVal_Nochk("sys", "const.sn.sound.BGM.volume", 1), this.setVal_Nochk("sys", "const.sn.sound.SE.volume", 1), this.setVal_Nochk("sys", "const.sn.sound.SYS.volume", 1);
18028
18028
  for (const [r, N] of Object.entries(G(this, Pe).kidoku))
18029
18029
  N.hAreas = {}, G(this, ji)[r].clear();
18030
18030
  return this.setVal_Nochk("sys", "TextLayer.Back.Alpha", 0.5), G(this, Ae).mark = G(this, Pe).mark = {}, this.setVal_Nochk("sys", "const.sn.save.place", 1), this.flush(), !1;
18031
- }, Ka = new WeakSet(), Sc = function() {
18031
+ }, Za = new WeakSet(), Tc = function() {
18032
18032
  const t = G(this, vi)["const.sn.mesLayer"] ?? "", e = G(this, vi)["sn.doRecLog"] ?? !1, r = G(this, vi)["const.sn.sLog"] ?? "[]";
18033
18033
  return Q(this, vi, G(this, Ae).save = {}), this.setVal_Nochk("save", "const.sn.mesLayer", t), this.setVal_Nochk("save", "sn.doRecLog", e), this.setVal_Nochk("save", "const.sn.sLog", r), !1;
18034
- }, Za = new WeakMap(), dn = new WeakMap(), Ja = new WeakSet(), Tc = function(t) {
18034
+ }, Ja = new WeakMap(), dn = new WeakMap(), Qa = new WeakSet(), wc = function(t) {
18035
18035
  const e = t;
18036
18036
  if (e === "true")
18037
18037
  return !0;
@@ -18040,30 +18040,30 @@ Ae = new WeakMap(), vi = new WeakMap(), me = new WeakMap(), hr = new WeakMap(),
18040
18040
  if (e === "null")
18041
18041
  return null;
18042
18042
  if (e !== "undefined")
18043
- return G(this, ml).test(e) ? parseFloat(e) : t;
18044
- }, ml = new WeakMap(), _l = new WeakMap(), Os = new WeakMap(), Qa = new WeakMap(), Rs = new WeakSet(), Fh = function(t) {
18043
+ return G(this, _l).test(e) ? parseFloat(e) : t;
18044
+ }, _l = new WeakMap(), gl = new WeakMap(), Rs = new WeakMap(), to = new WeakMap(), Ms = new WeakSet(), Uh = function(t) {
18045
18045
  argChk_Boolean(G(this, ai), t, !0);
18046
- }, gl = new WeakSet(), If = function(t) {
18047
- argChk_Num(G(this, ai), t, 10), G(this, ai)["sn.tagCh.doWait"];
18048
18046
  }, yl = new WeakSet(), Af = function(t) {
18047
+ argChk_Num(G(this, ai), t, 10), G(this, ai)["sn.tagCh.doWait"];
18048
+ }, bl = new WeakSet(), Nf = function(t) {
18049
18049
  argChk_Num(
18050
18050
  G(this, ai),
18051
18051
  t,
18052
18052
  this.cfg.oCfg.init.tagch_msecwait === void 0 ? 10 : this.cfg.oCfg.init.tagch_msecwait
18053
18053
  ), G(this, ai)["sn.tagCh.doWait_Kidoku"];
18054
- }, to = new WeakSet(), wc = function(t) {
18054
+ }, eo = new WeakSet(), Pc = function(t) {
18055
18055
  argChk_Num(
18056
18056
  G(this, ai),
18057
18057
  t,
18058
18058
  this.cfg.oCfg.init.auto_msecpagewait === void 0 ? 3500 : this.cfg.oCfg.init.auto_msecpagewait
18059
18059
  );
18060
- }, eo = new WeakSet(), Pc = function(t) {
18060
+ }, io = new WeakSet(), Cc = function(t) {
18061
18061
  argChk_Num(G(this, ai), t, 500);
18062
- }, bl = new WeakSet(), Nf = function(t) {
18063
- return argChk_Boolean(G(this, vi), t, !0);
18064
18062
  }, xl = new WeakSet(), Lf = function(t) {
18063
+ return argChk_Boolean(G(this, vi), t, !0);
18064
+ }, El = new WeakSet(), kf = function(t) {
18065
18065
  argChk_Boolean(G(this, me), t, !0);
18066
- }, Ms = new WeakSet(), Uh = function(t) {
18066
+ }, Is = new WeakSet(), Gh = function(t) {
18067
18067
  argChk_Boolean(G(this, me), t, !1);
18068
18068
  }, // reload 再生成 Main に受け渡すため static
18069
18069
  Z(Variable, dn, {});
@@ -18453,18 +18453,18 @@ var Easing = Object.freeze({
18453
18453
  TWEEN.getAll.bind(TWEEN);
18454
18454
  var removeAll = TWEEN.removeAll.bind(TWEEN);
18455
18455
  TWEEN.add.bind(TWEEN);
18456
- var remove$6 = TWEEN.remove.bind(TWEEN), update = TWEEN.update.bind(TWEEN), io;
18457
- const El = class {
18456
+ var remove$6 = TWEEN.remove.bind(TWEEN), update = TWEEN.update.bind(TWEEN), ro;
18457
+ const Sl = class {
18458
18458
  static ease(t) {
18459
18459
  if (!t)
18460
18460
  return (e) => Easing.Linear.None(e);
18461
- if (!(t in G(El, io)))
18461
+ if (!(t in G(Sl, ro)))
18462
18462
  throw "異常なease指定です";
18463
- return G(El, io)[t];
18463
+ return G(Sl, ro)[t];
18464
18464
  }
18465
18465
  };
18466
- let CmnTween = El;
18467
- io = new WeakMap(), Z(CmnTween, io, {
18466
+ let CmnTween = Sl;
18467
+ ro = new WeakMap(), Z(CmnTween, ro, {
18468
18468
  "Back.In": (t) => Easing.Back.In(t),
18469
18469
  "Back.InOut": (t) => Easing.Back.InOut(t),
18470
18470
  "Back.Out": (t) => Easing.Back.Out(t),
@@ -19457,13 +19457,13 @@ var y = p.filter(function(o) {
19457
19457
  }(new S());
19458
19458
  "extensions" in n ? extensions.add(m) : Loader.registerPlugin(m);
19459
19459
  let cfg, val, main$2, sys;
19460
- var Ge, Ee, Is, ro, no, Cc;
19460
+ var Ge, Ee, As, no, so, Oc;
19461
19461
  const we = class {
19462
19462
  constructor() {
19463
- Z(this, no);
19463
+ Z(this, so);
19464
19464
  Z(this, Ee, void 0);
19465
- Z(this, ro, () => {
19466
- B.volumeAll = Number(val.getVal("sys:sn.sound.global_volume", 1)), Q(this, ro, () => {
19465
+ Z(this, no, () => {
19466
+ B.volumeAll = Number(val.getVal("sys:sn.sound.global_volume", 1)), Q(this, no, () => {
19467
19467
  });
19468
19468
  });
19469
19469
  gt(this, "ws", (t, e) => G(this, Ee).stt.ws(G(this, Ee), t, e));
@@ -19490,7 +19490,7 @@ const we = class {
19490
19490
  val.setVal_Nochk("save", N + "volume", $), val.setVal_Nochk("save", U + "volume", k), val.setVal_Nochk("save", N + "fn", H), val.setVal_Nochk("save", U + "fn", D), e in G(we, Ge) != r in G(we, Ge) && (e in G(we, Ge) ? (delete G(we, Ge)[e], G(we, Ge)[r] = 0) : (delete G(we, Ge)[r], G(we, Ge)[e] = 0), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ge)))), val.flush();
19491
19491
  }
19492
19492
  init(t) {
19493
- const { buf: e = "SE", fn: r = "" } = t, N = argChk_Num(t, "start_ms", 0), k = argChk_Num(t, "end_ms", G(we, Is)), D = argChk_Num(t, "ret_ms", 0), U = argChk_Num(t, "pan", 0), $ = argChk_Num(t, "speed", 1);
19493
+ const { buf: e = "SE", fn: r = "" } = t, N = argChk_Num(t, "start_ms", 0), k = argChk_Num(t, "end_ms", G(we, As)), D = argChk_Num(t, "ret_ms", 0), U = argChk_Num(t, "pan", 0), $ = argChk_Num(t, "speed", 1);
19494
19494
  if (N < 0)
19495
19495
  throw `[playse] start_ms:${N} が負の値です`;
19496
19496
  if (D < 0)
@@ -19531,7 +19531,7 @@ const we = class {
19531
19531
  }
19532
19532
  };
19533
19533
  let W = "";
19534
- if (0 < N || k < G(we, Is)) {
19534
+ if (0 < N || k < G(we, As)) {
19535
19535
  W = `${r};${N};${k};${D}`;
19536
19536
  const J = (q.sprites ?? (q.sprites = {}))[W] = {
19537
19537
  start: N / 1e3,
@@ -19542,7 +19542,7 @@ const we = class {
19542
19542
  q.loaded = (it, at) => {
19543
19543
  et(it, at);
19544
19544
  const st = at, ht = st.duration;
19545
- J.end < 0 && (J.end += ht, st.removeSprites(W), st.addSprites(W, J)), J.end <= J.start && main$2.errScript(`[playse] end_ms:${k}(${J.end * 1e3}) >= start_ms:${N} は異常値です`), J.end * 1e3 <= D && main$2.errScript(`[playse] end_ms:${k}(${J.end * 1e3}) <= ret_ms:${D} は異常値です`), ht <= J.start && main$2.errScript(`[playse] 音声ファイル再生時間:${ht * 1e3} <= start_ms:${N} は異常値です`), k !== G(we, Is) && ht <= J.end && main$2.errScript(`[playse] 音声ファイル再生時間:${ht * 1e3} <= end_ms:${k} は異常値です`), st.play(W, (ot) => {
19545
+ J.end < 0 && (J.end += ht, st.removeSprites(W), st.addSprites(W, J)), J.end <= J.start && main$2.errScript(`[playse] end_ms:${k}(${J.end * 1e3}) >= start_ms:${N} は異常値です`), J.end * 1e3 <= D && main$2.errScript(`[playse] end_ms:${k}(${J.end * 1e3}) <= ret_ms:${D} は異常値です`), ht <= J.start && main$2.errScript(`[playse] 音声ファイル再生時間:${ht * 1e3} <= start_ms:${N} は異常値です`), k !== G(we, As) && ht <= J.end && main$2.errScript(`[playse] 音声ファイル再生時間:${ht * 1e3} <= end_ms:${k} は異常値です`), st.play(W, (ot) => {
19546
19546
  var nt;
19547
19547
  (nt = q.complete) == null || nt.call(q, ot), z || G(this, Ee).stt.onPlayEnd();
19548
19548
  });
@@ -19568,9 +19568,9 @@ const we = class {
19568
19568
  });
19569
19569
  }) : q.complete = () => {
19570
19570
  stop2var(G(this, Ee), e), G(this, Ee).stt.onPlayEnd();
19571
- }, G(this, ro).call(this), Y) {
19571
+ }, G(this, no).call(this), Y) {
19572
19572
  if (Y.volume = X, W)
19573
- tt(this, no, Cc).call(this, r, q);
19573
+ tt(this, so, Oc).call(this, r, q);
19574
19574
  else if (Y.isPlayable) {
19575
19575
  const J = Y.options.source;
19576
19576
  !(J instanceof ArrayBuffer) || J.byteLength === 0 ? Y.play(q) : G(this, Ee).snd = C.from({
@@ -19588,7 +19588,7 @@ const we = class {
19588
19588
  J(et, it), main$2.resume();
19589
19589
  };
19590
19590
  }
19591
- return tt(this, no, Cc).call(this, r, q), K;
19591
+ return tt(this, so, Oc).call(this, r, q), K;
19592
19592
  }
19593
19593
  stopse(t) {
19594
19594
  const { buf: e = "SE" } = t;
@@ -19599,7 +19599,7 @@ const we = class {
19599
19599
  }
19600
19600
  };
19601
19601
  let SndBuf = we;
19602
- Ge = new WeakMap(), Ee = new WeakMap(), Is = new WeakMap(), ro = new WeakMap(), no = new WeakSet(), Cc = function(t, e) {
19602
+ Ge = new WeakMap(), Ee = new WeakMap(), As = new WeakMap(), no = new WeakMap(), so = new WeakSet(), Oc = function(t, e) {
19603
19603
  const r = cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SOUND);
19604
19604
  if (r.slice(-4) !== ".bin") {
19605
19605
  e.url = r, C.from(e);
@@ -19613,7 +19613,7 @@ Ge = new WeakMap(), Ee = new WeakMap(), Is = new WeakMap(), ro = new WeakMap(),
19613
19613
  var D;
19614
19614
  e.source = (D = k[t]) == null ? void 0 : D.data, C.from(e);
19615
19615
  });
19616
- }, Z(SndBuf, Ge, {}), Z(SndBuf, Is, 999e3);
19616
+ }, Z(SndBuf, Ge, {}), Z(SndBuf, As, 999e3);
19617
19617
  function stop2var(o, t) {
19618
19618
  if (o.loop)
19619
19619
  SndBuf.delLoopPlay(t);
@@ -19808,46 +19808,46 @@ class SsStop {
19808
19808
  }
19809
19809
  // ok
19810
19810
  }
19811
- var He, so, kr, Sl, kf, Tl, Df, wl, Bf, Pl, Ff, ao, Oc, pn, Pa, oo, Rc, As, Gh, ho, Mc, Cl, Uf, vn, Ca, Ol, Gf, lo, Ic, uo, Ac, Rl, $f, co, Nc, Ml, jf;
19811
+ var He, ao, kr, Tl, Df, wl, Bf, Pl, Ff, Cl, Uf, oo, Rc, pn, Ca, ho, Mc, Ns, $h, lo, Ic, Ol, Gf, vn, Oa, Rl, $f, uo, Ac, co, Nc, Ml, jf, fo, Lc, Il, Hf;
19812
19812
  class SoundMng {
19813
19813
  constructor(t, e, r, N, k) {
19814
19814
  // 音量設定(独自拡張)
19815
- Z(this, Sl);
19816
19815
  Z(this, Tl);
19817
- // BGM/効果音のフェードアウト(loadから使うのでマクロ化禁止)
19818
19816
  Z(this, wl);
19819
- // 効果音のフェードアウト(loadから使うのでマクロ化禁止)
19817
+ // BGM/効果音のフェードアウト(loadから使うのでマクロ化禁止)
19820
19818
  Z(this, Pl);
19819
+ // 効果音のフェードアウト(loadから使うのでマクロ化禁止)
19820
+ Z(this, Cl);
19821
19821
  // BGMのフェード(loadから使うのでマクロ化禁止)
19822
- Z(this, ao);
19822
+ Z(this, oo);
19823
19823
  // 効果音のフェード
19824
19824
  Z(this, pn);
19825
19825
  // BGM の演奏
19826
- Z(this, oo);
19826
+ Z(this, ho);
19827
19827
  // 効果音の再生
19828
- Z(this, As);
19828
+ Z(this, Ns);
19829
19829
  // 全効果音再生の停止
19830
- Z(this, ho);
19830
+ Z(this, lo);
19831
19831
  // BGM 演奏の停止(loadから使うのでマクロ化禁止)
19832
- Z(this, Cl);
19832
+ Z(this, Ol);
19833
19833
  // 効果音再生の停止
19834
19834
  Z(this, vn);
19835
19835
  // BGM フェードの終了待ち
19836
- Z(this, Ol);
19836
+ Z(this, Rl);
19837
19837
  // 効果音フェードの終了待ち
19838
- Z(this, lo);
19839
- // 音声フェードの停止
19840
19838
  Z(this, uo);
19839
+ // 音声フェードの停止
19840
+ Z(this, co);
19841
19841
  // BGM 再生の終了待ち
19842
- Z(this, Rl);
19842
+ Z(this, Ml);
19843
19843
  // 効果音再生の終了待ち
19844
- Z(this, co);
19844
+ Z(this, fo);
19845
19845
  // 再生トラックの交換
19846
- Z(this, Ml);
19846
+ Z(this, Il);
19847
19847
  Z(this, He, {});
19848
- Z(this, so, {});
19848
+ Z(this, ao, {});
19849
19849
  Z(this, kr, void 0);
19850
- this.cfg = t, this.val = r, this.main = N, this.sys = k, e.volume = (D) => tt(this, Sl, kf).call(this, D), e.fadebgm = (D) => tt(this, ao, Oc).call(this, D), e.fadeoutbgm = (D) => tt(this, wl, Bf).call(this, D), e.fadeoutse = (D) => tt(this, Pl, Ff).call(this, D), e.fadese = (D) => tt(this, pn, Pa).call(this, D), e.playbgm = (D) => tt(this, oo, Rc).call(this, D), e.playse = (D) => tt(this, As, Gh).call(this, D), e.stop_allse = () => tt(this, ho, Mc).call(this), e.stopbgm = (D) => tt(this, Cl, Uf).call(this, D), e.stopse = (D) => tt(this, vn, Ca).call(this, D), e.wb = (D) => tt(this, Ol, Gf).call(this, D), e.wf = (D) => tt(this, lo, Ic).call(this, D), e.stopfadese = (D) => tt(this, uo, Ac).call(this, D), e.wl = (D) => tt(this, Rl, $f).call(this, D), e.ws = (D) => tt(this, co, Nc).call(this, D), e.xchgbuf = (D) => tt(this, Ml, jf).call(this, D), r.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), r.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(R.supported)), SndBuf.init(t, r, N, k);
19850
+ this.cfg = t, this.val = r, this.main = N, this.sys = k, e.volume = (D) => tt(this, Tl, Df).call(this, D), e.fadebgm = (D) => tt(this, oo, Rc).call(this, D), e.fadeoutbgm = (D) => tt(this, Pl, Ff).call(this, D), e.fadeoutse = (D) => tt(this, Cl, Uf).call(this, D), e.fadese = (D) => tt(this, pn, Ca).call(this, D), e.playbgm = (D) => tt(this, ho, Mc).call(this, D), e.playse = (D) => tt(this, Ns, $h).call(this, D), e.stop_allse = () => tt(this, lo, Ic).call(this), e.stopbgm = (D) => tt(this, Ol, Gf).call(this, D), e.stopse = (D) => tt(this, vn, Oa).call(this, D), e.wb = (D) => tt(this, Rl, $f).call(this, D), e.wf = (D) => tt(this, uo, Ac).call(this, D), e.stopfadese = (D) => tt(this, co, Nc).call(this, D), e.wl = (D) => tt(this, Ml, jf).call(this, D), e.ws = (D) => tt(this, fo, Lc).call(this, D), e.xchgbuf = (D) => tt(this, Il, Hf).call(this, D), r.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), r.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(R.supported)), SndBuf.init(t, r, N, k);
19851
19851
  }
19852
19852
  setEvtMng(t) {
19853
19853
  Q(this, kr, t);
@@ -19860,12 +19860,12 @@ class SoundMng {
19860
19860
  }
19861
19861
  // しおりの読込(BGM状態復元)
19862
19862
  playLoopFromSaveObj() {
19863
- tt(this, ho, Mc).call(this);
19863
+ tt(this, lo, Ic).call(this);
19864
19864
  const t = String(this.val.getVal("save:const.sn.loopPlaying", "{}"));
19865
19865
  if (t === "{}")
19866
19866
  return;
19867
- Q(this, so, JSON.parse(t));
19868
- const e = Object.keys(G(this, so)).map((r) => () => {
19867
+ Q(this, ao, JSON.parse(t));
19868
+ const e = Object.keys(G(this, ao)).map((r) => () => {
19869
19869
  const N = "save:const.sn.sound." + r + ".";
19870
19870
  if (this.val.getVal(N + "start_ms") === void 0)
19871
19871
  return;
@@ -19879,71 +19879,71 @@ class SoundMng {
19879
19879
  end_ms: Number(this.val.getVal(N + "end_ms")),
19880
19880
  ret_ms: Number(this.val.getVal(N + "ret_ms"))
19881
19881
  };
19882
- k.buf === "BGM" ? tt(this, oo, Rc).call(this, k) : tt(this, As, Gh).call(this, k);
19882
+ k.buf === "BGM" ? tt(this, ho, Mc).call(this, k) : tt(this, Ns, $h).call(this, k);
19883
19883
  });
19884
19884
  for (const r of e)
19885
19885
  r();
19886
19886
  }
19887
19887
  }
19888
- He = new WeakMap(), so = new WeakMap(), kr = new WeakMap(), Sl = new WeakSet(), kf = function(t) {
19889
- const { buf: e = "SE" } = t, r = "const.sn.sound." + e + ".volume", N = tt(this, Tl, Df).call(this, t, 1);
19890
- return Number(this.val.getVal("sys:" + r)) === N ? !1 : (this.val.setVal_Nochk("sys", r, N), this.val.flush(), t.time = 0, t.volume = Number(this.val.getVal("save:" + r)), tt(this, pn, Pa).call(this, t));
19891
- }, Tl = new WeakSet(), Df = function(t, e) {
19888
+ He = new WeakMap(), ao = new WeakMap(), kr = new WeakMap(), Tl = new WeakSet(), Df = function(t) {
19889
+ const { buf: e = "SE" } = t, r = "const.sn.sound." + e + ".volume", N = tt(this, wl, Bf).call(this, t, 1);
19890
+ return Number(this.val.getVal("sys:" + r)) === N ? !1 : (this.val.setVal_Nochk("sys", r, N), this.val.flush(), t.time = 0, t.volume = Number(this.val.getVal("save:" + r)), tt(this, pn, Ca).call(this, t));
19891
+ }, wl = new WeakSet(), Bf = function(t, e) {
19892
19892
  const r = argChk_Num(t, "volume", e);
19893
19893
  return r < 0 ? 0 : r > 1 ? 1 : r;
19894
- }, wl = new WeakSet(), Bf = function(t) {
19895
- return t.volume = 0, tt(this, ao, Oc).call(this, t);
19896
19894
  }, Pl = new WeakSet(), Ff = function(t) {
19897
- return t.volume = 0, tt(this, pn, Pa).call(this, t);
19898
- }, ao = new WeakSet(), Oc = function(t) {
19899
- return t.buf = "BGM", tt(this, pn, Pa).call(this, t);
19900
- }, pn = new WeakSet(), Pa = function(t) {
19895
+ return t.volume = 0, tt(this, oo, Rc).call(this, t);
19896
+ }, Cl = new WeakSet(), Uf = function(t) {
19897
+ return t.volume = 0, tt(this, pn, Ca).call(this, t);
19898
+ }, oo = new WeakSet(), Rc = function(t) {
19899
+ return t.buf = "BGM", tt(this, pn, Ca).call(this, t);
19900
+ }, pn = new WeakSet(), Ca = function(t) {
19901
19901
  var r;
19902
19902
  const { buf: e = "SE" } = t;
19903
- return tt(this, uo, Ac).call(this, t), (r = G(this, He)[e]) == null || r.fade(t, G(this, kr)), !1;
19904
- }, oo = new WeakSet(), Rc = function(t) {
19905
- return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), tt(this, As, Gh).call(this, t);
19906
- }, As = new WeakSet(), Gh = function(t) {
19903
+ return tt(this, co, Nc).call(this, t), (r = G(this, He)[e]) == null || r.fade(t, G(this, kr)), !1;
19904
+ }, ho = new WeakSet(), Mc = function(t) {
19905
+ return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), tt(this, Ns, $h).call(this, t);
19906
+ }, Ns = new WeakSet(), $h = function(t) {
19907
19907
  const { buf: e = "SE", fn: r } = t;
19908
- if (tt(this, vn, Ca).call(this, { buf: e }), !r)
19908
+ if (tt(this, vn, Oa).call(this, { buf: e }), !r)
19909
19909
  throw `[playse] fnは必須です buf:${e}`;
19910
19910
  return argChk_Boolean(t, "canskip", !0) && G(this, kr).isSkippingByKeyDown() ? !1 : (G(this, He)[e] = new SndBuf()).init(t);
19911
- }, ho = new WeakSet(), Mc = function() {
19911
+ }, lo = new WeakSet(), Ic = function() {
19912
19912
  for (const t of Object.keys(G(this, He)))
19913
- tt(this, vn, Ca).call(this, { buf: t });
19913
+ tt(this, vn, Oa).call(this, { buf: t });
19914
19914
  return Q(this, He, {}), B.stopAll(), !1;
19915
- }, Cl = new WeakSet(), Uf = function(t) {
19916
- return t.buf = "BGM", tt(this, vn, Ca).call(this, t);
19917
- }, vn = new WeakSet(), Ca = function(t) {
19915
+ }, Ol = new WeakSet(), Gf = function(t) {
19916
+ return t.buf = "BGM", tt(this, vn, Oa).call(this, t);
19917
+ }, vn = new WeakSet(), Oa = function(t) {
19918
19918
  var r;
19919
19919
  const { buf: e = "SE" } = t;
19920
19920
  return (r = G(this, He)[e]) == null || r.stopse(t), !1;
19921
- }, Ol = new WeakSet(), Gf = function(t) {
19922
- return t.buf = "BGM", tt(this, lo, Ic).call(this, t);
19923
- }, lo = new WeakSet(), Ic = function(t) {
19921
+ }, Rl = new WeakSet(), $f = function(t) {
19922
+ return t.buf = "BGM", tt(this, uo, Ac).call(this, t);
19923
+ }, uo = new WeakSet(), Ac = function(t) {
19924
19924
  var r;
19925
19925
  const { buf: e = "SE" } = t;
19926
19926
  return (r = G(this, He)[e]) == null ? void 0 : r.wf(t, G(this, kr));
19927
- }, uo = new WeakSet(), Ac = function(t) {
19927
+ }, co = new WeakSet(), Nc = function(t) {
19928
19928
  var r;
19929
19929
  const { buf: e = "SE" } = t;
19930
19930
  return (r = G(this, He)[e]) == null || r.stopfadese(t), !1;
19931
- }, Rl = new WeakSet(), $f = function(t) {
19932
- return t.buf = "BGM", tt(this, co, Nc).call(this, t);
19933
- }, co = new WeakSet(), Nc = function(t) {
19931
+ }, Ml = new WeakSet(), jf = function(t) {
19932
+ return t.buf = "BGM", tt(this, fo, Lc).call(this, t);
19933
+ }, fo = new WeakSet(), Lc = function(t) {
19934
19934
  var r;
19935
19935
  const { buf: e = "SE" } = t;
19936
19936
  return (r = G(this, He)[e]) == null ? void 0 : r.ws(t, G(this, kr));
19937
- }, Ml = new WeakSet(), jf = function(t) {
19937
+ }, Il = new WeakSet(), Hf = function(t) {
19938
19938
  const { buf: e = "SE", buf2: r = "SE" } = t;
19939
19939
  return e === r || ([G(this, He)[e], G(this, He)[r]] = [G(this, He)[r], G(this, He)[e]], SndBuf.xchgbuf(t)), !1;
19940
19940
  };
19941
19941
  var fe;
19942
- const lf = class {
19942
+ const uf = class {
19943
19943
  constructor(t, e, r, N, k, D, U, $) {
19944
19944
  Z(this, fe, void 0);
19945
19945
  gt(this, "lay", (t) => this.getPage(t).lay(t));
19946
- gt(this, "getPage", (t) => lf.argChk_page(t, "fore") !== "back" ? G(this, fe).fore : G(this, fe).back);
19946
+ gt(this, "getPage", (t) => uf.argChk_page(t, "fore") !== "back" ? G(this, fe).fore : G(this, fe).back);
19947
19947
  this.cls = e, this.hArg = k, this.sys = D, this.val = U, this.ret = $;
19948
19948
  const H = D.hFactoryCls[e];
19949
19949
  if (!H)
@@ -19974,9 +19974,9 @@ const lf = class {
19974
19974
  [G(this, fe).back, G(this, fe).fore] = [G(this, fe).fore, G(this, fe).back], G(this, fe).back.copy(G(this, fe).fore, t);
19975
19975
  }
19976
19976
  };
19977
- let Pages = lf;
19977
+ let Pages = uf;
19978
19978
  fe = new WeakMap();
19979
- var Il, Al;
19979
+ var Al, Nl;
19980
19980
  const ar = class {
19981
19981
  constructor() {
19982
19982
  gt(this, "layname", "");
@@ -20068,13 +20068,13 @@ const ar = class {
20068
20068
  static getBlendmodeNum(t) {
20069
20069
  if (!t)
20070
20070
  return BLEND_MODES.NORMAL;
20071
- const e = G(ar, Il)[t];
20071
+ const e = G(ar, Al)[t];
20072
20072
  if (e !== void 0)
20073
20073
  return e;
20074
20074
  throw `${t} はサポートされない blendmode です`;
20075
20075
  }
20076
20076
  static getNum2Blendmode(t) {
20077
- return G(ar, Al)[t] ?? "normal";
20077
+ return G(ar, Nl)[t] ?? "normal";
20078
20078
  }
20079
20079
  // アニメ・動画があるか
20080
20080
  get containMovement() {
@@ -20158,7 +20158,7 @@ const ar = class {
20158
20158
  }
20159
20159
  };
20160
20160
  let Layer = ar;
20161
- Il = new WeakMap(), Al = new WeakMap(), Z(Layer, Il, {
20161
+ Al = new WeakMap(), Nl = new WeakMap(), Z(Layer, Al, {
20162
20162
  normal: BLEND_MODES.NORMAL,
20163
20163
  add: BLEND_MODES.ADD,
20164
20164
  multiply: BLEND_MODES.MULTIPLY,
@@ -20194,7 +20194,7 @@ Il = new WeakMap(), Al = new WeakMap(), Z(Layer, Il, {
20194
20194
  'erase' : BLEND_MODES.ERASE,
20195
20195
  'xor' : BLEND_MODES.XOR,
20196
20196
  */
20197
- }), Z(Layer, Al, {
20197
+ }), Z(Layer, Nl, {
20198
20198
  0: "normal",
20199
20199
  1: "add",
20200
20200
  2: "multiply",
@@ -20270,7 +20270,7 @@ class PicBtnDesignCast extends BtnDesignCast {
20270
20270
  setSp(t) {
20271
20271
  }
20272
20272
  }
20273
- var Nl, Dr, lr, mn, _n, Hi, Ns, gn, fo, Ls, Vi, ur, cr, Br, po, vo, mo, Ll, Hf, kl, Vf, _o, Lc, Dl, zf, ks, $h, Ds, Ri, Bs, Bl, yn, go;
20273
+ var Ll, Dr, lr, mn, _n, Hi, Ls, gn, po, ks, Vi, ur, cr, Br, vo, mo, _o, kl, Vf, Dl, zf, go, kc, Bl, Xf, Ds, jh, Bs, Ri, Fs, Fl, yn, yo;
20274
20274
  const Ft = class extends Layer {
20275
20275
  constructor() {
20276
20276
  super();
@@ -20281,11 +20281,11 @@ const Ft = class extends Layer {
20281
20281
  gt(this, "lay", (e) => this.laySub(e, (r) => {
20282
20282
  r && G(Ft, lr).resume();
20283
20283
  }));
20284
- Z(this, po, 0);
20285
20284
  Z(this, vo, 0);
20286
- Z(this, Ds, void 0);
20285
+ Z(this, mo, 0);
20286
+ Z(this, Bs, void 0);
20287
20287
  Z(this, Ri, void 0);
20288
- Z(this, Bs, () => {
20288
+ Z(this, Fs, () => {
20289
20289
  });
20290
20290
  gt(this, "record", () => ({
20291
20291
  ...super.record(),
@@ -20300,9 +20300,9 @@ const Ft = class extends Layer {
20300
20300
  });
20301
20301
  }
20302
20302
  static init(e, r, N, k, D, U) {
20303
- Q(Ft, lr, e), Q(Ft, mn, r), Q(Ft, _n, N), Q(Ft, Hi, k), Q(Ft, Ns, U);
20303
+ Q(Ft, lr, e), Q(Ft, mn, r), Q(Ft, _n, N), Q(Ft, Hi, k), Q(Ft, Ls, U);
20304
20304
  const $ = () => {
20305
- const H = G(Ft, gn) * G(Ft, fo);
20305
+ const H = G(Ft, gn) * G(Ft, po);
20306
20306
  for (const V of Object.values(Ft.hFn2VElm))
20307
20307
  V.volume = H;
20308
20308
  };
@@ -20311,21 +20311,21 @@ const Ft = class extends Layer {
20311
20311
  Q(Ft, gn, H), $();
20312
20312
  },
20313
20313
  (H) => {
20314
- Q(Ft, fo, H), $();
20314
+ Q(Ft, po, H), $();
20315
20315
  }
20316
- ), G(Ft, Hi).crypto && Q(Ft, mo, tt(Ft, kl, Vf));
20316
+ ), G(Ft, Hi).crypto && Q(Ft, _o, tt(Ft, Dl, zf));
20317
20317
  }
20318
20318
  static setEvtMng(e) {
20319
- Q(Ft, Ls, e);
20319
+ Q(Ft, ks, e);
20320
20320
  }
20321
20321
  static destroy() {
20322
- G(Ft, Nl).clear(), Q(Ft, Dr, {}), Ft.hFn2ResAniSpr = {}, Ft.hFn2VElm = {};
20322
+ G(Ft, Ll).clear(), Q(Ft, Dr, {}), Ft.hFn2ResAniSpr = {}, Ft.hFn2VElm = {};
20323
20323
  }
20324
20324
  setSp(e) {
20325
20325
  }
20326
20326
  laySub(e, r) {
20327
20327
  var $;
20328
- tt($ = Ft, ks, $h).call($, G(this, cr));
20328
+ tt($ = Ft, Ds, jh).call($, G(this, cr));
20329
20329
  const { fn: N, face: k = "" } = e;
20330
20330
  if (G(this, Vi).sethArg(e), !N)
20331
20331
  return super.lay(e), this.spLay.children.length > 0 && this.setPos(e), Q(this, cr, ""), Q(this, ur, Q(this, Br, k)), r(!1), !1;
@@ -20334,7 +20334,7 @@ const Ft = class extends Layer {
20334
20334
  Q(this, ur, N + (k ? "," + k : "")),
20335
20335
  this.spLay,
20336
20336
  (H) => {
20337
- ("width" in e || "height" in e) && (H.width = argChk_Num(e, "width", 0), H.height = argChk_Num(e, "height", 0)), Q(this, po, H.width), Q(this, vo, H.height), Layer.setXY(H, e, this.spLay, !0), this.setSp(H);
20337
+ ("width" in e || "height" in e) && (H.width = argChk_Num(e, "width", 0), H.height = argChk_Num(e, "height", 0)), Q(this, vo, H.width), Q(this, mo, H.height), Layer.setXY(H, e, this.spLay, !0), this.setSp(H);
20338
20338
  },
20339
20339
  (H) => {
20340
20340
  Layer.setBlendmodeParentOnly(this.spLay, e), r(H);
@@ -20342,10 +20342,10 @@ const Ft = class extends Layer {
20342
20342
  );
20343
20343
  }
20344
20344
  get width() {
20345
- return G(this, po);
20345
+ return G(this, vo);
20346
20346
  }
20347
20347
  get height() {
20348
- return G(this, vo);
20348
+ return G(this, mo);
20349
20349
  }
20350
20350
  // static #ldrHFn: {[name: string]: 1} = {};
20351
20351
  static csv2Sprites(e, r, N, k = () => {
@@ -20379,7 +20379,7 @@ const Ft = class extends Layer {
20379
20379
  const H = (V) => {
20380
20380
  var X;
20381
20381
  for (const { fn: z, fnc: Y } of U) {
20382
- const q = tt(X = Ft, Dl, zf).call(X, z, V);
20382
+ const q = tt(X = Ft, Bl, Xf).call(X, z, V);
20383
20383
  q.name = z, r == null || r.addChild(q), Y(q);
20384
20384
  }
20385
20385
  k(D);
@@ -20387,7 +20387,7 @@ const Ft = class extends Layer {
20387
20387
  return D ? $.use((V, X) => {
20388
20388
  G(this, Hi).dec(V.extension, V.data).then((z) => {
20389
20389
  var Y;
20390
- return G(Y = Ft, mo).call(Y, z, V, () => X == null ? void 0 : X());
20390
+ return G(Y = Ft, _o).call(Y, z, V, () => X == null ? void 0 : X());
20391
20391
  }).catch((z) => G(this, lr).errScript(`Graphic ロード失敗です fn:${V.name} ${z}`, !1));
20392
20392
  }).load((V, X) => H(X)) : H({}), D;
20393
20393
  }
@@ -20399,13 +20399,13 @@ const Ft = class extends Layer {
20399
20399
  const N = Ft.hFn2VElm[r];
20400
20400
  if (!N || N.loop)
20401
20401
  return !1;
20402
- if (G(this, Ns).getVal("tmp:sn.skip.enabled") || G(this, Ls).isSkippingByKeyDown() || N.ended)
20403
- return tt(D = Ft, ks, $h).call(D, r), !1;
20402
+ if (G(this, Ls).getVal("tmp:sn.skip.enabled") || G(this, ks).isSkippingByKeyDown() || N.ended)
20403
+ return tt(D = Ft, Ds, jh).call(D, r), !1;
20404
20404
  const k = () => {
20405
20405
  var U;
20406
- tt(U = Ft, ks, $h).call(U, r), G(this, lr).resume();
20406
+ tt(U = Ft, Ds, jh).call(U, r), G(this, lr).resume();
20407
20407
  };
20408
- return N.addEventListener("ended", k, { once: !0, passive: !0 }), G(Ft, Ls).waitEvent(
20408
+ return N.addEventListener("ended", k, { once: !0, passive: !0 }), G(Ft, ks).waitEvent(
20409
20409
  () => {
20410
20410
  N.removeEventListener("ended", k), k();
20411
20411
  },
@@ -20414,16 +20414,16 @@ const Ft = class extends Layer {
20414
20414
  );
20415
20415
  }
20416
20416
  renderStart() {
20417
- Q(this, Ds, RenderTexture.create({
20417
+ Q(this, Bs, RenderTexture.create({
20418
20418
  width: CmnLib.stageW,
20419
20419
  height: CmnLib.stageH
20420
- })), Q(this, Ri, new Sprite(G(this, Ds))), G(this, Ri).visible = !1, this.spLay.addChildAt(G(this, Ri), 0), G(this, Ri).position.set(-this.spLay.x, -this.spLay.y);
20420
+ })), Q(this, Ri, new Sprite(G(this, Bs))), G(this, Ri).visible = !1, this.spLay.addChildAt(G(this, Ri), 0), G(this, Ri).position.set(-this.spLay.x, -this.spLay.y);
20421
20421
  let e = () => {
20422
20422
  const r = this.spLay.alpha;
20423
20423
  this.spLay.alpha = 1;
20424
20424
  for (const N of this.spLay.children)
20425
20425
  N.visible = !0;
20426
- G(this, Ri).visible = !1, G(Ft, _n).renderer.render(this.spLay, { renderTexture: G(this, Ds) }), this.spLay.alpha = r;
20426
+ G(this, Ri).visible = !1, G(Ft, _n).renderer.render(this.spLay, { renderTexture: G(this, Bs) }), this.spLay.alpha = r;
20427
20427
  for (const N of this.spLay.children)
20428
20428
  N.visible = !1;
20429
20429
  };
@@ -20434,19 +20434,19 @@ const Ft = class extends Layer {
20434
20434
  }, r();
20435
20435
  };
20436
20436
  }
20437
- Q(this, Bs, () => {
20437
+ Q(this, Fs, () => {
20438
20438
  e(), G(this, Ri).visible = !0;
20439
- }), G(Ft, _n).ticker.add(G(this, Bs));
20439
+ }), G(Ft, _n).ticker.add(G(this, Fs));
20440
20440
  }
20441
20441
  renderEnd() {
20442
- G(Ft, _n).ticker.remove(G(this, Bs)), this.spLay.removeChild(G(this, Ri));
20442
+ G(Ft, _n).ticker.remove(G(this, Fs)), this.spLay.removeChild(G(this, Ri));
20443
20443
  for (const e of this.spLay.children)
20444
20444
  e.visible = !0;
20445
20445
  G(this, Ri).destroy(!0);
20446
20446
  }
20447
20447
  // https://regex101.com/r/ZUnoFq/1
20448
20448
  static loadPic2Img(e, r, N) {
20449
- const k = e.replace(G(Ft, Bl), ""), D = e === k ? "" : e.slice(k.length), U = G(this, go)[e];
20449
+ const k = e.replace(G(Ft, Fl), ""), D = e === k ? "" : e.slice(k.length), U = G(this, yo)[e];
20450
20450
  if (U) {
20451
20451
  r.src = U;
20452
20452
  return;
@@ -20468,7 +20468,7 @@ const Ft = class extends Layer {
20468
20468
  }).catch((Y) => G(Ft, lr).errScript(`GrpLayer loadPic ロード失敗です fn:${X.name} ${Y}`, !1));
20469
20469
  }), V.load((X, z) => {
20470
20470
  for (const [Y, { data: { src: q } }] of Object.entries(z)) {
20471
- const W = G(this, go)[Y] = q + (q.slice(0, 5) === "blob:" ? "" : D);
20471
+ const W = G(this, yo)[Y] = q + (q.slice(0, 5) === "blob:" ? "" : D);
20472
20472
  for (const K of G(this, yn)[Y])
20473
20473
  K.src = W, N && (K.onload = () => N(K));
20474
20474
  delete G(this, yn)[Y];
@@ -20540,7 +20540,7 @@ const Ft = class extends Layer {
20540
20540
  }
20541
20541
  };
20542
20542
  let GrpLayer = Ft;
20543
- Nl = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(), _n = new WeakMap(), Hi = new WeakMap(), Ns = new WeakMap(), gn = new WeakMap(), fo = new WeakMap(), Ls = new WeakMap(), Vi = new WeakMap(), ur = new WeakMap(), cr = new WeakMap(), Br = new WeakMap(), po = new WeakMap(), vo = new WeakMap(), mo = new WeakMap(), Ll = new WeakSet(), Hf = function(e) {
20543
+ Ll = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(), _n = new WeakMap(), Hi = new WeakMap(), Ls = new WeakMap(), gn = new WeakMap(), po = new WeakMap(), ks = new WeakMap(), Vi = new WeakMap(), ur = new WeakMap(), cr = new WeakMap(), Br = new WeakMap(), vo = new WeakMap(), mo = new WeakMap(), _o = new WeakMap(), kl = new WeakSet(), Vf = function(e) {
20544
20544
  const r = /([^\d]+)\d+\.(\w+)/.exec(e[0]);
20545
20545
  if (!r)
20546
20546
  return [];
@@ -20548,9 +20548,9 @@ Nl = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(),
20548
20548
  return e.sort(
20549
20549
  (D, U) => int(D.slice(N, k)) > int(U.slice(N, k)) ? 1 : -1
20550
20550
  );
20551
- }, kl = new WeakSet(), Vf = function(e, r, N) {
20551
+ }, Dl = new WeakSet(), zf = function(e, r, N) {
20552
20552
  var H;
20553
- if (r.data = e, r.extension === "bin" && (e instanceof HTMLImageElement ? (r.texture = Texture.fromLoader(e, r.url, r.name), r.type = LoaderResource.TYPE.IMAGE) : e instanceof HTMLVideoElement && (e.volume = G(Ft, gn), Ft.hFn2VElm[r.name] = tt(H = Ft, _o, Lc).call(H, e), r.type = LoaderResource.TYPE.VIDEO)), r.extension !== "json") {
20553
+ if (r.data = e, r.extension === "bin" && (e instanceof HTMLImageElement ? (r.texture = Texture.fromLoader(e, r.url, r.name), r.type = LoaderResource.TYPE.IMAGE) : e instanceof HTMLVideoElement && (e.volume = G(Ft, gn), Ft.hFn2VElm[r.name] = tt(H = Ft, go, kc).call(H, e), r.type = LoaderResource.TYPE.VIDEO)), r.extension !== "json") {
20554
20554
  N();
20555
20555
  return;
20556
20556
  }
@@ -20581,44 +20581,44 @@ Nl = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(),
20581
20581
  }
20582
20582
  N();
20583
20583
  });
20584
- }, _o = new WeakSet(), Lc = function(e) {
20585
- return G(Ft, Ns).getVal("const.sn.needClick2Play") && (DebugMng.trace_beforeNew(`[lay系] ${DebugMng.strPos()}未クリック状態で動画を自動再生します。音声はミュートされます`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
20586
- }, Dl = new WeakSet(), zf = function(e, r) {
20584
+ }, go = new WeakSet(), kc = function(e) {
20585
+ return G(Ft, Ls).getVal("const.sn.needClick2Play") && (DebugMng.trace_beforeNew(`[lay系] ${DebugMng.strPos()}未クリック状態で動画を自動再生します。音声はミュートされます`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
20586
+ }, Bl = new WeakSet(), Xf = function(e, r) {
20587
20587
  const N = Ft.hFn2ResAniSpr[e];
20588
20588
  if (N) {
20589
20589
  const k = new AnimatedSprite(N.aTex);
20590
20590
  return k.animationSpeed = N.meta.animationSpeed ?? 1, k.play(), k;
20591
20591
  }
20592
20592
  return e in TextureCache ? Sprite.from(e) : e in Ft.hFn2VElm ? Sprite.from(Ft.hFn2VElm[e]) : e in r ? new Sprite(r[e].texture) : new Sprite();
20593
- }, ks = new WeakSet(), $h = function(e) {
20593
+ }, Ds = new WeakSet(), jh = function(e) {
20594
20594
  const r = Ft.hFn2VElm[e];
20595
20595
  r && (delete Ft.hFn2VElm[e], r.pause(), r.currentTime = r.duration);
20596
- }, Ds = new WeakMap(), Ri = new WeakMap(), Bs = new WeakMap(), Bl = new WeakMap(), yn = new WeakMap(), go = new WeakMap(), Z(GrpLayer, Ll), Z(GrpLayer, kl), Z(GrpLayer, _o), Z(GrpLayer, Dl), Z(GrpLayer, ks), Z(GrpLayer, Nl, new EventListenerCtn()), Z(GrpLayer, Dr, {}), Z(GrpLayer, lr, void 0), Z(GrpLayer, mn, void 0), Z(GrpLayer, _n, void 0), Z(GrpLayer, Hi, void 0), Z(GrpLayer, Ns, void 0), Z(GrpLayer, gn, 1), Z(GrpLayer, fo, 1), Z(GrpLayer, Ls, void 0), gt(GrpLayer, "hFn2ResAniSpr", {}), Z(GrpLayer, mo, (e, r, N) => {
20596
+ }, Bs = new WeakMap(), Ri = new WeakMap(), Fs = new WeakMap(), Fl = new WeakMap(), yn = new WeakMap(), yo = new WeakMap(), Z(GrpLayer, kl), Z(GrpLayer, Dl), Z(GrpLayer, go), Z(GrpLayer, Bl), Z(GrpLayer, Ds), Z(GrpLayer, Ll, new EventListenerCtn()), Z(GrpLayer, Dr, {}), Z(GrpLayer, lr, void 0), Z(GrpLayer, mn, void 0), Z(GrpLayer, _n, void 0), Z(GrpLayer, Hi, void 0), Z(GrpLayer, Ls, void 0), Z(GrpLayer, gn, 1), Z(GrpLayer, po, 1), Z(GrpLayer, ks, void 0), gt(GrpLayer, "hFn2ResAniSpr", {}), Z(GrpLayer, _o, (e, r, N) => {
20597
20597
  var k, D;
20598
20598
  switch (r.type) {
20599
20599
  case LoaderResource.TYPE.JSON:
20600
20600
  const U = r.spritesheet._frameKeys;
20601
- tt(k = Ft, Ll, Hf).call(k, U), Ft.hFn2ResAniSpr[r.name] = {
20601
+ tt(k = Ft, kl, Vf).call(k, U), Ft.hFn2ResAniSpr[r.name] = {
20602
20602
  aTex: U.map((H) => Texture.from(H)),
20603
20603
  meta: r.data.meta
20604
20604
  };
20605
20605
  break;
20606
20606
  case LoaderResource.TYPE.VIDEO:
20607
20607
  const $ = r.data;
20608
- $.volume = G(Ft, gn), Ft.hFn2VElm[r.name] = tt(D = Ft, _o, Lc).call(D, $);
20608
+ $.volume = G(Ft, gn), Ft.hFn2VElm[r.name] = tt(D = Ft, go, kc).call(D, $);
20609
20609
  }
20610
20610
  N();
20611
- }), gt(GrpLayer, "hFn2VElm", {}), Z(GrpLayer, Bl, /\?([^?]+)$/), Z(GrpLayer, yn, {}), Z(GrpLayer, go, {});
20612
- var Fs, yo, bn, Zt, zi, fr, Fl, oi, Fr, Dt, _i, Ve, ze, Us, jh, Mi, dr, bo, Gs, Ul, Xf, xn, $s, Ur, En, Sn, Tn, js, xo, Gr, Eo, kc, pr, So, vr, Xi, Hs, To, Dc, $r, wn, wo, Bc, Ke;
20611
+ }), gt(GrpLayer, "hFn2VElm", {}), Z(GrpLayer, Fl, /\?([^?]+)$/), Z(GrpLayer, yn, {}), Z(GrpLayer, yo, {});
20612
+ var Us, bo, bn, Zt, zi, fr, Ul, oi, Fr, Dt, _i, Ve, ze, Gs, Hh, Mi, dr, xo, $s, Gl, Yf, xn, js, Ur, En, Sn, Tn, Hs, Eo, Gr, So, Dc, pr, To, vr, Xi, Vs, wo, Bc, $r, wn, Po, Fc, Ke;
20613
20613
  const Vt = class extends Container {
20614
20614
  constructor(e, r, N) {
20615
20615
  super();
20616
- Z(this, Us);
20617
- Z(this, Ul);
20618
- Z(this, Eo);
20616
+ Z(this, Gs);
20617
+ Z(this, Gl);
20618
+ Z(this, So);
20619
20619
  // 「g」などで下が欠ける問題対策
20620
- Z(this, To);
20621
20620
  Z(this, wo);
20621
+ Z(this, Po);
20622
20622
  Z(this, Zt, document.createElement("span"));
20623
20623
  // サンプリング元
20624
20624
  Z(this, zi, new Container());
@@ -20645,22 +20645,22 @@ const Vt = class extends Container {
20645
20645
  Z(this, ze, 0);
20646
20646
  Z(this, Mi, 0);
20647
20647
  Z(this, dr, !1);
20648
- Z(this, bo, 0);
20649
- Z(this, Gs, 0);
20648
+ Z(this, xo, 0);
20649
+ Z(this, $s, 0);
20650
20650
  Z(this, xn, void 0);
20651
20651
  // 文字にかけるフィルター
20652
- Z(this, $s, []);
20652
+ Z(this, js, []);
20653
20653
  Z(this, Ur, []);
20654
20654
  Z(this, En, 0);
20655
20655
  Z(this, Gr, () => !1);
20656
- Z(this, Hs, 0);
20656
+ Z(this, Vs, 0);
20657
20657
  Z(this, $r, "Quadratic.Out");
20658
20658
  Z(this, wn, "Quadratic.Out");
20659
20659
  Z(this, Ke, void 0);
20660
- this.spLay = e, this.canFocus = r, this.sys = N, G(this, Zt).classList.add("sn_tx"), G(this, Zt).style.position = "absolute", G(Vt, yo).view.parentElement.appendChild(G(this, Zt)), this.addChild(G(this, zi)), this.addChild(G(this, fr)), G(this, fr).name = "grpDbgMasume", G(this, oi).adopt(G(this, Fr));
20660
+ this.spLay = e, this.canFocus = r, this.sys = N, G(this, Zt).classList.add("sn_tx"), G(this, Zt).style.position = "absolute", G(Vt, bo).view.parentElement.appendChild(G(this, Zt)), this.addChild(G(this, zi)), this.addChild(G(this, fr)), G(this, fr).name = "grpDbgMasume", G(this, oi).adopt(G(this, Fr));
20661
20661
  }
20662
20662
  static init(e, r) {
20663
- Q(Vt, Fs, e), Q(Vt, yo, r), Q(Vt, Sn, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), Q(Vt, Tn, /[[({〈「『【〔“〝]/), Q(Vt, js, /[─‥…]/);
20663
+ Q(Vt, Us, e), Q(Vt, bo, r), Q(Vt, Sn, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), Q(Vt, Tn, /[[({〈「『【〔“〝]/), Q(Vt, Hs, /[─‥…]/);
20664
20664
  }
20665
20665
  static setEvtMng(e) {
20666
20666
  Q(Vt, bn, e);
@@ -20677,7 +20677,7 @@ const Vt = class extends Container {
20677
20677
  const k = N.style.length;
20678
20678
  for (let D = 0; D < k; ++D) {
20679
20679
  const U = N.style[D];
20680
- if (U in G(Vt, Fl)) {
20680
+ if (U in G(Vt, Ul)) {
20681
20681
  DebugMng.myTrace(`${U}は指定できません`, "W");
20682
20682
  continue;
20683
20683
  }
@@ -20688,12 +20688,12 @@ const Vt = class extends Container {
20688
20688
  G(this, Zt).style.cssText = "";
20689
20689
  else
20690
20690
  "alpha" in e && (r.opacity = String(this.spLay.alpha));
20691
- if ("width" in e && (r.width = (e.width ?? "0") + "px"), "height" in e && (r.height = (e.height ?? "0") + "px"), "pl" in e && (r.paddingLeft = (e.pl ?? "0") + "px"), "pr" in e && (r.paddingRight = (e.pr ?? "0") + "px"), "pt" in e && (r.paddingTop = (e.pt ?? "0") + "px"), "pb" in e && (r.paddingBottom = (e.pb ?? "0") + "px"), "kinsoku_sol" in e && Q(Vt, Sn, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && Q(Vt, Tn, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && Q(Vt, js, new RegExp(`[${e.kinsoku_dns}]`)), tt(this, Us, jh).call(this), G(this, oi).sethArg(e), Q(this, Mi, this.spLay.position.x), r.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), r.display = this.spLay.visible ? "inline" : "none", r.textShadow = e.filter ?? r.textShadow ?? "", Q(this, _i, argChk_Boolean(e, "break_fixed", G(this, _i))), Q(this, Ve, argChk_Num(e, "break_fixed_left", G(this, Ve))), Q(this, ze, argChk_Num(e, "break_fixed_top", G(this, ze))), ":redraw" in e && G(this, En) > 0) {
20691
+ if ("width" in e && (r.width = (e.width ?? "0") + "px"), "height" in e && (r.height = (e.height ?? "0") + "px"), "pl" in e && (r.paddingLeft = (e.pl ?? "0") + "px"), "pr" in e && (r.paddingRight = (e.pr ?? "0") + "px"), "pt" in e && (r.paddingTop = (e.pt ?? "0") + "px"), "pb" in e && (r.paddingBottom = (e.pb ?? "0") + "px"), "kinsoku_sol" in e && Q(Vt, Sn, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && Q(Vt, Tn, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && Q(Vt, Hs, new RegExp(`[${e.kinsoku_dns}]`)), tt(this, Gs, Hh).call(this), G(this, oi).sethArg(e), Q(this, Mi, this.spLay.position.x), r.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), r.display = this.spLay.visible ? "inline" : "none", r.textShadow = e.filter ?? r.textShadow ?? "", Q(this, _i, argChk_Boolean(e, "break_fixed", G(this, _i))), Q(this, Ve, argChk_Num(e, "break_fixed_left", G(this, Ve))), Q(this, ze, argChk_Num(e, "break_fixed_top", G(this, ze))), ":redraw" in e && G(this, En) > 0) {
20692
20692
  const N = [
20693
20693
  G(this, Zt).innerHTML.replaceAll(/(animation-delay: )\d+ms/g, "$10ms"),
20694
20694
  `<span class='sn_ch' data-add='{"ch_in_style":"default"}'> </span>`
20695
20695
  ];
20696
- tt(this, wo, Bc).call(this), this.goTxt(N, !0);
20696
+ tt(this, Po, Fc).call(this), this.goTxt(N, !0);
20697
20697
  }
20698
20698
  }
20699
20699
  cvsResize() {
@@ -20720,19 +20720,19 @@ const Vt = class extends Container {
20720
20720
  G(Vt, Xi).visible = !1;
20721
20721
  let N = G(this, Ur).length, k = "";
20722
20722
  if (N === 0) {
20723
- if (G(Vt, Fs).oCfg.debug.masume && (CmnLib.debugLog && console.log(`🍌 masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${G(this, Dt).pad_left} pr:${G(this, Dt).pad_right} pt:${G(this, Dt).pad_top} pb:${G(this, Dt).pad_bottom} w:${G(this, Dt).$width} h:${G(this, Dt).$height}`), G(this, fr).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-G(this, Dt).pad_left, -G(this, Dt).pad_top, G(this, Dt).$width, G(this, Dt).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
20723
+ if (G(Vt, Us).oCfg.debug.masume && (CmnLib.debugLog && console.log(`🍌 masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${G(this, Dt).pad_left} pr:${G(this, Dt).pad_right} pt:${G(this, Dt).pad_top} pb:${G(this, Dt).pad_bottom} w:${G(this, Dt).$width} h:${G(this, Dt).$height}`), G(this, fr).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-G(this, Dt).pad_left, -G(this, Dt).pad_top, G(this, Dt).$width, G(this, Dt).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
20724
20724
  0,
20725
20725
  0,
20726
20726
  G(this, Dt).$width - G(this, Dt).pad_left - G(this, Dt).pad_right,
20727
20727
  G(this, Dt).$height - G(this, Dt).pad_top - G(this, Dt).pad_bottom
20728
- ).endFill()), G(this, Zt).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "") + G(Vt, xo), !G(this, _i)) {
20728
+ ).endFill()), G(this, Zt).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "") + G(Vt, Eo), !G(this, _i)) {
20729
20729
  const ot = globalThis.getComputedStyle(G(this, Zt)), nt = parseFloat(ot.fontSize);
20730
20730
  G(this, dr) ? (Q(this, Ve, (G(this, Dt).$width - G(this, Dt).pad_left - G(this, Dt).pad_right - nt * 1.5) * this.sys.cvsScale), Q(this, ze, 0)) : (Q(this, Ve, 0), Q(this, ze, nt / 2 * this.sys.cvsScale));
20731
20731
  }
20732
20732
  } else
20733
20733
  k = G(this, Zt).innerHTML, G(this, Zt).querySelectorAll(":scope > br").forEach((ot) => G(this, Zt).removeChild(ot)), G(this, Zt).insertAdjacentHTML(
20734
20734
  "beforeend",
20735
- e.slice(G(this, En)).join("").replaceAll(/[\n\t]/g, "") + G(Vt, xo)
20735
+ e.slice(G(this, En)).join("").replaceAll(/[\n\t]/g, "") + G(Vt, Eo)
20736
20736
  // 末尾改行削除挙動対策
20737
20737
  ), --N, (it = G(this, Zt).querySelector(".sn_ch_last")) == null || it.remove();
20738
20738
  Q(this, En, e.length);
@@ -20743,7 +20743,7 @@ const Vt = class extends Container {
20743
20743
  ot.left - $,
20744
20744
  ot.top - H,
20745
20745
  ot.width,
20746
- ot.height + ("gjqy".includes(nt) ? G(this, Hs) : 0)
20746
+ ot.height + ("gjqy".includes(nt) ? G(this, Vs) : 0)
20747
20747
  );
20748
20748
  else {
20749
20749
  const ot = this.sys.ofsPadLeft_Dom2PIXI + U.left * (1 - D), nt = this.sys.ofsPadTop_Dom2PIXI + U.top * (1 - D);
@@ -20751,12 +20751,12 @@ const Vt = class extends Container {
20751
20751
  (lt.left - ot) / D - $,
20752
20752
  (lt.top - nt) / D - H,
20753
20753
  lt.width / D,
20754
- (lt.height + ("gjqy".includes(ft) ? G(this, Hs) : 0)) / D
20754
+ (lt.height + ("gjqy".includes(ft) ? G(this, Vs) : 0)) / D
20755
20755
  );
20756
20756
  }
20757
20757
  let X = 0, z = 2, Y = !1;
20758
20758
  do {
20759
- const ot = Q(this, Ur, tt(this, To, Dc).call(this, G(this, Zt), V));
20759
+ const ot = Q(this, Ur, tt(this, wo, Bc).call(this, G(this, Zt), V));
20760
20760
  if (X = ot.length, !Y && (X < 2 || N === X)) {
20761
20761
  N > 0 && N === X && (G(this, Zt).innerHTML = k.replaceAll('class="sn_ch"', 'class="sn_ch sn_ch_in_default"'));
20762
20762
  break;
@@ -20783,7 +20783,7 @@ const Vt = class extends Container {
20783
20783
  }
20784
20784
  nt = -1 / 0;
20785
20785
  const Mt = z;
20786
- if (G(Vt, js).test(Pt) && Pt === lt.ch)
20786
+ if (G(Vt, Hs).test(Pt) && Pt === lt.ch)
20787
20787
  z = pt;
20788
20788
  else {
20789
20789
  if (G(Vt, Tn).test(Pt))
@@ -20810,7 +20810,7 @@ const Vt = class extends Container {
20810
20810
  }
20811
20811
  } while (X < 0);
20812
20812
  const q = CmnLib.debugLog ? (ot, nt) => console.log(`🍌 masume ch:${ot.ch} x:${nt.x} y:${nt.y} w:${nt.width} h:${nt.height}`) : () => {
20813
- }, W = G(Vt, Fs).oCfg.debug.masume ? (ot, nt) => {
20813
+ }, W = G(Vt, Us).oCfg.debug.masume ? (ot, nt) => {
20814
20814
  q(ot, nt), G(this, fr).beginFill(6737151, 0.5).lineStyle(2, 16724736, 1).drawRect(nt.x, nt.y, nt.width, nt.height).endFill();
20815
20815
  } : () => {
20816
20816
  }, K = CmnTween.ease(G(this, $r));
@@ -20819,14 +20819,14 @@ const Vt = class extends Container {
20819
20819
  if (W(nt, lt), nt.elm.dataset.cmd === "grp") {
20820
20820
  const Pt = new Container();
20821
20821
  G(this, zi).addChild(Pt), GrpLayer.csv2Sprites(ft.pic, Pt, (Mt) => {
20822
- tt(this, Eo, kc).call(this, Pt, ft, pt, lt, K, Et ?? {}), Pt.parent || Pt.removeChild(Mt);
20822
+ tt(this, So, Dc).call(this, Pt, ft, pt, lt, K, Et ?? {}), Pt.parent || Pt.removeChild(Mt);
20823
20823
  });
20824
20824
  }
20825
20825
  if (nt.elm.dataset.lnk) {
20826
20826
  const Pt = nt.elm.parentElement.closest("[data-arg]"), Mt = JSON.parse(Pt.dataset.arg ?? "{}");
20827
20827
  Mt.key = `lnk=[${ot}] ` + this.name;
20828
20828
  const xt = new Sprite();
20829
- tt(this, Eo, kc).call(this, xt, Mt, pt, lt, K, Et ?? {});
20829
+ tt(this, So, Dc).call(this, xt, Mt, pt, lt, K, Et ?? {});
20830
20830
  const yt = Mt.style ?? "", Rt = yt + (Mt.style_hover ?? ""), jt = yt + (Mt.style_clicked ?? ""), It = Mt.r_style ?? "", St = It + (Mt.r_style_hover ?? ""), bt = It + (Mt.r_style_clicked ?? ""), Ut = Pt.querySelectorAll("rt");
20831
20831
  Ut.forEach((ut) => ut.dataset.st_r_bk = ut.style.cssText);
20832
20832
  const Gt = Pt.style.cssText, Bt = (ut, qt) => {
@@ -20865,9 +20865,9 @@ const Vt = class extends Container {
20865
20865
  }
20866
20866
  skipChIn() {
20867
20867
  let e = G(this, Gr).call(this);
20868
- for (const r of G(this, $s))
20868
+ for (const r of G(this, js))
20869
20869
  r.tw && (r.tw.stop().end(), e = !0);
20870
- return Q(this, $s, []), e;
20870
+ return Q(this, js, []), e;
20871
20871
  }
20872
20872
  static initChStyle() {
20873
20873
  Q(Vt, pr, /* @__PURE__ */ Object.create(null)), Q(Vt, vr, /* @__PURE__ */ Object.create(null));
@@ -20879,7 +20879,7 @@ const Vt = class extends Container {
20879
20879
  const { name: r } = e;
20880
20880
  if (!r)
20881
20881
  throw "nameは必須です";
20882
- if (G(Vt, So).test(r))
20882
+ if (G(Vt, To).test(r))
20883
20883
  throw `name【${r}】に使えない文字が含まれます`;
20884
20884
  if (r in G(Vt, pr))
20885
20885
  throw `name【${r}】はすでにあります`;
@@ -20914,7 +20914,7 @@ const Vt = class extends Container {
20914
20914
  const { name: r } = e;
20915
20915
  if (!r)
20916
20916
  throw "nameは必須です";
20917
- if (G(Vt, So).test(r))
20917
+ if (G(Vt, To).test(r))
20918
20918
  throw `name【${r}】に使えない文字が含まれます`;
20919
20919
  if (r in G(Vt, vr))
20920
20920
  throw `name【${r}】はすでにあります`;
@@ -20954,9 +20954,9 @@ const Vt = class extends Container {
20954
20954
  }
20955
20955
  reNew() {
20956
20956
  var r;
20957
- tt(this, wo, Bc).call(this);
20957
+ tt(this, Po, Fc).call(this);
20958
20958
  const e = new Vt(this.spLay, () => this.canFocus(), this.sys);
20959
- return Q(e, Dt, G(this, Dt)), G(e, Zt).style.cssText = G(this, Zt).style.cssText, Q(e, Mi, G(this, Mi)), e.name = this.name, tt(r = e, Us, jh).call(r), G(e, oi).sethArg(G(this, oi).gethArg()), Q(e, xn, G(this, xn)), Q(e, $r, G(this, $r)), Q(e, wn, G(this, wn)), Q(e, _i, G(this, _i)), Q(e, Ve, G(this, Ve)), Q(e, ze, G(this, ze)), this.destroy(), e;
20959
+ return Q(e, Dt, G(this, Dt)), G(e, Zt).style.cssText = G(this, Zt).style.cssText, Q(e, Mi, G(this, Mi)), e.name = this.name, tt(r = e, Gs, Hh).call(r), G(e, oi).sethArg(G(this, oi).gethArg()), Q(e, xn, G(this, xn)), Q(e, $r, G(this, $r)), Q(e, wn, G(this, wn)), Q(e, _i, G(this, _i)), Q(e, Ve, G(this, Ve)), Q(e, ze, G(this, ze)), this.destroy(), e;
20960
20960
  }
20961
20961
  record() {
20962
20962
  return {
@@ -20973,11 +20973,11 @@ const Vt = class extends Container {
20973
20973
  };
20974
20974
  }
20975
20975
  playback(e) {
20976
- Q(this, Dt, e.infTL), this.position.set(G(this, Dt).pad_left, G(this, Dt).pad_top), G(this, Zt).style.cssText = e.cssText, Q(this, Mi, e.left), tt(this, Us, jh).call(this), G(this, oi).sethArg(e.idc_hArg), Q(this, xn, e.ch_filter), Q(this, $r, e.fi_easing), Q(this, wn, e.fo_easing), Q(this, _i, e.break_fixed ?? !1), Q(this, Ve, e.break_fixed_left ?? 0), Q(this, ze, e.break_fixed_top ?? 0);
20976
+ Q(this, Dt, e.infTL), this.position.set(G(this, Dt).pad_left, G(this, Dt).pad_top), G(this, Zt).style.cssText = e.cssText, Q(this, Mi, e.left), tt(this, Gs, Hh).call(this), G(this, oi).sethArg(e.idc_hArg), Q(this, xn, e.ch_filter), Q(this, $r, e.fi_easing), Q(this, wn, e.fo_easing), Q(this, _i, e.break_fixed ?? !1), Q(this, Ve, e.break_fixed_left ?? 0), Q(this, ze, e.break_fixed_top ?? 0);
20977
20977
  }
20978
20978
  snapshot(e, r) {
20979
- tt(this, Ul, Xf).call(this, (N) => {
20980
- Q(this, Ke, new Sprite(N)), G(this, dr) && (G(this, Ke).x += CmnLib.stageW - (G(this, Mi) + G(this, Dt).$width)), G(this, Ke).y -= G(this, Gs), G(this, Ke).texture.frame = new Rectangle(
20979
+ tt(this, Gl, Yf).call(this, (N) => {
20980
+ Q(this, Ke, new Sprite(N)), G(this, dr) && (G(this, Ke).x += CmnLib.stageW - (G(this, Mi) + G(this, Dt).$width)), G(this, Ke).y -= G(this, $s), G(this, Ke).texture.frame = new Rectangle(
20981
20981
  0,
20982
20982
  0,
20983
20983
  Math.min(G(this, Ke).width, G(this, Dt).$width - G(this, Mi)),
@@ -21009,12 +21009,12 @@ const Vt = class extends Container {
21009
21009
  }
21010
21010
  };
21011
21011
  let TxtStage = Vt;
21012
- Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(), zi = new WeakMap(), fr = new WeakMap(), Fl = new WeakMap(), oi = new WeakMap(), Fr = new WeakMap(), Dt = new WeakMap(), _i = new WeakMap(), Ve = new WeakMap(), ze = new WeakMap(), Us = new WeakSet(), jh = function() {
21012
+ Us = new WeakMap(), bo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(), zi = new WeakMap(), fr = new WeakMap(), Ul = new WeakMap(), oi = new WeakMap(), Fr = new WeakMap(), Dt = new WeakMap(), _i = new WeakMap(), Ve = new WeakMap(), ze = new WeakMap(), Gs = new WeakSet(), Hh = function() {
21013
21013
  const e = G(this, Zt).style, r = parseFloat(e.fontSize || "0");
21014
- G(this, Dt).fontsize = r, G(this, Dt).pad_left = parseFloat(e.paddingLeft || "0"), G(this, Dt).pad_right = parseFloat(e.paddingRight || "0"), G(this, Dt).pad_top = parseFloat(e.paddingTop || "0"), G(this, Dt).pad_bottom = parseFloat(e.paddingBottom || "0"), G(this, Dt).$width = parseFloat(e.width || "0"), G(this, Dt).$height = parseFloat(e.height || "0"), this.position.set(G(this, Dt).pad_left, G(this, Dt).pad_top), Q(this, dr, e.writingMode === "vertical-rl"), Q(this, bo, 0), Q(this, Gs, 0);
21014
+ G(this, Dt).fontsize = r, G(this, Dt).pad_left = parseFloat(e.paddingLeft || "0"), G(this, Dt).pad_right = parseFloat(e.paddingRight || "0"), G(this, Dt).pad_top = parseFloat(e.paddingTop || "0"), G(this, Dt).pad_bottom = parseFloat(e.paddingBottom || "0"), G(this, Dt).$width = parseFloat(e.width || "0"), G(this, Dt).$height = parseFloat(e.height || "0"), this.position.set(G(this, Dt).pad_left, G(this, Dt).pad_top), Q(this, dr, e.writingMode === "vertical-rl"), Q(this, xo, 0), Q(this, $s, 0);
21015
21015
  const N = e.lineHeight ?? "0";
21016
- Q(this, Hs, G(this, dr) ? 0 : (N.slice(-2) === "px" ? parseFloat(N) : r * parseFloat(N) - r) / 2);
21017
- }, Mi = new WeakMap(), dr = new WeakMap(), bo = new WeakMap(), Gs = new WeakMap(), Ul = new WeakSet(), Xf = function(e, r = !0) {
21016
+ Q(this, Vs, G(this, dr) ? 0 : (N.slice(-2) === "px" ? parseFloat(N) : r * parseFloat(N) - r) / 2);
21017
+ }, Mi = new WeakMap(), dr = new WeakMap(), xo = new WeakMap(), $s = new WeakMap(), Gl = new WeakSet(), Yf = function(e, r = !0) {
21018
21018
  const N = {
21019
21019
  escape: (K) => K.replaceAll(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
21020
21020
  mimeType: (K) => {
@@ -21177,7 +21177,7 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
21177
21177
  }
21178
21178
  Promise.resolve(G(this, Zt)).then((K) => {
21179
21179
  const J = K.cloneNode(!0);
21180
- return J.style.padding = "0px", J.style.paddingRight = G(this, bo) + "px", J.style.paddingTop = G(this, Gs) + "px", J.style.left = "0px", J.style.top = "0px", J.style.width = G(this, Dt).$width - G(this, Dt).pad_left - G(this, Dt).pad_right + "px", J.style.height = G(this, Dt).$height - G(this, Dt).pad_top - G(this, Dt).pad_bottom + "px", G(this, Zt).hidden = r, J;
21180
+ return J.style.padding = "0px", J.style.paddingRight = G(this, xo) + "px", J.style.paddingTop = G(this, $s) + "px", J.style.left = "0px", J.style.top = "0px", J.style.width = G(this, Dt).$width - G(this, Dt).pad_left - G(this, Dt).pad_right + "px", J.style.height = G(this, Dt).$height - G(this, Dt).pad_top - G(this, Dt).pad_bottom + "px", G(this, Zt).hidden = r, J;
21181
21181
  }).then($).then((K) => {
21182
21182
  K.setAttribute("xmlns", "http://www.w3.org/1999/xhtml");
21183
21183
  const J = new Image();
@@ -21194,7 +21194,7 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
21194
21194
  });
21195
21195
  });
21196
21196
  }).catch((K) => DebugMng.myTrace(`goTxt() = ${K}`));
21197
- }, xn = new WeakMap(), $s = new WeakMap(), Ur = new WeakMap(), En = new WeakMap(), Sn = new WeakMap(), Tn = new WeakMap(), js = new WeakMap(), xo = new WeakMap(), Gr = new WeakMap(), Eo = new WeakSet(), kc = function(e, r, N, k, D, U) {
21197
+ }, xn = new WeakMap(), js = new WeakMap(), Ur = new WeakMap(), En = new WeakMap(), Sn = new WeakMap(), Tn = new WeakMap(), Hs = new WeakMap(), Eo = new WeakMap(), Gr = new WeakMap(), So = new WeakSet(), Dc = function(e, r, N, k, D, U) {
21198
21198
  e.alpha = 0, r.x && (k.x = r.x.at(0) === "=" ? k.x + parseInt(r.x.slice(1)) : parseInt(r.x)), r.y && (k.y = r.y.at(0) === "=" ? k.y + parseInt(r.y.slice(1)) : parseInt(r.y)), r.width && (k.width = parseInt(r.width)), r.height && (k.height = parseInt(r.height)), r.wait && (U.wait = parseInt(r.wait)), e.width = k.width, e.height = k.height, U.x ? e.position.set(
21199
21199
  U.x.at(0) === "=" ? k.x + e.width * U.nx : U.nx,
21200
21200
  U.y.at(0) === "=" ? k.y + e.height * U.ny : U.ny
@@ -21205,11 +21205,11 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
21205
21205
  $.tw = void 0;
21206
21206
  }).start()
21207
21207
  };
21208
- G(this, $s).push($);
21209
- }, pr = new WeakMap(), So = new WeakMap(), vr = new WeakMap(), Xi = new WeakMap(), Hs = new WeakMap(), To = new WeakSet(), Dc = function(e, r) {
21208
+ G(this, js).push($);
21209
+ }, pr = new WeakMap(), To = new WeakMap(), vr = new WeakMap(), Xi = new WeakMap(), Vs = new WeakMap(), wo = new WeakSet(), Bc = function(e, r) {
21210
21210
  const N = [];
21211
21211
  if (e.nodeType !== e.TEXT_NODE)
21212
- return Array.from(e.childNodes).map(($) => tt(this, To, Dc).call(this, $, r)).flat();
21212
+ return Array.from(e.childNodes).map(($) => tt(this, wo, Bc).call(this, $, r)).flat();
21213
21213
  const k = e.ownerDocument.createRange();
21214
21214
  k.selectNodeContents(e);
21215
21215
  let D = 0;
@@ -21224,7 +21224,7 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
21224
21224
  });
21225
21225
  }
21226
21226
  return k.detach(), N;
21227
- }, $r = new WeakMap(), wn = new WeakMap(), wo = new WeakSet(), Bc = function() {
21227
+ }, $r = new WeakMap(), wn = new WeakMap(), Po = new WeakSet(), Fc = function() {
21228
21228
  var D;
21229
21229
  G(this, fr).clear(), Q(this, Ur, []), Q(this, En, 0), this.skipChIn();
21230
21230
  const e = G(this, Zt).cloneNode(!0);
@@ -21257,7 +21257,7 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
21257
21257
  U instanceof Container && G(Vt, bn).unButton(U), U.destroy();
21258
21258
  };
21259
21259
  N === 0 ? (G(this, Zt).textContent = "", k()) : (D = r.lastElementChild) == null || D.addEventListener("animationend", k, { once: !0, passive: !0 }), Q(this, Zt, e);
21260
- }, Ke = new WeakMap(), Z(TxtStage, Fs, void 0), Z(TxtStage, yo, void 0), Z(TxtStage, bn, void 0), Z(TxtStage, Fl, {
21260
+ }, Ke = new WeakMap(), Z(TxtStage, Us, void 0), Z(TxtStage, bo, void 0), Z(TxtStage, bn, void 0), Z(TxtStage, Ul, {
21261
21261
  "background-color": 0,
21262
21262
  "border-bottom-width": 0,
21263
21263
  "border-left-width": 0,
@@ -21267,8 +21267,8 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
21267
21267
  "margin-left": 0,
21268
21268
  "margin-right": 0,
21269
21269
  "margin-top": 0
21270
- }), Z(TxtStage, Sn, void 0), Z(TxtStage, Tn, void 0), Z(TxtStage, js, void 0), Z(TxtStage, xo, "<span class='sn_ch sn_ch_last'> </span>"), Z(TxtStage, pr, /* @__PURE__ */ Object.create(null)), Z(TxtStage, So, /[\s\.,]/), Z(TxtStage, vr, /* @__PURE__ */ Object.create(null)), Z(TxtStage, Xi, new Container());
21271
- var Pn, Yi, Po;
21270
+ }), Z(TxtStage, Sn, void 0), Z(TxtStage, Tn, void 0), Z(TxtStage, Hs, void 0), Z(TxtStage, Eo, "<span class='sn_ch sn_ch_last'> </span>"), Z(TxtStage, pr, /* @__PURE__ */ Object.create(null)), Z(TxtStage, To, /[\s\.,]/), Z(TxtStage, vr, /* @__PURE__ */ Object.create(null)), Z(TxtStage, Xi, new Container());
21271
+ var Pn, Yi, Co;
21272
21272
  const Ar = class {
21273
21273
  constructor() {
21274
21274
  Z(this, Yi, () => {
@@ -21287,13 +21287,13 @@ const Ar = class {
21287
21287
  Q(this, Yi, t);
21288
21288
  }
21289
21289
  static setEscape(t) {
21290
- Q(Ar, Po, new RegExp(
21290
+ Q(Ar, Co, new RegExp(
21291
21291
  `${t ? `(?<ce>\\${t}\\S)|` : ""}|(?<str>[^《\\n]+)《(?<ruby>[^》\\n]+)》|(?:(?<kan>[⺀-⿟々〇〻㐀-鿿豈-﫿]+[ぁ-ヿ]*|[^ |《》\\n])《(?<kan_ruby>[^》\\n]+)》)|(?<txt>[\uD800-\uDBFF][\uDC00-\uDFFF]|[^|《》]+?|.)`,
21292
21292
  "gs"
21293
21293
  ));
21294
21294
  }
21295
21295
  putTxt(t) {
21296
- for (const { groups: e } of t.matchAll(G(Ar, Po))) {
21296
+ for (const { groups: e } of t.matchAll(G(Ar, Co))) {
21297
21297
  const { ruby: r, kan_ruby: N, kan: k, ce: D, txt: U = "", str: $ } = e;
21298
21298
  if (r) {
21299
21299
  this.putTxtRb(decodeURIComponent($), r);
@@ -21333,7 +21333,7 @@ const Ar = class {
21333
21333
  }
21334
21334
  };
21335
21335
  let RubySpliter = Ar;
21336
- Pn = new WeakMap(), Yi = new WeakMap(), Po = new WeakMap(), Z(RubySpliter, Pn, "ヽ"), /*
21336
+ Pn = new WeakMap(), Yi = new WeakMap(), Co = new WeakMap(), Z(RubySpliter, Pn, "ヽ"), /*
21337
21337
  ★Unicodeで「漢字」の正規表現 – ものかの http://tama-san.com/kanji-regex/
21338
21338
  2E80..2FDF CJK部首補助+康熙部首
21339
21339
  3005 々(漢字の踊り字)
@@ -21356,14 +21356,14 @@ Pn = new WeakMap(), Yi = new WeakMap(), Po = new WeakMap(), Z(RubySpliter, Pn, "
21356
21356
 
21357
21357
  ・Unicode文字一覧表 - instant tools https://tools.m-bsys.com/ex/unicode_table.php
21358
21358
  */
21359
- Z(RubySpliter, Po, void 0);
21360
- var Co, Oo, Ii, mr, ie, Gl, Yf, Vs, zs, $l, Wf;
21359
+ Z(RubySpliter, Co, void 0);
21360
+ var Oo, Ro, Ii, mr, ie, $l, Wf, zs, Xs, jl, qf;
21361
21361
  const an = class extends Container {
21362
21362
  constructor(e, r, N, k) {
21363
21363
  var z;
21364
21364
  super();
21365
- Z(this, Gl);
21366
21365
  Z(this, $l);
21366
+ Z(this, jl);
21367
21367
  gt(this, "getBtnBounds", () => G(this, Ii));
21368
21368
  // 文字ボタンは背景画像を含まない位置指定なので、その当たり判定用
21369
21369
  Z(this, Ii, new Rectangle());
@@ -21371,8 +21371,8 @@ const an = class extends Container {
21371
21371
  Z(this, ie, void 0);
21372
21372
  gt(this, "normal", () => {
21373
21373
  });
21374
- Z(this, Vs, () => !1);
21375
- Z(this, zs, () => {
21374
+ Z(this, zs, () => !1);
21375
+ Z(this, Xs, () => {
21376
21376
  });
21377
21377
  if (this.hArg = e, this.evtMng = r, this.resolve = N, this.canFocus = k, CmnLib.isDbg && (this.makeDesignCast = (Y) => Y(G(this, mr)), this.cvsResize = () => G(this, mr).cvsResize()), Q(this, ie, {
21378
21378
  type: "pic",
@@ -21391,12 +21391,12 @@ const an = class extends Container {
21391
21391
  b_pic: "",
21392
21392
  width: 0,
21393
21393
  height: 0
21394
- }), this.getBtnBounds = () => (G(this, Ii).x = G(this, ie).x, G(this, Ii).y = G(this, ie).y, G(this, Ii)), G(this, ie).enabled && r.button(this.hArg, this, () => this.normal(), () => G(this, Vs).call(this), () => G(this, zs).call(this)), e.pic) {
21394
+ }), this.getBtnBounds = () => (G(this, Ii).x = G(this, ie).x, G(this, Ii).y = G(this, ie).y, G(this, Ii)), G(this, ie).enabled && r.button(this.hArg, this, () => this.normal(), () => G(this, zs).call(this), () => G(this, Xs).call(this)), e.pic) {
21395
21395
  G(this, ie).type = "pic", Q(this, mr, new PicBtnDesignCast(this, e)), GrpLayer.csv2Sprites(
21396
21396
  e.pic,
21397
21397
  this,
21398
21398
  (Y) => {
21399
- tt(this, $l, Wf).call(this, Y), G(this, Ii).width = Y.width * G(this, ie).scale_x, G(this, Ii).height = Y.height * G(this, ie).scale_y;
21399
+ tt(this, jl, qf).call(this, Y), G(this, Ii).width = Y.width * G(this, ie).scale_x, G(this, Ii).height = Y.height * G(this, ie).scale_y;
21400
21400
  },
21401
21401
  (Y) => N
21402
21402
  );
@@ -21431,12 +21431,12 @@ const an = class extends Container {
21431
21431
  e.b_pic,
21432
21432
  this,
21433
21433
  (Y) => {
21434
- tt(this, Gl, Yf).call(this, Y, $), G(this, ie).width = this.width, G(this, ie).height = this.height;
21434
+ tt(this, $l, Wf).call(this, Y, $), G(this, ie).width = this.width, G(this, ie).height = this.height;
21435
21435
  },
21436
21436
  (Y) => {
21437
21437
  Layer.setBlendmode(this, e), Y && N();
21438
21438
  }
21439
- )), $.name = JSON.stringify(G(this, ie)), this.addChild($), G(this, Ii).width = $.width, G(this, Ii).height = $.height, e.b_pic || Layer.setBlendmode(this, e), G(z = an, Co).call(z, this, $), !G(this, ie).enabled) {
21439
+ )), $.name = JSON.stringify(G(this, ie)), this.addChild($), G(this, Ii).width = $.width, G(this, Ii).height = $.height, e.b_pic || Layer.setBlendmode(this, e), G(z = an, Oo).call(z, this, $), !G(this, ie).enabled) {
21440
21440
  H || N();
21441
21441
  return;
21442
21442
  }
@@ -21462,12 +21462,12 @@ const an = class extends Container {
21462
21462
  }
21463
21463
  else
21464
21464
  X.dropShadow = !1;
21465
- this.normal = () => $.style = U, Q(this, Vs, () => k() ? ($.style = V, !0) : !1), Q(this, zs, () => $.style = X), H || N();
21465
+ this.normal = () => $.style = U, Q(this, zs, () => k() ? ($.style = V, !0) : !1), Q(this, Xs, () => $.style = X), H || N();
21466
21466
  }
21467
21467
  static init(e) {
21468
- e.oCfg.debug.masume && (Q(an, Co, (r, N) => r.addChild(
21468
+ e.oCfg.debug.masume && (Q(an, Oo, (r, N) => r.addChild(
21469
21469
  new Graphics().beginFill(8926088, 0.2).lineStyle(1, 8926088, 1).drawRect(N.x, N.y, N.width, N.height).endFill()
21470
- )), Q(an, Oo, (r, N, k, D) => r.addChild(
21470
+ )), Q(an, Ro, (r, N, k, D) => r.addChild(
21471
21471
  new Graphics().beginFill(8926088, 0.2).lineStyle(1, 8926088, 1).drawRect(N.x, N.y, k, D).endFill()
21472
21472
  )));
21473
21473
  }
@@ -21485,7 +21485,7 @@ const an = class extends Container {
21485
21485
  }
21486
21486
  };
21487
21487
  let Button = an;
21488
- Co = new WeakMap(), Oo = new WeakMap(), Ii = new WeakMap(), mr = new WeakMap(), ie = new WeakMap(), Gl = new WeakSet(), Yf = function(e, r) {
21488
+ Oo = new WeakMap(), Ro = new WeakMap(), Ii = new WeakMap(), mr = new WeakMap(), ie = new WeakMap(), $l = new WeakSet(), Wf = function(e, r) {
21489
21489
  this.setChildIndex(e, 0), e.alpha = r.alpha, e.setTransform(
21490
21490
  r.x,
21491
21491
  r.y,
@@ -21497,28 +21497,28 @@ Co = new WeakMap(), Oo = new WeakMap(), Ii = new WeakMap(), mr = new WeakMap(),
21497
21497
  (e.width - r.width) / 2,
21498
21498
  (e.height - r.height) / 2
21499
21499
  ), e.name = r.name;
21500
- }, Vs = new WeakMap(), zs = new WeakMap(), $l = new WeakSet(), Wf = function(e) {
21500
+ }, zs = new WeakMap(), Xs = new WeakMap(), jl = new WeakSet(), qf = function(e) {
21501
21501
  var X;
21502
21502
  G(this, ie).alpha = e.alpha = argChk_Num(this.hArg, "alpha", e.alpha), G(this, mr).setSp(e);
21503
21503
  const r = e.width / 3, N = G(this, ie).enabled ? r : e.width, k = e.height, D = e.texture.baseTexture, U = new Texture(D, new Rectangle(0, 0, r, k)), $ = new Texture(D, new Rectangle(r, 0, r, k)), H = new Texture(D, new Rectangle(r * 2, 0, r, k)), V = () => e.texture = U;
21504
- G(this, ie).enabled && V(), this.normal = V, Q(this, Vs, () => this.canFocus() ? (e.texture = H, !0) : !1), Q(this, zs, () => e.texture = $), "width" in this.hArg ? (G(this, ie).width = uint(this.hArg.width), this.scale.x *= G(this, ie).width / N) : G(this, ie).width = N, "height" in this.hArg ? (G(this, ie).height = uint(this.hArg.height), this.scale.y *= G(this, ie).height / k) : G(this, ie).height = k, e.name = JSON.stringify(G(this, ie)), G(X = an, Oo).call(X, this, e, N, k);
21505
- }, gt(Button, "fontFamily", "'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif"), Z(Button, Co, (e, r) => {
21506
- }), Z(Button, Oo, (e, r, N, k) => {
21504
+ G(this, ie).enabled && V(), this.normal = V, Q(this, zs, () => this.canFocus() ? (e.texture = H, !0) : !1), Q(this, Xs, () => e.texture = $), "width" in this.hArg ? (G(this, ie).width = uint(this.hArg.width), this.scale.x *= G(this, ie).width / N) : G(this, ie).width = N, "height" in this.hArg ? (G(this, ie).height = uint(this.hArg.height), this.scale.y *= G(this, ie).height / k) : G(this, ie).height = k, e.name = JSON.stringify(G(this, ie)), G(X = an, Ro).call(X, this, e, N, k);
21505
+ }, gt(Button, "fontFamily", "'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif"), Z(Button, Oo, (e, r) => {
21506
+ }), Z(Button, Ro, (e, r, N, k) => {
21507
21507
  });
21508
- var Xs, Ai, Ro, Ys, Mo, Fc, Io, Uc, Ao, Cn, No, _r, On, jl, qf, gr, gi, Ni, ue, Wi, ee, Lo, qi, Hl, Ze, Rn, Oa, Mn, Ws, In, Ra, qs, ko, Gc, Do, $c, An, Nn, Ks, Bo, Zs, jr, Je, Vl, Kf, hi, Fo, Js, Hh, yr, nn, Ki, Li, yi, bi, Uo, jc, Qs, Vh, Go, Hc, Ln, kn;
21508
+ var Ys, Ai, Mo, Ws, Io, Uc, Ao, Gc, No, Cn, Lo, _r, On, Hl, Kf, gr, gi, Ni, ue, Wi, ee, ko, qi, Vl, Ze, Rn, Ra, Mn, qs, In, Ma, Ks, Do, $c, Bo, jc, An, Nn, Zs, Fo, Js, jr, Je, zl, Zf, hi, Uo, Qs, Vh, yr, nn, Ki, Li, yi, bi, Go, Hc, ta, zh, $o, Vc, Ln, kn;
21509
21509
  const Xt = class extends Layer {
21510
21510
  constructor() {
21511
21511
  super();
21512
21512
  Z(this, Rn);
21513
21513
  Z(this, In);
21514
- Z(this, ko);
21515
21514
  Z(this, Do);
21516
- Z(this, Vl);
21517
- Z(this, Js);
21518
- Z(this, yr);
21519
- Z(this, Uo);
21515
+ Z(this, Bo);
21516
+ Z(this, zl);
21520
21517
  Z(this, Qs);
21518
+ Z(this, yr);
21521
21519
  Z(this, Go);
21520
+ Z(this, ta);
21521
+ Z(this, $o);
21522
21522
  // バック
21523
21523
  Z(this, gr, 0);
21524
21524
  Z(this, gi, 0);
@@ -21527,24 +21527,24 @@ const Xt = class extends Layer {
21527
21527
  Z(this, Wi, "");
21528
21528
  // 背景画像無し(=単色塗り)
21529
21529
  // 文字表示
21530
- Z(this, ee, new TxtStage(this.spLay, () => this.canFocus(), G(Xt, No)));
21531
- Z(this, Lo, new RubySpliter());
21530
+ Z(this, ee, new TxtStage(this.spLay, () => this.canFocus(), G(Xt, Lo)));
21531
+ Z(this, ko, new RubySpliter());
21532
21532
  Z(this, qi, document.createElement("span"));
21533
21533
  Z(this, Ze, new Container());
21534
21534
  Z(this, Mn, "");
21535
- Z(this, Ws, !0);
21536
- Z(this, qs, "");
21535
+ Z(this, qs, !0);
21536
+ Z(this, Ks, "");
21537
21537
  Z(this, An, "");
21538
21538
  Z(this, Nn, (e) => "");
21539
- Z(this, Ks, "");
21540
- Z(this, Bo, new RegExp("[ ]"));
21539
+ Z(this, Zs, "");
21540
+ Z(this, Fo, new RegExp("[ ]"));
21541
21541
  gt(this, "isCur", !1);
21542
21542
  Z(this, jr, () => "");
21543
21543
  Z(this, Je, "");
21544
21544
  Z(this, hi, !1);
21545
- Z(this, Fo, (e, r) => {
21545
+ Z(this, Uo, (e, r) => {
21546
21546
  var H, V, X;
21547
- G(Xt, Xs).oCfg.debug.putCh && console.log(`🖊 文字表示 text:\`${e}\` ruby:\`${r}\` name:\`${this.name_}\``);
21547
+ G(Xt, Ys).oCfg.debug.putCh && console.log(`🖊 文字表示 text:\`${e}\` ruby:\`${r}\` name:\`${this.name_}\``);
21548
21548
  const N = r.split("|");
21549
21549
  let k = "";
21550
21550
  const [D, ...U] = N, $ = U.join("|");
@@ -21555,7 +21555,7 @@ const Xt = class extends Layer {
21555
21555
  G(this, Li) ? (Q(this, Li, !1), k = "<ruby> <rt> </rt></ruby><br/>") : k = "<br/>";
21556
21556
  break;
21557
21557
  }
21558
- G(this, Li) && (Q(this, Li, !1), r === "" && (r = " ")), k = tt(this, Js, Hh).call(this, e, r, G(this, Je));
21558
+ G(this, Li) && (Q(this, Li, !1), r === "" && (r = " ")), k = tt(this, Qs, Vh).call(this, e, r, G(this, Je));
21559
21559
  break;
21560
21560
  default:
21561
21561
  switch (D) {
@@ -21567,10 +21567,10 @@ const Xt = class extends Layer {
21567
21567
  case "121":
21568
21568
  case "even":
21569
21569
  case "1ruby":
21570
- Q(this, Li, !1), Q(this, hi, !0), k = tt(this, Js, Hh).call(this, e, $, D);
21570
+ Q(this, Li, !1), Q(this, hi, !0), k = tt(this, Qs, Vh).call(this, e, $, D);
21571
21571
  break;
21572
21572
  case "gotxt":
21573
- tt(this, Qs, Vh).call(this), G(this, hi) ? (this.isCur && G(Xt, Ys).recText(
21573
+ tt(this, ta, zh).call(this), G(this, hi) ? (this.isCur && G(Xt, Ws).recText(
21574
21574
  G(this, yi).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replaceAll(/style='(anim\S+ \S+?;\s*)+/g, "style='").replaceAll(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replaceAll(/class='sn_ch .+?'/g, "class='sn_ch'").replaceAll("display: none;", "").replaceAll("class='offrec'", "style='display: none;'")
21575
21575
  // 囲んだ領域は履歴で非表示
21576
21576
  ), G(this, ee).goTxt(G(this, yi), G(this, Ki) === 0), Q(this, hi, !1), Q(this, Ki, 0)) : this.isCur && G(Xt, Cn).noticeCompTxt();
@@ -21578,11 +21578,11 @@ const Xt = class extends Layer {
21578
21578
  case "add":
21579
21579
  {
21580
21580
  const z = JSON.parse($), { style: Y = "", wait: q = null } = z, { cl: W, sty: K } = tt(this, yr, nn).call(this, !0, q);
21581
- G(this, yi).push(`<span${W} style='${K} display: inline; ${Y}'>`), delete z.style, tt(this, Uo, jc).call(this, z);
21581
+ G(this, yi).push(`<span${W} style='${K} display: inline; ${Y}'>`), delete z.style, tt(this, Go, Hc).call(this, z);
21582
21582
  }
21583
21583
  return;
21584
21584
  case "add_close":
21585
- G(this, yi).push("</span>"), tt(this, Qs, Vh).call(this);
21585
+ G(this, yi).push("</span>"), tt(this, ta, zh).call(this);
21586
21586
  return;
21587
21587
  case "grp":
21588
21588
  Q(this, hi, !0);
@@ -21622,7 +21622,7 @@ text-combine-upright: all;
21622
21622
  TxtStage.delBreak();
21623
21623
  return;
21624
21624
  case "span":
21625
- Q(this, hi, !0), tt(this, Go, Hc).call(this, JSON.parse($));
21625
+ Q(this, hi, !0), tt(this, $o, Vc).call(this, JSON.parse($));
21626
21626
  return;
21627
21627
  case "link":
21628
21628
  Q(this, hi, !0);
@@ -21630,18 +21630,18 @@ text-combine-upright: all;
21630
21630
  const z = JSON.parse($);
21631
21631
  z[":link"] = " data-lnk='@'";
21632
21632
  const { cl: Y, sty: q, curpos: W } = tt(this, yr, nn).call(this, !1, z.wait);
21633
- G(this, yi).push(`<span${Y} style='${q} display: inline; ${z.style ?? ""}' ${W} data-arg='${$}'>`), delete z.style, tt(this, Go, Hc).call(this, z);
21633
+ G(this, yi).push(`<span${Y} style='${q} display: inline; ${z.style ?? ""}' ${W} data-arg='${$}'>`), delete z.style, tt(this, $o, Vc).call(this, z);
21634
21634
  }
21635
21635
  return;
21636
21636
  case "endlink":
21637
- Q(this, hi, !0), G(this, yi).push("</span>"), tt(this, Qs, Vh).call(this);
21637
+ Q(this, hi, !0), G(this, yi).push("</span>"), tt(this, ta, zh).call(this);
21638
21638
  return;
21639
21639
  default:
21640
- Q(this, hi, !0), k = tt(this, Js, Hh).call(this, e, r, G(this, Je));
21640
+ Q(this, hi, !0), k = tt(this, Qs, Vh).call(this, e, r, G(this, Je));
21641
21641
  }
21642
21642
  break;
21643
21643
  }
21644
- G(this, yi).push(G(X = Xt, Zs).call(X, k));
21644
+ G(this, yi).push(G(X = Xt, Js).call(X, k));
21645
21645
  });
21646
21646
  Z(this, Ki, 0);
21647
21647
  Z(this, Li, !0);
@@ -21668,29 +21668,29 @@ text-combine-upright: all;
21668
21668
  b_alpha_isfixed: G(this, Ni),
21669
21669
  ffs: G(this, An),
21670
21670
  txs: G(this, ee).record(),
21671
- strNoFFS: G(this, Ks),
21671
+ strNoFFS: G(this, Zs),
21672
21672
  btns: G(this, Ze).children.map((e) => e.name)
21673
21673
  }));
21674
- this.spLay.addChild(G(this, ee)), G(this, Lo).init(G(this, Fo)), this.spLay.addChild(G(this, Ze)), G(this, Ze).name = "cntBtn";
21674
+ this.spLay.addChild(G(this, ee)), G(this, ko).init(G(this, Uo)), this.spLay.addChild(G(this, Ze)), G(this, Ze).name = "cntBtn";
21675
21675
  const e = 16;
21676
21676
  this.lay({ style: `width: ${CmnLib.stageW}px; height: ${CmnLib.stageH}px; font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif; color: white; font-size: 24px; line-height: 1.5; padding: ${e}px;`, in_style: "default", out_style: "default", back_clear: "true" });
21677
21677
  }
21678
21678
  static init(e, r, N, k, D, U) {
21679
21679
  var $, H;
21680
- Q(Xt, Xs, e), TxtStage.init(e, U), Q(Xt, Ai, N), Q(Xt, Ys, k), Q(Xt, Ro, D), N.setDoRecProc(Xt.chgDoRec), r.autowc = (V) => {
21680
+ Q(Xt, Ys, e), TxtStage.init(e, U), Q(Xt, Ai, N), Q(Xt, Ws, k), Q(Xt, Mo, D), N.setDoRecProc(Xt.chgDoRec), r.autowc = (V) => {
21681
21681
  var X;
21682
- return tt(X = Xt, jl, qf).call(X, V);
21682
+ return tt(X = Xt, Hl, Kf).call(X, V);
21683
21683
  }, r.autowc({ enabled: !1, text: "", time: 0 }), r.ch_in_style = (V) => {
21684
21684
  var X;
21685
- return tt(X = Xt, Mo, Fc).call(X, V);
21685
+ return tt(X = Xt, Io, Uc).call(X, V);
21686
21686
  }, r.ch_out_style = (V) => {
21687
21687
  var X;
21688
- return tt(X = Xt, Io, Uc).call(X, V);
21688
+ return tt(X = Xt, Ao, Gc).call(X, V);
21689
21689
  }, TxtStage.initChStyle(), initStyle(), addStyle(
21690
21690
  e.matchPath(".+", SEARCH_PATH_ARG_EXT.FONT).flatMap((V) => Object.values(V).map((X) => `
21691
21691
  @font-face {
21692
21692
  font-family: '${X}';
21693
- src: url('${G(this, Xs).searchPath(X, SEARCH_PATH_ARG_EXT.FONT)}');
21693
+ src: url('${G(this, Ys).searchPath(X, SEARCH_PATH_ARG_EXT.FONT)}');
21694
21694
  }
21695
21695
  `)).join("") + `
21696
21696
  .sn_tx {
@@ -21705,7 +21705,7 @@ text-combine-upright: all;
21705
21705
  }
21706
21706
  `
21707
21707
  // 「sn_ch」と「sn_ch_in_〜」の中身が重複しているが、これは必須
21708
- ), tt($ = Xt, Mo, Fc).call($, {
21708
+ ), tt($ = Xt, Io, Uc).call($, {
21709
21709
  name: "default",
21710
21710
  wait: 500,
21711
21711
  alpha: 0,
@@ -21716,7 +21716,7 @@ text-combine-upright: all;
21716
21716
  rotate: 0,
21717
21717
  join: !0,
21718
21718
  ease: "ease-out"
21719
- }), tt(H = Xt, Io, Uc).call(H, {
21719
+ }), tt(H = Xt, Ao, Gc).call(H, {
21720
21720
  name: "default",
21721
21721
  wait: 0,
21722
21722
  alpha: 0,
@@ -21730,13 +21730,13 @@ text-combine-upright: all;
21730
21730
  });
21731
21731
  }
21732
21732
  static setEvtMng(e, r, N) {
21733
- Q(Xt, Ao, e), Q(Xt, Cn, r), Q(Xt, No, N), TxtStage.setEvtMng(r);
21733
+ Q(Xt, No, e), Q(Xt, Cn, r), Q(Xt, Lo, N), TxtStage.setEvtMng(r);
21734
21734
  }
21735
21735
  destroy() {
21736
21736
  G(this, ue) && (this.spLay.removeChild(G(this, ue)).destroy(), Q(this, ue, void 0)), this.clearText(), G(this, ee).destroy();
21737
21737
  }
21738
21738
  static destroy() {
21739
- Q(Xt, _r, !1), Q(Xt, On, {}), Q(Xt, Zs, (e) => e);
21739
+ Q(Xt, _r, !1), Q(Xt, On, {}), Q(Xt, Js, (e) => e);
21740
21740
  }
21741
21741
  set name(e) {
21742
21742
  this.name_ = e, G(this, ee).name = e;
@@ -21759,14 +21759,14 @@ text-combine-upright: all;
21759
21759
  G(this, ee).lay({ y: e });
21760
21760
  }
21761
21761
  lay(e) {
21762
- if (super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), tt(this, Do, $c).call(this, e), G(this, ee).lay(e), "r_align" in e && Q(this, Je, e.r_align ?? ""), Q(this, jr, CmnLib.isSafari ? G(this, ee).tategaki ? (r, N) => `text-align: start; height: ${N}em; padding-top: ${r}; padding-bottom: ${r};` : (r, N) => `text-align: start; width: ${N}em; padding-left: ${r}; padding-right: ${r};` : G(this, ee).tategaki ? (r) => `text-align: justify; text-align-last: justify; padding-top: ${r}; padding-bottom: ${r};` : (r) => `text-align: justify; text-align-last: justify; padding-left: ${r}; padding-right: ${r};`), CmnLib.isFirefox && (this.mkStyle_r_align = tt(this, Vl, Kf)), "r_style" in e)
21762
+ if (super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), tt(this, Bo, jc).call(this, e), G(this, ee).lay(e), "r_align" in e && Q(this, Je, e.r_align ?? ""), Q(this, jr, CmnLib.isSafari ? G(this, ee).tategaki ? (r, N) => `text-align: start; height: ${N}em; padding-top: ${r}; padding-bottom: ${r};` : (r, N) => `text-align: start; width: ${N}em; padding-left: ${r}; padding-right: ${r};` : G(this, ee).tategaki ? (r) => `text-align: justify; text-align-last: justify; padding-top: ${r}; padding-bottom: ${r};` : (r) => `text-align: justify; text-align-last: justify; padding-left: ${r}; padding-right: ${r};`), CmnLib.isFirefox && (this.mkStyle_r_align = tt(this, zl, Zf)), "r_style" in e)
21763
21763
  if (e.r_style) {
21764
21764
  const r = document.createElement("span");
21765
21765
  r.style.cssText = e.r_style;
21766
21766
  const N = r.style.length, k = G(this, qi).style;
21767
21767
  for (let D = 0; D < N; ++D) {
21768
21768
  const U = r.style[D];
21769
- if (U in G(Xt, Hl)) {
21769
+ if (U in G(Xt, Vl)) {
21770
21770
  DebugMng.myTrace(`${U}は指定できません`, "W");
21771
21771
  continue;
21772
21772
  }
@@ -21777,8 +21777,8 @@ text-combine-upright: all;
21777
21777
  if ("alpha" in e)
21778
21778
  for (const r of G(this, Ze).children)
21779
21779
  r.alpha = this.spLay.alpha;
21780
- return tt(this, Rn, Oa).call(this, e), tt(this, In, Ra).call(this, e), tt(this, ko, Gc).call(this, e, (r) => {
21781
- r && G(Xt, Ao).resume();
21780
+ return tt(this, Rn, Ra).call(this, e), tt(this, In, Ma).call(this, e), tt(this, Do, $c).call(this, e, (r) => {
21781
+ r && G(Xt, No).resume();
21782
21782
  });
21783
21783
  }
21784
21784
  get width() {
@@ -21796,7 +21796,7 @@ text-combine-upright: all;
21796
21796
  }
21797
21797
  // Safariが全体に「font-feature-settings」した後、特定文字の「font-feature-settings: initial;」を受け付けてくれないのでわざわざ一つずつ指定
21798
21798
  static chgDoRec(e) {
21799
- Q(Xt, Zs, e ? (r) => r : (r) => `<span class='offrec'>${r}</span>`);
21799
+ Q(Xt, Js, e ? (r) => r : (r) => `<span class='offrec'>${r}</span>`);
21800
21800
  }
21801
21801
  mkStyle_r_align(e, r, N, k = "") {
21802
21802
  if (!N)
@@ -21824,10 +21824,10 @@ text-combine-upright: all;
21824
21824
  return ` style='${U} ${k}'`;
21825
21825
  }
21826
21826
  tagCh(e) {
21827
- G(this, Lo).putTxt(e);
21827
+ G(this, ko).putTxt(e);
21828
21828
  }
21829
21829
  clearText() {
21830
- this.spLay.addChild(Q(this, ee, G(this, ee).reNew())), Q(this, Ki, 0), Q(this, Li, !0), Q(this, yi, []), Q(this, Ln, ""), Q(this, kn, ""), G(Xt, Ys).recPagebreak();
21830
+ this.spLay.addChild(Q(this, ee, G(this, ee).reNew())), Q(this, Ki, 0), Q(this, Li, !0), Q(this, yi, []), Q(this, Ln, ""), Q(this, kn, ""), G(Xt, Ws).recPagebreak();
21831
21831
  }
21832
21832
  get pageText() {
21833
21833
  return G(this, Ln).replace("《 》", "");
@@ -21843,7 +21843,7 @@ text-combine-upright: all;
21843
21843
  }
21844
21844
  canFocus() {
21845
21845
  var e;
21846
- return (this.spLay.interactiveChildren ?? !1) && this.spLay.visible && G(e = Xt, Ro).call(e, this);
21846
+ return (this.spLay.interactiveChildren ?? !1) && this.spLay.visible && G(e = Xt, Mo).call(e, this);
21847
21847
  }
21848
21848
  clearLay(e) {
21849
21849
  super.clearLay(e), this.clearText();
@@ -21851,9 +21851,9 @@ text-combine-upright: all;
21851
21851
  r.destroy();
21852
21852
  }
21853
21853
  playback(e, r) {
21854
- super.playback(e, r), this.enabled = e.enabled, G(this, qi).style.cssText = e.r_cssText, Q(this, Je, e.r_align), this.cvsResize(), tt(this, Do, $c).call(this, e), G(this, ee).playback(e.txs), Q(this, gi, e.b_alpha), Q(this, Ni, e.b_alpha_isfixed), r.push(new Promise((k) => {
21854
+ super.playback(e, r), this.enabled = e.enabled, G(this, qi).style.cssText = e.r_cssText, Q(this, Je, e.r_align), this.cvsResize(), tt(this, Bo, jc).call(this, e), G(this, ee).playback(e.txs), Q(this, gi, e.b_alpha), Q(this, Ni, e.b_alpha_isfixed), r.push(new Promise((k) => {
21855
21855
  const D = e.b_do ? e.b_do === "Sprite" ? { b_pic: e.b_pic } : { b_color: e.b_color } : { b_pic: "" };
21856
- D.b_alpha = e.b_alpha, D.b_alpha_isfixed = e.b_alpha_isfixed, tt(this, ko, Gc).call(this, D, (U) => {
21856
+ D.b_alpha = e.b_alpha, D.b_alpha_isfixed = e.b_alpha_isfixed, tt(this, Do, $c).call(this, D, (U) => {
21857
21857
  U && k();
21858
21858
  }) || k();
21859
21859
  }));
@@ -21882,11 +21882,11 @@ text-combine-upright: all;
21882
21882
  e.showDesignCast();
21883
21883
  }
21884
21884
  dump() {
21885
- return G(this, Fo).call(this, "", "gotxt|"), super.dump() + `, "enabled":"${this.enabled}", ${G(this, ee).dump()}, "b_pic":"${G(this, Wi)}", "b_color":"${G(this, gr)}", "b_alpha":${G(this, gi)}, "b_alpha_isfixed":"${G(this, Ni)}", "width":${G(this, ee).getWidth}, "height":${G(this, ee).getHeight}, "pixi_obj":[${this.spLay.children.map((e) => `{"class":"${e instanceof Sprite ? "Sprite" : e instanceof Graphics ? "Graphics" : e instanceof Container ? "Container" : "?"}", "name":"${e.name}", "alpha":${e.alpha}, "x":${e.x}, "y":${e.y}, "visible":"${e.visible}"}`).join(",")}], "button":[${G(this, Ze).children.map((e) => e.children[0].name ?? "{}").join(",")}]`;
21885
+ return G(this, Uo).call(this, "", "gotxt|"), super.dump() + `, "enabled":"${this.enabled}", ${G(this, ee).dump()}, "b_pic":"${G(this, Wi)}", "b_color":"${G(this, gr)}", "b_alpha":${G(this, gi)}, "b_alpha_isfixed":"${G(this, Ni)}", "width":${G(this, ee).getWidth}, "height":${G(this, ee).getHeight}, "pixi_obj":[${this.spLay.children.map((e) => `{"class":"${e instanceof Sprite ? "Sprite" : e instanceof Graphics ? "Graphics" : e instanceof Container ? "Container" : "?"}", "name":"${e.name}", "alpha":${e.alpha}, "x":${e.x}, "y":${e.y}, "visible":"${e.visible}"}`).join(",")}], "button":[${G(this, Ze).children.map((e) => e.children[0].name ?? "{}").join(",")}]`;
21886
21886
  }
21887
21887
  };
21888
21888
  let TxtLayer = Xt;
21889
- Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(), Mo = new WeakSet(), Fc = function(e) {
21889
+ Ys = new WeakMap(), Ai = new WeakMap(), Mo = new WeakMap(), Ws = new WeakMap(), Io = new WeakSet(), Uc = function(e) {
21890
21890
  const r = TxtStage.ch_in_style(e), N = r.x.at(0) === "=" ? `${r.nx * 100}%` : `${r.nx}px`, k = r.y.at(0) === "=" ? `${r.ny * 100}%` : `${r.ny}px`, { name: D } = e;
21891
21891
  return addStyle(`
21892
21892
  .sn_ch_in_${D} {
@@ -21904,7 +21904,7 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
21904
21904
  to {opacity: 1; transform: none;}
21905
21905
  }
21906
21906
  `), !1;
21907
- }, Io = new WeakSet(), Uc = function(e) {
21907
+ }, Ao = new WeakSet(), Gc = function(e) {
21908
21908
  const r = TxtStage.ch_out_style(e), N = r.x.at(0) === "=" ? `${r.nx * 100}%` : `${r.nx}px`, k = r.y.at(0) === "=" ? `${r.ny * 100}%` : `${r.ny}px`, { name: D } = e;
21909
21909
  return addStyle(`
21910
21910
  .go_ch_out_${D} {
@@ -21918,7 +21918,7 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
21918
21918
  transform: rotate(${r.rotate}deg) scale(${r.scale_x}, ${r.scale_y}) translate(${N}, ${k});
21919
21919
  }
21920
21920
  `), !1;
21921
- }, Ao = new WeakMap(), Cn = new WeakMap(), No = new WeakMap(), _r = new WeakMap(), On = new WeakMap(), jl = new WeakSet(), qf = function(e) {
21921
+ }, No = new WeakMap(), Cn = new WeakMap(), Lo = new WeakMap(), _r = new WeakMap(), On = new WeakMap(), Hl = new WeakSet(), Kf = function(e) {
21922
21922
  Q(Xt, _r, argChk_Boolean(e, "enabled", G(Xt, _r))), G(Xt, Ai).setVal_Nochk("save", "const.sn.autowc.enabled", G(Xt, _r));
21923
21923
  const { text: r } = e;
21924
21924
  if ("text" in e != "time" in e)
@@ -21932,22 +21932,22 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
21932
21932
  if (k.length !== N)
21933
21933
  throw "[autowc] text文字数とtimeに記述された待ち時間(コンマ区切り)は同数にして下さい";
21934
21934
  return Q(Xt, On, {}), k.forEach((D, U) => G(Xt, On)[r[U]] = uint(D)), G(Xt, Ai).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
21935
- }, gr = new WeakMap(), gi = new WeakMap(), Ni = new WeakMap(), ue = new WeakMap(), Wi = new WeakMap(), ee = new WeakMap(), Lo = new WeakMap(), qi = new WeakMap(), Hl = new WeakMap(), Ze = new WeakMap(), Rn = new WeakSet(), Oa = function(e) {
21935
+ }, gr = new WeakMap(), gi = new WeakMap(), Ni = new WeakMap(), ue = new WeakMap(), Wi = new WeakMap(), ee = new WeakMap(), ko = new WeakMap(), qi = new WeakMap(), Vl = new WeakMap(), Ze = new WeakMap(), Rn = new WeakSet(), Ra = function(e) {
21936
21936
  const { in_style: r } = e;
21937
21937
  if (!r)
21938
21938
  return;
21939
21939
  const N = TxtStage.getChInStyle(r);
21940
21940
  if (!N)
21941
21941
  throw `存在しないin_style【${r}】です`;
21942
- Q(this, Mn, r), Q(this, Ws, N.join);
21943
- }, Mn = new WeakMap(), Ws = new WeakMap(), In = new WeakSet(), Ra = function(e) {
21942
+ Q(this, Mn, r), Q(this, qs, N.join);
21943
+ }, Mn = new WeakMap(), qs = new WeakMap(), In = new WeakSet(), Ma = function(e) {
21944
21944
  const { out_style: r } = e;
21945
21945
  if (!r)
21946
21946
  return;
21947
21947
  if (!TxtStage.getChOutStyle(r))
21948
21948
  throw `存在しないout_style【${r}】です`;
21949
- Q(this, qs, r);
21950
- }, qs = new WeakMap(), ko = new WeakSet(), Gc = function(e, r) {
21949
+ Q(this, Ks, r);
21950
+ }, Ks = new WeakMap(), Do = new WeakSet(), $c = function(e, r) {
21951
21951
  if ("back_clear" in e)
21952
21952
  return argChk_Boolean(e, "back_clear", !1) && (Q(this, gr, 0), Q(this, gi, 0), Q(this, Ni, !1), Q(this, Wi, "")), r(!1), !1;
21953
21953
  Q(this, gi, argChk_Num(e, "b_alpha", G(this, gi))), Q(this, Ni, argChk_Boolean(e, "b_alpha_isfixed", G(this, Ni)));
@@ -21963,9 +21963,9 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
21963
21963
  0
21964
21964
  ), G(this, ue).name = "back(color)");
21965
21965
  return G(this, ue) && (G(this, ue).visible = N > 0, G(this, ue).alpha = N), r(!1), !1;
21966
- }, Do = new WeakSet(), $c = function(e) {
21967
- "noffs" in e && (Q(this, Ks, e.noffs ?? ""), Q(this, Bo, new RegExp(`[ ${G(this, Ks)}]`))), "ffs" in e && (G(this, An) ?? Q(this, An, ""), Q(this, Nn, G(this, An) === "" ? () => "" : (r) => G(this, Bo).test(r) ? "" : ` font-feature-settings: ${G(this, An)};`));
21968
- }, An = new WeakMap(), Nn = new WeakMap(), Ks = new WeakMap(), Bo = new WeakMap(), Zs = new WeakMap(), jr = new WeakMap(), Je = new WeakMap(), Vl = new WeakSet(), Kf = function(e, r, N, k = "") {
21966
+ }, Bo = new WeakSet(), jc = function(e) {
21967
+ "noffs" in e && (Q(this, Zs, e.noffs ?? ""), Q(this, Fo, new RegExp(`[ ${G(this, Zs)}]`))), "ffs" in e && (G(this, An) ?? Q(this, An, ""), Q(this, Nn, G(this, An) === "" ? () => "" : (r) => G(this, Fo).test(r) ? "" : ` font-feature-settings: ${G(this, An)};`));
21968
+ }, An = new WeakMap(), Nn = new WeakMap(), Zs = new WeakMap(), Fo = new WeakMap(), Js = new WeakMap(), jr = new WeakMap(), Je = new WeakMap(), zl = new WeakSet(), Zf = function(e, r, N, k = "") {
21969
21969
  if (!N)
21970
21970
  return ` style='${k}'`;
21971
21971
  const D = e.length * 2;
@@ -21999,7 +21999,7 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
21999
21999
  U = `text-align: ${N};`;
22000
22000
  }
22001
22001
  return ` style='${U} ${k}'`;
22002
- }, hi = new WeakMap(), Fo = new WeakMap(), Js = new WeakSet(), Hh = function(e, r, N) {
22002
+ }, hi = new WeakMap(), Uo = new WeakMap(), Qs = new WeakSet(), Vh = function(e, r, N) {
22003
22003
  var H;
22004
22004
  const k = e === " " ? "&nbsp;" : e;
22005
22005
  G(Xt, Ai).doRecLog() && (Q(this, Ln, G(this, Ln) + (k + (r ? `《${r}》` : ""))), e !== " " && Q(this, kn, G(this, kn) + e));
@@ -22014,9 +22014,9 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
22014
22014
  }, yr = new WeakSet(), nn = function(e, r, N = `
22015
22015
  `) {
22016
22016
  var U, $, H;
22017
- const k = G(this, Ws) ? r ?? ((U = G(this, bi).at(0)) == null ? void 0 : U.o.wait) ?? (G(Xt, _r) ? G(Xt, On)[N.at(0) ?? ""] ?? 0 : LayerMng.msecChWait) : 0;
22018
- G(Xt, Cn).isSkippingByKeyDown() ? Q(this, Ki, 0) : e && G(this, Ws) && Q(this, Ki, G(this, Ki) + Number(k));
22019
- const D = `data-add='{"ch_in_style":"${G(this, Mn)}", "ch_out_style":"${G(this, qs)}"}'`;
22017
+ const k = G(this, qs) ? r ?? ((U = G(this, bi).at(0)) == null ? void 0 : U.o.wait) ?? (G(Xt, _r) ? G(Xt, On)[N.at(0) ?? ""] ?? 0 : LayerMng.msecChWait) : 0;
22018
+ G(Xt, Cn).isSkippingByKeyDown() ? Q(this, Ki, 0) : e && G(this, qs) && Q(this, Ki, G(this, Ki) + Number(k));
22019
+ const D = `data-add='{"ch_in_style":"${G(this, Mn)}", "ch_out_style":"${G(this, Ks)}"}'`;
22020
22020
  return {
22021
22021
  cl: ` class='sn_ch${k > 0 ? ` sn_ch_in_${G(this, Mn)}` : ""}'`,
22022
22022
  // TxtStage.goTxt()はこれ単位で文字出現させる
@@ -22025,28 +22025,28 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
22025
22025
  lnk: (((H = G(this, bi).at(0)) == null ? void 0 : H.o[":link"]) ?? "") + " " + D,
22026
22026
  curpos: D
22027
22027
  };
22028
- }, Ki = new WeakMap(), Li = new WeakMap(), yi = new WeakMap(), bi = new WeakMap(), Uo = new WeakSet(), jc = function(e) {
22028
+ }, Ki = new WeakMap(), Li = new WeakMap(), yi = new WeakMap(), bi = new WeakMap(), Go = new WeakSet(), Hc = function(e) {
22029
22029
  G(this, bi).push({
22030
22030
  o: e,
22031
22031
  r_align: G(this, Je),
22032
22032
  ch_in_style: G(this, Mn),
22033
- ch_out_style: G(this, qs)
22034
- }), "r_align" in e && Q(this, Je, e.r_align), tt(this, Rn, Oa).call(this, e), tt(this, In, Ra).call(this, e);
22035
- }, Qs = new WeakSet(), Vh = function() {
22033
+ ch_out_style: G(this, Ks)
22034
+ }), "r_align" in e && Q(this, Je, e.r_align), tt(this, Rn, Ra).call(this, e), tt(this, In, Ma).call(this, e);
22035
+ }, ta = new WeakSet(), zh = function() {
22036
22036
  const e = G(this, bi).pop();
22037
- e && (Q(this, Je, e.r_align), tt(this, Rn, Oa).call(this, { in_style: e.ch_in_style }), tt(this, In, Ra).call(this, { out_style: e.ch_out_style }));
22038
- }, Go = new WeakSet(), Hc = function(e) {
22037
+ e && (Q(this, Je, e.r_align), tt(this, Rn, Ra).call(this, { in_style: e.ch_in_style }), tt(this, In, Ma).call(this, { out_style: e.ch_out_style }));
22038
+ }, $o = new WeakSet(), Vc = function(e) {
22039
22039
  const r = G(this, bi).at(-1);
22040
22040
  if (!r) {
22041
- tt(this, Uo, jc).call(this, e);
22041
+ tt(this, Go, Hc).call(this, e);
22042
22042
  return;
22043
22043
  }
22044
- r.o = { ...r.o, ...e }, !e.style && !e.r_style && (r.o.style = "", r.o.r_style = ""), "r_align" in e && Q(this, Je, e.r_align), tt(this, Rn, Oa).call(this, e), tt(this, In, Ra).call(this, e);
22044
+ r.o = { ...r.o, ...e }, !e.style && !e.r_style && (r.o.style = "", r.o.r_style = ""), "r_align" in e && Q(this, Je, e.r_align), tt(this, Rn, Ra).call(this, e), tt(this, In, Ma).call(this, e);
22045
22045
  }, Ln = new WeakMap(), kn = new WeakMap(), // 文字出現演出
22046
- Z(TxtLayer, Mo), // 文字消去演出
22047
- Z(TxtLayer, Io), Z(TxtLayer, jl), Z(TxtLayer, Xs, void 0), Z(TxtLayer, Ai, void 0), Z(TxtLayer, Ro, void 0), Z(TxtLayer, Ys, void 0), Z(TxtLayer, Ao, void 0), Z(TxtLayer, Cn, void 0), Z(TxtLayer, No, void 0), // 文字ごとのウェイト
22046
+ Z(TxtLayer, Io), // 文字消去演出
22047
+ Z(TxtLayer, Ao), Z(TxtLayer, Hl), Z(TxtLayer, Ys, void 0), Z(TxtLayer, Ai, void 0), Z(TxtLayer, Mo, void 0), Z(TxtLayer, Ws, void 0), Z(TxtLayer, No, void 0), Z(TxtLayer, Cn, void 0), Z(TxtLayer, Lo, void 0), // 文字ごとのウェイト
22048
22048
  Z(TxtLayer, _r, !1), Z(TxtLayer, On, {}), // cssチェック・保存用
22049
- Z(TxtLayer, Hl, {
22049
+ Z(TxtLayer, Vl, {
22050
22050
  "text-align": 0,
22051
22051
  "text-align-last": 0,
22052
22052
  height: 0,
@@ -22055,30 +22055,30 @@ Z(TxtLayer, Hl, {
22055
22055
  "padding-right": 0,
22056
22056
  "padding-top": 0,
22057
22057
  "padding-bottom": 0
22058
- }), Z(TxtLayer, Zs, (e) => e);
22059
- var ta, Dn, zl, Zf, ea, ia, zh, Xl, Jf, Yl, Qf, $o, Wl, td, ql, ed;
22058
+ }), Z(TxtLayer, Js, (e) => e);
22059
+ var ea, Dn, Xl, Jf, ia, ra, Xh, Yl, Qf, Wl, td, jo, ql, ed, Kl, id;
22060
22060
  class FrameMng {
22061
22061
  constructor(t, e, r, N, k, D, U) {
22062
22062
  // HTMLフレーム
22063
22063
  // フレーム追加
22064
- Z(this, zl);
22065
- Z(this, ia);
22066
- // フレーム変数を取得
22067
22064
  Z(this, Xl);
22068
- // フレーム変数に設定
22065
+ Z(this, ra);
22066
+ // フレーム変数を取得
22069
22067
  Z(this, Yl);
22068
+ // フレーム変数に設定
22070
22069
  Z(this, Wl);
22071
- // フレームをトゥイーン開始
22072
22070
  Z(this, ql);
22073
- Z(this, ta, void 0);
22071
+ // フレームをトゥイーン開始
22072
+ Z(this, Kl);
22073
+ Z(this, ea, void 0);
22074
22074
  Z(this, Dn, /* @__PURE__ */ Object.create(null));
22075
- Z(this, ea, {});
22075
+ Z(this, ia, {});
22076
22076
  // フレームに設定
22077
- Z(this, $o, 1);
22078
- this.cfg = t, this.appPixi = r, this.val = N, this.main = k, this.sys = D, this.hTwInf = U, e.add_frame = ($) => tt(this, zl, Zf).call(this, $), e.let_frame = ($) => tt(this, Xl, Jf).call(this, $), e.set_frame = ($) => tt(this, Yl, Qf).call(this, $), e.frame = ($) => tt(this, Wl, td).call(this, $), e.tsy_frame = ($) => tt(this, ql, ed).call(this, $);
22077
+ Z(this, jo, 1);
22078
+ this.cfg = t, this.appPixi = r, this.val = N, this.main = k, this.sys = D, this.hTwInf = U, e.add_frame = ($) => tt(this, Xl, Jf).call(this, $), e.let_frame = ($) => tt(this, Yl, Qf).call(this, $), e.set_frame = ($) => tt(this, Wl, td).call(this, $), e.frame = ($) => tt(this, ql, ed).call(this, $), e.tsy_frame = ($) => tt(this, Kl, id).call(this, $);
22079
22079
  }
22080
22080
  setEvtMng(t) {
22081
- Q(this, ta, t);
22081
+ Q(this, ea, t);
22082
22082
  }
22083
22083
  destroy() {
22084
22084
  for (const t of Object.values(G(this, Dn)))
@@ -22086,7 +22086,7 @@ class FrameMng {
22086
22086
  Q(this, Dn, /* @__PURE__ */ Object.create(null));
22087
22087
  }
22088
22088
  getFrmDisabled(t) {
22089
- return G(this, ea)[t];
22089
+ return G(this, ia)[t];
22090
22090
  }
22091
22091
  cvsResize() {
22092
22092
  for (const [t, e] of Object.entries(G(this, Dn))) {
@@ -22095,7 +22095,7 @@ class FrameMng {
22095
22095
  }
22096
22096
  }
22097
22097
  }
22098
- ta = new WeakMap(), Dn = new WeakMap(), zl = new WeakSet(), Zf = function(t) {
22098
+ ea = new WeakMap(), Dn = new WeakMap(), Xl = new WeakSet(), Jf = function(t) {
22099
22099
  const { id: e, src: r, alpha: N = 1, scale_x: k = 1, scale_y: D = 1, rotate: U = 0 } = t;
22100
22100
  if (!e)
22101
22101
  throw "idは必須です";
@@ -22104,7 +22104,7 @@ ta = new WeakMap(), Dn = new WeakMap(), zl = new WeakSet(), Zf = function(t) {
22104
22104
  const $ = "const.sn.frm." + e;
22105
22105
  if (this.val.getVal(`tmp:${$}`))
22106
22106
  throw `frame【${e}】はすでにあります`;
22107
- const H = argChk_Boolean(t, "visible", !0), V = t.b_color ? ` background-color: ${t.b_color};` : "", X = tt(this, ia, zh).call(this, t);
22107
+ const H = argChk_Boolean(t, "visible", !0), V = t.b_color ? ` background-color: ${t.b_color};` : "", X = tt(this, ra, Xh).call(this, t);
22108
22108
  Main.cvs.insertAdjacentHTML("beforebegin", `<iframe id="${e}" sandbox="allow-scripts allow-same-origin" style="opacity: ${N}; position: absolute; left:${this.sys.ofsLeft4elm + X.x * this.sys.cvsScale}px; top: ${this.sys.ofsTop4elm + X.y * this.sys.cvsScale}px; z-index: 1; ${V} border: 0px; overflow: hidden; display: ${H ? "inline" : "none"}; transform: scale(${k}, ${D}) rotate(${U}deg);" width="${X.width * this.sys.cvsScale}" height="${X.height * this.sys.cvsScale}"></iframe>`);
22109
22109
  const z = this.cfg.searchPath(r, SEARCH_PATH_ARG_EXT.HTML), Y = new Loader().add({ name: r, url: z, xhrType: LoaderResource.XHR_RESPONSE_TYPE.TEXT });
22110
22110
  return this.sys.crypto && Y.use((q, W) => {
@@ -22117,17 +22117,17 @@ ta = new WeakMap(), Dn = new WeakMap(), zl = new WeakSet(), Zf = function(t) {
22117
22117
  }), Y.load((q, W) => {
22118
22118
  var J;
22119
22119
  const K = document.getElementById(e);
22120
- G(this, Dn)[e] = K, G(this, ea)[e] = !1, K.srcdoc = String((J = W[r]) == null ? void 0 : J.data).replace("sn_repRes();", "").replaceAll(
22120
+ G(this, Dn)[e] = K, G(this, ia)[e] = !1, K.srcdoc = String((J = W[r]) == null ? void 0 : J.data).replace("sn_repRes();", "").replaceAll(
22121
22121
  /\s(?:src|href)=(["'])(\S+)\1/g,
22122
22122
  (et, it, at) => at.slice(0, 3) === "../" ? this.sys.cur + at.slice(4) : et.replace(it, it + z.slice(0, z.lastIndexOf("/") + 1))
22123
22123
  ), K.onload = () => {
22124
22124
  var it;
22125
22125
  this.val.setVal_Nochk("tmp", $, !0), this.val.setVal_Nochk("tmp", $ + ".alpha", N), this.val.setVal_Nochk("tmp", $ + ".x", X.x), this.val.setVal_Nochk("tmp", $ + ".y", X.y), this.val.setVal_Nochk("tmp", $ + ".scale_x", k), this.val.setVal_Nochk("tmp", $ + ".scale_y", D), this.val.setVal_Nochk("tmp", $ + ".rotate", U), this.val.setVal_Nochk("tmp", $ + ".width", X.width), this.val.setVal_Nochk("tmp", $ + ".height", X.height), this.val.setVal_Nochk("tmp", $ + ".visible", H);
22126
22126
  const et = K.contentWindow;
22127
- G(this, ta).resvFlameEvent(et), (it = et.sn_repRes) == null || it.call(et, (at) => GrpLayer.loadPic2Img(at.dataset.src ?? "", at)), this.main.resume();
22127
+ G(this, ea).resvFlameEvent(et), (it = et.sn_repRes) == null || it.call(et, (at) => GrpLayer.loadPic2Img(at.dataset.src ?? "", at)), this.main.resume();
22128
22128
  };
22129
22129
  }), !0;
22130
- }, ea = new WeakMap(), ia = new WeakSet(), zh = function(t) {
22130
+ }, ia = new WeakMap(), ra = new WeakSet(), Xh = function(t) {
22131
22131
  const e = { ...t }, r = this.sys.resolution;
22132
22132
  return new DOMRect(
22133
22133
  argChk_Num(e, "x", 0) * r,
@@ -22135,7 +22135,7 @@ ta = new WeakMap(), Dn = new WeakMap(), zl = new WeakSet(), Zf = function(t) {
22135
22135
  argChk_Num(e, "width", CmnLib.stageW) * r,
22136
22136
  argChk_Num(e, "height", CmnLib.stageH) * r
22137
22137
  );
22138
- }, Xl = new WeakSet(), Jf = function(t) {
22138
+ }, Yl = new WeakSet(), Qf = function(t) {
22139
22139
  const { id: e, var_name: r } = t;
22140
22140
  if (!e)
22141
22141
  throw "idは必須です";
@@ -22156,7 +22156,7 @@ ta = new WeakMap(), Dn = new WeakMap(), zl = new WeakSet(), Zf = function(t) {
22156
22156
  k + "." + r,
22157
22157
  argChk_Boolean(t, "function", !1) ? U() : U
22158
22158
  ), !1;
22159
- }, Yl = new WeakSet(), Qf = function(t) {
22159
+ }, Wl = new WeakSet(), td = function(t) {
22160
22160
  const { id: e, var_name: r, text: N } = t;
22161
22161
  if (!e)
22162
22162
  throw "idは必須です";
@@ -22173,7 +22173,7 @@ ta = new WeakMap(), Dn = new WeakMap(), zl = new WeakSet(), Zf = function(t) {
22173
22173
  this.val.setVal_Nochk("tmp", D + "." + r, N);
22174
22174
  const U = k.contentWindow;
22175
22175
  return U[r] = N, !1;
22176
- }, $o = new WeakMap(), Wl = new WeakSet(), td = function(t) {
22176
+ }, jo = new WeakMap(), ql = new WeakSet(), ed = function(t) {
22177
22177
  const { id: e } = t;
22178
22178
  if (!e)
22179
22179
  throw "idは必須です";
@@ -22184,11 +22184,11 @@ ta = new WeakMap(), Dn = new WeakMap(), zl = new WeakSet(), Zf = function(t) {
22184
22184
  if (!this.val.getVal("tmp:" + N))
22185
22185
  throw `frame【${e}】が読み込まれていません`;
22186
22186
  const k = r.style;
22187
- if (argChk_Boolean(t, "float", !1) ? k.zIndex = `${++Te(this, $o)._}` : "index" in t ? k.zIndex = `${argChk_Num(t, "index", 0)}` : t.dive && (k.zIndex = `-${++Te(this, $o)._}`), "alpha" in t) {
22187
+ if (argChk_Boolean(t, "float", !1) ? k.zIndex = `${++Te(this, jo)._}` : "index" in t ? k.zIndex = `${argChk_Num(t, "index", 0)}` : t.dive && (k.zIndex = `-${++Te(this, jo)._}`), "alpha" in t) {
22188
22188
  const U = k.opacity = String(t.alpha);
22189
22189
  this.val.setVal_Nochk("tmp", N + ".alpha", U);
22190
22190
  }
22191
- const D = tt(this, ia, zh).call(this, t);
22191
+ const D = tt(this, ra, Xh).call(this, t);
22192
22192
  if (("x" in t || "y" in t) && (k.left = `${this.sys.ofsLeft4elm + D.x * this.sys.cvsScale}px`, k.top = `${this.sys.ofsTop4elm + D.y * this.sys.cvsScale}px`, this.val.setVal_Nochk("tmp", N + ".x", D.x), this.val.setVal_Nochk("tmp", N + ".y", D.y)), "scale_x" in t || "scale_y" in t || "rotate" in t) {
22193
22193
  const U = argChk_Num(t, "scale_x", 1), $ = argChk_Num(t, "scale_y", 1), H = argChk_Num(t, "rotate", 0);
22194
22194
  k.transform = `scale(${U}, ${$}) rotate(${H}deg)`, this.val.setVal_Nochk("tmp", N + ".scale_x", U), this.val.setVal_Nochk("tmp", N + ".scale_y", $), this.val.setVal_Nochk("tmp", N + ".rotate", H);
@@ -22198,11 +22198,11 @@ ta = new WeakMap(), Dn = new WeakMap(), zl = new WeakSet(), Zf = function(t) {
22198
22198
  k.display = U ? "inline" : "none", this.val.setVal_Nochk("tmp", N + ".visible", U);
22199
22199
  }
22200
22200
  if ("b_color" in t && (k.backgroundColor = t.b_color), "disabled" in t) {
22201
- const U = G(this, ea)[e] = argChk_Boolean(t, "disabled", !0);
22201
+ const U = G(this, ia)[e] = argChk_Boolean(t, "disabled", !0);
22202
22202
  r.contentDocument.body.querySelectorAll("input,select").forEach((H) => H.disabled = U);
22203
22203
  }
22204
22204
  return !1;
22205
- }, ql = new WeakSet(), ed = function(t) {
22205
+ }, Kl = new WeakSet(), id = function(t) {
22206
22206
  const { id: e, alpha: r, x: N, y: k, scale_x: D, scale_y: U, rotate: $, width: H, height: V, ease: X, path: z, chain: Y } = t;
22207
22207
  if (!e)
22208
22208
  throw "idは必須です";
@@ -22222,7 +22222,7 @@ ta = new WeakMap(), Dn = new WeakMap(), zl = new WeakSet(), Zf = function(t) {
22222
22222
  });
22223
22223
  let at = () => {
22224
22224
  };
22225
- const st = tt(this, ia, zh).call(this, J);
22225
+ const st = tt(this, ra, Xh).call(this, J);
22226
22226
  (N || k || D || U || $) && (et.x = st.x, et.y = st.y, et.sx = argChk_Num(J, "scale_x", 1), et.sy = argChk_Num(J, "scale_y", 1), et.r = argChk_Num(J, "rotate", 0), at = () => {
22227
22227
  q.style.left = this.sys.ofsLeft4elm + K.x * this.sys.cvsScale + "px", q.style.top = this.sys.ofsTop4elm + K.y * this.sys.cvsScale + "px", q.style.transform = `scale(${K.sx}, ${K.sy}) rotate(${K.r}deg)`, this.val.setVal_Nochk("tmp", W + ".x", K.x), this.val.setVal_Nochk("tmp", W + ".y", K.y), this.val.setVal_Nochk("tmp", W + ".scale_x", K.sx), this.val.setVal_Nochk("tmp", W + ".scale_y", K.sy), this.val.setVal_Nochk("tmp", W + ".rotate", K.r);
22228
22228
  });
@@ -22242,7 +22242,7 @@ ${e}`, lt = () => {
22242
22242
  this.appPixi.stage.interactive = !0;
22243
22243
  const jt = this.hTwInf[nt];
22244
22244
  jt && (delete this.hTwInf[nt], (It = jt.tw) == null || It.stop(), jt.resume && this.main.resume(), (St = jt.onEnd) == null || St.call(jt));
22245
- }, ft = argChk_Num(t, "time", NaN) * (this.val.getVal("tmp:sn.skip.enabled") || G(this, ta).isSkippingByKeyDown() ? 0 : 1), pt = CmnTween.ease(X), Et = argChk_Num(t, "repeat", 1), Pt = Et > 0 ? Et - 1 : 1 / 0, Mt = argChk_Boolean(t, "yoyo", !1), xt = argChk_Num(t, "delay", 0), yt = new Tween(K).to(et, ft).easing(pt).repeat(Pt).yoyo(Mt).delay(xt).onUpdate(() => {
22245
+ }, ft = argChk_Num(t, "time", NaN) * (this.val.getVal("tmp:sn.skip.enabled") || G(this, ea).isSkippingByKeyDown() ? 0 : 1), pt = CmnTween.ease(X), Et = argChk_Num(t, "repeat", 1), Pt = Et > 0 ? Et - 1 : 1 / 0, Mt = argChk_Boolean(t, "yoyo", !1), xt = argChk_Num(t, "delay", 0), yt = new Tween(K).to(et, ft).easing(pt).repeat(Pt).yoyo(Mt).delay(xt).onUpdate(() => {
22246
22246
  it(), at(), ht(), ot();
22247
22247
  });
22248
22248
  let Rt = yt;
@@ -22276,86 +22276,86 @@ ${e}`, lt = () => {
22276
22276
  yt.start();
22277
22277
  return this.hTwInf[nt] = { tw: Rt, resume: !1 }, !1;
22278
22278
  };
22279
- var xi, ne, _e, Hr, Bn, ra, jo, Ho, Vo, na, zo, Vc, Vr, ki, Kl, id, Qe, Zl, rd, Jl, nd, Ql, sd, Jt, Zi, Ji, Xo, tu, ad, sa, Xh, eu, od, iu, Yo, ru, Fn, Un, br, Ce, Gn, nu, hd, Oe, Xe, ni, su, ld, au, ud, ou, cd, $n, Ma, hu, fd, li, lu, dd, uu, pd, cu, vd, fu, md, du, _d, zr, jn, Ia, ui, pu, gd, Wo, vu, yd, Qi, Hn, Xr, _s, Di, tr, mu, bd, _u, xd, gu, Ed, yu, Sd, bu, Td, xu, wd, Eu, Pd, qo, zc, Su, Cd, Tu, Od, wu, Rd, Pu, Md, Cu, Id, Ou, Ad, Ru, Nd;
22279
+ var xi, ne, _e, Hr, Bn, na, Ho, Vo, zo, sa, Xo, zc, Vr, ki, Zl, rd, Qe, Jl, nd, Ql, sd, tu, ad, Jt, Zi, Ji, Yo, eu, od, aa, Yh, iu, hd, ru, Wo, nu, Fn, Un, br, Ce, Gn, su, ld, Oe, Xe, ni, au, ud, ou, cd, hu, fd, $n, Ia, lu, dd, li, uu, pd, cu, vd, fu, md, du, _d, pu, gd, zr, jn, Aa, ui, vu, yd, qo, mu, bd, Qi, Hn, Xr, gs, Di, tr, _u, xd, gu, Ed, yu, Sd, bu, Td, xu, wd, Eu, Pd, Su, Cd, Ko, Xc, Tu, Od, wu, Rd, Pu, Md, Cu, Id, Ou, Ad, Ru, Nd, Mu, Ld;
22280
22280
  const Nr = class {
22281
22281
  constructor(t, e, r, N, k, D, U, $, H, V) {
22282
- Z(this, zo);
22282
+ Z(this, Xo);
22283
22283
  // 既存の全文字レイヤの実際のバック不透明度、を再計算
22284
- Z(this, Kl);
22284
+ Z(this, Zl);
22285
22285
  // // システム
22286
22286
  // スナップショット
22287
- Z(this, Zl);
22288
- // プラグインの読み込み
22289
22287
  Z(this, Jl);
22288
+ // プラグインの読み込み
22289
+ Z(this, Ql);
22290
22290
  // // レイヤ共通
22291
22291
  // レイヤを追加する
22292
- Z(this, Ql);
22293
22292
  Z(this, tu);
22294
- Z(this, sa);
22295
- // レイヤ設定の消去
22296
22293
  Z(this, eu);
22294
+ Z(this, aa);
22295
+ // レイヤ設定の消去
22296
+ Z(this, iu);
22297
22297
  // ページ裏表を交換
22298
- Z(this, nu);
22299
- Z(this, Xe);
22300
22298
  Z(this, su);
22299
+ Z(this, Xe);
22301
22300
  Z(this, au);
22302
- // トランス終了待ち
22303
22301
  Z(this, ou);
22302
+ // トランス終了待ち
22303
+ Z(this, hu);
22304
22304
  // レイヤのトランジションの停止
22305
22305
  Z(this, $n);
22306
22306
  // 画面を揺らす
22307
- Z(this, hu);
22308
22307
  Z(this, lu);
22309
- // トゥイーン終了待ち
22310
22308
  Z(this, uu);
22311
- // トゥイーン中断
22309
+ // トゥイーン終了待ち
22312
22310
  Z(this, cu);
22313
- // 一時停止
22311
+ // トゥイーン中断
22314
22312
  Z(this, fu);
22315
- // 一時停止再開
22313
+ // 一時停止
22316
22314
  Z(this, du);
22315
+ // 一時停止再開
22316
+ Z(this, pu);
22317
22317
  // 文字を追加する
22318
22318
  Z(this, jn);
22319
- Z(this, pu);
22320
22319
  Z(this, vu);
22321
- Z(this, Xr);
22322
22320
  Z(this, mu);
22323
- // ハイパーリンクの終了
22321
+ Z(this, Xr);
22324
22322
  Z(this, _u);
22325
- // ページ両面の文字消去
22323
+ // ハイパーリンクの終了
22326
22324
  Z(this, gu);
22327
- // インライン画像表示
22325
+ // ページ両面の文字消去
22328
22326
  Z(this, yu);
22329
- // ハイパーリンク
22327
+ // インライン画像表示
22330
22328
  Z(this, bu);
22331
- // 改行
22329
+ // ハイパーリンク
22332
22330
  Z(this, xu);
22333
- // 履歴改行
22331
+ // 改行
22334
22332
  Z(this, Eu);
22333
+ // 履歴改行
22334
+ Z(this, Su);
22335
22335
  // 履歴書き込み
22336
- Z(this, qo);
22336
+ Z(this, Ko);
22337
22337
  // 履歴リセット
22338
- Z(this, Su);
22339
- // 文字列と複数ルビの追加
22340
22338
  Z(this, Tu);
22341
- // インラインスタイル設定
22339
+ // 文字列と複数ルビの追加
22342
22340
  Z(this, wu);
22343
- // tcy縦中横を表示する
22341
+ // インラインスタイル設定
22344
22342
  Z(this, Pu);
22345
- // レイヤのダンプ
22343
+ // tcy縦中横を表示する
22346
22344
  Z(this, Cu);
22347
- // イベント有無の切替
22345
+ // レイヤのダンプ
22348
22346
  Z(this, Ou);
22349
- // ボタンを表示
22347
+ // イベント有無の切替
22350
22348
  Z(this, Ru);
22349
+ // ボタンを表示
22350
+ Z(this, Mu);
22351
22351
  Z(this, xi, void 0);
22352
22352
  Z(this, ne, new Container());
22353
22353
  Z(this, _e, new Container());
22354
22354
  Z(this, Hr, void 0);
22355
22355
  Z(this, Bn, void 0);
22356
- Z(this, ra, new EventListenerCtn());
22357
- Z(this, jo, () => update());
22358
- Z(this, Ho, {
22356
+ Z(this, na, new EventListenerCtn());
22357
+ Z(this, Ho, () => update());
22358
+ Z(this, Vo, {
22359
22359
  attach: (t) => !1,
22360
22360
  continue: (t) => !1,
22361
22361
  disconnect: (t) => !1,
@@ -22364,13 +22364,13 @@ const Nr = class {
22364
22364
  const r = G(this, Jt)[e].fore;
22365
22365
  r.makeDesignCastChildren((N) => N.make()), r.makeDesignCast((N) => N.make());
22366
22366
  }
22367
- return tt(this, zo, Vc).call(this, G(this, Ji)), !1;
22367
+ return tt(this, Xo, zc).call(this, G(this, Ji)), !1;
22368
22368
  },
22369
22369
  _replaceToken: (t, e) => !1,
22370
- _selectNode: (t, e) => (tt(this, zo, Vc).call(this, e.node), !1)
22370
+ _selectNode: (t, e) => (tt(this, Xo, zc).call(this, e.node), !1)
22371
22371
  });
22372
- Z(this, Vo, "");
22373
- Z(this, na, "");
22372
+ Z(this, zo, "");
22373
+ Z(this, sa, "");
22374
22374
  gt(this, "getFrmDisabled", (t) => G(this, Hr).getFrmDisabled(t));
22375
22375
  Z(this, Vr, void 0);
22376
22376
  Z(this, ki, void 0);
@@ -22386,8 +22386,8 @@ const Nr = class {
22386
22386
  Z(this, Zi, []);
22387
22387
  // 最適化用
22388
22388
  Z(this, Ji, "");
22389
- Z(this, Xo, "");
22390
- Z(this, iu, `
22389
+ Z(this, Yo, "");
22390
+ Z(this, ru, `
22391
22391
  precision mediump float;
22392
22392
 
22393
22393
  varying vec2 vTextureCoord;
@@ -22418,12 +22418,12 @@ void main(void) {
22418
22418
  gl_FragColor = (v >= 0.0)? fg : vec4(0);
22419
22419
  }
22420
22420
  }`);
22421
- Z(this, Yo, {
22421
+ Z(this, Wo, {
22422
22422
  rule: Texture.EMPTY,
22423
22423
  vague: 0,
22424
22424
  tick: 0
22425
22425
  });
22426
- Z(this, ru, new Filter(void 0, G(this, iu), G(this, Yo)));
22426
+ Z(this, nu, new Filter(void 0, G(this, ru), G(this, Wo)));
22427
22427
  Z(this, Fn, RenderTexture.create({
22428
22428
  width: CmnLib.stageW,
22429
22429
  height: CmnLib.stageH
@@ -22442,7 +22442,7 @@ void main(void) {
22442
22442
  throw G(this, Hn).call(this), 0;
22443
22443
  });
22444
22444
  // 操作対象のメッセージレイヤの指定
22445
- Z(this, Wo, (t) => {
22445
+ Z(this, qo, (t) => {
22446
22446
  throw G(this, Hn).call(this), 0;
22447
22447
  });
22448
22448
  Z(this, Qi, void 0);
@@ -22454,7 +22454,7 @@ void main(void) {
22454
22454
  Z(this, tr, []);
22455
22455
  this.cfg = t, this.hTag = e, this.appPixi = r, this.val = N, this.main = k, this.scrItr = D, this.sys = U, this.sndMng = $, this.alzTagArg = H, this.prpPrs = V;
22456
22456
  const X = () => {
22457
- if (U.cvsResize(), this.cvsResizeDesign(), G(this, na))
22457
+ if (U.cvsResize(), this.cvsResizeDesign(), G(this, sa))
22458
22458
  for (const W of G(this, Zi))
22459
22459
  G(this, Jt)[W].fore.cvsResizeChildren();
22460
22460
  else
@@ -22463,16 +22463,16 @@ void main(void) {
22463
22463
  G(this, Hr).cvsResize(), G(this, ki).cvsResize();
22464
22464
  };
22465
22465
  if (CmnLib.isMobile)
22466
- G(this, ra).add(globalThis, "orientationchange", X, { passive: !0 });
22466
+ G(this, na).add(globalThis, "orientationchange", X, { passive: !0 });
22467
22467
  else {
22468
22468
  let W;
22469
- G(this, ra).add(globalThis, "resize", () => {
22469
+ G(this, na).add(globalThis, "resize", () => {
22470
22470
  W || (W = setTimeout(() => {
22471
22471
  W = void 0, X();
22472
22472
  }, 1e3 / 60 * 10));
22473
22473
  }, { passive: !0 });
22474
22474
  }
22475
- U.cvsResize(), TxtLayer.init(t, e, N, this, (W) => G(this, Jt)[W.layname].fore === W, r), GrpLayer.init(k, t, r, U, $, N), Button.init(t), Q(this, Hr, new FrameMng(t, e, r, N, k, U, G(this, li))), U.hFactoryCls.grp = () => new GrpLayer(), U.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => tt(this, Jl, nd).call(this, W), e.snapshot = (W) => tt(this, Zl, rd).call(this, W), e.add_lay = (W) => tt(this, Ql, sd).call(this, W), e.clear_lay = (W) => tt(this, eu, od).call(this, W), e.finish_trans = () => tt(this, $n, Ma).call(this), e.lay = (W) => tt(this, tu, ad).call(this, W), e.trans = (W) => tt(this, nu, hd).call(this, W), e.wt = (W) => tt(this, ou, cd).call(this, W), e.quake = (W) => tt(this, hu, fd).call(this, W), e.stop_quake = (W) => e.finish_trans(W), e.wq = (W) => e.wt(W), e.pause_tsy = (W) => tt(this, fu, md).call(this, W), e.resume_tsy = (W) => tt(this, du, _d).call(this, W), e.stop_tsy = (W) => tt(this, cu, vd).call(this, W), e.tsy = (W) => tt(this, lu, dd).call(this, W), e.wait_tsy = (W) => tt(this, uu, pd).call(this, W), e.ch = (W) => tt(this, jn, Ia).call(this, W), e.clear_text = (W) => tt(this, mu, bd).call(this, W), e.current = (W) => G(this, Wo).call(this, W), e.endlink = (W) => tt(this, _u, xd).call(this, W), e.er = (W) => tt(this, gu, Ed).call(this, W), e.graph = (W) => tt(this, yu, Sd).call(this, W), e.link = (W) => tt(this, bu, Td).call(this, W), e.r = (W) => tt(this, xu, wd).call(this, W), e.rec_ch = (W) => tt(this, qo, zc).call(this, W), e.rec_r = (W) => tt(this, Eu, Pd).call(this, W), e.reset_rec = (W) => tt(this, Su, Cd).call(this, W), e.ruby2 = (W) => tt(this, Tu, Od).call(this, W), e.span = (W) => tt(this, wu, Rd).call(this, W), e.tcy = (W) => tt(this, Pu, Md).call(this, W), e.add_face = (W) => GrpLayer.add_face(W), e.wv = (W) => GrpLayer.wv(W), e.dump_lay = (W) => tt(this, Cu, Id).call(this, W), e.enable_event = (W) => tt(this, Ou, Ad).call(this, W), e.button = (W) => tt(this, Ru, Nd).call(this, W), t.existsBreakline && (this.breakLine = (W) => {
22475
+ U.cvsResize(), TxtLayer.init(t, e, N, this, (W) => G(this, Jt)[W.layname].fore === W, r), GrpLayer.init(k, t, r, U, $, N), Button.init(t), Q(this, Hr, new FrameMng(t, e, r, N, k, U, G(this, li))), U.hFactoryCls.grp = () => new GrpLayer(), U.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => tt(this, Ql, sd).call(this, W), e.snapshot = (W) => tt(this, Jl, nd).call(this, W), e.add_lay = (W) => tt(this, tu, ad).call(this, W), e.clear_lay = (W) => tt(this, iu, hd).call(this, W), e.finish_trans = () => tt(this, $n, Ia).call(this), e.lay = (W) => tt(this, eu, od).call(this, W), e.trans = (W) => tt(this, su, ld).call(this, W), e.wt = (W) => tt(this, hu, fd).call(this, W), e.quake = (W) => tt(this, lu, dd).call(this, W), e.stop_quake = (W) => e.finish_trans(W), e.wq = (W) => e.wt(W), e.pause_tsy = (W) => tt(this, du, _d).call(this, W), e.resume_tsy = (W) => tt(this, pu, gd).call(this, W), e.stop_tsy = (W) => tt(this, fu, md).call(this, W), e.tsy = (W) => tt(this, uu, pd).call(this, W), e.wait_tsy = (W) => tt(this, cu, vd).call(this, W), e.ch = (W) => tt(this, jn, Aa).call(this, W), e.clear_text = (W) => tt(this, _u, xd).call(this, W), e.current = (W) => G(this, qo).call(this, W), e.endlink = (W) => tt(this, gu, Ed).call(this, W), e.er = (W) => tt(this, yu, Sd).call(this, W), e.graph = (W) => tt(this, bu, Td).call(this, W), e.link = (W) => tt(this, xu, wd).call(this, W), e.r = (W) => tt(this, Eu, Pd).call(this, W), e.rec_ch = (W) => tt(this, Ko, Xc).call(this, W), e.rec_r = (W) => tt(this, Su, Cd).call(this, W), e.reset_rec = (W) => tt(this, Tu, Od).call(this, W), e.ruby2 = (W) => tt(this, wu, Rd).call(this, W), e.span = (W) => tt(this, Pu, Md).call(this, W), e.tcy = (W) => tt(this, Cu, Id).call(this, W), e.add_face = (W) => GrpLayer.add_face(W), e.wv = (W) => GrpLayer.wv(W), e.dump_lay = (W) => tt(this, Ou, Ad).call(this, W), e.enable_event = (W) => tt(this, Ru, Nd).call(this, W), e.button = (W) => tt(this, Mu, Ld).call(this, W), t.existsBreakline && (this.breakLine = (W) => {
22476
22476
  delete W.visible, W.id = "break", W.pic = "breakline";
22477
22477
  const K = encodeURIComponent(JSON.stringify(W));
22478
22478
  G(this, Qe).call(this, "grp|" + K);
@@ -22482,9 +22482,9 @@ void main(void) {
22482
22482
  G(this, Qe).call(this, "grp|" + K);
22483
22483
  }), Q(this, Bn, parseColor(String(t.oCfg.init.bg_color)));
22484
22484
  const z = new Graphics();
22485
- z.beginFill(G(this, Bn), 1).lineStyle(0, G(this, Bn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), G(this, ne).addChild(z.clone()), G(this, _e).addChild(z), G(this, _e).visible = !1, G(this, ne).name = "page:A", G(this, _e).name = "page:B", Q(this, xi, r.stage), G(this, xi).addChild(G(this, _e)), G(this, xi).addChild(G(this, ne)), G(this, xi).addChild(G(this, Un)), G(this, xi).addChild(G(this, Ce)), G(this, xi).name = "stage", r.ticker.add(G(this, jo));
22485
+ z.beginFill(G(this, Bn), 1).lineStyle(0, G(this, Bn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), G(this, ne).addChild(z.clone()), G(this, _e).addChild(z), G(this, _e).visible = !1, G(this, ne).name = "page:A", G(this, _e).name = "page:B", Q(this, xi, r.stage), G(this, xi).addChild(G(this, _e)), G(this, xi).addChild(G(this, ne)), G(this, xi).addChild(G(this, Un)), G(this, xi).addChild(G(this, Ce)), G(this, xi).name = "stage", r.ticker.add(G(this, Ho));
22486
22486
  const Y = (W, K) => {
22487
- tt(this, Kl, id).call(this, Number(K));
22487
+ tt(this, Zl, rd).call(this, Number(K));
22488
22488
  };
22489
22489
  Y("", N.getVal("sys:TextLayer.Back.Alpha", 1)), N.defValTrg("sys:TextLayer.Back.Alpha", Y);
22490
22490
  const q = (W, K) => Button.fontFamily = K;
@@ -22498,7 +22498,7 @@ void main(void) {
22498
22498
  return ((W = this.currentTxtlayFore) == null ? void 0 : W.pagePlainText) ?? "";
22499
22499
  }), CmnLib.isDbg && (DesignCast.init(r, U, D, V, H, t, G(this, Jt)), this.cvsResizeDesign = () => DesignCast.cvsResizeDesign(), U.addHook((W, K) => {
22500
22500
  var J, et;
22501
- (et = (J = G(this, Ho))[W]) != null && et.call(J, W, K) && delete G(this, Ho)[W];
22501
+ (et = (J = G(this, Vo))[W]) != null && et.call(J, W, K) && delete G(this, Vo)[W];
22502
22502
  }));
22503
22503
  }
22504
22504
  cvsResizeDesign() {
@@ -22516,7 +22516,7 @@ void main(void) {
22516
22516
  t.destroy();
22517
22517
  }
22518
22518
  destroy() {
22519
- G(this, ra).clear(), GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), G(this, Hr).destroy(), this.stopAllTw(), this.appPixi.ticker.remove(G(this, jo)), Q(Nr, zr, 10);
22519
+ G(this, na).clear(), GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), G(this, Hr).destroy(), this.stopAllTw(), this.appPixi.ticker.remove(G(this, Ho)), Q(Nr, zr, 10);
22520
22520
  }
22521
22521
  // トゥイーン全停止
22522
22522
  stopAllTw() {
@@ -22595,16 +22595,16 @@ void main(void) {
22595
22595
  }
22596
22596
  };
22597
22597
  let LayerMng = Nr;
22598
- xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(), Bn = new WeakMap(), ra = new WeakMap(), jo = new WeakMap(), Ho = new WeakMap(), Vo = new WeakMap(), na = new WeakMap(), zo = new WeakSet(), Vc = function(t) {
22599
- [Te(this, Vo)._, this.na = ""] = t.split("/");
22600
- const e = G(this, Jt)[G(this, Vo)];
22601
- e && (G(this, na) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
22602
- }, Vr = new WeakMap(), ki = new WeakMap(), Kl = new WeakSet(), id = function(t) {
22598
+ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(), Bn = new WeakMap(), na = new WeakMap(), Ho = new WeakMap(), Vo = new WeakMap(), zo = new WeakMap(), sa = new WeakMap(), Xo = new WeakSet(), zc = function(t) {
22599
+ [Te(this, zo)._, this.sa = ""] = t.split("/");
22600
+ const e = G(this, Jt)[G(this, zo)];
22601
+ e && (G(this, sa) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
22602
+ }, Vr = new WeakMap(), ki = new WeakMap(), Zl = new WeakSet(), rd = function(t) {
22603
22603
  for (const e of tt(this, Xe, ni).call(this)) {
22604
22604
  const r = G(this, Jt)[e];
22605
22605
  r.fore instanceof TxtLayer && (r.fore.chgBackAlpha(t), r.back.chgBackAlpha(t));
22606
22606
  }
22607
- }, Qe = new WeakMap(), Zl = new WeakSet(), rd = function(t) {
22607
+ }, Qe = new WeakMap(), Jl = new WeakSet(), nd = function(t) {
22608
22608
  const e = t.fn ? t.fn.slice(0, 10) === "userdata:/" ? t.fn : `downloads:/${t.fn + getDateStr("-", "_", "", "_")}.png` : `downloads:/snapshot${getDateStr("-", "_", "", "_")}.png`, r = this.cfg.searchPath(e);
22609
22609
  if (!("layer" in t) && this.sys.canCapturePage(r, () => this.main.resume()))
22610
22610
  return !0;
@@ -22639,7 +22639,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22639
22639
  G(this, Jt)[V][$].snapshot_end();
22640
22640
  D.destroy(!0), this.main.resume();
22641
22641
  }), !0;
22642
- }, Jl = new WeakSet(), nd = function(t) {
22642
+ }, Ql = new WeakSet(), sd = function(t) {
22643
22643
  const { fn: e } = t;
22644
22644
  if (!e)
22645
22645
  throw "fnは必須です";
@@ -22657,7 +22657,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22657
22657
  throw "サポートされない拡張子です";
22658
22658
  }
22659
22659
  return r;
22660
- }, Ql = new WeakSet(), sd = function(t) {
22660
+ }, tu = new WeakSet(), ad = function(t) {
22661
22661
  const { layer: e, class: r } = t;
22662
22662
  if (!e)
22663
22663
  throw "layerは必須です";
@@ -22671,7 +22671,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22671
22671
  switch (G(this, Jt)[e] = new Pages(e, r, G(this, ne), G(this, _e), t, this.sys, this.val, N), G(this, Zi).push(e), r) {
22672
22672
  case "txt":
22673
22673
  G(this, Ji) || (Q(this, Hn, () => {
22674
- }), Q(this, ui, tt(this, pu, gd)), Q(this, Wo, tt(this, vu, yd)), this.hTag.current({ layer: e }), this.goTxt = () => {
22674
+ }), Q(this, ui, tt(this, vu, yd)), Q(this, qo, tt(this, mu, bd)), this.hTag.current({ layer: e }), this.goTxt = () => {
22675
22675
  this.val.getVal("sn.skip.enabled") ? Q(Nr, zr, 0) : this.setNormalChWait();
22676
22676
  for (const k of tt(this, Xe, ni).call(this)) {
22677
22677
  const D = G(this, Jt)[k].fore;
@@ -22684,18 +22684,18 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22684
22684
  );
22685
22685
  break;
22686
22686
  case "grp":
22687
- if (G(this, Xo))
22687
+ if (G(this, Yo))
22688
22688
  break;
22689
- Q(this, Xo, e);
22689
+ Q(this, Yo, e);
22690
22690
  break;
22691
22691
  }
22692
22692
  return this.scrItr.recodeDesign(t), N.isWait;
22693
- }, Jt = new WeakMap(), Zi = new WeakMap(), Ji = new WeakMap(), Xo = new WeakMap(), tu = new WeakSet(), ad = function(t) {
22694
- const e = tt(this, Xr, _s).call(this, t), r = G(this, Jt)[e], N = r.back.spLay, k = r.fore.spLay;
22693
+ }, Jt = new WeakMap(), Zi = new WeakMap(), Ji = new WeakMap(), Yo = new WeakMap(), eu = new WeakSet(), od = function(t) {
22694
+ const e = tt(this, Xr, gs).call(this, t), r = G(this, Jt)[e], N = r.back.spLay, k = r.fore.spLay;
22695
22695
  if (argChk_Boolean(t, "float", !1))
22696
- G(this, _e).setChildIndex(N, G(this, _e).children.length - 1), G(this, ne).setChildIndex(k, G(this, ne).children.length - 1), tt(this, sa, Xh).call(this);
22696
+ G(this, _e).setChildIndex(N, G(this, _e).children.length - 1), G(this, ne).setChildIndex(k, G(this, ne).children.length - 1), tt(this, aa, Yh).call(this);
22697
22697
  else if (t.index)
22698
- argChk_Num(t, "index", 0) && (G(this, _e).setChildIndex(N, t.index), G(this, ne).setChildIndex(k, t.index), tt(this, sa, Xh).call(this));
22698
+ argChk_Num(t, "index", 0) && (G(this, _e).setChildIndex(N, t.index), G(this, ne).setChildIndex(k, t.index), tt(this, aa, Yh).call(this));
22699
22699
  else if (t.dive) {
22700
22700
  const { dive: D } = t;
22701
22701
  let U = 0;
@@ -22705,18 +22705,18 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22705
22705
  if (!$)
22706
22706
  throw "[lay] 属性 dive【" + D + "】が不正です。レイヤーがありません";
22707
22707
  const H = $.back, V = $.fore, X = G(this, _e).getChildIndex(H.spLay), z = G(this, ne).getChildIndex(V.spLay);
22708
- U = X < z ? X : z, U > G(this, _e).getChildIndex(N) && --U, G(this, ne).setChildIndex(k, U), G(this, _e).setChildIndex(N, U), tt(this, sa, Xh).call(this);
22708
+ U = X < z ? X : z, U > G(this, _e).getChildIndex(N) && --U, G(this, ne).setChildIndex(k, U), G(this, _e).setChildIndex(N, U), tt(this, aa, Yh).call(this);
22709
22709
  }
22710
22710
  return t[":id_tag"] = r.fore.name.slice(0, -7), this.scrItr.recodeDesign(t), r.lay(t);
22711
- }, sa = new WeakSet(), Xh = function() {
22712
- Q(this, Zi, tt(this, au, ud).call(this));
22713
- }, eu = new WeakSet(), od = function(t) {
22714
- return tt(this, su, ld).call(this, t, (e) => {
22715
- const r = G(this, Jt)[tt(this, Xr, _s).call(this, { layer: e })];
22711
+ }, aa = new WeakSet(), Yh = function() {
22712
+ Q(this, Zi, tt(this, ou, cd).call(this));
22713
+ }, iu = new WeakSet(), hd = function(t) {
22714
+ return tt(this, au, ud).call(this, t, (e) => {
22715
+ const r = G(this, Jt)[tt(this, Xr, gs).call(this, { layer: e })];
22716
22716
  t.page === "both" ? (r.fore.clearLay(t), r.back.clearLay(t)) : r.getPage(t).clearLay(t);
22717
22717
  }), !1;
22718
- }, iu = new WeakMap(), Yo = new WeakMap(), ru = new WeakMap(), Fn = new WeakMap(), Un = new WeakMap(), br = new WeakMap(), Ce = new WeakMap(), Gn = new WeakMap(), nu = new WeakSet(), hd = function(t) {
22719
- tt(this, $n, Ma).call(this), G(this, ki).hideHint();
22718
+ }, ru = new WeakMap(), Wo = new WeakMap(), nu = new WeakMap(), Fn = new WeakMap(), Un = new WeakMap(), br = new WeakMap(), Ce = new WeakMap(), Gn = new WeakMap(), su = new WeakSet(), ld = function(t) {
22719
+ tt(this, $n, Ia).call(this), G(this, ki).hideHint();
22720
22720
  const { layer: e } = t;
22721
22721
  Q(this, Gn, []);
22722
22722
  const r = {}, N = [];
@@ -22777,7 +22777,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22777
22777
  const { ease: X, glsl: z, rule: Y } = t, q = CmnTween.ease(X);
22778
22778
  if (!z && !Y)
22779
22779
  return G(this, Ce).filters = [], G(this, Oe).tw = new Tween(G(this, Ce)).to({ alpha: 0 }, V).delay(argChk_Num(t, "delay", 0)).easing(q).onComplete(H).start(), this.appPixi.ticker.add($), !1;
22780
- const W = z ? new Filter(void 0, z, G(this, Yo)) : G(this, ru);
22780
+ const W = z ? new Filter(void 0, z, G(this, Wo)) : G(this, nu);
22781
22781
  if (W.uniforms.vague = argChk_Num(t, "vague", 0.04), W.uniforms.tick = 0, G(this, Oe).tw = new Tween(W.uniforms).to({ tick: 1 }, V).delay(argChk_Num(t, "delay", 0)).easing(q).onComplete(H), G(this, Ce).filters = [W], z)
22782
22782
  return G(this, Oe).tw.start(), this.appPixi.ticker.add($), !1;
22783
22783
  if (!Y)
@@ -22788,7 +22788,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22788
22788
  }), !1;
22789
22789
  }, Oe = new WeakMap(), Xe = new WeakSet(), ni = function(t = "") {
22790
22790
  return t ? t.split(",") : G(this, Zi);
22791
- }, su = new WeakSet(), ld = function(t, e) {
22791
+ }, au = new WeakSet(), ud = function(t, e) {
22792
22792
  const r = tt(this, Xe, ni).call(this, t.layer);
22793
22793
  for (const N of r) {
22794
22794
  if (!N)
@@ -22799,18 +22799,18 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22799
22799
  e(N, k);
22800
22800
  }
22801
22801
  return r;
22802
- }, au = new WeakSet(), ud = function(t = "") {
22802
+ }, ou = new WeakSet(), cd = function(t = "") {
22803
22803
  return tt(this, Xe, ni).call(this, t).sort((e, r) => {
22804
22804
  const N = G(this, ne).getChildIndex(G(this, Jt)[e].fore.spLay), k = G(this, ne).getChildIndex(G(this, Jt)[r].fore.spLay);
22805
22805
  return N < k ? -1 : N > k ? 1 : 0;
22806
22806
  });
22807
- }, ou = new WeakSet(), cd = function(t) {
22808
- return G(this, Oe).tw ? (G(this, Oe).resume = !0, G(this, ki).waitLimitedEvent(t, () => tt(this, $n, Ma).call(this))) : !1;
22809
- }, $n = new WeakSet(), Ma = function() {
22807
+ }, hu = new WeakSet(), fd = function(t) {
22808
+ return G(this, Oe).tw ? (G(this, Oe).resume = !0, G(this, ki).waitLimitedEvent(t, () => tt(this, $n, Ia).call(this))) : !1;
22809
+ }, $n = new WeakSet(), Ia = function() {
22810
22810
  var t;
22811
22811
  return (t = G(this, Oe).tw) == null || t.end(), !1;
22812
- }, hu = new WeakSet(), fd = function(t) {
22813
- tt(this, $n, Ma).call(this);
22812
+ }, lu = new WeakSet(), dd = function(t) {
22813
+ tt(this, $n, Ia).call(this);
22814
22814
  const e = argChk_Num(t, "time", NaN);
22815
22815
  if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || G(this, ki).isSkippingByKeyDown())
22816
22816
  return !1;
@@ -22839,11 +22839,11 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22839
22839
  (Y = this.appPixi.ticker) == null || Y.remove(D), G(this, ne).visible = !0, G(this, Ce).visible = !1, G(this, Ce).x = 0, G(this, Ce).y = 0, (q = G(this, Oe).tw) == null || q.stop(), G(this, Oe).resume && this.main.resume(), Q(this, Oe, { tw: void 0, resume: !1 });
22840
22840
  }).start();
22841
22841
  return Q(this, Oe, { tw: z, resume: !1 }), this.appPixi.ticker.add(D), !1;
22842
- }, li = new WeakMap(), lu = new WeakSet(), dd = function(t) {
22842
+ }, li = new WeakMap(), uu = new WeakSet(), pd = function(t) {
22843
22843
  const { layer: e, render: r, path: N, name: k, ease: D, chain: U } = t;
22844
22844
  if (!e)
22845
22845
  throw "layerは必須です";
22846
- const $ = tt(this, Xr, _s).call(this, t);
22846
+ const $ = tt(this, Xr, gs).call(this, t);
22847
22847
  let H = G(this, Jt)[$].fore, V = () => {
22848
22848
  };
22849
22849
  const X = G(this, ki).isSkippingByKeyDown();
@@ -22890,7 +22890,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22890
22890
  lt[ft] = H[ft];
22891
22891
  }
22892
22892
  } }, !1;
22893
- }, uu = new WeakSet(), pd = function(t) {
22893
+ }, cu = new WeakSet(), vd = function(t) {
22894
22894
  const { layer: e = "", id: r, name: N } = t, k = r ? `frm
22895
22895
  ${r}` : N ?? e;
22896
22896
  if (!k)
@@ -22905,28 +22905,28 @@ ${r}` : N ?? e;
22905
22905
  argChk_Boolean(t, "canskip", !0),
22906
22906
  argChk_Boolean(t, "global", !1)
22907
22907
  ) : !1;
22908
- }, cu = new WeakSet(), vd = function(t) {
22908
+ }, fu = new WeakSet(), md = function(t) {
22909
22909
  var D, U;
22910
22910
  const { layer: e = "", id: r, name: N } = t, k = r ? `frm
22911
22911
  ${r}` : N ?? e;
22912
22912
  if (!k)
22913
22913
  throw "トゥイーンが指定されていません";
22914
22914
  return (U = (D = G(this, li)[k]) == null ? void 0 : D.tw) == null || U.end(), !1;
22915
- }, fu = new WeakSet(), md = function(t) {
22915
+ }, du = new WeakSet(), _d = function(t) {
22916
22916
  var D, U;
22917
22917
  const { layer: e = "", id: r, name: N } = t, k = r ? `frm
22918
22918
  ${r}` : N ?? e;
22919
22919
  if (!k)
22920
22920
  throw "トゥイーンが指定されていません";
22921
22921
  return (U = (D = G(this, li)[k]) == null ? void 0 : D.tw) == null || U.pause(), !1;
22922
- }, du = new WeakSet(), _d = function(t) {
22922
+ }, pu = new WeakSet(), gd = function(t) {
22923
22923
  var D, U;
22924
22924
  const { layer: e = "", id: r, name: N } = t, k = r ? `frm
22925
22925
  ${r}` : N ?? e;
22926
22926
  if (!k)
22927
22927
  throw "トゥイーンが指定されていません";
22928
22928
  return (U = (D = G(this, li)[k]) == null ? void 0 : D.tw) == null || U.resume(), !1;
22929
- }, zr = new WeakMap(), jn = new WeakSet(), Ia = function(t) {
22929
+ }, zr = new WeakMap(), jn = new WeakSet(), Aa = function(t) {
22930
22930
  const { text: e } = t;
22931
22931
  if (!e)
22932
22932
  throw "textは必須です";
@@ -22937,12 +22937,12 @@ ${r}` : N ?? e;
22937
22937
  const k = argChk_Boolean(t, "record", !0), D = this.val.doRecLog();
22938
22938
  return k || this.val.setVal_Nochk("save", "sn.doRecLog", k), r.tagCh(e.replaceAll("[r]", `
22939
22939
  `)), this.val.setVal_Nochk("save", "sn.doRecLog", D), G(this, Qe).call(this, "add_close|", r), !1;
22940
- }, ui = new WeakMap(), pu = new WeakSet(), gd = function(t) {
22941
- const e = tt(this, Xr, _s).call(this, t, G(this, Ji)), N = G(this, Jt)[e].getPage(t);
22940
+ }, ui = new WeakMap(), vu = new WeakSet(), yd = function(t) {
22941
+ const e = tt(this, Xr, gs).call(this, t, G(this, Ji)), N = G(this, Jt)[e].getPage(t);
22942
22942
  if (!(N instanceof TxtLayer))
22943
22943
  throw e + "はTxtLayerではありません";
22944
22944
  return N;
22945
- }, Wo = new WeakMap(), vu = new WeakSet(), yd = function(t) {
22945
+ }, qo = new WeakMap(), mu = new WeakSet(), bd = function(t) {
22946
22946
  const { layer: e } = t;
22947
22947
  if (!e)
22948
22948
  throw "[current] layerは必須です";
@@ -22954,60 +22954,60 @@ ${r}` : N ?? e;
22954
22954
  N.fore instanceof TxtLayer && (N.fore.isCur = N.back.isCur = r === e);
22955
22955
  }
22956
22956
  return !1;
22957
- }, Qi = new WeakMap(), Hn = new WeakMap(), Xr = new WeakSet(), _s = function(t, e = "") {
22957
+ }, Qi = new WeakMap(), Hn = new WeakMap(), Xr = new WeakSet(), gs = function(t, e = "") {
22958
22958
  const r = t.layer ?? e;
22959
22959
  if (r.includes(","))
22960
22960
  throw "layer名に「,」は使えません";
22961
22961
  if (!(r in G(this, Jt)))
22962
22962
  throw "属性 layer【" + r + "】が不正です。レイヤーがありません";
22963
22963
  return t.layer = r;
22964
- }, Di = new WeakMap(), tr = new WeakMap(), mu = new WeakSet(), bd = function(t) {
22964
+ }, Di = new WeakMap(), tr = new WeakMap(), _u = new WeakSet(), xd = function(t) {
22965
22965
  const e = G(this, ui).call(this, t);
22966
22966
  return t.layer === G(this, Ji) && t.page === "fore" && this.recPagebreak(), e.clearText(), !1;
22967
- }, _u = new WeakSet(), xd = function(t) {
22968
- return G(this, Qe).call(this, "endlink|", G(this, ui).call(this, t)), !1;
22969
22967
  }, gu = new WeakSet(), Ed = function(t) {
22970
- return argChk_Boolean(t, "rec_page_break", !0) && this.recPagebreak(), G(this, Qi) && (G(this, Qi).fore.clearLay(t), G(this, Qi).back.clearLay(t)), !1;
22968
+ return G(this, Qe).call(this, "endlink|", G(this, ui).call(this, t)), !1;
22971
22969
  }, yu = new WeakSet(), Sd = function(t) {
22970
+ return argChk_Boolean(t, "rec_page_break", !0) && this.recPagebreak(), G(this, Qi) && (G(this, Qi).fore.clearLay(t), G(this, Qi).back.clearLay(t)), !1;
22971
+ }, bu = new WeakSet(), Td = function(t) {
22972
22972
  if (!t.pic)
22973
22973
  throw "[graph] picは必須です";
22974
22974
  const e = encodeURIComponent(JSON.stringify(t));
22975
22975
  return G(this, Qe).call(this, "grp|" + e, G(this, ui).call(this, t)), !1;
22976
- }, bu = new WeakSet(), Td = function(t) {
22976
+ }, xu = new WeakSet(), wd = function(t) {
22977
22977
  if (!t.fn && !t.label && !t.url)
22978
22978
  throw "fnまたはlabelまたはurlは必須です";
22979
22979
  t.fn ?? (t.fn = this.scrItr.scriptFn), t.style ?? (t.style = "background-color: rgba(255,0,0,0.5);"), t.style_hover ?? (t.style_hover = "background-color: rgba(255,0,0,0.9);"), t.style_clicked ?? (t.style_clicked = t.style);
22980
22980
  const e = encodeURIComponent(JSON.stringify(t));
22981
22981
  return G(this, Qe).call(this, "link|" + e, G(this, ui).call(this, t)), !1;
22982
- }, xu = new WeakSet(), wd = function(t) {
22983
- return t.text = `
22984
- `, tt(this, jn, Ia).call(this, t);
22985
22982
  }, Eu = new WeakSet(), Pd = function(t) {
22986
- return tt(this, qo, zc).call(this, { ...t, text: "[r]" });
22987
- }, qo = new WeakSet(), zc = function(t) {
22988
- return t.text ? (t.record = !0, t.style ?? (t.style = ""), t.style += "display: none;", t.wait = 0, tt(this, jn, Ia).call(this, t)) : !1;
22983
+ return t.text = `
22984
+ `, tt(this, jn, Aa).call(this, t);
22989
22985
  }, Su = new WeakSet(), Cd = function(t) {
22986
+ return tt(this, Ko, Xc).call(this, { ...t, text: "[r]" });
22987
+ }, Ko = new WeakSet(), Xc = function(t) {
22988
+ return t.text ? (t.record = !0, t.style ?? (t.style = ""), t.style += "display: none;", t.wait = 0, tt(this, jn, Aa).call(this, t)) : !1;
22989
+ }, Tu = new WeakSet(), Od = function(t) {
22990
22990
  return Q(this, tr, []), Q(this, Di, t.text ?? ""), this.val.setVal_Nochk(
22991
22991
  "save",
22992
22992
  "const.sn.sLog",
22993
22993
  t.text ? `[{text:"${t.text}"}]` : "[]"
22994
22994
  ), !1;
22995
- }, Tu = new WeakSet(), Od = function(t) {
22995
+ }, wu = new WeakSet(), Rd = function(t) {
22996
22996
  const { t: e, r } = t;
22997
22997
  if (!e)
22998
22998
  throw "[ruby2] tは必須です";
22999
22999
  if (!r)
23000
23000
  throw "[ruby2] rは必須です";
23001
- return t.text = "|" + encodeURIComponent(e) + "《" + encodeURIComponent(r) + "》", delete t.t, delete t.r, tt(this, jn, Ia).call(this, t);
23002
- }, wu = new WeakSet(), Rd = function(t) {
23001
+ return t.text = "|" + encodeURIComponent(e) + "《" + encodeURIComponent(r) + "》", delete t.t, delete t.r, tt(this, jn, Aa).call(this, t);
23002
+ }, Pu = new WeakSet(), Md = function(t) {
23003
23003
  const e = encodeURIComponent(JSON.stringify(t));
23004
23004
  return G(this, Qe).call(this, "span|" + e, G(this, ui).call(this, t)), !1;
23005
- }, Pu = new WeakSet(), Md = function(t) {
23005
+ }, Cu = new WeakSet(), Id = function(t) {
23006
23006
  if (!t.t)
23007
23007
  throw "[tcy] tは必須です";
23008
23008
  const e = encodeURIComponent(JSON.stringify(t));
23009
23009
  return G(this, Qe).call(this, "tcy|" + e, G(this, ui).call(this, t)), !1;
23010
- }, Cu = new WeakSet(), Id = function(t) {
23010
+ }, Ou = new WeakSet(), Ad = function(t) {
23011
23011
  console.group("🥟 [dump_lay]");
23012
23012
  for (const e of tt(this, Xe, ni).call(this, t.layer)) {
23013
23013
  const r = G(this, Jt)[e];
@@ -23022,10 +23022,10 @@ ${r}` : N ?? e;
23022
23022
  }
23023
23023
  }
23024
23024
  return console.groupEnd(), !1;
23025
- }, Ou = new WeakSet(), Ad = function(t) {
23026
- const e = tt(this, Xr, _s).call(this, t, G(this, Ji)), r = argChk_Boolean(t, "enabled", !0);
23027
- return G(this, ui).call(this, t).enabled = r, this.val.setVal_Nochk("save", "const.sn.layer." + e + ".enabled", r), !1;
23028
23025
  }, Ru = new WeakSet(), Nd = function(t) {
23026
+ const e = tt(this, Xr, gs).call(this, t, G(this, Ji)), r = argChk_Boolean(t, "enabled", !0);
23027
+ return G(this, ui).call(this, t).enabled = r, this.val.setVal_Nochk("save", "const.sn.layer." + e + ".enabled", r), !1;
23028
+ }, Mu = new WeakSet(), Ld = function(t) {
23029
23029
  return Pages.argChk_page(t, "back"), t.fn ?? (t.fn = this.scrItr.scriptFn), G(this, ui).call(this, t).addButton(t), this.scrItr.recodeDesign(t), !1;
23030
23030
  }, // 11 match 301 step (0.1ms) PCRE2 https://regex101.com/r/reinpq/1
23031
23031
  // List ${x}${x2}/${y}${y2}/${o}${o2}=${json}\n
@@ -23046,19 +23046,19 @@ ${r}` : N ?? e;
23046
23046
  */
23047
23047
  gt(LayerMng, "REG_TSY_PATH", /\(\s*(?:(?<x>[-=\d\.]+)|(['"])(?<x2>.*?)\2)?(?:\s*,\s*(?:(?<y>[-=\d\.]+)|(['"])(?<y2>.*?)\5)?(?:\s*,\s*(?:(?<o>[-=\d\.]+)|(['"])(?<o2>.*?)\8))?)?|(?<json>\{[^{}]*})/g), // // 文字・文字レイヤ
23048
23048
  Z(LayerMng, zr, 10);
23049
- var ge, de, aa, Mu, Ld, Ko, Vn, Aa;
23049
+ var ge, de, oa, Iu, kd, Zo, Vn, Na;
23050
23050
  class FocusMng {
23051
23051
  constructor() {
23052
- Z(this, Mu);
23052
+ Z(this, Iu);
23053
23053
  Z(this, Vn);
23054
23054
  Z(this, ge, []);
23055
23055
  Z(this, de, -1);
23056
- Z(this, aa, new EventListenerCtn());
23057
- Z(this, Ko, CmnLib.debugLog ? (t) => console.log(`👾 <FocusMng idx:${t} btn:%o`, G(this, ge)[t].btn) : () => {
23056
+ Z(this, oa, new EventListenerCtn());
23057
+ Z(this, Zo, CmnLib.debugLog ? (t) => console.log(`👾 <FocusMng idx:${t} btn:%o`, G(this, ge)[t].btn) : () => {
23058
23058
  });
23059
23059
  }
23060
23060
  destroy() {
23061
- Q(this, ge, []), Q(this, de, -1), G(this, aa).clear();
23061
+ Q(this, ge, []), Q(this, de, -1), G(this, oa).clear();
23062
23062
  }
23063
23063
  add(t, e, r) {
23064
23064
  if (G(this, ge).findIndex((U) => U.btn === t) >= 0)
@@ -23074,7 +23074,7 @@ class FocusMng {
23074
23074
  }), G(this, ge).push({ btn: t, on: e, off: r });
23075
23075
  return;
23076
23076
  }
23077
- G(this, aa).add(t, "focus", () => {
23077
+ G(this, oa).add(t, "focus", () => {
23078
23078
  for (let U = G(this, ge).length - 1; U >= 0; --U)
23079
23079
  if (G(this, ge)[U].btn === t) {
23080
23080
  Q(this, de, U);
@@ -23090,7 +23090,7 @@ class FocusMng {
23090
23090
  N = () => D.checked = !D.checked;
23091
23091
  break;
23092
23092
  case "":
23093
- t.querySelectorAll("input[type]").length > 0 && (N = (U) => tt(this, Mu, Ld).call(this, t, U.key), k = () => !1);
23093
+ t.querySelectorAll("input[type]").length > 0 && (N = (U) => tt(this, Iu, kd).call(this, t, U.key), k = () => !1);
23094
23094
  break;
23095
23095
  case "range":
23096
23096
  N = (U) => {
@@ -23107,7 +23107,7 @@ class FocusMng {
23107
23107
  };
23108
23108
  break;
23109
23109
  }
23110
- G(this, aa).add(t, "keydown", (U) => {
23110
+ G(this, oa).add(t, "keydown", (U) => {
23111
23111
  if (!(U.key !== "ArrowUp" && U.key !== "ArrowDown" && U.key !== "Enter")) {
23112
23112
  if (U.stopPropagation(), U.stopImmediatePropagation(), k(U)) {
23113
23113
  t.dispatchEvent(new MouseEvent("click"));
@@ -23125,14 +23125,14 @@ class FocusMng {
23125
23125
  return G(this, de) < 0 ? !1 : G(this, ge)[G(this, de)].btn === t;
23126
23126
  }
23127
23127
  prev() {
23128
- tt(this, Vn, Aa).call(this);
23128
+ tt(this, Vn, Na).call(this);
23129
23129
  const t = G(this, ge).length;
23130
23130
  if (t !== 0) {
23131
23131
  --Te(this, de)._ < 0 && Q(this, de, t - 1);
23132
23132
  for (let e = t; e >= 1; --e) {
23133
23133
  const r = (G(this, de) + e) % t;
23134
23134
  if (G(this, ge)[r].on()) {
23135
- Q(this, de, r), G(this, Ko).call(this, r);
23135
+ Q(this, de, r), G(this, Zo).call(this, r);
23136
23136
  return;
23137
23137
  }
23138
23138
  }
@@ -23140,14 +23140,14 @@ class FocusMng {
23140
23140
  }
23141
23141
  }
23142
23142
  next() {
23143
- tt(this, Vn, Aa).call(this);
23143
+ tt(this, Vn, Na).call(this);
23144
23144
  const t = G(this, ge).length;
23145
23145
  if (t !== 0) {
23146
23146
  ++Te(this, de)._ >= t && Q(this, de, 0);
23147
23147
  for (let e = 0; e < t; ++e) {
23148
23148
  const r = (G(this, de) + e) % t;
23149
23149
  if (G(this, ge)[r].on()) {
23150
- Q(this, de, r), G(this, Ko).call(this, r);
23150
+ Q(this, de, r), G(this, Zo).call(this, r);
23151
23151
  return;
23152
23152
  }
23153
23153
  }
@@ -23157,22 +23157,22 @@ class FocusMng {
23157
23157
  getFocus() {
23158
23158
  if (G(this, de) < 0)
23159
23159
  return null;
23160
- tt(this, Vn, Aa).call(this), G(this, de) >= G(this, ge).length && Q(this, de, 0);
23160
+ tt(this, Vn, Na).call(this), G(this, de) >= G(this, ge).length && Q(this, de, 0);
23161
23161
  const t = G(this, ge)[G(this, de)];
23162
23162
  return t.on() ? t.btn : null;
23163
23163
  }
23164
23164
  blur() {
23165
- tt(this, Vn, Aa).call(this), Q(this, de, -1), globalThis.focus();
23165
+ tt(this, Vn, Na).call(this), Q(this, de, -1), globalThis.focus();
23166
23166
  }
23167
23167
  }
23168
- ge = new WeakMap(), de = new WeakMap(), aa = new WeakMap(), Mu = new WeakSet(), Ld = function(t, e) {
23168
+ ge = new WeakMap(), de = new WeakMap(), oa = new WeakMap(), Iu = new WeakSet(), kd = function(t, e) {
23169
23169
  const r = t.querySelectorAll("input[type]"), N = r.length;
23170
23170
  for (let k = 0; k < N; ++k)
23171
23171
  if (r[k].checked) {
23172
23172
  r[(k + N + (e === "ArrowUp" ? -1 : 1)) % N].checked = !0;
23173
23173
  break;
23174
23174
  }
23175
- }, Ko = new WeakMap(), Vn = new WeakSet(), Aa = function() {
23175
+ }, Zo = new WeakMap(), Vn = new WeakSet(), Na = function() {
23176
23176
  for (let t = G(this, ge).length - 1; t >= 0; --t) {
23177
23177
  const e = G(this, ge)[t];
23178
23178
  !(e.btn instanceof Container) || e.btn.parent ? e.off() : G(this, ge).splice(t, 1);
@@ -24182,60 +24182,60 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
24182
24182
  defaultModifiers
24183
24183
  });
24184
24184
  const { GamepadListener } = require("gamepad.js");
24185
- var Ye, Yr, Ne, Zo, Jo, Xc, Qo, Yc, th, Wc, oa, ha, eh, qc, ye, Ei, xr, Er, ih, Wr, gs, rh, nh, De, la, ua, sh, Iu, kd, ah, zn, Au, Dd, oh, Kc, Nu, Bd, hh, Zc, Xn, Na, Yn, Lu, Fd, ku, Ud, Si, Du, Gd, Bu, $d, ca, Yh, Sr, Wn, qn, Fu, jd, We;
24185
+ var Ye, Yr, Ne, Jo, Qo, Yc, th, Wc, eh, qc, ha, la, ih, Kc, ye, Ei, xr, Er, rh, Wr, ys, nh, sh, De, ua, ca, ah, Au, Dd, oh, zn, Nu, Bd, hh, Zc, Lu, Fd, lh, Jc, Xn, La, Yn, ku, Ud, Du, Gd, Si, Wn, Bu, $d, Fu, jd, fa, Wh, Sr, qn, Kn, Uu, Hd, We;
24186
24186
  class EventMng {
24187
24187
  constructor(t, e, r, N, k, D, U, $, H) {
24188
- Z(this, Jo);
24189
24188
  Z(this, Qo);
24190
24189
  Z(this, th);
24191
24190
  Z(this, eh);
24191
+ Z(this, ih);
24192
24192
  Z(this, Wr);
24193
- Z(this, Iu);
24194
- // イベントを全消去
24195
24193
  Z(this, Au);
24196
- Z(this, oh);
24197
- // イベントを予約
24194
+ // イベントを全消去
24198
24195
  Z(this, Nu);
24199
24196
  Z(this, hh);
24197
+ // イベントを予約
24198
+ Z(this, Lu);
24199
+ Z(this, lh);
24200
24200
  Z(this, Xn);
24201
24201
  // 行末クリック待ち
24202
- Z(this, Lu);
24203
- // 改ページクリック待ち
24204
24202
  Z(this, ku);
24203
+ // 改ページクリック待ち
24205
24204
  Z(this, Du);
24206
- // フォーカス移動
24207
24205
  Z(this, Bu);
24206
+ // フォーカス移動
24207
+ Z(this, Fu);
24208
24208
  // ウェイトを入れる
24209
- Z(this, ca);
24209
+ Z(this, fa);
24210
24210
  // クリックを待つ
24211
- Z(this, Fu);
24211
+ Z(this, Uu);
24212
24212
  Z(this, Ye, new EventListenerCtn());
24213
24213
  Z(this, Yr, new GamepadListener({
24214
24214
  analog: !1,
24215
24215
  deadZone: 0.3
24216
24216
  }));
24217
24217
  Z(this, Ne, new FocusMng());
24218
- Z(this, Zo, (t) => {
24218
+ Z(this, Jo, (t) => {
24219
24219
  });
24220
- Z(this, oa, !1);
24221
24220
  Z(this, ha, !1);
24221
+ Z(this, la, !1);
24222
24222
  Z(this, ye, {});
24223
24223
  Z(this, Ei, {});
24224
24224
  Z(this, xr, !1);
24225
24225
  Z(this, Er, !1);
24226
24226
  // 予約イベントの発生待ち中か
24227
- Z(this, ih, (t) => G(this, ye)[t] ?? G(this, Ei)[t]);
24228
- Z(this, rh, () => {
24229
- Q(this, rh, () => {
24227
+ Z(this, rh, (t) => G(this, ye)[t] ?? G(this, Ei)[t]);
24228
+ Z(this, nh, () => {
24229
+ Q(this, nh, () => {
24230
24230
  }), this.scrItr.firstWait();
24231
24231
  });
24232
- Z(this, nh, {
24232
+ Z(this, sh, {
24233
24233
  getBoundingClientRect: (t = 0, e = 0) => DOMRect.fromRect({ x: t, y: e, width: 0, height: 0 })
24234
24234
  });
24235
24235
  Z(this, De, void 0);
24236
- Z(this, la, void 0);
24237
24236
  Z(this, ua, void 0);
24238
- Z(this, sh, {
24237
+ Z(this, ca, void 0);
24238
+ Z(this, ah, {
24239
24239
  placement: "bottom",
24240
24240
  modifiers: [
24241
24241
  {
@@ -24247,16 +24247,18 @@ class EventMng {
24247
24247
  }
24248
24248
  ]
24249
24249
  });
24250
- Z(this, ah, (t, e) => {
24250
+ Z(this, oh, (t, e) => {
24251
24251
  });
24252
24252
  Z(this, zn, new EventListenerCtn());
24253
24253
  Z(this, Yn, () => this.layMng.goTxt());
24254
24254
  // スキップ中断予約
24255
24255
  Z(this, Si, () => !1);
24256
+ Z(this, Wn, () => {
24257
+ });
24256
24258
  Z(this, Sr, () => {
24257
24259
  });
24258
- Z(this, Wn, new i$1());
24259
- Z(this, qn, "sn:notice_comp_txt");
24260
+ Z(this, qn, new i$1());
24261
+ Z(this, Kn, "sn:notice_comp_txt");
24260
24262
  // 0:no push 1:one push 2:push repeating
24261
24263
  Z(this, We, {
24262
24264
  Alt: 0,
@@ -24272,8 +24274,8 @@ class EventMng {
24272
24274
  // AndroidのBackキーだと思う
24273
24275
  });
24274
24276
  var W, K;
24275
- if (this.cfg = t, this.hTag = e, this.appPixi = r, this.main = N, this.layMng = k, this.val = D, this.sndMng = U, this.scrItr = $, this.sys = H, e.clear_event = (J) => tt(this, Au, Dd).call(this, J), e.event = (J) => tt(this, Nu, Bd).call(this, J), e.l = (J) => tt(this, Lu, Fd).call(this, J), e.p = (J) => tt(this, ku, Ud).call(this, J), e.s = () => ($.recodePage(), tt(this, Wr, gs).call(this, () => {
24276
- }, !1, !0)), e.set_cancel_skip = () => tt(this, Du, Gd).call(this), e.set_focus = (J) => tt(this, Bu, $d).call(this, J), e.wait = (J) => tt(this, ca, Yh).call(this, J), e.waitclick = () => tt(this, Fu, jd).call(this), U.setEvtMng(this), $.setOtherObj(this, k), TxtLayer.setEvtMng(N, this, H), k.setEvtMng(this), H.setFire((J, et) => this.fire(J, et)), CmnLib.isDbg) {
24277
+ if (this.cfg = t, this.hTag = e, this.appPixi = r, this.main = N, this.layMng = k, this.val = D, this.sndMng = U, this.scrItr = $, this.sys = H, e.clear_event = (J) => tt(this, Nu, Bd).call(this, J), e.event = (J) => tt(this, Lu, Fd).call(this, J), e.l = (J) => tt(this, ku, Ud).call(this, J), e.p = (J) => tt(this, Du, Gd).call(this, J), e.s = () => ($.recodePage(), tt(this, Wr, ys).call(this, () => {
24278
+ }, !1, !0)), e.set_cancel_skip = () => tt(this, Bu, $d).call(this), e.set_focus = (J) => tt(this, Fu, jd).call(this, J), e.wait = (J) => tt(this, fa, Wh).call(this, J), e.waitclick = () => tt(this, Uu, Hd).call(this), U.setEvtMng(this), $.setOtherObj(this, k), TxtLayer.setEvtMng(N, this, H), k.setEvtMng(this), H.setFire((J, et) => this.fire(J, et)), CmnLib.isDbg) {
24277
24279
  const J = {
24278
24280
  pause: () => {
24279
24281
  if (Q(this, xr, !0), !G(this, Er))
@@ -24330,7 +24332,7 @@ class EventMng {
24330
24332
  <div class="sn_hint" role="tooltip">
24331
24333
  <span>Dummy</span>
24332
24334
  <div class="sn_hint_ar" data-popper-arrow></div>
24333
- </div>`), Q(this, De, document.querySelector(".sn_hint")), Q(this, la, G(this, De).querySelector("span")), Q(this, ua, createPopper(G(this, nh), G(this, De))), G(this, De).hidden = !0, r.stage.interactive = !0, CmnLib.isMobile ? r.stage.on("pointerdown", (J) => this.fire("click", J)) : G(this, Ye).add(r.stage, "pointerdown", (J) => {
24335
+ </div>`), Q(this, De, document.querySelector(".sn_hint")), Q(this, ua, G(this, De).querySelector("span")), Q(this, ca, createPopper(G(this, sh), G(this, De))), G(this, De).hidden = !0, r.stage.interactive = !0, CmnLib.isMobile ? r.stage.on("pointerdown", (J) => this.fire("click", J)) : G(this, Ye).add(r.stage, "pointerdown", (J) => {
24334
24336
  switch (J.data.button) {
24335
24337
  case 0:
24336
24338
  this.fire("click", J);
@@ -24339,7 +24341,7 @@ class EventMng {
24339
24341
  this.fire("middleclick", J);
24340
24342
  break;
24341
24343
  }
24342
- }), G(this, Ye).add(window, "keydown", (J) => tt(this, Jo, Xc).call(this, J)), G(this, Ye).add(Main.cvs, "contextmenu", (J) => tt(this, Qo, Yc).call(this, J));
24344
+ }), G(this, Ye).add(window, "keydown", (J) => tt(this, Qo, Yc).call(this, J)), G(this, Ye).add(Main.cvs, "contextmenu", (J) => tt(this, th, Wc).call(this, J));
24343
24345
  const V = () => D.setVal_Nochk("tmp", "const.sn.navigator.language", navigator.language);
24344
24346
  G(this, Ye).add(window, "languagechange", (J) => {
24345
24347
  V(), this.fire("sn:chgNavLang", J), clearTextureCache();
@@ -24349,7 +24351,7 @@ class EventMng {
24349
24351
  }, z = globalThis.matchMedia("(prefers-color-scheme: dark)");
24350
24352
  X(z), G(this, Ye).add(z, "change", (J) => {
24351
24353
  X(J), this.fire("sn:chgDarkMode", J);
24352
- }), "WheelEvent" in window && (G(this, Ye).add(Main.cvs, "wheel", (J) => tt(this, th, Wc).call(this, J), { passive: !0 }), Q(this, Zo, (J) => G(this, Ye).add(J, "wheel", (et) => tt(this, th, Wc).call(this, et), { passive: !0 })), Q(this, ah, (J, et) => J.add(Main.cvs, "wheel", (it) => {
24354
+ }), "WheelEvent" in window && (G(this, Ye).add(Main.cvs, "wheel", (J) => tt(this, eh, qc).call(this, J), { passive: !0 }), Q(this, Jo, (J) => G(this, Ye).add(J, "wheel", (et) => tt(this, eh, qc).call(this, et), { passive: !0 })), Q(this, oh, (J, et) => J.add(Main.cvs, "wheel", (it) => {
24353
24355
  it.isComposing || it.deltaY <= 0 || (it.stopPropagation(), et());
24354
24356
  }))), CmnLib.debugLog && (G(this, Yr).on("gamepad:connected", (J) => console.log(`👺<'gamepad:connected' index:${J.detail.index} id:${J.detail.gamepad.id}`)), G(this, Yr).on("gamepad:disconnected", (J) => console.log(`👺<'gamepad:disconnected' index:${J.detail.index} id:${J.detail.gamepad.id}`)));
24355
24357
  const Y = [
@@ -24387,7 +24389,7 @@ class EventMng {
24387
24389
  }), D.defTmp("const.sn.key.alternate", () => G(this, We).Alt > 0), D.defTmp("const.sn.key.command", () => G(this, We).Meta > 0), D.defTmp("const.sn.key.control", () => G(this, We).Control > 0), D.defTmp("const.sn.key.end", () => G(this, We).End > 0), D.defTmp("const.sn.key.escape", () => G(this, We).Escape > 0), D.defTmp("const.sn.key.back", () => G(this, We).GoBack > 0);
24388
24390
  }
24389
24391
  resvFlameEvent(t) {
24390
- G(this, Ye).add(t, "keydown", (e) => tt(this, Jo, Xc).call(this, e)), G(this, Ye).add(t, "contextmenu", (e) => tt(this, Qo, Yc).call(this, e)), G(this, Zo).call(this, t);
24392
+ G(this, Ye).add(t, "keydown", (e) => tt(this, Qo, Yc).call(this, e)), G(this, Ye).add(t, "contextmenu", (e) => tt(this, th, Wc).call(this, e)), G(this, Jo).call(this, t);
24391
24393
  }
24392
24394
  destroy() {
24393
24395
  G(this, Ne).destroy(), G(this, Ye).clear();
@@ -24404,7 +24406,7 @@ class EventMng {
24404
24406
  return;
24405
24407
  }
24406
24408
  }
24407
- const N = G(this, ih).call(this, r);
24409
+ const N = G(this, rh).call(this, r);
24408
24410
  if (!N) {
24409
24411
  r.slice(0, 5) === "swipe" && globalThis.scrollBy(
24410
24412
  -e.deltaX,
@@ -24429,7 +24431,7 @@ class EventMng {
24429
24431
  return t(), !1;
24430
24432
  G(this, Si).call(this);
24431
24433
  }
24432
- return tt(this, Wr, gs).call(this, t, e, r);
24434
+ return tt(this, Wr, ys).call(this, t, e, r);
24433
24435
  }
24434
24436
  unButton(t) {
24435
24437
  G(this, Ne).remove(t);
@@ -24439,7 +24441,7 @@ class EventMng {
24439
24441
  !t.fn && !t.label && !t.url && this.main.errScript("fnまたはlabelまたはurlは必須です"), t.fn ?? (t.fn = this.scrItr.scriptFn), e.interactive = e.buttonMode = !0;
24440
24442
  const D = ((X = t.key) == null ? void 0 : X.toLowerCase()) ?? " ", U = argChk_Boolean(t, "global", !1);
24441
24443
  U ? G(this, Ei)[D] = () => this.main.resumeByJumpOrCall(t) : G(this, ye)[D] = () => this.main.resumeByJumpOrCall(t), e.on("pointerdown", (z) => this.fire(D, z));
24442
- const $ = t.hint ? () => tt(this, Iu, kd).call(this, t, e) : () => {
24444
+ const $ = t.hint ? () => tt(this, Au, Dd).call(this, t, e) : () => {
24443
24445
  }, H = () => {
24444
24446
  r(), G(this, De).hidden = !0;
24445
24447
  }, V = () => ($(), N());
@@ -24491,55 +24493,55 @@ class EventMng {
24491
24493
  N.stopPropagation(), r();
24492
24494
  }), G(this, zn).add(window, "keydown", (N) => {
24493
24495
  N.isComposing || (N.stopPropagation(), r());
24494
- }), G(this, ah).call(this, G(this, zn), r)), !0;
24496
+ }), G(this, oh).call(this, G(this, zn), r)), !0;
24495
24497
  }
24496
24498
  noticeCompTxt() {
24497
- G(this, Wn).emit(G(this, qn));
24499
+ G(this, qn).emit(G(this, Kn));
24498
24500
  }
24499
24501
  // キー押下によるスキップ中か
24500
24502
  isSkippingByKeyDown() {
24501
24503
  return this.scrItr.skip4page ? !0 : Object.keys(G(this, We)).some((t) => G(this, We)[t] === 2);
24502
24504
  }
24503
24505
  }
24504
- Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(), Jo = new WeakSet(), Xc = function(t) {
24506
+ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Jo = new WeakMap(), Qo = new WeakSet(), Yc = function(t) {
24505
24507
  if (t.isComposing)
24506
24508
  return;
24507
24509
  t.key in G(this, We) && (G(this, We)[t.key] = t.repeat ? 2 : 1);
24508
24510
  const e = (t.altKey ? t.key === "Alt" ? "" : "alt+" : "") + (t.ctrlKey ? t.key === "Control" ? "" : "ctrl+" : "") + (t.shiftKey ? t.key === "Shift" ? "" : "shift+" : "") + t.key;
24509
24511
  this.fire(e, t);
24510
- }, Qo = new WeakSet(), Yc = function(t) {
24512
+ }, th = new WeakSet(), Wc = function(t) {
24511
24513
  const e = (t.altKey ? t.key === "Alt" ? "" : "alt+" : "") + (t.ctrlKey ? t.key === "Control" ? "" : "ctrl+" : "") + (t.shiftKey ? t.key === "Shift" ? "" : "shift+" : "") + "rightclick";
24512
24514
  this.fire(e, t), t.preventDefault();
24513
- }, th = new WeakSet(), Wc = function(t) {
24515
+ }, eh = new WeakSet(), qc = function(t) {
24514
24516
  if (t.isComposing)
24515
24517
  return;
24516
- if (G(this, oa)) {
24517
- Q(this, ha, !0);
24518
+ if (G(this, ha)) {
24519
+ Q(this, la, !0);
24518
24520
  return;
24519
24521
  }
24520
- Q(this, oa, !0), tt(this, eh, qc).call(this);
24522
+ Q(this, ha, !0), tt(this, ih, Kc).call(this);
24521
24523
  const e = (t.altKey ? "alt+" : "") + (t.ctrlKey ? "ctrl+" : "") + (t.shiftKey ? "shift+" : "") + (t.deltaY > 0 ? "downwheel" : "upwheel");
24522
24524
  this.fire(e, t);
24523
- }, oa = new WeakMap(), ha = new WeakMap(), eh = new WeakSet(), qc = function() {
24525
+ }, ha = new WeakMap(), la = new WeakMap(), ih = new WeakSet(), Kc = function() {
24524
24526
  setTimeout(() => {
24525
- if (G(this, ha)) {
24526
- Q(this, ha, !1), tt(this, eh, qc).call(this);
24527
+ if (G(this, la)) {
24528
+ Q(this, la, !1), tt(this, ih, Kc).call(this);
24527
24529
  return;
24528
24530
  }
24529
- Q(this, oa, !1);
24531
+ Q(this, ha, !1);
24530
24532
  }, 250);
24531
- }, ye = new WeakMap(), Ei = new WeakMap(), xr = new WeakMap(), Er = new WeakMap(), ih = new WeakMap(), Wr = new WeakSet(), gs = function(t, e = !0, r = !0) {
24533
+ }, ye = new WeakMap(), Ei = new WeakMap(), xr = new WeakMap(), Er = new WeakMap(), rh = new WeakMap(), Wr = new WeakSet(), ys = function(t, e = !0, r = !0) {
24532
24534
  if (G(this, Yn).call(this), this.val.saveKidoku(), e ? G(this, ye).click = //this.hTag.event({key:'enter', breakout: fnc});
24533
24535
  //hTag.event({key:'down', breakout: fnc});
24534
24536
  // hTag.event()は内部で使わず、こうする
24535
24537
  G(this, ye).enter = G(this, ye).arrowdown = // hTag.event({key:'downwheel', breakout: fnc});
24536
24538
  // hTag.event()は内部で使わず、こうする
24537
- G(this, ye)["wheel.y>0"] = t : (delete G(this, ye).click, delete G(this, ye).enter, delete G(this, ye).arrowdown, delete G(this, ye)["wheel.y>0"]), Q(this, ih, r ? (N) => G(this, ye)[N] ?? G(this, Ei)[N] : (N) => G(this, ye)[N]), Q(this, Er, !0), G(this, rh).call(this), CmnLib.debugLog) {
24539
+ G(this, ye)["wheel.y>0"] = t : (delete G(this, ye).click, delete G(this, ye).enter, delete G(this, ye).arrowdown, delete G(this, ye)["wheel.y>0"]), Q(this, rh, r ? (N) => G(this, ye)[N] ?? G(this, Ei)[N] : (N) => G(this, ye)[N]), Q(this, Er, !0), G(this, nh).call(this), CmnLib.debugLog) {
24538
24540
  const N = /* @__PURE__ */ Object.create(null);
24539
24541
  N.local = Object.keys(G(this, ye)), N.global = Object.keys(G(this, Ei)), console.log("🎍 wait event... %o", N);
24540
24542
  }
24541
24543
  return !0;
24542
- }, rh = new WeakMap(), nh = new WeakMap(), De = new WeakMap(), la = new WeakMap(), ua = new WeakMap(), sh = new WeakMap(), Iu = new WeakSet(), kd = function(t, e) {
24544
+ }, nh = new WeakMap(), sh = new WeakMap(), De = new WeakMap(), ua = new WeakMap(), ca = new WeakMap(), ah = new WeakMap(), Au = new WeakSet(), Dd = function(t, e) {
24543
24545
  const r = e instanceof Button ? e.getBtnBounds() : e.getBounds();
24544
24546
  if (!(t[":タグ名"] === "link")) {
24545
24547
  const k = e.parent.parent;
@@ -24549,27 +24551,27 @@ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(),
24549
24551
  G(this, De).hidden = !0;
24550
24552
  return;
24551
24553
  }
24552
- G(this, De).style.cssText = `position:${G(this, De).style.position}; transform:${G(this, De).style.transform};` + (t.hint_style ?? ""), G(this, la).style.cssText = "", G(this, la).textContent = t.hint ?? "";
24554
+ G(this, De).style.cssText = `position:${G(this, De).style.position}; transform:${G(this, De).style.transform};` + (t.hint_style ?? ""), G(this, ua).style.cssText = "", G(this, ua).textContent = t.hint ?? "";
24553
24555
  try {
24554
- const k = t.hint_opt ? { ...G(this, sh), ...JSON.parse(t.hint_opt) } : G(this, sh);
24555
- G(this, ua).setOptions(k);
24556
+ const k = t.hint_opt ? { ...G(this, ah), ...JSON.parse(t.hint_opt) } : G(this, ah);
24557
+ G(this, ca).setOptions(k);
24556
24558
  } catch (k) {
24557
24559
  console.error(mesErrJSON(t, "hint_opt", k.message));
24558
24560
  }
24559
- G(this, nh).getBoundingClientRect = () => DOMRect.fromRect({
24561
+ G(this, sh).getBoundingClientRect = () => DOMRect.fromRect({
24560
24562
  x: this.sys.ofsLeft4elm + r.x * this.sys.cvsScale,
24561
24563
  y: this.sys.ofsTop4elm + r.y * this.sys.cvsScale,
24562
24564
  width: r.width,
24563
24565
  height: r.height
24564
- }), G(this, ua).update(), G(this, De).hidden = !1;
24565
- }, ah = new WeakMap(), zn = new WeakMap(), Au = new WeakSet(), Dd = function(t) {
24566
+ }), G(this, ca).update(), G(this, De).hidden = !1;
24567
+ }, oh = new WeakMap(), zn = new WeakMap(), Nu = new WeakSet(), Bd = function(t) {
24566
24568
  const e = argChk_Boolean(t, "global", !1), r = e ? G(this, Ei) : G(this, ye);
24567
24569
  for (const [N, k] of Object.entries(r))
24568
- tt(this, oh, Kc).call(this, N, k);
24570
+ tt(this, hh, Zc).call(this, N, k);
24569
24571
  return e ? Q(this, Ei, {}) : Q(this, ye, {}), Q(this, Er, !1), !1;
24570
- }, oh = new WeakSet(), Kc = function(t, e) {
24571
- t.slice(0, 4) === "dom=" && tt(this, Xn, Na).call(this, t).el.forEach((r) => r.removeEventListener("click", e));
24572
- }, Nu = new WeakSet(), Bd = function(t) {
24572
+ }, hh = new WeakSet(), Zc = function(t, e) {
24573
+ t.slice(0, 4) === "dom=" && tt(this, Xn, La).call(this, t).el.forEach((r) => r.removeEventListener("click", e));
24574
+ }, Lu = new WeakSet(), Fd = function(t) {
24573
24575
  const e = t.key;
24574
24576
  if (!e)
24575
24577
  throw "keyは必須です";
@@ -24577,12 +24579,12 @@ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(),
24577
24579
  if (argChk_Boolean(t, "del", !1)) {
24578
24580
  if (t.fn || t.label || N || t.url)
24579
24581
  throw "fn/label/callとdelは同時指定できません";
24580
- return tt(this, oh, Kc).call(this, e, k[r]), delete k[r], !1;
24582
+ return tt(this, hh, Zc).call(this, e, k[r]), delete k[r], !1;
24581
24583
  }
24582
24584
  if (!t.fn && !t.label && !t.url)
24583
24585
  throw "fnまたはlabelまたはurlは必須です";
24584
24586
  if (t.fn ?? (t.fn = this.scrItr.scriptFn), e.slice(0, 4) === "dom=") {
24585
- const D = tt(this, Xn, Na).call(this, e);
24587
+ const D = tt(this, Xn, La).call(this, e);
24586
24588
  if (D.el.length === 0) {
24587
24589
  if (argChk_Boolean(t, "need_err", !0))
24588
24590
  throw `HTML内にセレクタ(${D.sel})に対応する要素が見つかりません。存在しない場合を許容するなら、need_err=false と指定してください`;
@@ -24611,14 +24613,14 @@ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(),
24611
24613
  this.fire(e, z);
24612
24614
  }), V === 0 && G(this, Ne).add(
24613
24615
  X,
24614
- () => tt(this, hh, Zc).call(this, X) ? (X.focus(), !0) : !1,
24616
+ () => tt(this, lh, Jc).call(this, X) ? (X.focus(), !0) : !1,
24615
24617
  () => {
24616
24618
  }
24617
24619
  );
24618
24620
  }));
24619
24621
  }
24620
24622
  return k[r] = () => this.main.resumeByJumpOrCall(t), !1;
24621
- }, hh = new WeakSet(), Zc = function(t) {
24623
+ }, lh = new WeakSet(), Jc = function(t) {
24622
24624
  if (t.offsetParent === null)
24623
24625
  return !1;
24624
24626
  let e = t;
@@ -24628,7 +24630,7 @@ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(),
24628
24630
  e = e.parentElement;
24629
24631
  } while (e !== null);
24630
24632
  return !0;
24631
- }, Xn = new WeakSet(), Na = function(t) {
24633
+ }, Xn = new WeakSet(), La = function(t) {
24632
24634
  const e = t.indexOf(":");
24633
24635
  let r = "";
24634
24636
  if (e >= 0) {
@@ -24639,7 +24641,7 @@ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(),
24639
24641
  return r = t.slice(e + 1), { el: U.document.querySelectorAll(r), id: N, sel: r };
24640
24642
  }
24641
24643
  return r = t.slice(4), { el: document.querySelectorAll(r), id: "", sel: r };
24642
- }, Yn = new WeakMap(), Lu = new WeakSet(), Fd = function(t) {
24644
+ }, Yn = new WeakMap(), ku = new WeakSet(), Ud = function(t) {
24643
24645
  if (this.scrItr.skip4page)
24644
24646
  return !1;
24645
24647
  if (!this.val.getVal("tmp:sn.tagL.enabled"))
@@ -24651,10 +24653,13 @@ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(),
24651
24653
  else if ("ps".includes(this.val.getVal("sys:sn.skip.mode")))
24652
24654
  return !1;
24653
24655
  }
24654
- return this.val.getVal("tmp:sn.auto.enabled") ? tt(this, ca, Yh).call(this, {
24655
- time: Number(this.scrItr.isKidoku ? this.val.getVal("sys:sn.auto.msecLineWait_Kidoku") : this.val.getVal("sys:sn.auto.msecLineWait"))
24656
- }) : (argChk_Boolean(t, "visible", !0) && this.layMng.breakLine(t), tt(this, Wr, gs).call(this, () => this.main.resume()));
24657
- }, ku = new WeakSet(), Ud = function(t) {
24656
+ return this.val.getVal("tmp:sn.auto.enabled") ? (Q(this, Wn, () => this.layMng.breakLine(t)), tt(this, fa, Wh).call(this, {
24657
+ time: Number(this.scrItr.isKidoku ? this.val.getVal("sys:sn.auto.msecLineWait_Kidoku") : this.val.getVal("sys:sn.auto.msecLineWait")),
24658
+ canskip: !1,
24659
+ global: !0
24660
+ // 必須
24661
+ })) : (argChk_Boolean(t, "visible", !0) && this.layMng.breakLine(t), tt(this, Wr, ys).call(this, () => this.main.resume()));
24662
+ }, Du = new WeakSet(), Gd = function(t) {
24658
24663
  if (this.scrItr.recodePage(), this.val.getVal("tmp:sn.skip.enabled")) {
24659
24664
  if (!this.val.getVal("tmp:sn.skip.all") && // 未読で停止
24660
24665
  !this.scrItr.isNextKidoku)
@@ -24663,33 +24668,37 @@ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(),
24663
24668
  return G(this, Yn).call(this), !1;
24664
24669
  }
24665
24670
  if (this.val.getVal("tmp:sn.auto.enabled"))
24666
- return tt(this, ca, Yh).call(this, {
24667
- time: Number(this.scrItr.isKidoku ? this.val.getVal("sys:sn.auto.msecPageWait_Kidoku") : this.val.getVal("sys:sn.auto.msecPageWait"))
24671
+ return Q(this, Wn, () => this.layMng.breakPage(t)), tt(this, fa, Wh).call(this, {
24672
+ time: Number(this.scrItr.isKidoku ? this.val.getVal("sys:sn.auto.msecPageWait_Kidoku") : this.val.getVal("sys:sn.auto.msecPageWait")),
24673
+ canskip: !1,
24674
+ global: !0
24675
+ // 必須
24668
24676
  });
24669
24677
  argChk_Boolean(t, "visible", !0) && this.layMng.breakPage(t);
24670
24678
  const e = () => {
24671
24679
  this.sndMng.clearCache(), G(this, De).hidden = !0, this.main.resume();
24672
24680
  };
24673
- return tt(this, Wr, gs).call(this, argChk_Boolean(t, "er", !1) && this.layMng.currentTxtlayFore ? () => {
24681
+ return tt(this, Wr, ys).call(this, argChk_Boolean(t, "er", !1) && this.layMng.currentTxtlayFore ? () => {
24674
24682
  this.hTag.er(t), e();
24675
24683
  } : e);
24676
- }, Si = new WeakMap(), Du = new WeakSet(), Gd = function() {
24677
- return Q(this, Si, () => (Q(this, Si, () => !1), this.val.setVal_Nochk("tmp", "sn.tagL.enabled", !0), this.val.setVal_Nochk("tmp", "sn.skip.enabled", !1), this.val.setVal_Nochk("tmp", "sn.auto.enabled", !1), this.layMng.setNormalChWait(), G(this, Sr).call(this), !0)), !1;
24678
- }, Bu = new WeakSet(), $d = function(t) {
24684
+ }, Si = new WeakMap(), Wn = new WeakMap(), Bu = new WeakSet(), $d = function() {
24685
+ return Q(this, Si, () => (Q(this, Si, () => !1), this.val.setVal_Nochk("tmp", "sn.tagL.enabled", !0), this.val.setVal_Nochk("tmp", "sn.skip.enabled", !1), this.val.setVal_Nochk("tmp", "sn.auto.enabled", !1), this.layMng.setNormalChWait(), G(this, Sr).call(this), G(this, Wn).call(this), Q(this, Wn, () => {
24686
+ }), !0)), !1;
24687
+ }, Fu = new WeakSet(), jd = function(t) {
24679
24688
  const { add: e, del: r, to: N } = t;
24680
24689
  if ((e == null ? void 0 : e.slice(0, 4)) === "dom=") {
24681
- const k = tt(this, Xn, Na).call(this, e);
24690
+ const k = tt(this, Xn, La).call(this, e);
24682
24691
  if (k.el.length === 0 && argChk_Boolean(t, "need_err", !0))
24683
24692
  throw `HTML内にセレクタ(${k.sel})に対応する要素が見つかりません。存在しない場合を許容するなら、need_err=false と指定してください`;
24684
24693
  return k.el.forEach((D) => G(this, Ne).add(
24685
24694
  D,
24686
- () => tt(this, hh, Zc).call(this, D) ? (D.focus(), !0) : !1,
24695
+ () => tt(this, lh, Jc).call(this, D) ? (D.focus(), !0) : !1,
24687
24696
  () => {
24688
24697
  }
24689
24698
  )), !1;
24690
24699
  }
24691
24700
  if ((r == null ? void 0 : r.slice(0, 4)) === "dom=") {
24692
- const k = tt(this, Xn, Na).call(this, r);
24701
+ const k = tt(this, Xn, La).call(this, r);
24693
24702
  if (k.el.length === 0 && argChk_Boolean(t, "need_err", !0))
24694
24703
  throw `HTML内にセレクタ(${k.sel})に対応する要素が見つかりません。存在しない場合を許容するなら、need_err=false と指定してください`;
24695
24704
  return k.el.forEach((D) => G(this, Ne).remove(D)), !1;
@@ -24708,11 +24717,11 @@ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(),
24708
24717
  break;
24709
24718
  }
24710
24719
  return !1;
24711
- }, ca = new WeakSet(), Yh = function(t) {
24720
+ }, fa = new WeakSet(), Wh = function(t) {
24712
24721
  const e = argChk_Num(t, "time", NaN);
24713
24722
  return this.scrItr.skip4page ? !1 : this.val.getVal("tmp:sn.skip.enabled") ? (!this.val.getVal("tmp:sn.skip.all") && // 未読で停止
24714
- !this.scrItr.isNextKidoku && G(this, Si).call(this), !1) : (G(this, Wn).once(G(this, qn), () => {
24715
- G(this, Wn).off(G(this, qn));
24723
+ !this.scrItr.isNextKidoku && G(this, Si).call(this), !1) : (G(this, qn).once(G(this, Kn), () => {
24724
+ G(this, qn).off(G(this, Kn));
24716
24725
  const r = new Tween({}).to({}, e).onComplete(() => {
24717
24726
  Q(this, Sr, () => {
24718
24727
  }), r.stop(), this.main.resume();
@@ -24720,15 +24729,15 @@ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(),
24720
24729
  Q(this, Sr, () => r.end());
24721
24730
  }), Q(this, Sr, () => {
24722
24731
  Q(this, Sr, () => {
24723
- }), G(this, Wn).off(G(this, qn));
24732
+ }), G(this, qn).off(G(this, Kn));
24724
24733
  }), this.waitEvent(
24725
24734
  () => G(this, Sr).call(this),
24726
24735
  argChk_Boolean(t, "canskip", !0),
24727
24736
  // スキップ中は利かない
24728
24737
  argChk_Boolean(t, "global", !1)
24729
24738
  ));
24730
- }, Sr = new WeakMap(), Wn = new WeakMap(), qn = new WeakMap(), Fu = new WeakSet(), jd = function() {
24731
- return this.scrItr.skip4page ? !1 : ((this.val.getVal("tmp:sn.skip.enabled") || this.val.getVal("tmp:sn.auto.enabled")) && G(this, Si).call(this), tt(this, Wr, gs).call(this, () => this.main.resume()));
24739
+ }, Sr = new WeakMap(), qn = new WeakMap(), Kn = new WeakMap(), Uu = new WeakSet(), Hd = function() {
24740
+ return this.scrItr.skip4page ? !1 : ((this.val.getVal("tmp:sn.skip.enabled") || this.val.getVal("tmp:sn.auto.enabled")) && G(this, Si).call(this), tt(this, Wr, ys).call(this, () => this.main.resume()));
24732
24741
  }, We = new WeakMap();
24733
24742
  class CallStack {
24734
24743
  constructor(t = "", e = 0, r = { ":hEvt1Time": {}, ":hMp": {} }) {
@@ -24736,70 +24745,70 @@ class CallStack {
24736
24745
  this.fn = t, this.idx = e, this.csArg = r;
24737
24746
  }
24738
24747
  }
24739
- var Qt, se, Nt, pe, ce, Tr, lh, Jc, Kn, qr, Uu, Kr, uh, Qc, ch, tf, fh, Zr, ys, Zn, La, Jn, wr, xe, Gu, Hd, Qn, ka, $u, Vd, dh, fa, ci, ju, zd, Hu, Xd, Pr, sn, Vu, Yd, ts, es, ph, vh, mh, fi, zu, Wd, Xu, qd, Yu, Kd, _h, ef, Wu, Zd, qu, Jd, Ku, Qd, gh, rf, yh, is, Da, rs, er, Ir, bh, nf, xh, Eh, sf, Zu, Ju, Sh, Qu, tp, Be, tc, ep, Th, af, ec, ic, rc, ip, nc, rp, Cr, wh, of, sc, np, ac, sp, oc, hc, ap, Ph, da, lc, op, pa, Wh, va, uc, hp, Bi, cc, lp, ma, qh, fc, up, Fi, Fe;
24748
+ var Qt, se, Nt, pe, ce, Tr, uh, Qc, Zn, qr, Gu, Kr, ch, tf, fh, ef, dh, Zr, bs, Jn, ka, Qn, wr, xe, $u, Vd, ts, Da, ju, zd, ph, da, ci, Hu, Xd, Vu, Yd, Pr, sn, zu, Wd, es, is, vh, mh, _h, fi, Xu, qd, Yu, Kd, Wu, Zd, gh, rf, qu, Jd, Ku, Qd, Zu, tp, yh, nf, bh, rs, Ba, ns, er, Ir, xh, sf, Eh, Sh, af, Ju, Qu, Th, tc, ep, Be, ec, ip, wh, of, ic, rc, nc, rp, sc, np, Cr, Ph, hf, ac, sp, oc, ap, hc, lc, op, Ch, pa, uc, hp, va, qh, ma, cc, lp, Bi, fc, up, ga, Kh, dc, cp, Fi, Fe;
24740
24749
  const si = class {
24741
24750
  constructor(t, e, r, N, k, D, U, $, H) {
24742
- Z(this, lh);
24743
24751
  Z(this, uh);
24744
24752
  Z(this, ch);
24753
+ Z(this, fh);
24745
24754
  Z(this, Zr);
24746
- Z(this, Zn);
24747
- Z(this, Gu);
24748
- Z(this, Qn);
24755
+ Z(this, Jn);
24749
24756
  Z(this, $u);
24757
+ Z(this, ts);
24758
+ Z(this, ju);
24750
24759
  // // 変数操作
24751
24760
  // インラインテキスト代入
24752
- Z(this, ju);
24761
+ Z(this, Hu);
24753
24762
  // // デバッグ・その他
24754
24763
  // スタックのダンプ
24755
- Z(this, Hu);
24764
+ Z(this, Vu);
24756
24765
  Z(this, Pr);
24757
24766
  // 外部へスクリプトを表示
24758
- Z(this, Vu);
24759
- // FIFOバッファ(push/unshift)
24760
24767
  Z(this, zu);
24768
+ // FIFOバッファ(push/unshift)
24761
24769
  Z(this, Xu);
24770
+ Z(this, Yu);
24762
24771
  // // ラベル・ジャンプ
24763
24772
  // サブルーチンコール
24764
- Z(this, Yu);
24765
- Z(this, _h);
24766
- // シナリオジャンプ
24767
24773
  Z(this, Wu);
24768
- // ページ移動
24774
+ Z(this, gh);
24775
+ // シナリオジャンプ
24769
24776
  Z(this, qu);
24770
- // コールスタック破棄
24777
+ // ページ移動
24771
24778
  Z(this, Ku);
24779
+ // コールスタック破棄
24780
+ Z(this, Zu);
24772
24781
  // サブルーチンから戻る
24773
- Z(this, gh);
24774
- Z(this, is);
24782
+ Z(this, yh);
24783
+ Z(this, rs);
24775
24784
  Z(this, er);
24776
24785
  // 初期化前に終了した場合向け
24777
- Z(this, bh);
24778
- Z(this, Eh);
24779
- Z(this, Qu);
24780
- //{} シナリオキャッシュ
24786
+ Z(this, xh);
24787
+ Z(this, Sh);
24781
24788
  Z(this, tc);
24782
- Z(this, Th);
24783
- Z(this, rc);
24784
- Z(this, nc);
24789
+ //{} シナリオキャッシュ
24790
+ Z(this, ec);
24785
24791
  Z(this, wh);
24792
+ Z(this, nc);
24793
+ Z(this, sc);
24794
+ Z(this, Ph);
24786
24795
  // // マクロ
24787
24796
  // 括弧マクロの定義
24788
- Z(this, sc);
24789
- // 一文字マクロの定義
24790
24797
  Z(this, ac);
24791
- Z(this, hc);
24798
+ // 一文字マクロの定義
24799
+ Z(this, oc);
24800
+ Z(this, lc);
24792
24801
  // https://regex101.com/r/Lk9ASK/1
24793
24802
  // // しおり
24794
24803
  // しおりの読込
24795
- Z(this, lc);
24796
- Z(this, pa);
24797
- // スクリプト再読込
24798
24804
  Z(this, uc);
24805
+ Z(this, va);
24806
+ // スクリプト再読込
24799
24807
  Z(this, cc);
24800
- Z(this, ma);
24801
- // しおりの保存
24802
24808
  Z(this, fc);
24809
+ Z(this, ga);
24810
+ // しおりの保存
24811
+ Z(this, dc);
24803
24812
  Z(this, Qt, { aToken: [""], len: 1, aLNum: [1] });
24804
24813
  Z(this, se, "");
24805
24814
  Z(this, Nt, 0);
@@ -24811,15 +24820,15 @@ const si = class {
24811
24820
  Z(this, Tr, new Grammar());
24812
24821
  gt(this, "firstWait", () => {
24813
24822
  });
24814
- Z(this, Kn, {
24823
+ Z(this, Zn, {
24815
24824
  //auth: // constructorで
24816
24825
  //launch: // ここでは冒頭停止に間に合わないのでanalyzeInit()で
24817
24826
  disconnect: () => {
24818
- Q(si, Jn, {}), Q(si, wr, {}), this.isBreak = () => !1, G(this, Kn).continue({}), Q(this, xe, 0);
24827
+ Q(si, Qn, {}), Q(si, wr, {}), this.isBreak = () => !1, G(this, Zn).continue({}), Q(this, xe, 0);
24819
24828
  },
24820
24829
  restart: () => this.isBreak = () => !1,
24821
24830
  // ブレークポイント登録
24822
- add_break: (t) => tt(this, lh, Jc).call(this, t.fn, t.o),
24831
+ add_break: (t) => tt(this, uh, Qc).call(this, t.fn, t.o),
24823
24832
  data_break: (t) => {
24824
24833
  G(this, xe) === 0 && (Q(this, xe, 1), this.main.setLoop(!1, `変数 ${t.dataId}【${t.old_v}】→【${t.new_v}】データブレーク`), this.sys.callHook("stopOnDataBreakpoint", {}), this.sys.send2Dbg("stopOnDataBreakpoint", {}));
24825
24834
  },
@@ -24830,23 +24839,23 @@ const si = class {
24830
24839
  this.sys.send2Dbg(t.ri, {});
24831
24840
  },
24832
24841
  // 情報問い合わせ系
24833
- stack: (t) => this.sys.send2Dbg(t.ri, { a: tt(this, $u, Vd).call(this) }),
24842
+ stack: (t) => this.sys.send2Dbg(t.ri, { a: tt(this, ju, zd).call(this) }),
24834
24843
  eval: (t) => {
24835
24844
  this.sys.send2Dbg(t.ri, { v: this.prpPrs.parse(t.txt) });
24836
24845
  },
24837
24846
  // デバッガからの操作系
24838
24847
  continue: () => {
24839
- tt(this, Zn, La).call(this) || (Q(this, Nt, G(this, Nt) - G(this, Zr, ys)), Q(this, xe, 3), this.main.setLoop(!0), this.main.resume());
24848
+ tt(this, Jn, ka).call(this) || (Q(this, Nt, G(this, Nt) - G(this, Zr, bs)), Q(this, xe, 3), this.main.setLoop(!0), this.main.resume());
24840
24849
  },
24841
- stepover: (t) => tt(this, uh, Qc).call(this, t),
24850
+ stepover: (t) => tt(this, ch, tf).call(this, t),
24842
24851
  stepin: () => {
24843
- if (tt(this, Zn, La).call(this))
24852
+ if (tt(this, Jn, ka).call(this))
24844
24853
  return;
24845
- const t = G(this, Qt).aToken[G(this, Nt) - G(this, Zr, ys)];
24846
- this.sys.callHook(`stopOnStep${G(this, da).test(t) ? "In" : ""}`, {}), Q(this, Nt, G(this, Nt) - G(this, Zr, ys)), Q(this, xe, G(this, xe) === 1 ? 4 : 5), this.main.setLoop(!0), this.main.resume();
24854
+ const t = G(this, Qt).aToken[G(this, Nt) - G(this, Zr, bs)];
24855
+ this.sys.callHook(`stopOnStep${G(this, pa).test(t) ? "In" : ""}`, {}), Q(this, Nt, G(this, Nt) - G(this, Zr, bs)), Q(this, xe, G(this, xe) === 1 ? 4 : 5), this.main.setLoop(!0), this.main.resume();
24847
24856
  },
24848
24857
  stepout: (t) => {
24849
- tt(this, Zn, La).call(this) || (G(this, ce).length > 0 ? tt(this, ch, tf).call(this, !0) : tt(this, uh, Qc).call(this, t));
24858
+ tt(this, Jn, ka).call(this) || (G(this, ce).length > 0 ? tt(this, fh, ef).call(this, !0) : tt(this, ch, tf).call(this, t));
24850
24859
  },
24851
24860
  pause: () => {
24852
24861
  Q(this, xe, 4), this.main.setLoop(!1, "一時停止"), this.sys.send2Dbg("stopOnStep", {});
@@ -24857,46 +24866,46 @@ const si = class {
24857
24866
  });
24858
24867
  Z(this, qr, (t) => this.cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SCRIPT));
24859
24868
  // https://regex101.com/r/Km54EK/1 141 steps (~0ms)
24860
- Z(this, Kr, (t) => (this.sys.pathBaseCnvSnPath4Dbg + G(this, qr).call(this, t)).replace(G(si, Uu), `$1/prj/$2/${G(this, se)}$3`));
24869
+ Z(this, Kr, (t) => (this.sys.pathBaseCnvSnPath4Dbg + G(this, qr).call(this, t)).replace(G(si, Gu), `$1/prj/$2/${G(this, se)}$3`));
24861
24870
  gt(this, "cnvPath4Dbg", (t) => this.sys.pathBaseCnvSnPath4Dbg + t.replace("/crypto_prj/", "/prj/"));
24862
- Z(this, fh, 0);
24871
+ Z(this, dh, 0);
24863
24872
  Z(this, xe, 0);
24864
24873
  // https://raw.githubusercontent.com/famibee/SKYNovel-vscode-extension/master/src/doc/BreakStateSMD.pu
24865
24874
  gt(this, "isBreak", (t) => !1);
24866
24875
  // result = true : waitする resume()で再開
24867
- Z(this, dh, (t) => {
24876
+ Z(this, ph, (t) => {
24868
24877
  });
24869
- Z(this, fa, void 0);
24878
+ Z(this, da, void 0);
24870
24879
  Z(this, ci, void 0);
24871
- Z(this, ts, () => {
24872
- });
24873
24880
  Z(this, es, () => {
24874
24881
  });
24875
- Z(this, ph, "");
24876
- Z(this, vh, {});
24882
+ Z(this, is, () => {
24883
+ });
24884
+ Z(this, vh, "");
24885
+ Z(this, mh, {});
24877
24886
  gt(this, "noticeBreak", (t) => {
24878
24887
  });
24879
- Z(this, mh, 5);
24888
+ Z(this, _h, 5);
24880
24889
  // // 条件分岐
24881
24890
  Z(this, fi, [-1]);
24882
- Z(this, yh, "");
24883
- Z(this, rs, "");
24891
+ Z(this, bh, "");
24892
+ Z(this, ns, "");
24884
24893
  // シナリオ解析処理ループ・冒頭処理
24885
24894
  gt(this, "nextToken", () => "");
24886
- Z(this, xh, (t) => {
24895
+ Z(this, Eh, (t) => {
24887
24896
  });
24888
- Z(this, Zu, /(\*{2,})([^\|]*)/);
24889
- Z(this, Ju, /\[macro\s/);
24890
- Z(this, Sh, /\[endmacro[\s\]]/);
24897
+ Z(this, Ju, /(\*{2,})([^\|]*)/);
24898
+ Z(this, Qu, /\[macro\s/);
24899
+ Z(this, Th, /\[endmacro[\s\]]/);
24891
24900
  Z(this, Be, /* @__PURE__ */ Object.create(null));
24892
- Z(this, ec, /^\[(call|loadplugin)\s/);
24893
- Z(this, ic, /\bfn\s*=\s*[^\s\]]+/);
24901
+ Z(this, ic, /^\[(call|loadplugin)\s/);
24902
+ Z(this, rc, /\bfn\s*=\s*[^\s\]]+/);
24894
24903
  Z(this, Cr, !1);
24895
24904
  // マクロ定義の開始
24896
- Z(this, oc, new RegExp(`["'#;\\] ]+`));
24897
- Z(this, Ph, "call");
24898
- Z(this, da, /\[(call)\b/);
24899
- Z(this, va, !1);
24905
+ Z(this, hc, new RegExp(`["'#;\\] ]+`));
24906
+ Z(this, Ch, "call");
24907
+ Z(this, pa, /\[(call)\b/);
24908
+ Z(this, ma, !1);
24900
24909
  // セーブポイント指定
24901
24910
  Z(this, Bi, {
24902
24911
  hSave: {},
@@ -24905,23 +24914,23 @@ const si = class {
24905
24914
  });
24906
24915
  Z(this, Fi, []);
24907
24916
  Z(this, Fe, -1);
24908
- this.cfg = t, this.hTag = e, this.main = r, this.val = N, this.alzTagArg = k, this.runAnalyze = D, this.prpPrs = U, this.sndMng = $, this.sys = H, e.let_ml = (X) => tt(this, ju, zd).call(this, X), e.endlet_ml = () => !1, e.dump_stack = () => tt(this, Hu, Xd).call(this), e.dump_script = (X) => tt(this, Vu, Yd).call(this, X), e.else = // その他ifブロック開始
24917
+ this.cfg = t, this.hTag = e, this.main = r, this.val = N, this.alzTagArg = k, this.runAnalyze = D, this.prpPrs = U, this.sndMng = $, this.sys = H, e.let_ml = (X) => tt(this, Hu, Xd).call(this, X), e.endlet_ml = () => !1, e.dump_stack = () => tt(this, Vu, Yd).call(this), e.dump_script = (X) => tt(this, zu, Wd).call(this, X), e.else = // その他ifブロック開始
24909
24918
  e.elsif = // 別条件のifブロック開始
24910
- e.endif = () => tt(this, zu, Wd).call(this), e.if = (X) => tt(this, Xu, qd).call(this, X), e.call = (X) => tt(this, Yu, Kd).call(this, X), e.jump = (X) => tt(this, Wu, Zd).call(this, X), e.page = (X) => tt(this, qu, Jd).call(this, X), e.pop_stack = (X) => tt(this, Ku, Qd).call(this, X), e.return = (X) => tt(this, gh, rf).call(this, X), e.bracket2macro = (X) => tt(this, sc, np).call(this, X), e.char2macro = (X) => tt(this, ac, sp).call(this, X), e.endmacro = (X) => tt(this, gh, rf).call(this, X), e.macro = (X) => tt(this, hc, ap).call(this, X), e.load = (X) => tt(this, lc, op).call(this, X), e.reload_script = (X) => tt(this, uc, hp).call(this, X), e.record_place = () => tt(this, cc, lp).call(this), e.save = (X) => tt(this, fc, up).call(this, X), t.oCfg.debug.token && Q(this, xh, (X) => console.log(`🌱 トークン fn:${G(this, se)} idx:${G(this, Nt)} ln:${G(this, pe)} token【${X}】`)), N.defTmp("const.sn.vctCallStk.length", () => G(this, ce).length);
24919
+ e.endif = () => tt(this, Xu, qd).call(this), e.if = (X) => tt(this, Yu, Kd).call(this, X), e.call = (X) => tt(this, Wu, Zd).call(this, X), e.jump = (X) => tt(this, qu, Jd).call(this, X), e.page = (X) => tt(this, Ku, Qd).call(this, X), e.pop_stack = (X) => tt(this, Zu, tp).call(this, X), e.return = (X) => tt(this, yh, nf).call(this, X), e.bracket2macro = (X) => tt(this, ac, sp).call(this, X), e.char2macro = (X) => tt(this, oc, ap).call(this, X), e.endmacro = (X) => tt(this, yh, nf).call(this, X), e.macro = (X) => tt(this, lc, op).call(this, X), e.load = (X) => tt(this, uc, hp).call(this, X), e.reload_script = (X) => tt(this, cc, lp).call(this, X), e.record_place = () => tt(this, fc, up).call(this), e.save = (X) => tt(this, dc, cp).call(this, X), t.oCfg.debug.token && Q(this, Eh, (X) => console.log(`🌱 トークン fn:${G(this, se)} idx:${G(this, Nt)} ln:${G(this, pe)} token【${X}】`)), N.defTmp("const.sn.vctCallStk.length", () => G(this, ce).length);
24911
24920
  const V = t.oCfg.init.escape;
24912
24921
  if (G(this, Tr).setEscape(V), RubySpliter.setEscape(V), CmnLib.isDbg) {
24913
24922
  H.addHook((z, Y) => {
24914
24923
  var q, W;
24915
- return (W = (q = G(this, Kn))[z]) == null ? void 0 : W.call(q, Y);
24916
- }), this.isBreak = tt(this, Gu, Hd);
24924
+ return (W = (q = G(this, Zn))[z]) == null ? void 0 : W.call(q, Y);
24925
+ }), this.isBreak = tt(this, $u, Vd);
24917
24926
  const X = this.analyzeInit;
24918
24927
  this.analyzeInit = () => {
24919
24928
  this.analyzeInit = () => {
24920
24929
  }, this.sys.send2Dbg("hi", {});
24921
- }, G(this, Kn).auth = (z) => {
24930
+ }, G(this, Zn).auth = (z) => {
24922
24931
  const Y = z.hBreakpoint.hFn2hLineBP;
24923
24932
  for (const [q, W] of Object.entries(Y))
24924
- tt(this, lh, Jc).call(this, q, W);
24933
+ tt(this, uh, Qc).call(this, q, W);
24925
24934
  Q(si, wr, {});
24926
24935
  for (const q of z.hBreakpoint.aFunc)
24927
24936
  G(si, wr)[q.name] = 1;
@@ -24944,7 +24953,7 @@ const si = class {
24944
24953
  } else
24945
24954
  this.recodeDesign = () => {
24946
24955
  };
24947
- t.oCfg.debug.tag && Q(this, dh, (X) => console.log(`🌲 タグ解析 fn:${G(this, se)} idx:${G(this, Nt)} ln:${G(this, pe)} [${X} %o]`, this.alzTagArg.hPrm));
24956
+ t.oCfg.debug.tag && Q(this, ph, (X) => console.log(`🌲 タグ解析 fn:${G(this, se)} idx:${G(this, Nt)} ln:${G(this, pe)} [${X} %o]`, this.alzTagArg.hPrm));
24948
24957
  }
24949
24958
  get scriptFn() {
24950
24959
  return G(this, se);
@@ -24965,7 +24974,7 @@ const si = class {
24965
24974
  const [e, r] = tagToken2Name_Args(t), N = this.hTag[e];
24966
24975
  if (!N)
24967
24976
  throw `未定義のタグ【${e}】です`;
24968
- this.alzTagArg.parse(r), G(this, dh).call(this, e);
24977
+ this.alzTagArg.parse(r), G(this, ph).call(this, e);
24969
24978
  const k = this.alzTagArg.hPrm;
24970
24979
  if (k.cond) {
24971
24980
  const $ = k.cond.val;
@@ -25006,7 +25015,7 @@ const si = class {
25006
25015
  return N(D);
25007
25016
  }
25008
25017
  setOtherObj(t, e) {
25009
- Q(this, fa, t), Q(this, ci, e);
25018
+ Q(this, da, t), Q(this, ci, e);
25010
25019
  }
25011
25020
  dumpErrForeLine() {
25012
25021
  if (G(this, Nt) === 0) {
@@ -25014,10 +25023,10 @@ const si = class {
25014
25023
  return;
25015
25024
  }
25016
25025
  let t = "";
25017
- for (let D = G(this, Nt) - 1; D >= 0 && (t = G(this, Qt).aToken[D] + t, !((t.match(/\n/g) ?? []).length >= G(this, mh))); --D)
25026
+ for (let D = G(this, Nt) - 1; D >= 0 && (t = G(this, Qt).aToken[D] + t, !((t.match(/\n/g) ?? []).length >= G(this, _h))); --D)
25018
25027
  ;
25019
25028
  const e = t.split(`
25020
- `).slice(-G(this, mh)), r = e.length;
25029
+ `).slice(-G(this, _h)), r = e.length;
25021
25030
  console.group(`🥟 Error line (from ${r} rows before) fn:${G(this, se)}`);
25022
25031
  const N = String(G(this, pe)).length, k = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Nt));
25023
25032
  for (let D = 0; D < r; ++D) {
@@ -25031,7 +25040,7 @@ const si = class {
25031
25040
  console.groupEnd();
25032
25041
  }
25033
25042
  analyzeInit() {
25034
- const t = tt(this, Qu, tp).call(this, G(this, Qt), !!this.val.getVal("mp:const.sn.macro.name"), G(this, pe), G(this, rs), G(this, Nt));
25043
+ const t = tt(this, tc, ep).call(this, G(this, Qt), !!this.val.getVal("mp:const.sn.macro.name"), G(this, pe), G(this, ns), G(this, Nt));
25035
25044
  Q(this, Nt, t.idx), Q(this, pe, t.ln), this.runAnalyze();
25036
25045
  }
25037
25046
  get isKidoku() {
@@ -25052,12 +25061,12 @@ const si = class {
25052
25061
  return G(this, Cr) ? 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;
25053
25062
  }
25054
25063
  get skip4page() {
25055
- return G(this, va);
25064
+ return G(this, ma);
25056
25065
  }
25057
25066
  recodePage() {
25058
- if (Q(this, va, !1), !this.val.getVal("save:sn.doRecLog"))
25067
+ if (Q(this, ma, !1), !this.val.getVal("save:sn.doRecLog"))
25059
25068
  return;
25060
- const { fn: t, idx: e } = tt(this, ma, qh).call(this), r = e - 1, N = r + ":" + t, k = G(this, Fi).findIndex((U) => U.key === N);
25069
+ const { fn: t, idx: e } = tt(this, ga, Kh).call(this), r = e - 1, N = r + ":" + t, k = G(this, Fi).findIndex((U) => U.key === N);
25061
25070
  if (k > -1) {
25062
25071
  Q(this, Fe, k);
25063
25072
  return;
@@ -25095,41 +25104,41 @@ const si = class {
25095
25104
  }
25096
25105
  };
25097
25106
  let ScriptIterator = si;
25098
- Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(), ce = new WeakMap(), Tr = new WeakMap(), lh = new WeakSet(), Jc = function(t, e) {
25099
- G(si, Jn)[G(this, Kr).call(this, t)] = e;
25100
- }, Kn = new WeakMap(), qr = new WeakMap(), Uu = new WeakMap(), Kr = new WeakMap(), uh = new WeakSet(), Qc = function(t) {
25101
- if (tt(this, Zn, La).call(this))
25107
+ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(), ce = new WeakMap(), Tr = new WeakMap(), uh = new WeakSet(), Qc = function(t, e) {
25108
+ G(si, Qn)[G(this, Kr).call(this, t)] = e;
25109
+ }, Zn = new WeakMap(), qr = new WeakMap(), Gu = new WeakMap(), Kr = new WeakMap(), ch = new WeakSet(), tf = function(t) {
25110
+ if (tt(this, Jn, ka).call(this))
25102
25111
  return;
25103
- const e = G(this, Qt).aToken[G(this, Nt) - G(this, Zr, ys)];
25104
- G(this, da).test(e) ? tt(this, ch, tf).call(this, !1) : (this.sys.callHook("stopOnStep", {}), G(this, Kn).stepin(t));
25105
- }, ch = new WeakSet(), tf = function(t) {
25106
- this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), Q(this, fh, G(this, ce).length - (t ? 1 : 0)), Q(this, Nt, G(this, Nt) - G(this, Zr, ys)), Q(this, xe, t ? 7 : 6), this.main.setLoop(!0), this.main.resume();
25107
- }, fh = new WeakMap(), Zr = new WeakSet(), ys = function() {
25112
+ const e = G(this, Qt).aToken[G(this, Nt) - G(this, Zr, bs)];
25113
+ G(this, pa).test(e) ? tt(this, fh, ef).call(this, !1) : (this.sys.callHook("stopOnStep", {}), G(this, Zn).stepin(t));
25114
+ }, fh = new WeakSet(), ef = function(t) {
25115
+ this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), Q(this, dh, G(this, ce).length - (t ? 1 : 0)), Q(this, Nt, G(this, Nt) - G(this, Zr, bs)), Q(this, xe, t ? 7 : 6), this.main.setLoop(!0), this.main.resume();
25116
+ }, dh = new WeakMap(), Zr = new WeakSet(), bs = function() {
25108
25117
  return G(this, xe) === 2 || G(this, xe) === 4 ? 1 : 0;
25109
- }, Zn = new WeakSet(), La = function() {
25118
+ }, Jn = new WeakSet(), ka = function() {
25110
25119
  return G(this, Nt) < G(this, Qt).len ? !1 : (this.sys.callHook("stopOnEntry", {}), this.main.setLoop(!1, "スクリプト終端です"), !0);
25111
- }, Jn = new WeakMap(), wr = new WeakMap(), xe = new WeakMap(), Gu = new WeakSet(), Hd = function(t) {
25120
+ }, Qn = new WeakMap(), wr = new WeakMap(), xe = new WeakMap(), $u = new WeakSet(), Vd = function(t) {
25112
25121
  switch (G(this, xe)) {
25113
25122
  case 6:
25114
- tt(this, Qn, ka).call(this), Q(this, xe, 7);
25123
+ tt(this, ts, Da).call(this), Q(this, xe, 7);
25115
25124
  break;
25116
25125
  case 7:
25117
- if (G(this, ce).length !== G(this, fh))
25126
+ if (G(this, ce).length !== G(this, dh))
25118
25127
  break;
25119
25128
  return Q(this, xe, 4), this.main.setLoop(!1, "ステップ実行"), this.sys.send2Dbg("stopOnStep", {}), !0;
25120
25129
  case 5:
25121
- tt(this, Qn, ka).call(this), Q(this, xe, 4);
25130
+ tt(this, ts, Da).call(this), Q(this, xe, 4);
25122
25131
  break;
25123
25132
  case 4:
25124
- return tt(this, Qn, ka).call(this), this.main.setLoop(!1, "ステップ実行"), this.sys.send2Dbg("stopOnStep", {}), !0;
25133
+ return tt(this, ts, Da).call(this), this.main.setLoop(!1, "ステップ実行"), this.sys.send2Dbg("stopOnStep", {}), !0;
25125
25134
  case 3:
25126
- tt(this, Qn, ka).call(this), Q(this, xe, 0);
25135
+ tt(this, ts, Da).call(this), Q(this, xe, 0);
25127
25136
  break;
25128
25137
  default:
25129
25138
  if (tagToken2Name(t) in G(si, wr))
25130
25139
  return Q(this, xe, 2), this.main.setLoop(!1, `関数 ${t} ブレーク`), this.sys.callHook("stopOnBreakpoint", {}), this.sys.send2Dbg("stopOnBreakpoint", {}), !0;
25131
25140
  {
25132
- const e = G(si, Jn)[G(this, Kr).call(this, G(this, se))];
25141
+ const e = G(si, Qn)[G(this, Kr).call(this, G(this, se))];
25133
25142
  if (!e)
25134
25143
  break;
25135
25144
  const r = e[G(this, pe)];
@@ -25148,11 +25157,11 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25148
25157
  return !0;
25149
25158
  }
25150
25159
  return !1;
25151
- }, Qn = new WeakSet(), ka = function() {
25160
+ }, ts = new WeakSet(), Da = function() {
25152
25161
  var e;
25153
- const t = (e = G(si, Jn)[getFn(G(this, se))]) == null ? void 0 : e[G(this, pe)];
25162
+ const t = (e = G(si, Qn)[getFn(G(this, se))]) == null ? void 0 : e[G(this, pe)];
25154
25163
  t != null && t.hitCondition && --t.hitCondition;
25155
- }, $u = new WeakSet(), Vd = function() {
25164
+ }, ju = new WeakSet(), zd = function() {
25156
25165
  const t = G(this, xe) === 3 ? 1 : 0, e = G(this, Qt).aToken[G(this, Nt) - 1 + t], r = G(this, Kr).call(this, G(this, se)), N = tagToken2Name(e), k = N ? `[${N}]` : e, D = this.val.getVal("mp:const.sn.macro") ?? "{}";
25157
25166
  if (G(this, Nt) === 0)
25158
25167
  return [{ fn: r, ln: 1, col: 1, nm: k, ma: D }];
@@ -25170,7 +25179,7 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25170
25179
  });
25171
25180
  }
25172
25181
  return $;
25173
- }, dh = new WeakMap(), fa = new WeakMap(), ci = new WeakMap(), ju = new WeakSet(), zd = function(t) {
25182
+ }, ph = new WeakMap(), da = new WeakMap(), ci = new WeakMap(), Hu = new WeakSet(), Xd = function(t) {
25174
25183
  const { name: e } = t;
25175
25184
  if (!e)
25176
25185
  throw "nameは必須です";
@@ -25179,7 +25188,7 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25179
25188
  for (; G(this, Nt) < N && (r = G(this, Qt).aToken[G(this, Nt)], r === ""); ++Te(this, Nt)._)
25180
25189
  ;
25181
25190
  return t.text = r, t.cast = "str", this.hTag.let(t), Q(this, Nt, G(this, Nt) + 2), Q(this, pe, G(this, pe) + (r.match(/\n/g) ?? []).length), !1;
25182
- }, Hu = new WeakSet(), Xd = function() {
25191
+ }, Vu = new WeakSet(), Yd = function() {
25183
25192
  if (G(this, Nt) === 0)
25184
25193
  return console.group(`🥟 [dump_stack] スクリプト現在地 fn:${G(this, se)} line:1 col:0`), console.groupEnd(), !1;
25185
25194
  const t = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Nt)), e = `スクリプト現在地 fn:${G(this, se)} line:${t.ln} col:${t.col_s + 1}`;
@@ -25211,32 +25220,32 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25211
25220
  break;
25212
25221
  }
25213
25222
  return r;
25214
- }, Vu = new WeakSet(), Yd = function(t) {
25223
+ }, zu = new WeakSet(), Wd = function(t) {
25215
25224
  const { set_fnc: e, break_fnc: r } = t;
25216
25225
  if (!e)
25217
25226
  throw "set_fncは必須です";
25218
- if (Q(this, ts, globalThis[e]), !G(this, ts)) {
25227
+ if (Q(this, es, globalThis[e]), !G(this, es)) {
25219
25228
  if (argChk_Boolean(t, "need_err", !0))
25220
25229
  throw `HTML内に関数${e}が見つかりません`;
25221
- return Q(this, ts, () => {
25230
+ return Q(this, es, () => {
25222
25231
  }), !1;
25223
25232
  }
25224
25233
  if (this.noticeBreak = (N) => {
25225
- G(this, ph) !== G(this, se) && (Q(this, ph, G(this, se)), G(this, ts).call(this, G(this, vh)[G(this, se)] = G(this, vh)[G(this, se)] ?? G(this, Qt).aToken.join(""))), G(this, es).call(this, G(this, pe), N);
25234
+ G(this, vh) !== G(this, se) && (Q(this, vh, G(this, se)), G(this, es).call(this, G(this, mh)[G(this, se)] = G(this, mh)[G(this, se)] ?? G(this, Qt).aToken.join(""))), G(this, is).call(this, G(this, pe), N);
25226
25235
  }, this.noticeBreak(!0), !r)
25227
25236
  return !1;
25228
- if (Q(this, es, globalThis[r]), !G(this, es)) {
25237
+ if (Q(this, is, globalThis[r]), !G(this, is)) {
25229
25238
  if (argChk_Boolean(t, "need_err", !0))
25230
25239
  throw `HTML内に関数${r}が見つかりません`;
25231
- Q(this, es, () => {
25240
+ Q(this, is, () => {
25232
25241
  });
25233
25242
  }
25234
25243
  return !1;
25235
- }, ts = new WeakMap(), es = new WeakMap(), ph = new WeakMap(), vh = new WeakMap(), mh = new WeakMap(), fi = new WeakMap(), zu = new WeakSet(), Wd = function() {
25244
+ }, es = new WeakMap(), is = new WeakMap(), vh = new WeakMap(), mh = new WeakMap(), _h = new WeakMap(), fi = new WeakMap(), Xu = new WeakSet(), qd = function() {
25236
25245
  if (G(this, fi)[0] === -1)
25237
25246
  throw "ifブロック内ではありません";
25238
25247
  return Q(this, Nt, G(this, fi)[0]), G(this, fi).shift(), !1;
25239
- }, Xu = new WeakSet(), qd = function(t) {
25248
+ }, Yu = new WeakSet(), Kd = function(t) {
25240
25249
  const { exp: e } = t;
25241
25250
  if (!e)
25242
25251
  throw "expは必須です";
@@ -25288,15 +25297,15 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25288
25297
  }
25289
25298
  }
25290
25299
  throw "[endif]がないままスクリプト終端です";
25291
- }, Yu = new WeakSet(), Kd = function(t) {
25292
- argChk_Boolean(t, "count", !1) || tt(this, wh, of).call(this);
25293
- const { fn: e } = t;
25294
- return e && G(this, qr).call(this, e), tt(this, _h, ef).call(this, { ":hEvt1Time": G(this, fa).popLocalEvts(), ":hMp": this.val.cloneMp() }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), tt(this, er, Ir).call(this, e, t.label), !0;
25295
- }, _h = new WeakSet(), ef = function(t) {
25296
- G(this, Qt).aLNum[G(this, Nt)] = G(this, pe), G(this, yh) || (t[":resvToken"] = "", tt(this, is, Da).call(this)), G(this, ce).push(new CallStack(G(this, se), G(this, Nt), t)), G(this, fi).unshift(-1);
25297
25300
  }, Wu = new WeakSet(), Zd = function(t) {
25298
- return argChk_Boolean(t, "count", !0) || tt(this, wh, of).call(this), G(this, fi)[0] = -1, tt(this, er, Ir).call(this, t.fn, t.label), !0;
25301
+ argChk_Boolean(t, "count", !1) || tt(this, Ph, hf).call(this);
25302
+ const { fn: e } = t;
25303
+ return e && G(this, qr).call(this, e), tt(this, gh, rf).call(this, { ":hEvt1Time": G(this, da).popLocalEvts(), ":hMp": this.val.cloneMp() }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), tt(this, er, Ir).call(this, e, t.label), !0;
25304
+ }, gh = new WeakSet(), rf = function(t) {
25305
+ G(this, Qt).aLNum[G(this, Nt)] = G(this, pe), G(this, bh) || (t[":resvToken"] = "", tt(this, rs, Ba).call(this)), G(this, ce).push(new CallStack(G(this, se), G(this, Nt), t)), G(this, fi).unshift(-1);
25299
25306
  }, qu = new WeakSet(), Jd = function(t) {
25307
+ return argChk_Boolean(t, "count", !0) || tt(this, Ph, hf).call(this), G(this, fi)[0] = -1, tt(this, er, Ir).call(this, t.fn, t.label), !0;
25308
+ }, Ku = new WeakSet(), Qd = function(t) {
25300
25309
  if (G(this, Fe) === -1)
25301
25310
  return !1;
25302
25311
  if (argChk_Boolean(t, "clear", !1))
@@ -25318,15 +25327,15 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25318
25327
  }
25319
25328
  if (r === G(this, Fe))
25320
25329
  return !1;
25321
- const N = G(this, Fi)[G(this, Fe)], { fn: k, idx: D } = tt(this, ma, qh).call(this);
25322
- return N.key === D + ":" + k ? !1 : tt(this, pa, Wh).call(this, { fn: N.retFn, index: N.retIdx }, N.retMark);
25323
- }, Ku = new WeakSet(), Qd = function(t) {
25330
+ const N = G(this, Fi)[G(this, Fe)], { fn: k, idx: D } = tt(this, ga, Kh).call(this);
25331
+ return N.key === D + ":" + k ? !1 : tt(this, va, qh).call(this, { fn: N.retFn, index: N.retIdx }, N.retMark);
25332
+ }, Zu = new WeakSet(), tp = function(t) {
25324
25333
  if (argChk_Boolean(t, "clear", !1))
25325
25334
  Q(this, ce, []);
25326
25335
  else if (!G(this, ce).pop())
25327
25336
  throw "[pop_stack] スタックが空です";
25328
- return tt(this, is, Da).call(this), Q(this, fi, [-1]), this.val.setMp({}), !1;
25329
- }, gh = new WeakSet(), rf = function(t) {
25337
+ return tt(this, rs, Ba).call(this), Q(this, fi, [-1]), this.val.setMp({}), !1;
25338
+ }, yh = new WeakSet(), nf = function(t) {
25330
25339
  const e = G(this, ce).pop();
25331
25340
  if (!e)
25332
25341
  throw "[return] スタックが空です";
@@ -25335,13 +25344,13 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25335
25344
  const N = r[":hMp"];
25336
25345
  N && this.val.setMp(N);
25337
25346
  const k = r[":resvToken"];
25338
- k ? this.nextToken = () => (tt(this, is, Da).call(this), k) : tt(this, is, Da).call(this), r[":hEvt1Time"] && G(this, fa).pushLocalEvts(r[":hEvt1Time"]);
25347
+ k ? this.nextToken = () => (tt(this, rs, Ba).call(this), k) : tt(this, rs, Ba).call(this), r[":hEvt1Time"] && G(this, da).pushLocalEvts(r[":hEvt1Time"]);
25339
25348
  const { fn: D, label: U } = t;
25340
- return D || U ? (tt(this, er, Ir).call(this, D, U), !0) : e.fn in G(this, Be) ? (tt(this, Th, af).call(this, e), !1) : (tt(this, er, Ir).call(this, e.fn, "", e.idx), !0);
25341
- }, yh = new WeakMap(), is = new WeakSet(), Da = function() {
25342
- Q(this, yh, ""), this.nextToken = tt(this, bh, nf);
25343
- }, rs = new WeakMap(), er = new WeakSet(), Ir = function(t = "", e = "", r = 0) {
25344
- if (!t && !e && this.main.errScript("[jump系] fnまたはlabelは必須です"), e ? (e.at(0) !== "*" && this.main.errScript("[jump系] labelは*で始まります"), Q(this, rs, e), G(this, rs).slice(0, 2) !== "**" && Q(this, Nt, r)) : (Q(this, rs, ""), Q(this, Nt, r)), !t) {
25349
+ return D || U ? (tt(this, er, Ir).call(this, D, U), !0) : e.fn in G(this, Be) ? (tt(this, wh, of).call(this, e), !1) : (tt(this, er, Ir).call(this, e.fn, "", e.idx), !0);
25350
+ }, bh = new WeakMap(), rs = new WeakSet(), Ba = function() {
25351
+ Q(this, bh, ""), this.nextToken = tt(this, xh, sf);
25352
+ }, ns = new WeakMap(), er = new WeakSet(), Ir = function(t = "", e = "", r = 0) {
25353
+ if (!t && !e && this.main.errScript("[jump系] fnまたはlabelは必須です"), e ? (e.at(0) !== "*" && this.main.errScript("[jump系] labelは*で始まります"), Q(this, ns, e), G(this, ns).slice(0, 2) !== "**" && Q(this, Nt, r)) : (Q(this, ns, ""), Q(this, Nt, r)), !t) {
25345
25354
  this.analyzeInit();
25346
25355
  return;
25347
25356
  }
@@ -25382,22 +25391,22 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25382
25391
  H[t].data = Y.join(`
25383
25392
  `), delete H[t + ":base"];
25384
25393
  }
25385
- this.nextToken = tt(this, bh, nf), Q(this, pe, 1), tt(this, tc, ep).call(this, H[t].data), this.hTag.record_place({}), this.main.resume(() => this.analyzeInit());
25394
+ this.nextToken = tt(this, xh, sf), Q(this, pe, 1), tt(this, ec, ip).call(this, H[t].data), this.hTag.record_place({}), this.main.resume(() => this.analyzeInit());
25386
25395
  }), this.main.stop();
25387
- }, bh = new WeakSet(), nf = function() {
25396
+ }, xh = new WeakSet(), sf = function() {
25388
25397
  var e, r;
25389
- if (tt(this, Eh, sf).call(this))
25398
+ if (tt(this, Sh, af).call(this))
25390
25399
  return "";
25391
- tt(this, nc, rp).call(this), (e = G(this, Qt).aLNum)[r = G(this, Nt)] || (e[r] = G(this, pe));
25400
+ tt(this, sc, np).call(this), (e = G(this, Qt).aLNum)[r = G(this, Nt)] || (e[r] = G(this, pe));
25392
25401
  const t = G(this, Qt).aToken[G(this, Nt)];
25393
- return G(this, xh).call(this, t), ++Te(this, Nt)._, t;
25394
- }, xh = new WeakMap(), Eh = new WeakSet(), sf = function() {
25402
+ return G(this, Eh).call(this, t), ++Te(this, Nt)._, t;
25403
+ }, Eh = new WeakMap(), Sh = new WeakSet(), af = function() {
25395
25404
  return G(this, Nt) < G(this, Qt).len ? !1 : (this.main.errScript("スクリプト終端です"), !0);
25396
- }, Zu = new WeakMap(), Ju = new WeakMap(), Sh = new WeakMap(), Qu = new WeakSet(), tp = function(t, e, r, N, k) {
25405
+ }, Ju = new WeakMap(), Qu = new WeakMap(), Th = new WeakMap(), tc = new WeakSet(), ep = function(t, e, r, N, k) {
25397
25406
  var V, X;
25398
25407
  const D = t.aToken.length;
25399
25408
  if (!N) {
25400
- if (tt(this, Eh, sf).call(this))
25409
+ if (tt(this, Sh, af).call(this))
25401
25410
  return { idx: k, ln: r };
25402
25411
  if (t.aLNum[k])
25403
25412
  r = t.aLNum[k];
@@ -25413,18 +25422,18 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25413
25422
  return { idx: k, ln: r };
25414
25423
  }
25415
25424
  t.aLNum[0] = 1;
25416
- const U = N.match(G(this, Zu));
25425
+ const U = N.match(G(this, Ju));
25417
25426
  if (U) {
25418
25427
  N = U[1];
25419
25428
  let z = k;
25420
25429
  switch (U[2]) {
25421
25430
  case "before":
25422
25431
  for (; t.aToken[--z] !== N; )
25423
- z === 0 && DebugMng.myTrace("[jump系 無名ラベルbefore] " + r + "行目以前で" + (e ? "マクロ内に" : "") + "ラベル【" + N + "】がありません", "ET"), e && t.aToken[z].search(G(this, Ju)) > -1 && DebugMng.myTrace("[jump系 無名ラベルbefore] マクロ内にラベル【" + N + "】がありません", "ET");
25432
+ z === 0 && DebugMng.myTrace("[jump系 無名ラベルbefore] " + r + "行目以前で" + (e ? "マクロ内に" : "") + "ラベル【" + N + "】がありません", "ET"), e && t.aToken[z].search(G(this, Qu)) > -1 && DebugMng.myTrace("[jump系 無名ラベルbefore] マクロ内にラベル【" + N + "】がありません", "ET");
25424
25433
  return { idx: z + 1, ln: t.aLNum[z] };
25425
25434
  case "after":
25426
25435
  for (; t.aToken[++z] !== N; )
25427
- z === D && DebugMng.myTrace("[jump系 無名ラベルafter] " + r + "行目以後でマクロ内にラベル【" + N + "】がありません", "ET"), t.aToken[z].search(G(this, Sh)) > -1 && DebugMng.myTrace("[jump系 無名ラベルafter] " + r + "行目以後でマクロ内にラベル【" + N + "】がありません", "ET");
25436
+ z === D && DebugMng.myTrace("[jump系 無名ラベルafter] " + r + "行目以後でマクロ内にラベル【" + N + "】がありません", "ET"), t.aToken[z].search(G(this, Th)) > -1 && DebugMng.myTrace("[jump系 無名ラベルafter] " + r + "行目以後でマクロ内にラベル【" + N + "】がありません", "ET");
25428
25437
  return { idx: z + 1, ln: t.aLNum[z] };
25429
25438
  default:
25430
25439
  DebugMng.myTrace("[jump系] 無名ラベル指定【label=" + N + "】が間違っています", "ET");
@@ -25455,24 +25464,24 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25455
25464
  q === 91 && (r += (Y.match(/\n/g) ?? []).length, G(this, Tr).testTagLetml(Y) && (H = !0));
25456
25465
  }
25457
25466
  throw H ? "[let_ml]の終端・[endlet_ml]がありません" : (DebugMng.myTrace(`[jump系] ラベル【${N}】がありません`, "ET"), "Dummy");
25458
- }, Be = new WeakMap(), tc = new WeakSet(), ep = function(t) {
25467
+ }, Be = new WeakMap(), ec = new WeakSet(), ip = function(t) {
25459
25468
  let e = "";
25460
25469
  try {
25461
25470
  e = "ScriptIterator.resolveScript";
25462
25471
  const r = G(this, Tr).resolveScript(t);
25463
- e = "ScriptIterator.replaceScript_Wildcard", tt(this, rc, ip).call(this, r), G(this, Be)[G(this, se)] = Q(this, Qt, r);
25472
+ e = "ScriptIterator.replaceScript_Wildcard", tt(this, nc, rp).call(this, r), G(this, Be)[G(this, se)] = Q(this, Qt, r);
25464
25473
  } catch (r) {
25465
25474
  r instanceof Error ? e += `例外 mes=${r.message}(${r.name})` : e = r, this.main.errScript(e, !1);
25466
25475
  }
25467
25476
  this.val.loadScrWork(G(this, se));
25468
- }, Th = new WeakSet(), af = function(t) {
25477
+ }, wh = new WeakSet(), of = function(t) {
25469
25478
  Q(this, se, t.fn), Q(this, Nt, t.idx);
25470
25479
  const e = G(this, Be)[G(this, se)];
25471
25480
  e && Q(this, Qt, e), Q(this, pe, G(this, Qt).aLNum[t.idx]);
25472
- }, ec = new WeakMap(), ic = new WeakMap(), rc = new WeakSet(), ip = function(t) {
25481
+ }, ic = new WeakMap(), rc = new WeakMap(), nc = new WeakSet(), rp = function(t) {
25473
25482
  for (let e = t.len - 1; e >= 0; --e) {
25474
25483
  const r = t.aToken[e];
25475
- if (!G(this, ec).test(r))
25484
+ if (!G(this, ic).test(r))
25476
25485
  continue;
25477
25486
  const [N, k] = tagToken2Name_Args(r);
25478
25487
  this.alzTagArg.parse(k);
@@ -25486,14 +25495,14 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25486
25495
  const $ = N === "loadplugin" ? SEARCH_PATH_ARG_EXT.CSS : SEARCH_PATH_ARG_EXT.SN, H = this.cfg.matchPath("^" + U.slice(0, -1) + ".*", $);
25487
25496
  for (const V of H) {
25488
25497
  const X = r.replace(
25489
- G(this, ic),
25498
+ G(this, rc),
25490
25499
  "fn=" + decodeURIComponent(getFn(V[$]))
25491
25500
  );
25492
25501
  t.aToken.splice(e, 0, X), t.aLNum.splice(e, 0, NaN);
25493
25502
  }
25494
25503
  }
25495
25504
  t.len = t.aToken.length;
25496
- }, nc = new WeakSet(), rp = function() {
25505
+ }, sc = new WeakSet(), np = function() {
25497
25506
  const t = this.val.getAreaKidoku(G(this, se));
25498
25507
  if (!t)
25499
25508
  throw `recordKidoku fn:'${G(this, se)}' (areas === null)`;
@@ -25502,33 +25511,33 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25502
25511
  return;
25503
25512
  }
25504
25513
  Q(this, Cr, t.search(G(this, Nt))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", G(this, Cr)), !G(this, Cr) && t.record(G(this, Nt));
25505
- }, Cr = new WeakMap(), wh = new WeakSet(), of = function() {
25514
+ }, Cr = new WeakMap(), Ph = new WeakSet(), hf = function() {
25506
25515
  var t;
25507
25516
  (t = this.val.getAreaKidoku(G(this, se))) == null || t.erase(G(this, Nt)), Q(this, Cr, !1);
25508
- }, sc = new WeakSet(), np = function(t) {
25509
- return G(this, Tr).bracket2macro(t, this.hTag, G(this, Qt), G(this, Nt)), !1;
25510
25517
  }, ac = new WeakSet(), sp = function(t) {
25518
+ return G(this, Tr).bracket2macro(t, this.hTag, G(this, Qt), G(this, Nt)), !1;
25519
+ }, oc = new WeakSet(), ap = function(t) {
25511
25520
  return G(this, Tr).char2macro(t, this.hTag, G(this, Qt), G(this, Nt)), !1;
25512
- }, oc = new WeakMap(), hc = new WeakSet(), ap = function(t) {
25521
+ }, hc = new WeakMap(), lc = new WeakSet(), op = function(t) {
25513
25522
  var k, D;
25514
25523
  const { name: e } = t;
25515
25524
  if (!e)
25516
25525
  throw "nameは必須です";
25517
25526
  if (e in this.hTag)
25518
25527
  throw `[${e}]はタグかすでに定義済みのマクロです`;
25519
- if (G(this, oc).test(e))
25528
+ if (G(this, hc).test(e))
25520
25529
  throw `[${e}]はマクロ名として異常です`;
25521
25530
  const r = G(this, pe), N = new CallStack(G(this, se), G(this, Nt));
25522
- for (Q(this, Ph, G(this, Ph) + ("|" + e)), Q(this, da, new RegExp(`\\[(${G(this, Ph)})\\b`)), this.hTag[e] = (U) => (U.design_unit = t.design_unit, tt(this, _h, ef).call(this, { ...U, ":hMp": this.val.cloneMp() }), this.val.setMp(U), this.val.setVal_Nochk("mp", "const.sn.macro", JSON.stringify(t)), this.val.setVal_Nochk("mp", "const.sn.me_call_scriptFn", G(this, se)), Q(this, pe, r), tt(this, Th, af).call(this, N), !1); G(this, Nt) < G(this, Qt).len; ++Te(this, Nt)._) {
25531
+ for (Q(this, Ch, G(this, Ch) + ("|" + e)), Q(this, pa, new RegExp(`\\[(${G(this, Ch)})\\b`)), this.hTag[e] = (U) => (U.design_unit = t.design_unit, tt(this, gh, rf).call(this, { ...U, ":hMp": this.val.cloneMp() }), this.val.setMp(U), this.val.setVal_Nochk("mp", "const.sn.macro", JSON.stringify(t)), this.val.setVal_Nochk("mp", "const.sn.me_call_scriptFn", G(this, se)), Q(this, pe, r), tt(this, wh, of).call(this, N), !1); G(this, Nt) < G(this, Qt).len; ++Te(this, Nt)._) {
25523
25532
  (k = G(this, Qt).aLNum)[D = G(this, Nt)] || (k[D] = G(this, pe));
25524
25533
  const U = G(this, Qt).aToken[G(this, Nt)];
25525
- if (U.search(G(this, Sh)) > -1)
25534
+ if (U.search(G(this, Th)) > -1)
25526
25535
  return ++Te(this, Nt)._, !1;
25527
25536
  const $ = U.charCodeAt(0);
25528
25537
  $ === 10 ? Q(this, pe, G(this, pe) + U.length) : $ === 91 && Q(this, pe, G(this, pe) + (U.match(/\n/g) ?? []).length);
25529
25538
  }
25530
25539
  throw `マクロ[${e}]定義の終端・[endmacro]がありません`;
25531
- }, Ph = new WeakMap(), da = new WeakMap(), lc = new WeakSet(), op = function(t) {
25540
+ }, Ch = new WeakMap(), pa = new WeakMap(), uc = new WeakSet(), hp = function(t) {
25532
25541
  if (!("place" in t))
25533
25542
  throw "placeは必須です";
25534
25543
  const e = Number(t.place);
@@ -25537,8 +25546,8 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25537
25546
  const r = this.val.getMark(e);
25538
25547
  if (!r)
25539
25548
  throw `place【${e}】は存在しません`;
25540
- return tt(this, pa, Wh).call(this, t, r);
25541
- }, pa = new WeakSet(), Wh = function(t, e, r = !0) {
25549
+ return tt(this, va, qh).call(this, t, r);
25550
+ }, va = new WeakSet(), qh = function(t, e, r = !0) {
25542
25551
  this.hTag.clear_event({}), this.val.mark2save(e), this.val.setMp({}), G(this, ci).recPagebreak(), r && this.sndMng.playLoopFromSaveObj(), argChk_Boolean(t, "do_rec", !0) && Q(this, Bi, {
25543
25552
  hSave: this.val.cloneSave(),
25544
25553
  hPages: { ...e.hPages },
@@ -25552,7 +25561,7 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25552
25561
  this.hTag.autowc(N);
25553
25562
  const k = String(this.val.getVal("save:const.sn.scriptFn")), D = Number(this.val.getVal("save:const.sn.scriptIdx"));
25554
25563
  return Q(this, fi, [...G(this, Bi).aIfStk]), Q(this, ce, []), G(this, ci).cover(!0), G(this, ci).stopAllTw(), "index" in t ? (G(this, ci).playback(G(this, Bi).hPages, () => {
25555
- G(this, ci).cover(!1), Q(this, va, !0), tt(this, er, Ir).call(this, t.fn ?? k, "", t.index ?? D);
25564
+ G(this, ci).cover(!1), Q(this, ma, !0), tt(this, er, Ir).call(this, t.fn ?? k, "", t.index ?? D);
25556
25565
  }), !0) : (delete G(this, Be)[k], G(this, ci).playback(
25557
25566
  G(this, Bi).hPages,
25558
25567
  "label" in t ? () => {
@@ -25561,7 +25570,7 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25561
25570
  G(this, ci).cover(!1), tt(this, er, Ir).call(this, k, "", D);
25562
25571
  }
25563
25572
  ), !0);
25564
- }, va = new WeakMap(), uc = new WeakSet(), hp = function(t) {
25573
+ }, ma = new WeakMap(), cc = new WeakSet(), lp = function(t) {
25565
25574
  const e = this.val.getMark(0);
25566
25575
  delete G(this, Be)[getFn(e.hSave["const.sn.scriptFn"])];
25567
25576
  const r = {};
@@ -25571,17 +25580,17 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25571
25580
  } catch {
25572
25581
  r[N] = G(this, Be)[N];
25573
25582
  }
25574
- return Q(this, Be, r), t.do_rec = !1, tt(this, pa, Wh).call(this, t, e, !1);
25575
- }, Bi = new WeakMap(), cc = new WeakSet(), lp = function() {
25583
+ return Q(this, Be, r), t.do_rec = !1, tt(this, va, qh).call(this, t, e, !1);
25584
+ }, Bi = new WeakMap(), fc = new WeakSet(), up = function() {
25576
25585
  if (this.main.isDestroyed())
25577
25586
  return !1;
25578
- const { fn: t, idx: e } = tt(this, ma, qh).call(this);
25587
+ const { fn: t, idx: e } = tt(this, ga, Kh).call(this);
25579
25588
  return this.val.setVal_Nochk("save", "const.sn.scriptFn", t), this.val.setVal_Nochk("save", "const.sn.scriptIdx", e), Q(this, Bi, {
25580
25589
  hSave: this.val.cloneSave(),
25581
25590
  hPages: G(this, ci).record(),
25582
25591
  aIfStk: G(this, fi).slice(G(this, ce).length)
25583
25592
  }), !1;
25584
- }, ma = new WeakSet(), qh = function() {
25593
+ }, ga = new WeakSet(), Kh = function() {
25585
25594
  if (G(this, ce).length === 0)
25586
25595
  return {
25587
25596
  fn: G(this, se),
@@ -25592,53 +25601,53 @@ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(),
25592
25601
  fn: e.fn,
25593
25602
  idx: e.idx
25594
25603
  };
25595
- }, fc = new WeakSet(), up = function(t) {
25604
+ }, dc = new WeakSet(), cp = function(t) {
25596
25605
  if (!("place" in t))
25597
25606
  throw "placeは必須です";
25598
25607
  const e = Number(t.place);
25599
25608
  delete t[":タグ名"], delete t.place, t.text = t.text ?? "", G(this, Bi).json = t, this.val.setMark(e, G(this, Bi));
25600
25609
  const r = Number(this.val.getVal("sys:const.sn.save.place"));
25601
25610
  return e === r && this.val.setVal_Nochk("sys", "const.sn.save.place", r + 1), !1;
25602
- }, Fi = new WeakMap(), Fe = new WeakMap(), Z(ScriptIterator, Uu, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), // reload 再生成 Main に受け渡すため static
25603
- Z(ScriptIterator, Jn, {}), Z(ScriptIterator, wr, {});
25604
- var ti, Ti, Ue, wi, Or, ns, Le, Ch, Rr, ga, ss, Oh, Rh, ya, dc, cp, Mh, Ih, ba, xa, Kh, as, os;
25605
- const Es = class {
25611
+ }, Fi = new WeakMap(), Fe = new WeakMap(), Z(ScriptIterator, Gu, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), // reload 再生成 Main に受け渡すため static
25612
+ Z(ScriptIterator, Qn, {}), Z(ScriptIterator, wr, {});
25613
+ var ti, Ti, Ue, wi, Or, ss, Le, Oh, Rr, ya, as, Rh, Mh, ba, pc, fp, Ih, Ah, xa, Ea, Zh, os, hs;
25614
+ const Ss = class {
25606
25615
  constructor(t) {
25607
- Z(this, dc);
25608
- Z(this, xa);
25616
+ Z(this, pc);
25617
+ Z(this, Ea);
25609
25618
  Z(this, ti, void 0);
25610
25619
  Z(this, Ti, void 0);
25611
25620
  Z(this, Ue, /* @__PURE__ */ Object.create(null));
25612
25621
  // タグ処理辞書
25613
25622
  Z(this, wi, void 0);
25614
25623
  Z(this, Or, void 0);
25615
- Z(this, ns, void 0);
25624
+ Z(this, ss, void 0);
25616
25625
  Z(this, Le, void 0);
25617
- Z(this, Ch, void 0);
25626
+ Z(this, Oh, void 0);
25618
25627
  Z(this, Rr, void 0);
25619
- Z(this, ga, void 0);
25620
- Z(this, ss, () => {
25628
+ Z(this, ya, void 0);
25629
+ Z(this, as, () => {
25621
25630
  });
25622
- Z(this, Oh, new AnalyzeTagArg());
25623
- Z(this, Rh, !1);
25624
- Z(this, ya, "skynovel");
25625
- Z(this, Mh, () => G(this, ss).call(this));
25631
+ Z(this, Rh, new AnalyzeTagArg());
25632
+ Z(this, Mh, !1);
25633
+ Z(this, ba, "skynovel");
25634
+ Z(this, Ih, () => G(this, as).call(this));
25626
25635
  // メイン処理(シナリオ解析)
25627
- Z(this, Ih, (t = tt(this, xa, Kh)) => {
25628
- G(this, as) || (G(this, Rr).clearBreak(), Q(this, ss, t), this.resume = (e = tt(this, xa, Kh)) => {
25629
- Q(this, ss, e);
25636
+ Z(this, Ah, (t = tt(this, Ea, Zh)) => {
25637
+ G(this, os) || (G(this, Rr).clearBreak(), Q(this, as, t), this.resume = (e = tt(this, Ea, Zh)) => {
25638
+ Q(this, as, e);
25630
25639
  }, G(this, Le).noticeBreak(!1));
25631
25640
  });
25632
- gt(this, "resume", G(this, Ih));
25641
+ gt(this, "resume", G(this, Ah));
25633
25642
  gt(this, "stop", () => {
25634
- Q(this, ss, () => {
25635
- }), this.resume = G(this, Ih), G(this, Le).noticeBreak(!0);
25643
+ Q(this, as, () => {
25644
+ }), this.resume = G(this, Ah), G(this, Le).noticeBreak(!0);
25636
25645
  });
25637
- Z(this, ba, !0);
25638
- Z(this, as, !1);
25639
- gt(this, "isDestroyed", () => G(this, as));
25640
- Z(this, os, void 0);
25641
- this.sys = t, skipHello(), Config.generate(t).then((e) => Q(this, ti, e)).then(() => tt(this, dc, cp).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
25646
+ Z(this, xa, !0);
25647
+ Z(this, os, !1);
25648
+ gt(this, "isDestroyed", () => G(this, os));
25649
+ Z(this, hs, void 0);
25650
+ this.sys = t, skipHello(), Config.generate(t).then((e) => Q(this, ti, e)).then(() => tt(this, pc, fp).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
25642
25651
  }
25643
25652
  // thisの扱いによりメソッド代入はダメ
25644
25653
  errScript(t, e = !0) {
@@ -25653,17 +25662,17 @@ const Es = class {
25653
25662
  G(this, wi).setVal_Nochk("tmp", "sn.eventArg", t.arg ?? ""), G(this, wi).setVal_Nochk("tmp", "sn.eventLabel", t.label ?? ""), argChk_Boolean(t, "call", !1) ? (G(this, Le).subIdxToken(), this.resume(() => G(this, Ue).call(t))) : (G(this, Ue).clear_event({}), this.resume(() => G(this, Ue).jump(t)));
25654
25663
  }
25655
25664
  setLoop(t, e = "") {
25656
- Q(this, ba, t) ? this.resume() : this.stop(), this.sys.setTitleInfo(e ? ` -- ${e}中` : "");
25665
+ Q(this, xa, t) ? this.resume() : this.stop(), this.sys.setTitleInfo(e ? ` -- ${e}中` : "");
25657
25666
  }
25658
25667
  fire(t, e) {
25659
- G(this, ga).fire(t, e);
25668
+ G(this, ya).fire(t, e);
25660
25669
  }
25661
25670
  async destroy(t = 0) {
25662
- G(this, as) || (Q(this, as, !0), G(this, Rh) && (this.stop(), Q(this, ba, !1), G(this, Rr).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), Q(this, Ue, {}), G(this, ga).destroy(), G(this, Le).destroy(), G(this, Rr).destroy(), G(this, Ch).destroy(), G(this, Ti).ticker.remove(G(this, Mh)), G(this, os) && G(this, Ti) && Es.cvs.parentNode.appendChild(G(this, os)), clearTextureCache(), G(this, Ti).destroy(!0), this.sys.destroy()));
25671
+ G(this, os) || (Q(this, os, !0), G(this, Mh) && (this.stop(), Q(this, xa, !1), G(this, Rr).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), Q(this, Ue, {}), G(this, ya).destroy(), G(this, Le).destroy(), G(this, Rr).destroy(), G(this, Oh).destroy(), G(this, Ti).ticker.remove(G(this, Ih)), G(this, hs) && G(this, Ti) && Ss.cvs.parentNode.appendChild(G(this, hs)), clearTextureCache(), G(this, Ti).destroy(!0), this.sys.destroy()));
25663
25672
  }
25664
25673
  };
25665
- let Main = Es;
25666
- ti = new WeakMap(), Ti = new WeakMap(), Ue = new WeakMap(), wi = new WeakMap(), Or = new WeakMap(), ns = new WeakMap(), Le = new WeakMap(), Ch = new WeakMap(), Rr = new WeakMap(), ga = new WeakMap(), ss = new WeakMap(), Oh = new WeakMap(), Rh = new WeakMap(), ya = new WeakMap(), dc = new WeakSet(), cp = async function() {
25674
+ let Main = Ss;
25675
+ ti = new WeakMap(), Ti = new WeakMap(), Ue = new WeakMap(), wi = new WeakMap(), Or = new WeakMap(), ss = new WeakMap(), Le = new WeakMap(), Oh = new WeakMap(), Rr = new WeakMap(), ya = new WeakMap(), as = new WeakMap(), Rh = new WeakMap(), Mh = new WeakMap(), ba = new WeakMap(), pc = new WeakSet(), fp = async function() {
25667
25676
  var N;
25668
25677
  const t = (N = document.createElement("canvas")) == null ? void 0 : N.getContext("2d");
25669
25678
  if (!t)
@@ -25677,10 +25686,10 @@ ti = new WeakMap(), Ti = new WeakMap(), Ue = new WeakMap(), wi = new WeakMap(),
25677
25686
  // resolution : sys.resolution,
25678
25687
  resolution: globalThis.devicePixelRatio ?? 1
25679
25688
  // 理想
25680
- }, r = document.getElementById(G(this, ya));
25681
- r && (Q(this, os, r.cloneNode(!0)), G(this, os).id = G(this, ya), e.view = r), Q(this, Ti, new Application(e)), Es.cvs = G(this, Ti).view, r || (document.body.appendChild(Es.cvs), Es.cvs.id = G(this, ya)), Q(this, wi, new Variable(G(this, ti), G(this, Ue))), Q(this, Or, new PropParser(G(this, wi), G(this, ti).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(G(this, Ue), G(this, Ti), G(this, wi), this)), G(this, Ue).title({ text: G(this, ti).oCfg.book.title || "SKYNovel" }), Q(this, ns, new SoundMng(G(this, ti), G(this, Ue), G(this, wi), this, this.sys)), Q(this, Le, new ScriptIterator(G(this, ti), G(this, Ue), this, G(this, wi), G(this, Oh), () => tt(this, xa, Kh).call(this), G(this, Or), G(this, ns), this.sys)), Q(this, Ch, new DebugMng(this.sys, G(this, Ue), G(this, Le))), Q(this, Rr, new LayerMng(G(this, ti), G(this, Ue), G(this, Ti), G(this, wi), this, G(this, Le), this.sys, G(this, ns), G(this, Oh), G(this, Or))), Q(this, ga, new EventMng(G(this, ti), G(this, Ue), G(this, Ti), this, G(this, Rr), G(this, wi), G(this, ns), G(this, Le), this.sys)), G(this, Ti).ticker.add(G(this, Mh)), this.resumeByJumpOrCall({ fn: "main" }), Q(this, Rh, !0);
25682
- }, Mh = new WeakMap(), Ih = new WeakMap(), ba = new WeakMap(), xa = new WeakSet(), Kh = function() {
25683
- for (; G(this, ba); ) {
25689
+ }, r = document.getElementById(G(this, ba));
25690
+ r && (Q(this, hs, r.cloneNode(!0)), G(this, hs).id = G(this, ba), e.view = r), Q(this, Ti, new Application(e)), Ss.cvs = G(this, Ti).view, r || (document.body.appendChild(Ss.cvs), Ss.cvs.id = G(this, ba)), Q(this, wi, new Variable(G(this, ti), G(this, Ue))), Q(this, Or, new PropParser(G(this, wi), G(this, ti).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(G(this, Ue), G(this, Ti), G(this, wi), this)), G(this, Ue).title({ text: G(this, ti).oCfg.book.title || "SKYNovel" }), Q(this, ss, new SoundMng(G(this, ti), G(this, Ue), G(this, wi), this, this.sys)), Q(this, Le, new ScriptIterator(G(this, ti), G(this, Ue), this, G(this, wi), G(this, Rh), () => tt(this, Ea, Zh).call(this), G(this, Or), G(this, ss), this.sys)), Q(this, Oh, new DebugMng(this.sys, G(this, Ue), G(this, Le))), Q(this, Rr, new LayerMng(G(this, ti), G(this, Ue), G(this, Ti), G(this, wi), this, G(this, Le), this.sys, G(this, ss), G(this, Rh), G(this, Or))), Q(this, ya, new EventMng(G(this, ti), G(this, Ue), G(this, Ti), this, G(this, Rr), G(this, wi), G(this, ss), G(this, Le), this.sys)), G(this, Ti).ticker.add(G(this, Ih)), this.resumeByJumpOrCall({ fn: "main" }), Q(this, Mh, !0);
25691
+ }, Ih = new WeakMap(), Ah = new WeakMap(), xa = new WeakMap(), Ea = new WeakSet(), Zh = function() {
25692
+ for (; G(this, xa); ) {
25684
25693
  let t = G(this, Le).nextToken();
25685
25694
  if (!t)
25686
25695
  break;
@@ -25741,7 +25750,7 @@ ti = new WeakMap(), Ti = new WeakMap(), Ue = new WeakMap(), wi = new WeakMap(),
25741
25750
  }
25742
25751
  }
25743
25752
  }
25744
- }, as = new WeakMap(), os = new WeakMap(), gt(Main, "cvs");
25753
+ }, os = new WeakMap(), hs = new WeakMap(), gt(Main, "cvs");
25745
25754
  const PACKET_TYPES = /* @__PURE__ */ Object.create(null);
25746
25755
  PACKET_TYPES.open = "0";
25747
25756
  PACKET_TYPES.close = "1";
@@ -26398,7 +26407,7 @@ function queryKey(o, t) {
26398
26407
  N && (e[N] = k);
26399
26408
  }), e;
26400
26409
  }
26401
- let Socket$1 = class bs extends Emitter {
26410
+ let Socket$1 = class xs extends Emitter {
26402
26411
  /**
26403
26412
  * Socket constructor.
26404
26413
  *
@@ -26454,7 +26463,7 @@ let Socket$1 = class bs extends Emitter {
26454
26463
  */
26455
26464
  open() {
26456
26465
  let t;
26457
- if (this.opts.rememberUpgrade && bs.priorWebsocketSuccess && this.transports.indexOf("websocket") !== -1)
26466
+ if (this.opts.rememberUpgrade && xs.priorWebsocketSuccess && this.transports.indexOf("websocket") !== -1)
26458
26467
  t = "websocket";
26459
26468
  else if (this.transports.length === 0) {
26460
26469
  this.setTimeoutFn(() => {
@@ -26488,14 +26497,14 @@ let Socket$1 = class bs extends Emitter {
26488
26497
  */
26489
26498
  probe(t) {
26490
26499
  let e = this.createTransport(t), r = !1;
26491
- bs.priorWebsocketSuccess = !1;
26500
+ xs.priorWebsocketSuccess = !1;
26492
26501
  const N = () => {
26493
26502
  r || (e.send([{ type: "ping", data: "probe" }]), e.once("packet", (X) => {
26494
26503
  if (!r)
26495
26504
  if (X.type === "pong" && X.data === "probe") {
26496
26505
  if (this.upgrading = !0, this.emitReserved("upgrading", e), !e)
26497
26506
  return;
26498
- bs.priorWebsocketSuccess = e.name === "websocket", this.transport.pause(() => {
26507
+ xs.priorWebsocketSuccess = e.name === "websocket", this.transport.pause(() => {
26499
26508
  r || this.readyState !== "closed" && (V(), this.setTransport(e), e.send([{ type: "upgrade" }]), this.emitReserved("upgrade", e), e = null, this.upgrading = !1, this.flush());
26500
26509
  });
26501
26510
  } else {
@@ -26531,7 +26540,7 @@ let Socket$1 = class bs extends Emitter {
26531
26540
  * @private
26532
26541
  */
26533
26542
  onOpen() {
26534
- if (this.readyState = "open", bs.priorWebsocketSuccess = this.transport.name === "websocket", this.emitReserved("open"), this.flush(), this.readyState === "open" && this.opts.upgrade) {
26543
+ if (this.readyState = "open", xs.priorWebsocketSuccess = this.transport.name === "websocket", this.emitReserved("open"), this.flush(), this.readyState === "open" && this.opts.upgrade) {
26535
26544
  let t = 0;
26536
26545
  const e = this.upgrades.length;
26537
26546
  for (; t < e; t++)
@@ -26672,7 +26681,7 @@ let Socket$1 = class bs extends Emitter {
26672
26681
  * @private
26673
26682
  */
26674
26683
  onError(t) {
26675
- bs.priorWebsocketSuccess = !1, this.emitReserved("error", t), this.onClose("transport error", t);
26684
+ xs.priorWebsocketSuccess = !1, this.emitReserved("error", t), this.onClose("transport error", t);
26676
26685
  }
26677
26686
  /**
26678
26687
  * Called upon transport close.
@@ -26911,7 +26920,7 @@ class Decoder extends Emitter {
26911
26920
  return typeof e == "string" || typeof e == "object";
26912
26921
  case PacketType.EVENT:
26913
26922
  case PacketType.BINARY_EVENT:
26914
- return Array.isArray(e) && e.length > 0;
26923
+ return Array.isArray(e) && (typeof e[0] == "string" || typeof e[0] == "number");
26915
26924
  case PacketType.ACK:
26916
26925
  case PacketType.BINARY_ACK:
26917
26926
  return Array.isArray(e);
@@ -27814,8 +27823,8 @@ Object.assign(lookup, {
27814
27823
  io: lookup,
27815
27824
  connect: lookup
27816
27825
  });
27817
- var Ui, ir, rr, hs, ls, Jr, Qr, tn, pc, vc, Ah, Ea, mc, Sa, us, gc, cs, Ta;
27818
- const yc = class {
27826
+ var Ui, ir, rr, ls, us, Jr, Qr, tn, vc, mc, Nh, Sa, gc, Ta, cs, yc, fs, wa;
27827
+ const bc = class {
27819
27828
  constructor(t = {}, e) {
27820
27829
  gt(this, "hFactoryCls", {});
27821
27830
  gt(this, "elc", new EventListenerCtn());
@@ -27828,14 +27837,14 @@ const yc = class {
27828
27837
  Z(this, Ui, 0);
27829
27838
  Z(this, ir, 0);
27830
27839
  Z(this, rr, 1);
27831
- Z(this, hs, 0);
27832
27840
  Z(this, ls, 0);
27841
+ Z(this, us, 0);
27833
27842
  Z(this, Jr, 0);
27834
27843
  Z(this, Qr, 0);
27835
27844
  gt(this, "isFullScr", !1);
27836
27845
  gt(this, "extPort", 3776);
27837
27846
  Z(this, tn, void 0);
27838
- Z(this, pc, {
27847
+ Z(this, vc, {
27839
27848
  auth: (t) => {
27840
27849
  if (t.t !== this.cfg.oCfg.debuger_token) {
27841
27850
  this.end();
@@ -27860,7 +27869,7 @@ const yc = class {
27860
27869
  });
27861
27870
  gt(this, "pathBaseCnvSnPath4Dbg", "");
27862
27871
  gt(this, "fire");
27863
- Z(this, Ah, []);
27872
+ Z(this, Nh, []);
27864
27873
  gt(this, "callHook", (t, e) => {
27865
27874
  });
27866
27875
  gt(this, "send2Dbg", (t, e) => {
@@ -27879,10 +27888,10 @@ const yc = class {
27879
27888
  const { text: e } = t;
27880
27889
  if (!e)
27881
27890
  throw "[title] textは必須です";
27882
- return Q(this, Ea, e), this.titleSub(G(this, Ea) + G(this, Sa)), !1;
27891
+ return Q(this, Sa, e), this.titleSub(G(this, Sa) + G(this, Ta)), !1;
27883
27892
  });
27884
- Z(this, Ea, "");
27885
- Z(this, mc, (t) => {
27893
+ Z(this, Sa, "");
27894
+ Z(this, gc, (t) => {
27886
27895
  if (!t.key)
27887
27896
  return this.tglFlscr_sub(), !1;
27888
27897
  const e = t.key.toLowerCase();
@@ -27892,28 +27901,28 @@ const yc = class {
27892
27901
  });
27893
27902
  gt(this, "update_check", () => !1);
27894
27903
  gt(this, "window", () => !1);
27895
- Z(this, Sa, "");
27896
- Z(this, us, (t, e) => ({ ret: e.toString(), ext_num: 0 }));
27897
- Z(this, gc, {
27898
- 1: { ext: "jpeg", fnc: (t) => G(this, cs).call(this, t), mime: "image/jpeg" },
27899
- 2: { ext: "png", fnc: (t) => G(this, cs).call(this, t), mime: "image/png" },
27900
- 3: { ext: "svg", fnc: (t) => G(this, cs).call(this, t), mime: "image/svg+xml" },
27901
- 4: { ext: "webp", fnc: (t) => G(this, cs).call(this, t), mime: "image/webp" },
27904
+ Z(this, Ta, "");
27905
+ Z(this, cs, (t, e) => ({ ret: e.toString(), ext_num: 0 }));
27906
+ Z(this, yc, {
27907
+ 1: { ext: "jpeg", fnc: (t) => G(this, fs).call(this, t), mime: "image/jpeg" },
27908
+ 2: { ext: "png", fnc: (t) => G(this, fs).call(this, t), mime: "image/png" },
27909
+ 3: { ext: "svg", fnc: (t) => G(this, fs).call(this, t), mime: "image/svg+xml" },
27910
+ 4: { ext: "webp", fnc: (t) => G(this, fs).call(this, t), mime: "image/webp" },
27902
27911
  10: { ext: "mp3", fnc: (t) => t.arrayBuffer(), mime: "audio/mpeg" },
27903
27912
  11: { ext: "m4a", fnc: (t) => t.arrayBuffer(), mime: "audio/aac" },
27904
27913
  12: { ext: "ogg", fnc: (t) => t.arrayBuffer(), mime: "audio/ogg" },
27905
27914
  13: { ext: "aac", fnc: (t) => t.arrayBuffer(), mime: "audio/aac" },
27906
27915
  14: { ext: "flac", fnc: (t) => t.arrayBuffer(), mime: "audio/flac" },
27907
27916
  15: { ext: "wav", fnc: (t) => t.arrayBuffer(), mime: "audio/wav" },
27908
- 20: { ext: "mp4", fnc: (t) => G(this, Ta).call(this, t), mime: "video/mp4" },
27909
- 21: { ext: "webm", fnc: (t) => G(this, Ta).call(this, t), mime: "video/webm" },
27910
- 22: { ext: "ogv", fnc: (t) => G(this, Ta).call(this, t), mime: "video/ogv" }
27917
+ 20: { ext: "mp4", fnc: (t) => G(this, wa).call(this, t), mime: "video/mp4" },
27918
+ 21: { ext: "webm", fnc: (t) => G(this, wa).call(this, t), mime: "video/webm" },
27919
+ 22: { ext: "ogv", fnc: (t) => G(this, wa).call(this, t), mime: "video/ogv" }
27911
27920
  });
27912
- Z(this, cs, (t) => new Promise((e, r) => {
27921
+ Z(this, fs, (t) => new Promise((e, r) => {
27913
27922
  const N = new Image();
27914
27923
  N.onload = () => e(N), N.onerror = (k) => r(k), N.src = URL.createObjectURL(t);
27915
27924
  }));
27916
- Z(this, Ta, (t) => new Promise((e, r) => {
27925
+ Z(this, wa, (t) => new Promise((e, r) => {
27917
27926
  const N = document.createElement("video");
27918
27927
  this.elc.add(N, "error", () => {
27919
27928
  var k;
@@ -27941,7 +27950,7 @@ const yc = class {
27941
27950
  },
27942
27951
  render: () => {
27943
27952
  },
27944
- setDec: (N) => Q(this, us, N),
27953
+ setDec: (N) => Q(this, cs, N),
27945
27954
  setEnc: (N) => this.enc = N,
27946
27955
  getStK: (N) => this.stk = N,
27947
27956
  getHash: (N) => this.hash = N
@@ -27973,7 +27982,7 @@ const yc = class {
27973
27982
  } catch (D) {
27974
27983
  console.error(`セーブデータ(${k})が壊れています。一度クリアする必要があります %o`, D);
27975
27984
  }
27976
- return t.close = (D) => this.close(D), t.export = (D) => this._export(D), t.import = (D) => this._import(D), t.navigate_to = (D) => this.navigate_to(D), t.title = (D) => this.title(D), t.toggle_full_screen = (D) => G(this, mc).call(this, D), t.update_check = (D) => this.update_check(D), t.window = (D) => this.window(D), r.setVal_Nochk("tmp", "const.sn.isApp", () => this.isApp), r.setVal_Nochk("tmp", "const.sn.isDbg", () => CmnLib.isDbg), r.setVal_Nochk("tmp", "const.sn.isPackaged", () => CmnLib.isPackaged), this.val.defTmp("const.sn.displayState", () => this.isFullScr), r.setVal_Nochk("sys", yc.VALNM_CFG_NS, this.cfg.oCfg.save_ns), r.flush(), CmnLib.isDbg && this.attach_debug(N), this.hFactoryCls = {}, Object.values(this.hPlg).map((D) => D.init({
27985
+ return t.close = (D) => this.close(D), t.export = (D) => this._export(D), t.import = (D) => this._import(D), t.navigate_to = (D) => this.navigate_to(D), t.title = (D) => this.title(D), t.toggle_full_screen = (D) => G(this, gc).call(this, D), t.update_check = (D) => this.update_check(D), t.window = (D) => this.window(D), r.setVal_Nochk("tmp", "const.sn.isApp", () => this.isApp), r.setVal_Nochk("tmp", "const.sn.isDbg", () => CmnLib.isDbg), r.setVal_Nochk("tmp", "const.sn.isPackaged", () => CmnLib.isPackaged), this.val.defTmp("const.sn.displayState", () => this.isFullScr), r.setVal_Nochk("sys", bc.VALNM_CFG_NS, this.cfg.oCfg.save_ns), r.flush(), CmnLib.isDbg && this.attach_debug(N), this.hFactoryCls = {}, Object.values(this.hPlg).map((D) => D.init({
27977
27986
  addTag: (U, $) => {
27978
27987
  if (t[U])
27979
27988
  throw `すでに定義済みのタグ[${U}]です`;
@@ -27988,7 +27997,7 @@ const yc = class {
27988
27997
  getVal: r.getVal,
27989
27998
  resume: () => N.resume(),
27990
27999
  render: (U, $, H = !1) => this.appPixi.renderer.render(U, { renderTexture: $, clear: H }),
27991
- setDec: (U) => Q(this, us, U),
28000
+ setDec: (U) => Q(this, cs, U),
27992
28001
  setEnc: (U) => this.enc = U,
27993
28002
  getStK: (U) => this.stk = U,
27994
28003
  getHash: (U) => this.hash = U
@@ -28004,10 +28013,10 @@ const yc = class {
28004
28013
  return G(this, rr);
28005
28014
  }
28006
28015
  get ofsLeft4elm() {
28007
- return G(this, hs);
28016
+ return G(this, ls);
28008
28017
  }
28009
28018
  get ofsTop4elm() {
28010
- return G(this, ls);
28019
+ return G(this, us);
28011
28020
  }
28012
28021
  get ofsPadLeft_Dom2PIXI() {
28013
28022
  return G(this, Jr);
@@ -28040,7 +28049,7 @@ const yc = class {
28040
28049
  const D = r.parentElement.style;
28041
28050
  N || (D.position = "relative", D.width = `${G(this, Ui)}px`, D.height = `${G(this, ir)}px`);
28042
28051
  const U = r.style;
28043
- U.width = D.width, U.height = D.height, N ? (Q(this, hs, k.left), Q(this, ls, k.top)) : (Q(this, hs, 0), Q(this, ls, 0)), this.isFullScr && (Q(this, hs, G(this, hs) + (t - G(this, Ui)) / 2), Q(this, ls, G(this, ls) + (e - G(this, ir)) / 2));
28052
+ U.width = D.width, U.height = D.height, N ? (Q(this, ls, k.left), Q(this, us, k.top)) : (Q(this, ls, 0), Q(this, us, 0)), this.isFullScr && (Q(this, ls, G(this, ls) + (t - G(this, Ui)) / 2), Q(this, us, G(this, us) + (e - G(this, ir)) / 2));
28044
28053
  }
28045
28054
  // デバッガ接続
28046
28055
  attach_debug(t) {
@@ -28074,11 +28083,11 @@ const yc = class {
28074
28083
  100%{transform: translate(0px, 0px);}
28075
28084
  }`, document.getElementsByTagName("head")[0].appendChild(e), this.addHook((r, N) => {
28076
28085
  var k, D;
28077
- return (D = (k = G(this, pc))[r]) == null ? void 0 : D.call(k, N);
28086
+ return (D = (k = G(this, vc))[r]) == null ? void 0 : D.call(k, N);
28078
28087
  }), Q(this, tn, lookup(`http://localhost:${this.extPort}`)), G(this, tn).on("data", (r, N) => {
28079
28088
  this.callHook(r, N);
28080
28089
  }).on("disconnect", () => t.setLoop(!0)), this.callHook = (r, N) => {
28081
- for (const k of G(this, Ah))
28090
+ for (const k of G(this, Nh))
28082
28091
  k(r, N);
28083
28092
  };
28084
28093
  }
@@ -28089,7 +28098,7 @@ const yc = class {
28089
28098
  toast(t) {
28090
28099
  const e = document.body;
28091
28100
  e.querySelectorAll(".sn_BounceIn, .sn_HopIn").forEach((D) => e.removeChild(D));
28092
- const r = document.createElement("img"), N = G(yc, vc)[t];
28101
+ const r = document.createElement("img"), N = G(bc, mc)[t];
28093
28102
  r.src = `data:image/svg+xml;base64,${N.dat}`;
28094
28103
  const k = Math.min(CmnLib.stageW, CmnLib.stageH) / 4 * G(this, rr);
28095
28104
  r.width = r.height = k, r.style.cssText = `position: absolute;
@@ -28100,20 +28109,20 @@ top: ${(CmnLib.stageH - k) / 2 * G(this, rr) + k * (N.dy ?? 0)}px;`, r.classList
28100
28109
  this.fire = t;
28101
28110
  }
28102
28111
  addHook(t) {
28103
- G(this, Ah).push(t);
28112
+ G(this, Nh).push(t);
28104
28113
  }
28105
28114
  titleSub(t) {
28106
28115
  }
28107
28116
  tglFlscr_sub() {
28108
28117
  }
28109
28118
  setTitleInfo(t) {
28110
- Q(this, Sa, t), this.titleSub(G(this, Ea) + G(this, Sa));
28119
+ Q(this, Ta, t), this.titleSub(G(this, Sa) + G(this, Ta));
28111
28120
  }
28112
28121
  decStr(t, e) {
28113
- return G(this, us).call(this, t, e).ret;
28122
+ return G(this, cs).call(this, t, e).ret;
28114
28123
  }
28115
28124
  async dec(t, e) {
28116
- const { ret: r, ext_num: N } = G(this, us).call(this, t, e), k = G(this, gc)[N];
28125
+ const { ret: r, ext_num: N } = G(this, cs).call(this, t, e), k = G(this, yc)[N];
28117
28126
  return k != null && k.fnc ? await k.fnc(new Blob([r], { type: k.mime })) : r;
28118
28127
  }
28119
28128
  get path_downloads() {
@@ -28132,8 +28141,8 @@ top: ${(CmnLib.stageH - k) / 2 * G(this, rr) + k * (N.dy ?? 0)}px;`, r.classList
28132
28141
  async ensureFileSync(t) {
28133
28142
  }
28134
28143
  };
28135
- let SysBase = yc;
28136
- Ui = new WeakMap(), ir = new WeakMap(), rr = new WeakMap(), hs = new WeakMap(), ls = new WeakMap(), Jr = new WeakMap(), Qr = new WeakMap(), tn = new WeakMap(), pc = new WeakMap(), vc = new WeakMap(), Ah = new WeakMap(), Ea = new WeakMap(), mc = new WeakMap(), Sa = new WeakMap(), us = new WeakMap(), gc = new WeakMap(), cs = new WeakMap(), Ta = new WeakMap(), gt(SysBase, "VALNM_CFG_NS", "const.sn.cfg.ns"), Z(SysBase, vc, {
28144
+ let SysBase = bc;
28145
+ Ui = new WeakMap(), ir = new WeakMap(), rr = new WeakMap(), ls = new WeakMap(), us = new WeakMap(), Jr = new WeakMap(), Qr = new WeakMap(), tn = new WeakMap(), vc = new WeakMap(), mc = new WeakMap(), Nh = new WeakMap(), Sa = new WeakMap(), gc = new WeakMap(), Ta = new WeakMap(), cs = new WeakMap(), yc = new WeakMap(), fs = new WeakMap(), wa = new WeakMap(), gt(SysBase, "VALNM_CFG_NS", "const.sn.cfg.ns"), Z(SysBase, mc, {
28137
28146
  // Thanks ICOOON MONO https://icooon-mono.com/ 、 https://vectr.com/ で 640x640化、ImageOptim経由、Base64エンコーダー https://lab.syncer.jp/Tool/Base64-encode/
28138
28147
  接続: { dx: -1, dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtNjQwIDMyMGMwIDE3Ni43My0xNDMuMjcgMzIwLTMyMCAzMjBzLTMyMC0xNDMuMjctMzIwLTMyMCAxNDMuMjctMzIwIDMyMC0zMjAgMzIwIDE0My4yNyAzMjAgMzIweiIvPjxwYXRoIGlkPSJiIiBkPSJtMCAyOTJ2NTUuODhoMTI3LjEzYzEyLjM3IDQ2IDU0LjEyIDc5Ljg3IDEwNCA3OS44N2g3Ny44N3YtMjE1LjYyYy00Ni43MyAwLTcyLjY4IDAtNzcuODggMC00OS43NCAwLTkxLjYyIDMzLjg3LTEwMy45OSA3OS44Ny0xNi45NSAwLTU5LjMzIDAtMTI3LjEzIDB6Ii8+PHBhdGggaWQ9ImMiIGQ9Im01MTIuODggMjkyYy0xMi4zOC00Ni01NC4xMy03OS44Ny0xMDQtNzkuODctNS4yMSAwLTMxLjIxIDAtNzggMHYyMTUuNzRoNzcuODdjNDkuODggMCA5MS43NS0zMy44NyAxMDQtNzkuODdoMTI3LjI1di01NmMtNzYuMjcgMC0xMTguNjUgMC0xMjcuMTIgMHoiLz48L2RlZnM+PHVzZSBmaWxsPSIjMmUyZTJlIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2EiLz48dXNlIGZpbGw9IiMzYWFiZDIiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSJub25lIiB4bGluazpocmVmPSIjYiIvPjx1c2UgZmlsbD0iIzNhYWJkMiIgeGxpbms6aHJlZj0iI2MiLz48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNjIi8+PC9zdmc+" },
28139
28148
  切断: { dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtNjQwIDMyMGMwIDE3Ni43My0xNDMuMjcgMzIwLTMyMCAzMjBzLTMyMC0xNDMuMjctMzIwLTMyMCAxNDMuMjctMzIwIDMyMC0zMjAgMzIwIDE0My4yNyAzMjAgMzIweiIvPjxwYXRoIGlkPSJiIiBkPSJtMTkxLjUzIDIyMS4yNGMtNDUuNjggMC04NC4wMSAzMS4wNC05NS4zIDczLjE2LTYuNDEgMC0zOC40OSAwLTk2LjIzIDB2NTEuMjFoOTYuMjNjMTEuMyA0Mi4xMSA0OS42MyA3My4xNiA5NS4zIDczLjE2aDcxLjMzdi00OC4yNGg1My43OHYtMTAxLjA1aC01My43OHYtNDguMjRjLTQyLjggMC02Ni41NyAwLTcxLjMzIDB6Ii8+PHBhdGggaWQ9ImMiIGQ9Im00NDguNDcgMjIxLjIzYy00Ljc2IDAtMjguNTMgMC03MS4zMyAwdjE5Ny41M2g3MS4zM2M0NS42OCAwIDgzLjk5LTMxLjA0IDk1LjI5LTczLjE1aDk2LjI0di01MS4yMWgtOTYuMjRjLTMzLjA4LTQ4Ljc4LTY0Ljg0LTczLjE3LTk1LjI5LTczLjE3eiIvPjwvZGVmcz48dXNlIGZpbGw9IiMyZTJlMmUiIHhsaW5rOmhyZWY9IiNhIi8+PHVzZSBmaWxsPSJub25lIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0iI2RmNTY1NiIgeGxpbms6aHJlZj0iI2IiLz48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSIjZGY1NjU2IiB4bGluazpocmVmPSIjYyIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2MiLz48L3N2Zz4=" },
@@ -28713,12 +28722,12 @@ const devtools = {
28713
28722
  };
28714
28723
  main({ emitEvents: !1 });
28715
28724
  setInterval(main, 500);
28716
- var wa, Nh, Mr, Lh;
28725
+ var Pa, Lh, Mr, kh;
28717
28726
  class SysWeb extends SysBase {
28718
28727
  constructor(e = {}, r = { cur: "prj/", crypto: !1, dip: "" }) {
28719
28728
  super(e, r);
28720
- Z(this, wa, "");
28721
- Z(this, Nh, ":");
28729
+ Z(this, Pa, "");
28730
+ Z(this, Lh, ":");
28722
28731
  gt(this, "run", async () => {
28723
28732
  G(this, Mr) && (G(this, Mr).destroy(10), await new Promise((r) => setTimeout(r, 10))), Q(this, Mr, new Main(this));
28724
28733
  });
@@ -28759,9 +28768,9 @@ class SysWeb extends SysBase {
28759
28768
  throw "[navigate_to] urlは必須です";
28760
28769
  return globalThis.open(r, "_blank"), !1;
28761
28770
  });
28762
- Z(this, Lh, {});
28771
+ Z(this, kh, {});
28763
28772
  const N = r.cur.split("/");
28764
- Q(this, wa, N.length > 2 ? N.slice(0, -2).join("/") + "/" : ""), globalThis.onload = async () => this.loaded(e, r);
28773
+ Q(this, Pa, N.length > 2 ? N.slice(0, -2).join("/") + "/" : ""), globalThis.onload = async () => this.loaded(e, r);
28765
28774
  }
28766
28775
  async loaded(e, r) {
28767
28776
  await super.loaded(e, r), document.querySelectorAll("[data-prj]").forEach((U) => {
@@ -28777,10 +28786,10 @@ class SysWeb extends SysBase {
28777
28786
  return;
28778
28787
  argChk_Boolean(CmnLib.hDip, "dbg", !1) && (CmnLib.isDbg = !0, this.fetch = (U) => fetch(U, { mode: "cors" })), this.extPort = argChk_Num(CmnLib.hDip, "port", this.extPort);
28779
28788
  const D = N.get("cur");
28780
- D && (r.cur = G(this, wa) + D + "/"), this.run();
28789
+ D && (r.cur = G(this, Pa) + D + "/"), this.run();
28781
28790
  }
28782
28791
  runSN(e) {
28783
- this.arg.cur = G(this, wa) + e + "/", G(this, Nh) !== this.arg.cur && (Q(this, Nh, this.arg.cur), this.run());
28792
+ this.arg.cur = G(this, Pa) + e + "/", G(this, Lh) !== this.arg.cur && (Q(this, Lh, this.arg.cur), this.run());
28784
28793
  }
28785
28794
  stop() {
28786
28795
  G(this, Mr) && (G(this, Mr).destroy(), Q(this, Mr, void 0));
@@ -28851,13 +28860,13 @@ class SysWeb extends SysBase {
28851
28860
  N.href = r, N.download = e, N.click(), CmnLib.debugLog && console.log("画像ファイルをダウンロードします");
28852
28861
  }
28853
28862
  async appendFile(e, r, N) {
28854
- const k = (G(this, Lh)[e] ?? "") + r;
28855
- G(this, Lh)[e] = k;
28863
+ const k = (G(this, kh)[e] ?? "") + r;
28864
+ G(this, kh)[e] = k;
28856
28865
  const D = new Blob([k], { type: "text/json" }), U = document.createElement("a");
28857
28866
  U.href = URL.createObjectURL(D), U.download = e, U.click();
28858
28867
  }
28859
28868
  }
28860
- wa = new WeakMap(), Nh = new WeakMap(), Mr = new WeakMap(), Lh = new WeakMap();
28869
+ Pa = new WeakMap(), Lh = new WeakMap(), Mr = new WeakMap(), kh = new WeakMap();
28861
28870
  export {
28862
28871
  CmnLib,
28863
28872
  Layer,