@famibee/skynovel 1.27.4 → 1.27.5

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/web.js CHANGED
@@ -67727,9 +67727,17 @@ class CmnLib {
67727
67727
  if (cvs.parentElement) {
67728
67728
  const ps = cvs.parentElement.style;
67729
67729
  ps.position = 'relative';
67730
+ ps.width = `${CmnLib.cvsWidth}px`;
67731
+ ps.height = `${CmnLib.cvsHeight}px`;
67730
67732
  const s = cvs.style;
67731
- ps.width = s.width = `${CmnLib.cvsWidth}px`;
67732
- ps.height = s.height = `${CmnLib.cvsHeight}px`;
67733
+ if (CmnLib.isFullScr) {
67734
+ s.width = '';
67735
+ s.height = '';
67736
+ }
67737
+ else {
67738
+ s.width = ps.width;
67739
+ s.height = ps.height;
67740
+ }
67733
67741
  }
67734
67742
  return bk_cw !== CmnLib.cvsWidth || bk_ch !== CmnLib.cvsHeight;
67735
67743
  }
@@ -67754,6 +67762,7 @@ CmnLib.isRetina = false;
67754
67762
  CmnLib.isDarkMode = false;
67755
67763
  CmnLib.retinaRate = 1;
67756
67764
  CmnLib.SN_ID = 'skynovel';
67765
+ CmnLib.isFullScr = false;
67757
67766
 
67758
67767
 
67759
67768
  /***/ }),
@@ -69063,9 +69072,8 @@ class EventMng {
69063
69072
  catch { }
69064
69073
  const ctx = __classPrivateFieldGet(this, _EventMng_cvsHint, "f").getContext('2d');
69065
69074
  if (ctx) {
69066
- const cvs = document.getElementById(CmnLib_1.CmnLib.SN_ID);
69067
69075
  __classPrivateFieldGet(this, _EventMng_cvsHint, "f").hidden = true;
69068
- cvs.parentElement.appendChild(__classPrivateFieldGet(this, _EventMng_cvsHint, "f"));
69076
+ appPixi.view.parentElement.appendChild(__classPrivateFieldGet(this, _EventMng_cvsHint, "f"));
69069
69077
  const s = __classPrivateFieldGet(this, _EventMng_cvsHint, "f").style;
69070
69078
  s.position = 'absolute';
69071
69079
  s.left = s.top = '0';
@@ -69623,7 +69631,7 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
69623
69631
  }, "f");
69624
69632
  return false;
69625
69633
  }, _EventMng_set_focus = function _EventMng_set_focus(hArg) {
69626
- const add = hArg.add;
69634
+ const { add, del, to } = hArg;
69627
69635
  if (add?.slice(0, 4) === 'dom=') {
69628
69636
  const g = __classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_getHtmlElmList).call(this, add);
69629
69637
  if (g.el.length === 0 && (0, CmnLib_1.argChk_Boolean)(hArg, 'need_err', true))
@@ -69636,7 +69644,6 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
69636
69644
  }, () => { }));
69637
69645
  return false;
69638
69646
  }
69639
- const del = hArg.del;
69640
69647
  if (del?.slice(0, 4) === 'dom=') {
69641
69648
  const g = __classPrivateFieldGet(this, _EventMng_instances, "m", _EventMng_getHtmlElmList).call(this, del);
69642
69649
  if (g.el.length === 0 && (0, CmnLib_1.argChk_Boolean)(hArg, 'need_err', true))
@@ -69644,7 +69651,6 @@ _EventMng_elc = new WeakMap(), _EventMng_cvsHint = new WeakMap(), _EventMng_picH
69644
69651
  g.el.forEach(elm => __classPrivateFieldGet(this, _EventMng_fcs, "f").remove(elm));
69645
69652
  return false;
69646
69653
  }
69647
- const to = hArg.to;
69648
69654
  if (!to)
69649
69655
  throw '[set_focus] add か to は必須です';
