@famibee/skynovel 1.44.0 → 1.44.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.
@@ -1 +1 @@
1
- {"version":3,"file":"EventMng.d.ts","sourceRoot":"","sources":["../../../src/sn/EventMng.ts"],"names":[],"mappings":"AAOA,OAAO,EAAS,OAAO,EAAmD,MAAM,UAAU,CAAC;AAC3F,OAAO,EAAC,KAAK,EAAE,IAAI,EAAC,MAAM,WAAW,CAAC;AACtC,OAAO,EAAC,SAAS,EAAE,KAAK,EAAY,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAQhD,OAAO,EAAC,SAAS,EAAE,WAAW,EAAQ,MAAM,SAAS,CAAC;AACtD,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAKlC,qBAAa,QAAS,YAAW,OAAO;;IAS3B,OAAO,CAAC,QAAQ,CAAC,GAAG;IAAU,OAAO,CAAC,QAAQ,CAAC,IAAI;IAAS,QAAQ,CAAC,OAAO,EAAE,WAAW;IAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;IAAS,OAAO,CAAC,QAAQ,CAAC,MAAM;IAAY,OAAO,CAAC,QAAQ,CAAC,GAAG;IAAa,OAAO,CAAC,QAAQ,CAAC,MAAM;IAAY,OAAO,CAAC,QAAQ,CAAC,MAAM;IAAkB,QAAQ,CAAC,GAAG,EAAE,OAAO;gBAA7Q,GAAG,EAAE,MAAM,EAAmB,IAAI,EAAE,KAAK,EAAW,OAAO,EAAE,WAAW,EAAmB,IAAI,EAAE,KAAK,EAAmB,MAAM,EAAE,QAAQ,EAAmB,GAAG,EAAE,SAAS,EAAmB,MA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I,OAAO;CAiB9B"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { SysNode } from './SysNode';
2
3
  import { IHTag, ITag } from './Grammar';
3
4
  import { IVariable, IData4Vari, IMain, HPlugin, HSysBaseArg } from './CmnInterface';
@@ -1 +1 @@
1
- {"version":3,"file":"SysApp.d.ts","sourceRoot":"","sources":["../../../src/sn/SysApp.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAAC,KAAK,EAAE,IAAI,EAAC,MAAM,WAAW,CAAC;AACtC,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAIlF,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAQpC,qBAAa,MAAO,SAAQ,OAAO;;gBACtB,IAAI,KAAK,EAAE,GAAG;;;;KAAwC;cAKzC,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,WAAW;IA2B/D,UAAmB,YAAY,oCAAuB;IACtD,UAAmB,aAAa,iGAAwB;IAC/C,UAAU,gFAAsB;IAChC,cAAc,kCAAyB;IAEhD,UAAoB,cAAc,SAAO;IACzC,UAAmB,eAAe,SAAM;IAE/B,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,UAAU,KAAI,IAAI;cA6DpD,GAAG;IAYnB,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,EAAE;IAgBrF,SAAS;IA2BT,YAAY,SAAgB,MAAM,MAAM,MAAM,mBAMrD;IACO,aAAa,UAAiB,MAAM,mBAE3C;IAGF,mBAA4B,KAAK,gBAA2C;IAG5E,mBAA4B,OAAO,gBAUlC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MAAM,MAAM,MAAM,mBAMrD;IACO,aAAa,UAAiB,MAAM,mBAE3C;IAGF,mBAA4B,KAAK,gBAA2C;IAG5E,mBAA4B,OAAO,gBAUlC;IAGD,mBAA4B,OAAO,gBA2BlC;IAGD,mBAA4B,WAAW,EAAE,IAAI,CAO5C;cAEkB,QAAQ,CAAC,KAAK,EAAE,MAAM;IAGzC,mBAA4B,YAAY,sBAGtC;IAGF,mBAA4B,YAAY,EAAE,IAAI,CAwG7C;IAoBD,mBAA4B,MAAM,EAAE,IAAI,CASvC;IAEQ,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAK,IAAI;CAKlD"}
package/dist/web.js CHANGED
@@ -19457,7 +19457,7 @@ var y = p.filter(function(o) {
19457
19457
  }(new S());
19458
19458
  "extensions" in n ? extensions.add(m) : Loader.registerPlugin(m);
19459
19459
  let cfg, val, main$2, sys;
19460
- var Ue, Ee, Is, ro, no, Cc;
19460
+ var Ge, Ee, Is, ro, no, Cc;
19461
19461
  const we = class {
19462
19462
  constructor() {
19463
19463
  Z(this, no);
@@ -19471,12 +19471,12 @@ const we = class {
19471
19471
  gt(this, "stopfadese", (t) => G(this, Ee).stt.stopfadese(G(this, Ee), t));
19472
19472
  }
19473
19473
  static init(t, e, r, N) {
19474
- Q(we, Ue, {}), cfg = t, val = e, main$2 = r, sys = N;
19474
+ Q(we, Ge, {}), cfg = t, val = e, main$2 = r, sys = N;
19475
19475
  }
19476
19476
  static delLoopPlay(t) {
19477
- delete G(we, Ue)[t];
19477
+ delete G(we, Ge)[t];
19478
19478
  const e = "const.sn.sound." + t + ".";
19479
- val.setVal_Nochk("save", e + "fn", ""), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ue))), val.flush();
19479
+ val.setVal_Nochk("save", e + "fn", ""), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ge))), val.flush();
19480
19480
  }
