@vtj/renderer 0.18.19 → 0.18.20

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/index.mjs CHANGED
@@ -1,18 +1,18 @@
1
- import { Base as ni, BUILT_IN_COMPONENTS as ai, ProjectModel as $e, HistoryModel as us } from "@vtj/core";
2
- import { url as he, isUrl as mt, dedupArray as oi, isFunction as K, isString as ee, logger as xe, storage as nt, cookie as at, toArray as Wt, unRSA as Kt, delay as Ie, createRequest as cs, jsonp as ls, merge as ui, pathToRegexp as ci, pathToRegexpMatch as li, formDataToJson as hi, isEqual as ot, Queue as pi, cloneDeep as zt, camelCase as X, upperFirstCamelCase as fi, pick as di, request as gt, loadScript as Jt, debounce as mi, Storage as gi, mapToObject as It } from "@vtj/utils";
1
+ import { Base as ui, BUILT_IN_COMPONENTS as ci, ProjectModel as Ue, HistoryModel as hs } from "@vtj/core";
2
+ import { url as he, isUrl as gt, dedupArray as li, isFunction as K, isString as ee, logger as xe, storage as at, cookie as ot, toArray as Jt, unRSA as Qt, delay as Ie, createRequest as ps, jsonp as fs, merge as hi, pathToRegexp as pi, pathToRegexpMatch as fi, formDataToJson as di, isEqual as ut, Queue as mi, cloneDeep as Yt, camelCase as X, upperFirstCamelCase as gi, pick as xi, request as xt, loadScript as Xt, debounce as vi, Storage as bi, mapToObject as At } from "@vtj/utils";
3
3
  import * as ve from "vue";
4
- import { inject as At, defineComponent as hs, h as xt, ref as vt, watchEffect as xi, defineAsyncComponent as Qt } from "vue";
5
- import { useRoute as ps } from "vue-router";
4
+ import { inject as Pt, defineComponent as ds, h as vt, ref as bt, watchEffect as yi, defineAsyncComponent as Zt } from "vue";
5
+ import { useRoute as ms } from "vue-router";
6
6
  /**!
7
7
  * Copyright (c) 2026, VTJ.PRO All rights reserved.
8
8
  * @name @vtj/renderer
9
9
  * @author CHC chenhuachun1549@dingtalk.com
10
- * @version 0.18.19
10
+ * @version 0.18.20
11
11
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
12
12
  */
