@famibee/skynovel 1.46.0 → 1.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +2311 -2303
- package/dist/app.js.map +1 -1
- package/dist/sn/CmnInterface.d.ts +7 -0
- package/dist/sn/CmnInterface.d.ts.map +1 -1
- package/dist/sn/SysBase.d.ts.map +1 -1
- package/dist/web.js +478 -470
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/web.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var gt = (o, t, e) => (
|
|
1
|
+
var Gd = Object.defineProperty;
|
|
2
|
+
var $d = (o, t, e) => t in o ? Gd(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
|
|
3
|
+
var gt = (o, t, e) => ($d(o, typeof t != "symbol" ? t + "" : t, e), e), qu = (o, t, e) => {
|
|
4
4
|
if (!t.has(o))
|
|
5
5
|
throw TypeError("Cannot " + e);
|
|
6
6
|
};
|
|
7
|
-
var U = (o, t, e) => (
|
|
7
|
+
var U = (o, t, e) => (qu(o, t, "read from private field"), e ? e.call(o) : t.get(o)), K = (o, t, e) => {
|
|
8
8
|
if (t.has(o))
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
t instanceof WeakSet ? t.add(o) : t.set(o, e);
|
|
11
|
-
}, J = (o, t, e, r) => (
|
|
11
|
+
}, J = (o, t, e, r) => (qu(o, t, "write to private field"), r ? r.call(o, e) : t.set(o, e), e), Ee = (o, t, e, r) => ({
|
|
12
12
|
set _(N) {
|
|
13
13
|
J(o, t, N, e);
|
|
14
14
|
},
|
|
15
15
|
get _() {
|
|
16
16
|
return U(o, t, r);
|
|
17
17
|
}
|
|
18
|
-
}), et = (o, t, e) => (
|
|
18
|
+
}), et = (o, t, e) => (qu(o, t, "access private method"), e);
|
|
19
19
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
20
20
|
function getDefaultExportFromCjs(o) {
|
|
21
21
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
@@ -478,10 +478,10 @@ const REG_EXT = /\.([^\.]+)$/;
|
|
|
478
478
|
function getExt(o) {
|
|
479
479
|
return (o.match(REG_EXT) ?? ["", ""])[1];
|
|
480
480
|
}
|
|
481
|
-
var
|
|
481
|
+
var jc, Hc;
|
|
482
482
|
class CmnLib {
|
|
483
483
|
}
|
|
484
|
-
gt(CmnLib, "stageW", 0), gt(CmnLib, "stageH", 0), gt(CmnLib, "debugLog", !1), gt(CmnLib, "isSafari", platformExports.name === "Safari"), gt(CmnLib, "isFirefox", platformExports.name === "Firefox"), gt(CmnLib, "isMac", new RegExp("OS X").test(((
|
|
484
|
+
gt(CmnLib, "stageW", 0), gt(CmnLib, "stageH", 0), gt(CmnLib, "debugLog", !1), gt(CmnLib, "isSafari", platformExports.name === "Safari"), gt(CmnLib, "isFirefox", platformExports.name === "Firefox"), gt(CmnLib, "isMac", new RegExp("OS X").test(((jc = platformExports.os) == null ? void 0 : jc.family) ?? "")), gt(CmnLib, "isMobile", !new RegExp("(Windows|OS X)").test(((Hc = platformExports.os) == null ? void 0 : Hc.family) ?? "")), gt(CmnLib, "hDip", {}), gt(CmnLib, "isDbg", !1), gt(CmnLib, "isPackaged", !1), gt(CmnLib, "isDarkMode", !1), gt(CmnLib, "cc4ColorName");
|
|
485
485
|
function finallyConstructor(o) {
|
|
486
486
|
var t = this.constructor;
|
|
487
487
|
return this.then(
|
|
@@ -16228,7 +16228,7 @@ class EventListenerCtn {
|
|
|
16228
16228
|
}
|
|
16229
16229
|
}
|
|
16230
16230
|
Mr = new WeakMap();
|
|
16231
|
-
var SEARCH_PATH_ARG_EXT = /* @__PURE__ */ ((o) => (o.DEFAULT = "", o.SP_GSM = "png|jpg|jpeg|json|svg|webp|mp4|webm", o.SCRIPT = "sn|ssn", o.FONT = "woff2|woff|otf|ttf", o.SOUND = "mp3|m4a|ogg|aac|flac|wav", o.HTML = "htm|html", o.CSS = "css", o.SN = "sn", o.PSD = "psd", o.TST_PNGPNG_ = "png|png_", o.TST_HH = "hh", o.TST_EEE = "eee", o.TST_GGG = "ggg", o.TST_PNGXML = "png|xml", o))(SEARCH_PATH_ARG_EXT || {}), Ea, Sa,
|
|
16231
|
+
var SEARCH_PATH_ARG_EXT = /* @__PURE__ */ ((o) => (o.DEFAULT = "", o.SP_GSM = "png|jpg|jpeg|json|svg|webp|mp4|webm", o.SCRIPT = "sn|ssn", o.FONT = "woff2|woff|otf|ttf", o.SOUND = "mp3|m4a|ogg|aac|flac|wav", o.HTML = "htm|html", o.CSS = "css", o.SN = "sn", o.PSD = "psd", o.TST_PNGPNG_ = "png|png_", o.TST_HH = "hh", o.TST_EEE = "eee", o.TST_GGG = "ggg", o.TST_PNGXML = "png|xml", o))(SEARCH_PATH_ARG_EXT || {}), Ea, Sa, Lh;
|
|
16232
16232
|
class ConfigBase {
|
|
16233
16233
|
constructor(t) {
|
|
16234
16234
|
gt(this, "oCfg", {
|
|
@@ -16288,7 +16288,7 @@ class ConfigBase {
|
|
|
16288
16288
|
gt(this, "hPathFn2Exts", {});
|
|
16289
16289
|
K(this, Ea, !1);
|
|
16290
16290
|
K(this, Sa, !1);
|
|
16291
|
-
K(this,
|
|
16291
|
+
K(this, Lh, /([^\/\s]+)\.([^\d]\w+)/);
|
|
16292
16292
|
this.sys = t;
|
|
16293
16293
|
}
|
|
16294
16294
|
async load(t) {
|
|
@@ -16326,7 +16326,7 @@ class ConfigBase {
|
|
|
16326
16326
|
throw "[searchPath] fnが空です";
|
|
16327
16327
|
if (t.slice(0, 7) === "http://")
|
|
16328
16328
|
return t;
|
|
16329
|
-
const r = t.match(U(this,
|
|
16329
|
+
const r = t.match(U(this, Lh));
|
|
16330
16330
|
let N = r ? r[1] : t;
|
|
16331
16331
|
const k = r ? r[2] : "";
|
|
16332
16332
|
if (this.userFnTail) {
|
|
@@ -16395,7 +16395,7 @@ class ConfigBase {
|
|
|
16395
16395
|
this.hPathFn2Exts[t] = r;
|
|
16396
16396
|
}
|
|
16397
16397
|
}
|
|
16398
|
-
Ea = new WeakMap(), Sa = new WeakMap(),
|
|
16398
|
+
Ea = new WeakMap(), Sa = new WeakMap(), Lh = new WeakMap();
|
|
16399
16399
|
class Config extends ConfigBase {
|
|
16400
16400
|
constructor(t) {
|
|
16401
16401
|
super(t), this.sys = t;
|
|
@@ -16437,7 +16437,7 @@ function splitAmpersand(o) {
|
|
|
16437
16437
|
cast: e === 3 ? t[2].trim() : void 0
|
|
16438
16438
|
};
|
|
16439
16439
|
}
|
|
16440
|
-
var en, rn, Ta, wa, Pa, je, Ca, fs,
|
|
16440
|
+
var en, rn, Ta, wa, Pa, je, Ca, fs, yh;
|
|
16441
16441
|
class Grammar {
|
|
16442
16442
|
constructor() {
|
|
16443
16443
|
K(this, fs);
|
|
@@ -16484,7 +16484,7 @@ class Grammar {
|
|
|
16484
16484
|
throw "[bracket2macro] text【" + B + "】は括弧マクロに使用できない文字です";
|
|
16485
16485
|
if (U(this, rn).test($))
|
|
16486
16486
|
throw "[bracket2macro] text【" + $ + "】は括弧マクロに使用できない文字です";
|
|
16487
|
-
U(this, je)[$] = "0", U(this, je)[B] = `[${k} text=`, this.addC2M(`\\${B}[^\\${$}]*\\${$}`, `\\${B}\\${$}`), et(this, fs,
|
|
16487
|
+
U(this, je)[$] = "0", U(this, je)[B] = `[${k} text=`, this.addC2M(`\\${B}[^\\${$}]*\\${$}`, `\\${B}\\${$}`), et(this, fs, yh).call(this, r, N);
|
|
16488
16488
|
}
|
|
16489
16489
|
// 一文字マクロの定義
|
|
16490
16490
|
char2macro(t, e, r, N) {
|
|
@@ -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, fs,
|
|
16502
|
+
U(this, je)[k] = `[${D}]`, this.addC2M(`\\${k}`, `\\${k}`), et(this, fs, yh).call(this, r, N);
|
|
16503
16503
|
}
|
|
16504
16504
|
addC2M(t, e) {
|
|
16505
16505
|
J(this, wa, U(this, wa) + `${t}|`), J(this, Pa, U(this, Pa) + `${e}`), J(this, Ta, new RegExp(
|
|
@@ -16519,7 +16519,7 @@ class Grammar {
|
|
|
16519
16519
|
const [, B, $] = D;
|
|
16520
16520
|
return [B, $];
|
|
16521
16521
|
})) ?? [], r = { aToken: e, len: e.length, aLNum: [] };
|
|
16522
|
-
return et(this, fs,
|
|
16522
|
+
return et(this, fs, yh).call(this, r), r;
|
|
16523
16523
|
}
|
|
16524
16524
|
testTagLetml(t) {
|
|
16525
16525
|
return /^\[let_ml\s/.test(t);
|
|
@@ -16535,7 +16535,7 @@ class Grammar {
|
|
|
16535
16535
|
}
|
|
16536
16536
|
//4tst
|
|
16537
16537
|
}
|
|
16538
|
-
en = new WeakMap(), rn = new WeakMap(), Ta = new WeakMap(), wa = new WeakMap(), Pa = new WeakMap(), je = new WeakMap(), Ca = new WeakMap(), fs = new WeakSet(),
|
|
16538
|
+
en = new WeakMap(), rn = new WeakMap(), Ta = new WeakMap(), wa = new WeakMap(), Pa = new WeakMap(), je = new WeakMap(), Ca = new WeakMap(), fs = new WeakSet(), yh = function(t, e = 0) {
|
|
16539
16539
|
if (U(this, je)) {
|
|
16540
16540
|
for (let r = t.len - 1; r >= e; --r) {
|
|
16541
16541
|
const N = t.aToken[r];
|
|
@@ -16555,7 +16555,7 @@ en = new WeakMap(), rn = new WeakMap(), Ta = new WeakMap(), wa = new WeakMap(),
|
|
|
16555
16555
|
t.len = t.aToken.length;
|
|
16556
16556
|
}
|
|
16557
16557
|
};
|
|
16558
|
-
var Ra, ds,
|
|
16558
|
+
var Ra, ds, bh, nn, ps;
|
|
16559
16559
|
class AnalyzeTagArg {
|
|
16560
16560
|
constructor() {
|
|
16561
16561
|
K(this, ds);
|
|
@@ -16597,7 +16597,7 @@ class AnalyzeTagArg {
|
|
|
16597
16597
|
const { key: z, val: X, val2: V, literal: Y } = B;
|
|
16598
16598
|
if (Y) {
|
|
16599
16599
|
if (Y.at(-1) === "=") {
|
|
16600
|
-
const Q = Y.length - 1, { ch: it } = et(this, ds,
|
|
16600
|
+
const Q = Y.length - 1, { ch: it } = et(this, ds, bh).call(this, e, r, N, D, $ + Q);
|
|
16601
16601
|
k[Y.slice(0, -1)] = {
|
|
16602
16602
|
k_ln: r,
|
|
16603
16603
|
k_ch: it - Q,
|
|
@@ -16611,7 +16611,7 @@ class AnalyzeTagArg {
|
|
|
16611
16611
|
}
|
|
16612
16612
|
if (!z)
|
|
16613
16613
|
continue;
|
|
16614
|
-
const { ln: q, ch: W } = et(this, ds,
|
|
16614
|
+
const { ln: q, ch: W } = et(this, ds, bh).call(this, e, r, N, D, $), { ln: Z, ch: tt } = et(this, ds, bh).call(this, e, r, N, D, $ + H.lastIndexOf(X ?? V) - (X ? 0 : 1));
|
|
16615
16615
|
k[z] = { k_ln: q, k_ch: W, v_ln: Z, v_ch: tt, v_len: X ? X.length : V.length + 2 };
|
|
16616
16616
|
}
|
|
16617
16617
|
return k;
|
|
@@ -16623,7 +16623,7 @@ class AnalyzeTagArg {
|
|
|
16623
16623
|
return U(this, ps);
|
|
16624
16624
|
}
|
|
16625
16625
|
}
|
|
16626
|
-
Ra = new WeakMap(), ds = new WeakSet(),
|
|
16626
|
+
Ra = new WeakMap(), ds = new WeakSet(), bh = function(t, e, r, N, k) {
|
|
16627
16627
|
const B = N.slice(0, k).split(`
|
|
16628
16628
|
`), $ = B.length;
|
|
16629
16629
|
return {
|
|
@@ -16870,9 +16870,9 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
16870
16870
|
var is = rt.split(/\r\n|[\n\r\u2028\u2029]/);
|
|
16871
16871
|
dt = Vt.column - 1, _t = Vt.line - 1, Ct = Wt(_t, Ot, jt, is.length), Tt = is.slice(Ct.from, Ct.to), Rt = Ct.to.toString().length;
|
|
16872
16872
|
}
|
|
16873
|
-
var
|
|
16873
|
+
var Ud = _t - Ct.from;
|
|
16874
16874
|
return ht(rt) && (Rt = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Rt = 2), $(function(Me, rs, ns) {
|
|
16875
|
-
var Zr, ss = ns ===
|
|
16875
|
+
var Zr, ss = ns === Ud, as = ss ? "> " : Ut;
|
|
16876
16876
|
return Zr = ht(rt) ? Ft((8 * (Ct.from + ns)).toString(16), Rt, "0") : Ft((Ct.from + ns + 1).toString(), Rt, " "), [].concat(Me, [as + Zr + " | " + rs], ss ? [Ut + Gt(" ", Rt) + " | " + Ft("", dt, " ") + Gt("^", $e)] : []);
|
|
16877
16877
|
}, [], Tt).join(`
|
|
16878
16878
|
`);
|
|
@@ -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"), ii = Nt(/[a-z]/i).desc("a letter"),
|
|
17158
|
-
`),
|
|
17159
|
-
`),
|
|
17160
|
-
k.all = xe, k.alt = St, k.any = Bi, k.cr =
|
|
17157
|
+
}), le = Nt(/[0-9]/).desc("a digit"), te = Nt(/[0-9]*/).desc("optional digits"), ii = Nt(/[a-z]/i).desc("a letter"), kd = Nt(/[a-z]*/i).desc("optional letters"), Dd = Nt(/\s*/).desc("optional whitespace"), Fd = Nt(/\s+/).desc("whitespace"), Bc = pt("\r"), Uc = pt(`
|
|
17158
|
+
`), Gc = pt(`\r
|
|
17159
|
+
`), $c = St(Gc, Uc, Bc).desc("newline"), Bd = St($c, ge);
|
|
17160
|
+
k.all = xe, k.alt = St, k.any = Bi, k.cr = Bc, k.createLanguage = function(rt) {
|
|
17161
17161
|
var ct = {};
|
|
17162
17162
|
for (var dt in rt)
|
|
17163
17163
|
({}).hasOwnProperty.call(rt, dt) && function(_t) {
|
|
@@ -17166,9 +17166,9 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17166
17166
|
});
|
|
17167
17167
|
}(dt);
|
|
17168
17168
|
return ct;
|
|
17169
|
-
}, k.crlf =
|
|
17169
|
+
}, k.crlf = Gc, k.custom = function(rt) {
|
|
17170
17170
|
return k(rt(ot, nt));
|
|
17171
|
-
}, k.digit = le, k.digits = te, k.empty = vi, k.end =
|
|
17171
|
+
}, k.digit = le, k.digits = te, k.empty = vi, k.end = Bd, k.eof = ge, k.fail = mt, k.formatError = qt, k.index = qe, k.isParser = at, k.lazy = pi, k.letter = ii, k.letters = kd, k.lf = Uc, k.lookahead = Re, k.makeFailure = nt, k.makeSuccess = ot, k.newline = $c, k.noneOf = function(rt) {
|
|
17172
17172
|
return Oe(function(ct) {
|
|
17173
17173
|
return rt.indexOf(ct) < 0;
|
|
17174
17174
|
}).desc("none of '" + rt + "'");
|
|
@@ -17178,7 +17178,7 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17178
17178
|
return Oe(function(_t) {
|
|
17179
17179
|
return rt.indexOf(_t) >= 0;
|
|
17180
17180
|
}).desc(ct);
|
|
17181
|
-
}, k.optWhitespace =
|
|
17181
|
+
}, k.optWhitespace = Dd, k.Parser = k, k.range = function(rt, ct) {
|
|
17182
17182
|
return Oe(function(dt) {
|
|
17183
17183
|
return rt <= dt && dt <= ct;
|
|
17184
17184
|
}).desc(rt + "-" + ct);
|
|
@@ -17213,7 +17213,7 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17213
17213
|
_t++;
|
|
17214
17214
|
return ot(_t, ct.slice(dt, _t));
|
|
17215
17215
|
});
|
|
17216
|
-
}, k.test = Oe, k.whitespace =
|
|
17216
|
+
}, k.test = Oe, k.whitespace = Fd, k["fantasy-land/empty"] = vi, k["fantasy-land/of"] = Yt, k.Binary = { bitSeq: Y, bitSeqObj: function(rt) {
|
|
17217
17217
|
V();
|
|
17218
17218
|
var ct = {}, dt = 0, _t = H(function(Ct) {
|
|
17219
17219
|
if (st(Ct)) {
|
|
@@ -17268,8 +17268,8 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17268
17268
|
}]);
|
|
17269
17269
|
});
|
|
17270
17270
|
})(parsimmon_umd_min);
|
|
17271
|
-
var parsimmon_umd_minExports = parsimmon_umd_min.exports, sn, $t, zt, Pi, sr, Kr,
|
|
17272
|
-
const
|
|
17271
|
+
var parsimmon_umd_minExports = parsimmon_umd_min.exports, sn, $t, zt, Pi, sr, Kr, Nh, Oa, Zu, kh, Dh, zc;
|
|
17272
|
+
const Dc = class {
|
|
17273
17273
|
constructor(t, e = "\\") {
|
|
17274
17274
|
K(this, $t);
|
|
17275
17275
|
K(this, sr);
|
|
@@ -17277,7 +17277,7 @@ const kc = class {
|
|
|
17277
17277
|
K(this, sn, null);
|
|
17278
17278
|
K(this, Pi, {
|
|
17279
17279
|
"!num!": (t) => t.shift(),
|
|
17280
|
-
"!str!": (t) => et(this, Oa,
|
|
17280
|
+
"!str!": (t) => et(this, Oa, Zu).call(this, t.shift()),
|
|
17281
17281
|
"!bool!": (t) => t.shift(),
|
|
17282
17282
|
PostfixInc: (t) => {
|
|
17283
17283
|
throw Error("(PropParser)後置インクリメントは未サポートです");
|
|
@@ -17363,7 +17363,7 @@ const kc = class {
|
|
|
17363
17363
|
throw Error("(PropParser)三項演算子の文法エラーです。? が見つかりません");
|
|
17364
17364
|
}
|
|
17365
17365
|
});
|
|
17366
|
-
K(this,
|
|
17366
|
+
K(this, Nh, /(\$((tmp|sys|save|mp):)?[^\s!--\/:-@[-^`{-~]+|\#\{[^\}]+})/g);
|
|
17367
17367
|
gt(this, "getValAmpersand", (t) => t.at(0) === "&" ? String(this.parse(t.slice(1))) : t);
|
|
17368
17368
|
this.val = t;
|
|
17369
17369
|
function r(Q) {
|
|
@@ -17465,24 +17465,24 @@ const kc = class {
|
|
|
17465
17465
|
if (!e.status)
|
|
17466
17466
|
throw Error("(PropParser)文法エラー【" + t + "】");
|
|
17467
17467
|
const r = e.value;
|
|
17468
|
-
return r[0] === "!str!" ? et(this, Oa,
|
|
17468
|
+
return r[0] === "!str!" ? et(this, Oa, Zu).call(this, r[1]) : et(this, $t, zt).call(this, r);
|
|
17469
17469
|
}
|
|
17470
17470
|
// 522 match 18413 step(~10ms) https://regex101.com/r/tmCKuE/1
|
|
17471
17471
|
// →これは改良しようがない。いい意味で改善の余地なし
|
|
17472
17472
|
static getValName(t) {
|
|
17473
17473
|
var B;
|
|
17474
|
-
const e = U(this,
|
|
17474
|
+
const e = U(this, kh).exec(t.trim()), r = e == null ? void 0 : e.groups;
|
|
17475
17475
|
if (!r)
|
|
17476
17476
|
return null;
|
|
17477
17477
|
const { scope: N = "tmp", name: k, at: D = "" } = r;
|
|
17478
17478
|
return {
|
|
17479
17479
|
scope: N,
|
|
17480
|
-
name: et(B =
|
|
17480
|
+
name: et(B = Dc, Dh, zc).call(B, k),
|
|
17481
17481
|
at: D
|
|
17482
17482
|
};
|
|
17483
17483
|
}
|
|
17484
17484
|
};
|
|
17485
|
-
let PropParser =
|
|
17485
|
+
let PropParser = Dc;
|
|
17486
17486
|
sn = new WeakMap(), $t = new WeakSet(), zt = function(t) {
|
|
17487
17487
|
const e = t.shift();
|
|
17488
17488
|
if (e instanceof Array)
|
|
@@ -17494,12 +17494,12 @@ sn = new WeakMap(), $t = new WeakSet(), zt = function(t) {
|
|
|
17494
17494
|
if (Object.prototype.toString.call(e) !== "[object Number]")
|
|
17495
17495
|
throw Error("(PropParser)引数【" + e + "】が数値ではありません");
|
|
17496
17496
|
return Number(e);
|
|
17497
|
-
},
|
|
17497
|
+
}, Nh = new WeakMap(), Oa = new WeakSet(), Zu = function(t) {
|
|
17498
17498
|
return t == null ? t : String(t).replaceAll(
|
|
17499
|
-
U(this,
|
|
17499
|
+
U(this, Nh),
|
|
17500
17500
|
(e) => e.at(0) === "$" ? this.val.getVal(e.slice(1)) : this.parse(e.slice(2, -1))
|
|
17501
17501
|
);
|
|
17502
|
-
},
|
|
17502
|
+
}, kh = new WeakMap(), Dh = new WeakSet(), zc = function(t) {
|
|
17503
17503
|
let e = 0, r = 0;
|
|
17504
17504
|
for (; ; ) {
|
|
17505
17505
|
if (e = t.indexOf('["'), e < 0) {
|
|
@@ -17513,15 +17513,15 @@ sn = new WeakMap(), $t = new WeakSet(), zt = function(t) {
|
|
|
17513
17513
|
t = t.slice(0, e) + "." + t.slice(e + 2, r) + t.slice(r + 2), e = r - 2;
|
|
17514
17514
|
}
|
|
17515
17515
|
return t;
|
|
17516
|
-
}, K(PropParser,
|
|
17517
|
-
var Ci, an, vs, Ri, Ma,
|
|
17516
|
+
}, K(PropParser, Dh), K(PropParser, kh, /^((?<scope>\w+?):)?(?<name>[^\s :@]+)(?<at>\@str)?$/);
|
|
17517
|
+
var Ci, an, vs, Ri, Ma, Fh, Vc, Bh, Xc, Uh, Yc, Gh, Wc;
|
|
17518
17518
|
const he = class {
|
|
17519
17519
|
constructor(t, e, r) {
|
|
17520
|
-
K(this, Dh);
|
|
17521
17520
|
K(this, Fh);
|
|
17521
|
+
K(this, Bh);
|
|
17522
17522
|
// ログ出力
|
|
17523
17523
|
K(this, Ma, !0);
|
|
17524
|
-
this.sys = t, J(he, Ci, r), J(he, an, e), J(he, vs, e.title), he.myTrace = et(he,
|
|
17524
|
+
this.sys = t, J(he, Ci, r), J(he, an, e), J(he, vs, e.title), he.myTrace = et(he, Uh, Yc), e.log = (N) => et(this, Fh, Vc).call(this, N), e.trace = (N) => et(this, Bh, Xc).call(this, N), J(he, Ri, document.createElement("span")), U(he, Ri).hidden = !0, U(he, Ri).textContent = "", U(he, Ri).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, Ri));
|
|
@@ -17554,7 +17554,7 @@ const he = class {
|
|
|
17554
17554
|
}
|
|
17555
17555
|
};
|
|
17556
17556
|
let DebugMng = he;
|
|
17557
|
-
Ci = new WeakMap(), an = new WeakMap(), vs = new WeakMap(), Ri = new WeakMap(), Ma = new WeakMap(),
|
|
17557
|
+
Ci = new WeakMap(), an = new WeakMap(), vs = new WeakMap(), Ri = new WeakMap(), Ma = new WeakMap(), Fh = new WeakSet(), Vc = function(t) {
|
|
17558
17558
|
let e = "";
|
|
17559
17559
|
return U(this, Ma) && (J(this, Ma, !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
|
-
},
|
|
17569
|
+
}, Bh = new WeakSet(), Xc = function(t) {
|
|
17570
17570
|
return he.myTrace(t.text || `(text is ${t.text})`, "I"), !1;
|
|
17571
|
-
},
|
|
17571
|
+
}, Uh = new WeakSet(), Yc = function(t, e = "E") {
|
|
17572
17572
|
var k, D;
|
|
17573
17573
|
let r = `{${e}} ` + he.strPos() + t;
|
|
17574
|
-
et(k = he,
|
|
17574
|
+
et(k = he, Gh, Wc).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
|
-
},
|
|
17596
|
+
}, Gh = new WeakSet(), Wc = function(t, e) {
|
|
17597
17597
|
let r = "";
|
|
17598
17598
|
switch (e) {
|
|
17599
17599
|
case "D":
|
|
@@ -17613,7 +17613,7 @@ ${t.text || `(text is ${t.text})`}
|
|
|
17613
17613
|
r = "";
|
|
17614
17614
|
}
|
|
17615
17615
|
U(he, Ri).innerHTML += `<span style='${r}'>${t}</span><br/>`, U(he, Ri).hidden = !1;
|
|
17616
|
-
}, K(DebugMng,
|
|
17616
|
+
}, K(DebugMng, Uh), K(DebugMng, Gh), K(DebugMng, Ci, void 0), K(DebugMng, an, void 0), K(DebugMng, vs, void 0), K(DebugMng, Ri, void 0), gt(DebugMng, "myTrace", he.trace_beforeNew), gt(DebugMng, "strPos", () => U(he, Ci) && U(he, Ci).lineNum > 0 ? `(fn:${U(he, Ci).scriptFn} line:${U(he, Ci).lineNum}) ` : "");
|
|
17617
17617
|
class Areas {
|
|
17618
17618
|
constructor() {
|
|
17619
17619
|
gt(this, "hAreas", /* @__PURE__ */ Object.create(null));
|
|
@@ -17666,34 +17666,34 @@ class Areas {
|
|
|
17666
17666
|
return t.slice(1);
|
|
17667
17667
|
}
|
|
17668
17668
|
}
|
|
17669
|
-
var Ie, mi, Te, ar, we, ai, Gi, Ia,
|
|
17669
|
+
var Ie, mi, Te, ar, we, ai, Gi, Ia, $h, Aa, Ku, La, Na, jh, qc, Hh, Zc, _i, Ui, zh, Kc, Vh, Jc, Xh, Qc, Yh, tf, Wh, ef, qh, rf, Zh, nf, Kh, sf, ms, xh, ka, Ju, Da, hn, Fa, Qu, Jh, Qh, _s, Ba, gs, Eh, tl, af, el, of, Ua, tc, Ga, ec, il, hf;
|
|
17670
17670
|
const us = class {
|
|
17671
17671
|
constructor(t, e) {
|
|
17672
17672
|
K(this, Aa);
|
|
17673
17673
|
// // しおり
|
|
17674
17674
|
// しおりの複写
|
|
17675
|
-
K(this, $h);
|
|
17676
|
-
// しおりの消去
|
|
17677
17675
|
K(this, jh);
|
|
17676
|
+
// しおりの消去
|
|
17677
|
+
K(this, Hh);
|
|
17678
17678
|
// // 変数操作
|
|
17679
17679
|
// 変数代入・演算
|
|
17680
17680
|
K(this, _i);
|
|
17681
17681
|
// 絶対値
|
|
17682
|
-
K(this, Hh);
|
|
17683
|
-
// 文字列から一字取りだし
|
|
17684
17682
|
K(this, zh);
|
|
17685
|
-
//
|
|
17683
|
+
// 文字列から一字取りだし
|
|
17686
17684
|
K(this, Vh);
|
|
17687
|
-
//
|
|
17685
|
+
// 文字列で検索
|
|
17688
17686
|
K(this, Xh);
|
|
17689
|
-
//
|
|
17687
|
+
// 文字列の長さ
|
|
17690
17688
|
K(this, Yh);
|
|
17691
|
-
//
|
|
17689
|
+
// 正規表現で置換
|
|
17692
17690
|
K(this, Wh);
|
|
17693
|
-
//
|
|
17691
|
+
// 四捨五入
|
|
17694
17692
|
K(this, qh);
|
|
17695
|
-
//
|
|
17693
|
+
// 正規表現で検索
|
|
17696
17694
|
K(this, Zh);
|
|
17695
|
+
// 文字列から抜きだし
|
|
17696
|
+
K(this, Kh);
|
|
17697
17697
|
// // デバッグ・その他
|
|
17698
17698
|
// システム変数の全消去
|
|
17699
17699
|
K(this, ms);
|
|
@@ -17701,11 +17701,11 @@ const us = class {
|
|
|
17701
17701
|
K(this, ka);
|
|
17702
17702
|
K(this, Fa);
|
|
17703
17703
|
K(this, gs);
|
|
17704
|
-
K(this, Qh);
|
|
17705
17704
|
K(this, tl);
|
|
17705
|
+
K(this, el);
|
|
17706
17706
|
K(this, Ua);
|
|
17707
17707
|
K(this, Ga);
|
|
17708
|
-
K(this,
|
|
17708
|
+
K(this, il);
|
|
17709
17709
|
K(this, Ie, { sys: {}, save: {}, tmp: {}, mp: {} });
|
|
17710
17710
|
K(this, mi, U(this, Ie).save);
|
|
17711
17711
|
K(this, Te, U(this, Ie).tmp);
|
|
@@ -17714,8 +17714,8 @@ const us = class {
|
|
|
17714
17714
|
K(this, ai, void 0);
|
|
17715
17715
|
K(this, Gi, {});
|
|
17716
17716
|
K(this, Ia, void 0);
|
|
17717
|
-
K(this,
|
|
17718
|
-
auth: (t, e) => et(this, Aa,
|
|
17717
|
+
K(this, $h, {
|
|
17718
|
+
auth: (t, e) => et(this, Aa, Ku).call(this, e.hBreakpoint.aData),
|
|
17719
17719
|
var: (t, e) => U(this, ar).send2Dbg(e.ri, { v: U(this, Ie)[e.scope] ?? {} }),
|
|
17720
17720
|
set_var: (t, e) => {
|
|
17721
17721
|
try {
|
|
@@ -17724,7 +17724,7 @@ const us = class {
|
|
|
17724
17724
|
}
|
|
17725
17725
|
},
|
|
17726
17726
|
set_data_break: (t, e) => {
|
|
17727
|
-
et(this, Aa,
|
|
17727
|
+
et(this, Aa, Ku).call(this, e.a), U(this, ar).send2Dbg(e.ri, {});
|
|
17728
17728
|
},
|
|
17729
17729
|
disconnect: (t) => J(us, hn, {})
|
|
17730
17730
|
});
|
|
@@ -17791,11 +17791,11 @@ const us = class {
|
|
|
17791
17791
|
break;
|
|
17792
17792
|
}
|
|
17793
17793
|
}
|
|
17794
|
-
return D instanceof Function && (D = D()), r.at === "@str" ? D : et(this, Fa,
|
|
17794
|
+
return D instanceof Function && (D = D()), r.at === "@str" ? D : et(this, Fa, Qu).call(this, D);
|
|
17795
17795
|
});
|
|
17796
|
-
K(this,
|
|
17796
|
+
K(this, Jh, /^-?[\d\.]+$/);
|
|
17797
17797
|
// 変数のダンプ
|
|
17798
|
-
K(this,
|
|
17798
|
+
K(this, Qh, () => {
|
|
17799
17799
|
const t = { tmp: {}, sys: {}, save: {}, mp: {} };
|
|
17800
17800
|
for (let e in t) {
|
|
17801
17801
|
const r = U(this, Ie)[e], N = t[e];
|
|
@@ -17807,18 +17807,18 @@ const us = class {
|
|
|
17807
17807
|
K(this, _s, !1);
|
|
17808
17808
|
K(this, Ba, {
|
|
17809
17809
|
// sys
|
|
17810
|
-
"sys:sn.tagCh.doWait": (t) => et(this, gs,
|
|
17811
|
-
"sys:sn.tagCh.doWait_Kidoku": (t) => et(this, gs,
|
|
17812
|
-
"sys:sn.tagCh.msecWait": (t) => et(this,
|
|
17813
|
-
"sys:sn.tagCh.msecWait_Kidoku": (t) => et(this,
|
|
17814
|
-
"sys:sn.tagCh.canskip": (t) => et(this, gs,
|
|
17815
|
-
"sys:sn.auto.msecPageWait": (t) => et(this, Ua,
|
|
17816
|
-
"sys:sn.auto.msecPageWait_Kidoku": (t) => et(this, Ua,
|
|
17817
|
-
"sys:sn.auto.msecLineWait": (t) => et(this, Ga,
|
|
17818
|
-
"sys:sn.auto.msecLineWait_Kidoku": (t) => et(this, Ga,
|
|
17810
|
+
"sys:sn.tagCh.doWait": (t) => et(this, gs, Eh).call(this, t),
|
|
17811
|
+
"sys:sn.tagCh.doWait_Kidoku": (t) => et(this, gs, Eh).call(this, t),
|
|
17812
|
+
"sys:sn.tagCh.msecWait": (t) => et(this, tl, af).call(this, t),
|
|
17813
|
+
"sys:sn.tagCh.msecWait_Kidoku": (t) => et(this, el, of).call(this, t),
|
|
17814
|
+
"sys:sn.tagCh.canskip": (t) => et(this, gs, Eh).call(this, t),
|
|
17815
|
+
"sys:sn.auto.msecPageWait": (t) => et(this, Ua, tc).call(this, t),
|
|
17816
|
+
"sys:sn.auto.msecPageWait_Kidoku": (t) => et(this, Ua, tc).call(this, t),
|
|
17817
|
+
"sys:sn.auto.msecLineWait": (t) => et(this, Ga, ec).call(this, t),
|
|
17818
|
+
"sys:sn.auto.msecLineWait_Kidoku": (t) => et(this, Ga, ec).call(this, t),
|
|
17819
17819
|
// save
|
|
17820
17820
|
"save:sn.doRecLog": (t) => {
|
|
17821
|
-
U(this, Na).call(this, J(this, _s, et(this,
|
|
17821
|
+
U(this, Na).call(this, J(this, _s, et(this, il, hf).call(this, t)));
|
|
17822
17822
|
},
|
|
17823
17823
|
"save:sn.userFnTail": (t, e) => {
|
|
17824
17824
|
if (e.includes("@"))
|
|
@@ -17829,14 +17829,14 @@ const us = class {
|
|
|
17829
17829
|
"tmp:flash.desktop.NativeApplication.nativeApplication.systemIdleMode": () => {
|
|
17830
17830
|
}
|
|
17831
17831
|
});
|
|
17832
|
-
if (this.cfg = t, e.let = (k) => et(this, _i, Ui).call(this, k), e.let_abs = (k) => et(this,
|
|
17832
|
+
if (this.cfg = t, e.let = (k) => et(this, _i, Ui).call(this, k), e.let_abs = (k) => et(this, zh, Kc).call(this, k), e.let_char_at = (k) => et(this, Vh, Jc).call(this, k), e.let_index_of = (k) => et(this, Xh, Qc).call(this, k), e.let_length = (k) => et(this, Yh, tf).call(this, k), e.let_replace = (k) => et(this, Wh, ef).call(this, k), e.let_round = (k) => et(this, qh, rf).call(this, k), e.let_search = (k) => et(this, Zh, nf).call(this, k), e.let_substr = (k) => et(this, Kh, sf).call(this, k), e.clearsysvar = () => et(this, ms, xh).call(this), e.clearvar = () => et(this, ka, Ju).call(this), e.dump_val = () => U(this, Qh).call(this), e.copybookmark = (k) => et(this, jh, qc).call(this, k), e.erasebookmark = (k) => et(this, Hh, Zc).call(this, k), U(this, mi)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
|
|
17833
17833
|
const k = [];
|
|
17834
17834
|
for (const D of Object.keys(U(this, we).mark).sort()) {
|
|
17835
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, 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, ms,
|
|
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, ms, xh).call(this), et(this, ka, Ju).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
17842
|
U(this, Te)["const.sn.needClick2Play"] = () => new N().state === "suspended";
|
|
@@ -17872,10 +17872,10 @@ const us = class {
|
|
|
17872
17872
|
sessionStorage[r + "kidoku"] = JSON.stringify(z), t.flush();
|
|
17873
17873
|
} : () => t.flush()), J(this, Ia, (k, D) => t.callHook(k, D)), t.addHook((k, D) => {
|
|
17874
17874
|
var B, $;
|
|
17875
|
-
return ($ = (B = U(this,
|
|
17875
|
+
return ($ = (B = U(this, $h))[k]) == null ? void 0 : $.call(B, k, D);
|
|
17876
17876
|
});
|
|
17877
17877
|
const N = this.getVal("sys:sn.tagCh.msecWait", -1);
|
|
17878
|
-
(U(this, Te)["const.sn.isFirstBoot"] || N === -1) && et(this, ms,
|
|
17878
|
+
(U(this, Te)["const.sn.isFirstBoot"] || N === -1) && et(this, ms, xh).call(this);
|
|
17879
17879
|
});
|
|
17880
17880
|
}
|
|
17881
17881
|
updateData(t) {
|
|
@@ -17922,7 +17922,7 @@ const us = class {
|
|
|
17922
17922
|
setVal_Nochk(t, e, r, N = !1) {
|
|
17923
17923
|
var B, $;
|
|
17924
17924
|
const k = U(this, Ie)[t];
|
|
17925
|
-
N && (r = et(this, Fa,
|
|
17925
|
+
N && (r = et(this, Fa, Qu).call(this, r));
|
|
17926
17926
|
const D = t + ":" + e;
|
|
17927
17927
|
if (D in U(us, hn)) {
|
|
17928
17928
|
const H = k[e], z = r;
|
|
@@ -17942,11 +17942,11 @@ const us = class {
|
|
|
17942
17942
|
}
|
|
17943
17943
|
};
|
|
17944
17944
|
let Variable = us;
|
|
17945
|
-
Ie = new WeakMap(), mi = new WeakMap(), Te = new WeakMap(), ar = new WeakMap(), we = new WeakMap(), ai = new WeakMap(), Gi = new WeakMap(), Ia = new WeakMap(),
|
|
17945
|
+
Ie = new WeakMap(), mi = new WeakMap(), Te = new WeakMap(), ar = new WeakMap(), we = new WeakMap(), ai = new WeakMap(), Gi = new WeakMap(), Ia = new WeakMap(), $h = new WeakMap(), Aa = new WeakSet(), Ku = function(t) {
|
|
17946
17946
|
J(us, hn, {});
|
|
17947
17947
|
for (const e of t)
|
|
17948
17948
|
U(us, hn)[e.dataId] = 1;
|
|
17949
|
-
}, La = new WeakMap(), Na = new WeakMap(),
|
|
17949
|
+
}, La = new WeakMap(), Na = new WeakMap(), jh = new WeakSet(), qc = function(t) {
|
|
17950
17950
|
if (!("from" in t))
|
|
17951
17951
|
throw "fromは必須です";
|
|
17952
17952
|
if (!("to" in t))
|
|
@@ -17957,7 +17957,7 @@ Ie = new WeakMap(), mi = new WeakMap(), Te = new WeakMap(), ar = new WeakMap(),
|
|
|
17957
17957
|
if (!(e in U(this, we).mark))
|
|
17958
17958
|
throw `from:${e} のセーブデータは存在しません`;
|
|
17959
17959
|
return this.setMark(r, { ...U(this, we).mark[e] }), U(this, ar).copyBMFolder(e, r), !1;
|
|
17960
|
-
},
|
|
17960
|
+
}, Hh = new WeakSet(), Zc = function(t) {
|
|
17961
17961
|
const { place: e } = t;
|
|
17962
17962
|
if (!e)
|
|
17963
17963
|
throw "placeは必須です";
|
|
@@ -17987,45 +17987,45 @@ Ie = new WeakMap(), mi = new WeakMap(), Te = new WeakMap(), ar = new WeakMap(),
|
|
|
17987
17987
|
throw "cast【" + t.cast + "】は未定義です";
|
|
17988
17988
|
}
|
|
17989
17989
|
return U(this, Da).call(this, t.name, t.text, e), !1;
|
|
17990
|
-
},
|
|
17990
|
+
}, zh = new WeakSet(), Kc = function(t) {
|
|
17991
17991
|
const e = argChk_Num(t, "text", 0);
|
|
17992
17992
|
return t.text = String(e < 0 ? -e : e), et(this, _i, Ui).call(this, t), !1;
|
|
17993
|
-
}, zh = new WeakSet(), Kc = function(t) {
|
|
17994
|
-
return t.text = (t.text ?? "").charAt(argChk_Num(t, "pos", 0)), et(this, _i, Ui).call(this, t), !1;
|
|
17995
17993
|
}, Vh = new WeakSet(), Jc = function(t) {
|
|
17994
|
+
return t.text = (t.text ?? "").charAt(argChk_Num(t, "pos", 0)), et(this, _i, Ui).call(this, t), !1;
|
|
17995
|
+
}, Xh = new WeakSet(), Qc = 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, _i, Ui).call(this, t), !1;
|
|
18001
|
-
}, Xh = new WeakSet(), Qc = function(t) {
|
|
18002
|
-
return t.text = String((t.text ?? "").length), et(this, _i, Ui).call(this, t), !1;
|
|
18003
18001
|
}, Yh = new WeakSet(), tf = function(t) {
|
|
18002
|
+
return t.text = String((t.text ?? "").length), et(this, _i, Ui).call(this, t), !1;
|
|
18003
|
+
}, Wh = new WeakSet(), ef = 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, _i, Ui).call(this, t), !1;
|
|
18008
|
-
},
|
|
18008
|
+
}, qh = new WeakSet(), rf = function(t) {
|
|
18009
18009
|
const e = argChk_Num(t, "text", 0);
|
|
18010
18010
|
return t.text = String(Math.round(e)), et(this, _i, Ui).call(this, t), !1;
|
|
18011
|
-
},
|
|
18011
|
+
}, Zh = new WeakSet(), nf = 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, _i, Ui).call(this, t), !1;
|
|
18016
|
-
},
|
|
18016
|
+
}, Kh = new WeakSet(), sf = 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, _i, Ui).call(this, t), !1;
|
|
18019
|
-
}, ms = new WeakSet(),
|
|
18019
|
+
}, ms = new WeakSet(), xh = function() {
|
|
18020
18020
|
const t = J(this, ai, U(this, Ie).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
18022
|
for (const [r, N] of Object.entries(U(this, we).kidoku))
|
|
18023
18023
|
N.hAreas = {}, U(this, Gi)[r].clear();
|
|
18024
18024
|
return this.setVal_Nochk("sys", "TextLayer.Back.Alpha", 0.5), U(this, Ie).mark = U(this, we).mark = {}, this.setVal_Nochk("sys", "const.sn.save.place", 1), this.flush(), !1;
|
|
18025
|
-
}, ka = new WeakSet(),
|
|
18025
|
+
}, ka = new WeakSet(), Ju = function() {
|
|
18026
18026
|
const t = U(this, mi)["const.sn.mesLayer"] ?? "", e = U(this, mi)["sn.doRecLog"] ?? !1, r = U(this, mi)["const.sn.sLog"] ?? "[]";
|
|
18027
18027
|
return J(this, mi, 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;
|
|
18028
|
-
}, Da = new WeakMap(), hn = new WeakMap(), Fa = new WeakSet(),
|
|
18028
|
+
}, Da = new WeakMap(), hn = new WeakMap(), Fa = new WeakSet(), Qu = function(t) {
|
|
18029
18029
|
const e = t;
|
|
18030
18030
|
if (e === "true")
|
|
18031
18031
|
return !0;
|
|
@@ -18034,26 +18034,26 @@ Ie = new WeakMap(), mi = new WeakMap(), Te = new WeakMap(), ar = new WeakMap(),
|
|
|
18034
18034
|
if (e === "null")
|
|
18035
18035
|
return null;
|
|
18036
18036
|
if (e !== "undefined")
|
|
18037
|
-
return U(this,
|
|
18038
|
-
},
|
|
18037
|
+
return U(this, Jh).test(e) ? parseFloat(e) : t;
|
|
18038
|
+
}, Jh = new WeakMap(), Qh = new WeakMap(), _s = new WeakMap(), Ba = new WeakMap(), gs = new WeakSet(), Eh = function(t) {
|
|
18039
18039
|
argChk_Boolean(U(this, ai), t, !0);
|
|
18040
|
-
}, Qh = new WeakSet(), sf = function(t) {
|
|
18041
|
-
argChk_Num(U(this, ai), t, 10), U(this, ai)["sn.tagCh.doWait"];
|
|
18042
18040
|
}, tl = new WeakSet(), af = function(t) {
|
|
18041
|
+
argChk_Num(U(this, ai), t, 10), U(this, ai)["sn.tagCh.doWait"];
|
|
18042
|
+
}, el = new WeakSet(), of = function(t) {
|
|
18043
18043
|
argChk_Num(
|
|
18044
18044
|
U(this, ai),
|
|
18045
18045
|
t,
|
|
18046
18046
|
this.cfg.oCfg.init.tagch_msecwait === void 0 ? 10 : this.cfg.oCfg.init.tagch_msecwait
|
|
18047
18047
|
), U(this, ai)["sn.tagCh.doWait_Kidoku"];
|
|
18048
|
-
}, Ua = new WeakSet(),
|
|
18048
|
+
}, Ua = new WeakSet(), tc = function(t) {
|
|
18049
18049
|
argChk_Num(
|
|
18050
18050
|
U(this, ai),
|
|
18051
18051
|
t,
|
|
18052
18052
|
this.cfg.oCfg.init.auto_msecpagewait === void 0 ? 3500 : this.cfg.oCfg.init.auto_msecpagewait
|
|
18053
18053
|
);
|
|
18054
|
-
}, Ga = new WeakSet(),
|
|
18054
|
+
}, Ga = new WeakSet(), ec = function(t) {
|
|
18055
18055
|
argChk_Num(U(this, ai), t, 500);
|
|
18056
|
-
},
|
|
18056
|
+
}, il = new WeakSet(), hf = function(t) {
|
|
18057
18057
|
return argChk_Boolean(U(this, mi), t, !0);
|
|
18058
18058
|
}, // reload 再生成 Main に受け渡すため static
|
|
18059
18059
|
K(Variable, hn, {});
|
|
@@ -18444,16 +18444,16 @@ TWEEN.getAll.bind(TWEEN);
|
|
|
18444
18444
|
var removeAll = TWEEN.removeAll.bind(TWEEN);
|
|
18445
18445
|
TWEEN.add.bind(TWEEN);
|
|
18446
18446
|
var remove$6 = TWEEN.remove.bind(TWEEN), update = TWEEN.update.bind(TWEEN), $a;
|
|
18447
|
-
const
|
|
18447
|
+
const rl = class {
|
|
18448
18448
|
static ease(t) {
|
|
18449
18449
|
if (!t)
|
|
18450
18450
|
return (e) => Easing.Linear.None(e);
|
|
18451
|
-
if (!(t in U(
|
|
18451
|
+
if (!(t in U(rl, $a)))
|
|
18452
18452
|
throw "異常なease指定です";
|
|
18453
|
-
return U(
|
|
18453
|
+
return U(rl, $a)[t];
|
|
18454
18454
|
}
|
|
18455
18455
|
};
|
|
18456
|
-
let CmnTween =
|
|
18456
|
+
let CmnTween = rl;
|
|
18457
18457
|
$a = new WeakMap(), K(CmnTween, $a, {
|
|
18458
18458
|
"Back.In": (t) => Easing.Back.In(t),
|
|
18459
18459
|
"Back.InOut": (t) => Easing.Back.InOut(t),
|
|
@@ -19458,7 +19458,7 @@ var y = p.filter(function(o) {
|
|
|
19458
19458
|
}(new S());
|
|
19459
19459
|
"extensions" in n ? extensions.add(m) : Loader.registerPlugin(m);
|
|
19460
19460
|
let cfg, val$1, main$3, sys, evtMng;
|
|
19461
|
-
var Ue, be, ys, ja, Ha,
|
|
19461
|
+
var Ue, be, ys, ja, Ha, ic;
|
|
19462
19462
|
const Se = class {
|
|
19463
19463
|
constructor() {
|
|
19464
19464
|
K(this, Ha);
|
|
@@ -19574,7 +19574,7 @@ const Se = class {
|
|
|
19574
19574
|
stop2var(U(this, be), e), U(this, be).stt.onPlayEnd();
|
|
19575
19575
|
}, U(this, ja).call(this), Y) {
|
|
19576
19576
|
if (Y.volume = X, W)
|
|
19577
|
-
et(this, Ha,
|
|
19577
|
+
et(this, Ha, ic).call(this, r, q);
|
|
19578
19578
|
else if (Y.isPlayable) {
|
|
19579
19579
|
const tt = Y.options.source;
|
|
19580
19580
|
!(tt instanceof ArrayBuffer) || tt.byteLength === 0 ? Y.play(q) : U(this, be).snd = E.from({
|
|
@@ -19592,7 +19592,7 @@ const Se = class {
|
|
|
19592
19592
|
tt(Q, it), main$3.resume();
|
|
19593
19593
|
};
|
|
19594
19594
|
}
|
|
19595
|
-
return et(this, Ha,
|
|
19595
|
+
return et(this, Ha, ic).call(this, r, q), Z;
|
|
19596
19596
|
}
|
|
19597
19597
|
stopse(t) {
|
|
19598
19598
|
const { buf: e = "SE" } = t;
|
|
@@ -19603,7 +19603,7 @@ const Se = class {
|
|
|
19603
19603
|
}
|
|
19604
19604
|
};
|
|
19605
19605
|
let SndBuf = Se;
|
|
19606
|
-
Ue = new WeakMap(), be = new WeakMap(), ys = new WeakMap(), ja = new WeakMap(), Ha = new WeakSet(),
|
|
19606
|
+
Ue = new WeakMap(), be = new WeakMap(), ys = new WeakMap(), ja = new WeakMap(), Ha = new WeakSet(), ic = function(t, e) {
|
|
19607
19607
|
const r = cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SOUND);
|
|
19608
19608
|
if (r.slice(-4) !== ".bin") {
|
|
19609
19609
|
e.url = r, E.from(e);
|
|
@@ -19804,16 +19804,16 @@ class SsStop {
|
|
|
19804
19804
|
}
|
|
19805
19805
|
// ok
|
|
19806
19806
|
}
|
|
19807
|
-
var He, za, Va,
|
|
19807
|
+
var He, za, Va, nl, lf, sl, uf, al, cf, ol, ff, Xa, rc, ln, ca, Ya, nc, bs, Sh, Wa, sc, hl, df, un, fa, ll, pf, qa, ac, Za, oc, ul, vf, Ka, hc, cl, mf;
|
|
19808
19808
|
class SoundMng {
|
|
19809
19809
|
constructor(t, e, r, N, k) {
|
|
19810
19810
|
// 音量設定(独自拡張)
|
|
19811
|
-
K(this, rl);
|
|
19812
19811
|
K(this, nl);
|
|
19813
|
-
// BGM/効果音のフェードアウト(loadから使うのでマクロ化禁止)
|
|
19814
19812
|
K(this, sl);
|
|
19815
|
-
//
|
|
19813
|
+
// BGM/効果音のフェードアウト(loadから使うのでマクロ化禁止)
|
|
19816
19814
|
K(this, al);
|
|
19815
|
+
// 効果音のフェードアウト(loadから使うのでマクロ化禁止)
|
|
19816
|
+
K(this, ol);
|
|
19817
19817
|
// BGMのフェード(loadから使うのでマクロ化禁止)
|
|
19818
19818
|
K(this, Xa);
|
|
19819
19819
|
// 効果音のフェード
|
|
@@ -19825,25 +19825,25 @@ class SoundMng {
|
|
|
19825
19825
|
// 全効果音再生の停止
|
|
19826
19826
|
K(this, Wa);
|
|
19827
19827
|
// BGM 演奏の停止(loadから使うのでマクロ化禁止)
|
|
19828
|
-
K(this,
|
|
19828
|
+
K(this, hl);
|
|
19829
19829
|
// 効果音再生の停止
|
|
19830
19830
|
K(this, un);
|
|
19831
19831
|
// BGM フェードの終了待ち
|
|
19832
|
-
K(this,
|
|
19832
|
+
K(this, ll);
|
|
19833
19833
|
// 効果音フェードの終了待ち
|
|
19834
19834
|
K(this, qa);
|
|
19835
19835
|
// 音声フェードの停止
|
|
19836
19836
|
K(this, Za);
|
|
19837
19837
|
// BGM 再生の終了待ち
|
|
19838
|
-
K(this,
|
|
19838
|
+
K(this, ul);
|
|
19839
19839
|
// 効果音再生の終了待ち
|
|
19840
19840
|
K(this, Ka);
|
|
19841
19841
|
// 再生トラックの交換
|
|
19842
|
-
K(this,
|
|
19842
|
+
K(this, cl);
|
|
19843
19843
|
K(this, He, {});
|
|
19844
19844
|
K(this, za, {});
|
|
19845
19845
|
K(this, Va, void 0);
|
|
19846
|
-
this.val = r, e.volume = (D) => et(this,
|
|
19846
|
+
this.val = r, e.volume = (D) => et(this, nl, lf).call(this, D), e.fadebgm = (D) => et(this, Xa, rc).call(this, D), e.fadeoutbgm = (D) => et(this, al, cf).call(this, D), e.fadeoutse = (D) => et(this, ol, ff).call(this, D), e.fadese = (D) => et(this, ln, ca).call(this, D), e.playbgm = (D) => et(this, Ya, nc).call(this, D), e.playse = (D) => et(this, bs, Sh).call(this, D), e.stop_allse = () => et(this, Wa, sc).call(this), e.stopbgm = (D) => et(this, hl, df).call(this, D), e.stopse = (D) => et(this, un, fa).call(this, D), e.wb = (D) => et(this, ll, pf).call(this, D), e.wf = (D) => et(this, qa, ac).call(this, D), e.stopfadese = (D) => et(this, Za, oc).call(this, D), e.wl = (D) => et(this, ul, vf).call(this, D), e.ws = (D) => et(this, Ka, hc).call(this, D), e.xchgbuf = (D) => et(this, cl, mf).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
|
J(this, Va, t), SndBuf.setEvtMng(t);
|
|
@@ -19856,7 +19856,7 @@ class SoundMng {
|
|
|
19856
19856
|
}
|
|
19857
19857
|
// しおりの読込(BGM状態復元)
|
|
19858
19858
|
playLoopFromSaveObj() {
|
|
19859
|
-
et(this, Wa,
|
|
19859
|
+
et(this, Wa, sc).call(this);
|
|
19860
19860
|
const t = String(this.val.getVal("save:const.sn.loopPlaying", "{}"));
|
|
19861
19861
|
if (t === "{}")
|
|
19862
19862
|
return;
|
|
@@ -19875,71 +19875,71 @@ class SoundMng {
|
|
|
19875
19875
|
end_ms: Number(this.val.getVal(N + "end_ms")),
|
|
19876
19876
|
ret_ms: Number(this.val.getVal(N + "ret_ms"))
|
|
19877
19877
|
};
|
|
19878
|
-
k.buf === "BGM" ? et(this, Ya,
|
|
19878
|
+
k.buf === "BGM" ? et(this, Ya, nc).call(this, k) : et(this, bs, Sh).call(this, k);
|
|
19879
19879
|
});
|
|
19880
19880
|
for (const r of e)
|
|
19881
19881
|
r();
|
|
19882
19882
|
}
|
|
19883
19883
|
}
|
|
19884
|
-
He = new WeakMap(), za = new WeakMap(), Va = new WeakMap(),
|
|
19885
|
-
const { buf: e = "SE" } = t, r = "const.sn.sound." + e + ".volume", N = et(this,
|
|
19884
|
+
He = new WeakMap(), za = new WeakMap(), Va = new WeakMap(), nl = new WeakSet(), lf = function(t) {
|
|
19885
|
+
const { buf: e = "SE" } = t, r = "const.sn.sound." + e + ".volume", N = et(this, sl, uf).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, ln, ca).call(this, t));
|
|
19887
|
-
},
|
|
19887
|
+
}, sl = new WeakSet(), uf = function(t, e) {
|
|
19888
19888
|
const r = argChk_Num(t, "volume", e);
|
|
19889
19889
|
return r < 0 ? 0 : r > 1 ? 1 : r;
|
|
19890
|
-
}, sl = new WeakSet(), uf = function(t) {
|
|
19891
|
-
return t.volume = 0, et(this, Xa, ic).call(this, t);
|
|
19892
19890
|
}, al = new WeakSet(), cf = function(t) {
|
|
19891
|
+
return t.volume = 0, et(this, Xa, rc).call(this, t);
|
|
19892
|
+
}, ol = new WeakSet(), ff = function(t) {
|
|
19893
19893
|
return t.volume = 0, et(this, ln, ca).call(this, t);
|
|
19894
|
-
}, Xa = new WeakSet(),
|
|
19894
|
+
}, Xa = new WeakSet(), rc = function(t) {
|
|
19895
19895
|
return t.buf = "BGM", et(this, ln, ca).call(this, t);
|
|
19896
19896
|
}, ln = new WeakSet(), ca = function(t) {
|
|
19897
19897
|
var r;
|
|
19898
19898
|
const { buf: e = "SE" } = t;
|
|
19899
|
-
return et(this, Za,
|
|
19900
|
-
}, Ya = new WeakSet(),
|
|
19901
|
-
return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), et(this, bs,
|
|
19902
|
-
}, bs = new WeakSet(),
|
|
19899
|
+
return et(this, Za, oc).call(this, t), (r = U(this, He)[e]) == null || r.fade(t), !1;
|
|
19900
|
+
}, Ya = new WeakSet(), nc = function(t) {
|
|
19901
|
+
return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), et(this, bs, Sh).call(this, t);
|
|
19902
|
+
}, bs = new WeakSet(), Sh = function(t) {
|
|
19903
19903
|
const { buf: e = "SE", fn: r } = t;
|
|
19904
19904
|
if (et(this, un, fa).call(this, { buf: e }), !r)
|
|
19905
19905
|
throw `[playse] fnは必須です buf:${e}`;
|
|
19906
19906
|
return argChk_Boolean(t, "canskip", !0) && U(this, Va).isSkipping() ? !1 : (U(this, He)[e] = new SndBuf()).init(t);
|
|
19907
|
-
}, Wa = new WeakSet(),
|
|
19907
|
+
}, Wa = new WeakSet(), sc = function() {
|
|
19908
19908
|
for (const t of Object.keys(U(this, He)))
|
|
19909
19909
|
et(this, un, fa).call(this, { buf: t });
|
|
19910
19910
|
return J(this, He, {}), R.stopAll(), !1;
|
|
19911
|
-
},
|
|
19911
|
+
}, hl = new WeakSet(), df = function(t) {
|
|
19912
19912
|
return t.buf = "BGM", et(this, un, fa).call(this, t);
|
|
19913
19913
|
}, un = new WeakSet(), fa = function(t) {
|
|
19914
19914
|
var r;
|
|
19915
19915
|
const { buf: e = "SE" } = t;
|
|
19916
19916
|
return (r = U(this, He)[e]) == null || r.stopse(t), !1;
|
|
19917
|
-
},
|
|
19918
|
-
return t.buf = "BGM", et(this, qa,
|
|
19919
|
-
}, qa = new WeakSet(),
|
|
19917
|
+
}, ll = new WeakSet(), pf = function(t) {
|
|
19918
|
+
return t.buf = "BGM", et(this, qa, ac).call(this, t);
|
|
19919
|
+
}, qa = new WeakSet(), ac = function(t) {
|
|
19920
19920
|
var r;
|
|
19921
19921
|
const { buf: e = "SE" } = t;
|
|
19922
19922
|
return (r = U(this, He)[e]) == null ? void 0 : r.wf(t);
|
|
19923
|
-
}, Za = new WeakSet(),
|
|
19923
|
+
}, Za = new WeakSet(), oc = function(t) {
|
|
19924
19924
|
var r;
|
|
19925
19925
|
const { buf: e = "SE" } = t;
|
|
19926
19926
|
return (r = U(this, He)[e]) == null || r.stopfadese(t), !1;
|
|
19927
|
-
},
|
|
19928
|
-
return t.buf = "BGM", et(this, Ka,
|
|
19929
|
-
}, Ka = new WeakSet(),
|
|
19927
|
+
}, ul = new WeakSet(), vf = function(t) {
|
|
19928
|
+
return t.buf = "BGM", et(this, Ka, hc).call(this, t);
|
|
19929
|
+
}, Ka = new WeakSet(), hc = function(t) {
|
|
19930
19930
|
var r;
|
|
19931
19931
|
const { buf: e = "SE" } = t;
|
|
19932
19932
|
return (r = U(this, He)[e]) == null ? void 0 : r.ws(t);
|
|
19933
|
-
},
|
|
19933
|
+
}, cl = new WeakSet(), mf = function(t) {
|
|
19934
19934
|
const { buf: e = "SE", buf2: r = "SE" } = t;
|
|
19935
19935
|
return e === r || ([U(this, He)[e], U(this, He)[r]] = [U(this, He)[r], U(this, He)[e]], SndBuf.xchgbuf(t)), !1;
|
|
19936
19936
|
};
|
|
19937
19937
|
var fe;
|
|
19938
|
-
const
|
|
19938
|
+
const Fc = class {
|
|
19939
19939
|
constructor(t, e, r, N, k, D, B, $) {
|
|
19940
19940
|
K(this, fe, void 0);
|
|
19941
19941
|
gt(this, "lay", (t) => this.getPage(t).lay(t));
|
|
19942
|
-
gt(this, "getPage", (t) =>
|
|
19942
|
+
gt(this, "getPage", (t) => Fc.argChk_page(t, "fore") !== "back" ? U(this, fe).fore : U(this, fe).back);
|
|
19943
19943
|
this.cls = e, this.hArg = k, this.sys = D, this.val = B, this.ret = $;
|
|
19944
19944
|
const H = D.hFactoryCls[e];
|
|
19945
19945
|
if (!H)
|
|
@@ -19970,9 +19970,9 @@ const Dc = class {
|
|
|
19970
19970
|
[U(this, fe).back, U(this, fe).fore] = [U(this, fe).fore, U(this, fe).back], U(this, fe).back.copy(U(this, fe).fore, t);
|
|
19971
19971
|
}
|
|
19972
19972
|
};
|
|
19973
|
-
let Pages =
|
|
19973
|
+
let Pages = Fc;
|
|
19974
19974
|
fe = new WeakMap();
|
|
19975
|
-
var
|
|
19975
|
+
var fl, dl;
|
|
19976
19976
|
const nr = class {
|
|
19977
19977
|
constructor() {
|
|
19978
19978
|
gt(this, "layname", "");
|
|
@@ -20064,13 +20064,13 @@ const nr = class {
|
|
|
20064
20064
|
static getBlendmodeNum(t) {
|
|
20065
20065
|
if (!t)
|
|
20066
20066
|
return BLEND_MODES.NORMAL;
|
|
20067
|
-
const e = U(nr,
|
|
20067
|
+
const e = U(nr, fl)[t];
|
|
20068
20068
|
if (e !== void 0)
|
|
20069
20069
|
return e;
|
|
20070
20070
|
throw `${t} はサポートされない blendmode です`;
|
|
20071
20071
|
}
|
|
20072
20072
|
static getNum2Blendmode(t) {
|
|
20073
|
-
return U(nr,
|
|
20073
|
+
return U(nr, dl)[t] ?? "normal";
|
|
20074
20074
|
}
|
|
20075
20075
|
// アニメ・動画があるか
|
|
20076
20076
|
get containMovement() {
|
|
@@ -20154,7 +20154,7 @@ const nr = class {
|
|
|
20154
20154
|
}
|
|
20155
20155
|
};
|
|
20156
20156
|
let Layer = nr;
|
|
20157
|
-
|
|
20157
|
+
fl = new WeakMap(), dl = new WeakMap(), K(Layer, fl, {
|
|
20158
20158
|
normal: BLEND_MODES.NORMAL,
|
|
20159
20159
|
add: BLEND_MODES.ADD,
|
|
20160
20160
|
multiply: BLEND_MODES.MULTIPLY,
|
|
@@ -20190,7 +20190,7 @@ cl = new WeakMap(), fl = new WeakMap(), K(Layer, cl, {
|
|
|
20190
20190
|
'erase' : BLEND_MODES.ERASE,
|
|
20191
20191
|
'xor' : BLEND_MODES.XOR,
|
|
20192
20192
|
*/
|
|
20193
|
-
}), K(Layer,
|
|
20193
|
+
}), K(Layer, dl, {
|
|
20194
20194
|
0: "normal",
|
|
20195
20195
|
1: "add",
|
|
20196
20196
|
2: "multiply",
|
|
@@ -20266,7 +20266,7 @@ class PicBtnDesignCast extends BtnDesignCast {
|
|
|
20266
20266
|
setSp(t) {
|
|
20267
20267
|
}
|
|
20268
20268
|
}
|
|
20269
|
-
var
|
|
20269
|
+
var pl, Ir, or, cn, fn, $i, Ja, dn, Qa, xs, ji, hr, lr, Ar, to, eo, io, vl, _f, ml, gf, ro, lc, _l, yf, Es, Th, Ss, Oi, Ts, gl, pn, no;
|
|
20270
20270
|
const Bt = class extends Layer {
|
|
20271
20271
|
constructor() {
|
|
20272
20272
|
super();
|
|
@@ -20309,19 +20309,19 @@ const Bt = class extends Layer {
|
|
|
20309
20309
|
(H) => {
|
|
20310
20310
|
J(Bt, Qa, H), $();
|
|
20311
20311
|
}
|
|
20312
|
-
), U(Bt, $i).crypto && J(Bt, io, et(Bt,
|
|
20312
|
+
), U(Bt, $i).crypto && J(Bt, io, et(Bt, ml, gf));
|
|
20313
20313
|
}
|
|
20314
20314
|
static setEvtMng(e) {
|
|
20315
20315
|
J(Bt, xs, e);
|
|
20316
20316
|
}
|
|
20317
20317
|
static destroy() {
|
|
20318
|
-
U(Bt,
|
|
20318
|
+
U(Bt, pl).clear(), J(Bt, Ir, {}), Bt.hFn2ResAniSpr = {}, Bt.hFn2VElm = {};
|
|
20319
20319
|
}
|
|
20320
20320
|
setSp(e) {
|
|
20321
20321
|
}
|
|
20322
20322
|
laySub(e, r) {
|
|
20323
20323
|
var $;
|
|
20324
|
-
et($ = Bt, Es,
|
|
20324
|
+
et($ = Bt, Es, Th).call($, U(this, lr));
|
|
20325
20325
|
const { fn: N, face: k = "" } = e;
|
|
20326
20326
|
if (U(this, ji).sethArg(e), !N)
|
|
20327
20327
|
return super.lay(e), this.spLay.children.length > 0 && this.setPos(e), J(this, lr, ""), J(this, hr, J(this, Ar, k)), r(!1), !1;
|
|
@@ -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,
|
|
20378
|
+
const q = et(X = Bt, _l, yf).call(X, V, z);
|
|
20379
20379
|
q.name = V, r == null || r.addChild(q), Y(q);
|
|
20380
20380
|
}
|
|
20381
20381
|
k(D);
|
|
@@ -20396,10 +20396,10 @@ const Bt = class extends Layer {
|
|
|
20396
20396
|
if (!N || N.loop)
|
|
20397
20397
|
return !1;
|
|
20398
20398
|
if (U(this, xs).isSkipping() || N.ended)
|
|
20399
|
-
return et(D = Bt, Es,
|
|
20399
|
+
return et(D = Bt, Es, Th).call(D, r), !1;
|
|
20400
20400
|
const k = () => {
|
|
20401
20401
|
var B;
|
|
20402
|
-
et(B = Bt, Es,
|
|
20402
|
+
et(B = Bt, Es, Th).call(B, r), U(this, or).resume();
|
|
20403
20403
|
};
|
|
20404
20404
|
return N.addEventListener("ended", k, { once: !0, passive: !0 }), U(Bt, xs).waitEvent(
|
|
20405
20405
|
e,
|
|
@@ -20441,7 +20441,7 @@ const Bt = class extends Layer {
|
|
|
20441
20441
|
}
|
|
20442
20442
|
// https://regex101.com/r/ZUnoFq/1
|
|
20443
20443
|
static loadPic2Img(e, r, N) {
|
|
20444
|
-
const k = e.replace(U(Bt,
|
|
20444
|
+
const k = e.replace(U(Bt, gl), ""), D = e === k ? "" : e.slice(k.length), B = U(this, no)[e];
|
|
20445
20445
|
if (B) {
|
|
20446
20446
|
r.src = B;
|
|
20447
20447
|
return;
|
|
@@ -20535,7 +20535,7 @@ const Bt = class extends Layer {
|
|
|
20535
20535
|
}
|
|
20536
20536
|
};
|
|
20537
20537
|
let GrpLayer = Bt;
|
|
20538
|
-
|
|
20538
|
+
pl = new WeakMap(), Ir = new WeakMap(), or = new WeakMap(), cn = new WeakMap(), fn = new WeakMap(), $i = new WeakMap(), Ja = new WeakMap(), dn = new WeakMap(), Qa = new WeakMap(), xs = new WeakMap(), ji = new WeakMap(), hr = new WeakMap(), lr = new WeakMap(), Ar = new WeakMap(), to = new WeakMap(), eo = new WeakMap(), io = new WeakMap(), vl = new WeakSet(), _f = function(e) {
|
|
20539
20539
|
const r = /([^\d]+)\d+\.(\w+)/.exec(e[0]);
|
|
20540
20540
|
if (!r)
|
|
20541
20541
|
return [];
|
|
@@ -20543,9 +20543,9 @@ dl = new WeakMap(), Ir = new WeakMap(), or = new WeakMap(), cn = 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
|
-
},
|
|
20546
|
+
}, ml = new WeakSet(), gf = function(e, r, N) {
|
|
20547
20547
|
var H;
|
|
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, dn), Bt.hFn2VElm[r.name] = et(H = Bt, ro,
|
|
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, dn), Bt.hFn2VElm[r.name] = et(H = Bt, ro, lc).call(H, e), r.type = LoaderResource.TYPE.VIDEO)), r.extension !== "json") {
|
|
20549
20549
|
N();
|
|
20550
20550
|
return;
|
|
20551
20551
|
}
|
|
@@ -20576,40 +20576,40 @@ dl = new WeakMap(), Ir = new WeakMap(), or = new WeakMap(), cn = new WeakMap(),
|
|
|
20576
20576
|
}
|
|
20577
20577
|
N();
|
|
20578
20578
|
});
|
|
20579
|
-
}, ro = new WeakSet(),
|
|
20579
|
+
}, ro = new WeakSet(), lc = function(e) {
|
|
20580
20580
|
return U(Bt, Ja).getVal("const.sn.needClick2Play") && (DebugMng.trace_beforeNew(`[lay系] ${DebugMng.strPos()}未クリック状態で動画を自動再生します。音声はミュートされます`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
|
|
20581
|
-
},
|
|
20581
|
+
}, _l = new WeakSet(), yf = function(e, r) {
|
|
20582
20582
|
const N = Bt.hFn2ResAniSpr[e];
|
|
20583
20583
|
if (N) {
|
|
20584
20584
|
const k = new AnimatedSprite(N.aTex);
|
|
20585
20585
|
return k.animationSpeed = N.meta.animationSpeed ?? 1, k.play(), k;
|
|
20586
20586
|
}
|
|
20587
20587
|
return e in TextureCache ? Sprite.from(e) : e in Bt.hFn2VElm ? Sprite.from(Bt.hFn2VElm[e]) : e in r ? new Sprite(r[e].texture) : new Sprite();
|
|
20588
|
-
}, Es = new WeakSet(),
|
|
20588
|
+
}, Es = new WeakSet(), Th = function(e) {
|
|
20589
20589
|
const r = Bt.hFn2VElm[e];
|
|
20590
20590
|
r && (delete Bt.hFn2VElm[e], r.pause(), r.currentTime = r.duration);
|
|
20591
|
-
}, Ss = new WeakMap(), Oi = new WeakMap(), Ts = new WeakMap(),
|
|
20591
|
+
}, Ss = new WeakMap(), Oi = new WeakMap(), Ts = new WeakMap(), gl = new WeakMap(), pn = new WeakMap(), no = new WeakMap(), K(GrpLayer, vl), K(GrpLayer, ml), K(GrpLayer, ro), K(GrpLayer, _l), K(GrpLayer, Es), K(GrpLayer, pl, new EventListenerCtn()), K(GrpLayer, Ir, {}), K(GrpLayer, or, void 0), K(GrpLayer, cn, void 0), K(GrpLayer, fn, void 0), K(GrpLayer, $i, void 0), K(GrpLayer, Ja, void 0), K(GrpLayer, dn, 1), K(GrpLayer, Qa, 1), K(GrpLayer, xs, void 0), gt(GrpLayer, "hFn2ResAniSpr", {}), K(GrpLayer, io, (e, r, N) => {
|
|
20592
20592
|
var k, D;
|
|
20593
20593
|
switch (r.type) {
|
|
20594
20594
|
case LoaderResource.TYPE.JSON:
|
|
20595
20595
|
const B = r.spritesheet._frameKeys;
|
|
20596
|
-
et(k = Bt,
|
|
20596
|
+
et(k = Bt, vl, _f).call(k, B), Bt.hFn2ResAniSpr[r.name] = {
|
|
20597
20597
|
aTex: B.map((H) => Texture.from(H)),
|
|
20598
20598
|
meta: r.data.meta
|
|
20599
20599
|
};
|
|
20600
20600
|
break;
|
|
20601
20601
|
case LoaderResource.TYPE.VIDEO:
|
|
20602
20602
|
const $ = r.data;
|
|
20603
|
-
$.volume = U(Bt, dn), Bt.hFn2VElm[r.name] = et(D = Bt, ro,
|
|
20603
|
+
$.volume = U(Bt, dn), Bt.hFn2VElm[r.name] = et(D = Bt, ro, lc).call(D, $);
|
|
20604
20604
|
}
|
|
20605
20605
|
N();
|
|
20606
|
-
}), gt(GrpLayer, "hFn2VElm", {}), K(GrpLayer,
|
|
20607
|
-
var ws, so, vn, Kt, Hi, ur,
|
|
20606
|
+
}), gt(GrpLayer, "hFn2VElm", {}), K(GrpLayer, gl, /\?([^?]+)$/), K(GrpLayer, pn, {}), K(GrpLayer, no, {});
|
|
20607
|
+
var ws, so, vn, Kt, Hi, ur, yl, oi, Lr, Dt, gi, ze, Ve, Ps, wh, Mi, cr, ao, Cs, bl, bf, mn, Rs, Nr, _n, gn, yn, Os, oo, kr, ho, uc, fr, lo, dr, zi, Ms, uo, cc, Dr, bn, co, fc, Ze;
|
|
20608
20608
|
const Ht = class extends Container {
|
|
20609
20609
|
constructor(e, r, N) {
|
|
20610
20610
|
super();
|
|
20611
20611
|
K(this, Ps);
|
|
20612
|
-
K(this,
|
|
20612
|
+
K(this, bl);
|
|
20613
20613
|
K(this, ho);
|
|
20614
20614
|
// 「g」などで下が欠ける問題対策
|
|
20615
20615
|
K(this, uo);
|
|
@@ -20672,7 +20672,7 @@ const Ht = class extends Container {
|
|
|
20672
20672
|
const k = N.style.length;
|
|
20673
20673
|
for (let D = 0; D < k; ++D) {
|
|
20674
20674
|
const B = N.style[D];
|
|
20675
|
-
if (B in U(Ht,
|
|
20675
|
+
if (B in U(Ht, yl)) {
|
|
20676
20676
|
DebugMng.myTrace(`${B}は指定できません`, "W");
|
|
20677
20677
|
continue;
|
|
20678
20678
|
}
|
|
@@ -20683,12 +20683,12 @@ 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 && J(Ht, gn, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && J(Ht, yn, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && J(Ht, Os, new RegExp(`[${e.kinsoku_dns}]`)), et(this, Ps,
|
|
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 && J(Ht, gn, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && J(Ht, yn, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && J(Ht, Os, new RegExp(`[${e.kinsoku_dns}]`)), et(this, Ps, wh).call(this), U(this, oi).sethArg(e), J(this, Mi, this.spLay.position.x), r.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), r.display = this.spLay.visible ? "inline" : "none", r.textShadow = e.filter ?? r.textShadow ?? "", J(this, gi, argChk_Boolean(e, "break_fixed", U(this, gi))), J(this, ze, argChk_Num(e, "break_fixed_left", U(this, ze))), J(this, Ve, argChk_Num(e, "break_fixed_top", U(this, Ve))), ":redraw" in e && U(this, _n) > 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>`
|
|
20690
20690
|
];
|
|
20691
|
-
et(this, co,
|
|
20691
|
+
et(this, co, fc).call(this), this.goTxt(N, !0);
|
|
20692
20692
|
}
|
|
20693
20693
|
}
|
|
20694
20694
|
cvsResize() {
|
|
@@ -20751,7 +20751,7 @@ const Ht = class extends Container {
|
|
|
20751
20751
|
}
|
|
20752
20752
|
let X = 0, V = 2, Y = !1;
|
|
20753
20753
|
do {
|
|
20754
|
-
const ot = J(this, Nr, et(this, uo,
|
|
20754
|
+
const ot = J(this, Nr, et(this, uo, cc).call(this, U(this, Kt), z));
|
|
20755
20755
|
if (X = ot.length, !Y && (X < 2 || N === X)) {
|
|
20756
20756
|
N > 0 && N === X && (U(this, Kt).innerHTML = k.replaceAll('class="sn_ch"', 'class="sn_ch sn_ch_in_default"'));
|
|
20757
20757
|
break;
|
|
@@ -20814,14 +20814,14 @@ const Ht = class extends Container {
|
|
|
20814
20814
|
if (W(nt, lt), nt.elm.dataset.cmd === "grp") {
|
|
20815
20815
|
const Pt = new Container();
|
|
20816
20816
|
U(this, Hi).addChild(Pt), GrpLayer.csv2Sprites(ft.pic, Pt, (Mt) => {
|
|
20817
|
-
et(this, ho,
|
|
20817
|
+
et(this, ho, uc).call(this, Pt, ft, vt, lt, Z, wt ?? {}), Pt.parent || Pt.removeChild(Mt);
|
|
20818
20818
|
});
|
|
20819
20819
|
}
|
|
20820
20820
|
if (nt.elm.dataset.lnk) {
|
|
20821
20821
|
const Pt = nt.elm.parentElement.closest("[data-arg]"), Mt = JSON.parse(Pt.dataset.arg ?? "{}");
|
|
20822
20822
|
Mt.key = `lnk=[${ot}] ` + this.name;
|
|
20823
20823
|
const xt = new Sprite();
|
|
20824
|
-
et(this, ho,
|
|
20824
|
+
et(this, ho, uc).call(this, xt, Mt, vt, lt, Z, wt ?? {});
|
|
20825
20825
|
const yt = Mt.style ?? "", Ot = yt + (Mt.style_hover ?? ""), jt = yt + (Mt.style_clicked ?? ""), It = Mt.r_style ?? "", Et = It + (Mt.r_style_hover ?? ""), bt = It + (Mt.r_style_clicked ?? ""), Ut = Pt.querySelectorAll("rt");
|
|
20826
20826
|
Ut.forEach((ut) => ut.dataset.st_r_bk = ut.style.cssText);
|
|
20827
20827
|
const Gt = Pt.style.cssText, Ft = (ut, qt) => {
|
|
@@ -20950,9 +20950,9 @@ const Ht = class extends Container {
|
|
|
20950
20950
|
}
|
|
20951
20951
|
reNew() {
|
|
20952
20952
|
var r;
|
|
20953
|
-
et(this, co,
|
|
20953
|
+
et(this, co, fc).call(this);
|
|
20954
20954
|
const e = new Ht(this.spLay, () => this.canFocus(), this.sys);
|
|
20955
|
-
return J(e, Dt, U(this, Dt)), U(e, Kt).style.cssText = U(this, Kt).style.cssText, J(e, Mi, U(this, Mi)), e.name = this.name, et(r = e, Ps,
|
|
20955
|
+
return J(e, Dt, U(this, Dt)), U(e, Kt).style.cssText = U(this, Kt).style.cssText, J(e, Mi, U(this, Mi)), e.name = this.name, et(r = e, Ps, wh).call(r), U(e, oi).sethArg(U(this, oi).gethArg()), J(e, mn, U(this, mn)), J(e, Dr, U(this, Dr)), J(e, bn, U(this, bn)), J(e, gi, U(this, gi)), J(e, ze, U(this, ze)), J(e, Ve, U(this, Ve)), this.destroy(), e;
|
|
20956
20956
|
}
|
|
20957
20957
|
record() {
|
|
20958
20958
|
return {
|
|
@@ -20969,10 +20969,10 @@ const Ht = class extends Container {
|
|
|
20969
20969
|
};
|
|
20970
20970
|
}
|
|
20971
20971
|
playback(e) {
|
|
20972
|
-
J(this, Dt, e.infTL), this.position.set(U(this, Dt).pad_left, U(this, Dt).pad_top), U(this, Kt).style.cssText = e.cssText, J(this, Mi, e.left), et(this, Ps,
|
|
20972
|
+
J(this, Dt, e.infTL), this.position.set(U(this, Dt).pad_left, U(this, Dt).pad_top), U(this, Kt).style.cssText = e.cssText, J(this, Mi, e.left), et(this, Ps, wh).call(this), U(this, oi).sethArg(e.idc_hArg), J(this, mn, e.ch_filter), J(this, Dr, e.fi_easing), J(this, bn, e.fo_easing), J(this, gi, e.break_fixed ?? !1), J(this, ze, e.break_fixed_left ?? 0), J(this, Ve, e.break_fixed_top ?? 0);
|
|
20973
20973
|
}
|
|
20974
20974
|
snapshot(e, r) {
|
|
20975
|
-
et(this,
|
|
20975
|
+
et(this, bl, bf).call(this, (N) => {
|
|
20976
20976
|
J(this, Ze, new Sprite(N)), U(this, cr) && (U(this, Ze).x += CmnLib.stageW - (U(this, Mi) + U(this, Dt).$width)), U(this, Ze).y -= U(this, Cs), U(this, Ze).texture.frame = new Rectangle(
|
|
20977
20977
|
0,
|
|
20978
20978
|
0,
|
|
@@ -21005,12 +21005,12 @@ const Ht = class extends Container {
|
|
|
21005
21005
|
}
|
|
21006
21006
|
};
|
|
21007
21007
|
let TxtStage = Ht;
|
|
21008
|
-
ws = new WeakMap(), so = new WeakMap(), vn = new WeakMap(), Kt = new WeakMap(), Hi = new WeakMap(), ur = new WeakMap(),
|
|
21008
|
+
ws = new WeakMap(), so = new WeakMap(), vn = new WeakMap(), Kt = new WeakMap(), Hi = new WeakMap(), ur = new WeakMap(), yl = new WeakMap(), oi = new WeakMap(), Lr = new WeakMap(), Dt = new WeakMap(), gi = new WeakMap(), ze = new WeakMap(), Ve = new WeakMap(), Ps = new WeakSet(), wh = 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), J(this, cr, e.writingMode === "vertical-rl"), J(this, ao, 0), J(this, Cs, 0);
|
|
21011
21011
|
const N = e.lineHeight ?? "0";
|
|
21012
21012
|
J(this, Ms, U(this, cr) ? 0 : (N.slice(-2) === "px" ? parseFloat(N) : r * parseFloat(N) - r) / 2);
|
|
21013
|
-
}, Mi = new WeakMap(), cr = new WeakMap(), ao = new WeakMap(), Cs = new WeakMap(),
|
|
21013
|
+
}, Mi = new WeakMap(), cr = new WeakMap(), ao = new WeakMap(), Cs = new WeakMap(), bl = new WeakSet(), bf = function(e, r = !0) {
|
|
21014
21014
|
const N = {
|
|
21015
21015
|
escape: (Z) => Z.replaceAll(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
|
|
21016
21016
|
mimeType: (Z) => {
|
|
@@ -21190,7 +21190,7 @@ ws = new WeakMap(), so = new WeakMap(), vn = new WeakMap(), Kt = new WeakMap(),
|
|
|
21190
21190
|
});
|
|
21191
21191
|
});
|
|
21192
21192
|
}).catch((Z) => DebugMng.myTrace(`goTxt() = ${Z}`));
|
|
21193
|
-
}, mn = new WeakMap(), Rs = new WeakMap(), Nr = new WeakMap(), _n = new WeakMap(), gn = new WeakMap(), yn = new WeakMap(), Os = new WeakMap(), oo = new WeakMap(), kr = new WeakMap(), ho = new WeakSet(),
|
|
21193
|
+
}, mn = new WeakMap(), Rs = new WeakMap(), Nr = new WeakMap(), _n = new WeakMap(), gn = new WeakMap(), yn = new WeakMap(), Os = new WeakMap(), oo = new WeakMap(), kr = new WeakMap(), ho = new WeakSet(), uc = function(e, r, N, k, D, B) {
|
|
21194
21194
|
e.alpha = 0, r.x && (k.x = r.x.at(0) === "=" ? k.x + parseInt(r.x.slice(1)) : parseInt(r.x)), r.y && (k.y = r.y.at(0) === "=" ? k.y + parseInt(r.y.slice(1)) : parseInt(r.y)), r.width && (k.width = parseInt(r.width)), r.height && (k.height = parseInt(r.height)), r.wait && (B.wait = parseInt(r.wait)), e.width = k.width, e.height = k.height, B.x ? e.position.set(
|
|
21195
21195
|
B.x.at(0) === "=" ? k.x + e.width * B.nx : B.nx,
|
|
21196
21196
|
B.y.at(0) === "=" ? k.y + e.height * B.ny : B.ny
|
|
@@ -21202,10 +21202,10 @@ ws = new WeakMap(), so = new WeakMap(), vn = new WeakMap(), Kt = new WeakMap(),
|
|
|
21202
21202
|
}).start()
|
|
21203
21203
|
};
|
|
21204
21204
|
U(this, Rs).push($);
|
|
21205
|
-
}, fr = new WeakMap(), lo = new WeakMap(), dr = new WeakMap(), zi = new WeakMap(), Ms = new WeakMap(), uo = new WeakSet(),
|
|
21205
|
+
}, fr = new WeakMap(), lo = new WeakMap(), dr = new WeakMap(), zi = new WeakMap(), Ms = new WeakMap(), uo = new WeakSet(), cc = function(e, r) {
|
|
21206
21206
|
const N = [];
|
|
21207
21207
|
if (e.nodeType !== e.TEXT_NODE)
|
|
21208
|
-
return Array.from(e.childNodes).map(($) => et(this, uo,
|
|
21208
|
+
return Array.from(e.childNodes).map(($) => et(this, uo, cc).call(this, $, r)).flat();
|
|
21209
21209
|
const k = e.ownerDocument.createRange();
|
|
21210
21210
|
k.selectNodeContents(e);
|
|
21211
21211
|
let D = 0;
|
|
@@ -21220,7 +21220,7 @@ ws = new WeakMap(), so = new WeakMap(), vn = new WeakMap(), Kt = new WeakMap(),
|
|
|
21220
21220
|
});
|
|
21221
21221
|
}
|
|
21222
21222
|
return k.detach(), N;
|
|
21223
|
-
}, Dr = new WeakMap(), bn = new WeakMap(), co = new WeakSet(),
|
|
21223
|
+
}, Dr = new WeakMap(), bn = new WeakMap(), co = new WeakSet(), fc = function() {
|
|
21224
21224
|
var D;
|
|
21225
21225
|
U(this, ur).clear(), J(this, Nr, []), J(this, _n, 0), this.skipChIn();
|
|
21226
21226
|
const e = U(this, Kt).cloneNode(!0);
|
|
@@ -21253,7 +21253,7 @@ ws = new WeakMap(), so = new WeakMap(), vn = new WeakMap(), Kt = new WeakMap(),
|
|
|
21253
21253
|
B instanceof Container && U(Ht, vn).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 }), J(this, Kt, e);
|
|
21256
|
-
}, Ze = new WeakMap(), K(TxtStage, ws, void 0), K(TxtStage, so, void 0), K(TxtStage, vn, void 0), K(TxtStage,
|
|
21256
|
+
}, Ze = new WeakMap(), K(TxtStage, ws, void 0), K(TxtStage, so, void 0), K(TxtStage, vn, void 0), K(TxtStage, yl, {
|
|
21257
21257
|
"background-color": 0,
|
|
21258
21258
|
"border-bottom-width": 0,
|
|
21259
21259
|
"border-left-width": 0,
|
|
@@ -21353,13 +21353,13 @@ xn = new WeakMap(), Vi = new WeakMap(), fo = new WeakMap(), K(RubySpliter, xn, "
|
|
|
21353
21353
|
・Unicode文字一覧表 - instant tools https://tools.m-bsys.com/ex/unicode_table.php
|
|
21354
21354
|
*/
|
|
21355
21355
|
K(RubySpliter, fo, void 0);
|
|
21356
|
-
var po, vo, Ii, pr, ie,
|
|
21356
|
+
var po, vo, Ii, pr, ie, xl, xf, Is, As, El, Ef;
|
|
21357
21357
|
const tn = class extends Container {
|
|
21358
21358
|
constructor(e, r, N, k) {
|
|
21359
21359
|
var V;
|
|
21360
21360
|
super();
|
|
21361
|
-
K(this, bl);
|
|
21362
21361
|
K(this, xl);
|
|
21362
|
+
K(this, El);
|
|
21363
21363
|
gt(this, "getBtnBounds", () => U(this, Ii));
|
|
21364
21364
|
// 文字ボタンは背景画像を含まない位置指定なので、その当たり判定用
|
|
21365
21365
|
K(this, Ii, new Rectangle());
|
|
@@ -21392,7 +21392,7 @@ const tn = class extends Container {
|
|
|
21392
21392
|
e.pic,
|
|
21393
21393
|
this,
|
|
21394
21394
|
(Y) => {
|
|
21395
|
-
et(this,
|
|
21395
|
+
et(this, El, Ef).call(this, Y), U(this, Ii).width = Y.width * U(this, ie).scale_x, U(this, Ii).height = Y.height * U(this, ie).scale_y;
|
|
21396
21396
|
},
|
|
21397
21397
|
(Y) => N
|
|
21398
21398
|
);
|
|
@@ -21427,7 +21427,7 @@ const tn = class extends Container {
|
|
|
21427
21427
|
e.b_pic,
|
|
21428
21428
|
this,
|
|
21429
21429
|
(Y) => {
|
|
21430
|
-
et(this,
|
|
21430
|
+
et(this, xl, xf).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 tn = class extends Container {
|
|
|
21481
21481
|
}
|
|
21482
21482
|
};
|
|
21483
21483
|
let Button = tn;
|
|
21484
|
-
po = new WeakMap(), vo = new WeakMap(), Ii = new WeakMap(), pr = new WeakMap(), ie = new WeakMap(),
|
|
21484
|
+
po = new WeakMap(), vo = new WeakMap(), Ii = new WeakMap(), pr = new WeakMap(), ie = new WeakMap(), xl = new WeakSet(), xf = 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 @@ po = new WeakMap(), vo = new WeakMap(), Ii = 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
|
-
}, Is = new WeakMap(), As = new WeakMap(),
|
|
21496
|
+
}, Is = new WeakMap(), As = new WeakMap(), El = new WeakSet(), Ef = 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 @@ po = new WeakMap(), vo = new WeakMap(), Ii = new WeakMap(), pr = new WeakMap(),
|
|
|
21501
21501
|
}, gt(Button, "fontFamily", "'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif"), K(Button, po, (e, r) => {
|
|
21502
21502
|
}), K(Button, vo, (e, r, N, k) => {
|
|
21503
21503
|
});
|
|
21504
|
-
var Ls, Ai, mo, Ns, _o,
|
|
21504
|
+
var Ls, Ai, mo, Ns, _o, dc, go, pc, yo, En, bo, vr, Sn, Sl, Sf, mr, yi, Li, ue, Xi, ee, xo, Yi, Tl, Ke, Tn, da, wn, ks, Pn, pa, Ds, Eo, vc, So, mc, Cn, Rn, Fs, To, Bs, Fr, Je, wl, Tf, hi, wo, Us, Ph, _r, Jr, Wi, Ni, bi, xi, Po, gc, Gs, Ch, Co, yc, On, Mn;
|
|
21505
21505
|
const Xt = class extends Layer {
|
|
21506
21506
|
constructor() {
|
|
21507
21507
|
super();
|
|
@@ -21509,7 +21509,7 @@ const Xt = class extends Layer {
|
|
|
21509
21509
|
K(this, Pn);
|
|
21510
21510
|
K(this, Eo);
|
|
21511
21511
|
K(this, So);
|
|
21512
|
-
K(this,
|
|
21512
|
+
K(this, wl);
|
|
21513
21513
|
K(this, Us);
|
|
21514
21514
|
K(this, _r);
|
|
21515
21515
|
K(this, Po);
|
|
@@ -21551,7 +21551,7 @@ const Xt = class extends Layer {
|
|
|
21551
21551
|
U(this, Ni) ? (J(this, Ni, !1), k = "<ruby> <rt> </rt></ruby><br/>") : k = "<br/>";
|
|
21552
21552
|
break;
|
|
21553
21553
|
}
|
|
21554
|
-
U(this, Ni) && (J(this, Ni, !1), r === "" && (r = " ")), k = et(this, Us,
|
|
21554
|
+
U(this, Ni) && (J(this, Ni, !1), r === "" && (r = " ")), k = et(this, Us, Ph).call(this, e, r, U(this, Je));
|
|
21555
21555
|
break;
|
|
21556
21556
|
default:
|
|
21557
21557
|
switch (D) {
|
|
@@ -21563,10 +21563,10 @@ const Xt = class extends Layer {
|
|
|
21563
21563
|
case "121":
|
|
21564
21564
|
case "even":
|
|
21565
21565
|
case "1ruby":
|
|
21566
|
-
J(this, Ni, !1), J(this, hi, !0), k = et(this, Us,
|
|
21566
|
+
J(this, Ni, !1), J(this, hi, !0), k = et(this, Us, Ph).call(this, e, $, D);
|
|
21567
21567
|
break;
|
|
21568
21568
|
case "gotxt":
|
|
21569
|
-
et(this, Gs,
|
|
21569
|
+
et(this, Gs, Ch).call(this), U(this, hi) ? (this.isCur && U(Xt, Ns).recText(
|
|
21570
21570
|
U(this, bi).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
21572
|
), U(this, ee).goTxt(U(this, bi), U(this, Wi) === 0), J(this, hi, !1), J(this, Wi, 0)) : this.isCur && U(Xt, En).noticeCompTxt();
|
|
@@ -21574,11 +21574,11 @@ const Xt = class extends Layer {
|
|
|
21574
21574
|
case "add":
|
|
21575
21575
|
{
|
|
21576
21576
|
const V = JSON.parse($), { style: Y = "", wait: q = null } = V, { cl: W, sty: Z } = et(this, _r, Jr).call(this, !0, q);
|
|
21577
|
-
U(this, bi).push(`<span${W} style='${Z} display: inline; ${Y}'>`), delete V.style, et(this, Po,
|
|
21577
|
+
U(this, bi).push(`<span${W} style='${Z} display: inline; ${Y}'>`), delete V.style, et(this, Po, gc).call(this, V);
|
|
21578
21578
|
}
|
|
21579
21579
|
return;
|
|
21580
21580
|
case "add_close":
|
|
21581
|
-
U(this, bi).push("</span>"), et(this, Gs,
|
|
21581
|
+
U(this, bi).push("</span>"), et(this, Gs, Ch).call(this);
|
|
21582
21582
|
return;
|
|
21583
21583
|
case "grp":
|
|
21584
21584
|
J(this, hi, !0);
|
|
@@ -21618,7 +21618,7 @@ text-combine-upright: all;
|
|
|
21618
21618
|
TxtStage.delBreak();
|
|
21619
21619
|
return;
|
|
21620
21620
|
case "span":
|
|
21621
|
-
J(this, hi, !0), et(this, Co,
|
|
21621
|
+
J(this, hi, !0), et(this, Co, yc).call(this, JSON.parse($));
|
|
21622
21622
|
return;
|
|
21623
21623
|
case "link":
|
|
21624
21624
|
J(this, hi, !0);
|
|
@@ -21626,14 +21626,14 @@ text-combine-upright: all;
|
|
|
21626
21626
|
const V = JSON.parse($);
|
|
21627
21627
|
V[":link"] = " data-lnk='@'";
|
|
21628
21628
|
const { cl: Y, sty: q, curpos: W } = et(this, _r, Jr).call(this, !1, V.wait);
|
|
21629
|
-
U(this, bi).push(`<span${Y} style='${q} display: inline; ${V.style ?? ""}' ${W} data-arg='${$}'>`), delete V.style, et(this, Co,
|
|
21629
|
+
U(this, bi).push(`<span${Y} style='${q} display: inline; ${V.style ?? ""}' ${W} data-arg='${$}'>`), delete V.style, et(this, Co, yc).call(this, V);
|
|
21630
21630
|
}
|
|
21631
21631
|
return;
|
|
21632
21632
|
case "endlink":
|
|
21633
|
-
J(this, hi, !0), U(this, bi).push("</span>"), et(this, Gs,
|
|
21633
|
+
J(this, hi, !0), U(this, bi).push("</span>"), et(this, Gs, Ch).call(this);
|
|
21634
21634
|
return;
|
|
21635
21635
|
default:
|
|
21636
|
-
J(this, hi, !0), k = et(this, Us,
|
|
21636
|
+
J(this, hi, !0), k = et(this, Us, Ph).call(this, e, r, U(this, Je));
|
|
21637
21637
|
}
|
|
21638
21638
|
break;
|
|
21639
21639
|
}
|
|
@@ -21675,13 +21675,13 @@ text-combine-upright: all;
|
|
|
21675
21675
|
var $, H;
|
|
21676
21676
|
J(Xt, Ls, e), TxtStage.init(e, B), J(Xt, Ai, N), J(Xt, Ns, k), J(Xt, mo, D), N.setDoRecProc(Xt.chgDoRec), r.autowc = (z) => {
|
|
21677
21677
|
var X;
|
|
21678
|
-
return et(X = Xt,
|
|
21678
|
+
return et(X = Xt, Sl, Sf).call(X, z);
|
|
21679
21679
|
}, r.autowc({ enabled: !1, text: "", time: 0 }), r.ch_in_style = (z) => {
|
|
21680
21680
|
var X;
|
|
21681
|
-
return et(X = Xt, _o,
|
|
21681
|
+
return et(X = Xt, _o, dc).call(X, z);
|
|
21682
21682
|
}, r.ch_out_style = (z) => {
|
|
21683
21683
|
var X;
|
|
21684
|
-
return et(X = Xt, go,
|
|
21684
|
+
return et(X = Xt, go, pc).call(X, z);
|
|
21685
21685
|
}, TxtStage.initChStyle(), initStyle(), addStyle(
|
|
21686
21686
|
e.matchPath(".+", SEARCH_PATH_ARG_EXT.FONT).flatMap((z) => Object.values(z).map((X) => `
|
|
21687
21687
|
@font-face {
|
|
@@ -21701,7 +21701,7 @@ text-combine-upright: all;
|
|
|
21701
21701
|
}
|
|
21702
21702
|
`
|
|
21703
21703
|
// 「sn_ch」と「sn_ch_in_〜」の中身が重複しているが、これは必須
|
|
21704
|
-
), et($ = Xt, _o,
|
|
21704
|
+
), et($ = Xt, _o, dc).call($, {
|
|
21705
21705
|
name: "default",
|
|
21706
21706
|
wait: 500,
|
|
21707
21707
|
alpha: 0,
|
|
@@ -21712,7 +21712,7 @@ text-combine-upright: all;
|
|
|
21712
21712
|
rotate: 0,
|
|
21713
21713
|
join: !0,
|
|
21714
21714
|
ease: "ease-out"
|
|
21715
|
-
}), et(H = Xt, go,
|
|
21715
|
+
}), et(H = Xt, go, pc).call(H, {
|
|
21716
21716
|
name: "default",
|
|
21717
21717
|
wait: 0,
|
|
21718
21718
|
alpha: 0,
|
|
@@ -21755,14 +21755,14 @@ 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, So,
|
|
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, So, mc).call(this, e), U(this, ee).lay(e), "r_align" in e && J(this, Je, e.r_align ?? ""), J(this, Fr, 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, wl, Tf)), "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;
|
|
21762
21762
|
const N = r.style.length, k = U(this, Yi).style;
|
|
21763
21763
|
for (let D = 0; D < N; ++D) {
|
|
21764
21764
|
const B = r.style[D];
|
|
21765
|
-
if (B in U(Xt,
|
|
21765
|
+
if (B in U(Xt, Tl)) {
|
|
21766
21766
|
DebugMng.myTrace(`${B}は指定できません`, "W");
|
|
21767
21767
|
continue;
|
|
21768
21768
|
}
|
|
@@ -21773,7 +21773,7 @@ text-combine-upright: all;
|
|
|
21773
21773
|
if ("alpha" in e)
|
|
21774
21774
|
for (const r of U(this, Ke).children)
|
|
21775
21775
|
r.alpha = this.spLay.alpha;
|
|
21776
|
-
return et(this, Tn, da).call(this, e), et(this, Pn, pa).call(this, e), et(this, Eo,
|
|
21776
|
+
return et(this, Tn, da).call(this, e), et(this, Pn, pa).call(this, e), et(this, Eo, vc).call(this, e, (r) => {
|
|
21777
21777
|
r && U(Xt, yo).resume();
|
|
21778
21778
|
});
|
|
21779
21779
|
}
|
|
@@ -21847,9 +21847,9 @@ text-combine-upright: all;
|
|
|
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, J(this, Je, e.r_align), this.cvsResize(), et(this, So,
|
|
21850
|
+
super.playback(e, r), this.enabled = e.enabled, U(this, Yi).style.cssText = e.r_cssText, J(this, Je, e.r_align), this.cvsResize(), et(this, So, mc).call(this, e), U(this, ee).playback(e.txs), J(this, yi, e.b_alpha), J(this, Li, 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
|
-
D.b_alpha = e.b_alpha, D.b_alpha_isfixed = e.b_alpha_isfixed, et(this, Eo,
|
|
21852
|
+
D.b_alpha = e.b_alpha, D.b_alpha_isfixed = e.b_alpha_isfixed, et(this, Eo, vc).call(this, D, (B) => {
|
|
21853
21853
|
B && k();
|
|
21854
21854
|
}) || k();
|
|
21855
21855
|
}));
|
|
@@ -21882,7 +21882,7 @@ text-combine-upright: all;
|
|
|
21882
21882
|
}
|
|
21883
21883
|
};
|
|
21884
21884
|
let TxtLayer = Xt;
|
|
21885
|
-
Ls = new WeakMap(), Ai = new WeakMap(), mo = new WeakMap(), Ns = new WeakMap(), _o = new WeakSet(),
|
|
21885
|
+
Ls = new WeakMap(), Ai = new WeakMap(), mo = new WeakMap(), Ns = new WeakMap(), _o = new WeakSet(), dc = function(e) {
|
|
21886
21886
|
const r = TxtStage.ch_in_style(e), N = r.x.at(0) === "=" ? `${r.nx * 100}%` : `${r.nx}px`, k = r.y.at(0) === "=" ? `${r.ny * 100}%` : `${r.ny}px`, { name: D } = e;
|
|
21887
21887
|
return addStyle(`
|
|
21888
21888
|
.sn_ch_in_${D} {
|
|
@@ -21900,7 +21900,7 @@ Ls = new WeakMap(), Ai = new WeakMap(), mo = new WeakMap(), Ns = new WeakMap(),
|
|
|
21900
21900
|
to {opacity: 1; transform: none;}
|
|
21901
21901
|
}
|
|
21902
21902
|
`), !1;
|
|
21903
|
-
}, go = new WeakSet(),
|
|
21903
|
+
}, go = new WeakSet(), pc = function(e) {
|
|
21904
21904
|
const r = TxtStage.ch_out_style(e), N = r.x.at(0) === "=" ? `${r.nx * 100}%` : `${r.nx}px`, k = r.y.at(0) === "=" ? `${r.ny * 100}%` : `${r.ny}px`, { name: D } = e;
|
|
21905
21905
|
return addStyle(`
|
|
21906
21906
|
.go_ch_out_${D} {
|
|
@@ -21914,7 +21914,7 @@ Ls = new WeakMap(), Ai = new WeakMap(), mo = new WeakMap(), Ns = 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
|
-
}, yo = new WeakMap(), En = new WeakMap(), bo = new WeakMap(), vr = new WeakMap(), Sn = new WeakMap(),
|
|
21917
|
+
}, yo = new WeakMap(), En = new WeakMap(), bo = new WeakMap(), vr = new WeakMap(), Sn = new WeakMap(), Sl = new WeakSet(), Sf = function(e) {
|
|
21918
21918
|
J(Xt, vr, argChk_Boolean(e, "enabled", U(Xt, vr))), U(Xt, Ai).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 @@ Ls = new WeakMap(), Ai = new WeakMap(), mo = new WeakMap(), Ns = new WeakMap(),
|
|
|
21928
21928
|
if (k.length !== N)
|
|
21929
21929
|
throw "[autowc] text文字数とtimeに記述された待ち時間(コンマ区切り)は同数にして下さい";
|
|
21930
21930
|
return J(Xt, Sn, {}), k.forEach((D, B) => U(Xt, Sn)[r[B]] = uint(D)), U(Xt, Ai).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
|
|
21931
|
-
}, mr = new WeakMap(), yi = new WeakMap(), Li = new WeakMap(), ue = new WeakMap(), Xi = new WeakMap(), ee = new WeakMap(), xo = new WeakMap(), Yi = new WeakMap(),
|
|
21931
|
+
}, mr = new WeakMap(), yi = new WeakMap(), Li = new WeakMap(), ue = new WeakMap(), Xi = new WeakMap(), ee = new WeakMap(), xo = new WeakMap(), Yi = new WeakMap(), Tl = new WeakMap(), Ke = new WeakMap(), Tn = new WeakSet(), da = function(e) {
|
|
21932
21932
|
const { in_style: r } = e;
|
|
21933
21933
|
if (!r)
|
|
21934
21934
|
return;
|
|
@@ -21943,7 +21943,7 @@ Ls = new WeakMap(), Ai = new WeakMap(), mo = new WeakMap(), Ns = new WeakMap(),
|
|
|
21943
21943
|
if (!TxtStage.getChOutStyle(r))
|
|
21944
21944
|
throw `存在しないout_style【${r}】です`;
|
|
21945
21945
|
J(this, Ds, r);
|
|
21946
|
-
}, Ds = new WeakMap(), Eo = new WeakSet(),
|
|
21946
|
+
}, Ds = new WeakMap(), Eo = new WeakSet(), vc = function(e, r) {
|
|
21947
21947
|
if ("back_clear" in e)
|
|
21948
21948
|
return argChk_Boolean(e, "back_clear", !1) && (J(this, mr, 0), J(this, yi, 0), J(this, Li, !1), J(this, Xi, "")), r(!1), !1;
|
|
21949
21949
|
J(this, yi, argChk_Num(e, "b_alpha", U(this, yi))), J(this, Li, argChk_Boolean(e, "b_alpha_isfixed", U(this, Li)));
|
|
@@ -21959,9 +21959,9 @@ Ls = new WeakMap(), Ai = new WeakMap(), mo = new WeakMap(), Ns = new WeakMap(),
|
|
|
21959
21959
|
0
|
|
21960
21960
|
), U(this, ue).name = "back(color)");
|
|
21961
21961
|
return U(this, ue) && (U(this, ue).visible = N > 0, U(this, ue).alpha = N), r(!1), !1;
|
|
21962
|
-
}, So = new WeakSet(),
|
|
21962
|
+
}, So = new WeakSet(), mc = function(e) {
|
|
21963
21963
|
"noffs" in e && (J(this, Fs, e.noffs ?? ""), J(this, To, new RegExp(`[ ${U(this, Fs)}]`))), "ffs" in e && (U(this, Cn) ?? J(this, Cn, ""), J(this, Rn, U(this, Cn) === "" ? () => "" : (r) => U(this, To).test(r) ? "" : ` font-feature-settings: ${U(this, Cn)};`));
|
|
21964
|
-
}, Cn = new WeakMap(), Rn = new WeakMap(), Fs = new WeakMap(), To = new WeakMap(), Bs = new WeakMap(), Fr = new WeakMap(), Je = new WeakMap(),
|
|
21964
|
+
}, Cn = new WeakMap(), Rn = new WeakMap(), Fs = new WeakMap(), To = new WeakMap(), Bs = new WeakMap(), Fr = new WeakMap(), Je = new WeakMap(), wl = new WeakSet(), Tf = 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 @@ Ls = new WeakMap(), Ai = new WeakMap(), mo = new WeakMap(), Ns = new WeakMap(),
|
|
|
21995
21995
|
B = `text-align: ${N};`;
|
|
21996
21996
|
}
|
|
21997
21997
|
return ` style='${B} ${k}'`;
|
|
21998
|
-
}, hi = new WeakMap(), wo = new WeakMap(), Us = new WeakSet(),
|
|
21998
|
+
}, hi = new WeakMap(), wo = new WeakMap(), Us = new WeakSet(), Ph = function(e, r, N) {
|
|
21999
21999
|
var H;
|
|
22000
22000
|
const k = e === " " ? " " : e;
|
|
22001
22001
|
U(Xt, Ai).doRecLog() && (J(this, On, U(this, On) + (k + (r ? `《${r}》` : ""))), e !== " " && J(this, Mn, U(this, Mn) + e));
|
|
@@ -22021,28 +22021,28 @@ Ls = new WeakMap(), Ai = new WeakMap(), mo = new WeakMap(), Ns = new WeakMap(),
|
|
|
22021
22021
|
lnk: (((H = U(this, xi).at(0)) == null ? void 0 : H.o[":link"]) ?? "") + " " + D,
|
|
22022
22022
|
curpos: D
|
|
22023
22023
|
};
|
|
22024
|
-
}, Wi = new WeakMap(), Ni = new WeakMap(), bi = new WeakMap(), xi = new WeakMap(), Po = new WeakSet(),
|
|
22024
|
+
}, Wi = new WeakMap(), Ni = new WeakMap(), bi = new WeakMap(), xi = new WeakMap(), Po = new WeakSet(), gc = function(e) {
|
|
22025
22025
|
U(this, xi).push({
|
|
22026
22026
|
o: e,
|
|
22027
22027
|
r_align: U(this, Je),
|
|
22028
22028
|
ch_in_style: U(this, wn),
|
|
22029
22029
|
ch_out_style: U(this, Ds)
|
|
22030
22030
|
}), "r_align" in e && J(this, Je, e.r_align), et(this, Tn, da).call(this, e), et(this, Pn, pa).call(this, e);
|
|
22031
|
-
}, Gs = new WeakSet(),
|
|
22031
|
+
}, Gs = new WeakSet(), Ch = function() {
|
|
22032
22032
|
const e = U(this, xi).pop();
|
|
22033
22033
|
e && (J(this, Je, e.r_align), et(this, Tn, da).call(this, { in_style: e.ch_in_style }), et(this, Pn, pa).call(this, { out_style: e.ch_out_style }));
|
|
22034
|
-
}, Co = new WeakSet(),
|
|
22034
|
+
}, Co = new WeakSet(), yc = function(e) {
|
|
22035
22035
|
const r = U(this, xi).at(-1);
|
|
22036
22036
|
if (!r) {
|
|
22037
|
-
et(this, Po,
|
|
22037
|
+
et(this, Po, gc).call(this, e);
|
|
22038
22038
|
return;
|
|
22039
22039
|
}
|
|
22040
22040
|
r.o = { ...r.o, ...e }, !e.style && !e.r_style && (r.o.style = "", r.o.r_style = ""), "r_align" in e && J(this, Je, e.r_align), et(this, Tn, da).call(this, e), et(this, Pn, pa).call(this, e);
|
|
22041
22041
|
}, On = new WeakMap(), Mn = new WeakMap(), // 文字出現演出
|
|
22042
22042
|
K(TxtLayer, _o), // 文字消去演出
|
|
22043
|
-
K(TxtLayer, go), K(TxtLayer,
|
|
22043
|
+
K(TxtLayer, go), K(TxtLayer, Sl), K(TxtLayer, Ls, void 0), K(TxtLayer, Ai, void 0), K(TxtLayer, mo, void 0), K(TxtLayer, Ns, void 0), K(TxtLayer, yo, void 0), K(TxtLayer, En, void 0), K(TxtLayer, bo, void 0), // 文字ごとのウェイト
|
|
22044
22044
|
K(TxtLayer, vr, !1), K(TxtLayer, Sn, {}), // cssチェック・保存用
|
|
22045
|
-
K(TxtLayer,
|
|
22045
|
+
K(TxtLayer, Tl, {
|
|
22046
22046
|
"text-align": 0,
|
|
22047
22047
|
"text-align-last": 0,
|
|
22048
22048
|
height: 0,
|
|
@@ -22052,26 +22052,26 @@ K(TxtLayer, Sl, {
|
|
|
22052
22052
|
"padding-top": 0,
|
|
22053
22053
|
"padding-bottom": 0
|
|
22054
22054
|
}), K(TxtLayer, Bs, (e) => e);
|
|
22055
|
-
var $s, In,
|
|
22055
|
+
var $s, In, Pl, wf, js, Hs, Rh, Cl, Pf, Rl, Cf, Ro, Ol, Rf, Ml, Of;
|
|
22056
22056
|
class FrameMng {
|
|
22057
22057
|
constructor(t, e, r, N, k, D, B) {
|
|
22058
22058
|
// HTMLフレーム
|
|
22059
22059
|
// フレーム追加
|
|
22060
|
-
K(this,
|
|
22060
|
+
K(this, Pl);
|
|
22061
22061
|
K(this, Hs);
|
|
22062
22062
|
// フレーム変数を取得
|
|
22063
|
-
K(this, Pl);
|
|
22064
|
-
// フレーム変数に設定
|
|
22065
22063
|
K(this, Cl);
|
|
22064
|
+
// フレーム変数に設定
|
|
22066
22065
|
K(this, Rl);
|
|
22067
|
-
// フレームをトゥイーン開始
|
|
22068
22066
|
K(this, Ol);
|
|
22067
|
+
// フレームをトゥイーン開始
|
|
22068
|
+
K(this, Ml);
|
|
22069
22069
|
K(this, $s, void 0);
|
|
22070
22070
|
K(this, In, /* @__PURE__ */ Object.create(null));
|
|
22071
22071
|
K(this, js, {});
|
|
22072
22072
|
// フレームに設定
|
|
22073
22073
|
K(this, Ro, 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,
|
|
22074
|
+
this.cfg = t, this.appPixi = r, this.val = N, this.main = k, this.sys = D, this.hTwInf = B, e.add_frame = ($) => et(this, Pl, wf).call(this, $), e.let_frame = ($) => et(this, Cl, Pf).call(this, $), e.set_frame = ($) => et(this, Rl, Cf).call(this, $), e.frame = ($) => et(this, Ol, Rf).call(this, $), e.tsy_frame = ($) => et(this, Ml, Of).call(this, $);
|
|
22075
22075
|
}
|
|
22076
22076
|
setEvtMng(t) {
|
|
22077
22077
|
J(this, $s, t);
|
|
@@ -22091,7 +22091,7 @@ class FrameMng {
|
|
|
22091
22091
|
}
|
|
22092
22092
|
}
|
|
22093
22093
|
}
|
|
22094
|
-
$s = new WeakMap(), In = new WeakMap(),
|
|
22094
|
+
$s = new WeakMap(), In = new WeakMap(), Pl = new WeakSet(), wf = 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は必須です";
|
|
@@ -22100,7 +22100,7 @@ $s = new WeakMap(), In = new WeakMap(), wl = new WeakSet(), Tf = function(t) {
|
|
|
22100
22100
|
const $ = "const.sn.frm." + e;
|
|
22101
22101
|
if (this.val.getVal(`tmp:${$}`))
|
|
22102
22102
|
throw `frame【${e}】はすでにあります`;
|
|
22103
|
-
const H = argChk_Boolean(t, "visible", !0), z = t.b_color ? ` background-color: ${t.b_color};` : "", X = et(this, Hs,
|
|
22103
|
+
const H = argChk_Boolean(t, "visible", !0), z = t.b_color ? ` background-color: ${t.b_color};` : "", X = et(this, Hs, Rh).call(this, t);
|
|
22104
22104
|
Main.cvs.insertAdjacentHTML("beforebegin", `<iframe id="${e}" sandbox="allow-scripts allow-same-origin" style="opacity: ${N}; position: absolute; left:${this.sys.ofsLeft4elm + X.x * this.sys.cvsScale}px; top: ${this.sys.ofsTop4elm + X.y * this.sys.cvsScale}px; z-index: 1; ${z} border: 0px; overflow: hidden; display: ${H ? "inline" : "none"}; transform: scale(${k}, ${D}) rotate(${B}deg);" width="${X.width * this.sys.cvsScale}" height="${X.height * this.sys.cvsScale}"></iframe>`);
|
|
22105
22105
|
const V = this.cfg.searchPath(r, SEARCH_PATH_ARG_EXT.HTML), Y = new Loader().add({ name: r, url: V, xhrType: LoaderResource.XHR_RESPONSE_TYPE.TEXT });
|
|
22106
22106
|
return this.sys.crypto && Y.use((q, W) => {
|
|
@@ -22123,7 +22123,7 @@ $s = new WeakMap(), In = new WeakMap(), wl = new WeakSet(), Tf = function(t) {
|
|
|
22123
22123
|
U(this, $s).resvFlameEvent(Q), (it = Q.sn_repRes) == null || it.call(Q, (at) => GrpLayer.loadPic2Img(at.dataset.src ?? "", at)), this.main.resume();
|
|
22124
22124
|
};
|
|
22125
22125
|
}), !0;
|
|
22126
|
-
}, js = new WeakMap(), Hs = new WeakSet(),
|
|
22126
|
+
}, js = new WeakMap(), Hs = new WeakSet(), Rh = function(t) {
|
|
22127
22127
|
const e = { ...t }, r = this.sys.resolution;
|
|
22128
22128
|
return new DOMRect(
|
|
22129
22129
|
argChk_Num(e, "x", 0) * r,
|
|
@@ -22131,7 +22131,7 @@ $s = new WeakMap(), In = new WeakMap(), wl = new WeakSet(), Tf = function(t) {
|
|
|
22131
22131
|
argChk_Num(e, "width", CmnLib.stageW) * r,
|
|
22132
22132
|
argChk_Num(e, "height", CmnLib.stageH) * r
|
|
22133
22133
|
);
|
|
22134
|
-
},
|
|
22134
|
+
}, Cl = new WeakSet(), Pf = function(t) {
|
|
22135
22135
|
const { id: e, var_name: r } = t;
|
|
22136
22136
|
if (!e)
|
|
22137
22137
|
throw "idは必須です";
|
|
@@ -22152,7 +22152,7 @@ $s = new WeakMap(), In = new WeakMap(), wl = new WeakSet(), Tf = function(t) {
|
|
|
22152
22152
|
k + "." + r,
|
|
22153
22153
|
argChk_Boolean(t, "function", !1) ? B() : B
|
|
22154
22154
|
), !1;
|
|
22155
|
-
},
|
|
22155
|
+
}, Rl = new WeakSet(), Cf = 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 @@ $s = new WeakMap(), In = new WeakMap(), wl = new WeakSet(), Tf = 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
|
-
}, Ro = new WeakMap(),
|
|
22172
|
+
}, Ro = new WeakMap(), Ol = new WeakSet(), Rf = function(t) {
|
|
22173
22173
|
const { id: e } = t;
|
|
22174
22174
|
if (!e)
|
|
22175
22175
|
throw "idは必須です";
|
|
@@ -22184,7 +22184,7 @@ $s = new WeakMap(), In = new WeakMap(), wl = new WeakSet(), Tf = function(t) {
|
|
|
22184
22184
|
const B = k.opacity = String(t.alpha);
|
|
22185
22185
|
this.val.setVal_Nochk("tmp", N + ".alpha", B);
|
|
22186
22186
|
}
|
|
22187
|
-
const D = et(this, Hs,
|
|
22187
|
+
const D = et(this, Hs, Rh).call(this, t);
|
|
22188
22188
|
if (("x" in t || "y" in t) && (k.left = `${this.sys.ofsLeft4elm + D.x * this.sys.cvsScale}px`, k.top = `${this.sys.ofsTop4elm + D.y * this.sys.cvsScale}px`, this.val.setVal_Nochk("tmp", N + ".x", D.x), this.val.setVal_Nochk("tmp", N + ".y", D.y)), "scale_x" in t || "scale_y" in t || "rotate" in t) {
|
|
22189
22189
|
const B = argChk_Num(t, "scale_x", 1), $ = argChk_Num(t, "scale_y", 1), H = argChk_Num(t, "rotate", 0);
|
|
22190
22190
|
k.transform = `scale(${B}, ${$}) rotate(${H}deg)`, this.val.setVal_Nochk("tmp", N + ".scale_x", B), this.val.setVal_Nochk("tmp", N + ".scale_y", $), this.val.setVal_Nochk("tmp", N + ".rotate", H);
|
|
@@ -22198,7 +22198,7 @@ $s = new WeakMap(), In = new WeakMap(), wl = new WeakSet(), Tf = function(t) {
|
|
|
22198
22198
|
r.contentDocument.body.querySelectorAll("input,select").forEach((H) => H.disabled = B);
|
|
22199
22199
|
}
|
|
22200
22200
|
return !1;
|
|
22201
|
-
},
|
|
22201
|
+
}, Ml = new WeakSet(), Of = 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は必須です";
|
|
@@ -22218,7 +22218,7 @@ $s = new WeakMap(), In = new WeakMap(), wl = new WeakSet(), Tf = function(t) {
|
|
|
22218
22218
|
});
|
|
22219
22219
|
let at = () => {
|
|
22220
22220
|
};
|
|
22221
|
-
const st = et(this, Hs,
|
|
22221
|
+
const st = et(this, Hs, Rh).call(this, tt);
|
|
22222
22222
|
(N || k || D || B || $) && (Q.x = st.x, Q.y = st.y, Q.sx = argChk_Num(tt, "scale_x", 1), Q.sy = argChk_Num(tt, "scale_y", 1), Q.r = argChk_Num(tt, "rotate", 0), at = () => {
|
|
22223
22223
|
q.style.left = this.sys.ofsLeft4elm + Z.x * this.sys.cvsScale + "px", q.style.top = this.sys.ofsTop4elm + Z.y * this.sys.cvsScale + "px", q.style.transform = `scale(${Z.sx}, ${Z.sy}) rotate(${Z.r}deg)`, this.val.setVal_Nochk("tmp", W + ".x", Z.x), this.val.setVal_Nochk("tmp", W + ".y", Z.y), this.val.setVal_Nochk("tmp", W + ".scale_x", Z.sx), this.val.setVal_Nochk("tmp", W + ".scale_y", Z.sy), this.val.setVal_Nochk("tmp", W + ".rotate", Z.r);
|
|
22224
22224
|
});
|
|
@@ -22272,78 +22272,78 @@ ${e}`, lt = () => {
|
|
|
22272
22272
|
yt.start();
|
|
22273
22273
|
return this.hTwInf[nt] = { tw: Ot, resume: !1 }, !1;
|
|
22274
22274
|
};
|
|
22275
|
-
var Ei, ne, me, Br, An, zs, Oo, Mo, Io, Vs, Ao,
|
|
22275
|
+
var Ei, ne, me, Br, An, zs, Oo, Mo, Io, Vs, Ao, bc, Ur, li, Il, Mf, Qe, Al, If, Ll, Af, Nl, Lf, Jt, qi, Zi, Lo, kl, Nf, Xs, Oh, Dl, kf, Fl, No, Bl, Ln, Nn, gr, Pe, kn, Ul, Df, Ce, Xe, ni, Gl, Ff, $l, Bf, jl, Uf, Dn, va, Hl, Gf, ui, zl, $f, Vl, jf, Xl, Hf, Yl, zf, Wl, Vf, Gr, Fn, ma, ci, ql, Xf, ko, Zl, Yf, Ki, Bn, $r, os, Ge, Ji, Kl, Wf, Jl, qf, Ql, Zf, tu, Kf, eu, Jf, iu, Qf, ru, td, Do, xc, nu, ed, su, id, au, rd, ou, nd, hu, sd, lu, ad, uu, od;
|
|
22276
22276
|
const Or = class {
|
|
22277
22277
|
constructor(t, e, r, N, k, D, B, $, H, z) {
|
|
22278
22278
|
K(this, Ao);
|
|
22279
22279
|
// 既存の全文字レイヤの実際のバック不透明度、を再計算
|
|
22280
|
-
K(this,
|
|
22280
|
+
K(this, Il);
|
|
22281
22281
|
// // システム
|
|
22282
22282
|
// スナップショット
|
|
22283
|
-
K(this, Il);
|
|
22284
|
-
// プラグインの読み込み
|
|
22285
22283
|
K(this, Al);
|
|
22284
|
+
// プラグインの読み込み
|
|
22285
|
+
K(this, Ll);
|
|
22286
22286
|
// // レイヤ共通
|
|
22287
22287
|
// レイヤを追加する
|
|
22288
|
-
K(this, Ll);
|
|
22289
22288
|
K(this, Nl);
|
|
22289
|
+
K(this, kl);
|
|
22290
22290
|
K(this, Xs);
|
|
22291
22291
|
// レイヤ設定の消去
|
|
22292
|
-
K(this,
|
|
22292
|
+
K(this, Dl);
|
|
22293
22293
|
// ページ裏表を交換
|
|
22294
|
-
K(this, Bl);
|
|
22295
|
-
K(this, Xe);
|
|
22296
22294
|
K(this, Ul);
|
|
22295
|
+
K(this, Xe);
|
|
22297
22296
|
K(this, Gl);
|
|
22298
|
-
// トランス終了待ち
|
|
22299
22297
|
K(this, $l);
|
|
22298
|
+
// トランス終了待ち
|
|
22299
|
+
K(this, jl);
|
|
22300
22300
|
// レイヤのトランジションの停止
|
|
22301
22301
|
K(this, Dn);
|
|
22302
22302
|
// 画面を揺らす
|
|
22303
|
-
K(this, jl);
|
|
22304
22303
|
K(this, Hl);
|
|
22305
|
-
// トゥイーン終了待ち
|
|
22306
22304
|
K(this, zl);
|
|
22307
|
-
//
|
|
22305
|
+
// トゥイーン終了待ち
|
|
22308
22306
|
K(this, Vl);
|
|
22309
|
-
//
|
|
22307
|
+
// トゥイーン中断
|
|
22310
22308
|
K(this, Xl);
|
|
22311
|
-
//
|
|
22309
|
+
// 一時停止
|
|
22312
22310
|
K(this, Yl);
|
|
22311
|
+
// 一時停止再開
|
|
22312
|
+
K(this, Wl);
|
|
22313
22313
|
// 文字を追加する
|
|
22314
22314
|
K(this, Fn);
|
|
22315
|
-
K(this, Wl);
|
|
22316
22315
|
K(this, ql);
|
|
22317
|
-
K(this, $r);
|
|
22318
22316
|
K(this, Zl);
|
|
22319
|
-
|
|
22317
|
+
K(this, $r);
|
|
22320
22318
|
K(this, Kl);
|
|
22321
|
-
//
|
|
22319
|
+
// ハイパーリンクの終了
|
|
22322
22320
|
K(this, Jl);
|
|
22323
|
-
//
|
|
22321
|
+
// ページ両面の文字消去
|
|
22324
22322
|
K(this, Ql);
|
|
22325
|
-
//
|
|
22323
|
+
// インライン画像表示
|
|
22326
22324
|
K(this, tu);
|
|
22327
|
-
//
|
|
22325
|
+
// ハイパーリンク
|
|
22328
22326
|
K(this, eu);
|
|
22329
|
-
//
|
|
22327
|
+
// 改行
|
|
22330
22328
|
K(this, iu);
|
|
22329
|
+
// 履歴改行
|
|
22330
|
+
K(this, ru);
|
|
22331
22331
|
// 履歴書き込み
|
|
22332
22332
|
K(this, Do);
|
|
22333
22333
|
// 履歴リセット
|
|
22334
|
-
K(this, ru);
|
|
22335
|
-
// 文字列と複数ルビの追加
|
|
22336
22334
|
K(this, nu);
|
|
22337
|
-
//
|
|
22335
|
+
// 文字列と複数ルビの追加
|
|
22338
22336
|
K(this, su);
|
|
22339
|
-
//
|
|
22337
|
+
// インラインスタイル設定
|
|
22340
22338
|
K(this, au);
|
|
22341
|
-
//
|
|
22339
|
+
// tcy縦中横を表示する
|
|
22342
22340
|
K(this, ou);
|
|
22343
|
-
//
|
|
22341
|
+
// レイヤのダンプ
|
|
22344
22342
|
K(this, hu);
|
|
22345
|
-
//
|
|
22343
|
+
// イベント有無の切替
|
|
22346
22344
|
K(this, lu);
|
|
22345
|
+
// ボタンを表示
|
|
22346
|
+
K(this, uu);
|
|
22347
22347
|
K(this, Ei, void 0);
|
|
22348
22348
|
K(this, ne, new Container());
|
|
22349
22349
|
K(this, me, new Container());
|
|
@@ -22360,10 +22360,10 @@ const Or = class {
|
|
|
22360
22360
|
const r = U(this, Jt)[e].fore;
|
|
22361
22361
|
r.makeDesignCastChildren((N) => N.make()), r.makeDesignCast((N) => N.make());
|
|
22362
22362
|
}
|
|
22363
|
-
return et(this, Ao,
|
|
22363
|
+
return et(this, Ao, bc).call(this, U(this, Zi)), !1;
|
|
22364
22364
|
},
|
|
22365
22365
|
_replaceToken: (t, e) => !1,
|
|
22366
|
-
_selectNode: (t, e) => (et(this, Ao,
|
|
22366
|
+
_selectNode: (t, e) => (et(this, Ao, bc).call(this, e.node), !1)
|
|
22367
22367
|
});
|
|
22368
22368
|
K(this, Io, "");
|
|
22369
22369
|
K(this, Vs, "");
|
|
@@ -22383,7 +22383,7 @@ const Or = class {
|
|
|
22383
22383
|
// 最適化用
|
|
22384
22384
|
K(this, Zi, "");
|
|
22385
22385
|
K(this, Lo, "");
|
|
22386
|
-
K(this,
|
|
22386
|
+
K(this, Fl, `
|
|
22387
22387
|
precision mediump float;
|
|
22388
22388
|
|
|
22389
22389
|
varying vec2 vTextureCoord;
|
|
@@ -22419,7 +22419,7 @@ void main(void) {
|
|
|
22419
22419
|
vague: 0,
|
|
22420
22420
|
tick: 0
|
|
22421
22421
|
});
|
|
22422
|
-
K(this,
|
|
22422
|
+
K(this, Bl, new Filter(void 0, U(this, Fl), U(this, No)));
|
|
22423
22423
|
K(this, Ln, RenderTexture.create({
|
|
22424
22424
|
width: CmnLib.stageW,
|
|
22425
22425
|
height: CmnLib.stageH
|
|
@@ -22468,7 +22468,7 @@ 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), J(this, Br, new FrameMng(t, e, r, N, k, B, U(this, ui))), B.hFactoryCls.grp = () => new GrpLayer(), B.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => et(this,
|
|
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), J(this, Br, new FrameMng(t, e, r, N, k, B, U(this, ui))), B.hFactoryCls.grp = () => new GrpLayer(), B.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => et(this, Ll, Af).call(this, W), e.snapshot = (W) => et(this, Al, If).call(this, W), e.add_lay = (W) => et(this, Nl, Lf).call(this, W), e.clear_lay = (W) => et(this, Dl, kf).call(this, W), e.finish_trans = () => et(this, Dn, va).call(this), e.lay = (W) => et(this, kl, Nf).call(this, W), e.trans = (W) => et(this, Ul, Df).call(this, W), e.wt = (W) => et(this, jl, Uf).call(this, W), e.quake = (W) => et(this, Hl, Gf).call(this, W), e.stop_quake = (W) => e.finish_trans(W), e.wq = (W) => e.wt(W), e.pause_tsy = (W) => et(this, Yl, zf).call(this, W), e.resume_tsy = (W) => et(this, Wl, Vf).call(this, W), e.stop_tsy = (W) => et(this, Xl, Hf).call(this, W), e.tsy = (W) => et(this, zl, $f).call(this, W), e.wait_tsy = (W) => et(this, Vl, jf).call(this, W), e.ch = (W) => et(this, Fn, ma).call(this, W), e.clear_text = (W) => et(this, Kl, Wf).call(this, W), e.current = (W) => U(this, ko).call(this, W), e.endlink = (W) => et(this, Jl, qf).call(this, W), e.er = (W) => et(this, Ql, Zf).call(this, W), e.graph = (W) => et(this, tu, Kf).call(this, W), e.link = (W) => et(this, eu, Jf).call(this, W), e.r = (W) => et(this, iu, Qf).call(this, W), e.rec_ch = (W) => et(this, Do, xc).call(this, W), e.rec_r = (W) => et(this, ru, td).call(this, W), e.reset_rec = (W) => et(this, nu, ed).call(this, W), e.ruby2 = (W) => et(this, su, id).call(this, W), e.span = (W) => et(this, au, rd).call(this, W), e.tcy = (W) => et(this, ou, nd).call(this, W), e.add_face = (W) => GrpLayer.add_face(W), e.wv = (W) => GrpLayer.wv(W), e.dump_lay = (W) => et(this, hu, sd).call(this, W), e.enable_event = (W) => et(this, lu, ad).call(this, W), e.button = (W) => et(this, uu, od).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
22474
|
U(this, Qe).call(this, "grp|" + Z);
|
|
@@ -22480,7 +22480,7 @@ void main(void) {
|
|
|
22480
22480
|
const V = new Graphics();
|
|
22481
22481
|
V.beginFill(U(this, An), 1).lineStyle(0, U(this, An)).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", J(this, Ei, r.stage), U(this, Ei).addChild(U(this, me)), U(this, Ei).addChild(U(this, ne)), U(this, Ei).addChild(U(this, Nn)), U(this, Ei).addChild(U(this, Pe)), U(this, Ei).name = "stage", r.ticker.add(U(this, Oo));
|
|
22482
22482
|
const Y = (W, Z) => {
|
|
22483
|
-
et(this,
|
|
22483
|
+
et(this, Il, Mf).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;
|
|
@@ -22591,16 +22591,16 @@ void main(void) {
|
|
|
22591
22591
|
}
|
|
22592
22592
|
};
|
|
22593
22593
|
let LayerMng = Or;
|
|
22594
|
-
Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = new WeakMap(), An = new WeakMap(), zs = new WeakMap(), Oo = new WeakMap(), Mo = new WeakMap(), Io = new WeakMap(), Vs = new WeakMap(), Ao = new WeakSet(),
|
|
22594
|
+
Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = new WeakMap(), An = new WeakMap(), zs = new WeakMap(), Oo = new WeakMap(), Mo = new WeakMap(), Io = new WeakMap(), Vs = new WeakMap(), Ao = new WeakSet(), bc = function(t) {
|
|
22595
22595
|
[Ee(this, Io)._, this.Vs = ""] = t.split("/");
|
|
22596
22596
|
const e = U(this, Jt)[U(this, Io)];
|
|
22597
22597
|
e && (U(this, Vs) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
|
|
22598
|
-
}, Ur = new WeakMap(), li = new WeakMap(),
|
|
22598
|
+
}, Ur = new WeakMap(), li = new WeakMap(), Il = new WeakSet(), Mf = function(t) {
|
|
22599
22599
|
for (const e of et(this, Xe, ni).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
|
-
}, Qe = new WeakMap(),
|
|
22603
|
+
}, Qe = new WeakMap(), Al = new WeakSet(), If = 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;
|
|
@@ -22635,7 +22635,7 @@ Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = new WeakMap(),
|
|
|
22635
22635
|
U(this, Jt)[z][$].snapshot_end();
|
|
22636
22636
|
D.destroy(!0), this.main.resume();
|
|
22637
22637
|
}), !0;
|
|
22638
|
-
},
|
|
22638
|
+
}, Ll = new WeakSet(), Af = function(t) {
|
|
22639
22639
|
const { fn: e } = t;
|
|
22640
22640
|
if (!e)
|
|
22641
22641
|
throw "fnは必須です";
|
|
@@ -22653,7 +22653,7 @@ Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = new WeakMap(),
|
|
|
22653
22653
|
throw "サポートされない拡張子です";
|
|
22654
22654
|
}
|
|
22655
22655
|
return r;
|
|
22656
|
-
},
|
|
22656
|
+
}, Nl = new WeakSet(), Lf = function(t) {
|
|
22657
22657
|
const { layer: e, class: r } = t;
|
|
22658
22658
|
if (!e)
|
|
22659
22659
|
throw "layerは必須です";
|
|
@@ -22667,7 +22667,7 @@ Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = 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) || (J(this, Bn, () => {
|
|
22670
|
-
}), J(this, ci, et(this,
|
|
22670
|
+
}), J(this, ci, et(this, ql, Xf)), J(this, ko, et(this, Zl, Yf)), this.hTag.current({ layer: e }), this.goTxt = () => {
|
|
22671
22671
|
U(this, li).isSkipping() ? J(Or, Gr, 0) : this.setNormalChWait();
|
|
22672
22672
|
for (const k of et(this, Xe, ni).call(this)) {
|
|
22673
22673
|
const D = U(this, Jt)[k].fore;
|
|
@@ -22686,12 +22686,12 @@ Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = 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(), Lo = new WeakMap(),
|
|
22689
|
+
}, Jt = new WeakMap(), qi = new WeakMap(), Zi = new WeakMap(), Lo = new WeakMap(), kl = new WeakSet(), Nf = function(t) {
|
|
22690
22690
|
const e = et(this, $r, os).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
|
-
U(this, me).setChildIndex(N, U(this, me).children.length - 1), U(this, ne).setChildIndex(k, U(this, ne).children.length - 1), et(this, Xs,
|
|
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, Xs, Oh).call(this);
|
|
22693
22693
|
else if (t.index)
|
|
22694
|
-
argChk_Num(t, "index", 0) && (U(this, me).setChildIndex(N, t.index), U(this, ne).setChildIndex(k, t.index), et(this, Xs,
|
|
22694
|
+
argChk_Num(t, "index", 0) && (U(this, me).setChildIndex(N, t.index), U(this, ne).setChildIndex(k, t.index), et(this, Xs, Oh).call(this));
|
|
22695
22695
|
else if (t.dive) {
|
|
22696
22696
|
const { dive: D } = t;
|
|
22697
22697
|
let B = 0;
|
|
@@ -22701,17 +22701,17 @@ Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = new WeakMap(),
|
|
|
22701
22701
|
if (!$)
|
|
22702
22702
|
throw "[lay] 属性 dive【" + D + "】が不正です。レイヤーがありません";
|
|
22703
22703
|
const H = $.back, z = $.fore, X = U(this, me).getChildIndex(H.spLay), V = U(this, ne).getChildIndex(z.spLay);
|
|
22704
|
-
B = X < V ? X : V, B > U(this, me).getChildIndex(N) && --B, U(this, ne).setChildIndex(k, B), U(this, me).setChildIndex(N, B), et(this, Xs,
|
|
22704
|
+
B = X < V ? X : V, B > U(this, me).getChildIndex(N) && --B, U(this, ne).setChildIndex(k, B), U(this, me).setChildIndex(N, B), et(this, Xs, Oh).call(this);
|
|
22705
22705
|
}
|
|
22706
22706
|
return t[":id_tag"] = r.fore.name.slice(0, -7), this.scrItr.recodeDesign(t), r.lay(t);
|
|
22707
|
-
}, Xs = new WeakSet(),
|
|
22708
|
-
J(this, qi, et(this,
|
|
22709
|
-
},
|
|
22710
|
-
return et(this,
|
|
22707
|
+
}, Xs = new WeakSet(), Oh = function() {
|
|
22708
|
+
J(this, qi, et(this, $l, Bf).call(this));
|
|
22709
|
+
}, Dl = new WeakSet(), kf = function(t) {
|
|
22710
|
+
return et(this, Gl, Ff).call(this, t, (e) => {
|
|
22711
22711
|
const r = U(this, Jt)[et(this, $r, os).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
|
-
},
|
|
22714
|
+
}, Fl = new WeakMap(), No = new WeakMap(), Bl = new WeakMap(), Ln = new WeakMap(), Nn = new WeakMap(), gr = new WeakMap(), Pe = new WeakMap(), kn = new WeakMap(), Ul = new WeakSet(), Df = function(t) {
|
|
22715
22715
|
et(this, Dn, va).call(this), U(this, li).hideHint();
|
|
22716
22716
|
const { layer: e } = t;
|
|
22717
22717
|
J(this, kn, []);
|
|
@@ -22773,7 +22773,7 @@ Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = new WeakMap(),
|
|
|
22773
22773
|
const { ease: X, glsl: V, rule: Y } = t, q = CmnTween.ease(X);
|
|
22774
22774
|
if (!V && !Y)
|
|
22775
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
|
-
const W = V ? new Filter(void 0, V, U(this, No)) : U(this,
|
|
22776
|
+
const W = V ? new Filter(void 0, V, U(this, No)) : U(this, Bl);
|
|
22777
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
22778
|
return U(this, Ce).tw.start(), this.appPixi.ticker.add($), !1;
|
|
22779
22779
|
if (!Y)
|
|
@@ -22784,7 +22784,7 @@ Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = new WeakMap(),
|
|
|
22784
22784
|
}), !1;
|
|
22785
22785
|
}, Ce = new WeakMap(), Xe = new WeakSet(), ni = function(t = "") {
|
|
22786
22786
|
return t ? t.split(",") : U(this, qi);
|
|
22787
|
-
},
|
|
22787
|
+
}, Gl = new WeakSet(), Ff = function(t, e) {
|
|
22788
22788
|
const r = et(this, Xe, ni).call(this, t.layer);
|
|
22789
22789
|
for (const N of r) {
|
|
22790
22790
|
if (!N)
|
|
@@ -22795,17 +22795,17 @@ Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = new WeakMap(),
|
|
|
22795
22795
|
e(N, k);
|
|
22796
22796
|
}
|
|
22797
22797
|
return r;
|
|
22798
|
-
},
|
|
22798
|
+
}, $l = new WeakSet(), Bf = function(t = "") {
|
|
22799
22799
|
return et(this, Xe, ni).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
|
-
},
|
|
22803
|
+
}, jl = new WeakSet(), Uf = function(t) {
|
|
22804
22804
|
return U(this, Ce).tw ? U(this, Ce).resume = U(this, li).waitEvent(t, () => et(this, Dn, va).call(this)) : !1;
|
|
22805
22805
|
}, Dn = new WeakSet(), va = function() {
|
|
22806
22806
|
var t;
|
|
22807
22807
|
return (t = U(this, Ce).tw) == null || t.end(), !1;
|
|
22808
|
-
},
|
|
22808
|
+
}, Hl = new WeakSet(), Gf = function(t) {
|
|
22809
22809
|
et(this, Dn, va).call(this);
|
|
22810
22810
|
const e = argChk_Num(t, "time", NaN);
|
|
22811
22811
|
if (e === 0 || U(this, li).isSkipping())
|
|
@@ -22835,7 +22835,7 @@ Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = new WeakMap(),
|
|
|
22835
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(), J(this, Ce, { tw: void 0, resume: !1 });
|
|
22836
22836
|
}).start();
|
|
22837
22837
|
return J(this, Ce, { tw: V, resume: !1 }), this.appPixi.ticker.add(D), !1;
|
|
22838
|
-
}, ui = new WeakMap(),
|
|
22838
|
+
}, ui = new WeakMap(), zl = new WeakSet(), $f = 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は必須です";
|
|
@@ -22886,7 +22886,7 @@ Ei = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Br = new WeakMap(),
|
|
|
22886
22886
|
lt[ft] = H[ft];
|
|
22887
22887
|
}
|
|
22888
22888
|
} }, !1;
|
|
22889
|
-
},
|
|
22889
|
+
}, Vl = new WeakSet(), jf = function(t) {
|
|
22890
22890
|
const { layer: e = "", id: r, name: N } = t, k = r ? `frm
|
|
22891
22891
|
${r}` : N ?? e;
|
|
22892
22892
|
if (!k)
|
|
@@ -22896,21 +22896,21 @@ ${r}` : N ?? e;
|
|
|
22896
22896
|
var B;
|
|
22897
22897
|
return (B = D.tw) == null ? void 0 : B.end();
|
|
22898
22898
|
}) : !1;
|
|
22899
|
-
},
|
|
22899
|
+
}, Xl = new WeakSet(), Hf = 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
22905
|
return (B = (D = U(this, ui)[k]) == null ? void 0 : D.tw) == null || B.end(), !1;
|
|
22906
|
-
},
|
|
22906
|
+
}, Yl = new WeakSet(), zf = 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
22912
|
return (B = (D = U(this, ui)[k]) == null ? void 0 : D.tw) == null || B.pause(), !1;
|
|
22913
|
-
},
|
|
22913
|
+
}, Wl = new WeakSet(), Vf = 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;
|
|
@@ -22928,12 +22928,12 @@ ${r}` : N ?? e;
|
|
|
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
22930
|
`)), this.val.setVal_Nochk("save", "sn.doRecLog", D), U(this, Qe).call(this, "add_close|", r), !1;
|
|
22931
|
-
}, ci = new WeakMap(),
|
|
22931
|
+
}, ci = new WeakMap(), ql = new WeakSet(), Xf = function(t) {
|
|
22932
22932
|
const e = et(this, $r, os).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
|
-
}, ko = new WeakMap(),
|
|
22936
|
+
}, ko = new WeakMap(), Zl = new WeakSet(), Yf = function(t) {
|
|
22937
22937
|
const { layer: e } = t;
|
|
22938
22938
|
if (!e)
|
|
22939
22939
|
throw "[current] layerは必須です";
|
|
@@ -22952,53 +22952,53 @@ ${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(),
|
|
22955
|
+
}, Ge = new WeakMap(), Ji = new WeakMap(), Kl = new WeakSet(), Wf = function(t) {
|
|
22956
22956
|
const e = U(this, ci).call(this, t);
|
|
22957
22957
|
return t.layer === U(this, Zi) && t.page === "fore" && this.recPagebreak(), e.clearText(), !1;
|
|
22958
|
-
}, Kl = new WeakSet(), Wf = function(t) {
|
|
22959
|
-
return U(this, Qe).call(this, "endlink|", U(this, ci).call(this, t)), !1;
|
|
22960
22958
|
}, Jl = new WeakSet(), qf = function(t) {
|
|
22961
|
-
return
|
|
22959
|
+
return U(this, Qe).call(this, "endlink|", U(this, ci).call(this, t)), !1;
|
|
22962
22960
|
}, Ql = new WeakSet(), Zf = function(t) {
|
|
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
|
+
}, tu = new WeakSet(), Kf = function(t) {
|
|
22963
22963
|
if (!t.pic)
|
|
22964
22964
|
throw "[graph] picは必須です";
|
|
22965
22965
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
22966
22966
|
return U(this, Qe).call(this, "grp|" + e, U(this, ci).call(this, t)), !1;
|
|
22967
|
-
},
|
|
22967
|
+
}, eu = new WeakSet(), Jf = 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
22972
|
return U(this, Qe).call(this, "link|" + e, U(this, ci).call(this, t)), !1;
|
|
22973
|
-
},
|
|
22973
|
+
}, iu = new WeakSet(), Qf = function(t) {
|
|
22974
22974
|
return t.text = `
|
|
22975
22975
|
`, et(this, Fn, ma).call(this, t);
|
|
22976
|
-
}, iu = new WeakSet(), Qf = function(t) {
|
|
22977
|
-
return et(this, Do, bc).call(this, { ...t, text: "[r]" });
|
|
22978
|
-
}, Do = new WeakSet(), bc = function(t) {
|
|
22979
|
-
return J(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, Fn, ma).call(this, t)) : !1;
|
|
22980
22976
|
}, ru = new WeakSet(), td = function(t) {
|
|
22977
|
+
return et(this, Do, xc).call(this, { ...t, text: "[r]" });
|
|
22978
|
+
}, Do = new WeakSet(), xc = function(t) {
|
|
22979
|
+
return J(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, Fn, ma).call(this, t)) : !1;
|
|
22980
|
+
}, nu = new WeakSet(), ed = function(t) {
|
|
22981
22981
|
return J(this, Ji, []), J(this, Ge, { 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
|
-
},
|
|
22986
|
+
}, su = new WeakSet(), id = 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, Fn, ma).call(this, t);
|
|
22993
|
-
},
|
|
22993
|
+
}, au = new WeakSet(), rd = function(t) {
|
|
22994
22994
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
22995
22995
|
return U(this, Qe).call(this, "span|" + e, U(this, ci).call(this, t)), !1;
|
|
22996
|
-
},
|
|
22996
|
+
}, ou = new WeakSet(), nd = function(t) {
|
|
22997
22997
|
if (!t.t)
|
|
22998
22998
|
throw "[tcy] tは必須です";
|
|
22999
22999
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
23000
23000
|
return U(this, Qe).call(this, "tcy|" + e, U(this, ci).call(this, t)), !1;
|
|
23001
|
-
},
|
|
23001
|
+
}, hu = new WeakSet(), sd = function(t) {
|
|
23002
23002
|
console.group("🥟 [dump_lay]");
|
|
23003
23003
|
for (const e of et(this, Xe, ni).call(this, t.layer)) {
|
|
23004
23004
|
const r = U(this, Jt)[e];
|
|
@@ -23013,10 +23013,10 @@ ${r}` : N ?? e;
|
|
|
23013
23013
|
}
|
|
23014
23014
|
}
|
|
23015
23015
|
return console.groupEnd(), !1;
|
|
23016
|
-
},
|
|
23016
|
+
}, lu = new WeakSet(), ad = function(t) {
|
|
23017
23017
|
const e = et(this, $r, os).call(this, t, U(this, Zi)), r = argChk_Boolean(t, "enabled", !0);
|
|
23018
23018
|
return U(this, ci).call(this, t).enabled = r, this.val.setVal_Nochk("save", "const.sn.layer." + e + ".enabled", r), !1;
|
|
23019
|
-
},
|
|
23019
|
+
}, uu = new WeakSet(), od = function(t) {
|
|
23020
23020
|
return Pages.argChk_page(t, "back"), t.fn ?? (t.fn = this.scrItr.scriptFn), U(this, ci).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
|
|
@@ -23037,10 +23037,10 @@ ${r}` : N ?? e;
|
|
|
23037
23037
|
*/
|
|
23038
23038
|
gt(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, Gr, 10);
|
|
23040
|
-
var _e, de, Ys,
|
|
23040
|
+
var _e, de, Ys, cu, hd, Fo, Un, ga;
|
|
23041
23041
|
class FocusMng {
|
|
23042
23042
|
constructor() {
|
|
23043
|
-
K(this,
|
|
23043
|
+
K(this, cu);
|
|
23044
23044
|
K(this, Un);
|
|
23045
23045
|
K(this, _e, []);
|
|
23046
23046
|
K(this, de, -1);
|
|
@@ -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,
|
|
23084
|
+
t.querySelectorAll("input[type]").length > 0 && (N = (B) => et(this, cu, hd).call(this, t, B.key), k = () => !1);
|
|
23085
23085
|
break;
|
|
23086
23086
|
case "range":
|
|
23087
23087
|
N = (B) => {
|
|
@@ -23156,7 +23156,7 @@ class FocusMng {
|
|
|
23156
23156
|
et(this, Un, ga).call(this), J(this, de, -1), globalThis.focus();
|
|
23157
23157
|
}
|
|
23158
23158
|
}
|
|
23159
|
-
_e = new WeakMap(), de = new WeakMap(), Ys = new WeakMap(),
|
|
23159
|
+
_e = new WeakMap(), de = new WeakMap(), Ys = new WeakMap(), cu = new WeakSet(), hd = 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) {
|
|
@@ -24402,23 +24402,23 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
|
|
|
24402
24402
|
defaultModifiers
|
|
24403
24403
|
});
|
|
24404
24404
|
const { GamepadListener } = require("gamepad.js");
|
|
24405
|
-
var Ye, Hr, Ae, yr, Bo, Uo,
|
|
24405
|
+
var Ye, Hr, Ae, yr, Bo, Uo, Ec, Go, Sc, $o, Tc, Ws, qs, jo, wc, Ho, ke, Zs, Ks, zo, fu, ld, du, ud, Vo, Pc, pu, cd, We;
|
|
24406
24406
|
class EventMng {
|
|
24407
24407
|
constructor(t, e, r, N, k, D, B, $, H) {
|
|
24408
24408
|
K(this, Uo);
|
|
24409
24409
|
K(this, Go);
|
|
24410
24410
|
K(this, $o);
|
|
24411
24411
|
K(this, jo);
|
|
24412
|
-
K(this,
|
|
24412
|
+
K(this, fu);
|
|
24413
24413
|
// 予約イベントの発生待ちしない waitEvent
|
|
24414
24414
|
// waitLimitedEvent(hArg: HArg, onUserAct: ()=> void): boolean {
|
|
24415
24415
|
// return this.#rs.waitLimitedEvent(hArg, onUserAct);
|
|
24416
24416
|
// }
|
|
24417
24417
|
// finishLimitedEvent() {this.#rs.finishLimitedEvent();}
|
|
24418
|
-
K(this,
|
|
24418
|
+
K(this, du);
|
|
24419
24419
|
K(this, Vo);
|
|
24420
24420
|
// フォーカス移動
|
|
24421
|
-
K(this,
|
|
24421
|
+
K(this, pu);
|
|
24422
24422
|
K(this, Ye, new EventListenerCtn());
|
|
24423
24423
|
K(this, Hr, new GamepadListener({
|
|
24424
24424
|
analog: !1,
|
|
@@ -24465,7 +24465,7 @@ class EventMng {
|
|
|
24465
24465
|
// AndroidのBackキーだと思う
|
|
24466
24466
|
});
|
|
24467
24467
|
var Z, tt;
|
|
24468
|
-
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 = (Q) => ReadState.clear_event(Q), e.event = (Q) => et(this,
|
|
24468
|
+
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 = (Q) => ReadState.clear_event(Q), e.event = (Q) => et(this, du, ud).call(this, Q), e.l = (Q) => ReadState.l(Q), e.p = (Q) => ReadState.p(Q), e.s = () => ReadState.s(), e.set_cancel_skip = () => !1, e.set_focus = (Q) => et(this, pu, cd).call(this, Q), e.wait = (Q) => ReadState.wait(Q), e.waitclick = () => ReadState.waitclick(), B.setEvtMng(this), $.setOtherObj(this, k), TxtLayer.setEvtMng(N, this, H), k.setEvtMng(this), H.setFire((Q, it) => this.fire(Q, it)), CmnLib.isDbg) {
|
|
24469
24469
|
const Q = {
|
|
24470
24470
|
pause: () => {
|
|
24471
24471
|
if (!U(this, yr).isWait)
|
|
@@ -24531,7 +24531,7 @@ class EventMng {
|
|
|
24531
24531
|
this.fire("middleclick", Q);
|
|
24532
24532
|
break;
|
|
24533
24533
|
}
|
|
24534
|
-
}), U(this, Ye).add(window, "keydown", (Q) => et(this, Uo,
|
|
24534
|
+
}), U(this, Ye).add(window, "keydown", (Q) => et(this, Uo, Ec).call(this, Q)), U(this, Ye).add(Main.cvs, "contextmenu", (Q) => et(this, Go, Sc).call(this, Q));
|
|
24535
24535
|
const z = () => D.setVal_Nochk("tmp", "const.sn.navigator.language", navigator.language);
|
|
24536
24536
|
U(this, Ye).add(window, "languagechange", (Q) => {
|
|
24537
24537
|
z(), this.fire("sn:chgNavLang", Q), clearTextureCache();
|
|
@@ -24544,7 +24544,7 @@ class EventMng {
|
|
|
24544
24544
|
});
|
|
24545
24545
|
let Y = (Q, it) => {
|
|
24546
24546
|
};
|
|
24547
|
-
"WheelEvent" in window && (U(this, Ye).add(Main.cvs, "wheel", (Q) => et(this, $o,
|
|
24547
|
+
"WheelEvent" in window && (U(this, Ye).add(Main.cvs, "wheel", (Q) => et(this, $o, Tc).call(this, Q), { passive: !0 }), J(this, Bo, (Q) => U(this, Ye).add(Q, "wheel", (it) => et(this, $o, Tc).call(this, it), { passive: !0 })), Y = (Q, it) => Q.add(Main.cvs, "wheel", (at) => {
|
|
24548
24548
|
at.isComposing || at.deltaY <= 0 || (at.stopPropagation(), it());
|
|
24549
24549
|
})), ReadState.init((Q) => J(this, yr, Q), N, D, k, $, B, e, U(this, Ae), Y, U(this, ke)), CmnLib.debugLog && (U(this, Hr).on("gamepad:connected", (Q) => console.log(`👺<'gamepad:connected' index:${Q.detail.index} id:${Q.detail.gamepad.id}`)), U(this, Hr).on("gamepad:disconnected", (Q) => console.log(`👺<'gamepad:disconnected' index:${Q.detail.index} id:${Q.detail.gamepad.id}`)));
|
|
24550
24550
|
const q = [
|
|
@@ -24582,7 +24582,7 @@ class EventMng {
|
|
|
24582
24582
|
}), D.defTmp("const.sn.key.alternate", () => U(this, We).Alt > 0), D.defTmp("const.sn.key.command", () => U(this, We).Meta > 0), D.defTmp("const.sn.key.control", () => U(this, We).Control > 0), D.defTmp("const.sn.key.end", () => U(this, We).End > 0), D.defTmp("const.sn.key.escape", () => U(this, We).Escape > 0), D.defTmp("const.sn.key.back", () => U(this, We).GoBack > 0);
|
|
24583
24583
|
}
|
|
24584
24584
|
resvFlameEvent(t) {
|
|
24585
|
-
U(this, Ye).add(t, "keydown", (e) => et(this, Uo,
|
|
24585
|
+
U(this, Ye).add(t, "keydown", (e) => et(this, Uo, Ec).call(this, e)), U(this, Ye).add(t, "contextmenu", (e) => et(this, Go, Sc).call(this, e)), U(this, Bo).call(this, t);
|
|
24586
24586
|
}
|
|
24587
24587
|
destroy() {
|
|
24588
24588
|
U(this, Ae).destroy(), U(this, Ye).clear();
|
|
@@ -24604,7 +24604,7 @@ class EventMng {
|
|
|
24604
24604
|
!t.fn && !t.label && !t.url && this.main.errScript("fnまたはlabelまたはurlは必須です"), t.fn ?? (t.fn = this.scrItr.scriptFn), e.interactive = e.buttonMode = !0;
|
|
24605
24605
|
const D = ((X = t.key) == null ? void 0 : X.toLowerCase()) ?? " ", B = argChk_Boolean(t, "global", !1);
|
|
24606
24606
|
ReadState.setEvt2Fnc(B, D, () => this.main.resumeByJumpOrCall(t)), e.on("pointerdown", (V) => U(this, yr).fire(D, V));
|
|
24607
|
-
const $ = t.hint ? () => et(this,
|
|
24607
|
+
const $ = t.hint ? () => et(this, fu, ld).call(this, t, e) : () => {
|
|
24608
24608
|
}, H = () => {
|
|
24609
24609
|
r(), U(this, ke).hidden = !0;
|
|
24610
24610
|
}, z = () => ($(), N());
|
|
@@ -24648,34 +24648,34 @@ class EventMng {
|
|
|
24648
24648
|
return this.scrItr.skip4page || U(this, yr).skip_enabled ? !0 : Object.keys(U(this, We)).some((t) => U(this, We)[t] === 2);
|
|
24649
24649
|
}
|
|
24650
24650
|
}
|
|
24651
|
-
Ye = new WeakMap(), Hr = new WeakMap(), Ae = new WeakMap(), yr = new WeakMap(), Bo = new WeakMap(), Uo = new WeakSet(),
|
|
24651
|
+
Ye = new WeakMap(), Hr = new WeakMap(), Ae = new WeakMap(), yr = new WeakMap(), Bo = new WeakMap(), Uo = new WeakSet(), Ec = function(t) {
|
|
24652
24652
|
if (t.isComposing)
|
|
24653
24653
|
return;
|
|
24654
24654
|
t.key in U(this, We) && (U(this, We)[t.key] = t.repeat ? 2 : 1);
|
|
24655
24655
|
const e = (t.altKey ? t.key === "Alt" ? "" : "alt+" : "") + (t.ctrlKey ? t.key === "Control" ? "" : "ctrl+" : "") + (t.shiftKey ? t.key === "Shift" ? "" : "shift+" : "") + t.key;
|
|
24656
24656
|
this.fire(e, t);
|
|
24657
|
-
}, Go = new WeakSet(),
|
|
24657
|
+
}, Go = new WeakSet(), Sc = function(t) {
|
|
24658
24658
|
const e = (t.altKey ? t.key === "Alt" ? "" : "alt+" : "") + (t.ctrlKey ? t.key === "Control" ? "" : "ctrl+" : "") + (t.shiftKey ? t.key === "Shift" ? "" : "shift+" : "") + "rightclick";
|
|
24659
24659
|
this.fire(e, t), t.preventDefault();
|
|
24660
|
-
}, $o = new WeakSet(),
|
|
24660
|
+
}, $o = new WeakSet(), Tc = function(t) {
|
|
24661
24661
|
if (t.isComposing)
|
|
24662
24662
|
return;
|
|
24663
24663
|
if (U(this, Ws)) {
|
|
24664
24664
|
J(this, qs, !0);
|
|
24665
24665
|
return;
|
|
24666
24666
|
}
|
|
24667
|
-
J(this, Ws, !0), et(this, jo,
|
|
24667
|
+
J(this, Ws, !0), et(this, jo, wc).call(this);
|
|
24668
24668
|
const e = (t.altKey ? "alt+" : "") + (t.ctrlKey ? "ctrl+" : "") + (t.shiftKey ? "shift+" : "") + (t.deltaY > 0 ? "downwheel" : "upwheel");
|
|
24669
24669
|
this.fire(e, t);
|
|
24670
|
-
}, Ws = new WeakMap(), qs = new WeakMap(), jo = new WeakSet(),
|
|
24670
|
+
}, Ws = new WeakMap(), qs = new WeakMap(), jo = new WeakSet(), wc = function() {
|
|
24671
24671
|
setTimeout(() => {
|
|
24672
24672
|
if (U(this, qs)) {
|
|
24673
|
-
J(this, qs, !1), et(this, jo,
|
|
24673
|
+
J(this, qs, !1), et(this, jo, wc).call(this);
|
|
24674
24674
|
return;
|
|
24675
24675
|
}
|
|
24676
24676
|
J(this, Ws, !1);
|
|
24677
24677
|
}, 250);
|
|
24678
|
-
}, Ho = new WeakMap(), ke = new WeakMap(), Zs = new WeakMap(), Ks = new WeakMap(), zo = new WeakMap(),
|
|
24678
|
+
}, Ho = new WeakMap(), ke = new WeakMap(), Zs = new WeakMap(), Ks = new WeakMap(), zo = new WeakMap(), fu = new WeakSet(), ld = function(t, e) {
|
|
24679
24679
|
const r = e instanceof Button ? e.getBtnBounds() : e.getBounds();
|
|
24680
24680
|
if (!(t[":タグ名"] === "link")) {
|
|
24681
24681
|
const k = e.parent.parent;
|
|
@@ -24698,7 +24698,7 @@ Ye = new WeakMap(), Hr = new WeakMap(), Ae = new WeakMap(), yr = new WeakMap(),
|
|
|
24698
24698
|
width: r.width,
|
|
24699
24699
|
height: r.height
|
|
24700
24700
|
}), U(this, Ks).update(), U(this, ke).hidden = !1;
|
|
24701
|
-
},
|
|
24701
|
+
}, du = new WeakSet(), ud = function(t) {
|
|
24702
24702
|
const e = t.key;
|
|
24703
24703
|
if (!e)
|
|
24704
24704
|
throw "keyは必須です";
|
|
@@ -24740,14 +24740,14 @@ Ye = new WeakMap(), Hr = new WeakMap(), Ae = new WeakMap(), yr = new WeakMap(),
|
|
|
24740
24740
|
this.fire(e, V);
|
|
24741
24741
|
}), z === 0 && U(this, Ae).add(
|
|
24742
24742
|
X,
|
|
24743
|
-
() => et(this, Vo,
|
|
24743
|
+
() => et(this, Vo, Pc).call(this, X) ? (X.focus(), !0) : !1,
|
|
24744
24744
|
() => {
|
|
24745
24745
|
}
|
|
24746
24746
|
);
|
|
24747
24747
|
}));
|
|
24748
24748
|
}
|
|
24749
24749
|
return ReadState.setEvt2Fnc(k, r, () => this.main.resumeByJumpOrCall(t)), !1;
|
|
24750
|
-
}, Vo = new WeakSet(),
|
|
24750
|
+
}, Vo = new WeakSet(), Pc = function(t) {
|
|
24751
24751
|
if (t.offsetParent === null)
|
|
24752
24752
|
return !1;
|
|
24753
24753
|
let e = t;
|
|
@@ -24757,7 +24757,7 @@ Ye = new WeakMap(), Hr = new WeakMap(), Ae = new WeakMap(), yr = new WeakMap(),
|
|
|
24757
24757
|
e = e.parentElement;
|
|
24758
24758
|
} while (e !== null);
|
|
24759
24759
|
return !0;
|
|
24760
|
-
},
|
|
24760
|
+
}, pu = new WeakSet(), cd = function(t) {
|
|
24761
24761
|
const { add: e, del: r, to: N } = t;
|
|
24762
24762
|
if ((e == null ? void 0 : e.slice(0, 4)) === "dom=") {
|
|
24763
24763
|
const k = ReadState.getHtmlElmList(e);
|
|
@@ -24765,7 +24765,7 @@ Ye = new WeakMap(), Hr = new WeakMap(), Ae = new WeakMap(), yr = new WeakMap(),
|
|
|
24765
24765
|
throw `HTML内にセレクタ(${k.sel})に対応する要素が見つかりません。存在しない場合を許容するなら、need_err=false と指定してください`;
|
|
24766
24766
|
return k.el.forEach((D) => U(this, Ae).add(
|
|
24767
24767
|
D,
|
|
24768
|
-
() => et(this, Vo,
|
|
24768
|
+
() => et(this, Vo, Pc).call(this, D) ? (D.focus(), !0) : !1,
|
|
24769
24769
|
() => {
|
|
24770
24770
|
}
|
|
24771
24771
|
)), !1;
|
|
@@ -24797,7 +24797,7 @@ class CallStack {
|
|
|
24797
24797
|
this.fn = t, this.idx = e, this.csArg = r;
|
|
24798
24798
|
}
|
|
24799
24799
|
}
|
|
24800
|
-
var Qt, se, Lt, pe, ce, br, Xo,
|
|
24800
|
+
var Qt, se, Lt, pe, ce, br, Xo, Cc, Gn, zr, vu, Vr, Yo, Rc, Wo, Oc, qo, Xr, hs, $n, ya, jn, xr, ye, mu, fd, Hn, ba, _u, dd, Zo, Js, fi, gu, pd, yu, vd, Er, Qr, bu, md, zn, Vn, Ko, Jo, Qo, di, xu, _d, Eu, gd, Su, yd, th, Mc, Tu, bd, wu, xd, Pu, Ed, eh, Ic, ih, Xn, xa, Yn, Qi, Cr, rh, Ac, nh, sh, Lc, Cu, Ru, ah, Ou, Sd, De, Mu, Td, oh, Nc, Iu, Au, Lu, wd, Nu, Pd, Sr, hh, kc, ku, Cd, Du, Rd, Fu, Bu, Od, lh, Qs, Uu, Md, ta, Mh, ea, Gu, Id, ki, $u, Ad, ia, Ih, ju, Ld, Di, Fe;
|
|
24801
24801
|
const si = class {
|
|
24802
24802
|
constructor(t, e, r, N, k, D, B, $, H) {
|
|
24803
24803
|
K(this, Xo);
|
|
@@ -24805,32 +24805,32 @@ const si = class {
|
|
|
24805
24805
|
K(this, Wo);
|
|
24806
24806
|
K(this, Xr);
|
|
24807
24807
|
K(this, $n);
|
|
24808
|
-
K(this, vu);
|
|
24809
|
-
K(this, Hn);
|
|
24810
24808
|
K(this, mu);
|
|
24809
|
+
K(this, Hn);
|
|
24810
|
+
K(this, _u);
|
|
24811
24811
|
// // 変数操作
|
|
24812
24812
|
// インラインテキスト代入
|
|
24813
|
-
K(this,
|
|
24813
|
+
K(this, gu);
|
|
24814
24814
|
// // デバッグ・その他
|
|
24815
24815
|
// スタックのダンプ
|
|
24816
|
-
K(this,
|
|
24816
|
+
K(this, yu);
|
|
24817
24817
|
K(this, Er);
|
|
24818
24818
|
// 外部へスクリプトを表示
|
|
24819
|
-
K(this, yu);
|
|
24820
|
-
// FIFOバッファ(push/unshift)
|
|
24821
24819
|
K(this, bu);
|
|
24820
|
+
// FIFOバッファ(push/unshift)
|
|
24822
24821
|
K(this, xu);
|
|
24822
|
+
K(this, Eu);
|
|
24823
24823
|
// // ラベル・ジャンプ
|
|
24824
24824
|
// サブルーチンコール
|
|
24825
|
-
K(this,
|
|
24825
|
+
K(this, Su);
|
|
24826
24826
|
K(this, th);
|
|
24827
24827
|
// シナリオジャンプ
|
|
24828
|
-
K(this, Su);
|
|
24829
|
-
// ページ移動
|
|
24830
24828
|
K(this, Tu);
|
|
24829
|
+
// ページ移動
|
|
24830
|
+
K(this, wu);
|
|
24831
24831
|
// turnPage() {++this.#posAPageLog;}
|
|
24832
24832
|
// コールスタック破棄
|
|
24833
|
-
K(this,
|
|
24833
|
+
K(this, Pu);
|
|
24834
24834
|
// サブルーチンから戻る
|
|
24835
24835
|
K(this, eh);
|
|
24836
24836
|
K(this, Xn);
|
|
@@ -24838,30 +24838,30 @@ const si = class {
|
|
|
24838
24838
|
// 初期化前に終了した場合向け
|
|
24839
24839
|
K(this, rh);
|
|
24840
24840
|
K(this, sh);
|
|
24841
|
-
K(this, Ru);
|
|
24842
|
-
//{} シナリオキャッシュ
|
|
24843
24841
|
K(this, Ou);
|
|
24842
|
+
//{} シナリオキャッシュ
|
|
24843
|
+
K(this, Mu);
|
|
24844
24844
|
K(this, oh);
|
|
24845
|
-
K(this, Au);
|
|
24846
24845
|
K(this, Lu);
|
|
24846
|
+
K(this, Nu);
|
|
24847
24847
|
K(this, hh);
|
|
24848
24848
|
// // マクロ
|
|
24849
24849
|
// 括弧マクロの定義
|
|
24850
|
-
K(this, Nu);
|
|
24851
|
-
// 一文字マクロの定義
|
|
24852
24850
|
K(this, ku);
|
|
24853
|
-
|
|
24851
|
+
// 一文字マクロの定義
|
|
24852
|
+
K(this, Du);
|
|
24853
|
+
K(this, Bu);
|
|
24854
24854
|
// https://regex101.com/r/Lk9ASK/1
|
|
24855
24855
|
// // しおり
|
|
24856
24856
|
// しおりの読込
|
|
24857
|
-
K(this,
|
|
24857
|
+
K(this, Uu);
|
|
24858
24858
|
K(this, ta);
|
|
24859
24859
|
// スクリプト再読込
|
|
24860
|
-
K(this, Uu);
|
|
24861
24860
|
K(this, Gu);
|
|
24861
|
+
K(this, $u);
|
|
24862
24862
|
K(this, ia);
|
|
24863
24863
|
// しおりの保存
|
|
24864
|
-
K(this,
|
|
24864
|
+
K(this, ju);
|
|
24865
24865
|
K(this, Qt, { aToken: [""], len: 1, aLNum: [1] });
|
|
24866
24866
|
K(this, se, "");
|
|
24867
24867
|
K(this, Lt, 0);
|
|
@@ -24881,7 +24881,7 @@ const si = class {
|
|
|
24881
24881
|
},
|
|
24882
24882
|
restart: () => this.isBreak = () => !1,
|
|
24883
24883
|
// ブレークポイント登録
|
|
24884
|
-
add_break: (t) => et(this, Xo,
|
|
24884
|
+
add_break: (t) => et(this, Xo, Cc).call(this, t.fn, t.o),
|
|
24885
24885
|
data_break: (t) => {
|
|
24886
24886
|
U(this, ye) === 0 && (J(this, ye, 1), this.main.setLoop(!1, `変数 ${t.dataId}【${t.old_v}】→【${t.new_v}】データブレーク`), this.sys.callHook("stopOnDataBreakpoint", {}), this.sys.send2Dbg("stopOnDataBreakpoint", {}));
|
|
24887
24887
|
},
|
|
@@ -24892,7 +24892,7 @@ const si = class {
|
|
|
24892
24892
|
this.sys.send2Dbg(t.ri, {});
|
|
24893
24893
|
},
|
|
24894
24894
|
// 情報問い合わせ系
|
|
24895
|
-
stack: (t) => this.sys.send2Dbg(t.ri, { a: et(this,
|
|
24895
|
+
stack: (t) => this.sys.send2Dbg(t.ri, { a: et(this, _u, dd).call(this) }),
|
|
24896
24896
|
eval: (t) => {
|
|
24897
24897
|
this.sys.send2Dbg(t.ri, { v: this.prpPrs.parse(t.txt) });
|
|
24898
24898
|
},
|
|
@@ -24900,7 +24900,7 @@ const si = class {
|
|
|
24900
24900
|
continue: () => {
|
|
24901
24901
|
et(this, $n, ya).call(this) || (J(this, Lt, U(this, Lt) - U(this, Xr, hs)), J(this, ye, 3), this.main.setLoop(!0), this.main.resume());
|
|
24902
24902
|
},
|
|
24903
|
-
stepover: (t) => et(this, Yo,
|
|
24903
|
+
stepover: (t) => et(this, Yo, Rc).call(this, t),
|
|
24904
24904
|
stepin: () => {
|
|
24905
24905
|
if (et(this, $n, ya).call(this))
|
|
24906
24906
|
return;
|
|
@@ -24908,7 +24908,7 @@ const si = class {
|
|
|
24908
24908
|
this.sys.callHook(`stopOnStep${U(this, Qs).test(t) ? "In" : ""}`, {}), J(this, Lt, U(this, Lt) - U(this, Xr, hs)), J(this, ye, U(this, ye) === 1 ? 4 : 5), this.main.setLoop(!0), this.main.resume();
|
|
24909
24909
|
},
|
|
24910
24910
|
stepout: (t) => {
|
|
24911
|
-
et(this, $n, ya).call(this) || (U(this, ce).length > 0 ? et(this, Wo,
|
|
24911
|
+
et(this, $n, ya).call(this) || (U(this, ce).length > 0 ? et(this, Wo, Oc).call(this, !0) : et(this, Yo, Rc).call(this, t));
|
|
24912
24912
|
},
|
|
24913
24913
|
pause: () => {
|
|
24914
24914
|
J(this, ye, 4), this.main.setLoop(!1, "一時停止"), this.sys.send2Dbg("stopOnStep", {});
|
|
@@ -24919,7 +24919,7 @@ const si = class {
|
|
|
24919
24919
|
});
|
|
24920
24920
|
K(this, zr, (t) => this.cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SCRIPT));
|
|
24921
24921
|
// https://regex101.com/r/Km54EK/1 141 steps (~0ms)
|
|
24922
|
-
K(this, Vr, (t) => (this.sys.pathBaseCnvSnPath4Dbg + U(this, zr).call(this, t)).replace(U(si,
|
|
24922
|
+
K(this, Vr, (t) => (this.sys.pathBaseCnvSnPath4Dbg + U(this, zr).call(this, t)).replace(U(si, vu), `$1/prj/$2/${U(this, se)}$3`));
|
|
24923
24923
|
gt(this, "cnvPath4Dbg", (t) => this.sys.pathBaseCnvSnPath4Dbg + t.replace("/crypto_prj/", "/prj/"));
|
|
24924
24924
|
K(this, qo, 0);
|
|
24925
24925
|
K(this, ye, 0);
|
|
@@ -24947,15 +24947,15 @@ const si = class {
|
|
|
24947
24947
|
gt(this, "nextToken", () => "");
|
|
24948
24948
|
K(this, nh, (t) => {
|
|
24949
24949
|
});
|
|
24950
|
-
K(this,
|
|
24951
|
-
K(this,
|
|
24950
|
+
K(this, Cu, /(\*{2,})([^\|]*)/);
|
|
24951
|
+
K(this, Ru, /\[macro\s/);
|
|
24952
24952
|
K(this, ah, /\[endmacro[\s\]]/);
|
|
24953
24953
|
K(this, De, /* @__PURE__ */ Object.create(null));
|
|
24954
|
-
K(this,
|
|
24955
|
-
K(this,
|
|
24954
|
+
K(this, Iu, /^\[(call|loadplugin)\s/);
|
|
24955
|
+
K(this, Au, /\bfn\s*=\s*[^\s\]]+/);
|
|
24956
24956
|
K(this, Sr, !1);
|
|
24957
24957
|
// マクロ定義の開始
|
|
24958
|
-
K(this,
|
|
24958
|
+
K(this, Fu, new RegExp(`["'#;\\] ]+`));
|
|
24959
24959
|
K(this, lh, "call");
|
|
24960
24960
|
K(this, Qs, /\[(call)\b/);
|
|
24961
24961
|
K(this, ea, !1);
|
|
@@ -24967,15 +24967,15 @@ const si = class {
|
|
|
24967
24967
|
});
|
|
24968
24968
|
K(this, Di, []);
|
|
24969
24969
|
K(this, Fe, -1);
|
|
24970
|
-
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,
|
|
24970
|
+
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, gu, pd).call(this, X), e.endlet_ml = () => !1, e.dump_stack = () => et(this, yu, vd).call(this), e.dump_script = (X) => et(this, bu, md).call(this, X), e.else = // その他ifブロック開始
|
|
24971
24971
|
e.elsif = // 別条件のifブロック開始
|
|
24972
|
-
e.endif = () => et(this,
|
|
24972
|
+
e.endif = () => et(this, xu, _d).call(this), e.if = (X) => et(this, Eu, gd).call(this, X), e.call = (X) => et(this, Su, yd).call(this, X), e.jump = (X) => et(this, Tu, bd).call(this, X), e.page = (X) => et(this, wu, xd).call(this, X), e.pop_stack = (X) => et(this, Pu, Ed).call(this, X), e.return = (X) => et(this, eh, Ic).call(this, X), e.bracket2macro = (X) => et(this, ku, Cd).call(this, X), e.char2macro = (X) => et(this, Du, Rd).call(this, X), e.endmacro = (X) => et(this, eh, Ic).call(this, X), e.macro = (X) => et(this, Bu, Od).call(this, X), e.load = (X) => et(this, Uu, Md).call(this, X), e.reload_script = (X) => et(this, Gu, Id).call(this, X), e.record_place = () => et(this, $u, Ad).call(this), e.save = (X) => et(this, ju, Ld).call(this, X), t.oCfg.debug.token && J(this, nh, (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);
|
|
24973
24973
|
const z = t.oCfg.init.escape;
|
|
24974
24974
|
if (U(this, br).setEscape(z), RubySpliter.setEscape(z), CmnLib.isDbg) {
|
|
24975
24975
|
H.addHook((V, Y) => {
|
|
24976
24976
|
var q, W;
|
|
24977
24977
|
return (W = (q = U(this, Gn))[V]) == null ? void 0 : W.call(q, Y);
|
|
24978
|
-
}), this.isBreak = et(this,
|
|
24978
|
+
}), this.isBreak = et(this, mu, fd);
|
|
24979
24979
|
const X = this.analyzeInit;
|
|
24980
24980
|
this.analyzeInit = () => {
|
|
24981
24981
|
this.analyzeInit = () => {
|
|
@@ -24983,7 +24983,7 @@ const si = class {
|
|
|
24983
24983
|
}, U(this, Gn).auth = (V) => {
|
|
24984
24984
|
const Y = V.hBreakpoint.hFn2hLineBP;
|
|
24985
24985
|
for (const [q, W] of Object.entries(Y))
|
|
24986
|
-
et(this, Xo,
|
|
24986
|
+
et(this, Xo, Cc).call(this, q, W);
|
|
24987
24987
|
J(si, xr, {});
|
|
24988
24988
|
for (const q of V.hBreakpoint.aFunc)
|
|
24989
24989
|
U(si, xr)[q.name] = 1;
|
|
@@ -25094,7 +25094,7 @@ const si = class {
|
|
|
25094
25094
|
console.groupEnd();
|
|
25095
25095
|
}
|
|
25096
25096
|
analyzeInit() {
|
|
25097
|
-
const t = et(this,
|
|
25097
|
+
const t = et(this, Ou, Sd).call(this, U(this, Qt), !!this.val.getVal("mp:const.sn.macro.name"), U(this, pe), U(this, Yn), U(this, Lt));
|
|
25098
25098
|
J(this, Lt, t.idx), J(this, pe, t.ln), this.runAnalyze();
|
|
25099
25099
|
}
|
|
25100
25100
|
get isKidoku() {
|
|
@@ -25120,7 +25120,7 @@ const si = class {
|
|
|
25120
25120
|
recodePage() {
|
|
25121
25121
|
if (J(this, ea, !1), !this.val.getVal("save:sn.doRecLog"))
|
|
25122
25122
|
return;
|
|
25123
|
-
const { fn: t, idx: e } = et(this, ia,
|
|
25123
|
+
const { fn: t, idx: e } = et(this, ia, Ih).call(this), r = e - 1, N = r + ":" + t, k = U(this, Di).findIndex((B) => B.key === N);
|
|
25124
25124
|
if (k > -1) {
|
|
25125
25125
|
J(this, Fe, k);
|
|
25126
25126
|
return;
|
|
@@ -25158,20 +25158,20 @@ const si = class {
|
|
|
25158
25158
|
}
|
|
25159
25159
|
};
|
|
25160
25160
|
let ScriptIterator = si;
|
|
25161
|
-
Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(), ce = new WeakMap(), br = new WeakMap(), Xo = new WeakSet(),
|
|
25161
|
+
Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(), ce = new WeakMap(), br = new WeakMap(), Xo = new WeakSet(), Cc = function(t, e) {
|
|
25162
25162
|
U(si, jn)[U(this, Vr).call(this, t)] = e;
|
|
25163
|
-
}, Gn = new WeakMap(), zr = new WeakMap(),
|
|
25163
|
+
}, Gn = new WeakMap(), zr = new WeakMap(), vu = new WeakMap(), Vr = new WeakMap(), Yo = new WeakSet(), Rc = function(t) {
|
|
25164
25164
|
if (et(this, $n, ya).call(this))
|
|
25165
25165
|
return;
|
|
25166
25166
|
const e = U(this, Qt).aToken[U(this, Lt) - U(this, Xr, hs)];
|
|
25167
|
-
U(this, Qs).test(e) ? et(this, Wo,
|
|
25168
|
-
}, Wo = new WeakSet(),
|
|
25167
|
+
U(this, Qs).test(e) ? et(this, Wo, Oc).call(this, !1) : (this.sys.callHook("stopOnStep", {}), U(this, Gn).stepin(t));
|
|
25168
|
+
}, Wo = new WeakSet(), Oc = function(t) {
|
|
25169
25169
|
this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), J(this, qo, U(this, ce).length - (t ? 1 : 0)), J(this, Lt, U(this, Lt) - U(this, Xr, hs)), J(this, ye, t ? 7 : 6), this.main.setLoop(!0), this.main.resume();
|
|
25170
25170
|
}, qo = new WeakMap(), Xr = new WeakSet(), hs = function() {
|
|
25171
25171
|
return U(this, ye) === 2 || U(this, ye) === 4 ? 1 : 0;
|
|
25172
25172
|
}, $n = new WeakSet(), ya = function() {
|
|
25173
25173
|
return U(this, Lt) < U(this, Qt).len ? !1 : (this.sys.callHook("stopOnEntry", {}), this.main.setLoop(!1, "スクリプト終端です"), !0);
|
|
25174
|
-
}, jn = new WeakMap(), xr = new WeakMap(), ye = new WeakMap(),
|
|
25174
|
+
}, jn = new WeakMap(), xr = new WeakMap(), ye = new WeakMap(), mu = new WeakSet(), fd = function(t) {
|
|
25175
25175
|
switch (U(this, ye)) {
|
|
25176
25176
|
case 6:
|
|
25177
25177
|
et(this, Hn, ba).call(this), J(this, ye, 7);
|
|
@@ -25215,7 +25215,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25215
25215
|
var e;
|
|
25216
25216
|
const t = (e = U(si, jn)[getFn(U(this, se))]) == null ? void 0 : e[U(this, pe)];
|
|
25217
25217
|
t != null && t.hitCondition && --t.hitCondition;
|
|
25218
|
-
},
|
|
25218
|
+
}, _u = new WeakSet(), dd = function() {
|
|
25219
25219
|
const t = U(this, ye) === 3 ? 1 : 0, e = U(this, Qt).aToken[U(this, Lt) - 1 + t], r = U(this, Vr).call(this, U(this, se)), N = tagToken2Name(e), k = N ? `[${N}]` : e, D = this.val.getVal("mp:const.sn.macro") ?? "{}";
|
|
25220
25220
|
if (U(this, Lt) === 0)
|
|
25221
25221
|
return [{ fn: r, ln: 1, col: 1, nm: k, ma: D }];
|
|
@@ -25233,7 +25233,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25233
25233
|
});
|
|
25234
25234
|
}
|
|
25235
25235
|
return $;
|
|
25236
|
-
}, Zo = new WeakMap(), Js = new WeakMap(), fi = new WeakMap(),
|
|
25236
|
+
}, Zo = new WeakMap(), Js = new WeakMap(), fi = new WeakMap(), gu = new WeakSet(), pd = function(t) {
|
|
25237
25237
|
const { name: e } = t;
|
|
25238
25238
|
if (!e)
|
|
25239
25239
|
throw "nameは必須です";
|
|
@@ -25242,7 +25242,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25242
25242
|
for (; U(this, Lt) < N && (r = U(this, Qt).aToken[U(this, Lt)], r === ""); ++Ee(this, Lt)._)
|
|
25243
25243
|
;
|
|
25244
25244
|
return t.text = r, t.cast = "str", this.hTag.let(t), J(this, Lt, U(this, Lt) + 2), J(this, pe, U(this, pe) + (r.match(/\n/g) ?? []).length), !1;
|
|
25245
|
-
},
|
|
25245
|
+
}, yu = new WeakSet(), vd = function() {
|
|
25246
25246
|
if (U(this, Lt) === 0)
|
|
25247
25247
|
return console.group(`🥟 [dump_stack] スクリプト現在地 fn:${U(this, se)} line:1 col:0`), console.groupEnd(), !1;
|
|
25248
25248
|
const t = et(this, Er, Qr).call(this, U(this, Qt), U(this, Lt)), e = `スクリプト現在地 fn:${U(this, se)} line:${t.ln} col:${t.col_s + 1}`;
|
|
@@ -25274,7 +25274,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25274
25274
|
break;
|
|
25275
25275
|
}
|
|
25276
25276
|
return r;
|
|
25277
|
-
},
|
|
25277
|
+
}, bu = new WeakSet(), md = function(t) {
|
|
25278
25278
|
const { set_fnc: e, break_fnc: r } = t;
|
|
25279
25279
|
if (!e)
|
|
25280
25280
|
throw "set_fncは必須です";
|
|
@@ -25295,11 +25295,11 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25295
25295
|
});
|
|
25296
25296
|
}
|
|
25297
25297
|
return !1;
|
|
25298
|
-
}, zn = new WeakMap(), Vn = new WeakMap(), Ko = new WeakMap(), Jo = new WeakMap(), Qo = new WeakMap(), di = new WeakMap(),
|
|
25298
|
+
}, zn = new WeakMap(), Vn = new WeakMap(), Ko = new WeakMap(), Jo = new WeakMap(), Qo = new WeakMap(), di = new WeakMap(), xu = new WeakSet(), _d = function() {
|
|
25299
25299
|
if (U(this, di)[0] === -1)
|
|
25300
25300
|
throw "ifブロック内ではありません";
|
|
25301
25301
|
return J(this, Lt, U(this, di)[0]), U(this, di).shift(), !1;
|
|
25302
|
-
},
|
|
25302
|
+
}, Eu = new WeakSet(), gd = function(t) {
|
|
25303
25303
|
const { exp: e } = t;
|
|
25304
25304
|
if (!e)
|
|
25305
25305
|
throw "expは必須です";
|
|
@@ -25351,15 +25351,15 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25351
25351
|
}
|
|
25352
25352
|
}
|
|
25353
25353
|
throw "[endif]がないままスクリプト終端です";
|
|
25354
|
-
},
|
|
25355
|
-
argChk_Boolean(t, "count", !1) || et(this, hh,
|
|
25354
|
+
}, Su = new WeakSet(), yd = function(t) {
|
|
25355
|
+
argChk_Boolean(t, "count", !1) || et(this, hh, kc).call(this);
|
|
25356
25356
|
const { fn: e } = t;
|
|
25357
|
-
return e && U(this, zr).call(this, e), et(this, th,
|
|
25358
|
-
}, th = new WeakSet(),
|
|
25357
|
+
return e && U(this, zr).call(this, e), et(this, th, Mc).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, Cr).call(this, e, t.label), !0;
|
|
25358
|
+
}, th = new WeakSet(), Mc = function(t) {
|
|
25359
25359
|
U(this, Qt).aLNum[U(this, Lt)] = U(this, pe), U(this, ih) || (t[":resvToken"] = "", et(this, Xn, xa).call(this)), U(this, ce).push(new CallStack(U(this, se), U(this, Lt), t)), U(this, di).unshift(-1);
|
|
25360
|
-
}, Su = new WeakSet(), yd = function(t) {
|
|
25361
|
-
return argChk_Boolean(t, "count", !0) || et(this, hh, Nc).call(this), U(this, di)[0] = -1, et(this, Qi, Cr).call(this, t.fn, t.label), !0;
|
|
25362
25360
|
}, Tu = new WeakSet(), bd = function(t) {
|
|
25361
|
+
return argChk_Boolean(t, "count", !0) || et(this, hh, kc).call(this), U(this, di)[0] = -1, et(this, Qi, Cr).call(this, t.fn, t.label), !0;
|
|
25362
|
+
}, wu = new WeakSet(), xd = function(t) {
|
|
25363
25363
|
if (U(this, Fe) === -1)
|
|
25364
25364
|
return !1;
|
|
25365
25365
|
if (argChk_Boolean(t, "clear", !1))
|
|
@@ -25381,15 +25381,15 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25381
25381
|
}
|
|
25382
25382
|
if (r === U(this, Fe))
|
|
25383
25383
|
return !1;
|
|
25384
|
-
const N = U(this, Di)[U(this, Fe)], { fn: k, idx: D } = et(this, ia,
|
|
25385
|
-
return N.key === D + ":" + k ? !1 : et(this, ta,
|
|
25386
|
-
},
|
|
25384
|
+
const N = U(this, Di)[U(this, Fe)], { fn: k, idx: D } = et(this, ia, Ih).call(this);
|
|
25385
|
+
return N.key === D + ":" + k ? !1 : et(this, ta, Mh).call(this, { fn: N.retFn, index: N.retIdx }, N.retMark);
|
|
25386
|
+
}, Pu = new WeakSet(), Ed = function(t) {
|
|
25387
25387
|
if (argChk_Boolean(t, "clear", !1))
|
|
25388
25388
|
J(this, ce, []);
|
|
25389
25389
|
else if (!U(this, ce).pop())
|
|
25390
25390
|
throw "[pop_stack] スタックが空です";
|
|
25391
25391
|
return et(this, Xn, xa).call(this), J(this, di, [-1]), this.val.setMp({}), !1;
|
|
25392
|
-
}, eh = new WeakSet(),
|
|
25392
|
+
}, eh = new WeakSet(), Ic = function(t) {
|
|
25393
25393
|
const e = U(this, ce).pop();
|
|
25394
25394
|
if (!e)
|
|
25395
25395
|
throw "[return] スタックが空です";
|
|
@@ -25400,9 +25400,9 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25400
25400
|
const k = r[":resvToken"];
|
|
25401
25401
|
k ? this.nextToken = () => (et(this, Xn, xa).call(this), k) : et(this, Xn, xa).call(this), r[":hEvt1Time"] && U(this, Js).pushLocalEvts(r[":hEvt1Time"]);
|
|
25402
25402
|
const { fn: D, label: B } = t;
|
|
25403
|
-
return D || B ? (et(this, Qi, Cr).call(this, D, B), !0) : e.fn in U(this, De) ? (et(this, oh,
|
|
25403
|
+
return D || B ? (et(this, Qi, Cr).call(this, D, B), !0) : e.fn in U(this, De) ? (et(this, oh, Nc).call(this, e), !1) : (et(this, Qi, Cr).call(this, e.fn, "", e.idx), !0);
|
|
25404
25404
|
}, ih = new WeakMap(), Xn = new WeakSet(), xa = function() {
|
|
25405
|
-
J(this, ih, ""), this.nextToken = et(this, rh,
|
|
25405
|
+
J(this, ih, ""), this.nextToken = et(this, rh, Ac);
|
|
25406
25406
|
}, Yn = new WeakMap(), Qi = new WeakSet(), Cr = function(t = "", e = "", r = 0) {
|
|
25407
25407
|
if (!t && !e && this.main.errScript("[jump系] fnまたはlabelは必須です"), e ? (e.at(0) !== "*" && this.main.errScript("[jump系] labelは*で始まります"), J(this, Yn, e), U(this, Yn).slice(0, 2) !== "**" && J(this, Lt, r)) : (J(this, Yn, ""), J(this, Lt, r)), !t) {
|
|
25408
25408
|
this.analyzeInit();
|
|
@@ -25445,22 +25445,22 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25445
25445
|
H[t].data = Y.join(`
|
|
25446
25446
|
`), delete H[t + ":base"];
|
|
25447
25447
|
}
|
|
25448
|
-
this.nextToken = et(this, rh,
|
|
25448
|
+
this.nextToken = et(this, rh, Ac), J(this, pe, 1), et(this, Mu, Td).call(this, H[t].data), this.hTag.record_place({}), this.main.resume(() => this.analyzeInit());
|
|
25449
25449
|
}), this.main.stop();
|
|
25450
|
-
}, rh = new WeakSet(),
|
|
25450
|
+
}, rh = new WeakSet(), Ac = function() {
|
|
25451
25451
|
var e, r;
|
|
25452
|
-
if (et(this, sh,
|
|
25452
|
+
if (et(this, sh, Lc).call(this))
|
|
25453
25453
|
return "";
|
|
25454
|
-
et(this,
|
|
25454
|
+
et(this, Nu, Pd).call(this), (e = U(this, Qt).aLNum)[r = U(this, Lt)] || (e[r] = U(this, pe));
|
|
25455
25455
|
const t = U(this, Qt).aToken[U(this, Lt)];
|
|
25456
25456
|
return U(this, nh).call(this, t), ++Ee(this, Lt)._, t;
|
|
25457
|
-
}, nh = new WeakMap(), sh = new WeakSet(),
|
|
25457
|
+
}, nh = new WeakMap(), sh = new WeakSet(), Lc = function() {
|
|
25458
25458
|
return U(this, Lt) < U(this, Qt).len ? !1 : (this.main.errScript("スクリプト終端です"), !0);
|
|
25459
|
-
},
|
|
25459
|
+
}, Cu = new WeakMap(), Ru = new WeakMap(), ah = new WeakMap(), Ou = new WeakSet(), Sd = function(t, e, r, N, k) {
|
|
25460
25460
|
var z, X;
|
|
25461
25461
|
const D = t.aToken.length;
|
|
25462
25462
|
if (!N) {
|
|
25463
|
-
if (et(this, sh,
|
|
25463
|
+
if (et(this, sh, Lc).call(this))
|
|
25464
25464
|
return { idx: k, ln: r };
|
|
25465
25465
|
if (t.aLNum[k])
|
|
25466
25466
|
r = t.aLNum[k];
|
|
@@ -25476,14 +25476,14 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25476
25476
|
return { idx: k, ln: r };
|
|
25477
25477
|
}
|
|
25478
25478
|
t.aLNum[0] = 1;
|
|
25479
|
-
const B = N.match(U(this,
|
|
25479
|
+
const B = N.match(U(this, Cu));
|
|
25480
25480
|
if (B) {
|
|
25481
25481
|
N = B[1];
|
|
25482
25482
|
let V = k;
|
|
25483
25483
|
switch (B[2]) {
|
|
25484
25484
|
case "before":
|
|
25485
25485
|
for (; t.aToken[--V] !== N; )
|
|
25486
|
-
V === 0 && DebugMng.myTrace("[jump系 無名ラベルbefore] " + r + "行目以前で" + (e ? "マクロ内に" : "") + "ラベル【" + N + "】がありません", "ET"), e && t.aToken[V].search(U(this,
|
|
25486
|
+
V === 0 && DebugMng.myTrace("[jump系 無名ラベルbefore] " + r + "行目以前で" + (e ? "マクロ内に" : "") + "ラベル【" + N + "】がありません", "ET"), e && t.aToken[V].search(U(this, Ru)) > -1 && DebugMng.myTrace("[jump系 無名ラベルbefore] マクロ内にラベル【" + N + "】がありません", "ET");
|
|
25487
25487
|
return { idx: V + 1, ln: t.aLNum[V] };
|
|
25488
25488
|
case "after":
|
|
25489
25489
|
for (; t.aToken[++V] !== N; )
|
|
@@ -25518,24 +25518,24 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25518
25518
|
q === 91 && (r += (Y.match(/\n/g) ?? []).length, U(this, br).testTagLetml(Y) && (H = !0));
|
|
25519
25519
|
}
|
|
25520
25520
|
throw H ? "[let_ml]の終端・[endlet_ml]がありません" : (DebugMng.myTrace(`[jump系] ラベル【${N}】がありません`, "ET"), "Dummy");
|
|
25521
|
-
}, De = new WeakMap(),
|
|
25521
|
+
}, De = new WeakMap(), Mu = new WeakSet(), Td = function(t) {
|
|
25522
25522
|
let e = "";
|
|
25523
25523
|
try {
|
|
25524
25524
|
e = "ScriptIterator.resolveScript";
|
|
25525
25525
|
const r = U(this, br).resolveScript(t);
|
|
25526
|
-
e = "ScriptIterator.replaceScript_Wildcard", et(this,
|
|
25526
|
+
e = "ScriptIterator.replaceScript_Wildcard", et(this, Lu, wd).call(this, r), U(this, De)[U(this, se)] = J(this, Qt, r);
|
|
25527
25527
|
} catch (r) {
|
|
25528
25528
|
r instanceof Error ? e += `例外 mes=${r.message}(${r.name})` : e = r, this.main.errScript(e, !1);
|
|
25529
25529
|
}
|
|
25530
25530
|
this.val.loadScrWork(U(this, se));
|
|
25531
|
-
}, oh = new WeakSet(),
|
|
25531
|
+
}, oh = new WeakSet(), Nc = function(t) {
|
|
25532
25532
|
J(this, se, t.fn), J(this, Lt, t.idx);
|
|
25533
25533
|
const e = U(this, De)[U(this, se)];
|
|
25534
25534
|
e && J(this, Qt, e), J(this, pe, U(this, Qt).aLNum[t.idx]);
|
|
25535
|
-
},
|
|
25535
|
+
}, Iu = new WeakMap(), Au = new WeakMap(), Lu = new WeakSet(), wd = function(t) {
|
|
25536
25536
|
for (let e = t.len - 1; e >= 0; --e) {
|
|
25537
25537
|
const r = t.aToken[e];
|
|
25538
|
-
if (!U(this,
|
|
25538
|
+
if (!U(this, Iu).test(r))
|
|
25539
25539
|
continue;
|
|
25540
25540
|
const [N, k] = tagToken2Name_Args(r);
|
|
25541
25541
|
this.alzTagArg.parse(k);
|
|
@@ -25549,14 +25549,14 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25549
25549
|
const $ = N === "loadplugin" ? SEARCH_PATH_ARG_EXT.CSS : SEARCH_PATH_ARG_EXT.SN, H = this.cfg.matchPath("^" + B.slice(0, -1) + ".*", $);
|
|
25550
25550
|
for (const z of H) {
|
|
25551
25551
|
const X = r.replace(
|
|
25552
|
-
U(this,
|
|
25552
|
+
U(this, Au),
|
|
25553
25553
|
"fn=" + decodeURIComponent(getFn(z[$]))
|
|
25554
25554
|
);
|
|
25555
25555
|
t.aToken.splice(e, 0, X), t.aLNum.splice(e, 0, NaN);
|
|
25556
25556
|
}
|
|
25557
25557
|
}
|
|
25558
25558
|
t.len = t.aToken.length;
|
|
25559
|
-
},
|
|
25559
|
+
}, Nu = new WeakSet(), Pd = function() {
|
|
25560
25560
|
const t = this.val.getAreaKidoku(U(this, se));
|
|
25561
25561
|
if (!t)
|
|
25562
25562
|
throw `recordKidoku fn:'${U(this, se)}' (areas === null)`;
|
|
@@ -25565,24 +25565,24 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25565
25565
|
return;
|
|
25566
25566
|
}
|
|
25567
25567
|
J(this, Sr, t.search(U(this, Lt))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", U(this, Sr)), !U(this, Sr) && t.record(U(this, Lt));
|
|
25568
|
-
}, Sr = new WeakMap(), hh = new WeakSet(),
|
|
25568
|
+
}, Sr = new WeakMap(), hh = new WeakSet(), kc = function() {
|
|
25569
25569
|
var t;
|
|
25570
25570
|
(t = this.val.getAreaKidoku(U(this, se))) == null || t.erase(U(this, Lt)), J(this, Sr, !1);
|
|
25571
|
-
}, Nu = new WeakSet(), Pd = function(t) {
|
|
25572
|
-
return U(this, br).bracket2macro(t, this.hTag, U(this, Qt), U(this, Lt)), !1;
|
|
25573
25571
|
}, ku = new WeakSet(), Cd = function(t) {
|
|
25572
|
+
return U(this, br).bracket2macro(t, this.hTag, U(this, Qt), U(this, Lt)), !1;
|
|
25573
|
+
}, Du = new WeakSet(), Rd = function(t) {
|
|
25574
25574
|
return U(this, br).char2macro(t, this.hTag, U(this, Qt), U(this, Lt)), !1;
|
|
25575
|
-
},
|
|
25575
|
+
}, Fu = new WeakMap(), Bu = new WeakSet(), Od = function(t) {
|
|
25576
25576
|
var k, D;
|
|
25577
25577
|
const { name: e } = t;
|
|
25578
25578
|
if (!e)
|
|
25579
25579
|
throw "nameは必須です";
|
|
25580
25580
|
if (e in this.hTag)
|
|
25581
25581
|
throw `[${e}]はタグかすでに定義済みのマクロです`;
|
|
25582
|
-
if (U(this,
|
|
25582
|
+
if (U(this, Fu).test(e))
|
|
25583
25583
|
throw `[${e}]はマクロ名として異常です`;
|
|
25584
25584
|
const r = U(this, pe), N = new CallStack(U(this, se), U(this, Lt));
|
|
25585
|
-
for (J(this, lh, U(this, lh) + ("|" + e)), J(this, Qs, new RegExp(`\\[(${U(this, lh)})\\b`)), this.hTag[e] = (B) => (B.design_unit = t.design_unit, et(this, th,
|
|
25585
|
+
for (J(this, lh, U(this, lh) + ("|" + e)), J(this, Qs, new RegExp(`\\[(${U(this, lh)})\\b`)), this.hTag[e] = (B) => (B.design_unit = t.design_unit, et(this, th, Mc).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)), J(this, pe, r), et(this, oh, Nc).call(this, N), !1); U(this, Lt) < U(this, Qt).len; ++Ee(this, Lt)._) {
|
|
25586
25586
|
(k = U(this, Qt).aLNum)[D = U(this, Lt)] || (k[D] = U(this, pe));
|
|
25587
25587
|
const B = U(this, Qt).aToken[U(this, Lt)];
|
|
25588
25588
|
if (B.search(U(this, ah)) > -1)
|
|
@@ -25591,7 +25591,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25591
25591
|
$ === 10 ? J(this, pe, U(this, pe) + B.length) : $ === 91 && J(this, pe, U(this, pe) + (B.match(/\n/g) ?? []).length);
|
|
25592
25592
|
}
|
|
25593
25593
|
throw `マクロ[${e}]定義の終端・[endmacro]がありません`;
|
|
25594
|
-
}, lh = new WeakMap(), Qs = new WeakMap(),
|
|
25594
|
+
}, lh = new WeakMap(), Qs = new WeakMap(), Uu = new WeakSet(), Md = function(t) {
|
|
25595
25595
|
if (!("place" in t))
|
|
25596
25596
|
throw "placeは必須です";
|
|
25597
25597
|
const e = Number(t.place);
|
|
@@ -25600,8 +25600,8 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25600
25600
|
const r = this.val.getMark(e);
|
|
25601
25601
|
if (!r)
|
|
25602
25602
|
throw `place【${e}】は存在しません`;
|
|
25603
|
-
return et(this, ta,
|
|
25604
|
-
}, ta = new WeakSet(),
|
|
25603
|
+
return et(this, ta, Mh).call(this, t, r);
|
|
25604
|
+
}, ta = new WeakSet(), Mh = function(t, e, r = !0) {
|
|
25605
25605
|
new RsEvtRsv(), this.hTag.clear_event({}), this.val.mark2save(e), this.val.setMp({}), U(this, fi).recPagebreak(), r && this.sndMng.playLoopFromSaveObj(), argChk_Boolean(t, "do_rec", !0) && J(this, ki, {
|
|
25606
25606
|
hSave: this.val.cloneSave(),
|
|
25607
25607
|
hPages: { ...e.hPages },
|
|
@@ -25624,7 +25624,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25624
25624
|
U(this, fi).cover(!1), et(this, Qi, Cr).call(this, k, "", D);
|
|
25625
25625
|
}
|
|
25626
25626
|
), !0);
|
|
25627
|
-
}, ea = new WeakMap(),
|
|
25627
|
+
}, ea = new WeakMap(), Gu = new WeakSet(), Id = function(t) {
|
|
25628
25628
|
const e = this.val.getMark(0);
|
|
25629
25629
|
delete U(this, De)[getFn(e.hSave["const.sn.scriptFn"])];
|
|
25630
25630
|
const r = {};
|
|
@@ -25634,17 +25634,17 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25634
25634
|
} catch {
|
|
25635
25635
|
r[N] = U(this, De)[N];
|
|
25636
25636
|
}
|
|
25637
|
-
return J(this, De, r), t.do_rec = !1, et(this, ta,
|
|
25638
|
-
}, ki = new WeakMap(),
|
|
25637
|
+
return J(this, De, r), t.do_rec = !1, et(this, ta, Mh).call(this, t, e, !1);
|
|
25638
|
+
}, ki = new WeakMap(), $u = new WeakSet(), Ad = function() {
|
|
25639
25639
|
if (this.main.isDestroyed())
|
|
25640
25640
|
return !1;
|
|
25641
|
-
const { fn: t, idx: e } = et(this, ia,
|
|
25641
|
+
const { fn: t, idx: e } = et(this, ia, Ih).call(this);
|
|
25642
25642
|
return this.val.setVal_Nochk("save", "const.sn.scriptFn", t), this.val.setVal_Nochk("save", "const.sn.scriptIdx", e), J(this, ki, {
|
|
25643
25643
|
hSave: this.val.cloneSave(),
|
|
25644
25644
|
hPages: U(this, fi).record(),
|
|
25645
25645
|
aIfStk: U(this, di).slice(U(this, ce).length)
|
|
25646
25646
|
}), !1;
|
|
25647
|
-
}, ia = new WeakSet(),
|
|
25647
|
+
}, ia = new WeakSet(), Ih = function() {
|
|
25648
25648
|
if (U(this, ce).length === 0)
|
|
25649
25649
|
return {
|
|
25650
25650
|
fn: U(this, se),
|
|
@@ -25655,19 +25655,19 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25655
25655
|
fn: e.fn,
|
|
25656
25656
|
idx: e.idx
|
|
25657
25657
|
};
|
|
25658
|
-
},
|
|
25658
|
+
}, ju = new WeakSet(), Ld = function(t) {
|
|
25659
25659
|
if (!("place" in t))
|
|
25660
25660
|
throw "placeは必須です";
|
|
25661
25661
|
const e = Number(t.place);
|
|
25662
25662
|
delete t[":タグ名"], delete t.place, t.text = t.text ?? "", U(this, ki).json = t, this.val.setMark(e, U(this, ki));
|
|
25663
25663
|
const r = Number(this.val.getVal("sys:const.sn.save.place"));
|
|
25664
25664
|
return e === r && this.val.setVal_Nochk("sys", "const.sn.save.place", r + 1), !1;
|
|
25665
|
-
}, Di = new WeakMap(), Fe = new WeakMap(), K(ScriptIterator,
|
|
25665
|
+
}, Di = new WeakMap(), Fe = new WeakMap(), K(ScriptIterator, vu, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), // reload 再生成 Main に受け渡すため static
|
|
25666
25666
|
K(ScriptIterator, jn, {}), K(ScriptIterator, xr, {});
|
|
25667
|
-
var ti, Si, Be, Ti, Tr, Wn, Le, uh, wr, ra, qn, ch, fh, na,
|
|
25667
|
+
var ti, Si, Be, Ti, Tr, Wn, Le, uh, wr, ra, qn, ch, fh, na, Hu, Nd, dh, ph, sa, aa, Ah, Zn, Kn;
|
|
25668
25668
|
const cs = class {
|
|
25669
25669
|
constructor(t) {
|
|
25670
|
-
K(this,
|
|
25670
|
+
K(this, Hu);
|
|
25671
25671
|
K(this, aa);
|
|
25672
25672
|
K(this, ti, void 0);
|
|
25673
25673
|
K(this, Si, void 0);
|
|
@@ -25687,8 +25687,8 @@ const cs = class {
|
|
|
25687
25687
|
K(this, na, "skynovel");
|
|
25688
25688
|
K(this, dh, () => U(this, qn).call(this));
|
|
25689
25689
|
// メイン処理(シナリオ解析)
|
|
25690
|
-
K(this, ph, (t = et(this, aa,
|
|
25691
|
-
U(this, Zn) || (U(this, wr).clearBreak(), J(this, qn, t), this.resume = (e = et(this, aa,
|
|
25690
|
+
K(this, ph, (t = et(this, aa, Ah)) => {
|
|
25691
|
+
U(this, Zn) || (U(this, wr).clearBreak(), J(this, qn, t), this.resume = (e = et(this, aa, Ah)) => {
|
|
25692
25692
|
J(this, qn, e);
|
|
25693
25693
|
}, U(this, Le).noticeBreak(!1));
|
|
25694
25694
|
});
|
|
@@ -25701,7 +25701,7 @@ const cs = class {
|
|
|
25701
25701
|
K(this, Zn, !1);
|
|
25702
25702
|
gt(this, "isDestroyed", () => U(this, Zn));
|
|
25703
25703
|
K(this, Kn, void 0);
|
|
25704
|
-
this.sys = t, skipHello(), Config.generate(t).then((e) => J(this, ti, e)).then(() => et(this,
|
|
25704
|
+
this.sys = t, skipHello(), Config.generate(t).then((e) => J(this, ti, e)).then(() => et(this, Hu, Nd).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
|
|
25705
25705
|
}
|
|
25706
25706
|
// thisの扱いによりメソッド代入はダメ
|
|
25707
25707
|
errScript(t, e = !0) {
|
|
@@ -25726,7 +25726,7 @@ const cs = class {
|
|
|
25726
25726
|
}
|
|
25727
25727
|
};
|
|
25728
25728
|
let Main = cs;
|
|
25729
|
-
ti = new WeakMap(), Si = new WeakMap(), Be = new WeakMap(), Ti = new WeakMap(), Tr = new WeakMap(), Wn = new WeakMap(), Le = new WeakMap(), uh = new WeakMap(), wr = new WeakMap(), ra = new WeakMap(), qn = new WeakMap(), ch = new WeakMap(), fh = new WeakMap(), na = new WeakMap(),
|
|
25729
|
+
ti = new WeakMap(), Si = new WeakMap(), Be = new WeakMap(), Ti = new WeakMap(), Tr = new WeakMap(), Wn = new WeakMap(), Le = new WeakMap(), uh = new WeakMap(), wr = new WeakMap(), ra = new WeakMap(), qn = new WeakMap(), ch = new WeakMap(), fh = new WeakMap(), na = new WeakMap(), Hu = new WeakSet(), Nd = async function() {
|
|
25730
25730
|
var N;
|
|
25731
25731
|
const t = (N = document.createElement("canvas")) == null ? void 0 : N.getContext("2d");
|
|
25732
25732
|
if (!t)
|
|
@@ -25741,8 +25741,8 @@ ti = new WeakMap(), Si = new WeakMap(), Be = new WeakMap(), Ti = new WeakMap(),
|
|
|
25741
25741
|
resolution: globalThis.devicePixelRatio ?? 1
|
|
25742
25742
|
// 理想
|
|
25743
25743
|
}, r = document.getElementById(U(this, na));
|
|
25744
|
-
r && (J(this, Kn, r.cloneNode(!0)), U(this, Kn).id = U(this, na), e.view = r), J(this, Si, new Application(e)), cs.cvs = U(this, Si).view, r || (document.body.appendChild(cs.cvs), cs.cvs.id = U(this, na)), J(this, Ti, new Variable(U(this, ti), U(this, Be))), J(this, Tr, new PropParser(U(this, Ti), U(this, ti).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(U(this, Be), U(this, Si), U(this, Ti), this)), U(this, Be).title({ text: U(this, ti).oCfg.book.title || "SKYNovel" }), J(this, Wn, new SoundMng(U(this, ti), U(this, Be), U(this, Ti), this, this.sys)), J(this, Le, new ScriptIterator(U(this, ti), U(this, Be), this, U(this, Ti), U(this, ch), () => et(this, aa,
|
|
25745
|
-
}, dh = new WeakMap(), ph = new WeakMap(), sa = new WeakMap(), aa = new WeakSet(),
|
|
25744
|
+
r && (J(this, Kn, r.cloneNode(!0)), U(this, Kn).id = U(this, na), e.view = r), J(this, Si, new Application(e)), cs.cvs = U(this, Si).view, r || (document.body.appendChild(cs.cvs), cs.cvs.id = U(this, na)), J(this, Ti, new Variable(U(this, ti), U(this, Be))), J(this, Tr, new PropParser(U(this, Ti), U(this, ti).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(U(this, Be), U(this, Si), U(this, Ti), this)), U(this, Be).title({ text: U(this, ti).oCfg.book.title || "SKYNovel" }), J(this, Wn, new SoundMng(U(this, ti), U(this, Be), U(this, Ti), this, this.sys)), J(this, Le, new ScriptIterator(U(this, ti), U(this, Be), this, U(this, Ti), U(this, ch), () => et(this, aa, Ah).call(this), U(this, Tr), U(this, Wn), this.sys)), J(this, uh, new DebugMng(this.sys, U(this, Be), U(this, Le))), J(this, wr, new LayerMng(U(this, ti), U(this, Be), U(this, Si), U(this, Ti), this, U(this, Le), this.sys, U(this, Wn), U(this, ch), U(this, Tr))), J(this, ra, new EventMng(U(this, ti), U(this, Be), U(this, Si), this, U(this, wr), U(this, Ti), U(this, Wn), U(this, Le), this.sys)), U(this, Si).ticker.add(U(this, dh)), this.resumeByJumpOrCall({ fn: "main" }), J(this, fh, !0);
|
|
25745
|
+
}, dh = new WeakMap(), ph = new WeakMap(), sa = new WeakMap(), aa = new WeakSet(), Ah = function() {
|
|
25746
25746
|
for (; U(this, sa); ) {
|
|
25747
25747
|
let t = U(this, Le).nextToken();
|
|
25748
25748
|
if (!t)
|
|
@@ -27888,8 +27888,8 @@ Object.assign(lookup, {
|
|
|
27888
27888
|
io: lookup,
|
|
27889
27889
|
connect: lookup
|
|
27890
27890
|
});
|
|
27891
|
-
var Fi, tr, er, Jn, Qn, Yr, Wr, qr,
|
|
27892
|
-
const
|
|
27891
|
+
var vh, Fi, tr, er, Jn, Qn, Yr, Wr, qr, zu, Vu, mh, oa, Xu, ha, ts, Yu, es, la;
|
|
27892
|
+
const Wu = class {
|
|
27893
27893
|
constructor(t = {}, e) {
|
|
27894
27894
|
gt(this, "hFactoryCls", {});
|
|
27895
27895
|
gt(this, "elc", new EventListenerCtn());
|
|
@@ -27899,6 +27899,12 @@ const Yu = class {
|
|
|
27899
27899
|
gt(this, "data", { sys: {}, mark: {}, kidoku: {} });
|
|
27900
27900
|
gt(this, "val");
|
|
27901
27901
|
gt(this, "appPixi");
|
|
27902
|
+
K(this, vh, () => ({
|
|
27903
|
+
window: {
|
|
27904
|
+
width: CmnLib.stageW,
|
|
27905
|
+
height: CmnLib.stageH
|
|
27906
|
+
}
|
|
27907
|
+
}));
|
|
27902
27908
|
K(this, Fi, 0);
|
|
27903
27909
|
K(this, tr, 0);
|
|
27904
27910
|
K(this, er, 1);
|
|
@@ -27909,7 +27915,7 @@ const Yu = class {
|
|
|
27909
27915
|
gt(this, "isFullScr", !1);
|
|
27910
27916
|
gt(this, "extPort", 3776);
|
|
27911
27917
|
K(this, qr, void 0);
|
|
27912
|
-
K(this,
|
|
27918
|
+
K(this, zu, {
|
|
27913
27919
|
auth: (t) => {
|
|
27914
27920
|
if (t.t !== this.cfg.oCfg.debuger_token) {
|
|
27915
27921
|
this.end();
|
|
@@ -27934,7 +27940,7 @@ const Yu = class {
|
|
|
27934
27940
|
});
|
|
27935
27941
|
gt(this, "pathBaseCnvSnPath4Dbg", "");
|
|
27936
27942
|
gt(this, "fire");
|
|
27937
|
-
K(this,
|
|
27943
|
+
K(this, mh, []);
|
|
27938
27944
|
gt(this, "callHook", (t, e) => {
|
|
27939
27945
|
});
|
|
27940
27946
|
gt(this, "send2Dbg", (t, e) => {
|
|
@@ -27956,7 +27962,7 @@ const Yu = class {
|
|
|
27956
27962
|
return J(this, oa, e), this.titleSub(U(this, oa) + U(this, ha)), !1;
|
|
27957
27963
|
});
|
|
27958
27964
|
K(this, oa, "");
|
|
27959
|
-
K(this,
|
|
27965
|
+
K(this, Xu, (t) => {
|
|
27960
27966
|
if (!t.key)
|
|
27961
27967
|
return this.tglFlscr_sub(), !1;
|
|
27962
27968
|
const e = t.key.toLowerCase();
|
|
@@ -27968,7 +27974,7 @@ const Yu = class {
|
|
|
27968
27974
|
gt(this, "window", () => !1);
|
|
27969
27975
|
K(this, ha, "");
|
|
27970
27976
|
K(this, ts, (t, e) => ({ ret: e.toString(), ext_num: 0 }));
|
|
27971
|
-
K(this,
|
|
27977
|
+
K(this, Yu, {
|
|
27972
27978
|
1: { ext: "jpeg", fnc: (t) => U(this, es).call(this, t), mime: "image/jpeg" },
|
|
27973
27979
|
2: { ext: "png", fnc: (t) => U(this, es).call(this, t), mime: "image/png" },
|
|
27974
27980
|
3: { ext: "svg", fnc: (t) => U(this, es).call(this, t), mime: "image/svg+xml" },
|
|
@@ -28005,6 +28011,7 @@ const Yu = class {
|
|
|
28005
28011
|
async loaded(t, e) {
|
|
28006
28012
|
const r = t.snsys_pre;
|
|
28007
28013
|
return delete t.snsys_pre, r == null ? void 0 : r.init({
|
|
28014
|
+
getInfo: U(this, vh),
|
|
28008
28015
|
addTag: () => {
|
|
28009
28016
|
},
|
|
28010
28017
|
addLayCls: () => {
|
|
@@ -28047,7 +28054,8 @@ const Yu = class {
|
|
|
28047
28054
|
} catch (D) {
|
|
28048
28055
|
console.error(`セーブデータ(${k})が壊れています。一度クリアする必要があります %o`, D);
|
|
28049
28056
|
}
|
|
28050
|
-
return t.close = (D) => this.close(D), t.export = (D) => this._export(D), t.import = (D) => this._import(D), t.navigate_to = (D) => this.navigate_to(D), t.title = (D) => this.title(D), t.toggle_full_screen = (D) => U(this,
|
|
28057
|
+
return t.close = (D) => this.close(D), t.export = (D) => this._export(D), t.import = (D) => this._import(D), t.navigate_to = (D) => this.navigate_to(D), t.title = (D) => this.title(D), t.toggle_full_screen = (D) => U(this, Xu).call(this, D), t.update_check = (D) => this.update_check(D), t.window = (D) => this.window(D), r.setVal_Nochk("tmp", "const.sn.isApp", () => this.isApp), r.setVal_Nochk("tmp", "const.sn.isDbg", () => CmnLib.isDbg), r.setVal_Nochk("tmp", "const.sn.isPackaged", () => CmnLib.isPackaged), this.val.defTmp("const.sn.displayState", () => this.isFullScr), r.setVal_Nochk("sys", Wu.VALNM_CFG_NS, this.cfg.oCfg.save_ns), r.flush(), CmnLib.isDbg && this.attach_debug(N), this.hFactoryCls = {}, Object.values(this.hPlg).map((D) => D.init({
|
|
28058
|
+
getInfo: U(this, vh),
|
|
28051
28059
|
addTag: (B, $) => {
|
|
28052
28060
|
if (t[B])
|
|
28053
28061
|
throw `すでに定義済みのタグ[${B}]です`;
|
|
@@ -28148,11 +28156,11 @@ const Yu = class {
|
|
|
28148
28156
|
100%{transform: translate(0px, 0px);}
|
|
28149
28157
|
}`, document.getElementsByTagName("head")[0].appendChild(e), this.addHook((r, N) => {
|
|
28150
28158
|
var k, D;
|
|
28151
|
-
return (D = (k = U(this,
|
|
28159
|
+
return (D = (k = U(this, zu))[r]) == null ? void 0 : D.call(k, N);
|
|
28152
28160
|
}), J(this, qr, lookup(`http://localhost:${this.extPort}`)), U(this, qr).on("data", (r, N) => {
|
|
28153
28161
|
this.callHook(r, N);
|
|
28154
28162
|
}).on("disconnect", () => t.setLoop(!0)), this.callHook = (r, N) => {
|
|
28155
|
-
for (const k of U(this,
|
|
28163
|
+
for (const k of U(this, mh))
|
|
28156
28164
|
k(r, N);
|
|
28157
28165
|
};
|
|
28158
28166
|
}
|
|
@@ -28163,7 +28171,7 @@ const Yu = class {
|
|
|
28163
28171
|
toast(t) {
|
|
28164
28172
|
const e = document.body;
|
|
28165
28173
|
e.querySelectorAll(".sn_BounceIn, .sn_HopIn").forEach((D) => e.removeChild(D));
|
|
28166
|
-
const r = document.createElement("img"), N = U(
|
|
28174
|
+
const r = document.createElement("img"), N = U(Wu, Vu)[t];
|
|
28167
28175
|
r.src = `data:image/svg+xml;base64,${N.dat}`;
|
|
28168
28176
|
const k = Math.min(CmnLib.stageW, CmnLib.stageH) / 4 * U(this, er);
|
|
28169
28177
|
r.width = r.height = k, r.style.cssText = `position: absolute;
|
|
@@ -28174,7 +28182,7 @@ top: ${(CmnLib.stageH - k) / 2 * U(this, er) + k * (N.dy ?? 0)}px;`, r.classList
|
|
|
28174
28182
|
this.fire = t;
|
|
28175
28183
|
}
|
|
28176
28184
|
addHook(t) {
|
|
28177
|
-
U(this,
|
|
28185
|
+
U(this, mh).push(t);
|
|
28178
28186
|
}
|
|
28179
28187
|
titleSub(t) {
|
|
28180
28188
|
}
|
|
@@ -28187,7 +28195,7 @@ top: ${(CmnLib.stageH - k) / 2 * U(this, er) + k * (N.dy ?? 0)}px;`, r.classList
|
|
|
28187
28195
|
return U(this, ts).call(this, t, e).ret;
|
|
28188
28196
|
}
|
|
28189
28197
|
async dec(t, e) {
|
|
28190
|
-
const { ret: r, ext_num: N } = U(this, ts).call(this, t, e), k = U(this,
|
|
28198
|
+
const { ret: r, ext_num: N } = U(this, ts).call(this, t, e), k = U(this, Yu)[N];
|
|
28191
28199
|
return k != null && k.fnc ? await k.fnc(new Blob([r], { type: k.mime })) : r;
|
|
28192
28200
|
}
|
|
28193
28201
|
get path_downloads() {
|
|
@@ -28206,8 +28214,8 @@ top: ${(CmnLib.stageH - k) / 2 * U(this, er) + k * (N.dy ?? 0)}px;`, r.classList
|
|
|
28206
28214
|
async ensureFileSync(t) {
|
|
28207
28215
|
}
|
|
28208
28216
|
};
|
|
28209
|
-
let SysBase =
|
|
28210
|
-
Fi = new WeakMap(), tr = new WeakMap(), er = new WeakMap(), Jn = new WeakMap(), Qn = new WeakMap(), Yr = new WeakMap(), Wr = new WeakMap(), qr = new WeakMap(),
|
|
28217
|
+
let SysBase = Wu;
|
|
28218
|
+
vh = new WeakMap(), Fi = new WeakMap(), tr = new WeakMap(), er = new WeakMap(), Jn = new WeakMap(), Qn = new WeakMap(), Yr = new WeakMap(), Wr = new WeakMap(), qr = new WeakMap(), zu = new WeakMap(), Vu = new WeakMap(), mh = new WeakMap(), oa = new WeakMap(), Xu = new WeakMap(), ha = new WeakMap(), ts = new WeakMap(), Yu = new WeakMap(), es = new WeakMap(), la = new WeakMap(), gt(SysBase, "VALNM_CFG_NS", "const.sn.cfg.ns"), K(SysBase, Vu, {
|
|
28211
28219
|
// Thanks ICOOON MONO https://icooon-mono.com/ 、 https://vectr.com/ で 640x640化、ImageOptim経由、Base64エンコーダー https://lab.syncer.jp/Tool/Base64-encode/
|
|
28212
28220
|
接続: { dx: -1, dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtNjQwIDMyMGMwIDE3Ni43My0xNDMuMjcgMzIwLTMyMCAzMjBzLTMyMC0xNDMuMjctMzIwLTMyMCAxNDMuMjctMzIwIDMyMC0zMjAgMzIwIDE0My4yNyAzMjAgMzIweiIvPjxwYXRoIGlkPSJiIiBkPSJtMCAyOTJ2NTUuODhoMTI3LjEzYzEyLjM3IDQ2IDU0LjEyIDc5Ljg3IDEwNCA3OS44N2g3Ny44N3YtMjE1LjYyYy00Ni43MyAwLTcyLjY4IDAtNzcuODggMC00OS43NCAwLTkxLjYyIDMzLjg3LTEwMy45OSA3OS44Ny0xNi45NSAwLTU5LjMzIDAtMTI3LjEzIDB6Ii8+PHBhdGggaWQ9ImMiIGQ9Im01MTIuODggMjkyYy0xMi4zOC00Ni01NC4xMy03OS44Ny0xMDQtNzkuODctNS4yMSAwLTMxLjIxIDAtNzggMHYyMTUuNzRoNzcuODdjNDkuODggMCA5MS43NS0zMy44NyAxMDQtNzkuODdoMTI3LjI1di01NmMtNzYuMjcgMC0xMTguNjUgMC0xMjcuMTIgMHoiLz48L2RlZnM+PHVzZSBmaWxsPSIjMmUyZTJlIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2EiLz48dXNlIGZpbGw9IiMzYWFiZDIiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSJub25lIiB4bGluazpocmVmPSIjYiIvPjx1c2UgZmlsbD0iIzNhYWJkMiIgeGxpbms6aHJlZj0iI2MiLz48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNjIi8+PC9zdmc+" },
|
|
28213
28221
|
切断: { dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtNjQwIDMyMGMwIDE3Ni43My0xNDMuMjcgMzIwLTMyMCAzMjBzLTMyMC0xNDMuMjctMzIwLTMyMCAxNDMuMjctMzIwIDMyMC0zMjAgMzIwIDE0My4yNyAzMjAgMzIweiIvPjxwYXRoIGlkPSJiIiBkPSJtMTkxLjUzIDIyMS4yNGMtNDUuNjggMC04NC4wMSAzMS4wNC05NS4zIDczLjE2LTYuNDEgMC0zOC40OSAwLTk2LjIzIDB2NTEuMjFoOTYuMjNjMTEuMyA0Mi4xMSA0OS42MyA3My4xNiA5NS4zIDczLjE2aDcxLjMzdi00OC4yNGg1My43OHYtMTAxLjA1aC01My43OHYtNDguMjRjLTQyLjggMC02Ni41NyAwLTcxLjMzIDB6Ii8+PHBhdGggaWQ9ImMiIGQ9Im00NDguNDcgMjIxLjIzYy00Ljc2IDAtMjguNTMgMC03MS4zMyAwdjE5Ny41M2g3MS4zM2M0NS42OCAwIDgzLjk5LTMxLjA0IDk1LjI5LTczLjE1aDk2LjI0di01MS4yMWgtOTYuMjRjLTMzLjA4LTQ4Ljc4LTY0Ljg0LTczLjE3LTk1LjI5LTczLjE3eiIvPjwvZGVmcz48dXNlIGZpbGw9IiMyZTJlMmUiIHhsaW5rOmhyZWY9IiNhIi8+PHVzZSBmaWxsPSJub25lIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0iI2RmNTY1NiIgeGxpbms6aHJlZj0iI2IiLz48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSIjZGY1NjU2IiB4bGluazpocmVmPSIjYyIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2MiLz48L3N2Zz4=" },
|
|
@@ -28787,12 +28795,12 @@ const devtools = {
|
|
|
28787
28795
|
};
|
|
28788
28796
|
main({ emitEvents: !1 });
|
|
28789
28797
|
setInterval(main, 500);
|
|
28790
|
-
var ua,
|
|
28798
|
+
var ua, _h, Pr, gh;
|
|
28791
28799
|
class SysWeb extends SysBase {
|
|
28792
28800
|
constructor(e = {}, r = { cur: "prj/", crypto: !1, dip: "" }) {
|
|
28793
28801
|
super(e, r);
|
|
28794
28802
|
K(this, ua, "");
|
|
28795
|
-
K(this,
|
|
28803
|
+
K(this, _h, ":");
|
|
28796
28804
|
gt(this, "run", async () => {
|
|
28797
28805
|
U(this, Pr) && (U(this, Pr).destroy(10), await new Promise((r) => setTimeout(r, 10))), J(this, Pr, new Main(this));
|
|
28798
28806
|
});
|
|
@@ -28833,7 +28841,7 @@ class SysWeb extends SysBase {
|
|
|
28833
28841
|
throw "[navigate_to] urlは必須です";
|
|
28834
28842
|
return globalThis.open(r, "_blank"), !1;
|
|
28835
28843
|
});
|
|
28836
|
-
K(this,
|
|
28844
|
+
K(this, gh, {});
|
|
28837
28845
|
const N = r.cur.split("/");
|
|
28838
28846
|
J(this, ua, N.length > 2 ? N.slice(0, -2).join("/") + "/" : ""), globalThis.onload = async () => this.loaded(e, r);
|
|
28839
28847
|
}
|
|
@@ -28854,7 +28862,7 @@ class SysWeb extends SysBase {
|
|
|
28854
28862
|
D && (r.cur = U(this, ua) + D + "/"), this.run();
|
|
28855
28863
|
}
|
|
28856
28864
|
runSN(e) {
|
|
28857
|
-
this.arg.cur = U(this, ua) + e + "/", U(this,
|
|
28865
|
+
this.arg.cur = U(this, ua) + e + "/", U(this, _h) !== this.arg.cur && (J(this, _h, this.arg.cur), this.run());
|
|
28858
28866
|
}
|
|
28859
28867
|
stop() {
|
|
28860
28868
|
U(this, Pr) && (U(this, Pr).destroy(), J(this, Pr, void 0));
|
|
@@ -28925,13 +28933,13 @@ class SysWeb extends SysBase {
|
|
|
28925
28933
|
N.href = r, N.download = e, N.click(), CmnLib.debugLog && console.log("画像ファイルをダウンロードします");
|
|
28926
28934
|
}
|
|
28927
28935
|
async appendFile(e, r, N) {
|
|
28928
|
-
const k = (U(this,
|
|
28929
|
-
U(this,
|
|
28936
|
+
const k = (U(this, gh)[e] ?? "") + r;
|
|
28937
|
+
U(this, gh)[e] = k;
|
|
28930
28938
|
const D = new Blob([k], { type: "text/json" }), B = document.createElement("a");
|
|
28931
28939
|
B.href = URL.createObjectURL(D), B.download = e, B.click();
|
|
28932
28940
|
}
|
|
28933
28941
|
}
|
|
28934
|
-
ua = new WeakMap(),
|
|
28942
|
+
ua = new WeakMap(), _h = new WeakMap(), Pr = new WeakMap(), gh = new WeakMap();
|
|
28935
28943
|
export {
|
|
28936
28944
|
CmnLib,
|
|
28937
28945
|
Layer,
|