@vtj/renderer 0.18.22 → 0.18.24

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 ui, BUILT_IN_COMPONENTS as ci, ProjectModel as qe, HistoryModel as fs } from "@vtj/core";
2
- import { url as pe, isUrl as xt, dedupArray as li, isFunction as K, isString as te, logger as ve, storage as ot, cookie as ut, toArray as Yt, unRSA as Xt, delay as Pe, createRequest as ds, jsonp as ms, merge as hi, pathToRegexp as pi, pathToRegexpMatch as fi, formDataToJson as di, isEqual as ct, Queue as mi, cloneDeep as Zt, camelCase as Z, upperFirstCamelCase as gi, pick as xi, request as vt, loadScript as es, debounce as vi, Storage as bi, mapToObject as Pt } from "@vtj/utils";
1
+ import { Base as ci, BUILT_IN_COMPONENTS as li, ProjectModel as qe, HistoryModel as ds } from "@vtj/core";
2
+ import { url as pe, isUrl as vt, dedupArray as hi, isFunction as K, isString as te, logger as xe, storage as ot, cookie as ut, toArray as Xt, unRSA as Zt, delay as Pe, createRequest as ms, jsonp as gs, merge as pi, pathToRegexp as fi, pathToRegexpMatch as di, formDataToJson as mi, isEqual as ct, Queue as gi, cloneDeep as es, camelCase as Z, upperFirstCamelCase as vi, pick as xi, request as xt, loadScript as ts, debounce as bi, Storage as yi, mapToObject as Tt } from "@vtj/utils";
3
3
  import * as be from "vue";
4
- import { inject as Tt, defineComponent as gs, h as bt, ref as yt, watchEffect as yi, defineAsyncComponent as ts } from "vue";
4
+ import { inject as Nt, defineComponent as vs, h as bt, ref as yt, watchEffect as _i, defineAsyncComponent as ss } from "vue";
5
5
  import { useRoute as xs } 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.22
10
+ * @version 0.18.24
11
11
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
12
12
  */
13
- const ke = "0.18.22";
13
+ const ke = "0.18.24";
14
14
  var T = /* @__PURE__ */ ((t) => (t.Runtime = "Runtime", t.Design = "Design", t.Raw = "Raw", t.VNode = "VNode", t))(T || {});