69650
69656
  switch (to) {
@@ -69956,12 +69962,13 @@ class FrameMng {
69956
69962
  getFrmDisabled(id) { return __classPrivateFieldGet(this, _FrameMng_hDisabled, "f")[id]; }
69957
69963
  cvsResize() {
69958
69964
  const scale = this.sys.reso4frame * CmnLib_1.CmnLib.cvsScale;
69959
- for (const n in __classPrivateFieldGet(this, _FrameMng_hIfrm, "f")) {
69960
- const f = __classPrivateFieldGet(this, _FrameMng_hIfrm, "f")[n];
69961
- const x = Number(this.val.getVal(`const.sn.frm.${n}.x`));
69962
- const y = Number(this.val.getVal(`const.sn.frm.${n}.y`));
69963
- const w = Number(this.val.getVal(`const.sn.frm.${n}.width`));
69964
- const h = Number(this.val.getVal(`const.sn.frm.${n}.height`));
69965
+ for (const id in __classPrivateFieldGet(this, _FrameMng_hIfrm, "f")) {
69966
+ const f = __classPrivateFieldGet(this, _FrameMng_hIfrm, "f")[id];
69967
+ const vn = 'const.sn.frm.' + id;
69968
+ const x = Number(this.val.getVal(vn + '.x'));
69969
+ const y = Number(this.val.getVal(vn + '.y'));
69970
+ const w = Number(this.val.getVal(vn + '.width'));
69971
+ const h = Number(this.val.getVal(vn + '.height'));
69965
69972
  f.style.left = this.sys.ofsLeft4frm + x * scale + 'px';
69966
69973
  f.style.top = this.sys.ofsTop4frm + y * scale + 'px';
69967
69974
  f.width = String(w * scale);
@@ -69971,14 +69978,13 @@ class FrameMng {
69971
69978
  }
69972
69979
  exports.FrameMng = FrameMng;
69973
69980
  _FrameMng_evtMng = new WeakMap(), _FrameMng_hIfrm = new WeakMap(), _FrameMng_hDisabled = new WeakMap(), _FrameMng_zIdx = new WeakMap(), _FrameMng_instances = new WeakSet(), _FrameMng_add_frame = function _FrameMng_add_frame(hArg) {
69974
- const id = hArg.id;
69981
+ const { id, src } = hArg;
69975
69982
  if (!id)
69976
69983
  throw 'idは必須です';
69977
- const src = hArg.src;
69978
69984
  if (!src)
69979
69985
  throw 'srcは必須です';
69980
- const frmnm = `const.sn.frm.${id}`;
69981
- if (this.val.getVal(`tmp:${frmnm}`))
69986
+ const vn = 'const.sn.frm.' + id;
69987
+ if (this.val.getVal(`tmp:${vn}`))
69982
69988
  throw `frame【${id}】はすでにあります`;
69983
69989
  const a = (0, CmnLib_1.argChk_Num)(hArg, 'alpha', 1);
69984
69990
  const sx = (0, CmnLib_1.argChk_Num)(hArg, 'scale_x', 1);
@@ -70012,16 +70018,16 @@ _FrameMng_evtMng = new WeakMap(), _FrameMng_hIfrm = new WeakMap(), _FrameMng_hDi
70012
70018
  ? this.sys.cur + p2.slice(4)
70013
70019
  : v.replace(p1, p1 + url.slice(0, url.lastIndexOf('/') + 1)));
70014
70020
  ifrm.onload = () => {
70015
- this.val.setVal_Nochk('tmp', frmnm, true);
70016
- this.val.setVal_Nochk('tmp', frmnm + '.alpha', a);
70017
- this.val.setVal_Nochk('tmp', frmnm + '.x', rct.x);
70018
- this.val.setVal_Nochk('tmp', frmnm + '.y', rct.y);
70019
- this.val.setVal_Nochk('tmp', frmnm + '.scale_x', sx);
70020
- this.val.setVal_Nochk('tmp', frmnm + '.scale_y', sy);
70021
- this.val.setVal_Nochk('tmp', frmnm + '.rotate', r);
70022
- this.val.setVal_Nochk('tmp', frmnm + '.width', rct.width);
70023
- this.val.setVal_Nochk('tmp', frmnm + '.height', rct.height);
70024
- this.val.setVal_Nochk('tmp', frmnm + '.visible', v);
70021
+ this.val.setVal_Nochk('tmp', vn, true);
70022
+ this.val.setVal_Nochk('tmp', vn + '.alpha', a);
70023
+ this.val.setVal_Nochk('tmp', vn + '.x', rct.x);
70024
+ this.val.setVal_Nochk('tmp', vn + '.y', rct.y);
70025
+ this.val.setVal_Nochk('tmp', vn + '.scale_x', sx);
70026
+ this.val.setVal_Nochk('tmp', vn + '.scale_y', sy);
70027
+ this.val.setVal_Nochk('tmp', vn + '.rotate', r);
70028
+ this.val.setVal_Nochk('tmp', vn + '.width', rct.width);
70029
+ this.val.setVal_Nochk('tmp', vn + '.height', rct.height);
70030
+ this.val.setVal_Nochk('tmp', vn + '.visible', v);
70025
70031
  const win = ifrm.contentWindow;
70026
70032
  __classPrivateFieldGet(this, _FrameMng_evtMng, "f").resvFlameEvent(win);
70027
70033
  (win.sn_repRes)?.((img) => GrpLayer_1.GrpLayer.loadPic2Img((img.dataset.src ?? ''), img));
@@ -70034,131 +70040,126 @@ _FrameMng_evtMng = new WeakMap(), _FrameMng_hIfrm = new WeakMap(), _FrameMng_hDi
70034
70040
  const re = this.sys.resolution;
70035
70041
  return new DOMRect((0, CmnLib_1.argChk_Num)(a, 'x', 0) * re, (0, CmnLib_1.argChk_Num)(a, 'y', 0) * re, (0, CmnLib_1.argChk_Num)(a, 'width', CmnLib_1.CmnLib.stageW) * re, (0, CmnLib_1.argChk_Num)(a, 'height', CmnLib_1.CmnLib.stageH) * re);
70036
70042
  }, _FrameMng_let_frame = function _FrameMng_let_frame(hArg) {
70037
- const id = hArg.id;
70043
+ const { id, var_name } = hArg;
70038
70044
  if (!id)
70039
70045
  throw 'idは必須です';
70040
- const ifrm = document.getElementById(id);
70041
- if (!ifrm)
70046
+ const f = document.getElementById(id);
70047
+ if (!f)
70042
70048
  throw `id【${id}】はフレームではありません`;
70043
- const frmnm = `const.sn.frm.${id}`;
70044
- if (!this.val.getVal(`tmp:${frmnm}`))
70049
+ const vn = 'const.sn.frm.' + id;
70050
+ if (!this.val.getVal(`tmp:${vn}`))
70045
70051
  throw `frame【${id}】が読み込まれていません`;
70046
- const var_name = hArg.var_name;
70047
70052
  if (!var_name)
70048
70053
  throw 'var_nameは必須です';
70049
- const win = ifrm.contentWindow;
70054
+ const win = f.contentWindow;
70050
70055
  if (!win.hasOwnProperty(var_name))
70051
70056
  throw `frame【${id}】に変数/関数【${var_name}】がありません。変数は var付きにして下さい`;
70052
70057
  const v = win[var_name];
70053
- this.val.setVal_Nochk('tmp', frmnm + '.' + var_name, (0, CmnLib_1.argChk_Boolean)(hArg, 'function', false) ? v() : v);
70058
+ this.val.setVal_Nochk('tmp', vn + '.' + var_name, (0, CmnLib_1.argChk_Boolean)(hArg, 'function', false) ? v() : v);
70054
70059
  return false;
70055
70060
  }, _FrameMng_set_frame = function _FrameMng_set_frame(hArg) {
70056
- const id = hArg.id;
70061
+ const { id, var_name, text } = hArg;
70057
70062
  if (!id)
70058
70063
  throw 'idは必須です';
70059
- const ifrm = document.getElementById(id);
70060
- if (!ifrm)
70064
+ const f = document.getElementById(id);
70065
+ if (!f)
70061
70066
  throw `id【${id}】はフレームではありません`;
70062
- const frmnm = `const.sn.frm.${id}`;
70063
- if (!this.val.getVal(`tmp:${frmnm}`))
70067
+ const vn = 'const.sn.frm.' + id;
70068
+ if (!this.val.getVal(`tmp:${vn}`))
70064
70069
  throw `frame【${id}】が読み込まれていません`;
70065
- const var_name = hArg.var_name;
70066
70070
  if (!var_name)
70067
70071
  throw 'var_nameは必須です';
70068
- const text = hArg.text;
70069
70072
  if (!text)
70070
70073
  throw 'textは必須です';
70071
- this.val.setVal_Nochk('tmp', frmnm + '.' + var_name, text);
70072
- const win = ifrm.contentWindow;
70074
+ this.val.setVal_Nochk('tmp', vn + '.' + var_name, text);
70075
+ const win = f.contentWindow;
70073
70076
  win[var_name] = text;
70074
70077
  return false;
70075
70078
  }, _FrameMng_frame = function _FrameMng_frame(hArg) {
70076
70079
  var _a, _b;
70077
- const id = hArg.id;
70080
+ const { id } = hArg;
70078
70081
  if (!id)
70079
70082
  throw 'idは必須です';
70080
- const ifrm = document.getElementById(id);
70081
- if (!ifrm)
70083
+ const f = document.getElementById(id);
70084
+ if (!f)
70082
70085
  throw `id【${id}】はフレームではありません`;
70083
- const frmnm = `const.sn.frm.${id}`;
70084
- if (!this.val.getVal(`tmp:${frmnm}`))
70086
+ const vn = 'const.sn.frm.' + id;
70087
+ if (!this.val.getVal('tmp:' + vn))
70085
70088
  throw `frame【${id}】が読み込まれていません`;
70086
- if ((0, CmnLib_1.argChk_Boolean)(hArg, 'float', false)) {
70087
- ifrm.style.zIndex = String(__classPrivateFieldSet(this, _FrameMng_zIdx, (_a = __classPrivateFieldGet(this, _FrameMng_zIdx, "f"), ++_a), "f"));
70088
- }
70089
- else if (hArg.index) {
70090
- ifrm.style.zIndex = String((0, CmnLib_1.argChk_Num)(hArg, 'index', 0));
70091
- }
70089
+ const s = f.style;
70090
+ if ((0, CmnLib_1.argChk_Boolean)(hArg, 'float', false))
70091
+ s.zIndex = `${__classPrivateFieldSet(this, _FrameMng_zIdx, (_a = __classPrivateFieldGet(this, _FrameMng_zIdx, "f"), ++_a), "f")}`;
70092
+ else if (hArg.index)
70093
+ s.zIndex = `${(0, CmnLib_1.argChk_Num)(hArg, 'index', 0)}`;
70092
70094
  else if (hArg.dive)
70093
- ifrm.style.zIndex = '-' + String(__classPrivateFieldSet(this, _FrameMng_zIdx, (_b = __classPrivateFieldGet(this, _FrameMng_zIdx, "f"), ++_b), "f"));
70095
+ s.zIndex = `-${__classPrivateFieldSet(this, _FrameMng_zIdx, (_b = __classPrivateFieldGet(this, _FrameMng_zIdx, "f"), ++_b), "f")}`;
70094
70096
  if ('alpha' in hArg) {
70095
- const a = String(hArg.alpha);
70096
- ifrm.style.opacity = a;
70097
- this.val.setVal_Nochk('tmp', frmnm + '.alpha', a);
70097
+ const a = s.opacity = String(hArg.alpha);
70098
+ this.val.setVal_Nochk('tmp', vn + '.alpha', a);
70098
70099
  }
70099
70100
  const rct = __classPrivateFieldGet(this, _FrameMng_instances, "m", _FrameMng_rect).call(this, hArg);
70100
70101
  const scale = this.sys.reso4frame * CmnLib_1.CmnLib.cvsScale;
70101
70102
  if ('x' in hArg || 'y' in hArg) {
70102
- ifrm.style.left = this.sys.ofsLeft4frm + rct.x * scale + 'px';
70103
- ifrm.style.top = this.sys.ofsTop4frm + rct.y * scale + 'px';
70104
- this.val.setVal_Nochk('tmp', frmnm + '.x', rct.x);
70105
- this.val.setVal_Nochk('tmp', frmnm + '.y', rct.y);
70103
+ s.left = `${this.sys.ofsLeft4frm + rct.x * scale}px`;
70104
+ s.top = `${this.sys.ofsTop4frm + rct.y * scale}px`;
70105
+ this.val.setVal_Nochk('tmp', vn + '.x', rct.x);
70106
+ this.val.setVal_Nochk('tmp', vn + '.y', rct.y);
70106
70107
  }
70107
70108
  if ('scale_x' in hArg || 'scale_y' in hArg || 'rotate' in hArg) {
70108
70109
  const sx = (0, CmnLib_1.argChk_Num)(hArg, 'scale_x', 1);
70109
70110
  const sy = (0, CmnLib_1.argChk_Num)(hArg, 'scale_y', 1);
70110
70111
  const r = (0, CmnLib_1.argChk_Num)(hArg, 'rotate', 0);
70111
- ifrm.style.transform = `scale(${sx}, ${sy}) rotate(${r}deg)`;
70112
- this.val.setVal_Nochk('tmp', frmnm + '.scale_x', sx);
70113
- this.val.setVal_Nochk('tmp', frmnm + '.scale_y', sy);
70114
- this.val.setVal_Nochk('tmp', frmnm + '.rotate', r);
70112
+ s.transform = `scale(${sx}, ${sy}) rotate(${r}deg)`;
70113
+ this.val.setVal_Nochk('tmp', vn + '.scale_x', sx);
70114
+ this.val.setVal_Nochk('tmp', vn + '.scale_y', sy);
70115
+ this.val.setVal_Nochk('tmp', vn + '.rotate', r);
70115
70116
  }
70116
70117
  if ('width' in hArg) {
70117
- ifrm.width = String(rct.width * scale);
70118
- this.val.setVal_Nochk('tmp', frmnm + '.width', rct.width);
70118
+ f.width = String(rct.width * scale);
70119
+ this.val.setVal_Nochk('tmp', vn + '.width', rct.width);
70119
70120
  }
70120
70121
  if ('height' in hArg) {
70121
- ifrm.height = String(rct.height * scale);
70122
- this.val.setVal_Nochk('tmp', frmnm + '.height', rct.height);
70122
+ f.height = String(rct.height * scale);
70123
+ this.val.setVal_Nochk('tmp', vn + '.height', rct.height);
70123
70124
  }
70124
70125
  if ('visible' in hArg) {
70125
70126
  const v = (0, CmnLib_1.argChk_Boolean)(hArg, 'visible', true);
70126
- ifrm.style.display = v ? 'inline' : 'none';
70127
- this.val.setVal_Nochk('tmp', frmnm + '.visible', v);
70127
+ s.display = v ? 'inline' : 'none';
70128
+ this.val.setVal_Nochk('tmp', vn + '.visible', v);
70128
70129
  }
70129
70130
  if ('b_color' in hArg)
70130
- ifrm.style.backgroundColor = hArg.b_color;
70131
+ s.backgroundColor = hArg.b_color;
70131
70132
  if ('disabled' in hArg) {
70132
70133
  const d = __classPrivateFieldGet(this, _FrameMng_hDisabled, "f")[id] = (0, CmnLib_1.argChk_Boolean)(hArg, 'disabled', true);
70133
- const il = ifrm.contentDocument.body.querySelectorAll('input,select');
70134
+ const il = f.contentDocument.body.querySelectorAll('input,select');
70134
70135
  il.forEach(v => v.disabled = d);
70135
70136
  }
70136
70137
  return false;
70137
70138
  }, _FrameMng_tsy_frame = function _FrameMng_tsy_frame(hArg) {
70138
- const id = hArg.id;
70139
+ const { id } = hArg;
70139
70140
  if (!id)
70140
70141
  throw 'idは必須です';
70141
- const ifrm = document.getElementById(id);
70142
- if (!ifrm)
70142
+ const f = document.getElementById(id);
70143
+ if (!f)
70143
70144
  throw `id【${id}】はフレームではありません`;
70144
- const frmnm = `const.sn.frm.${id}`;
70145
- if (!this.val.getVal(`tmp:${frmnm}`, 0))
70145
+ const vn = `const.sn.frm.` + id;
70146
+ if (!this.val.getVal(`tmp:${vn}`, 0))
70146
70147
  throw `frame【${id}】が読み込まれていません`;
70147
70148
  const hNow = {};
70148
70149
  if ('alpha' in hArg)
70149
- hNow.a = ifrm.style.opacity;
70150
+ hNow.a = f.style.opacity;
70150
70151
  if ('x' in hArg || 'y' in hArg
70151
70152
  || 'scale_x' in hArg || 'scale_y' in hArg || 'rotate' in hArg) {
70152
- hNow.x = Number(this.val.getVal(`tmp:${frmnm}.x`));
70153
- hNow.y = Number(this.val.getVal(`tmp:${frmnm}.y`));
70154
- hNow.sx = Number(this.val.getVal(`tmp:${frmnm}.scale_x`));
70155
- hNow.sy = Number(this.val.getVal(`tmp:${frmnm}.scale_y`));
70156
- hNow.r = Number(this.val.getVal(`tmp:${frmnm}.rotate`));
70153
+ hNow.x = Number(this.val.getVal(`tmp:${vn}.x`));
70154
+ hNow.y = Number(this.val.getVal(`tmp:${vn}.y`));
70155
+ hNow.sx = Number(this.val.getVal(`tmp:${vn}.scale_x`));
70156
+ hNow.sy = Number(this.val.getVal(`tmp:${vn}.scale_y`));
70157
+ hNow.r = Number(this.val.getVal(`tmp:${vn}.rotate`));
70157
70158
  }
70158
70159
  if ('width' in hArg)
70159
- hNow.w = this.val.getVal(`tmp:${frmnm}.width`);
70160
+ hNow.w = this.val.getVal(`tmp:${vn}.width`);
70160
70161
  if ('height' in hArg)
70161
- hNow.h = this.val.getVal(`tmp:${frmnm}.height`);
70162
+ hNow.h = this.val.getVal(`tmp:${vn}.height`);
70162
70163
  const hArg2 = (0, CmnLib_1.cnvTweenArg)(hArg, hNow);
70163
70164
  const hTo = {};
70164
70165
  const repeat = (0, CmnLib_1.argChk_Num)(hArg, 'repeat', 1);
@@ -70166,7 +70167,7 @@ _FrameMng_evtMng = new WeakMap(), _FrameMng_hIfrm = new WeakMap(), _FrameMng_hDi
70166
70167
  if ('alpha' in hArg) {
70167
70168
  hTo.a = (0, CmnLib_1.argChk_Num)(hArg2, 'alpha', 0);
70168
70169
  fncA = () => {
70169
- ifrm.style.opacity = hNow.a;
70170
+ f.style.opacity = hNow.a;
70170
70171
  this.val.setVal_Nochk('tmp', 'alpha', hNow.a);
70171
70172
  };
70172
70173
  }
@@ -70181,30 +70182,30 @@ _FrameMng_evtMng = new WeakMap(), _FrameMng_hIfrm = new WeakMap(), _FrameMng_hDi
70181
70182
  hTo.sy = (0, CmnLib_1.argChk_Num)(hArg2, 'scale_y', 1);
70182
70183
  hTo.r = (0, CmnLib_1.argChk_Num)(hArg2, 'rotate', 0);
70183
70184
  fncXYSR = () => {
70184
- ifrm.style.left = this.sys.ofsLeft4frm + hNow.x * scale + 'px';
70185
- ifrm.style.top = this.sys.ofsTop4frm + hNow.y * scale + 'px';
70186
- ifrm.style.transform = `scale(${hNow.sx}, ${hNow.sy}) rotate(${hNow.r}deg)`;
70187
- this.val.setVal_Nochk('tmp', frmnm + '.x', hNow.x);
70188
- this.val.setVal_Nochk('tmp', frmnm + '.y', hNow.y);
70189
- this.val.setVal_Nochk('tmp', frmnm + '.scale_x', hNow.sx);
70190
- this.val.setVal_Nochk('tmp', frmnm + '.scale_y', hNow.sy);
70191
- this.val.setVal_Nochk('tmp', frmnm + '.rotate', hNow.r);
70185
+ f.style.left = this.sys.ofsLeft4frm + hNow.x * scale + 'px';
70186
+ f.style.top = this.sys.ofsTop4frm + hNow.y * scale + 'px';
70187
+ f.style.transform = `scale(${hNow.sx}, ${hNow.sy}) rotate(${hNow.r}deg)`;
70188
+ this.val.setVal_Nochk('tmp', vn + '.x', hNow.x);
70189
+ this.val.setVal_Nochk('tmp', vn + '.y', hNow.y);
70190
+ this.val.setVal_Nochk('tmp', vn + '.scale_x', hNow.sx);
70191
+ this.val.setVal_Nochk('tmp', vn + '.scale_y', hNow.sy);
70192
+ this.val.setVal_Nochk('tmp', vn + '.rotate', hNow.r);
70192
70193
  };
70193
70194
  }
70194
70195
  let fncW = () => { };
70195
70196
  if ('width' in hArg) {
70196
70197
  hTo.w = rct.width;
70197
70198
  fncW = () => {
70198
- ifrm.width = hNow.w * scale + 'px';
70199
- this.val.setVal_Nochk('tmp', frmnm + '.width', hNow.w);
70199
+ f.width = hNow.w * scale + 'px';
70200
+ this.val.setVal_Nochk('tmp', vn + '.width', hNow.w);
70200
70201
  };
70201
70202
  }
70202
70203
  let fncH = () => { };
70203
70204
  if ('height' in hArg) {
70204
70205
  hTo.h = rct.height;
70205
70206
  fncH = () => {
70206
- ifrm.height = hNow.h * scale + 'px';
70207
- this.val.setVal_Nochk('tmp', frmnm + '.height', hNow.h);
70207
+ f.height = hNow.h * scale + 'px';
70208
+ this.val.setVal_Nochk('tmp', vn + '.height', hNow.h);
70208
70209
  };
70209
70210
  }
70210
70211
  this.appPixi.stage.interactive = false;
@@ -70361,10 +70362,9 @@ class Grammar {
70361
70362
  this.REG_TOKEN_NOTXT = new RegExp(`[\\n\\t;\\[*&${ce ? `\\${ce}` : ''}]`);
70362
70363
  }
70363
70364
  bracket2macro(hArg, script, idxToken) {
70364
- const name = hArg.name;
70365
+ const { name, text } = hArg;
70365
70366
  if (!name)
70366
70367
  throw '[bracket2macro] nameは必須です';
70367
- const text = hArg.text;
70368
70368
  if (!text)
70369
70369
  throw '[bracket2macro] textは必須です';
70370
70370
  if (text.length !== 2)
@@ -70388,7 +70388,7 @@ class Grammar {
70388
70388
  this.replaceScr_C2M_And_let_ml(script, idxToken);
70389
70389
  }
70390
70390
  char2macro(hArg, hTag, script, idxToken) {
70391
- const char = hArg.char;
70391
+ const { char, name } = hArg;
70392
70392
  if (!char)
70393
70393
  throw '[char2macro] charは必須です';
70394
70394
  __classPrivateFieldSet(this, _Grammar_hC2M, __classPrivateFieldGet(this, _Grammar_hC2M, "f") ?? {}, "f");
@@ -70397,7 +70397,6 @@ class Grammar {
70397
70397
  __classPrivateFieldGet(this, _Grammar_REG_CANTC2M, "f").lastIndex = 0;
70398
70398
  if (__classPrivateFieldGet(this, _Grammar_REG_CANTC2M, "f").test(char))
70399
70399
  throw '[char2macro] char【' + char + '】は一文字マクロに使用できない文字です';
70400
- const name = hArg.name;
70401
70400
  if (!name)
70402
70401
  throw '[char2macro] nameは必須です';
70403
70402
  if (!(name in hTag))
@@ -70499,8 +70498,7 @@ class GrpLayer extends Layer_1.Layer {
70499
70498
  }
70500
70499
  setSp(_sp) { }
70501
70500
  laySub(hArg, resolve) {
70502
- const fn = hArg.fn;
70503
- const face = hArg.face ?? '';
70501
+ const { fn, face = '' } = hArg;
70504
70502
  __classPrivateFieldGet(this, _GrpLayer_idc, "f").sethArg(hArg);
70505
70503
  if (!fn) {
70506
70504
  super.lay(hArg);
@@ -70611,7 +70609,7 @@ class GrpLayer extends Layer_1.Layer {
70611
70609
  return needLoad;
70612
70610
  }
70613
70611
  static wv(hArg) {
70614
- const fn = hArg.fn;
70612
+ const { fn } = hArg;
70615
70613
  if (!fn)
70616
70614
  throw 'fnは必須です';
70617
70615
  const hve = GrpLayer.hFn2VElm[fn];
@@ -70710,12 +70708,12 @@ class GrpLayer extends Layer_1.Layer {
70710
70708
  Layer_1.Layer.setXY((this.spLay.children.length === 0) ? this.spLay : this.spLay.children[0], hArg, this.spLay, true);
70711
70709
  }
70712
70710
  static add_face(hArg) {
70713
- const name = hArg.name;
70711
+ const { name } = hArg;
70714
70712
  if (!name)
70715
70713
  throw 'nameは必須です';
70716
70714
  if (name in __classPrivateFieldGet(GrpLayer, _a, "f", _GrpLayer_hFace))
70717
70715
  throw '一つのname(' + name + ')に対して同じ画像を複数割り当てられません';
70718
- const fn = hArg.fn ?? name;
70716
+ const { fn = name } = hArg;
70719
70717
  __classPrivateFieldGet(GrpLayer, _a, "f", _GrpLayer_hFace)[name] = {
70720
70718
  fn,
70721
70719
  dx: (0, CmnLib_1.argChk_Num)(hArg, 'dx', 0) * CmnLib_1.CmnLib.retinaRate,
@@ -70926,10 +70924,10 @@ class Layer {
70926
70924
  return false;
70927
70925
  }
70928
70926
  static setBlendmode(cnt, hArg) {
70929
- const bm_name = hArg.blendmode;
70930
- if (!bm_name)
70927
+ const { blendmode } = hArg;
70928
+ if (!blendmode)
70931
70929
  return;
70932
- const bmn = Layer.getBlendmodeNum(bm_name);
70930
+ const bmn = Layer.getBlendmodeNum(blendmode);
70933
70931
  const sp = cnt;
70934
70932
  if (sp)
70935
70933
  sp.blendMode = bmn;
@@ -71274,9 +71272,8 @@ void main(void) {
71274
71272
  _LayerMng_chkTxtLay.set(this, () => { throw '文字レイヤーがありません。文字表示や操作する前に、[add_lay layer=(レイヤ名) class=txt]で文字レイヤを追加して下さい'; });
71275
71273
  _LayerMng_oLastPage.set(this, { text: '' });
71276
71274
  _LayerMng_aTxtLog.set(this, []);
71277
- const cvs = document.getElementById(CmnLib_1.CmnLib.SN_ID);
71278
71275
  const fncResizeLay = () => {
71279
- if (!CmnLib_1.CmnLib.cvsResize(cvs))
71276
+ if (!CmnLib_1.CmnLib.cvsResize(appPixi.view))
71280
71277
  return;
71281
71278
  this.cvsResizeDesign();
71282
71279
  if (__classPrivateFieldGet(this, _LayerMng_modeLnSub, "f"))
@@ -71297,7 +71294,7 @@ void main(void) {
71297
71294
  tid = setTimeout(() => { tid = 0; fncResizeLay(); }, 500);
71298
71295
  }, { passive: true });
71299
71296
  }
71300
- CmnLib_1.CmnLib.cvsResize(cvs);
71297
+ CmnLib_1.CmnLib.cvsResize(appPixi.view);
71301
71298
  TxtLayer_1.TxtLayer.init(cfg, hTag, val, (txt) => this.recText(txt), (me) => __classPrivateFieldGet(this, _LayerMng_hPages, "f")[me.layname].fore === me);
71302
71299
  GrpLayer_1.GrpLayer.init(main, cfg, appPixi, sys, sndMng);
71303
71300
  Button_1.Button.init(cfg);
@@ -71575,7 +71572,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
71575
71572
  });
71576
71573
  return false;
71577
71574
  }, _LayerMng_loadplugin = function _LayerMng_loadplugin(hArg) {
71578
- const fn = hArg.fn;
71575
+ const { fn } = hArg;
71579
71576
  if (!fn)
71580
71577
  throw 'fnは必須です';
71581
71578
  const join = (0, CmnLib_1.argChk_Boolean)(hArg, 'join', true);
@@ -71594,14 +71591,13 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
71594
71591
  }
71595
71592
  return join;
71596
71593
  }, _LayerMng_add_lay = function _LayerMng_add_lay(hArg) {
71597
- const layer = hArg.layer;
71594
+ const { layer, class: cls } = hArg;
71598
71595
  if (!layer)
71599
71596
  throw 'layerは必須です';
71600
71597
  if (layer.includes(','))
71601
71598
  throw 'layer名に「,」は使えません';
71602
71599
  if (layer in __classPrivateFieldGet(this, _LayerMng_hPages, "f"))
71603
71600
  throw `layer【${layer}】はすでにあります`;
71604
- const cls = hArg.class;
71605
71601
  if (!cls)
71606
71602
  throw 'clsは必須です';
71607
71603
  const ret = { isWait: false };
@@ -71657,7 +71653,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
71657
71653
  }
71658
71654
  }
71659
71655
  else if (hArg.dive) {
71660
- const dive = hArg.dive;
71656
+ const { dive } = hArg;
71661
71657
  let idx_dive = 0;
71662
71658
  if (layer === dive)
71663
71659
  throw '[lay] 属性 layerとdiveが同じ【' + dive + '】です';
@@ -71969,8 +71965,8 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
71969
71965
  __classPrivateFieldGet(this, _LayerMng_hTwInf, "f")[tw_nm]?.tw?.resume();
71970
71966
  return false;
71971
71967
  }, _LayerMng_ch = function _LayerMng_ch(hArg) {
71972
- const txt = hArg.text;
71973
- if (!txt)
71968
+ const { text } = hArg;
71969
+ if (!text)
71974
71970
  throw 'textは必須です';
71975
71971
  const tl = __classPrivateFieldGet(this, _LayerMng_getTxtLayer, "f").call(this, hArg);
71976
71972
  delete hArg.text;
@@ -71982,7 +71978,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
71982
71978
  const doRecLog = this.val.doRecLog();
71983
71979
  if (!record)
71984
71980
  this.val.setVal_Nochk('save', 'sn.doRecLog', record);
71985
- tl.tagCh(txt.replaceAll('[r]', '\n'));
71981
+ tl.tagCh(text.replaceAll('[r]', '\n'));
71986
71982
  if (!record)
71987
71983
  this.val.setVal_Nochk('save', 'sn.doRecLog', doRecLog);
71988
71984
  return false;
@@ -71995,7 +71991,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
71995
71991
  const tf = lay;
71996
71992
  return tf;
71997
71993
  }, _LayerMng_$current = function _LayerMng_$current(hArg) {
71998
- const layer = hArg.layer;
71994
+ const { layer } = hArg;
71999
71995
  if (!layer)
72000
71996
  throw '[current] layerは必須です';
72001
71997
  __classPrivateFieldSet(this, _LayerMng_pgTxtlay, __classPrivateFieldGet(this, _LayerMng_hPages, "f")[layer], "f");
@@ -72054,10 +72050,9 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
72054
72050
  this.val.setVal_Nochk('save', 'const.sn.sLog', (hArg.text) ? `[{text:"${hArg.text}"}]` : '[]');
72055
72051
  return false;
72056
72052
  }, _LayerMng_ruby2 = function _LayerMng_ruby2(hArg) {
72057
- const t = hArg.t;
72053
+ const { t, r } = hArg;
72058
72054
  if (!t)
72059
72055
  throw '[ruby2] tは必須です';
72060
- const r = hArg.r;
72061
72056
  if (!r)
72062
72057
  throw '[ruby2] rは必須です';
72063
72058
  hArg.text = '|' + t + '《' + r + '》';
@@ -73408,7 +73403,7 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
73408
73403
  return a;
73409
73404
  }, _ScriptIterator_let_ml = function _ScriptIterator_let_ml(hArg) {
73410
73405
  var _b;
73411
- const name = hArg.name;
73406
+ const { name } = hArg;
73412
73407
  if (!name)
73413
73408
  throw 'nameは必須です';
73414
73409
  let ml = '';
@@ -73466,7 +73461,7 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
73466
73461
  }
73467
73462
  return ret;
73468
73463
  }, _ScriptIterator_dump_script = function _ScriptIterator_dump_script(hArg) {
73469
- const set_fnc = hArg.set_fnc;
73464
+ const { set_fnc, break_fnc } = hArg;
73470
73465
  if (!set_fnc)
73471
73466
  throw 'set_fncは必須です';
73472
73467
  __classPrivateFieldSet(this, _ScriptIterator_fncSet, globalThis[set_fnc], "f");
@@ -73486,7 +73481,6 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
73486
73481
  __classPrivateFieldGet(this, _ScriptIterator_fncBreak, "f").call(this, __classPrivateFieldGet(this, _ScriptIterator_lineNum, "f"), goto);
73487
73482
  };
73488
73483
  this.noticeBreak(true);
73489
- const break_fnc = hArg.break_fnc;
73490
73484
  if (!break_fnc)
73491
73485
  return false;
73492
73486
  __classPrivateFieldSet(this, _ScriptIterator_fncBreak, globalThis[break_fnc], "f");
@@ -73504,7 +73498,7 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
73504
73498
  return false;
73505
73499
  }, _ScriptIterator_if = function _ScriptIterator_if(hArg) {
73506
73500
  var _b, _c;
73507
- const exp = hArg.exp;
73501
+ const { exp } = hArg;
73508
73502
  if (!exp)
73509
73503
  throw 'expは必須です';
73510
73504
  if (exp.charAt(0) === '&')
@@ -73573,7 +73567,7 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
73573
73567
  }, _ScriptIterator_call = function _ScriptIterator_call(hArg) {
73574
73568
  if (!(0, CmnLib_1.argChk_Boolean)(hArg, 'count', false))
73575
73569
  __classPrivateFieldGet(this, _ScriptIterator_instances, "m", _ScriptIterator_eraseKidoku).call(this);
73576
- const fn = hArg.fn;
73570
+ const { fn } = hArg;
73577
73571
  if (fn)
73578
73572
  __classPrivateFieldGet(this, _ScriptIterator_cnvSnPath, "f").call(this, fn);
73579
73573
  __classPrivateFieldGet(this, _ScriptIterator_instances, "m", _ScriptIterator_callSub).call(this, { ':hEvt1Time': __classPrivateFieldGet(this, _ScriptIterator_evtMng, "f").popLocalEvts(), ':hMp': this.val.cloneMp() });
@@ -73604,7 +73598,7 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
73604
73598
  __classPrivateFieldSet(this, _ScriptIterator_posAPageLog, -1, "f");
73605
73599
  return false;
73606
73600
  }
73607
- const to = hArg.to;
73601
+ const { to } = hArg;
73608
73602
  if (!to)
73609
73603
  throw 'clearかtoは必須です';
73610
73604
  const oldPos = __classPrivateFieldGet(this, _ScriptIterator_posAPageLog, "f");
@@ -73880,7 +73874,7 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
73880
73874
  return false;
73881
73875
  }, _ScriptIterator_macro = function _ScriptIterator_macro(hArg) {
73882
73876
  var _b, _c;
73883
- const name = hArg.name;
73877
+ const { name } = hArg;
73884
73878
  if (!name)
73885
73879
  throw 'nameは必須です';
73886
73880
  if (name in this.hTag)
@@ -74130,7 +74124,7 @@ class SoundMng {
74130
74124
  }
74131
74125
  exports.SoundMng = SoundMng;
74132
74126
  _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(), _SoundMng_evtMng = new WeakMap(), _SoundMng_initVol = new WeakMap(), _SoundMng_instances = new WeakSet(), _SoundMng_volume = function _SoundMng_volume(hArg) {
74133
- const buf = hArg.buf ?? 'SE';
74127
+ const { buf = 'SE' } = hArg;
74134
74128
  const bvn = 'const.sn.sound.' + buf + '.volume';
74135
74129
  const arg_vol = __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_getVol).call(this, hArg, 1);
74136
74130
  if (Number(this.val.getVal('sys:' + bvn)) === arg_vol)
@@ -74149,7 +74143,7 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
74149
74143
  return vol;
74150
74144
  }, _SoundMng_fadeoutbgm = function _SoundMng_fadeoutbgm(hArg) { hArg.volume = 0; return __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_fadebgm).call(this, hArg); }, _SoundMng_fadeoutse = function _SoundMng_fadeoutse(hArg) { hArg.volume = 0; return __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_fadese).call(this, hArg); }, _SoundMng_fadebgm = function _SoundMng_fadebgm(hArg) { hArg.buf = 'BGM'; return __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_fadese).call(this, hArg); }, _SoundMng_fadese = function _SoundMng_fadese(hArg) {
74151
74145
  __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_stopfadese).call(this, hArg);
74152
- const buf = hArg.buf ?? 'SE';
74146
+ const { buf = 'SE' } = hArg;
74153
74147
  const oSb = __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf];
74154
74148
  if (!oSb?.playing() || !oSb.snd)
74155
74149
  return false;
@@ -74200,9 +74194,8 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
74200
74194
  (0, CmnLib_1.argChk_Boolean)(hArg, 'loop', true);
74201
74195
  return __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_playse).call(this, hArg);
74202
74196
  }, _SoundMng_playse = function _SoundMng_playse(hArg) {
74203
- const buf = hArg.buf ?? 'SE';
74197
+ const { buf = 'SE', fn } = hArg;
74204
74198
  __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_stopse).call(this, { buf });