13
- const we = "0.18.19";
14
- var P = /* @__PURE__ */ ((t) => (t.Runtime = "Runtime", t.Design = "Design", t.Raw = "Raw", t.VNode = "VNode", t))(P || {});
15
- const Yt = [
13
+ const we = "0.18.20";
14
+ var T = /* @__PURE__ */ ((t) => (t.Runtime = "Runtime", t.Design = "Design", t.Raw = "Raw", t.VNode = "VNode", t))(T || {});
15
+ const es = [
16
16
  "$el",
17
17
  "$emit",
18
18
  "$nextTick",
@@ -24,7 +24,7 @@ const Yt = [
24
24
  "$props",
25
25
  "$options",
26
26
  "$forceUpdate"
27
- ], kn = [
27
+ ], Pn = [
28
28
  "beforeCreate",
29
29
  "created",
30
30
  "beforeMount",
@@ -38,7 +38,7 @@ const Yt = [
38
38
  "renderTriggered",
39
39
  "activated",
40
40
  "deactivated"
41
- ], In = [
41
+ ], Tn = [
42
42
  "onBeforeMount",
43
43
  "onMounted",
44
44
  "onBeforeUpdate",
@@ -50,7 +50,7 @@ const Yt = [
50
50
  "onRenderTriggered",
51
51
  "onActivated",
52
52
  "onDeactivated"
53
- ], vi = [
53
+ ], _i = [
54
54
  "vIf",
55
55
  "vElseIf",
56
56
  "vElse",
@@ -59,7 +59,7 @@ const Yt = [
59
59
  "vFor",
60
60
  "vBind",
61
61
  "vHtml"
62
- ], bi = {
62
+ ], Si = {
63
63
  String,
64
64
  Number,
65
65
  Boolean,
@@ -67,9 +67,9 @@ const Yt = [
67
67
  Object,
68
68
  Function,
69
69
  Date
70
- }, Ee = "VtjPage", He = "VtjHomepage", fs = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot,svg".split(
70
+ }, Ee = "VtjPage", $e = "VtjHomepage", gs = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot,svg".split(
71
71
  ","
72
- ), yi = "component,slot".split(","), An = [
72
+ ), Ci = "component,slot".split(","), Rn = [
73
73
  "h",
74
74
  "t",
75
75
  "t",
@@ -89,7 +89,7 @@ const Yt = [
89
89
  "p",
90
90
  "r",
91
91
  "o"
92
- ].join(""), Pn = {
92
+ ].join(""), Nn = {
93
93
  auth: [
94
94
  "h",
95
95
  "t",
@@ -149,62 +149,62 @@ const Yt = [
149
149
  ].join(""),
150
150
  privateKey: "MIIBOgIBAAJBAKoIzmn1FYQ1YOhOBw9EhABxZ+PySAIaydI+zdhoKflrdgJ4A5E4/5gbQmRpk09hPWG8nvX7h+l/QLU8kXxAIBECAwEAAQJAAlgpxQY6sByLsXqzJcthC8LSGsLf2JEJkHwlnpwFqlEV8UCkoINpuZ2Wzl+aftURu5rIfAzRCQBvHmeOTW9/zQIhAO5ufWDmnSLyfAAsNo5JRNpVuLFCFodR8Xm+ulDlosR/AiEAtpAltyP9wmCABKG/v/hrtTr3mcvFNGCjoGa9bUAok28CIHbrVs9w1ijrBlvTsXYwJw46uP539uKRRT4ymZzlm9QjAiB+1KH/G9f9pEEL9rtaSOG7JF5D0JcOjlze4MGVFs+ZrQIhALKOUFBNr2zEsyJIjw2PlvEucdlG77UniszjXTROHSPd"
151
151
  };
152
- function Me(t, e) {
153
- return t.map((s) => mt(s) || s.startsWith("/") ? s : `${e}${s}`);
152
+ function De(t, e) {
153
+ return t.map((s) => gt(s) || s.startsWith("/") ? s : `${e}${s}`);
154
154
  }
155
- function Ke(t) {
155
+ function ze(t) {
156
156
  return /\.css$/.test(t);
157
157
  }
158
- function ze(t) {
158
+ function Je(t) {
159
159
  return /\.js$/.test(t);
160
160
  }
161
- function _i(t) {
161
+ function wi(t) {
162
162
  return /\.json$/.test(t);
163
163
  }
164
- function Tn(t) {
164
+ function Vn(t) {
165
165
  return t.map(
166
166
  (e) => `<script src="${he.append(e, { v: we })}"><\/script>`
167
167
  ).join("");
168
168
  }
169
- function Rn(t = []) {
169
+ function On(t = []) {
170
170
  return t.map(
171
171
  (e) => `<link rel="stylesheet" href="${he.append(e, { v: we })}" />`
172
172
  ).join("");
173
173
  }
174
- function Si(t, e = !1) {
174
+ function Ei(t, e = !1) {
175
175
  return e && t.endsWith(".prod.js") ? t.replace(".prod.js", ".js") : t;
176
176
  }
177
- function Ci(t, e, s = !1) {
177
+ function ki(t, e, s = !1) {
178
178
  const i = t.filter((d) => !!d.enabled), r = [], n = [], a = [], u = [], c = {}, l = {}, h = [], p = {};
179
179
  return i.forEach(
180
180
  ({ urls: d, assetsUrl: f, library: m, assetsLibrary: x, localeLibrary: g }) => {
181
181
  d?.forEach((v) => {
182
- ze(v) && r.push(Si(v, s)), Ke(v) && n.push(v);
183
- }), m && (u.push(m), c[m] = Me(d || [], e), g && (l[m] = g)), f && a.push(f), x && h.push(x), m && x && (p[x] = m);
182
+ Je(v) && r.push(Ei(v, s)), ze(v) && n.push(v);
183
+ }), m && (u.push(m), c[m] = De(d || [], e), g && (l[m] = g)), f && a.push(f), x && h.push(x), m && x && (p[x] = m);
184
184
  }
185
185
  ), {
186
- scripts: Me(r, e),
187
- css: Me(n, e),
188
- materials: Me(a, e),
186
+ scripts: De(r, e),
187
+ css: De(n, e),
188
+ materials: De(a, e),
189
189
  libraryExports: u,
190
- materialExports: oi(h),
190
+ materialExports: li(h),
191
191
  materialMapLibrary: p,
192
192
  libraryMap: c,
193
193
  libraryLocaleMap: l
194
194
  };
195
195
  }
196
- function wi(t, e) {
196
+ function Ii(t, e) {
197
197
  const { name: s, parent: i, alias: r } = t;
198
198
  return i ? e[i]?.[r || s] : e[r || s];
199
199
  }
200
- function Ei(t = []) {
201
- const e = t.filter((i) => Ke(i)), s = t.filter((i) => ze(i));
200
+ function Ai(t = []) {
201
+ const e = t.filter((i) => ze(i)), s = t.filter((i) => Je(i));
202
202
  return {
203
203
  css: e,
204
204
  js: s
205
205
  };
206
206
  }
207
- function ki(t, e) {
207
+ function Pi(t, e) {
208
208
  const s = (l) => {
209
209
  const h = [];
210
210
  let p = 0;
@@ -224,7 +224,7 @@ function ki(t, e) {
224
224
  const v = p;
225
225
  for (; p < l.length && l[p] !== "{" && l[p] !== ";"; )
226
226
  p++;
227
- const k = l.substring(v, p).trim(), R = k.includes("@keyframes");
227
+ const k = l.substring(v, p).trim(), N = k.includes("@keyframes");
228
228
  if (l[p] === ";")
229
229
  h.push({
230
230
  type: "simple-at-rule",
@@ -232,12 +232,12 @@ function ki(t, e) {
232
232
  }), p++;
233
233
  else if (l[p] === "{") {
234
234
  const w = p + 1;
235
- let D = 1;
236
- for (p++; p < l.length && D > 0; )
237
- l[p] === "{" ? D++ : l[p] === "}" && D--, p++;
235
+ let B = 1;
236
+ for (p++; p < l.length && B > 0; )
237
+ l[p] === "{" ? B++ : l[p] === "}" && B--, p++;
238
238
  const fe = l.substring(v, p), _e = l.substring(w, p - 1);
239
239
  h.push({
240
- type: R ? "keyframes" : "at-rule",
240
+ type: N ? "keyframes" : "at-rule",
241
241
  rule: k,
242
242
  content: fe,
243
243
  inner: _e
@@ -318,21 +318,21 @@ function ki(t, e) {
318
318
  });
319
319
  }
320
320
  }
321
- const Ii = 750;
322
- function Ai(t, e, s) {
321
+ const Ti = 750;
322
+ function Ri(t, e, s) {
323
323
  let i;
324
324
  typeof t < "u" ? i = t.innerWidth || t.document.documentElement.clientWidth : (console.warn("无法获取屏幕宽度,使用默认值375"), i = 375);
325
- const r = s || Ii;
325
+ const r = s || Ti;
326
326
  return e * i / r;
327
327
  }
328
- function Pi(t, e) {
328
+ function Ni(t, e) {
329
329
  let s = !1, i = !1, r = !1, n = "";
330
330
  for (let a = 0; a < e.length; a++) {
331
331
  const u = e[a];
332
332
  if (u === "'" && !i && !r ? s = !s : u === '"' && !s && !r ? i = !i : e.substr(a, 4).toLowerCase() === "url(" && !s && !i ? r = !0 : u === ")" && r && (r = !1), !s && !i && !r) {
333
333
  const c = e.substr(a).match(/^(-?\d+(?:\.\d+)?)\s*rpx/);
334
334
  if (c) {
335
- const l = c[1], h = parseFloat(l), d = `${Ai(t, h).toFixed(6).replace(/\.?0+$/, "")}px`;
335
+ const l = c[1], h = parseFloat(l), d = `${Ri(t, h).toFixed(6).replace(/\.?0+$/, "")}px`;
336
336
  n += d, a += c[0].length - 1;
337
337
  continue;
338
338
  }
@@ -341,11 +341,11 @@ function Pi(t, e) {
341
341
  }
342
342
  return n;
343
343
  }
344
- function ds(t) {
344
+ function xs(t) {
345
345
  return ee(t) ? t : JSON.stringify(t);
346
346
  }
347
- function Pt(t, e, s, i = !1) {
348
- const r = t.CSSStyleSheet, n = i ? `data-v-${e}` : e, a = t.__uniConfig ? Pi(t, s) : s, u = i ? ki(a, n) : a, c = !!t.__uniConfig;
347
+ function Tt(t, e, s, i = !1) {
348
+ const r = t.CSSStyleSheet, n = i ? `data-v-${e}` : e, a = t.__uniConfig ? Ni(t, s) : s, u = i ? Pi(a, n) : a, c = !!t.__uniConfig;
349
349
  if (r.prototype.replaceSync && !c) {
350
350
  const l = new r();
351
351
  l.id = e, l.replaceSync(u);
@@ -359,7 +359,7 @@ function Pt(t, e, s, i = !1) {
359
359
  h ? h.innerHTML = u : (h = l.createElement("style"), h.id = e, h.innerHTML = u, l.head.appendChild(h));
360
360
  }
361
361
  }
362
- function Nn(t) {
362
+ function Fn(t) {
363
363
  const e = t.adoptedStyleSheets || [];
364
364
  let s = "";
365
365
  if (e.forEach((i) => {
@@ -375,11 +375,11 @@ function Nn(t) {
375
375
  i.textContent = s, t.head.appendChild(i);
376
376
  }
377
377
  }
378
- async function Ti(t, e) {
378
+ async function Vi(t, e) {
379
379
  const s = await globalThis.fetch(e).then((i) => i.text()).catch(() => "");
380
- s && Pt(globalThis, t, s);
380
+ s && Tt(globalThis, t, s);
381
381
  }
382
- function ms(t, e = globalThis) {
382
+ function vs(t, e = globalThis) {
383
383
  const s = e.document, i = e.document.head;
384
384
  for (const r of t)
385
385
  if (!s.getElementById(r)) {
@@ -387,7 +387,7 @@ function ms(t, e = globalThis) {
387
387
  a.rel = "stylesheet", a.id = r, a.href = r, i.appendChild(a);
388
388
  }
389
389
  }
390
- async function gs(t, e, s = globalThis) {
390
+ async function bs(t, e, s = globalThis) {
391
391
  const i = s.document, r = s.document.head;
392
392
  let n = s[e];
393
393
  return n ? n.default || n : new Promise((a, u) => {
@@ -401,14 +401,14 @@ async function gs(t, e, s = globalThis) {
401
401
  }
402
402
  });
403
403
  }
404
- function Ri(t) {
404
+ function Oi(t) {
405
405
  return K(t) && Object.getOwnPropertyNames(t.prototype || {}).length === 0 || K(t?.install);
406
406
  }
407
- function Ni(t) {
408
- return yi.includes(t);
407
+ function Fi(t) {
408
+ return Ci.includes(t);
409
409
  }
410
- function Vi(t) {
411
- return fs.includes(t);
410
+ function Li(t) {
411
+ return gs.includes(t);
412
412
  }
413
413
  function Ae(t = globalThis) {
414
414
  const e = globalThis?.Mock;
@@ -417,34 +417,34 @@ function Ae(t = globalThis) {
417
417
  if (s && globalThis)
418
418
  return globalThis.Mock = s, s;
419
419
  }
420
- function Vn(t, e, s) {
420
+ function Ln(t, e, s) {
421
421
  Object.assign(e.meta, s.meta);
422
422
  const i = t?._container;
423
423
  s?.type === "page" && i.classList.add("is-page"), s?.pure && i.classList.add("is-pure");
424
424
  }
425
- function Oi(t) {
425
+ function ji(t) {
426
426
  return /^\([\s\S]*\)/.test(t.trim());
427
427
  }
428
- function Fi(t) {
428
+ function Mi(t) {
429
429
  return /\w+\([\s\S]*\)$/.test(t.trim());
430
430
  }
431
- function Li(t) {
431
+ function Di(t) {
432
432
  return t.includes("=");
433
433
  }
434
- var ut = {
434
+ var ct = {
435
435
  3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
436
436
  5: "class enum extends super const export import",
437
437
  6: "enum",
438
438
  strict: "implements interface let package private protected public static yield",
439
439
  strictBind: "eval arguments"
440
- }, ct = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", ji = {
441
- 5: ct,
442
- "5module": ct + " export import",
443
- 6: ct + " const class extends export import super"
444
- }, Mi = /^in(stanceof)?$/, Tt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", xs = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_", Di = new RegExp("[" + Tt + "]"), Bi = new RegExp("[" + Tt + xs + "]");
445
- Tt = xs = null;
446
- var vs = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938], Hi = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
447
- function bt(t, e) {
440
+ }, lt = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", Bi = {
441
+ 5: lt,
442
+ "5module": lt + " export import",
443
+ 6: lt + " const class extends export import super"
444
+ }, Hi = /^in(stanceof)?$/, Rt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ys = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_", $i = new RegExp("[" + Rt + "]"), Ui = new RegExp("[" + Rt + ys + "]");
445
+ Rt = ys = null;
446
+ var _s = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938], Gi = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
447
+ function yt(t, e) {
448
448
  for (var s = 65536, i = 0; i < e.length; i += 2) {
449
449
  if (s += e[i], s > t)
450
450
  return !1;
@@ -453,26 +453,26 @@ function bt(t, e) {
453
453
  }
454
454
  }
455
455
  function ae(t, e) {
456
- return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && Di.test(String.fromCharCode(t)) : e === !1 ? !1 : bt(t, vs);
456
+ return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && $i.test(String.fromCharCode(t)) : e === !1 ? !1 : yt(t, _s);
457
457
  }
458
458
  function be(t, e) {
459
- return t < 48 ? t === 36 : t < 58 ? !0 : t < 65 ? !1 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && Bi.test(String.fromCharCode(t)) : e === !1 ? !1 : bt(t, vs) || bt(t, Hi);
459
+ return t < 48 ? t === 36 : t < 58 ? !0 : t < 65 ? !1 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && Ui.test(String.fromCharCode(t)) : e === !1 ? !1 : yt(t, _s) || yt(t, Gi);
460
460
  }
461
461
  var E = function(e, s) {
462
462
  s === void 0 && (s = {}), this.label = e, this.keyword = s.keyword, this.beforeExpr = !!s.beforeExpr, this.startsExpr = !!s.startsExpr, this.isLoop = !!s.isLoop, this.isAssign = !!s.isAssign, this.prefix = !!s.prefix, this.postfix = !!s.postfix, this.binop = s.binop || null, this.updateContext = null;
463
463
  };
464
- function B(t, e) {
464
+ function H(t, e) {
465
465
  return new E(t, { beforeExpr: !0, binop: e });
466
466
  }
467
- var H = { beforeExpr: !0 }, M = { startsExpr: !0 }, Rt = {};
467
+ var $ = { beforeExpr: !0 }, D = { startsExpr: !0 }, Nt = {};
468
468
  function C(t, e) {
469
- return e === void 0 && (e = {}), e.keyword = t, Rt[t] = new E(t, e);
469
+ return e === void 0 && (e = {}), e.keyword = t, Nt[t] = new E(t, e);
470
470
  }
471
471
  var o = {
472
- num: new E("num", M),
473
- regexp: new E("regexp", M),
474
- string: new E("string", M),
475
- name: new E("name", M),
472
+ num: new E("num", D),
473
+ regexp: new E("regexp", D),
474
+ string: new E("string", D),
475
+ name: new E("name", D),
476
476
  eof: new E("eof"),
477
477
  // Punctuation token types.
478
478
  bracketL: new E("[", { beforeExpr: !0, startsExpr: !0 }),
@@ -481,17 +481,17 @@ var o = {
481
481
  braceR: new E("}"),
482
482
  parenL: new E("(", { beforeExpr: !0, startsExpr: !0 }),
483
483
  parenR: new E(")"),
484
- comma: new E(",", H),
485
- semi: new E(";", H),
486
- colon: new E(":", H),
484
+ comma: new E(",", $),
485
+ semi: new E(";", $),
486
+ colon: new E(":", $),
487
487
  dot: new E("."),
488
- question: new E("?", H),
488
+ question: new E("?", $),
489
489
  questionDot: new E("?."),
490
- arrow: new E("=>", H),
490
+ arrow: new E("=>", $),
491
491
  template: new E("template"),
492
492
  invalidTemplate: new E("invalidTemplate"),
493
- ellipsis: new E("...", H),
494
- backQuote: new E("`", M),
493
+ ellipsis: new E("...", $),
494
+ backQuote: new E("`", D),
495
495
  dollarBraceL: new E("${", { beforeExpr: !0, startsExpr: !0 }),
496
496
  // Operators. These carry several kinds of properties to help the
497
497
  // parser use them properly (the presence of these properties is
@@ -510,66 +510,66 @@ var o = {
510
510
  assign: new E("_=", { beforeExpr: !0, isAssign: !0 }),
511
511
  incDec: new E("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
512
512
  prefix: new E("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
513
- logicalOR: B("||", 1),
514
- logicalAND: B("&&", 2),
515
- bitwiseOR: B("|", 3),
516
- bitwiseXOR: B("^", 4),
517
- bitwiseAND: B("&", 5),
518
- equality: B("==/!=/===/!==", 6),
519
- relational: B("</>/<=/>=", 7),
520
- bitShift: B("<</>>/>>>", 8),
513
+ logicalOR: H("||", 1),
514
+ logicalAND: H("&&", 2),
515
+ bitwiseOR: H("|", 3),
516
+ bitwiseXOR: H("^", 4),
517
+ bitwiseAND: H("&", 5),
518
+ equality: H("==/!=/===/!==", 6),
519
+ relational: H("</>/<=/>=", 7),
520
+ bitShift: H("<</>>/>>>", 8),
521
521
  plusMin: new E("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
522
- modulo: B("%", 10),
523
- star: B("*", 10),
524
- slash: B("/", 10),
522
+ modulo: H("%", 10),
523
+ star: H("*", 10),
524
+ slash: H("/", 10),
525
525
  starstar: new E("**", { beforeExpr: !0 }),
526
- coalesce: B("??", 1),
526
+ coalesce: H("??", 1),
527
527
  // Keyword token types.
528
528
  _break: C("break"),
529
- _case: C("case", H),
529
+ _case: C("case", $),
530
530
  _catch: C("catch"),
531
531
  _continue: C("continue"),
532
532
  _debugger: C("debugger"),
533
- _default: C("default", H),
533
+ _default: C("default", $),
534
534
  _do: C("do", { isLoop: !0, beforeExpr: !0 }),
535
- _else: C("else", H),
535
+ _else: C("else", $),
536
536
  _finally: C("finally"),
537
537
  _for: C("for", { isLoop: !0 }),
538
- _function: C("function", M),
538
+ _function: C("function", D),
539
539
  _if: C("if"),
540
- _return: C("return", H),
540
+ _return: C("return", $),
541
541
  _switch: C("switch"),
542
- _throw: C("throw", H),
542
+ _throw: C("throw", $),
543
543
  _try: C("try"),
544
544
  _var: C("var"),
545
545
  _const: C("const"),
546
546
  _while: C("while", { isLoop: !0 }),
547
547
  _with: C("with"),
548
548
  _new: C("new", { beforeExpr: !0, startsExpr: !0 }),
549
- _this: C("this", M),
550
- _super: C("super", M),
551
- _class: C("class", M),
552
- _extends: C("extends", H),
549
+ _this: C("this", D),
550
+ _super: C("super", D),
551
+ _class: C("class", D),
552
+ _extends: C("extends", $),
553
553
  _export: C("export"),
554
- _import: C("import", M),
555
- _null: C("null", M),
556
- _true: C("true", M),
557
- _false: C("false", M),
554
+ _import: C("import", D),
555
+ _null: C("null", D),
556
+ _true: C("true", D),
557
+ _false: C("false", D),
558
558
  _in: C("in", { beforeExpr: !0, binop: 7 }),
559
559
  _instanceof: C("instanceof", { beforeExpr: !0, binop: 7 }),
560
560
  _typeof: C("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
561
561
  _void: C("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
562
562
  _delete: C("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
563
- }, U = /\r\n?|\n|\u2028|\u2029/, Pe = new RegExp(U.source, "g");
563
+ }, G = /\r\n?|\n|\u2028|\u2029/, Pe = new RegExp(G.source, "g");
564
564
  function Ve(t, e) {
565
565
  return t === 10 || t === 13 || !e && (t === 8232 || t === 8233);
566
566
  }
567
- var bs = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, $ = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ys = Object.prototype, $i = ys.hasOwnProperty, Ui = ys.toString;
568
- function Je(t, e) {
569
- return $i.call(t, e);
567
+ var Ss = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, U = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Cs = Object.prototype, qi = Cs.hasOwnProperty, Wi = Cs.toString;
568
+ function Qe(t, e) {
569
+ return qi.call(t, e);
570
570
  }
571
- var Xt = Array.isArray || (function(t) {
572
- return Ui.call(t) === "[object Array]";
571
+ var ts = Array.isArray || (function(t) {
572
+ return Wi.call(t) === "[object Array]";
573
573
  });
574
574
  function le(t) {
575
575
  return new RegExp("^(?:" + t.replace(/ /g, "|") + ")$");
@@ -580,10 +580,10 @@ var Te = function(e, s) {
580
580
  Te.prototype.offset = function(e) {
581
581
  return new Te(this.line, this.column + e);
582
582
  };
583
- var Qe = function(e, s, i) {
583
+ var Ye = function(e, s, i) {
584
584
  this.start = s, this.end = i, e.sourceFile !== null && (this.source = e.sourceFile);
585
585
  };
586
- function _s(t, e) {
586
+ function ws(t, e) {
587
587
  for (var s = 1, i = 0; ; ) {
588
588
  Pe.lastIndex = i;
589
589
  var r = Pe.exec(t);
@@ -593,7 +593,7 @@ function _s(t, e) {
593
593
  return new Te(s, e - i);
594
594
  }
595
595
  }
596
- var yt = {
596
+ var _t = {
597
597
  // `ecmaVersion` indicates the ECMAScript version to parse. Must be
598
598
  // either 3, 5, 6 (2015), 7 (2016), 8 (2017), 9 (2018), or 10
599
599
  // (2019). This influences support for strict mode, the set of
@@ -677,19 +677,19 @@ var yt = {
677
677
  // (non-standard) ParenthesizedExpression nodes
678
678
  preserveParens: !1
679
679
  };
680
- function Gi(t) {
680
+ function Ki(t) {
681
681
  var e = {};
682
- for (var s in yt)
683
- e[s] = t && Je(t, s) ? t[s] : yt[s];
684
- if (e.ecmaVersion >= 2015 && (e.ecmaVersion -= 2009), e.allowReserved == null && (e.allowReserved = e.ecmaVersion < 5), Xt(e.onToken)) {
682
+ for (var s in _t)
683
+ e[s] = t && Qe(t, s) ? t[s] : _t[s];
684
+ if (e.ecmaVersion >= 2015 && (e.ecmaVersion -= 2009), e.allowReserved == null && (e.allowReserved = e.ecmaVersion < 5), ts(e.onToken)) {
685
685
  var i = e.onToken;
686
686
  e.onToken = function(r) {
687
687
  return i.push(r);
688
688
  };
689
689
  }
690
- return Xt(e.onComment) && (e.onComment = qi(e, e.onComment)), e;
690
+ return ts(e.onComment) && (e.onComment = zi(e, e.onComment)), e;
691
691
  }
692
- function qi(t, e) {
692
+ function zi(t, e) {
693
693
  return function(s, i, r, n, a, u) {
694
694
  var c = {
695
695
  type: s ? "Block" : "Line",
@@ -697,25 +697,25 @@ function qi(t, e) {
697
697
  start: r,
698
698
  end: n
699
699
  };
700
- t.locations && (c.loc = new Qe(this, a, u)), t.ranges && (c.range = [r, n]), e.push(c);
700
+ t.locations && (c.loc = new Ye(this, a, u)), t.ranges && (c.range = [r, n]), e.push(c);
701
701
  };
702
702
  }
703
- var Re = 1, Oe = 2, Nt = Re | Oe, Ss = 4, Cs = 8, ws = 16, Es = 32, ks = 64, Is = 128;
704
- function Vt(t, e) {
705
- return Oe | (t ? Ss : 0) | (e ? Cs : 0);
703
+ var Re = 1, Oe = 2, Vt = Re | Oe, Es = 4, ks = 8, Is = 16, As = 32, Ps = 64, Ts = 128;
704
+ function Ot(t, e) {
705
+ return Oe | (t ? Es : 0) | (e ? ks : 0);
706
706
  }
707
- var Zt = 0, Ot = 1, Z = 2, As = 3, Ps = 4, Ts = 5, A = function(e, s, i) {
708
- this.options = e = Gi(e), this.sourceFile = e.sourceFile, this.keywords = le(ji[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
707
+ var ss = 0, Ft = 1, Z = 2, Rs = 3, Ns = 4, Vs = 5, A = function(e, s, i) {
708
+ this.options = e = Ki(e), this.sourceFile = e.sourceFile, this.keywords = le(Bi[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
709
709
  var r = "";
710
710
  if (e.allowReserved !== !0) {
711
- for (var n = e.ecmaVersion; !(r = ut[n]); n--)
711
+ for (var n = e.ecmaVersion; !(r = ct[n]); n--)
712
712
  ;
713
713
  e.sourceType === "module" && (r += " await");
714
714
  }
715
715
  this.reservedWords = le(r);
716
- var a = (r ? r + " " : "") + ut.strict;
717
- this.reservedWordsStrict = le(a), this.reservedWordsStrictBind = le(a + " " + ut.strictBind), this.input = String(s), this.containsEsc = !1, i ? (this.pos = i, this.lineStart = this.input.lastIndexOf(`
718
- `, i - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(U).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = o.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = {}, this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Re), this.regexpState = null;
716
+ var a = (r ? r + " " : "") + ct.strict;
717
+ this.reservedWordsStrict = le(a), this.reservedWordsStrictBind = le(a + " " + ct.strictBind), this.input = String(s), this.containsEsc = !1, i ? (this.pos = i, this.lineStart = this.input.lastIndexOf(`
718
+ `, i - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(G).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = o.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = {}, this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Re), this.regexpState = null;
719
719
  }, pe = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 } };
720
720
  A.prototype.parse = function() {
721
721
  var e = this.options.program || this.startNode();
@@ -725,16 +725,16 @@ pe.inFunction.get = function() {
725
725
  return (this.currentVarScope().flags & Oe) > 0;
726
726
  };
727
727
  pe.inGenerator.get = function() {
728
- return (this.currentVarScope().flags & Cs) > 0;
728
+ return (this.currentVarScope().flags & ks) > 0;
729
729
  };
730
730
  pe.inAsync.get = function() {
731
- return (this.currentVarScope().flags & Ss) > 0;
731
+ return (this.currentVarScope().flags & Es) > 0;
732
732
  };
733
733
  pe.allowSuper.get = function() {
734
- return (this.currentThisScope().flags & ks) > 0;
734
+ return (this.currentThisScope().flags & Ps) > 0;
735
735
  };
736
736
  pe.allowDirectSuper.get = function() {
737
- return (this.currentThisScope().flags & Is) > 0;
737
+ return (this.currentThisScope().flags & Ts) > 0;
738
738
  };
739
739
  pe.treatFunctionsAsVar.get = function() {
740
740
  return this.treatFunctionsAsVarInScope(this.currentScope());
@@ -759,64 +759,64 @@ A.tokenizer = function(e, s) {
759
759
  return new this(s, e);
760
760
  };
761
761
  Object.defineProperties(A.prototype, pe);
762
- var F = A.prototype, Wi = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;
763
- F.strictDirective = function(t) {
762
+ var L = A.prototype, Ji = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;
763
+ L.strictDirective = function(t) {
764
764
  for (; ; ) {
765
- $.lastIndex = t, t += $.exec(this.input)[0].length;
766
- var e = Wi.exec(this.input.slice(t));
765
+ U.lastIndex = t, t += U.exec(this.input)[0].length;
766
+ var e = Ji.exec(this.input.slice(t));
767
767
  if (!e)
768
768
  return !1;
769
769
  if ((e[1] || e[2]) === "use strict") {
770
- $.lastIndex = t + e[0].length;
771
- var s = $.exec(this.input), i = s.index + s[0].length, r = this.input.charAt(i);
772
- return r === ";" || r === "}" || U.test(s[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r) || r === "!" && this.input.charAt(i + 1) === "=");
770
+ U.lastIndex = t + e[0].length;
771
+ var s = U.exec(this.input), i = s.index + s[0].length, r = this.input.charAt(i);
772
+ return r === ";" || r === "}" || G.test(s[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r) || r === "!" && this.input.charAt(i + 1) === "=");
773
773
  }
774
- t += e[0].length, $.lastIndex = t, t += $.exec(this.input)[0].length, this.input[t] === ";" && t++;
774
+ t += e[0].length, U.lastIndex = t, t += U.exec(this.input)[0].length, this.input[t] === ";" && t++;
775
775
  }
776
776
  };
777
- F.eat = function(t) {
777
+ L.eat = function(t) {
778
778
  return this.type === t ? (this.next(), !0) : !1;
779
779
  };
780
- F.isContextual = function(t) {
780
+ L.isContextual = function(t) {
781
781
  return this.type === o.name && this.value === t && !this.containsEsc;
782
782
  };
783
- F.eatContextual = function(t) {
783
+ L.eatContextual = function(t) {
784
784
  return this.isContextual(t) ? (this.next(), !0) : !1;
785
785
  };
786
- F.expectContextual = function(t) {
786
+ L.expectContextual = function(t) {
787
787
  this.eatContextual(t) || this.unexpected();
788
788
  };
789
- F.canInsertSemicolon = function() {
790
- return this.type === o.eof || this.type === o.braceR || U.test(this.input.slice(this.lastTokEnd, this.start));
789
+ L.canInsertSemicolon = function() {
790
+ return this.type === o.eof || this.type === o.braceR || G.test(this.input.slice(this.lastTokEnd, this.start));
791
791
  };
792
- F.insertSemicolon = function() {
792
+ L.insertSemicolon = function() {
793
793
  if (this.canInsertSemicolon())
794
794
  return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
795
795
  };
796
- F.semicolon = function() {
796
+ L.semicolon = function() {
797
797
  !this.eat(o.semi) && !this.insertSemicolon() && this.unexpected();
798
798
  };
799
- F.afterTrailingComma = function(t, e) {
799
+ L.afterTrailingComma = function(t, e) {
800
800
  if (this.type === t)
801
801
  return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), e || this.next(), !0;
802
802
  };
803
- F.expect = function(t) {
803
+ L.expect = function(t) {
804
804
  this.eat(t) || this.unexpected();
805
805
  };
806
- F.unexpected = function(t) {
806
+ L.unexpected = function(t) {
807
807
  this.raise(t ?? this.start, "Unexpected token");
808
808
  };
809
- function Ye() {
809
+ function Xe() {
810
810
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
811
811
  }
812
- F.checkPatternErrors = function(t, e) {
812
+ L.checkPatternErrors = function(t, e) {
813
813
  if (t) {
814
814
  t.trailingComma > -1 && this.raiseRecoverable(t.trailingComma, "Comma is not permitted after the rest element");
815
815
  var s = e ? t.parenthesizedAssign : t.parenthesizedBind;
816
816
  s > -1 && this.raiseRecoverable(s, "Parenthesized pattern");
817
817
  }
818
818
  };
819
- F.checkExpressionErrors = function(t, e) {
819
+ L.checkExpressionErrors = function(t, e) {
820
820
  if (!t)
821
821
  return !1;
822
822
  var s = t.shorthandAssign, i = t.doubleProto;
@@ -824,10 +824,10 @@ F.checkExpressionErrors = function(t, e) {
824
824
  return s >= 0 || i >= 0;
825
825
  s >= 0 && this.raise(s, "Shorthand property assignments are valid only in destructuring patterns"), i >= 0 && this.raiseRecoverable(i, "Redefinition of __proto__ property");
826
826
  };
827
- F.checkYieldAwaitInDefaultParams = function() {
827
+ L.checkYieldAwaitInDefaultParams = function() {
828
828
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
829
829
  };
830
- F.isSimpleAssignTarget = function(t) {
830
+ L.isSimpleAssignTarget = function(t) {
831
831
  return t.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(t.expression) : t.type === "Identifier" || t.type === "MemberExpression";
832
832
  };
833
833
  var y = A.prototype;
@@ -844,12 +844,12 @@ y.parseTopLevel = function(t) {
844
844
  }
845
845
  return this.adaptDirectivePrologue(t.body), this.next(), t.sourceType = this.options.sourceType, this.finishNode(t, "Program");
846
846
  };
847
- var Ft = { kind: "loop" }, Ki = { kind: "switch" };
847
+ var Lt = { kind: "loop" }, Qi = { kind: "switch" };
848
848
  y.isLet = function(t) {
849
849
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
850
850
  return !1;
851
- $.lastIndex = this.pos;
852
- var e = $.exec(this.input), s = this.pos + e[0].length, i = this.input.charCodeAt(s);
851
+ U.lastIndex = this.pos;
852
+ var e = U.exec(this.input), s = this.pos + e[0].length, i = this.input.charCodeAt(s);
853
853
  if (i === 91)
854
854
  return !0;
855
855
  if (t)
@@ -860,7 +860,7 @@ y.isLet = function(t) {
860
860
  for (var r = s + 1; be(this.input.charCodeAt(r), !0); )
861
861
  ++r;
862
862
  var n = this.input.slice(s, r);
863
- if (!Mi.test(n))
863
+ if (!Hi.test(n))
864
864
  return !0;
865
865
  }
866
866
  return !1;
@@ -868,9 +868,9 @@ y.isLet = function(t) {
868
868
  y.isAsyncFunction = function() {
869
869
  if (this.options.ecmaVersion < 8 || !this.isContextual("async"))
870
870
  return !1;
871
- $.lastIndex = this.pos;
872
- var t = $.exec(this.input), e = this.pos + t[0].length;
873
- return !U.test(this.input.slice(this.pos, e)) && this.input.slice(e, e + 8) === "function" && (e + 8 === this.input.length || !be(this.input.charAt(e + 8)));
871
+ U.lastIndex = this.pos;
872
+ var t = U.exec(this.input), e = this.pos + t[0].length;
873
+ return !G.test(this.input.slice(this.pos, e)) && this.input.slice(e, e + 8) === "function" && (e + 8 === this.input.length || !be(this.input.charAt(e + 8)));
874
874
  };
875
875
  y.parseStatement = function(t, e, s) {
876
876
  var i = this.type, r = this.startNode(), n;
@@ -912,8 +912,8 @@ y.parseStatement = function(t, e, s) {
912
912
  case o._export:
913
913
  case o._import:
914
914
  if (this.options.ecmaVersion > 10 && i === o._import) {
915
- $.lastIndex = this.pos;
916
- var a = $.exec(this.input), u = this.pos + a[0].length, c = this.input.charCodeAt(u);
915
+ U.lastIndex = this.pos;
916
+ var a = U.exec(this.input), u = this.pos + a[0].length, c = this.input.charCodeAt(u);
917
917
  if (c === 40 || c === 46)
918
918
  return this.parseExpressionStatement(r, this.parseExpression());
919
919
  }
@@ -944,23 +944,23 @@ y.parseDebuggerStatement = function(t) {
944
944
  return this.next(), this.semicolon(), this.finishNode(t, "DebuggerStatement");
945
945
  };
946
946
  y.parseDoStatement = function(t) {
947
- return this.next(), this.labels.push(Ft), t.body = this.parseStatement("do"), this.labels.pop(), this.expect(o._while), t.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(o.semi) : this.semicolon(), this.finishNode(t, "DoWhileStatement");
947
+ return this.next(), this.labels.push(Lt), t.body = this.parseStatement("do"), this.labels.pop(), this.expect(o._while), t.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(o.semi) : this.semicolon(), this.finishNode(t, "DoWhileStatement");
948
948
  };
949
949
  y.parseForStatement = function(t) {
950
950
  this.next();
951
951
  var e = this.options.ecmaVersion >= 9 && (this.inAsync || !this.inFunction && this.options.allowAwaitOutsideFunction) && this.eatContextual("await") ? this.lastTokStart : -1;
952
- if (this.labels.push(Ft), this.enterScope(0), this.expect(o.parenL), this.type === o.semi)
952
+ if (this.labels.push(Lt), this.enterScope(0), this.expect(o.parenL), this.type === o.semi)
953
953
  return e > -1 && this.unexpected(e), this.parseFor(t, null);
954
954
  var s = this.isLet();
955
955
  if (this.type === o._var || this.type === o._const || s) {
956
956
  var i = this.startNode(), r = s ? "let" : this.value;
957
957
  return this.next(), this.parseVar(i, !0, r), this.finishNode(i, "VariableDeclaration"), (this.type === o._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && i.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === o._in ? e > -1 && this.unexpected(e) : t.await = e > -1), this.parseForIn(t, i)) : (e > -1 && this.unexpected(e), this.parseFor(t, i));
958
958
  }
959
- var n = new Ye(), a = this.parseExpression(!0, n);
959
+ var n = new Xe(), a = this.parseExpression(!0, n);
960
960
  return this.type === o._in || this.options.ecmaVersion >= 6 && this.isContextual("of") ? (this.options.ecmaVersion >= 9 && (this.type === o._in ? e > -1 && this.unexpected(e) : t.await = e > -1), this.toAssignable(a, !1, n), this.checkLVal(a), this.parseForIn(t, a)) : (this.checkExpressionErrors(n, !0), e > -1 && this.unexpected(e), this.parseFor(t, a));
961
961
  };
962
962
  y.parseFunctionStatement = function(t, e, s) {
963
- return this.next(), this.parseFunction(t, ke | (s ? 0 : _t), !1, e);
963
+ return this.next(), this.parseFunction(t, ke | (s ? 0 : St), !1, e);
964
964
  };
965
965
  y.parseIfStatement = function(t) {
966
966
  return this.next(), t.test = this.parseParenExpression(), t.consequent = this.parseStatement("if"), t.alternate = this.eat(o._else) ? this.parseStatement("if") : null, this.finishNode(t, "IfStatement");
@@ -969,7 +969,7 @@ y.parseReturnStatement = function(t) {
969
969
  return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(o.semi) || this.insertSemicolon() ? t.argument = null : (t.argument = this.parseExpression(), this.semicolon()), this.finishNode(t, "ReturnStatement");
970
970
  };
971
971
  y.parseSwitchStatement = function(t) {
972
- this.next(), t.discriminant = this.parseParenExpression(), t.cases = [], this.expect(o.braceL), this.labels.push(Ki), this.enterScope(0);
972
+ this.next(), t.discriminant = this.parseParenExpression(), t.cases = [], this.expect(o.braceL), this.labels.push(Qi), this.enterScope(0);
973
973
  for (var e, s = !1; this.type !== o.braceR; )
974
974
  if (this.type === o._case || this.type === o._default) {
975
975
  var i = this.type === o._case;
@@ -979,16 +979,16 @@ y.parseSwitchStatement = function(t) {
979
979
  return this.exitScope(), e && this.finishNode(e, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(t, "SwitchStatement");
980
980
  };
981
981
  y.parseThrowStatement = function(t) {
982
- return this.next(), U.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), t.argument = this.parseExpression(), this.semicolon(), this.finishNode(t, "ThrowStatement");
982
+ return this.next(), G.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), t.argument = this.parseExpression(), this.semicolon(), this.finishNode(t, "ThrowStatement");
983
983
  };
984
- var zi = [];
984
+ var Yi = [];
985
985
  y.parseTryStatement = function(t) {
986
986
  if (this.next(), t.block = this.parseBlock(), t.handler = null, this.type === o._catch) {
987
987
  var e = this.startNode();
988
988
  if (this.next(), this.eat(o.parenL)) {
989
989
  e.param = this.parseBindingAtom();
990
990
  var s = e.param.type === "Identifier";
991
- this.enterScope(s ? Es : 0), this.checkLVal(e.param, s ? Ps : Z), this.expect(o.parenR);
991
+ this.enterScope(s ? As : 0), this.checkLVal(e.param, s ? Ns : Z), this.expect(o.parenR);
992
992
  } else
993
993
  this.options.ecmaVersion < 10 && this.unexpected(), e.param = null, this.enterScope(0);
994
994
  e.body = this.parseBlock(!1), this.exitScope(), t.handler = this.finishNode(e, "CatchClause");
@@ -999,7 +999,7 @@ y.parseVarStatement = function(t, e) {
999
999
  return this.next(), this.parseVar(t, !1, e), this.semicolon(), this.finishNode(t, "VariableDeclaration");
1000
1000
  };
1001
1001
  y.parseWhileStatement = function(t) {
1002
- return this.next(), t.test = this.parseParenExpression(), this.labels.push(Ft), t.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(t, "WhileStatement");
1002
+ return this.next(), t.test = this.parseParenExpression(), this.labels.push(Lt), t.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(t, "WhileStatement");
1003
1003
  };
1004
1004
  y.parseWithStatement = function(t) {
1005
1005
  return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), t.object = this.parseParenExpression(), t.body = this.parseStatement("with"), this.finishNode(t, "WithStatement");
@@ -1050,13 +1050,13 @@ y.parseVar = function(t, e, s) {
1050
1050
  return t;
1051
1051
  };
1052
1052
  y.parseVarId = function(t, e) {
1053
- t.id = this.parseBindingAtom(), this.checkLVal(t.id, e === "var" ? Ot : Z, !1);
1053
+ t.id = this.parseBindingAtom(), this.checkLVal(t.id, e === "var" ? Ft : Z, !1);
1054
1054
  };
1055
- var ke = 1, _t = 2, Rs = 4;
1055
+ var ke = 1, St = 2, Os = 4;
1056
1056
  y.parseFunction = function(t, e, s, i) {
1057
- this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !i) && (this.type === o.star && e & _t && this.unexpected(), t.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (t.async = !!i), e & ke && (t.id = e & Rs && this.type !== o.name ? null : this.parseIdent(), t.id && !(e & _t) && this.checkLVal(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? Ot : Z : As));
1057
+ this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !i) && (this.type === o.star && e & St && this.unexpected(), t.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (t.async = !!i), e & ke && (t.id = e & Os && this.type !== o.name ? null : this.parseIdent(), t.id && !(e & St) && this.checkLVal(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? Ft : Z : Rs));
1058
1058
  var r = this.yieldPos, n = this.awaitPos, a = this.awaitIdentPos;
1059
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Vt(t.async, t.generator)), e & ke || (t.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, s, !1), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = a, this.finishNode(t, e & ke ? "FunctionDeclaration" : "FunctionExpression");
1059
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ot(t.async, t.generator)), e & ke || (t.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, s, !1), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = a, this.finishNode(t, e & ke ? "FunctionDeclaration" : "FunctionExpression");
1060
1060
  };
1061
1061
  y.parseFunctionParams = function(t) {
1062
1062
  this.expect(o.parenL), t.params = this.parseBindingList(o.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
@@ -1104,7 +1104,7 @@ y.parseExport = function(t, e) {
1104
1104
  var s;
1105
1105
  if (this.type === o._function || (s = this.isAsyncFunction())) {
1106
1106
  var i = this.startNode();
1107
- this.next(), s && this.next(), t.declaration = this.parseFunction(i, ke | Rs, !1, s);
1107
+ this.next(), s && this.next(), t.declaration = this.parseFunction(i, ke | Os, !1, s);
1108
1108
  } else if (this.type === o._class) {
1109
1109
  var r = this.startNode();
1110
1110
  t.declaration = this.parseClass(r, "nullableID");
@@ -1129,7 +1129,7 @@ y.parseExport = function(t, e) {
1129
1129
  return this.finishNode(t, "ExportNamedDeclaration");
1130
1130
  };
1131
1131
  y.checkExport = function(t, e, s) {
1132
- t && (Je(t, e) && this.raiseRecoverable(s, "Duplicate export '" + e + "'"), t[e] = !0);
1132
+ t && (Qe(t, e) && this.raiseRecoverable(s, "Duplicate export '" + e + "'"), t[e] = !0);
1133
1133
  };
1134
1134
  y.checkPatternExport = function(t, e) {
1135
1135
  var s = e.type;
@@ -1170,7 +1170,7 @@ y.parseExportSpecifiers = function(t) {
1170
1170
  return e;
1171
1171
  };
1172
1172
  y.parseImport = function(t) {
1173
- return this.next(), this.type === o.string ? (t.specifiers = zi, t.source = this.parseExprAtom()) : (t.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), t.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.semicolon(), this.finishNode(t, "ImportDeclaration");
1173
+ return this.next(), this.type === o.string ? (t.specifiers = Yi, t.source = this.parseExprAtom()) : (t.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), t.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.semicolon(), this.finishNode(t, "ImportDeclaration");
1174
1174
  };
1175
1175
  y.parseImportSpecifiers = function() {
1176
1176
  var t = [], e = !0;
@@ -1306,9 +1306,9 @@ te.parseMaybeDefault = function(t, e, s) {
1306
1306
  return i.left = s, i.right = this.parseMaybeAssign(), this.finishNode(i, "AssignmentPattern");
1307
1307
  };
1308
1308
  te.checkLVal = function(t, e, s) {
1309
- switch (e === void 0 && (e = Zt), t.type) {
1309
+ switch (e === void 0 && (e = ss), t.type) {
1310
1310
  case "Identifier":
1311
- e === Z && t.name === "let" && this.raiseRecoverable(t.start, "let is disallowed as a lexically bound name"), this.strict && this.reservedWordsStrictBind.test(t.name) && this.raiseRecoverable(t.start, (e ? "Binding " : "Assigning to ") + t.name + " in strict mode"), s && (Je(s, t.name) && this.raiseRecoverable(t.start, "Argument name clash"), s[t.name] = !0), e !== Zt && e !== Ts && this.declareName(t.name, e, t.start);
1311
+ e === Z && t.name === "let" && this.raiseRecoverable(t.start, "let is disallowed as a lexically bound name"), this.strict && this.reservedWordsStrictBind.test(t.name) && this.raiseRecoverable(t.start, (e ? "Binding " : "Assigning to ") + t.name + " in strict mode"), s && (Qe(s, t.name) && this.raiseRecoverable(t.start, "Argument name clash"), s[t.name] = !0), e !== ss && e !== Vs && this.declareName(t.name, e, t.start);
1312
1312
  break;
1313
1313
  case "ChainExpression":
1314
1314
  this.raiseRecoverable(t.start, "Optional chaining cannot appear in left-hand side");
@@ -1394,7 +1394,7 @@ _.parseMaybeAssign = function(t, e, s) {
1394
1394
  this.exprAllowed = !1;
1395
1395
  }
1396
1396
  var i = !1, r = -1, n = -1;
1397
- e ? (r = e.parenthesizedAssign, n = e.trailingComma, e.parenthesizedAssign = e.trailingComma = -1) : (e = new Ye(), i = !0);
1397
+ e ? (r = e.parenthesizedAssign, n = e.trailingComma, e.parenthesizedAssign = e.trailingComma = -1) : (e = new Xe(), i = !0);
1398
1398
  var a = this.start, u = this.startLoc;
1399
1399
  (this.type === o.parenL || this.type === o.name) && (this.potentialArrowAt = this.start);
1400
1400
  var c = this.parseMaybeConditional(t, e);
@@ -1480,7 +1480,7 @@ _.parseSubscript = function(t, e, s, i, r, n) {
1480
1480
  var l = this.startNodeAt(e, s);
1481
1481
  l.object = t, l.property = c ? this.parseExpression() : this.parseIdent(this.options.allowReserved !== "never"), l.computed = !!c, c && this.expect(o.bracketR), a && (l.optional = u), t = this.finishNode(l, "MemberExpression");
1482
1482
  } else if (!i && this.eat(o.parenL)) {
1483
- var h = new Ye(), p = this.yieldPos, d = this.awaitPos, f = this.awaitIdentPos;
1483
+ var h = new Xe(), p = this.yieldPos, d = this.awaitPos, f = this.awaitIdentPos;
1484
1484
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1485
1485
  var m = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, h);
1486
1486
  if (r && !u && !this.canInsertSemicolon() && this.eat(o.arrow))
@@ -1583,7 +1583,7 @@ _.parseParenAndDistinguishExpression = function(t) {
1583
1583
  var e = this.start, s = this.startLoc, i, r = this.options.ecmaVersion >= 8;
1584
1584
  if (this.options.ecmaVersion >= 6) {
1585
1585
  this.next();
1586
- var n = this.start, a = this.startLoc, u = [], c = !0, l = !1, h = new Ye(), p = this.yieldPos, d = this.awaitPos, f;
1586
+ var n = this.start, a = this.startLoc, u = [], c = !0, l = !1, h = new Xe(), p = this.yieldPos, d = this.awaitPos, f;
1587
1587
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR; )
1588
1588
  if (c ? c = !1 : this.expect(o.comma), r && this.afterTrailingComma(o.parenR, !0)) {
1589
1589
  l = !0;
@@ -1611,7 +1611,7 @@ _.parseParenItem = function(t) {
1611
1611
  _.parseParenArrowList = function(t, e, s) {
1612
1612
  return this.parseArrowExpression(this.startNodeAt(t, e), s);
1613
1613
  };
1614
- var Ji = [];
1614
+ var Xi = [];
1615
1615
  _.parseNew = function() {
1616
1616
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
1617
1617
  var t = this.startNode(), e = this.parseIdent(!0);
@@ -1621,7 +1621,7 @@ _.parseNew = function() {
1621
1621
  return t.property = this.parseIdent(!0), t.property.name !== "target" && this.raiseRecoverable(t.property.start, "The only valid meta property for new is 'new.target'"), s && this.raiseRecoverable(t.start, "'new.target' must not contain escaped characters"), this.inNonArrowFunction() || this.raiseRecoverable(t.start, "'new.target' can only be used in functions"), this.finishNode(t, "MetaProperty");
1622
1622
  }
1623
1623
  var i = this.start, r = this.startLoc, n = this.type === o._import;
1624
- return t.callee = this.parseSubscripts(this.parseExprAtom(), i, r, !0), n && t.callee.type === "ImportExpression" && this.raise(i, "Cannot use new with import()"), this.eat(o.parenL) ? t.arguments = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1) : t.arguments = Ji, this.finishNode(t, "NewExpression");
1624
+ return t.callee = this.parseSubscripts(this.parseExprAtom(), i, r, !0), n && t.callee.type === "ImportExpression" && this.raise(i, "Cannot use new with import()"), this.eat(o.parenL) ? t.arguments = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1) : t.arguments = Xi, this.finishNode(t, "NewExpression");
1625
1625
  };
1626
1626
  _.parseTemplateElement = function(t) {
1627
1627
  var e = t.isTagged, s = this.startNode();
@@ -1646,7 +1646,7 @@ _.parseTemplate = function(t) {
1646
1646
  return this.next(), this.finishNode(s, "TemplateLiteral");
1647
1647
  };
1648
1648
  _.isAsyncProp = function(t) {
1649
- return !t.computed && t.key.type === "Identifier" && t.key.name === "async" && (this.type === o.name || this.type === o.num || this.type === o.string || this.type === o.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === o.star) && !U.test(this.input.slice(this.lastTokEnd, this.start));
1649
+ return !t.computed && t.key.type === "Identifier" && t.key.name === "async" && (this.type === o.name || this.type === o.num || this.type === o.string || this.type === o.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === o.star) && !G.test(this.input.slice(this.lastTokEnd, this.start));
1650
1650
  };
1651
1651
  _.parseObj = function(t, e) {
1652
1652
  var s = this.startNode(), i = !0, r = {};
@@ -1696,11 +1696,11 @@ _.initFunction = function(t) {
1696
1696
  };
1697
1697
  _.parseMethod = function(t, e, s) {
1698
1698
  var i = this.startNode(), r = this.yieldPos, n = this.awaitPos, a = this.awaitIdentPos;
1699
- return this.initFunction(i), this.options.ecmaVersion >= 6 && (i.generator = t), this.options.ecmaVersion >= 8 && (i.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Vt(e, i.generator) | ks | (s ? Is : 0)), this.expect(o.parenL), i.params = this.parseBindingList(o.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(i, !1, !0), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = a, this.finishNode(i, "FunctionExpression");
1699
+ return this.initFunction(i), this.options.ecmaVersion >= 6 && (i.generator = t), this.options.ecmaVersion >= 8 && (i.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ot(e, i.generator) | Ps | (s ? Ts : 0)), this.expect(o.parenL), i.params = this.parseBindingList(o.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(i, !1, !0), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = a, this.finishNode(i, "FunctionExpression");
1700
1700
  };
1701
1701
  _.parseArrowExpression = function(t, e, s) {
1702
1702
  var i = this.yieldPos, r = this.awaitPos, n = this.awaitIdentPos;
1703
- return this.enterScope(Vt(s, !1) | ws), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!s), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, !0), this.parseFunctionBody(t, !0, !1), this.yieldPos = i, this.awaitPos = r, this.awaitIdentPos = n, this.finishNode(t, "ArrowFunctionExpression");
1703
+ return this.enterScope(Ot(s, !1) | Is), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!s), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, !0), this.parseFunctionBody(t, !0, !1), this.yieldPos = i, this.awaitPos = r, this.awaitIdentPos = n, this.finishNode(t, "ArrowFunctionExpression");
1704
1704
  };
1705
1705
  _.parseFunctionBody = function(t, e, s) {
1706
1706
  var i = e && this.type !== o.braceL, r = this.strict, n = !1;
@@ -1710,7 +1710,7 @@ _.parseFunctionBody = function(t, e, s) {
1710
1710
  var a = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(t.params);
1711
1711
  (!r || a) && (n = this.strictDirective(this.end), n && a && this.raiseRecoverable(t.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
1712
1712
  var u = this.labels;
1713
- this.labels = [], n && (this.strict = !0), this.checkParams(t, !r && !n && !e && !s && this.isSimpleParamList(t.params)), this.strict && t.id && this.checkLVal(t.id, Ts), t.body = this.parseBlock(!1, void 0, n && !r), t.expression = !1, this.adaptDirectivePrologue(t.body.body), this.labels = u;
1713
+ this.labels = [], n && (this.strict = !0), this.checkParams(t, !r && !n && !e && !s && this.isSimpleParamList(t.params)), this.strict && t.id && this.checkLVal(t.id, Vs), t.body = this.parseBlock(!1, void 0, n && !r), t.expression = !1, this.adaptDirectivePrologue(t.body.body), this.labels = u;
1714
1714
  }
1715
1715
  this.exitScope();
1716
1716
  };
@@ -1725,7 +1725,7 @@ _.isSimpleParamList = function(t) {
1725
1725
  _.checkParams = function(t, e) {
1726
1726
  for (var s = {}, i = 0, r = t.params; i < r.length; i += 1) {
1727
1727
  var n = r[i];
1728
- this.checkLVal(n, Ot, e ? null : s);
1728
+ this.checkLVal(n, Ft, e ? null : s);
1729
1729
  }
1730
1730
  };
1731
1731
  _.parseExprList = function(t, e, s, i) {
@@ -1760,23 +1760,23 @@ _.parseAwait = function() {
1760
1760
  var t = this.startNode();
1761
1761
  return this.next(), t.argument = this.parseMaybeUnary(null, !1), this.finishNode(t, "AwaitExpression");
1762
1762
  };
1763
- var Ue = A.prototype;
1764
- Ue.raise = function(t, e) {
1765
- var s = _s(this.input, t);
1763
+ var Ge = A.prototype;
1764
+ Ge.raise = function(t, e) {
1765
+ var s = ws(this.input, t);
1766
1766
  e += " (" + s.line + ":" + s.column + ")";
1767
1767
  var i = new SyntaxError(e);
1768
1768
  throw i.pos = t, i.loc = s, i.raisedAt = this.pos, i;
1769
1769
  };
1770
- Ue.raiseRecoverable = Ue.raise;
1771
- Ue.curPosition = function() {
1770
+ Ge.raiseRecoverable = Ge.raise;
1771
+ Ge.curPosition = function() {
1772
1772
  if (this.options.locations)
1773
1773
  return new Te(this.curLine, this.pos - this.lineStart);
1774
1774
  };
1775
- var oe = A.prototype, Qi = function(e) {
1775
+ var oe = A.prototype, Zi = function(e) {
1776
1776
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
1777
1777
  };
1778
1778
  oe.enterScope = function(t) {
1779
- this.scopeStack.push(new Qi(t));
1779
+ this.scopeStack.push(new Zi(t));
1780
1780
  };
1781
1781
  oe.exitScope = function() {
1782
1782
  this.scopeStack.pop();
@@ -1789,20 +1789,20 @@ oe.declareName = function(t, e, s) {
1789
1789
  if (e === Z) {
1790
1790
  var r = this.currentScope();
1791
1791
  i = r.lexical.indexOf(t) > -1 || r.functions.indexOf(t) > -1 || r.var.indexOf(t) > -1, r.lexical.push(t), this.inModule && r.flags & Re && delete this.undefinedExports[t];
1792
- } else if (e === Ps) {
1792
+ } else if (e === Ns) {
1793
1793
  var n = this.currentScope();
1794
1794
  n.lexical.push(t);
1795
- } else if (e === As) {
1795
+ } else if (e === Rs) {
1796
1796
  var a = this.currentScope();
1797
1797
  this.treatFunctionsAsVar ? i = a.lexical.indexOf(t) > -1 : i = a.lexical.indexOf(t) > -1 || a.var.indexOf(t) > -1, a.functions.push(t);
1798
1798
  } else
1799
1799
  for (var u = this.scopeStack.length - 1; u >= 0; --u) {
1800
1800
  var c = this.scopeStack[u];
1801
- if (c.lexical.indexOf(t) > -1 && !(c.flags & Es && c.lexical[0] === t) || !this.treatFunctionsAsVarInScope(c) && c.functions.indexOf(t) > -1) {
1801
+ if (c.lexical.indexOf(t) > -1 && !(c.flags & As && c.lexical[0] === t) || !this.treatFunctionsAsVarInScope(c) && c.functions.indexOf(t) > -1) {
1802
1802
  i = !0;
1803
1803
  break;
1804
1804
  }
1805
- if (c.var.push(t), this.inModule && c.flags & Re && delete this.undefinedExports[t], c.flags & Nt)
1805
+ if (c.var.push(t), this.inModule && c.flags & Re && delete this.undefinedExports[t], c.flags & Vt)
1806
1806
  break;
1807
1807
  }
1808
1808
  i && this.raiseRecoverable(s, "Identifier '" + t + "' has already been declared");
@@ -1816,34 +1816,34 @@ oe.currentScope = function() {
1816
1816
  oe.currentVarScope = function() {
1817
1817
  for (var t = this.scopeStack.length - 1; ; t--) {
1818
1818
  var e = this.scopeStack[t];
1819
- if (e.flags & Nt)
1819
+ if (e.flags & Vt)
1820
1820
  return e;
1821
1821
  }
1822
1822
  };
1823
1823
  oe.currentThisScope = function() {
1824
1824
  for (var t = this.scopeStack.length - 1; ; t--) {
1825
1825
  var e = this.scopeStack[t];
1826
- if (e.flags & Nt && !(e.flags & ws))
1826
+ if (e.flags & Vt && !(e.flags & Is))
1827
1827
  return e;
1828
1828
  }
1829
1829
  };
1830
- var Lt = function(e, s, i) {
1831
- this.type = "", this.start = s, this.end = 0, e.options.locations && (this.loc = new Qe(e, i)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [s, 0]);
1832
- }, Xe = A.prototype;
1833
- Xe.startNode = function() {
1834
- return new Lt(this, this.start, this.startLoc);
1830
+ var jt = function(e, s, i) {
1831
+ this.type = "", this.start = s, this.end = 0, e.options.locations && (this.loc = new Ye(e, i)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [s, 0]);
1832
+ }, Ze = A.prototype;
1833
+ Ze.startNode = function() {
1834
+ return new jt(this, this.start, this.startLoc);
1835
1835
  };
1836
- Xe.startNodeAt = function(t, e) {
1837
- return new Lt(this, t, e);
1836
+ Ze.startNodeAt = function(t, e) {
1837
+ return new jt(this, t, e);
1838
1838
  };
1839
- function Ns(t, e, s, i) {
1839
+ function Fs(t, e, s, i) {
1840
1840
  return t.type = e, t.end = s, this.options.locations && (t.loc.end = i), this.options.ranges && (t.range[1] = s), t;
1841
1841
  }
1842
- Xe.finishNode = function(t, e) {
1843
- return Ns.call(this, t, e, this.lastTokEnd, this.lastTokEndLoc);
1842
+ Ze.finishNode = function(t, e) {
1843
+ return Fs.call(this, t, e, this.lastTokEnd, this.lastTokEndLoc);
1844
1844
  };
1845
- Xe.finishNodeAt = function(t, e, s, i) {
1846
- return Ns.call(this, t, e, s, i);
1845
+ Ze.finishNodeAt = function(t, e, s, i) {
1846
+ return Fs.call(this, t, e, s, i);
1847
1847
  };
1848
1848
  var q = function(e, s, i, r, n) {
1849
1849
  this.token = e, this.isExpr = !!s, this.preserveSpace = !!i, this.override = r, this.generator = !!n;
@@ -1860,15 +1860,15 @@ var q = function(e, s, i, r, n) {
1860
1860
  f_expr: new q("function", !0),
1861
1861
  f_expr_gen: new q("function", !0, !1, null, !0),
1862
1862
  f_gen: new q("function", !1, !1, null, !0)
1863
- }, Ze = A.prototype;
1864
- Ze.initialContext = function() {
1863
+ }, et = A.prototype;
1864
+ et.initialContext = function() {
1865
1865
  return [I.b_stat];
1866
1866
  };
1867
- Ze.braceIsBlock = function(t) {
1867
+ et.braceIsBlock = function(t) {
1868
1868
  var e = this.curContext();
1869
- return e === I.f_expr || e === I.f_stat ? !0 : t === o.colon && (e === I.b_stat || e === I.b_expr) ? !e.isExpr : t === o._return || t === o.name && this.exprAllowed ? U.test(this.input.slice(this.lastTokEnd, this.start)) : t === o._else || t === o.semi || t === o.eof || t === o.parenR || t === o.arrow ? !0 : t === o.braceL ? e === I.b_stat : t === o._var || t === o._const || t === o.name ? !1 : !this.exprAllowed;
1869
+ return e === I.f_expr || e === I.f_stat ? !0 : t === o.colon && (e === I.b_stat || e === I.b_expr) ? !e.isExpr : t === o._return || t === o.name && this.exprAllowed ? G.test(this.input.slice(this.lastTokEnd, this.start)) : t === o._else || t === o.semi || t === o.eof || t === o.parenR || t === o.arrow ? !0 : t === o.braceL ? e === I.b_stat : t === o._var || t === o._const || t === o.name ? !1 : !this.exprAllowed;
1870
1870
  };
1871
- Ze.inGeneratorContext = function() {
1871
+ et.inGeneratorContext = function() {
1872
1872
  for (var t = this.context.length - 1; t >= 1; t--) {
1873
1873
  var e = this.context[t];
1874
1874
  if (e.token === "function")
@@ -1876,7 +1876,7 @@ Ze.inGeneratorContext = function() {
1876
1876
  }
1877
1877
  return !1;
1878
1878
  };
1879
- Ze.updateContext = function(t) {
1879
+ et.updateContext = function(t) {
1880
1880
  var e, s = this.type;
1881
1881
  s.keyword && t === o.dot ? this.exprAllowed = !1 : (e = s.updateContext) ? e.call(this, t) : this.exprAllowed = s.beforeExpr;
1882
1882
  };
@@ -1901,7 +1901,7 @@ o.parenL.updateContext = function(t) {
1901
1901
  o.incDec.updateContext = function() {
1902
1902
  };
1903
1903
  o._function.updateContext = o._class.updateContext = function(t) {
1904
- t.beforeExpr && t !== o.semi && t !== o._else && !(t === o._return && U.test(this.input.slice(this.lastTokEnd, this.start))) && !((t === o.colon || t === o.braceL) && this.curContext() === I.b_stat) ? this.context.push(I.f_expr) : this.context.push(I.f_stat), this.exprAllowed = !1;
1904
+ t.beforeExpr && t !== o.semi && t !== o._else && !(t === o._return && G.test(this.input.slice(this.lastTokEnd, this.start))) && !((t === o.colon || t === o.braceL) && this.curContext() === I.b_stat) ? this.context.push(I.f_expr) : this.context.push(I.f_stat), this.exprAllowed = !1;
1905
1905
  };
1906
1906
  o.backQuote.updateContext = function() {
1907
1907
  this.curContext() === I.q_tmpl ? this.context.pop() : this.context.push(I.q_tmpl), this.exprAllowed = !1;
@@ -1917,30 +1917,30 @@ o.name.updateContext = function(t) {
1917
1917
  var e = !1;
1918
1918
  this.options.ecmaVersion >= 6 && t !== o.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (e = !0), this.exprAllowed = e;
1919
1919
  };
1920
- var Vs = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", Os = Vs + " Extended_Pictographic", Yi = Os, Xi = {
1921
- 9: Vs,
1922
- 10: Os,
1923
- 11: Yi
1924
- }, es = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Fs = "Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Ls = Fs + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Zi = Ls + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", er = {
1925
- 9: Fs,
1926
- 10: Ls,
1927
- 11: Zi
1928
- }, js = {};
1929
- function jt(t) {
1930
- var e = js[t] = {
1931
- binary: le(Xi[t] + " " + es),
1920
+ var Ls = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", js = Ls + " Extended_Pictographic", er = js, tr = {
1921
+ 9: Ls,
1922
+ 10: js,
1923
+ 11: er
1924
+ }, is = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Ms = "Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Ds = Ms + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", sr = Ds + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", ir = {
1925
+ 9: Ms,
1926
+ 10: Ds,
1927
+ 11: sr
1928
+ }, Bs = {};
1929
+ function Mt(t) {
1930
+ var e = Bs[t] = {
1931
+ binary: le(tr[t] + " " + is),
1932
1932
  nonBinary: {
1933
- General_Category: le(es),
1934
- Script: le(er[t])
1933
+ General_Category: le(is),
1934
+ Script: le(ir[t])
1935
1935
  }
1936
1936
  };
1937
1937
  e.nonBinary.Script_Extensions = e.nonBinary.Script, e.nonBinary.gc = e.nonBinary.General_Category, e.nonBinary.sc = e.nonBinary.Script, e.nonBinary.scx = e.nonBinary.Script_Extensions;
1938
1938
  }
1939
- jt(9);
1940
- jt(10);
1941
- jt(11);
1939
+ Mt(9);
1940
+ Mt(10);
1941
+ Mt(11);
1942
1942
  var b = A.prototype, se = function(e) {
1943
- this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : ""), this.unicodeProperties = js[e.options.ecmaVersion >= 11 ? 11 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = [], this.backReferenceNames = [];
1943
+ this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : ""), this.unicodeProperties = Bs[e.options.ecmaVersion >= 11 ? 11 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = [], this.backReferenceNames = [];
1944
1944
  };
1945
1945
  se.prototype.reset = function(e, s, i) {
1946
1946
  var r = i.indexOf("u") !== -1;
@@ -1980,7 +1980,7 @@ se.prototype.advance = function(e) {
1980
1980
  se.prototype.eat = function(e, s) {
1981
1981
  return s === void 0 && (s = !1), this.current(s) === e ? (this.advance(s), !0) : !1;
1982
1982
  };
1983
- function Ge(t) {
1983
+ function qe(t) {
1984
1984
  return t <= 65535 ? String.fromCharCode(t) : (t -= 65536, String.fromCharCode((t >> 10) + 55296, (t & 1023) + 56320));
1985
1985
  }
1986
1986
  b.validateRegExpFlags = function(t) {
@@ -2179,13 +2179,13 @@ b.regexp_eatInvalidBracedQuantifier = function(t) {
2179
2179
  };
2180
2180
  b.regexp_eatSyntaxCharacter = function(t) {
2181
2181
  var e = t.current();
2182
- return Ms(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2182
+ return Hs(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2183
2183
  };
2184
- function Ms(t) {
2184
+ function Hs(t) {
2185
2185
  return t === 36 || t >= 40 && t <= 43 || t === 46 || t === 63 || t >= 91 && t <= 94 || t >= 123 && t <= 125;
2186
2186
  }
2187
2187
  b.regexp_eatPatternCharacters = function(t) {
2188
- for (var e = t.pos, s = 0; (s = t.current()) !== -1 && !Ms(s); )
2188
+ for (var e = t.pos, s = 0; (s = t.current()) !== -1 && !Hs(s); )
2189
2189
  t.advance();
2190
2190
  return t.pos !== e;
2191
2191
  };
@@ -2221,24 +2221,24 @@ b.regexp_eatGroupName = function(t) {
2221
2221
  };
2222
2222
  b.regexp_eatRegExpIdentifierName = function(t) {
2223
2223
  if (t.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(t)) {
2224
- for (t.lastStringValue += Ge(t.lastIntValue); this.regexp_eatRegExpIdentifierPart(t); )
2225
- t.lastStringValue += Ge(t.lastIntValue);
2224
+ for (t.lastStringValue += qe(t.lastIntValue); this.regexp_eatRegExpIdentifierPart(t); )
2225
+ t.lastStringValue += qe(t.lastIntValue);
2226
2226
  return !0;
2227
2227
  }
2228
2228
  return !1;
2229
2229
  };
2230
2230
  b.regexp_eatRegExpIdentifierStart = function(t) {
2231
2231
  var e = t.pos, s = this.options.ecmaVersion >= 11, i = t.current(s);
2232
- return t.advance(s), i === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (i = t.lastIntValue), tr(i) ? (t.lastIntValue = i, !0) : (t.pos = e, !1);
2232
+ return t.advance(s), i === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (i = t.lastIntValue), rr(i) ? (t.lastIntValue = i, !0) : (t.pos = e, !1);
2233
2233
  };
2234
- function tr(t) {
2234
+ function rr(t) {
2235
2235
  return ae(t, !0) || t === 36 || t === 95;
2236
2236
  }
2237
2237
  b.regexp_eatRegExpIdentifierPart = function(t) {
2238
2238
  var e = t.pos, s = this.options.ecmaVersion >= 11, i = t.current(s);
2239
- return t.advance(s), i === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (i = t.lastIntValue), sr(i) ? (t.lastIntValue = i, !0) : (t.pos = e, !1);
2239
+ return t.advance(s), i === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (i = t.lastIntValue), nr(i) ? (t.lastIntValue = i, !0) : (t.pos = e, !1);
2240
2240
  };
2241
- function sr(t) {
2241
+ function nr(t) {
2242
2242
  return be(t, !0) || t === 36 || t === 95 || t === 8204 || t === 8205;
2243
2243
  }
2244
2244
  b.regexp_eatAtomEscape = function(t) {
@@ -2283,7 +2283,7 @@ b.regexp_eatCControlLetter = function(t) {
2283
2283
  return !1;
2284
2284
  };
2285
2285
  b.regexp_eatZero = function(t) {
2286
- return t.current() === 48 && !et(t.lookahead()) ? (t.lastIntValue = 0, t.advance(), !0) : !1;
2286
+ return t.current() === 48 && !tt(t.lookahead()) ? (t.lastIntValue = 0, t.advance(), !0) : !1;
2287
2287
  };
2288
2288
  b.regexp_eatControlEscape = function(t) {
2289
2289
  var e = t.current();
@@ -2291,9 +2291,9 @@ b.regexp_eatControlEscape = function(t) {
2291
2291
  };
2292
2292
  b.regexp_eatControlLetter = function(t) {
2293
2293
  var e = t.current();
2294
- return Ds(e) ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2294
+ return $s(e) ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2295
2295
  };
2296
- function Ds(t) {
2296
+ function $s(t) {
2297
2297
  return t >= 65 && t <= 90 || t >= 97 && t <= 122;
2298
2298
  }
2299
2299
  b.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
@@ -2328,13 +2328,13 @@ b.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2328
2328
  ) && this.regexp_eatHexDigits(t) && t.eat(
2329
2329
  125
2330
2330
  /* } */
2331
- ) && ir(t.lastIntValue))
2331
+ ) && ar(t.lastIntValue))
2332
2332
  return !0;
2333
2333
  i && t.raise("Invalid unicode escape"), t.pos = s;
2334
2334
  }
2335
2335
  return !1;
2336
2336
  };
2337
- function ir(t) {
2337
+ function ar(t) {
2338
2338
  return t >= 0 && t <= 1114111;
2339
2339
  }
2340
2340
  b.regexp_eatIdentityEscape = function(t) {
@@ -2359,7 +2359,7 @@ b.regexp_eatDecimalEscape = function(t) {
2359
2359
  };
2360
2360
  b.regexp_eatCharacterClassEscape = function(t) {
2361
2361
  var e = t.current();
2362
- if (rr(e))
2362
+ if (or(e))
2363
2363
  return t.lastIntValue = -1, t.advance(), !0;
2364
2364
  if (t.switchU && this.options.ecmaVersion >= 9 && (e === 80 || e === 112)) {
2365
2365
  if (t.lastIntValue = -1, t.advance(), t.eat(
@@ -2374,7 +2374,7 @@ b.regexp_eatCharacterClassEscape = function(t) {
2374
2374
  }
2375
2375
  return !1;
2376
2376
  };
2377
- function rr(t) {
2377
+ function or(t) {
2378
2378
  return t === 100 || t === 68 || t === 115 || t === 83 || t === 119 || t === 87;
2379
2379
  }
2380
2380
  b.regexp_eatUnicodePropertyValueExpression = function(t) {
@@ -2396,28 +2396,28 @@ b.regexp_eatUnicodePropertyValueExpression = function(t) {
2396
2396
  return !1;
2397
2397
  };
2398
2398
  b.regexp_validateUnicodePropertyNameAndValue = function(t, e, s) {
2399
- Je(t.unicodeProperties.nonBinary, e) || t.raise("Invalid property name"), t.unicodeProperties.nonBinary[e].test(s) || t.raise("Invalid property value");
2399
+ Qe(t.unicodeProperties.nonBinary, e) || t.raise("Invalid property name"), t.unicodeProperties.nonBinary[e].test(s) || t.raise("Invalid property value");
2400
2400
  };
2401
2401
  b.regexp_validateUnicodePropertyNameOrValue = function(t, e) {
2402
2402
  t.unicodeProperties.binary.test(e) || t.raise("Invalid property name");
2403
2403
  };
2404
2404
  b.regexp_eatUnicodePropertyName = function(t) {
2405
2405
  var e = 0;
2406
- for (t.lastStringValue = ""; Bs(e = t.current()); )
2407
- t.lastStringValue += Ge(e), t.advance();
2406
+ for (t.lastStringValue = ""; Us(e = t.current()); )
2407
+ t.lastStringValue += qe(e), t.advance();
2408
2408
  return t.lastStringValue !== "";
2409
2409
  };
2410
- function Bs(t) {
2411
- return Ds(t) || t === 95;
2410
+ function Us(t) {
2411
+ return $s(t) || t === 95;
2412
2412
  }
2413
2413
  b.regexp_eatUnicodePropertyValue = function(t) {
2414
2414
  var e = 0;
2415
- for (t.lastStringValue = ""; nr(e = t.current()); )
2416
- t.lastStringValue += Ge(e), t.advance();
2415
+ for (t.lastStringValue = ""; ur(e = t.current()); )
2416
+ t.lastStringValue += qe(e), t.advance();
2417
2417
  return t.lastStringValue !== "";
2418
2418
  };
2419
- function nr(t) {
2420
- return Bs(t) || et(t);
2419
+ function ur(t) {
2420
+ return Us(t) || tt(t);
2421
2421
  }
2422
2422
  b.regexp_eatLoneUnicodePropertyNameOrValue = function(t) {
2423
2423
  return this.regexp_eatUnicodePropertyValue(t);
@@ -2461,7 +2461,7 @@ b.regexp_eatClassAtom = function(t) {
2461
2461
  return !0;
2462
2462
  if (t.switchU) {
2463
2463
  var s = t.current();
2464
- (s === 99 || Us(s)) && t.raise("Invalid class escape"), t.raise("Invalid escape");
2464
+ (s === 99 || Ws(s)) && t.raise("Invalid class escape"), t.raise("Invalid escape");
2465
2465
  }
2466
2466
  t.pos = e;
2467
2467
  }
@@ -2492,7 +2492,7 @@ b.regexp_eatClassEscape = function(t) {
2492
2492
  };
2493
2493
  b.regexp_eatClassControlLetter = function(t) {
2494
2494
  var e = t.current();
2495
- return et(e) || e === 95 ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2495
+ return tt(e) || e === 95 ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2496
2496
  };
2497
2497
  b.regexp_eatHexEscapeSequence = function(t) {
2498
2498
  var e = t.pos;
@@ -2508,23 +2508,23 @@ b.regexp_eatHexEscapeSequence = function(t) {
2508
2508
  };
2509
2509
  b.regexp_eatDecimalDigits = function(t) {
2510
2510
  var e = t.pos, s = 0;
2511
- for (t.lastIntValue = 0; et(s = t.current()); )
2511
+ for (t.lastIntValue = 0; tt(s = t.current()); )
2512
2512
  t.lastIntValue = 10 * t.lastIntValue + (s - 48), t.advance();
2513
2513
  return t.pos !== e;
2514
2514
  };
2515
- function et(t) {
2515
+ function tt(t) {
2516
2516
  return t >= 48 && t <= 57;
2517
2517
  }
2518
2518
  b.regexp_eatHexDigits = function(t) {
2519
2519
  var e = t.pos, s = 0;
2520
- for (t.lastIntValue = 0; Hs(s = t.current()); )
2521
- t.lastIntValue = 16 * t.lastIntValue + $s(s), t.advance();
2520
+ for (t.lastIntValue = 0; Gs(s = t.current()); )
2521
+ t.lastIntValue = 16 * t.lastIntValue + qs(s), t.advance();
2522
2522
  return t.pos !== e;
2523
2523
  };
2524
- function Hs(t) {
2524
+ function Gs(t) {
2525
2525
  return t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102;
2526
2526
  }
2527
- function $s(t) {
2527
+ function qs(t) {
2528
2528
  return t >= 65 && t <= 70 ? 10 + (t - 65) : t >= 97 && t <= 102 ? 10 + (t - 97) : t - 48;
2529
2529
  }
2530
2530
  b.regexp_eatLegacyOctalEscapeSequence = function(t) {
@@ -2541,9 +2541,9 @@ b.regexp_eatLegacyOctalEscapeSequence = function(t) {
2541
2541
  };
2542
2542
  b.regexp_eatOctalDigit = function(t) {
2543
2543
  var e = t.current();
2544
- return Us(e) ? (t.lastIntValue = e - 48, t.advance(), !0) : (t.lastIntValue = 0, !1);
2544
+ return Ws(e) ? (t.lastIntValue = e - 48, t.advance(), !0) : (t.lastIntValue = 0, !1);
2545
2545
  };
2546
- function Us(t) {
2546
+ function Ws(t) {
2547
2547
  return t >= 48 && t <= 55;
2548
2548
  }
2549
2549
  b.regexp_eatFixedHexDigits = function(t, e) {
@@ -2551,20 +2551,20 @@ b.regexp_eatFixedHexDigits = function(t, e) {
2551
2551
  t.lastIntValue = 0;
2552
2552
  for (var i = 0; i < e; ++i) {
2553
2553
  var r = t.current();
2554
- if (!Hs(r))
2554
+ if (!Gs(r))
2555
2555
  return t.pos = s, !1;
2556
- t.lastIntValue = 16 * t.lastIntValue + $s(r), t.advance();
2556
+ t.lastIntValue = 16 * t.lastIntValue + qs(r), t.advance();
2557
2557
  }
2558
2558
  return !0;
2559
2559
  };
2560
- var Mt = function(e) {
2561
- this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new Qe(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2560
+ var Dt = function(e) {
2561
+ this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new Ye(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2562
2562
  }, S = A.prototype;
2563
2563
  S.next = function(t) {
2564
- !t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Mt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2564
+ !t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Dt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2565
2565
  };
2566
2566
  S.getToken = function() {
2567
- return this.next(), new Mt(this);
2567
+ return this.next(), new Dt(this);
2568
2568
  };
2569
2569
  typeof Symbol < "u" && (S[Symbol.iterator] = function() {
2570
2570
  var t = this;
@@ -2655,7 +2655,7 @@ S.skipSpace = function() {
2655
2655
  }
2656
2656
  break;
2657
2657
  default:
2658
- if (t > 8 && t < 14 || t >= 5760 && bs.test(String.fromCharCode(t)))
2658
+ if (t > 8 && t < 14 || t >= 5760 && Ss.test(String.fromCharCode(t)))
2659
2659
  ++this.pos;
2660
2660
  else
2661
2661
  break e;
@@ -2700,7 +2700,7 @@ S.readToken_caret = function() {
2700
2700
  };
2701
2701
  S.readToken_plus_min = function(t) {
2702
2702
  var e = this.input.charCodeAt(this.pos + 1);
2703
- return e === t ? e === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || U.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(o.incDec, 2) : e === 61 ? this.finishOp(o.assign, 2) : this.finishOp(o.plusMin, 1);
2703
+ return e === t ? e === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || G.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(o.incDec, 2) : e === 61 ? this.finishOp(o.assign, 2) : this.finishOp(o.plusMin, 1);
2704
2704
  };
2705
2705
  S.readToken_lt_gt = function(t) {
2706
2706
  var e = this.input.charCodeAt(this.pos + 1), s = 1;
@@ -2813,7 +2813,7 @@ S.getTokenFromCode = function(t) {
2813
2813
  case 126:
2814
2814
  return this.finishOp(o.prefix, 1);
2815
2815
  }
2816
- this.raise(this.pos, "Unexpected character '" + Dt(t) + "'");
2816
+ this.raise(this.pos, "Unexpected character '" + Bt(t) + "'");
2817
2817
  };
2818
2818
  S.finishOp = function(t, e) {
2819
2819
  var s = this.input.slice(this.pos, this.pos + e);
@@ -2823,7 +2823,7 @@ S.readRegexp = function() {
2823
2823
  for (var t, e, s = this.pos; ; ) {
2824
2824
  this.pos >= this.input.length && this.raise(s, "Unterminated regular expression");
2825
2825
  var i = this.input.charAt(this.pos);
2826
- if (U.test(i) && this.raise(s, "Unterminated regular expression"), t)
2826
+ if (G.test(i) && this.raise(s, "Unterminated regular expression"), t)
2827
2827
  t = !1;
2828
2828
  else {
2829
2829
  if (i === "[")
@@ -2862,17 +2862,17 @@ S.readInt = function(t, e, s) {
2862
2862
  }
2863
2863
  return i && u === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === n || e != null && this.pos - n !== e ? null : a;
2864
2864
  };
2865
- function ar(t, e) {
2865
+ function cr(t, e) {
2866
2866
  return e ? parseInt(t, 8) : parseFloat(t.replace(/_/g, ""));
2867
2867
  }
2868
- function Gs(t) {
2868
+ function Ks(t) {
2869
2869
  return typeof BigInt != "function" ? null : BigInt(t.replace(/_/g, ""));
2870
2870
  }
2871
2871
  S.readRadixNumber = function(t) {
2872
2872
  var e = this.pos;
2873
2873
  this.pos += 2;
2874
2874
  var s = this.readInt(t);
2875
- return s == null && this.raise(this.start + 2, "Expected number in radix " + t), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (s = Gs(this.input.slice(e, this.pos)), ++this.pos) : ae(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(o.num, s);
2875
+ return s == null && this.raise(this.start + 2, "Expected number in radix " + t), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (s = Ks(this.input.slice(e, this.pos)), ++this.pos) : ae(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(o.num, s);
2876
2876
  };
2877
2877
  S.readNumber = function(t) {
2878
2878
  var e = this.pos;
@@ -2881,11 +2881,11 @@ S.readNumber = function(t) {
2881
2881
  s && this.strict && this.raise(e, "Invalid number");
2882
2882
  var i = this.input.charCodeAt(this.pos);
2883
2883
  if (!s && !t && this.options.ecmaVersion >= 11 && i === 110) {
2884
- var r = Gs(this.input.slice(e, this.pos));
2884
+ var r = Ks(this.input.slice(e, this.pos));
2885
2885
  return ++this.pos, ae(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(o.num, r);
2886
2886
  }
2887
2887
  s && /[89]/.test(this.input.slice(e, this.pos)) && (s = !1), i === 46 && !s && (++this.pos, this.readInt(10), i = this.input.charCodeAt(this.pos)), (i === 69 || i === 101) && !s && (i = this.input.charCodeAt(++this.pos), (i === 43 || i === 45) && ++this.pos, this.readInt(10) === null && this.raise(e, "Invalid number")), ae(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
2888
- var n = ar(this.input.slice(e, this.pos), s);
2888
+ var n = cr(this.input.slice(e, this.pos), s);
2889
2889
  return this.finishToken(o.num, n);
2890
2890
  };
2891
2891
  S.readCodePoint = function() {
@@ -2898,7 +2898,7 @@ S.readCodePoint = function() {
2898
2898
  e = this.readHexChar(4);
2899
2899
  return e;
2900
2900
  };
2901
- function Dt(t) {
2901
+ function Bt(t) {
2902
2902
  return t <= 65535 ? String.fromCharCode(t) : (t -= 65536, String.fromCharCode((t >> 10) + 55296, (t & 1023) + 56320));
2903
2903
  }
2904
2904
  S.readString = function(t) {
@@ -2911,13 +2911,13 @@ S.readString = function(t) {
2911
2911
  }
2912
2912
  return e += this.input.slice(s, this.pos++), this.finishToken(o.string, e);
2913
2913
  };
2914
- var qs = {};
2914
+ var zs = {};
2915
2915
  S.tryReadTemplateToken = function() {
2916
2916
  this.inTemplateElement = !0;
2917
2917
  try {
2918
2918
  this.readTmplToken();
2919
2919
  } catch (t) {
2920
- if (t === qs)
2920
+ if (t === zs)
2921
2921
  this.readInvalidTemplateToken();
2922
2922
  else
2923
2923
  throw t;
@@ -2926,7 +2926,7 @@ S.tryReadTemplateToken = function() {
2926
2926
  };
2927
2927
  S.invalidStringToken = function(t, e) {
2928
2928
  if (this.inTemplateElement && this.options.ecmaVersion >= 9)
2929
- throw qs;
2929
+ throw zs;
2930
2930
  this.raise(t, e);
2931
2931
  };
2932
2932
  S.readTmplToken = function() {
@@ -2983,7 +2983,7 @@ S.readEscapedChar = function(t) {
2983
2983
  return String.fromCharCode(this.readHexChar(2));
2984
2984
  // 'x'
2985
2985
  case 117:
2986
- return Dt(this.readCodePoint());
2986
+ return Bt(this.readCodePoint());
2987
2987
  // 'u'
2988
2988
  case 116:
2989
2989
  return " ";
@@ -3037,7 +3037,7 @@ S.readWord1 = function() {
3037
3037
  var n = this.pos;
3038
3038
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3039
3039
  var a = this.readCodePoint();
3040
- (e ? ae : be)(a, i) || this.invalidStringToken(n, "Invalid Unicode escape"), t += Dt(a), s = this.pos;
3040
+ (e ? ae : be)(a, i) || this.invalidStringToken(n, "Invalid Unicode escape"), t += Bt(a), s = this.pos;
3041
3041
  } else
3042
3042
  break;
3043
3043
  e = !1;
@@ -3046,49 +3046,49 @@ S.readWord1 = function() {
3046
3046
  };
3047
3047
  S.readWord = function() {
3048
3048
  var t = this.readWord1(), e = o.name;
3049
- return this.keywords.test(t) && (e = Rt[t]), this.finishToken(e, t);
3049
+ return this.keywords.test(t) && (e = Nt[t]), this.finishToken(e, t);
3050
3050
  };
3051
- var or = "7.4.1";
3051
+ var lr = "7.4.1";
3052
3052
  A.acorn = {
3053
3053
  Parser: A,
3054
- version: or,
3055
- defaultOptions: yt,
3054
+ version: lr,
3055
+ defaultOptions: _t,
3056
3056
  Position: Te,
3057
- SourceLocation: Qe,
3058
- getLineInfo: _s,
3059
- Node: Lt,
3057
+ SourceLocation: Ye,
3058
+ getLineInfo: ws,
3059
+ Node: jt,
3060
3060
  TokenType: E,
3061
3061
  tokTypes: o,
3062
- keywordTypes: Rt,
3062
+ keywordTypes: Nt,
3063
3063
  TokContext: q,
3064
3064
  tokContexts: I,
3065
3065
  isIdentifierChar: be,
3066
3066
  isIdentifierStart: ae,
3067
- Token: Mt,
3067
+ Token: Dt,
3068
3068
  isNewLine: Ve,
3069
- lineBreak: U,
3069
+ lineBreak: G,
3070
3070
  lineBreakG: Pe,
3071
- nonASCIIwhitespace: bs
3071
+ nonASCIIwhitespace: Ss
3072
3072
  };
3073
- function ur(t, e) {
3073
+ function hr(t, e) {
3074
3074
  return A.parse(t, e);
3075
3075
  }
3076
- class cr extends Error {
3076
+ class pr extends Error {
3077
3077
  }
3078
- class lr extends SyntaxError {
3078
+ class fr extends SyntaxError {
3079
3079
  }
3080
- class St extends ReferenceError {
3080
+ class Ct extends ReferenceError {
3081
3081
  }
3082
- class hr extends TypeError {
3082
+ class dr extends TypeError {
3083
3083
  }
3084
- class Ws extends cr {
3084
+ class Js extends pr {
3085
3085
  }
3086
- class pr extends lr {
3086
+ class mr extends fr {
3087
3087
  }
3088
- class W extends St {
3088
+ class W extends Ct {
3089
3089
  }
3090
- const V = {
3091
- ExecutionTimeOutError: [3002, "Script execution timed out after %0ms", Ws],
3090
+ const O = {
3091
+ ExecutionTimeOutError: [3002, "Script execution timed out after %0ms", Js],
3092
3092
  NodeTypeSyntaxError: [1001, "Unknown node type: %0", W],
3093
3093
  BinaryOperatorSyntaxError: [1002, "Unknown binary operator: %0", W],
3094
3094
  LogicalOperatorSyntaxError: [
@@ -3111,11 +3111,11 @@ const V = {
3111
3111
  VariableTypeSyntaxError: [1008, "Unknown variable type: %0", W],
3112
3112
  ParamTypeSyntaxError: [1009, "Unknown param type: %0", W],
3113
3113
  AssignmentTypeSyntaxError: [1010, "Unknown assignment type: %0", W],
3114
- FunctionUndefinedReferenceError: [2001, "%0 is not a function", St],
3115
- VariableUndefinedReferenceError: [2002, "%0 is not defined", St],
3116
- IsNotConstructor: [2003, "%0 is not a constructor", hr]
3117
- }, fr = "1.4.8";
3118
- function ts(t, e) {
3114
+ FunctionUndefinedReferenceError: [2001, "%0 is not a function", Ct],
3115
+ VariableUndefinedReferenceError: [2002, "%0 is not defined", Ct],
3116
+ IsNotConstructor: [2003, "%0 is not a constructor", dr]
3117
+ }, gr = "1.4.8";
3118
+ function rs(t, e) {
3119
3119
  Object.defineProperty(t, "name", {
3120
3120
  value: e,
3121
3121
  writable: !1,
@@ -3123,8 +3123,8 @@ function ts(t, e) {
3123
3123
  configurable: !0
3124
3124
  });
3125
3125
  }
3126
- const dr = Object.prototype.hasOwnProperty, de = Symbol("Break"), me = Symbol("Continue"), ss = Symbol("DefaultCase"), N = Symbol("EmptyStatementReturn"), is = Symbol("WithScopeName"), rs = Symbol("SuperScopeName"), ns = Symbol("RootScopeName"), as = Symbol("GlobalScopeName");
3127
- function lt(t) {
3126
+ const xr = Object.prototype.hasOwnProperty, de = Symbol("Break"), me = Symbol("Continue"), ns = Symbol("DefaultCase"), V = Symbol("EmptyStatementReturn"), as = Symbol("WithScopeName"), os = Symbol("SuperScopeName"), us = Symbol("RootScopeName"), cs = Symbol("GlobalScopeName");
3127
+ function ht(t) {
3128
3128
  return typeof t == "function";
3129
3129
  }
3130
3130
  class ne {
@@ -3151,7 +3151,7 @@ class ne {
3151
3151
  };
3152
3152
  }
3153
3153
  }
3154
- function Bt(t, e, s = !0) {
3154
+ function Ht(t, e, s = !0) {
3155
3155
  if (!(t instanceof ne))
3156
3156
  throw new Error("Illegal call");
3157
3157
  if (typeof e != "string")
@@ -3164,25 +3164,25 @@ function Bt(t, e, s = !0) {
3164
3164
  s || this.setCurrentContext(i.getCurrentContext()), this.execStartTime = i.getExecStartTime(), this.execEndTime = this.execStartTime;
3165
3165
  }
3166
3166
  }, a = s ? i.getGlobalScope() : i.getCurrentScope();
3167
- return new j(a, n).evaluate(e);
3167
+ return new M(a, n).evaluate(e);
3168
3168
  }
3169
- Object.defineProperty(Bt, "__IS_EVAL_FUNC", {
3169
+ Object.defineProperty(Ht, "__IS_EVAL_FUNC", {
3170
3170
  value: !0,
3171
3171
  writable: !1,
3172
3172
  enumerable: !1,
3173
3173
  configurable: !1
3174
3174
  });
3175
- function Ht(t, ...e) {
3175
+ function $t(t, ...e) {
3176
3176
  if (!(t instanceof ne))
3177
3177
  throw new Error("Illegal call");
3178
- const s = t.generator(), i = e.pop(), r = new j(s.getGlobalScope(), s.getOptions()), n = `
3178
+ const s = t.generator(), i = e.pop(), r = new M(s.getGlobalScope(), s.getOptions()), n = `
3179
3179
  (function anonymous(${e.join(",")}){
3180
3180
  ${i}
3181
3181
  });
3182
3182
  `;
3183
3183
  return r.evaluate(n);
3184
3184
  }
3185
- Object.defineProperty(Ht, "__IS_FUNCTION_FUNC", {
3185
+ Object.defineProperty($t, "__IS_FUNCTION_FUNC", {
3186
3186
  value: !0,
3187
3187
  writable: !1,
3188
3188
  enumerable: !1,
@@ -3208,12 +3208,12 @@ class ge {
3208
3208
  this.name = i, this.parent = s, this.data = e, this.labelStack = [];
3209
3209
  }
3210
3210
  }
3211
- function De() {
3211
+ function Be() {
3212
3212
  }
3213
- function mr(t = null, e) {
3213
+ function vr(t = null, e) {
3214
3214
  return new ge(/* @__PURE__ */ Object.create(null), t, e);
3215
3215
  }
3216
- function gr(t) {
3216
+ function br(t) {
3217
3217
  return Object.create(t);
3218
3218
  }
3219
3219
  const Y = {
@@ -3245,8 +3245,8 @@ const Y = {
3245
3245
  encodeURIComponent,
3246
3246
  escape,
3247
3247
  unescape,
3248
- eval: Bt,
3249
- Function: Ht
3248
+ eval: Ht,
3249
+ Function: $t
3250
3250
  };
3251
3251
  typeof JSON < "u" && (Y.JSON = JSON);
3252
3252
  typeof Promise < "u" && (Y.Promise = Promise);
@@ -3257,13 +3257,13 @@ typeof Proxy < "u" && (Y.Proxy = Proxy);
3257
3257
  typeof WeakMap < "u" && (Y.WeakMap = WeakMap);
3258
3258
  typeof WeakSet < "u" && (Y.WeakSet = WeakSet);
3259
3259
  typeof Reflect < "u" && (Y.Reflect = Reflect);
3260
- class j {
3261
- constructor(e = j.global, s = {}) {
3260
+ class M {
3261
+ constructor(e = M.global, s = {}) {
3262
3262
  this.sourceList = [], this.collectDeclVars = /* @__PURE__ */ Object.create(null), this.collectDeclFuncs = /* @__PURE__ */ Object.create(null), this.isVarDeclMode = !1, this.lastExecNode = null, this.isRunning = !1, this.options = {
3263
- ecmaVersion: s.ecmaVersion || j.ecmaVersion,
3263
+ ecmaVersion: s.ecmaVersion || M.ecmaVersion,
3264
3264
  timeout: s.timeout || 0,
3265
3265
  rootContext: s.rootContext,
3266
- globalContextInFunction: s.globalContextInFunction === void 0 ? j.globalContextInFunction : s.globalContextInFunction,
3266
+ globalContextInFunction: s.globalContextInFunction === void 0 ? M.globalContextInFunction : s.globalContextInFunction,
3267
3267
  _initEnv: s._initEnv
3268
3268
  }, this.context = e || /* @__PURE__ */ Object.create(null), this.callStack = [], this.initEnvironment(this.context);
3269
3269
  }
@@ -3274,7 +3274,7 @@ class j {
3274
3274
  else {
3275
3275
  let r = null;
3276
3276
  const n = this.createSuperScope(e);
3277
- this.options.rootContext && (r = new ge(gr(this.options.rootContext), n, ns)), s = new ge(e, r || n, as);
3277
+ this.options.rootContext && (r = new ge(br(this.options.rootContext), n, us)), s = new ge(e, r || n, cs);
3278
3278
  }
3279
3279
  this.globalScope = s, this.currentScope = this.globalScope, this.globalContext = s.data, this.currentContext = s.data, this.collectDeclVars = /* @__PURE__ */ Object.create(null), this.collectDeclFuncs = /* @__PURE__ */ Object.create(null), this.execStartTime = Date.now(), this.execEndTime = this.execStartTime;
3280
3280
  const i = this.options._initEnv;
@@ -3302,13 +3302,13 @@ class j {
3302
3302
  return this.currentContext;
3303
3303
  }
3304
3304
  isInterruptThrow(e) {
3305
- return e instanceof Ws || e instanceof W || e instanceof pr;
3305
+ return e instanceof Js || e instanceof W || e instanceof mr;
3306
3306
  }
3307
3307
  createSuperScope(e) {
3308
3308
  let s = Object.assign({}, Y);
3309
3309
  return Object.keys(s).forEach((r) => {
3310
3310
  r in e && delete s[r];
3311
- }), new ge(s, null, rs);
3311
+ }), new ge(s, null, os);
3312
3312
  }
3313
3313
  setCurrentContext(e) {
3314
3314
  this.currentContext = e;
@@ -3319,10 +3319,10 @@ class j {
3319
3319
  evaluate(e = "") {
3320
3320
  let s;
3321
3321
  if (e)
3322
- return s = ur(e, {
3322
+ return s = hr(e, {
3323
3323
  ranges: !0,
3324
3324
  locations: !0,
3325
- ecmaVersion: this.options.ecmaVersion || j.ecmaVersion
3325
+ ecmaVersion: this.options.ecmaVersion || M.ecmaVersion
3326
3326
  }), this.evaluateNode(s, e);
3327
3327
  }
3328
3328
  appendCode(e) {
@@ -3475,12 +3475,12 @@ class j {
3475
3475
  s = this.debuggerStatementHandler(e);
3476
3476
  break;
3477
3477
  default:
3478
- throw this.createInternalThrowError(V.NodeTypeSyntaxError, e.type, e);
3478
+ throw this.createInternalThrowError(O.NodeTypeSyntaxError, e.type, e);
3479
3479
  }
3480
3480
  return (...i) => {
3481
3481
  const r = this.options.timeout;
3482
3482
  if (r && r > 0 && this.checkTimeout())
3483
- throw this.createInternalThrowError(V.ExecutionTimeOutError, r, null);
3483
+ throw this.createInternalThrowError(O.ExecutionTimeOutError, r, null);
3484
3484
  return this.lastExecNode = e, s(...i);
3485
3485
  };
3486
3486
  }
@@ -3535,7 +3535,7 @@ class j {
3535
3535
  case "instanceof":
3536
3536
  return r instanceof n;
3537
3537
  default:
3538
- throw this.createInternalThrowError(V.BinaryOperatorSyntaxError, e.operator, e);
3538
+ throw this.createInternalThrowError(O.BinaryOperatorSyntaxError, e.operator, e);
3539
3539
  }
3540
3540
  };
3541
3541
  }
@@ -3549,7 +3549,7 @@ class j {
3549
3549
  case "&&":
3550
3550
  return s() && i();
3551
3551
  default:
3552
- throw this.createInternalThrowError(V.LogicalOperatorSyntaxError, e.operator, e);
3552
+ throw this.createInternalThrowError(O.LogicalOperatorSyntaxError, e.operator, e);
3553
3553
  }
3554
3554
  };
3555
3555
  }
@@ -3593,7 +3593,7 @@ class j {
3593
3593
  case "typeof":
3594
3594
  return typeof n;
3595
3595
  default:
3596
- throw this.createInternalThrowError(V.UnaryOperatorSyntaxError, e.operator, e);
3596
+ throw this.createInternalThrowError(O.UnaryOperatorSyntaxError, e.operator, e);
3597
3597
  }
3598
3598
  };
3599
3599
  }
@@ -3609,7 +3609,7 @@ class j {
3609
3609
  case "--":
3610
3610
  return e.prefix ? --r[n] : r[n]--;
3611
3611
  default:
3612
- throw this.createInternalThrowError(V.UpdateOperatorSyntaxError, e.operator, e);
3612
+ throw this.createInternalThrowError(O.UpdateOperatorSyntaxError, e.operator, e);
3613
3613
  }
3614
3614
  };
3615
3615
  }
@@ -3617,7 +3617,7 @@ class j {
3617
3617
  objectExpressionHandler(e) {
3618
3618
  const s = [];
3619
3619
  function i(n) {
3620
- return n.type === "Identifier" ? n.name : n.type === "Literal" ? n.value : this.throwError(V.ObjectStructureSyntaxError, n.type, n);
3620
+ return n.type === "Identifier" ? n.name : n.type === "Literal" ? n.value : this.throwError(O.ObjectStructureSyntaxError, n.type, n);
3621
3621
  }
3622
3622
  const r = /* @__PURE__ */ Object.create(null);
3623
3623
  return e.properties.forEach((n) => {
@@ -3641,7 +3641,7 @@ class j {
3641
3641
  });
3642
3642
  else {
3643
3643
  const m = c.property, x = m.kind;
3644
- m.key.type === "Identifier" && m.value.type === "FunctionExpression" && x === "init" && !m.value.id && ts(p, m.key.name), n[l] = p;
3644
+ m.key.type === "Identifier" && m.value.type === "FunctionExpression" && x === "init" && !m.value.id && rs(p, m.key.name), n[l] = p;
3645
3645
  }
3646
3646
  }
3647
3647
  return n;
@@ -3668,9 +3668,9 @@ class j {
3668
3668
  const s = this.createClosure(e.object), i = this.createMemberKeyGetter(e), r = this.source;
3669
3669
  return () => {
3670
3670
  const a = s(), u = i(), c = this.safeObjectGet(a, u, e);
3671
- if (!c || !lt(c)) {
3671
+ if (!c || !ht(c)) {
3672
3672
  const l = r.slice(e.start, e.end);
3673
- throw this.createInternalThrowError(V.FunctionUndefinedReferenceError, l, e);
3673
+ throw this.createInternalThrowError(O.FunctionUndefinedReferenceError, l, e);
3674
3674
  }
3675
3675
  return c.__IS_EVAL_FUNC ? (l) => c(new ne(this), l, !0) : c.__IS_FUNCTION_FUNC ? (...l) => c(new ne(this), ...l) : c.bind(a);
3676
3676
  };
@@ -3680,13 +3680,13 @@ class j {
3680
3680
  let a = "";
3681
3681
  e.type === "Identifier" && (a = e.name);
3682
3682
  const u = n();
3683
- if (!u || !lt(u))
3684
- throw this.createInternalThrowError(V.FunctionUndefinedReferenceError, a, e);
3683
+ if (!u || !ht(u))
3684
+ throw this.createInternalThrowError(O.FunctionUndefinedReferenceError, a, e);
3685
3685
  if (e.type === "Identifier" && u.__IS_EVAL_FUNC && a === "eval")
3686
3686
  return (l) => {
3687
- const h = this.getScopeFromName(a, this.getCurrentScope()), p = h.name === rs || // !scope.parent || // super scope
3688
- h.name === as || // this.globalScope === scope ||
3689
- h.name === ns;
3687
+ const h = this.getScopeFromName(a, this.getCurrentScope()), p = h.name === os || // !scope.parent || // super scope
3688
+ h.name === cs || // this.globalScope === scope ||
3689
+ h.name === us;
3690
3690
  return u(new ne(this), l, !p);
3691
3691
  };
3692
3692
  if (u.__IS_EVAL_FUNC)
@@ -3696,7 +3696,7 @@ class j {
3696
3696
  let c = this.options.globalContextInFunction;
3697
3697
  if (e.type === "Identifier") {
3698
3698
  const l = this.getIdentifierScope(e);
3699
- l.name === is && (c = l.data);
3699
+ l.name === as && (c = l.data);
3700
3700
  }
3701
3701
  return u.bind(c);
3702
3702
  };
@@ -3715,9 +3715,9 @@ class j {
3715
3715
  return this.collectDeclVars = r, this.collectDeclFuncs = n, () => {
3716
3716
  const d = s.getCurrentScope(), f = function(...m) {
3717
3717
  s.callStack.push(`${a}`);
3718
- const x = s.getCurrentScope(), g = mr(d, `FunctionScope(${a})`);
3719
- s.setCurrentScope(g), s.addDeclarationsToScope(h, p, g), a && (g.data[a] = f), g.data.arguments = arguments, c.forEach((R, w) => {
3720
- g.data[R()] = m[w];
3718
+ const x = s.getCurrentScope(), g = vr(d, `FunctionScope(${a})`);
3719
+ s.setCurrentScope(g), s.addDeclarationsToScope(h, p, g), a && (g.data[a] = f), g.data.arguments = arguments, c.forEach((N, w) => {
3720
+ g.data[N()] = m[w];
3721
3721
  });
3722
3722
  const v = s.getCurrentContext();
3723
3723
  s.setCurrentContext(this);
@@ -3725,7 +3725,7 @@ class j {
3725
3725
  if (s.setCurrentContext(v), s.setCurrentScope(x), s.callStack.pop(), k instanceof Q)
3726
3726
  return k.value;
3727
3727
  };
3728
- return ts(f, a), Object.defineProperty(f, "length", {
3728
+ return rs(f, a), Object.defineProperty(f, "length", {
3729
3729
  value: u,
3730
3730
  writable: !1,
3731
3731
  enumerable: !1,
@@ -3748,9 +3748,9 @@ class j {
3748
3748
  const s = this.source, i = this.createClosure(e.callee), r = e.arguments.map((n) => this.createClosure(n));
3749
3749
  return () => {
3750
3750
  const n = i();
3751
- if (!lt(n) || n.__IS_EVAL_FUNC) {
3751
+ if (!ht(n) || n.__IS_EVAL_FUNC) {
3752
3752
  const a = e.callee, u = s.slice(a.start, a.end);
3753
- throw this.createInternalThrowError(V.IsNotConstructor, u, e);
3753
+ throw this.createInternalThrowError(O.IsNotConstructor, u, e);
3754
3754
  }
3755
3755
  return n.__IS_FUNCTION_FUNC ? n(new ne(this), ...r.map((a) => a())) : new n(...r.map((a) => a()));
3756
3756
  };
@@ -3833,7 +3833,7 @@ class j {
3833
3833
  case "|=":
3834
3834
  return n[a] |= u;
3835
3835
  default:
3836
- throw this.createInternalThrowError(V.AssignmentExpressionSyntaxError, e.type, e);
3836
+ throw this.createInternalThrowError(O.AssignmentExpressionSyntaxError, e.type, e);
3837
3837
  }
3838
3838
  };
3839
3839
  }
@@ -3848,12 +3848,12 @@ class j {
3848
3848
  enumerable: !1
3849
3849
  }), this.funcDeclaration(e.id.name, s);
3850
3850
  }
3851
- return () => N;
3851
+ return () => V;
3852
3852
  }
3853
3853
  getVariableName(e) {
3854
3854
  if (e.type === "Identifier")
3855
3855
  return e.name;
3856
- throw this.createInternalThrowError(V.VariableTypeSyntaxError, e.type, e);
3856
+ throw this.createInternalThrowError(O.VariableTypeSyntaxError, e.type, e);
3857
3857
  }
3858
3858
  // var i;
3859
3859
  // var i=1;
@@ -3877,21 +3877,21 @@ class j {
3877
3877
  const r = this.isVarDeclMode;
3878
3878
  this.isVarDeclMode = !0, s(), this.isVarDeclMode = r;
3879
3879
  }
3880
- return N;
3880
+ return V;
3881
3881
  };
3882
3882
  }
3883
3883
  assertVariable(e, s, i) {
3884
3884
  if (e === this.globalScope.data && !(s in e))
3885
- throw this.createInternalThrowError(V.VariableUndefinedReferenceError, s, i);
3885
+ throw this.createInternalThrowError(O.VariableUndefinedReferenceError, s, i);
3886
3886
  }
3887
3887
  // {...}
3888
3888
  programHandler(e) {
3889
3889
  const s = e.body.map((i) => this.createClosure(i));
3890
3890
  return () => {
3891
- let i = N;
3891
+ let i = V;
3892
3892
  for (let r = 0; r < s.length; r++) {
3893
3893
  const n = s[r], a = this.setValue(n());
3894
- if (a !== N && (i = a, i instanceof Q || i instanceof ue || i instanceof re || i === de || i === me))
3894
+ if (a !== V && (i = a, i instanceof Q || i instanceof ue || i instanceof re || i === de || i === me))
3895
3895
  break;
3896
3896
  }
3897
3897
  return i;
@@ -3902,18 +3902,18 @@ class j {
3902
3902
  return this.createClosure(e.expression);
3903
3903
  }
3904
3904
  emptyStatementHandler(e) {
3905
- return () => N;
3905
+ return () => V;
3906
3906
  }
3907
3907
  // return xx;
3908
3908
  returnStatementHandler(e) {
3909
- const s = e.argument ? this.createClosure(e.argument) : De;
3909
+ const s = e.argument ? this.createClosure(e.argument) : Be;
3910
3910
  return () => new Q(s());
3911
3911
  }
3912
3912
  // if else
3913
3913
  ifStatementHandler(e) {
3914
3914
  const s = this.createClosure(e.test), i = this.createClosure(e.consequent), r = e.alternate ? this.createClosure(e.alternate) : (
3915
3915
  /*!important*/
3916
- () => N
3916
+ () => V
3917
3917
  );
3918
3918
  return () => s() ? i() : r();
3919
3919
  }
@@ -3923,18 +3923,18 @@ class j {
3923
3923
  }
3924
3924
  // for(var i = 0; i < 10; i++) {...}
3925
3925
  forStatementHandler(e) {
3926
- let s = De, i = e.test ? this.createClosure(e.test) : () => !0, r = De;
3926
+ let s = Be, i = e.test ? this.createClosure(e.test) : () => !0, r = Be;
3927
3927
  const n = this.createClosure(e.body);
3928
- return e.type === "ForStatement" && (s = e.init ? this.createClosure(e.init) : s, r = e.update ? this.createClosure(e.update) : De), (a) => {
3929
- let u, c = N, l = e.type === "DoWhileStatement";
3928
+ return e.type === "ForStatement" && (s = e.init ? this.createClosure(e.init) : s, r = e.update ? this.createClosure(e.update) : Be), (a) => {
3929
+ let u, c = V, l = e.type === "DoWhileStatement";
3930
3930
  for (a && a.type === "LabeledStatement" && (u = a.label.name), s(); l || i(); r()) {
3931
3931
  l = !1;
3932
3932
  const h = this.setValue(n());
3933
- if (!(h === N || h === me)) {
3933
+ if (!(h === V || h === me)) {
3934
3934
  if (h === de)
3935
3935
  break;
3936
3936
  if (c = h, c instanceof re && c.value === u) {
3937
- c = N;
3937
+ c = V;
3938
3938
  continue;
3939
3939
  }
3940
3940
  if (c instanceof Q || c instanceof ue || c instanceof re)
@@ -3955,7 +3955,7 @@ class j {
3955
3955
  let s = e.left;
3956
3956
  const i = this.createClosure(e.right), r = this.createClosure(e.body);
3957
3957
  return e.left.type === "VariableDeclaration" && (this.createClosure(e.left)(), s = e.left.declarations[0].id), (n) => {
3958
- let a, u = N, c;
3958
+ let a, u = V, c;
3959
3959
  n && n.type === "LabeledStatement" && (a = n.label.name);
3960
3960
  const l = i();
3961
3961
  for (c in l) {
@@ -3969,11 +3969,11 @@ class j {
3969
3969
  }
3970
3970
  })();
3971
3971
  const h = this.setValue(r());
3972
- if (!(h === N || h === me)) {
3972
+ if (!(h === V || h === me)) {
3973
3973
  if (h === de)
3974
3974
  break;
3975
3975
  if (u = h, u instanceof re && u.value === a) {
3976
- u = N;
3976
+ u = V;
3977
3977
  continue;
3978
3978
  }
3979
3979
  if (u instanceof Q || u instanceof ue || u instanceof re)
@@ -3986,7 +3986,7 @@ class j {
3986
3986
  withStatementHandler(e) {
3987
3987
  const s = this.createClosure(e.object), i = this.createClosure(e.body);
3988
3988
  return () => {
3989
- const r = s(), n = this.getCurrentScope(), a = new ge(r, n, is);
3989
+ const r = s(), n = this.getCurrentScope(), a = new ge(r, n, as);
3990
3990
  this.setCurrentScope(a);
3991
3991
  const u = this.setValue(i());
3992
3992
  return this.setCurrentScope(n), u;
@@ -4003,7 +4003,7 @@ class j {
4003
4003
  const s = this.createClosure(e.block), i = e.handler ? this.catchClauseHandler(e.handler) : null, r = e.finalizer ? this.createClosure(e.finalizer) : null;
4004
4004
  return () => {
4005
4005
  const n = this.getCurrentScope(), a = this.getCurrentContext(), u = n.labelStack.concat([]), c = this.callStack.concat([]);
4006
- let l = N, h, p;
4006
+ let l = V, h, p;
4007
4007
  const d = () => {
4008
4008
  this.setCurrentScope(n), this.setCurrentContext(a), n.labelStack = u, this.callStack = c;
4009
4009
  };
@@ -4039,7 +4039,7 @@ class j {
4039
4039
  const s = this.createParamNameGetter(e.param), i = this.createClosure(e.body);
4040
4040
  return (r) => {
4041
4041
  let n;
4042
- const u = this.getCurrentScope().data, c = s(), l = dr.call(u, c), h = u[c];
4042
+ const u = this.getCurrentScope().data, c = s(), l = xr.call(u, c), h = u[c];
4043
4043
  return u[c] = r, n = i(), l ? u[c] = h : delete u[c], n;
4044
4044
  };
4045
4045
  }
@@ -4057,8 +4057,8 @@ class j {
4057
4057
  for (let h = 0; h < 2; h++) {
4058
4058
  for (let p = c; p < i.length; p++) {
4059
4059
  const d = i[p](), f = d.testClosure();
4060
- if (!l && f === ss && (l = !0, c = p), n || f === r) {
4061
- if (n = !0, u = this.setValue(d.bodyClosure()), u === N)
4060
+ if (!l && f === ns && (l = !0, c = p), n || f === r) {
4061
+ if (n = !0, u = this.setValue(d.bodyClosure()), u === V)
4062
4062
  continue;
4063
4063
  if (u === de || (a = u, a instanceof Q || a instanceof ue || a instanceof re || a === me))
4064
4064
  break;
@@ -4073,7 +4073,7 @@ class j {
4073
4073
  };
4074
4074
  }
4075
4075
  switchCaseHandler(e) {
4076
- const s = e.test ? this.createClosure(e.test) : () => ss, i = this.createClosure({
4076
+ const s = e.test ? this.createClosure(e.test) : () => ns, i = this.createClosure({
4077
4077
  type: "BlockStatement",
4078
4078
  body: e.consequent
4079
4079
  });
@@ -4088,20 +4088,20 @@ class j {
4088
4088
  return () => {
4089
4089
  let r;
4090
4090
  const n = this.getCurrentScope();
4091
- return n.labelStack.push(s), r = i(e), r instanceof ue && r.value === s && (r = N), n.labelStack.pop(), r;
4091
+ return n.labelStack.push(s), r = i(e), r instanceof ue && r.value === s && (r = V), n.labelStack.pop(), r;
4092
4092
  };
4093
4093
  }
4094
4094
  debuggerStatementHandler(e) {
4095
4095
  return () => {
4096
4096
  debugger;
4097
- return N;
4097
+ return V;
4098
4098
  };
4099
4099
  }
4100
4100
  // get es3/5 param name
4101
4101
  createParamNameGetter(e) {
4102
4102
  if (e.type === "Identifier")
4103
4103
  return () => e.name;
4104
- throw this.createInternalThrowError(V.ParamTypeSyntaxError, e.type, e);
4104
+ throw this.createInternalThrowError(O.ParamTypeSyntaxError, e.type, e);
4105
4105
  }
4106
4106
  createObjectKeyGetter(e) {
4107
4107
  let s;
@@ -4120,7 +4120,7 @@ class j {
4120
4120
  case "MemberExpression":
4121
4121
  return this.createClosure(e.object);
4122
4122
  default:
4123
- throw this.createInternalThrowError(V.AssignmentTypeSyntaxError, e.type, e);
4123
+ throw this.createInternalThrowError(O.AssignmentTypeSyntaxError, e.type, e);
4124
4124
  }
4125
4125
  }
4126
4126
  // for UnaryExpression UpdateExpression AssignmentExpression
@@ -4131,7 +4131,7 @@ class j {
4131
4131
  case "MemberExpression":
4132
4132
  return this.createMemberKeyGetter(e);
4133
4133
  default:
4134
- throw this.createInternalThrowError(V.AssignmentTypeSyntaxError, e.type, e);
4134
+ throw this.createInternalThrowError(O.AssignmentTypeSyntaxError, e.type, e);
4135
4135
  }
4136
4136
  }
4137
4137
  varDeclaration(e) {
@@ -4167,26 +4167,26 @@ class j {
4167
4167
  }
4168
4168
  setValue(e) {
4169
4169
  const s = this.callStack.length;
4170
- return this.isVarDeclMode || s || e === N || e === de || e === me || e instanceof ue || e instanceof re || (this.value = e instanceof Q ? e.value : e), e;
4170
+ return this.isVarDeclMode || s || e === V || e === de || e === me || e instanceof ue || e instanceof re || (this.value = e instanceof Q ? e.value : e), e;
4171
4171
  }
4172
4172
  getValue() {
4173
4173
  return this.value;
4174
4174
  }
4175
4175
  }
4176
- j.version = fr;
4177
- j.eval = Bt;
4178
- j.Function = Ht;
4179
- j.ecmaVersion = 5;
4180
- j.globalContextInFunction = void 0;
4181
- j.global = /* @__PURE__ */ Object.create(null);
4182
- const xr = (() => {
4176
+ M.version = gr;
4177
+ M.eval = Ht;
4178
+ M.Function = $t;
4179
+ M.ecmaVersion = 5;
4180
+ M.globalContextInFunction = void 0;
4181
+ M.global = /* @__PURE__ */ Object.create(null);
4182
+ const yr = (() => {
4183
4183
  try {
4184
4184
  return new Function("return 1")(), !0;
4185
4185
  } catch {
4186
4186
  return !1;
4187
4187
  }
4188
4188
  })();
4189
- function qe(t) {
4189
+ function We(t) {
4190
4190
  if (typeof globalThis > "u") return;
4191
4191
  const e = globalThis[0] || globalThis;
4192
4192
  if (e.__simulator__)
@@ -4196,8 +4196,8 @@ function qe(t) {
4196
4196
  } catch {
4197
4197
  }
4198
4198
  }
4199
- function vr(t, e) {
4200
- return new j(e, {
4199
+ function _r(t, e) {
4200
+ return new M(e, {
4201
4201
  rootContext: e,
4202
4202
  globalContextInFunction: e
4203
4203
  }).evaluate(`(function($scope){ ${t} }).call(this, this)`);
@@ -4212,9 +4212,9 @@ function Ne(t, e, s = !1, i = !1, r = !1) {
4212
4212
  const u = r ? `
4213
4213
  ${a}
4214
4214
  ` : `with(${s ? "{}" : "$scope || {}"}) { ${a} }`;
4215
- return xr ? new Function("$scope", u)(e) : vr(u, e);
4215
+ return yr ? new Function("$scope", u)(e) : _r(u, e);
4216
4216
  } catch (n) {
4217
- if (xe.error("parseExpression.error", n, t, e?.__self ?? e), n && (n.info = t.value), qe(n), i)
4217
+ if (xe.error("parseExpression.error", n, t, e?.__self ?? e), n && (n.info = t.value), We(n), i)
4218
4218
  throw n;
4219
4219
  }
4220
4220
  }
@@ -4229,19 +4229,19 @@ function z(t, e, s = !1, i = !1, r = !1) {
4229
4229
  throw new Error(`"${t.value}" not a function`);
4230
4230
  return n;
4231
4231
  }
4232
- function T(t) {
4232
+ function R(t) {
4233
4233
  return t && t.type === "JSExpression";
4234
4234
  }
4235
- function O(t) {
4235
+ function F(t) {
4236
4236
  return typeof t == "object" && t && t.type === "JSFunction";
4237
4237
  }
4238
- function br(t) {
4239
- return T(t) || O(t);
4238
+ function Sr(t) {
4239
+ return R(t) || F(t);
4240
4240
  }
4241
- function On(t) {
4242
- return br(t) ? t.value.startsWith("{") ? `(${t.value})` : t.value : JSON.stringify(t);
4241
+ function jn(t) {
4242
+ return Sr(t) ? t.value.startsWith("{") ? `(${t.value})` : t.value : JSON.stringify(t);
4243
4243
  }
4244
- const yr = {
4244
+ const Cr = {
4245
4245
  session: !1,
4246
4246
  authKey: "Authorization",
4247
4247
  storageKey: "ACCESS_STORAGE",
@@ -4254,15 +4254,15 @@ const yr = {
4254
4254
  noPermissionMessage: "无权限访问该页面",
4255
4255
  appName: "",
4256
4256
  statusKey: "code"
4257
- }, Ks = Symbol("access");
4258
- class $t {
4257
+ }, Qs = Symbol("access");
4258
+ class Ut {
4259
4259
  options;
4260
4260
  data = null;
4261
- mode = P.Raw;
4261
+ mode = T.Raw;
4262
4262
  interceptResponse = !0;
4263
4263
  isTipShowing = !1;
4264
4264
  constructor(e) {
4265
- this.options = Object.assign({}, yr, e), this.loadData();
4265
+ this.options = Object.assign({}, Cr, e), this.loadData();
4266
4266
  }
4267
4267
  enableIntercept() {
4268
4268
  this.interceptResponse = !0;
@@ -4272,21 +4272,21 @@ class $t {
4272
4272
  }
4273
4273
  connect(e) {
4274
4274
  const { mode: s, router: i, request: r } = e;
4275
- this.mode = s, i && this.mode !== P.Design && this.setGuard(i), r && this.setRequest(r);
4275
+ this.mode = s, i && this.mode !== T.Design && this.setGuard(i), r && this.setRequest(r);
4276
4276
  }
4277
4277
  login(e) {
4278
4278
  const { storageKey: s, storagePrefix: i, session: r, authKey: n } = this.options;
4279
- this.setData(e), this.data && (nt.save(s, e, {
4279
+ this.setData(e), this.data && (at.save(s, e, {
4280
4280
  type: "local",
4281
4281
  prefix: i
4282
- }), r && at.set(n, this.data.token));
4282
+ }), r && ot.set(n, this.data.token));
4283
4283
  }
4284
4284
  clear() {
4285
4285
  const { storageKey: e, storagePrefix: s, session: i, authKey: r } = this.options;
4286
- this.data = null, nt.remove(e, {
4286
+ this.data = null, at.remove(e, {
4287
4287
  type: "local",
4288
4288
  prefix: s
4289
- }), i && at.remove(r);
4289
+ }), i && ot.remove(r);
4290
4290
  }
4291
4291
  logout() {
4292
4292
  this.clear(), this.toLogin();
@@ -4301,19 +4301,19 @@ class $t {
4301
4301
  const { appName: s } = this.options, { permissions: i = {} } = this.data || {};
4302
4302
  if (typeof e == "function")
4303
4303
  return e(i);
4304
- const r = Wt(e);
4304
+ const r = Jt(e);
4305
4305
  return Array.isArray(i) ? r.every(
4306
4306
  (n) => i.includes(n) || i.includes(s + "." + n)
4307
4307
  ) : r.every((n) => i[n] || i[s + "." + n]);
4308
4308
  }
4309
4309
  some(e) {
4310
- const { appName: s } = this.options, { permissions: i = {} } = this.data || {}, r = Wt(e);
4310
+ const { appName: s } = this.options, { permissions: i = {} } = this.data || {}, r = Jt(e);
4311
4311
  return Array.isArray(i) ? r.some(
4312
4312
  (n) => i.includes(n) || i.includes(s + "." + n)
4313
4313
  ) : r.some((n) => i[n] || i[s + "." + n]);
4314
4314
  }
4315
4315
  install(e) {
4316
- e.config.globalProperties.$access = this, e.provide(Ks, this);
4316
+ e.config.globalProperties.$access = this, e.provide(Qs, this);
4317
4317
  }
4318
4318
  isAuthPath(e) {
4319
4319
  const { auth: s, isAuth: i } = this.options;
@@ -4334,7 +4334,7 @@ class $t {
4334
4334
  setData(e) {
4335
4335
  const { privateKey: s } = this.options;
4336
4336
  if (Array.isArray(e) && s) {
4337
- const i = e.map((r) => Kt(r, s));
4337
+ const i = e.map((r) => Qt(r, s));
4338
4338
  try {
4339
4339
  this.data = JSON.parse(i.join(""));
4340
4340
  } catch (r) {
@@ -4344,7 +4344,7 @@ class $t {
4344
4344
  }
4345
4345
  if (typeof e == "string")
4346
4346
  try {
4347
- const i = s ? Kt(e, s) : e;
4347
+ const i = s ? Qt(e, s) : e;
4348
4348
  i ? this.data = JSON.parse(i) : console.warn("RSA解密失败或登录信息缺失");
4349
4349
  } catch (i) {
4350
4350
  console.warn(i);
@@ -4353,7 +4353,7 @@ class $t {
4353
4353
  this.data = e;
4354
4354
  }
4355
4355
  loadData() {
4356
- const { storageKey: e, storagePrefix: s } = this.options, i = nt.get(e, {
4356
+ const { storageKey: e, storagePrefix: s } = this.options, i = at.get(e, {
4357
4357
  type: "local",
4358
4358
  prefix: s
4359
4359
  });
@@ -4361,7 +4361,7 @@ class $t {
4361
4361
  }
4362
4362
  isLogined() {
4363
4363
  const { session: e, authKey: s } = this.options;
4364
- return e && s ? !!at.get(s) : !!this.getToken();
4364
+ return e && s ? !!ot.get(s) : !!this.getToken();
4365
4365
  }
4366
4366
  hasRoutePermission(e) {
4367
4367
  if (e.name === Ee) {
@@ -4418,10 +4418,10 @@ class $t {
4418
4418
  );
4419
4419
  }
4420
4420
  }
4421
- function _r() {
4422
- return At(Ks, null);
4421
+ function wr() {
4422
+ return Pt(Qs, null);
4423
4423
  }
4424
- function Fn(t = {}) {
4424
+ function Mn(t = {}) {
4425
4425
  const {
4426
4426
  notify: e,
4427
4427
  loading: s,
@@ -4433,7 +4433,7 @@ function Fn(t = {}) {
4433
4433
  } = t;
4434
4434
  let c = null;
4435
4435
  return {
4436
- request: cs({
4436
+ request: ps({
4437
4437
  adapter: t.axiosAdapter,
4438
4438
  settings: {
4439
4439
  type: "form",
@@ -4454,19 +4454,19 @@ function Fn(t = {}) {
4454
4454
  ...i
4455
4455
  }
4456
4456
  }),
4457
- jsonp: ls,
4457
+ jsonp: fs,
4458
4458
  notify: e,
4459
4459
  loading: s,
4460
4460
  useTitle: a,
4461
4461
  alert: u,
4462
4462
  startupComponent: r,
4463
- access: n ? new $t({ alert: u, ...n }) : void 0
4463
+ access: n ? new Ut({ alert: u, ...n }) : void 0
4464
4464
  };
4465
4465
  }
4466
- function Ln(t = {}) {
4467
- return new $t(t);
4466
+ function Dn(t = {}) {
4467
+ return new Ut(t);
4468
4468
  }
4469
- function Sr(t, e) {
4469
+ function Er(t, e) {
4470
4470
  const { jsonp: s, request: i } = e;
4471
4471
  if (t.method === "jsonp")
4472
4472
  return (r = {}) => s(t.url, {
@@ -4482,10 +4482,10 @@ function Sr(t, e) {
4482
4482
  headers: r
4483
4483
  }
4484
4484
  };
4485
- return (a, u) => (delete n.data, i.send(ui(n, u || {}, { data: a })));
4485
+ return (a, u) => (delete n.data, i.send(hi(n, u || {}, { data: a })));
4486
4486
  }
4487
4487
  }
4488
- function Cr(t, e) {
4488
+ function kr(t, e) {
4489
4489
  const { metaQuery: s } = e;
4490
4490
  if (!s) return;
4491
4491
  const { code: i, queryCode: r } = t;
@@ -4497,22 +4497,22 @@ function Cr(t, e) {
4497
4497
  return s(i, r, n, a);
4498
4498
  };
4499
4499
  }
4500
- function wr(t = [], e = [], s) {
4500
+ function Ir(t = [], e = [], s) {
4501
4501
  const i = {};
4502
4502
  for (const r of t) {
4503
- const n = Sr(r, s);
4503
+ const n = Er(r, s);
4504
4504
  i[r.id] = n, i[r.name] = n;
4505
4505
  }
4506
4506
  for (const r of e)
4507
- i[r.id] = Cr(r, s);
4507
+ i[r.id] = kr(r, s);
4508
4508
  return i;
4509
4509
  }
4510
- async function Er(t = [], e = globalThis) {
4510
+ async function Ar(t = [], e = globalThis) {
4511
4511
  const s = Ae(e);
4512
- s && (zs(e), t.forEach((i) => Ir(s, i)));
4512
+ s && (Ys(e), t.forEach((i) => Tr(s, i)));
4513
4513
  }
4514
- function kr(t, e = globalThis) {
4515
- const s = O(t.mockTemplate) && t.mockTemplate.value ? z(t.mockTemplate, {}, !0) : void 0, i = Ae(e);
4514
+ function Pr(t, e = globalThis) {
4515
+ const s = F(t.mockTemplate) && t.mockTemplate.value ? z(t.mockTemplate, {}, !0) : void 0, i = Ae(e);
4516
4516
  return async (...r) => {
4517
4517
  let n = {};
4518
4518
  if (s)
@@ -4524,21 +4524,21 @@ function kr(t, e = globalThis) {
4524
4524
  return i?.mock(n);
4525
4525
  };
4526
4526
  }
4527
- function Ir(t, e) {
4527
+ function Tr(t, e) {
4528
4528
  if (!e.mock) return;
4529
4529
  const { url: s, mockTemplate: i, method: r = "get", settings: n = {} } = e;
4530
4530
  if (s && i)
4531
4531
  try {
4532
- const a = mt(s) ? new URL(s).pathname : s, u = ci(`(.*)${a}`, [], { end: !1 }), c = new RegExp(
4532
+ const a = gt(s) ? new URL(s).pathname : s, u = pi(`(.*)${a}`, [], { end: !1 }), c = new RegExp(
4533
4533
  u.source + "([?#].*)?$",
4534
4534
  u.flags
4535
- ), l = li(a, { decode: decodeURIComponent }), h = Ne(i, {}, !0);
4535
+ ), l = fi(a, { decode: decodeURIComponent }), h = Ne(i, {}, !0);
4536
4536
  t.mock(
4537
4537
  c,
4538
4538
  r.toLowerCase(),
4539
4539
  (p) => {
4540
4540
  const d = he.parse(p.url) || {}, f = n.type || "form";
4541
- let m = p.body instanceof FormData ? hi(p.body) : p.body;
4541
+ let m = p.body instanceof FormData ? di(p.body) : p.body;
4542
4542
  if (typeof m == "string")
4543
4543
  if (f === "json")
4544
4544
  try {
@@ -4548,7 +4548,7 @@ function Ir(t, e) {
4548
4548
  }
4549
4549
  else
4550
4550
  m = he.parse(m);
4551
- const x = mt(p.url) ? new URL(p.url).pathname : p.url.split("?")[0], g = l(x)?.params;
4551
+ const x = gt(p.url) ? new URL(p.url).pathname : p.url.split("?")[0], g = l(x)?.params;
4552
4552
  Object.assign(p, { data: m, params: g, query: d });
4553
4553
  try {
4554
4554
  return t.mock(h(p));
@@ -4561,11 +4561,11 @@ function Ir(t, e) {
4561
4561
  console.warn("mockApi", a);
4562
4562
  }
4563
4563
  }
4564
- function zs(t = globalThis) {
4564
+ function Ys(t = globalThis) {
4565
4565
  const e = Ae(t);
4566
4566
  e && (e._mocked = {});
4567
4567
  }
4568
- class os {
4568
+ class ls {
4569
4569
  __id = null;
4570
4570
  __mode;
4571
4571
  __instance = null;
@@ -4629,12 +4629,12 @@ class os {
4629
4629
  __proxy() {
4630
4630
  if (!this.__instance) return;
4631
4631
  const e = this.__instance;
4632
- Yt.forEach((s) => {
4632
+ es.forEach((s) => {
4633
4633
  this[s] = e[s] || e._?.[s.replace("$", "")] || null;
4634
4634
  });
4635
4635
  }
4636
4636
  __cleanup() {
4637
- Yt.forEach((e) => {
4637
+ es.forEach((e) => {
4638
4638
  this[e] = null;
4639
4639
  }), this.__reset(), this.__refGenerations = {};
4640
4640
  }
@@ -4643,7 +4643,7 @@ class os {
4643
4643
  }
4644
4644
  __parseFunction(e) {
4645
4645
  if (e)
4646
- if (this.__mode === P.Runtime) {
4646
+ if (this.__mode === T.Runtime) {
4647
4647
  const { id: s, type: i } = e, r = s ? this.__transform[s] ?? e.value : e.value;
4648
4648
  return z({ type: i, value: r }, this);
4649
4649
  } else
@@ -4651,14 +4651,14 @@ class os {
4651
4651
  }
4652
4652
  __parseExpression(e) {
4653
4653
  if (e)
4654
- if (this.__mode === P.Runtime) {
4654
+ if (this.__mode === T.Runtime) {
4655
4655
  const { id: s, type: i } = e, r = s ? this.__transform[s] ?? e.value : e.value;
4656
4656
  return Ne({ type: i, value: r }, this);
4657
4657
  } else
4658
4658
  return Ne(e, this);
4659
4659
  }
4660
4660
  __ref(e = null, s) {
4661
- if (this.__mode === P.VNode)
4661
+ if (this.__mode === T.VNode)
4662
4662
  return;
4663
4663
  e && e !== this.__id && (this.__contextRefs[e] = this);
4664
4664
  let i = e ? this.__refCaches[e] : null;
@@ -4673,7 +4673,7 @@ class os {
4673
4673
  typeof s == "string" && (delete this.$refs[s], this[s] && ve.isRef(this[s]) && (this[s].value = null), e && delete this.__refs[e]);
4674
4674
  return;
4675
4675
  }
4676
- return a.nodeType === 3 && a.nextSibling && (a = a.nextSibling), a.__vtj__ = e, P.Design === this.__mode && (a.__context__ = this, a.draggable = !0), e && (this.__refs[e] = this.__getRefEl(this.__refs, e, n)), typeof s == "function" ? s(n) : s && (this.$refs[s] = this.__getRefEl(this.$refs, s, n), this[s] && ve.isRef(this[s]) && (this[s].value = this.$refs[s])), n;
4676
+ return a.nodeType === 3 && a.nextSibling && (a = a.nextSibling), a.__vtj__ = e, T.Design === this.__mode && (a.__context__ = this, a.draggable = !0), e && (this.__refs[e] = this.__getRefEl(this.__refs, e, n)), typeof s == "function" ? s(n) : s && (this.$refs[s] = this.__getRefEl(this.$refs, s, n), this[s] && ve.isRef(this[s]) && (this[s].value = this.$refs[s])), n;
4677
4677
  }, e && (this.__refCaches[e] = i), i;
4678
4678
  }
4679
4679
  __getRefEl(e, s, i) {
@@ -4692,12 +4692,12 @@ class os {
4692
4692
  return i.context.__proto__ = this.context, i.__proto__ = this, i;
4693
4693
  }
4694
4694
  }
4695
- const ht = Symbol("vtjBlockChain");
4696
- function Ct(t) {
4695
+ const pt = Symbol("vtjBlockChain");
4696
+ function wt(t) {
4697
4697
  const {
4698
4698
  Vue: e = ve,
4699
4699
  UniApp: s = {},
4700
- mode: i = P.Runtime,
4700
+ mode: i = T.Runtime,
4701
4701
  components: r = {},
4702
4702
  libs: n = {},
4703
4703
  apis: a = {},
@@ -4706,7 +4706,7 @@ function Ct(t) {
4706
4706
  $components: r,
4707
4707
  $libs: n,
4708
4708
  $apis: a
4709
- }, h = new os({
4709
+ }, h = new ls({
4710
4710
  mode: i,
4711
4711
  dsl: c.value,
4712
4712
  attrs: l
@@ -4714,57 +4714,57 @@ function Ct(t) {
4714
4714
  name: c.value.name,
4715
4715
  __scopeId: c.value.id ? `data-v-${c.value.id}` : void 0,
4716
4716
  props: {
4717
- ...Pr(c.value.props ?? [], h)
4717
+ ...Nr(c.value.props ?? [], h)
4718
4718
  },
4719
4719
  async setup(d = {}) {
4720
4720
  const f = c.value.id, m = c.value.name, x = e.inject(
4721
- ht,
4721
+ pt,
4722
4722
  null
4723
4723
  );
4724
4724
  if (f && x && x.has(f)) {
4725
4725
  const ie = `检测到区块循环引用: ${m}(${f})`;
4726
- return console.warn(`[VTJ Renderer] ${ie},已中断渲染以防止浏览器崩溃`), qe(new Error(ie)), e.provide(ht, x), { __vtjCircular: !0 };
4726
+ return console.warn(`[VTJ Renderer] ${ie},已中断渲染以防止浏览器崩溃`), We(new Error(ie)), e.provide(pt, x), { __vtjCircular: !0 };
4727
4727
  }
4728
4728
  const g = new Set(x || []);
4729
- f && g.add(f), e.provide(ht, g);
4730
- const v = new os({
4729
+ f && g.add(f), e.provide(pt, g);
4730
+ const v = new ls({
4731
4731
  mode: i,
4732
4732
  dsl: c.value,
4733
4733
  attrs: l
4734
4734
  });
4735
- v.$props = v.props = d, c.value.id && Pt(
4735
+ v.$props = v.props = d, c.value.id && Tt(
4736
4736
  t.window || globalThis,
4737
4737
  c.value.id,
4738
4738
  c.value.css || "",
4739
4739
  !0
4740
4740
  );
4741
4741
  const k = c.value.apiMode === "composition";
4742
- v.$state = v.state = Tr(
4742
+ v.$state = v.state = Vr(
4743
4743
  e,
4744
4744
  c.value.state ?? {},
4745
4745
  v
4746
4746
  );
4747
- const R = k ? Lr(e, c.value.refs ?? {}, v) : {}, w = k ? jr(e, c.value.reactives ?? {}, v) : {}, D = Rr(e, c.value.computed ?? {}, v), fe = Nr(c.value.methods ?? {}, v), _e = Vr(e, c.value.inject, v), J = Or(
4747
+ const N = k ? Dr(e, c.value.refs ?? {}, v) : {}, w = k ? Br(e, c.value.reactives ?? {}, v) : {}, B = Or(e, c.value.computed ?? {}, v), fe = Fr(c.value.methods ?? {}, v), _e = Lr(e, c.value.inject, v), J = jr(
4748
4748
  c.value.dataSources || {},
4749
4749
  v
4750
4750
  );
4751
4751
  let Le = {};
4752
- k && (Le = Mr(
4752
+ k && (Le = Hr(
4753
4753
  c.value.composables ?? [],
4754
4754
  v
4755
4755
  ));
4756
- const tt = {
4756
+ const st = {
4757
4757
  ...d,
4758
- ...R,
4758
+ ...N,
4759
4759
  ...w,
4760
4760
  ..._e,
4761
- ...D,
4761
+ ...B,
4762
4762
  ...fe,
4763
4763
  ...J,
4764
4764
  ...Le
4765
4765
  };
4766
- if (v.setup(tt, e), Fr(e, c.value.watch ?? [], v), k) {
4767
- if (await Br(
4766
+ if (v.setup(st, e), Mr(e, c.value.watch ?? [], v), k) {
4767
+ if (await Ur(
4768
4768
  e,
4769
4769
  c.value.lifeCycles ?? {},
4770
4770
  v,
@@ -4774,23 +4774,23 @@ function Ct(t) {
4774
4774
  if (K(ie))
4775
4775
  try {
4776
4776
  await ie();
4777
- } catch (st) {
4778
- console.warn("[VTJ] Composition setup 执行失败", st);
4777
+ } catch (it) {
4778
+ console.warn("[VTJ] Composition setup 执行失败", it);
4779
4779
  }
4780
4780
  }
4781
- Dr(e, c.value.provide ?? {}, v);
4781
+ $r(e, c.value.provide ?? {}, v);
4782
4782
  }
4783
4783
  return {
4784
4784
  vtj: v,
4785
4785
  state: v.$state,
4786
4786
  ...d,
4787
- ...R,
4787
+ ...N,
4788
4788
  ...w,
4789
- ...D,
4789
+ ...B,
4790
4790
  ...fe
4791
4791
  };
4792
4792
  },
4793
- emits: Ar(c.value.emits),
4793
+ emits: Rr(c.value.emits),
4794
4794
  expose: ["vtj", ...c.value.expose || []],
4795
4795
  render() {
4796
4796
  if (this.__vtjCircular)
@@ -4824,25 +4824,25 @@ function Ct(t) {
4824
4824
  return d !== h && (h.__contextRefs = d.__contextRefs), x;
4825
4825
  },
4826
4826
  // Options 模式下生命周期以 Options 风格注册
4827
- ...c.value.apiMode !== "composition" ? Hr(c.value.lifeCycles ?? {}, h) : {}
4827
+ ...c.value.apiMode !== "composition" ? Gr(c.value.lifeCycles ?? {}, h) : {}
4828
4828
  });
4829
4829
  return {
4830
4830
  renderer: e.markRaw(p),
4831
4831
  context: h
4832
4832
  };
4833
4833
  }
4834
- function Ar(t = []) {
4834
+ function Rr(t = []) {
4835
4835
  return t.map((e) => ee(e) ? e : e.name);
4836
4836
  }
4837
- function Pr(t = [], e) {
4838
- const s = (i) => i ? (Array.isArray(i) ? i : [i]).map((n) => bi[n]) : void 0;
4837
+ function Nr(t = [], e) {
4838
+ const s = (i) => i ? (Array.isArray(i) ? i : [i]).map((n) => Si[n]) : void 0;
4839
4839
  return t.map((i) => ee(i) ? {
4840
4840
  name: i
4841
4841
  } : {
4842
4842
  name: i.name,
4843
4843
  type: i.type,
4844
4844
  required: i.required,
4845
- default: T(i.default) ? e.__parseExpression(i.default) : i.default
4845
+ default: R(i.default) ? e.__parseExpression(i.default) : i.default
4846
4846
  }).reduce(
4847
4847
  (i, r) => (i[r.name] = {
4848
4848
  type: s(r.type),
@@ -4852,46 +4852,46 @@ function Pr(t = [], e) {
4852
4852
  {}
4853
4853
  );
4854
4854
  }
4855
- function Tr(t, e, s) {
4855
+ function Vr(t, e, s) {
4856
4856
  return t.reactive(
4857
4857
  Object.keys(e || {}).reduce(
4858
4858
  (i, r) => {
4859
4859
  let n = e[r];
4860
- return T(n) ? n = s.__parseExpression(n) : O(n) && (n = s.__parseFunction(n)), i[r] = n, i;
4860
+ return R(n) ? n = s.__parseExpression(n) : F(n) && (n = s.__parseFunction(n)), i[r] = n, i;
4861
4861
  },
4862
4862
  {}
4863
4863
  )
4864
4864
  );
4865
4865
  }
4866
- function Rr(t, e, s) {
4866
+ function Or(t, e, s) {
4867
4867
  return Object.entries(e ?? {}).reduce(
4868
- (i, [r, n]) => (O(n) ? i[r] = t.computed(s.__parseFunction(n)) : i[r] = t.computed(s.__parseExpression(n)), i),
4868
+ (i, [r, n]) => (F(n) ? i[r] = t.computed(s.__parseFunction(n)) : i[r] = t.computed(s.__parseExpression(n)), i),
4869
4869
  {}
4870
4870
  );
4871
4871
  }
4872
- function Nr(t, e) {
4872
+ function Fr(t, e) {
4873
4873
  return Object.entries(t ?? {}).reduce(
4874
4874
  (s, [i, r]) => (s[i] = e.__parseFunction(r), s),
4875
4875
  {}
4876
4876
  );
4877
4877
  }
4878
- function Vr(t, e = [], s) {
4878
+ function Lr(t, e = [], s) {
4879
4879
  return e.reduce(
4880
4880
  (i, r) => {
4881
- const { name: n, from: a } = r || {}, u = T(a) ? s.__parseExpression(a) || n : a ?? n, c = T(r.default) ? s.__parseExpression(r.default) : r.default ?? null;
4881
+ const { name: n, from: a } = r || {}, u = R(a) ? s.__parseExpression(a) || n : a ?? n, c = R(r.default) ? s.__parseExpression(r.default) : r.default ?? null;
4882
4882
  return i[n] = t.inject(u, c), i;
4883
4883
  },
4884
4884
  {}
4885
4885
  );
4886
4886
  }
4887
- function Or(t, e) {
4887
+ function jr(t, e) {
4888
4888
  return Object.keys(t).reduce(
4889
4889
  (s, i) => {
4890
4890
  const r = t[i];
4891
4891
  if (r.type === "mock")
4892
- s[i] = kr(r);
4892
+ s[i] = Pr(r);
4893
4893
  else if (r.ref) {
4894
- const n = e.$apis[r.ref], a = O(r.transform) ? r.transform.value ? e.__parseFunction(r.transform) : void 0 : r.transform;
4894
+ const n = e.$apis[r.ref], a = F(r.transform) ? r.transform.value ? e.__parseFunction(r.transform) : void 0 : r.transform;
4895
4895
  s[i] = async (...u) => {
4896
4896
  const c = await n.apply(e, u);
4897
4897
  return a ? a(c) : c;
@@ -4902,7 +4902,7 @@ function Or(t, e) {
4902
4902
  {}
4903
4903
  );
4904
4904
  }
4905
- function Fr(t, e = [], s) {
4905
+ function Mr(t, e = [], s) {
4906
4906
  e.forEach((i) => {
4907
4907
  t.watch(
4908
4908
  s.__parseExpression(i.source),
@@ -4915,32 +4915,32 @@ function Fr(t, e = [], s) {
4915
4915
  );
4916
4916
  });
4917
4917
  }
4918
- function Lr(t, e, s) {
4918
+ function Dr(t, e, s) {
4919
4919
  return Object.entries(e).reduce(
4920
4920
  (i, [r, n]) => {
4921
- const a = T(n) ? s.__parseExpression(n) : n;
4921
+ const a = R(n) ? s.__parseExpression(n) : n;
4922
4922
  return i[r] = t.ref(a), i;
4923
4923
  },
4924
4924
  {}
4925
4925
  );
4926
4926
  }
4927
- function jr(t, e, s) {
4927
+ function Br(t, e, s) {
4928
4928
  return Object.entries(e).reduce(
4929
4929
  (i, [r, n]) => {
4930
- const a = T(n) ? s.__parseExpression(n) : n;
4930
+ const a = R(n) ? s.__parseExpression(n) : n;
4931
4931
  return i[r] = t.reactive(a ?? {}), i;
4932
4932
  },
4933
4933
  {}
4934
4934
  );
4935
4935
  }
4936
- function Mr(t, e) {
4936
+ function Hr(t, e) {
4937
4937
  return t.reduce(
4938
4938
  (s, i) => {
4939
4939
  try {
4940
4940
  let r;
4941
- if (T(i.composable) ? r = e.__parseExpression(i.composable) : ee(i.composable) && (r = e.$libs[i.composable]), K(r)) {
4941
+ if (R(i.composable) ? r = e.__parseExpression(i.composable) : ee(i.composable) && (r = e.$libs[i.composable]), K(r)) {
4942
4942
  const n = (i.args || []).map(
4943
- (u) => T(u) ? e.__parseExpression(u) : u
4943
+ (u) => R(u) ? e.__parseExpression(u) : u
4944
4944
  ), a = r(...n);
4945
4945
  if (i.destructure && i.destructure.length > 0)
4946
4946
  for (const u of i.destructure)
@@ -4949,20 +4949,20 @@ function Mr(t, e) {
4949
4949
  s[i.name] = a;
4950
4950
  }
4951
4951
  } catch (r) {
4952
- e.__mode === P.Design && (console.warn("[VTJ] composable 执行失败,已降级处理", r), s[i.name] = {});
4952
+ e.__mode === T.Design && (console.warn("[VTJ] composable 执行失败,已降级处理", r), s[i.name] = {});
4953
4953
  }
4954
4954
  return s;
4955
4955
  },
4956
4956
  {}
4957
4957
  );
4958
4958
  }
4959
- function Dr(t, e, s) {
4959
+ function $r(t, e, s) {
4960
4960
  Object.entries(e).forEach(([i, r]) => {
4961
4961
  let n = r;
4962
- T(r) ? n = s.__parseExpression(r) : O(r) && (n = s.__parseFunction(r)), t.provide(i, n);
4962
+ R(r) ? n = s.__parseExpression(r) : F(r) && (n = s.__parseFunction(r)), t.provide(i, n);
4963
4963
  });
4964
4964
  }
4965
- async function Br(t, e, s, i = {}) {
4965
+ async function Ur(t, e, s, i = {}) {
4966
4966
  const r = {
4967
4967
  beforeMount: "onBeforeMount",
4968
4968
  mounted: "onMounted",
@@ -4983,7 +4983,7 @@ async function Br(t, e, s, i = {}) {
4983
4983
  try {
4984
4984
  await l();
4985
4985
  } catch (h) {
4986
- console.warn(`[VTJ] Composition 生命周期 "${n}" 执行失败`, h), qe(h);
4986
+ console.warn(`[VTJ] Composition 生命周期 "${n}" 执行失败`, h), We(h);
4987
4987
  }
4988
4988
  continue;
4989
4989
  }
@@ -4994,14 +4994,14 @@ async function Br(t, e, s, i = {}) {
4994
4994
  try {
4995
4995
  await Ie(0), await l();
4996
4996
  } catch (h) {
4997
- console.warn(`[VTJ] Composition 生命周期 "${n}" 执行失败`, h), qe(h);
4997
+ console.warn(`[VTJ] Composition 生命周期 "${n}" 执行失败`, h), We(h);
4998
4998
  }
4999
4999
  });
5000
5000
  } else
5001
5001
  console.warn(`[VTJ] 无效的 Composition 生命周期钩子 "${n}"`);
5002
5002
  }
5003
5003
  }
5004
- function Hr(t, e) {
5004
+ function Gr(t, e) {
5005
5005
  return Object.entries(t ?? {}).reduce(
5006
5006
  (s, [i, r]) => (s[i] = async function() {
5007
5007
  const a = (this?.vtj || e).__parseFunction(r);
@@ -5010,7 +5010,7 @@ function Hr(t, e) {
5010
5010
  {}
5011
5011
  );
5012
5012
  }
5013
- class $r {
5013
+ class qr {
5014
5014
  __props = {};
5015
5015
  __events = {};
5016
5016
  __nodes = {};
@@ -5046,7 +5046,7 @@ class $r {
5046
5046
  return i || (e && this.setNode(e, s), s);
5047
5047
  }
5048
5048
  isEqual(e, s) {
5049
- return ot(e, s);
5049
+ return ut(e, s);
5050
5050
  }
5051
5051
  /**
5052
5052
  * 比较两个节点缓存是否相等,函数引用变化不触发重渲染,但函数属性的增删会触发
@@ -5066,60 +5066,60 @@ class $r {
5066
5066
  }
5067
5067
  return c;
5068
5068
  }, n = i(e).sort(), a = i(s).sort();
5069
- return ot(n, a) ? ot(r(e), r(s)) : !1;
5069
+ return ut(n, a) ? ut(r(e), r(s)) : !1;
5070
5070
  }
5071
5071
  clear() {
5072
5072
  this.__props = {}, this.__events = {}, this.__nodes = {};
5073
5073
  }
5074
5074
  }
5075
- const Se = new $r(), Js = new pi();
5076
- let pt = [], ce = {}, Ce = {};
5077
- const Ur = (t, e) => e;
5078
- async function Qs(t, e = globalThis) {
5079
- const { urls: s = [], library: i } = t, r = s.filter((u) => ze(u));
5075
+ const Se = new qr(), Xs = new mi();
5076
+ let ft = [], ce = {}, Ce = {};
5077
+ const Wr = (t, e) => e;
5078
+ async function Zs(t, e = globalThis) {
5079
+ const { urls: s = [], library: i } = t, r = s.filter((u) => Je(u));
5080
5080
  if (r.length === 0 || !i) return null;
5081
- const n = s.filter((u) => Ke(u));
5082
- return n.length && ms(n, e), await gs(r, i, e).catch(
5081
+ const n = s.filter((u) => ze(u));
5082
+ return n.length && vs(n, e), await bs(r, i, e).catch(
5083
5083
  (u) => (console.warn("loadScriptUrl error", r, i, u), null)
5084
5084
  );
5085
5085
  }
5086
- function wt(t) {
5086
+ function Et(t) {
5087
5087
  const { getDsl: e, getDslByUrl: s, options: i } = t;
5088
- return i.window && (pt.forEach((r) => {
5088
+ return i.window && (ft.forEach((r) => {
5089
5089
  delete i.window[r];
5090
- }), pt = []), (r, n, a, u = ve) => {
5090
+ }), ft = []), (r, n, a, u = ve) => {
5091
5091
  if (!a || typeof a == "string") return n;
5092
5092
  let c = "";
5093
5093
  if (a.type === "Schema" && a.id)
5094
5094
  return c = a.id + "_" + r, Ce[c] || (Ce[c] = u.defineAsyncComponent(async () => {
5095
- const l = ce[a.id] || await Js.add(
5095
+ const l = ce[a.id] || await Xs.add(
5096
5096
  a.id,
5097
5097
  () => e(a.id)
5098
5098
  );
5099
- return l && (l.name = n, ce[a.id] = l), l ? Ct({
5099
+ return l && (l.name = n, ce[a.id] = l), l ? wt({
5100
5100
  Vue: u,
5101
- mode: P.Runtime,
5101
+ mode: T.Runtime,
5102
5102
  ...i,
5103
- dsl: zt(l),
5104
- loader: wt(t)
5103
+ dsl: Yt(l),
5104
+ loader: Et(t)
5105
5105
  }).renderer : null;
5106
5106
  }));
5107
5107
  if (a.type === "UrlSchema" && a.url)
5108
5108
  return c = a.url + "_" + r, Ce[c] || (Ce[c] = u.defineAsyncComponent(async () => {
5109
5109
  const l = ce[a.url] || await s(a.url);
5110
- return l && (l.name = n, ce[a.url] = l), l ? Ct({
5110
+ return l && (l.name = n, ce[a.url] = l), l ? wt({
5111
5111
  ...i,
5112
5112
  Vue: u,
5113
- dsl: zt(l),
5114
- mode: P.Runtime,
5115
- loader: wt(t)
5113
+ dsl: Yt(l),
5114
+ mode: T.Runtime,
5115
+ loader: Et(t)
5116
5116
  }).renderer : null;
5117
5117
  }));
5118
5118
  if (a.type === "Plugin") {
5119
5119
  let l = a.library ? ce[a.library] : null;
5120
- return l || (a.library && pt.push(a.library), l = ce[a.library || Symbol()] = u.defineAsyncComponent(
5120
+ return l || (a.library && ft.push(a.library), l = ce[a.library || Symbol()] = u.defineAsyncComponent(
5121
5121
  async () => {
5122
- const h = await Qs(a, i.window);
5122
+ const h = await Zs(a, i.window);
5123
5123
  return h || (console.warn("getPlugin result is null", a), null);
5124
5124
  }
5125
5125
  ), l);
@@ -5127,61 +5127,71 @@ function wt(t) {
5127
5127
  return n;
5128
5128
  };
5129
5129
  }
5130
- function jn() {
5131
- ce = {}, Ce = {}, Js.clearAllCache(), Se.clear();
5130
+ function Bn() {
5131
+ ce = {}, Ce = {}, Xs.clearAllCache(), Se.clear();
5132
5132
  }
5133
- function ye(t, e, s = ve, i = Ur, r = [], n = !1, a = 0) {
5133
+ function ye(t, e, s = ve, i = Wr, r = [], n = !1, a = 0) {
5134
5134
  if (!t || !t.name || t.invisible) return null;
5135
- const u = s.getCurrentInstance()?.appContext, { id: c = null, directives: l = [] } = t, { vIf: h, vElseIf: p, vElse: d, vFor: f, vShow: m, vModels: x, vBind: g, vHtml: v, others: k } = Ys(l);
5135
+ const u = s.getCurrentInstance()?.appContext, { id: c = null, directives: l = [] } = t, { vIf: h, vElseIf: p, vElse: d, vFor: f, vShow: m, vModels: x, vBind: g, vHtml: v, others: k } = ei(l);
5136
5136
  if (!n && (p || d))
5137
5137
  return null;
5138
- if (h && !qr(h, e))
5139
- return Yr(t, e, s, i, r);
5140
- const R = (w, D = 0) => {
5138
+ if (h && !zr(h, e))
5139
+ return en(t, e, s, i, r);
5140
+ const N = (w, B = 0) => {
5141
5141
  const fe = w.$components, _e = (() => {
5142
5142
  if (t.name === "component")
5143
- return Wr(w, t.props?.is);
5143
+ return Jr(w, t.props?.is);
5144
5144
  if (t.name === "slot") return t.name;
5145
- const G = i(`${t.id}_${D}`, t.name, t.from, s);
5146
- return ee(G) ? Ni(G) || Vi(G) ? G : fe[G] ?? u?.app?.component(G) ?? G : G;
5147
- })(), J = Kr(c, t.props ?? {}, w), Le = Qr(
5145
+ const P = i(`${t.id}_${B}`, t.name, t.from, s);
5146
+ return ee(P) ? Fi(P) || Li(P) ? P : fe[P] ?? u?.app?.component(P) ?? P : P;
5147
+ })(), J = Qr(c, t.props ?? {}, w), Le = Zr(
5148
5148
  s,
5149
5149
  t.id,
5150
5150
  t.events ?? {},
5151
5151
  w
5152
5152
  );
5153
5153
  if (t.name === "slot")
5154
- return Xr(s, t, J, w, i);
5154
+ return tn(s, t, J, w, i);
5155
5155
  g && Object.assign(J, w.__parseExpression(g.value)), m && (J.style = Object.assign(
5156
5156
  J.style ?? {},
5157
- en(m, w)
5158
- )), v && Object.assign(J, tn(v, w)), x.forEach((G) => {
5159
- fs.includes(t.name) ? Object.assign(J, sn(G, w)) : Object.assign(J, rn(s, G, w));
5157
+ rn(m, w)
5158
+ )), v && Object.assign(J, nn(v, w)), x.forEach((P) => {
5159
+ gs.includes(t.name) ? Object.assign(J, an(P, w)) : Object.assign(J, on(s, P, w));
5160
5160
  });
5161
- const tt = nn(
5161
+ const st = un(
5162
5162
  s,
5163
5163
  t.children ?? [],
5164
5164
  w,
5165
5165
  i,
5166
5166
  t
5167
- ), ie = w?.__id ? `data-v-${w.__id}` : void 0, st = ie ? { [ie]: "" } : {}, si = w.__mode === P.Design ? { "data-vtj": c } : {}, { ref: ii, ...ri } = J, je = `${c}_${D}`, it = {
5168
- key: je,
5169
- ...st,
5170
- ...si,
5171
- ...ri
5167
+ ), ie = w?.__id ? `data-v-${w.__id}` : void 0, it = ie ? { [ie]: "" } : {}, ni = w.__mode === T.Design ? { "data-vtj": c } : {}, { ref: ai, ...je } = J, oi = Object.keys(je).filter(
5168
+ (P) => P.startsWith("on")
5169
+ ), Wt = {}, Kt = {};
5170
+ for (const P of Object.keys(je))
5171
+ oi.includes(P) ? Wt[P] = je[P] : Kt[P] = je[P];
5172
+ const Me = `${c}_${B}`, rt = {
5173
+ key: Me,
5174
+ ...it,
5175
+ ...ni,
5176
+ ...Kt
5172
5177
  };
5173
- Se.isNodeEqual(it, Se.getNode(je)) || Se.setNode(je, it);
5174
- let rt = s.createVNode(
5178
+ Se.isNodeEqual(rt, Se.getNode(Me)) || Se.setNode(Me, rt);
5179
+ let nt = s.createVNode(
5175
5180
  _e,
5176
- { ...Se.getNode(je) || it, ref: ii, ...Le },
5177
- tt
5181
+ {
5182
+ ...Se.getNode(Me) || rt,
5183
+ ref: ai,
5184
+ ...Wt,
5185
+ ...Le
5186
+ },
5187
+ st
5178
5188
  );
5179
- const qt = u ? Gr(u, k, w) : [];
5180
- return qt.length && (rt = s.withDirectives(rt, qt)), rt;
5189
+ const zt = u ? Kr(u, k, w) : [];
5190
+ return zt.length && (nt = s.withDirectives(nt, zt)), nt;
5181
5191
  };
5182
- return f ? un(f, R, e) : R(e, a);
5192
+ return f ? hn(f, N, e) : N(e, a);
5183
5193
  }
5184
- function Gr(t, e, s) {
5194
+ function Kr(t, e, s) {
5185
5195
  const i = t.app;
5186
5196
  return e.map((r) => {
5187
5197
  const n = typeof r.name == "string" ? i.directive(r.name) : s.__parseExpression(r.name);
@@ -5190,13 +5200,13 @@ function Gr(t, e, s) {
5190
5200
  return r.value && a.push(s.__parseExpression(r.value)), r.arg && a.push(r.arg), r.modifiers && a.push(r.modifiers), a;
5191
5201
  }).filter((r) => !!r);
5192
5202
  }
5193
- function Ys(t = []) {
5203
+ function ei(t = []) {
5194
5204
  const e = t.find((h) => X(h.name) === "vIf"), s = t.find(
5195
5205
  (h) => X(h.name) === "vElseIf"
5196
5206
  ), i = t.find((h) => X(h.name) === "vElse"), r = t.find((h) => X(h.name) === "vFor"), n = t.find((h) => X(h.name) === "vShow"), a = t.find((h) => X(h.name) === "vBind"), u = t.find((h) => X(h.name) === "vHtml"), c = t.filter(
5197
5207
  (h) => X(h.name) === "vModel"
5198
5208
  ), l = t.filter(
5199
- (h) => !vi.includes(X(h.name))
5209
+ (h) => !_i.includes(X(h.name))
5200
5210
  );
5201
5211
  return {
5202
5212
  vIf: e,
@@ -5210,44 +5220,44 @@ function Ys(t = []) {
5210
5220
  vHtml: u
5211
5221
  };
5212
5222
  }
5213
- function qr(t, e) {
5223
+ function zr(t, e) {
5214
5224
  return !!e.__parseExpression(t.value);
5215
5225
  }
5216
- function Wr(t, e) {
5217
- return e ? T(e) ? t.__parseExpression(e) : e : "div";
5226
+ function Jr(t, e) {
5227
+ return e ? R(e) ? t.__parseExpression(e) : e : "div";
5218
5228
  }
5219
- function Kr(t, e, s) {
5220
- const i = Et(e, s);
5229
+ function Qr(t, e, s) {
5230
+ const i = kt(e, s);
5221
5231
  return i.ref = s.__ref(t, i.ref), i;
5222
5232
  }
5223
- function Et(t, e) {
5224
- return T(t) ? e.__parseExpression(t) : O(t) ? e.__parseFunction(t) : Array.isArray(t) ? t.map((s) => Et(s, e)) : typeof t == "object" ? Object.keys(t || {}).reduce(
5233
+ function kt(t, e) {
5234
+ return R(t) ? e.__parseExpression(t) : F(t) ? e.__parseFunction(t) : Array.isArray(t) ? t.map((s) => kt(s, e)) : typeof t == "object" ? Object.keys(t || {}).reduce(
5225
5235
  (s, i) => {
5226
5236
  let r = t[i];
5227
- return s[i] = Et(r, e), s;
5237
+ return s[i] = kt(r, e), s;
5228
5238
  },
5229
5239
  {}
5230
5240
  ) : t;
5231
5241
  }
5232
- function zr(t, e) {
5242
+ function Yr(t, e) {
5233
5243
  return (s) => {
5234
5244
  s?.key?.toLowerCase() === e.toLowerCase() && t(s);
5235
5245
  };
5236
5246
  }
5237
- function Jr(t) {
5238
- return Oi(t.value) ? t : Fi(t.value) ? {
5247
+ function Xr(t) {
5248
+ return ji(t.value) ? t : Mi(t.value) ? {
5239
5249
  type: "JSFunction",
5240
5250
  value: `(...args) => (() => {
5241
5251
  return (($event) => {
5242
5252
  ${t.value}
5243
5253
  }).apply(this, args);
5244
5254
  })()`
5245
- } : Li(t.value) ? {
5255
+ } : Di(t.value) ? {
5246
5256
  type: "JSFunction",
5247
5257
  value: `() => { ${t.value}}`
5248
5258
  } : t;
5249
5259
  }
5250
- function Qr(t, e, s, i) {
5260
+ function Zr(t, e, s, i) {
5251
5261
  const r = ["passive", "capture", "once"], n = {
5252
5262
  capture: "Capture",
5253
5263
  once: "Once",
@@ -5255,19 +5265,19 @@ function Qr(t, e, s, i) {
5255
5265
  };
5256
5266
  return Object.keys(s || {}).reduce(
5257
5267
  (u, c) => {
5258
- const l = s[c], h = Xs(l.modifiers), p = h.find((m) => r.includes(m)), d = "on" + fi(c) + (p && n[p] || ""), f = l.handler ? i.__parseFunction(Jr(l.handler)) : null;
5268
+ const l = s[c], h = ti(l.modifiers), p = h.find((m) => r.includes(m)), d = "on" + gi(c) + (p && n[p] || ""), f = l.handler ? i.__parseFunction(Xr(l.handler)) : null;
5259
5269
  return f && (u[d] = t.withModifiers(
5260
- h.includes("enter") ? zr(f, "enter") : f,
5270
+ h.includes("enter") ? Yr(f, "enter") : f,
5261
5271
  h
5262
5272
  )), u;
5263
5273
  },
5264
5274
  {}
5265
5275
  );
5266
5276
  }
5267
- function Yr(t, e, s, i, r = []) {
5277
+ function en(t, e, s, i, r = []) {
5268
5278
  let n = r.findIndex((a) => a.id === t.id);
5269
5279
  for (let a = ++n; a < r.length; a++) {
5270
- const { directives: u = [] } = r[a], { vElseIf: c, vElse: l } = Ys(u);
5280
+ const { directives: u = [] } = r[a], { vElseIf: c, vElse: l } = ei(u);
5271
5281
  if (c) {
5272
5282
  if (e.__parseExpression(c.value))
5273
5283
  return ye(r[a], e, s, i, r, !0);
@@ -5278,36 +5288,36 @@ function Yr(t, e, s, i, r = []) {
5278
5288
  }
5279
5289
  return null;
5280
5290
  }
5281
- function Xs(t = {}, e = !1) {
5291
+ function ti(t = {}, e = !1) {
5282
5292
  const s = Object.keys(t);
5283
5293
  return e ? s.map((i) => "." + i) : s;
5284
5294
  }
5285
- function Xr(t, e, s, i, r) {
5286
- const { children: n } = e, a = Zr(e, i), u = i.$slots?.[a.name];
5287
- return u ? u(s) : n ? ee(n) ? t.createTextVNode(n) : T(n) ? t.createTextVNode(
5288
- ds(i.__parseExpression(n))
5295
+ function tn(t, e, s, i, r) {
5296
+ const { children: n } = e, a = sn(e, i), u = i.$slots?.[a.name];
5297
+ return u ? u(s) : n ? ee(n) ? t.createTextVNode(n) : R(n) ? t.createTextVNode(
5298
+ xs(i.__parseExpression(n))
5289
5299
  ) : Array.isArray(n) ? n.map(
5290
5300
  (c, l) => ye(c, i, t, r, n, !1, l)
5291
5301
  ) : null : null;
5292
5302
  }
5293
- function Zr(t, e) {
5303
+ function sn(t, e) {
5294
5304
  const { props: s } = t, i = s?.name || "default";
5295
5305
  return {
5296
- name: T(i) ? e.__parseExpression(i) : i,
5306
+ name: R(i) ? e.__parseExpression(i) : i,
5297
5307
  params: []
5298
5308
  };
5299
5309
  }
5300
- function en(t, e) {
5310
+ function rn(t, e) {
5301
5311
  return e.__parseExpression(t.value) ? {} : {
5302
5312
  display: "none"
5303
5313
  };
5304
5314
  }
5305
- function tn(t, e) {
5315
+ function nn(t, e) {
5306
5316
  return {
5307
5317
  innerHTML: e.__parseExpression(t.value) || ""
5308
5318
  };
5309
5319
  }
5310
- function sn(t, e) {
5320
+ function an(t, e) {
5311
5321
  const s = {
5312
5322
  type: "JSFunction",
5313
5323
  value: t.value?.value ? `(v) => {
@@ -5315,41 +5325,41 @@ function sn(t, e) {
5315
5325
  }` : "(v) => {}"
5316
5326
  };
5317
5327
  return {
5318
- [T(t.arg) ? e.__parseExpression(t.arg) : t.arg || "value"]: e.__parseExpression(t.value),
5328
+ [R(t.arg) ? e.__parseExpression(t.arg) : t.arg || "value"]: e.__parseExpression(t.value),
5319
5329
  onInput: e.__parseFunction(s)
5320
5330
  };
5321
5331
  }
5322
- function rn(t, e, s) {
5332
+ function on(t, e, s) {
5323
5333
  const i = {
5324
5334
  type: "JSFunction",
5325
5335
  value: e.value?.value ? `(v) => {
5326
5336
  ${e.value.value} = v;
5327
5337
  }` : "(v) => {}"
5328
- }, r = s.__parseFunction(i), n = Xs(
5329
- T(e.modifiers) ? s.__parseExpression(e.modifiers) : e.modifiers
5330
- ), a = T(e.arg) ? s.__parseExpression(e.arg) : e.arg || "modelValue";
5338
+ }, r = s.__parseFunction(i), n = ti(
5339
+ R(e.modifiers) ? s.__parseExpression(e.modifiers) : e.modifiers
5340
+ ), a = R(e.arg) ? s.__parseExpression(e.arg) : e.arg || "modelValue";
5331
5341
  return {
5332
5342
  [a]: s.__parseExpression(e.value),
5333
5343
  [`onUpdate:${a}`]: n.length && r ? t.withModifiers(r, n) : r
5334
5344
  };
5335
5345
  }
5336
- function nn(t, e, s, i, r) {
5346
+ function un(t, e, s, i, r) {
5337
5347
  if (!e) return null;
5338
5348
  if (ee(e))
5339
5349
  return { default: () => e };
5340
- if (T(e))
5350
+ if (R(e))
5341
5351
  return {
5342
- default: () => ds(s.__parseExpression(e))
5352
+ default: () => xs(s.__parseExpression(e))
5343
5353
  };
5344
5354
  if (Array.isArray(e) && e.length > 0) {
5345
- const n = an(e), a = (u, c) => !u || !r ? {} : r?.id && Object.keys(u).length ? c ? {
5355
+ const n = cn(e), a = (u, c) => !u || !r ? {} : r?.id && Object.keys(u).length ? c ? {
5346
5356
  [c]: u
5347
5357
  } : {
5348
5358
  [`scope_${r.id}`]: u
5349
5359
  } : c ? { [c]: /* @__PURE__ */ Object.create(null) } : {};
5350
5360
  return Object.entries(n).reduce(
5351
5361
  (u, [c, { nodes: l, params: h, scope: p }]) => (u[c] = (d) => {
5352
- const f = h.length ? di(d ?? {}, h) : a(d, p);
5362
+ const f = h.length ? xi(d ?? {}, h) : a(d, p);
5353
5363
  return l.map(
5354
5364
  (m, x) => ye(
5355
5365
  m,
@@ -5367,10 +5377,10 @@ function nn(t, e, s, i, r) {
5367
5377
  }
5368
5378
  return null;
5369
5379
  }
5370
- function an(t) {
5380
+ function cn(t) {
5371
5381
  const e = {};
5372
5382
  for (const s of t) {
5373
- const i = on(s.slot), r = i.name;
5383
+ const i = ln(s.slot), r = i.name;
5374
5384
  e[r] ? (e[r].nodes.push(s), e[r].params = e[r].params.concat(i.params), e[r].scope = i.scope || "") : e[r] = {
5375
5385
  nodes: [s],
5376
5386
  params: i.params,
@@ -5379,18 +5389,18 @@ function an(t) {
5379
5389
  }
5380
5390
  return e;
5381
5391
  }
5382
- function on(t = "default") {
5392
+ function ln(t = "default") {
5383
5393
  return ee(t) ? { name: t, params: [], scope: "" } : { params: [], scope: "", ...t };
5384
5394
  }
5385
- function un(t, e, s) {
5395
+ function hn(t, e, s) {
5386
5396
  const { value: i, iterator: r } = t, { item: n = "item", index: a = "index" } = r || {};
5387
5397
  let u = s.__parseExpression(i) || [];
5388
5398
  return Number.isInteger(u) && (u = new Array(u).fill(!0).map((c, l) => l + 1)), Array.isArray(u) ? u.map((c, l) => e(s.__clone({ [n]: c, [a]: l }), l)) : (console.warn("[vForRender]:", `${i?.value} is not a Arrary`), []);
5389
5399
  }
5390
- const ft = hs({
5400
+ const dt = ds({
5391
5401
  name: "VtjPageContainer",
5392
5402
  async setup() {
5393
- const t = ei(), e = ps(), s = e.meta.__vtj__ || e.params.id, i = s ? t.getPage(s) : t.getHomepage(), r = i ? await t.getRenderComponent(i.id) : null, n = vt(Symbol());
5403
+ const t = ii(), e = ms(), s = e.meta.__vtj__ || e.params.id, i = s ? t.getPage(s) : t.getHomepage(), r = i ? await t.getRenderComponent(i.id) : null, n = bt(Symbol());
5394
5404
  if (i) {
5395
5405
  Object.assign(e.meta, i.meta || {}, { cache: i.cache });
5396
5406
  const { useTitle: a } = t?.adapter;
@@ -5411,7 +5421,7 @@ const ft = hs({
5411
5421
  },
5412
5422
  render() {
5413
5423
  const { component: t, query: e, sid: s } = this;
5414
- return t ? xt(t, { ...e, key: s }) : xt(
5424
+ return t ? vt(t, { ...e, key: s }) : vt(
5415
5425
  "div",
5416
5426
  { style: { padding: "10px" } },
5417
5427
  "找不到组件,组件不存在或未发布!"
@@ -5420,18 +5430,18 @@ const ft = hs({
5420
5430
  activated() {
5421
5431
  this.meta.cache === !1 && (this.sid = Symbol());
5422
5432
  }
5423
- }), cn = hs({
5433
+ }), pn = ds({
5424
5434
  name: "VtjStartupContainer",
5425
5435
  render() {
5426
- return xt("div", "page not found!");
5436
+ return vt("div", "page not found!");
5427
5437
  }
5428
5438
  });
5429
- function We(t, e, s = []) {
5439
+ function Ke(t, e, s = []) {
5430
5440
  const i = [];
5431
5441
  for (const r of s) {
5432
5442
  const { id: n, title: a, icon: u, children: c, hidden: l, layout: h } = r;
5433
5443
  if (h) {
5434
- const p = We(t, e, c || []);
5444
+ const p = Ke(t, e, c || []);
5435
5445
  i.push(...p);
5436
5446
  } else {
5437
5447
  const p = {
@@ -5440,38 +5450,38 @@ function We(t, e, s = []) {
5440
5450
  icon: u,
5441
5451
  hidden: l,
5442
5452
  url: `${t}/${e}/${n}`,
5443
- children: c && c.length ? We(t, e, c) : void 0
5453
+ children: c && c.length ? Ke(t, e, c) : void 0
5444
5454
  };
5445
5455
  i.push(p);
5446
5456
  }
5447
5457
  }
5448
5458
  return i;
5449
5459
  }
5450
- function Zs(t, e) {
5460
+ function si(t, e) {
5451
5461
  if (!e) return t;
5452
5462
  let s = [];
5453
5463
  for (const i of t)
5454
5464
  if (i.children && i.children.length) {
5455
- const r = Zs(i.children, e);
5465
+ const r = si(i.children, e);
5456
5466
  r.length && (i.children = r, s.push(i));
5457
5467
  } else
5458
5468
  e.can(i.id.toString()) && s.push(i);
5459
5469
  return s;
5460
5470
  }
5461
- function Mn(t) {
5471
+ function Hn(t) {
5462
5472
  const {
5463
5473
  menuPathPrefix: e = "",
5464
5474
  pageRouteName: s = "page",
5465
5475
  disableMenusFilter: i = !1
5466
- } = t || {}, r = ei(), n = ps(), a = _r(), u = vt(!1), c = vt(!1), l = r.project, h = (f, m) => {
5476
+ } = t || {}, r = ii(), n = ms(), a = wr(), u = bt(!1), c = bt(!1), l = r.project, h = (f, m) => {
5467
5477
  u.value = !f?.mask, c.value = m?.pure ?? !!f?.pure;
5468
5478
  };
5469
- xi(() => {
5479
+ yi(() => {
5470
5480
  const { name: f, params: m, meta: x } = n;
5471
5481
  if (f === Ee) {
5472
5482
  const g = r.getPage(m.id);
5473
5483
  h(g, x);
5474
- } else if (f === He) {
5484
+ } else if (f === $e) {
5475
5485
  const g = r.getHomepage();
5476
5486
  h(g, x);
5477
5487
  } else {
@@ -5483,7 +5493,7 @@ function Mn(t) {
5483
5493
  u.value = !x.mask, c.value = !!x.pure;
5484
5494
  }
5485
5495
  });
5486
- const p = We(
5496
+ const p = Ke(
5487
5497
  e,
5488
5498
  s,
5489
5499
  l?.pages
@@ -5493,11 +5503,11 @@ function Mn(t) {
5493
5503
  logo: d?.logo,
5494
5504
  themeSwitchable: d?.themeSwitchable,
5495
5505
  title: d?.title || l?.description || l?.name || "VTJ App",
5496
- menus: i ? p : Zs(p, a),
5506
+ menus: i ? p : si(p, a),
5497
5507
  pure: c
5498
5508
  };
5499
5509
  }
5500
- function dt(t, e) {
5510
+ function mt(t, e) {
5501
5511
  const { id: s, title: i, meta: r } = t, { name: n = "page", prefix: a = "", component: u, routeMeta: c } = e;
5502
5512
  return {
5503
5513
  name: s,
@@ -5511,7 +5521,7 @@ function dt(t, e) {
5511
5521
  }
5512
5522
  };
5513
5523
  }
5514
- function kt(t) {
5524
+ function It(t) {
5515
5525
  const {
5516
5526
  name: e = "page",
5517
5527
  prefix: s = "",
@@ -5524,7 +5534,7 @@ function kt(t) {
5524
5534
  for (const l of i) {
5525
5535
  const { id: h, title: p, dir: d, layout: f, children: m, meta: x } = l;
5526
5536
  if (d) {
5527
- const g = kt({
5537
+ const g = It({
5528
5538
  name: e,
5529
5539
  prefix: s,
5530
5540
  component: r,
@@ -5535,7 +5545,7 @@ function kt(t) {
5535
5545
  });
5536
5546
  c.push(...g);
5537
5547
  } else if (f) {
5538
- const g = kt({
5548
+ const g = It({
5539
5549
  name: e,
5540
5550
  prefix: s,
5541
5551
  component: r,
@@ -5555,31 +5565,31 @@ function kt(t) {
5555
5565
  },
5556
5566
  children: g
5557
5567
  };
5558
- c.push(v), c.push(dt(l, t));
5559
- } else if (c.push(dt(l, t)), u === h) {
5560
- const g = dt(l, t);
5568
+ c.push(v), c.push(mt(l, t));
5569
+ } else if (c.push(mt(l, t)), u === h) {
5570
+ const g = mt(l, t);
5561
5571
  g.path = "", g.name = `home_${h}`, c.push(g);
5562
5572
  }
5563
5573
  }
5564
5574
  return c;
5565
5575
  }
5566
- function ln(t = {}, e) {
5576
+ function fn(t = {}, e) {
5567
5577
  const { css: s, store: i, enhance: r } = t, { window: n, app: a, library: u = {}, adapter: c, mode: l } = e, { Pinia: h } = u;
5568
- a.config.globalProperties.$libs = u, Pt(n, "global-css", s || ""), h && i && hn(i, a, h), fn(a, c, t), !c.access && t.access && pn(t.access, a, l, c), dn(a, t), r && mn(r, a, u);
5578
+ a.config.globalProperties.$libs = u, Tt(n, "global-css", s || ""), h && i && dn(i, a, h), gn(a, c, t), !c.access && t.access && mn(t.access, a, l, c), xn(a, t), r && vn(r, a, u);
5569
5579
  }
5570
- function hn(t, e, s) {
5580
+ function dn(t, e, s) {
5571
5581
  if (!e.config.globalProperties.$pinia) {
5572
5582
  const i = s.createPinia();
5573
5583
  e.use(i);
5574
5584
  }
5575
- if (O(t) && t.value) {
5585
+ if (F(t) && t.value) {
5576
5586
  const i = z(t, {}, !1, !1, !0), r = s.defineStore("$store", i(e) || {});
5577
5587
  e.config.globalProperties.$store = r();
5578
5588
  }
5579
5589
  }
5580
- function pn(t, e, s, i) {
5581
- if (O(t) && t.value) {
5582
- const r = z(t, {}, !1, !1, !0), { alert: n, request: a } = i, u = new $t({
5590
+ function mn(t, e, s, i) {
5591
+ if (F(t) && t.value) {
5592
+ const r = z(t, {}, !1, !1, !0), { alert: n, request: a } = i, u = new Ut({
5583
5593
  alert: n,
5584
5594
  storagePrefix: "__VTJ_APP_",
5585
5595
  ...r(e)
@@ -5587,37 +5597,37 @@ function pn(t, e, s, i) {
5587
5597
  u.connect({ mode: s, router: c, request: a }), e.use(u);
5588
5598
  }
5589
5599
  }
5590
- function fn(t, e, s) {
5600
+ function gn(t, e, s) {
5591
5601
  if (!e.request) return;
5592
5602
  const { axios: i, request: r, response: n } = s;
5593
- if (i && O(i) && i.value) {
5603
+ if (i && F(i) && i.value) {
5594
5604
  const a = z(i, {}, !1, !1, !0);
5595
5605
  e.request.setConfig(a(t));
5596
5606
  }
5597
- if (r && O(r) && r.value) {
5607
+ if (r && F(r) && r.value) {
5598
5608
  const a = z(r, {}, !1, !1, !0), u = e.request;
5599
5609
  u.__unReq && u.__unReq(), u.__unReq = e.request.useRequest((c) => a(c, t));
5600
5610
  }
5601
- if (n && O(n) && n.value) {
5611
+ if (n && F(n) && n.value) {
5602
5612
  const a = z(n, {}, !1, !1, !0), u = e.request;
5603
5613
  u.__unRes && u.__unRes(), u.__unRes = e.request.useResponse((c) => a(c, t));
5604
5614
  }
5605
5615
  }
5606
- function dn(t, e) {
5616
+ function xn(t, e) {
5607
5617
  const { beforeEach: s, afterEach: i } = e, r = t.config.globalProperties.$router;
5608
- if (s && O(s) && s.value) {
5618
+ if (s && F(s) && s.value) {
5609
5619
  const n = z(s, {}, !1, !1, !0);
5610
5620
  r && r.beforeEach((a, u, c) => n(a, u, c, t));
5611
5621
  }
5612
- if (i && O(i) && i.value) {
5622
+ if (i && F(i) && i.value) {
5613
5623
  const n = z(i, {}, !1, !1, !0);
5614
5624
  r && r.afterEach((a, u, c) => n(a, u, c, t));
5615
5625
  }
5616
5626
  }
5617
- function mn(t, e, s = {}) {
5618
- O(t) && t.value && z(t, {}, !1, !1, !0)(e, s);
5627
+ function vn(t, e, s = {}) {
5628
+ F(t) && t.value && z(t, {}, !1, !1, !0)(e, s);
5619
5629
  }
5620
- function gn(t, e, s) {
5630
+ function bn(t, e, s) {
5621
5631
  if (!t || !e || !s) return;
5622
5632
  const { VueI18n: i } = e;
5623
5633
  if (i) {
@@ -5636,9 +5646,9 @@ function gn(t, e, s) {
5636
5646
  t.use(c);
5637
5647
  }
5638
5648
  }
5639
- const Ut = Symbol("Provider");
5640
- var xn = /* @__PURE__ */ ((t) => (t.Production = "production", t.Development = "development", t))(xn || {});
5641
- class vn extends ni {
5649
+ const Gt = Symbol("Provider");
5650
+ var yn = /* @__PURE__ */ ((t) => (t.Production = "production", t.Development = "development", t))(yn || {});
5651
+ class _n extends ui {
5642
5652
  /**
5643
5653
  * 创建Provider实例
5644
5654
  * @param options 配置选项
@@ -5647,7 +5657,7 @@ class vn extends ni {
5647
5657
  super(), this.options = e;
5648
5658
  const {
5649
5659
  service: s,
5650
- mode: i = P.Raw,
5660
+ mode: i = T.Raw,
5651
5661
  dependencies: r,
5652
5662
  materials: n,
5653
5663
  project: a = {},
@@ -5661,7 +5671,7 @@ class vn extends ni {
5661
5671
  } = e;
5662
5672
  this.mode = i, this.modules = l, this.service = s, this.router = h, this.materialPath = p, this.nodeEnv = d, r && (this.dependencies = r), n && (this.materials = n), Object.assign(this.globals, c), Object.assign(this.adapter, u);
5663
5673
  const { access: f, request: m } = this.adapter;
5664
- f && f.connect({ mode: i, router: h, request: m }), a && i !== P.Design ? this.load(a) : this.project = a;
5674
+ f && f.connect({ mode: i, router: h, request: m }), a && i !== T.Design ? this.load(a) : this.project = a;
5665
5675
  }
5666
5676
  mode;
5667
5677
  // 当前运行模式(设计/源码/预览等)
@@ -5669,7 +5679,7 @@ class vn extends ni {
5669
5679
  // 全局变量
5670
5680
  modules = {};
5671
5681
  // 异步模块加载器
5672
- adapter = { request: gt, jsonp: ls };
5682
+ adapter = { request: xt, jsonp: fs };
5673
5683
  // 适配器接口
5674
5684
  apis = {};
5675
5685
  // API集合
@@ -5730,7 +5740,7 @@ class vn extends ni {
5730
5740
  if (this.project = i ? await i() : await this.service.init(e), !this.project)
5731
5741
  throw new Error("project is null");
5732
5742
  const { apis: r = [], meta: n = [], env: a = [] } = this.project, u = globalThis;
5733
- u && (u.CKEDITOR_VERSION = void 0), this.initEnv(a), this.mode === P.Raw ? await this.loadDependencies(u) : await this.loadAssets(u), this.initMock(u), this.apis = wr(r, n, this.adapter), zs(u), Er(r, u), e.platform !== "uniapp" && this.initRouter(), this.triggerReady();
5743
+ u && (u.CKEDITOR_VERSION = void 0), this.initEnv(a), this.mode === T.Raw ? await this.loadDependencies(u) : await this.loadAssets(u), this.initMock(u), this.apis = Ir(r, n, this.adapter), Ys(u), Ar(r, u), e.platform !== "uniapp" && this.initRouter(), this.triggerReady();
5734
5744
  }
5735
5745
  initMock(e) {
5736
5746
  const s = Ae(e);
@@ -5758,7 +5768,7 @@ class vn extends ni {
5758
5768
  materialExports: d,
5759
5769
  materialMapLibrary: f,
5760
5770
  libraryLocaleMap: m
5761
- } = Ci(
5771
+ } = ki(
5762
5772
  s,
5763
5773
  a,
5764
5774
  u === "development"
@@ -5772,31 +5782,31 @@ class vn extends ni {
5772
5782
  else if (g)
5773
5783
  e[x] = r[x] = await g();
5774
5784
  else {
5775
- const R = h[x] || [];
5776
- for (const w of R)
5777
- Ke(w) && await Ti(w, he.append(w, { v: we })), ze(w) && await Jt(he.append(w, { v: we }));
5785
+ const N = h[x] || [];
5786
+ for (const w of N)
5787
+ ze(w) && await Vi(w, he.append(w, { v: we })), Je(w) && await Xt(he.append(w, { v: we }));
5778
5788
  r[x] = e[x];
5779
5789
  }
5780
5790
  const k = m[x];
5781
5791
  if (k) {
5782
- const R = i[k];
5783
- c[k] = R ? await R() : e[k];
5792
+ const N = i[k];
5793
+ c[k] = N ? await N() : e[k];
5784
5794
  }
5785
5795
  }
5786
5796
  if (u === "development") {
5787
5797
  for (const g of p)
5788
- await Jt(he.append(g, { v: we }));
5798
+ await Xt(he.append(g, { v: we }));
5789
5799
  const x = this.materials || {};
5790
5800
  for (const g of d) {
5791
- const v = e[f[g]], k = v?.default || v, R = ai[g];
5792
- if (R)
5793
- k && R.forEach((w) => {
5801
+ const v = e[f[g]], k = v?.default || v, N = ci[g];
5802
+ if (N)
5803
+ k && N.forEach((w) => {
5794
5804
  n[w] = k[w];
5795
5805
  });
5796
5806
  else {
5797
5807
  const w = x[g] ? (await x[g]()).default : e[g];
5798
- w && k && (w.components || []).forEach((D) => {
5799
- n[D.name] = wi(D, k);
5808
+ w && k && (w.components || []).forEach((B) => {
5809
+ n[B.name] = Ii(B, k);
5800
5810
  });
5801
5811
  }
5802
5812
  }
@@ -5812,20 +5822,20 @@ class vn extends ni {
5812
5822
  } = i, l = a ? "" : "/", h = {
5813
5823
  path: `${l}${u}/:id`,
5814
5824
  name: Ee,
5815
- component: ft
5825
+ component: dt
5816
5826
  }, p = this.getHomepage(), d = {
5817
5827
  path: l,
5818
- name: He,
5819
- component: p ? ft : r.startupComponent || cn,
5828
+ name: $e,
5829
+ component: p ? dt : r.startupComponent || pn,
5820
5830
  meta: c
5821
5831
  };
5822
- if (e.hasRoute(Ee) && e.removeRoute(Ee), e.hasRoute(He) && e.removeRoute(He), i.enableStaticRoute) {
5832
+ if (e.hasRoute(Ee) && e.removeRoute(Ee), e.hasRoute($e) && e.removeRoute($e), i.enableStaticRoute) {
5823
5833
  const f = s?.pages || [];
5824
- kt({
5834
+ It({
5825
5835
  name: u,
5826
5836
  prefix: l,
5827
5837
  pages: f,
5828
- component: ft,
5838
+ component: dt,
5829
5839
  loader: this.getRenderComponent.bind(this),
5830
5840
  homepage: p?.id
5831
5841
  }).forEach((x) => {
@@ -5835,7 +5845,7 @@ class vn extends ni {
5835
5845
  a ? (e.addRoute(a, h), e.addRoute(a, d)) : (e.addRoute(h), e.addRoute(d));
5836
5846
  }
5837
5847
  setErrorHandler(e) {
5838
- e.config.errorHandler = mi((s, i, r) => {
5848
+ e.config.errorHandler = vi((s, i, r) => {
5839
5849
  const n = i?.$options.name, a = typeof s == "string" ? s : s?.message || s?.msg || "未知错误", u = `[ ${n} ] ${a} ${r}`;
5840
5850
  if (!["getComputedStyle", "ResizeObserver"].some((l) => u.includes(l))) {
5841
5851
  try {
@@ -5867,17 +5877,17 @@ class vn extends ni {
5867
5877
  install(e) {
5868
5878
  const { libraryLocaleMap: s, libraryLocales: i } = this, { libraryOptions: r = {} } = this.options, n = e.config.globalProperties.installed || {};
5869
5879
  for (const [a, u] of Object.entries(this.library))
5870
- if (!n[a] && Ri(u)) {
5880
+ if (!n[a] && Oi(u)) {
5871
5881
  const l = { locale: i[s[a]] }, h = r[a] || {}, p = { ...l, ...h };
5872
5882
  e.use(u, p), n[a] = !0;
5873
5883
  }
5874
- e.provide(Ut, this), e.config.globalProperties.$provider = this, e.config.globalProperties.$apis = this.apis, e.config.globalProperties.$request = this.adapter?.request, this.options.install && e.use(this.options.install), this.adapter.access && e.use(this.adapter.access), this.project?.platform !== "uniapp" && this.mode !== P.Design && this.initGlobals(this.project?.globals || {}, {
5884
+ e.provide(Gt, this), e.config.globalProperties.$provider = this, e.config.globalProperties.$apis = this.apis, e.config.globalProperties.$request = this.adapter?.request, this.options.install && e.use(this.options.install), this.adapter.access && e.use(this.adapter.access), this.project?.platform !== "uniapp" && this.mode !== T.Design && this.initGlobals(this.project?.globals || {}, {
5875
5885
  app: e,
5876
5886
  window: globalThis,
5877
5887
  adapter: this.adapter,
5878
5888
  library: this.library,
5879
5889
  mode: this.mode
5880
- }), this.mode !== P.Design && this.project?.i18n && this.initI18n(e, this.library, this.project.i18n), this.options.enhance && e.use(this.options.enhance, this), this.mode === P.Design && this.setErrorHandler(e), e.config.globalProperties.installed = n, this.setGlobals(e.config.globalProperties);
5890
+ }), this.mode !== T.Design && this.project?.i18n && this.initI18n(e, this.library, this.project.i18n), this.options.enhance && e.use(this.options.enhance, this), this.mode === T.Design && this.setErrorHandler(e), e.config.globalProperties.installed = n, this.setGlobals(e.config.globalProperties);
5881
5891
  }
5882
5892
  setGlobals(e = {}) {
5883
5893
  for (const [s, i] of Object.entries(e))
@@ -5918,7 +5928,7 @@ class vn extends ni {
5918
5928
  return s(e) || null;
5919
5929
  }
5920
5930
  getMenus(e = "page", s = "") {
5921
- return We(s, e, this.project?.pages || []);
5931
+ return Ke(s, e, this.project?.pages || []);
5922
5932
  }
5923
5933
  getHomepage() {
5924
5934
  const { homepage: e } = this.project || {};
@@ -5958,12 +5968,12 @@ class vn extends ni {
5958
5968
  apis: a,
5959
5969
  window: globalThis,
5960
5970
  ...s
5961
- }, c = wt({
5971
+ }, c = Et({
5962
5972
  getDsl: async (l) => await this.getDsl(l) || null,
5963
5973
  getDslByUrl: async (l) => await this.getDslByUrl(l) || null,
5964
5974
  options: u
5965
5975
  });
5966
- return Ct({
5976
+ return wt({
5967
5977
  ...u,
5968
5978
  dsl: e,
5969
5979
  loader: c
@@ -5983,7 +5993,7 @@ class vn extends ni {
5983
5993
  const i = this.getFile(e);
5984
5994
  if (!i)
5985
5995
  return xe.warn(`Can not find file: ${e}`), null;
5986
- if (s && s(i), this.mode === P.Raw) {
5996
+ if (s && s(i), this.mode === T.Raw) {
5987
5997
  const { vtjRawDir: n = ".vtj/vue" } = this.options, a = `${n}/${e}.vue`, u = this.modules[a] || this.modules[`/src/pages/${e}.vue`];
5988
5998
  return u ? (await u())?.default : this.nodeEnv === "development" && this.adapter.startupComponent || null;
5989
5999
  }
@@ -6000,7 +6010,7 @@ class vn extends ni {
6000
6010
  * @returns Vue异步组件
6001
6011
  */
6002
6012
  defineUrlSchemaComponent(e, s) {
6003
- return Qt(async () => {
6013
+ return Zt(async () => {
6004
6014
  const i = await this.getDslByUrl(e);
6005
6015
  return i ? (i.name = s || i.name, this.createDslRenderer(i).renderer) : null;
6006
6016
  });
@@ -6013,7 +6023,7 @@ class vn extends ni {
6013
6023
  * @returns Vue异步组件
6014
6024
  */
6015
6025
  definePluginComponent(e) {
6016
- return Qt(async () => await Qs(e, globalThis));
6026
+ return Zt(async () => await Zs(e, globalThis));
6017
6027
  }
6018
6028
  /**
6019
6029
  * 设置应用全局
@@ -6028,10 +6038,10 @@ class vn extends ni {
6028
6038
  },
6029
6039
  s
6030
6040
  );
6031
- ln(e, i);
6041
+ fn(e, i);
6032
6042
  }
6033
6043
  initI18n(e, s, i) {
6034
- gn(e, s, i);
6044
+ bn(e, s, i);
6035
6045
  }
6036
6046
  initEnv(e = []) {
6037
6047
  this.env = e.reduce(
@@ -6040,15 +6050,15 @@ class vn extends ni {
6040
6050
  );
6041
6051
  }
6042
6052
  }
6043
- function Dn(t) {
6044
- const e = new vn(t);
6053
+ function $n(t) {
6054
+ const e = new _n(t);
6045
6055
  return {
6046
6056
  provider: e,
6047
6057
  onReady: (i) => e.ready(i)
6048
6058
  };
6049
6059
  }
6050
- function ei(t = {}) {
6051
- const e = At(Ut, null);
6060
+ function ii(t = {}) {
6061
+ const e = Pt(Gt, null);
6052
6062
  if (!e)
6053
6063
  throw new Error("Can not find provider");
6054
6064
  if (e.nodeEnv === "development") {
@@ -6065,38 +6075,38 @@ function ei(t = {}) {
6065
6075
  return e;
6066
6076
  }
6067
6077
  function Fe() {
6068
- return At(Ut, null)?.globals ?? {};
6078
+ return Pt(Gt, null)?.globals ?? {};
6069
6079
  }
6070
- function Bn() {
6080
+ function Un() {
6071
6081
  return Fe().$store || {};
6072
6082
  }
6073
- function Hn() {
6083
+ function Gn() {
6074
6084
  return Fe().$pinia || {};
6075
6085
  }
6076
- function $n() {
6086
+ function qn() {
6077
6087
  return Fe().$request;
6078
6088
  }
6079
- function Un() {
6089
+ function Wn() {
6080
6090
  return Fe().$libs || {};
6081
6091
  }
6082
- function Gn() {
6092
+ function Kn() {
6083
6093
  return Fe().$apis || {};
6084
6094
  }
6085
- async function qn(t, e = "") {
6086
- const { name: s, urls: i = [] } = t || {}, r = i.map((u) => e + u), { css: n, js: a } = Ei(r);
6087
- if (n.length && ms(n), a.length)
6088
- return await gs(a, s).catch(
6095
+ async function zn(t, e = "") {
6096
+ const { name: s, urls: i = [] } = t || {}, r = i.map((u) => e + u), { css: n, js: a } = Ai(r);
6097
+ if (n.length && vs(n), a.length)
6098
+ return await bs(a, s).catch(
6089
6099
  () => {
6090
6100
  }
6091
6101
  );
6092
6102
  }
6093
- const ti = {
6103
+ const ri = {
6094
6104
  type: "json",
6095
6105
  validSuccess: !0,
6096
6106
  originResponse: !1,
6097
6107
  failMessage: !0,
6098
6108
  validate: (t) => t.data?.code === 0
6099
- }, bn = (t, e = "/__vtj__/api/:type.json") => (s, i, r) => t.send({
6109
+ }, Sn = (t, e = "/__vtj__/api/:type.json") => (s, i, r) => t.send({
6100
6110
  url: e,
6101
6111
  method: "post",
6102
6112
  params: { type: s },
@@ -6105,8 +6115,8 @@ const ti = {
6105
6115
  type: s,
6106
6116
  data: i
6107
6117
  },
6108
- settings: ti
6109
- }), yn = (t, e = "/__vtj__/api/uploader.json") => async (s, i) => await t.send({
6118
+ settings: ri
6119
+ }), Cn = (t, e = "/__vtj__/api/uploader.json") => async (s, i) => await t.send({
6110
6120
  url: e,
6111
6121
  method: "post",
6112
6122
  data: {
@@ -6114,12 +6124,12 @@ const ti = {
6114
6124
  projectId: i
6115
6125
  },
6116
6126
  settings: {
6117
- ...ti,
6127
+ ...ri,
6118
6128
  type: "data"
6119
6129
  }
6120
6130
  }).then((r) => r && r[0] ? r[0] : null).catch(() => null);
6121
- function Wn(t) {
6122
- return cs({
6131
+ function Jn(t) {
6132
+ return ps({
6123
6133
  settings: {
6124
6134
  type: "json",
6125
6135
  validSuccess: !0,
@@ -6132,9 +6142,9 @@ function Wn(t) {
6132
6142
  }
6133
6143
  });
6134
6144
  }
6135
- class Gt {
6136
- constructor(e = gt) {
6137
- this.req = e, this.api = bn(e), this.uploader = yn(e);
6145
+ class qt {
6146
+ constructor(e = xt) {
6147
+ this.req = e, this.api = Sn(e), this.uploader = Cn(e);
6138
6148
  }
6139
6149
  api;
6140
6150
  pluginCaches = {};
@@ -6218,10 +6228,10 @@ class Gt {
6218
6228
  return await this.api("clearStaticFiles", e).catch(() => "");
6219
6229
  }
6220
6230
  async getPluginMaterial(e) {
6221
- const { urls: s = [] } = e, i = s.filter((n) => _i(n))[0];
6231
+ const { urls: s = [] } = e, i = s.filter((n) => wi(n))[0];
6222
6232
  if (!i) return null;
6223
6233
  const r = this.pluginCaches[i];
6224
- return r || (this.pluginCaches[i] = gt.send({
6234
+ return r || (this.pluginCaches[i] = xt.send({
6225
6235
  url: i,
6226
6236
  method: "get",
6227
6237
  settings: {
@@ -6234,77 +6244,77 @@ class Gt {
6234
6244
  return console.log("BaseService.genSource", e), "";
6235
6245
  }
6236
6246
  }
6237
- const L = new gi({
6247
+ const j = new bi({
6238
6248
  type: "local",
6239
6249
  expired: 0,
6240
6250
  prefix: "__VTJ_"
6241
6251
  });
6242
- class Kn extends Gt {
6252
+ class Qn extends qt {
6243
6253
  init(e) {
6244
- const s = new $e(e), i = L.get(`project_${s.id}`), r = Object.assign(s.toDsl(), i || {});
6245
- return L.save(`project_${s.id}`, r), Promise.resolve(r);
6254
+ const s = new Ue(e), i = j.get(`project_${s.id}`), r = Object.assign(s.toDsl(), i || {});
6255
+ return j.save(`project_${s.id}`, r), Promise.resolve(r);
6246
6256
  }
6247
6257
  saveProject(e) {
6248
- const s = new $e(e);
6249
- return L.save(`project_${s.id}`, s.toDsl()), Promise.resolve(!0);
6258
+ const s = new Ue(e);
6259
+ return j.save(`project_${s.id}`, s.toDsl()), Promise.resolve(!0);
6250
6260
  }
6251
6261
  saveMaterials(e, s) {
6252
- return L.save(`materials_${e.id}`, It(s)), Promise.resolve(!0);
6262
+ return j.save(`materials_${e.id}`, At(s)), Promise.resolve(!0);
6253
6263
  }
6254
6264
  saveFile(e) {
6255
- return L.save(`file_${e.id}`, e), Promise.resolve(!0);
6265
+ return j.save(`file_${e.id}`, e), Promise.resolve(!0);
6256
6266
  }
6257
6267
  getFile(e) {
6258
- const s = L.get(`file_${e}`);
6268
+ const s = j.get(`file_${e}`);
6259
6269
  return s ? Promise.resolve(s) : Promise.reject(null);
6260
6270
  }
6261
6271
  removeFile(e) {
6262
- return L.remove(`file_${e}`), Promise.resolve(!0);
6272
+ return j.remove(`file_${e}`), Promise.resolve(!0);
6263
6273
  }
6264
6274
  saveHistory(e) {
6265
- return L.save(`history_${e.id}`, e), Promise.resolve(!0);
6275
+ return j.save(`history_${e.id}`, e), Promise.resolve(!0);
6266
6276
  }
6267
6277
  removeHistory(e) {
6268
- const s = L.get(`history_${e}`);
6278
+ const s = j.get(`history_${e}`);
6269
6279
  if (s) {
6270
6280
  const r = (s.items || []).map((n) => n.id);
6271
- this.removeHistoryItem(e, r), L.remove(`history_${e}`);
6281
+ this.removeHistoryItem(e, r), j.remove(`history_${e}`);
6272
6282
  }
6273
6283
  return Promise.resolve(!0);
6274
6284
  }
6275
6285
  getHistory(e) {
6276
- const s = L.get(`history_${e}`), i = new us(s || { id: e });
6286
+ const s = j.get(`history_${e}`), i = new hs(s || { id: e });
6277
6287
  return Promise.resolve(i.toDsl());
6278
6288
  }
6279
6289
  getHistoryItem(e, s) {
6280
- const i = L.get(`history_${e}_${s}`);
6290
+ const i = j.get(`history_${e}_${s}`);
6281
6291
  return Promise.resolve(i);
6282
6292
  }
6283
6293
  saveHistoryItem(e, s) {
6284
- return L.save(`history_${e}_${s.id}`, s), Promise.resolve(!0);
6294
+ return j.save(`history_${e}_${s.id}`, s), Promise.resolve(!0);
6285
6295
  }
6286
6296
  removeHistoryItem(e, s) {
6287
6297
  return s.forEach((i) => {
6288
- L.remove(`history_${e}_${i}`);
6298
+ j.remove(`history_${e}_${i}`);
6289
6299
  }), Promise.resolve(!0);
6290
6300
  }
6291
6301
  }
6292
- class _n extends Gt {
6302
+ class wn extends qt {
6293
6303
  projects = {};
6294
6304
  materials = {};
6295
6305
  files = {};
6296
6306
  histories = {};
6297
6307
  historyItems = {};
6298
6308
  init(e) {
6299
- const s = new $e(e), i = this.projects[s.id] || {}, r = Object.assign(s.toDsl(), i);
6309
+ const s = new Ue(e), i = this.projects[s.id] || {}, r = Object.assign(s.toDsl(), i);
6300
6310
  return this.projects[r.id] = r, Promise.resolve(r);
6301
6311
  }
6302
6312
  saveProject(e) {
6303
- const s = new $e(e);
6313
+ const s = new Ue(e);
6304
6314
  return this.projects[s.id] = s.toDsl(), Promise.resolve(!0);
6305
6315
  }
6306
6316
  saveMaterials(e, s) {
6307
- return e.id && (this.materials[e.id] = It(s)), Promise.resolve(!0);
6317
+ return e.id && (this.materials[e.id] = At(s)), Promise.resolve(!0);
6308
6318
  }
6309
6319
  saveFile(e) {
6310
6320
  return this.files[e.id] = e, Promise.resolve(!0);
@@ -6328,7 +6338,7 @@ class _n extends Gt {
6328
6338
  return Promise.resolve(!0);
6329
6339
  }
6330
6340
  getHistory(e) {
6331
- const s = this.histories[e], i = new us(s || { id: e });
6341
+ const s = this.histories[e], i = new hs(s || { id: e });
6332
6342
  return Promise.resolve(i);
6333
6343
  }
6334
6344
  getHistoryItem(e, s) {
@@ -6346,11 +6356,11 @@ class _n extends Gt {
6346
6356
  }), Promise.resolve(!0);
6347
6357
  }
6348
6358
  }
6349
- let Be = null;
6350
- function zn() {
6351
- return Be || (Be = new _n(), Be);
6359
+ let He = null;
6360
+ function Yn() {
6361
+ return He || (He = new wn(), He);
6352
6362
  }
6353
- class Jn extends Gt {
6363
+ class Xn extends qt {
6354
6364
  getFileCaches = {};
6355
6365
  async getExtension() {
6356
6366
  return await this.api("getExtension", {}).catch(() => {
@@ -6367,7 +6377,7 @@ class Jn extends Gt {
6367
6377
  async saveMaterials(e, s) {
6368
6378
  return !!await this.api("saveMaterials", {
6369
6379
  project: e,
6370
- materials: It(s)
6380
+ materials: At(s)
6371
6381
  }).catch(() => !1);
6372
6382
  }
6373
6383
  async saveFile(e) {
@@ -6408,94 +6418,94 @@ class Jn extends Gt {
6408
6418
  }
6409
6419
  }
6410
6420
  export {
6411
- Pn as ACCESS,
6412
- Ks as ACCESS_KEY,
6413
- $t as Access,
6414
- yi as BUILD_IN_TAGS,
6415
- vi as BUILT_IN_DIRECTIVES,
6416
- Gt as BaseService,
6417
- In as COMPOSITION_HOOKS_LIST,
6418
- Yt as CONTEXT_HOST,
6419
- os as Context,
6420
- P as ContextMode,
6421
- bi as DATA_TYPES,
6422
- He as HOMEPAGE_ROUTE_NAME,
6423
- fs as HTML_TAGS,
6424
- On as JSCodeToString,
6425
- kn as LIFE_CYCLES_LIST,
6426
- Jn as LocalService,
6427
- _n as MemoryService,
6428
- xn as NodeEnv,
6421
+ Nn as ACCESS,
6422
+ Qs as ACCESS_KEY,
6423
+ Ut as Access,
6424
+ Ci as BUILD_IN_TAGS,
6425
+ _i as BUILT_IN_DIRECTIVES,
6426
+ qt as BaseService,
6427
+ Tn as COMPOSITION_HOOKS_LIST,
6428
+ es as CONTEXT_HOST,
6429
+ ls as Context,
6430
+ T as ContextMode,
6431
+ Si as DATA_TYPES,
6432
+ $e as HOMEPAGE_ROUTE_NAME,
6433
+ gs as HTML_TAGS,
6434
+ jn as JSCodeToString,
6435
+ Pn as LIFE_CYCLES_LIST,
6436
+ Xn as LocalService,
6437
+ wn as MemoryService,
6438
+ yn as NodeEnv,
6429
6439
  Ee as PAGE_ROUTE_NAME,
6430
- vn as Provider,
6431
- An as REMOTE,
6432
- Kn as StorageService,
6440
+ _n as Provider,
6441
+ Rn as REMOTE,
6442
+ Qn as StorageService,
6433
6443
  we as VTJ_RENDERER_VERSION,
6434
- Nn as adoptStylesToInline,
6435
- Pt as adoptedStyleSheets,
6436
- jn as clearLoaderCache,
6437
- ki as compileScopedCSS,
6438
- Pi as convertCssRpx,
6439
- Ln as createAccess,
6440
- Fn as createAdapter,
6441
- Tn as createAssetScripts,
6442
- Rn as createAssetsCss,
6443
- Or as createDataSources,
6444
- wt as createLoader,
6445
- zn as createMemoryService,
6446
- We as createMenus,
6447
- Cr as createMetaApi,
6448
- kr as createMock,
6449
- Dn as createProvider,
6450
- Ct as createRenderer,
6451
- Sr as createSchemaApi,
6452
- wr as createSchemaApis,
6453
- Wn as createServiceRequest,
6454
- Ur as defaultLoader,
6455
- Me as fillBasePath,
6444
+ Fn as adoptStylesToInline,
6445
+ Tt as adoptedStyleSheets,
6446
+ Bn as clearLoaderCache,
6447
+ Pi as compileScopedCSS,
6448
+ Ni as convertCssRpx,
6449
+ Dn as createAccess,
6450
+ Mn as createAdapter,
6451
+ Vn as createAssetScripts,
6452
+ On as createAssetsCss,
6453
+ jr as createDataSources,
6454
+ Et as createLoader,
6455
+ Yn as createMemoryService,
6456
+ Ke as createMenus,
6457
+ kr as createMetaApi,
6458
+ Pr as createMock,
6459
+ $n as createProvider,
6460
+ wt as createRenderer,
6461
+ Er as createSchemaApi,
6462
+ Ir as createSchemaApis,
6463
+ Jn as createServiceRequest,
6464
+ Wr as defaultLoader,
6465
+ De as fillBasePath,
6456
6466
  Ae as getMock,
6457
- Xs as getModifiers,
6458
- Qs as getPlugin,
6459
- wi as getRawComponent,
6460
- Oi as isArrowFunction,
6461
- Li as isAssignment‌,
6462
- Ni as isBuiltInTag,
6463
- Ke as isCSSUrl,
6464
- Fi as isCallFunction,
6465
- br as isJSCode,
6466
- T as isJSExpression,
6467
- O as isJSFunction,
6468
- _i as isJSON,
6469
- ze as isJSUrl,
6470
- Vi as isNativeTag,
6471
- Ri as isVuePlugin,
6472
- Ti as loadCss,
6473
- ms as loadCssUrl,
6474
- qn as loadEnhance,
6475
- gs as loadScriptUrl,
6476
- Zs as menusFilter,
6477
- Ir as mockApi,
6478
- Er as mockApis,
6479
- zs as mockCleanup,
6467
+ ti as getModifiers,
6468
+ Zs as getPlugin,
6469
+ Ii as getRawComponent,
6470
+ ji as isArrowFunction,
6471
+ Di as isAssignment‌,
6472
+ Fi as isBuiltInTag,
6473
+ ze as isCSSUrl,
6474
+ Mi as isCallFunction,
6475
+ Sr as isJSCode,
6476
+ R as isJSExpression,
6477
+ F as isJSFunction,
6478
+ wi as isJSON,
6479
+ Je as isJSUrl,
6480
+ Li as isNativeTag,
6481
+ Oi as isVuePlugin,
6482
+ Vi as loadCss,
6483
+ vs as loadCssUrl,
6484
+ zn as loadEnhance,
6485
+ bs as loadScriptUrl,
6486
+ si as menusFilter,
6487
+ Tr as mockApi,
6488
+ Ar as mockApis,
6489
+ Ys as mockCleanup,
6480
6490
  Se as nodeCache,
6481
6491
  ye as nodeRender,
6482
- Ci as parseDeps,
6492
+ ki as parseDeps,
6483
6493
  Ne as parseExpression,
6484
6494
  z as parseFunction,
6485
- Ei as parseUrls,
6486
- Ut as providerKey,
6487
- Si as removeProdFlag,
6488
- Ai as rpxToPx,
6489
- Vn as setupPageSetting,
6490
- ds as toString,
6491
- qe as triggerError,
6492
- _r as useAccess,
6493
- Gn as useApis,
6495
+ Ai as parseUrls,
6496
+ Gt as providerKey,
6497
+ Ei as removeProdFlag,
6498
+ Ri as rpxToPx,
6499
+ Ln as setupPageSetting,
6500
+ xs as toString,
6501
+ We as triggerError,
6502
+ wr as useAccess,
6503
+ Kn as useApis,
6494
6504
  Fe as useGlobals,
6495
- Un as useLibs,
6496
- Mn as useMask,
6497
- Hn as usePinia,
6498
- ei as useProvider,
6499
- $n as useRequest,
6500
- Bn as useStore
6505
+ Wn as useLibs,
6506
+ Hn as useMask,
6507
+ Gn as usePinia,
6508
+ ii as useProvider,
6509
+ qn as useRequest,
6510
+ Un as useStore
6501
6511
  };