19481
19481
  static getVol(t, e) {
19482
19482
  const r = argChk_Num(t, "volume", e);
@@ -19487,7 +19487,7 @@ const we = class {
19487
19487
  if (e === r)
19488
19488
  return;
19489
19489
  const N = "const.sn.sound." + e + ".", k = Number(val.getVal("save:" + N + "volume")), D = String(val.getVal("save:" + N + "fn")), U = "const.sn.sound." + r + ".", $ = Number(val.getVal("save:" + U + "volume")), H = String(val.getVal("save:" + U + "fn"));
19490
- val.setVal_Nochk("save", N + "volume", $), val.setVal_Nochk("save", U + "volume", k), val.setVal_Nochk("save", N + "fn", H), val.setVal_Nochk("save", U + "fn", D), e in G(we, Ue) != r in G(we, Ue) && (e in G(we, Ue) ? (delete G(we, Ue)[e], G(we, Ue)[r] = 0) : (delete G(we, Ue)[r], G(we, Ue)[e] = 0), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ue)))), val.flush();
19490
+ val.setVal_Nochk("save", N + "volume", $), val.setVal_Nochk("save", U + "volume", k), val.setVal_Nochk("save", N + "fn", H), val.setVal_Nochk("save", U + "fn", D), e in G(we, Ge) != r in G(we, Ge) && (e in G(we, Ge) ? (delete G(we, Ge)[e], G(we, Ge)[r] = 0) : (delete G(we, Ge)[r], G(we, Ge)[e] = 0), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ge)))), val.flush();
19491
19491
  }
19492
19492
  init(t) {
19493
19493
  const { buf: e = "SE", fn: r = "" } = t, N = argChk_Num(t, "start_ms", 0), k = argChk_Num(t, "end_ms", G(we, Is)), D = argChk_Num(t, "ret_ms", 0), U = argChk_Num(t, "pan", 0), $ = argChk_Num(t, "speed", 1);
@@ -19506,7 +19506,7 @@ const we = class {
19506
19506
  const V = we.getVol(t, 1);
19507
19507
  val.setVal_Nochk("save", H + "volume", V);
19508
19508
  const X = V * Number(val.getVal("sys:" + H + "volume", 1)), z = argChk_Boolean(t, "loop", !1);
19509
- z ? (G(we, Ue)[e] = 0, val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ue)))) : we.delLoopPlay(e), val.setVal_Nochk("save", H + "start_ms", N), val.setVal_Nochk("save", H + "end_ms", k), val.setVal_Nochk("save", H + "ret_ms", D), val.setVal_Nochk("tmp", H + "playing", !0), val.flush();
19509
+ z ? (G(we, Ge)[e] = 0, val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ge)))) : we.delLoopPlay(e), val.setVal_Nochk("save", H + "start_ms", N), val.setVal_Nochk("save", H + "end_ms", k), val.setVal_Nochk("save", H + "ret_ms", D), val.setVal_Nochk("tmp", H + "playing", !0), val.flush();
19510
19510
  const Y = B.find(r);
19511
19511
  Q(this, Ee, {
19512
19512
  fn: r,
@@ -19599,7 +19599,7 @@ const we = class {
19599
19599
  }
19600
19600
  };
19601
19601
  let SndBuf = we;
19602
- Ue = new WeakMap(), Ee = new WeakMap(), Is = new WeakMap(), ro = new WeakMap(), no = new WeakSet(), Cc = function(t, e) {
19602
+ Ge = new WeakMap(), Ee = new WeakMap(), Is = new WeakMap(), ro = new WeakMap(), no = new WeakSet(), Cc = function(t, e) {
19603
19603
  const r = cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SOUND);
19604
19604
  if (r.slice(-4) !== ".bin") {
19605
19605
  e.url = r, C.from(e);
@@ -19613,7 +19613,7 @@ Ue = new WeakMap(), Ee = new WeakMap(), Is = new WeakMap(), ro = new WeakMap(),
19613
19613
  var D;
19614
19614
  e.source = (D = k[t]) == null ? void 0 : D.data, C.from(e);
19615
19615
  });
19616
- }, Z(SndBuf, Ue, {}), Z(SndBuf, Is, 999e3);
19616
+ }, Z(SndBuf, Ge, {}), Z(SndBuf, Is, 999e3);
19617
19617
  function stop2var(o, t) {
19618
19618
  if (o.loop)
19619
19619
  SndBuf.delLoopPlay(t);
@@ -24174,7 +24174,7 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
24174
24174
  defaultModifiers
24175
24175
  });
24176
24176
  const { GamepadListener } = require("gamepad.js");