74205
- const fn = hArg.fn;
74206
74199
  if (!fn)
74207
74200
  throw `[playse] fnは必須です buf:${buf}`;
74208
74201
  if ((0, CmnLib_1.argChk_Boolean)(hArg, 'canskip', true)
@@ -74400,7 +74393,7 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
74400
74393
  sound_1.sound.stopAll();
74401
74394
  return false;
74402
74395
  }, _SoundMng_stopbgm = function _SoundMng_stopbgm(hArg) { hArg.buf = 'BGM'; return __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_stopse).call(this, hArg); }, _SoundMng_stopse = function _SoundMng_stopse(hArg) {
74403
- const buf = hArg.buf ?? 'SE';
74396
+ const { buf = 'SE' } = hArg;
74404
74397
  __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_delLoopPlay).call(this, buf);
74405
74398
  const oSb = __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf];
74406
74399
  if (oSb) {
@@ -74409,17 +74402,17 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
74409
74402
  }
74410
74403
  return false;
74411
74404
  }, _SoundMng_wb = function _SoundMng_wb(hArg) { hArg.buf = 'BGM'; return __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_wf).call(this, hArg); }, _SoundMng_wf = function _SoundMng_wf(hArg) {
74412
- const buf = hArg.buf ?? 'SE';
74405
+ const { buf = 'SE' } = hArg;
74413
74406
  const oSb = __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf];