15
- const ss = [
15
+ const _t = [
16
16
  "$el",
17
17
  "$emit",
18
18
  "$nextTick",
@@ -24,7 +24,7 @@ const ss = [
24
24
  "$props",
25
25
  "$options",
26
26
  "$forceUpdate"
27
- ], Pn = [
27
+ ], Tn = [
28
28
  "beforeCreate",
29
29
  "created",
30
30
  "beforeMount",
@@ -38,7 +38,7 @@ const ss = [
38
38
  "renderTriggered",
39
39
  "activated",
40
40
  "deactivated"
41
- ], Tn = [
41
+ ], Nn = [
42
42
  "onBeforeMount",
43
43
  "onMounted",
44
44
  "onBeforeUpdate",
@@ -50,7 +50,7 @@ const ss = [
50
50
  "onRenderTriggered",
51
51
  "onActivated",
52
52
  "onDeactivated"
53
- ], _i = [
53
+ ], Si = [
54
54
  "vIf",
55
55
  "vElseIf",
56
56
  "vElse",
@@ -59,7 +59,7 @@ const ss = [
59
59
  "vFor",
60
60
  "vBind",
61
61
  "vHtml"
62
- ], Si = {
62
+ ], wi = {
63
63
  String,
64
64
  Number,
65
65
  Boolean,
@@ -67,9 +67,9 @@ const ss = [
67
67
  Object,
68
68
  Function,
69
69
  Date
70
- }, Ie = "VtjPage", Ge = "VtjHomepage", vs = "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
+ }, Ie = "VtjPage", Ge = "VtjHomepage", bs = "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
- ), Ci = "component,slot".split(","), Nn = [
72
+ ), Ci = "component,slot".split(","), Rn = [
73
73
  "h",
74
74
  "t",
75
75
  "t",
@@ -89,7 +89,7 @@ const ss = [
89
89
  "p",
90
90
  "r",
91
91
  "o"
92
- ].join(""), Rn = {
92
+ ].join(""), Vn = {
93
93
  auth: [
94
94
  "h",
95
95
  "t",
@@ -149,8 +149,8 @@ const ss = [
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 He(t, e) {
153
- return t.map((s) => xt(s) || s.startsWith("/") ? s : `${e}${s}`);
152
+ function $e(t, e) {
153
+ return t.map((s) => vt(s) || s.startsWith("/") ? s : `${e}${s}`);
154
154
  }
155
155
  function Qe(t) {
156
156
  return /\.css$/.test(t);
@@ -158,53 +158,53 @@ function Qe(t) {
158
158
  function Ye(t) {
159
159
  return /\.js$/.test(t);
160
160
  }
161
- function wi(t) {
161
+ function Ei(t) {
162
162
  return /\.json$/.test(t);
163
163
  }
164
- function Vn(t) {
164
+ function On(t) {
165
165
  return t.map(
166
166
  (e) => `<script src="${pe.append(e, { v: ke })}"><\/script>`
167
167
  ).join("");
168
168
  }
169
- function On(t = []) {
169
+ function Fn(t = []) {
170
170
  return t.map(
171
171
  (e) => `<link rel="stylesheet" href="${pe.append(e, { v: ke })}" />`
172
172
  ).join("");
173
173
  }
174
- function Ei(t, e = !1) {
174
+ function ki(t, e = !1) {
175
175
  return e && t.endsWith(".prod.js") ? t.replace(".prod.js", ".js") : t;
176
176
  }
177
- function ki(t, e, s = !1) {
177
+ function Ii(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
- ({ urls: d, assetsUrl: f, library: m, assetsLibrary: v, localeLibrary: g }) => {
181
- d?.forEach((x) => {
182
- Ye(x) && r.push(Ei(x, s)), Qe(x) && n.push(x);
183
- }), m && (u.push(m), c[m] = He(d || [], e), g && (l[m] = g)), f && a.push(f), v && h.push(v), m && v && (p[v] = m);
180
+ ({ urls: d, assetsUrl: f, library: m, assetsLibrary: x, localeLibrary: g }) => {
181
+ d?.forEach((v) => {
182
+ Ye(v) && r.push(ki(v, s)), Qe(v) && n.push(v);
183
+ }), m && (u.push(m), c[m] = $e(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: He(r, e),
187
- css: He(n, e),
188
- materials: He(a, e),
186
+ scripts: $e(r, e),
187
+ css: $e(n, e),
188
+ materials: $e(a, e),
189
189
  libraryExports: u,
190
- materialExports: li(h),
190
+ materialExports: hi(h),
191
191
  materialMapLibrary: p,
192
192
  libraryMap: c,
193
193
  libraryLocaleMap: l
194
194
  };
195
195
  }
196
- function Ii(t, e) {
196
+ function Ai(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 Ai(t = []) {
200
+ function Pi(t = []) {
201
201
  const e = t.filter((i) => Qe(i)), s = t.filter((i) => Ye(i));
202
202
  return {
203
203
  css: e,
204
204
  js: s
205
205
  };
206
206
  }
207
- function Pi(t, e) {
207
+ function Ti(t, e) {
208
208
  const s = (l) => {
209
209
  const h = [];
210
210
  let p = 0;
@@ -214,28 +214,28 @@ function Pi(t, e) {
214
214
  continue;
215
215
  }
216
216
  if (l.substring(p, p + 2) === "/*") {
217
- const x = l.indexOf("*/", p + 2);
218
- if (x !== -1) {
219
- p = x + 2;
217
+ const v = l.indexOf("*/", p + 2);
218
+ if (v !== -1) {
219
+ p = v + 2;
220
220
  continue;
221
221
  }
222
222
  }
223
223
  if (l[p] === "@") {
224
- const x = p;
224
+ const v = p;
225
225
  for (; p < l.length && l[p] !== "{" && l[p] !== ";"; )
226
226
  p++;
227
- const k = l.substring(x, p).trim(), N = 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",
231
- content: l.substring(x, p + 1)
231
+ content: l.substring(v, p + 1)
232
232
  }), p++;
233
233
  else if (l[p] === "{") {
234
- const C = p + 1;
234
+ const w = p + 1;
235
235
  let D = 1;
236
236
  for (p++; p < l.length && D > 0; )
237
237
  l[p] === "{" ? D++ : l[p] === "}" && D--, p++;
238
- const de = l.substring(x, p), Se = l.substring(C, p - 1);
238
+ const de = l.substring(v, p), Se = l.substring(w, p - 1);
239
239
  h.push({
240
240
  type: N ? "keyframes" : "at-rule",
241
241
  rule: k,
@@ -255,9 +255,9 @@ function Pi(t, e) {
255
255
  continue;
256
256
  }
257
257
  const m = p + 1;
258
- let v = 1;
259
- for (p++; p < l.length && v > 0; )
260
- l[p] === "{" ? v++ : l[p] === "}" && v--, p++;
258
+ let x = 1;
259
+ for (p++; p < l.length && x > 0; )
260
+ l[p] === "{" ? x++ : l[p] === "}" && x--, p++;
261
261
  const g = l.substring(m, p - 1);
262
262
  h.push({
263
263
  type: "rule",
@@ -318,21 +318,21 @@ function Pi(t, e) {
318
318
  });
319
319
  }
320
320
  }
321
- const Ti = 750;
322
- function Ni(t, e, s) {
321
+ const Ni = 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 || Ti;
325
+ const r = s || Ni;
326
326
  return e * i / r;
327
327
  }
328
- function Ri(t, e) {
328
+ function Vi(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 = `${Ni(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 Ri(t, e) {
341
341
  }
342
342
  return n;
343
343
  }
344
- function bs(t) {
344
+ function ys(t) {
345
345
  return te(t) ? t : JSON.stringify(t);
346
346
  }
347
- function Nt(t, e, s, i = !1) {
348
- const r = t.CSSStyleSheet, n = i ? `data-v-${e}` : e, a = t.__uniConfig ? Ri(t, s) : s, u = i ? Pi(a, n) : a, c = !!t.__uniConfig;
347
+ function Rt(t, e, s, i = !1) {
348
+ const r = t.CSSStyleSheet, n = i ? `data-v-${e}` : e, a = t.__uniConfig ? Vi(t, s) : s, u = i ? Ti(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 Nt(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 Fn(t) {
362
+ function Ln(t) {
363
363
  const e = t.adoptedStyleSheets || [];
364
364
  let s = "";
365
365
  if (e.forEach((i) => {
@@ -375,11 +375,11 @@ function Fn(t) {
375
375
  i.textContent = s, t.head.appendChild(i);
376
376
  }
377
377
  }
378
- async function Vi(t, e) {
378
+ async function Oi(t, e) {
379
379
  const s = await globalThis.fetch(e).then((i) => i.text()).catch(() => "");
380
- s && Nt(globalThis, t, s);
380
+ s && Rt(globalThis, t, s);
381
381
  }
382
- function ys(t, e = globalThis) {
382
+ function _s(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 ys(t, e = globalThis) {
387
387
  a.rel = "stylesheet", a.id = r, a.href = r, i.appendChild(a);
388
388
  }
389
389
  }
390
- async function _s(t, e, s = globalThis) {
390
+ async function Ss(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 _s(t, e, s = globalThis) {
401
401
  }
402
402
  });
403
403
  }
404
- function Oi(t) {
404
+ function Fi(t) {
405
405
  return K(t) && Object.getOwnPropertyNames(t.prototype || {}).length === 0 || K(t?.install);
406
406
  }
407
- function Fi(t) {
407
+ function Li(t) {
408
408
  return Ci.includes(t);
409
409
  }
410
- function Li(t) {
411
- return vs.includes(t);
410
+ function ji(t) {
411
+ return bs.includes(t);
412
412
  }
413
413
  function Te(t = globalThis) {
414
414
  const e = globalThis?.Mock;
@@ -417,18 +417,18 @@ function Te(t = globalThis) {
417
417
  if (s && globalThis)
418
418
  return globalThis.Mock = s, s;
419
419
  }
420
- function Ln(t, e, s) {
420
+ function jn(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 ji(t) {
425
+ function Mi(t) {
426
426
  return /^\([\s\S]*\)/.test(t.trim());
427
427
  }
428
- function Mi(t) {
428
+ function Di(t) {
429
429
  return /\w+\([\s\S]*\)$/.test(t.trim());
430
430
  }
431
- function Di(t) {
431
+ function Bi(t) {
432
432
  return t.includes("=");
433
433
  }
434
434
  var lt = {
@@ -437,14 +437,14 @@ var lt = {
437
437
  6: "enum",
438
438
  strict: "implements interface let package private protected public static yield",
439
439
  strictBind: "eval arguments"
440
- }, ht = "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 = {
440
+ }, ht = "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", $i = {
441
441
  5: ht,
442
442
  "5module": ht + " export import",
443
443
  6: ht + " const class extends export import super"
444
- }, Hi = /^in(stanceof)?$/, Rt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Ss = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_", $i = new RegExp("[" + Rt + "]"), Ui = new RegExp("[" + Rt + Ss + "]");
445
- Rt = Ss = null;
446
- var Cs = [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 _t(t, e) {
444
+ }, Hi = /^in(stanceof)?$/, Vt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ws = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_", Ui = new RegExp("[" + Vt + "]"), Gi = new RegExp("[" + Vt + ws + "]");
445
+ Vt = ws = null;
446
+ var Cs = [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], qi = [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 St(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,20 +453,20 @@ function _t(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 && $i.test(String.fromCharCode(t)) : e === !1 ? !1 : _t(t, Cs);
456
+ return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && Ui.test(String.fromCharCode(t)) : e === !1 ? !1 : St(t, Cs);
457
457
  }
458
458
  function ye(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 && Ui.test(String.fromCharCode(t)) : e === !1 ? !1 : _t(t, Cs) || _t(t, Gi);
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 && Gi.test(String.fromCharCode(t)) : e === !1 ? !1 : St(t, Cs) || St(t, qi);
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 H(t, e) {
464
+ function $(t, e) {
465
465
  return new E(t, { beforeExpr: !0, binop: e });
466
466
  }
467
- var $ = { beforeExpr: !0 }, B = { startsExpr: !0 }, Vt = {};
468
- function w(t, e) {
469
- return e === void 0 && (e = {}), e.keyword = t, Vt[t] = new E(t, e);
467
+ var H = { beforeExpr: !0 }, B = { startsExpr: !0 }, Ot = {};
468
+ function C(t, e) {
469
+ return e === void 0 && (e = {}), e.keyword = t, Ot[t] = new E(t, e);
470
470
  }
471
471
  var o = {
472
472
  num: new E("num", B),
@@ -481,16 +481,16 @@ 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(",", $),
485
- semi: new E(";", $),
486
- colon: new E(":", $),
484
+ comma: new E(",", H),
485
+ semi: new E(";", H),
486
+ colon: new E(":", H),
487
487
  dot: new E("."),
488
- question: new E("?", $),
488
+ question: new E("?", H),
489
489
  questionDot: new E("?."),
490
- arrow: new E("=>", $),
490
+ arrow: new E("=>", H),
491
491
  template: new E("template"),
492
492
  invalidTemplate: new E("invalidTemplate"),
493
- ellipsis: new E("...", $),
493
+ ellipsis: new E("...", H),
494
494
  backQuote: new E("`", B),
495
495
  dollarBraceL: new E("${", { beforeExpr: !0, startsExpr: !0 }),
496
496
  // Operators. These carry several kinds of properties to help the
@@ -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: 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),
513
+ logicalOR: $("||", 1),
514
+ logicalAND: $("&&", 2),
515
+ bitwiseOR: $("|", 3),
516
+ bitwiseXOR: $("^", 4),
517
+ bitwiseAND: $("&", 5),
518
+ equality: $("==/!=/===/!==", 6),
519
+ relational: $("</>/<=/>=", 7),
520
+ bitShift: $("<</>>/>>>", 8),
521
521
  plusMin: new E("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
522
- modulo: H("%", 10),
523
- star: H("*", 10),
524
- slash: H("/", 10),
522
+ modulo: $("%", 10),
523
+ star: $("*", 10),
524
+ slash: $("/", 10),
525
525
  starstar: new E("**", { beforeExpr: !0 }),
526
- coalesce: H("??", 1),
526
+ coalesce: $("??", 1),
527
527
  // Keyword token types.
528
- _break: w("break"),
529
- _case: w("case", $),
530
- _catch: w("catch"),
531
- _continue: w("continue"),
532
- _debugger: w("debugger"),
533
- _default: w("default", $),
534
- _do: w("do", { isLoop: !0, beforeExpr: !0 }),
535
- _else: w("else", $),
536
- _finally: w("finally"),
537
- _for: w("for", { isLoop: !0 }),
538
- _function: w("function", B),
539
- _if: w("if"),
540
- _return: w("return", $),
541
- _switch: w("switch"),
542
- _throw: w("throw", $),
543
- _try: w("try"),
544
- _var: w("var"),
545
- _const: w("const"),
546
- _while: w("while", { isLoop: !0 }),
547
- _with: w("with"),
548
- _new: w("new", { beforeExpr: !0, startsExpr: !0 }),
549
- _this: w("this", B),
550
- _super: w("super", B),
551
- _class: w("class", B),
552
- _extends: w("extends", $),
553
- _export: w("export"),
554
- _import: w("import", B),
555
- _null: w("null", B),
556
- _true: w("true", B),
557
- _false: w("false", B),
558
- _in: w("in", { beforeExpr: !0, binop: 7 }),
559
- _instanceof: w("instanceof", { beforeExpr: !0, binop: 7 }),
560
- _typeof: w("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
561
- _void: w("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
562
- _delete: w("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
528
+ _break: C("break"),
529
+ _case: C("case", H),
530
+ _catch: C("catch"),
531
+ _continue: C("continue"),
532
+ _debugger: C("debugger"),
533
+ _default: C("default", H),
534
+ _do: C("do", { isLoop: !0, beforeExpr: !0 }),
535
+ _else: C("else", H),
536
+ _finally: C("finally"),
537
+ _for: C("for", { isLoop: !0 }),
538
+ _function: C("function", B),
539
+ _if: C("if"),
540
+ _return: C("return", H),
541
+ _switch: C("switch"),
542
+ _throw: C("throw", H),
543
+ _try: C("try"),
544
+ _var: C("var"),
545
+ _const: C("const"),
546
+ _while: C("while", { isLoop: !0 }),
547
+ _with: C("with"),
548
+ _new: C("new", { beforeExpr: !0, startsExpr: !0 }),
549
+ _this: C("this", B),
550
+ _super: C("super", B),
551
+ _class: C("class", B),
552
+ _extends: C("extends", H),
553
+ _export: C("export"),
554
+ _import: C("import", B),
555
+ _null: C("null", B),
556
+ _true: C("true", B),
557
+ _false: C("false", B),
558
+ _in: C("in", { beforeExpr: !0, binop: 7 }),
559
+ _instanceof: C("instanceof", { beforeExpr: !0, binop: 7 }),
560
+ _typeof: C("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
561
+ _void: C("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
562
+ _delete: C("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
563
563
  }, G = /\r\n?|\n|\u2028|\u2029/, Ne = new RegExp(G.source, "g");
564
564
  function Fe(t, e) {
565
565
  return t === 10 || t === 13 || !e && (t === 8232 || t === 8233);
566
566
  }
567
- var ws = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, U = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Es = Object.prototype, qi = Es.hasOwnProperty, Wi = Es.toString;
567
+ var Es = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, U = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ks = Object.prototype, Wi = ks.hasOwnProperty, Ki = ks.toString;
568
568
  function Xe(t, e) {
569
- return qi.call(t, e);
569
+ return Wi.call(t, e);
570
570
  }
571
571
  var is = Array.isArray || (function(t) {
572
- return Wi.call(t) === "[object Array]";
572
+ return Ki.call(t) === "[object Array]";
573
573
  });
574
574
  function he(t) {
575
575
  return new RegExp("^(?:" + t.replace(/ /g, "|") + ")$");
@@ -583,7 +583,7 @@ Re.prototype.offset = function(e) {
583
583
  var Ze = function(e, s, i) {
584
584
  this.start = s, this.end = i, e.sourceFile !== null && (this.source = e.sourceFile);
585
585
  };
586
- function ks(t, e) {
586
+ function Is(t, e) {
587
587
  for (var s = 1, i = 0; ; ) {
588
588
  Ne.lastIndex = i;
589
589
  var r = Ne.exec(t);
@@ -593,7 +593,7 @@ function ks(t, e) {
593
593
  return new Re(s, e - i);
594
594
  }
595
595
  }
596
- var St = {
596
+ var wt = {
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 St = {
677
677
  // (non-standard) ParenthesizedExpression nodes
678
678
  preserveParens: !1
679
679
  };
680
- function Ki(t) {
680
+ function zi(t) {
681
681
  var e = {};
682
- for (var s in St)
683
- e[s] = t && Xe(t, s) ? t[s] : St[s];
682
+ for (var s in wt)
683
+ e[s] = t && Xe(t, s) ? t[s] : wt[s];
684
684
  if (e.ecmaVersion >= 2015 && (e.ecmaVersion -= 2009), e.allowReserved == null && (e.allowReserved = e.ecmaVersion < 5), is(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 is(e.onComment) && (e.onComment = zi(e, e.onComment)), e;
690
+ return is(e.onComment) && (e.onComment = Ji(e, e.onComment)), e;
691
691
  }
692
- function zi(t, e) {
692
+ function Ji(t, e) {
693
693
  return function(s, i, r, n, a, u) {
694
694
  var c = {
695
695
  type: s ? "Block" : "Line",
@@ -700,12 +700,12 @@ function zi(t, e) {
700
700
  t.locations && (c.loc = new Ze(this, a, u)), t.ranges && (c.range = [r, n]), e.push(c);
701
701
  };
702
702
  }
703
- var Ve = 1, Le = 2, Ot = Ve | Le, Is = 4, As = 8, Ps = 16, Ts = 32, Ns = 64, Rs = 128;
704
- function Ft(t, e) {
705
- return Le | (t ? Is : 0) | (e ? As : 0);
703
+ var Ve = 1, Le = 2, Ft = Ve | Le, As = 4, Ps = 8, Ts = 16, Ns = 32, Rs = 64, Vs = 128;
704
+ function Lt(t, e) {
705
+ return Le | (t ? As : 0) | (e ? Ps : 0);
706
706
  }
707
- var rs = 0, Lt = 1, ee = 2, Vs = 3, Os = 4, Fs = 5, A = function(e, s, i) {
708
- this.options = e = Ki(e), this.sourceFile = e.sourceFile, this.keywords = he(Bi[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
707
+ var rs = 0, jt = 1, ee = 2, Os = 3, Fs = 4, Ls = 5, A = function(e, s, i) {
708
+ this.options = e = zi(e), this.sourceFile = e.sourceFile, this.keywords = he($i[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
709
709
  var r = "";
710
710
  if (e.allowReserved !== !0) {
711
711
  for (var n = e.ecmaVersion; !(r = lt[n]); n--)
@@ -725,16 +725,16 @@ fe.inFunction.get = function() {
725
725
  return (this.currentVarScope().flags & Le) > 0;
726
726
  };
727
727
  fe.inGenerator.get = function() {
728
- return (this.currentVarScope().flags & As) > 0;
728
+ return (this.currentVarScope().flags & Ps) > 0;
729
729
  };
730
730
  fe.inAsync.get = function() {
731
- return (this.currentVarScope().flags & Is) > 0;
731
+ return (this.currentVarScope().flags & As) > 0;
732
732
  };
733
733
  fe.allowSuper.get = function() {
734
- return (this.currentThisScope().flags & Ns) > 0;
734
+ return (this.currentThisScope().flags & Rs) > 0;
735
735
  };
736
736
  fe.allowDirectSuper.get = function() {
737
- return (this.currentThisScope().flags & Rs) > 0;
737
+ return (this.currentThisScope().flags & Vs) > 0;
738
738
  };
739
739
  fe.treatFunctionsAsVar.get = function() {
740
740
  return this.treatFunctionsAsVarInScope(this.currentScope());
@@ -759,11 +759,11 @@ A.tokenizer = function(e, s) {
759
759
  return new this(s, e);
760
760
  };
761
761
  Object.defineProperties(A.prototype, fe);
762
- var L = A.prototype, Ji = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;
762
+ var L = A.prototype, Qi = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;
763
763
  L.strictDirective = function(t) {
764
764
  for (; ; ) {
765
765
  U.lastIndex = t, t += U.exec(this.input)[0].length;
766
- var e = Ji.exec(this.input.slice(t));
766
+ var e = Qi.exec(this.input.slice(t));
767
767
  if (!e)
768
768
  return !1;
769
769
  if ((e[1] || e[2]) === "use strict") {
@@ -844,7 +844,7 @@ 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 jt = { kind: "loop" }, Qi = { kind: "switch" };
847
+ var Mt = { kind: "loop" }, Yi = { kind: "switch" };
848
848
  y.isLet = function(t) {
849
849
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
850
850
  return !1;
@@ -944,12 +944,12 @@ 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(jt), 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(Mt), 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(jt), this.enterScope(0), this.expect(o.parenL), this.type === o.semi)
952
+ if (this.labels.push(Mt), 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) {
@@ -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(Qi), this.enterScope(0);
972
+ this.next(), t.discriminant = this.parseParenExpression(), t.cases = [], this.expect(o.braceL), this.labels.push(Yi), 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;
@@ -981,14 +981,14 @@ y.parseSwitchStatement = function(t) {
981
981
  y.parseThrowStatement = function(t) {
982
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 Yi = [];
984
+ var Xi = [];
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 ? Ts : 0), this.checkLVal(e.param, s ? Os : ee), this.expect(o.parenR);
991
+ this.enterScope(s ? Ns : 0), this.checkLVal(e.param, s ? Fs : ee), 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(jt), t.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(t, "WhileStatement");
1002
+ return this.next(), t.test = this.parseParenExpression(), this.labels.push(Mt), 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" ? Lt : ee, !1);
1053
+ t.id = this.parseBindingAtom(), this.checkLVal(t.id, e === "var" ? jt : ee, !1);
1054
1054
  };
1055
- var Ae = 1, Ct = 2, Ls = 4;
1055
+ var Ae = 1, Ct = 2, js = 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 & Ct && this.unexpected(), t.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (t.async = !!i), e & Ae && (t.id = e & Ls && this.type !== o.name ? null : this.parseIdent(), t.id && !(e & Ct) && this.checkLVal(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? Lt : ee : Vs));
1057
+ this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !i) && (this.type === o.star && e & Ct && this.unexpected(), t.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (t.async = !!i), e & Ae && (t.id = e & js && this.type !== o.name ? null : this.parseIdent(), t.id && !(e & Ct) && this.checkLVal(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? jt : ee : Os));
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(Ft(t.async, t.generator)), e & Ae || (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 & Ae ? "FunctionDeclaration" : "FunctionExpression");
1059
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Lt(t.async, t.generator)), e & Ae || (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 & Ae ? "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, Ae | Ls, !1, s);
1107
+ this.next(), s && this.next(), t.declaration = this.parseFunction(i, Ae | js, !1, s);
1108
1108
  } else if (this.type === o._class) {
1109
1109
  var r = this.startNode();
1110
1110
  t.declaration = this.parseClass(r, "nullableID");
@@ -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 = 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");
1173
+ return this.next(), this.type === o.string ? (t.specifiers = Xi, 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;
@@ -1308,7 +1308,7 @@ se.parseMaybeDefault = function(t, e, s) {
1308
1308
  se.checkLVal = function(t, e, s) {
1309
1309
  switch (e === void 0 && (e = rs), t.type) {
1310
1310
  case "Identifier":
1311
- e === ee && 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 && (Xe(s, t.name) && this.raiseRecoverable(t.start, "Argument name clash"), s[t.name] = !0), e !== rs && e !== Fs && this.declareName(t.name, e, t.start);
1311
+ e === ee && 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 && (Xe(s, t.name) && this.raiseRecoverable(t.start, "Argument name clash"), s[t.name] = !0), e !== rs && e !== Ls && 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");
@@ -1486,8 +1486,8 @@ _.parseSubscript = function(t, e, s, i, r, n) {
1486
1486
  if (r && !u && !this.canInsertSemicolon() && this.eat(o.arrow))
1487
1487
  return this.checkPatternErrors(h, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = p, this.awaitPos = d, this.awaitIdentPos = f, this.parseArrowExpression(this.startNodeAt(e, s), m, !0);
1488
1488
  this.checkExpressionErrors(h, !0), this.yieldPos = p || this.yieldPos, this.awaitPos = d || this.awaitPos, this.awaitIdentPos = f || this.awaitIdentPos;
1489
- var v = this.startNodeAt(e, s);
1490
- v.callee = t, v.arguments = m, a && (v.optional = u), t = this.finishNode(v, "CallExpression");
1489
+ var x = this.startNodeAt(e, s);
1490
+ x.callee = t, x.arguments = m, a && (x.optional = u), t = this.finishNode(x, "CallExpression");
1491
1491
  } else if (this.type === o.backQuote) {
1492
1492
  (u || n) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1493
1493
  var g = this.startNodeAt(e, s);
@@ -1593,10 +1593,10 @@ _.parseParenAndDistinguishExpression = function(t) {
1593
1593
  break;
1594
1594
  } else
1595
1595
  u.push(this.parseMaybeAssign(!1, h, this.parseParenItem));
1596
- var m = this.start, v = this.startLoc;
1596
+ var m = this.start, x = this.startLoc;
1597
1597
  if (this.expect(o.parenR), t && !this.canInsertSemicolon() && this.eat(o.arrow))
1598
1598
  return this.checkPatternErrors(h, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = p, this.awaitPos = d, this.parseParenArrowList(e, s, u);
1599
- (!u.length || l) && this.unexpected(this.lastTokStart), f && this.unexpected(f), this.checkExpressionErrors(h, !0), this.yieldPos = p || this.yieldPos, this.awaitPos = d || this.awaitPos, u.length > 1 ? (i = this.startNodeAt(n, a), i.expressions = u, this.finishNodeAt(i, "SequenceExpression", m, v)) : i = u[0];
1599
+ (!u.length || l) && this.unexpected(this.lastTokStart), f && this.unexpected(f), this.checkExpressionErrors(h, !0), this.yieldPos = p || this.yieldPos, this.awaitPos = d || this.awaitPos, u.length > 1 ? (i = this.startNodeAt(n, a), i.expressions = u, this.finishNodeAt(i, "SequenceExpression", m, x)) : i = u[0];
1600
1600
  } else
1601
1601
  i = this.parseParenExpression();
1602
1602
  if (this.options.preserveParens) {
@@ -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 Xi = [];
1614
+ var Zi = [];
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 = Xi, 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 = Zi, this.finishNode(t, "NewExpression");
1625
1625
  };
1626
1626
  _.parseTemplateElement = function(t) {
1627
1627
  var e = t.isTagged, s = this.startNode();
@@ -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(Ft(e, i.generator) | Ns | (s ? Rs : 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(Lt(e, i.generator) | Rs | (s ? Vs : 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(Ft(s, !1) | Ps), 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(Lt(s, !1) | Ts), 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, Fs), 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, Ls), 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, Lt, e ? null : s);
1728
+ this.checkLVal(n, jt, e ? null : s);
1729
1729
  }
1730
1730
  };
1731
1731
  _.parseExprList = function(t, e, s, i) {
@@ -1762,7 +1762,7 @@ _.parseAwait = function() {
1762
1762
  };
1763
1763
  var We = A.prototype;
1764
1764
  We.raise = function(t, e) {
1765
- var s = ks(this.input, t);
1765
+ var s = Is(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;
@@ -1772,11 +1772,11 @@ We.curPosition = function() {
1772
1772
  if (this.options.locations)
1773
1773
  return new Re(this.curLine, this.pos - this.lineStart);
1774
1774
  };
1775
- var oe = A.prototype, Zi = function(e) {
1775
+ var oe = A.prototype, er = 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 Zi(t));
1779
+ this.scopeStack.push(new er(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 === ee) {
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 & Ve && delete this.undefinedExports[t];
1792
- } else if (e === Os) {
1792
+ } else if (e === Fs) {
1793
1793
  var n = this.currentScope();
1794
1794
  n.lexical.push(t);
1795
- } else if (e === Vs) {
1795
+ } else if (e === Os) {
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 & Ts && c.lexical[0] === t) || !this.treatFunctionsAsVarInScope(c) && c.functions.indexOf(t) > -1) {
1801
+ if (c.lexical.indexOf(t) > -1 && !(c.flags & Ns && 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 & Ve && delete this.undefinedExports[t], c.flags & Ot)
1805
+ if (c.var.push(t), this.inModule && c.flags & Ve && delete this.undefinedExports[t], c.flags & Ft)
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 & Ot)
1819
+ if (e.flags & Ft)
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 & Ot && !(e.flags & Ps))
1826
+ if (e.flags & Ft && !(e.flags & Ts))
1827
1827
  return e;
1828
1828
  }
1829
1829
  };
1830
- var Mt = function(e, s, i) {
1830
+ var Dt = function(e, s, i) {
1831
1831
  this.type = "", this.start = s, this.end = 0, e.options.locations && (this.loc = new Ze(e, i)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [s, 0]);
1832
1832
  }, tt = A.prototype;
1833
1833
  tt.startNode = function() {
1834
- return new Mt(this, this.start, this.startLoc);
1834
+ return new Dt(this, this.start, this.startLoc);
1835
1835
  };
1836
1836
  tt.startNodeAt = function(t, e) {
1837
- return new Mt(this, t, e);
1837
+ return new Dt(this, t, e);
1838
1838
  };
1839
- function js(t, e, s, i) {
1839
+ function Ms(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
1842
  tt.finishNode = function(t, e) {
1843
- return js.call(this, t, e, this.lastTokEnd, this.lastTokEndLoc);
1843
+ return Ms.call(this, t, e, this.lastTokEnd, this.lastTokEndLoc);
1844
1844
  };
1845
1845
  tt.finishNodeAt = function(t, e, s, i) {
1846
- return js.call(this, t, e, s, i);
1846
+ return Ms.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;
@@ -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 Ms = "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", Ds = Ms + " Extended_Pictographic", er = Ds, tr = {
1921
- 9: Ms,
1922
- 10: Ds,
1923
- 11: er
1924
- }, ns = "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", Bs = "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", Hs = Bs + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", sr = Hs + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", ir = {
1925
- 9: Bs,
1920
+ var Ds = "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", Bs = Ds + " Extended_Pictographic", tr = Bs, sr = {
1921
+ 9: Ds,
1922
+ 10: Bs,
1923
+ 11: tr
1924
+ }, ns = "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", $s = "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", Hs = $s + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", ir = Hs + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", rr = {
1925
+ 9: $s,
1926
1926
  10: Hs,
1927
- 11: sr
1928
- }, $s = {};
1929
- function Dt(t) {
1930
- var e = $s[t] = {
1931
- binary: he(tr[t] + " " + ns),
1927
+ 11: ir
1928
+ }, Us = {};
1929
+ function Bt(t) {
1930
+ var e = Us[t] = {
1931
+ binary: he(sr[t] + " " + ns),
1932
1932
  nonBinary: {
1933
1933
  General_Category: he(ns),
1934
- Script: he(ir[t])
1934
+ Script: he(rr[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
- Dt(9);
1940
- Dt(10);
1941
- Dt(11);
1939
+ Bt(9);
1940
+ Bt(10);
1941
+ Bt(11);
1942
1942
  var b = A.prototype, ie = function(e) {
1943
- this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : ""), this.unicodeProperties = $s[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 = Us[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
  ie.prototype.reset = function(e, s, i) {
1946
1946
  var r = i.indexOf("u") !== -1;
@@ -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 Us(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2182
+ return Gs(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2183
2183
  };
2184
- function Us(t) {
2184
+ function Gs(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 && !Us(s); )
2188
+ for (var e = t.pos, s = 0; (s = t.current()) !== -1 && !Gs(s); )
2189
2189
  t.advance();
2190
2190
  return t.pos !== e;
2191
2191
  };
@@ -2229,16 +2229,16 @@ b.regexp_eatRegExpIdentifierName = function(t) {
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), rr(i) ? (t.lastIntValue = i, !0) : (t.pos = e, !1);
2232
+ return t.advance(s), i === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (i = t.lastIntValue), nr(i) ? (t.lastIntValue = i, !0) : (t.pos = e, !1);
2233
2233
  };
2234
- function rr(t) {
2234
+ function nr(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), nr(i) ? (t.lastIntValue = i, !0) : (t.pos = e, !1);
2239
+ return t.advance(s), i === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (i = t.lastIntValue), ar(i) ? (t.lastIntValue = i, !0) : (t.pos = e, !1);
2240
2240
  };
2241
- function nr(t) {
2241
+ function ar(t) {
2242
2242
  return ye(t, !0) || t === 36 || t === 95 || t === 8204 || t === 8205;
2243
2243
  }
2244
2244
  b.regexp_eatAtomEscape = function(t) {
@@ -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 Gs(e) ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2294
+ return qs(e) ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2295
2295
  };
2296
- function Gs(t) {
2296
+ function qs(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
- ) && ar(t.lastIntValue))
2331
+ ) && or(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 ar(t) {
2337
+ function or(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 (or(e))
2362
+ if (ur(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 or(t) {
2377
+ function ur(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) {
@@ -2403,21 +2403,21 @@ b.regexp_validateUnicodePropertyNameOrValue = function(t, e) {
2403
2403
  };
2404
2404
  b.regexp_eatUnicodePropertyName = function(t) {
2405
2405
  var e = 0;
2406
- for (t.lastStringValue = ""; qs(e = t.current()); )
2406
+ for (t.lastStringValue = ""; Ws(e = t.current()); )
2407
2407
  t.lastStringValue += Ke(e), t.advance();
2408
2408
  return t.lastStringValue !== "";
2409
2409
  };
2410
- function qs(t) {
2411
- return Gs(t) || t === 95;
2410
+ function Ws(t) {
2411
+ return qs(t) || t === 95;
2412
2412
  }
2413
2413
  b.regexp_eatUnicodePropertyValue = function(t) {
2414
2414
  var e = 0;
2415
- for (t.lastStringValue = ""; ur(e = t.current()); )
2415
+ for (t.lastStringValue = ""; cr(e = t.current()); )
2416
2416
  t.lastStringValue += Ke(e), t.advance();
2417
2417
  return t.lastStringValue !== "";
2418
2418
  };
2419
- function ur(t) {
2420
- return qs(t) || it(t);
2419
+ function cr(t) {
2420
+ return Ws(t) || it(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 || zs(s)) && t.raise("Invalid class escape"), t.raise("Invalid escape");
2464
+ (s === 99 || Js(s)) && t.raise("Invalid class escape"), t.raise("Invalid escape");
2465
2465
  }
2466
2466
  t.pos = e;
2467
2467
  }
@@ -2517,14 +2517,14 @@ function it(t) {
2517
2517
  }
2518
2518
  b.regexp_eatHexDigits = function(t) {
2519
2519
  var e = t.pos, s = 0;
2520
- for (t.lastIntValue = 0; Ws(s = t.current()); )
2521
- t.lastIntValue = 16 * t.lastIntValue + Ks(s), t.advance();
2520
+ for (t.lastIntValue = 0; Ks(s = t.current()); )
2521
+ t.lastIntValue = 16 * t.lastIntValue + zs(s), t.advance();
2522
2522
  return t.pos !== e;
2523
2523
  };
2524
- function Ws(t) {
2524
+ function Ks(t) {
2525
2525
  return t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102;
2526
2526
  }
2527
- function Ks(t) {
2527
+ function zs(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 zs(e) ? (t.lastIntValue = e - 48, t.advance(), !0) : (t.lastIntValue = 0, !1);
2544
+ return Js(e) ? (t.lastIntValue = e - 48, t.advance(), !0) : (t.lastIntValue = 0, !1);
2545
2545
  };
2546
- function zs(t) {
2546
+ function Js(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 (!Ws(r))
2554
+ if (!Ks(r))
2555
2555
  return t.pos = s, !1;
2556
- t.lastIntValue = 16 * t.lastIntValue + Ks(r), t.advance();
2556
+ t.lastIntValue = 16 * t.lastIntValue + zs(r), t.advance();
2557
2557
  }
2558
2558
  return !0;
2559
2559
  };
2560
- var Bt = function(e) {
2560
+ var $t = function(e) {
2561
2561
  this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new Ze(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 Bt(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 $t(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 Bt(this);
2567
+ return this.next(), new $t(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 && ws.test(String.fromCharCode(t)))
2658
+ if (t > 8 && t < 14 || t >= 5760 && Es.test(String.fromCharCode(t)))
2659
2659
  ++this.pos;
2660
2660
  else
2661
2661
  break e;
@@ -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 cr(t, e) {
2865
+ function lr(t, e) {
2866
2866
  return e ? parseInt(t, 8) : parseFloat(t.replace(/_/g, ""));
2867
2867
  }
2868
- function Js(t) {
2868
+ function Qs(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 = Js(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 = Qs(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 = Js(this.input.slice(e, this.pos));
2884
+ var r = Qs(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 = cr(this.input.slice(e, this.pos), s);
2888
+ var n = lr(this.input.slice(e, this.pos), s);
2889
2889
  return this.finishToken(o.num, n);
2890
2890
  };
2891
2891
  S.readCodePoint = function() {
@@ -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 Ys = {};
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 === Ys)
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 Ys;
2930
2930
  this.raise(t, e);
2931
2931
  };
2932
2932
  S.readTmplToken = function() {
@@ -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 = Vt[t]), this.finishToken(e, t);
3049
+ return this.keywords.test(t) && (e = Ot[t]), this.finishToken(e, t);
3050
3050
  };
3051
- var lr = "7.4.1";
3051
+ var hr = "7.4.1";
3052
3052
  A.acorn = {
3053
3053
  Parser: A,
3054
- version: lr,
3055
- defaultOptions: St,
3054
+ version: hr,
3055
+ defaultOptions: wt,
3056
3056
  Position: Re,
3057
3057
  SourceLocation: Ze,
3058
- getLineInfo: ks,
3059
- Node: Mt,
3058
+ getLineInfo: Is,
3059
+ Node: Dt,
3060
3060
  TokenType: E,
3061
3061
  tokTypes: o,
3062
- keywordTypes: Vt,
3062
+ keywordTypes: Ot,
3063
3063
  TokContext: q,
3064
3064
  tokContexts: I,
3065
3065
  isIdentifierChar: ye,
3066
3066
  isIdentifierStart: ae,
3067
- Token: Bt,
3067
+ Token: $t,
3068
3068
  isNewLine: Fe,
3069
3069
  lineBreak: G,
3070
3070
  lineBreakG: Ne,
3071
- nonASCIIwhitespace: ws
3071
+ nonASCIIwhitespace: Es
3072
3072
  };
3073
- function hr(t, e) {
3073
+ function pr(t, e) {
3074
3074
  return A.parse(t, e);
3075
3075
  }
3076
- class pr extends Error {
3076
+ class fr extends Error {
3077
3077
  }
3078
- class fr extends SyntaxError {
3078
+ class dr extends SyntaxError {
3079
3079
  }
3080
- class wt extends ReferenceError {
3080
+ class Et extends ReferenceError {
3081
3081
  }
3082
- class dr extends TypeError {
3082
+ class mr extends TypeError {
3083
3083
  }
3084
- class Ys extends pr {
3084
+ class Xs extends fr {
3085
3085
  }
3086
- class mr extends fr {
3086
+ class gr extends dr {
3087
3087
  }
3088
- class W extends wt {
3088
+ class W extends Et {
3089
3089
  }
3090
3090
  const O = {
3091
- ExecutionTimeOutError: [3002, "Script execution timed out after %0ms", Ys],
3091
+ ExecutionTimeOutError: [3002, "Script execution timed out after %0ms", Xs],
3092
3092
  NodeTypeSyntaxError: [1001, "Unknown node type: %0", W],
3093
3093
  BinaryOperatorSyntaxError: [1002, "Unknown binary operator: %0", W],
3094
3094
  LogicalOperatorSyntaxError: [
@@ -3111,10 +3111,10 @@ const O = {
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", wt],
3115
- VariableUndefinedReferenceError: [2002, "%0 is not defined", wt],
3116
- IsNotConstructor: [2003, "%0 is not a constructor", dr]
3117
- }, gr = "1.4.8";
3114
+ FunctionUndefinedReferenceError: [2001, "%0 is not a function", Et],
3115
+ VariableUndefinedReferenceError: [2002, "%0 is not defined", Et],
3116
+ IsNotConstructor: [2003, "%0 is not a constructor", mr]
3117
+ }, vr = "1.4.8";
3118
3118
  function as(t, e) {
3119
3119
  Object.defineProperty(t, "name", {
3120
3120
  value: e,
@@ -3151,7 +3151,7 @@ class ne {
3151
3151
  };
3152
3152
  }
3153
3153
  }
3154
- function $t(t, e, s = !0) {
3154
+ function Ut(t, e, s = !0) {
3155
3155
  if (!(t instanceof ne))
3156
3156
  throw new Error("Illegal call");
3157
3157
  if (typeof e != "string")
@@ -3166,13 +3166,13 @@ function $t(t, e, s = !0) {
3166
3166
  }, a = s ? i.getGlobalScope() : i.getCurrentScope();
3167
3167
  return new M(a, n).evaluate(e);
3168
3168
  }
3169
- Object.defineProperty($t, "__IS_EVAL_FUNC", {
3169
+ Object.defineProperty(Ut, "__IS_EVAL_FUNC", {
3170
3170
  value: !0,
3171
3171
  writable: !1,
3172
3172
  enumerable: !1,
3173
3173
  configurable: !1
3174
3174
  });
3175
- function Ut(t, ...e) {
3175
+ function Gt(t, ...e) {
3176
3176
  if (!(t instanceof ne))
3177
3177
  throw new Error("Illegal call");
3178
3178
  const s = t.generator(), i = e.pop(), r = new M(s.getGlobalScope(), s.getOptions()), n = `
@@ -3182,7 +3182,7 @@ function Ut(t, ...e) {
3182
3182
  `;
3183
3183
  return r.evaluate(n);
3184
3184
  }
3185
- Object.defineProperty(Ut, "__IS_FUNCTION_FUNC", {
3185
+ Object.defineProperty(Gt, "__IS_FUNCTION_FUNC", {
3186
3186
  value: !0,
3187
3187
  writable: !1,
3188
3188
  enumerable: !1,
@@ -3203,17 +3203,17 @@ class re {
3203
3203
  this.value = e;
3204
3204
  }
3205
3205
  }
3206
- class xe {
3206
+ class ve {
3207
3207
  constructor(e, s = null, i) {
3208
3208
  this.name = i, this.parent = s, this.data = e, this.labelStack = [];
3209
3209
  }
3210
3210
  }
3211
- function $e() {
3211
+ function He() {
3212
3212
  }
3213
- function vr(t = null, e) {
3214
- return new xe(/* @__PURE__ */ Object.create(null), t, e);
3213
+ function br(t = null, e) {
3214
+ return new ve(/* @__PURE__ */ Object.create(null), t, e);
3215
3215
  }
3216
- function br(t) {
3216
+ function yr(t) {
3217
3217
  return Object.create(t);
3218
3218
  }
3219
3219
  const X = {
@@ -3245,8 +3245,8 @@ const X = {
3245
3245
  encodeURIComponent,
3246
3246
  escape,
3247
3247
  unescape,
3248
- eval: $t,
3249
- Function: Ut
3248
+ eval: Ut,
3249
+ Function: Gt
3250
3250
  };
3251
3251
  typeof JSON < "u" && (X.JSON = JSON);
3252
3252
  typeof Promise < "u" && (X.Promise = Promise);
@@ -3269,12 +3269,12 @@ class M {
3269
3269
  }
3270
3270
  initEnvironment(e) {
3271
3271
  let s;
3272
- if (e instanceof xe)
3272
+ if (e instanceof ve)
3273
3273
  s = e;
3274
3274
  else {
3275
3275
  let r = null;
3276
3276
  const n = this.createSuperScope(e);
3277
- this.options.rootContext && (r = new xe(br(this.options.rootContext), n, ls)), s = new xe(e, r || n, hs);
3277
+ this.options.rootContext && (r = new ve(yr(this.options.rootContext), n, ls)), s = new ve(e, r || n, hs);
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 M {
3302
3302
  return this.currentContext;
3303
3303
  }
3304
3304
  isInterruptThrow(e) {
3305
- return e instanceof Ys || e instanceof W || e instanceof mr;
3305
+ return e instanceof Xs || e instanceof W || e instanceof gr;
3306
3306
  }
3307
3307
  createSuperScope(e) {
3308
3308
  let s = Object.assign({}, X);
3309
3309
  return Object.keys(s).forEach((r) => {
3310
3310
  r in e && delete s[r];
3311
- }), new xe(s, null, cs);
3311
+ }), new ve(s, null, cs);
3312
3312
  }
3313
3313
  setCurrentContext(e) {
3314
3314
  this.currentContext = e;
@@ -3319,7 +3319,7 @@ class M {
3319
3319
  evaluate(e = "") {
3320
3320
  let s;
3321
3321
  if (e)
3322
- return s = hr(e, {
3322
+ return s = pr(e, {
3323
3323
  ranges: !0,
3324
3324
  locations: !0,
3325
3325
  ecmaVersion: this.options.ecmaVersion || M.ecmaVersion
@@ -3640,8 +3640,8 @@ class M {
3640
3640
  set: f
3641
3641
  });
3642
3642
  else {
3643
- const m = c.property, v = m.kind;
3644
- m.key.type === "Identifier" && m.value.type === "FunctionExpression" && v === "init" && !m.value.id && as(p, m.key.name), n[l] = p;
3643
+ const m = c.property, x = m.kind;
3644
+ m.key.type === "Identifier" && m.value.type === "FunctionExpression" && x === "init" && !m.value.id && as(p, m.key.name), n[l] = p;
3645
3645
  }
3646
3646
  }
3647
3647
  return n;
@@ -3715,14 +3715,14 @@ class M {
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 v = 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, C) => {
3720
- g.data[N()] = m[C];
3718
+ const x = s.getCurrentScope(), g = br(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
- const x = s.getCurrentContext();
3722
+ const v = s.getCurrentContext();
3723
3723
  s.setCurrentContext(this);
3724
3724
  const k = l();
3725
- if (s.setCurrentContext(x), s.setCurrentScope(v), s.callStack.pop(), k instanceof Y)
3725
+ if (s.setCurrentContext(v), s.setCurrentScope(x), s.callStack.pop(), k instanceof Y)
3726
3726
  return k.value;
3727
3727
  };
3728
3728
  return as(f, a), Object.defineProperty(f, "length", {
@@ -3906,7 +3906,7 @@ class M {
3906
3906
  }
3907
3907
  // return xx;
3908
3908
  returnStatementHandler(e) {
3909
- const s = e.argument ? this.createClosure(e.argument) : $e;
3909
+ const s = e.argument ? this.createClosure(e.argument) : He;
3910
3910
  return () => new Y(s());
3911
3911
  }
3912
3912
  // if else
@@ -3923,9 +3923,9 @@ class M {
3923
3923
  }
3924
3924
  // for(var i = 0; i < 10; i++) {...}
3925
3925
  forStatementHandler(e) {
3926
- let s = $e, i = e.test ? this.createClosure(e.test) : () => !0, r = $e;
3926
+ let s = He, i = e.test ? this.createClosure(e.test) : () => !0, r = He;
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) : $e), (a) => {
3928
+ return e.type === "ForStatement" && (s = e.init ? this.createClosure(e.init) : s, r = e.update ? this.createClosure(e.update) : He), (a) => {
3929
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;
@@ -3986,7 +3986,7 @@ class M {
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 xe(r, n, us);
3989
+ const r = s(), n = this.getCurrentScope(), a = new ve(r, n, us);
3990
3990
  this.setCurrentScope(a);
3991
3991
  const u = this.setValue(i());
3992
3992
  return this.setCurrentScope(n), u;
@@ -4173,13 +4173,13 @@ class M {
4173
4173
  return this.value;
4174
4174
  }
4175
4175
  }
4176
- M.version = gr;
4177
- M.eval = $t;
4178
- M.Function = Ut;
4176
+ M.version = vr;
4177
+ M.eval = Ut;
4178
+ M.Function = Gt;
4179
4179
  M.ecmaVersion = 5;
4180
4180
  M.globalContextInFunction = void 0;
4181
4181
  M.global = /* @__PURE__ */ Object.create(null);
4182
- const yr = (() => {
4182
+ const _r = (() => {
4183
4183
  try {
4184
4184
  return new Function("return 1")(), !0;
4185
4185
  } catch {
@@ -4196,7 +4196,7 @@ function ze(t) {
4196
4196
  } catch {
4197
4197
  }
4198
4198
  }
4199
- function _r(t, e) {
4199
+ function Sr(t, e) {
4200
4200
  return new M(e, {
4201
4201
  rootContext: e,
4202
4202
  globalContextInFunction: e
@@ -4212,15 +4212,15 @@ function Oe(t, e, s = !1, i = !1, r = !1) {
4212
4212
  const u = r ? `
4213
4213
  ${a}
4214
4214
  ` : `with(${s ? "{}" : "$scope || {}"}) { ${a} }`;
4215
- return yr ? new Function("$scope", u)(e) : _r(u, e);
4215
+ return _r ? new Function("$scope", u)(e) : Sr(u, e);
4216
4216
  } catch (n) {
4217
- if (ve.error("parseExpression.error", n, t, e?.__self ?? e), n && (n.info = t.value), ze(n), i)
4217
+ if (xe.error("parseExpression.error", n, t, e?.__self ?? e), n && (n.info = t.value), ze(n), i)
4218
4218
  throw n;
4219
4219
  }
4220
4220
  }
4221
4221
  function z(t, e, s = !1, i = !1, r = !1) {
4222
4222
  const n = Oe(t, e, s, i, r);
4223
- if (typeof n != "function" && (ve.error(
4223
+ if (typeof n != "function" && (xe.error(
4224
4224
  "parseFunction.error",
4225
4225
  "not a function",
4226
4226
  t,
@@ -4235,11 +4235,11 @@ function R(t) {
4235
4235
  function F(t) {
4236
4236
  return typeof t == "object" && t && t.type === "JSFunction";
4237
4237
  }
4238
- function Sr(t) {
4238
+ function wr(t) {
4239
4239
  return R(t) || F(t);
4240
4240
  }
4241
- function jn(t) {
4242
- return Sr(t) ? t.value.startsWith("{") ? `(${t.value})` : t.value : JSON.stringify(t);
4241
+ function Mn(t) {
4242
+ return wr(t) ? t.value.startsWith("{") ? `(${t.value})` : t.value : JSON.stringify(t);
4243
4243
  }
4244
4244
  const Cr = {
4245
4245
  session: !1,
@@ -4254,8 +4254,8 @@ const Cr = {
4254
4254
  noPermissionMessage: "无权限访问该页面",
4255
4255
  appName: "",
4256
4256
  statusKey: "code"
4257
- }, Xs = Symbol("access");
4258
- class Gt {
4257
+ }, Zs = Symbol("access");
4258
+ class qt {
4259
4259
  options;
4260
4260
  data = null;
4261
4261
  mode = T.Raw;
@@ -4301,19 +4301,19 @@ class Gt {
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 = Yt(e);
4304
+ const r = Xt(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 = Yt(e);
4310
+ const { appName: s } = this.options, { permissions: i = {} } = this.data || {}, r = Xt(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(Xs, this);
4316
+ e.config.globalProperties.$access = this, e.provide(Zs, this);
4317
4317
  }
4318
4318
  isAuthPath(e) {
4319
4319
  const { auth: s, isAuth: i } = this.options;
@@ -4334,7 +4334,7 @@ class Gt {
4334
4334
  setData(e) {
4335
4335
  const { privateKey: s } = this.options;
4336
4336
  if (Array.isArray(e) && s) {
4337
- const i = e.map((r) => Xt(r, s));
4337
+ const i = e.map((r) => Zt(r, s));
4338
4338
  try {
4339
4339
  this.data = JSON.parse(i.join(""));
4340
4340
  } catch (r) {
@@ -4344,7 +4344,7 @@ class Gt {
4344
4344
  }
4345
4345
  if (typeof e == "string")
4346
4346
  try {
4347
- const i = s ? Xt(e, s) : e;
4347
+ const i = s ? Zt(e, s) : e;
4348
4348
  i ? this.data = JSON.parse(i) : console.warn("RSA解密失败或登录信息缺失");
4349
4349
  } catch (i) {
4350
4350
  console.warn(i);
@@ -4418,10 +4418,10 @@ class Gt {
4418
4418
  );
4419
4419
  }
4420
4420
  }
4421
- function wr() {
4422
- return Tt(Xs, null);
4421
+ function Er() {
4422
+ return Nt(Zs, null);
4423
4423
  }
4424
- function Mn(t = {}) {
4424
+ function Dn(t = {}) {
4425
4425
  const {
4426
4426
  notify: e,
4427
4427
  loading: s,
@@ -4433,7 +4433,7 @@ function Mn(t = {}) {
4433
4433
  } = t;
4434
4434
  let c = null;
4435
4435
  return {
4436
- request: ds({
4436
+ request: ms({
4437
4437
  adapter: t.axiosAdapter,
4438
4438
  settings: {
4439
4439
  type: "form",
@@ -4454,19 +4454,19 @@ function Mn(t = {}) {
4454
4454
  ...i
4455
4455
  }
4456
4456
  }),
4457
- jsonp: ms,
4457
+ jsonp: gs,
4458
4458
  notify: e,
4459
4459
  loading: s,
4460
4460
  useTitle: a,
4461
4461
  alert: u,
4462
4462
  startupComponent: r,
4463
- access: n ? new Gt({ alert: u, ...n }) : void 0
4463
+ access: n ? new qt({ alert: u, ...n }) : void 0
4464
4464
  };
4465
4465
  }
4466
- function Dn(t = {}) {
4467
- return new Gt(t);
4466
+ function Bn(t = {}) {
4467
+ return new qt(t);
4468
4468
  }
4469
- function Er(t, e) {
4469
+ function kr(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 Er(t, e) {
4482
4482
  headers: r
4483
4483
  }
4484
4484
  };
4485
- return (a, u) => (delete n.data, i.send(hi(n, u || {}, { data: a })));
4485
+ return (a, u) => (delete n.data, i.send(pi(n, u || {}, { data: a })));
4486
4486
  }
4487
4487
  }
4488
- function kr(t, e) {
4488
+ function Ir(t, e) {
4489
4489
  const { metaQuery: s } = e;
4490
4490
  if (!s) return;
4491
4491
  const { code: i, queryCode: r } = t;
@@ -4497,21 +4497,21 @@ function kr(t, e) {
4497
4497
  return s(i, r, n, a);
4498
4498
  };
4499
4499
  }
4500
- function Ir(t = [], e = [], s) {
4500
+ function Ar(t = [], e = [], s) {
4501
4501
  const i = {};
4502
4502
  for (const r of t) {
4503
- const n = Er(r, s);
4503
+ const n = kr(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] = kr(r, s);
4507
+ i[r.id] = Ir(r, s);
4508
4508
  return i;
4509
4509
  }
4510
- async function Ar(t = [], e = globalThis) {
4510
+ async function Pr(t = [], e = globalThis) {
4511
4511
  const s = Te(e);
4512
- s && (Zs(e), t.forEach((i) => Tr(s, i)));
4512
+ s && (ei(e), t.forEach((i) => Nr(s, i)));
4513
4513
  }
4514
- function Pr(t, e = globalThis) {
4514
+ function Tr(t, e = globalThis) {
4515
4515
  const s = F(t.mockTemplate) && t.mockTemplate.value ? z(t.mockTemplate, {}, !0) : void 0, i = Te(e);
4516
4516
  return async (...r) => {
4517
4517
  let n = {};
@@ -4519,41 +4519,41 @@ function Pr(t, e = globalThis) {
4519
4519
  try {
4520
4520
  n = await s.apply(s, r);
4521
4521
  } catch (a) {
4522
- ve.warn("模拟数据模版异常", a);
4522
+ xe.warn("模拟数据模版异常", a);
4523
4523
  }
4524
4524
  return i?.mock(n);
4525
4525
  };
4526
4526
  }
4527
- function Tr(t, e) {
4527
+ function Nr(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 = xt(s) ? new URL(s).pathname : s, u = pi(`(.*)${a}`, [], { end: !1 }), c = new RegExp(
4532
+ const a = vt(s) ? new URL(s).pathname : s, u = fi(`(.*)${a}`, [], { end: !1 }), c = new RegExp(
4533
4533
  u.source + "([?#].*)?$",
4534
4534
  u.flags
4535
- ), l = fi(a, { decode: decodeURIComponent }), h = Oe(i, {}, !0);
4535
+ ), l = di(a, { decode: decodeURIComponent }), h = Oe(i, {}, !0);
4536
4536
  t.mock(
4537
4537
  c,
4538
4538
  r.toLowerCase(),
4539
4539
  (p) => {
4540
4540
  const d = pe.parse(p.url) || {}, f = n.type || "form";
4541
- let m = p.body instanceof FormData ? di(p.body) : p.body;
4541
+ let m = p.body instanceof FormData ? mi(p.body) : p.body;
4542
4542
  if (typeof m == "string")
4543
4543
  if (f === "json")
4544
4544
  try {
4545
4545
  m = JSON.parse(m);
4546
- } catch (x) {
4547
- console.warn("[Mock.mock]", x);
4546
+ } catch (v) {
4547
+ console.warn("[Mock.mock]", v);
4548
4548
  }
4549
4549
  else
4550
4550
  m = pe.parse(m);
4551
- const v = xt(p.url) ? new URL(p.url).pathname : p.url.split("?")[0], g = l(v)?.params;
4551
+ const x = vt(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));
4555
- } catch (x) {
4556
- return console.warn("[mockApi]", c, p, x), null;
4555
+ } catch (v) {
4556
+ return console.warn("[mockApi]", c, p, v), null;
4557
4557
  }
4558
4558
  }
4559
4559
  );
@@ -4561,7 +4561,7 @@ function Tr(t, e) {
4561
4561
  console.warn("mockApi", a);
4562
4562
  }
4563
4563
  }
4564
- function Zs(t = globalThis) {
4564
+ function ei(t = globalThis) {
4565
4565
  const e = Te(t);
4566
4566
  e && (e._mocked = {});
4567
4567
  }
@@ -4629,12 +4629,12 @@ class ps {
4629
4629
  __proxy() {
4630
4630
  if (!this.__instance) return;
4631
4631
  const e = this.__instance;
4632
- ss.forEach((s) => {
4632
+ _t.forEach((s) => {
4633
4633
  this[s] = e[s] || e._?.[s.replace("$", "")] || null;
4634
4634
  });
4635
4635
  }
4636
4636
  __cleanup() {
4637
- ss.forEach((e) => {
4637
+ _t.forEach((e) => {
4638
4638
  this[e] = null;
4639
4639
  }), this.__reset(), this.__refGenerations = {};
4640
4640
  }
@@ -4693,7 +4693,7 @@ class ps {
4693
4693
  }
4694
4694
  }
4695
4695
  const ft = Symbol("vtjBlockChain");
4696
- function Et(t) {
4696
+ function kt(t) {
4697
4697
  const {
4698
4698
  Vue: e = be,
4699
4699
  UniApp: s = {},
@@ -4714,82 +4714,84 @@ function Et(t) {
4714
4714
  name: c.value.name,
4715
4715
  __scopeId: c.value.id ? `data-v-${c.value.id}` : void 0,
4716
4716
  props: {
4717
- ...Rr(c.value.props ?? [], h)
4717
+ ...Vr(c.value.props ?? [], h)
4718
4718
  },
4719
4719
  async setup(d = {}) {
4720
- const f = c.value.id, m = c.value.name, v = e.inject(
4720
+ const f = c.value.id, m = c.value.name, x = e.inject(
4721
4721
  ft,
4722
4722
  null
4723
4723
  );
4724
- if (f && v && v.has(f)) {
4724
+ if (f && x && x.has(f)) {
4725
4725
  const Q = `检测到区块循环引用: ${m}(${f})`;
4726
- return console.warn(`[VTJ Renderer] ${Q},已中断渲染以防止浏览器崩溃`), ze(new Error(Q)), e.provide(ft, v), { __vtjCircular: !0 };
4726
+ return console.warn(`[VTJ Renderer] ${Q},已中断渲染以防止浏览器崩溃`), ze(new Error(Q)), e.provide(ft, x), { __vtjCircular: !0 };
4727
4727
  }
4728
- const g = new Set(v || []);
4728
+ const g = new Set(x || []);
4729
4729
  f && g.add(f), e.provide(ft, g);
4730
- const x = new ps({
4730
+ const v = new ps({
4731
4731
  mode: i,
4732
4732
  dsl: c.value,
4733
4733
  attrs: l
4734
4734
  });
4735
- x.$props = x.props = d, c.value.id && Nt(
4735
+ v.$props = v.props = d, c.value.id && Rt(
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
- x.$state = x.state = Vr(
4742
+ v.$state = v.state = Or(
4743
4743
  e,
4744
4744
  c.value.state ?? {},
4745
- x
4745
+ v
4746
4746
  );
4747
- const N = k ? Dr(e, c.value.refs ?? {}, x) : {}, C = k ? Br(e, c.value.reactives ?? {}, x) : {}, D = Or(e, c.value.computed ?? {}, x), de = Fr(c.value.methods ?? {}, x), Se = Lr(e, c.value.inject, x), J = jr(
4747
+ const N = k ? Br(e, c.value.refs ?? {}, v) : {}, w = k ? $r(e, c.value.reactives ?? {}, v) : {}, D = Fr(e, c.value.computed ?? {}, v), de = Lr(c.value.methods ?? {}, v), Se = jr(e, c.value.inject, v), J = Mr(
4748
4748
  c.value.dataSources || {},
4749
- x
4749
+ v
4750
4750
  );
4751
4751
  let Me = {};
4752
4752
  k && (Me = Hr(
4753
4753
  c.value.composables ?? [],
4754
- x
4754
+ v
4755
4755
  ));
4756
4756
  const rt = {
4757
4757
  ...d,
4758
4758
  ...N,
4759
- ...C,
4759
+ ...w,
4760
4760
  ...Se,
4761
4761
  ...D,
4762
4762
  ...de,
4763
4763
  ...J,
4764
4764
  ...Me
4765
4765
  };
4766
- if (x.setup(rt, e), k && c.value.props && c.value.props.length > 0) {
4766
+ if (v.setup(rt, e), e.onMounted(() => {
4767
+ fs(v, h);
4768
+ }), k && c.value.props && c.value.props.length > 0) {
4767
4769
  const Q = /* @__PURE__ */ new Set([
4768
4770
  ...Object.keys(N),
4769
- ...Object.keys(C),
4771
+ ...Object.keys(w),
4770
4772
  ...Object.keys(D)
4771
4773
  ]);
4772
4774
  for (const ue of c.value.props) {
4773
- const Ce = typeof ue == "string" ? ue : ue.name;
4774
- Q.has(Ce) || Object.defineProperty(x, Ce, {
4775
+ const we = typeof ue == "string" ? ue : ue.name;
4776
+ Q.has(we) || Object.defineProperty(v, we, {
4775
4777
  get() {
4776
- return this.$props[Ce];
4778
+ return this.$props[we];
4777
4779
  },
4778
- set(Kt) {
4780
+ set(zt) {
4779
4781
  },
4780
4782
  configurable: !0,
4781
4783
  enumerable: !0
4782
4784
  });
4783
4785
  }
4784
4786
  }
4785
- if (Mr(e, c.value.watch ?? [], x), k) {
4786
- if (await Ur(
4787
+ if (Dr(e, c.value.watch ?? [], v), k) {
4788
+ if (await Gr(
4787
4789
  e,
4788
4790
  c.value.lifeCycles ?? {},
4789
- x,
4791
+ v,
4790
4792
  s
4791
4793
  ), c.value.setup) {
4792
- const Q = x.__parseFunction(c.value.setup);
4794
+ const Q = v.__parseFunction(c.value.setup);
4793
4795
  if (K(Q))
4794
4796
  try {
4795
4797
  await Q();
@@ -4797,19 +4799,19 @@ function Et(t) {
4797
4799
  console.warn("[VTJ] Composition setup 执行失败", ue);
4798
4800
  }
4799
4801
  }
4800
- $r(e, c.value.provide ?? {}, x);
4802
+ Ur(e, c.value.provide ?? {}, v);
4801
4803
  }
4802
4804
  return {
4803
- vtj: x,
4804
- state: x.$state,
4805
+ vtj: v,
4806
+ state: v.$state,
4805
4807
  ...d,
4806
4808
  ...N,
4807
- ...C,
4809
+ ...w,
4808
4810
  ...D,
4809
4811
  ...de
4810
4812
  };
4811
4813
  },
4812
- emits: Nr(c.value.emits),
4814
+ emits: Rr(c.value.emits),
4813
4815
  expose: ["vtj", ...c.value.expose || []],
4814
4816
  render() {
4815
4817
  if (this.__vtjCircular)
@@ -4819,13 +4821,13 @@ function Et(t) {
4819
4821
  for (const g of Object.keys(f.refs)) this[g];
4820
4822
  if (f.reactives)
4821
4823
  for (const g of Object.keys(f.reactives)) {
4822
- const x = this[g];
4823
- if (x && typeof x == "object")
4824
- for (const k of Object.keys(x)) x[k];
4824
+ const v = this[g];
4825
+ if (v && typeof v == "object")
4826
+ for (const k of Object.keys(v)) v[k];
4825
4827
  }
4826
4828
  if (f.state) {
4827
4829
  const g = this.state;
4828
- for (const x of Object.keys(f.state)) g[x];
4830
+ for (const v of Object.keys(f.state)) g[v];
4829
4831
  }
4830
4832
  if (f.computed)
4831
4833
  for (const g of Object.keys(f.computed)) this[g];
@@ -4833,33 +4835,40 @@ function Et(t) {
4833
4835
  for (const g of f.inject) this[g.name];
4834
4836
  if (f.props && f.props.length > 0)
4835
4837
  for (const g of f.props) {
4836
- const x = typeof g == "string" ? g : g.name;
4837
- this[x];
4838
+ const v = typeof g == "string" ? g : g.name;
4839
+ this[v];
4838
4840
  }
4839
4841
  if (!f.nodes) return null;
4840
4842
  const m = f.nodes || [];
4841
- let v;
4843
+ let x;
4842
4844
  if (m.length === 1)
4843
- v = _e(m[0], d, e, u, m);
4845
+ x = _e(m[0], d, e, u, m);
4844
4846
  else {
4845
- const g = m.map((x) => _e(x, d, e, u, m)).flat();
4846
- v = e.createVNode("div", {}, g);
4847
+ const g = m.map((v) => _e(v, d, e, u, m)).flat();
4848
+ x = e.createVNode("div", {}, g);
4847
4849
  }
4848
- return d !== h && (h.__contextRefs = d.__contextRefs), v;
4850
+ return fs(d, h), x;
4849
4851
  },
4850
4852
  // Options 模式下生命周期以 Options 风格注册
4851
- ...c.value.apiMode !== "composition" ? Gr(c.value.lifeCycles ?? {}, h) : {}
4853
+ ...c.value.apiMode !== "composition" ? qr(c.value.lifeCycles ?? {}, h) : {}
4852
4854
  });
4853
4855
  return {
4854
4856
  renderer: e.markRaw(p),
4855
4857
  context: h
4856
4858
  };
4857
4859
  }
4858
- function Nr(t = []) {
4860
+ function fs(t, e) {
4861
+ if (t !== e) {
4862
+ e.__contextRefs = t.__contextRefs, e.__refs = t.__refs, e.$refs = t.$refs, e.$state = t.$state, e.$props = t.$props, e.$uni = t.$uni, e.$getApp = t.$getApp, e.$provider = t.$provider;
4863
+ for (const s of _t)
4864
+ e[s] = t[s];
4865
+ }
4866
+ }
4867
+ function Rr(t = []) {
4859
4868
  return t.map((e) => te(e) ? e : e.name);
4860
4869
  }
4861
- function Rr(t = [], e) {
4862
- const s = (i) => i ? (Array.isArray(i) ? i : [i]).map((n) => Si[n]) : void 0;
4870
+ function Vr(t = [], e) {
4871
+ const s = (i) => i ? (Array.isArray(i) ? i : [i]).map((n) => wi[n]) : void 0;
4863
4872
  return t.map((i) => te(i) ? {
4864
4873
  name: i
4865
4874
  } : {
@@ -4876,7 +4885,7 @@ function Rr(t = [], e) {
4876
4885
  {}
4877
4886
  );
4878
4887
  }
4879
- function Vr(t, e, s) {
4888
+ function Or(t, e, s) {
4880
4889
  return t.reactive(
4881
4890
  Object.keys(e || {}).reduce(
4882
4891
  (i, r) => {
@@ -4887,19 +4896,19 @@ function Vr(t, e, s) {
4887
4896
  )
4888
4897
  );
4889
4898
  }
4890
- function Or(t, e, s) {
4899
+ function Fr(t, e, s) {
4891
4900
  return Object.entries(e ?? {}).reduce(
4892
4901
  (i, [r, n]) => (F(n) ? i[r] = t.computed(s.__parseFunction(n)) : i[r] = t.computed(s.__parseExpression(n)), i),
4893
4902
  {}
4894
4903
  );
4895
4904
  }
4896
- function Fr(t, e) {
4905
+ function Lr(t, e) {
4897
4906
  return Object.entries(t ?? {}).reduce(
4898
4907
  (s, [i, r]) => (s[i] = e.__parseFunction(r), s),
4899
4908
  {}
4900
4909
  );
4901
4910
  }
4902
- function Lr(t, e = [], s) {
4911
+ function jr(t, e = [], s) {
4903
4912
  return e.reduce(
4904
4913
  (i, r) => {
4905
4914
  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;
@@ -4908,12 +4917,12 @@ function Lr(t, e = [], s) {
4908
4917
  {}
4909
4918
  );
4910
4919
  }
4911
- function jr(t, e) {
4920
+ function Mr(t, e) {
4912
4921
  return Object.keys(t).reduce(
4913
4922
  (s, i) => {
4914
4923
  const r = t[i];
4915
4924
  if (r.type === "mock")
4916
- s[i] = Pr(r);
4925
+ s[i] = Tr(r);
4917
4926
  else if (r.ref) {
4918
4927
  const n = e.$apis[r.ref], a = F(r.transform) ? r.transform.value ? e.__parseFunction(r.transform) : void 0 : r.transform;
4919
4928
  s[i] = async (...u) => {
@@ -4926,7 +4935,7 @@ function jr(t, e) {
4926
4935
  {}
4927
4936
  );
4928
4937
  }
4929
- function Mr(t, e = [], s) {
4938
+ function Dr(t, e = [], s) {
4930
4939
  e.forEach((i) => {
4931
4940
  t.watch(
4932
4941
  s.__parseExpression(i.source),
@@ -4939,7 +4948,7 @@ function Mr(t, e = [], s) {
4939
4948
  );
4940
4949
  });
4941
4950
  }
4942
- function Dr(t, e, s) {
4951
+ function Br(t, e, s) {
4943
4952
  return Object.entries(e).reduce(
4944
4953
  (i, [r, n]) => {
4945
4954
  const a = R(n) ? s.__parseExpression(n) : n;
@@ -4948,7 +4957,7 @@ function Dr(t, e, s) {
4948
4957
  {}
4949
4958
  );
4950
4959
  }
4951
- function Br(t, e, s) {
4960
+ function $r(t, e, s) {
4952
4961
  return Object.entries(e).reduce(
4953
4962
  (i, [r, n]) => {
4954
4963
  const a = R(n) ? s.__parseExpression(n) : n;
@@ -4980,13 +4989,13 @@ function Hr(t, e) {
4980
4989
  {}
4981
4990
  );
4982
4991
  }
4983
- function $r(t, e, s) {
4992
+ function Ur(t, e, s) {
4984
4993
  Object.entries(e).forEach(([i, r]) => {
4985
4994
  let n = r;
4986
4995
  R(r) ? n = s.__parseExpression(r) : F(r) && (n = s.__parseFunction(r)), t.provide(i, n);
4987
4996
  });
4988
4997
  }
4989
- async function Ur(t, e, s, i = {}) {
4998
+ async function Gr(t, e, s, i = {}) {
4990
4999
  const r = {
4991
5000
  beforeMount: "onBeforeMount",
4992
5001
  mounted: "onMounted",
@@ -5025,7 +5034,7 @@ async function Ur(t, e, s, i = {}) {
5025
5034
  console.warn(`[VTJ] 无效的 Composition 生命周期钩子 "${n}"`);
5026
5035
  }
5027
5036
  }
5028
- function Gr(t, e) {
5037
+ function qr(t, e) {
5029
5038
  return Object.entries(t ?? {}).reduce(
5030
5039
  (s, [i, r]) => (s[i] = async function() {
5031
5040
  const a = (this?.vtj || e).__parseFunction(r);
@@ -5034,7 +5043,7 @@ function Gr(t, e) {
5034
5043
  {}
5035
5044
  );
5036
5045
  }
5037
- class qr {
5046
+ class Wr {
5038
5047
  __props = {};
5039
5048
  __events = {};
5040
5049
  __nodes = {};
@@ -5096,18 +5105,18 @@ class qr {
5096
5105
  this.__props = {}, this.__events = {}, this.__nodes = {};
5097
5106
  }
5098
5107
  }
5099
- const we = new qr(), ei = new mi();
5108
+ const Ce = new Wr(), ti = new gi();
5100
5109
  let dt = [], le = {}, Ee = {};
5101
- const Wr = (t, e) => e;
5102
- async function ti(t, e = globalThis) {
5110
+ const Kr = (t, e) => e;
5111
+ async function si(t, e = globalThis) {
5103
5112
  const { urls: s = [], library: i } = t, r = s.filter((u) => Ye(u));
5104
5113
  if (r.length === 0 || !i) return null;
5105
5114
  const n = s.filter((u) => Qe(u));
5106
- return n.length && ys(n, e), await _s(r, i, e).catch(
5115
+ return n.length && _s(n, e), await Ss(r, i, e).catch(
5107
5116
  (u) => (console.warn("loadScriptUrl error", r, i, u), null)
5108
5117
  );
5109
5118
  }
5110
- function kt(t) {
5119
+ function It(t) {
5111
5120
  const { getDsl: e, getDslByUrl: s, options: i } = t;
5112
5121
  return i.window && (dt.forEach((r) => {
5113
5122
  delete i.window[r];
@@ -5116,34 +5125,34 @@ function kt(t) {
5116
5125
  let c = "";
5117
5126
  if (a.type === "Schema" && a.id)
5118
5127
  return c = a.id + "_" + r, Ee[c] || (Ee[c] = u.defineAsyncComponent(async () => {
5119
- const l = le[a.id] || await ei.add(
5128
+ const l = le[a.id] || await ti.add(
5120
5129
  a.id,
5121
5130
  () => e(a.id)
5122
5131
  );
5123
- return l && (l.name = n, le[a.id] = l), l ? Et({
5132
+ return l && (l.name = n, le[a.id] = l), l ? kt({
5124
5133
  Vue: u,
5125
5134
  mode: T.Runtime,
5126
5135
  ...i,
5127
- dsl: Zt(l),
5128
- loader: kt(t)
5136
+ dsl: es(l),
5137
+ loader: It(t)
5129
5138
  }).renderer : null;
5130
5139
  }));
5131
5140
  if (a.type === "UrlSchema" && a.url)
5132
5141
  return c = a.url + "_" + r, Ee[c] || (Ee[c] = u.defineAsyncComponent(async () => {
5133
5142
  const l = le[a.url] || await s(a.url);
5134
- return l && (l.name = n, le[a.url] = l), l ? Et({
5143
+ return l && (l.name = n, le[a.url] = l), l ? kt({
5135
5144
  ...i,
5136
5145
  Vue: u,
5137
- dsl: Zt(l),
5146
+ dsl: es(l),
5138
5147
  mode: T.Runtime,
5139
- loader: kt(t)
5148
+ loader: It(t)
5140
5149
  }).renderer : null;
5141
5150
  }));
5142
5151
  if (a.type === "Plugin") {
5143
5152
  let l = a.library ? le[a.library] : null;
5144
5153
  return l || (a.library && dt.push(a.library), l = le[a.library || Symbol()] = u.defineAsyncComponent(
5145
5154
  async () => {
5146
- const h = await ti(a, i.window);
5155
+ const h = await si(a, i.window);
5147
5156
  return h || (console.warn("getPlugin result is null", a), null);
5148
5157
  }
5149
5158
  ), l);
@@ -5151,71 +5160,71 @@ function kt(t) {
5151
5160
  return n;
5152
5161
  };
5153
5162
  }
5154
- function Bn() {
5155
- le = {}, Ee = {}, ei.clearAllCache(), we.clear();
5163
+ function $n() {
5164
+ le = {}, Ee = {}, ti.clearAllCache(), Ce.clear();
5156
5165
  }
5157
- function _e(t, e, s = be, i = Wr, r = [], n = !1, a = 0) {
5166
+ function _e(t, e, s = be, i = Kr, r = [], n = !1, a = 0) {
5158
5167
  if (!t || !t.name || t.invisible) return null;
5159
- const u = s.getCurrentInstance()?.appContext, { id: c = null, directives: l = [] } = t, { vIf: h, vElseIf: p, vElse: d, vFor: f, vShow: m, vModels: v, vBind: g, vHtml: x, others: k } = si(l);
5168
+ 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 } = ii(l);
5160
5169
  if (!n && (p || d))
5161
5170
  return null;
5162
- if (h && !zr(h, e))
5163
- return en(t, e, s, i, r);
5164
- const N = (C, D = 0) => {
5165
- const de = C.$components, Se = (() => {
5171
+ if (h && !Jr(h, e))
5172
+ return tn(t, e, s, i, r);
5173
+ const N = (w, D = 0) => {
5174
+ const de = w.$components, Se = (() => {
5166
5175
  if (t.name === "component")
5167
- return Jr(C, t.props?.is);
5176
+ return Qr(w, t.props?.is);
5168
5177
  if (t.name === "slot") return t.name;
5169
5178
  const P = i(`${t.id}_${D}`, t.name, t.from, s);
5170
- return te(P) ? Fi(P) || Li(P) ? P : de[P] ?? u?.app?.component(P) ?? P : P;
5171
- })(), J = Qr(c, t.props ?? {}, C), Me = Zr(
5179
+ return te(P) ? Li(P) || ji(P) ? P : de[P] ?? u?.app?.component(P) ?? P : P;
5180
+ })(), J = Yr(c, t.props ?? {}, w), Me = en(
5172
5181
  s,
5173
5182
  t.id,
5174
5183
  t.events ?? {},
5175
- C
5184
+ w
5176
5185
  );
5177
5186
  if (t.name === "slot")
5178
- return tn(s, t, J, C, i);
5179
- g && Object.assign(J, C.__parseExpression(g.value)), m && (J.style = Object.assign(
5187
+ return sn(s, t, J, w, i);
5188
+ g && Object.assign(J, w.__parseExpression(g.value)), m && (J.style = Object.assign(
5180
5189
  J.style ?? {},
5181
- rn(m, C)
5182
- )), x && Object.assign(J, nn(x, C)), v.forEach((P) => {
5183
- vs.includes(t.name) ? Object.assign(J, an(P, C)) : Object.assign(J, on(s, P, C));
5190
+ nn(m, w)
5191
+ )), v && Object.assign(J, an(v, w)), x.forEach((P) => {
5192
+ bs.includes(t.name) ? Object.assign(J, on(P, w)) : Object.assign(J, un(s, P, w));
5184
5193
  });
5185
- const rt = un(
5194
+ const rt = cn(
5186
5195
  s,
5187
5196
  t.children ?? [],
5188
- C,
5197
+ w,
5189
5198
  i,
5190
5199
  t
5191
- ), Q = C?.__id ? `data-v-${C.__id}` : void 0, ue = Q ? { [Q]: "" } : {}, Ce = C.__mode === T.Design ? { "data-vtj": c } : {}, { ref: Kt, ...De } = J, oi = Object.keys(De).filter(
5200
+ ), Q = w?.__id ? `data-v-${w.__id}` : void 0, ue = Q ? { [Q]: "" } : {}, we = w.__mode === T.Design ? { "data-vtj": c } : {}, { ref: zt, ...De } = J, ui = Object.keys(De).filter(
5192
5201
  (P) => P.startsWith("on")
5193
- ), zt = {}, Jt = {};
5202
+ ), Jt = {}, Qt = {};
5194
5203
  for (const P of Object.keys(De))
5195
- oi.includes(P) ? zt[P] = De[P] : Jt[P] = De[P];
5204
+ ui.includes(P) ? Jt[P] = De[P] : Qt[P] = De[P];
5196
5205
  const Be = `${c}_${D}`, nt = {
5197
5206
  key: Be,
5198
5207
  ...ue,
5199
- ...Ce,
5200
- ...Jt
5208
+ ...we,
5209
+ ...Qt
5201
5210
  };
5202
- we.isNodeEqual(nt, we.getNode(Be)) || we.setNode(Be, nt);
5211
+ Ce.isNodeEqual(nt, Ce.getNode(Be)) || Ce.setNode(Be, nt);
5203
5212
  let at = s.createVNode(
5204
5213
  Se,
5205
5214
  {
5206
- ...we.getNode(Be) || nt,
5207
- ref: Kt,
5208
- ...zt,
5215
+ ...Ce.getNode(Be) || nt,
5216
+ ref: zt,
5217
+ ...Jt,
5209
5218
  ...Me
5210
5219
  },
5211
5220
  rt
5212
5221
  );
5213
- const Qt = u ? Kr(u, k, C) : [];
5214
- return Qt.length && (at = s.withDirectives(at, Qt)), at;
5222
+ const Yt = u ? zr(u, k, w) : [];
5223
+ return Yt.length && (at = s.withDirectives(at, Yt)), at;
5215
5224
  };
5216
- return f ? hn(f, N, e) : N(e, a);
5225
+ return f ? pn(f, N, e) : N(e, a);
5217
5226
  }
5218
- function Kr(t, e, s) {
5227
+ function zr(t, e, s) {
5219
5228
  const i = t.app;
5220
5229
  return e.map((r) => {
5221
5230
  const n = typeof r.name == "string" ? i.directive(r.name) : s.__parseExpression(r.name);
@@ -5224,13 +5233,13 @@ function Kr(t, e, s) {
5224
5233
  return r.value && a.push(s.__parseExpression(r.value)), r.arg && a.push(r.arg), r.modifiers && a.push(r.modifiers), a;
5225
5234
  }).filter((r) => !!r);
5226
5235
  }
5227
- function si(t = []) {
5236
+ function ii(t = []) {
5228
5237
  const e = t.find((h) => Z(h.name) === "vIf"), s = t.find(
5229
5238
  (h) => Z(h.name) === "vElseIf"
5230
5239
  ), i = t.find((h) => Z(h.name) === "vElse"), r = t.find((h) => Z(h.name) === "vFor"), n = t.find((h) => Z(h.name) === "vShow"), a = t.find((h) => Z(h.name) === "vBind"), u = t.find((h) => Z(h.name) === "vHtml"), c = t.filter(
5231
5240
  (h) => Z(h.name) === "vModel"
5232
5241
  ), l = t.filter(
5233
- (h) => !_i.includes(Z(h.name))
5242
+ (h) => !Si.includes(Z(h.name))
5234
5243
  );
5235
5244
  return {
5236
5245
  vIf: e,
@@ -5244,44 +5253,44 @@ function si(t = []) {
5244
5253
  vHtml: u
5245
5254
  };
5246
5255
  }
5247
- function zr(t, e) {
5256
+ function Jr(t, e) {
5248
5257
  return !!e.__parseExpression(t.value);
5249
5258
  }
5250
- function Jr(t, e) {
5259
+ function Qr(t, e) {
5251
5260
  return e ? R(e) ? t.__parseExpression(e) : e : "div";
5252
5261
  }
5253
- function Qr(t, e, s) {
5254
- const i = It(e, s);
5262
+ function Yr(t, e, s) {
5263
+ const i = At(e, s);
5255
5264
  return i.ref = s.__ref(t, i.ref), i;
5256
5265
  }
5257
- function It(t, e) {
5258
- return R(t) ? e.__parseExpression(t) : F(t) ? e.__parseFunction(t) : Array.isArray(t) ? t.map((s) => It(s, e)) : typeof t == "object" ? Object.keys(t || {}).reduce(
5266
+ function At(t, e) {
5267
+ return R(t) ? e.__parseExpression(t) : F(t) ? e.__parseFunction(t) : Array.isArray(t) ? t.map((s) => At(s, e)) : typeof t == "object" ? Object.keys(t || {}).reduce(
5259
5268
  (s, i) => {
5260
5269
  let r = t[i];
5261
- return s[i] = It(r, e), s;
5270
+ return s[i] = At(r, e), s;
5262
5271
  },
5263
5272
  {}
5264
5273
  ) : t;
5265
5274
  }
5266
- function Yr(t, e) {
5275
+ function Xr(t, e) {
5267
5276
  return (s) => {
5268
5277
  s?.key?.toLowerCase() === e.toLowerCase() && t(s);
5269
5278
  };
5270
5279
  }
5271
- function Xr(t) {
5272
- return ji(t.value) ? t : Mi(t.value) ? {
5280
+ function Zr(t) {
5281
+ return Mi(t.value) ? t : Di(t.value) ? {
5273
5282
  type: "JSFunction",
5274
5283
  value: `(...args) => (() => {
5275
5284
  return (($event) => {
5276
5285
  ${t.value}
5277
5286
  }).apply(this, args);
5278
5287
  })()`
5279
- } : Di(t.value) ? {
5288
+ } : Bi(t.value) ? {
5280
5289
  type: "JSFunction",
5281
5290
  value: `() => { ${t.value}}`
5282
5291
  } : t;
5283
5292
  }
5284
- function Zr(t, e, s, i) {
5293
+ function en(t, e, s, i) {
5285
5294
  const r = ["passive", "capture", "once"], n = {
5286
5295
  capture: "Capture",
5287
5296
  once: "Once",
@@ -5289,19 +5298,19 @@ function Zr(t, e, s, i) {
5289
5298
  };
5290
5299
  return Object.keys(s || {}).reduce(
5291
5300
  (u, c) => {
5292
- const l = s[c], h = ii(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;
5301
+ const l = s[c], h = ri(l.modifiers), p = h.find((m) => r.includes(m)), d = "on" + vi(c) + (p && n[p] || ""), f = l.handler ? i.__parseFunction(Zr(l.handler)) : null;
5293
5302
  return f && (u[d] = t.withModifiers(
5294
- h.includes("enter") ? Yr(f, "enter") : f,
5303
+ h.includes("enter") ? Xr(f, "enter") : f,
5295
5304
  h
5296
5305
  )), u;
5297
5306
  },
5298
5307
  {}
5299
5308
  );
5300
5309
  }
5301
- function en(t, e, s, i, r = []) {
5310
+ function tn(t, e, s, i, r = []) {
5302
5311
  let n = r.findIndex((a) => a.id === t.id);
5303
5312
  for (let a = ++n; a < r.length; a++) {
5304
- const { directives: u = [] } = r[a], { vIf: c, vElseIf: l, vElse: h } = si(u);
5313
+ const { directives: u = [] } = r[a], { vIf: c, vElseIf: l, vElse: h } = ii(u);
5305
5314
  if (c)
5306
5315
  break;
5307
5316
  if (l) {
@@ -5314,36 +5323,36 @@ function en(t, e, s, i, r = []) {
5314
5323
  }
5315
5324
  return null;
5316
5325
  }
5317
- function ii(t = {}, e = !1) {
5326
+ function ri(t = {}, e = !1) {
5318
5327
  const s = Object.keys(t);
5319
5328
  return e ? s.map((i) => "." + i) : s;
5320
5329
  }
5321
- function tn(t, e, s, i, r) {
5322
- const { children: n } = e, a = sn(e, i), u = i.$slots?.[a.name];
5330
+ function sn(t, e, s, i, r) {
5331
+ const { children: n } = e, a = rn(e, i), u = i.$slots?.[a.name];
5323
5332
  return u ? u(s) : n ? te(n) ? t.createTextVNode(n) : R(n) ? t.createTextVNode(
5324
- bs(i.__parseExpression(n))
5333
+ ys(i.__parseExpression(n))
5325
5334
  ) : Array.isArray(n) ? n.map(
5326
5335
  (c, l) => _e(c, i, t, r, n, !1, l)
5327
5336
  ) : null : null;
5328
5337
  }
5329
- function sn(t, e) {
5338
+ function rn(t, e) {
5330
5339
  const { props: s } = t, i = s?.name || "default";
5331
5340
  return {
5332
5341
  name: R(i) ? e.__parseExpression(i) : i,
5333
5342
  params: []
5334
5343
  };
5335
5344
  }
5336
- function rn(t, e) {
5345
+ function nn(t, e) {
5337
5346
  return e.__parseExpression(t.value) ? {} : {
5338
5347
  display: "none"
5339
5348
  };
5340
5349
  }
5341
- function nn(t, e) {
5350
+ function an(t, e) {
5342
5351
  return {
5343
5352
  innerHTML: e.__parseExpression(t.value) || ""
5344
5353
  };
5345
5354
  }
5346
- function an(t, e) {
5355
+ function on(t, e) {
5347
5356
  const s = {
5348
5357
  type: "JSFunction",
5349
5358
  value: t.value?.value ? `(v) => {
@@ -5355,13 +5364,13 @@ function an(t, e) {
5355
5364
  onInput: e.__parseFunction(s)
5356
5365
  };
5357
5366
  }
5358
- function on(t, e, s) {
5367
+ function un(t, e, s) {
5359
5368
  const i = {
5360
5369
  type: "JSFunction",
5361
5370
  value: e.value?.value ? `(v) => {
5362
5371
  ${e.value.value} = v;
5363
5372
  }` : "(v) => {}"
5364
- }, r = s.__parseFunction(i), n = ii(
5373
+ }, r = s.__parseFunction(i), n = ri(
5365
5374
  R(e.modifiers) ? s.__parseExpression(e.modifiers) : e.modifiers
5366
5375
  ), a = R(e.arg) ? s.__parseExpression(e.arg) : e.arg || "modelValue";
5367
5376
  return {
@@ -5369,16 +5378,16 @@ function on(t, e, s) {
5369
5378
  [`onUpdate:${a}`]: n.length && r ? t.withModifiers(r, n) : r
5370
5379
  };
5371
5380
  }
5372
- function un(t, e, s, i, r) {
5381
+ function cn(t, e, s, i, r) {
5373
5382
  if (!e) return null;
5374
5383
  if (te(e))
5375
5384
  return { default: () => e };
5376
5385
  if (R(e))
5377
5386
  return {
5378
- default: () => bs(s.__parseExpression(e))
5387
+ default: () => ys(s.__parseExpression(e))
5379
5388
  };
5380
5389
  if (Array.isArray(e) && e.length > 0) {
5381
- const n = cn(e), a = (u, c) => !u || !r ? {} : r?.id && Object.keys(u).length ? c ? {
5390
+ const n = ln(e), a = (u, c) => !u || !r ? {} : r?.id && Object.keys(u).length ? c ? {
5382
5391
  [c]: u
5383
5392
  } : {
5384
5393
  [`scope_${r.id}`]: u
@@ -5387,14 +5396,14 @@ function un(t, e, s, i, r) {
5387
5396
  (u, [c, { nodes: l, params: h, scope: p }]) => (u[c] = (d) => {
5388
5397
  const f = h.length ? xi(d ?? {}, h) : a(d, p);
5389
5398
  return l.map(
5390
- (m, v) => _e(
5399
+ (m, x) => _e(
5391
5400
  m,
5392
5401
  s.__clone(f),
5393
5402
  t,
5394
5403
  i,
5395
5404
  l,
5396
5405
  !1,
5397
- v
5406
+ x
5398
5407
  )
5399
5408
  );
5400
5409
  }, u),
@@ -5403,10 +5412,10 @@ function un(t, e, s, i, r) {
5403
5412
  }
5404
5413
  return null;
5405
5414
  }
5406
- function cn(t) {
5415
+ function ln(t) {
5407
5416
  const e = {};
5408
5417
  for (const s of t) {
5409
- const i = ln(s.slot), r = i.name;
5418
+ const i = hn(s.slot), r = i.name;
5410
5419
  e[r] ? (e[r].nodes.push(s), e[r].params = e[r].params.concat(i.params), e[r].scope = i.scope || "") : e[r] = {
5411
5420
  nodes: [s],
5412
5421
  params: i.params,
@@ -5415,18 +5424,18 @@ function cn(t) {
5415
5424
  }
5416
5425
  return e;
5417
5426
  }
5418
- function ln(t = "default") {
5427
+ function hn(t = "default") {
5419
5428
  return te(t) ? { name: t, params: [], scope: "" } : { params: [], scope: "", ...t };
5420
5429
  }
5421
- function hn(t, e, s) {
5430
+ function pn(t, e, s) {
5422
5431
  const { value: i, iterator: r } = t, { item: n = "item", index: a = "index" } = r || {};
5423
5432
  let u = s.__parseExpression(i) || [];
5424
5433
  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`), []);
5425
5434
  }
5426
- const mt = gs({
5435
+ const mt = vs({
5427
5436
  name: "VtjPageContainer",
5428
5437
  async setup() {
5429
- const t = ni(), e = xs(), s = e.meta.__vtj__ || e.params.id, i = s ? t.getPage(s) : t.getHomepage(), r = i ? await t.getRenderComponent(i.id) : null, n = yt(Symbol());
5438
+ const t = ai(), e = xs(), s = e.meta.__vtj__ || e.params.id, i = s ? t.getPage(s) : t.getHomepage(), r = i ? await t.getRenderComponent(i.id) : null, n = yt(Symbol());
5430
5439
  if (i) {
5431
5440
  Object.assign(e.meta, i.meta || {}, { cache: i.cache });
5432
5441
  const { useTitle: a } = t?.adapter;
@@ -5456,7 +5465,7 @@ const mt = gs({
5456
5465
  activated() {
5457
5466
  this.meta.cache === !1 && (this.sid = Symbol());
5458
5467
  }
5459
- }), pn = gs({
5468
+ }), fn = vs({
5460
5469
  name: "VtjStartupContainer",
5461
5470
  render() {
5462
5471
  return bt("div", "page not found!");
@@ -5483,12 +5492,12 @@ function Je(t, e, s = []) {
5483
5492
  }
5484
5493
  return i;
5485
5494
  }
5486
- function ri(t, e) {
5495
+ function ni(t, e) {
5487
5496
  if (!e) return t;
5488
5497
  let s = [];
5489
5498
  for (const i of t)
5490
5499
  if (i.children && i.children.length) {
5491
- const r = ri(i.children, e);
5500
+ const r = ni(i.children, e);
5492
5501
  r.length && (i.children = r, s.push(i));
5493
5502
  } else
5494
5503
  e.can(i.id.toString()) && s.push(i);
@@ -5499,24 +5508,24 @@ function Hn(t) {
5499
5508
  menuPathPrefix: e = "",
5500
5509
  pageRouteName: s = "page",
5501
5510
  disableMenusFilter: i = !1
5502
- } = t || {}, r = ni(), n = xs(), a = wr(), u = yt(!1), c = yt(!1), l = r.project, h = (f, m) => {
5511
+ } = t || {}, r = ai(), n = xs(), a = Er(), u = yt(!1), c = yt(!1), l = r.project, h = (f, m) => {
5503
5512
  u.value = !f?.mask, c.value = m?.pure ?? !!f?.pure;
5504
5513
  };
5505
- yi(() => {
5506
- const { name: f, params: m, meta: v } = n;
5514
+ _i(() => {
5515
+ const { name: f, params: m, meta: x } = n;
5507
5516
  if (f === Ie) {
5508
5517
  const g = r.getPage(m.id);
5509
- h(g, v);
5518
+ h(g, x);
5510
5519
  } else if (f === Ge) {
5511
5520
  const g = r.getHomepage();
5512
- h(g, v);
5521
+ h(g, x);
5513
5522
  } else {
5514
- const g = v.__vtj__;
5523
+ const g = x.__vtj__;
5515
5524
  if (g) {
5516
- const x = r.getPage(g);
5517
- h(x, v);
5525
+ const v = r.getPage(g);
5526
+ h(v, x);
5518
5527
  } else
5519
- u.value = !v.mask, c.value = !!v.pure;
5528
+ u.value = !x.mask, c.value = !!x.pure;
5520
5529
  }
5521
5530
  });
5522
5531
  const p = Je(
@@ -5529,7 +5538,7 @@ function Hn(t) {
5529
5538
  logo: d?.logo,
5530
5539
  themeSwitchable: d?.themeSwitchable,
5531
5540
  title: d?.title || l?.description || l?.name || "VTJ App",
5532
- menus: i ? p : ri(p, a),
5541
+ menus: i ? p : ni(p, a),
5533
5542
  pure: c
5534
5543
  };
5535
5544
  }
@@ -5547,7 +5556,7 @@ function gt(t, e) {
5547
5556
  }
5548
5557
  };
5549
5558
  }
5550
- function At(t) {
5559
+ function Pt(t) {
5551
5560
  const {
5552
5561
  name: e = "page",
5553
5562
  prefix: s = "",
@@ -5558,9 +5567,9 @@ function At(t) {
5558
5567
  homepage: u
5559
5568
  } = t, c = [];
5560
5569
  for (const l of i) {
5561
- const { id: h, title: p, dir: d, layout: f, children: m, meta: v } = l;
5570
+ const { id: h, title: p, dir: d, layout: f, children: m, meta: x } = l;
5562
5571
  if (d) {
5563
- const g = At({
5572
+ const g = Pt({
5564
5573
  name: e,
5565
5574
  prefix: s,
5566
5575
  component: r,
@@ -5571,7 +5580,7 @@ function At(t) {
5571
5580
  });
5572
5581
  c.push(...g);
5573
5582
  } else if (f) {
5574
- const g = At({
5583
+ const g = Pt({
5575
5584
  name: e,
5576
5585
  prefix: s,
5577
5586
  component: r,
@@ -5579,19 +5588,19 @@ function At(t) {
5579
5588
  homepage: u,
5580
5589
  loader: n,
5581
5590
  pages: m || []
5582
- }), x = {
5591
+ }), v = {
5583
5592
  name: `layout_${h}`,
5584
5593
  path: s,
5585
5594
  component: () => n(h),
5586
5595
  meta: {
5587
5596
  title: p,
5588
5597
  ...a,
5589
- ...v,
5598
+ ...x,
5590
5599
  __vtj__: h
5591
5600
  },
5592
5601
  children: g
5593
5602
  };
5594
- c.push(x), c.push(gt(l, t));
5603
+ c.push(v), c.push(gt(l, t));
5595
5604
  } else if (c.push(gt(l, t)), u === h) {
5596
5605
  const g = gt(l, t);
5597
5606
  g.path = "", g.name = `home_${h}`, c.push(g);
@@ -5599,11 +5608,11 @@ function At(t) {
5599
5608
  }
5600
5609
  return c;
5601
5610
  }
5602
- function fn(t = {}, e) {
5611
+ function dn(t = {}, e) {
5603
5612
  const { css: s, store: i, enhance: r } = t, { window: n, app: a, library: u = {}, adapter: c, mode: l } = e, { Pinia: h } = u;
5604
- a.config.globalProperties.$libs = u, Nt(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);
5613
+ a.config.globalProperties.$libs = u, Rt(n, "global-css", s || ""), h && i && mn(i, a, h), vn(a, c, t), !c.access && t.access && gn(t.access, a, l, c), xn(a, t), r && bn(r, a, u);
5605
5614
  }
5606
- function dn(t, e, s) {
5615
+ function mn(t, e, s) {
5607
5616
  if (!e.config.globalProperties.$pinia) {
5608
5617
  const i = s.createPinia();
5609
5618
  e.use(i);
@@ -5613,9 +5622,9 @@ function dn(t, e, s) {
5613
5622
  e.config.globalProperties.$store = r();
5614
5623
  }
5615
5624
  }
5616
- function mn(t, e, s, i) {
5625
+ function gn(t, e, s, i) {
5617
5626
  if (F(t) && t.value) {
5618
- const r = z(t, {}, !1, !1, !0), { alert: n, request: a } = i, u = new Gt({
5627
+ const r = z(t, {}, !1, !1, !0), { alert: n, request: a } = i, u = new qt({
5619
5628
  alert: n,
5620
5629
  storagePrefix: "__VTJ_APP_",
5621
5630
  ...r(e)
@@ -5623,7 +5632,7 @@ function mn(t, e, s, i) {
5623
5632
  u.connect({ mode: s, router: c, request: a }), e.use(u);
5624
5633
  }
5625
5634
  }
5626
- function gn(t, e, s) {
5635
+ function vn(t, e, s) {
5627
5636
  if (!e.request) return;
5628
5637
  const { axios: i, request: r, response: n } = s;
5629
5638
  if (i && F(i) && i.value) {
@@ -5650,10 +5659,10 @@ function xn(t, e) {
5650
5659
  r && r.afterEach((a, u, c) => n(a, u, c, t));
5651
5660
  }
5652
5661
  }
5653
- function vn(t, e, s = {}) {
5662
+ function bn(t, e, s = {}) {
5654
5663
  F(t) && t.value && z(t, {}, !1, !1, !0)(e, s);
5655
5664
  }
5656
- function bn(t, e, s) {
5665
+ function yn(t, e, s) {
5657
5666
  if (!t || !e || !s) return;
5658
5667
  const { VueI18n: i } = e;
5659
5668
  if (i) {
@@ -5672,9 +5681,9 @@ function bn(t, e, s) {
5672
5681
  t.use(c);
5673
5682
  }
5674
5683
  }
5675
- const qt = Symbol("Provider");
5676
- var yn = /* @__PURE__ */ ((t) => (t.Production = "production", t.Development = "development", t))(yn || {});
5677
- class _n extends ui {
5684
+ const Wt = Symbol("Provider");
5685
+ var _n = /* @__PURE__ */ ((t) => (t.Production = "production", t.Development = "development", t))(_n || {});
5686
+ class Sn extends ci {
5678
5687
  /**
5679
5688
  * 创建Provider实例
5680
5689
  * @param options 配置选项
@@ -5705,7 +5714,7 @@ class _n extends ui {
5705
5714
  // 全局变量
5706
5715
  modules = {};
5707
5716
  // 异步模块加载器
5708
- adapter = { request: vt, jsonp: ms };
5717
+ adapter = { request: xt, jsonp: gs };
5709
5718
  // 适配器接口
5710
5719
  apis = {};
5711
5720
  // API集合
@@ -5743,7 +5752,7 @@ class _n extends ui {
5743
5752
  try {
5744
5753
  i = await e.apply(e, s);
5745
5754
  } catch (n) {
5746
- ve.warn("模拟数据模版异常", n);
5755
+ xe.warn("模拟数据模版异常", n);
5747
5756
  }
5748
5757
  const r = Te();
5749
5758
  return r || console.warn(
@@ -5766,7 +5775,7 @@ class _n extends ui {
5766
5775
  if (this.project = i ? await i() : await this.service.init(e), !this.project)
5767
5776
  throw new Error("project is null");
5768
5777
  const { apis: r = [], meta: n = [], env: a = [] } = this.project, u = globalThis;
5769
- 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), Zs(u), Ar(r, u), e.platform !== "uniapp" && this.initRouter(), this.triggerReady();
5778
+ 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 = Ar(r, n, this.adapter), ei(u), Pr(r, u), e.platform !== "uniapp" && this.initRouter(), this.triggerReady();
5770
5779
  }
5771
5780
  initMock(e) {
5772
5781
  const s = Te(e);
@@ -5794,26 +5803,26 @@ class _n extends ui {
5794
5803
  materialExports: d,
5795
5804
  materialMapLibrary: f,
5796
5805
  libraryLocaleMap: m
5797
- } = ki(
5806
+ } = Ii(
5798
5807
  s,
5799
5808
  a,
5800
5809
  u === "development"
5801
5810
  /* Development */
5802
5811
  );
5803
5812
  Object.assign(this.libraryLocaleMap, m);
5804
- for (const v of l) {
5805
- const g = i[v], x = e[v];
5806
- if (x)
5807
- r[v] = x;
5813
+ for (const x of l) {
5814
+ const g = i[x], v = e[x];
5815
+ if (v)
5816
+ r[x] = v;
5808
5817
  else if (g)
5809
- e[v] = r[v] = await g();
5818
+ e[x] = r[x] = await g();
5810
5819
  else {
5811
- const N = h[v] || [];
5812
- for (const C of N)
5813
- Qe(C) && await Vi(C, pe.append(C, { v: ke })), Ye(C) && await es(pe.append(C, { v: ke }));
5814
- r[v] = e[v];
5820
+ const N = h[x] || [];
5821
+ for (const w of N)
5822
+ Qe(w) && await Oi(w, pe.append(w, { v: ke })), Ye(w) && await ts(pe.append(w, { v: ke }));
5823
+ r[x] = e[x];
5815
5824
  }
5816
- const k = m[v];
5825
+ const k = m[x];
5817
5826
  if (k) {
5818
5827
  const N = i[k];
5819
5828
  c[k] = N ? await N() : e[k];
@@ -5821,18 +5830,18 @@ class _n extends ui {
5821
5830
  }
5822
5831
  if (u === "development") {
5823
5832
  for (const g of p)
5824
- await es(pe.append(g, { v: ke }));
5825
- const v = this.materials || {};
5833
+ await ts(pe.append(g, { v: ke }));
5834
+ const x = this.materials || {};
5826
5835
  for (const g of d) {
5827
- const x = e[f[g]], k = x?.default || x, N = ci[g];
5836
+ const v = e[f[g]], k = v?.default || v, N = li[g];
5828
5837
  if (N)
5829
- k && N.forEach((C) => {
5830
- n[C] = k[C];
5838
+ k && N.forEach((w) => {
5839
+ n[w] = k[w];
5831
5840
  });
5832
5841
  else {
5833
- const C = v[g] ? (await v[g]()).default : e[g];
5834
- C && k && (C.components || []).forEach((D) => {
5835
- n[D.name] = Ii(D, k);
5842
+ const w = x[g] ? (await x[g]()).default : e[g];
5843
+ w && k && (w.components || []).forEach((D) => {
5844
+ n[D.name] = Ai(D, k);
5836
5845
  });
5837
5846
  }
5838
5847
  }
@@ -5852,26 +5861,26 @@ class _n extends ui {
5852
5861
  }, p = this.getHomepage(), d = {
5853
5862
  path: l,
5854
5863
  name: Ge,
5855
- component: p ? mt : r.startupComponent || pn,
5864
+ component: p ? mt : r.startupComponent || fn,
5856
5865
  meta: c
5857
5866
  };
5858
5867
  if (e.hasRoute(Ie) && e.removeRoute(Ie), e.hasRoute(Ge) && e.removeRoute(Ge), i.enableStaticRoute) {
5859
5868
  const f = s?.pages || [];
5860
- At({
5869
+ Pt({
5861
5870
  name: u,
5862
5871
  prefix: l,
5863
5872
  pages: f,
5864
5873
  component: mt,
5865
5874
  loader: this.getRenderComponent.bind(this),
5866
5875
  homepage: p?.id
5867
- }).forEach((v) => {
5868
- a ? e.addRoute(a, v) : e.addRoute(v);
5876
+ }).forEach((x) => {
5877
+ a ? e.addRoute(a, x) : e.addRoute(x);
5869
5878
  }), p || (a ? e.addRoute(a, d) : e.addRoute(d));
5870
5879
  } else
5871
5880
  a ? (e.addRoute(a, h), e.addRoute(a, d)) : (e.addRoute(h), e.addRoute(d));
5872
5881
  }
5873
5882
  setErrorHandler(e) {
5874
- e.config.errorHandler = vi((s, i, r) => {
5883
+ e.config.errorHandler = bi((s, i, r) => {
5875
5884
  const n = i?.$options.name, a = typeof s == "string" ? s : s?.message || s?.msg || "未知错误", u = `[ ${n} ] ${a} ${r}`;
5876
5885
  if (!["getComputedStyle", "ResizeObserver"].some((l) => u.includes(l))) {
5877
5886
  try {
@@ -5903,11 +5912,11 @@ class _n extends ui {
5903
5912
  install(e) {
5904
5913
  const { libraryLocaleMap: s, libraryLocales: i } = this, { libraryOptions: r = {} } = this.options, n = e.config.globalProperties.installed || {};
5905
5914
  for (const [a, u] of Object.entries(this.library))
5906
- if (!n[a] && Oi(u)) {
5915
+ if (!n[a] && Fi(u)) {
5907
5916
  const l = { locale: i[s[a]] }, h = r[a] || {}, p = { ...l, ...h };
5908
5917
  e.use(u, p), n[a] = !0;
5909
5918
  }
5910
- e.provide(qt, 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 || {}, {
5919
+ e.provide(Wt, 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 || {}, {
5911
5920
  app: e,
5912
5921
  window: globalThis,
5913
5922
  adapter: this.adapter,
@@ -5994,12 +6003,12 @@ class _n extends ui {
5994
6003
  apis: a,
5995
6004
  window: globalThis,
5996
6005
  ...s
5997
- }, c = kt({
6006
+ }, c = It({
5998
6007
  getDsl: async (l) => await this.getDsl(l) || null,
5999
6008
  getDslByUrl: async (l) => await this.getDslByUrl(l) || null,
6000
6009
  options: u
6001
6010
  });
6002
- return Et({
6011
+ return kt({
6003
6012
  ...u,
6004
6013
  dsl: e,
6005
6014
  loader: c
@@ -6018,13 +6027,13 @@ class _n extends ui {
6018
6027
  async getRenderComponent(e, s) {
6019
6028
  const i = this.getFile(e);
6020
6029
  if (!i)
6021
- return ve.warn(`Can not find file: ${e}`), null;
6030
+ return xe.warn(`Can not find file: ${e}`), null;
6022
6031
  if (s && s(i), this.mode === T.Raw) {
6023
6032
  const { vtjRawDir: n = ".vtj/vue" } = this.options, a = `${n}/${e}.vue`, u = this.modules[a] || this.modules[`/src/pages/${e}.vue`];
6024
6033
  return u ? (await u())?.default : this.nodeEnv === "development" && this.adapter.startupComponent || null;
6025
6034
  }
6026
6035
  const r = await this.getDsl(i.id);
6027
- return r ? this.createDslRenderer(r).renderer : (ve.warn(`Can not find dsl: ${e}`), null);
6036
+ return r ? this.createDslRenderer(r).renderer : (xe.warn(`Can not find dsl: ${e}`), null);
6028
6037
  }
6029
6038
  /**
6030
6039
  * 定义基于URL的异步组件
@@ -6036,7 +6045,7 @@ class _n extends ui {
6036
6045
  * @returns Vue异步组件
6037
6046
  */
6038
6047
  defineUrlSchemaComponent(e, s) {
6039
- return ts(async () => {
6048
+ return ss(async () => {
6040
6049
  const i = await this.getDslByUrl(e);
6041
6050
  return i ? (i.name = s || i.name, this.createDslRenderer(i).renderer) : null;
6042
6051
  });
@@ -6049,7 +6058,7 @@ class _n extends ui {
6049
6058
  * @returns Vue异步组件
6050
6059
  */
6051
6060
  definePluginComponent(e) {
6052
- return ts(async () => await ti(e, globalThis));
6061
+ return ss(async () => await si(e, globalThis));
6053
6062
  }
6054
6063
  /**
6055
6064
  * 设置应用全局
@@ -6064,10 +6073,10 @@ class _n extends ui {
6064
6073
  },
6065
6074
  s
6066
6075
  );
6067
- fn(e, i);
6076
+ dn(e, i);
6068
6077
  }
6069
6078
  initI18n(e, s, i) {
6070
- bn(e, s, i);
6079
+ yn(e, s, i);
6071
6080
  }
6072
6081
  initEnv(e = []) {
6073
6082
  this.env = e.reduce(
@@ -6076,15 +6085,15 @@ class _n extends ui {
6076
6085
  );
6077
6086
  }
6078
6087
  }
6079
- function $n(t) {
6080
- const e = new _n(t);
6088
+ function Un(t) {
6089
+ const e = new Sn(t);
6081
6090
  return {
6082
6091
  provider: e,
6083
6092
  onReady: (i) => e.ready(i)
6084
6093
  };
6085
6094
  }
6086
- function ni(t = {}) {
6087
- const e = Tt(qt, null);
6095
+ function ai(t = {}) {
6096
+ const e = Nt(Wt, null);
6088
6097
  if (!e)
6089
6098
  throw new Error("Can not find provider");
6090
6099
  if (e.nodeEnv === "development") {
@@ -6101,38 +6110,38 @@ function ni(t = {}) {
6101
6110
  return e;
6102
6111
  }
6103
6112
  function je() {
6104
- return Tt(qt, null)?.globals ?? {};
6113
+ return Nt(Wt, null)?.globals ?? {};
6105
6114
  }
6106
- function Un() {
6115
+ function Gn() {
6107
6116
  return je().$store || {};
6108
6117
  }
6109
- function Gn() {
6118
+ function qn() {
6110
6119
  return je().$pinia || {};
6111
6120
  }
6112
- function qn() {
6121
+ function Wn() {
6113
6122
  return je().$request;
6114
6123
  }
6115
- function Wn() {
6124
+ function Kn() {
6116
6125
  return je().$libs || {};
6117
6126
  }
6118
- function Kn() {
6127
+ function zn() {
6119
6128
  return je().$apis || {};
6120
6129
  }
6121
- async function zn(t, e = "") {
6122
- const { name: s, urls: i = [] } = t || {}, r = i.map((u) => e + u), { css: n, js: a } = Ai(r);
6123
- if (n.length && ys(n), a.length)
6124
- return await _s(a, s).catch(
6130
+ async function Jn(t, e = "") {
6131
+ const { name: s, urls: i = [] } = t || {}, r = i.map((u) => e + u), { css: n, js: a } = Pi(r);
6132
+ if (n.length && _s(n), a.length)
6133
+ return await Ss(a, s).catch(
6125
6134
  () => {
6126
6135
  }
6127
6136
  );
6128
6137
  }
6129
- const ai = {
6138
+ const oi = {
6130
6139
  type: "json",
6131
6140
  validSuccess: !0,
6132
6141
  originResponse: !1,
6133
6142
  failMessage: !0,
6134
6143
  validate: (t) => t.data?.code === 0
6135
- }, Sn = (t, e = "/__vtj__/api/:type.json") => (s, i, r) => t.send({
6144
+ }, wn = (t, e = "/__vtj__/api/:type.json") => (s, i, r) => t.send({
6136
6145
  url: e,
6137
6146
  method: "post",
6138
6147
  params: { type: s },
@@ -6141,7 +6150,7 @@ const ai = {
6141
6150
  type: s,
6142
6151
  data: i
6143
6152
  },
6144
- settings: ai
6153
+ settings: oi
6145
6154
  }), Cn = (t, e = "/__vtj__/api/uploader.json") => async (s, i) => await t.send({
6146
6155
  url: e,
6147
6156
  method: "post",
@@ -6150,12 +6159,12 @@ const ai = {
6150
6159
  projectId: i
6151
6160
  },
6152
6161
  settings: {
6153
- ...ai,
6162
+ ...oi,
6154
6163
  type: "data"
6155
6164
  }
6156
6165
  }).then((r) => r && r[0] ? r[0] : null).catch(() => null);
6157
- function Jn(t) {
6158
- return ds({
6166
+ function Qn(t) {
6167
+ return ms({
6159
6168
  settings: {
6160
6169
  type: "json",
6161
6170
  validSuccess: !0,
@@ -6168,9 +6177,9 @@ function Jn(t) {
6168
6177
  }
6169
6178
  });
6170
6179
  }
6171
- class Wt {
6172
- constructor(e = vt) {
6173
- this.req = e, this.api = Sn(e), this.uploader = Cn(e);
6180
+ class Kt {
6181
+ constructor(e = xt) {
6182
+ this.req = e, this.api = wn(e), this.uploader = Cn(e);
6174
6183
  }
6175
6184
  api;
6176
6185
  pluginCaches = {};
@@ -6254,10 +6263,10 @@ class Wt {
6254
6263
  return await this.api("clearStaticFiles", e).catch(() => "");
6255
6264
  }
6256
6265
  async getPluginMaterial(e) {
6257
- const { urls: s = [] } = e, i = s.filter((n) => wi(n))[0];
6266
+ const { urls: s = [] } = e, i = s.filter((n) => Ei(n))[0];
6258
6267
  if (!i) return null;
6259
6268
  const r = this.pluginCaches[i];
6260
- return r || (this.pluginCaches[i] = vt.send({
6269
+ return r || (this.pluginCaches[i] = xt.send({
6261
6270
  url: i,
6262
6271
  method: "get",
6263
6272
  settings: {
@@ -6270,12 +6279,12 @@ class Wt {
6270
6279
  return console.log("BaseService.genSource", e), "";
6271
6280
  }
6272
6281
  }
6273
- const j = new bi({
6282
+ const j = new yi({
6274
6283
  type: "local",
6275
6284
  expired: 0,
6276
6285
  prefix: "__VTJ_"
6277
6286
  });
6278
- class Qn extends Wt {
6287
+ class Yn extends Kt {
6279
6288
  init(e) {
6280
6289
  const s = new qe(e), i = j.get(`project_${s.id}`), r = Object.assign(s.toDsl(), i || {});
6281
6290
  return j.save(`project_${s.id}`, r), Promise.resolve(r);
@@ -6285,7 +6294,7 @@ class Qn extends Wt {
6285
6294
  return j.save(`project_${s.id}`, s.toDsl()), Promise.resolve(!0);
6286
6295
  }
6287
6296
  saveMaterials(e, s) {
6288
- return j.save(`materials_${e.id}`, Pt(s)), Promise.resolve(!0);
6297
+ return j.save(`materials_${e.id}`, Tt(s)), Promise.resolve(!0);
6289
6298
  }
6290
6299
  saveFile(e) {
6291
6300
  return j.save(`file_${e.id}`, e), Promise.resolve(!0);
@@ -6309,7 +6318,7 @@ class Qn extends Wt {
6309
6318
  return Promise.resolve(!0);
6310
6319
  }
6311
6320
  getHistory(e) {
6312
- const s = j.get(`history_${e}`), i = new fs(s || { id: e });
6321
+ const s = j.get(`history_${e}`), i = new ds(s || { id: e });
6313
6322
  return Promise.resolve(i.toDsl());
6314
6323
  }
6315
6324
  getHistoryItem(e, s) {
@@ -6325,7 +6334,7 @@ class Qn extends Wt {
6325
6334
  }), Promise.resolve(!0);
6326
6335
  }
6327
6336
  }
6328
- class wn extends Wt {
6337
+ class En extends Kt {
6329
6338
  projects = {};
6330
6339
  materials = {};
6331
6340
  files = {};
@@ -6340,7 +6349,7 @@ class wn extends Wt {
6340
6349
  return this.projects[s.id] = s.toDsl(), Promise.resolve(!0);
6341
6350
  }
6342
6351
  saveMaterials(e, s) {
6343
- return e.id && (this.materials[e.id] = Pt(s)), Promise.resolve(!0);
6352
+ return e.id && (this.materials[e.id] = Tt(s)), Promise.resolve(!0);
6344
6353
  }
6345
6354
  saveFile(e) {
6346
6355
  return this.files[e.id] = e, Promise.resolve(!0);
@@ -6364,7 +6373,7 @@ class wn extends Wt {
6364
6373
  return Promise.resolve(!0);
6365
6374
  }
6366
6375
  getHistory(e) {
6367
- const s = this.histories[e], i = new fs(s || { id: e });
6376
+ const s = this.histories[e], i = new ds(s || { id: e });
6368
6377
  return Promise.resolve(i);
6369
6378
  }
6370
6379
  getHistoryItem(e, s) {
@@ -6383,10 +6392,10 @@ class wn extends Wt {
6383
6392
  }
6384
6393
  }
6385
6394
  let Ue = null;
6386
- function Yn() {
6387
- return Ue || (Ue = new wn(), Ue);
6395
+ function Xn() {
6396
+ return Ue || (Ue = new En(), Ue);
6388
6397
  }
6389
- class Xn extends Wt {
6398
+ class Zn extends Kt {
6390
6399
  getFileCaches = {};
6391
6400
  async getExtension() {
6392
6401
  return await this.api("getExtension", {}).catch(() => {
@@ -6403,7 +6412,7 @@ class Xn extends Wt {
6403
6412
  async saveMaterials(e, s) {
6404
6413
  return !!await this.api("saveMaterials", {
6405
6414
  project: e,
6406
- materials: Pt(s)
6415
+ materials: Tt(s)
6407
6416
  }).catch(() => !1);
6408
6417
  }
6409
6418
  async saveFile(e) {
@@ -6444,94 +6453,94 @@ class Xn extends Wt {
6444
6453
  }
6445
6454
  }
6446
6455
  export {
6447
- Rn as ACCESS,
6448
- Xs as ACCESS_KEY,
6449
- Gt as Access,
6456
+ Vn as ACCESS,
6457
+ Zs as ACCESS_KEY,
6458
+ qt as Access,
6450
6459
  Ci as BUILD_IN_TAGS,
6451
- _i as BUILT_IN_DIRECTIVES,
6452
- Wt as BaseService,
6453
- Tn as COMPOSITION_HOOKS_LIST,
6454
- ss as CONTEXT_HOST,
6460
+ Si as BUILT_IN_DIRECTIVES,
6461
+ Kt as BaseService,
6462
+ Nn as COMPOSITION_HOOKS_LIST,
6463
+ _t as CONTEXT_HOST,
6455
6464
  ps as Context,
6456
6465
  T as ContextMode,
6457
- Si as DATA_TYPES,
6466
+ wi as DATA_TYPES,
6458
6467
  Ge as HOMEPAGE_ROUTE_NAME,
6459
- vs as HTML_TAGS,
6460
- jn as JSCodeToString,
6461
- Pn as LIFE_CYCLES_LIST,
6462
- Xn as LocalService,
6463
- wn as MemoryService,
6464
- yn as NodeEnv,
6468
+ bs as HTML_TAGS,
6469
+ Mn as JSCodeToString,
6470
+ Tn as LIFE_CYCLES_LIST,
6471
+ Zn as LocalService,
6472
+ En as MemoryService,
6473
+ _n as NodeEnv,
6465
6474
  Ie as PAGE_ROUTE_NAME,
6466
- _n as Provider,
6467
- Nn as REMOTE,
6468
- Qn as StorageService,
6475
+ Sn as Provider,
6476
+ Rn as REMOTE,
6477
+ Yn as StorageService,
6469
6478
  ke as VTJ_RENDERER_VERSION,
6470
- Fn as adoptStylesToInline,
6471
- Nt as adoptedStyleSheets,
6472
- Bn as clearLoaderCache,
6473
- Pi as compileScopedCSS,
6474
- Ri as convertCssRpx,
6475
- Dn as createAccess,
6476
- Mn as createAdapter,
6477
- Vn as createAssetScripts,
6478
- On as createAssetsCss,
6479
- jr as createDataSources,
6480
- kt as createLoader,
6481
- Yn as createMemoryService,
6479
+ Ln as adoptStylesToInline,
6480
+ Rt as adoptedStyleSheets,
6481
+ $n as clearLoaderCache,
6482
+ Ti as compileScopedCSS,
6483
+ Vi as convertCssRpx,
6484
+ Bn as createAccess,
6485
+ Dn as createAdapter,
6486
+ On as createAssetScripts,
6487
+ Fn as createAssetsCss,
6488
+ Mr as createDataSources,
6489
+ It as createLoader,
6490
+ Xn as createMemoryService,
6482
6491
  Je as createMenus,
6483
- kr as createMetaApi,
6484
- Pr as createMock,
6485
- $n as createProvider,
6486
- Et as createRenderer,
6487
- Er as createSchemaApi,
6488
- Ir as createSchemaApis,
6489
- Jn as createServiceRequest,
6490
- Wr as defaultLoader,
6491
- He as fillBasePath,
6492
+ Ir as createMetaApi,
6493
+ Tr as createMock,
6494
+ Un as createProvider,
6495
+ kt as createRenderer,
6496
+ kr as createSchemaApi,
6497
+ Ar as createSchemaApis,
6498
+ Qn as createServiceRequest,
6499
+ Kr as defaultLoader,
6500
+ $e as fillBasePath,
6492
6501
  Te as getMock,
6493
- ii as getModifiers,
6494
- ti as getPlugin,
6495
- Ii as getRawComponent,
6496
- ji as isArrowFunction,
6497
- Di as isAssignment‌,
6498
- Fi as isBuiltInTag,
6502
+ ri as getModifiers,
6503
+ si as getPlugin,
6504
+ Ai as getRawComponent,
6505
+ Mi as isArrowFunction,
6506
+ Bi as isAssignment‌,
6507
+ Li as isBuiltInTag,
6499
6508
  Qe as isCSSUrl,
6500
- Mi as isCallFunction,
6501
- Sr as isJSCode,
6509
+ Di as isCallFunction,
6510
+ wr as isJSCode,
6502
6511
  R as isJSExpression,
6503
6512
  F as isJSFunction,
6504
- wi as isJSON,
6513
+ Ei as isJSON,
6505
6514
  Ye as isJSUrl,
6506
- Li as isNativeTag,
6507
- Oi as isVuePlugin,
6508
- Vi as loadCss,
6509
- ys as loadCssUrl,
6510
- zn as loadEnhance,
6511
- _s as loadScriptUrl,
6512
- ri as menusFilter,
6513
- Tr as mockApi,
6514
- Ar as mockApis,
6515
- Zs as mockCleanup,
6516
- we as nodeCache,
6515
+ ji as isNativeTag,
6516
+ Fi as isVuePlugin,
6517
+ Oi as loadCss,
6518
+ _s as loadCssUrl,
6519
+ Jn as loadEnhance,
6520
+ Ss as loadScriptUrl,
6521
+ ni as menusFilter,
6522
+ Nr as mockApi,
6523
+ Pr as mockApis,
6524
+ ei as mockCleanup,
6525
+ Ce as nodeCache,
6517
6526
  _e as nodeRender,
6518
- ki as parseDeps,
6527
+ Ii as parseDeps,
6519
6528
  Oe as parseExpression,
6520
6529
  z as parseFunction,
6521
- Ai as parseUrls,
6522
- qt as providerKey,
6523
- Ei as removeProdFlag,
6524
- Ni as rpxToPx,
6525
- Ln as setupPageSetting,
6526
- bs as toString,
6530
+ Pi as parseUrls,
6531
+ Wt as providerKey,
6532
+ ki as removeProdFlag,
6533
+ Ri as rpxToPx,
6534
+ jn as setupPageSetting,
6535
+ ys as toString,
6527
6536
  ze as triggerError,
6528
- wr as useAccess,
6529
- Kn as useApis,
6537
+ Er as useAccess,
6538
+ zn as useApis,
6530
6539
  je as useGlobals,
6531
- Wn as useLibs,
6540
+ Kn as useLibs,
6532
6541
  Hn as useMask,
6533
- Gn as usePinia,
6534
- ni as useProvider,
6535
- qn as useRequest,
6536
- Un as useStore
6542
+ qn as usePinia,
6543
+ ai as useProvider,
6544
+ Wn as useRequest,
6545
+ Gn as useStore
6537
6546
  };