@famibee/skynovel 1.47.1 → 1.47.3

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,6 +1,6 @@
1
- var $d = Object.defineProperty;
2
- var jd = (o, t, e) => t in o ? $d(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
- var pt = (o, t, e) => (jd(o, typeof t != "symbol" ? t + "" : t, e), e), zu = (o, t, e) => {
1
+ var zd = Object.defineProperty;
2
+ var Vd = (o, t, e) => t in o ? zd(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
+ var pt = (o, t, e) => (Vd(o, typeof t != "symbol" ? t + "" : t, e), e), zu = (o, t, e) => {
4
4
  if (!t.has(o))
5
5
  throw TypeError("Cannot " + e);
6
6
  };
@@ -8,7 +8,7 @@ var U = (o, t, e) => (zu(o, t, "read from private field"), e ? e.call(o) : t.get
8
8
  if (t.has(o))
9
9
  throw TypeError("Cannot add the same private member more than once");
10
10
  t instanceof WeakSet ? t.add(o) : t.set(o, e);
11
- }, Q = (o, t, e, r) => (zu(o, t, "write to private field"), r ? r.call(o, e) : t.set(o, e), e), Me = (o, t, e, r) => ({
11
+ }, Q = (o, t, e, r) => (zu(o, t, "write to private field"), r ? r.call(o, e) : t.set(o, e), e), Ie = (o, t, e, r) => ({
12
12
  set _(N) {
13
13
  Q(o, t, N, e);
14
14
  },
@@ -97,7 +97,7 @@ platform$1.exports;
97
97
  ft && (lt = nt, nt = null);
98
98
  var mt = lt.navigator || {}, wt = mt.userAgent || "";
99
99
  nt || (nt = wt);
100
- var Pt = ft ? !!mt.likeChrome : /\bChrome\b/.test(nt) && !/internal|\n/i.test(X.toString()), Mt = "Object", xt = ft ? Mt : "ScriptBridgingProxyObject", yt = ft ? Mt : "Environment", Ot = ft && lt.java ? "JavaPackage" : tt(lt.java), jt = ft ? Mt : "RuntimeObject", It = /\bJava/.test(Ot) && lt.java, Et = It && tt(lt.environment) == yt, bt = It ? "a" : "α", Ut = It ? "b" : "β", Gt = lt.document || {}, Ft = lt.operamini || lt.opera, Wt = $.test(Wt = ft && Ft ? Ft["[[Class]]"] : tt(Ft)) ? Wt : Ft = null, ut, qt = nt, At = [], oe = null, Zt = nt == wt, St = Zt && Ft && typeof Ft.version == "function" && Ft.version(), ae, kt = Ce([
100
+ var Pt = ft ? !!mt.likeChrome : /\bChrome\b/.test(nt) && !/internal|\n/i.test(X.toString()), Mt = "Object", xt = ft ? Mt : "ScriptBridgingProxyObject", yt = ft ? Mt : "Environment", Ot = ft && lt.java ? "JavaPackage" : tt(lt.java), jt = ft ? Mt : "RuntimeObject", It = /\bJava/.test(Ot) && lt.java, Et = It && tt(lt.environment) == yt, bt = It ? "a" : "α", Ut = It ? "b" : "β", Gt = lt.document || {}, Ft = lt.operamini || lt.opera, Wt = $.test(Wt = ft && Ft ? Ft["[[Class]]"] : tt(Ft)) ? Wt : Ft = null, ut, qt = nt, At = [], oe = null, Zt = nt == wt, St = Zt && Ft && typeof Ft.version == "function" && Ft.version(), ae, kt = Re([
101
101
  { label: "EdgeHTML", pattern: "Edge" },
102
102
  "Trident",
103
103
  { label: "WebKit", pattern: "AppleWebKit" },
@@ -107,7 +107,7 @@ platform$1.exports;
107
107
  "Tasman",
108
108
  "KHTML",
109
109
  "Gecko"
110
- ]), vt = Re([
110
+ ]), vt = Oe([
111
111
  "Adobe AIR",
112
112
  "Arora",
113
113
  "Avant Browser",
@@ -190,7 +190,7 @@ platform$1.exports;
190
190
  "Xbox One",
191
191
  { label: "Xbox 360", pattern: "Xbox" },
192
192
  "Xoom"
193
- ]), Yt = ri({
193
+ ]), Yt = ni({
194
194
  Apple: { iPad: 1, iPhone: 1, iPod: 1 },
195
195
  Alcatel: {},
196
196
  Archos: {},
@@ -245,34 +245,34 @@ platform$1.exports;
245
245
  "Windows 98;",
246
246
  "Windows "
247
247
  ]);
248
- function Ce(ge) {
248
+ function Re(ge) {
249
249
  return at(ge, function(le, te) {
250
250
  return le || RegExp("\\b" + (te.pattern || it(te)) + "\\b", "i").exec(nt) && (te.label || te);
251
251
  });
252
252
  }
253
- function ri(ge) {
254
- return at(ge, function(le, te, ni) {
255
- return le || (te[Nt] || te[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Nt)] || RegExp("\\b" + it(ni) + "(?:\\b|\\w*\\d)", "i").exec(nt)) && ni;
253
+ function ni(ge) {
254
+ return at(ge, function(le, te, si) {
255
+ return le || (te[Nt] || te[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Nt)] || RegExp("\\b" + it(si) + "(?:\\b|\\w*\\d)", "i").exec(nt)) && si;
256
256
  });
257
257
  }
258
- function Re(ge) {
258
+ function Oe(ge) {
259
259
  return at(ge, function(le, te) {
260
260
  return le || RegExp("\\b" + (te.pattern || it(te)) + "\\b", "i").exec(nt) && (te.label || te);
261
261
  });
262
262
  }
263
263
  function mi(ge) {
264
264
  return at(ge, function(le, te) {
265
- var ni = te.pattern || it(te);
266
- return !le && (le = RegExp("\\b" + ni + "(?:/[\\d.]+|[ \\w.]*)", "i").exec(nt)) && (le = Y(le, ni, te.label || te)), le;
265
+ var si = te.pattern || it(te);
266
+ return !le && (le = RegExp("\\b" + si + "(?:/[\\d.]+|[ \\w.]*)", "i").exec(nt)) && (le = Y(le, si, te.label || te)), le;
267
267
  });
268
268
  }
269
269
  function _i(ge) {
270
270
  return at(ge, function(le, te) {
271
- var ni = te.pattern || it(te);
272
- return !le && (le = RegExp("\\b" + ni + " *\\d+[.\\w_]*", "i").exec(nt) || RegExp("\\b" + ni + " *\\w+-[\\w]*", "i").exec(nt) || RegExp("\\b" + ni + "(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)", "i").exec(nt)) && ((le = String(te.label && !RegExp(ni, "i").test(te.label) ? te.label : le).split("/"))[1] && !/[\d.]+/.test(le[0]) && (le[0] += " " + le[1]), te = te.label || te, le = W(le[0].replace(RegExp(ni, "i"), te).replace(RegExp("; *(?:" + te + "[_-])?", "i"), " ").replace(RegExp("(" + te + ")[-_.]?(\\w)", "i"), "$1 $2"))), le;
271
+ var si = te.pattern || it(te);
272
+ return !le && (le = RegExp("\\b" + si + " *\\d+[.\\w_]*", "i").exec(nt) || RegExp("\\b" + si + " *\\w+-[\\w]*", "i").exec(nt) || RegExp("\\b" + si + "(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)", "i").exec(nt)) && ((le = String(te.label && !RegExp(si, "i").test(te.label) ? te.label : le).split("/"))[1] && !/[\d.]+/.test(le[0]) && (le[0] += " " + le[1]), te = te.label || te, le = W(le[0].replace(RegExp(si, "i"), te).replace(RegExp("; *(?:" + te + "[_-])?", "i"), " ").replace(RegExp("(" + te + ")[-_.]?(\\w)", "i"), "$1 $2"))), le;
273
273
  });
274
274
  }
275
- function Ze(ge) {
275
+ function Ke(ge) {
276
276
  return at(ge, function(le, te) {
277
277
  return le || (RegExp(te + "(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)", "i").exec(nt) || 0)[1] || null;
278
278
  });
@@ -280,7 +280,7 @@ platform$1.exports;
280
280
  function Bi() {
281
281
  return this.description || "";
282
282
  }
283
- if (kt && (kt = [kt]), /\bAndroid\b/.test(_t) && !Nt && (ut = /\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(nt)) && (Nt = st(ut[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i, "") || null), Yt && !Nt ? Nt = _i([Yt]) : Yt && Nt && (Nt = Nt.replace(RegExp("^(" + it(Yt) + ")[-_.\\s]", "i"), Yt + " ").replace(RegExp("^(" + it(Yt) + ")[-_.]?(\\w)", "i"), Yt + " $2")), (ut = /\bGoogle TV\b/.exec(Nt)) && (Nt = ut[0]), /\bSimulator\b/i.test(nt) && (Nt = (Nt ? Nt + " " : "") + "Simulator"), vt == "Opera Mini" && /\bOPiOS\b/.test(nt) && At.push("running in Turbo/Uncompressed mode"), vt == "IE" && /\blike iPhone OS\b/.test(nt) ? (ut = ht(nt.replace(/like iPhone OS/, "")), Yt = ut.manufacturer, Nt = ut.product) : /^iP/.test(Nt) ? (vt || (vt = "Safari"), _t = "iOS" + ((ut = / OS ([\d_]+)/i.exec(nt)) ? " " + ut[1].replace(/_/g, ".") : "")) : vt == "Konqueror" && /^Linux\b/i.test(_t) ? _t = "Kubuntu" : Yt && Yt != "Google" && (/Chrome/.test(vt) && !/\bMobile Safari\b/i.test(nt) || /\bVita\b/.test(Nt)) || /\bAndroid\b/.test(_t) && /^Chrome/.test(vt) && /\bVersion\//i.test(nt) ? (vt = "Android Browser", _t = /\bAndroid\b/.test(_t) ? _t : "Android") : vt == "Silk" ? (/\bMobi/i.test(nt) || (_t = "Android", At.unshift("desktop mode")), /Accelerated *= *true/i.test(nt) && At.unshift("accelerated")) : vt == "UC Browser" && /\bUCWEB\b/.test(nt) ? At.push("speed mode") : vt == "PaleMoon" && (ut = /\bFirefox\/([\d.]+)\b/.exec(nt)) ? At.push("identifying as Firefox " + ut[1]) : vt == "Firefox" && (ut = /\b(Mobile|Tablet|TV)\b/i.exec(nt)) ? (_t || (_t = "Firefox OS"), Nt || (Nt = ut[1])) : !vt || (ut = !/\bMinefield\b/i.test(nt) && /\b(?:Firefox|Safari)\b/.exec(vt)) ? (vt && !Nt && /[\/,]|^[^(]+?\)/.test(nt.slice(nt.indexOf(ut + "/") + 8)) && (vt = null), (ut = Nt || Yt || _t) && (Nt || Yt || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(_t)) && (vt = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(_t) ? _t : ut) + " Browser")) : vt == "Electron" && (ut = (/\bChrome\/([\d.]+)\b/.exec(nt) || 0)[1]) && At.push("Chromium " + ut), St || (St = Ze([
283
+ if (kt && (kt = [kt]), /\bAndroid\b/.test(_t) && !Nt && (ut = /\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(nt)) && (Nt = st(ut[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i, "") || null), Yt && !Nt ? Nt = _i([Yt]) : Yt && Nt && (Nt = Nt.replace(RegExp("^(" + it(Yt) + ")[-_.\\s]", "i"), Yt + " ").replace(RegExp("^(" + it(Yt) + ")[-_.]?(\\w)", "i"), Yt + " $2")), (ut = /\bGoogle TV\b/.exec(Nt)) && (Nt = ut[0]), /\bSimulator\b/i.test(nt) && (Nt = (Nt ? Nt + " " : "") + "Simulator"), vt == "Opera Mini" && /\bOPiOS\b/.test(nt) && At.push("running in Turbo/Uncompressed mode"), vt == "IE" && /\blike iPhone OS\b/.test(nt) ? (ut = ht(nt.replace(/like iPhone OS/, "")), Yt = ut.manufacturer, Nt = ut.product) : /^iP/.test(Nt) ? (vt || (vt = "Safari"), _t = "iOS" + ((ut = / OS ([\d_]+)/i.exec(nt)) ? " " + ut[1].replace(/_/g, ".") : "")) : vt == "Konqueror" && /^Linux\b/i.test(_t) ? _t = "Kubuntu" : Yt && Yt != "Google" && (/Chrome/.test(vt) && !/\bMobile Safari\b/i.test(nt) || /\bVita\b/.test(Nt)) || /\bAndroid\b/.test(_t) && /^Chrome/.test(vt) && /\bVersion\//i.test(nt) ? (vt = "Android Browser", _t = /\bAndroid\b/.test(_t) ? _t : "Android") : vt == "Silk" ? (/\bMobi/i.test(nt) || (_t = "Android", At.unshift("desktop mode")), /Accelerated *= *true/i.test(nt) && At.unshift("accelerated")) : vt == "UC Browser" && /\bUCWEB\b/.test(nt) ? At.push("speed mode") : vt == "PaleMoon" && (ut = /\bFirefox\/([\d.]+)\b/.exec(nt)) ? At.push("identifying as Firefox " + ut[1]) : vt == "Firefox" && (ut = /\b(Mobile|Tablet|TV)\b/i.exec(nt)) ? (_t || (_t = "Firefox OS"), Nt || (Nt = ut[1])) : !vt || (ut = !/\bMinefield\b/i.test(nt) && /\b(?:Firefox|Safari)\b/.exec(vt)) ? (vt && !Nt && /[\/,]|^[^(]+?\)/.test(nt.slice(nt.indexOf(ut + "/") + 8)) && (vt = null), (ut = Nt || Yt || _t) && (Nt || Yt || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(_t)) && (vt = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(_t) ? _t : ut) + " Browser")) : vt == "Electron" && (ut = (/\bChrome\/([\d.]+)\b/.exec(nt) || 0)[1]) && At.push("Chromium " + ut), St || (St = Ke([
284
284
  "(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)",
285
285
  "Version",
286
286
  it(vt),
@@ -316,7 +316,7 @@ platform$1.exports;
316
316
  }
317
317
  else
318
318
  (/\bBlackBerry\b/.test(Nt) || /\bBB10\b/.test(nt)) && (ut = (RegExp(Nt.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(nt) || 0)[1] || St) ? (ut = [ut, /BB10/.test(nt)], _t = (ut[1] ? (Nt = null, Yt = "BlackBerry") : "Device Software") + " " + ut[0], St = null) : this != Z && Nt != "Wii" && (Zt && Ft || /Opera/.test(vt) && /\b(?:MSIE|Firefox)\b/i.test(nt) || vt == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(_t) || vt == "IE" && (_t && !/^Win/.test(_t) && St > 5.5 || /\bWindows XP\b/.test(_t) && St > 8 || St == 8 && !/\bTrident\b/.test(nt))) && !$.test(ut = ht.call(Z, nt.replace($, "") + ";")) && ut.name && (ut = "ing as " + ut.name + ((ut = ut.version) ? " " + ut : ""), $.test(vt) ? (/\bIE\b/.test(ut) && _t == "Mac OS" && (_t = null), ut = "identify" + ut) : (ut = "mask" + ut, Wt ? vt = W(Wt.replace(/([a-z])([A-Z])/g, "$1 $2")) : vt = "Opera", /\bIE\b/.test(ut) && (_t = null), Zt || (St = null)), kt = ["Presto"], At.push(ut));
319
- (ut = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(nt) || 0)[1]) && (ut = [parseFloat(ut.replace(/\.(\d)$/, ".0$1")), ut], vt == "Safari" && ut[1].slice(-1) == "+" ? (vt = "WebKit Nightly", oe = "alpha", St = ut[1].slice(0, -1)) : (St == ut[1] || St == (ut[2] = (/\bSafari\/([\d.]+\+?)/i.exec(nt) || 0)[1])) && (St = null), ut[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(nt) || 0)[1], ut[0] == 537.36 && ut[2] == 537.36 && parseFloat(ut[1]) >= 28 && kt == "WebKit" && (kt = ["Blink"]), !Zt || !Pt && !ut[1] ? (kt && (kt[1] = "like Safari"), ut = (ut = ut[0], ut < 400 ? 1 : ut < 500 ? 2 : ut < 526 ? 3 : ut < 533 ? 4 : ut < 534 ? "4+" : ut < 535 ? 5 : ut < 537 ? 6 : ut < 538 ? 7 : ut < 601 ? 8 : ut < 602 ? 9 : ut < 604 ? 10 : ut < 606 ? 11 : ut < 608 ? 12 : "12")) : (kt && (kt[1] = "like Chrome"), ut = ut[1] || (ut = ut[0], ut < 530 ? 1 : ut < 532 ? 2 : ut < 532.05 ? 3 : ut < 533 ? 4 : ut < 534.03 ? 5 : ut < 534.07 ? 6 : ut < 534.1 ? 7 : ut < 534.13 ? 8 : ut < 534.16 ? 9 : ut < 534.24 ? 10 : ut < 534.3 ? 11 : ut < 535.01 ? 12 : ut < 535.02 ? "13+" : ut < 535.07 ? 15 : ut < 535.11 ? 16 : ut < 535.19 ? 17 : ut < 536.05 ? 18 : ut < 536.1 ? 19 : ut < 537.01 ? 20 : ut < 537.11 ? "21+" : ut < 537.13 ? 23 : ut < 537.18 ? 24 : ut < 537.24 ? 25 : ut < 537.36 ? 26 : kt != "Blink" ? "27" : "28")), kt && (kt[1] += " " + (ut += typeof ut == "number" ? ".x" : /[.+]/.test(ut) ? "" : "+")), vt == "Safari" && (!St || parseInt(St) > 45) ? St = ut : vt == "Chrome" && /\bHeadlessChrome/i.test(nt) && At.unshift("headless")), vt == "Opera" && (ut = /\bzbov|zvav$/.exec(_t)) ? (vt += " ", At.unshift("desktop mode"), ut == "zvav" ? (vt += "Mini", St = null) : vt += "Mobile", _t = _t.replace(RegExp(" *" + ut + "$"), "")) : vt == "Safari" && /\bChrome\b/.exec(kt && kt[1]) ? (At.unshift("desktop mode"), vt = "Chrome Mobile", St = null, /\bOS X\b/.test(_t) ? (Yt = "Apple", _t = "iOS 4.3+") : _t = null) : /\bSRWare Iron\b/.test(vt) && !St && (St = Ze("Chrome")), St && St.indexOf(ut = /[\d.]+$/.exec(_t)) == 0 && nt.indexOf("/" + ut + "-") > -1 && (_t = st(_t.replace(ut, ""))), _t && _t.indexOf(vt) != -1 && !RegExp(vt + " OS").test(_t) && (_t = _t.replace(RegExp(" *" + it(vt) + " *"), "")), kt && !/\b(?:Avant|Nook)\b/.test(vt) && (/Browser|Lunascape|Maxthon/.test(vt) || vt != "Safari" && /^iOS/.test(_t) && /\bSafari\b/.test(kt[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(vt) && kt[1]) && (ut = kt[kt.length - 1]) && At.push(ut), At.length && (At = ["(" + At.join("; ") + ")"]), Yt && Nt && Nt.indexOf(Yt) < 0 && At.push("on " + Yt), Nt && At.push((/^on /.test(At[At.length - 1]) ? "" : "on ") + Nt), _t && (ut = / ([\d.+]+)$/.exec(_t), ae = ut && _t.charAt(_t.length - ut[0].length - 1) == "/", _t = {
319
+ (ut = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(nt) || 0)[1]) && (ut = [parseFloat(ut.replace(/\.(\d)$/, ".0$1")), ut], vt == "Safari" && ut[1].slice(-1) == "+" ? (vt = "WebKit Nightly", oe = "alpha", St = ut[1].slice(0, -1)) : (St == ut[1] || St == (ut[2] = (/\bSafari\/([\d.]+\+?)/i.exec(nt) || 0)[1])) && (St = null), ut[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(nt) || 0)[1], ut[0] == 537.36 && ut[2] == 537.36 && parseFloat(ut[1]) >= 28 && kt == "WebKit" && (kt = ["Blink"]), !Zt || !Pt && !ut[1] ? (kt && (kt[1] = "like Safari"), ut = (ut = ut[0], ut < 400 ? 1 : ut < 500 ? 2 : ut < 526 ? 3 : ut < 533 ? 4 : ut < 534 ? "4+" : ut < 535 ? 5 : ut < 537 ? 6 : ut < 538 ? 7 : ut < 601 ? 8 : ut < 602 ? 9 : ut < 604 ? 10 : ut < 606 ? 11 : ut < 608 ? 12 : "12")) : (kt && (kt[1] = "like Chrome"), ut = ut[1] || (ut = ut[0], ut < 530 ? 1 : ut < 532 ? 2 : ut < 532.05 ? 3 : ut < 533 ? 4 : ut < 534.03 ? 5 : ut < 534.07 ? 6 : ut < 534.1 ? 7 : ut < 534.13 ? 8 : ut < 534.16 ? 9 : ut < 534.24 ? 10 : ut < 534.3 ? 11 : ut < 535.01 ? 12 : ut < 535.02 ? "13+" : ut < 535.07 ? 15 : ut < 535.11 ? 16 : ut < 535.19 ? 17 : ut < 536.05 ? 18 : ut < 536.1 ? 19 : ut < 537.01 ? 20 : ut < 537.11 ? "21+" : ut < 537.13 ? 23 : ut < 537.18 ? 24 : ut < 537.24 ? 25 : ut < 537.36 ? 26 : kt != "Blink" ? "27" : "28")), kt && (kt[1] += " " + (ut += typeof ut == "number" ? ".x" : /[.+]/.test(ut) ? "" : "+")), vt == "Safari" && (!St || parseInt(St) > 45) ? St = ut : vt == "Chrome" && /\bHeadlessChrome/i.test(nt) && At.unshift("headless")), vt == "Opera" && (ut = /\bzbov|zvav$/.exec(_t)) ? (vt += " ", At.unshift("desktop mode"), ut == "zvav" ? (vt += "Mini", St = null) : vt += "Mobile", _t = _t.replace(RegExp(" *" + ut + "$"), "")) : vt == "Safari" && /\bChrome\b/.exec(kt && kt[1]) ? (At.unshift("desktop mode"), vt = "Chrome Mobile", St = null, /\bOS X\b/.test(_t) ? (Yt = "Apple", _t = "iOS 4.3+") : _t = null) : /\bSRWare Iron\b/.test(vt) && !St && (St = Ke("Chrome")), St && St.indexOf(ut = /[\d.]+$/.exec(_t)) == 0 && nt.indexOf("/" + ut + "-") > -1 && (_t = st(_t.replace(ut, ""))), _t && _t.indexOf(vt) != -1 && !RegExp(vt + " OS").test(_t) && (_t = _t.replace(RegExp(" *" + it(vt) + " *"), "")), kt && !/\b(?:Avant|Nook)\b/.test(vt) && (/Browser|Lunascape|Maxthon/.test(vt) || vt != "Safari" && /^iOS/.test(_t) && /\bSafari\b/.test(kt[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(vt) && kt[1]) && (ut = kt[kt.length - 1]) && At.push(ut), At.length && (At = ["(" + At.join("; ") + ")"]), Yt && Nt && Nt.indexOf(Yt) < 0 && At.push("on " + Yt), Nt && At.push((/^on /.test(At[At.length - 1]) ? "" : "on ") + Nt), _t && (ut = / ([\d.+]+)$/.exec(_t), ae = ut && _t.charAt(_t.length - ut[0].length - 1) == "/", _t = {
320
320
  architecture: 32,
321
321
  family: ut && !ae ? _t.replace(ut[0], "") : _t,
322
322
  version: ut ? ut[1] : null,
@@ -478,10 +478,10 @@ const REG_EXT = /\.([^\.]+)$/;
478
478
  function getExt(o) {
479
479
  return (o.match(REG_EXT) ?? ["", ""])[1];
480
480
  }
481
- var zc, Vc;
481
+ var Yc, Wc;
482
482
  class CmnLib {
483
483
  }
484
- pt(CmnLib, "stageW", 0), pt(CmnLib, "stageH", 0), pt(CmnLib, "debugLog", !1), pt(CmnLib, "isSafari", platformExports.name === "Safari"), pt(CmnLib, "isFirefox", platformExports.name === "Firefox"), pt(CmnLib, "isMac", new RegExp("OS X").test(((zc = platformExports.os) == null ? void 0 : zc.family) ?? "")), pt(CmnLib, "isMobile", !new RegExp("(Windows|OS X)").test(((Vc = platformExports.os) == null ? void 0 : Vc.family) ?? "")), pt(CmnLib, "hDip", {}), pt(CmnLib, "isDbg", !1), pt(CmnLib, "isPackaged", !1), pt(CmnLib, "isDarkMode", !1), pt(CmnLib, "cc4ColorName");
484
+ pt(CmnLib, "stageW", 0), pt(CmnLib, "stageH", 0), pt(CmnLib, "debugLog", !1), pt(CmnLib, "isSafari", platformExports.name === "Safari"), pt(CmnLib, "isFirefox", platformExports.name === "Firefox"), pt(CmnLib, "isMac", new RegExp("OS X").test(((Yc = platformExports.os) == null ? void 0 : Yc.family) ?? "")), pt(CmnLib, "isMobile", !new RegExp("(Windows|OS X)").test(((Wc = platformExports.os) == null ? void 0 : Wc.family) ?? "")), pt(CmnLib, "hDip", {}), pt(CmnLib, "isDbg", !1), pt(CmnLib, "isPackaged", !1), pt(CmnLib, "isDarkMode", !1), pt(CmnLib, "cc4ColorName");
485
485
  function finallyConstructor(o) {
486
486
  var t = this.constructor;
487
487
  return this.then(
@@ -10809,8 +10809,8 @@ function buildNonNativeLine(o, t) {
10809
10809
  _t ? k.join === LINE_JOIN.BEVEL || oe / tt > J ? (Ft ? (V.push(Zt, St), V.push(st + lt * yt, ht + ft * yt), V.push(Zt, St), V.push(st + mt * yt, ht + wt * yt)) : (V.push(st - lt * xt, ht - ft * xt), V.push(ae, kt), V.push(st - mt * xt, ht - wt * xt), V.push(ae, kt)), q += 2) : k.join === LINE_JOIN.ROUND ? Ft ? (V.push(Zt, St), V.push(st + lt * yt, ht + ft * yt), q += round$1(st, ht, st + lt * yt, ht + ft * yt, st + mt * yt, ht + wt * yt, V, !0) + 4, V.push(Zt, St), V.push(st + mt * yt, ht + wt * yt)) : (V.push(st - lt * xt, ht - ft * xt), V.push(ae, kt), q += round$1(st, ht, st - lt * xt, ht - ft * xt, st - mt * xt, ht - wt * xt, V, !1) + 4, V.push(st - mt * xt, ht - wt * xt), V.push(ae, kt)) : (V.push(Zt, St), V.push(ae, kt)) : (V.push(st - lt * xt, ht - ft * xt), V.push(st + lt * yt, ht + ft * yt), k.join === LINE_JOIN.ROUND ? Ft ? q += round$1(st, ht, st + lt * yt, ht + ft * yt, st + mt * yt, ht + wt * yt, V, !0) + 2 : q += round$1(st, ht, st - lt * xt, ht - ft * xt, st - mt * xt, ht - wt * xt, V, !1) + 2 : k.join === LINE_JOIN.MITER && oe / tt <= J && (Ft ? (V.push(ae, kt), V.push(ae, kt)) : (V.push(Zt, St), V.push(Zt, St)), q += 2), V.push(st - mt * xt, ht - wt * xt), V.push(st + mt * yt, ht + wt * yt), q += 2);
10810
10810
  }
10811
10811
  it = r[(Y - 2) * 2], at = r[(Y - 2) * 2 + 1], st = r[(Y - 1) * 2], ht = r[(Y - 1) * 2 + 1], lt = -(at - ht), ft = it - st, Pt = Math.sqrt(lt * lt + ft * ft), lt /= Pt, ft /= Pt, lt *= Z, ft *= Z, V.push(st - lt * xt, ht - ft * xt), V.push(st + lt * yt, ht + ft * yt), $ || (k.cap === LINE_CAP.ROUND ? q += round$1(st - lt * (xt - yt) * 0.5, ht - ft * (xt - yt) * 0.5, st - lt * xt, ht - ft * xt, st + lt * yt, ht + ft * yt, V, !1) + 2 : k.cap === LINE_CAP.SQUARE && (q += square(st, ht, lt, ft, xt, yt, !1, V)));
10812
- for (var Ce = t.indices, ri = GRAPHICS_CURVES.epsilon * GRAPHICS_CURVES.epsilon, Ot = W; Ot < q + W - 2; ++Ot)
10813
- it = V[Ot * 2], at = V[Ot * 2 + 1], st = V[(Ot + 1) * 2], ht = V[(Ot + 1) * 2 + 1], ot = V[(Ot + 2) * 2], nt = V[(Ot + 2) * 2 + 1], !(Math.abs(it * (ht - nt) + st * (nt - at) + ot * (at - ht)) < ri) && Ce.push(Ot, Ot + 1, Ot + 2);
10812
+ for (var Re = t.indices, ni = GRAPHICS_CURVES.epsilon * GRAPHICS_CURVES.epsilon, Ot = W; Ot < q + W - 2; ++Ot)
10813
+ it = V[Ot * 2], at = V[Ot * 2 + 1], st = V[(Ot + 1) * 2], ht = V[(Ot + 1) * 2 + 1], ot = V[(Ot + 2) * 2], nt = V[(Ot + 2) * 2 + 1], !(Math.abs(it * (ht - nt) + st * (nt - at) + ot * (at - ht)) < ni) && Re.push(Ot, Ot + 1, Ot + 2);
10814
10814
  }
10815
10815
  }
10816
10816
  function buildNativeLine(o, t) {
@@ -13806,11 +13806,11 @@ void main(void)\r
13806
13806
  for (var ot in yt) {
13807
13807
  var bt = yt[ot];
13808
13808
  if (this.anchor.x !== 0 || this.anchor.y !== 0)
13809
- for (var Ce = 0, ri = this._textWidth * this.anchor.x, Re = this._textHeight * this.anchor.y, mi = 0; mi < bt.total; mi++)
13810
- bt.vertices[Ce++] -= ri, bt.vertices[Ce++] -= Re, bt.vertices[Ce++] -= ri, bt.vertices[Ce++] -= Re, bt.vertices[Ce++] -= ri, bt.vertices[Ce++] -= Re, bt.vertices[Ce++] -= ri, bt.vertices[Ce++] -= Re;
13809
+ for (var Re = 0, ni = this._textWidth * this.anchor.x, Oe = this._textHeight * this.anchor.y, mi = 0; mi < bt.total; mi++)
13810
+ bt.vertices[Re++] -= ni, bt.vertices[Re++] -= Oe, bt.vertices[Re++] -= ni, bt.vertices[Re++] -= Oe, bt.vertices[Re++] -= ni, bt.vertices[Re++] -= Oe, bt.vertices[Re++] -= ni, bt.vertices[Re++] -= Oe;
13811
13811
  this._maxLineHeight = st * k;
13812
- var _i = bt.mesh.geometry.getBuffer("aVertexPosition"), Ze = bt.mesh.geometry.getBuffer("aTextureCoord"), Bi = bt.mesh.geometry.getIndex();
13813
- _i.data = bt.vertices, Ze.data = bt.uvs, Bi.data = bt.indices, _i.update(), Ze.update(), Bi.update();
13812
+ var _i = bt.mesh.geometry.getBuffer("aVertexPosition"), Ke = bt.mesh.geometry.getBuffer("aTextureCoord"), Bi = bt.mesh.geometry.getIndex();
13813
+ _i.data = bt.vertices, Ke.data = bt.uvs, Bi.data = bt.indices, _i.update(), Ke.update(), Bi.update();
13814
13814
  }
13815
13815
  for (var ot = 0; ot < B.length; ot++)
13816
13816
  charRenderDataPool.push(B[ot]);
@@ -16255,8 +16255,8 @@ class ConfigBase {
16255
16255
  // 内容紹介。端的に記入
16256
16256
  version: "1.0"
16257
16257
  },
16258
- log: { max_len: 1024 },
16259
- // プレイヤーが読んだ文章を読み返せる履歴の長さ
16258
+ log: { max_len: 64 },
16259
+ // プレイヤーが読んだ文章を読み返せる履歴のページ数
16260
16260
  init: {
16261
16261
  bg_color: "#000000",
16262
16262
  // 背景色
@@ -16437,7 +16437,7 @@ function splitAmpersand(o) {
16437
16437
  cast: e === 3 ? t[2].trim() : void 0
16438
16438
  };
16439
16439
  }
16440
- var tn, en, xa, Ea, Sa, je, Ta, cs, mh;
16440
+ var tn, en, xa, Ea, Sa, He, Ta, cs, mh;
16441
16441
  class Grammar {
16442
16442
  constructor() {
16443
16443
  K(this, cs);
@@ -16446,12 +16446,12 @@ class Grammar {
16446
16446
  K(this, xa, new RegExp(""));
16447
16447
  K(this, Ea, "");
16448
16448
  K(this, Sa, "");
16449
- K(this, je, void 0);
16449
+ K(this, He, void 0);
16450
16450
  K(this, Ta, void 0);
16451
16451
  this.setEscape("");
16452
16452
  }
16453
16453
  setEscape(t) {
16454
- if (U(this, je) && t in U(this, je))
16454
+ if (U(this, He) && t in U(this, He))
16455
16455
  throw "[エスケープ文字] char【" + t + "】が登録済みの括弧マクロまたは一文字マクロです";
16456
16456
  Q(this, tn, new RegExp(
16457
16457
  (t ? `\\${t}\\S|` : "") + // エスケープシーケンス
@@ -16474,24 +16474,24 @@ class Grammar {
16474
16474
  throw "[bracket2macro] textは括弧の前後を示す二文字を指定してください";
16475
16475
  if (!(k in e))
16476
16476
  throw `[bracket2macro] 未定義のタグ又はマクロ[${k}]です`;
16477
- U(this, je) ?? Q(this, je, {});
16477
+ U(this, He) ?? Q(this, He, {});
16478
16478
  const $ = D.charAt(1);
16479
- if (B in U(this, je))
16479
+ if (B in U(this, He))
16480
16480
  throw "[bracket2macro] text【" + B + "】が登録済みの括弧マクロまたは一文字マクロです";
16481
- if ($ in U(this, je))
16481
+ if ($ in U(this, He))
16482
16482
  throw "[bracket2macro] text【" + $ + "】が登録済みの括弧マクロまたは一文字マクロです";
16483
16483
  if (U(this, en).test(B))
16484
16484
  throw "[bracket2macro] text【" + B + "】は括弧マクロに使用できない文字です";
16485
16485
  if (U(this, en).test($))
16486
16486
  throw "[bracket2macro] text【" + $ + "】は括弧マクロに使用できない文字です";
16487
- U(this, je)[$] = "0", U(this, je)[B] = `[${k} text=`, this.addC2M(`\\${B}[^\\${$}]*\\${$}`, `\\${B}\\${$}`), et(this, cs, mh).call(this, r, N);
16487
+ U(this, He)[$] = "0", U(this, He)[B] = `[${k} text=`, this.addC2M(`\\${B}[^\\${$}]*\\${$}`, `\\${B}\\${$}`), et(this, cs, mh).call(this, r, N);
16488
16488
  }
16489
16489
  // 一文字マクロの定義
16490
16490
  char2macro(t, e, r, N) {
16491
16491
  const { char: k, name: D } = t;
16492
16492
  if (!k)
16493
16493
  throw "[char2macro] charは必須です";
16494
- if (U(this, je) ?? Q(this, je, {}), k in U(this, je))
16494
+ if (U(this, He) ?? Q(this, He, {}), k in U(this, He))
16495
16495
  throw "[char2macro] char【" + k + "】が登録済みの括弧マクロまたは一文字マクロです";
16496
16496
  if (U(this, en).test(k))
16497
16497
  throw "[char2macro] char【" + k + "】は一文字マクロに使用できない文字です";
@@ -16499,7 +16499,7 @@ class Grammar {
16499
16499
  throw "[char2macro] nameは必須です";
16500
16500
  if (!(D in e))
16501
16501
  throw `[char2macro] 未定義のタグ又はマクロ[${D}]です`;
16502
- U(this, je)[k] = `[${D}]`, this.addC2M(`\\${k}`, `\\${k}`), et(this, cs, mh).call(this, r, N);
16502
+ U(this, He)[k] = `[${D}]`, this.addC2M(`\\${k}`, `\\${k}`), et(this, cs, mh).call(this, r, N);
16503
16503
  }
16504
16504
  addC2M(t, e) {
16505
16505
  Q(this, Ea, U(this, Ea) + `${t}|`), Q(this, Sa, U(this, Sa) + `${e}`), Q(this, xa, new RegExp(
@@ -16535,8 +16535,8 @@ class Grammar {
16535
16535
  }
16536
16536
  //4tst
16537
16537
  }
16538
- tn = new WeakMap(), en = new WeakMap(), xa = new WeakMap(), Ea = new WeakMap(), Sa = new WeakMap(), je = new WeakMap(), Ta = new WeakMap(), cs = new WeakSet(), mh = function(t, e = 0) {
16539
- if (U(this, je)) {
16538
+ tn = new WeakMap(), en = new WeakMap(), xa = new WeakMap(), Ea = new WeakMap(), Sa = new WeakMap(), He = new WeakMap(), Ta = new WeakMap(), cs = new WeakSet(), mh = function(t, e = 0) {
16539
+ if (U(this, He)) {
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) ?? `
@@ -16548,7 +16548,7 @@ tn = new WeakMap(), en = new WeakMap(), xa = new WeakMap(), Ea = new WeakMap(),
16548
16548
  let B = 1;
16549
16549
  for (let $ = D.length - 1; $ >= 0; --$) {
16550
16550
  let H = D[$];
16551
- const z = U(this, je)[H.at(0) ?? " "];
16551
+ const z = U(this, He)[H.at(0) ?? " "];
16552
16552
  z && (H = z + (z.at(-1) === "]" ? "" : `'${H.slice(1, -1)}']`)), t.aToken.splice(r, B, H), t.aLNum.splice(r, B, k), B = 0;
16553
16553
  }
16554
16554
  }
@@ -16688,8 +16688,8 @@ var parsimmon_umd_min = { exports: {} };
16688
16688
  return B(rt, function() {
16689
16689
  var gt;
16690
16690
  dt = { v: dt.v << 1 | (gt = dt.buf, gt[0] >> 7), buf: function(Tt) {
16691
- var Ct = $(function(Rt, Vt, ve, $e) {
16692
- return Rt.concat(ve === $e.length - 1 ? Buffer.from([Vt, 0]).readUInt16BE(0) : $e.readUInt16BE(ve));
16691
+ var Ct = $(function(Rt, Vt, ve, je) {
16692
+ return Rt.concat(ve === je.length - 1 ? Buffer.from([Vt, 0]).readUInt16BE(0) : je.readUInt16BE(ve));
16693
16693
  }, [], Tt);
16694
16694
  return Buffer.from(H(function(Rt) {
16695
16695
  return (Rt << 1 & 65535) >> 8;
@@ -16720,8 +16720,8 @@ var parsimmon_umd_min = { exports: {} };
16720
16720
  throw new Error(Tt + " bit range requested exceeds 48 bit (6 byte) Number max.");
16721
16721
  return new k(function(Ct, Rt) {
16722
16722
  var Vt = gt + Rt;
16723
- return Vt > Ct.length ? nt(Rt, gt.toString() + " bytes") : ot(Vt, $(function(ve, $e) {
16724
- var ke = z($e, ve.buf);
16723
+ return Vt > Ct.length ? nt(Rt, gt.toString() + " bytes") : ot(Vt, $(function(ve, je) {
16724
+ var ke = z(je, ve.buf);
16725
16725
  return { coll: ve.coll.concat(ke.v), buf: ke.buf };
16726
16726
  }, { coll: [], buf: Ct.slice(Rt, Vt) }, rt).coll);
16727
16727
  });
@@ -16786,13 +16786,13 @@ var parsimmon_umd_min = { exports: {} };
16786
16786
  var Vt = Array.from(Ct);
16787
16787
  return Vt.sort(), Vt;
16788
16788
  }
16789
- for (var ve = {}, $e = 0; $e < gt.length; $e++)
16790
- ve[gt[$e]] = !0;
16789
+ for (var ve = {}, je = 0; je < gt.length; je++)
16790
+ ve[gt[je]] = !0;
16791
16791
  for (var ke = 0; ke < Tt.length; ke++)
16792
16792
  ve[Tt[ke]] = !0;
16793
16793
  var ir = [];
16794
- for (var si in ve)
16795
- ({}).hasOwnProperty.call(ve, si) && ir.push(si);
16794
+ for (var ai in ve)
16795
+ ({}).hasOwnProperty.call(ve, ai) && ir.push(ai);
16796
16796
  return ir.sort(), ir;
16797
16797
  }(rt.expected, ct.expected) : ct.expected;
16798
16798
  return { status: rt.status, index: rt.index, value: rt.value, furthest: ct.furthest, expected: dt };
@@ -16845,35 +16845,35 @@ var parsimmon_umd_min = { exports: {} };
16845
16845
  return { from: rt - ct > 0 ? rt - ct : 0, to: rt + dt > gt ? gt : rt + dt };
16846
16846
  }
16847
16847
  function ut(rt, ct) {
16848
- var dt, gt, Tt, Ct, Rt, Vt = ct.index, ve = Vt.offset, $e = 1;
16848
+ var dt, gt, Tt, Ct, Rt, Vt = ct.index, ve = Vt.offset, je = 1;
16849
16849
  if (ve === rt.length)
16850
16850
  return "Got the end of the input";
16851
16851
  if (ht(rt)) {
16852
- var ke = ve - ve % It, ir = ve - ke, si = Wt(ke, Et, bt + It, rt.length), rr = H(function(Oe) {
16852
+ var ke = ve - ve % It, ir = ve - ke, ai = Wt(ke, Et, bt + It, rt.length), rr = H(function(Me) {
16853
16853
  return H(function(is) {
16854
16854
  return Ft(is.toString(16), 2, "0");
16855
- }, Oe);
16856
- }, function(Oe, is) {
16857
- var rs = Oe.length, qr = [], ns = 0;
16855
+ }, Me);
16856
+ }, function(Me, is) {
16857
+ var rs = Me.length, qr = [], ns = 0;
16858
16858
  if (rs <= is)
16859
- return [Oe.slice()];
16859
+ return [Me.slice()];
16860
16860
  for (var ss = 0; ss < rs; ss++)
16861
- qr[ns] || qr.push([]), qr[ns].push(Oe[ss]), (ss + 1) % is == 0 && ns++;
16861
+ qr[ns] || qr.push([]), qr[ns].push(Me[ss]), (ss + 1) % is == 0 && ns++;
16862
16862
  return qr;
16863
- }(rt.slice(si.from, si.to).toJSON().data, It));
16864
- Ct = function(Oe) {
16865
- return Oe.from === 0 && Oe.to === 1 ? { from: Oe.from, to: Oe.to } : { from: Oe.from / It, to: Math.floor(Oe.to / It) };
16866
- }(si), gt = ke / It, dt = 3 * ir, ir >= 4 && (dt += 1), $e = 2, Tt = H(function(Oe) {
16867
- return Oe.length <= 4 ? Oe.join(" ") : Oe.slice(0, 4).join(" ") + " " + Oe.slice(4).join(" ");
16863
+ }(rt.slice(ai.from, ai.to).toJSON().data, It));
16864
+ Ct = function(Me) {
16865
+ return Me.from === 0 && Me.to === 1 ? { from: Me.from, to: Me.to } : { from: Me.from / It, to: Math.floor(Me.to / It) };
16866
+ }(ai), gt = ke / It, dt = 3 * ir, ir >= 4 && (dt += 1), je = 2, Tt = H(function(Me) {
16867
+ return Me.length <= 4 ? Me.join(" ") : Me.slice(0, 4).join(" ") + " " + Me.slice(4).join(" ");
16868
16868
  }, rr), (Rt = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Rt = 2);
16869
16869
  } else {
16870
16870
  var es = rt.split(/\r\n|[\n\r\u2028\u2029]/);
16871
16871
  dt = Vt.column - 1, gt = Vt.line - 1, Ct = Wt(gt, Ot, jt, es.length), Tt = es.slice(Ct.from, Ct.to), Rt = Ct.to.toString().length;
16872
16872
  }
16873
- var Gd = gt - Ct.from;
16874
- return ht(rt) && (Rt = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Rt = 2), $(function(Oe, is, rs) {
16875
- var qr, ns = rs === Gd, ss = ns ? "> " : Ut;
16876
- return qr = ht(rt) ? Ft((8 * (Ct.from + rs)).toString(16), Rt, "0") : Ft((Ct.from + rs + 1).toString(), Rt, " "), [].concat(Oe, [ss + qr + " | " + is], ns ? [Ut + Gt(" ", Rt) + " | " + Ft("", dt, " ") + Gt("^", $e)] : []);
16873
+ var Hd = gt - Ct.from;
16874
+ return ht(rt) && (Rt = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Rt = 2), $(function(Me, is, rs) {
16875
+ var qr, ns = rs === Hd, ss = ns ? "> " : Ut;
16876
+ return qr = ht(rt) ? Ft((8 * (Ct.from + rs)).toString(16), Rt, "0") : Ft((Ct.from + rs + 1).toString(), Rt, " "), [].concat(Me, [ss + qr + " | " + is], ns ? [Ut + Gt(" ", Rt) + " | " + Ft("", dt, " ") + Gt("^", je)] : []);
16877
16877
  }, [], Tt).join(`
16878
16878
  `);
16879
16879
  }
@@ -16979,25 +16979,25 @@ var parsimmon_umd_min = { exports: {} };
16979
16979
  return nt(dt, rt);
16980
16980
  });
16981
16981
  }
16982
- function Ce(rt) {
16982
+ function Re(rt) {
16983
16983
  if (at(rt))
16984
16984
  return k(function(ct, dt) {
16985
16985
  var gt = rt._(ct, dt);
16986
16986
  return gt.index = dt, gt.value = "", gt;
16987
16987
  });
16988
16988
  if (typeof rt == "string")
16989
- return Ce(vt(rt));
16989
+ return Re(vt(rt));
16990
16990
  if (rt instanceof RegExp)
16991
- return Ce(Nt(rt));
16991
+ return Re(Nt(rt));
16992
16992
  throw new Error("not a string, regexp, or parser: " + rt);
16993
16993
  }
16994
- function ri(rt) {
16994
+ function ni(rt) {
16995
16995
  return wt(rt), k(function(ct, dt) {
16996
16996
  var gt = rt._(ct, dt), Tt = ct.slice(dt, gt.index);
16997
16997
  return gt.status ? nt(dt, 'not "' + Tt + '"') : ot(dt, null);
16998
16998
  });
16999
16999
  }
17000
- function Re(rt) {
17000
+ function Oe(rt) {
17001
17001
  return xt(rt), k(function(ct, dt) {
17002
17002
  var gt = Pt(ct, dt);
17003
17003
  return dt < ct.length && rt(gt) ? ot(dt + 1, gt) : nt(dt, "a character/byte matching " + rt);
@@ -17111,11 +17111,11 @@ var parsimmon_umd_min = { exports: {} };
17111
17111
  return ct[0];
17112
17112
  });
17113
17113
  }, D.mark = function() {
17114
- return Zt(Ze, this, Ze, function(rt, ct, dt) {
17114
+ return Zt(Ke, this, Ke, function(rt, ct, dt) {
17115
17115
  return { start: rt, value: ct, end: dt };
17116
17116
  });
17117
17117
  }, D.node = function(rt) {
17118
- return Zt(Ze, this, Ze, function(ct, dt, gt) {
17118
+ return Zt(Ke, this, Ke, function(ct, dt, gt) {
17119
17119
  return { name: rt, value: dt, start: ct, end: gt };
17120
17120
  });
17121
17121
  }, D.sepBy = function(rt) {
@@ -17123,9 +17123,9 @@ var parsimmon_umd_min = { exports: {} };
17123
17123
  }, D.sepBy1 = function(rt) {
17124
17124
  return kt(this, rt);
17125
17125
  }, D.lookahead = function(rt) {
17126
- return this.skip(Ce(rt));
17126
+ return this.skip(Re(rt));
17127
17127
  }, D.notFollowedBy = function(rt) {
17128
- return this.skip(ri(rt));
17128
+ return this.skip(ni(rt));
17129
17129
  }, D.desc = function(rt) {
17130
17130
  st(rt) || (rt = [rt]);
17131
17131
  var ct = this;
@@ -17146,7 +17146,7 @@ var parsimmon_umd_min = { exports: {} };
17146
17146
  return Tt.status ? lt(rt(Tt.value)._(dt, Tt.index), Tt) : Tt;
17147
17147
  });
17148
17148
  }, D.concat = D.or, D.empty = _i, D.of = Yt, D["fantasy-land/ap"] = D.ap, D["fantasy-land/chain"] = D.chain, D["fantasy-land/concat"] = D.concat, D["fantasy-land/empty"] = D.empty, D["fantasy-land/of"] = D.of, D["fantasy-land/map"] = D.map;
17149
- var Ze = k(function(rt, ct) {
17149
+ var Ke = k(function(rt, ct) {
17150
17150
  return ot(ct, mt(rt, ct));
17151
17151
  }), Bi = k(function(rt, ct) {
17152
17152
  return ct >= rt.length ? nt(ct, "any character/byte") : ot(ct + 1, Pt(rt, ct));
@@ -17154,10 +17154,10 @@ var parsimmon_umd_min = { exports: {} };
17154
17154
  return ot(rt.length, rt.slice(ct));
17155
17155
  }), ge = k(function(rt, ct) {
17156
17156
  return ct < rt.length ? nt(ct, "EOF") : ot(ct, null);
17157
- }), le = Nt(/[0-9]/).desc("a digit"), te = Nt(/[0-9]*/).desc("optional digits"), ni = Nt(/[a-z]/i).desc("a letter"), Dd = Nt(/[a-z]*/i).desc("optional letters"), Fd = Nt(/\s*/).desc("optional whitespace"), Bd = Nt(/\s+/).desc("whitespace"), Gc = vt("\r"), $c = vt(`
17158
- `), jc = vt(`\r
17159
- `), Hc = St(jc, $c, Gc).desc("newline"), Ud = St(Hc, ge);
17160
- k.all = xe, k.alt = St, k.any = Bi, k.cr = Gc, k.createLanguage = function(rt) {
17157
+ }), le = Nt(/[0-9]/).desc("a digit"), te = Nt(/[0-9]*/).desc("optional digits"), si = Nt(/[a-z]/i).desc("a letter"), Ud = Nt(/[a-z]*/i).desc("optional letters"), Gd = Nt(/\s*/).desc("optional whitespace"), $d = Nt(/\s+/).desc("whitespace"), Hc = vt("\r"), zc = vt(`
17158
+ `), Vc = vt(`\r
17159
+ `), Xc = St(Vc, zc, Hc).desc("newline"), jd = St(Xc, ge);
17160
+ k.all = xe, k.alt = St, k.any = Bi, k.cr = Hc, k.createLanguage = function(rt) {
17161
17161
  var ct = {};
17162
17162
  for (var dt in rt)
17163
17163
  ({}).hasOwnProperty.call(rt, dt) && function(gt) {
@@ -17166,20 +17166,20 @@ var parsimmon_umd_min = { exports: {} };
17166
17166
  });
17167
17167
  }(dt);
17168
17168
  return ct;
17169
- }, k.crlf = jc, k.custom = function(rt) {
17169
+ }, k.crlf = Vc, k.custom = function(rt) {
17170
17170
  return k(rt(ot, nt));
17171
- }, k.digit = le, k.digits = te, k.empty = _i, k.end = Ud, k.eof = ge, k.fail = _t, k.formatError = qt, k.index = Ze, k.isParser = at, k.lazy = mi, k.letter = ni, k.letters = Dd, k.lf = $c, k.lookahead = Ce, k.makeFailure = nt, k.makeSuccess = ot, k.newline = Hc, k.noneOf = function(rt) {
17172
- return Re(function(ct) {
17171
+ }, k.digit = le, k.digits = te, k.empty = _i, k.end = jd, k.eof = ge, k.fail = _t, k.formatError = qt, k.index = Ke, k.isParser = at, k.lazy = mi, k.letter = si, k.letters = Ud, k.lf = zc, k.lookahead = Re, k.makeFailure = nt, k.makeSuccess = ot, k.newline = Xc, k.noneOf = function(rt) {
17172
+ return Oe(function(ct) {
17173
17173
  return rt.indexOf(ct) < 0;
17174
17174
  }).desc("none of '" + rt + "'");
17175
- }, k.notFollowedBy = ri, k.of = Yt, k.oneOf = function(rt) {
17175
+ }, k.notFollowedBy = ni, k.of = Yt, k.oneOf = function(rt) {
17176
17176
  for (var ct = rt.split(""), dt = 0; dt < ct.length; dt++)
17177
17177
  ct[dt] = "'" + ct[dt] + "'";
17178
- return Re(function(gt) {
17178
+ return Oe(function(gt) {
17179
17179
  return rt.indexOf(gt) >= 0;
17180
17180
  }).desc(ct);
17181
- }, k.optWhitespace = Fd, k.Parser = k, k.range = function(rt, ct) {
17182
- return Re(function(dt) {
17181
+ }, k.optWhitespace = Gd, k.Parser = k, k.range = function(rt, ct) {
17182
+ return Oe(function(dt) {
17183
17183
  return rt <= dt && dt <= ct;
17184
17184
  }).desc(rt + "-" + ct);
17185
17185
  }, k.regex = Nt, k.regexp = Nt, k.sepBy = ae, k.sepBy1 = kt, k.seq = oe, k.seqMap = Zt, k.seqObj = function() {
@@ -17198,14 +17198,14 @@ var parsimmon_umd_min = { exports: {} };
17198
17198
  }
17199
17199
  if (dt === 0)
17200
17200
  throw new Error("seqObj expects at least one named parser, found zero");
17201
- return k(function(ve, $e) {
17202
- for (var ke, ir = {}, si = 0; si < Tt; si += 1) {
17201
+ return k(function(ve, je) {
17202
+ for (var ke, ir = {}, ai = 0; ai < Tt; ai += 1) {
17203
17203
  var rr, es;
17204
- if (st(gt[si]) ? (rr = gt[si][0], es = gt[si][1]) : (rr = null, es = gt[si]), !(ke = lt(es._(ve, $e), ke)).status)
17204
+ if (st(gt[ai]) ? (rr = gt[ai][0], es = gt[ai][1]) : (rr = null, es = gt[ai]), !(ke = lt(es._(ve, je), ke)).status)
17205
17205
  return ke;
17206
- rr && (ir[rr] = ke.value), $e = ke.index;
17206
+ rr && (ir[rr] = ke.value), je = ke.index;
17207
17207
  }
17208
- return lt(ot($e, ir), ke);
17208
+ return lt(ot(je, ir), ke);
17209
17209
  });
17210
17210
  }, k.string = vt, k.succeed = Yt, k.takeWhile = function(rt) {
17211
17211
  return xt(rt), k(function(ct, dt) {
@@ -17213,7 +17213,7 @@ var parsimmon_umd_min = { exports: {} };
17213
17213
  gt++;
17214
17214
  return ot(gt, ct.slice(dt, gt));
17215
17215
  });
17216
- }, k.test = Re, k.whitespace = Bd, k["fantasy-land/empty"] = _i, k["fantasy-land/of"] = Yt, k.Binary = { bitSeq: Y, bitSeqObj: function(rt) {
17216
+ }, k.test = Oe, k.whitespace = $d, k["fantasy-land/empty"] = _i, k["fantasy-land/of"] = Yt, k.Binary = { bitSeq: Y, bitSeqObj: function(rt) {
17217
17217
  V();
17218
17218
  var ct = {}, dt = 0, gt = H(function(Ct) {
17219
17219
  if (st(Ct)) {
@@ -17268,7 +17268,7 @@ var parsimmon_umd_min = { exports: {} };
17268
17268
  }]);
17269
17269
  });
17270
17270
  })(parsimmon_umd_min);
17271
- var parsimmon_umd_minExports = parsimmon_umd_min.exports, nn, $t, zt, Ci, sr, Zr, Mh, Pa, Vu, Ih, Ah, Xc;
17271
+ var parsimmon_umd_minExports = parsimmon_umd_min.exports, nn, $t, zt, Ci, sr, Zr, Mh, Pa, Vu, Ih, Ah, qc;
17272
17272
  const Ic = class {
17273
17273
  constructor(t, e = "\\") {
17274
17274
  K(this, $t);
@@ -17477,7 +17477,7 @@ const Ic = class {
17477
17477
  const { scope: N = "tmp", name: k, at: D = "" } = r;
17478
17478
  return {
17479
17479
  scope: N,
17480
- name: et(B = Ic, Ah, Xc).call(B, k),
17480
+ name: et(B = Ic, Ah, qc).call(B, k),
17481
17481
  at: D
17482
17482
  };
17483
17483
  }
@@ -17499,7 +17499,7 @@ nn = new WeakMap(), $t = new WeakSet(), zt = function(t) {
17499
17499
  U(this, Mh),
17500
17500
  (e) => e.at(0) === "$" ? this.val.getVal(e.slice(1)) : this.parse(e.slice(2, -1))
17501
17501
  );
17502
- }, Ih = new WeakMap(), Ah = new WeakSet(), Xc = function(t) {
17502
+ }, Ih = new WeakMap(), Ah = new WeakSet(), qc = function(t) {
17503
17503
  let e = 0, r = 0;
17504
17504
  for (; ; ) {
17505
17505
  if (e = t.indexOf('["'), e < 0) {
@@ -17514,14 +17514,14 @@ nn = new WeakMap(), $t = new WeakSet(), zt = function(t) {
17514
17514
  }
17515
17515
  return t;
17516
17516
  }, K(PropParser, Ah), K(PropParser, Ih, /^((?<scope>\w+?):)?(?<name>[^\s :@]+)(?<at>\@str)?$/);
17517
- var Ri, sn, ps, Oi, Ca, Lh, Yc, Nh, Wc, kh, qc, Dh, Zc;
17517
+ var Ri, sn, ps, Oi, Ca, Lh, Zc, Nh, Kc, kh, Jc, Dh, Qc;
17518
17518
  const he = class {
17519
17519
  constructor(t, e, r) {
17520
17520
  K(this, Lh);
17521
17521
  K(this, Nh);
17522
17522
  // ログ出力
17523
17523
  K(this, Ca, !0);
17524
- this.sys = t, Q(he, Ri, r), Q(he, sn, e), Q(he, ps, e.title), he.myTrace = et(he, kh, qc), e.log = (N) => et(this, Lh, Yc).call(this, N), e.trace = (N) => et(this, Nh, Wc).call(this, N), Q(he, Oi, document.createElement("span")), U(he, Oi).hidden = !0, U(he, Oi).textContent = "", U(he, Oi).style.cssText = ` z-index: ${Number.MAX_SAFE_INTEGER};
17524
+ this.sys = t, Q(he, Ri, r), Q(he, sn, e), Q(he, ps, e.title), he.myTrace = et(he, kh, Jc), e.log = (N) => et(this, Lh, Zc).call(this, N), e.trace = (N) => et(this, Nh, Kc).call(this, N), Q(he, Oi, document.createElement("span")), U(he, Oi).hidden = !0, U(he, Oi).textContent = "", U(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(U(he, Oi));
@@ -17554,7 +17554,7 @@ const he = class {
17554
17554
  }
17555
17555
  };
17556
17556
  let DebugMng = he;
17557
- Ri = new WeakMap(), sn = new WeakMap(), ps = new WeakMap(), Oi = new WeakMap(), Ca = new WeakMap(), Lh = new WeakSet(), Yc = function(t) {
17557
+ Ri = new WeakMap(), sn = new WeakMap(), ps = new WeakMap(), Oi = new WeakMap(), Ca = new WeakMap(), Lh = new WeakSet(), Zc = function(t) {
17558
17558
  let e = "";
17559
17559
  return U(this, Ca) && (Q(this, Ca, !1), e = `== ${platform.description} ==
17560
17560
  `), this.sys.appendFile(
@@ -17566,12 +17566,12 @@ ${t.text || `(text is ${t.text})`}
17566
17566
  r && console.log(r);
17567
17567
  }
17568
17568
  ), !1;
17569
- }, Nh = new WeakSet(), Wc = function(t) {
17569
+ }, Nh = new WeakSet(), Kc = function(t) {
17570
17570
  return he.myTrace(t.text || `(text is ${t.text})`, "I"), !1;
17571
- }, kh = new WeakSet(), qc = function(t, e = "E") {
17571
+ }, kh = new WeakSet(), Jc = function(t, e = "E") {
17572
17572
  var k, D;
17573
17573
  let r = `{${e}} ` + he.strPos() + t;
17574
- et(k = he, Dh, Zc).call(k, r, e);
17574
+ et(k = he, Dh, Qc).call(k, r, e);
17575
17575
  let N = "";
17576
17576
  switch (e) {
17577
17577
  case "D":
@@ -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
- }, Dh = new WeakSet(), Zc = function(t, e) {
17596
+ }, Dh = new WeakSet(), Qc = function(t, e) {
17597
17597
  let r = "";
17598
17598
  switch (e) {
17599
17599
  case "D":
@@ -17666,7 +17666,7 @@ class Areas {
17666
17666
  return t.slice(1);
17667
17667
  }
17668
17668
  }
17669
- var Ie, gi, Se, ar, Te, hi, Gi, Ra, Fh, Oa, Xu, Ma, Ia, Bh, Kc, Uh, Jc, yi, Ui, Gh, Qc, $h, tf, jh, ef, Hh, rf, zh, nf, Vh, sf, Xh, af, Yh, of, vs, gh, Aa, Yu, La, an, Na, Wu, Wh, qh, ms, ka, _s, yh, Zh, hf, Kh, lf, Da, qu, Fa, Zu, Jh, uf;
17669
+ var Ae, gi, Te, ar, we, li, Gi, Ra, Fh, Oa, Xu, Ma, Ia, Bh, tf, Uh, ef, yi, Ui, Gh, rf, $h, nf, jh, sf, Hh, af, zh, of, Vh, hf, Xh, lf, Yh, uf, vs, gh, Aa, Yu, La, an, Na, Wu, Wh, qh, ms, ka, _s, yh, Zh, cf, Kh, ff, Da, qu, Fa, Zu, Jh, df;
17670
17670
  const ls = class {
17671
17671
  constructor(t, e) {
17672
17672
  K(this, Oa);
@@ -17706,17 +17706,17 @@ const ls = class {
17706
17706
  K(this, Da);
17707
17707
  K(this, Fa);
17708
17708
  K(this, Jh);
17709
- K(this, Ie, { sys: {}, save: {}, tmp: {}, mp: {} });
17710
- K(this, gi, U(this, Ie).save);
17711
- K(this, Se, U(this, Ie).tmp);
17709
+ K(this, Ae, { sys: {}, save: {}, tmp: {}, mp: {} });
17710
+ K(this, gi, U(this, Ae).save);
17711
+ K(this, Te, U(this, Ae).tmp);
17712
17712
  K(this, ar, void 0);
17713
- K(this, Te, { sys: {}, mark: {}, kidoku: {} });
17714
- K(this, hi, void 0);
17713
+ K(this, we, { sys: {}, mark: {}, kidoku: {} });
17714
+ K(this, li, void 0);
17715
17715
  K(this, Gi, {});
17716
17716
  K(this, Ra, void 0);
17717
17717
  K(this, Fh, {
17718
17718
  auth: (t, e) => et(this, Oa, Xu).call(this, e.hBreakpoint.aData),
17719
- var: (t, e) => U(this, ar).send2Dbg(e.ri, { v: U(this, Ie)[e.scope] ?? {} }),
17719
+ var: (t, e) => U(this, ar).send2Dbg(e.ri, { v: U(this, Ae)[e.scope] ?? {} }),
17720
17720
  set_var: (t, e) => {
17721
17721
  try {
17722
17722
  U(this, La).call(this, e.nm, e.val), U(this, ar).send2Dbg(e.ri, {});
@@ -17732,7 +17732,7 @@ const ls = class {
17732
17732
  });
17733
17733
  K(this, Ia, (t) => {
17734
17734
  });
17735
- pt(this, "getMark", (t) => U(this, Te).mark[t]);
17735
+ pt(this, "getMark", (t) => U(this, we).mark[t]);
17736
17736
  pt(this, "getAreaKidoku", (t) => U(this, Gi)[t]);
17737
17737
  K(this, La, (t, e, r = !0) => {
17738
17738
  if (!t)
@@ -17742,7 +17742,7 @@ const ls = class {
17742
17742
  const N = PropParser.getValName(t);
17743
17743
  if (N === null)
17744
17744
  throw "[変数参照] name(" + t + ")が変数名として異常です";
17745
- const k = U(this, Ie)[N.scope];
17745
+ const k = U(this, Ae)[N.scope];
17746
17746
  if (!k)
17747
17747
  throw "[変数に値セット] scopeが異常【" + N.scope + "】です";
17748
17748
  const D = N.name;
@@ -17756,7 +17756,7 @@ const ls = class {
17756
17756
  const r = PropParser.getValName(t);
17757
17757
  if (r === null)
17758
17758
  throw "[変数参照] name(" + t + ")が変数名として異常です";
17759
- const N = U(this, Ie)[r.scope];
17759
+ const N = U(this, Ae)[r.scope];
17760
17760
  if (!N)
17761
17761
  throw "[変数参照] scopeが異常【" + r.scope + "】です";
17762
17762
  const k = r.name;
@@ -17798,7 +17798,7 @@ const ls = class {
17798
17798
  K(this, qh, () => {
17799
17799
  const t = { tmp: {}, sys: {}, save: {}, mp: {} };
17800
17800
  for (let e in t) {
17801
- const r = U(this, Ie)[e], N = t[e];
17801
+ const r = U(this, Ae)[e], N = t[e];
17802
17802
  for (let [k, D] of Object.entries(r))
17803
17803
  N[k] = Object.prototype.toString.call(D) === "[object Function]" ? D() : D;
17804
17804
  }
@@ -17809,8 +17809,8 @@ const ls = class {
17809
17809
  // sys
17810
17810
  "sys:sn.tagCh.doWait": (t) => et(this, _s, yh).call(this, t),
17811
17811
  "sys:sn.tagCh.doWait_Kidoku": (t) => et(this, _s, yh).call(this, t),
17812
- "sys:sn.tagCh.msecWait": (t) => et(this, Zh, hf).call(this, t),
17813
- "sys:sn.tagCh.msecWait_Kidoku": (t) => et(this, Kh, lf).call(this, t),
17812
+ "sys:sn.tagCh.msecWait": (t) => et(this, Zh, cf).call(this, t),
17813
+ "sys:sn.tagCh.msecWait_Kidoku": (t) => et(this, Kh, ff).call(this, t),
17814
17814
  "sys:sn.tagCh.canskip": (t) => et(this, _s, yh).call(this, t),
17815
17815
  "sys:sn.auto.msecPageWait": (t) => et(this, Da, qu).call(this, t),
17816
17816
  "sys:sn.auto.msecPageWait_Kidoku": (t) => et(this, Da, qu).call(this, t),
@@ -17818,7 +17818,7 @@ const ls = class {
17818
17818
  "sys:sn.auto.msecLineWait_Kidoku": (t) => et(this, Fa, Zu).call(this, t),
17819
17819
  // save
17820
17820
  "save:sn.doRecLog": (t) => {
17821
- U(this, Ia).call(this, Q(this, ms, et(this, Jh, uf).call(this, t)));
17821
+ U(this, Ia).call(this, Q(this, ms, et(this, Jh, df).call(this, t)));
17822
17822
  },
17823
17823
  "save:sn.userFnTail": (t, e) => {
17824
17824
  if (e.includes("@"))
@@ -17829,25 +17829,25 @@ const ls = class {
17829
17829
  "tmp:flash.desktop.NativeApplication.nativeApplication.systemIdleMode": () => {
17830
17830
  }
17831
17831
  });
17832
- if (this.cfg = t, e.let = (k) => et(this, yi, Ui).call(this, k), e.let_abs = (k) => et(this, Gh, Qc).call(this, k), e.let_char_at = (k) => et(this, $h, tf).call(this, k), e.let_index_of = (k) => et(this, jh, ef).call(this, k), e.let_length = (k) => et(this, Hh, rf).call(this, k), e.let_replace = (k) => et(this, zh, nf).call(this, k), e.let_round = (k) => et(this, Vh, sf).call(this, k), e.let_search = (k) => et(this, Xh, af).call(this, k), e.let_substr = (k) => et(this, Yh, of).call(this, k), e.clearsysvar = () => et(this, vs, gh).call(this), e.clearvar = () => et(this, Aa, Yu).call(this), e.dump_val = () => U(this, qh).call(this), e.copybookmark = (k) => et(this, Bh, Kc).call(this, k), e.erasebookmark = (k) => et(this, Uh, Jc).call(this, k), U(this, gi)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
17832
+ if (this.cfg = t, e.let = (k) => et(this, yi, Ui).call(this, k), e.let_abs = (k) => et(this, Gh, rf).call(this, k), e.let_char_at = (k) => et(this, $h, nf).call(this, k), e.let_index_of = (k) => et(this, jh, sf).call(this, k), e.let_length = (k) => et(this, Hh, af).call(this, k), e.let_replace = (k) => et(this, zh, of).call(this, k), e.let_round = (k) => et(this, Vh, hf).call(this, k), e.let_search = (k) => et(this, Xh, lf).call(this, k), e.let_substr = (k) => et(this, Yh, uf).call(this, k), e.clearsysvar = () => et(this, vs, gh).call(this), e.clearvar = () => et(this, Aa, Yu).call(this), e.dump_val = () => U(this, qh).call(this), e.copybookmark = (k) => et(this, Bh, tf).call(this, k), e.erasebookmark = (k) => et(this, Uh, ef).call(this, k), U(this, gi)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
17833
17833
  const k = [];
17834
- for (const D of Object.keys(U(this, Te).mark).sort()) {
17835
- const B = { ...U(this, Te).mark[D].json };
17834
+ for (const D of Object.keys(U(this, we).mark).sort()) {
17835
+ const B = { ...U(this, we).mark[D].json };
17836
17836
  B.place = D, k.push(B);
17837
17837
  }
17838
17838
  return JSON.stringify(k);
17839
- }), U(this, Se)["const.sn.isFirstBoot"] = !0, U(this, Se)["const.sn.last_page_text"] = "", U(this, Se)["const.sn.last_page_plain_text"] = "", U(this, Se)["const.sn.displayState"] = !1, U(this, Se)["const.Date.getTime"] = () => (/* @__PURE__ */ new Date()).getTime(), U(this, Se)["const.Date.getDateStr"] = () => getDateStr(), U(this, Se)["const.sn.platform"] = JSON.stringify(platform), et(this, vs, gh).call(this), et(this, Aa, Yu).call(this), U(this, Se)["const.sn.config.window.width"] = t.oCfg.window.width, U(this, Se)["const.sn.config.window.height"] = t.oCfg.window.height, U(this, Se)["const.sn.config.book.title"] = t.oCfg.book.title, U(this, Se)["const.sn.config.book.version"] = t.oCfg.book.version, U(this, Se)["const.sn.Math.PI"] = Math.PI, typeof window > "u")
17839
+ }), U(this, Te)["const.sn.isFirstBoot"] = !0, U(this, Te)["const.sn.last_page_text"] = "", U(this, Te)["const.sn.last_page_plain_text"] = "", U(this, Te)["const.sn.displayState"] = !1, U(this, Te)["const.Date.getTime"] = () => (/* @__PURE__ */ new Date()).getTime(), U(this, Te)["const.Date.getDateStr"] = () => getDateStr(), U(this, Te)["const.sn.platform"] = JSON.stringify(platform), et(this, vs, gh).call(this), et(this, Aa, Yu).call(this), U(this, Te)["const.sn.config.window.width"] = t.oCfg.window.width, U(this, Te)["const.sn.config.window.height"] = t.oCfg.window.height, U(this, Te)["const.sn.config.book.title"] = t.oCfg.book.title, U(this, Te)["const.sn.config.book.version"] = t.oCfg.book.version, U(this, Te)["const.sn.Math.PI"] = Math.PI, typeof window > "u")
17840
17840
  return;
17841
17841
  const r = window, N = r.AudioContext ?? r.webkitAudioContext;
17842
- U(this, Se)["const.sn.needClick2Play"] = () => new N().state === "suspended";
17842
+ U(this, Te)["const.sn.needClick2Play"] = () => new N().state === "suspended";
17843
17843
  }
17844
17844
  setSys(t) {
17845
- Q(this, ar, t), t.initVal(U(this, Te), U(this, Se), (e) => {
17845
+ Q(this, ar, t), t.initVal(U(this, we), U(this, Te), (e) => {
17846
17846
  this.updateData(e), sessionStorage.clear();
17847
17847
  const r = this.cfg.getNs();
17848
17848
  Q(this, Ma, this.cfg.oCfg.debug.variable ? () => {
17849
17849
  const k = {};
17850
- for (const [X, V] of Object.entries(U(this, hi)))
17850
+ for (const [X, V] of Object.entries(U(this, li)))
17851
17851
  k["sys:" + X] = V instanceof Function ? V() : V;
17852
17852
  sessionStorage[r + "sys"] = JSON.stringify(k);
17853
17853
  const D = {};
@@ -17855,19 +17855,19 @@ const ls = class {
17855
17855
  D["save:" + X] = V instanceof Function ? V() : V;
17856
17856
  sessionStorage[r + "save"] = JSON.stringify(D);
17857
17857
  const B = {};
17858
- for (const [X, V] of Object.entries(U(this, Se)))
17858
+ for (const [X, V] of Object.entries(U(this, Te)))
17859
17859
  B[X] = V instanceof Function ? V() : V;
17860
17860
  sessionStorage[r + "tmp"] = JSON.stringify(B);
17861
17861
  const $ = {};
17862
- for (const [X, V] of Object.entries(U(this, Ie).mp))
17862
+ for (const [X, V] of Object.entries(U(this, Ae).mp))
17863
17863
  $[X] = V instanceof Function ? V() : V;
17864
17864
  sessionStorage[r + "mp"] = JSON.stringify($);
17865
17865
  const H = {};
17866
- for (const [X, V] of Object.entries(U(this, Te).mark))
17866
+ for (const [X, V] of Object.entries(U(this, we).mark))
17867
17867
  H[X] = V instanceof Function ? V() : V;
17868
17868
  sessionStorage[r + "mark"] = JSON.stringify(H);
17869
17869
  const z = {};
17870
- for (const [X, V] of Object.entries(U(this, Te).kidoku))
17870
+ for (const [X, V] of Object.entries(U(this, we).kidoku))
17871
17871
  z[X] = V instanceof Function ? V() : V;
17872
17872
  sessionStorage[r + "kidoku"] = JSON.stringify(z), t.flush();
17873
17873
  } : () => t.flush()), Q(this, Ra, (k, D) => t.callHook(k, D)), t.addHook((k, D) => {
@@ -17875,12 +17875,12 @@ const ls = class {
17875
17875
  return ($ = (B = U(this, Fh))[k]) == null ? void 0 : $.call(B, k, D);
17876
17876
  });
17877
17877
  const N = this.getVal("sys:sn.tagCh.msecWait", -1);
17878
- (U(this, Se)["const.sn.isFirstBoot"] || N === -1) && et(this, vs, gh).call(this);
17878
+ (U(this, Te)["const.sn.isFirstBoot"] || N === -1) && et(this, vs, gh).call(this);
17879
17879
  });
17880
17880
  }
17881
17881
  updateData(t) {
17882
- Q(this, Te, t), Q(this, hi, U(this, Ie).sys = U(this, Te).sys), Q(this, Gi, {});
17883
- for (const [e, r] of Object.entries(U(this, Te).kidoku)) {
17882
+ Q(this, we, t), Q(this, li, U(this, Ae).sys = U(this, we).sys), Q(this, Gi, {});
17883
+ for (const [e, r] of Object.entries(U(this, we).kidoku)) {
17884
17884
  const N = new Areas();
17885
17885
  N.hAreas = { ...r }, U(this, Gi)[e] = N;
17886
17886
  }
@@ -17893,22 +17893,22 @@ const ls = class {
17893
17893
  Q(this, Ia, t);
17894
17894
  }
17895
17895
  defTmp(t, e) {
17896
- U(this, Se)[t] = e;
17896
+ U(this, Te)[t] = e;
17897
17897
  }
17898
17898
  cloneMp() {
17899
- return { ...U(this, Ie).mp };
17899
+ return { ...U(this, Ae).mp };
17900
17900
  }
17901
17901
  setMp(t) {
17902
- U(this, Ie).mp = t;
17902
+ U(this, Ae).mp = t;
17903
17903
  }
17904
17904
  setMark(t, e) {
17905
- U(this, Te).mark[t] = e, this.flush();
17905
+ U(this, we).mark[t] = e, this.flush();
17906
17906
  }
17907
17907
  cloneSave() {
17908
- return { ...U(this, Ie).save };
17908
+ return { ...U(this, Ae).save };
17909
17909
  }
17910
17910
  mark2save(t) {
17911
- Q(this, gi, U(this, Ie).save = { ...t.hSave }), Q(this, ms, U(this, gi)["sn.doRecLog"] ?? !1);
17911
+ Q(this, gi, U(this, Ae).save = { ...t.hSave }), Q(this, ms, U(this, gi)["sn.doRecLog"] ?? !1);
17912
17912
  }
17913
17913
  // 既読系
17914
17914
  loadScrWork(t) {
@@ -17916,12 +17916,12 @@ const ls = class {
17916
17916
  }
17917
17917
  saveKidoku() {
17918
17918
  for (const [t, { hAreas: e }] of Object.entries(U(this, Gi)))
17919
- U(this, Te).kidoku[t] = { ...e };
17919
+ U(this, we).kidoku[t] = { ...e };
17920
17920
  this.flush();
17921
17921
  }
17922
17922
  setVal_Nochk(t, e, r, N = !1) {
17923
17923
  var B, $;
17924
- const k = U(this, Ie)[t];
17924
+ const k = U(this, Ae)[t];
17925
17925
  N && (r = et(this, Na, Wu).call(this, r));
17926
17926
  const D = t + ":" + e;
17927
17927
  if (D in U(ls, an)) {
@@ -17942,11 +17942,11 @@ const ls = class {
17942
17942
  }
17943
17943
  };
17944
17944
  let Variable = ls;
17945
- Ie = new WeakMap(), gi = new WeakMap(), Se = new WeakMap(), ar = new WeakMap(), Te = new WeakMap(), hi = new WeakMap(), Gi = new WeakMap(), Ra = new WeakMap(), Fh = new WeakMap(), Oa = new WeakSet(), Xu = function(t) {
17945
+ Ae = new WeakMap(), gi = new WeakMap(), Te = new WeakMap(), ar = new WeakMap(), we = new WeakMap(), li = new WeakMap(), Gi = new WeakMap(), Ra = new WeakMap(), Fh = new WeakMap(), Oa = new WeakSet(), Xu = function(t) {
17946
17946
  Q(ls, an, {});
17947
17947
  for (const e of t)
17948
17948
  U(ls, an)[e.dataId] = 1;
17949
- }, Ma = new WeakMap(), Ia = new WeakMap(), Bh = new WeakSet(), Kc = function(t) {
17949
+ }, Ma = new WeakMap(), Ia = new WeakMap(), Bh = new WeakSet(), tf = function(t) {
17950
17950
  if (!("from" in t))
17951
17951
  throw "fromは必須です";
17952
17952
  if (!("to" in t))
@@ -17954,14 +17954,14 @@ Ie = new WeakMap(), gi = new WeakMap(), Se = new WeakMap(), ar = new WeakMap(),
17954
17954
  const e = Number(t.from), r = Number(t.to);
17955
17955
  if (e === r)
17956
17956
  return !1;
17957
- if (!(e in U(this, Te).mark))
17957
+ if (!(e in U(this, we).mark))
17958
17958
  throw `from:${e} のセーブデータは存在しません`;
17959
- return this.setMark(r, { ...U(this, Te).mark[e] }), U(this, ar).copyBMFolder(e, r), !1;
17960
- }, Uh = new WeakSet(), Jc = function(t) {
17959
+ return this.setMark(r, { ...U(this, we).mark[e] }), U(this, ar).copyBMFolder(e, r), !1;
17960
+ }, Uh = new WeakSet(), ef = function(t) {
17961
17961
  const { place: e } = t;
17962
17962
  if (!e)
17963
17963
  throw "placeは必須です";
17964
- return delete U(this, Te).mark[e], this.flush(), U(this, ar).eraseBMFolder(e), !1;
17964
+ return delete U(this, we).mark[e], this.flush(), U(this, ar).eraseBMFolder(e), !1;
17965
17965
  }, yi = new WeakSet(), Ui = function(t) {
17966
17966
  if (!t.name)
17967
17967
  throw "nameは必須です";
@@ -17987,44 +17987,44 @@ Ie = new WeakMap(), gi = new WeakMap(), Se = new WeakMap(), ar = new WeakMap(),
17987
17987
  throw "cast【" + t.cast + "】は未定義です";
17988
17988
  }
17989
17989
  return U(this, La).call(this, t.name, t.text, e), !1;
17990
- }, Gh = new WeakSet(), Qc = function(t) {
17990
+ }, Gh = new WeakSet(), rf = function(t) {
17991
17991
  const e = argChk_Num(t, "text", 0);
17992
17992
  return t.text = String(e < 0 ? -e : e), et(this, yi, Ui).call(this, t), !1;
17993
- }, $h = new WeakSet(), tf = function(t) {
17993
+ }, $h = new WeakSet(), nf = function(t) {
17994
17994
  return t.text = (t.text ?? "").charAt(argChk_Num(t, "pos", 0)), et(this, yi, Ui).call(this, t), !1;
17995
- }, jh = new WeakSet(), ef = function(t) {
17995
+ }, jh = new WeakSet(), sf = function(t) {
17996
17996
  const { val: e } = t;
17997
17997
  if (!e)
17998
17998
  throw "valは必須です";
17999
17999
  const r = argChk_Num(t, "start", 0);
18000
18000
  return t.text = String((t.text ?? "").indexOf(e, r)), et(this, yi, Ui).call(this, t), !1;
18001
- }, Hh = new WeakSet(), rf = function(t) {
18001
+ }, Hh = new WeakSet(), af = function(t) {
18002
18002
  return t.text = String((t.text ?? "").length), et(this, yi, Ui).call(this, t), !1;
18003
- }, zh = new WeakSet(), nf = function(t) {
18003
+ }, zh = new WeakSet(), of = function(t) {
18004
18004
  if (!t.reg)
18005
18005
  throw "regは必須です";
18006
18006
  const { flags: e } = t, r = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
18007
18007
  return t.text = String(t.text ?? "").replace(r, String(t.val)), et(this, yi, Ui).call(this, t), !1;
18008
- }, Vh = new WeakSet(), sf = function(t) {
18008
+ }, Vh = new WeakSet(), hf = function(t) {
18009
18009
  const e = argChk_Num(t, "text", 0);
18010
18010
  return t.text = String(Math.round(e)), et(this, yi, Ui).call(this, t), !1;
18011
- }, Xh = new WeakSet(), af = function(t) {
18011
+ }, Xh = new WeakSet(), lf = function(t) {
18012
18012
  if (!t.reg)
18013
18013
  throw "regは必須です";
18014
18014
  const { flags: e } = t, r = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
18015
18015
  return t.text = String((t.text ?? "").search(r)), et(this, yi, Ui).call(this, t), !1;
18016
- }, Yh = new WeakSet(), of = function(t) {
18016
+ }, Yh = new WeakSet(), uf = function(t) {
18017
18017
  const e = argChk_Num(t, "pos", 0);
18018
18018
  return t.text = t.len !== "all" ? (t.text ?? "").slice(e, e + int(argChk_Num(t, "len", 1))) : (t.text ?? "").slice(e), et(this, yi, Ui).call(this, t), !1;
18019
18019
  }, vs = new WeakSet(), gh = function() {
18020
- const t = Q(this, hi, U(this, Ie).sys = U(this, Te).sys = {});
18020
+ const t = Q(this, li, U(this, Ae).sys = U(this, we).sys = {});
18021
18021
  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);
18022
- for (const [r, N] of Object.entries(U(this, Te).kidoku))
18022
+ for (const [r, N] of Object.entries(U(this, we).kidoku))
18023
18023
  N.hAreas = {}, U(this, Gi)[r].clear();
18024
- return this.setVal_Nochk("sys", "TextLayer.Back.Alpha", 0.5), U(this, Ie).mark = U(this, Te).mark = {}, this.setVal_Nochk("sys", "const.sn.save.place", 1), this.flush(), !1;
18024
+ return this.setVal_Nochk("sys", "TextLayer.Back.Alpha", 0.5), U(this, Ae).mark = U(this, we).mark = {}, this.setVal_Nochk("sys", "const.sn.save.place", 1), this.flush(), !1;
18025
18025
  }, Aa = new WeakSet(), Yu = function() {
18026
18026
  const t = U(this, gi)["const.sn.mesLayer"] ?? "", e = U(this, gi)["sn.doRecLog"] ?? !1, r = U(this, gi)["const.sn.sLog"] ?? "[]";
18027
- return Q(this, gi, U(this, Ie).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;
18027
+ return Q(this, gi, U(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;
18028
18028
  }, La = new WeakMap(), an = new WeakMap(), Na = new WeakSet(), Wu = function(t) {
18029
18029
  const e = t;
18030
18030
  if (e === "true")
@@ -18036,24 +18036,24 @@ Ie = new WeakMap(), gi = new WeakMap(), Se = new WeakMap(), ar = new WeakMap(),
18036
18036
  if (e !== "undefined")
18037
18037
  return U(this, Wh).test(e) ? parseFloat(e) : t;
18038
18038
  }, Wh = new WeakMap(), qh = new WeakMap(), ms = new WeakMap(), ka = new WeakMap(), _s = new WeakSet(), yh = function(t) {
18039
- argChk_Boolean(U(this, hi), t, !0);
18040
- }, Zh = new WeakSet(), hf = function(t) {
18041
- argChk_Num(U(this, hi), t, 10), U(this, hi)["sn.tagCh.doWait"];
18042
- }, Kh = new WeakSet(), lf = function(t) {
18039
+ argChk_Boolean(U(this, li), t, !0);
18040
+ }, Zh = new WeakSet(), cf = function(t) {
18041
+ argChk_Num(U(this, li), t, 10), U(this, li)["sn.tagCh.doWait"];
18042
+ }, Kh = new WeakSet(), ff = function(t) {
18043
18043
  argChk_Num(
18044
- U(this, hi),
18044
+ U(this, li),
18045
18045
  t,
18046
18046
  this.cfg.oCfg.init.tagch_msecwait === void 0 ? 10 : this.cfg.oCfg.init.tagch_msecwait
18047
- ), U(this, hi)["sn.tagCh.doWait_Kidoku"];
18047
+ ), U(this, li)["sn.tagCh.doWait_Kidoku"];
18048
18048
  }, Da = new WeakSet(), qu = function(t) {
18049
18049
  argChk_Num(
18050
- U(this, hi),
18050
+ U(this, li),
18051
18051
  t,
18052
18052
  this.cfg.oCfg.init.auto_msecpagewait === void 0 ? 3500 : this.cfg.oCfg.init.auto_msecpagewait
18053
18053
  );
18054
18054
  }, Fa = new WeakSet(), Zu = function(t) {
18055
- argChk_Num(U(this, hi), t, 500);
18056
- }, Jh = new WeakSet(), uf = function(t) {
18055
+ argChk_Num(U(this, li), t, 500);
18056
+ }, Jh = new WeakSet(), df = function(t) {
18057
18057
  return argChk_Boolean(U(this, gi), t, !0);
18058
18058
  }, // reload 再生成 Main に受け渡すため static
18059
18059
  K(Variable, an, {});
@@ -19457,8 +19457,8 @@ var y = p.filter(function(o) {
19457
19457
  return s = o, o;
19458
19458
  }(new S());
19459
19459
  "extensions" in n ? extensions.add(m) : Loader.registerPlugin(m);
19460
- let cfg, val$1, main$3, sys, evtMng;
19461
- var Ue, be, gs, Ua, Ga, Ku;
19460
+ let cfg$1, val$1, main$3, sys, evtMng;
19461
+ var Ge, be, gs, Ua, Ga, Ku;
19462
19462
  const Ee = class {
19463
19463
  constructor() {
19464
19464
  K(this, Ga);
@@ -19472,15 +19472,15 @@ const Ee = class {
19472
19472
  pt(this, "stopfadese", (t) => U(this, be).stt.stopfadese(U(this, be), t));
19473
19473
  }
19474
19474
  static init(t, e, r, N) {
19475
- Q(Ee, Ue, {}), cfg = t, val$1 = e, main$3 = r, sys = N;
19475
+ Q(Ee, Ge, {}), cfg$1 = t, val$1 = e, main$3 = r, sys = N;
19476
19476
  }
19477
19477
  static setEvtMng(t) {
19478
19478
  evtMng = t;
19479
19479
  }
19480
19480
  static delLoopPlay(t) {
19481
- delete U(Ee, Ue)[t];
19481
+ delete U(Ee, Ge)[t];
19482
19482
  const e = "const.sn.sound." + t + ".";
19483
- val$1.setVal_Nochk("save", e + "fn", ""), val$1.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(U(Ee, Ue))), val$1.flush();
19483
+ val$1.setVal_Nochk("save", e + "fn", ""), val$1.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(U(Ee, Ge))), val$1.flush();
19484
19484
  }
19485
19485
  static getVol(t, e) {
19486
19486
  const r = argChk_Num(t, "volume", e);
@@ -19491,7 +19491,7 @@ const Ee = class {
19491
19491
  if (e === r)
19492
19492
  return;
19493
19493
  const N = "const.sn.sound." + e + ".", k = Number(val$1.getVal("save:" + N + "volume")), D = String(val$1.getVal("save:" + N + "fn")), B = "const.sn.sound." + r + ".", $ = Number(val$1.getVal("save:" + B + "volume")), H = String(val$1.getVal("save:" + B + "fn"));
19494
- val$1.setVal_Nochk("save", N + "volume", $), val$1.setVal_Nochk("save", B + "volume", k), val$1.setVal_Nochk("save", N + "fn", H), val$1.setVal_Nochk("save", B + "fn", D), e in U(Ee, Ue) != r in U(Ee, Ue) && (e in U(Ee, Ue) ? (delete U(Ee, Ue)[e], U(Ee, Ue)[r] = 0) : (delete U(Ee, Ue)[r], U(Ee, Ue)[e] = 0), val$1.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(U(Ee, Ue)))), val$1.flush();
19494
+ val$1.setVal_Nochk("save", N + "volume", $), val$1.setVal_Nochk("save", B + "volume", k), val$1.setVal_Nochk("save", N + "fn", H), val$1.setVal_Nochk("save", B + "fn", D), e in U(Ee, Ge) != r in U(Ee, Ge) && (e in U(Ee, Ge) ? (delete U(Ee, Ge)[e], U(Ee, Ge)[r] = 0) : (delete U(Ee, Ge)[r], U(Ee, Ge)[e] = 0), val$1.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(U(Ee, Ge)))), val$1.flush();
19495
19495
  }
19496
19496
  init(t) {
19497
19497
  const { buf: e = "SE", fn: r = "" } = t, N = argChk_Num(t, "start_ms", 0), k = argChk_Num(t, "end_ms", U(Ee, gs)), D = argChk_Num(t, "ret_ms", 0), B = argChk_Num(t, "pan", 0), $ = argChk_Num(t, "speed", 1);
@@ -19510,7 +19510,7 @@ const Ee = class {
19510
19510
  const z = Ee.getVol(t, 1);
19511
19511
  val$1.setVal_Nochk("save", H + "volume", z);
19512
19512
  const X = z * Number(val$1.getVal("sys:" + H + "volume", 1)), V = argChk_Boolean(t, "loop", !1);
19513
- V ? (U(Ee, Ue)[e] = 0, val$1.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(U(Ee, Ue)))) : Ee.delLoopPlay(e), val$1.setVal_Nochk("save", H + "start_ms", N), val$1.setVal_Nochk("save", H + "end_ms", k), val$1.setVal_Nochk("save", H + "ret_ms", D), val$1.setVal_Nochk("tmp", H + "playing", !0), val$1.flush();
19513
+ V ? (U(Ee, Ge)[e] = 0, val$1.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(U(Ee, Ge)))) : Ee.delLoopPlay(e), val$1.setVal_Nochk("save", H + "start_ms", N), val$1.setVal_Nochk("save", H + "end_ms", k), val$1.setVal_Nochk("save", H + "ret_ms", D), val$1.setVal_Nochk("tmp", H + "playing", !0), val$1.flush();
19514
19514
  const Y = R.find(r);
19515
19515
  Q(this, be, {
19516
19516
  fn: r,
@@ -19603,8 +19603,8 @@ const Ee = class {
19603
19603
  }
19604
19604
  };
19605
19605
  let SndBuf = Ee;
19606
- Ue = new WeakMap(), be = new WeakMap(), gs = new WeakMap(), Ua = new WeakMap(), Ga = new WeakSet(), Ku = function(t, e) {
19607
- const r = cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SOUND);
19606
+ Ge = new WeakMap(), be = new WeakMap(), gs = new WeakMap(), Ua = new WeakMap(), Ga = new WeakSet(), Ku = function(t, e) {
19607
+ const r = cfg$1.searchPath(t, SEARCH_PATH_ARG_EXT.SOUND);
19608
19608
  if (r.slice(-4) !== ".bin") {
19609
19609
  e.url = r, E.from(e);
19610
19610
  return;
@@ -19617,7 +19617,7 @@ Ue = new WeakMap(), be = new WeakMap(), gs = new WeakMap(), Ua = new WeakMap(),
19617
19617
  var D;
19618
19618
  e.source = (D = k[t]) == null ? void 0 : D.data, E.from(e);
19619
19619
  });
19620
- }, K(SndBuf, Ue, {}), K(SndBuf, gs, 999e3);
19620
+ }, K(SndBuf, Ge, {}), K(SndBuf, gs, 999e3);
19621
19621
  function stop2var(o, t) {
19622
19622
  if (o.loop)
19623
19623
  SndBuf.delLoopPlay(t);
@@ -19804,7 +19804,7 @@ class SsStop {
19804
19804
  }
19805
19805
  // ok
19806
19806
  }
19807
- var He, $a, ja, tl, cf, el, ff, il, df, rl, pf, Ha, Ju, hn, ha, za, Qu, ys, bh, Va, tc, nl, vf, ln, la, sl, mf, Xa, ec, Ya, ic, al, _f, Wa, rc, ol, gf;
19807
+ var ze, $a, ja, tl, pf, el, vf, il, mf, rl, _f, Ha, Ju, hn, ha, za, Qu, ys, bh, Va, tc, nl, gf, ln, la, sl, yf, Xa, ec, Ya, ic, al, bf, Wa, rc, ol, xf;
19808
19808
  class SoundMng {
19809
19809
  constructor(t, e, r, N, k) {
19810
19810
  // 音量設定(独自拡張)
@@ -19840,10 +19840,10 @@ class SoundMng {
19840
19840
  K(this, Wa);
19841
19841
  // 再生トラックの交換
19842
19842
  K(this, ol);
19843
- K(this, He, {});
19843
+ K(this, ze, {});
19844
19844
  K(this, $a, {});
19845
19845
  K(this, ja, void 0);
19846
- this.val = r, e.volume = (D) => et(this, tl, cf).call(this, D), e.fadebgm = (D) => et(this, Ha, Ju).call(this, D), e.fadeoutbgm = (D) => et(this, il, df).call(this, D), e.fadeoutse = (D) => et(this, rl, pf).call(this, D), e.fadese = (D) => et(this, hn, ha).call(this, D), e.playbgm = (D) => et(this, za, Qu).call(this, D), e.playse = (D) => et(this, ys, bh).call(this, D), e.stop_allse = () => et(this, Va, tc).call(this), e.stopbgm = (D) => et(this, nl, vf).call(this, D), e.stopse = (D) => et(this, ln, la).call(this, D), e.wb = (D) => et(this, sl, mf).call(this, D), e.wf = (D) => et(this, Xa, ec).call(this, D), e.stopfadese = (D) => et(this, Ya, ic).call(this, D), e.wl = (D) => et(this, al, _f).call(this, D), e.ws = (D) => et(this, Wa, rc).call(this, D), e.xchgbuf = (D) => et(this, ol, gf).call(this, D), r.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), r.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(I.supported)), SndBuf.init(t, r, N, k), R.disableAutoPause = !0;
19846
+ this.val = r, e.volume = (D) => et(this, tl, pf).call(this, D), e.fadebgm = (D) => et(this, Ha, Ju).call(this, D), e.fadeoutbgm = (D) => et(this, il, mf).call(this, D), e.fadeoutse = (D) => et(this, rl, _f).call(this, D), e.fadese = (D) => et(this, hn, ha).call(this, D), e.playbgm = (D) => et(this, za, Qu).call(this, D), e.playse = (D) => et(this, ys, bh).call(this, D), e.stop_allse = () => et(this, Va, tc).call(this), e.stopbgm = (D) => et(this, nl, gf).call(this, D), e.stopse = (D) => et(this, ln, la).call(this, D), e.wb = (D) => et(this, sl, yf).call(this, D), e.wf = (D) => et(this, Xa, ec).call(this, D), e.stopfadese = (D) => et(this, Ya, ic).call(this, D), e.wl = (D) => et(this, al, bf).call(this, D), e.ws = (D) => et(this, Wa, rc).call(this, D), e.xchgbuf = (D) => et(this, ol, xf).call(this, D), r.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), r.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(I.supported)), SndBuf.init(t, r, N, k), R.disableAutoPause = !0;
19847
19847
  }
19848
19848
  setEvtMng(t) {
19849
19849
  Q(this, ja, t), SndBuf.setEvtMng(t);
@@ -19881,58 +19881,58 @@ class SoundMng {
19881
19881
  r();
19882
19882
  }
19883
19883
  }
19884
- He = new WeakMap(), $a = new WeakMap(), ja = new WeakMap(), tl = new WeakSet(), cf = function(t) {
19885
- const { buf: e = "SE" } = t, r = "const.sn.sound." + e + ".volume", N = et(this, el, ff).call(this, t, 1);
19884
+ ze = new WeakMap(), $a = new WeakMap(), ja = new WeakMap(), tl = new WeakSet(), pf = function(t) {
19885
+ const { buf: e = "SE" } = t, r = "const.sn.sound." + e + ".volume", N = et(this, el, vf).call(this, t, 1);
19886
19886
  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)), et(this, hn, ha).call(this, t));
19887
- }, el = new WeakSet(), ff = function(t, e) {
19887
+ }, el = new WeakSet(), vf = function(t, e) {
19888
19888
  const r = argChk_Num(t, "volume", e);
19889
19889
  return r < 0 ? 0 : r > 1 ? 1 : r;
19890
- }, il = new WeakSet(), df = function(t) {
19890
+ }, il = new WeakSet(), mf = function(t) {
19891
19891
  return t.volume = 0, et(this, Ha, Ju).call(this, t);
19892
- }, rl = new WeakSet(), pf = function(t) {
19892
+ }, rl = new WeakSet(), _f = function(t) {
19893
19893
  return t.volume = 0, et(this, hn, ha).call(this, t);
19894
19894
  }, Ha = new WeakSet(), Ju = function(t) {
19895
19895
  return t.buf = "BGM", et(this, hn, ha).call(this, t);
19896
19896
  }, hn = new WeakSet(), ha = function(t) {
19897
19897
  var r;
19898
19898
  const { buf: e = "SE" } = t;
19899
- return et(this, Ya, ic).call(this, t), (r = U(this, He)[e]) == null || r.fade(t), !1;
19899
+ return et(this, Ya, ic).call(this, t), (r = U(this, ze)[e]) == null || r.fade(t), !1;
19900
19900
  }, za = new WeakSet(), Qu = function(t) {
19901
19901
  return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), et(this, ys, bh).call(this, t);
19902
19902
  }, ys = new WeakSet(), bh = function(t) {
19903
19903
  const { buf: e = "SE", fn: r } = t;
19904
19904
  if (et(this, ln, la).call(this, { buf: e }), !r)
19905
19905
  throw `[playse] fnは必須です buf:${e}`;
19906
- return argChk_Boolean(t, "canskip", !0) && U(this, ja).isSkipping() ? !1 : (U(this, He)[e] = new SndBuf()).init(t);
19906
+ return argChk_Boolean(t, "canskip", !0) && U(this, ja).isSkipping() ? !1 : (U(this, ze)[e] = new SndBuf()).init(t);
19907
19907
  }, Va = new WeakSet(), tc = function() {
19908
- for (const t of Object.keys(U(this, He)))
19908
+ for (const t of Object.keys(U(this, ze)))
19909
19909
  et(this, ln, la).call(this, { buf: t });
19910
- return Q(this, He, {}), R.stopAll(), !1;
19911
- }, nl = new WeakSet(), vf = function(t) {
19910
+ return Q(this, ze, {}), R.stopAll(), !1;
19911
+ }, nl = new WeakSet(), gf = function(t) {
19912
19912
  return t.buf = "BGM", et(this, ln, la).call(this, t);
19913
19913
  }, ln = new WeakSet(), la = function(t) {
19914
19914
  var r;
19915
19915
  const { buf: e = "SE" } = t;
19916
- return (r = U(this, He)[e]) == null || r.stopse(t), !1;
19917
- }, sl = new WeakSet(), mf = function(t) {
19916
+ return (r = U(this, ze)[e]) == null || r.stopse(t), !1;
19917
+ }, sl = new WeakSet(), yf = function(t) {
19918
19918
  return t.buf = "BGM", et(this, Xa, ec).call(this, t);
19919
19919
  }, Xa = new WeakSet(), ec = function(t) {
19920
19920
  var r;
19921
19921
  const { buf: e = "SE" } = t;
19922
- return (r = U(this, He)[e]) == null ? void 0 : r.wf(t);
19922
+ return (r = U(this, ze)[e]) == null ? void 0 : r.wf(t);
19923
19923
  }, Ya = new WeakSet(), ic = function(t) {
19924
19924
  var r;
19925
19925
  const { buf: e = "SE" } = t;
19926
- return (r = U(this, He)[e]) == null || r.stopfadese(t), !1;
19927
- }, al = new WeakSet(), _f = function(t) {
19926
+ return (r = U(this, ze)[e]) == null || r.stopfadese(t), !1;
19927
+ }, al = new WeakSet(), bf = function(t) {
19928
19928
  return t.buf = "BGM", et(this, Wa, rc).call(this, t);
19929
19929
  }, Wa = new WeakSet(), rc = function(t) {
19930
19930
  var r;
19931
19931
  const { buf: e = "SE" } = t;
19932
- return (r = U(this, He)[e]) == null ? void 0 : r.ws(t);
19933
- }, ol = new WeakSet(), gf = function(t) {
19932
+ return (r = U(this, ze)[e]) == null ? void 0 : r.ws(t);
19933
+ }, ol = new WeakSet(), xf = function(t) {
19934
19934
  const { buf: e = "SE", buf2: r = "SE" } = t;
19935
- return e === r || ([U(this, He)[e], U(this, He)[r]] = [U(this, He)[r], U(this, He)[e]], SndBuf.xchgbuf(t)), !1;
19935
+ return e === r || ([U(this, ze)[e], U(this, ze)[r]] = [U(this, ze)[r], U(this, ze)[e]], SndBuf.xchgbuf(t)), !1;
19936
19936
  };
19937
19937
  var fe;
19938
19938
  const Ac = class {
@@ -20266,7 +20266,7 @@ class PicBtnDesignCast extends BtnDesignCast {
20266
20266
  setSp(t) {
20267
20267
  }
20268
20268
  }
20269
- var ul, Mr, or, un, cn, $i, qa, fn, Za, bs, ji, hr, lr, Ir, Ka, Ja, Qa, cl, yf, fl, bf, to, nc, dl, xf, xs, xh, Es, Mi, Ss, pl, dn, eo;
20269
+ var ul, Mr, or, un, cn, $i, qa, fn, Za, bs, ji, hr, lr, Ir, Ka, Ja, Qa, cl, Ef, fl, Sf, to, nc, dl, Tf, xs, xh, Es, Mi, Ss, pl, dn, eo;
20270
20270
  const Bt = class extends Layer {
20271
20271
  constructor() {
20272
20272
  super();
@@ -20309,7 +20309,7 @@ const Bt = class extends Layer {
20309
20309
  (H) => {
20310
20310
  Q(Bt, Za, H), $();
20311
20311
  }
20312
- ), U(Bt, $i).crypto && Q(Bt, Qa, et(Bt, fl, bf));
20312
+ ), U(Bt, $i).crypto && Q(Bt, Qa, et(Bt, fl, Sf));
20313
20313
  }
20314
20314
  static setEvtMng(e) {
20315
20315
  Q(Bt, bs, e);
@@ -20375,7 +20375,7 @@ const Bt = class extends Layer {
20375
20375
  const H = (z) => {
20376
20376
  var X;
20377
20377
  for (const { fn: V, fnc: Y } of B) {
20378
- const q = et(X = Bt, dl, xf).call(X, V, z);
20378
+ const q = et(X = Bt, dl, Tf).call(X, V, z);
20379
20379
  q.name = V, r == null || r.addChild(q), Y(q);
20380
20380
  }
20381
20381
  k(D);
@@ -20535,7 +20535,7 @@ const Bt = class extends Layer {
20535
20535
  }
20536
20536
  };
20537
20537
  let GrpLayer = Bt;
20538
- ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(), cn = new WeakMap(), $i = new WeakMap(), qa = new WeakMap(), fn = new WeakMap(), Za = new WeakMap(), bs = new WeakMap(), ji = new WeakMap(), hr = new WeakMap(), lr = new WeakMap(), Ir = new WeakMap(), Ka = new WeakMap(), Ja = new WeakMap(), Qa = new WeakMap(), cl = new WeakSet(), yf = function(e) {
20538
+ ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(), cn = new WeakMap(), $i = new WeakMap(), qa = new WeakMap(), fn = new WeakMap(), Za = new WeakMap(), bs = new WeakMap(), ji = new WeakMap(), hr = new WeakMap(), lr = new WeakMap(), Ir = new WeakMap(), Ka = new WeakMap(), Ja = new WeakMap(), Qa = new WeakMap(), cl = new WeakSet(), Ef = function(e) {
20539
20539
  const r = /([^\d]+)\d+\.(\w+)/.exec(e[0]);
20540
20540
  if (!r)
20541
20541
  return [];
@@ -20543,7 +20543,7 @@ ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(),
20543
20543
  return e.sort(
20544
20544
  (D, B) => int(D.slice(N, k)) > int(B.slice(N, k)) ? 1 : -1
20545
20545
  );
20546
- }, fl = new WeakSet(), bf = function(e, r, N) {
20546
+ }, fl = new WeakSet(), Sf = function(e, r, N) {
20547
20547
  var H;
20548
20548
  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 = U(Bt, fn), Bt.hFn2VElm[r.name] = et(H = Bt, to, nc).call(H, e), r.type = LoaderResource.TYPE.VIDEO)), r.extension !== "json") {
20549
20549
  N();
@@ -20578,7 +20578,7 @@ ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(),
20578
20578
  });
20579
20579
  }, to = new WeakSet(), nc = function(e) {
20580
20580
  return U(Bt, qa).getVal("const.sn.needClick2Play") && (DebugMng.trace_beforeNew(`[lay系] ${DebugMng.strPos()}未クリック状態で動画を自動再生します。音声はミュートされます`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
20581
- }, dl = new WeakSet(), xf = function(e, r) {
20581
+ }, dl = new WeakSet(), Tf = function(e, r) {
20582
20582
  const N = Bt.hFn2ResAniSpr[e];
20583
20583
  if (N) {
20584
20584
  const k = new AnimatedSprite(N.aTex);
@@ -20593,7 +20593,7 @@ ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(),
20593
20593
  switch (r.type) {
20594
20594
  case LoaderResource.TYPE.JSON:
20595
20595
  const B = r.spritesheet._frameKeys;
20596
- et(k = Bt, cl, yf).call(k, B), Bt.hFn2ResAniSpr[r.name] = {
20596
+ et(k = Bt, cl, Ef).call(k, B), Bt.hFn2ResAniSpr[r.name] = {
20597
20597
  aTex: B.map((H) => Texture.from(H)),
20598
20598
  meta: r.data.meta
20599
20599
  };
@@ -20604,7 +20604,7 @@ ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(),
20604
20604
  }
20605
20605
  N();
20606
20606
  }), pt(GrpLayer, "hFn2VElm", {}), K(GrpLayer, pl, /\?([^?]+)$/), K(GrpLayer, dn, {}), K(GrpLayer, eo, {});
20607
- var Ts, io, pn, Kt, Hi, ur, vl, li, Ar, Dt, bi, ze, Ve, ws, Eh, Ii, cr, ro, Ps, ml, Ef, vn, Cs, Lr, mn, _n, gn, Rs, no, Nr, so, sc, fr, ao, dr, zi, Os, oo, ac, kr, yn, ho, oc, Ke;
20607
+ var Ts, io, pn, Kt, Hi, ur, vl, ui, Ar, Dt, bi, Ve, Xe, ws, Eh, Ii, cr, ro, Ps, ml, wf, vn, Cs, Lr, mn, _n, gn, Rs, no, Nr, so, sc, fr, ao, dr, zi, Os, oo, ac, kr, yn, ho, oc, Je;
20608
20608
  const Ht = class extends Container {
20609
20609
  constructor(e, r, N) {
20610
20610
  super();
@@ -20619,7 +20619,7 @@ const Ht = class extends Container {
20619
20619
  K(this, Hi, new Container());
20620
20620
  // サンプリング先
20621
20621
  K(this, ur, new Graphics());
20622
- K(this, li, new TxtLayDesignCast(this.spLay, this));
20622
+ K(this, ui, new TxtLayDesignCast(this.spLay, this));
20623
20623
  K(this, Ar, new TxtLayPadDesignCast(this));
20624
20624
  K(this, Dt, {
20625
20625
  fontsize: 24,
@@ -20636,8 +20636,8 @@ const Ht = class extends Container {
20636
20636
  // paddingBottom
20637
20637
  });
20638
20638
  K(this, bi, !1);
20639
- K(this, ze, 0);
20640
20639
  K(this, Ve, 0);
20640
+ K(this, Xe, 0);
20641
20641
  K(this, Ii, 0);
20642
20642
  K(this, cr, !1);
20643
20643
  K(this, ro, 0);
@@ -20651,8 +20651,8 @@ const Ht = class extends Container {
20651
20651
  K(this, Os, 0);
20652
20652
  K(this, kr, "Quadratic.Out");
20653
20653
  K(this, yn, "Quadratic.Out");
20654
- K(this, Ke, void 0);
20655
- this.spLay = e, this.canFocus = r, this.sys = N, U(this, Kt).classList.add("sn_tx"), U(this, Kt).style.position = "absolute", U(Ht, io).view.parentElement.appendChild(U(this, Kt)), this.addChild(U(this, Hi)), this.addChild(U(this, ur)), U(this, ur).name = "grpDbgMasume", U(this, li).adopt(U(this, Ar));
20654
+ K(this, Je, void 0);
20655
+ this.spLay = e, this.canFocus = r, this.sys = N, U(this, Kt).classList.add("sn_tx"), U(this, Kt).style.position = "absolute", U(Ht, io).view.parentElement.appendChild(U(this, Kt)), this.addChild(U(this, Hi)), this.addChild(U(this, ur)), U(this, ur).name = "grpDbgMasume", U(this, ui).adopt(U(this, Ar));
20656
20656
  }
20657
20657
  static init(e, r) {
20658
20658
  Q(Ht, Ts, e), Q(Ht, io, r), Q(Ht, _n, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), Q(Ht, gn, /[[({〈「『【〔“〝]/), Q(Ht, Rs, /[─‥…]/);
@@ -20683,7 +20683,7 @@ const Ht = class extends Container {
20683
20683
  U(this, Kt).style.cssText = "";
20684
20684
  else
20685
20685
  "alpha" in e && (r.opacity = String(this.spLay.alpha));
20686
- 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(Ht, _n, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && Q(Ht, gn, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && Q(Ht, Rs, new RegExp(`[${e.kinsoku_dns}]`)), et(this, ws, Eh).call(this), U(this, li).sethArg(e), Q(this, Ii, 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, bi, argChk_Boolean(e, "break_fixed", U(this, bi))), Q(this, ze, argChk_Num(e, "break_fixed_left", U(this, ze))), Q(this, Ve, argChk_Num(e, "break_fixed_top", U(this, Ve))), ":redraw" in e && U(this, mn) > 0) {
20686
+ 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(Ht, _n, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && Q(Ht, gn, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && Q(Ht, Rs, new RegExp(`[${e.kinsoku_dns}]`)), et(this, ws, Eh).call(this), U(this, ui).sethArg(e), Q(this, Ii, 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, bi, argChk_Boolean(e, "break_fixed", U(this, bi))), Q(this, Ve, argChk_Num(e, "break_fixed_left", U(this, Ve))), Q(this, Xe, argChk_Num(e, "break_fixed_top", U(this, Xe))), ":redraw" in e && U(this, mn) > 0) {
20687
20687
  const N = [
20688
20688
  U(this, Kt).innerHTML.replaceAll(/(animation-delay: )\d+ms/g, "$10ms"),
20689
20689
  `<span class='sn_ch' data-add='{"ch_in_style":"default"}'> </span>`
@@ -20693,7 +20693,7 @@ const Ht = class extends Container {
20693
20693
  }
20694
20694
  cvsResize() {
20695
20695
  const e = U(this, Kt).style, r = this.sys.cvsScale;
20696
- e.left = `${this.sys.ofsLeft4elm + U(this, Ii) * r}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * r}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * r}, ${this.spLay.scale.y * r})`, U(this, li).cvsResize(), U(this, Ar).cvsResize();
20696
+ e.left = `${this.sys.ofsLeft4elm + U(this, Ii) * r}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * r}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * r}, ${this.spLay.scale.y * r})`, U(this, ui).cvsResize(), U(this, Ar).cvsResize();
20697
20697
  }
20698
20698
  get tategaki() {
20699
20699
  return U(this, cr);
@@ -20722,7 +20722,7 @@ const Ht = class extends Container {
20722
20722
  U(this, Dt).$height - U(this, Dt).pad_top - U(this, Dt).pad_bottom
20723
20723
  ).endFill()), U(this, Kt).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "") + U(Ht, no), !U(this, bi)) {
20724
20724
  const ot = globalThis.getComputedStyle(U(this, Kt)), nt = parseFloat(ot.fontSize);
20725
- U(this, cr) ? (Q(this, ze, (U(this, Dt).$width - U(this, Dt).pad_left - U(this, Dt).pad_right - nt * 1.5) * this.sys.cvsScale), Q(this, Ve, 0)) : (Q(this, ze, 0), Q(this, Ve, nt / 2 * this.sys.cvsScale));
20725
+ U(this, cr) ? (Q(this, Ve, (U(this, Dt).$width - U(this, Dt).pad_left - U(this, Dt).pad_right - nt * 1.5) * this.sys.cvsScale), Q(this, Xe, 0)) : (Q(this, Ve, 0), Q(this, Xe, nt / 2 * this.sys.cvsScale));
20726
20726
  }
20727
20727
  } else
20728
20728
  k = U(this, Kt).innerHTML, U(this, Kt).querySelectorAll(":scope > br").forEach((ot) => U(this, Kt).removeChild(ot)), U(this, Kt).insertAdjacentHTML(
@@ -20764,7 +20764,7 @@ const Ht = class extends Container {
20764
20764
  continue;
20765
20765
  const ft = this.tategaki ? lt.rect.y : lt.rect.x;
20766
20766
  if (nt <= ft || ((st = (at = lt.elm.previousElementSibling) == null ? void 0 : at.children[0]) == null ? void 0 : st.tagName) === "BR") {
20767
- nt = ft, U(this, bi) || (Q(this, ze, lt.rect.x), Q(this, Ve, lt.rect.y));
20767
+ nt = ft, U(this, bi) || (Q(this, Ve, lt.rect.x), Q(this, Xe, lt.rect.y));
20768
20768
  continue;
20769
20769
  }
20770
20770
  let mt = V - 1;
@@ -20772,9 +20772,9 @@ const Ht = class extends Container {
20772
20772
  --mt;
20773
20773
  const wt = ot[mt], Pt = wt.ch;
20774
20774
  if (!U(this, bi)) {
20775
- Q(this, ze, wt.rect.x), Q(this, Ve, wt.rect.y);
20775
+ Q(this, Ve, wt.rect.x), Q(this, Xe, wt.rect.y);
20776
20776
  const Ot = globalThis.getComputedStyle(wt.elm), jt = parseFloat(Ot.fontSize);
20777
- U(this, cr) ? Q(this, Ve, U(this, Ve) + jt) : Q(this, ze, U(this, ze) + jt);
20777
+ U(this, cr) ? Q(this, Xe, U(this, Xe) + jt) : Q(this, Ve, U(this, Ve) + jt);
20778
20778
  }
20779
20779
  nt = -1 / 0;
20780
20780
  const Mt = V;
@@ -20841,8 +20841,8 @@ const Ht = class extends Container {
20841
20841
  }
20842
20842
  const tt = U(this, Kt).querySelectorAll("span.sn_ch");
20843
20843
  Q(this, Nr, () => (Q(this, Nr, () => !1), tt.forEach((ot) => ot.className = ot.className.replaceAll(/ go_ch_in_[^\s"]+/g, "")), U(Ht, zi).position.set(
20844
- U(this, ze),
20845
- U(this, Ve)
20844
+ U(this, Ve),
20845
+ U(this, Xe)
20846
20846
  ), U(Ht, zi).visible = !0, U(Ht, pn).noticeCompTxt(), !0)), tt.forEach((ot) => ot.className = ot.className.replaceAll(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1")), N > 0 && ++N;
20847
20847
  let J;
20848
20848
  for (let ot = X - 2; ot >= 0; --ot) {
@@ -20952,45 +20952,45 @@ const Ht = class extends Container {
20952
20952
  var r;
20953
20953
  et(this, ho, oc).call(this);
20954
20954
  const e = new Ht(this.spLay, () => this.canFocus(), this.sys);
20955
- return Q(e, Dt, U(this, Dt)), U(e, Kt).style.cssText = U(this, Kt).style.cssText, Q(e, Ii, U(this, Ii)), e.name = this.name, et(r = e, ws, Eh).call(r), U(e, li).sethArg(U(this, li).gethArg()), Q(e, vn, U(this, vn)), Q(e, kr, U(this, kr)), Q(e, yn, U(this, yn)), Q(e, bi, U(this, bi)), Q(e, ze, U(this, ze)), Q(e, Ve, U(this, Ve)), this.destroy(), e;
20955
+ return Q(e, Dt, U(this, Dt)), U(e, Kt).style.cssText = U(this, Kt).style.cssText, Q(e, Ii, U(this, Ii)), e.name = this.name, et(r = e, ws, Eh).call(r), U(e, ui).sethArg(U(this, ui).gethArg()), Q(e, vn, U(this, vn)), Q(e, kr, U(this, kr)), Q(e, yn, U(this, yn)), Q(e, bi, U(this, bi)), Q(e, Ve, U(this, Ve)), Q(e, Xe, U(this, Xe)), this.destroy(), e;
20956
20956
  }
20957
20957
  record() {
20958
20958
  return {
20959
20959
  infTL: U(this, Dt),
20960
20960
  cssText: U(this, Kt).style.cssText,
20961
20961
  left: U(this, Ii),
20962
- idc_hArg: U(this, li).gethArg(),
20962
+ idc_hArg: U(this, ui).gethArg(),
20963
20963
  ch_filter: U(this, vn),
20964
20964
  fi_easing: U(this, kr),
20965
20965
  fo_easing: U(this, yn),
20966
20966
  break_fixed: U(this, bi),
20967
- break_fixed_left: U(this, ze),
20968
- break_fixed_top: U(this, Ve)
20967
+ break_fixed_left: U(this, Ve),
20968
+ break_fixed_top: U(this, Xe)
20969
20969
  };
20970
20970
  }
20971
20971
  playback(e) {
20972
- Q(this, Dt, e.infTL), this.position.set(U(this, Dt).pad_left, U(this, Dt).pad_top), U(this, Kt).style.cssText = e.cssText, Q(this, Ii, e.left), et(this, ws, Eh).call(this), U(this, li).sethArg(e.idc_hArg), Q(this, vn, e.ch_filter), Q(this, kr, e.fi_easing), Q(this, yn, e.fo_easing), Q(this, bi, e.break_fixed ?? !1), Q(this, ze, e.break_fixed_left ?? 0), Q(this, Ve, e.break_fixed_top ?? 0);
20972
+ Q(this, Dt, e.infTL), this.position.set(U(this, Dt).pad_left, U(this, Dt).pad_top), U(this, Kt).style.cssText = e.cssText, Q(this, Ii, e.left), et(this, ws, Eh).call(this), U(this, ui).sethArg(e.idc_hArg), Q(this, vn, e.ch_filter), Q(this, kr, e.fi_easing), Q(this, yn, e.fo_easing), Q(this, bi, e.break_fixed ?? !1), Q(this, Ve, e.break_fixed_left ?? 0), Q(this, Xe, e.break_fixed_top ?? 0);
20973
20973
  }
20974
20974
  snapshot(e, r) {
20975
- et(this, ml, Ef).call(this, (N) => {
20976
- Q(this, Ke, new Sprite(N)), U(this, cr) && (U(this, Ke).x += CmnLib.stageW - (U(this, Ii) + U(this, Dt).$width)), U(this, Ke).y -= U(this, Ps), U(this, Ke).texture.frame = new Rectangle(
20975
+ et(this, ml, wf).call(this, (N) => {
20976
+ Q(this, Je, new Sprite(N)), U(this, cr) && (U(this, Je).x += CmnLib.stageW - (U(this, Ii) + U(this, Dt).$width)), U(this, Je).y -= U(this, Ps), U(this, Je).texture.frame = new Rectangle(
20977
20977
  0,
20978
20978
  0,
20979
- Math.min(U(this, Ke).width, U(this, Dt).$width - U(this, Ii)),
20980
- Math.min(U(this, Ke).height, U(this, Dt).$height)
20981
- ), U(this, Hi).addChild(U(this, Ke)), e.render(U(this, Ke), { clear: !1 }), r();
20979
+ Math.min(U(this, Je).width, U(this, Dt).$width - U(this, Ii)),
20980
+ Math.min(U(this, Je).height, U(this, Dt).$height)
20981
+ ), U(this, Hi).addChild(U(this, Je)), e.render(U(this, Je), { clear: !1 }), r();
20982
20982
  }, !1);
20983
20983
  }
20984
20984
  snapshot_end() {
20985
- U(this, Ke) && (U(this, Hi).removeChild(U(this, Ke)), Q(this, Ke, void 0));
20985
+ U(this, Je) && (U(this, Hi).removeChild(U(this, Je)), Q(this, Je, void 0));
20986
20986
  }
20987
20987
  makeDesignCast(e) {
20988
- e(U(this, li));
20989
- const r = U(this, li).gethArg();
20988
+ e(U(this, ui));
20989
+ const r = U(this, ui).gethArg();
20990
20990
  U(this, Ar).sethArg({ ...r, ":id_dc": r[":id_tag"] + "_pad" }), e(U(this, Ar));
20991
20991
  }
20992
20992
  showDesignCast() {
20993
- U(this, li).visible = !0, U(this, Ar).visible = !0;
20993
+ U(this, ui).visible = !0, U(this, Ar).visible = !0;
20994
20994
  }
20995
20995
  dump() {
20996
20996
  const e = [], r = U(this, Kt).style, N = r.length;
@@ -21005,12 +21005,12 @@ const Ht = class extends Container {
21005
21005
  }
21006
21006
  };
21007
21007
  let TxtStage = Ht;
21008
- Ts = new WeakMap(), io = new WeakMap(), pn = new WeakMap(), Kt = new WeakMap(), Hi = new WeakMap(), ur = new WeakMap(), vl = new WeakMap(), li = new WeakMap(), Ar = new WeakMap(), Dt = new WeakMap(), bi = new WeakMap(), ze = new WeakMap(), Ve = new WeakMap(), ws = new WeakSet(), Eh = function() {
21008
+ Ts = new WeakMap(), io = new WeakMap(), pn = new WeakMap(), Kt = new WeakMap(), Hi = new WeakMap(), ur = new WeakMap(), vl = new WeakMap(), ui = new WeakMap(), Ar = new WeakMap(), Dt = new WeakMap(), bi = new WeakMap(), Ve = new WeakMap(), Xe = new WeakMap(), ws = new WeakSet(), Eh = function() {
21009
21009
  const e = U(this, Kt).style, r = parseFloat(e.fontSize || "0");
21010
21010
  U(this, Dt).fontsize = r, U(this, Dt).pad_left = parseFloat(e.paddingLeft || "0"), U(this, Dt).pad_right = parseFloat(e.paddingRight || "0"), U(this, Dt).pad_top = parseFloat(e.paddingTop || "0"), U(this, Dt).pad_bottom = parseFloat(e.paddingBottom || "0"), U(this, Dt).$width = parseFloat(e.width || "0"), U(this, Dt).$height = parseFloat(e.height || "0"), this.position.set(U(this, Dt).pad_left, U(this, Dt).pad_top), Q(this, cr, e.writingMode === "vertical-rl"), Q(this, ro, 0), Q(this, Ps, 0);
21011
21011
  const N = e.lineHeight ?? "0";
21012
21012
  Q(this, Os, U(this, cr) ? 0 : (N.slice(-2) === "px" ? parseFloat(N) : r * parseFloat(N) - r) / 2);
21013
- }, Ii = new WeakMap(), cr = new WeakMap(), ro = new WeakMap(), Ps = new WeakMap(), ml = new WeakSet(), Ef = function(e, r = !0) {
21013
+ }, Ii = new WeakMap(), cr = new WeakMap(), ro = new WeakMap(), Ps = new WeakMap(), ml = new WeakSet(), wf = function(e, r = !0) {
21014
21014
  const N = {
21015
21015
  escape: (Z) => Z.replaceAll(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
21016
21016
  mimeType: (Z) => {
@@ -21253,7 +21253,7 @@ Ts = new WeakMap(), io = new WeakMap(), pn = new WeakMap(), Kt = new WeakMap(),
21253
21253
  B instanceof Container && U(Ht, pn).unButton(B), B.destroy();
21254
21254
  };
21255
21255
  N === 0 ? (U(this, Kt).textContent = "", k()) : (D = r.lastElementChild) == null || D.addEventListener("animationend", k, { once: !0, passive: !0 }), Q(this, Kt, e);
21256
- }, Ke = new WeakMap(), K(TxtStage, Ts, void 0), K(TxtStage, io, void 0), K(TxtStage, pn, void 0), K(TxtStage, vl, {
21256
+ }, Je = new WeakMap(), K(TxtStage, Ts, void 0), K(TxtStage, io, void 0), K(TxtStage, pn, void 0), K(TxtStage, vl, {
21257
21257
  "background-color": 0,
21258
21258
  "border-bottom-width": 0,
21259
21259
  "border-left-width": 0,
@@ -21353,7 +21353,7 @@ bn = new WeakMap(), Vi = new WeakMap(), lo = new WeakMap(), K(RubySpliter, bn, "
21353
21353
  ・Unicode文字一覧表 - instant tools https://tools.m-bsys.com/ex/unicode_table.php
21354
21354
  */
21355
21355
  K(RubySpliter, lo, void 0);
21356
- var uo, co, Ai, pr, ie, _l, Sf, Ms, Is, gl, Tf;
21356
+ var uo, co, Ai, pr, ie, _l, Pf, Ms, Is, gl, Cf;
21357
21357
  const Qr = class extends Container {
21358
21358
  constructor(e, r, N, k) {
21359
21359
  var V;
@@ -21392,7 +21392,7 @@ const Qr = class extends Container {
21392
21392
  e.pic,
21393
21393
  this,
21394
21394
  (Y) => {
21395
- et(this, gl, Tf).call(this, Y), U(this, Ai).width = Y.width * U(this, ie).scale_x, U(this, Ai).height = Y.height * U(this, ie).scale_y;
21395
+ et(this, gl, Cf).call(this, Y), U(this, Ai).width = Y.width * U(this, ie).scale_x, U(this, Ai).height = Y.height * U(this, ie).scale_y;
21396
21396
  },
21397
21397
  (Y) => N
21398
21398
  );
@@ -21427,7 +21427,7 @@ const Qr = class extends Container {
21427
21427
  e.b_pic,
21428
21428
  this,
21429
21429
  (Y) => {
21430
- et(this, _l, Sf).call(this, Y, $), U(this, ie).width = this.width, U(this, ie).height = this.height;
21430
+ et(this, _l, Pf).call(this, Y, $), U(this, ie).width = this.width, U(this, ie).height = this.height;
21431
21431
  },
21432
21432
  (Y) => {
21433
21433
  Layer.setBlendmode(this, e), Y && N();
@@ -21481,7 +21481,7 @@ const Qr = class extends Container {
21481
21481
  }
21482
21482
  };
21483
21483
  let Button = Qr;
21484
- uo = new WeakMap(), co = new WeakMap(), Ai = new WeakMap(), pr = new WeakMap(), ie = new WeakMap(), _l = new WeakSet(), Sf = function(e, r) {
21484
+ uo = new WeakMap(), co = new WeakMap(), Ai = new WeakMap(), pr = new WeakMap(), ie = new WeakMap(), _l = new WeakSet(), Pf = function(e, r) {
21485
21485
  this.setChildIndex(e, 0), e.alpha = r.alpha, e.setTransform(
21486
21486
  r.x,
21487
21487
  r.y,
@@ -21493,7 +21493,7 @@ uo = new WeakMap(), co = new WeakMap(), Ai = new WeakMap(), pr = new WeakMap(),
21493
21493
  (e.width - r.width) / 2,
21494
21494
  (e.height - r.height) / 2
21495
21495
  ), e.name = r.name;
21496
- }, Ms = new WeakMap(), Is = new WeakMap(), gl = new WeakSet(), Tf = function(e) {
21496
+ }, Ms = new WeakMap(), Is = new WeakMap(), gl = new WeakSet(), Cf = function(e) {
21497
21497
  var X;
21498
21498
  U(this, ie).alpha = e.alpha = argChk_Num(this.hArg, "alpha", e.alpha), U(this, pr).setSp(e);
21499
21499
  const r = e.width / 3, N = U(this, ie).enabled ? r : e.width, k = e.height, D = e.texture.baseTexture, B = 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)), z = () => e.texture = B;
@@ -21501,7 +21501,7 @@ uo = new WeakMap(), co = new WeakMap(), Ai = new WeakMap(), pr = new WeakMap(),
21501
21501
  }, pt(Button, "fontFamily", "'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif"), K(Button, uo, (e, r) => {
21502
21502
  }), K(Button, co, (e, r, N, k) => {
21503
21503
  });
21504
- var As, Li, fo, Ls, po, hc, vo, lc, mo, xn, _o, vr, En, yl, wf, mr, xi, Ni, ue, Xi, ee, go, Yi, bl, Je, Sn, ua, Tn, Ns, wn, ca, ks, yo, uc, bo, cc, Pn, Cn, Ds, xo, Fs, Dr, Qe, xl, Pf, ui, Eo, Bs, Sh, _r, Kr, Wi, ki, Ei, Si, So, fc, Us, Th, To, dc, Rn, On;
21504
+ var As, Li, fo, Ls, po, hc, vo, lc, mo, xn, _o, vr, En, yl, Rf, mr, xi, Ni, ue, Xi, ee, go, Yi, bl, Qe, Sn, ua, Tn, Ns, wn, ca, ks, yo, uc, bo, cc, Pn, Cn, Ds, xo, Fs, Dr, ti, xl, Of, ci, Eo, Bs, Sh, _r, Kr, Wi, ki, Ei, Si, So, fc, Us, Th, To, dc, Rn, On;
21505
21505
  const Xt = class extends Layer {
21506
21506
  constructor() {
21507
21507
  super();
@@ -21526,7 +21526,7 @@ const Xt = class extends Layer {
21526
21526
  K(this, ee, new TxtStage(this.spLay, () => this.canFocus(), U(Xt, _o)));
21527
21527
  K(this, go, new RubySpliter());
21528
21528
  K(this, Yi, document.createElement("span"));
21529
- K(this, Je, new Container());
21529
+ K(this, Qe, new Container());
21530
21530
  K(this, Tn, "");
21531
21531
  K(this, Ns, !0);
21532
21532
  K(this, ks, "");
@@ -21536,8 +21536,8 @@ const Xt = class extends Layer {
21536
21536
  K(this, xo, new RegExp("[ ]"));
21537
21537
  pt(this, "isCur", !1);
21538
21538
  K(this, Dr, () => "");
21539
- K(this, Qe, "");
21540
- K(this, ui, !1);
21539
+ K(this, ti, "");
21540
+ K(this, ci, !1);
21541
21541
  K(this, Eo, (e, r) => {
21542
21542
  var H, z, X;
21543
21543
  U(Xt, As).oCfg.debug.putCh && console.log(`🖊 文字表示 text:\`${e}\` ruby:\`${r}\` name:\`${this.name_}\``);
@@ -21546,12 +21546,12 @@ const Xt = class extends Layer {
21546
21546
  const [D, ...B] = N, $ = B.join("|");
21547
21547
  switch (N.length) {
21548
21548
  case 1:
21549
- if (Q(this, ui, !0), e === `
21549
+ if (Q(this, ci, !0), e === `
21550
21550
  `) {
21551
21551
  U(this, ki) ? (Q(this, ki, !1), k = "<ruby> <rt> </rt></ruby><br/>") : k = "<br/>";
21552
21552
  break;
21553
21553
  }
21554
- U(this, ki) && (Q(this, ki, !1), r === "" && (r = " ")), k = et(this, Bs, Sh).call(this, e, r, U(this, Qe));
21554
+ U(this, ki) && (Q(this, ki, !1), r === "" && (r = " ")), k = et(this, Bs, Sh).call(this, e, r, U(this, ti));
21555
21555
  break;
21556
21556
  default:
21557
21557
  switch (D) {
@@ -21563,13 +21563,13 @@ const Xt = class extends Layer {
21563
21563
  case "121":
21564
21564
  case "even":
21565
21565
  case "1ruby":
21566
- Q(this, ki, !1), Q(this, ui, !0), k = et(this, Bs, Sh).call(this, e, $, D);
21566
+ Q(this, ki, !1), Q(this, ci, !0), k = et(this, Bs, Sh).call(this, e, $, D);
21567
21567
  break;
21568
21568
  case "gotxt":
21569
- et(this, Us, Th).call(this), U(this, ui) ? (this.isCur && U(Xt, Ls).recText(
21569
+ et(this, Us, Th).call(this), U(this, ci) ? (this.isCur && U(Xt, Ls).recText(
21570
21570
  U(this, Ei).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;'")
21571
21571
  // 囲んだ領域は履歴で非表示
21572
- ), U(this, ee).goTxt(U(this, Ei), U(this, Wi) === 0), Q(this, ui, !1), Q(this, Wi, 0)) : this.isCur && U(Xt, xn).noticeCompTxt();
21572
+ ), U(this, ee).goTxt(U(this, Ei), U(this, Wi) === 0), Q(this, ci, !1), Q(this, Wi, 0)) : this.isCur && U(Xt, xn).noticeCompTxt();
21573
21573
  return;
21574
21574
  case "add":
21575
21575
  {
@@ -21581,7 +21581,7 @@ const Xt = class extends Layer {
21581
21581
  U(this, Ei).push("</span>"), et(this, Us, Th).call(this);
21582
21582
  return;
21583
21583
  case "grp":
21584
- Q(this, ui, !0);
21584
+ Q(this, ci, !0);
21585
21585
  {
21586
21586
  const V = JSON.parse($);
21587
21587
  if (V.id ?? (V.id = U(this, Ei).length), V.id === "break") {
@@ -21593,13 +21593,13 @@ const Xt = class extends Layer {
21593
21593
  k = `<span${Y} style='${q} ${V.style}'><ruby><span data-cmd='grp' data-arg='${JSON.stringify(V)}'${W} style='${q} display: inline;'> </span><rt${W}${this.mkStyle_r_align(
21594
21594
  " ",
21595
21595
  V.r,
21596
- U(this, Qe),
21596
+ U(this, ti),
21597
21597
  U(this, Yi).style.cssText + (((H = U(this, Si).at(-1)) == null ? void 0 : H.o.r_style) ?? "") + V.r_style
21598
21598
  )}>${V.r}</rt></ruby></span>`;
21599
21599
  }
21600
21600
  break;
21601
21601
  case "tcy":
21602
- Q(this, ki, !1), Q(this, ui, !0);
21602
+ Q(this, ki, !1), Q(this, ci, !0);
21603
21603
  {
21604
21604
  const { t: V, r: Y = "", wait: q = null, style: W = "", r_style: Z = "" } = JSON.parse($);
21605
21605
  U(Xt, Li).doRecLog() && (Q(this, Rn, U(this, Rn) + (e + (r ? `《${r}》` : ""))), Q(this, On, U(this, On) + V));
@@ -21609,7 +21609,7 @@ text-combine-upright: all;
21609
21609
  -webkit-text-combine: horizontal;'>${V}</span><rt${at}${this.mkStyle_r_align(
21610
21610
  V,
21611
21611
  tt,
21612
- U(this, Qe),
21612
+ U(this, ti),
21613
21613
  U(this, Yi).style.cssText + (((z = U(this, Si).at(-1)) == null ? void 0 : z.o.r_style) ?? "") + Z
21614
21614
  )}>${tt}</rt></ruby></span>`;
21615
21615
  }
@@ -21618,10 +21618,10 @@ text-combine-upright: all;
21618
21618
  TxtStage.delBreak();
21619
21619
  return;
21620
21620
  case "span":
21621
- Q(this, ui, !0), et(this, To, dc).call(this, JSON.parse($));
21621
+ Q(this, ci, !0), et(this, To, dc).call(this, JSON.parse($));
21622
21622
  return;
21623
21623
  case "link":
21624
- Q(this, ui, !0);
21624
+ Q(this, ci, !0);
21625
21625
  {
21626
21626
  const V = JSON.parse($);
21627
21627
  V[":link"] = " data-lnk='@'";
@@ -21630,10 +21630,10 @@ text-combine-upright: all;
21630
21630
  }
21631
21631
  return;
21632
21632
  case "endlink":
21633
- Q(this, ui, !0), U(this, Ei).push("</span>"), et(this, Us, Th).call(this);
21633
+ Q(this, ci, !0), U(this, Ei).push("</span>"), et(this, Us, Th).call(this);
21634
21634
  return;
21635
21635
  default:
21636
- Q(this, ui, !0), k = et(this, Bs, Sh).call(this, e, r, U(this, Qe));
21636
+ Q(this, ci, !0), k = et(this, Bs, Sh).call(this, e, r, U(this, ti));
21637
21637
  }
21638
21638
  break;
21639
21639
  }
@@ -21647,15 +21647,15 @@ text-combine-upright: all;
21647
21647
  K(this, Rn, "");
21648
21648
  K(this, On, "");
21649
21649
  pt(this, "addButton", (e) => new Promise((r) => {
21650
- e.key = `btn=[${U(this, Je).children.length}] ` + this.name_, e[":id_tag"] = e.key.slice(0, -7), argChk_Boolean(e, "hint_tate", U(this, ee).tategaki);
21650
+ e.key = `btn=[${U(this, Qe).children.length}] ` + this.name_, e[":id_tag"] = e.key.slice(0, -7), argChk_Boolean(e, "hint_tate", U(this, ee).tategaki);
21651
21651
  const N = new Button(e, U(Xt, xn), () => r(), () => this.canFocus());
21652
- N.name = JSON.stringify(e).replaceAll('"', "'"), U(this, Je).addChild(N);
21652
+ N.name = JSON.stringify(e).replaceAll('"', "'"), U(this, Qe).addChild(N);
21653
21653
  }));
21654
21654
  pt(this, "record", () => ({
21655
21655
  ...super.record(),
21656
21656
  enabled: this.enabled,
21657
21657
  r_cssText: U(this, Yi).style.cssText,
21658
- r_align: U(this, Qe),
21658
+ r_align: U(this, ti),
21659
21659
  // バック
21660
21660
  b_do: U(this, ue) === void 0 ? void 0 : U(this, ue) instanceof Sprite ? "Sprite" : "Graphics",
21661
21661
  b_pic: U(this, Xi),
@@ -21665,9 +21665,9 @@ text-combine-upright: all;
21665
21665
  ffs: U(this, Pn),
21666
21666
  txs: U(this, ee).record(),
21667
21667
  strNoFFS: U(this, Ds),
21668
- btns: U(this, Je).children.map((e) => e.name)
21668
+ btns: U(this, Qe).children.map((e) => e.name)
21669
21669
  }));
21670
- this.spLay.addChild(U(this, ee)), U(this, go).init(U(this, Eo)), this.spLay.addChild(U(this, Je)), U(this, Je).name = "cntBtn";
21670
+ this.spLay.addChild(U(this, ee)), U(this, go).init(U(this, Eo)), this.spLay.addChild(U(this, Qe)), U(this, Qe).name = "cntBtn";
21671
21671
  const e = 16;
21672
21672
  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" });
21673
21673
  }
@@ -21675,7 +21675,7 @@ text-combine-upright: all;
21675
21675
  var $, H;
21676
21676
  Q(Xt, As, e), TxtStage.init(e, B), Q(Xt, Li, N), Q(Xt, Ls, k), Q(Xt, fo, D), N.setDoRecProc(Xt.chgDoRec), r.autowc = (z) => {
21677
21677
  var X;
21678
- return et(X = Xt, yl, wf).call(X, z);
21678
+ return et(X = Xt, yl, Rf).call(X, z);
21679
21679
  }, r.autowc({ enabled: !1, text: "", time: 0 }), r.ch_in_style = (z) => {
21680
21680
  var X;
21681
21681
  return et(X = Xt, po, hc).call(X, z);
@@ -21745,7 +21745,7 @@ text-combine-upright: all;
21745
21745
  U(this, ee).cvsResize();
21746
21746
  }
21747
21747
  cvsResizeChildren() {
21748
- for (const e of U(this, Je).children)
21748
+ for (const e of U(this, Qe).children)
21749
21749
  e.cvsResize();
21750
21750
  }
21751
21751
  procSetX(e) {
@@ -21755,7 +21755,7 @@ text-combine-upright: all;
21755
21755
  U(this, ee).lay({ y: e });
21756
21756
  }
21757
21757
  lay(e) {
21758
- if (super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), et(this, bo, cc).call(this, e), U(this, ee).lay(e), "r_align" in e && Q(this, Qe, e.r_align ?? ""), Q(this, Dr, CmnLib.isSafari ? U(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};` : U(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 = et(this, xl, Pf)), "r_style" in e)
21758
+ if (super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), et(this, bo, cc).call(this, e), U(this, ee).lay(e), "r_align" in e && Q(this, ti, e.r_align ?? ""), Q(this, Dr, CmnLib.isSafari ? U(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};` : U(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 = et(this, xl, Of)), "r_style" in e)
21759
21759
  if (e.r_style) {
21760
21760
  const r = document.createElement("span");
21761
21761
  r.style.cssText = e.r_style;
@@ -21771,7 +21771,7 @@ text-combine-upright: all;
21771
21771
  } else
21772
21772
  U(this, Yi).style.cssText = "";
21773
21773
  if ("alpha" in e)
21774
- for (const r of U(this, Je).children)
21774
+ for (const r of U(this, Qe).children)
21775
21775
  r.alpha = this.spLay.alpha;
21776
21776
  return et(this, Sn, ua).call(this, e), et(this, wn, ca).call(this, e), et(this, yo, uc).call(this, e, (r) => {
21777
21777
  r && U(Xt, mo).resume();
@@ -21843,11 +21843,11 @@ text-combine-upright: all;
21843
21843
  }
21844
21844
  clearLay(e) {
21845
21845
  super.clearLay(e), this.clearText();
21846
- for (const r of U(this, Je).removeChildren())
21846
+ for (const r of U(this, Qe).removeChildren())
21847
21847
  r.destroy();
21848
21848
  }
21849
21849
  playback(e, r) {
21850
- super.playback(e, r), this.enabled = e.enabled, U(this, Yi).style.cssText = e.r_cssText, Q(this, Qe, e.r_align), this.cvsResize(), et(this, bo, cc).call(this, e), U(this, ee).playback(e.txs), Q(this, xi, e.b_alpha), Q(this, Ni, e.b_alpha_isfixed), r.push(new Promise((k) => {
21850
+ super.playback(e, r), this.enabled = e.enabled, U(this, Yi).style.cssText = e.r_cssText, Q(this, ti, e.r_align), this.cvsResize(), et(this, bo, cc).call(this, e), U(this, ee).playback(e.txs), Q(this, xi, e.b_alpha), Q(this, Ni, e.b_alpha_isfixed), r.push(new Promise((k) => {
21851
21851
  const D = e.b_do ? e.b_do === "Sprite" ? { b_pic: e.b_pic } : { b_color: e.b_color } : { b_pic: "" };
21852
21852
  D.b_alpha = e.b_alpha, D.b_alpha_isfixed = e.b_alpha_isfixed, et(this, yo, uc).call(this, D, (B) => {
21853
21853
  B && k();
@@ -21867,18 +21867,18 @@ text-combine-upright: all;
21867
21867
  }
21868
21868
  makeDesignCastChildren(e) {
21869
21869
  if (this.spLay.visible)
21870
- for (const r of U(this, Je).children)
21870
+ for (const r of U(this, Qe).children)
21871
21871
  r.makeDesignCast(e);
21872
21872
  }
21873
21873
  showDesignCast() {
21874
21874
  U(this, ee).showDesignCast();
21875
21875
  }
21876
21876
  showDesignCastChildren() {
21877
- for (const e of U(this, Je).children)
21877
+ for (const e of U(this, Qe).children)
21878
21878
  e.showDesignCast();
21879
21879
  }
21880
21880
  dump() {
21881
- return U(this, Eo).call(this, "", "gotxt|"), super.dump() + `, "enabled":"${this.enabled}", ${U(this, ee).dump()}, "b_pic":"${U(this, Xi)}", "b_color":"${U(this, mr)}", "b_alpha":${U(this, xi)}, "b_alpha_isfixed":"${U(this, Ni)}", "width":${U(this, ee).getWidth}, "height":${U(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":[${U(this, Je).children.map((e) => e.children[0].name ?? "{}").join(",")}]`;
21881
+ return U(this, Eo).call(this, "", "gotxt|"), super.dump() + `, "enabled":"${this.enabled}", ${U(this, ee).dump()}, "b_pic":"${U(this, Xi)}", "b_color":"${U(this, mr)}", "b_alpha":${U(this, xi)}, "b_alpha_isfixed":"${U(this, Ni)}", "width":${U(this, ee).getWidth}, "height":${U(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":[${U(this, Qe).children.map((e) => e.children[0].name ?? "{}").join(",")}]`;
21882
21882
  }
21883
21883
  };
21884
21884
  let TxtLayer = Xt;
@@ -21914,7 +21914,7 @@ As = new WeakMap(), Li = new WeakMap(), fo = new WeakMap(), Ls = new WeakMap(),
21914
21914
  transform: rotate(${r.rotate}deg) scale(${r.scale_x}, ${r.scale_y}) translate(${N}, ${k});
21915
21915
  }
21916
21916
  `), !1;
21917
- }, mo = new WeakMap(), xn = new WeakMap(), _o = new WeakMap(), vr = new WeakMap(), En = new WeakMap(), yl = new WeakSet(), wf = function(e) {
21917
+ }, mo = new WeakMap(), xn = new WeakMap(), _o = new WeakMap(), vr = new WeakMap(), En = new WeakMap(), yl = new WeakSet(), Rf = function(e) {
21918
21918
  Q(Xt, vr, argChk_Boolean(e, "enabled", U(Xt, vr))), U(Xt, Li).setVal_Nochk("save", "const.sn.autowc.enabled", U(Xt, vr));
21919
21919
  const { text: r } = e;
21920
21920
  if ("text" in e != "time" in e)
@@ -21928,7 +21928,7 @@ As = new WeakMap(), Li = new WeakMap(), fo = new WeakMap(), Ls = new WeakMap(),
21928
21928
  if (k.length !== N)
21929
21929
  throw "[autowc] text文字数とtimeに記述された待ち時間(コンマ区切り)は同数にして下さい";
21930
21930
  return Q(Xt, En, {}), k.forEach((D, B) => U(Xt, En)[r[B]] = uint(D)), U(Xt, Li).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
21931
- }, mr = new WeakMap(), xi = new WeakMap(), Ni = new WeakMap(), ue = new WeakMap(), Xi = new WeakMap(), ee = new WeakMap(), go = new WeakMap(), Yi = new WeakMap(), bl = new WeakMap(), Je = new WeakMap(), Sn = new WeakSet(), ua = function(e) {
21931
+ }, mr = new WeakMap(), xi = new WeakMap(), Ni = new WeakMap(), ue = new WeakMap(), Xi = new WeakMap(), ee = new WeakMap(), go = new WeakMap(), Yi = new WeakMap(), bl = new WeakMap(), Qe = new WeakMap(), Sn = new WeakSet(), ua = function(e) {
21932
21932
  const { in_style: r } = e;
21933
21933
  if (!r)
21934
21934
  return;
@@ -21961,7 +21961,7 @@ As = new WeakMap(), Li = new WeakMap(), fo = new WeakMap(), Ls = new WeakMap(),
21961
21961
  return U(this, ue) && (U(this, ue).visible = N > 0, U(this, ue).alpha = N), r(!1), !1;
21962
21962
  }, bo = new WeakSet(), cc = function(e) {
21963
21963
  "noffs" in e && (Q(this, Ds, e.noffs ?? ""), Q(this, xo, new RegExp(`[ ${U(this, Ds)}]`))), "ffs" in e && (U(this, Pn) ?? Q(this, Pn, ""), Q(this, Cn, U(this, Pn) === "" ? () => "" : (r) => U(this, xo).test(r) ? "" : ` font-feature-settings: ${U(this, Pn)};`));
21964
- }, Pn = new WeakMap(), Cn = new WeakMap(), Ds = new WeakMap(), xo = new WeakMap(), Fs = new WeakMap(), Dr = new WeakMap(), Qe = new WeakMap(), xl = new WeakSet(), Pf = function(e, r, N, k = "") {
21964
+ }, Pn = new WeakMap(), Cn = new WeakMap(), Ds = new WeakMap(), xo = new WeakMap(), Fs = new WeakMap(), Dr = new WeakMap(), ti = new WeakMap(), xl = new WeakSet(), Of = function(e, r, N, k = "") {
21965
21965
  if (!N)
21966
21966
  return ` style='${k}'`;
21967
21967
  const D = e.length * 2;
@@ -21995,7 +21995,7 @@ As = new WeakMap(), Li = new WeakMap(), fo = new WeakMap(), Ls = new WeakMap(),
21995
21995
  B = `text-align: ${N};`;
21996
21996
  }
21997
21997
  return ` style='${B} ${k}'`;
21998
- }, ui = new WeakMap(), Eo = new WeakMap(), Bs = new WeakSet(), Sh = function(e, r, N) {
21998
+ }, ci = new WeakMap(), Eo = new WeakMap(), Bs = new WeakSet(), Sh = function(e, r, N) {
21999
21999
  var H;
22000
22000
  const k = e === " " ? "&nbsp;" : e;
22001
22001
  U(Xt, Li).doRecLog() && (Q(this, Rn, U(this, Rn) + (k + (r ? `《${r}》` : ""))), e !== " " && Q(this, On, U(this, On) + e));
@@ -22024,20 +22024,20 @@ As = new WeakMap(), Li = new WeakMap(), fo = new WeakMap(), Ls = new WeakMap(),
22024
22024
  }, Wi = new WeakMap(), ki = new WeakMap(), Ei = new WeakMap(), Si = new WeakMap(), So = new WeakSet(), fc = function(e) {
22025
22025
  U(this, Si).push({
22026
22026
  o: e,
22027
- r_align: U(this, Qe),
22027
+ r_align: U(this, ti),
22028
22028
  ch_in_style: U(this, Tn),
22029
22029
  ch_out_style: U(this, ks)
22030
- }), "r_align" in e && Q(this, Qe, e.r_align), et(this, Sn, ua).call(this, e), et(this, wn, ca).call(this, e);
22030
+ }), "r_align" in e && Q(this, ti, e.r_align), et(this, Sn, ua).call(this, e), et(this, wn, ca).call(this, e);
22031
22031
  }, Us = new WeakSet(), Th = function() {
22032
22032
  const e = U(this, Si).pop();
22033
- e && (Q(this, Qe, e.r_align), et(this, Sn, ua).call(this, { in_style: e.ch_in_style }), et(this, wn, ca).call(this, { out_style: e.ch_out_style }));
22033
+ e && (Q(this, ti, e.r_align), et(this, Sn, ua).call(this, { in_style: e.ch_in_style }), et(this, wn, ca).call(this, { out_style: e.ch_out_style }));
22034
22034
  }, To = new WeakSet(), dc = function(e) {
22035
22035
  const r = U(this, Si).at(-1);
22036
22036
  if (!r) {
22037
22037
  et(this, So, fc).call(this, e);
22038
22038
  return;
22039
22039
  }
22040
- r.o = { ...r.o, ...e }, !e.style && !e.r_style && (r.o.style = "", r.o.r_style = ""), "r_align" in e && Q(this, Qe, e.r_align), et(this, Sn, ua).call(this, e), et(this, wn, ca).call(this, e);
22040
+ r.o = { ...r.o, ...e }, !e.style && !e.r_style && (r.o.style = "", r.o.r_style = ""), "r_align" in e && Q(this, ti, e.r_align), et(this, Sn, ua).call(this, e), et(this, wn, ca).call(this, e);
22041
22041
  }, Rn = new WeakMap(), On = new WeakMap(), // 文字出現演出
22042
22042
  K(TxtLayer, po), // 文字消去演出
22043
22043
  K(TxtLayer, vo), K(TxtLayer, yl), K(TxtLayer, As, void 0), K(TxtLayer, Li, void 0), K(TxtLayer, fo, void 0), K(TxtLayer, Ls, void 0), K(TxtLayer, mo, void 0), K(TxtLayer, xn, void 0), K(TxtLayer, _o, void 0), // 文字ごとのウェイト
@@ -22052,7 +22052,7 @@ K(TxtLayer, bl, {
22052
22052
  "padding-top": 0,
22053
22053
  "padding-bottom": 0
22054
22054
  }), K(TxtLayer, Fs, (e) => e);
22055
- var Gs, Mn, El, Cf, $s, js, wh, Sl, Rf, Tl, Of, wo, wl, Mf, Pl, If;
22055
+ var Gs, Mn, El, Mf, $s, js, wh, Sl, If, Tl, Af, wo, wl, Lf, Pl, Nf;
22056
22056
  class FrameMng {
22057
22057
  constructor(t, e, r, N, k, D, B) {
22058
22058
  // HTMLフレーム
@@ -22071,7 +22071,7 @@ class FrameMng {
22071
22071
  K(this, $s, {});
22072
22072
  // フレームに設定
22073
22073
  K(this, wo, 1);
22074
- this.cfg = t, this.appPixi = r, this.val = N, this.main = k, this.sys = D, this.hTwInf = B, e.add_frame = ($) => et(this, El, Cf).call(this, $), e.let_frame = ($) => et(this, Sl, Rf).call(this, $), e.set_frame = ($) => et(this, Tl, Of).call(this, $), e.frame = ($) => et(this, wl, Mf).call(this, $), e.tsy_frame = ($) => et(this, Pl, If).call(this, $);
22074
+ this.cfg = t, this.appPixi = r, this.val = N, this.main = k, this.sys = D, this.hTwInf = B, e.add_frame = ($) => et(this, El, Mf).call(this, $), e.let_frame = ($) => et(this, Sl, If).call(this, $), e.set_frame = ($) => et(this, Tl, Af).call(this, $), e.frame = ($) => et(this, wl, Lf).call(this, $), e.tsy_frame = ($) => et(this, Pl, Nf).call(this, $);
22075
22075
  }
22076
22076
  setEvtMng(t) {
22077
22077
  Q(this, Gs, t);
@@ -22091,7 +22091,7 @@ class FrameMng {
22091
22091
  }
22092
22092
  }
22093
22093
  }
22094
- Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Cf = function(t) {
22094
+ Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Mf = function(t) {
22095
22095
  const { id: e, src: r, alpha: N = 1, scale_x: k = 1, scale_y: D = 1, rotate: B = 0 } = t;
22096
22096
  if (!e)
22097
22097
  throw "idは必須です";
@@ -22131,7 +22131,7 @@ Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Cf = function(t) {
22131
22131
  argChk_Num(e, "width", CmnLib.stageW) * r,
22132
22132
  argChk_Num(e, "height", CmnLib.stageH) * r
22133
22133
  );
22134
- }, Sl = new WeakSet(), Rf = function(t) {
22134
+ }, Sl = new WeakSet(), If = function(t) {
22135
22135
  const { id: e, var_name: r } = t;
22136
22136
  if (!e)
22137
22137
  throw "idは必須です";
@@ -22152,7 +22152,7 @@ Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Cf = function(t) {
22152
22152
  k + "." + r,
22153
22153
  argChk_Boolean(t, "function", !1) ? B() : B
22154
22154
  ), !1;
22155
- }, Tl = new WeakSet(), Of = function(t) {
22155
+ }, Tl = new WeakSet(), Af = function(t) {
22156
22156
  const { id: e, var_name: r, text: N } = t;
22157
22157
  if (!e)
22158
22158
  throw "idは必須です";
@@ -22169,7 +22169,7 @@ Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Cf = function(t) {
22169
22169
  this.val.setVal_Nochk("tmp", D + "." + r, N);
22170
22170
  const B = k.contentWindow;
22171
22171
  return B[r] = N, !1;
22172
- }, wo = new WeakMap(), wl = new WeakSet(), Mf = function(t) {
22172
+ }, wo = new WeakMap(), wl = new WeakSet(), Lf = function(t) {
22173
22173
  const { id: e } = t;
22174
22174
  if (!e)
22175
22175
  throw "idは必須です";
@@ -22180,7 +22180,7 @@ Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Cf = function(t) {
22180
22180
  if (!this.val.getVal("tmp:" + N))
22181
22181
  throw `frame【${e}】が読み込まれていません`;
22182
22182
  const k = r.style;
22183
- if (argChk_Boolean(t, "float", !1) ? k.zIndex = `${++Me(this, wo)._}` : "index" in t ? k.zIndex = `${argChk_Num(t, "index", 0)}` : t.dive && (k.zIndex = `-${++Me(this, wo)._}`), "alpha" in t) {
22183
+ if (argChk_Boolean(t, "float", !1) ? k.zIndex = `${++Ie(this, wo)._}` : "index" in t ? k.zIndex = `${argChk_Num(t, "index", 0)}` : t.dive && (k.zIndex = `-${++Ie(this, wo)._}`), "alpha" in t) {
22184
22184
  const B = k.opacity = String(t.alpha);
22185
22185
  this.val.setVal_Nochk("tmp", N + ".alpha", B);
22186
22186
  }
@@ -22198,7 +22198,7 @@ Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Cf = function(t) {
22198
22198
  r.contentDocument.body.querySelectorAll("input,select").forEach((H) => H.disabled = B);
22199
22199
  }
22200
22200
  return !1;
22201
- }, Pl = new WeakSet(), If = function(t) {
22201
+ }, Pl = new WeakSet(), Nf = function(t) {
22202
22202
  const { id: e, alpha: r, x: N, y: k, scale_x: D, scale_y: B, rotate: $, width: H, height: z, ease: X, path: V, chain: Y } = t;
22203
22203
  if (!e)
22204
22204
  throw "idは必須です";
@@ -22272,7 +22272,7 @@ ${e}`, lt = () => {
22272
22272
  yt.start();
22273
22273
  return this.hTwInf[nt] = { tw: Ot, resume: !1 }, !1;
22274
22274
  };
22275
- var Ti, ne, me, Fr, In, Hs, Po, Co, Ro, zs, Oo, pc, Br, ci, Cl, Af, ti, Rl, Lf, Ol, Nf, Ml, kf, Jt, qi, Zi, Mo, Il, Df, Vs, Ph, Al, Ff, Ll, Io, Nl, An, Ln, gr, we, Nn, kl, Bf, Pe, Xe, ai, Dl, Uf, Fl, Gf, Bl, $f, kn, fa, Ul, jf, fi, Gl, Hf, $l, zf, jl, Vf, Hl, Xf, zl, Yf, Ur, Dn, da, di, Vl, Wf, Ao, Xl, qf, Ki, Fn, Gr, as, Ge, Ji, Yl, Zf, Wl, Kf, ql, Jf, Zl, Qf, Kl, td, Jl, ed, Ql, id, Lo, vc, tu, rd, eu, nd, iu, sd, ru, ad, nu, od, su, hd, au, ld;
22275
+ var Ti, ne, me, Fr, In, Hs, Po, Co, Ro, zs, Oo, pc, Br, fi, Cl, kf, ei, Rl, Df, Ol, Ff, Ml, Bf, Jt, qi, Zi, Mo, Il, Uf, Vs, Ph, Al, Gf, Ll, Io, Nl, An, Ln, gr, Pe, Nn, kl, $f, Ce, Ye, oi, Dl, jf, Fl, Hf, Bl, zf, kn, fa, Ul, Vf, di, Gl, Xf, $l, Yf, jl, Wf, Hl, qf, zl, Zf, Ur, Dn, da, pi, Vl, Kf, Ao, Xl, Jf, Ki, Fn, Gr, as, $e, Ji, Yl, Qf, Wl, td, ql, ed, Zl, id, Kl, rd, Jl, nd, Ql, sd, Lo, vc, tu, ad, eu, od, iu, hd, ru, ld, nu, ud, su, cd, au, fd;
22276
22276
  const Rr = class {
22277
22277
  constructor(t, e, r, N, k, D, B, $, H, z) {
22278
22278
  K(this, Oo);
@@ -22292,7 +22292,7 @@ const Rr = class {
22292
22292
  K(this, Al);
22293
22293
  // ページ裏表を交換
22294
22294
  K(this, kl);
22295
- K(this, Xe);
22295
+ K(this, Ye);
22296
22296
  K(this, Dl);
22297
22297
  K(this, Fl);
22298
22298
  // トランス終了待ち
@@ -22369,8 +22369,8 @@ const Rr = class {
22369
22369
  K(this, zs, "");
22370
22370
  pt(this, "getFrmDisabled", (t) => U(this, Fr).getFrmDisabled(t));
22371
22371
  K(this, Br, void 0);
22372
- K(this, ci, void 0);
22373
- K(this, ti, (t, e = this.currentTxtlayForeNeedErr, r = !0) => e.tagCh("| 《" + t + "》"));
22372
+ K(this, fi, void 0);
22373
+ K(this, ei, (t, e = this.currentTxtlayForeNeedErr, r = !0) => e.tagCh("| 《" + t + "》"));
22374
22374
  pt(this, "goTxt", () => {
22375
22375
  });
22376
22376
  pt(this, "breakLine", (t) => {
@@ -22429,12 +22429,12 @@ void main(void) {
22429
22429
  width: CmnLib.stageW,
22430
22430
  height: CmnLib.stageH
22431
22431
  }));
22432
- K(this, we, new Sprite(U(this, gr)));
22432
+ K(this, Pe, new Sprite(U(this, gr)));
22433
22433
  K(this, Nn, []);
22434
- K(this, Pe, { tw: void 0, resume: !1 });
22434
+ K(this, Ce, { tw: void 0, resume: !1 });
22435
22435
  // トゥイーン開始
22436
- K(this, fi, {});
22437
- K(this, di, (t) => {
22436
+ K(this, di, {});
22437
+ K(this, pi, (t) => {
22438
22438
  throw U(this, Fn).call(this), 0;
22439
22439
  });
22440
22440
  // 操作対象のメッセージレイヤの指定
@@ -22446,7 +22446,7 @@ void main(void) {
22446
22446
  K(this, Fn, () => {
22447
22447
  throw "文字レイヤーがありません。文字表示や操作する前に、[add_lay layer=(レイヤ名) class=txt]で文字レイヤを追加して下さい";
22448
22448
  });
22449
- K(this, Ge, { text: "" });
22449
+ K(this, $e, { text: "" });
22450
22450
  K(this, Ji, []);
22451
22451
  this.cfg = t, this.hTag = e, this.appPixi = r, this.val = N, this.main = k, this.scrItr = D, this.sys = B, this.sndMng = $, this.alzTagArg = H, this.prpPrs = z;
22452
22452
  const X = () => {
@@ -22456,7 +22456,7 @@ void main(void) {
22456
22456
  else
22457
22457
  for (const W of U(this, qi))
22458
22458
  U(this, Jt)[W].fore.cvsResize();
22459
- U(this, Fr).cvsResize(), U(this, ci).cvsResize();
22459
+ U(this, Fr).cvsResize(), U(this, fi).cvsResize();
22460
22460
  };
22461
22461
  if (CmnLib.isMobile)
22462
22462
  U(this, Hs).add(globalThis, "orientationchange", X, { passive: !0 });
@@ -22468,26 +22468,26 @@ void main(void) {
22468
22468
  }, 1e3 / 60 * 10));
22469
22469
  }, { passive: !0 });
22470
22470
  }
22471
- B.cvsResize(), TxtLayer.init(t, e, N, this, (W) => U(this, Jt)[W.layname].fore === W, r), GrpLayer.init(k, t, r, B, $, N), Button.init(t), Q(this, Fr, new FrameMng(t, e, r, N, k, B, U(this, fi))), B.hFactoryCls.grp = () => new GrpLayer(), B.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => et(this, Ol, Nf).call(this, W), e.snapshot = (W) => et(this, Rl, Lf).call(this, W), e.add_lay = (W) => et(this, Ml, kf).call(this, W), e.clear_lay = (W) => et(this, Al, Ff).call(this, W), e.finish_trans = () => et(this, kn, fa).call(this), e.lay = (W) => et(this, Il, Df).call(this, W), e.trans = (W) => et(this, kl, Bf).call(this, W), e.wt = (W) => et(this, Bl, $f).call(this, W), e.quake = (W) => et(this, Ul, jf).call(this, W), e.stop_quake = (W) => e.finish_trans(W), e.wq = (W) => e.wt(W), e.pause_tsy = (W) => et(this, Hl, Xf).call(this, W), e.resume_tsy = (W) => et(this, zl, Yf).call(this, W), e.stop_tsy = (W) => et(this, jl, Vf).call(this, W), e.tsy = (W) => et(this, Gl, Hf).call(this, W), e.wait_tsy = (W) => et(this, $l, zf).call(this, W), e.ch = (W) => et(this, Dn, da).call(this, W), e.clear_text = (W) => et(this, Yl, Zf).call(this, W), e.current = (W) => U(this, Ao).call(this, W), e.endlink = (W) => et(this, Wl, Kf).call(this, W), e.er = (W) => et(this, ql, Jf).call(this, W), e.graph = (W) => et(this, Zl, Qf).call(this, W), e.link = (W) => et(this, Kl, td).call(this, W), e.r = (W) => et(this, Jl, ed).call(this, W), e.rec_ch = (W) => et(this, Lo, vc).call(this, W), e.rec_r = (W) => et(this, Ql, id).call(this, W), e.reset_rec = (W) => et(this, tu, rd).call(this, W), e.ruby2 = (W) => et(this, eu, nd).call(this, W), e.span = (W) => et(this, iu, sd).call(this, W), e.tcy = (W) => et(this, ru, ad).call(this, W), e.add_face = (W) => GrpLayer.add_face(W), e.wv = (W) => GrpLayer.wv(W), e.dump_lay = (W) => et(this, nu, od).call(this, W), e.enable_event = (W) => et(this, su, hd).call(this, W), e.button = (W) => et(this, au, ld).call(this, W), t.existsBreakline && (this.breakLine = (W) => {
22471
+ B.cvsResize(), TxtLayer.init(t, e, N, this, (W) => U(this, Jt)[W.layname].fore === W, r), GrpLayer.init(k, t, r, B, $, N), Button.init(t), Q(this, Fr, new FrameMng(t, e, r, N, k, B, U(this, di))), B.hFactoryCls.grp = () => new GrpLayer(), B.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => et(this, Ol, Ff).call(this, W), e.snapshot = (W) => et(this, Rl, Df).call(this, W), e.add_lay = (W) => et(this, Ml, Bf).call(this, W), e.clear_lay = (W) => et(this, Al, Gf).call(this, W), e.finish_trans = () => et(this, kn, fa).call(this), e.lay = (W) => et(this, Il, Uf).call(this, W), e.trans = (W) => et(this, kl, $f).call(this, W), e.wt = (W) => et(this, Bl, zf).call(this, W), e.quake = (W) => et(this, Ul, Vf).call(this, W), e.stop_quake = (W) => e.finish_trans(W), e.wq = (W) => e.wt(W), e.pause_tsy = (W) => et(this, Hl, qf).call(this, W), e.resume_tsy = (W) => et(this, zl, Zf).call(this, W), e.stop_tsy = (W) => et(this, jl, Wf).call(this, W), e.tsy = (W) => et(this, Gl, Xf).call(this, W), e.wait_tsy = (W) => et(this, $l, Yf).call(this, W), e.ch = (W) => et(this, Dn, da).call(this, W), e.clear_text = (W) => et(this, Yl, Qf).call(this, W), e.current = (W) => U(this, Ao).call(this, W), e.endlink = (W) => et(this, Wl, td).call(this, W), e.er = (W) => et(this, ql, ed).call(this, W), e.graph = (W) => et(this, Zl, id).call(this, W), e.link = (W) => et(this, Kl, rd).call(this, W), e.r = (W) => et(this, Jl, nd).call(this, W), e.rec_ch = (W) => et(this, Lo, vc).call(this, W), e.rec_r = (W) => et(this, Ql, sd).call(this, W), e.reset_rec = (W) => et(this, tu, ad).call(this, W), e.ruby2 = (W) => et(this, eu, od).call(this, W), e.span = (W) => et(this, iu, hd).call(this, W), e.tcy = (W) => et(this, ru, ld).call(this, W), e.add_face = (W) => GrpLayer.add_face(W), e.wv = (W) => GrpLayer.wv(W), e.dump_lay = (W) => et(this, nu, ud).call(this, W), e.enable_event = (W) => et(this, su, cd).call(this, W), e.button = (W) => et(this, au, fd).call(this, W), t.existsBreakline && (this.breakLine = (W) => {
22472
22472
  delete W.visible, W.id = "break", W.pic = "breakline";
22473
22473
  const Z = encodeURIComponent(JSON.stringify(W));
22474
- U(this, ti).call(this, "grp|" + Z);
22474
+ U(this, ei).call(this, "grp|" + Z);
22475
22475
  }), t.existsBreakpage && (this.breakPage = (W) => {
22476
22476
  delete W.visible, W.id = "break", W.pic = "breakpage";
22477
22477
  const Z = encodeURIComponent(JSON.stringify(W));
22478
- U(this, ti).call(this, "grp|" + Z);
22478
+ U(this, ei).call(this, "grp|" + Z);
22479
22479
  }), Q(this, In, parseColor(String(t.oCfg.init.bg_color)));
22480
22480
  const V = new Graphics();
22481
- V.beginFill(U(this, In), 1).lineStyle(0, U(this, In)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), U(this, ne).addChild(V.clone()), U(this, me).addChild(V), U(this, me).visible = !1, U(this, ne).name = "page:A", U(this, me).name = "page:B", Q(this, Ti, r.stage), U(this, Ti).addChild(U(this, me)), U(this, Ti).addChild(U(this, ne)), U(this, Ti).addChild(U(this, Ln)), U(this, Ti).addChild(U(this, we)), U(this, Ti).name = "stage", r.ticker.add(U(this, Po));
22481
+ V.beginFill(U(this, In), 1).lineStyle(0, U(this, In)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), U(this, ne).addChild(V.clone()), U(this, me).addChild(V), U(this, me).visible = !1, U(this, ne).name = "page:A", U(this, me).name = "page:B", Q(this, Ti, r.stage), U(this, Ti).addChild(U(this, me)), U(this, Ti).addChild(U(this, ne)), U(this, Ti).addChild(U(this, Ln)), U(this, Ti).addChild(U(this, Pe)), U(this, Ti).name = "stage", r.ticker.add(U(this, Po));
22482
22482
  const Y = (W, Z) => {
22483
- et(this, Cl, Af).call(this, Number(Z));
22483
+ et(this, Cl, kf).call(this, Number(Z));
22484
22484
  };
22485
22485
  Y("", N.getVal("sys:TextLayer.Back.Alpha", 1)), N.defValTrg("sys:TextLayer.Back.Alpha", Y);
22486
22486
  const q = (W, Z) => Button.fontFamily = Z;
22487
22487
  q("", N.getVal("tmp:sn.button.fontFamily", Button.fontFamily)), N.defValTrg("tmp:sn.button.fontFamily", q), N.defTmp("const.sn.log.json", () => {
22488
22488
  var W;
22489
22489
  return JSON.stringify(
22490
- (U(this, Ge).text = ((W = U(this, Ge).text) == null ? void 0 : W.replaceAll("</span><span class='sn_ch'>", "")) ?? "") ? [...U(this, Ji), U(this, Ge)] : U(this, Ji)
22490
+ (U(this, $e).text = ((W = U(this, $e).text) == null ? void 0 : W.replaceAll("</span><span class='sn_ch'>", "")) ?? "") ? [...U(this, Ji), U(this, $e)] : U(this, Ji)
22491
22491
  );
22492
22492
  }), N.defTmp("const.sn.last_page_text", () => {
22493
22493
  var W;
@@ -22508,7 +22508,7 @@ void main(void) {
22508
22508
  );
22509
22509
  }
22510
22510
  setEvtMng(t) {
22511
- Q(this, ci, t), U(this, Fr).setEvtMng(t), GrpLayer.setEvtMng(t);
22511
+ Q(this, fi, t), U(this, Fr).setEvtMng(t), GrpLayer.setEvtMng(t);
22512
22512
  }
22513
22513
  before_destroy() {
22514
22514
  for (const t of Object.values(U(this, Jt)))
@@ -22519,13 +22519,13 @@ void main(void) {
22519
22519
  }
22520
22520
  // トゥイーン全停止
22521
22521
  stopAllTw() {
22522
- Q(this, fi, {}), removeAll();
22522
+ Q(this, di, {}), removeAll();
22523
22523
  }
22524
22524
  clearBreak() {
22525
- this.currentTxtlayFore && (this.clearBreak = () => U(this, ti).call(this, "del|break"), this.clearBreak());
22525
+ this.currentTxtlayFore && (this.clearBreak = () => U(this, ei).call(this, "del|break"), this.clearBreak());
22526
22526
  }
22527
22527
  clickTxtLay() {
22528
- return this.currentTxtlayFore ? et(this, Xe, ai).call(this).some((t) => {
22528
+ return this.currentTxtlayFore ? et(this, Ye, oi).call(this).some((t) => {
22529
22529
  const e = U(this, Jt)[t].fore;
22530
22530
  return e instanceof TxtLayer && e.click();
22531
22531
  }) : !1;
@@ -22546,7 +22546,7 @@ void main(void) {
22546
22546
  return U(this, Ki) ? U(this, Ki).fore : null;
22547
22547
  }
22548
22548
  recText(t) {
22549
- U(this, Ge).text = t, this.val.setVal_Nochk(
22549
+ U(this, $e).text = t, this.val.setVal_Nochk(
22550
22550
  "save",
22551
22551
  "const.sn.sLog",
22552
22552
  String(this.val.getVal("const.sn.log.json"))
@@ -22554,7 +22554,7 @@ void main(void) {
22554
22554
  );
22555
22555
  }
22556
22556
  recPagebreak() {
22557
- U(this, Ge).text && (U(this, Ge).text = U(this, Ge).text.replaceAll("</span><span class='sn_ch'>", ""), U(this, Ji).push(U(this, Ge)) > this.cfg.oCfg.log.max_len && Q(this, Ji, U(this, Ji).slice(-this.cfg.oCfg.log.max_len)), Q(this, Ge, { text: "" }));
22557
+ U(this, $e).text && (U(this, $e).text = U(this, $e).text.replaceAll("</span><span class='sn_ch'>", ""), U(this, Ji).push(U(this, $e)) > this.cfg.oCfg.log.max_len && Q(this, Ji, U(this, Ji).slice(-this.cfg.oCfg.log.max_len)), Q(this, $e, { text: "" }));
22558
22558
  }
22559
22559
  record() {
22560
22560
  const t = {};
@@ -22570,7 +22570,7 @@ void main(void) {
22570
22570
  }
22571
22571
  playback(t, e) {
22572
22572
  var D;
22573
- Q(this, Ji, JSON.parse(String(this.val.getVal("save:const.sn.sLog")))), Q(this, Ge, { text: "" });
22573
+ Q(this, Ji, JSON.parse(String(this.val.getVal("save:const.sn.sLog")))), Q(this, $e, { text: "" });
22574
22574
  const r = [], N = [];
22575
22575
  for (const [B, { fore: $, fore: { idx: H }, back: z, cls: X }] of Object.entries(t)) {
22576
22576
  N.push({ layer: B, idx: H });
@@ -22592,15 +22592,15 @@ void main(void) {
22592
22592
  };
22593
22593
  let LayerMng = Rr;
22594
22594
  Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(), In = new WeakMap(), Hs = new WeakMap(), Po = new WeakMap(), Co = new WeakMap(), Ro = new WeakMap(), zs = new WeakMap(), Oo = new WeakSet(), pc = function(t) {
22595
- [Me(this, Ro)._, this.zs = ""] = t.split("/");
22595
+ [Ie(this, Ro)._, this.zs = ""] = t.split("/");
22596
22596
  const e = U(this, Jt)[U(this, Ro)];
22597
22597
  e && (U(this, zs) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
22598
- }, Br = new WeakMap(), ci = new WeakMap(), Cl = new WeakSet(), Af = function(t) {
22599
- for (const e of et(this, Xe, ai).call(this)) {
22598
+ }, Br = new WeakMap(), fi = new WeakMap(), Cl = new WeakSet(), kf = function(t) {
22599
+ for (const e of et(this, Ye, oi).call(this)) {
22600
22600
  const r = U(this, Jt)[e];
22601
22601
  r.fore instanceof TxtLayer && (r.fore.chgBackAlpha(t), r.back.chgBackAlpha(t));
22602
22602
  }
22603
- }, ti = new WeakMap(), Rl = new WeakSet(), Lf = function(t) {
22603
+ }, ei = new WeakMap(), Rl = new WeakSet(), Df = function(t) {
22604
22604
  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);
22605
22605
  if (!("layer" in t) && this.sys.canCapturePage(r, () => this.main.resume()))
22606
22606
  return !0;
@@ -22613,15 +22613,15 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22613
22613
  backgroundColor: k & 16777215,
22614
22614
  autoDensity: !0
22615
22615
  }), B = [], $ = t.page !== "back" ? "fore" : "back";
22616
- if (U(this, Pe).tw)
22616
+ if (U(this, Ce).tw)
22617
22617
  B.push(new Promise((H) => {
22618
22618
  U(this, me).visible = !0;
22619
22619
  for (const z of U(this, Nn))
22620
22620
  D.render(z, { clear: !1 });
22621
- U(this, me).visible = !1, U(this, Ln).visible = !0, U(this, ne).filters = U(this, we).filters, U(this, ne).visible = !0, D.render(U(this, ne), { clear: !1 }), U(this, ne).visible = !1, U(this, ne).filters = [], H();
22621
+ U(this, me).visible = !1, U(this, Ln).visible = !0, U(this, ne).filters = U(this, Pe).filters, U(this, ne).visible = !0, D.render(U(this, ne), { clear: !1 }), U(this, ne).visible = !1, U(this, ne).filters = [], H();
22622
22622
  }));
22623
22623
  else
22624
- for (const H of et(this, Xe, ai).call(this, t.layer))
22624
+ for (const H of et(this, Ye, oi).call(this, t.layer))
22625
22625
  B.push(
22626
22626
  new Promise((z) => U(this, Jt)[H][$].snapshot(D, () => z()))
22627
22627
  );
@@ -22630,12 +22630,12 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22630
22630
  if (D.render(U(this, Ti), { renderTexture: H }), await this.sys.savePic(
22631
22631
  r,
22632
22632
  D.plugins.extract.base64(Sprite.from(H))
22633
- ), !U(this, Pe).tw)
22634
- for (const z of et(this, Xe, ai).call(this, t.layer))
22633
+ ), !U(this, Ce).tw)
22634
+ for (const z of et(this, Ye, oi).call(this, t.layer))
22635
22635
  U(this, Jt)[z][$].snapshot_end();
22636
22636
  D.destroy(!0), this.main.resume();
22637
22637
  }), !0;
22638
- }, Ol = new WeakSet(), Nf = function(t) {
22638
+ }, Ol = new WeakSet(), Ff = function(t) {
22639
22639
  const { fn: e } = t;
22640
22640
  if (!e)
22641
22641
  throw "fnは必須です";
@@ -22653,7 +22653,7 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22653
22653
  throw "サポートされない拡張子です";
22654
22654
  }
22655
22655
  return r;
22656
- }, Ml = new WeakSet(), kf = function(t) {
22656
+ }, Ml = new WeakSet(), Bf = function(t) {
22657
22657
  const { layer: e, class: r } = t;
22658
22658
  if (!e)
22659
22659
  throw "layerは必須です";
@@ -22667,11 +22667,11 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22667
22667
  switch (U(this, Jt)[e] = new Pages(e, r, U(this, ne), U(this, me), t, this.sys, this.val, N), U(this, qi).push(e), r) {
22668
22668
  case "txt":
22669
22669
  U(this, Zi) || (Q(this, Fn, () => {
22670
- }), Q(this, di, et(this, Vl, Wf)), Q(this, Ao, et(this, Xl, qf)), this.hTag.current({ layer: e }), this.goTxt = () => {
22671
- U(this, ci).isSkipping() ? Q(Rr, Ur, 0) : this.setNormalChWait();
22672
- for (const k of et(this, Xe, ai).call(this)) {
22670
+ }), Q(this, pi, et(this, Vl, Kf)), Q(this, Ao, et(this, Xl, Jf)), this.hTag.current({ layer: e }), this.goTxt = () => {
22671
+ U(this, fi).isSkipping() ? Q(Rr, Ur, 0) : this.setNormalChWait();
22672
+ for (const k of et(this, Ye, oi).call(this)) {
22673
22673
  const D = U(this, Jt)[k].fore;
22674
- D instanceof TxtLayer && U(this, ti).call(this, "gotxt|", D, !1);
22674
+ D instanceof TxtLayer && U(this, ei).call(this, "gotxt|", D, !1);
22675
22675
  }
22676
22676
  }), this.val.setVal_Nochk(
22677
22677
  "save",
@@ -22686,7 +22686,7 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22686
22686
  break;
22687
22687
  }
22688
22688
  return this.scrItr.recodeDesign(t), N.isWait;
22689
- }, Jt = new WeakMap(), qi = new WeakMap(), Zi = new WeakMap(), Mo = new WeakMap(), Il = new WeakSet(), Df = function(t) {
22689
+ }, Jt = new WeakMap(), qi = new WeakMap(), Zi = new WeakMap(), Mo = new WeakMap(), Il = new WeakSet(), Uf = function(t) {
22690
22690
  const e = et(this, Gr, as).call(this, t), r = U(this, Jt)[e], N = r.back.spLay, k = r.fore.spLay;
22691
22691
  if (argChk_Boolean(t, "float", !1))
22692
22692
  U(this, me).setChildIndex(N, U(this, me).children.length - 1), U(this, ne).setChildIndex(k, U(this, ne).children.length - 1), et(this, Vs, Ph).call(this);
@@ -22705,21 +22705,21 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22705
22705
  }
22706
22706
  return t[":id_tag"] = r.fore.name.slice(0, -7), this.scrItr.recodeDesign(t), r.lay(t);
22707
22707
  }, Vs = new WeakSet(), Ph = function() {
22708
- Q(this, qi, et(this, Fl, Gf).call(this));
22709
- }, Al = new WeakSet(), Ff = function(t) {
22710
- return et(this, Dl, Uf).call(this, t, (e) => {
22708
+ Q(this, qi, et(this, Fl, Hf).call(this));
22709
+ }, Al = new WeakSet(), Gf = function(t) {
22710
+ return et(this, Dl, jf).call(this, t, (e) => {
22711
22711
  const r = U(this, Jt)[et(this, Gr, as).call(this, { layer: e })];
22712
22712
  t.page === "both" ? (r.fore.clearLay(t), r.back.clearLay(t)) : r.getPage(t).clearLay(t);
22713
22713
  }), !1;
22714
- }, Ll = new WeakMap(), Io = new WeakMap(), Nl = new WeakMap(), An = new WeakMap(), Ln = new WeakMap(), gr = new WeakMap(), we = new WeakMap(), Nn = new WeakMap(), kl = new WeakSet(), Bf = function(t) {
22715
- et(this, kn, fa).call(this), U(this, ci).hideHint();
22714
+ }, Ll = new WeakMap(), Io = new WeakMap(), Nl = new WeakMap(), An = new WeakMap(), Ln = new WeakMap(), gr = new WeakMap(), Pe = new WeakMap(), Nn = new WeakMap(), kl = new WeakSet(), $f = function(t) {
22715
+ et(this, kn, fa).call(this), U(this, fi).hideHint();
22716
22716
  const { layer: e } = t;
22717
22717
  Q(this, Nn, []);
22718
22718
  const r = {}, N = [];
22719
- for (const Z of et(this, Xe, ai).call(this, e))
22719
+ for (const Z of et(this, Ye, oi).call(this, e))
22720
22720
  r[Z] = !0, N.push(U(this, Jt)[Z].fore);
22721
22721
  const k = [];
22722
- for (const Z of et(this, Xe, ai).call(this)) {
22722
+ for (const Z of et(this, Ye, oi).call(this)) {
22723
22723
  const tt = U(this, Jt)[Z][r[Z] ? "back" : "fore"];
22724
22724
  U(this, Nn).push(tt.spLay), k.push(tt);
22725
22725
  }
@@ -22749,12 +22749,12 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22749
22749
  };
22750
22750
  }
22751
22751
  const $ = () => {
22752
- D(), U(this, Ln).visible = !0, B(), U(this, we).visible = !0;
22752
+ D(), U(this, Ln).visible = !0, B(), U(this, Pe).visible = !0;
22753
22753
  };
22754
- U(this, we).alpha = 1;
22754
+ U(this, Pe).alpha = 1;
22755
22755
  const H = () => {
22756
22756
  var tt;
22757
- this.appPixi.ticker && this.appPixi.ticker.remove($), [Me(this, ne)._, Me(this, me)._] = [U(this, me), U(this, ne)];
22757
+ this.appPixi.ticker && this.appPixi.ticker.remove($), [Ie(this, ne)._, Ie(this, me)._] = [U(this, me), U(this, ne)];
22758
22758
  const Z = [];
22759
22759
  for (const [J, it] of Object.entries(U(this, Jt))) {
22760
22760
  if (r[J]) {
@@ -22764,28 +22764,28 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22764
22764
  const { fore: { spLay: at }, back: { spLay: st } } = it, ht = U(this, ne).getChildIndex(st);
22765
22765
  U(this, ne).removeChild(st), U(this, me).removeChild(at), U(this, ne).addChildAt(at, ht), U(this, me).addChildAt(st, ht);
22766
22766
  }
22767
- Promise.allSettled(Z), U(this, ne).visible = !0, U(this, me).visible = !1, U(this, Ln).visible = !1, U(this, we).visible = !1, (tt = U(this, Pe).tw) == null || tt.stop(), U(this, Pe).resume && this.main.resume(), Q(this, Pe, { tw: void 0, resume: !1 });
22767
+ Promise.allSettled(Z), U(this, ne).visible = !0, U(this, me).visible = !1, U(this, Ln).visible = !1, U(this, Pe).visible = !1, (tt = U(this, Ce).tw) == null || tt.stop(), U(this, Ce).resume && this.main.resume(), Q(this, Ce, { tw: void 0, resume: !1 });
22768
22768
  };
22769
- Q(this, Pe, { tw: void 0, resume: !1 });
22769
+ Q(this, Ce, { tw: void 0, resume: !1 });
22770
22770
  const z = argChk_Num(t, "time", 0);
22771
- if (z === 0 || U(this, ci).isSkipping())
22771
+ if (z === 0 || U(this, fi).isSkipping())
22772
22772
  return H(), !1;
22773
22773
  const { ease: X, glsl: V, rule: Y } = t, q = CmnTween.ease(X);
22774
22774
  if (!V && !Y)
22775
- return U(this, we).filters = [], U(this, Pe).tw = new Tween(U(this, we)).to({ alpha: 0 }, z).delay(argChk_Num(t, "delay", 0)).easing(q).onComplete(H).start(), this.appPixi.ticker.add($), !1;
22775
+ return U(this, Pe).filters = [], U(this, Ce).tw = new Tween(U(this, Pe)).to({ alpha: 0 }, z).delay(argChk_Num(t, "delay", 0)).easing(q).onComplete(H).start(), this.appPixi.ticker.add($), !1;
22776
22776
  const W = V ? new Filter(void 0, V, U(this, Io)) : U(this, Nl);
22777
- if (W.uniforms.vague = argChk_Num(t, "vague", 0.04), W.uniforms.tick = 0, U(this, Pe).tw = new Tween(W.uniforms).to({ tick: 1 }, z).delay(argChk_Num(t, "delay", 0)).easing(q).onComplete(H), U(this, we).filters = [W], V)
22778
- return U(this, Pe).tw.start(), this.appPixi.ticker.add($), !1;
22777
+ if (W.uniforms.vague = argChk_Num(t, "vague", 0.04), W.uniforms.tick = 0, U(this, Ce).tw = new Tween(W.uniforms).to({ tick: 1 }, z).delay(argChk_Num(t, "delay", 0)).easing(q).onComplete(H), U(this, Pe).filters = [W], V)
22778
+ return U(this, Ce).tw.start(), this.appPixi.ticker.add($), !1;
22779
22779
  if (!Y)
22780
22780
  throw "ruleが指定されていません";
22781
22781
  return GrpLayer.csv2Sprites(Y, void 0, (Z) => {
22782
22782
  var tt;
22783
- W.uniforms.rule = Z.texture, Z.destroy(), (tt = U(this, Pe).tw) == null || tt.start(), this.appPixi.ticker.add($);
22783
+ W.uniforms.rule = Z.texture, Z.destroy(), (tt = U(this, Ce).tw) == null || tt.start(), this.appPixi.ticker.add($);
22784
22784
  }), !1;
22785
- }, Pe = new WeakMap(), Xe = new WeakSet(), ai = function(t = "") {
22785
+ }, Ce = new WeakMap(), Ye = new WeakSet(), oi = function(t = "") {
22786
22786
  return t ? t.split(",") : U(this, qi);
22787
- }, Dl = new WeakSet(), Uf = function(t, e) {
22788
- const r = et(this, Xe, ai).call(this, t.layer);
22787
+ }, Dl = new WeakSet(), jf = function(t, e) {
22788
+ const r = et(this, Ye, oi).call(this, t.layer);
22789
22789
  for (const N of r) {
22790
22790
  if (!N)
22791
22791
  continue;
@@ -22795,23 +22795,23 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22795
22795
  e(N, k);
22796
22796
  }
22797
22797
  return r;
22798
- }, Fl = new WeakSet(), Gf = function(t = "") {
22799
- return et(this, Xe, ai).call(this, t).sort((e, r) => {
22798
+ }, Fl = new WeakSet(), Hf = function(t = "") {
22799
+ return et(this, Ye, oi).call(this, t).sort((e, r) => {
22800
22800
  const N = U(this, ne).getChildIndex(U(this, Jt)[e].fore.spLay), k = U(this, ne).getChildIndex(U(this, Jt)[r].fore.spLay);
22801
22801
  return N < k ? -1 : N > k ? 1 : 0;
22802
22802
  });
22803
- }, Bl = new WeakSet(), $f = function(t) {
22804
- return U(this, Pe).tw ? U(this, Pe).resume = U(this, ci).waitEvent(t, () => et(this, kn, fa).call(this)) : !1;
22803
+ }, Bl = new WeakSet(), zf = function(t) {
22804
+ return U(this, Ce).tw ? U(this, Ce).resume = U(this, fi).waitEvent(t, () => et(this, kn, fa).call(this)) : !1;
22805
22805
  }, kn = new WeakSet(), fa = function() {
22806
22806
  var t;
22807
- return (t = U(this, Pe).tw) == null || t.end(), !1;
22808
- }, Ul = new WeakSet(), jf = function(t) {
22807
+ return (t = U(this, Ce).tw) == null || t.end(), !1;
22808
+ }, Ul = new WeakSet(), Vf = function(t) {
22809
22809
  et(this, kn, fa).call(this);
22810
22810
  const e = argChk_Num(t, "time", NaN);
22811
- if (e === 0 || U(this, ci).isSkipping())
22811
+ if (e === 0 || U(this, fi).isSkipping())
22812
22812
  return !1;
22813
22813
  const { layer: r, ease: N } = t, k = [];
22814
- for (const Y of et(this, Xe, ai).call(this, r))
22814
+ for (const Y of et(this, Ye, oi).call(this, r))
22815
22815
  k.push(U(this, Jt)[Y].fore.spLay);
22816
22816
  U(this, gr).resize(CmnLib.stageW, CmnLib.stageH);
22817
22817
  const D = () => {
@@ -22823,31 +22823,31 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22823
22823
  );
22824
22824
  U(this, ne).visible = !1;
22825
22825
  };
22826
- U(this, we).visible = !0, U(this, we).alpha = 1;
22826
+ U(this, Pe).visible = !0, U(this, Pe).alpha = 1;
22827
22827
  const B = uint(argChk_Num(t, "hmax", 10)), $ = uint(argChk_Num(t, "vmax", 10)), H = B === 0 ? () => {
22828
- } : () => U(this, we).x = Math.round(Math.random() * B * 2) - B, z = $ === 0 ? () => {
22829
- } : () => U(this, we).y = Math.round(Math.random() * $ * 2) - $;
22830
- U(this, we).filters = [];
22831
- const X = argChk_Num(t, "repeat", 1), V = new Tween(U(this, we)).to({ x: 0, y: 0 }, e).delay(argChk_Num(t, "delay", 0)).easing(CmnTween.ease(N)).onUpdate(() => {
22828
+ } : () => U(this, Pe).x = Math.round(Math.random() * B * 2) - B, z = $ === 0 ? () => {
22829
+ } : () => U(this, Pe).y = Math.round(Math.random() * $ * 2) - $;
22830
+ U(this, Pe).filters = [];
22831
+ const X = argChk_Num(t, "repeat", 1), V = new Tween(U(this, Pe)).to({ x: 0, y: 0 }, e).delay(argChk_Num(t, "delay", 0)).easing(CmnTween.ease(N)).onUpdate(() => {
22832
22832
  H(), z();
22833
22833
  }).repeat(X > 0 ? X - 1 : 1 / 0).yoyo(argChk_Boolean(t, "yoyo", !1)).onComplete(() => {
22834
22834
  var Y, q;
22835
- (Y = this.appPixi.ticker) == null || Y.remove(D), U(this, ne).visible = !0, U(this, we).visible = !1, U(this, we).x = 0, U(this, we).y = 0, (q = U(this, Pe).tw) == null || q.stop(), U(this, Pe).resume && this.main.resume(), Q(this, Pe, { tw: void 0, resume: !1 });
22835
+ (Y = this.appPixi.ticker) == null || Y.remove(D), U(this, ne).visible = !0, U(this, Pe).visible = !1, U(this, Pe).x = 0, U(this, Pe).y = 0, (q = U(this, Ce).tw) == null || q.stop(), U(this, Ce).resume && this.main.resume(), Q(this, Ce, { tw: void 0, resume: !1 });
22836
22836
  }).start();
22837
- return Q(this, Pe, { tw: V, resume: !1 }), this.appPixi.ticker.add(D), !1;
22838
- }, fi = new WeakMap(), Gl = new WeakSet(), Hf = function(t) {
22837
+ return Q(this, Ce, { tw: V, resume: !1 }), this.appPixi.ticker.add(D), !1;
22838
+ }, di = new WeakMap(), Gl = new WeakSet(), Xf = function(t) {
22839
22839
  const { layer: e, render: r, path: N, name: k, ease: D, chain: B } = t;
22840
22840
  if (!e)
22841
22841
  throw "layerは必須です";
22842
22842
  const $ = et(this, Gr, as).call(this, t);
22843
22843
  let H = U(this, Jt)[$].fore, z = () => {
22844
22844
  };
22845
- const X = U(this, ci).isSkipping();
22845
+ const X = U(this, fi).isSkipping();
22846
22846
  !X && r && (H.renderStart(), z = () => H.renderEnd());
22847
22847
  const V = k ?? e, Y = () => {
22848
22848
  var ft, mt;
22849
- const lt = U(this, fi)[V];
22850
- lt && (z(), delete U(this, fi)[V], (ft = lt.tw) == null || ft.stop(), lt.resume && this.main.resume(), (mt = lt.onEnd) == null || mt.call(lt));
22849
+ const lt = U(this, di)[V];
22850
+ lt && (z(), delete U(this, di)[V], (ft = lt.tw) == null || ft.stop(), lt.resume && this.main.resume(), (mt = lt.onEnd) == null || mt.call(lt));
22851
22851
  }, q = cnvTweenArg(t, H), W = X ? 0 : argChk_Num(t, "time", NaN), Z = CmnTween.ease(D), tt = argChk_Num(t, "repeat", 1), J = tt > 0 ? tt - 1 : 1 / 0, it = argChk_Boolean(t, "yoyo", !1), at = argChk_Num(t, "delay", 0), st = new Tween(H).to(q, W).easing(Z).repeat(J).yoyo(it).delay(at);
22852
22852
  let ht = st;
22853
22853
  if (N) {
@@ -22872,75 +22872,75 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
22872
22872
  CmnLib.debugLog && console.groupEnd();
22873
22873
  }
22874
22874
  if (ht.onComplete(Y), B) {
22875
- const lt = U(this, fi)[B ?? ""];
22875
+ const lt = U(this, di)[B ?? ""];
22876
22876
  if (!(lt != null && lt.tw))
22877
22877
  throw `${B}は存在しない・または終了したトゥイーンです`;
22878
22878
  delete lt.onEnd, lt.tw.chain(st);
22879
22879
  } else
22880
22880
  st.start();
22881
22881
  const ot = argChk_Boolean(t, "arrive", !1), nt = argChk_Boolean(t, "backlay", !1);
22882
- return U(this, fi)[V] = { tw: ht, resume: !1, onEnd: () => {
22882
+ return U(this, di)[V] = { tw: ht, resume: !1, onEnd: () => {
22883
22883
  if (ot && Object.assign(H, q), nt) {
22884
22884
  const lt = U(this, Jt)[$].back.spLay;
22885
22885
  for (const ft of Object.keys(hMemberCnt))
22886
22886
  lt[ft] = H[ft];
22887
22887
  }
22888
22888
  } }, !1;
22889
- }, $l = new WeakSet(), zf = function(t) {
22889
+ }, $l = new WeakSet(), Yf = function(t) {
22890
22890
  const { layer: e = "", id: r, name: N } = t, k = r ? `frm
22891
22891
  ${r}` : N ?? e;
22892
22892
  if (!k)
22893
22893
  throw "トゥイーンが指定されていません";
22894
- const D = U(this, fi)[k];
22895
- return D != null && D.tw ? D.resume = U(this, ci).waitEvent(t, () => {
22894
+ const D = U(this, di)[k];
22895
+ return D != null && D.tw ? D.resume = U(this, fi).waitEvent(t, () => {
22896
22896
  var B;
22897
22897
  return (B = D.tw) == null ? void 0 : B.end();
22898
22898
  }) : !1;
22899
- }, jl = new WeakSet(), Vf = function(t) {
22899
+ }, jl = new WeakSet(), Wf = function(t) {
22900
22900
  var D, B;
22901
22901
  const { layer: e = "", id: r, name: N } = t, k = r ? `frm
22902
22902
  ${r}` : N ?? e;
22903
22903
  if (!k)
22904
22904
  throw "トゥイーンが指定されていません";
22905
- return (B = (D = U(this, fi)[k]) == null ? void 0 : D.tw) == null || B.end(), !1;
22906
- }, Hl = new WeakSet(), Xf = function(t) {
22905
+ return (B = (D = U(this, di)[k]) == null ? void 0 : D.tw) == null || B.end(), !1;
22906
+ }, Hl = new WeakSet(), qf = function(t) {
22907
22907
  var D, B;
22908
22908
  const { layer: e = "", id: r, name: N } = t, k = r ? `frm
22909
22909
  ${r}` : N ?? e;
22910
22910
  if (!k)
22911
22911
  throw "トゥイーンが指定されていません";
22912
- return (B = (D = U(this, fi)[k]) == null ? void 0 : D.tw) == null || B.pause(), !1;
22913
- }, zl = new WeakSet(), Yf = function(t) {
22912
+ return (B = (D = U(this, di)[k]) == null ? void 0 : D.tw) == null || B.pause(), !1;
22913
+ }, zl = new WeakSet(), Zf = function(t) {
22914
22914
  var D, B;
22915
22915
  const { layer: e = "", id: r, name: N } = t, k = r ? `frm
22916
22916
  ${r}` : N ?? e;
22917
22917
  if (!k)
22918
22918
  throw "トゥイーンが指定されていません";
22919
- return (B = (D = U(this, fi)[k]) == null ? void 0 : D.tw) == null || B.resume(), !1;
22919
+ return (B = (D = U(this, di)[k]) == null ? void 0 : D.tw) == null || B.resume(), !1;
22920
22920
  }, Ur = new WeakMap(), Dn = new WeakSet(), da = function(t) {
22921
22921
  const { text: e } = t;
22922
22922
  if (!e)
22923
22923
  throw "textは必須です";
22924
- const r = U(this, di).call(this, t);
22925
- delete t.text, U(this, ci).isSkipping() ? t.wait = 0 : "wait" in t && argChk_Num(t, "wait", NaN);
22924
+ const r = U(this, pi).call(this, t);
22925
+ delete t.text, U(this, fi).isSkipping() ? t.wait = 0 : "wait" in t && argChk_Num(t, "wait", NaN);
22926
22926
  const N = encodeURIComponent(JSON.stringify(t));
22927
- U(this, ti).call(this, "add|" + N, r);
22927
+ U(this, ei).call(this, "add|" + N, r);
22928
22928
  const k = argChk_Boolean(t, "record", !0), D = this.val.doRecLog();
22929
22929
  return k || this.val.setVal_Nochk("save", "sn.doRecLog", k), r.tagCh(e.replaceAll("[r]", `
22930
- `)), this.val.setVal_Nochk("save", "sn.doRecLog", D), U(this, ti).call(this, "add_close|", r), !1;
22931
- }, di = new WeakMap(), Vl = new WeakSet(), Wf = function(t) {
22930
+ `)), this.val.setVal_Nochk("save", "sn.doRecLog", D), U(this, ei).call(this, "add_close|", r), !1;
22931
+ }, pi = new WeakMap(), Vl = new WeakSet(), Kf = function(t) {
22932
22932
  const e = et(this, Gr, as).call(this, t, U(this, Zi)), N = U(this, Jt)[e].getPage(t);
22933
22933
  if (!(N instanceof TxtLayer))
22934
22934
  throw e + "はTxtLayerではありません";
22935
22935
  return N;
22936
- }, Ao = new WeakMap(), Xl = new WeakSet(), qf = function(t) {
22936
+ }, Ao = new WeakMap(), Xl = new WeakSet(), Jf = function(t) {
22937
22937
  const { layer: e } = t;
22938
22938
  if (!e)
22939
22939
  throw "[current] layerは必須です";
22940
22940
  if (Q(this, Ki, U(this, Jt)[e]), !(U(this, Ki).getPage(t) instanceof TxtLayer))
22941
22941
  throw `${e}はTxtLayerではありません`;
22942
22942
  this.recPagebreak(), Q(this, Zi, e), this.val.setVal_Nochk("save", "const.sn.mesLayer", e);
22943
- for (const r of et(this, Xe, ai).call(this)) {
22943
+ for (const r of et(this, Ye, oi).call(this)) {
22944
22944
  const N = U(this, Jt)[r];
22945
22945
  N.fore instanceof TxtLayer && (N.fore.isCur = N.back.isCur = r === e);
22946
22946
  }
@@ -22952,55 +22952,55 @@ ${r}` : N ?? e;
22952
22952
  if (!(r in U(this, Jt)))
22953
22953
  throw "属性 layer【" + r + "】が不正です。レイヤーがありません";
22954
22954
  return t.layer = r;
22955
- }, Ge = new WeakMap(), Ji = new WeakMap(), Yl = new WeakSet(), Zf = function(t) {
22956
- const e = U(this, di).call(this, t);
22955
+ }, $e = new WeakMap(), Ji = new WeakMap(), Yl = new WeakSet(), Qf = function(t) {
22956
+ const e = U(this, pi).call(this, t);
22957
22957
  return t.layer === U(this, Zi) && t.page === "fore" && this.recPagebreak(), e.clearText(), !1;
22958
- }, Wl = new WeakSet(), Kf = function(t) {
22959
- return U(this, ti).call(this, "endlink|", U(this, di).call(this, t)), !1;
22960
- }, ql = new WeakSet(), Jf = function(t) {
22958
+ }, Wl = new WeakSet(), td = function(t) {
22959
+ return U(this, ei).call(this, "endlink|", U(this, pi).call(this, t)), !1;
22960
+ }, ql = new WeakSet(), ed = function(t) {
22961
22961
  return argChk_Boolean(t, "rec_page_break", !0) && this.recPagebreak(), U(this, Ki) && (U(this, Ki).fore.clearLay(t), U(this, Ki).back.clearLay(t)), !1;
22962
- }, Zl = new WeakSet(), Qf = function(t) {
22962
+ }, Zl = new WeakSet(), id = function(t) {
22963
22963
  if (!t.pic)
22964
22964
  throw "[graph] picは必須です";
22965
22965
  const e = encodeURIComponent(JSON.stringify(t));
22966
- return U(this, ti).call(this, "grp|" + e, U(this, di).call(this, t)), !1;
22967
- }, Kl = new WeakSet(), td = function(t) {
22966
+ return U(this, ei).call(this, "grp|" + e, U(this, pi).call(this, t)), !1;
22967
+ }, Kl = new WeakSet(), rd = function(t) {
22968
22968
  if (!t.fn && !t.label && !t.url)
22969
22969
  throw "fnまたはlabelまたはurlは必須です";
22970
22970
  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);
22971
22971
  const e = encodeURIComponent(JSON.stringify(t));
22972
- return U(this, ti).call(this, "link|" + e, U(this, di).call(this, t)), !1;
22973
- }, Jl = new WeakSet(), ed = function(t) {
22972
+ return U(this, ei).call(this, "link|" + e, U(this, pi).call(this, t)), !1;
22973
+ }, Jl = new WeakSet(), nd = function(t) {
22974
22974
  return t.text = `
22975
22975
  `, et(this, Dn, da).call(this, t);
22976
- }, Ql = new WeakSet(), id = function(t) {
22976
+ }, Ql = new WeakSet(), sd = function(t) {
22977
22977
  return et(this, Lo, vc).call(this, { ...t, text: "[r]" });
22978
22978
  }, Lo = new WeakSet(), vc = function(t) {
22979
- return Q(this, Ge, { ...t, text: U(this, Ge).text }), t.text ? (t.record = !0, t.style ?? (t.style = ""), t.style += "display: none;", t.wait = 0, et(this, Dn, da).call(this, t)) : !1;
22980
- }, tu = new WeakSet(), rd = function(t) {
22981
- return Q(this, Ji, []), Q(this, Ge, { text: t.text ?? "" }), this.val.setVal_Nochk(
22979
+ return Q(this, $e, { ...t, text: U(this, $e).text }), t.text ? (t.record = !0, t.style ?? (t.style = ""), t.style += "display: none;", t.wait = 0, et(this, Dn, da).call(this, t)) : !1;
22980
+ }, tu = new WeakSet(), ad = function(t) {
22981
+ return Q(this, Ji, []), Q(this, $e, { text: t.text ?? "" }), this.val.setVal_Nochk(
22982
22982
  "save",
22983
22983
  "const.sn.sLog",
22984
22984
  t.text ? `[{text:"${t.text}"}]` : "[]"
22985
22985
  ), !1;
22986
- }, eu = new WeakSet(), nd = function(t) {
22986
+ }, eu = new WeakSet(), od = function(t) {
22987
22987
  const { t: e, r } = t;
22988
22988
  if (!e)
22989
22989
  throw "[ruby2] tは必須です";
22990
22990
  if (!r)
22991
22991
  throw "[ruby2] rは必須です";
22992
22992
  return t.text = "|" + encodeURIComponent(e) + "《" + encodeURIComponent(r) + "》", delete t.t, delete t.r, et(this, Dn, da).call(this, t);
22993
- }, iu = new WeakSet(), sd = function(t) {
22993
+ }, iu = new WeakSet(), hd = function(t) {
22994
22994
  const e = encodeURIComponent(JSON.stringify(t));
22995
- return U(this, ti).call(this, "span|" + e, U(this, di).call(this, t)), !1;
22996
- }, ru = new WeakSet(), ad = function(t) {
22995
+ return U(this, ei).call(this, "span|" + e, U(this, pi).call(this, t)), !1;
22996
+ }, ru = new WeakSet(), ld = function(t) {
22997
22997
  if (!t.t)
22998
22998
  throw "[tcy] tは必須です";
22999
22999
  const e = encodeURIComponent(JSON.stringify(t));
23000
- return U(this, ti).call(this, "tcy|" + e, U(this, di).call(this, t)), !1;
23001
- }, nu = new WeakSet(), od = function(t) {
23000
+ return U(this, ei).call(this, "tcy|" + e, U(this, pi).call(this, t)), !1;
23001
+ }, nu = new WeakSet(), ud = function(t) {
23002
23002
  console.group("🥟 [dump_lay]");
23003
- for (const e of et(this, Xe, ai).call(this, t.layer)) {
23003
+ for (const e of et(this, Ye, oi).call(this, t.layer)) {
23004
23004
  const r = U(this, Jt)[e];
23005
23005
  try {
23006
23006
  console.info(
@@ -23013,11 +23013,11 @@ ${r}` : N ?? e;
23013
23013
  }
23014
23014
  }
23015
23015
  return console.groupEnd(), !1;
23016
- }, su = new WeakSet(), hd = function(t) {
23016
+ }, su = new WeakSet(), cd = function(t) {
23017
23017
  const e = et(this, Gr, as).call(this, t, U(this, Zi)), r = argChk_Boolean(t, "enabled", !0);
23018
- return U(this, di).call(this, t).enabled = r, this.val.setVal_Nochk("save", "const.sn.layer." + e + ".enabled", r), !1;
23019
- }, au = new WeakSet(), ld = function(t) {
23020
- return Pages.argChk_page(t, "back"), t.fn ?? (t.fn = this.scrItr.scriptFn), U(this, di).call(this, t).addButton(t), this.scrItr.recodeDesign(t), !1;
23018
+ return U(this, pi).call(this, t).enabled = r, this.val.setVal_Nochk("save", "const.sn.layer." + e + ".enabled", r), !1;
23019
+ }, au = new WeakSet(), fd = function(t) {
23020
+ return Pages.argChk_page(t, "back"), t.fn ?? (t.fn = this.scrItr.scriptFn), U(this, pi).call(this, t).addButton(t), this.scrItr.recodeDesign(t), !1;
23021
23021
  }, // 11 match 301 step (0.1ms) PCRE2 https://regex101.com/r/reinpq/1
23022
23022
  // List ${x}${x2}/${y}${y2}/${o}${o2}=${json}\n
23023
23023
  /*
@@ -23037,7 +23037,7 @@ ${r}` : N ?? e;
23037
23037
  */
23038
23038
  pt(LayerMng, "REG_TSY_PATH", /\(\s*(?:(?<x>[-=\d\.]+)|(['"])(?<x2>.*?)\2)?(?:\s*,\s*(?:(?<y>[-=\d\.]+)|(['"])(?<y2>.*?)\5)?(?:\s*,\s*(?:(?<o>[-=\d\.]+)|(['"])(?<o2>.*?)\8))?)?|(?<json>\{[^{}]*})/g), // // 文字・文字レイヤ
23039
23039
  K(LayerMng, Ur, 10);
23040
- var _e, de, Xs, ou, ud, No, Bn, pa;
23040
+ var _e, de, Xs, ou, dd, No, Bn, pa;
23041
23041
  class FocusMng {
23042
23042
  constructor() {
23043
23043
  K(this, ou);
@@ -23081,7 +23081,7 @@ class FocusMng {
23081
23081
  N = () => D.checked = !D.checked;
23082
23082
  break;
23083
23083
  case "":
23084
- t.querySelectorAll("input[type]").length > 0 && (N = (B) => et(this, ou, ud).call(this, t, B.key), k = () => !1);
23084
+ t.querySelectorAll("input[type]").length > 0 && (N = (B) => et(this, ou, dd).call(this, t, B.key), k = () => !1);
23085
23085
  break;
23086
23086
  case "range":
23087
23087
  N = (B) => {
@@ -23110,7 +23110,7 @@ class FocusMng {
23110
23110
  }
23111
23111
  remove(t) {
23112
23112
  const e = U(this, _e).findIndex((r) => r.btn === t);
23113
- e < 0 || (U(this, _e).splice(e, 1), U(this, _e).length === 0 ? Q(this, de, -1) : e <= U(this, de) && --Me(this, de)._);
23113
+ e < 0 || (U(this, _e).splice(e, 1), U(this, _e).length === 0 ? Q(this, de, -1) : e <= U(this, de) && --Ie(this, de)._);
23114
23114
  }
23115
23115
  isFocus(t) {
23116
23116
  return U(this, de) < 0 ? !1 : U(this, _e)[U(this, de)].btn === t;
@@ -23119,7 +23119,7 @@ class FocusMng {
23119
23119
  et(this, Bn, pa).call(this);
23120
23120
  const t = U(this, _e).length;
23121
23121
  if (t !== 0) {
23122
- --Me(this, de)._ < 0 && Q(this, de, t - 1);
23122
+ --Ie(this, de)._ < 0 && Q(this, de, t - 1);
23123
23123
  for (let e = t; e >= 1; --e) {
23124
23124
  const r = (U(this, de) + e) % t;
23125
23125
  if (U(this, _e)[r].on()) {
@@ -23134,7 +23134,7 @@ class FocusMng {
23134
23134
  et(this, Bn, pa).call(this);
23135
23135
  const t = U(this, _e).length;
23136
23136
  if (t !== 0) {
23137
- ++Me(this, de)._ >= t && Q(this, de, 0);
23137
+ ++Ie(this, de)._ >= t && Q(this, de, 0);
23138
23138
  for (let e = 0; e < t; ++e) {
23139
23139
  const r = (U(this, de) + e) % t;
23140
23140
  if (U(this, _e)[r].on()) {
@@ -23156,7 +23156,7 @@ class FocusMng {
23156
23156
  et(this, Bn, pa).call(this), Q(this, de, -1), globalThis.focus();
23157
23157
  }
23158
23158
  }
23159
- _e = new WeakMap(), de = new WeakMap(), Xs = new WeakMap(), ou = new WeakSet(), ud = function(t, e) {
23159
+ _e = new WeakMap(), de = new WeakMap(), Xs = new WeakMap(), ou = new WeakSet(), dd = function(t, e) {
23160
23160
  const r = t.querySelectorAll("input[type]"), N = r.length;
23161
23161
  for (let k = 0; k < N; ++k)
23162
23162
  if (r[k].checked) {
@@ -23169,22 +23169,22 @@ _e = new WeakMap(), de = new WeakMap(), Xs = new WeakMap(), ou = new WeakSet(),
23169
23169
  !(e.btn instanceof Container) || e.btn.parent ? e.off() : U(this, _e).splice(t, 1);
23170
23170
  }
23171
23171
  };
23172
- let chgSt, main$2, val, layMng, scrItr, sndMng, hTag, fcs, goTxt, procWheel4wle, elmHint, tagL_enabled = !0, skip_all = !1, skip_enabled = !1, auto_enabled = !1, hLocalEvt2Fnc = {}, hGlobalEvt2Fnc = {};
23172
+ let chgSt, main$2, val, layMng, scrItr, sndMng, hTag, fcs, goTxt, procWheel4wle, elmHint, cfg, tagL_enabled = !0, skip_all = !1, skip_enabled = !1, auto_enabled = !1, hLocalEvt2Fnc = {}, hGlobalEvt2Fnc = {};
23173
23173
  function cancelAutoSkip() {
23174
23174
  tagL_enabled || (tagL_enabled = !0, val.setVal_Nochk("tmp", "sn.tagL.enabled", !0)), skip_enabled && (skip_enabled = !1, val.setVal_Nochk("tmp", "sn.skip.enabled", !1)), auto_enabled && (auto_enabled = !1, val.setVal_Nochk("tmp", "sn.auto.enabled", !1));
23175
23175
  }
23176
23176
  var $r, Ys, Ch;
23177
- const Ae = class {
23177
+ const Se = class {
23178
23178
  constructor(t) {
23179
23179
  K(this, Ys);
23180
- pt(this, "wait", (t) => Rs_Wait.go(t));
23180
+ pt(this, "wait", (t) => skip_enabled ? (!skip_all && !scrItr.isNextKidoku && cancelAutoSkip(), !1) : Rs_Wait.go(t));
23181
23181
  pt(this, "waitclick", (t) => Rs_WaitClick.go(t));
23182
23182
  K(this, $r, new EventListenerCtn());
23183
23183
  pt(this, "isWait", !1);
23184
23184
  this.hArg = t, chgSt(this);
23185
23185
  }
23186
- static init(t, e, r, N, k, D, B, $, H, z) {
23187
- chgSt = t, main$2 = e, val = r, layMng = N, scrItr = k, sndMng = D, hTag = B, fcs = $, goTxt = () => layMng.goTxt(), procWheel4wle = H, elmHint = z, new RsEvtRsv(), val.defTmp("sn.tagL.enabled", () => tagL_enabled), val.defValTrg("tmp:sn.tagL.enabled", (X, V) => tagL_enabled = String(V) !== "false"), val.defTmp("sn.skip.all", () => skip_all), val.defValTrg("tmp:sn.skip.all", (X, V) => skip_all = String(V) !== "false"), val.defTmp("sn.skip.enabled", () => skip_enabled), val.defValTrg("tmp:sn.skip.enabled", (X, V) => skip_enabled = String(V) !== "false"), val.defTmp("sn.auto.enabled", () => auto_enabled), val.defValTrg("tmp:sn.auto.enabled", (X, V) => auto_enabled = String(V) !== "false"), hLocalEvt2Fnc = {}, hGlobalEvt2Fnc = {};
23186
+ static init(t, e, r, N, k, D, B, $, H, z, X) {
23187
+ chgSt = t, main$2 = e, val = r, layMng = N, scrItr = k, sndMng = D, hTag = B, fcs = $, goTxt = () => layMng.goTxt(), procWheel4wle = H, elmHint = z, cfg = X, new RsEvtRsv(), val.defTmp("sn.tagL.enabled", () => tagL_enabled), val.defValTrg("tmp:sn.tagL.enabled", (V, Y) => tagL_enabled = String(Y) !== "false"), val.defTmp("sn.skip.all", () => skip_all), val.defValTrg("tmp:sn.skip.all", (V, Y) => skip_all = String(Y) !== "false"), val.defTmp("sn.skip.enabled", () => skip_enabled), val.defValTrg("tmp:sn.skip.enabled", (V, Y) => skip_enabled = String(Y) !== "false"), val.defTmp("sn.auto.enabled", () => auto_enabled), val.defValTrg("tmp:sn.auto.enabled", (V, Y) => auto_enabled = String(Y) !== "false"), hLocalEvt2Fnc = {}, hGlobalEvt2Fnc = {};
23188
23188
  }
23189
23189
  get isSkipping() {
23190
23190
  return skip_enabled;
@@ -23208,19 +23208,19 @@ const Ae = class {
23208
23208
  if (t.slice(0, 4) !== "dom=")
23209
23209
  return;
23210
23210
  const N = e ? hGlobalEvt2Fnc[r] : hLocalEvt2Fnc[r];
23211
- Ae.getHtmlElmList(t).el.forEach((k) => k.removeEventListener("click", N)), e ? delete hGlobalEvt2Fnc[r] : delete hLocalEvt2Fnc[r];
23211
+ Se.getHtmlElmList(t).el.forEach((k) => k.removeEventListener("click", N)), e ? delete hGlobalEvt2Fnc[r] : delete hLocalEvt2Fnc[r];
23212
23212
  }
23213
23213
  static clear_event(t) {
23214
23214
  const e = argChk_Boolean(t, "global", !1), r = e ? hGlobalEvt2Fnc : hLocalEvt2Fnc;
23215
23215
  for (const [N, k] of Object.entries(r))
23216
- N.slice(0, 4) === "dom=" && Ae.getHtmlElmList(N).el.forEach((D) => D.removeEventListener("click", k));
23216
+ N.slice(0, 4) === "dom=" && Se.getHtmlElmList(N).el.forEach((D) => D.removeEventListener("click", k));
23217
23217
  return e ? hGlobalEvt2Fnc = {} : hLocalEvt2Fnc = {}, !1;
23218
23218
  }
23219
23219
  s(t) {
23220
23220
  return et(this, Ys, Ch).call(this), Rs_S.go(t);
23221
23221
  }
23222
23222
  waitTxtAndTimer(t, e) {
23223
- return Ae.eeTextBreak.once(Ae.NOTICE_COMP_TXT, () => {
23223
+ return Se.eeTextBreak.once(Se.NOTICE_COMP_TXT, () => {
23224
23224
  if (this.finishLimitedEvent(), t === 0) {
23225
23225
  this.onFinish();
23226
23226
  return;
@@ -23232,11 +23232,11 @@ const Ae = class {
23232
23232
  r.stop(), remove$6(r), this.onUserAct();
23233
23233
  });
23234
23234
  }), this.waitLimitedEvent(e, () => {
23235
- Ae.eeTextBreak.off(Ae.NOTICE_COMP_TXT), this.onUserAct();
23235
+ Se.eeTextBreak.off(Se.NOTICE_COMP_TXT), this.onUserAct();
23236
23236
  });
23237
23237
  }
23238
23238
  static noticeCompTxt() {
23239
- Ae.eeTextBreak.emit(Ae.NOTICE_COMP_TXT);
23239
+ Se.eeTextBreak.emit(Se.NOTICE_COMP_TXT);
23240
23240
  }
23241
23241
  static popLocalEvts() {
23242
23242
  const t = hLocalEvt2Fnc;
@@ -23251,7 +23251,7 @@ const Ae = class {
23251
23251
  // hTag.event()は内部で使わず、こうする
23252
23252
  hLocalEvt2Fnc.enter = hLocalEvt2Fnc.arrowdown = // hTag.event({key:'downwheel', breakout: fnc});
23253
23253
  // hTag.event()は内部で使わず、こうする
23254
- hLocalEvt2Fnc["wheel.y>0"] = () => this.onUserAct() : (delete hLocalEvt2Fnc.click, delete hLocalEvt2Fnc.enter, delete hLocalEvt2Fnc.arrowdown, delete hLocalEvt2Fnc["wheel.y>0"]), Ae.getEvt2Fnc = e ? (r) => hLocalEvt2Fnc[r] ?? hGlobalEvt2Fnc[r] : (r) => hLocalEvt2Fnc[r], scrItr.noticeWait(), CmnLib.debugLog) {
23254
+ hLocalEvt2Fnc["wheel.y>0"] = () => this.onUserAct() : (delete hLocalEvt2Fnc.click, delete hLocalEvt2Fnc.enter, delete hLocalEvt2Fnc.arrowdown, delete hLocalEvt2Fnc["wheel.y>0"]), Se.getEvt2Fnc = e ? (r) => hLocalEvt2Fnc[r] ?? hGlobalEvt2Fnc[r] : (r) => hLocalEvt2Fnc[r], scrItr.noticeWait(), CmnLib.debugLog) {
23255
23255
  const r = /* @__PURE__ */ Object.create(null);
23256
23256
  r.local = Object.keys(hLocalEvt2Fnc), r.global = Object.keys(hGlobalEvt2Fnc), console.log("🎍 wait event... %o", r);
23257
23257
  }
@@ -23310,11 +23310,11 @@ const Ae = class {
23310
23310
  page(t) {
23311
23311
  if (!("clear" in t || "style" in t || "to" in t))
23312
23312
  throw "clear か style か to は必須です";
23313
- argChk_Boolean(t, "clear", !1) && (Ae.aPage = []);
23313
+ argChk_Boolean(t, "clear", !1) && (Se.aPage = []);
23314
23314
  const { to: e, style: r } = t;
23315
- switch (r && (Ae.stylePage = r), e) {
23315
+ switch (r && (Se.stylePage = r), e) {
23316
23316
  case "prev":
23317
- if (Ae.aPage.length < 2)
23317
+ if (Se.aPage.length < 2)
23318
23318
  return !1;
23319
23319
  break;
23320
23320
  default:
@@ -23323,19 +23323,23 @@ const Ae = class {
23323
23323
  return RsPagination.go(t);
23324
23324
  }
23325
23325
  };
23326
- let ReadState = Ae;
23326
+ let ReadState = Se;
23327
23327
  $r = new WeakMap(), Ys = new WeakSet(), Ch = function(t = !1) {
23328
- var k;
23328
+ var D;
23329
23329
  if (!val.getVal("save:sn.doRecLog"))
23330
23330
  return;
23331
23331
  const { fn: e, idx: r } = scrItr.nowScrIdx(), N = r - 1 + ":" + e;
23332
- Ae.aPage.findIndex((D) => D.key === N) > -1 || ((k = Ae.aPage.at(-1)) != null && k.week && Ae.aPage.pop(), Ae.aPage.push({
23332
+ if (Se.aPage.findIndex((B) => B.key === N) > -1)
23333
+ return;
23334
+ (D = Se.aPage.at(-1)) != null && D.week && Se.aPage.pop();
23335
+ const k = cfg.oCfg.log.max_len;
23336
+ Se.aPage.push({
23333
23337
  key: N,
23334
23338
  week: t,
23335
23339
  fn: val.getVal("save:const.sn.scriptFn", e),
23336
23340
  index: val.getVal("save:const.sn.scriptIdx", 0),
23337
23341
  mark: scrItr.nowMark()
23338
- }));
23342
+ }) > k && (Se.aPage = Se.aPage.slice(-k));
23339
23343
  }, pt(ReadState, "getEvt2Fnc", (t) => hLocalEvt2Fnc[t] ?? hGlobalEvt2Fnc[t]), pt(ReadState, "eeTextBreak", new i$1()), // static必須
23340
23344
  pt(ReadState, "NOTICE_COMP_TXT", "sn:notice_comp_txt"), pt(ReadState, "aPage", []), pt(ReadState, "stylePage", "color: yellow;");
23341
23345
  class RsEvtRsv extends ReadState {
@@ -23380,19 +23384,22 @@ const Lc = class extends ReadState {
23380
23384
  };
23381
23385
  let Rs_S = Lc;
23382
23386
  pt(Rs_S, "go", (e) => new Lc(e).waitTxtAndTimer(0, {}));
23383
- class Rs_Wait extends ReadState {
23384
- static go(t) {
23385
- const e = argChk_Num(t, "time", NaN);
23386
- return new Rs_Wait(t).waitTxtAndTimer(skip_enabled ? 0 : e, t);
23387
- }
23387
+ const Nc = class extends ReadState {
23388
+ // 魔法数字、見えるぐらい少し待つ
23388
23389
  onFinish() {
23389
23390
  new RsEvtRsv();
23390
23391
  }
23391
23392
  onUserAct() {
23392
23393
  this.onFinish();
23393
23394
  }
23394
- }
23395
- const Nc = class extends ReadState {
23395
+ };
23396
+ let Rs_Wait = Nc;
23397
+ // 文字表示終了待ち→[wait]
23398
+ pt(Rs_Wait, "go", (t) => {
23399
+ const e = argChk_Num(t, "time", NaN);
23400
+ return new Nc(t).waitTxtAndTimer(e, t);
23401
+ });
23402
+ const kc = class extends ReadState {
23396
23403
  onFinish() {
23397
23404
  Rs_L_Wait.go(this.hArg);
23398
23405
  }
@@ -23400,10 +23407,10 @@ const Nc = class extends ReadState {
23400
23407
  this.onFinish();
23401
23408
  }
23402
23409
  };
23403
- let Rs_L = Nc;
23410
+ let Rs_L = kc;
23404
23411
  // 文字表示終了待ち(そして[l])
23405
- pt(Rs_L, "go", (t) => new Nc(t).waitTxtAndTimer(0, t));
23406
- const kc = class extends ReadState {
23412
+ pt(Rs_L, "go", (t) => new kc(t).waitTxtAndTimer(0, t));
23413
+ const Dc = class extends ReadState {
23407
23414
  onFinish() {
23408
23415
  new RsEvtRsv();
23409
23416
  }
@@ -23411,24 +23418,25 @@ const kc = class extends ReadState {
23411
23418
  Rs_L_Wait.go(this.hArg);
23412
23419
  }
23413
23420
  };
23414
- let Rs_L_AutoSkip = kc;
23421
+ let Rs_L_AutoSkip = Dc;
23415
23422
  // 文字表示終了待ち(そして[l]auto/skipウェイト待ち)
23416
- pt(Rs_L_AutoSkip, "go", (t, e) => new kc(e).waitTxtAndTimer(t, e));
23417
- class Rs_L_Wait extends Rs_S {
23418
- // [p] クリック待ち
23419
- static go(t) {
23420
- argChk_Boolean(t, "visible", !0) && (layMng.breakLine(t), goTxt());
23421
- const e = argChk_Boolean(t, "global", !0);
23422
- return new Rs_L_Wait(t).waitEventBase(!0, e), !0;
23423
- }
23423
+ pt(Rs_L_AutoSkip, "go", (t, e) => new Dc(e).waitTxtAndTimer(t, e));
23424
+ const Fc = class extends Rs_S {
23424
23425
  onFinish() {
23425
23426
  new RsEvtRsv();
23426
23427
  }
23427
23428
  onUserAct() {
23428
23429
  new RsEvtRsv();
23429
23430
  }
23430
- }
23431
- const Dc = class extends ReadState {
23431
+ };
23432
+ let Rs_L_Wait = Fc;
23433
+ // [p] クリック待ち
23434
+ pt(Rs_L_Wait, "go", (t) => {
23435
+ argChk_Boolean(t, "visible", !0) && (layMng.breakLine(t), goTxt());
23436
+ const e = argChk_Boolean(t, "global", !0);
23437
+ return new Fc(t).waitEventBase(!0, e), !0;
23438
+ });
23439
+ const Bc = class extends ReadState {
23432
23440
  onFinish() {
23433
23441
  Rs_P_Wait.go(this.hArg);
23434
23442
  }
@@ -23436,10 +23444,10 @@ const Dc = class extends ReadState {
23436
23444
  this.onFinish();
23437
23445
  }
23438
23446
  };
23439
- let Rs_P = Dc;
23447
+ let Rs_P = Bc;
23440
23448
  // 文字表示終了待ち(そして[p])
23441
- pt(Rs_P, "go", (t) => new Dc(t).waitTxtAndTimer(0, t));
23442
- const Fc = class extends ReadState {
23449
+ pt(Rs_P, "go", (t) => new Bc(t).waitTxtAndTimer(0, t));
23450
+ const Uc = class extends ReadState {
23443
23451
  onFinish() {
23444
23452
  new RsEvtRsv();
23445
23453
  }
@@ -23447,22 +23455,23 @@ const Fc = class extends ReadState {
23447
23455
  Rs_P_Wait.go(this.hArg);
23448
23456
  }
23449
23457
  };
23450
- let Rs_P_AutoSkip = Fc;
23458
+ let Rs_P_AutoSkip = Uc;
23451
23459
  // 文字表示終了待ち(そして[p]auto/skipウェイト待ち)
23452
- pt(Rs_P_AutoSkip, "go", (t, e) => new Fc(e).waitTxtAndTimer(t, e));
23453
- class Rs_P_Wait extends Rs_S {
23454
- // [p] クリック待ち
23455
- static go(t) {
23456
- argChk_Boolean(t, "visible", !0) && (layMng.breakPage(t), goTxt());
23457
- const e = argChk_Boolean(t, "global", !0);
23458
- return new Rs_P_Wait(t).waitEventBase(!0, e), !0;
23459
- }
23460
+ pt(Rs_P_AutoSkip, "go", (t, e) => new Uc(e).waitTxtAndTimer(t, e));
23461
+ const Gc = class extends Rs_S {
23460
23462
  // protected override onFinish() {}
23461
23463
  onUserAct() {
23462
23464
  argChk_Boolean(this.hArg, "er", !1) && hTag.er(this.hArg), sndMng.clearCache(), elmHint.hidden = !0, new RsEvtRsv();
23463
23465
  }
23464
- }
23465
- const Bc = class extends Rs_S {
23466
+ };
23467
+ let Rs_P_Wait = Gc;
23468
+ // [p] クリック待ち
23469
+ pt(Rs_P_Wait, "go", (t) => {
23470
+ argChk_Boolean(t, "visible", !0) && (layMng.breakPage(t), goTxt());
23471
+ const e = argChk_Boolean(t, "global", !0);
23472
+ return new Gc(t).waitEventBase(!0, e), !0;
23473
+ });
23474
+ const $c = class extends Rs_S {
23466
23475
  onFinish() {
23467
23476
  cancelAutoSkip();
23468
23477
  const t = argChk_Boolean(this.hArg, "global", !0);
@@ -23472,8 +23481,8 @@ const Bc = class extends Rs_S {
23472
23481
  new RsEvtRsv();
23473
23482
  }
23474
23483
  };
23475
- let Rs_WaitClick = Bc;
23476
- pt(Rs_WaitClick, "go", (t) => new Bc(t).waitTxtAndTimer(0, t));
23484
+ let Rs_WaitClick = $c;
23485
+ pt(Rs_WaitClick, "go", (t) => new $c(t).waitTxtAndTimer(0, t));
23477
23486
  class Rs_WaitAny extends Rs_S {
23478
23487
  constructor(t, e) {
23479
23488
  super(t), this.onFire = e;
@@ -23489,31 +23498,31 @@ class Rs_WaitAny extends Rs_S {
23489
23498
  this.onFire();
23490
23499
  }
23491
23500
  }
23492
- var pi;
23493
- const Uc = class extends Rs_S {
23501
+ var vi;
23502
+ const jc = class extends Rs_S {
23494
23503
  constructor() {
23495
23504
  super(...arguments);
23496
23505
  pt(this, "wait", () => !1);
23497
23506
  pt(this, "waitclick", () => !1);
23498
23507
  pt(this, "waitTxtAndTimer", () => !1);
23499
- K(this, pi, ReadState.aPage.length - 1);
23508
+ K(this, vi, ReadState.aPage.length - 1);
23500
23509
  }
23501
23510
  get isSkipping() {
23502
- return !ReadState.aPage[U(this, pi)].week;
23511
+ return !ReadState.aPage[U(this, vi)].week;
23503
23512
  }
23504
23513
  // return true で良いのだが、[l]でページ移動モードになったあと、[l]に戻ってモード終了してから、[p]に至る文字表示が瞬時表示になる対策
23505
23514
  s(e) {
23506
23515
  return Rs_S.go(e);
23507
23516
  }
23508
23517
  l(e) {
23509
- if (!ReadState.aPage[U(this, pi)].week)
23518
+ if (!ReadState.aPage[U(this, vi)].week)
23510
23519
  return !1;
23511
23520
  const r = ReadState.aPage.length;
23512
- return U(this, pi) === r - 1 ? Rs_L_Wait.go(e) : (argChk_Boolean(e, "visible", !0) && (layMng.breakLine(e), goTxt()), this.waitEventBase(!1, !0), !0);
23521
+ return U(this, vi) === r - 1 ? Rs_L_Wait.go(e) : (argChk_Boolean(e, "visible", !0) && (layMng.breakLine(e), goTxt()), this.waitEventBase(!1, !0), !0);
23513
23522
  }
23514
23523
  p(e) {
23515
23524
  const r = ReadState.aPage.length;
23516
- return U(this, pi) === r - 1 ? Rs_P_Wait.go(e) : (argChk_Boolean(e, "visible", !0) && (layMng.breakPage(e), goTxt()), this.waitEventBase(!1, !0), !0);
23525
+ return U(this, vi) === r - 1 ? Rs_P_Wait.go(e) : (argChk_Boolean(e, "visible", !0) && (layMng.breakPage(e), goTxt()), this.waitEventBase(!1, !0), !0);
23517
23526
  }
23518
23527
  page(e) {
23519
23528
  const { to: r } = e;
@@ -23522,23 +23531,23 @@ const Uc = class extends Rs_S {
23522
23531
  const N = ReadState.aPage.length;
23523
23532
  switch (r) {
23524
23533
  case "prev":
23525
- if (U(this, pi) === 0)
23534
+ if (U(this, vi) === 0)
23526
23535
  return !1;
23527
- --Me(this, pi)._;
23536
+ --Ie(this, vi)._;
23528
23537
  break;
23529
23538
  case "next":
23530
- if (U(this, pi) === N - 1)
23539
+ if (U(this, vi) === N - 1)
23531
23540
  return !1;
23532
- ++Me(this, pi)._;
23541
+ ++Ie(this, vi)._;
23533
23542
  break;
23534
23543
  default:
23535
23544
  throw `属性to「${r}」は異常です`;
23536
23545
  }
23537
- const { fn: k, index: D, mark: B } = ReadState.aPage[U(this, pi)];
23546
+ const { fn: k, index: D, mark: B } = ReadState.aPage[U(this, vi)];
23538
23547
  return scrItr.loadFromMark({
23539
23548
  fn: k,
23540
23549
  index: D,
23541
- style: U(this, pi) === N - 1 ? void 0 : ReadState.stylePage
23550
+ style: U(this, vi) === N - 1 ? void 0 : ReadState.stylePage
23542
23551
  //r_style までは不要か
23543
23552
  }, B);
23544
23553
  }
@@ -23547,8 +23556,8 @@ const Uc = class extends Rs_S {
23547
23556
  onUserAct() {
23548
23557
  }
23549
23558
  };
23550
- let RsPagination = Uc;
23551
- pi = new WeakMap(), pt(RsPagination, "go", (e) => new Uc(e).page(e));
23559
+ let RsPagination = jc;
23560
+ vi = new WeakMap(), pt(RsPagination, "go", (e) => new jc(e).page(e));
23552
23561
  var top = "top", bottom = "bottom", right = "right", left = "left", auto = "auto", basePlacements = [top, bottom, right, left], start = "start", end = "end", clippingParents = "clippingParents", viewport = "viewport", popper = "popper", reference = "reference", variationPlacements = /* @__PURE__ */ basePlacements.reduce(function(o, t) {
23553
23562
  return o.concat([t + "-" + start, t + "-" + end]);
23554
23563
  }, []), placements = /* @__PURE__ */ [].concat(basePlacements, [auto]).reduce(function(o, t) {
@@ -24247,8 +24256,8 @@ function preventOverflow(o) {
24247
24256
  ht[at] = Yt, wt[at] = Yt - Ot;
24248
24257
  }
24249
24258
  if (B) {
24250
- var _t, Ce = at === "x" ? top : left, ri = at === "x" ? bottom : right, Re = ht[st], mi = st === "y" ? "height" : "width", _i = Re + Z[Ce], Ze = Re - Z[ri], Bi = [top, left].indexOf(tt) !== -1, xe = (_t = mt == null ? void 0 : mt[st]) != null ? _t : 0, ge = Bi ? _i : Re - ot[mi] - nt[mi] - xe + ft.altAxis, le = Bi ? Re + ot[mi] + nt[mi] - xe - ft.altAxis : Ze, te = Y && Bi ? withinMaxClamp(ge, Re, le) : within(Y ? ge : _i, Re, Y ? le : Ze);
24251
- ht[st] = te, wt[st] = te - Re;
24259
+ var _t, Re = at === "x" ? top : left, ni = at === "x" ? bottom : right, Oe = ht[st], mi = st === "y" ? "height" : "width", _i = Oe + Z[Re], Ke = Oe - Z[ni], Bi = [top, left].indexOf(tt) !== -1, xe = (_t = mt == null ? void 0 : mt[st]) != null ? _t : 0, ge = Bi ? _i : Oe - ot[mi] - nt[mi] - xe + ft.altAxis, le = Bi ? Oe + ot[mi] + nt[mi] - xe - ft.altAxis : Ke, te = Y && Bi ? withinMaxClamp(ge, Oe, le) : within(Y ? ge : _i, Oe, Y ? le : Ke);
24260
+ ht[st] = te, wt[st] = te - Oe;
24252
24261
  }
24253
24262
  t.modifiersData[r] = wt;
24254
24263
  }
@@ -24454,7 +24463,7 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
24454
24463
  defaultModifiers
24455
24464
  });
24456
24465
  const { GamepadListener } = require("gamepad.js");
24457
- var Ye, jr, Le, We, ko, Do, mc, Fo, gc, Bo, yc, Ws, qs, Uo, bc, Go, De, Zs, Ks, $o, hu, cd, lu, fd, jo, xc, uu, dd, qe;
24466
+ var We, jr, Le, qe, ko, Do, mc, Fo, gc, Bo, yc, Ws, qs, Uo, bc, Go, De, Zs, Ks, $o, hu, pd, lu, vd, jo, xc, uu, md, Ze;
24458
24467
  class EventMng {
24459
24468
  constructor(t, e, r, N, k, D, B, $, H) {
24460
24469
  K(this, Do);
@@ -24471,13 +24480,13 @@ class EventMng {
24471
24480
  K(this, jo);
24472
24481
  // フォーカス移動
24473
24482
  K(this, uu);
24474
- K(this, Ye, new EventListenerCtn());
24483
+ K(this, We, new EventListenerCtn());
24475
24484
  K(this, jr, new GamepadListener({
24476
24485
  analog: !1,
24477
24486
  deadZone: 0.3
24478
24487
  }));
24479
24488
  K(this, Le, new FocusMng());
24480
- K(this, We, void 0);
24489
+ K(this, qe, void 0);
24481
24490
  K(this, ko, (t) => {
24482
24491
  });
24483
24492
  K(this, Ws, !1);
@@ -24503,7 +24512,7 @@ class EventMng {
24503
24512
  // 予約イベントの発生待ち
24504
24513
  pt(this, "waitEvent", (t, e) => Rs_WaitAny.waitEvent(t, e));
24505
24514
  // 0:no push 1:one push 2:push repeating
24506
- K(this, qe, {
24515
+ K(this, Ze, {
24507
24516
  Alt: 0,
24508
24517
  Meta: 0,
24509
24518
  // COMMANDキー
@@ -24517,10 +24526,10 @@ class EventMng {
24517
24526
  // AndroidのBackキーだと思う
24518
24527
  });
24519
24528
  var Z, tt;
24520
- if (this.cfg = t, this.hTag = e, this.appPixi = r, this.main = N, this.layMng = k, this.val = D, this.scrItr = $, this.sys = H, e.clear_event = (J) => ReadState.clear_event(J), e.event = (J) => et(this, lu, fd).call(this, J), e.l = (J) => U(this, We).l(J), e.p = (J) => U(this, We).p(J), e.s = (J) => U(this, We).s(J), e.set_cancel_skip = () => !1, e.set_focus = (J) => et(this, uu, dd).call(this, J), e.wait = (J) => U(this, We).wait(J), e.waitclick = (J) => U(this, We).waitclick(J), e.page = (J) => U(this, We).page(J), B.setEvtMng(this), $.setOtherObj(this, k), TxtLayer.setEvtMng(N, this, H), k.setEvtMng(this), H.setFire((J, it) => this.fire(J, it)), CmnLib.isDbg) {
24529
+ if (this.cfg = t, this.hTag = e, this.appPixi = r, this.main = N, this.layMng = k, this.val = D, this.scrItr = $, this.sys = H, e.clear_event = (J) => ReadState.clear_event(J), e.event = (J) => et(this, lu, vd).call(this, J), e.l = (J) => U(this, qe).l(J), e.p = (J) => U(this, qe).p(J), e.s = (J) => U(this, qe).s(J), e.set_cancel_skip = () => !1, e.set_focus = (J) => et(this, uu, md).call(this, J), e.wait = (J) => U(this, qe).wait(J), e.waitclick = (J) => U(this, qe).waitclick(J), e.page = (J) => U(this, qe).page(J), B.setEvtMng(this), $.setOtherObj(this, k), TxtLayer.setEvtMng(N, this, H), k.setEvtMng(this), H.setFire((J, it) => this.fire(J, it)), CmnLib.isDbg) {
24521
24530
  const J = {
24522
24531
  pause: () => {
24523
- if (!U(this, We).isWait)
24532
+ if (!U(this, qe).isWait)
24524
24533
  return;
24525
24534
  const it = {};
24526
24535
  $.recodeDesign(it), H.callHook("_enterDesign", it), H.send2Dbg("_enterDesign", it);
@@ -24574,7 +24583,7 @@ class EventMng {
24574
24583
  <div class="sn_hint" role="tooltip">
24575
24584
  <span>Dummy</span>
24576
24585
  <div class="sn_hint_ar" data-popper-arrow></div>
24577
- </div>`), Q(this, De, document.querySelector(".sn_hint")), Q(this, Zs, U(this, De).querySelector("span")), Q(this, Ks, createPopper(U(this, Go), U(this, De))), U(this, De).hidden = !0, r.stage.interactive = !0, CmnLib.isMobile ? r.stage.on("pointerdown", (J) => this.fire("click", J)) : U(this, Ye).add(r.stage, "pointerdown", (J) => {
24586
+ </div>`), Q(this, De, document.querySelector(".sn_hint")), Q(this, Zs, U(this, De).querySelector("span")), Q(this, Ks, createPopper(U(this, Go), U(this, De))), U(this, De).hidden = !0, r.stage.interactive = !0, CmnLib.isMobile ? r.stage.on("pointerdown", (J) => this.fire("click", J)) : U(this, We).add(r.stage, "pointerdown", (J) => {
24578
24587
  switch (J.data.button) {
24579
24588
  case 0:
24580
24589
  this.fire("click", J);
@@ -24583,22 +24592,22 @@ class EventMng {
24583
24592
  this.fire("middleclick", J);
24584
24593
  break;
24585
24594
  }
24586
- }), U(this, Ye).add(window, "keydown", (J) => et(this, Do, mc).call(this, J)), U(this, Ye).add(Main.cvs, "contextmenu", (J) => et(this, Fo, gc).call(this, J));
24595
+ }), U(this, We).add(window, "keydown", (J) => et(this, Do, mc).call(this, J)), U(this, We).add(Main.cvs, "contextmenu", (J) => et(this, Fo, gc).call(this, J));
24587
24596
  const z = () => D.setVal_Nochk("tmp", "const.sn.navigator.language", navigator.language);
24588
- U(this, Ye).add(window, "languagechange", (J) => {
24597
+ U(this, We).add(window, "languagechange", (J) => {
24589
24598
  z(), this.fire("sn:chgNavLang", J), clearTextureCache();
24590
24599
  }), z();
24591
24600
  const X = (J) => {
24592
24601
  CmnLib.isDarkMode = J.matches, D.setVal_Nochk("tmp", "const.sn.isDarkMode", CmnLib.isDarkMode);
24593
24602
  }, V = globalThis.matchMedia("(prefers-color-scheme: dark)");
24594
- X(V), U(this, Ye).add(V, "change", (J) => {
24603
+ X(V), U(this, We).add(V, "change", (J) => {
24595
24604
  X(J), this.fire("sn:chgDarkMode", J);
24596
24605
  });
24597
24606
  let Y = (J, it) => {
24598
24607
  };
24599
- "WheelEvent" in window && (U(this, Ye).add(Main.cvs, "wheel", (J) => et(this, Bo, yc).call(this, J), { passive: !0 }), Q(this, ko, (J) => U(this, Ye).add(J, "wheel", (it) => et(this, Bo, yc).call(this, it), { passive: !0 })), Y = (J, it) => J.add(Main.cvs, "wheel", (at) => {
24608
+ "WheelEvent" in window && (U(this, We).add(Main.cvs, "wheel", (J) => et(this, Bo, yc).call(this, J), { passive: !0 }), Q(this, ko, (J) => U(this, We).add(J, "wheel", (it) => et(this, Bo, yc).call(this, it), { passive: !0 })), Y = (J, it) => J.add(Main.cvs, "wheel", (at) => {
24600
24609
  at.isComposing || at.deltaY <= 0 || (at.stopPropagation(), it());
24601
- })), ReadState.init((J) => Q(this, We, J), N, D, k, $, B, e, U(this, Le), Y, U(this, De)), CmnLib.debugLog && (U(this, jr).on("gamepad:connected", (J) => console.log(`👺<'gamepad:connected' index:${J.detail.index} id:${J.detail.gamepad.id}`)), U(this, jr).on("gamepad:disconnected", (J) => console.log(`👺<'gamepad:disconnected' index:${J.detail.index} id:${J.detail.gamepad.id}`)));
24610
+ })), ReadState.init((J) => Q(this, qe, J), N, D, k, $, B, e, U(this, Le), Y, U(this, De), t), CmnLib.debugLog && (U(this, jr).on("gamepad:connected", (J) => console.log(`👺<'gamepad:connected' index:${J.detail.index} id:${J.detail.gamepad.id}`)), U(this, jr).on("gamepad:disconnected", (J) => console.log(`👺<'gamepad:disconnected' index:${J.detail.index} id:${J.detail.gamepad.id}`)));
24602
24611
  const q = [
24603
24612
  "",
24604
24613
  "ArrowUp",
@@ -24629,18 +24638,18 @@ class EventMng {
24629
24638
  (!it || it instanceof Container ? globalThis : it).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
24630
24639
  } else
24631
24640
  Main.cvs.dispatchEvent(new Event("contextmenu"));
24632
- }), U(this, jr).start(), U(this, Ye).add(window, "keyup", (J) => {
24633
- J.isComposing || J.key in U(this, qe) && (U(this, qe)[J.key] = 0);
24634
- }), D.defTmp("const.sn.key.alternate", () => U(this, qe).Alt > 0), D.defTmp("const.sn.key.command", () => U(this, qe).Meta > 0), D.defTmp("const.sn.key.control", () => U(this, qe).Control > 0), D.defTmp("const.sn.key.end", () => U(this, qe).End > 0), D.defTmp("const.sn.key.escape", () => U(this, qe).Escape > 0), D.defTmp("const.sn.key.back", () => U(this, qe).GoBack > 0);
24641
+ }), U(this, jr).start(), U(this, We).add(window, "keyup", (J) => {
24642
+ J.isComposing || J.key in U(this, Ze) && (U(this, Ze)[J.key] = 0);
24643
+ }), D.defTmp("const.sn.key.alternate", () => U(this, Ze).Alt > 0), D.defTmp("const.sn.key.command", () => U(this, Ze).Meta > 0), D.defTmp("const.sn.key.control", () => U(this, Ze).Control > 0), D.defTmp("const.sn.key.end", () => U(this, Ze).End > 0), D.defTmp("const.sn.key.escape", () => U(this, Ze).Escape > 0), D.defTmp("const.sn.key.back", () => U(this, Ze).GoBack > 0);
24635
24644
  }
24636
24645
  resvFlameEvent(t) {
24637
- U(this, Ye).add(t, "keydown", (e) => et(this, Do, mc).call(this, e)), U(this, Ye).add(t, "contextmenu", (e) => et(this, Fo, gc).call(this, e)), U(this, ko).call(this, t);
24646
+ U(this, We).add(t, "keydown", (e) => et(this, Do, mc).call(this, e)), U(this, We).add(t, "contextmenu", (e) => et(this, Fo, gc).call(this, e)), U(this, ko).call(this, t);
24638
24647
  }
24639
24648
  destroy() {
24640
- U(this, Le).destroy(), U(this, Ye).clear();
24649
+ U(this, Le).destroy(), U(this, We).clear();
24641
24650
  }
24642
24651
  fire(t, e) {
24643
- U(this, We).fire(t, e);
24652
+ U(this, qe).fire(t, e);
24644
24653
  }
24645
24654
  popLocalEvts() {
24646
24655
  return ReadState.popLocalEvts();
@@ -24655,8 +24664,8 @@ class EventMng {
24655
24664
  var X;
24656
24665
  !t.fn && !t.label && !t.url && this.main.errScript("fnまたはlabelまたはurlは必須です"), t.fn ?? (t.fn = this.scrItr.scriptFn), e.interactive = e.buttonMode = !0;
24657
24666
  const D = ((X = t.key) == null ? void 0 : X.toLowerCase()) ?? " ", B = argChk_Boolean(t, "global", !1);
24658
- ReadState.setEvt2Fnc(B, D, () => this.main.resumeByJumpOrCall(t)), e.on("pointerdown", (V) => U(this, We).fire(D, V));
24659
- const $ = t.hint ? () => et(this, hu, cd).call(this, t, e) : () => {
24667
+ ReadState.setEvt2Fnc(B, D, () => this.main.resumeByJumpOrCall(t)), e.on("pointerdown", (V) => U(this, qe).fire(D, V));
24668
+ const $ = t.hint ? () => et(this, hu, pd).call(this, t, e) : () => {
24660
24669
  }, H = () => {
24661
24670
  r(), U(this, De).hidden = !0;
24662
24671
  }, z = () => ($(), N());
@@ -24697,13 +24706,13 @@ class EventMng {
24697
24706
  }
24698
24707
  // キー押下によるスキップ中か
24699
24708
  isSkipping() {
24700
- return U(this, We).isSkipping ? !0 : Object.keys(U(this, qe)).some((t) => U(this, qe)[t] === 2);
24709
+ return U(this, qe).isSkipping ? !0 : Object.keys(U(this, Ze)).some((t) => U(this, Ze)[t] === 2);
24701
24710
  }
24702
24711
  }
24703
- Ye = new WeakMap(), jr = new WeakMap(), Le = new WeakMap(), We = new WeakMap(), ko = new WeakMap(), Do = new WeakSet(), mc = function(t) {
24712
+ We = new WeakMap(), jr = new WeakMap(), Le = new WeakMap(), qe = new WeakMap(), ko = new WeakMap(), Do = new WeakSet(), mc = function(t) {
24704
24713
  if (t.isComposing)
24705
24714
  return;
24706
- t.key in U(this, qe) && (U(this, qe)[t.key] = t.repeat ? 2 : 1);
24715
+ t.key in U(this, Ze) && (U(this, Ze)[t.key] = t.repeat ? 2 : 1);
24707
24716
  const e = (t.altKey ? t.key === "Alt" ? "" : "alt+" : "") + (t.ctrlKey ? t.key === "Control" ? "" : "ctrl+" : "") + (t.shiftKey ? t.key === "Shift" ? "" : "shift+" : "") + t.key;
24708
24717
  this.fire(e, t);
24709
24718
  }, Fo = new WeakSet(), gc = function(t) {
@@ -24727,7 +24736,7 @@ Ye = new WeakMap(), jr = new WeakMap(), Le = new WeakMap(), We = new WeakMap(),
24727
24736
  }
24728
24737
  Q(this, Ws, !1);
24729
24738
  }, 250);
24730
- }, Go = new WeakMap(), De = new WeakMap(), Zs = new WeakMap(), Ks = new WeakMap(), $o = new WeakMap(), hu = new WeakSet(), cd = function(t, e) {
24739
+ }, Go = new WeakMap(), De = new WeakMap(), Zs = new WeakMap(), Ks = new WeakMap(), $o = new WeakMap(), hu = new WeakSet(), pd = function(t, e) {
24731
24740
  const r = e instanceof Button ? e.getBtnBounds() : e.getBounds();
24732
24741
  if (!(t[":タグ名"] === "link")) {
24733
24742
  const k = e.parent.parent;
@@ -24750,7 +24759,7 @@ Ye = new WeakMap(), jr = new WeakMap(), Le = new WeakMap(), We = new WeakMap(),
24750
24759
  width: r.width,
24751
24760
  height: r.height
24752
24761
  }), U(this, Ks).update(), U(this, De).hidden = !1;
24753
- }, lu = new WeakSet(), fd = function(t) {
24762
+ }, lu = new WeakSet(), vd = function(t) {
24754
24763
  const e = t.key;
24755
24764
  if (!e)
24756
24765
  throw "keyは必須です";
@@ -24783,8 +24792,8 @@ Ye = new WeakMap(), jr = new WeakMap(), Le = new WeakMap(), We = new WeakMap(),
24783
24792
  break;
24784
24793
  }
24785
24794
  B.forEach((H, z) => D.el.forEach((X) => {
24786
- U(this, Ye).add(X, H, (V) => {
24787
- if (!U(this, We).isWait || this.layMng.getFrmDisabled(D.id) || H === "keydown" && V.key !== "Enter")
24795
+ U(this, We).add(X, H, (V) => {
24796
+ if (!U(this, qe).isWait || this.layMng.getFrmDisabled(D.id) || H === "keydown" && V.key !== "Enter")
24788
24797
  return;
24789
24798
  const Y = X.dataset;
24790
24799
  for (const [q, W] of Object.entries(Y))
@@ -24809,7 +24818,7 @@ Ye = new WeakMap(), jr = new WeakMap(), Le = new WeakMap(), We = new WeakMap(),
24809
24818
  e = e.parentElement;
24810
24819
  } while (e !== null);
24811
24820
  return !0;
24812
- }, uu = new WeakSet(), dd = function(t) {
24821
+ }, uu = new WeakSet(), md = function(t) {
24813
24822
  const { add: e, del: r, to: N } = t;
24814
24823
  if ((e == null ? void 0 : e.slice(0, 4)) === "dom=") {
24815
24824
  const k = ReadState.getHtmlElmList(e);
@@ -24842,15 +24851,15 @@ Ye = new WeakMap(), jr = new WeakMap(), Le = new WeakMap(), We = new WeakMap(),
24842
24851
  break;
24843
24852
  }
24844
24853
  return !1;
24845
- }, qe = new WeakMap();
24854
+ }, Ze = new WeakMap();
24846
24855
  class CallStack {
24847
- constructor(t = "", e = 0, r = { ":hEvt1Time": {}, ":hMp": {} }) {
24856
+ constructor(t = "", e = 0, r = { ":hEvt1Time": {}, ":hMp": {}, ":lenIfStk": 1 }) {
24848
24857
  pt(this, "toString", () => `[fn:${this.fn}, idx:${this.idx}, csArg:${this.csArg}]`);
24849
24858
  this.fn = t, this.idx = e, this.csArg = r;
24850
24859
  }
24851
24860
  }
24852
- var Qt, se, Lt, pe, ce, yr, Ho, Ec, Un, Hr, cu, zr, zo, Sc, Vo, Tc, Xo, Vr, os, Gn, va, $n, br, ye, fu, pd, jn, ma, du, vd, Yo, Js, ei, pu, md, vu, _d, xr, Jr, mu, gd, Hn, zn, Wo, qo, Zo, vi, _u, yd, gu, bd, yu, xd, Ko, wc, bu, Ed, xu, Sd, Jo, Pc, Qo, Vn, ga, Xn, Qi, Pr, th, Cc, eh, ih, Rc, Eu, Su, rh, Tu, Td, Fe, wu, wd, nh, Oc, Pu, Cu, Ru, Pd, Ou, Cd, Er, sh, Mc, Mu, Rd, Iu, Od, Au, Lu, Md, ah, Qs, Nu, Id, ku, Ad, Di, Du, Ld, Fu, Nd;
24853
- const oi = class {
24861
+ var Qt, se, Lt, pe, ce, yr, Ho, Ec, Un, Hr, cu, zr, zo, Sc, Vo, Tc, Xo, Vr, os, Gn, va, $n, br, ye, fu, _d, jn, ma, du, gd, Yo, Js, ii, pu, yd, vu, bd, xr, Jr, mu, xd, Hn, zn, Wo, qo, Zo, Fe, _u, Ed, gu, Sd, yu, Td, Ko, wc, bu, wd, xu, Pd, Jo, Pc, Qo, Vn, ga, Xn, Qi, Pr, th, Cc, eh, ih, Rc, Eu, Su, rh, Tu, Cd, Be, wu, Rd, nh, Oc, Pu, Cu, Ru, Od, Ou, Md, Er, sh, Mc, Mu, Id, Iu, Ad, Au, Lu, Ld, ah, Qs, Nu, Nd, ku, kd, Di, Du, Dd, Fu, Fd;
24862
+ const hi = class {
24854
24863
  constructor(t, e, r, N, k, D, B, $, H) {
24855
24864
  K(this, Ho);
24856
24865
  K(this, zo);
@@ -24869,7 +24878,7 @@ const oi = class {
24869
24878
  K(this, xr);
24870
24879
  // 外部へスクリプトを表示
24871
24880
  K(this, mu);
24872
- // FIFOバッファ(push/unshift
24881
+ // 先頭に積む FIFOバッファ(unshift / shift
24873
24882
  K(this, _u);
24874
24883
  K(this, gu);
24875
24884
  // // ラベル・ジャンプ
@@ -24924,7 +24933,7 @@ const oi = class {
24924
24933
  //auth: // constructorで
24925
24934
  //launch: // ここでは冒頭停止に間に合わないのでanalyzeInit()で
24926
24935
  disconnect: () => {
24927
- Q(oi, $n, {}), Q(oi, br, {}), this.isBreak = () => !1, U(this, Un).continue({}), Q(this, ye, 0);
24936
+ Q(hi, $n, {}), Q(hi, br, {}), this.isBreak = () => !1, U(this, Un).continue({}), Q(this, ye, 0);
24928
24937
  },
24929
24938
  restart: () => this.isBreak = () => !1,
24930
24939
  // ブレークポイント登録
@@ -24933,13 +24942,13 @@ const oi = class {
24933
24942
  U(this, ye) === 0 && (Q(this, ye, 1), this.main.setLoop(!1, `変数 ${t.dataId}【${t.old_v}】→【${t.new_v}】データブレーク`), this.sys.callHook("stopOnDataBreakpoint", {}), this.sys.send2Dbg("stopOnDataBreakpoint", {}));
24934
24943
  },
24935
24944
  set_func_break: (t) => {
24936
- Q(oi, br, {});
24945
+ Q(hi, br, {});
24937
24946
  for (const e of t.a)
24938
- U(oi, br)[e.name] = 1;
24947
+ U(hi, br)[e.name] = 1;
24939
24948
  this.sys.send2Dbg(t.ri, {});
24940
24949
  },
24941
24950
  // 情報問い合わせ系
24942
- stack: (t) => this.sys.send2Dbg(t.ri, { a: et(this, du, vd).call(this) }),
24951
+ stack: (t) => this.sys.send2Dbg(t.ri, { a: et(this, du, gd).call(this) }),
24943
24952
  eval: (t) => {
24944
24953
  this.sys.send2Dbg(t.ri, { v: this.prpPrs.parse(t.txt) });
24945
24954
  },
@@ -24966,7 +24975,7 @@ const oi = class {
24966
24975
  });
24967
24976
  K(this, Hr, (t) => this.cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SCRIPT));
24968
24977
  // https://regex101.com/r/Km54EK/1 141 steps (~0ms)
24969
- K(this, zr, (t) => (this.sys.pathBaseCnvSnPath4Dbg + U(this, Hr).call(this, t)).replace(U(oi, cu), `$1/prj/$2/${U(this, se)}$3`));
24978
+ K(this, zr, (t) => (this.sys.pathBaseCnvSnPath4Dbg + U(this, Hr).call(this, t)).replace(U(hi, cu), `$1/prj/$2/${U(this, se)}$3`));
24970
24979
  pt(this, "cnvPath4Dbg", (t) => this.sys.pathBaseCnvSnPath4Dbg + t.replace("/crypto_prj/", "/prj/"));
24971
24980
  K(this, Xo, 0);
24972
24981
  K(this, ye, 0);
@@ -24976,7 +24985,7 @@ const oi = class {
24976
24985
  K(this, Yo, (t) => {
24977
24986
  });
24978
24987
  K(this, Js, void 0);
24979
- K(this, ei, void 0);
24988
+ K(this, ii, void 0);
24980
24989
  K(this, Hn, () => {
24981
24990
  });
24982
24991
  K(this, zn, () => {
@@ -24987,7 +24996,7 @@ const oi = class {
24987
24996
  });
24988
24997
  K(this, Zo, 5);
24989
24998
  // // 条件分岐
24990
- K(this, vi, [-1]);
24999
+ K(this, Fe, [-1]);
24991
25000
  K(this, Qo, "");
24992
25001
  K(this, Xn, "");
24993
25002
  // シナリオ解析処理ループ・冒頭処理
@@ -24997,7 +25006,7 @@ const oi = class {
24997
25006
  K(this, Eu, /(\*{2,})([^\|]*)/);
24998
25007
  K(this, Su, /\[macro\s/);
24999
25008
  K(this, rh, /\[endmacro[\s\]]/);
25000
- K(this, Fe, /* @__PURE__ */ Object.create(null));
25009
+ K(this, Be, /* @__PURE__ */ Object.create(null));
25001
25010
  K(this, Pu, /^\[(call|loadplugin)\s/);
25002
25011
  K(this, Cu, /\bfn\s*=\s*[^\s\]]+/);
25003
25012
  K(this, Er, !1);
@@ -25011,15 +25020,15 @@ const oi = class {
25011
25020
  hPages: {},
25012
25021
  aIfStk: [-1]
25013
25022
  });
25014
- this.cfg = t, this.hTag = e, this.main = r, this.val = N, this.alzTagArg = k, this.runAnalyze = D, this.prpPrs = B, this.sndMng = $, this.sys = H, e.let_ml = (X) => et(this, pu, md).call(this, X), e.endlet_ml = () => !1, e.dump_stack = () => et(this, vu, _d).call(this), e.dump_script = (X) => et(this, mu, gd).call(this, X), e.else = // その他ifブロック開始
25023
+ this.cfg = t, this.hTag = e, this.main = r, this.val = N, this.alzTagArg = k, this.runAnalyze = D, this.prpPrs = B, this.sndMng = $, this.sys = H, e.let_ml = (X) => et(this, pu, yd).call(this, X), e.endlet_ml = () => !1, e.dump_stack = () => et(this, vu, bd).call(this), e.dump_script = (X) => et(this, mu, xd).call(this, X), e.else = // その他ifブロック開始
25015
25024
  e.elsif = // 別条件のifブロック開始
25016
- e.endif = () => et(this, _u, yd).call(this), e.if = (X) => et(this, gu, bd).call(this, X), e.call = (X) => et(this, yu, xd).call(this, X), e.jump = (X) => et(this, bu, Ed).call(this, X), e.pop_stack = (X) => et(this, xu, Sd).call(this, X), e.return = (X) => et(this, Jo, Pc).call(this, X), e.bracket2macro = (X) => et(this, Mu, Rd).call(this, X), e.char2macro = (X) => et(this, Iu, Od).call(this, X), e.endmacro = (X) => et(this, Jo, Pc).call(this, X), e.macro = (X) => et(this, Lu, Md).call(this, X), e.load = (X) => et(this, Nu, Id).call(this, X), e.reload_script = (X) => et(this, ku, Ad).call(this, X), e.record_place = () => et(this, Du, Ld).call(this), e.save = (X) => et(this, Fu, Nd).call(this, X), t.oCfg.debug.token && Q(this, eh, (X) => console.log(`🌱 トークン fn:${U(this, se)} idx:${U(this, Lt)} ln:${U(this, pe)} token【${X}】`)), N.defTmp("const.sn.vctCallStk.length", () => U(this, ce).length);
25025
+ e.endif = () => et(this, _u, Ed).call(this), e.if = (X) => et(this, gu, Sd).call(this, X), e.call = (X) => et(this, yu, Td).call(this, X), e.jump = (X) => et(this, bu, wd).call(this, X), e.pop_stack = (X) => et(this, xu, Pd).call(this, X), e.return = (X) => et(this, Jo, Pc).call(this, X), e.bracket2macro = (X) => et(this, Mu, Id).call(this, X), e.char2macro = (X) => et(this, Iu, Ad).call(this, X), e.endmacro = (X) => et(this, Jo, Pc).call(this, X), e.macro = (X) => et(this, Lu, Ld).call(this, X), e.load = (X) => et(this, Nu, Nd).call(this, X), e.reload_script = (X) => et(this, ku, kd).call(this, X), e.record_place = () => et(this, Du, Dd).call(this), e.save = (X) => et(this, Fu, Fd).call(this, X), t.oCfg.debug.token && Q(this, eh, (X) => console.log(`🌱 トークン fn:${U(this, se)} idx:${U(this, Lt)} ln:${U(this, pe)} token【${X}】`)), N.defTmp("const.sn.aIfStk.length", () => U(this, Fe).length), N.defTmp("const.sn.vctCallStk.length", () => U(this, ce).length);
25017
25026
  const z = t.oCfg.init.escape;
25018
25027
  if (U(this, yr).setEscape(z), RubySpliter.setEscape(z), CmnLib.isDbg) {
25019
25028
  H.addHook((V, Y) => {
25020
25029
  var q, W;
25021
25030
  return (W = (q = U(this, Un))[V]) == null ? void 0 : W.call(q, Y);
25022
- }), this.isBreak = et(this, fu, pd);
25031
+ }), this.isBreak = et(this, fu, _d);
25023
25032
  const X = this.analyzeInit;
25024
25033
  this.analyzeInit = () => {
25025
25034
  this.analyzeInit = () => {
@@ -25028,9 +25037,9 @@ const oi = class {
25028
25037
  const Y = V.hBreakpoint.hFn2hLineBP;
25029
25038
  for (const [q, W] of Object.entries(Y))
25030
25039
  et(this, Ho, Ec).call(this, q, W);
25031
- Q(oi, br, {});
25040
+ Q(hi, br, {});
25032
25041
  for (const q of V.hBreakpoint.aFunc)
25033
- U(oi, br)[q.name] = 1;
25042
+ U(hi, br)[q.name] = 1;
25034
25043
  if (V.stopOnEntry) {
25035
25044
  for (; ; ) {
25036
25045
  let q = this.nextToken();
@@ -25057,13 +25066,13 @@ const oi = class {
25057
25066
  return U(this, se);
25058
25067
  }
25059
25068
  subIdxToken() {
25060
- --Me(this, Lt)._;
25069
+ --Ie(this, Lt)._;
25061
25070
  }
25062
25071
  get lineNum() {
25063
25072
  return U(this, pe);
25064
25073
  }
25065
25074
  jumpJustBefore() {
25066
- et(this, Qi, Pr).call(this, U(this, se), "", --Me(this, Lt)._);
25075
+ et(this, Qi, Pr).call(this, U(this, se), "", --Ie(this, Lt)._);
25067
25076
  }
25068
25077
  destroy() {
25069
25078
  this.isBreak = () => !1;
@@ -25113,7 +25122,7 @@ const oi = class {
25113
25122
  return N(D);
25114
25123
  }
25115
25124
  setOtherObj(t, e) {
25116
- Q(this, Js, t), Q(this, ei, e);
25125
+ Q(this, Js, t), Q(this, ii, e);
25117
25126
  }
25118
25127
  dumpErrForeLine() {
25119
25128
  if (U(this, Lt) === 0) {
@@ -25138,7 +25147,7 @@ const oi = class {
25138
25147
  console.groupEnd();
25139
25148
  }
25140
25149
  analyzeInit() {
25141
- const t = et(this, Tu, Td).call(this, U(this, Qt), !!this.val.getVal("mp:const.sn.macro.name"), U(this, pe), U(this, Xn), U(this, Lt));
25150
+ const t = et(this, Tu, Cd).call(this, U(this, Qt), !!this.val.getVal("mp:const.sn.macro.name"), U(this, pe), U(this, Xn), U(this, Lt));
25142
25151
  Q(this, Lt, t.idx), Q(this, pe, t.ln), this.runAnalyze();
25143
25152
  }
25144
25153
  get isKidoku() {
@@ -25149,7 +25158,7 @@ const oi = class {
25149
25158
  if (U(this, ce).length > 0) {
25150
25159
  const k = U(this, ce)[0];
25151
25160
  t = k.fn, e = k.idx;
25152
- const D = U(this, Fe)[t];
25161
+ const D = U(this, Be)[t];
25153
25162
  D && (r = D.len);
25154
25163
  }
25155
25164
  const N = this.val.getAreaKidoku(t);
@@ -25159,7 +25168,7 @@ const oi = class {
25159
25168
  return U(this, Er) ? 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;
25160
25169
  }
25161
25170
  loadFromMark(t, e, r = !0) {
25162
- this.hTag.clear_event({}), this.val.mark2save(e), this.val.setMp({}), U(this, ei).recPagebreak(), r && this.sndMng.playLoopFromSaveObj(), argChk_Boolean(t, "do_rec", !0) && Q(this, Di, {
25171
+ this.hTag.clear_event({}), this.val.mark2save(e), this.val.setMp({}), U(this, ii).recPagebreak(), r && this.sndMng.playLoopFromSaveObj(), argChk_Boolean(t, "do_rec", !0) && Q(this, Di, {
25163
25172
  hSave: this.val.cloneSave(),
25164
25173
  hPages: { ...e.hPages },
25165
25174
  aIfStk: [...e.aIfStk]
@@ -25171,16 +25180,16 @@ const oi = class {
25171
25180
  };
25172
25181
  this.hTag.autowc(N);
25173
25182
  const k = String(this.val.getVal("save:const.sn.scriptFn")), D = Number(this.val.getVal("save:const.sn.scriptIdx"));
25174
- return Q(this, vi, [...U(this, Di).aIfStk]), Q(this, ce, []), U(this, ei).cover(!0), U(this, ei).stopAllTw(), t.index ? (U(this, ei).playback(U(this, Di).hPages, () => {
25183
+ return Q(this, Fe, [...U(this, Di).aIfStk]), Q(this, ce, []), U(this, ii).cover(!0), U(this, ii).stopAllTw(), t.index ? (U(this, ii).playback(U(this, Di).hPages, () => {
25175
25184
  var H;
25176
25185
  const { style: B, r_style: $ } = t;
25177
- B && ((H = U(this, ei).currentTxtlayFore) == null || H.lay({ style: B, r_style: $ })), U(this, ei).cover(!1), et(this, Qi, Pr).call(this, t.fn ?? k, "", t.index);
25178
- }), !0) : (delete U(this, Fe)[k], U(this, ei).playback(
25186
+ B && ((H = U(this, ii).currentTxtlayFore) == null || H.lay({ style: B, r_style: $ })), U(this, ii).cover(!1), et(this, Qi, Pr).call(this, t.fn ?? k, "", t.index);
25187
+ }), !0) : (delete U(this, Be)[k], U(this, ii).playback(
25179
25188
  U(this, Di).hPages,
25180
25189
  "label" in t ? () => {
25181
- U(this, ei).cover(!1), Q(this, se, k), Q(this, Lt, D), this.hTag.call({ fn: t.fn, label: t.label });
25190
+ U(this, ii).cover(!1), Q(this, se, k), Q(this, Lt, D), this.hTag.call({ fn: t.fn, label: t.label });
25182
25191
  } : () => {
25183
- U(this, ei).cover(!1), et(this, Qi, Pr).call(this, k, "", D);
25192
+ U(this, ii).cover(!1), et(this, Qi, Pr).call(this, k, "", D);
25184
25193
  }
25185
25194
  ), !0);
25186
25195
  }
@@ -25208,18 +25217,18 @@ const oi = class {
25208
25217
  } else
25209
25218
  e = U(this, se), r = U(this, Lt);
25210
25219
  t[":path"] = U(this, zr).call(this, e);
25211
- const k = et(this, xr, Jr).call(this, U(this, Fe)[e], r);
25220
+ const k = et(this, xr, Jr).call(this, U(this, Be)[e], r);
25212
25221
  t[":ln"] = k.ln, t[":col_s"] = k.col_s, t[":col_e"] = k.col_e;
25213
25222
  const D = r - 1;
25214
- t[":idx_tkn"] = D, t[":token"] = U(this, Fe)[e].aToken[D], this.sys.send2Dbg("_recodeDesign", t);
25223
+ t[":idx_tkn"] = D, t[":token"] = U(this, Be)[e].aToken[D], this.sys.send2Dbg("_recodeDesign", t);
25215
25224
  }
25216
25225
  replace(t, e) {
25217
25226
  U(this, Qt).aToken[t] = e;
25218
25227
  }
25219
25228
  };
25220
- let ScriptIterator = oi;
25229
+ let ScriptIterator = hi;
25221
25230
  Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(), ce = new WeakMap(), yr = new WeakMap(), Ho = new WeakSet(), Ec = function(t, e) {
25222
- U(oi, $n)[U(this, zr).call(this, t)] = e;
25231
+ U(hi, $n)[U(this, zr).call(this, t)] = e;
25223
25232
  }, Un = new WeakMap(), Hr = new WeakMap(), cu = new WeakMap(), zr = new WeakMap(), zo = new WeakSet(), Sc = function(t) {
25224
25233
  if (et(this, Gn, va).call(this))
25225
25234
  return;
@@ -25231,7 +25240,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25231
25240
  return U(this, ye) === 2 || U(this, ye) === 4 ? 1 : 0;
25232
25241
  }, Gn = new WeakSet(), va = function() {
25233
25242
  return U(this, Lt) < U(this, Qt).len ? !1 : (this.sys.callHook("stopOnEntry", {}), this.main.setLoop(!1, "スクリプト終端です"), !0);
25234
- }, $n = new WeakMap(), br = new WeakMap(), ye = new WeakMap(), fu = new WeakSet(), pd = function(t) {
25243
+ }, $n = new WeakMap(), br = new WeakMap(), ye = new WeakMap(), fu = new WeakSet(), _d = function(t) {
25235
25244
  switch (U(this, ye)) {
25236
25245
  case 6:
25237
25246
  et(this, jn, ma).call(this), Q(this, ye, 7);
@@ -25249,10 +25258,10 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25249
25258
  et(this, jn, ma).call(this), Q(this, ye, 0);
25250
25259
  break;
25251
25260
  default:
25252
- if (tagToken2Name(t) in U(oi, br))
25261
+ if (tagToken2Name(t) in U(hi, br))
25253
25262
  return Q(this, ye, 2), this.main.setLoop(!1, `関数 ${t} ブレーク`), this.sys.callHook("stopOnBreakpoint", {}), this.sys.send2Dbg("stopOnBreakpoint", {}), !0;
25254
25263
  {
25255
- const e = U(oi, $n)[U(this, zr).call(this, U(this, se))];
25264
+ const e = U(hi, $n)[U(this, zr).call(this, U(this, se))];
25256
25265
  if (!e)
25257
25266
  break;
25258
25267
  const r = e[U(this, pe)];
@@ -25273,9 +25282,9 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25273
25282
  return !1;
25274
25283
  }, jn = new WeakSet(), ma = function() {
25275
25284
  var e;
25276
- const t = (e = U(oi, $n)[getFn(U(this, se))]) == null ? void 0 : e[U(this, pe)];
25285
+ const t = (e = U(hi, $n)[getFn(U(this, se))]) == null ? void 0 : e[U(this, pe)];
25277
25286
  t != null && t.hitCondition && --t.hitCondition;
25278
- }, du = new WeakSet(), vd = function() {
25287
+ }, du = new WeakSet(), gd = function() {
25279
25288
  const t = U(this, ye) === 3 ? 1 : 0, e = U(this, Qt).aToken[U(this, Lt) - 1 + t], r = U(this, zr).call(this, U(this, se)), N = tagToken2Name(e), k = N ? `[${N}]` : e, D = this.val.getVal("mp:const.sn.macro") ?? "{}";
25280
25289
  if (U(this, Lt) === 0)
25281
25290
  return [{ fn: r, ln: 1, col: 1, nm: k, ma: D }];
@@ -25283,7 +25292,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25283
25292
  if (H === 0)
25284
25293
  return $;
25285
25294
  for (let z = H - 1; z >= 0; --z) {
25286
- const X = U(this, ce)[z], V = U(this, Fe)[X.fn], Y = V.aToken[X.idx - 1], q = et(this, xr, Jr).call(this, V, X.idx), W = tagToken2Name(Y);
25295
+ const X = U(this, ce)[z], V = U(this, Be)[X.fn], Y = V.aToken[X.idx - 1], q = et(this, xr, Jr).call(this, V, X.idx), W = tagToken2Name(Y);
25287
25296
  $.push({
25288
25297
  fn: U(this, zr).call(this, X.fn),
25289
25298
  ln: q.ln,
@@ -25293,16 +25302,16 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25293
25302
  });
25294
25303
  }
25295
25304
  return $;
25296
- }, Yo = new WeakMap(), Js = new WeakMap(), ei = new WeakMap(), pu = new WeakSet(), md = function(t) {
25305
+ }, Yo = new WeakMap(), Js = new WeakMap(), ii = new WeakMap(), pu = new WeakSet(), yd = function(t) {
25297
25306
  const { name: e } = t;
25298
25307
  if (!e)
25299
25308
  throw "nameは必須です";
25300
25309
  let r = "";
25301
25310
  const N = U(this, Qt).len;
25302
- for (; U(this, Lt) < N && (r = U(this, Qt).aToken[U(this, Lt)], r === ""); ++Me(this, Lt)._)
25311
+ for (; U(this, Lt) < N && (r = U(this, Qt).aToken[U(this, Lt)], r === ""); ++Ie(this, Lt)._)
25303
25312
  ;
25304
25313
  return t.text = r, t.cast = "str", this.hTag.let(t), Q(this, Lt, U(this, Lt) + 2), Q(this, pe, U(this, pe) + (r.match(/\n/g) ?? []).length), !1;
25305
- }, vu = new WeakSet(), _d = function() {
25314
+ }, vu = new WeakSet(), bd = function() {
25306
25315
  if (U(this, Lt) === 0)
25307
25316
  return console.group(`🥟 [dump_stack] スクリプト現在地 fn:${U(this, se)} line:1 col:0`), console.groupEnd(), !1;
25308
25317
  const t = et(this, xr, Jr).call(this, U(this, Qt), U(this, Lt)), e = `スクリプト現在地 fn:${U(this, se)} line:${t.ln} col:${t.col_s + 1}`;
@@ -25311,7 +25320,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25311
25320
  if (r > 0) {
25312
25321
  console.info(e);
25313
25322
  for (let N = r - 1; N >= 0; --N) {
25314
- const k = U(this, ce)[N], D = k.csArg[":hMp"], B = D ? D[":タグ名"] : void 0, $ = k.csArg[":タグ名"] ?? "", H = et(this, xr, Jr).call(this, U(this, Fe)[k.fn], k.idx);
25323
+ const k = U(this, ce)[N], D = k.csArg[":hMp"], B = D ? D[":タグ名"] : void 0, $ = k.csArg[":タグ名"] ?? "", H = et(this, xr, Jr).call(this, U(this, Be)[k.fn], k.idx);
25315
25324
  console.info(
25316
25325
  `${r - N}つ前のコール元 fn:${k.fn} line:${H.ln} col:${H.col_s + 1}` + (B ? "([" + B + "]マクロ内)" : " ") + `で [${$} ...]をコール`
25317
25326
  );
@@ -25334,7 +25343,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25334
25343
  break;
25335
25344
  }
25336
25345
  return r;
25337
- }, mu = new WeakSet(), gd = function(t) {
25346
+ }, mu = new WeakSet(), xd = function(t) {
25338
25347
  const { set_fnc: e, break_fnc: r } = t;
25339
25348
  if (!e)
25340
25349
  throw "set_fncは必須です";
@@ -25355,11 +25364,11 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25355
25364
  });
25356
25365
  }
25357
25366
  return !1;
25358
- }, Hn = new WeakMap(), zn = new WeakMap(), Wo = new WeakMap(), qo = new WeakMap(), Zo = new WeakMap(), vi = new WeakMap(), _u = new WeakSet(), yd = function() {
25359
- if (U(this, vi)[0] === -1)
25367
+ }, Hn = new WeakMap(), zn = new WeakMap(), Wo = new WeakMap(), qo = new WeakMap(), Zo = new WeakMap(), Fe = new WeakMap(), _u = new WeakSet(), Ed = function() {
25368
+ if (U(this, Fe)[0] === -1)
25360
25369
  throw "ifブロック内ではありません";
25361
- return Q(this, Lt, U(this, vi)[0]), U(this, vi).shift(), !1;
25362
- }, gu = new WeakSet(), bd = function(t) {
25370
+ return Q(this, Lt, U(this, Fe)[0]), U(this, Fe).shift(), !1;
25371
+ }, gu = new WeakSet(), Sd = function(t) {
25363
25372
  const { exp: e } = t;
25364
25373
  if (!e)
25365
25374
  throw "expは必須です";
@@ -25369,7 +25378,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25369
25378
  const k = U(this, Qt).aLNum[U(this, Lt)];
25370
25379
  let D = U(this, pe) - (k || 0);
25371
25380
  const B = U(this, Qt).len;
25372
- for (; U(this, Lt) < B; ++Me(this, Lt)._) {
25381
+ for (; U(this, Lt) < B; ++Ie(this, Lt)._) {
25373
25382
  const $ = U(this, Qt).aLNum[U(this, Lt)];
25374
25383
  U(this, Qt).aLNum[U(this, Lt)] = ($ || 0) + D;
25375
25384
  const H = U(this, Qt).aToken[U(this, Lt)];
@@ -25407,36 +25416,36 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25407
25416
  --r;
25408
25417
  break;
25409
25418
  }
25410
- return N === -1 ? (++Me(this, Lt)._, U(this, Qt).aLNum[U(this, Lt)] += D) : (U(this, vi).unshift(U(this, Lt) + 1), Q(this, Lt, N), Q(this, pe, U(this, Qt).aLNum[U(this, Lt)])), !1;
25419
+ return N === -1 ? (++Ie(this, Lt)._, U(this, Qt).aLNum[U(this, Lt)] += D) : (U(this, Fe).unshift(U(this, Lt) + 1), Q(this, Lt, N), Q(this, pe, U(this, Qt).aLNum[U(this, Lt)])), !1;
25411
25420
  }
25412
25421
  }
25413
25422
  throw "[endif]がないままスクリプト終端です";
25414
- }, yu = new WeakSet(), xd = function(t) {
25423
+ }, yu = new WeakSet(), Td = function(t) {
25415
25424
  argChk_Boolean(t, "count", !1) || et(this, sh, Mc).call(this);
25416
25425
  const { fn: e } = t;
25417
- return e && U(this, Hr).call(this, e), et(this, Ko, wc).call(this, { ":hEvt1Time": U(this, Js).popLocalEvts(), ":hMp": this.val.cloneMp() }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), et(this, Qi, Pr).call(this, e, t.label), !0;
25426
+ return e && U(this, Hr).call(this, e), et(this, Ko, wc).call(this, { ":hEvt1Time": U(this, Js).popLocalEvts(), ":hMp": this.val.cloneMp(), ":lenIfStk": U(this, Fe).length }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), et(this, Qi, Pr).call(this, e, t.label), !0;
25418
25427
  }, Ko = new WeakSet(), wc = function(t) {
25419
- U(this, Qt).aLNum[U(this, Lt)] = U(this, pe), U(this, Qo) || (t[":resvToken"] = "", et(this, Vn, ga).call(this)), U(this, ce).push(new CallStack(U(this, se), U(this, Lt), t)), U(this, vi).unshift(-1);
25420
- }, bu = new WeakSet(), Ed = function(t) {
25421
- return argChk_Boolean(t, "count", !0) || et(this, sh, Mc).call(this), U(this, vi)[0] = -1, et(this, Qi, Pr).call(this, t.fn, t.label), !0;
25422
- }, xu = new WeakSet(), Sd = function(t) {
25428
+ U(this, Qt).aLNum[U(this, Lt)] = U(this, pe), U(this, Qo) || (t[":resvToken"] = "", et(this, Vn, ga).call(this)), U(this, ce).push(new CallStack(U(this, se), U(this, Lt), t)), U(this, Fe).unshift(-1);
25429
+ }, bu = new WeakSet(), wd = function(t) {
25430
+ return argChk_Boolean(t, "count", !0) || et(this, sh, Mc).call(this), U(this, Fe)[0] = -1, et(this, Qi, Pr).call(this, t.fn, t.label), !0;
25431
+ }, xu = new WeakSet(), Pd = function(t) {
25423
25432
  if (argChk_Boolean(t, "clear", !1))
25424
25433
  Q(this, ce, []);
25425
25434
  else if (!U(this, ce).pop())
25426
25435
  throw "[pop_stack] スタックが空です";
25427
- return et(this, Vn, ga).call(this), Q(this, vi, [-1]), this.val.setMp({}), !1;
25436
+ return et(this, Vn, ga).call(this), Q(this, Fe, [-1]), this.val.setMp({}), !1;
25428
25437
  }, Jo = new WeakSet(), Pc = function(t) {
25429
25438
  const e = U(this, ce).pop();
25430
25439
  if (!e)
25431
25440
  throw "[return] スタックが空です";
25432
25441
  const r = e.csArg;
25433
- U(this, vi).shift();
25442
+ Q(this, Fe, U(this, Fe).slice(-r[":lenIfStk"]));
25434
25443
  const N = r[":hMp"];
25435
25444
  N && this.val.setMp(N);
25436
25445
  const k = r[":resvToken"];
25437
25446
  k ? this.nextToken = () => (et(this, Vn, ga).call(this), k) : et(this, Vn, ga).call(this), r[":hEvt1Time"] && U(this, Js).pushLocalEvts(r[":hEvt1Time"]);
25438
25447
  const { fn: D, label: B } = t;
25439
- return D || B ? (et(this, Qi, Pr).call(this, D, B), !0) : e.fn in U(this, Fe) ? (et(this, nh, Oc).call(this, e), !1) : (et(this, Qi, Pr).call(this, e.fn, "", e.idx), !0);
25448
+ return D || B ? (et(this, Qi, Pr).call(this, D, B), !0) : e.fn in U(this, Be) ? (et(this, nh, Oc).call(this, e), !1) : (et(this, Qi, Pr).call(this, e.fn, "", e.idx), !0);
25440
25449
  }, Qo = new WeakMap(), Vn = new WeakSet(), ga = function() {
25441
25450
  Q(this, Qo, ""), this.nextToken = et(this, th, Cc);
25442
25451
  }, Xn = new WeakMap(), Qi = new WeakSet(), Pr = function(t = "", e = "", r = 0) {
@@ -25452,7 +25461,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25452
25461
  return;
25453
25462
  }
25454
25463
  Q(this, se, t);
25455
- const k = U(this, Fe)[t];
25464
+ const k = U(this, Be)[t];
25456
25465
  if (k) {
25457
25466
  Q(this, Qt, k), this.analyzeInit();
25458
25467
  return;
@@ -25481,18 +25490,18 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25481
25490
  H[t].data = Y.join(`
25482
25491
  `), delete H[t + ":base"];
25483
25492
  }
25484
- this.nextToken = et(this, th, Cc), Q(this, pe, 1), et(this, wu, wd).call(this, H[t].data), this.hTag.record_place({}), this.main.resume(() => this.analyzeInit());
25493
+ this.nextToken = et(this, th, Cc), Q(this, pe, 1), et(this, wu, Rd).call(this, H[t].data), this.hTag.record_place({}), this.main.resume(() => this.analyzeInit());
25485
25494
  }), this.main.stop();
25486
25495
  }, th = new WeakSet(), Cc = function() {
25487
25496
  var e, r;
25488
25497
  if (et(this, ih, Rc).call(this))
25489
25498
  return "";
25490
- et(this, Ou, Cd).call(this), (e = U(this, Qt).aLNum)[r = U(this, Lt)] || (e[r] = U(this, pe));
25499
+ et(this, Ou, Md).call(this), (e = U(this, Qt).aLNum)[r = U(this, Lt)] || (e[r] = U(this, pe));
25491
25500
  const t = U(this, Qt).aToken[U(this, Lt)];
25492
- return U(this, eh).call(this, t), ++Me(this, Lt)._, t;
25501
+ return U(this, eh).call(this, t), ++Ie(this, Lt)._, t;
25493
25502
  }, eh = new WeakMap(), ih = new WeakSet(), Rc = function() {
25494
25503
  return U(this, Lt) < U(this, Qt).len ? !1 : (this.main.errScript("スクリプト終端です"), !0);
25495
- }, Eu = new WeakMap(), Su = new WeakMap(), rh = new WeakMap(), Tu = new WeakSet(), Td = function(t, e, r, N, k) {
25504
+ }, Eu = new WeakMap(), Su = new WeakMap(), rh = new WeakMap(), Tu = new WeakSet(), Cd = function(t, e, r, N, k) {
25496
25505
  var z, X;
25497
25506
  const D = t.aToken.length;
25498
25507
  if (!N) {
@@ -25554,21 +25563,21 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25554
25563
  q === 91 && (r += (Y.match(/\n/g) ?? []).length, U(this, yr).testTagLetml(Y) && (H = !0));
25555
25564
  }
25556
25565
  throw H ? "[let_ml]の終端・[endlet_ml]がありません" : (DebugMng.myTrace(`[jump系] ラベル【${N}】がありません`, "ET"), "Dummy");
25557
- }, Fe = new WeakMap(), wu = new WeakSet(), wd = function(t) {
25566
+ }, Be = new WeakMap(), wu = new WeakSet(), Rd = function(t) {
25558
25567
  let e = "";
25559
25568
  try {
25560
25569
  e = "ScriptIterator.resolveScript";
25561
25570
  const r = U(this, yr).resolveScript(t);
25562
- e = "ScriptIterator.replaceScript_Wildcard", et(this, Ru, Pd).call(this, r), U(this, Fe)[U(this, se)] = Q(this, Qt, r);
25571
+ e = "ScriptIterator.replaceScript_Wildcard", et(this, Ru, Od).call(this, r), U(this, Be)[U(this, se)] = Q(this, Qt, r);
25563
25572
  } catch (r) {
25564
25573
  r instanceof Error ? e += `例外 mes=${r.message}(${r.name})` : e = r, this.main.errScript(e, !1);
25565
25574
  }
25566
25575
  this.val.loadScrWork(U(this, se));
25567
25576
  }, nh = new WeakSet(), Oc = function(t) {
25568
25577
  Q(this, se, t.fn), Q(this, Lt, t.idx);
25569
- const e = U(this, Fe)[U(this, se)];
25578
+ const e = U(this, Be)[U(this, se)];
25570
25579
  e && Q(this, Qt, e), Q(this, pe, U(this, Qt).aLNum[t.idx]);
25571
- }, Pu = new WeakMap(), Cu = new WeakMap(), Ru = new WeakSet(), Pd = function(t) {
25580
+ }, Pu = new WeakMap(), Cu = new WeakMap(), Ru = new WeakSet(), Od = function(t) {
25572
25581
  for (let e = t.len - 1; e >= 0; --e) {
25573
25582
  const r = t.aToken[e];
25574
25583
  if (!U(this, Pu).test(r))
@@ -25592,7 +25601,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25592
25601
  }
25593
25602
  }
25594
25603
  t.len = t.aToken.length;
25595
- }, Ou = new WeakSet(), Cd = function() {
25604
+ }, Ou = new WeakSet(), Md = function() {
25596
25605
  const t = this.val.getAreaKidoku(U(this, se));
25597
25606
  if (!t)
25598
25607
  throw `recordKidoku fn:'${U(this, se)}' (areas === null)`;
@@ -25604,11 +25613,11 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25604
25613
  }, Er = new WeakMap(), sh = new WeakSet(), Mc = function() {
25605
25614
  var t;
25606
25615
  (t = this.val.getAreaKidoku(U(this, se))) == null || t.erase(U(this, Lt)), Q(this, Er, !1);
25607
- }, Mu = new WeakSet(), Rd = function(t) {
25616
+ }, Mu = new WeakSet(), Id = function(t) {
25608
25617
  return U(this, yr).bracket2macro(t, this.hTag, U(this, Qt), U(this, Lt)), !1;
25609
- }, Iu = new WeakSet(), Od = function(t) {
25618
+ }, Iu = new WeakSet(), Ad = function(t) {
25610
25619
  return U(this, yr).char2macro(t, this.hTag, U(this, Qt), U(this, Lt)), !1;
25611
- }, Au = new WeakMap(), Lu = new WeakSet(), Md = function(t) {
25620
+ }, Au = new WeakMap(), Lu = new WeakSet(), Ld = function(t) {
25612
25621
  var k, D;
25613
25622
  const { name: e } = t;
25614
25623
  if (!e)
@@ -25618,16 +25627,18 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25618
25627
  if (U(this, Au).test(e))
25619
25628
  throw `[${e}]はマクロ名として異常です`;
25620
25629
  const r = U(this, pe), N = new CallStack(U(this, se), U(this, Lt));
25621
- for (Q(this, ah, U(this, ah) + ("|" + e)), Q(this, Qs, new RegExp(`\\[(${U(this, ah)})\\b`)), this.hTag[e] = (B) => (B.design_unit = t.design_unit, et(this, Ko, wc).call(this, { ...B, ":hMp": this.val.cloneMp() }), this.val.setMp(B), this.val.setVal_Nochk("mp", "const.sn.macro", JSON.stringify(t)), this.val.setVal_Nochk("mp", "const.sn.me_call_scriptFn", U(this, se)), Q(this, pe, r), et(this, nh, Oc).call(this, N), !1); U(this, Lt) < U(this, Qt).len; ++Me(this, Lt)._) {
25630
+ for (Q(this, ah, U(this, ah) + ("|" + e)), Q(this, Qs, new RegExp(`\\[(${U(this, ah)})\\b`)), this.hTag[e] = (B) => (B.design_unit = t.design_unit, et(this, Ko, wc).call(this, { ...B, ":hMp": this.val.cloneMp(), ":lenIfStk": U(this, Fe).length }), this.val.setMp(B), this.val.setVal_Nochk("mp", "const.sn.macro", JSON.stringify({
25631
+ name: t.name
25632
+ })), this.val.setVal_Nochk("mp", "const.sn.me_call_scriptFn", U(this, se)), Q(this, pe, r), et(this, nh, Oc).call(this, N), !1); U(this, Lt) < U(this, Qt).len; ++Ie(this, Lt)._) {
25622
25633
  (k = U(this, Qt).aLNum)[D = U(this, Lt)] || (k[D] = U(this, pe));
25623
25634
  const B = U(this, Qt).aToken[U(this, Lt)];
25624
25635
  if (B.search(U(this, rh)) > -1)
25625
- return ++Me(this, Lt)._, !1;
25636
+ return ++Ie(this, Lt)._, !1;
25626
25637
  const $ = B.charCodeAt(0);
25627
25638
  $ === 10 ? Q(this, pe, U(this, pe) + B.length) : $ === 91 && Q(this, pe, U(this, pe) + (B.match(/\n/g) ?? []).length);
25628
25639
  }
25629
25640
  throw `マクロ[${e}]定義の終端・[endmacro]がありません`;
25630
- }, ah = new WeakMap(), Qs = new WeakMap(), Nu = new WeakSet(), Id = function(t) {
25641
+ }, ah = new WeakMap(), Qs = new WeakMap(), Nu = new WeakSet(), Nd = function(t) {
25631
25642
  if (!("place" in t))
25632
25643
  throw "placeは必須です";
25633
25644
  const e = Number(t.place);
@@ -25637,27 +25648,27 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25637
25648
  if (!r)
25638
25649
  throw `place【${e}】は存在しません`;
25639
25650
  return new RsEvtRsv(), this.loadFromMark(t, r);
25640
- }, ku = new WeakSet(), Ad = function(t) {
25651
+ }, ku = new WeakSet(), kd = function(t) {
25641
25652
  const e = this.val.getMark(0);
25642
- delete U(this, Fe)[getFn(e.hSave["const.sn.scriptFn"])];
25653
+ delete U(this, Be)[getFn(e.hSave["const.sn.scriptFn"])];
25643
25654
  const r = {};
25644
- for (const N in U(this, Fe))
25655
+ for (const N in U(this, Be))
25645
25656
  try {
25646
25657
  U(this, Hr).call(this, N + "@");
25647
25658
  } catch {
25648
- r[N] = U(this, Fe)[N];
25659
+ r[N] = U(this, Be)[N];
25649
25660
  }
25650
- return Q(this, Fe, r), t.do_rec = !1, new RsEvtRsv(), this.loadFromMark(t, e, !1);
25651
- }, Di = new WeakMap(), Du = new WeakSet(), Ld = function() {
25661
+ return Q(this, Be, r), t.do_rec = !1, new RsEvtRsv(), this.loadFromMark(t, e, !1);
25662
+ }, Di = new WeakMap(), Du = new WeakSet(), Dd = function() {
25652
25663
  if (this.main.isDestroyed())
25653
25664
  return !1;
25654
25665
  const { fn: t, idx: e } = this.nowScrIdx();
25655
25666
  return this.val.setVal_Nochk("save", "const.sn.scriptFn", t), this.val.setVal_Nochk("save", "const.sn.scriptIdx", e), Q(this, Di, {
25656
25667
  hSave: this.val.cloneSave(),
25657
- hPages: U(this, ei).record(),
25658
- aIfStk: U(this, vi).slice(U(this, ce).length)
25668
+ hPages: U(this, ii).record(),
25669
+ aIfStk: U(this, Fe).slice(U(this, ce).length)
25659
25670
  }), !1;
25660
- }, Fu = new WeakSet(), Nd = function(t) {
25671
+ }, Fu = new WeakSet(), Fd = function(t) {
25661
25672
  if (!("place" in t))
25662
25673
  throw "placeは必須です";
25663
25674
  const e = Number(t.place);
@@ -25666,14 +25677,14 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25666
25677
  return e === r && this.val.setVal_Nochk("sys", "const.sn.save.place", r + 1), !1;
25667
25678
  }, K(ScriptIterator, cu, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), // reload 再生成 Main に受け渡すため static
25668
25679
  K(ScriptIterator, $n, {}), K(ScriptIterator, br, {});
25669
- var ii, wi, Be, Pi, Sr, Yn, Ne, oh, Tr, ta, Wn, hh, lh, ea, Bu, kd, uh, ch, ia, ra, Rh, qn, Zn;
25680
+ var ri, wi, Ue, Pi, Sr, Yn, Ne, oh, Tr, ta, Wn, hh, lh, ea, Bu, Bd, uh, ch, ia, ra, Rh, qn, Zn;
25670
25681
  const us = class {
25671
25682
  constructor(t) {
25672
25683
  K(this, Bu);
25673
25684
  K(this, ra);
25674
- K(this, ii, void 0);
25685
+ K(this, ri, void 0);
25675
25686
  K(this, wi, void 0);
25676
- K(this, Be, /* @__PURE__ */ Object.create(null));
25687
+ K(this, Ue, /* @__PURE__ */ Object.create(null));
25677
25688
  // タグ処理辞書
25678
25689
  K(this, Pi, void 0);
25679
25690
  K(this, Sr, void 0);
@@ -25703,7 +25714,7 @@ const us = class {
25703
25714
  K(this, qn, !1);
25704
25715
  pt(this, "isDestroyed", () => U(this, qn));
25705
25716
  K(this, Zn, void 0);
25706
- this.sys = t, skipHello(), Config.generate(t).then((e) => Q(this, ii, e)).then(() => et(this, Bu, kd).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
25717
+ this.sys = t, skipHello(), Config.generate(t).then((e) => Q(this, ri, e)).then(() => et(this, Bu, Bd).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
25707
25718
  }
25708
25719
  // thisの扱いによりメソッド代入はダメ
25709
25720
  errScript(t, e = !0) {
@@ -25712,10 +25723,10 @@ const us = class {
25712
25723
  }
25713
25724
  resumeByJumpOrCall(t) {
25714
25725
  if (t.url) {
25715
- U(this, Be).navigate_to(t), U(this, Ne).jumpJustBefore();
25726
+ U(this, Ue).navigate_to(t), U(this, Ne).jumpJustBefore();
25716
25727
  return;
25717
25728
  }
25718
- U(this, Pi).setVal_Nochk("tmp", "sn.eventArg", t.arg ?? ""), U(this, Pi).setVal_Nochk("tmp", "sn.eventLabel", t.label ?? ""), argChk_Boolean(t, "call", !1) ? (U(this, Ne).subIdxToken(), this.resume(() => U(this, Be).call(t))) : (U(this, Be).clear_event({}), this.resume(() => U(this, Be).jump(t)));
25729
+ U(this, Pi).setVal_Nochk("tmp", "sn.eventArg", t.arg ?? ""), U(this, Pi).setVal_Nochk("tmp", "sn.eventLabel", t.label ?? ""), argChk_Boolean(t, "call", !1) ? (U(this, Ne).subIdxToken(), this.resume(() => U(this, Ue).call(t))) : (U(this, Ue).clear_event({}), this.resume(() => U(this, Ue).jump(t)));
25719
25730
  }
25720
25731
  setLoop(t, e = "") {
25721
25732
  Q(this, ia, t) ? this.resume() : this.stop(), this.sys.setTitleInfo(e ? ` -- ${e}中` : "");
@@ -25724,26 +25735,26 @@ const us = class {
25724
25735
  U(this, ta).fire(t, e);
25725
25736
  }
25726
25737
  async destroy(t = 0) {
25727
- U(this, qn) || (Q(this, qn, !0), U(this, lh) && (this.stop(), Q(this, ia, !1), U(this, Tr).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), Q(this, Be, {}), U(this, ta).destroy(), U(this, Ne).destroy(), U(this, Tr).destroy(), U(this, oh).destroy(), U(this, wi).ticker.remove(U(this, uh)), U(this, Zn) && U(this, wi) && us.cvs.parentNode.appendChild(U(this, Zn)), clearTextureCache(), U(this, wi).destroy(!0), this.sys.destroy()));
25738
+ U(this, qn) || (Q(this, qn, !0), U(this, lh) && (this.stop(), Q(this, ia, !1), U(this, Tr).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), Q(this, Ue, {}), U(this, ta).destroy(), U(this, Ne).destroy(), U(this, Tr).destroy(), U(this, oh).destroy(), U(this, wi).ticker.remove(U(this, uh)), U(this, Zn) && U(this, wi) && us.cvs.parentNode.appendChild(U(this, Zn)), clearTextureCache(), U(this, wi).destroy(!0), this.sys.destroy()));
25728
25739
  }
25729
25740
  };
25730
25741
  let Main = us;
25731
- ii = new WeakMap(), wi = new WeakMap(), Be = new WeakMap(), Pi = new WeakMap(), Sr = new WeakMap(), Yn = new WeakMap(), Ne = new WeakMap(), oh = new WeakMap(), Tr = new WeakMap(), ta = new WeakMap(), Wn = new WeakMap(), hh = new WeakMap(), lh = new WeakMap(), ea = new WeakMap(), Bu = new WeakSet(), kd = async function() {
25742
+ ri = new WeakMap(), wi = new WeakMap(), Ue = new WeakMap(), Pi = new WeakMap(), Sr = new WeakMap(), Yn = new WeakMap(), Ne = new WeakMap(), oh = new WeakMap(), Tr = new WeakMap(), ta = new WeakMap(), Wn = new WeakMap(), hh = new WeakMap(), lh = new WeakMap(), ea = new WeakMap(), Bu = new WeakSet(), Bd = async function() {
25732
25743
  var N;
25733
25744
  const t = (N = document.createElement("canvas")) == null ? void 0 : N.getContext("2d");
25734
25745
  if (!t)
25735
25746
  throw "argChk_Color err";
25736
25747
  CmnLib.cc4ColorName = t;
25737
25748
  const e = {
25738
- width: U(this, ii).oCfg.window.width,
25739
- height: U(this, ii).oCfg.window.height,
25740
- backgroundColor: parseColor(String(U(this, ii).oCfg.init.bg_color)),
25749
+ width: U(this, ri).oCfg.window.width,
25750
+ height: U(this, ri).oCfg.window.height,
25751
+ backgroundColor: parseColor(String(U(this, ri).oCfg.init.bg_color)),
25741
25752
  // このString()は後方互換性のため必須
25742
25753
  // resolution : sys.resolution,
25743
25754
  resolution: globalThis.devicePixelRatio ?? 1
25744
25755
  // 理想
25745
25756
  }, r = document.getElementById(U(this, ea));
25746
- r && (Q(this, Zn, r.cloneNode(!0)), U(this, Zn).id = U(this, ea), e.view = r), Q(this, wi, new Application(e)), us.cvs = U(this, wi).view, r || (document.body.appendChild(us.cvs), us.cvs.id = U(this, ea)), Q(this, Pi, new Variable(U(this, ii), U(this, Be))), Q(this, Sr, new PropParser(U(this, Pi), U(this, ii).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(U(this, Be), U(this, wi), U(this, Pi), this)), U(this, Be).title({ text: U(this, ii).oCfg.book.title || "SKYNovel" }), Q(this, Yn, new SoundMng(U(this, ii), U(this, Be), U(this, Pi), this, this.sys)), Q(this, Ne, new ScriptIterator(U(this, ii), U(this, Be), this, U(this, Pi), U(this, hh), () => et(this, ra, Rh).call(this), U(this, Sr), U(this, Yn), this.sys)), Q(this, oh, new DebugMng(this.sys, U(this, Be), U(this, Ne))), Q(this, Tr, new LayerMng(U(this, ii), U(this, Be), U(this, wi), U(this, Pi), this, U(this, Ne), this.sys, U(this, Yn), U(this, hh), U(this, Sr))), Q(this, ta, new EventMng(U(this, ii), U(this, Be), U(this, wi), this, U(this, Tr), U(this, Pi), U(this, Yn), U(this, Ne), this.sys)), U(this, wi).ticker.add(U(this, uh)), this.resumeByJumpOrCall({ fn: "main" }), Q(this, lh, !0);
25757
+ r && (Q(this, Zn, r.cloneNode(!0)), U(this, Zn).id = U(this, ea), e.view = r), Q(this, wi, new Application(e)), us.cvs = U(this, wi).view, r || (document.body.appendChild(us.cvs), us.cvs.id = U(this, ea)), Q(this, Pi, new Variable(U(this, ri), U(this, Ue))), Q(this, Sr, new PropParser(U(this, Pi), U(this, ri).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(U(this, Ue), U(this, wi), U(this, Pi), this)), U(this, Ue).title({ text: U(this, ri).oCfg.book.title || "SKYNovel" }), Q(this, Yn, new SoundMng(U(this, ri), U(this, Ue), U(this, Pi), this, this.sys)), Q(this, Ne, new ScriptIterator(U(this, ri), U(this, Ue), this, U(this, Pi), U(this, hh), () => et(this, ra, Rh).call(this), U(this, Sr), U(this, Yn), this.sys)), Q(this, oh, new DebugMng(this.sys, U(this, Ue), U(this, Ne))), Q(this, Tr, new LayerMng(U(this, ri), U(this, Ue), U(this, wi), U(this, Pi), this, U(this, Ne), this.sys, U(this, Yn), U(this, hh), U(this, Sr))), Q(this, ta, new EventMng(U(this, ri), U(this, Ue), U(this, wi), this, U(this, Tr), U(this, Pi), U(this, Yn), U(this, Ne), this.sys)), U(this, wi).ticker.add(U(this, uh)), this.resumeByJumpOrCall({ fn: "main" }), Q(this, lh, !0);
25747
25758
  }, uh = new WeakMap(), ch = new WeakMap(), ia = new WeakMap(), ra = new WeakSet(), Rh = function() {
25748
25759
  for (; U(this, ia); ) {
25749
25760
  let t = U(this, Ne).nextToken();
@@ -25776,7 +25787,7 @@ ii = new WeakMap(), wi = new WeakMap(), Be = new WeakMap(), Pi = new WeakMap(),
25776
25787
  if (U(this, Ne).isBreak(t))
25777
25788
  return;
25778
25789
  const r = splitAmpersand(t.slice(1));
25779
- r.name = U(this, Sr).getValAmpersand(r.name), r.text = String(U(this, Sr).parse(r.text)), U(this, Be).let(r);
25790
+ r.name = U(this, Sr).getValAmpersand(r.name), r.text = String(U(this, Sr).parse(r.text)), U(this, Ue).let(r);
25780
25791
  continue;
25781
25792
  }
25782
25793
  if (t.charAt(1) === "&")