74414
74407
  if (!oSb?.twFade || !oSb.playing())
74415
74408
  return false;
74416
74409
  return oSb.resumeFade = __classPrivateFieldGet(this, _SoundMng_evtMng, "f").waitEvent(() => __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_stopfadese).call(this, hArg), (0, CmnLib_1.argChk_Boolean)(hArg, 'canskip', true), (0, CmnLib_1.argChk_Boolean)(hArg, 'global', false));
74417
74410
  }, _SoundMng_stopfadese = function _SoundMng_stopfadese(hArg) {
74418
- const buf = hArg.buf ?? 'SE';
74411
+ const { buf = 'SE' } = hArg;
74419
74412
  __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf]?.twFade?.stop().end();
74420
74413
  return false;
74421
74414
  }, _SoundMng_wl = function _SoundMng_wl(hArg) { hArg.buf = 'BGM'; return __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_ws).call(this, hArg); }, _SoundMng_ws = function _SoundMng_ws(hArg) {
74422
- const buf = hArg.buf ?? 'SE';
74415
+ const { buf = 'SE' } = hArg;
74423
74416
  const oSb = __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf];
74424
74417
  if (!oSb?.playing() || oSb.loop)
74425
74418
  return false;
@@ -74432,8 +74425,7 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
74432
74425
  oSb2.onend();