24177
- var Ye, Yr, Le, Zo, Jo, Xc, Qo, Yc, th, Wc, oa, ha, eh, qc, ye, Ei, xr, Er, ih, Wr, gs, rh, nh, Ge, la, ua, sh, Iu, kd, ah, zn, Au, Dd, oh, Kc, Lu, Bd, hh, Zc, Xn, La, Yn, Nu, Fd, ku, Ud, Si, Du, Gd, Bu, $d, ca, Yh, Sr, Wn, qn, Fu, jd, We;
24177
+ var Ye, Yr, Le, Zo, Jo, Xc, Qo, Yc, th, Wc, oa, ha, eh, qc, ye, Ei, xr, Er, ih, Wr, gs, rh, nh, De, la, ua, sh, Iu, kd, ah, zn, Au, Dd, oh, Kc, Lu, Bd, hh, Zc, Xn, La, Yn, Nu, Fd, ku, Ud, Si, Du, Gd, Bu, $d, ca, Yh, Sr, Wn, qn, Fu, jd, We;
24178
24178
  class EventMng {
24179
24179
  constructor(t, e, r, N, k, D, U, $, H) {
24180
24180
  Z(this, Jo);
@@ -24224,12 +24224,20 @@ class EventMng {
24224
24224
  Z(this, nh, {
24225
24225
  getBoundingClientRect: (t = 0, e = 0) => DOMRect.fromRect({ x: t, y: e, width: 0, height: 0 })
24226
24226
  });
24227
- Z(this, Ge, void 0);
24227
+ Z(this, De, void 0);
24228
24228
  Z(this, la, void 0);
24229
24229
  Z(this, ua, void 0);
24230
24230
  Z(this, sh, {
24231
24231
  placement: "bottom",
24232
- fallbackPlacements: ["top", "bottom"]
24232
+ modifiers: [
24233
+ {
24234
+ // Flip | Popper https://popper.js.org/docs/v2/modifiers/flip/
24235
+ name: "flip",
24236
+ options: {
24237
+ fallbackPlacements: ["top", "bottom"]
24238
+ }
24239
+ }
24240
+ ]
24233
24241
  });
24234
24242
  Z(this, ah, (t, e) => {
24235
24243
  });
@@ -24314,7 +24322,7 @@ class EventMng {
24314
24322
  <div class="sn_hint" role="tooltip">
24315
24323
  <span>Dummy</span>
24316
24324
  <div class="sn_hint_ar" data-popper-arrow></div>
24317
- </div>`), Q(this, Ge, document.querySelector(".sn_hint")), Q(this, la, G(this, Ge).querySelector("span")), Q(this, ua, createPopper(G(this, nh), G(this, Ge))), G(this, Ge).hidden = !0, r.stage.interactive = !0, CmnLib.isMobile ? r.stage.on("pointerdown", (J) => this.fire("click", J)) : G(this, Ye).add(r.stage, "pointerdown", (J) => {
24325
+ </div>`), Q(this, De, document.querySelector(".sn_hint")), Q(this, la, G(this, De).querySelector("span")), Q(this, ua, createPopper(G(this, nh), G(this, De))), G(this, De).hidden = !0, r.stage.interactive = !0, CmnLib.isMobile ? r.stage.on("pointerdown", (J) => this.fire("click", J)) : G(this, Ye).add(r.stage, "pointerdown", (J) => {
24318
24326
  switch (J.data.button) {
24319
24327
  case 0:
24320
24328
  this.fire("click", J);
@@ -24425,12 +24433,12 @@ class EventMng {
24425
24433
  U ? G(this, Ei)[D] = () => this.main.resumeByJumpOrCall(t) : G(this, ye)[D] = () => this.main.resumeByJumpOrCall(t), e.on("pointerdown", (z) => this.fire(D, z));
24426
24434
  const $ = t.hint ? () => tt(this, Iu, kd).call(this, t, e) : () => {
24427
24435
  }, H = () => {
24428
- r(), G(this, Ge).hidden = !0;
24436
+ r(), G(this, De).hidden = !0;
24429
24437
  }, V = () => ($(), N());
24430
24438
  if (e.on("pointerover", V), e.on("pointerout", () => {
24431
24439
  G(this, Le).isFocus(e) ? V() : H();
24432
24440
  }), e.on("pointerdown", () => {
24433
- G(this, Ge).hidden = !0;
24441
+ G(this, De).hidden = !0;
24434
24442
  const z = G(this, Le).getFocus();
24435
24443
  k(), z instanceof Button && z.normal();
24436
24444
  }), e.on(
@@ -24454,10 +24462,10 @@ class EventMng {
24454
24462
  }
24455
24463
  }
24456
24464
  hideHint() {
24457
- G(this, Ge).hidden = !0;
24465
+ G(this, De).hidden = !0;
24458
24466
  }
24459
24467
  cvsResize() {
24460
- G(this, Ge).hidden = !0;
24468
+ G(this, De).hidden = !0;
24461
24469
  }
24462
24470
  // 予約イベントの発生待ちしない waitEvent()
24463
24471
  waitLimitedEvent(t, e) {
@@ -24523,17 +24531,17 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24523
24531
  N.local = Object.keys(G(this, ye)), N.global = Object.keys(G(this, Ei)), console.log("🎍 wait event... %o", N);
24524
24532
  }
24525
24533
  return !0;
24526
- }, rh = new WeakMap(), nh = new WeakMap(), Ge = new WeakMap(), la = new WeakMap(), ua = new WeakMap(), sh = new WeakMap(), Iu = new WeakSet(), kd = function(t, e) {
24534
+ }, rh = new WeakMap(), nh = new WeakMap(), De = new WeakMap(), la = new WeakMap(), ua = new WeakMap(), sh = new WeakMap(), Iu = new WeakSet(), kd = function(t, e) {
24527
24535
  const r = e instanceof Button ? e.getBtnBounds() : e.getBounds();
24528
24536
  if (!(t[":タグ名"] === "link")) {
24529
24537
  const k = e.parent.parent;
24530
24538
  r.x += k.x, r.y += k.y;
24531
24539
  }
24532
24540
  if (!t.hint) {
24533
- G(this, Ge).hidden = !0;
24541
+ G(this, De).hidden = !0;
24534
24542
  return;
24535
24543
  }
24536
- G(this, Ge).style.cssText = `position:${G(this, Ge).style.position}; transform:${G(this, Ge).style.transform};` + (t.hint_style ?? ""), G(this, la).style.cssText = "", G(this, la).textContent = t.hint ?? "";
24544
+ G(this, De).style.cssText = `position:${G(this, De).style.position}; transform:${G(this, De).style.transform};` + (t.hint_style ?? ""), G(this, la).style.cssText = "", G(this, la).textContent = t.hint ?? "";
24537
24545
  try {
24538
24546
  const k = t.hint_opt ? { ...G(this, sh), ...JSON.parse(t.hint_opt) } : G(this, sh);
24539
24547
  G(this, ua).setOptions(k);
@@ -24545,7 +24553,7 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24545
24553
  y: this.sys.ofsTop4elm + r.y * this.sys.cvsScale,
24546
24554
  width: r.width,
24547
24555
  height: r.height
24548
- }), G(this, ua).update(), G(this, Ge).hidden = !1;
24556
+ }), G(this, ua).update(), G(this, De).hidden = !1;
24549
24557
  }, ah = new WeakMap(), zn = new WeakMap(), Au = new WeakSet(), Dd = function(t) {
24550
24558
  const e = argChk_Boolean(t, "global", !1), r = e ? G(this, Ei) : G(this, ye);
24551
24559
  for (const [N, k] of Object.entries(r))
@@ -24652,7 +24660,7 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24652
24660
  });
24653
24661
  argChk_Boolean(t, "visible", !0) && this.layMng.breakPage();
24654
24662
  const e = () => {
24655
- this.sndMng.clearCache(), this.main.resume();
24663
+ this.sndMng.clearCache(), G(this, De).hidden = !0, this.main.resume();
24656
24664
  };
24657
24665
  return tt(this, Wr, gs).call(this, argChk_Boolean(t, "er", !1) && this.layMng.currentTxtlayFore ? () => {
24658
24666
  this.hTag.er(t), e();
@@ -24720,7 +24728,7 @@ class CallStack {
24720
24728
  this.fn = t, this.idx = e, this.csArg = r;
24721
24729
  }
24722
24730
  }
24723
- var Qt, se, Lt, pe, ce, Tr, lh, Jc, Kn, qr, Uu, Kr, uh, Qc, ch, tf, fh, Zr, ys, Zn, Na, Jn, wr, xe, Gu, Hd, Qn, ka, $u, Vd, dh, fa, ci, ju, zd, Hu, Xd, Pr, sn, Vu, Yd, ts, es, ph, vh, mh, fi, zu, Wd, Xu, qd, Yu, Kd, _h, ef, Wu, Zd, qu, Jd, Ku, Qd, gh, rf, yh, is, Da, rs, er, Ir, bh, nf, xh, Eh, sf, Zu, Ju, Sh, Qu, tp, De, tc, ep, Th, af, ec, ic, rc, ip, nc, rp, Cr, wh, of, sc, np, ac, sp, oc, hc, ap, Ph, da, lc, op, pa, Wh, va, uc, hp, Bi, cc, lp, ma, qh, fc, up, Fi, Be;
24731
+ var Qt, se, Lt, pe, ce, Tr, lh, Jc, Kn, qr, Uu, Kr, uh, Qc, ch, tf, fh, Zr, ys, Zn, Na, Jn, wr, xe, Gu, Hd, Qn, ka, $u, Vd, dh, fa, ci, ju, zd, Hu, Xd, Pr, sn, Vu, Yd, ts, es, ph, vh, mh, fi, zu, Wd, Xu, qd, Yu, Kd, _h, ef, Wu, Zd, qu, Jd, Ku, Qd, gh, rf, yh, is, Da, rs, er, Ir, bh, nf, xh, Eh, sf, Zu, Ju, Sh, Qu, tp, Be, tc, ep, Th, af, ec, ic, rc, ip, nc, rp, Cr, wh, of, sc, np, ac, sp, oc, hc, ap, Ph, da, lc, op, pa, Wh, va, uc, hp, Bi, cc, lp, ma, qh, fc, up, Fi, Fe;
24724
24732
  const si = class {
24725
24733
  constructor(t, e, r, N, k, D, U, $, H) {
24726
24734
  Z(this, lh);
@@ -24872,7 +24880,7 @@ const si = class {
24872
24880
  Z(this, Zu, /(\*{2,})([^\|]*)/);
24873
24881
  Z(this, Ju, /\[macro\s/);
24874
24882
  Z(this, Sh, /\[endmacro[\s\]]/);
24875
- Z(this, De, /* @__PURE__ */ Object.create(null));
24883
+ Z(this, Be, /* @__PURE__ */ Object.create(null));
24876
24884
  Z(this, ec, /^\[(call|loadplugin)\s/);
24877
24885
  Z(this, ic, /\bfn\s*=\s*[^\s\]]+/);
24878
24886
  Z(this, Cr, !1);
@@ -24888,7 +24896,7 @@ const si = class {
24888
24896
  aIfStk: [-1]
24889
24897
  });
24890
24898
  Z(this, Fi, []);
24891
- Z(this, Be, -1);
24899
+ Z(this, Fe, -1);
24892
24900
  this.cfg = t, this.hTag = e, this.main = r, this.val = N, this.alzTagArg = k, this.runAnalyze = D, this.prpPrs = U, this.sndMng = $, this.sys = H, e.let_ml = (X) => tt(this, ju, zd).call(this, X), e.endlet_ml = () => !1, e.dump_stack = () => tt(this, Hu, Xd).call(this), e.dump_script = (X) => tt(this, Vu, Yd).call(this, X), e.else = // その他ifブロック開始
24893
24901
  e.elsif = // 別条件のifブロック開始
24894
24902
  e.endif = () => tt(this, zu, Wd).call(this), e.if = (X) => tt(this, Xu, qd).call(this, X), e.call = (X) => tt(this, Yu, Kd).call(this, X), e.jump = (X) => tt(this, Wu, Zd).call(this, X), e.page = (X) => tt(this, qu, Jd).call(this, X), e.pop_stack = (X) => tt(this, Ku, Qd).call(this, X), e.return = (X) => tt(this, gh, rf).call(this, X), e.bracket2macro = (X) => tt(this, sc, np).call(this, X), e.char2macro = (X) => tt(this, ac, sp).call(this, X), e.endmacro = (X) => tt(this, gh, rf).call(this, X), e.macro = (X) => tt(this, hc, ap).call(this, X), e.load = (X) => tt(this, lc, op).call(this, X), e.reload_script = (X) => tt(this, uc, hp).call(this, X), e.record_place = () => tt(this, cc, lp).call(this), e.save = (X) => tt(this, fc, up).call(this, X), t.oCfg.debug.token && Q(this, xh, (X) => console.log(`🌱 トークン fn:${G(this, se)} idx:${G(this, Lt)} ln:${G(this, pe)} token【${X}】`)), N.defTmp("const.sn.vctCallStk.length", () => G(this, ce).length);
@@ -25026,7 +25034,7 @@ const si = class {
25026
25034
  if (G(this, ce).length > 0) {
25027
25035
  const k = G(this, ce)[0];
25028
25036
  t = k.fn, e = k.idx;
25029
- const D = G(this, De)[t];
25037
+ const D = G(this, Be)[t];
25030
25038
  D && (r = D.len);
25031
25039
  }
25032
25040
  const N = this.val.getAreaKidoku(t);
@@ -25043,7 +25051,7 @@ const si = class {
25043
25051
  return;
25044
25052
  const { fn: t, idx: e } = tt(this, ma, qh).call(this), r = e - 1, N = r + ":" + t, k = G(this, Fi).findIndex((U) => U.key === N);
25045
25053
  if (k > -1) {
25046
- Q(this, Be, k);
25054
+ Q(this, Fe, k);
25047
25055
  return;
25048
25056
  }
25049
25057
  const D = {
@@ -25054,11 +25062,11 @@ const si = class {
25054
25062
  retIdx: 0,
25055
25063
  retMark: { ...G(this, Bi) }
25056
25064
  };
25057
- if (G(this, Be) >= 0) {
25058
- const U = G(this, Fi)[G(this, Be)];
25065
+ if (G(this, Fe) >= 0) {
25066
+ const U = G(this, Fi)[G(this, Fe)];
25059
25067
  D.retFn = U.fn, D.retIdx = U.idx + 1;
25060
25068
  }
25061
- ++Te(this, Be)._ === G(this, Fi).length ? G(this, Fi).push(D) : G(this, Fi)[G(this, Be)] = D;
25069
+ ++Te(this, Fe)._ === G(this, Fi).length ? G(this, Fi).push(D) : G(this, Fi)[G(this, Fe)] = D;
25062
25070
  }
25063
25071
  recodeDesign(t) {
25064
25072
  let e = "", r = 0;
@@ -25069,10 +25077,10 @@ const si = class {
25069
25077
  } else
25070
25078
  e = G(this, se), r = G(this, Lt);
25071
25079
  t[":path"] = G(this, Kr).call(this, e);
25072
- const k = tt(this, Pr, sn).call(this, G(this, De)[e], r);
25080
+ const k = tt(this, Pr, sn).call(this, G(this, Be)[e], r);
25073
25081
  t[":ln"] = k.ln, t[":col_s"] = k.col_s, t[":col_e"] = k.col_e;
25074
25082
  const D = r - 1;
25075
- t[":idx_tkn"] = D, t[":token"] = G(this, De)[e].aToken[D], this.sys.send2Dbg("_recodeDesign", t);
25083
+ t[":idx_tkn"] = D, t[":token"] = G(this, Be)[e].aToken[D], this.sys.send2Dbg("_recodeDesign", t);
25076
25084
  }
25077
25085
  replace(t, e) {
25078
25086
  G(this, Qt).aToken[t] = e;
@@ -25144,7 +25152,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25144
25152
  if (H === 0)
25145
25153
  return $;
25146
25154
  for (let V = H - 1; V >= 0; --V) {
25147
- const X = G(this, ce)[V], z = G(this, De)[X.fn], Y = z.aToken[X.idx - 1], q = tt(this, Pr, sn).call(this, z, X.idx), W = tagToken2Name(Y);
25155
+ const X = G(this, ce)[V], z = G(this, Be)[X.fn], Y = z.aToken[X.idx - 1], q = tt(this, Pr, sn).call(this, z, X.idx), W = tagToken2Name(Y);
25148
25156
  $.push({
25149
25157
  fn: G(this, Kr).call(this, X.fn),
25150
25158
  ln: q.ln,
@@ -25172,7 +25180,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25172
25180
  if (r > 0) {
25173
25181
  console.info(e);
25174
25182
  for (let N = r - 1; N >= 0; --N) {
25175
- const k = G(this, ce)[N], D = k.csArg[":hMp"], U = D ? D[":タグ名"] : void 0, $ = k.csArg[":タグ名"] ?? "", H = tt(this, Pr, sn).call(this, G(this, De)[k.fn], k.idx);
25183
+ const k = G(this, ce)[N], D = k.csArg[":hMp"], U = D ? D[":タグ名"] : void 0, $ = k.csArg[":タグ名"] ?? "", H = tt(this, Pr, sn).call(this, G(this, Be)[k.fn], k.idx);
25176
25184
  console.info(
25177
25185
  `${r - N}つ前のコール元 fn:${k.fn} line:${H.ln} col:${H.col_s + 1}` + (U ? "([" + U + "]マクロ内)" : " ") + `で [${$} ...]をコール`
25178
25186
  );
@@ -25281,28 +25289,28 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25281
25289
  }, Wu = new WeakSet(), Zd = function(t) {
25282
25290
  return argChk_Boolean(t, "count", !0) || tt(this, wh, of).call(this), G(this, fi)[0] = -1, tt(this, er, Ir).call(this, t.fn, t.label), !0;
25283
25291
  }, qu = new WeakSet(), Jd = function(t) {
25284
- if (G(this, Be) === -1)
25292
+ if (G(this, Fe) === -1)
25285
25293
  return !1;
25286
25294
  if (argChk_Boolean(t, "clear", !1))
25287
- return Q(this, Fi, []), Q(this, Be, -1), !1;
25295
+ return Q(this, Fi, []), Q(this, Fe, -1), !1;
25288
25296
  const { to: e } = t;
25289
25297
  if (!e)
25290
25298
  throw "clearかtoは必須です";
25291
- const r = G(this, Be);
25299
+ const r = G(this, Fe);
25292
25300
  switch (e) {
25293
25301
  case "prev":
25294
- G(this, Be) > 0 && --Te(this, Be)._;
25302
+ G(this, Fe) > 0 && --Te(this, Fe)._;
25295
25303
  break;
25296
25304
  case "next":
25297
25305
  const U = G(this, Fi).length;
25298
- G(this, Be) < U - 1 && ++Te(this, Be)._;
25306
+ G(this, Fe) < U - 1 && ++Te(this, Fe)._;
25299
25307
  break;
25300
25308
  default:
25301
25309
  throw `属性to「${e}」は異常です`;
25302
25310
  }
25303
- if (r === G(this, Be))
25311
+ if (r === G(this, Fe))
25304
25312
  return !1;
25305
- const N = G(this, Fi)[G(this, Be)], { fn: k, idx: D } = tt(this, ma, qh).call(this);
25313
+ const N = G(this, Fi)[G(this, Fe)], { fn: k, idx: D } = tt(this, ma, qh).call(this);
25306
25314
  return N.key === D + ":" + k ? !1 : tt(this, pa, Wh).call(this, { fn: N.retFn, index: N.retIdx }, N.retMark);
25307
25315
  }, Ku = new WeakSet(), Qd = function(t) {
25308
25316
  if (argChk_Boolean(t, "clear", !1))
@@ -25321,7 +25329,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25321
25329
  const k = r[":resvToken"];
25322
25330
  k ? this.nextToken = () => (tt(this, is, Da).call(this), k) : tt(this, is, Da).call(this), r[":hEvt1Time"] && G(this, fa).pushLocalEvts(r[":hEvt1Time"]);
25323
25331
  const { fn: D, label: U } = t;
25324
- return D || U ? (tt(this, er, Ir).call(this, D, U), !0) : e.fn in G(this, De) ? (tt(this, Th, af).call(this, e), !1) : (tt(this, er, Ir).call(this, e.fn, "", e.idx), !0);
25332
+ return D || U ? (tt(this, er, Ir).call(this, D, U), !0) : e.fn in G(this, Be) ? (tt(this, Th, af).call(this, e), !1) : (tt(this, er, Ir).call(this, e.fn, "", e.idx), !0);
25325
25333
  }, yh = new WeakMap(), is = new WeakSet(), Da = function() {
25326
25334
  Q(this, yh, ""), this.nextToken = tt(this, bh, nf);
25327
25335
  }, rs = new WeakMap(), er = new WeakSet(), Ir = function(t = "", e = "", r = 0) {
@@ -25337,7 +25345,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25337
25345
  return;
25338
25346
  }
25339
25347
  Q(this, se, t);
25340
- const k = G(this, De)[t];
25348
+ const k = G(this, Be)[t];
25341
25349
  if (k) {
25342
25350
  Q(this, Qt, k), this.analyzeInit();
25343
25351
  return;
@@ -25439,19 +25447,19 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25439
25447
  q === 91 && (r += (Y.match(/\n/g) ?? []).length, G(this, Tr).testTagLetml(Y) && (H = !0));
25440
25448
  }
25441
25449
  throw H ? "[let_ml]の終端・[endlet_ml]がありません" : (DebugMng.myTrace(`[jump系] ラベル【${N}】がありません`, "ET"), "Dummy");
25442
- }, De = new WeakMap(), tc = new WeakSet(), ep = function(t) {
25450
+ }, Be = new WeakMap(), tc = new WeakSet(), ep = function(t) {
25443
25451
  let e = "";
25444
25452
  try {
25445
25453
  e = "ScriptIterator.resolveScript";
25446
25454
  const r = G(this, Tr).resolveScript(t);
25447
- e = "ScriptIterator.replaceScript_Wildcard", tt(this, rc, ip).call(this, r), G(this, De)[G(this, se)] = Q(this, Qt, r);
25455
+ e = "ScriptIterator.replaceScript_Wildcard", tt(this, rc, ip).call(this, r), G(this, Be)[G(this, se)] = Q(this, Qt, r);
25448
25456
  } catch (r) {
25449
25457
  r instanceof Error ? e += `例外 mes=${r.message}(${r.name})` : e = r, this.main.errScript(e, !1);
25450
25458
  }
25451
25459
  this.val.loadScrWork(G(this, se));
25452
25460
  }, Th = new WeakSet(), af = function(t) {
25453
25461
  Q(this, se, t.fn), Q(this, Lt, t.idx);
25454
- const e = G(this, De)[G(this, se)];
25462
+ const e = G(this, Be)[G(this, se)];
25455
25463
  e && Q(this, Qt, e), Q(this, pe, G(this, Qt).aLNum[t.idx]);
25456
25464
  }, ec = new WeakMap(), ic = new WeakMap(), rc = new WeakSet(), ip = function(t) {
25457
25465
  for (let e = t.len - 1; e >= 0; --e) {
@@ -25537,7 +25545,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25537
25545
  const k = String(this.val.getVal("save:const.sn.scriptFn")), D = Number(this.val.getVal("save:const.sn.scriptIdx"));
25538
25546
  return Q(this, fi, [...G(this, Bi).aIfStk]), Q(this, ce, []), G(this, ci).cover(!0), G(this, ci).stopAllTw(), "index" in t ? (G(this, ci).playback(G(this, Bi).hPages, () => {
25539
25547
  G(this, ci).cover(!1), Q(this, va, !0), tt(this, er, Ir).call(this, t.fn ?? k, "", t.index ?? D);
25540
- }), !0) : (delete G(this, De)[k], G(this, ci).playback(
25548
+ }), !0) : (delete G(this, Be)[k], G(this, ci).playback(
25541
25549
  G(this, Bi).hPages,
25542
25550
  "label" in t ? () => {
25543
25551
  G(this, ci).cover(!1), Q(this, se, k), Q(this, Lt, D), this.hTag.call({ fn: t.fn, label: t.label });
@@ -25547,15 +25555,15 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25547
25555
  ), !0);
25548
25556
  }, va = new WeakMap(), uc = new WeakSet(), hp = function(t) {
25549
25557
  const e = this.val.getMark(0);
25550
- delete G(this, De)[getFn(e.hSave["const.sn.scriptFn"])];
25558
+ delete G(this, Be)[getFn(e.hSave["const.sn.scriptFn"])];
25551
25559
  const r = {};
25552
- for (const N in G(this, De))
25560
+ for (const N in G(this, Be))
25553
25561
  try {
25554
25562
  G(this, qr).call(this, N + "@");
25555
25563
  } catch {
25556
- r[N] = G(this, De)[N];
25564
+ r[N] = G(this, Be)[N];
25557
25565
  }
25558
- return Q(this, De, r), t.do_rec = !1, tt(this, pa, Wh).call(this, t, e, !1);
25566
+ return Q(this, Be, r), t.do_rec = !1, tt(this, pa, Wh).call(this, t, e, !1);
25559
25567
  }, Bi = new WeakMap(), cc = new WeakSet(), lp = function() {
25560
25568
  if (this.main.isDestroyed())
25561
25569
  return !1;
@@ -25583,16 +25591,16 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25583
25591
  delete t[":タグ名"], delete t.place, t.text = t.text ?? "", G(this, Bi).json = t, this.val.setMark(e, G(this, Bi));
25584
25592
  const r = Number(this.val.getVal("sys:const.sn.save.place"));
25585
25593
  return e === r && this.val.setVal_Nochk("sys", "const.sn.save.place", r + 1), !1;
25586
- }, Fi = new WeakMap(), Be = new WeakMap(), Z(ScriptIterator, Uu, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), // reload 再生成 Main に受け渡すため static
25594
+ }, Fi = new WeakMap(), Fe = new WeakMap(), Z(ScriptIterator, Uu, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), // reload 再生成 Main に受け渡すため static
25587
25595
  Z(ScriptIterator, Jn, {}), Z(ScriptIterator, wr, {});
25588
- var ti, Ti, Fe, wi, Or, ns, Ne, Ch, Rr, ga, ss, Oh, Rh, ya, dc, cp, Mh, Ih, ba, xa, Kh, as, os;
25596
+ var ti, Ti, Ue, wi, Or, ns, Ne, Ch, Rr, ga, ss, Oh, Rh, ya, dc, cp, Mh, Ih, ba, xa, Kh, as, os;
25589
25597
  const Es = class {
25590
25598
  constructor(t) {
25591
25599
  Z(this, dc);
25592
25600
  Z(this, xa);
25593
25601
  Z(this, ti, void 0);
25594
25602
  Z(this, Ti, void 0);
25595
- Z(this, Fe, /* @__PURE__ */ Object.create(null));
25603
+ Z(this, Ue, /* @__PURE__ */ Object.create(null));
25596
25604
  // タグ処理辞書
25597
25605
  Z(this, wi, void 0);
25598
25606
  Z(this, Or, void 0);
@@ -25631,10 +25639,10 @@ const Es = class {
25631
25639
  }
25632
25640
  resumeByJumpOrCall(t) {
25633
25641
  if (t.url) {
25634
- G(this, Fe).navigate_to(t), G(this, Ne).jumpJustBefore();
25642
+ G(this, Ue).navigate_to(t), G(this, Ne).jumpJustBefore();
25635
25643
  return;
25636
25644
  }
25637
- G(this, wi).setVal_Nochk("tmp", "sn.eventArg", t.arg ?? ""), G(this, wi).setVal_Nochk("tmp", "sn.eventLabel", t.label ?? ""), argChk_Boolean(t, "call", !1) ? (G(this, Ne).subIdxToken(), this.resume(() => G(this, Fe).call(t))) : (G(this, Fe).clear_event({}), this.resume(() => G(this, Fe).jump(t)));
25645
+ G(this, wi).setVal_Nochk("tmp", "sn.eventArg", t.arg ?? ""), G(this, wi).setVal_Nochk("tmp", "sn.eventLabel", t.label ?? ""), argChk_Boolean(t, "call", !1) ? (G(this, Ne).subIdxToken(), this.resume(() => G(this, Ue).call(t))) : (G(this, Ue).clear_event({}), this.resume(() => G(this, Ue).jump(t)));
25638
25646
  }
25639
25647
  setLoop(t, e = "") {
25640
25648
  Q(this, ba, t) ? this.resume() : this.stop(), this.sys.setTitleInfo(e ? ` -- ${e}中` : "");
@@ -25643,11 +25651,11 @@ const Es = class {
25643
25651
  G(this, ga).fire(t, e);
25644
25652
  }
25645
25653
  async destroy(t = 0) {
25646
- G(this, as) || (Q(this, as, !0), G(this, Rh) && (this.stop(), Q(this, ba, !1), G(this, Rr).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), Q(this, Fe, {}), G(this, ga).destroy(), G(this, Ne).destroy(), G(this, Rr).destroy(), G(this, Ch).destroy(), G(this, Ti).ticker.remove(G(this, Mh)), G(this, os) && G(this, Ti) && Es.cvs.parentNode.appendChild(G(this, os)), clearTextureCache(), G(this, Ti).destroy(!0), this.sys.destroy()));
25654
+ G(this, as) || (Q(this, as, !0), G(this, Rh) && (this.stop(), Q(this, ba, !1), G(this, Rr).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), Q(this, Ue, {}), G(this, ga).destroy(), G(this, Ne).destroy(), G(this, Rr).destroy(), G(this, Ch).destroy(), G(this, Ti).ticker.remove(G(this, Mh)), G(this, os) && G(this, Ti) && Es.cvs.parentNode.appendChild(G(this, os)), clearTextureCache(), G(this, Ti).destroy(!0), this.sys.destroy()));
25647
25655
  }
25648
25656
  };
25649
25657
  let Main = Es;
25650
- ti = new WeakMap(), Ti = new WeakMap(), Fe = new WeakMap(), wi = new WeakMap(), Or = new WeakMap(), ns = new WeakMap(), Ne = new WeakMap(), Ch = new WeakMap(), Rr = new WeakMap(), ga = new WeakMap(), ss = new WeakMap(), Oh = new WeakMap(), Rh = new WeakMap(), ya = new WeakMap(), dc = new WeakSet(), cp = async function() {
25658
+ ti = new WeakMap(), Ti = new WeakMap(), Ue = new WeakMap(), wi = new WeakMap(), Or = new WeakMap(), ns = new WeakMap(), Ne = new WeakMap(), Ch = new WeakMap(), Rr = new WeakMap(), ga = new WeakMap(), ss = new WeakMap(), Oh = new WeakMap(), Rh = new WeakMap(), ya = new WeakMap(), dc = new WeakSet(), cp = async function() {
25651
25659
  var N;
25652
25660
  const t = (N = document.createElement("canvas")) == null ? void 0 : N.getContext("2d");
25653
25661
  if (!t)
@@ -25662,7 +25670,7 @@ ti = new WeakMap(), Ti = new WeakMap(), Fe = new WeakMap(), wi = new WeakMap(),
25662
25670
  resolution: globalThis.devicePixelRatio ?? 1
25663
25671
  // 理想
25664
25672
  }, r = document.getElementById(G(this, ya));
25665
- r && (Q(this, os, r.cloneNode(!0)), G(this, os).id = G(this, ya), e.view = r), Q(this, Ti, new Application(e)), Es.cvs = G(this, Ti).view, r || (document.body.appendChild(Es.cvs), Es.cvs.id = G(this, ya)), Q(this, wi, new Variable(G(this, ti), G(this, Fe))), Q(this, Or, new PropParser(G(this, wi), G(this, ti).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(G(this, Fe), G(this, Ti), G(this, wi), this)), G(this, Fe).title({ text: G(this, ti).oCfg.book.title || "SKYNovel" }), Q(this, ns, new SoundMng(G(this, ti), G(this, Fe), G(this, wi), this, this.sys)), Q(this, Ne, new ScriptIterator(G(this, ti), G(this, Fe), this, G(this, wi), G(this, Oh), () => tt(this, xa, Kh).call(this), G(this, Or), G(this, ns), this.sys)), Q(this, Ch, new DebugMng(this.sys, G(this, Fe), G(this, Ne))), Q(this, Rr, new LayerMng(G(this, ti), G(this, Fe), G(this, Ti), G(this, wi), this, G(this, Ne), this.sys, G(this, ns), G(this, Oh), G(this, Or))), Q(this, ga, new EventMng(G(this, ti), G(this, Fe), G(this, Ti), this, G(this, Rr), G(this, wi), G(this, ns), G(this, Ne), this.sys)), G(this, Ti).ticker.add(G(this, Mh)), this.resumeByJumpOrCall({ fn: "main" }), Q(this, Rh, !0);
25673
+ r && (Q(this, os, r.cloneNode(!0)), G(this, os).id = G(this, ya), e.view = r), Q(this, Ti, new Application(e)), Es.cvs = G(this, Ti).view, r || (document.body.appendChild(Es.cvs), Es.cvs.id = G(this, ya)), Q(this, wi, new Variable(G(this, ti), G(this, Ue))), Q(this, Or, new PropParser(G(this, wi), G(this, ti).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(G(this, Ue), G(this, Ti), G(this, wi), this)), G(this, Ue).title({ text: G(this, ti).oCfg.book.title || "SKYNovel" }), Q(this, ns, new SoundMng(G(this, ti), G(this, Ue), G(this, wi), this, this.sys)), Q(this, Ne, new ScriptIterator(G(this, ti), G(this, Ue), this, G(this, wi), G(this, Oh), () => tt(this, xa, Kh).call(this), G(this, Or), G(this, ns), this.sys)), Q(this, Ch, new DebugMng(this.sys, G(this, Ue), G(this, Ne))), Q(this, Rr, new LayerMng(G(this, ti), G(this, Ue), G(this, Ti), G(this, wi), this, G(this, Ne), this.sys, G(this, ns), G(this, Oh), G(this, Or))), Q(this, ga, new EventMng(G(this, ti), G(this, Ue), G(this, Ti), this, G(this, Rr), G(this, wi), G(this, ns), G(this, Ne), this.sys)), G(this, Ti).ticker.add(G(this, Mh)), this.resumeByJumpOrCall({ fn: "main" }), Q(this, Rh, !0);
25666
25674
  }, Mh = new WeakMap(), Ih = new WeakMap(), ba = new WeakMap(), xa = new WeakSet(), Kh = function() {
25667
25675
  for (; G(this, ba); ) {
25668
25676
  let t = G(this, Ne).nextToken();
@@ -25695,7 +25703,7 @@ ti = new WeakMap(), Ti = new WeakMap(), Fe = new WeakMap(), wi = new WeakMap(),
25695
25703
  if (G(this, Ne).isBreak(t))
25696
25704
  return;
25697
25705
  const r = splitAmpersand(t.slice(1));
25698
- r.name = G(this, Or).getValAmpersand(r.name), r.text = String(G(this, Or).parse(r.text)), G(this, Fe).let(r);
25706
+ r.name = G(this, Or).getValAmpersand(r.name), r.text = String(G(this, Or).parse(r.text)), G(this, Ue).let(r);
25699
25707
  continue;
25700
25708
  }
25701
25709
  if (t.charAt(1) === "&")