74433
74426
  }, (0, CmnLib_1.argChk_Boolean)(hArg, 'canskip', false), (0, CmnLib_1.argChk_Boolean)(hArg, 'global', false));
74434
74427
  }, _SoundMng_xchgbuf = function _SoundMng_xchgbuf(hArg) {
74435
- const buf1 = hArg.buf ?? 'SE';
74436
- const buf2 = hArg.buf2 ?? 'SE';
74428
+ const { buf: buf1 = 'SE', buf2 = 'SE' } = hArg;
74437
74429
  if (buf1 === buf2)
74438
74430
  return false;
74439
74431
  const sb1 = __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf1];
@@ -74557,7 +74549,7 @@ class SysBase {
74557
74549
  this._import = () => false;
74558
74550
  this.navigate_to = () => false;
74559
74551
  this.title = hArg => {
74560
- const text = hArg.text;
74552
+ const { text } = hArg;
74561
74553
  if (!text)
74562
74554
  throw '[title] textは必須です';
74563
74555
  __classPrivateFieldSet(this, _SysBase_main_title, text, "f");
@@ -74727,10 +74719,7 @@ class SysBase {
74727
74719
  __classPrivateFieldSet(this, _SysBase_sk, undefined, "f");
74728
74720
  }
74729
74721
  toast(nm) {
74730
- const cvs = document.getElementById(CmnLib_1.CmnLib.SN_ID);
74731
- if (!cvs)
74732
- return;
74733
- const p = cvs.parentNode;
74722
+ const p = this.appPixi.view.parentNode;
74734
74723
  p.querySelectorAll('.sn_BounceIn, .sn_HopIn').forEach(v => p.removeChild(v));
74735
74724
  const img = document.createElement('img');
74736
74725
  const td = __classPrivateFieldGet(SysBase, _a, "f", _SysBase_hToastDat)[nm];
@@ -74744,7 +74733,7 @@ top: ${(CmnLib_1.CmnLib.stageH - size) / 2 * CmnLib_1.CmnLib.cvsScale + size * (
74744
74733
  img.classList.add('sn_toast', td.ease ?? 'sn_BounceInOut');
74745
74734
  if (!td.ease)
74746
74735
  img.addEventListener('animationend', () => p.removeChild(img), { once: true, passive: true });
74747
- p.insertBefore(img, cvs);
74736
+ p.insertBefore(img, this.appPixi.view);
74748
74737
  }
74749
74738
  setFire(fire) { this.fire = fire; }
74750
74739
  addHook(fnc) { __classPrivateFieldGet(this, _SysBase_aFncHook, "f").push(fnc); }
@@ -74767,20 +74756,18 @@ top: ${(CmnLib_1.CmnLib.stageH - size) / 2 * CmnLib_1.CmnLib.cvsScale + size * (
74767
74756
  async ensureFileSync(_path) { }
74768
74757
  resizeFrames() {
74769
74758
  const cr = this.appPixi.view.getBoundingClientRect();
74770
- const a = document.getElementsByTagName('iframe');
74771
- const len = a.length;
74759
+ const l = this.ofsLeft4frm + cr.left;
74760
+ const t = this.ofsTop4frm + cr.top;
74761
+ const c = document.getElementsByTagName('iframe');
74762
+ const len = c.length;
74772
74763
  for (let i = 0; i < len; ++i) {
74773
- const it = a[i];
74774
- const frmnm = `const.sn.frm.${it.id}`;
74775
- it.style.left = this.ofsLeft4frm + cr.left
74776
- + Number(this.val.getVal(`tmp:${frmnm}.x`)) * this.reso4frame
74777
- + 'px';
74778
- it.style.top = this.ofsTop4frm + cr.top
74779
- + Number(this.val.getVal(`tmp:${frmnm}.y`)) * this.reso4frame
74780
- + 'px';
74781
- it.width = String(Number(this.val.getVal(`tmp:${frmnm}.width`))
74764
+ const f = c[i];
74765
+ const tvn = 'tmp:const.sn.frm.' + f.id;
74766
+ f.style.left = `${l + Number(this.val.getVal(tvn + '.x')) * this.reso4frame}px`;
74767
+ f.style.top = `${t + Number(this.val.getVal(tvn + '.y')) * this.reso4frame}px`;
74768
+ f.width = String(Number(this.val.getVal(tvn + '.width'))
74782
74769
  * this.reso4frame);
74783
- it.height = String(Number(this.val.getVal(`tmp:${frmnm}.height`))
74770
+ f.height = String(Number(this.val.getVal(tvn + '.height'))
74784
74771
  * this.reso4frame);
74785
74772
  }
74786
74773
  }
@@ -74822,7 +74809,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
74822
74809
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
74823
74810
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
74824
74811
  };
74825
- var _SysWeb_instances, _SysWeb_path_base, _SysWeb_resizeFramesWork, _SysWeb_isFullScr, _SysWeb_now_prj, _SysWeb_main, _SysWeb_hAppendFile;
74812
+ var _SysWeb_instances, _SysWeb_path_base, _SysWeb_resizeFramesWork, _SysWeb_now_prj, _SysWeb_main, _SysWeb_hAppendFile;
74826
74813
  Object.defineProperty(exports, "__esModule", ({ value: true }));
74827
74814
  exports.SysWeb = void 0;
74828
74815
  const SysBase_1 = __webpack_require__(/*! ./SysBase */ "./core/src/sn/SysBase.ts");
@@ -74835,7 +74822,6 @@ class SysWeb extends SysBase_1.SysBase {
74835
74822
  super(hPlg, arg);
74836
74823
  _SysWeb_instances.add(this);
74837
74824
  _SysWeb_path_base.set(this, '');
74838
- _SysWeb_isFullScr.set(this, false);
74839
74825
  _SysWeb_now_prj.set(this, ':');
74840
74826
  this.run = async () => {
74841
74827
  if (__classPrivateFieldGet(this, _SysWeb_main, "f")) {
@@ -74904,7 +74890,7 @@ class SysWeb extends SysBase_1.SysBase {
74904
74890
  return false;
74905
74891
  };
74906
74892
  this.navigate_to = hArg => {
74907
- const url = hArg.url;
74893
+ const { url } = hArg;
74908
74894
  if (!url)
74909
74895
  throw '[navigate_to] urlは必須です';
74910
74896
  globalThis.open(url, '_blank');
@@ -74919,14 +74905,14 @@ class SysWeb extends SysBase_1.SysBase {
74919
74905
  await super.loaded(hPlg, arg);
74920
74906
  const tgl_full_scr = ('requestFullscreen' in document.body)
74921
74907
  ? () => {
74922
- ((__classPrivateFieldSet(this, _SysWeb_isFullScr, !Boolean(document.fullscreenElement), "f"))
74908
+ ((CmnLib_1.CmnLib.isFullScr = !Boolean(document.fullscreenElement))
74923
74909
  ? document.body.requestFullscreen()
74924
74910
  : document.exitFullscreen())
74925
74911
  .then(() => __classPrivateFieldGet(this, _SysWeb_instances, "m", _SysWeb_resizeFramesWork).call(this));
74926
74912
  }
74927
74913
  : () => {
74928
74914
  const doc = document;
74929
- ((__classPrivateFieldSet(this, _SysWeb_isFullScr, !Boolean(doc.webkitFullscreenElement), "f"))
74915
+ ((CmnLib_1.CmnLib.isFullScr = !Boolean(doc.webkitFullscreenElement))
74930
74916
  ? doc.body.webkitRequestFullscreen()
74931
74917
  : doc.webkitCancelFullScreen())
74932
74918
  .then(() => __classPrivateFieldGet(this, _SysWeb_instances, "m", _SysWeb_resizeFramesWork).call(this));
@@ -75004,7 +74990,7 @@ class SysWeb extends SysBase_1.SysBase {
75004
74990
  initVal(data, hTmp, comp) {
75005
74991
  const hn = encodeURIComponent(document.location.hostname);
75006
74992
  hTmp['const.sn.isDebugger'] = (hn === 'localhost' || hn === '127.0.0.1');
75007
- this.val.defTmp('const.sn.displayState', () => __classPrivateFieldGet(this, _SysWeb_isFullScr, "f"));
74993
+ this.val.defTmp('const.sn.displayState', () => CmnLib_1.CmnLib.isFullScr);
75008
74994
  const ns = this.cfg.getNs();
75009
74995
  this.flush = this.crypto
75010
74996
  ? async () => {
@@ -75082,16 +75068,15 @@ class SysWeb extends SysBase_1.SysBase {
75082
75068
  }
75083
75069
  }
75084
75070
  exports.SysWeb = SysWeb;
75085
- _SysWeb_path_base = new WeakMap(), _SysWeb_isFullScr = new WeakMap(), _SysWeb_now_prj = new WeakMap(), _SysWeb_main = new WeakMap(), _SysWeb_hAppendFile = new WeakMap(), _SysWeb_instances = new WeakSet(), _SysWeb_resizeFramesWork = function _SysWeb_resizeFramesWork() {
75086
- const is_fs = __classPrivateFieldGet(this, _SysWeb_isFullScr, "f");
75087
- const ratioWidth = screen.width / CmnLib_1.CmnLib.stageW;
75088
- const ratioHeight = screen.height / CmnLib_1.CmnLib.stageH;
75089
- const ratio = (ratioWidth < ratioHeight) ? ratioWidth : ratioHeight;
75090
- this.reso4frame = is_fs ? ratio : 1;
75091
- this.ofsLeft4frm = is_fs
75071
+ _SysWeb_path_base = new WeakMap(), _SysWeb_now_prj = new WeakMap(), _SysWeb_main = new WeakMap(), _SysWeb_hAppendFile = new WeakMap(), _SysWeb_instances = new WeakSet(), _SysWeb_resizeFramesWork = function _SysWeb_resizeFramesWork() {
75072
+ const rw = screen.width / CmnLib_1.CmnLib.stageW;
75073
+ const rh = screen.height / CmnLib_1.CmnLib.stageH;
75074
+ const ratio = (rw < rh) ? rw : rh;
75075
+ this.reso4frame = CmnLib_1.CmnLib.isFullScr ? ratio : 1;
75076
+ this.ofsLeft4frm = CmnLib_1.CmnLib.isFullScr
75092
75077
  ? (screen.width - CmnLib_1.CmnLib.stageW * this.reso4frame * CmnLib_1.CmnLib.cvsScale) / 2
75093
75078
  : 0;
75094
- this.ofsTop4frm = is_fs
75079
+ this.ofsTop4frm = CmnLib_1.CmnLib.isFullScr
75095
75080
  ? (screen.height - CmnLib_1.CmnLib.stageH * this.reso4frame * CmnLib_1.CmnLib.cvsScale) / 2
75096
75081
  : 0;
75097
75082
  this.resizeFrames();
@@ -75670,7 +75655,7 @@ _a = TxtLayer, _TxtLayer_b_color = new WeakMap(), _TxtLayer_b_alpha = new WeakMa
75670
75655
  const o = TxtStage_1.TxtStage.ch_in_style(hArg);
75671
75656
  const x = (o.x.charAt(0) === '=') ? `${o.nx * 100}%` : `${o.nx}px`;
75672
75657
  const y = (o.y.charAt(0) === '=') ? `${o.ny * 100}%` : `${o.ny}px`;
75673
- const name = hArg.name;
75658
+ const { name } = hArg;
75674
75659
  (0, CmnLib_1.addStyle)(`
75675
75660
  .sn_ch_in_${name} {
75676
75661
  position: relative;
@@ -75692,7 +75677,7 @@ _a = TxtLayer, _TxtLayer_b_color = new WeakMap(), _TxtLayer_b_alpha = new WeakMa
75692
75677
  const o = TxtStage_1.TxtStage.ch_out_style(hArg);
75693
75678
  const x = (o.x.charAt(0) === '=') ? `${o.nx * 100}%` : `${o.nx}px`;
75694
75679
  const y = (o.y.charAt(0) === '=') ? `${o.ny * 100}%` : `${o.ny}px`;
75695
- const name = hArg.name;
75680
+ const { name } = hArg;
75696
75681
  (0, CmnLib_1.addStyle)(`
75697
75682
  .go_ch_out_${name} {
75698
75683
  position: relative;
@@ -75709,41 +75694,41 @@ _a = TxtLayer, _TxtLayer_b_color = new WeakMap(), _TxtLayer_b_alpha = new WeakMa
75709
75694
  }, _TxtLayer_autowc = function _TxtLayer_autowc(hArg) {
75710
75695
  __classPrivateFieldSet(TxtLayer, _a, (0, CmnLib_1.argChk_Boolean)(hArg, 'enabled', __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_doAutoWc)), "f", _TxtLayer_doAutoWc);
75711
75696
  __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_val).setVal_Nochk('save', 'const.sn.autowc.enabled', __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_doAutoWc));
75712
- const ch = hArg.text;
75697
+ const { text } = hArg;
75713
75698
  if (('text' in hArg) !== ('time' in hArg))
75714
75699
  throw '[autowc] textとtimeは同時指定必須です';
75715
- __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_val).setVal_Nochk('save', 'const.sn.autowc.text', ch);
75716
- if (!ch) {
75700
+ __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_val).setVal_Nochk('save', 'const.sn.autowc.text', text);
75701
+ if (!text) {
75717
75702
  __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_val).setVal_Nochk('save', 'const.sn.autowc.time', '');
75718
75703
  return false;
75719
75704
  }
75720
- const len = ch.length;
75705
+ const len = text.length;
75721
75706
  if (__classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_doAutoWc) && len === 0)
75722
75707
  throw '[autowc] enabled === false かつ text === "" は許されません';
75723
75708
  const a = String(hArg.time).split(',');
75724
75709
  if (a.length !== len)
75725
75710
  throw '[autowc] text文字数とtimeに記述された待ち時間(コンマ区切り)は同数にして下さい';
75726
75711
  __classPrivateFieldSet(TxtLayer, _a, {}, "f", _TxtLayer_hAutoWc);
75727
- a.forEach((v, i) => __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_hAutoWc)[ch[i]] = (0, CmnLib_1.uint)(v));
75712
+ a.forEach((v, i) => __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_hAutoWc)[text[i]] = (0, CmnLib_1.uint)(v));
75728
75713
  __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_val).setVal_Nochk('save', 'const.sn.autowc.time', hArg.time);
75729
75714
  return false;
75730
75715
  }, _TxtLayer_set_ch_in = function _TxtLayer_set_ch_in(hArg) {
75731
- const ins = hArg.in_style;
75732
- if (!ins)
75716
+ const { in_style } = hArg;
75717
+ if (!in_style)
75733
75718
  return;
75734
- const cis = TxtStage_1.TxtStage.getChInStyle(ins);
75719
+ const cis = TxtStage_1.TxtStage.getChInStyle(in_style);
75735
75720
  if (!cis)
75736
- throw `存在しないin_style【${ins}】です`;
75737
- __classPrivateFieldSet(this, _TxtLayer_$ch_in_style, ins, "f");
75721
+ throw `存在しないin_style【${in_style}】です`;
75722
+ __classPrivateFieldSet(this, _TxtLayer_$ch_in_style, in_style, "f");
75738
75723
  __classPrivateFieldSet(this, _TxtLayer_ch_in_join, cis.join, "f");
75739
75724
  }, _TxtLayer_set_ch_out = function _TxtLayer_set_ch_out(hArg) {
75740
- const outs = hArg.out_style;
75741
- if (!outs)
75725
+ const { out_style } = hArg;
75726
+ if (!out_style)
75742
75727
  return;
75743
- const cos = TxtStage_1.TxtStage.getChOutStyle(outs);
75728
+ const cos = TxtStage_1.TxtStage.getChOutStyle(out_style);
75744
75729
  if (!cos)
75745
- throw `存在しないout_style【${outs}】です`;
75746
- __classPrivateFieldSet(this, _TxtLayer_$ch_out_style, outs, "f");
75730
+ throw `存在しないout_style【${out_style}】です`;
75731
+ __classPrivateFieldSet(this, _TxtLayer_$ch_out_style, out_style, "f");
75747
75732
  }, _TxtLayer_drawBack = function _TxtLayer_drawBack(hArg, fncComp) {
75748
75733
  if ('back_clear' in hArg) {
75749
75734
  if ((0, CmnLib_1.argChk_Boolean)(hArg, 'back_clear', false)) {
@@ -75932,7 +75917,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
75932
75917
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
75933
75918
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
75934
75919
  };
75935
- var _TxtStage_instances, _a, _TxtStage_cfg, _TxtStage_cvs, _TxtStage_evtMng, _TxtStage_htmTxt, _TxtStage_cntTxt, _TxtStage_grpDbgMasume, _TxtStage_idc, _TxtStage_idcCh, _TxtStage_infTL, _TxtStage_break_fixed, _TxtStage_break_fixed_left, _TxtStage_break_fixed_top, _TxtStage_lay_sub, _TxtStage_left, _TxtStage_isTategaki, _TxtStage_padTx4x, _TxtStage_padTx4y, _TxtStage_hWarning, _TxtStage_htm2tx, _TxtStage_ch_filter, _TxtStage_aSpTw, _TxtStage_aRect, _TxtStage_lenHtmTxt, _TxtStage_reg行頭禁則, _TxtStage_reg行末禁則, _TxtStage_reg分割禁止, _TxtStage_beforeHTMLElm, _TxtStage_REGDS, _TxtStage_fncEndChIn, _TxtStage_spWork, _TxtStage_isChInIng, _TxtStage_hChInStyle, _TxtStage_REG_NG_CHSTYLE_NAME_CHR, _TxtStage_hChOutStyle, _TxtStage_cntBreak, _TxtStage_lh_half, _TxtStage_getChRects, _TxtStage_fi_easing, _TxtStage_fo_easing, _TxtStage_clearText, _TxtStage_sss;
75920
+ var _TxtStage_instances, _a, _TxtStage_cfg, _TxtStage_parSn, _TxtStage_evtMng, _TxtStage_htmTxt, _TxtStage_cntTxt, _TxtStage_grpDbgMasume, _TxtStage_idc, _TxtStage_idcCh, _TxtStage_infTL, _TxtStage_break_fixed, _TxtStage_break_fixed_left, _TxtStage_break_fixed_top, _TxtStage_lay_sub, _TxtStage_left, _TxtStage_isTategaki, _TxtStage_padTx4x, _TxtStage_padTx4y, _TxtStage_hWarning, _TxtStage_htm2tx, _TxtStage_ch_filter, _TxtStage_aSpTw, _TxtStage_aRect, _TxtStage_lenHtmTxt, _TxtStage_reg行頭禁則, _TxtStage_reg行末禁則, _TxtStage_reg分割禁止, _TxtStage_beforeHTMLElm, _TxtStage_REGDS, _TxtStage_fncEndChIn, _TxtStage_spWork, _TxtStage_isChInIng, _TxtStage_hChInStyle, _TxtStage_REG_NG_CHSTYLE_NAME_CHR, _TxtStage_hChOutStyle, _TxtStage_cntBreak, _TxtStage_lh_half, _TxtStage_getChRects, _TxtStage_fi_easing, _TxtStage_fo_easing, _TxtStage_clearText, _TxtStage_sss;
75936
75921
  Object.defineProperty(exports, "__esModule", ({ value: true }));
75937
75922
  exports.TxtStage = void 0;
75938
75923
  const CmnLib_1 = __webpack_require__(/*! ./CmnLib */ "./core/src/sn/CmnLib.ts");
@@ -75985,7 +75970,7 @@ class TxtStage extends pixi_js_1.Container {
75985
75970
  _TxtStage_sss.set(this, undefined);
75986
75971
  __classPrivateFieldGet(this, _TxtStage_htmTxt, "f").classList.add('sn_tx');
75987
75972
  __classPrivateFieldGet(this, _TxtStage_htmTxt, "f").style.position = 'absolute';
75988
- __classPrivateFieldGet(TxtStage, _a, "f", _TxtStage_cvs).parentElement.appendChild(__classPrivateFieldGet(this, _TxtStage_htmTxt, "f"));
75973
+ __classPrivateFieldGet(TxtStage, _a, "f", _TxtStage_parSn).appendChild(__classPrivateFieldGet(this, _TxtStage_htmTxt, "f"));
75989
75974
  this.addChild(__classPrivateFieldGet(this, _TxtStage_cntTxt, "f"));
75990
75975
  this.addChild(__classPrivateFieldGet(this, _TxtStage_grpDbgMasume, "f"));
75991
75976
  __classPrivateFieldGet(this, _TxtStage_grpDbgMasume, "f").name = 'grpDbgMasume';
@@ -75993,7 +75978,7 @@ class TxtStage extends pixi_js_1.Container {
75993
75978
  }
75994
75979
  static init(cfg) {
75995
75980
  __classPrivateFieldSet(TxtStage, _a, cfg, "f", _TxtStage_cfg);
75996
- __classPrivateFieldSet(TxtStage, _a, document.getElementById(CmnLib_1.CmnLib.SN_ID), "f", _TxtStage_cvs);
75981
+ __classPrivateFieldSet(TxtStage, _a, document.getElementById(CmnLib_1.CmnLib.SN_ID).parentElement, "f", _TxtStage_parSn);
75997
75982
  __classPrivateFieldSet(TxtStage, _a, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/, "f", _TxtStage_reg行頭禁則);
75998
75983
  __classPrivateFieldSet(TxtStage, _a, /[[({〈「『【〔“〝]/, "f", _TxtStage_reg行末禁則);
75999
75984
  __classPrivateFieldSet(TxtStage, _a, /[─‥…]/, "f", _TxtStage_reg分割禁止);
@@ -76310,7 +76295,7 @@ class TxtStage extends pixi_js_1.Container {
76310
76295
  }
76311
76296
  static getChInStyle(name) { return __classPrivateFieldGet(TxtStage, _a, "f", _TxtStage_hChInStyle)[name]; }
76312
76297
  static ch_in_style(hArg) {
76313
- const name = hArg.name;
76298
+ const { name } = hArg;
76314
76299
  if (!name)
76315
76300
  throw 'nameは必須です';
76316
76301
  __classPrivateFieldGet(TxtStage, _a, "f", _TxtStage_REG_NG_CHSTYLE_NAME_CHR).lastIndex = 0;
@@ -76336,7 +76321,7 @@ class TxtStage extends pixi_js_1.Container {
76336
76321
  }
76337
76322
  static getChOutStyle(name) { return __classPrivateFieldGet(TxtStage, _a, "f", _TxtStage_hChOutStyle)[name]; }
76338
76323
  static ch_out_style(hArg) {
76339
- const name = hArg.name;
76324
+ const { name } = hArg;
76340
76325
  if (!name)
76341
76326
  throw 'nameは必須です';
76342
76327
  __classPrivateFieldGet(TxtStage, _a, "f", _TxtStage_REG_NG_CHSTYLE_NAME_CHR).lastIndex = 0;
@@ -76832,7 +76817,7 @@ _a = TxtStage, _TxtStage_htmTxt = new WeakMap(), _TxtStage_cntTxt = new WeakMap(
76832
76817
  __classPrivateFieldSet(this, _TxtStage_htmTxt, n, "f");
76833
76818
  };
76834
76819
  _TxtStage_cfg = { value: void 0 };
76835
- _TxtStage_cvs = { value: void 0 };
76820
+ _TxtStage_parSn = { value: void 0 };
76836
76821
  _TxtStage_evtMng = { value: void 0 };
76837
76822
  _TxtStage_hWarning = { value: {
76838
76823
  backgroundColor: 0,
@@ -77199,7 +77184,7 @@ _a = Variable, _Variable_hScopes = new WeakMap(), _Variable_hSave = new WeakMap(
77199
77184
  __classPrivateFieldGet(this, _Variable_sys, "f").copyBMFolder(from, to);
77200
77185
  return false;
77201
77186
  }, _Variable_erasebookmark = function _Variable_erasebookmark(hArg) {
77202
- const place = hArg.place;
77187
+ const { place } = hArg;
77203
77188
  if (!place)
77204
77189
  throw 'placeは必須です';
77205
77190
  delete __classPrivateFieldGet(this, _Variable_data, "f").mark[place];
@@ -77243,7 +77228,7 @@ _a = Variable, _Variable_hScopes = new WeakMap(), _Variable_hSave = new WeakMap(
77243
77228
  __classPrivateFieldGet(this, _Variable_instances, "m", _Variable_let).call(this, hArg);
77244
77229
  return false;
77245
77230
  }, _Variable_let_index_of = function _Variable_let_index_of(hArg) {
77246
- const val = hArg.val;
77231
+ const { val } = hArg;
77247
77232
  if (!val)
77248
77233
  throw 'valは必須です';
77249
77234
  const start = (0, CmnLib_1.argChk_Num)(hArg, 'start', 0);
@@ -77257,7 +77242,7 @@ _a = Variable, _Variable_hScopes = new WeakMap(), _Variable_hSave = new WeakMap(
77257
77242
  }, _Variable_let_replace = function _Variable_let_replace(hArg) {
77258
77243
  if (!hArg.reg)
77259
77244
  throw 'regは必須です';
77260
- const flags = hArg.flags;
77245
+ const { flags } = hArg;
77261
77246
  const reg = (!flags)
77262
77247
  ? new RegExp(hArg.reg)
77263
77248
  : new RegExp(hArg.reg, flags);
@@ -77272,7 +77257,7 @@ _a = Variable, _Variable_hScopes = new WeakMap(), _Variable_hSave = new WeakMap(
77272
77257
  }, _Variable_let_search = function _Variable_let_search(hArg) {
77273
77258
  if (!hArg.reg)
77274
77259
  throw 'regは必須です';
77275
- const flags = hArg.flags;
77260
+ const { flags } = hArg;
77276
77261
  const reg = (!flags)
77277
77262
  ? new RegExp(hArg.reg)
77278
77263
  : new RegExp(hArg.reg, flags);