driftjs-vite-plugin 0.0.10 → 0.0.12

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-es.js CHANGED
@@ -209,27 +209,25 @@ function d(e) {
209
209
  return n === 1;
210
210
  }
211
211
  function f(e, t) {
212
- if (!e || typeof e != "object") return !1;
213
- let n = e;
214
- for (; n && n !== Object.prototype;) {
215
- if (Object.prototype.hasOwnProperty.call(n, t)) return !0;
216
- n = Object.getPrototypeOf(n);
217
- }
218
- return !1;
219
- }
220
- function p(e, t) {
221
- if (e && f(e, t)) return e[t];
222
- if (typeof globalThis < "u" && globalThis) {
223
- if (t === "__proto__" || t === "constructor" || t === "prototype" || t === "__drift_mark_dirty__") return;
224
- let e = globalThis;
225
- for (; e && e !== Object.prototype;) {
226
- if (Object.prototype.hasOwnProperty.call(e, t)) return globalThis[t];
227
- e = Object.getPrototypeOf(e);
212
+ if (!(t === "__proto__" || t === "constructor" || t === "prototype" || t === "__drift_mark_dirty__")) {
213
+ if (e && typeof e == "object") {
214
+ let n = e;
215
+ for (; n && n !== Object.prototype;) {
216
+ if (Object.prototype.hasOwnProperty.call(n, t)) return n[t];
217
+ n = Object.getPrototypeOf(n);
218
+ }
219
+ }
220
+ if (typeof globalThis < "u" && globalThis) {
221
+ let e = globalThis;
222
+ for (; e && e !== Object.prototype;) {
223
+ if (Object.prototype.hasOwnProperty.call(e, t)) return globalThis[t];
224
+ e = Object.getPrototypeOf(e);
225
+ }
228
226
  }
229
227
  }
230
228
  }
231
- typeof globalThis < "u" && !globalThis._get && (globalThis._get = p);
232
- var m = {
229
+ typeof globalThis < "u" && !globalThis._get && (globalThis._get = f);
230
+ var p = {
233
231
  [t.Data]: [
234
232
  {
235
233
  to: t.Comment,
@@ -364,17 +362,17 @@ var m = {
364
362
  emits: "EOF"
365
363
  }]
366
364
  };
367
- function h(e) {
365
+ function m(e) {
368
366
  return e === "script" || e === "style";
369
367
  }
370
- var g = /* @__PURE__ */ new Set([
368
+ var h = /* @__PURE__ */ new Set([
371
369
  "if",
372
370
  "else",
373
371
  "for",
374
372
  "switch",
375
373
  "case",
376
374
  "default"
377
- ]), _ = /* @__PURE__ */ new Set([
375
+ ]), g = /* @__PURE__ */ new Set([
378
376
  "return",
379
377
  "yield",
380
378
  "await",
@@ -387,7 +385,7 @@ var g = /* @__PURE__ */ new Set([
387
385
  "do",
388
386
  "throw",
389
387
  "new"
390
- ]), v = class {
388
+ ]), _ = class {
391
389
  source;
392
390
  offset = 0;
393
391
  line = 1;
@@ -446,7 +444,7 @@ var g = /* @__PURE__ */ new Set([
446
444
  this.advance();
447
445
  let n = "";
448
446
  for (; !this.isAtEnd() && /[a-zA-Z]/.test(this.peek());) n += this.advance();
449
- if (!g.has(n)) throw new i(`Unknown directive '@${n}'`, t.line, t.column, t.offset);
447
+ if (!h.has(n)) throw new i(`Unknown directive '@${n}'`, t.line, t.column, t.offset);
450
448
  if (n === "if") return this.readDirectiveHeader(t, e.DirectiveIf);
451
449
  if (n === "else") {
452
450
  if (this.skipWhitespace(), this.startsWith("if") && !/[a-zA-Z0-9_]/.test(this.peek(2))) return this.consumePattern("if"), this.readDirectiveHeader(t, e.DirectiveElseIf);
@@ -543,7 +541,7 @@ var g = /* @__PURE__ */ new Set([
543
541
  if (/[a-zA-Z0-9_$]/.test(i)) {
544
542
  let e = i;
545
543
  for (; !this.isAtEnd() && /[a-zA-Z0-9_$]/.test(this.peek());) e += this.advance();
546
- h = _.has(e) ? n.Keyword : n.IdentifierOrLiteral, r += e;
544
+ h = g.has(e) ? n.Keyword : n.IdentifierOrLiteral, r += e;
547
545
  continue;
548
546
  }
549
547
  r += i;
@@ -554,7 +552,7 @@ var g = /* @__PURE__ */ new Set([
554
552
  if (this.isAtEnd()) throw this.createUnexpectedEOFError(n ? "after closing tag opener" : "after opening tag opener");
555
553
  let r = this.getLocation(), a = this.peek();
556
554
  if (!this.isIdentifierStart(a)) throw new i(`Expected tag name but found '${a || "EOF"}'`, r.line, r.column, r.offset);
557
- let o = this.readIdentifierValue(), s = !n && h(o);
555
+ let o = this.readIdentifierValue(), s = !n && m(o);
558
556
  return this.transitionTo({
559
557
  kind: t.BeforeAttributeName,
560
558
  tagName: o,
@@ -579,7 +577,7 @@ var g = /* @__PURE__ */ new Set([
579
577
  return this.transitionTo({ kind: t.Data }), this.createToken(e.TagSelfClose, "/>", r);
580
578
  }
581
579
  }
582
- if (this.peek() === ">") return this.advance(), s.has(n.tagName.toLowerCase()) || this.elementDepth++, n.entersRawText && h(n.tagName) ? this.transitionTo({
580
+ if (this.peek() === ">") return this.advance(), s.has(n.tagName.toLowerCase()) || this.elementDepth++, n.entersRawText && m(n.tagName) ? this.transitionTo({
583
581
  kind: t.RawText,
584
582
  tagName: n.tagName
585
583
  }) : this.transitionTo({ kind: t.Data }), this.createToken(e.TagClose, ">", r);
@@ -619,7 +617,7 @@ var g = /* @__PURE__ */ new Set([
619
617
  kind: t.BeforeAttributeName,
620
618
  tagName: r,
621
619
  isClosingTag: !1,
622
- entersRawText: h(r)
620
+ entersRawText: m(r)
623
621
  }), this.readBeforeAttributeNameToken();
624
622
  }
625
623
  readBeforeAttributeValueToken() {
@@ -653,7 +651,7 @@ var g = /* @__PURE__ */ new Set([
653
651
  return e === n.Start || e === n.Punctuator || e === n.Keyword;
654
652
  }
655
653
  readInterpolationToken(r, a, o) {
656
- let s = 1, c = null, l = !1, u = !1, d = !1, f = !1, p = !1, m = n.Start, g = [], v = "";
654
+ let s = 1, c = null, l = !1, u = !1, d = !1, f = !1, p = !1, h = n.Start, _ = [], v = "";
657
655
  for (; !this.isAtEnd();) {
658
656
  let i = this.advance();
659
657
  if (u) {
@@ -665,17 +663,17 @@ var g = /* @__PURE__ */ new Set([
665
663
  continue;
666
664
  }
667
665
  if (f) {
668
- v += i, l ? l = !1 : i === "\\" ? l = !0 : i === "[" ? p = !0 : i === "]" && p ? p = !1 : i === "/" && !p && (f = !1, m = n.IdentifierOrLiteral);
666
+ v += i, l ? l = !1 : i === "\\" ? l = !0 : i === "[" ? p = !0 : i === "]" && p ? p = !1 : i === "/" && !p && (f = !1, h = n.IdentifierOrLiteral);
669
667
  continue;
670
668
  }
671
669
  if (c !== null) {
672
670
  if (v += i, l) l = !1;
673
671
  else if (i === "\\") l = !0;
674
- else if (i === c) c = null, m = n.IdentifierOrLiteral;
672
+ else if (i === c) c = null, h = n.IdentifierOrLiteral;
675
673
  else if (c === "`" && i === "{" && v.endsWith("${")) {
676
674
  let e = 0;
677
675
  for (let t = v.length - 3; t >= 0 && v[t] === "\\"; t--) e++;
678
- e % 2 == 0 && (g.push(s), c = null, s++, m = n.Start);
676
+ e % 2 == 0 && (_.push(s), c = null, s++, h = n.Start);
679
677
  }
680
678
  continue;
681
679
  }
@@ -687,10 +685,10 @@ var g = /* @__PURE__ */ new Set([
687
685
  } else if (e === "*") {
688
686
  d = !0, v += i;
689
687
  continue;
690
- } else if (this.isRegexStart(m)) {
688
+ } else if (this.isRegexStart(h)) {
691
689
  f = !0, p = !1, v += i;
692
690
  continue;
693
- } else m = n.Punctuator;
691
+ } else h = n.Punctuator;
694
692
  }
695
693
  if (i === "\"" || i === "'" || i === "`") {
696
694
  inQuote: c = i;
@@ -698,31 +696,31 @@ var g = /* @__PURE__ */ new Set([
698
696
  continue;
699
697
  }
700
698
  if (i === "(") {
701
- m = n.Start, v += i;
699
+ h = n.Start, v += i;
702
700
  continue;
703
701
  }
704
702
  if (i === ")") {
705
- m = n.IdentifierOrLiteral, v += i;
703
+ h = n.IdentifierOrLiteral, v += i;
706
704
  continue;
707
705
  }
708
706
  if (i === "[") {
709
- m = n.Start, v += i;
707
+ h = n.Start, v += i;
710
708
  continue;
711
709
  }
712
710
  if (i === "]") {
713
- m = n.IdentifierOrLiteral, v += i;
711
+ h = n.IdentifierOrLiteral, v += i;
714
712
  continue;
715
713
  }
716
714
  if (i === "{") {
717
- s++, m = n.Start, v += i;
715
+ s++, h = n.Start, v += i;
718
716
  continue;
719
717
  }
720
718
  if (i === "}") {
721
- if (s--, g.length > 0 && s === g[g.length - 1] && (g.pop(), c = "`"), m = n.IdentifierOrLiteral, s === 0) return a === "attribute" && o !== null ? this.transitionTo({
719
+ if (s--, _.length > 0 && s === _[_.length - 1] && (_.pop(), c = "`"), h = n.IdentifierOrLiteral, s === 0) return a === "attribute" && o !== null ? this.transitionTo({
722
720
  kind: t.BeforeAttributeName,
723
721
  tagName: o,
724
722
  isClosingTag: !1,
725
- entersRawText: h(o)
723
+ entersRawText: m(o)
726
724
  }) : this.transitionTo({ kind: t.Data }), this.createToken(e.Interpolation, v, r);
727
725
  v += i;
728
726
  continue;
@@ -730,20 +728,20 @@ var g = /* @__PURE__ */ new Set([
730
728
  if (i === "+" || i === "-") {
731
729
  if (this.peek() === i) {
732
730
  let e = this.advance();
733
- v += i + e, m = m === n.IdentifierOrLiteral ? n.PostfixOp : n.Start;
731
+ v += i + e, h = h === n.IdentifierOrLiteral ? n.PostfixOp : n.Start;
734
732
  continue;
735
733
  }
736
- m = n.Punctuator, v += i;
734
+ h = n.Punctuator, v += i;
737
735
  continue;
738
736
  }
739
737
  if ("=(,:;!&|?*%<>~^".includes(i)) {
740
- m = n.Punctuator, v += i;
738
+ h = n.Punctuator, v += i;
741
739
  continue;
742
740
  }
743
741
  if (/[a-zA-Z0-9_$]/.test(i)) {
744
742
  let e = i;
745
743
  for (; !this.isAtEnd() && /[a-zA-Z0-9_$]/.test(this.peek());) e += this.advance();
746
- m = _.has(e) ? n.Keyword : n.IdentifierOrLiteral, v += e;
744
+ h = g.has(e) ? n.Keyword : n.IdentifierOrLiteral, v += e;
747
745
  continue;
748
746
  }
749
747
  v += i;
@@ -785,7 +783,7 @@ var g = /* @__PURE__ */ new Set([
785
783
  kind: t.BeforeAttributeName,
786
784
  tagName: a,
787
785
  isClosingTag: !1,
788
- entersRawText: h(a)
786
+ entersRawText: m(a)
789
787
  }), this.createToken(e.StringLiteral, o, n);
790
788
  o += this.advance();
791
789
  }
@@ -821,7 +819,7 @@ var g = /* @__PURE__ */ new Set([
821
819
  return new i(`Unexpected end of input ${e}`, t.line, t.column, t.offset);
822
820
  }
823
821
  transitionTo(e) {
824
- if (!m[this.state.kind].some((t) => t.to === e.kind)) throw Error(`Invalid lexer transition from '${this.state.kind}' to '${e.kind}'.`);
822
+ if (!p[this.state.kind].some((t) => t.to === e.kind)) throw Error(`Invalid lexer transition from '${this.state.kind}' to '${e.kind}'.`);
825
823
  this.state = e;
826
824
  }
827
825
  getLocation() {
@@ -871,7 +869,7 @@ var g = /* @__PURE__ */ new Set([
871
869
  let n = this.peek(t);
872
870
  return n === "" || n === ">" || n === " " || n === " " || n === "\r" || n === "\n";
873
871
  }
874
- }, ee = class {
872
+ }, v = class {
875
873
  tokens;
876
874
  current = 0;
877
875
  constructor(e) {
@@ -882,7 +880,7 @@ var g = /* @__PURE__ */ new Set([
882
880
  let e = this.tokens[this.current];
883
881
  return this.current++, e;
884
882
  }
885
- }, te = {
883
+ }, ee = {
886
884
  amp: "&",
887
885
  lt: "<",
888
886
  gt: ">",
@@ -1025,7 +1023,7 @@ var g = /* @__PURE__ */ new Set([
1025
1023
  psi: "ψ",
1026
1024
  omega: "ω"
1027
1025
  };
1028
- function ne(e) {
1026
+ function te(e) {
1029
1027
  return !e || !e.includes("&") ? e : e.replace(/&(?:#(\d+)|#x([0-9a-fA-F]+)|([a-zA-Z0-9]+));/g, (e, t, n, r) => {
1030
1028
  if (t) {
1031
1029
  let e = parseInt(t, 10);
@@ -1043,14 +1041,14 @@ function ne(e) {
1043
1041
  return "�";
1044
1042
  }
1045
1043
  }
1046
- return r && te[r] || e;
1044
+ return r && ee[r] || e;
1047
1045
  });
1048
1046
  }
1049
- var re = class {
1047
+ var ne = class {
1050
1048
  tokenSource;
1051
1049
  lookahead = [];
1052
1050
  constructor(e) {
1053
- this.tokenSource = Array.isArray(e) ? new ee(e) : e;
1051
+ this.tokenSource = Array.isArray(e) ? new v(e) : e;
1054
1052
  }
1055
1053
  parse() {
1056
1054
  return this.lookahead.length = 0, this.parseProgram();
@@ -1086,7 +1084,7 @@ var re = class {
1086
1084
  if (t.type === e.DirectiveSwitch) return this.parseSwitchDirective();
1087
1085
  if (t.type === e.Text) return this.advance(), {
1088
1086
  type: r.Text,
1089
- content: ne(t.value),
1087
+ content: te(t.value),
1090
1088
  loc: t.loc
1091
1089
  };
1092
1090
  throw t.type === e.TagOpenSlash ? new a(`Unexpected closing tag '</${this.peek(1).value}>' without opening tag`, t.loc.start.line, t.loc.start.column, t.loc.start.offset) : new a(`Unexpected token '${t.value}' of type '${t.type}'`, t.loc.start.line, t.loc.start.column, t.loc.start.offset);
@@ -1153,7 +1151,7 @@ var re = class {
1153
1151
  if (t.type === e.StringLiteral) return this.advance(), {
1154
1152
  type: r.Attribute,
1155
1153
  name: i,
1156
- value: ne(t.value),
1154
+ value: te(t.value),
1157
1155
  loc: {
1158
1156
  start: n,
1159
1157
  end: t.loc.end
@@ -1371,7 +1369,7 @@ var re = class {
1371
1369
  if (this.lookahead.push(t), t.type === e.EOF) break;
1372
1370
  }
1373
1371
  }
1374
- }, ie = [
1372
+ }, re = [
1375
1373
  509,
1376
1374
  0,
1377
1375
  227,
@@ -1702,7 +1700,7 @@ var re = class {
1702
1700
  9,
1703
1701
  787719,
1704
1702
  239
1705
- ], ae = [
1703
+ ], ie = [
1706
1704
  0,
1707
1705
  11,
1708
1706
  2,
@@ -2321,18 +2319,18 @@ var re = class {
2321
2319
  4938,
2322
2320
  6,
2323
2321
  8489
2324
- ], oe = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", se = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ce = {
2322
+ ], ae = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", oe = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", se = {
2325
2323
  3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
2326
2324
  5: "class enum extends super const export import",
2327
2325
  6: "enum",
2328
2326
  strict: "implements interface let package private protected public static yield",
2329
2327
  strictBind: "eval arguments"
2330
- }, le = "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", ue = {
2331
- 5: le,
2332
- "5module": le + " export import",
2333
- 6: le + " const class extends export import super"
2334
- }, de = /^in(stanceof)?$/, fe = RegExp("[" + se + "]"), pe = RegExp("[" + se + oe + "]");
2335
- function me(e, t) {
2328
+ }, ce = "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", le = {
2329
+ 5: ce,
2330
+ "5module": ce + " export import",
2331
+ 6: ce + " const class extends export import super"
2332
+ }, ue = /^in(stanceof)?$/, de = RegExp("[" + oe + "]"), fe = RegExp("[" + oe + ae + "]");
2333
+ function pe(e, t) {
2336
2334
  for (var n = 65536, r = 0; r < t.length; r += 2) {
2337
2335
  if (n += t[r], n > e) return !1;
2338
2336
  if (n += t[r + 1], n >= e) return !0;
@@ -2340,10 +2338,10 @@ function me(e, t) {
2340
2338
  return !1;
2341
2339
  }
2342
2340
  function y(e, t) {
2343
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && fe.test(String.fromCharCode(e)) : t !== !1 && me(e, ae);
2341
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && de.test(String.fromCharCode(e)) : t !== !1 && pe(e, ie);
2344
2342
  }
2345
2343
  function b(e, t) {
2346
- return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && pe.test(String.fromCharCode(e)) : t === !1 ? !1 : me(e, ae) || me(e, ie);
2344
+ return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && fe.test(String.fromCharCode(e)) : t === !1 ? !1 : pe(e, ie) || pe(e, re);
2347
2345
  }
2348
2346
  var x = function(e, t) {
2349
2347
  t === void 0 && (t = {}), this.label = e, this.keyword = t.keyword, this.beforeExpr = !!t.beforeExpr, this.startsExpr = !!t.startsExpr, this.isLoop = !!t.isLoop, this.isAssign = !!t.isAssign, this.prefix = !!t.prefix, this.postfix = !!t.postfix, this.binop = t.binop || null, this.updateContext = null;
@@ -2354,9 +2352,9 @@ function S(e, t) {
2354
2352
  binop: t
2355
2353
  });
2356
2354
  }
2357
- var C = { beforeExpr: !0 }, w = { startsExpr: !0 }, he = {};
2355
+ var C = { beforeExpr: !0 }, w = { startsExpr: !0 }, me = {};
2358
2356
  function T(e, t) {
2359
- return t === void 0 && (t = {}), t.keyword = e, he[e] = new x(e, t);
2357
+ return t === void 0 && (t = {}), t.keyword = e, me[e] = new x(e, t);
2360
2358
  }
2361
2359
  var E = {
2362
2360
  num: new x("num", w),
@@ -2491,46 +2489,46 @@ var E = {
2491
2489
  prefix: !0,
2492
2490
  startsExpr: !0
2493
2491
  })
2494
- }, D = /\r\n?|\n|\u2028|\u2029/, ge = new RegExp(D.source, "g");
2495
- function _e(e) {
2492
+ }, D = /\r\n?|\n|\u2028|\u2029/, he = new RegExp(D.source, "g");
2493
+ function ge(e) {
2496
2494
  return e === 10 || e === 13 || e === 8232 || e === 8233;
2497
2495
  }
2498
- function ve(e, t, n) {
2496
+ function _e(e, t, n) {
2499
2497
  n === void 0 && (n = e.length);
2500
2498
  for (var r = t; r < n; r++) {
2501
2499
  var i = e.charCodeAt(r);
2502
- if (_e(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
2500
+ if (ge(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
2503
2501
  }
2504
2502
  return -1;
2505
2503
  }
2506
- var ye = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, O = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, be = Object.prototype, xe = be.hasOwnProperty, Se = be.toString, Ce = Object.hasOwn || (function(e, t) {
2507
- return xe.call(e, t);
2508
- }), we = Array.isArray || (function(e) {
2509
- return Se.call(e) === "[object Array]";
2510
- }), Te = Object.create(null);
2504
+ var ve = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, O = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ye = Object.prototype, be = ye.hasOwnProperty, xe = ye.toString, Se = Object.hasOwn || (function(e, t) {
2505
+ return be.call(e, t);
2506
+ }), Ce = Array.isArray || (function(e) {
2507
+ return xe.call(e) === "[object Array]";
2508
+ }), we = Object.create(null);
2511
2509
  function k(e) {
2512
- return Te[e] || (Te[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
2510
+ return we[e] || (we[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
2513
2511
  }
2514
2512
  function A(e) {
2515
2513
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
2516
2514
  }
2517
- var Ee = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, De = function(e, t) {
2515
+ var Te = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, Ee = function(e, t) {
2518
2516
  this.line = e, this.column = t;
2519
2517
  };
2520
- De.prototype.offset = function(e) {
2521
- return new De(this.line, this.column + e);
2518
+ Ee.prototype.offset = function(e) {
2519
+ return new Ee(this.line, this.column + e);
2522
2520
  };
2523
- var Oe = function(e, t, n) {
2521
+ var De = function(e, t, n) {
2524
2522
  this.start = t, this.end = n, e.sourceFile !== null && (this.source = e.sourceFile);
2525
2523
  };
2526
- function ke(e, t) {
2524
+ function Oe(e, t) {
2527
2525
  for (var n = 1, r = 0;;) {
2528
- var i = ve(e, r, t);
2529
- if (i < 0) return new De(n, t - r);
2526
+ var i = _e(e, r, t);
2527
+ if (i < 0) return new Ee(n, t - r);
2530
2528
  ++n, r = i;
2531
2529
  }
2532
2530
  }
2533
- var Ae = {
2531
+ var ke = {
2534
2532
  ecmaVersion: null,
2535
2533
  sourceType: "script",
2536
2534
  strict: !1,
@@ -2551,20 +2549,20 @@ var Ae = {
2551
2549
  sourceFile: null,
2552
2550
  directSourceFile: null,
2553
2551
  preserveParens: !1
2554
- }, je = !1;
2555
- function Me(e) {
2552
+ }, Ae = !1;
2553
+ function je(e) {
2556
2554
  var t = {};
2557
- for (var n in Ae) t[n] = e && Ce(e, n) ? e[n] : Ae[n];
2558
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!je && typeof console == "object" && console.warn && (je = !0, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved ??= t.ecmaVersion < 5, (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), we(t.onToken)) {
2555
+ for (var n in ke) t[n] = e && Se(e, n) ? e[n] : ke[n];
2556
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!Ae && typeof console == "object" && console.warn && (Ae = !0, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved ??= t.ecmaVersion < 5, (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), Ce(t.onToken)) {
2559
2557
  var r = t.onToken;
2560
2558
  t.onToken = function(e) {
2561
2559
  return r.push(e);
2562
2560
  };
2563
2561
  }
2564
- if (we(t.onComment) && (t.onComment = Ne(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
2562
+ if (Ce(t.onComment) && (t.onComment = Me(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
2565
2563
  return t;
2566
2564
  }
2567
- function Ne(e, t) {
2565
+ function Me(e, t) {
2568
2566
  return function(n, r, i, a, o, s) {
2569
2567
  var c = {
2570
2568
  type: n ? "Block" : "Line",
@@ -2572,19 +2570,19 @@ function Ne(e, t) {
2572
2570
  start: i,
2573
2571
  end: a
2574
2572
  };
2575
- e.locations && (c.loc = new Oe(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
2573
+ e.locations && (c.loc = new De(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
2576
2574
  };
2577
2575
  }
2578
- var j = 1, Pe = 2, Fe = 4, Ie = 8, Le = 16, Re = 32, ze = 64, Be = 128, M = 256, Ve = 512, He = 1024, Ue = j | Pe | M;
2579
- function We(e, t) {
2580
- return Pe | (e ? Fe : 0) | (t ? Ie : 0);
2576
+ var Ne = 1, j = 2, Pe = 4, Fe = 8, Ie = 16, Le = 32, Re = 64, ze = 128, M = 256, Be = 512, Ve = 1024, He = Ne | j | M;
2577
+ function Ue(e, t) {
2578
+ return j | (e ? Pe : 0) | (t ? Fe : 0);
2581
2579
  }
2582
- var Ge = 0, Ke = 1, N = 2, qe = 3, Je = 4, Ye = 5, P = function(e, t, n) {
2583
- this.options = e = Me(e), this.sourceFile = e.sourceFile, this.keywords = k(ue[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
2580
+ var We = 0, Ge = 1, N = 2, Ke = 3, qe = 4, Je = 5, P = function(e, t, n) {
2581
+ this.options = e = je(e), this.sourceFile = e.sourceFile, this.keywords = k(le[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
2584
2582
  var r = "";
2585
- e.allowReserved !== !0 && (r = ce[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = k(r);
2586
- var i = (r ? r + " " : "") + ce.strict;
2587
- this.reservedWordsStrict = k(i), this.reservedWordsStrictBind = k(i + " " + ce.strictBind), this.input = String(t), this.containsEsc = !1, n ? (this.pos = n, this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(D).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = E.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || e.strict === !0 || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(this.options.sourceType === "commonjs" ? Pe : j), this.regexpState = null, this.privateNameStack = [];
2583
+ e.allowReserved !== !0 && (r = se[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = k(r);
2584
+ var i = (r ? r + " " : "") + se.strict;
2585
+ this.reservedWordsStrict = k(i), this.reservedWordsStrictBind = k(i + " " + se.strictBind), this.input = String(t), this.containsEsc = !1, n ? (this.pos = n, this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(D).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = E.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || e.strict === !0 || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(this.options.sourceType === "commonjs" ? j : Ne), this.regexpState = null, this.privateNameStack = [];
2588
2586
  }, F = {
2589
2587
  inFunction: { configurable: !0 },
2590
2588
  inGenerator: { configurable: !0 },
@@ -2604,35 +2602,35 @@ P.prototype.parse = function() {
2604
2602
  return e.parseTopLevel(t);
2605
2603
  });
2606
2604
  }, F.inFunction.get = function() {
2607
- return (this.currentVarScope().flags & Pe) > 0;
2605
+ return (this.currentVarScope().flags & j) > 0;
2608
2606
  }, F.inGenerator.get = function() {
2609
- return (this.currentVarScope().flags & Ie) > 0;
2610
- }, F.inAsync.get = function() {
2611
2607
  return (this.currentVarScope().flags & Fe) > 0;
2608
+ }, F.inAsync.get = function() {
2609
+ return (this.currentVarScope().flags & Pe) > 0;
2612
2610
  }, F.canAwait.get = function() {
2613
2611
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
2614
2612
  var t = this.scopeStack[e].flags;
2615
- if (t & (M | Ve)) return !1;
2616
- if (t & Pe) return (t & Fe) > 0;
2613
+ if (t & (M | Be)) return !1;
2614
+ if (t & j) return (t & Pe) > 0;
2617
2615
  }
2618
2616
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
2619
2617
  }, F.allowReturn.get = function() {
2620
- return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & j);
2618
+ return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & Ne);
2621
2619
  }, F.allowSuper.get = function() {
2622
- return (this.currentThisScope().flags & ze) > 0 || this.options.allowSuperOutsideMethod;
2620
+ return (this.currentThisScope().flags & Re) > 0 || this.options.allowSuperOutsideMethod;
2623
2621
  }, F.allowDirectSuper.get = function() {
2624
- return (this.currentThisScope().flags & Be) > 0;
2622
+ return (this.currentThisScope().flags & ze) > 0;
2625
2623
  }, F.treatFunctionsAsVar.get = function() {
2626
2624
  return this.treatFunctionsAsVarInScope(this.currentScope());
2627
2625
  }, F.allowNewDotTarget.get = function() {
2628
2626
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
2629
2627
  var t = this.scopeStack[e].flags;
2630
- if (t & (M | Ve) || t & Pe && !(t & Le)) return !0;
2628
+ if (t & (M | Be) || t & j && !(t & Ie)) return !0;
2631
2629
  }
2632
2630
  return !1;
2633
2631
  }, F.allowUsing.get = function() {
2634
2632
  var e = this.currentScope().flags;
2635
- return !(e & He || !this.inModule && e & j);
2633
+ return !(e & Ve || !this.inModule && e & Ne);
2636
2634
  }, F.inClassStaticBlock.get = function() {
2637
2635
  return (this.currentVarScope().flags & M) > 0;
2638
2636
  }, P.extend = function() {
@@ -2647,12 +2645,12 @@ P.prototype.parse = function() {
2647
2645
  }, P.tokenizer = function(e, t) {
2648
2646
  return new this(t, e);
2649
2647
  }, Object.defineProperties(P.prototype, F);
2650
- var I = P.prototype, Xe = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
2648
+ var I = P.prototype, Ye = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
2651
2649
  I.strictDirective = function(e) {
2652
2650
  if (this.options.ecmaVersion < 5) return !1;
2653
2651
  for (;;) {
2654
2652
  O.lastIndex = e, e += O.exec(this.input)[0].length;
2655
- var t = Xe.exec(this.input.slice(e));
2653
+ var t = Ye.exec(this.input.slice(e));
2656
2654
  if (!t) return !1;
2657
2655
  if ((t[1] || t[2]) === "use strict") {
2658
2656
  O.lastIndex = e + t[0].length;
@@ -2689,7 +2687,7 @@ I.strictDirective = function(e) {
2689
2687
  }, I.unexpected = function(e) {
2690
2688
  this.raise(e ?? this.start, "Unexpected token");
2691
2689
  };
2692
- var Ze = function() {
2690
+ var Xe = function() {
2693
2691
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
2694
2692
  };
2695
2693
  I.checkPatternErrors = function(e, t) {
@@ -2721,7 +2719,7 @@ L.parseTopLevel = function(e) {
2721
2719
  }
2722
2720
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType, this.finishNode(e, "Program");
2723
2721
  };
2724
- var Qe = { kind: "loop" }, $e = { kind: "switch" };
2722
+ var Ze = { kind: "loop" }, Qe = { kind: "switch" };
2725
2723
  L.isLet = function(e) {
2726
2724
  if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1;
2727
2725
  O.lastIndex = this.pos;
@@ -2736,7 +2734,7 @@ L.isLet = function(e) {
2736
2734
  while (b(r = this.fullCharCodeAt(n)));
2737
2735
  if (r === 92) return !0;
2738
2736
  var a = this.input.slice(i, n);
2739
- if (!de.test(a)) return !0;
2737
+ if (!ue.test(a)) return !0;
2740
2738
  }
2741
2739
  return !1;
2742
2740
  }, L.isAsyncFunction = function() {
@@ -2764,7 +2762,7 @@ L.isLet = function(e) {
2764
2762
  while (b(s = this.fullCharCodeAt(r)));
2765
2763
  if (s === 92) return !0;
2766
2764
  var l = this.input.slice(c, r);
2767
- if (de.test(l)) return !1;
2765
+ if (ue.test(l)) return !1;
2768
2766
  if (t && !e && l === "of") {
2769
2767
  O.lastIndex = r;
2770
2768
  var u = O.exec(this.input);
@@ -2822,11 +2820,11 @@ L.isLet = function(e) {
2822
2820
  }, L.parseDebuggerStatement = function(e) {
2823
2821
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
2824
2822
  }, L.parseDoStatement = function(e) {
2825
- return this.next(), this.labels.push(Qe), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(E._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(E.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
2823
+ return this.next(), this.labels.push(Ze), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(E._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(E.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
2826
2824
  }, L.parseForStatement = function(e) {
2827
2825
  this.next();
2828
2826
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
2829
- if (this.labels.push(Qe), this.enterScope(0), this.expect(E.parenL), this.type === E.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
2827
+ if (this.labels.push(Ze), this.enterScope(0), this.expect(E.parenL), this.type === E.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
2830
2828
  var n = this.isLet();
2831
2829
  if (this.type === E._var || this.type === E._const || n) {
2832
2830
  var r = this.startNode(), i = n ? "let" : this.value;
@@ -2837,18 +2835,18 @@ L.isLet = function(e) {
2837
2835
  var c = this.startNode();
2838
2836
  return this.next(), s === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.parseVar(c, !0, s), this.finishNode(c, "VariableDeclaration"), this.parseForAfterInit(e, c, t);
2839
2837
  }
2840
- var l = this.containsEsc, u = new Ze(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
2838
+ var l = this.containsEsc, u = new Xe(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
2841
2839
  return this.type === E._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === E._in && this.unexpected(t), e.await = !0) : o && this.options.ecmaVersion >= 8 && (f.start === d && !l && f.type === "Identifier" && f.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), a && o && this.raise(f.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(f, !1, u), this.checkLValPattern(f), this.parseForIn(e, f)) : (this.checkExpressionErrors(u, !0), t > -1 && this.unexpected(t), this.parseFor(e, f));
2842
2840
  }, L.parseForAfterInit = function(e, t, n) {
2843
2841
  return (this.type === E._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.type === E._in ? ((t.kind === "using" || t.kind === "await using") && !t.declarations[0].init && this.raise(this.start, "Using declaration is not allowed in for-in loops"), this.options.ecmaVersion >= 9 && n > -1 && this.unexpected(n)) : this.options.ecmaVersion >= 9 && (e.await = n > -1), this.parseForIn(e, t)) : (n > -1 && this.unexpected(n), this.parseFor(e, t));
2844
2842
  }, L.parseFunctionStatement = function(e, t, n) {
2845
- return this.next(), this.parseFunction(e, tt | (n ? 0 : nt), !1, t);
2843
+ return this.next(), this.parseFunction(e, et | (n ? 0 : tt), !1, t);
2846
2844
  }, L.parseIfStatement = function(e) {
2847
2845
  return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(E._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
2848
2846
  }, L.parseReturnStatement = function(e) {
2849
2847
  return this.allowReturn || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(E.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
2850
2848
  }, L.parseSwitchStatement = function(e) {
2851
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(E.braceL), this.labels.push($e), this.enterScope(He);
2849
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(E.braceL), this.labels.push(Qe), this.enterScope(Ve);
2852
2850
  for (var t, n = !1; this.type !== E.braceR;) if (this.type === E._case || this.type === E._default) {
2853
2851
  var r = this.type === E._case;
2854
2852
  t && this.finishNode(t, "SwitchCase"), e.cases.push(t = this.startNode()), t.consequent = [], this.next(), r ? t.test = this.parseExpression() : (n && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), n = !0, t.test = null), this.expect(E.colon);
@@ -2857,10 +2855,10 @@ L.isLet = function(e) {
2857
2855
  }, L.parseThrowStatement = function(e) {
2858
2856
  return this.next(), D.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e.argument = this.parseExpression(), this.semicolon(), this.finishNode(e, "ThrowStatement");
2859
2857
  };
2860
- var et = [];
2858
+ var $e = [];
2861
2859
  L.parseCatchClauseParam = function() {
2862
2860
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
2863
- return this.enterScope(t ? Re : 0), this.checkLValPattern(e, t ? Je : N), this.expect(E.parenR), e;
2861
+ return this.enterScope(t ? Le : 0), this.checkLValPattern(e, t ? qe : N), this.expect(E.parenR), e;
2864
2862
  }, L.parseTryStatement = function(e) {
2865
2863
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === E._catch) {
2866
2864
  var t = this.startNode();
@@ -2870,7 +2868,7 @@ L.parseCatchClauseParam = function() {
2870
2868
  }, L.parseVarStatement = function(e, t, n) {
2871
2869
  return this.next(), this.parseVar(e, !1, t, n), this.semicolon(), this.finishNode(e, "VariableDeclaration");
2872
2870
  }, L.parseWhileStatement = function(e) {
2873
- return this.next(), e.test = this.parseParenExpression(), this.labels.push(Qe), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
2871
+ return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ze), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
2874
2872
  }, L.parseWithStatement = function(e) {
2875
2873
  return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), e.object = this.parseParenExpression(), e.body = this.parseStatement("with"), this.finishNode(e, "WithStatement");
2876
2874
  }, L.parseEmptyStatement = function(e) {
@@ -2907,13 +2905,13 @@ L.parseCatchClauseParam = function() {
2907
2905
  }
2908
2906
  return e;
2909
2907
  }, L.parseVarId = function(e, t) {
2910
- e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Ke : N, !1);
2908
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Ge : N, !1);
2911
2909
  };
2912
- var tt = 1, nt = 2, rt = 4;
2910
+ var et = 1, tt = 2, nt = 4;
2913
2911
  L.parseFunction = function(e, t, n, r, i) {
2914
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === E.star && t & nt && this.unexpected(), e.generator = this.eat(E.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & tt && (e.id = t & rt && this.type !== E.name ? null : this.parseIdent(), e.id && !(t & nt) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Ke : N : qe));
2912
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === E.star && t & tt && this.unexpected(), e.generator = this.eat(E.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & et && (e.id = t & nt && this.type !== E.name ? null : this.parseIdent(), e.id && !(t & tt) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Ge : N : Ke));
2915
2913
  var a = this.yieldPos, o = this.awaitPos, s = this.awaitIdentPos;
2916
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(We(e.async, e.generator)), t & tt || (e.id = this.type === E.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, n, !1, i), this.yieldPos = a, this.awaitPos = o, this.awaitIdentPos = s, this.finishNode(e, t & tt ? "FunctionDeclaration" : "FunctionExpression");
2914
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ue(e.async, e.generator)), t & et || (e.id = this.type === E.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, n, !1, i), this.yieldPos = a, this.awaitPos = o, this.awaitIdentPos = s, this.finishNode(e, t & et ? "FunctionDeclaration" : "FunctionExpression");
2917
2915
  }, L.parseFunctionParams = function(e) {
2918
2916
  this.expect(E.parenL), e.params = this.parseBindingList(E.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
2919
2917
  }, L.parseClass = function(e, t) {
@@ -2923,7 +2921,7 @@ L.parseFunction = function(e, t, n, r, i) {
2923
2921
  var r = this.enterClassBody(), i = this.startNode(), a = !1;
2924
2922
  for (i.body = [], this.expect(E.braceL); this.type !== E.braceR;) {
2925
2923
  var o = this.parseClassElement(e.superClass !== null);
2926
- o && (i.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (a && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), a = !0) : o.key && o.key.type === "PrivateIdentifier" && it(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
2924
+ o && (i.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (a && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), a = !0) : o.key && o.key.type === "PrivateIdentifier" && rt(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
2927
2925
  }
2928
2926
  return this.strict = n, this.next(), e.body = this.finishNode(i, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
2929
2927
  }, L.parseClassElement = function(e) {
@@ -2938,7 +2936,7 @@ L.parseFunction = function(e, t, n, r, i) {
2938
2936
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = c : r = c);
2939
2937
  }
2940
2938
  if (r ? (n.computed = !1, n.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), n.key.name = r, this.finishNode(n.key, "Identifier")) : this.parseClassElementName(n), t < 13 || this.type === E.parenL || o !== "method" || i || a) {
2941
- var l = !n.static && at(n, "constructor"), u = l && e;
2939
+ var l = !n.static && it(n, "constructor"), u = l && e;
2942
2940
  l && o !== "method" && this.raise(n.key.start, "Constructor can't have get/set modifier"), n.kind = l ? "constructor" : o, this.parseClassMethod(n, i, a, u);
2943
2941
  } else this.parseClassField(n);
2944
2942
  return n;
@@ -2948,15 +2946,15 @@ L.parseFunction = function(e, t, n, r, i) {
2948
2946
  this.type === E.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = !1, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e);
2949
2947
  }, L.parseClassMethod = function(e, t, n, r) {
2950
2948
  var i = e.key;
2951
- e.kind === "constructor" ? (t && this.raise(i.start, "Constructor can't be a generator"), n && this.raise(i.start, "Constructor can't be an async method")) : e.static && at(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
2949
+ e.kind === "constructor" ? (t && this.raise(i.start, "Constructor can't be a generator"), n && this.raise(i.start, "Constructor can't be an async method")) : e.static && it(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
2952
2950
  var a = e.value = this.parseMethod(t, n, r);
2953
2951
  return e.kind === "get" && a.params.length !== 0 && this.raiseRecoverable(a.start, "getter should have no params"), e.kind === "set" && a.params.length !== 1 && this.raiseRecoverable(a.start, "setter should have exactly one param"), e.kind === "set" && a.params[0].type === "RestElement" && this.raiseRecoverable(a.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
2954
2952
  }, L.parseClassField = function(e) {
2955
- return at(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && at(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(E.eq) ? (this.enterScope(Ve | ze), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
2953
+ return it(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && it(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(E.eq) ? (this.enterScope(Be | Re), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
2956
2954
  }, L.parseClassStaticBlock = function(e) {
2957
2955
  e.body = [];
2958
2956
  var t = this.labels;
2959
- for (this.labels = [], this.enterScope(M | ze); this.type !== E.braceR;) {
2957
+ for (this.labels = [], this.enterScope(M | Re); this.type !== E.braceR;) {
2960
2958
  var n = this.parseStatement(null);
2961
2959
  e.body.push(n);
2962
2960
  }
@@ -2975,14 +2973,14 @@ L.parseFunction = function(e, t, n, r, i) {
2975
2973
  var e = this.privateNameStack.pop(), t = e.declared, n = e.used;
2976
2974
  if (this.options.checkPrivateFields) for (var r = this.privateNameStack.length, i = r === 0 ? null : this.privateNameStack[r - 1], a = 0; a < n.length; ++a) {
2977
2975
  var o = n[a];
2978
- Ce(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
2976
+ Se(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
2979
2977
  }
2980
2978
  };
2981
- function it(e, t) {
2979
+ function rt(e, t) {
2982
2980
  var n = t.key.name, r = e[n], i = "true";
2983
2981
  return t.type === "MethodDefinition" && (t.kind === "get" || t.kind === "set") && (i = (t.static ? "s" : "i") + t.kind), r === "iget" && i === "iset" || r === "iset" && i === "iget" || r === "sget" && i === "sset" || r === "sset" && i === "sget" ? (e[n] = "true", !1) : r ? !0 : (e[n] = i, !1);
2984
2982
  }
2985
- function at(e, t) {
2983
+ function it(e, t) {
2986
2984
  var n = e.computed, r = e.key;
2987
2985
  return !n && (r.type === "Identifier" && r.name === t || r.type === "Literal" && r.value === t);
2988
2986
  }
@@ -3010,7 +3008,7 @@ L.parseExportAllDeclaration = function(e, t) {
3010
3008
  var e;
3011
3009
  if (this.type === E._function || (e = this.isAsyncFunction())) {
3012
3010
  var t = this.startNode();
3013
- return this.next(), e && this.next(), this.parseFunction(t, tt | rt, !1, e);
3011
+ return this.next(), e && this.next(), this.parseFunction(t, et | nt, !1, e);
3014
3012
  } else if (this.type === E._class) {
3015
3013
  var n = this.startNode();
3016
3014
  return this.parseClass(n, "nullableID");
@@ -3019,7 +3017,7 @@ L.parseExportAllDeclaration = function(e, t) {
3019
3017
  return this.semicolon(), r;
3020
3018
  }
3021
3019
  }, L.checkExport = function(e, t, n) {
3022
- e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), Ce(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
3020
+ e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), Se(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
3023
3021
  }, L.checkPatternExport = function(e, t) {
3024
3022
  var n = t.type;
3025
3023
  if (n === "Identifier") this.checkExport(e, t, t.start);
@@ -3051,7 +3049,7 @@ L.parseExportAllDeclaration = function(e, t) {
3051
3049
  }
3052
3050
  return t;
3053
3051
  }, L.parseImport = function(e) {
3054
- return this.next(), this.type === E.string ? (e.specifiers = et, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === E.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
3052
+ return this.next(), this.type === E.string ? (e.specifiers = $e, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === E.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
3055
3053
  }, L.parseImportSpecifier = function() {
3056
3054
  var e = this.startNode();
3057
3055
  return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, N), this.finishNode(e, "ImportSpecifier");
@@ -3079,7 +3077,7 @@ L.parseExportAllDeclaration = function(e, t) {
3079
3077
  if (n) n = !1;
3080
3078
  else if (this.expect(E.comma), this.afterTrailingComma(E.braceR)) break;
3081
3079
  var r = this.parseImportAttribute(), i = r.key.type === "Identifier" ? r.key.name : r.key.value;
3082
- Ce(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
3080
+ Se(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
3083
3081
  }
3084
3082
  return e;
3085
3083
  }, L.parseImportAttribute = function() {
@@ -3088,7 +3086,7 @@ L.parseExportAllDeclaration = function(e, t) {
3088
3086
  }, L.parseModuleExportName = function() {
3089
3087
  if (this.options.ecmaVersion >= 13 && this.type === E.string) {
3090
3088
  var e = this.parseLiteral(this.value);
3091
- return Ee.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
3089
+ return Te.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
3092
3090
  }
3093
3091
  return this.parseIdent(!0);
3094
3092
  }, L.adaptDirectivePrologue = function(e) {
@@ -3179,11 +3177,11 @@ R.toAssignable = function(e, t, n) {
3179
3177
  var r = this.startNodeAt(e, t);
3180
3178
  return r.left = n, r.right = this.parseMaybeAssign(), this.finishNode(r, "AssignmentPattern");
3181
3179
  }, R.checkLValSimple = function(e, t, n) {
3182
- t === void 0 && (t = Ge);
3183
- var r = t !== Ge;
3180
+ t === void 0 && (t = We);
3181
+ var r = t !== We;
3184
3182
  switch (e.type) {
3185
3183
  case "Identifier":
3186
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === N && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (Ce(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== Ye && this.declareName(e.name, t, e.start));
3184
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === N && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (Se(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== Je && this.declareName(e.name, t, e.start));
3187
3185
  break;
3188
3186
  case "ChainExpression":
3189
3187
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -3195,7 +3193,7 @@ R.toAssignable = function(e, t, n) {
3195
3193
  default: this.raise(e.start, (r ? "Binding" : "Assigning to") + " rvalue");
3196
3194
  }
3197
3195
  }, R.checkLValPattern = function(e, t, n) {
3198
- switch (t === void 0 && (t = Ge), e.type) {
3196
+ switch (t === void 0 && (t = We), e.type) {
3199
3197
  case "ObjectPattern":
3200
3198
  for (var r = 0, i = e.properties; r < i.length; r += 1) {
3201
3199
  var a = i[r];
@@ -3211,7 +3209,7 @@ R.toAssignable = function(e, t, n) {
3211
3209
  default: this.checkLValSimple(e, t, n);
3212
3210
  }
3213
3211
  }, R.checkLValInnerPattern = function(e, t, n) {
3214
- switch (t === void 0 && (t = Ge), e.type) {
3212
+ switch (t === void 0 && (t = We), e.type) {
3215
3213
  case "Property":
3216
3214
  this.checkLValInnerPattern(e.value, t, n);
3217
3215
  break;
@@ -3239,24 +3237,24 @@ var z = function(e, t, n, r, i) {
3239
3237
  f_expr: new z("function", !0),
3240
3238
  f_expr_gen: new z("function", !0, !1, null, !0),
3241
3239
  f_gen: new z("function", !1, !1, null, !0)
3242
- }, ot = P.prototype;
3243
- ot.initialContext = function() {
3240
+ }, at = P.prototype;
3241
+ at.initialContext = function() {
3244
3242
  return [B.b_stat];
3245
- }, ot.curContext = function() {
3243
+ }, at.curContext = function() {
3246
3244
  return this.context[this.context.length - 1];
3247
- }, ot.braceIsBlock = function(e) {
3245
+ }, at.braceIsBlock = function(e) {
3248
3246
  var t = this.curContext();
3249
3247
  return t === B.f_expr || t === B.f_stat ? !0 : e === E.colon && (t === B.b_stat || t === B.b_expr) ? !t.isExpr : e === E._return || e === E.name && this.exprAllowed ? D.test(this.input.slice(this.lastTokEnd, this.start)) : e === E._else || e === E.semi || e === E.eof || e === E.parenR || e === E.arrow ? !0 : e === E.braceL ? t === B.b_stat : e === E._var || e === E._const || e === E.name ? !1 : !this.exprAllowed;
3250
- }, ot.inGeneratorContext = function() {
3248
+ }, at.inGeneratorContext = function() {
3251
3249
  for (var e = this.context.length - 1; e >= 1; e--) {
3252
3250
  var t = this.context[e];
3253
3251
  if (t.token === "function") return t.generator;
3254
3252
  }
3255
3253
  return !1;
3256
- }, ot.updateContext = function(e) {
3254
+ }, at.updateContext = function(e) {
3257
3255
  var t, n = this.type;
3258
3256
  n.keyword && e === E.dot ? this.exprAllowed = !1 : (t = n.updateContext) ? t.call(this, e) : this.exprAllowed = n.beforeExpr;
3259
- }, ot.overrideContext = function(e) {
3257
+ }, at.overrideContext = function(e) {
3260
3258
  this.curContext() !== e && (this.context[this.context.length - 1] = e);
3261
3259
  }, E.parenR.updateContext = E.braceR.updateContext = function() {
3262
3260
  if (this.context.length === 1) {
@@ -3331,7 +3329,7 @@ V.checkPropClash = function(e, t, n) {
3331
3329
  this.exprAllowed = !1;
3332
3330
  }
3333
3331
  var r = !1, i = -1, a = -1, o = -1;
3334
- t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Ze(), r = !0);
3332
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Xe(), r = !0);
3335
3333
  var s = this.start, c = this.startLoc;
3336
3334
  (this.type === E.parenL || this.type === E.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
3337
3335
  var l = this.parseMaybeConditional(e, t);
@@ -3371,7 +3369,7 @@ V.checkPropClash = function(e, t, n) {
3371
3369
  if (this.isContextual("await") && this.canAwait) o = this.parseAwait(r), t = !0;
3372
3370
  else if (this.type.prefix) {
3373
3371
  var s = this.startNode(), c = this.type === E.incDec;
3374
- s.operator = this.value, s.prefix = !0, this.next(), s.argument = this.parseMaybeUnary(null, !0, c, r), this.checkExpressionErrors(e, !0), c ? this.checkLValSimple(s.argument) : this.strict && s.operator === "delete" && st(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && ct(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
3372
+ s.operator = this.value, s.prefix = !0, this.next(), s.argument = this.parseMaybeUnary(null, !0, c, r), this.checkExpressionErrors(e, !0), c ? this.checkLValSimple(s.argument) : this.strict && s.operator === "delete" && ot(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && st(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
3375
3373
  } else if (!t && this.type === E.privateId) (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== E._in && this.unexpected();
3376
3374
  else {
3377
3375
  if (o = this.parseExprSubscripts(e, r), this.checkExpressionErrors(e)) return o;
@@ -3384,11 +3382,11 @@ V.checkPropClash = function(e, t, n) {
3384
3382
  else return this.buildBinary(i, a, o, this.parseMaybeUnary(null, !1, !1, r), "**", !1);
3385
3383
  else return o;
3386
3384
  };
3387
- function st(e) {
3388
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && st(e.expression);
3385
+ function ot(e) {
3386
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && ot(e.expression);
3389
3387
  }
3390
- function ct(e) {
3391
- return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && ct(e.expression) || e.type === "ParenthesizedExpression" && ct(e.expression);
3388
+ function st(e) {
3389
+ return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && st(e.expression) || e.type === "ParenthesizedExpression" && st(e.expression);
3392
3390
  }
3393
3391
  V.parseExprSubscripts = function(e, t) {
3394
3392
  var n = this.start, r = this.startLoc, i = this.parseExprAtom(e, t);
@@ -3419,7 +3417,7 @@ V.parseExprSubscripts = function(e, t) {
3419
3417
  var u = this.startNodeAt(t, n);
3420
3418
  u.object = e, l ? (u.property = this.parseExpression(), this.expect(E.bracketR)) : this.type === E.privateId && e.type !== "Super" ? u.property = this.parsePrivateIdent() : u.property = this.parseIdent(this.options.allowReserved !== "never"), u.computed = !!l, s && (u.optional = c), e = this.finishNode(u, "MemberExpression");
3421
3419
  } else if (!r && this.eat(E.parenL)) {
3422
- var d = new Ze(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
3420
+ var d = new Xe(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
3423
3421
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
3424
3422
  var h = this.parseExprList(E.parenR, this.options.ecmaVersion >= 8, !1, d);
3425
3423
  if (i && !c && this.shouldParseAsyncArrow()) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = f, this.awaitPos = p, this.awaitIdentPos = m, this.parseSubscriptAsyncArrow(t, n, h, o);
@@ -3502,7 +3500,7 @@ V.parseExprSubscripts = function(e, t) {
3502
3500
  var n = this.start, r = this.startLoc, i, a = this.options.ecmaVersion >= 8;
3503
3501
  if (this.options.ecmaVersion >= 6) {
3504
3502
  this.next();
3505
- var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new Ze(), f = this.yieldPos, p = this.awaitPos, m;
3503
+ var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new Xe(), f = this.yieldPos, p = this.awaitPos, m;
3506
3504
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== E.parenR;) if (l ? l = !1 : this.expect(E.comma), a && this.afterTrailingComma(E.parenR, !0)) {
3507
3505
  u = !0;
3508
3506
  break;
@@ -3523,7 +3521,7 @@ V.parseExprSubscripts = function(e, t) {
3523
3521
  }, V.parseParenArrowList = function(e, t, n, r) {
3524
3522
  return this.parseArrowExpression(this.startNodeAt(e, t), n, !1, r);
3525
3523
  };
3526
- var lt = [];
3524
+ var ct = [];
3527
3525
  V.parseNew = function() {
3528
3526
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
3529
3527
  var e = this.startNode();
@@ -3534,7 +3532,7 @@ V.parseNew = function() {
3534
3532
  return e.property = this.parseIdent(!0), e.property.name !== "target" && this.raiseRecoverable(e.property.start, "The only valid meta property for new is 'new.target'"), n && this.raiseRecoverable(e.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(e.start, "'new.target' can only be used in functions and class static block"), this.finishNode(e, "MetaProperty");
3535
3533
  }
3536
3534
  var r = this.start, i = this.startLoc;
3537
- return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), e.callee.type === "Super" && this.raiseRecoverable(r, "Invalid use of 'super'"), this.eat(E.parenL) ? e.arguments = this.parseExprList(E.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = lt, this.finishNode(e, "NewExpression");
3535
+ return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), e.callee.type === "Super" && this.raiseRecoverable(r, "Invalid use of 'super'"), this.eat(E.parenL) ? e.arguments = this.parseExprList(E.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = ct, this.finishNode(e, "NewExpression");
3538
3536
  }, V.parseTemplateElement = function(e) {
3539
3537
  var t = e.isTagged, n = this.startNode();
3540
3538
  return this.type === E.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), n.value = {
@@ -3590,10 +3588,10 @@ V.parseNew = function() {
3590
3588
  e.id = null, this.options.ecmaVersion >= 6 && (e.generator = e.expression = !1), this.options.ecmaVersion >= 8 && (e.async = !1);
3591
3589
  }, V.parseMethod = function(e, t, n) {
3592
3590
  var r = this.startNode(), i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
3593
- return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(We(t, r.generator) | ze | (n ? Be : 0)), this.expect(E.parenL), r.params = this.parseBindingList(E.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(r, "FunctionExpression");
3591
+ return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ue(t, r.generator) | Re | (n ? ze : 0)), this.expect(E.parenL), r.params = this.parseBindingList(E.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(r, "FunctionExpression");
3594
3592
  }, V.parseArrowExpression = function(e, t, n, r) {
3595
3593
  var i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
3596
- return this.enterScope(We(n, !1) | Le), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, r), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
3594
+ return this.enterScope(Ue(n, !1) | Ie), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, r), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
3597
3595
  }, V.parseFunctionBody = function(e, t, n, r) {
3598
3596
  var i = t && this.type !== E.braceL, a = this.strict, o = !1;
3599
3597
  if (i) e.body = this.parseMaybeAssign(r), e.expression = !0, this.checkParams(e, !1);
@@ -3601,7 +3599,7 @@ V.parseNew = function() {
3601
3599
  var s = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
3602
3600
  (!a || s) && (o = this.strictDirective(this.end), o && s && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
3603
3601
  var c = this.labels;
3604
- this.labels = [], o && (this.strict = !0), this.checkParams(e, !a && !o && !t && !n && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Ye), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
3602
+ this.labels = [], o && (this.strict = !0), this.checkParams(e, !a && !o && !t && !n && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Je), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
3605
3603
  }
3606
3604
  this.exitScope();
3607
3605
  }, V.isSimpleParamList = function(e) {
@@ -3610,7 +3608,7 @@ V.parseNew = function() {
3610
3608
  }, V.checkParams = function(e, t) {
3611
3609
  for (var n = Object.create(null), r = 0, i = e.params; r < i.length; r += 1) {
3612
3610
  var a = i[r];
3613
- this.checkLValInnerPattern(a, Ke, t ? null : n);
3611
+ this.checkLValInnerPattern(a, Ge, t ? null : n);
3614
3612
  }
3615
3613
  }, V.parseExprList = function(e, t, n, r) {
3616
3614
  for (var i = [], a = !0; !this.eat(e);) {
@@ -3622,7 +3620,7 @@ V.parseNew = function() {
3622
3620
  return i;
3623
3621
  }, V.checkUnreserved = function(e) {
3624
3622
  var t = e.start, n = e.end, r = e.name;
3625
- this.inGenerator && r === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Ue) && r === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (r === "arguments" || r === "await") && this.raise(t, "Cannot use " + r + " in class static initialization block"), this.keywords.test(r) && this.raise(t, "Unexpected keyword '" + r + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, n).indexOf("\\") !== -1) && (this.strict ? this.reservedWordsStrict : this.reservedWords).test(r) && (!this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + r + "' is reserved"));
3623
+ this.inGenerator && r === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & He) && r === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (r === "arguments" || r === "await") && this.raise(t, "Cannot use " + r + " in class static initialization block"), this.keywords.test(r) && this.raise(t, "Unexpected keyword '" + r + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, n).indexOf("\\") !== -1) && (this.strict ? this.reservedWordsStrict : this.reservedWords).test(r) && (!this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + r + "' is reserved"));
3626
3624
  }, V.parseIdent = function(e) {
3627
3625
  var t = this.parseIdentNode();
3628
3626
  return this.next(!!e), this.finishNode(t, "Identifier"), e || (this.checkUnreserved(t), t.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = t.start)), t;
@@ -3641,40 +3639,40 @@ V.parseNew = function() {
3641
3639
  var t = this.startNode();
3642
3640
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
3643
3641
  };
3644
- var ut = P.prototype;
3645
- ut.raise = function(e, t) {
3646
- var n = ke(this.input, e);
3642
+ var lt = P.prototype;
3643
+ lt.raise = function(e, t) {
3644
+ var n = Oe(this.input, e);
3647
3645
  t += " (" + n.line + ":" + n.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
3648
3646
  var r = SyntaxError(t);
3649
3647
  throw r.pos = e, r.loc = n, r.raisedAt = this.pos, r;
3650
- }, ut.raiseRecoverable = ut.raise, ut.curPosition = function() {
3651
- if (this.options.locations) return new De(this.curLine, this.pos - this.lineStart);
3648
+ }, lt.raiseRecoverable = lt.raise, lt.curPosition = function() {
3649
+ if (this.options.locations) return new Ee(this.curLine, this.pos - this.lineStart);
3652
3650
  };
3653
- var H = P.prototype, dt = function(e) {
3651
+ var H = P.prototype, ut = function(e) {
3654
3652
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
3655
3653
  };
3656
3654
  H.enterScope = function(e) {
3657
- this.scopeStack.push(new dt(e));
3655
+ this.scopeStack.push(new ut(e));
3658
3656
  }, H.exitScope = function() {
3659
3657
  this.scopeStack.pop();
3660
3658
  }, H.treatFunctionsAsVarInScope = function(e) {
3661
- return e.flags & Pe || !this.inModule && e.flags & j;
3659
+ return e.flags & j || !this.inModule && e.flags & Ne;
3662
3660
  }, H.declareName = function(e, t, n) {
3663
3661
  var r = !1;
3664
3662
  if (t === N) {
3665
3663
  var i = this.currentScope();
3666
- r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & j && delete this.undefinedExports[e];
3667
- } else if (t === Je) this.currentScope().lexical.push(e);
3668
- else if (t === qe) {
3664
+ r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & Ne && delete this.undefinedExports[e];
3665
+ } else if (t === qe) this.currentScope().lexical.push(e);
3666
+ else if (t === Ke) {
3669
3667
  var a = this.currentScope();
3670
3668
  r = this.treatFunctionsAsVar ? a.lexical.indexOf(e) > -1 : a.lexical.indexOf(e) > -1 || a.var.indexOf(e) > -1, a.functions.push(e);
3671
3669
  } else for (var o = this.scopeStack.length - 1; o >= 0; --o) {
3672
3670
  var s = this.scopeStack[o];
3673
- if (s.lexical.indexOf(e) > -1 && !(s.flags & Re && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
3671
+ if (s.lexical.indexOf(e) > -1 && !(s.flags & Le && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
3674
3672
  r = !0;
3675
3673
  break;
3676
3674
  }
3677
- if (s.var.push(e), this.inModule && s.flags & j && delete this.undefinedExports[e], s.flags & Ue) break;
3675
+ if (s.var.push(e), this.inModule && s.flags & Ne && delete this.undefinedExports[e], s.flags & He) break;
3678
3676
  }
3679
3677
  r && this.raiseRecoverable(n, "Identifier '" + e + "' has already been declared");
3680
3678
  }, H.checkLocalExport = function(e) {
@@ -3684,89 +3682,89 @@ H.enterScope = function(e) {
3684
3682
  }, H.currentVarScope = function() {
3685
3683
  for (var e = this.scopeStack.length - 1;; e--) {
3686
3684
  var t = this.scopeStack[e];
3687
- if (t.flags & (Ue | Ve | M)) return t;
3685
+ if (t.flags & (He | Be | M)) return t;
3688
3686
  }
3689
3687
  }, H.currentThisScope = function() {
3690
3688
  for (var e = this.scopeStack.length - 1;; e--) {
3691
3689
  var t = this.scopeStack[e];
3692
- if (t.flags & (Ue | Ve | M) && !(t.flags & Le)) return t;
3690
+ if (t.flags & (He | Be | M) && !(t.flags & Ie)) return t;
3693
3691
  }
3694
3692
  };
3695
- var ft = function(e, t, n) {
3696
- this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new Oe(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
3697
- }, pt = P.prototype;
3698
- pt.startNode = function() {
3699
- return new ft(this, this.start, this.startLoc);
3700
- }, pt.startNodeAt = function(e, t) {
3701
- return new ft(this, e, t);
3693
+ var dt = function(e, t, n) {
3694
+ this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new De(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
3695
+ }, ft = P.prototype;
3696
+ ft.startNode = function() {
3697
+ return new dt(this, this.start, this.startLoc);
3698
+ }, ft.startNodeAt = function(e, t) {
3699
+ return new dt(this, e, t);
3702
3700
  };
3703
- function mt(e, t, n, r) {
3701
+ function pt(e, t, n, r) {
3704
3702
  return e.type = t, e.end = n, this.options.locations && (e.loc.end = r), this.options.ranges && (e.range[1] = n), e;
3705
3703
  }
3706
- pt.finishNode = function(e, t) {
3707
- return mt.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
3708
- }, pt.finishNodeAt = function(e, t, n, r) {
3709
- return mt.call(this, e, t, n, r);
3710
- }, pt.copyNode = function(e) {
3711
- var t = new ft(this, e.start, this.startLoc);
3704
+ ft.finishNode = function(e, t) {
3705
+ return pt.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
3706
+ }, ft.finishNodeAt = function(e, t, n, r) {
3707
+ return pt.call(this, e, t, n, r);
3708
+ }, ft.copyNode = function(e) {
3709
+ var t = new dt(this, e.start, this.startLoc);
3712
3710
  for (var n in e) t[n] = e[n];
3713
3711
  return t;
3714
3712
  };
3715
- var ht = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz", gt = "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", _t = gt + " Extended_Pictographic", vt = _t, yt = vt + " EBase EComp EMod EPres ExtPict", bt = yt, xt = {
3716
- 9: gt,
3717
- 10: _t,
3718
- 11: vt,
3719
- 12: yt,
3720
- 13: bt,
3721
- 14: bt
3722
- }, St = {
3713
+ var mt = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz", ht = "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", gt = ht + " Extended_Pictographic", _t = gt, vt = _t + " EBase EComp EMod EPres ExtPict", yt = vt, bt = {
3714
+ 9: ht,
3715
+ 10: gt,
3716
+ 11: _t,
3717
+ 12: vt,
3718
+ 13: yt,
3719
+ 14: yt
3720
+ }, xt = {
3723
3721
  9: "",
3724
3722
  10: "",
3725
3723
  11: "",
3726
3724
  12: "",
3727
3725
  13: "",
3728
3726
  14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"
3729
- }, Ct = "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", wt = "Adlam Adlm 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 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", Tt = wt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Et = Tt + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Dt = Et + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Ot = Dt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", kt = {
3730
- 9: wt,
3731
- 10: Tt,
3732
- 11: Et,
3733
- 12: Dt,
3734
- 13: Ot,
3735
- 14: Ot + " " + ht
3736
- }, At = {};
3737
- function jt(e) {
3738
- var t = At[e] = {
3739
- binary: k(xt[e] + " " + Ct),
3740
- binaryOfStrings: k(St[e]),
3727
+ }, St = "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", Ct = "Adlam Adlm 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 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", wt = Ct + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Tt = wt + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Et = Tt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Dt = Et + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", Ot = {
3728
+ 9: Ct,
3729
+ 10: wt,
3730
+ 11: Tt,
3731
+ 12: Et,
3732
+ 13: Dt,
3733
+ 14: Dt + " " + mt
3734
+ }, kt = {};
3735
+ function At(e) {
3736
+ var t = kt[e] = {
3737
+ binary: k(bt[e] + " " + St),
3738
+ binaryOfStrings: k(xt[e]),
3741
3739
  nonBinary: {
3742
- General_Category: k(Ct),
3743
- Script: k(kt[e])
3740
+ General_Category: k(St),
3741
+ Script: k(Ot[e])
3744
3742
  }
3745
3743
  };
3746
3744
  t.nonBinary.Script_Extensions = t.nonBinary.Script, t.nonBinary.gc = t.nonBinary.General_Category, t.nonBinary.sc = t.nonBinary.Script, t.nonBinary.scx = t.nonBinary.Script_Extensions;
3747
3745
  }
3748
- for (var Mt = 0, Nt = [
3746
+ for (var jt = 0, Mt = [
3749
3747
  9,
3750
3748
  10,
3751
3749
  11,
3752
3750
  12,
3753
3751
  13,
3754
3752
  14
3755
- ]; Mt < Nt.length; Mt += 1) {
3756
- var Pt = Nt[Mt];
3757
- jt(Pt);
3753
+ ]; jt < Mt.length; jt += 1) {
3754
+ var Nt = Mt[jt];
3755
+ At(Nt);
3758
3756
  }
3759
- var U = P.prototype, Ft = function(e, t) {
3757
+ var U = P.prototype, Pt = function(e, t) {
3760
3758
  this.parent = e, this.base = t || this;
3761
3759
  };
3762
- Ft.prototype.separatedFrom = function(e) {
3760
+ Pt.prototype.separatedFrom = function(e) {
3763
3761
  for (var t = this; t; t = t.parent) for (var n = e; n; n = n.parent) if (t.base === n.base && t !== n) return !0;
3764
3762
  return !1;
3765
- }, Ft.prototype.sibling = function() {
3766
- return new Ft(this.parent, this.base);
3763
+ }, Pt.prototype.sibling = function() {
3764
+ return new Pt(this.parent, this.base);
3767
3765
  };
3768
3766
  var W = function(e) {
3769
- this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = At[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
3767
+ this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = kt[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
3770
3768
  };
3771
3769
  W.prototype.reset = function(e, t, n) {
3772
3770
  var r = n.indexOf("v") !== -1, i = n.indexOf("u") !== -1;
@@ -3810,12 +3808,12 @@ W.prototype.reset = function(e, t, n) {
3810
3808
  }
3811
3809
  this.options.ecmaVersion >= 15 && r && i && this.raise(e.start, "Invalid regular expression flag");
3812
3810
  };
3813
- function It(e) {
3811
+ function Ft(e) {
3814
3812
  for (var t in e) return !0;
3815
3813
  return !1;
3816
3814
  }
3817
3815
  U.validateRegExpPattern = function(e) {
3818
- this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && It(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
3816
+ this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && Ft(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
3819
3817
  }, U.regexp_pattern = function(e) {
3820
3818
  e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = !1, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames = Object.create(null), e.backReferenceNames.length = 0, e.branchID = null, this.regexp_disjunction(e), e.pos !== e.source.length && (e.eat(41) && e.raise("Unmatched ')'"), (e.eat(93) || e.eat(125)) && e.raise("Lone quantifier brackets")), e.maxBackReference > e.numCapturingParens && e.raise("Invalid escape");
3821
3819
  for (var t = 0, n = e.backReferenceNames; t < n.length; t += 1) {
@@ -3824,7 +3822,7 @@ U.validateRegExpPattern = function(e) {
3824
3822
  }
3825
3823
  }, U.regexp_disjunction = function(e) {
3826
3824
  var t = this.options.ecmaVersion >= 16;
3827
- for (t && (e.branchID = new Ft(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
3825
+ for (t && (e.branchID = new Pt(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
3828
3826
  t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, !0) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
3829
3827
  }, U.regexp_alternative = function(e) {
3830
3828
  for (; e.pos < e.source.length && this.regexp_eatTerm(e););
@@ -3899,10 +3897,10 @@ U.validateRegExpPattern = function(e) {
3899
3897
  }
3900
3898
  return !1;
3901
3899
  }, U.regexp_eatModifiers = function(e) {
3902
- for (var t = "", n = 0; (n = e.current()) !== -1 && Lt(n);) t += A(n), e.advance();
3900
+ for (var t = "", n = 0; (n = e.current()) !== -1 && It(n);) t += A(n), e.advance();
3903
3901
  return t;
3904
3902
  };
3905
- function Lt(e) {
3903
+ function It(e) {
3906
3904
  return e === 105 || e === 109 || e === 115;
3907
3905
  }
3908
3906
  U.regexp_eatExtendedAtom = function(e) {
@@ -3911,13 +3909,13 @@ U.regexp_eatExtendedAtom = function(e) {
3911
3909
  return this.regexp_eatBracedQuantifier(e, !0) && e.raise("Nothing to repeat"), !1;
3912
3910
  }, U.regexp_eatSyntaxCharacter = function(e) {
3913
3911
  var t = e.current();
3914
- return Rt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3912
+ return Lt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3915
3913
  };
3916
- function Rt(e) {
3914
+ function Lt(e) {
3917
3915
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
3918
3916
  }
3919
3917
  U.regexp_eatPatternCharacters = function(e) {
3920
- for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !Rt(n);) e.advance();
3918
+ for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !Lt(n);) e.advance();
3921
3919
  return e.pos !== t;
3922
3920
  }, U.regexp_eatExtendedPatternCharacter = function(e) {
3923
3921
  var t = e.current();
@@ -3944,16 +3942,16 @@ U.regexp_eatPatternCharacters = function(e) {
3944
3942
  return !1;
3945
3943
  }, U.regexp_eatRegExpIdentifierStart = function(e) {
3946
3944
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
3947
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), zt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3945
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Rt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3948
3946
  };
3949
- function zt(e) {
3947
+ function Rt(e) {
3950
3948
  return y(e, !0) || e === 36 || e === 95;
3951
3949
  }
3952
3950
  U.regexp_eatRegExpIdentifierPart = function(e) {
3953
3951
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
3954
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Bt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3952
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), zt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3955
3953
  };
3956
- function Bt(e) {
3954
+ function zt(e) {
3957
3955
  return b(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
3958
3956
  }
3959
3957
  U.regexp_eatAtomEscape = function(e) {
@@ -3983,15 +3981,15 @@ U.regexp_eatAtomEscape = function(e) {
3983
3981
  }
3984
3982
  return !1;
3985
3983
  }, U.regexp_eatZero = function(e) {
3986
- return e.current() === 48 && !Xt(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
3984
+ return e.current() === 48 && !Yt(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
3987
3985
  }, U.regexp_eatControlEscape = function(e) {
3988
3986
  var t = e.current();
3989
3987
  return t === 116 ? (e.lastIntValue = 9, e.advance(), !0) : t === 110 ? (e.lastIntValue = 10, e.advance(), !0) : t === 118 ? (e.lastIntValue = 11, e.advance(), !0) : t === 102 ? (e.lastIntValue = 12, e.advance(), !0) : t === 114 ? (e.lastIntValue = 13, e.advance(), !0) : !1;
3990
3988
  }, U.regexp_eatControlLetter = function(e) {
3991
3989
  var t = e.current();
3992
- return Vt(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3990
+ return Bt(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3993
3991
  };
3994
- function Vt(e) {
3992
+ function Bt(e) {
3995
3993
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
3996
3994
  }
3997
3995
  U.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
@@ -4010,12 +4008,12 @@ U.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
4010
4008
  }
4011
4009
  return !0;
4012
4010
  }
4013
- if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && Ht(e.lastIntValue)) return !0;
4011
+ if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && Vt(e.lastIntValue)) return !0;
4014
4012
  r && e.raise("Invalid unicode escape"), e.pos = n;
4015
4013
  }
4016
4014
  return !1;
4017
4015
  };
4018
- function Ht(e) {
4016
+ function Vt(e) {
4019
4017
  return e >= 0 && e <= 1114111;
4020
4018
  }
4021
4019
  U.regexp_eatIdentityEscape = function(e) {
@@ -4033,10 +4031,10 @@ U.regexp_eatIdentityEscape = function(e) {
4033
4031
  }
4034
4032
  return !1;
4035
4033
  };
4036
- var Ut = 0, G = 1, K = 2;
4034
+ var Ht = 0, G = 1, K = 2;
4037
4035
  U.regexp_eatCharacterClassEscape = function(e) {
4038
4036
  var t = e.current();
4039
- if (Wt(t)) return e.lastIntValue = -1, e.advance(), G;
4037
+ if (Ut(t)) return e.lastIntValue = -1, e.advance(), G;
4040
4038
  var n = !1;
4041
4039
  if (e.switchU && this.options.ecmaVersion >= 9 && ((n = t === 80) || t === 112)) {
4042
4040
  e.lastIntValue = -1, e.advance();
@@ -4044,9 +4042,9 @@ U.regexp_eatCharacterClassEscape = function(e) {
4044
4042
  if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === K && e.raise("Invalid property name"), r;
4045
4043
  e.raise("Invalid property name");
4046
4044
  }
4047
- return Ut;
4045
+ return Ht;
4048
4046
  };
4049
- function Wt(e) {
4047
+ function Ut(e) {
4050
4048
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
4051
4049
  }
4052
4050
  U.regexp_eatUnicodePropertyValueExpression = function(e) {
@@ -4062,28 +4060,28 @@ U.regexp_eatUnicodePropertyValueExpression = function(e) {
4062
4060
  var i = e.lastStringValue;
4063
4061
  return this.regexp_validateUnicodePropertyNameOrValue(e, i);
4064
4062
  }
4065
- return Ut;
4063
+ return Ht;
4066
4064
  }, U.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
4067
- Ce(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
4065
+ Se(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
4068
4066
  }, U.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
4069
4067
  if (e.unicodeProperties.binary.test(t)) return G;
4070
4068
  if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return K;
4071
4069
  e.raise("Invalid property name");
4072
4070
  }, U.regexp_eatUnicodePropertyName = function(e) {
4073
4071
  var t = 0;
4074
- for (e.lastStringValue = ""; Gt(t = e.current());) e.lastStringValue += A(t), e.advance();
4072
+ for (e.lastStringValue = ""; Wt(t = e.current());) e.lastStringValue += A(t), e.advance();
4075
4073
  return e.lastStringValue !== "";
4076
4074
  };
4077
- function Gt(e) {
4078
- return Vt(e) || e === 95;
4075
+ function Wt(e) {
4076
+ return Bt(e) || e === 95;
4079
4077
  }
4080
4078
  U.regexp_eatUnicodePropertyValue = function(e) {
4081
4079
  var t = 0;
4082
- for (e.lastStringValue = ""; Kt(t = e.current());) e.lastStringValue += A(t), e.advance();
4080
+ for (e.lastStringValue = ""; Gt(t = e.current());) e.lastStringValue += A(t), e.advance();
4083
4081
  return e.lastStringValue !== "";
4084
4082
  };
4085
- function Kt(e) {
4086
- return Gt(e) || Xt(e);
4083
+ function Gt(e) {
4084
+ return Wt(e) || Yt(e);
4087
4085
  }
4088
4086
  U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
4089
4087
  return this.regexp_eatUnicodePropertyValue(e);
@@ -4109,7 +4107,7 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
4109
4107
  if (this.regexp_eatClassEscape(e)) return !0;
4110
4108
  if (e.switchU) {
4111
4109
  var n = e.current();
4112
- (n === 99 || $t(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
4110
+ (n === 99 || Qt(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
4113
4111
  }
4114
4112
  e.pos = t;
4115
4113
  }
@@ -4189,24 +4187,24 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
4189
4187
  var t = e.pos;
4190
4188
  if (e.eat(92)) return this.regexp_eatCharacterEscape(e) || this.regexp_eatClassSetReservedPunctuator(e) ? !0 : e.eat(98) ? (e.lastIntValue = 8, !0) : (e.pos = t, !1);
4191
4189
  var n = e.current();
4192
- return n < 0 || n === e.lookahead() && qt(n) || Jt(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
4190
+ return n < 0 || n === e.lookahead() && Kt(n) || qt(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
4193
4191
  };
4194
- function qt(e) {
4192
+ function Kt(e) {
4195
4193
  return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
4196
4194
  }
4197
- function Jt(e) {
4195
+ function qt(e) {
4198
4196
  return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
4199
4197
  }
4200
4198
  U.regexp_eatClassSetReservedPunctuator = function(e) {
4201
4199
  var t = e.current();
4202
- return Yt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
4200
+ return Jt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
4203
4201
  };
4204
- function Yt(e) {
4202
+ function Jt(e) {
4205
4203
  return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
4206
4204
  }
4207
4205
  U.regexp_eatClassControlLetter = function(e) {
4208
4206
  var t = e.current();
4209
- return Xt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
4207
+ return Yt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
4210
4208
  }, U.regexp_eatHexEscapeSequence = function(e) {
4211
4209
  var t = e.pos;
4212
4210
  if (e.eat(120)) {
@@ -4216,21 +4214,21 @@ U.regexp_eatClassControlLetter = function(e) {
4216
4214
  return !1;
4217
4215
  }, U.regexp_eatDecimalDigits = function(e) {
4218
4216
  var t = e.pos, n = 0;
4219
- for (e.lastIntValue = 0; Xt(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
4217
+ for (e.lastIntValue = 0; Yt(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
4220
4218
  return e.pos !== t;
4221
4219
  };
4222
- function Xt(e) {
4220
+ function Yt(e) {
4223
4221
  return e >= 48 && e <= 57;
4224
4222
  }
4225
4223
  U.regexp_eatHexDigits = function(e) {
4226
4224
  var t = e.pos, n = 0;
4227
- for (e.lastIntValue = 0; Zt(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Qt(n), e.advance();
4225
+ for (e.lastIntValue = 0; Xt(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Zt(n), e.advance();
4228
4226
  return e.pos !== t;
4229
4227
  };
4230
- function Zt(e) {
4228
+ function Xt(e) {
4231
4229
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
4232
4230
  }
4233
- function Qt(e) {
4231
+ function Zt(e) {
4234
4232
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
4235
4233
  }
4236
4234
  U.regexp_eatLegacyOctalEscapeSequence = function(e) {
@@ -4245,9 +4243,9 @@ U.regexp_eatLegacyOctalEscapeSequence = function(e) {
4245
4243
  return !1;
4246
4244
  }, U.regexp_eatOctalDigit = function(e) {
4247
4245
  var t = e.current();
4248
- return $t(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
4246
+ return Qt(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
4249
4247
  };
4250
- function $t(e) {
4248
+ function Qt(e) {
4251
4249
  return e >= 48 && e <= 55;
4252
4250
  }
4253
4251
  U.regexp_eatFixedHexDigits = function(e, t) {
@@ -4255,18 +4253,18 @@ U.regexp_eatFixedHexDigits = function(e, t) {
4255
4253
  e.lastIntValue = 0;
4256
4254
  for (var r = 0; r < t; ++r) {
4257
4255
  var i = e.current();
4258
- if (!Zt(i)) return e.pos = n, !1;
4259
- e.lastIntValue = 16 * e.lastIntValue + Qt(i), e.advance();
4256
+ if (!Xt(i)) return e.pos = n, !1;
4257
+ e.lastIntValue = 16 * e.lastIntValue + Zt(i), e.advance();
4260
4258
  }
4261
4259
  return !0;
4262
4260
  };
4263
- var en = function(e) {
4264
- this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new Oe(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
4261
+ var $t = function(e) {
4262
+ this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new De(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
4265
4263
  }, q = P.prototype;
4266
4264
  q.next = function(e) {
4267
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new en(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
4265
+ !e && 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();
4268
4266
  }, q.getToken = function() {
4269
- return this.next(), new en(this);
4267
+ return this.next(), new $t(this);
4270
4268
  }, typeof Symbol < "u" && (q[Symbol.iterator] = function() {
4271
4269
  var e = this;
4272
4270
  return { next: function() {
@@ -4292,10 +4290,10 @@ q.next = function(e) {
4292
4290
  return this.fullCharCodeAt(this.pos);
4293
4291
  }, q.skipBlockComment = function() {
4294
4292
  var e = this.options.onComment && this.curPosition(), t = this.pos, n = this.input.indexOf("*/", this.pos += 2);
4295
- if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r = void 0, i = t; (r = ve(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
4293
+ if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r = void 0, i = t; (r = _e(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
4296
4294
  this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, n), t, this.pos, e, this.curPosition());
4297
4295
  }, q.skipLineComment = function(e) {
4298
- for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !_e(r);) r = this.input.charCodeAt(++this.pos);
4296
+ for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !ge(r);) r = this.input.charCodeAt(++this.pos);
4299
4297
  this.options.onComment && this.options.onComment(!1, this.input.slice(t + e, this.pos), t, this.pos, n, this.curPosition());
4300
4298
  }, q.skipSpace = function() {
4301
4299
  loop: for (; this.pos < this.input.length;) {
@@ -4322,7 +4320,7 @@ q.next = function(e) {
4322
4320
  default: break loop;
4323
4321
  }
4324
4322
  break;
4325
- default: if (e > 8 && e < 14 || e >= 5760 && ye.test(String.fromCharCode(e))) ++this.pos;
4323
+ default: if (e > 8 && e < 14 || e >= 5760 && ve.test(String.fromCharCode(e))) ++this.pos;
4326
4324
  else break loop;
4327
4325
  }
4328
4326
  }
@@ -4463,17 +4461,17 @@ q.next = function(e) {
4463
4461
  }
4464
4462
  return r && s === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === a || t != null && this.pos - a !== t ? null : o;
4465
4463
  };
4466
- function tn(e, t) {
4464
+ function en(e, t) {
4467
4465
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
4468
4466
  }
4469
- function nn(e) {
4467
+ function tn(e) {
4470
4468
  return typeof BigInt == "function" ? BigInt(e.replace(/_/g, "")) : null;
4471
4469
  }
4472
4470
  q.readRadixNumber = function(e) {
4473
4471
  var t = this.pos;
4474
4472
  this.pos += 2;
4475
4473
  var n = this.readInt(e);
4476
- return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = nn(this.input.slice(t, this.pos)), ++this.pos) : y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, n);
4474
+ return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = tn(this.input.slice(t, this.pos)), ++this.pos) : y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, n);
4477
4475
  }, q.readNumber = function(e) {
4478
4476
  var t = this.pos;
4479
4477
  !e && this.readInt(10, void 0, !0) === null && this.raise(t, "Invalid number");
@@ -4481,11 +4479,11 @@ q.readRadixNumber = function(e) {
4481
4479
  n && this.strict && this.raise(t, "Invalid number");
4482
4480
  var r = this.input.charCodeAt(this.pos);
4483
4481
  if (!n && !e && this.options.ecmaVersion >= 11 && r === 110) {
4484
- var i = nn(this.input.slice(t, this.pos));
4482
+ var i = tn(this.input.slice(t, this.pos));
4485
4483
  return ++this.pos, y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, i);
4486
4484
  }
4487
4485
  n && /[89]/.test(this.input.slice(t, this.pos)) && (n = !1), r === 46 && !n && (++this.pos, this.readInt(10), r = this.input.charCodeAt(this.pos)), (r === 69 || r === 101) && !n && (r = this.input.charCodeAt(++this.pos), (r === 43 || r === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
4488
- var a = tn(this.input.slice(t, this.pos), n);
4486
+ var a = en(this.input.slice(t, this.pos), n);
4489
4487
  return this.finishToken(E.num, a);
4490
4488
  }, q.readCodePoint = function() {
4491
4489
  var e = this.input.charCodeAt(this.pos), t;
@@ -4500,22 +4498,22 @@ q.readRadixNumber = function(e) {
4500
4498
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
4501
4499
  var r = this.input.charCodeAt(this.pos);
4502
4500
  if (r === e) break;
4503
- r === 92 ? (t += this.input.slice(n, this.pos), t += this.readEscapedChar(!1), n = this.pos) : r === 8232 || r === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (_e(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
4501
+ r === 92 ? (t += this.input.slice(n, this.pos), t += this.readEscapedChar(!1), n = this.pos) : r === 8232 || r === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (ge(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
4504
4502
  }
4505
4503
  return t += this.input.slice(n, this.pos++), this.finishToken(E.string, t);
4506
4504
  };
4507
- var rn = {};
4505
+ var nn = {};
4508
4506
  q.tryReadTemplateToken = function() {
4509
4507
  this.inTemplateElement = !0;
4510
4508
  try {
4511
4509
  this.readTmplToken();
4512
4510
  } catch (e) {
4513
- if (e === rn) this.readInvalidTemplateToken();
4511
+ if (e === nn) this.readInvalidTemplateToken();
4514
4512
  else throw e;
4515
4513
  }
4516
4514
  this.inTemplateElement = !1;
4517
4515
  }, q.invalidStringToken = function(e, t) {
4518
- if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw rn;
4516
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw nn;
4519
4517
  this.raise(e, t);
4520
4518
  }, q.readTmplToken = function() {
4521
4519
  for (var e = "", t = this.pos;;) {
@@ -4523,7 +4521,7 @@ q.tryReadTemplateToken = function() {
4523
4521
  var n = this.input.charCodeAt(this.pos);
4524
4522
  if (n === 96 || n === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === E.template || this.type === E.invalidTemplate) ? n === 36 ? (this.pos += 2, this.finishToken(E.dollarBraceL)) : (++this.pos, this.finishToken(E.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(E.template, e));
4525
4523
  if (n === 92) e += this.input.slice(t, this.pos), e += this.readEscapedChar(!0), t = this.pos;
4526
- else if (_e(n)) {
4524
+ else if (ge(n)) {
4527
4525
  switch (e += this.input.slice(t, this.pos), ++this.pos, n) {
4528
4526
  case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos;
4529
4527
  case 10:
@@ -4574,7 +4572,7 @@ q.tryReadTemplateToken = function() {
4574
4572
  var r = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], i = parseInt(r, 8);
4575
4573
  return i > 255 && (r = r.slice(0, -1), i = parseInt(r, 8)), this.pos += r.length - 1, t = this.input.charCodeAt(this.pos), (r !== "0" || t === 56 || t === 57) && (this.strict || e) && this.invalidStringToken(this.pos - 1 - r.length, e ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(i);
4576
4574
  }
4577
- return _e(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
4575
+ return ge(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
4578
4576
  }
4579
4577
  }, q.readHexChar = function(e) {
4580
4578
  var t = this.pos, n = this.readInt(16, e);
@@ -4596,35 +4594,35 @@ q.tryReadTemplateToken = function() {
4596
4594
  return e + this.input.slice(n, this.pos);
4597
4595
  }, q.readWord = function() {
4598
4596
  var e = this.readWord1(), t = E.name;
4599
- return this.keywords.test(e) && (t = he[e]), this.finishToken(t, e);
4597
+ return this.keywords.test(e) && (t = me[e]), this.finishToken(t, e);
4600
4598
  }, P.acorn = {
4601
4599
  Parser: P,
4602
4600
  version: "8.17.0",
4603
- defaultOptions: Ae,
4604
- Position: De,
4605
- SourceLocation: Oe,
4606
- getLineInfo: ke,
4607
- Node: ft,
4601
+ defaultOptions: ke,
4602
+ Position: Ee,
4603
+ SourceLocation: De,
4604
+ getLineInfo: Oe,
4605
+ Node: dt,
4608
4606
  TokenType: x,
4609
4607
  tokTypes: E,
4610
- keywordTypes: he,
4608
+ keywordTypes: me,
4611
4609
  TokContext: z,
4612
4610
  tokContexts: B,
4613
4611
  isIdentifierChar: b,
4614
4612
  isIdentifierStart: y,
4615
- Token: en,
4616
- isNewLine: _e,
4613
+ Token: $t,
4614
+ isNewLine: ge,
4617
4615
  lineBreak: D,
4618
- lineBreakG: ge,
4619
- nonASCIIwhitespace: ye
4616
+ lineBreakG: he,
4617
+ nonASCIIwhitespace: ve
4620
4618
  };
4621
- function an(e, t) {
4619
+ function rn(e, t) {
4622
4620
  return P.parse(e, t);
4623
4621
  }
4624
- function on(e, t, n) {
4622
+ function an(e, t, n) {
4625
4623
  return P.parseExpressionAt(e, t, n);
4626
4624
  }
4627
- function sn(e, t) {
4625
+ function on(e, t) {
4628
4626
  function n(e, t) {
4629
4627
  let n = [];
4630
4628
  for (let r of e) {
@@ -4716,14 +4714,14 @@ function sn(e, t) {
4716
4714
  }
4717
4715
  return i(e, null);
4718
4716
  }
4719
- var cn = class {
4717
+ var sn = class {
4720
4718
  rawAst;
4721
4719
  switchCounter = 0;
4722
4720
  constructor(e) {
4723
4721
  this.rawAst = e;
4724
4722
  }
4725
4723
  transform() {
4726
- return sn(sn(sn(this.rawAst, { Text: (e) => {
4724
+ return on(on(on(this.rawAst, { Text: (e) => {
4727
4725
  if (typeof e.content == "string" && this.isWhitespaceOnly(e.content)) return null;
4728
4726
  } }), { Switch: (e) => this.transformSwitchToIfChain(e) }), {
4729
4727
  Interpolation: (e) => this.transformInterpolation(e),
@@ -4740,18 +4738,18 @@ var cn = class {
4740
4738
  If: (e) => {
4741
4739
  if (typeof e.test == "string" && e.test.trim().length > 0) return {
4742
4740
  ...e,
4743
- test: on(e.test, 0, { ecmaVersion: "latest" })
4741
+ test: an(e.test, 0, { ecmaVersion: "latest" })
4744
4742
  };
4745
4743
  },
4746
4744
  For: (e) => ({
4747
4745
  ...e,
4748
- iterable: typeof e.iterable == "string" ? on(e.iterable, 0, { ecmaVersion: "latest" }) : e.iterable,
4749
- key: typeof e.key == "string" && e.key.trim().length > 0 ? on(e.key, 0, { ecmaVersion: "latest" }) : e.key ?? null
4746
+ iterable: typeof e.iterable == "string" ? an(e.iterable, 0, { ecmaVersion: "latest" }) : e.iterable,
4747
+ key: typeof e.key == "string" && e.key.trim().length > 0 ? an(e.key, 0, { ecmaVersion: "latest" }) : e.key ?? null
4750
4748
  })
4751
4749
  });
4752
4750
  }
4753
4751
  transformSwitchToIfChain(e) {
4754
- let t = typeof e.discriminant == "string" ? on(e.discriminant, 0, { ecmaVersion: "latest" }) : e.discriminant, n = t.type === "Identifier" || t.type === "Literal" || t.type === "MemberExpression", i = `__drift_sw_${this.switchCounter++}`, a = !0, o = (s) => {
4752
+ let t = typeof e.discriminant == "string" ? an(e.discriminant, 0, { ecmaVersion: "latest" }) : e.discriminant, n = t.type === "Identifier" || t.type === "Literal" || t.type === "MemberExpression", i = `__drift_sw_${this.switchCounter++}`, a = !0, o = (s) => {
4755
4753
  let c = e.cases[s];
4756
4754
  if (!c) return null;
4757
4755
  if (c.expression === null) {
@@ -4770,7 +4768,7 @@ var cn = class {
4770
4768
  loc: c.loc
4771
4769
  };
4772
4770
  }
4773
- let l = typeof c.expression == "string" && c.expression.trim().length > 0 ? on(c.expression, 0, { ecmaVersion: "latest" }) : c.expression, u;
4771
+ let l = typeof c.expression == "string" && c.expression.trim().length > 0 ? an(c.expression, 0, { ecmaVersion: "latest" }) : c.expression, u;
4774
4772
  n ? u = structuredClone(t) : a ? (a = !1, u = {
4775
4773
  type: "AssignmentExpression",
4776
4774
  operator: "=",
@@ -4832,7 +4830,7 @@ var cn = class {
4832
4830
  if (typeof e.expression != "string") return e;
4833
4831
  let t;
4834
4832
  try {
4835
- t = on(e.expression, 0, {
4833
+ t = an(e.expression, 0, {
4836
4834
  ecmaVersion: "latest",
4837
4835
  allowAwaitOutsideFunction: !0
4838
4836
  });
@@ -4849,7 +4847,7 @@ var cn = class {
4849
4847
  if (e.type === r.Text && typeof e.content == "string") {
4850
4848
  let t;
4851
4849
  try {
4852
- let n = an(e.content, {
4850
+ let n = rn(e.content, {
4853
4851
  ecmaVersion: "latest",
4854
4852
  sourceType: "module",
4855
4853
  allowAwaitOutsideFunction: !0,
@@ -4875,18 +4873,18 @@ var cn = class {
4875
4873
  return e.length > 0 && /^\s*$/.test(e);
4876
4874
  }
4877
4875
  };
4878
- function ln(e, t, n, r, i) {
4876
+ function cn(e, t, n, r, i) {
4879
4877
  var a = [];
4880
4878
  n ||= Y, (function e(r, i, o) {
4881
4879
  var s = o || r.type, c = r !== a[a.length - 1];
4882
- c && a.push(r), dn(n, s, r, i, e), t[s] && t[s](r, i || a, a), c && a.pop();
4880
+ c && a.push(r), un(n, s, r, i, e), t[s] && t[s](r, i || a, a), c && a.pop();
4883
4881
  })(e, r, i);
4884
4882
  }
4885
- function un(e, t, n) {
4883
+ function ln(e, t, n) {
4886
4884
  n(e, t);
4887
4885
  }
4888
4886
  function J(e, t, n) {}
4889
- function dn(e, t, n, r, i) {
4887
+ function un(e, t, n, r, i) {
4890
4888
  if (e[t] == null) throw Error("No walker function defined for node type " + t);
4891
4889
  e[t](n, r, i);
4892
4890
  }
@@ -4896,7 +4894,7 @@ Y.Program = Y.BlockStatement = Y.StaticBlock = function(e, t, n) {
4896
4894
  var a = i[r];
4897
4895
  n(a, t, "Statement");
4898
4896
  }
4899
- }, Y.Statement = un, Y.EmptyStatement = J, Y.ExpressionStatement = Y.ParenthesizedExpression = Y.ChainExpression = function(e, t, n) {
4897
+ }, Y.Statement = ln, Y.EmptyStatement = J, Y.ExpressionStatement = Y.ParenthesizedExpression = Y.ChainExpression = function(e, t, n) {
4900
4898
  return n(e.expression, t, "Expression");
4901
4899
  }, Y.IfStatement = function(e, t, n) {
4902
4900
  n(e.test, t, "Expression"), n(e.consequent, t, "Statement"), e.alternate && n(e.alternate, t, "Statement");
@@ -4950,7 +4948,7 @@ Y.Program = Y.BlockStatement = Y.StaticBlock = function(e, t, n) {
4950
4948
  n(e.body, t, e.expression ? "Expression" : "Statement");
4951
4949
  }, Y.Pattern = function(e, t, n) {
4952
4950
  e.type === "Identifier" ? n(e, t, "VariablePattern") : e.type === "MemberExpression" ? n(e, t, "MemberPattern") : n(e, t);
4953
- }, Y.VariablePattern = J, Y.MemberPattern = un, Y.RestElement = function(e, t, n) {
4951
+ }, Y.VariablePattern = J, Y.MemberPattern = ln, Y.RestElement = function(e, t, n) {
4954
4952
  return n(e.argument, t, "Pattern");
4955
4953
  }, Y.ArrayPattern = function(e, t, n) {
4956
4954
  for (var r = 0, i = e.elements; r < i.length; r += 1) {
@@ -4962,7 +4960,7 @@ Y.Program = Y.BlockStatement = Y.StaticBlock = function(e, t, n) {
4962
4960
  var a = i[r];
4963
4961
  a.type === "Property" ? (a.computed && n(a.key, t, "Expression"), n(a.value, t, "Pattern")) : a.type === "RestElement" && n(a.argument, t, "Pattern");
4964
4962
  }
4965
- }, Y.Expression = un, Y.ThisExpression = Y.Super = Y.MetaProperty = J, Y.ArrayExpression = function(e, t, n) {
4963
+ }, Y.Expression = ln, Y.ThisExpression = Y.Super = Y.MetaProperty = J, Y.ArrayExpression = function(e, t, n) {
4966
4964
  for (var r = 0, i = e.elements; r < i.length; r += 1) {
4967
4965
  var a = i[r];
4968
4966
  a && n(a, t, "Expression");
@@ -5038,7 +5036,7 @@ Y.Program = Y.BlockStatement = Y.StaticBlock = function(e, t, n) {
5038
5036
  }, Y.MethodDefinition = Y.PropertyDefinition = Y.Property = function(e, t, n) {
5039
5037
  e.computed && n(e.key, t, "Expression"), e.value && n(e.value, t, "Expression");
5040
5038
  };
5041
- var fn = class {
5039
+ var dn = class {
5042
5040
  ast;
5043
5041
  bytecode = [];
5044
5042
  constants = [];
@@ -5054,7 +5052,7 @@ var fn = class {
5054
5052
  generate() {
5055
5053
  if (this.bytecode = [], this.constants = [], this.nextRegisterId = 0, this.declaredVars = /* @__PURE__ */ new Set(), this.imports = [], this.bindingPositions = /* @__PURE__ */ new Map(), this.derivedBindings = [], this.pendingDerived = [], this.collectDeclaredVars(this.ast.body), this.processDerivedBindings(), this.ast.body.length === 0) {
5056
5054
  let e = this.allocRegister();
5057
- return this.emit(o.CREATE_FRAGMENT, e), this.emit(o.RETURN, e), {
5055
+ return this.emit(o.CREATE_FRAGMENT, e), {
5058
5056
  bytecode: this.bytecode,
5059
5057
  constants: this.constants,
5060
5058
  reactiveBindings: this.buildReactiveBindings(),
@@ -5065,12 +5063,11 @@ var fn = class {
5065
5063
  }
5066
5064
  if (this.ast.body.length === 1 && this.ast.body[0]?.type === r.Element) {
5067
5065
  let e = this.allocRegister();
5068
- this.compileElement(this.ast.body[0], e), this.emit(o.RETURN, e);
5066
+ this.compileElement(this.ast.body[0], e);
5069
5067
  } else {
5070
5068
  let e = this.allocRegister();
5071
5069
  this.emit(o.CREATE_FRAGMENT, e);
5072
5070
  for (let t of this.ast.body) this.compileNode(t, e);
5073
- this.emit(o.RETURN, e);
5074
5071
  }
5075
5072
  return {
5076
5073
  bytecode: this.bytecode,
@@ -5157,12 +5154,9 @@ var fn = class {
5157
5154
  t.length > 0 && (a = this.compileNodesToSubModule(t), n.__drift_children__ = this.addConstant(a));
5158
5155
  }
5159
5156
  let s = Object.keys(n).length > 1 ? this.addConstant(n) : 255, c = this.bytecode.length;
5160
- this.emit(o.MOUNT_COMPONENT, t, i, s);
5161
- for (let t of e.attributes) t.type === r.Attribute && t.value !== null && typeof t.value != "string" && t.value.type === r.Interpolation && this.recordBindingPositions(t.value.expression, c, o.MOUNT_COMPONENT);
5162
- if (a) for (let e of a.reactiveBindings) this.declaredVars.has(e.variable) && (this.bindingPositions.has(e.variable) || this.bindingPositions.set(e.variable, []), this.bindingPositions.get(e.variable).push({
5163
- pc: c,
5164
- opcode: o.MOUNT_COMPONENT
5165
- }));
5157
+ this.emit(o.MOUNT_COMPONENT, t, i, s), this.emit(o.RETURN);
5158
+ for (let t of e.attributes) t.type === r.Attribute && t.value !== null && typeof t.value != "string" && t.value.type === r.Interpolation && this.recordBindingPositions(t.value.expression, c);
5159
+ if (a) for (let e of a.reactiveBindings) this.declaredVars.has(e.variable) && (this.bindingPositions.has(e.variable) || this.bindingPositions.set(e.variable, []), this.bindingPositions.get(e.variable).push(c));
5166
5160
  } else {
5167
5161
  this.emit(o.CREATE_ELEMENT, t, i);
5168
5162
  for (let n of e.attributes) this.compileAttributeNode(n, t);
@@ -5183,7 +5177,7 @@ var fn = class {
5183
5177
  this.emit(o.SET_ATTR, t, n, r, 0);
5184
5178
  } else if (e.value.type === r.Interpolation) {
5185
5179
  let r = this.addConstant(e.value.expression), i = this.bytecode.length;
5186
- this.emit(o.SET_ATTR, t, n, r, 1), this.recordBindingPositions(e.value.expression, i, o.SET_ATTR);
5180
+ this.emit(o.SET_ATTR, t, n, r, 1), this.emit(o.RETURN), this.recordBindingPositions(e.value.expression, i);
5187
5181
  }
5188
5182
  }
5189
5183
  compileTextNode(e, t) {
@@ -5192,7 +5186,7 @@ var fn = class {
5192
5186
  }
5193
5187
  compileInterpolationNode(e, t) {
5194
5188
  let n = this.allocRegister(), r = this.addConstant(e.expression), i = this.bytecode.length;
5195
- this.emit(o.INTERPOLATE_TEXT, n, r), this.emit(o.APPEND_CHILD, t, n), this.recordBindingPositions(e.expression, i, o.INTERPOLATE_TEXT);
5189
+ this.emit(o.INTERPOLATE_TEXT, n, r), this.emit(o.RETURN), this.emit(o.APPEND_CHILD, t, n), this.recordBindingPositions(e.expression, i);
5196
5190
  }
5197
5191
  compileCommentNode(e, t) {
5198
5192
  let n = this.allocRegister(), r = this.addConstant(e.content);
@@ -5204,7 +5198,6 @@ var fn = class {
5204
5198
  let a = this.allocRegister();
5205
5199
  this.emit(o.CREATE_FRAGMENT, a);
5206
5200
  for (let t of e) this.compileNode(t, a);
5207
- this.emit(o.RETURN, a);
5208
5201
  let s = {
5209
5202
  bytecode: this.bytecode,
5210
5203
  constants: this.constants,
@@ -5213,7 +5206,8 @@ var fn = class {
5213
5206
  return this.bytecode = t, this.constants = n, this.nextRegisterId = r, this.bindingPositions = i, s;
5214
5207
  }
5215
5208
  collectDepsFromSubModule(e, t) {
5216
- let n = new Set(e.reactiveBindings.map((e) => e.variable));
5209
+ let n = /* @__PURE__ */ new Set();
5210
+ for (let t = 0; t < e.reactiveBindings.length; t++) n.add(e.reactiveBindings[t].variable);
5217
5211
  if (t) for (let e of this.extractIdentifiers(t)) this.declaredVars.has(e) && n.add(e);
5218
5212
  return [...n];
5219
5213
  }
@@ -5297,20 +5291,17 @@ var fn = class {
5297
5291
  let t = /* @__PURE__ */ new Set();
5298
5292
  if (!e || typeof e != "object") return t;
5299
5293
  try {
5300
- ln(e, { Identifier(e, n) {
5294
+ cn(e, { Identifier(e, n) {
5301
5295
  let r = n[n.length - 2];
5302
5296
  r && (r.type === "MemberExpression" && r.property === e && !r.computed || (r.type === "Property" || r.type === "MethodDefinition" || r.type === "PropertyDefinition") && r.key === e && !r.computed) || t.add(e.name);
5303
5297
  } });
5304
5298
  } catch {}
5305
5299
  return t;
5306
5300
  }
5307
- recordBindingPositions(e, t, n) {
5301
+ recordBindingPositions(e, t) {
5308
5302
  if (this.declaredVars.size === 0) return;
5309
- let r = this.extractIdentifiers(e);
5310
- for (let e of r) this.declaredVars.has(e) && (this.bindingPositions.has(e) || this.bindingPositions.set(e, []), this.bindingPositions.get(e).push({
5311
- pc: t,
5312
- opcode: n
5313
- }));
5303
+ let n = this.extractIdentifiers(e);
5304
+ for (let e of n) this.declaredVars.has(e) && (this.bindingPositions.has(e) || this.bindingPositions.set(e, []), this.bindingPositions.get(e).push(t));
5314
5305
  }
5315
5306
  buildReactiveBindings() {
5316
5307
  let e = [];
@@ -5335,8 +5326,8 @@ var fn = class {
5335
5326
  this.bytecode.push(e, ...t);
5336
5327
  }
5337
5328
  };
5338
- function pn(e) {
5339
- return !e || typeof e != "object" ? null : e.type === "Identifier" ? e.name : e.type === "MemberExpression" ? pn(e.object) : null;
5329
+ function fn(e) {
5330
+ return !e || typeof e != "object" ? null : e.type === "Identifier" ? e.name : e.type === "MemberExpression" ? fn(e.object) : null;
5340
5331
  }
5341
5332
  function X(e) {
5342
5333
  let t = [];
@@ -5372,7 +5363,7 @@ function Z(e, t) {
5372
5363
  function Q(e, t, n) {
5373
5364
  return n && n.has(e) ? `(${e} = ${t})` : `(typeof setScopeValue === 'function' && scope ? setScopeValue(scope, ${JSON.stringify(e)}, ${t}) : ((scope || {})[${JSON.stringify(e)}] = ${t}))`;
5374
5365
  }
5375
- function mn(e, t, n, r = { count: 0 }) {
5366
+ function pn(e, t, n, r = { count: 0 }) {
5376
5367
  let i = [];
5377
5368
  if (!e) return i;
5378
5369
  if (e.type === "Identifier") return i.push(Q(e.name, t, n)), i;
@@ -5381,7 +5372,7 @@ function mn(e, t, n, r = { count: 0 }) {
5381
5372
  if (e.left?.type === "Identifier") i.push(Q(e.left.name, a, n));
5382
5373
  else {
5383
5374
  let t = `_t${r.count++}`;
5384
- i.push(`const ${t} = ${a}`), i.push(...mn(e.left, t, n, r));
5375
+ i.push(`const ${t} = ${a}`), i.push(...pn(e.left, t, n, r));
5385
5376
  }
5386
5377
  return i;
5387
5378
  }
@@ -5396,11 +5387,11 @@ function mn(e, t, n, r = { count: 0 }) {
5396
5387
  if (a.value.left?.type === "Identifier") i.push(Q(a.value.left.name, o, n));
5397
5388
  else {
5398
5389
  let e = `_t${r.count++}`;
5399
- i.push(`const ${e} = ${o}`), i.push(...mn(a.value.left, e, n, r));
5390
+ i.push(`const ${e} = ${o}`), i.push(...pn(a.value.left, e, n, r));
5400
5391
  }
5401
5392
  } else if (a.value?.type === "ObjectPattern" || a.value?.type === "ArrayPattern") {
5402
5393
  let o = `_t${r.count++}`, s = `(${t} ? ${t}[${e}] : undefined)`;
5403
- i.push(`const ${o} = ${s}`), i.push(...mn(a.value, o, n, r));
5394
+ i.push(`const ${o} = ${s}`), i.push(...pn(a.value, o, n, r));
5404
5395
  } else {
5405
5396
  let r = a.value?.name || $(a.value, n);
5406
5397
  if (r) {
@@ -5432,7 +5423,7 @@ function mn(e, t, n, r = { count: 0 }) {
5432
5423
  if (t.left?.type === "Identifier") i.push(Q(t.left.name, s, n));
5433
5424
  else {
5434
5425
  let e = `_t${r.count++}`;
5435
- i.push(`const ${e} = ${s}`), i.push(...mn(t.left, e, n, r));
5426
+ i.push(`const ${e} = ${s}`), i.push(...pn(t.left, e, n, r));
5436
5427
  }
5437
5428
  } else if (t.type === "RestElement") {
5438
5429
  let r = t.argument?.name || $(t.argument, n);
@@ -5442,7 +5433,7 @@ function mn(e, t, n, r = { count: 0 }) {
5442
5433
  }
5443
5434
  } else if (t.type === "ObjectPattern" || t.type === "ArrayPattern") {
5444
5435
  let o = `_t${r.count++}`, s = `(${a} ? ${a}[${e}] : undefined)`;
5445
- i.push(`const ${o} = ${s}`), i.push(...mn(t, o, n, r));
5436
+ i.push(`const ${o} = ${s}`), i.push(...pn(t, o, n, r));
5446
5437
  }
5447
5438
  }
5448
5439
  }
@@ -5470,7 +5461,7 @@ function $(e, t) {
5470
5461
  case "CallExpression": {
5471
5462
  let n = $(e.callee, t), r = e.arguments ? e.arguments.map((e) => $(e, t)).join(", ") : "", i = `(${n}${e.optional ? "?.(" : "("}${r}))`;
5472
5463
  if (e.callee?.type === "MemberExpression" && e.callee.property?.type === "Identifier") {
5473
- let n = pn(e.callee.object), r = e.callee.property.name;
5464
+ let n = fn(e.callee.object), r = e.callee.property.name;
5474
5465
  if (n && [
5475
5466
  "push",
5476
5467
  "pop",
@@ -5495,10 +5486,10 @@ function $(e, t) {
5495
5486
  }
5496
5487
  }
5497
5488
  if (e.left?.type === "MemberExpression") {
5498
- let r = pn(e.left), i = `(${$(e.left, t)} ${e.operator} ${n})`;
5489
+ let r = fn(e.left), i = `(${$(e.left, t)} ${e.operator} ${n})`;
5499
5490
  if (r && (!t || !t.has(r))) return `(() => { const _res = ${i}; if (typeof setScopeValue === 'function' && scope && typeof inScopeChain === 'function' && inScopeChain(scope, ${JSON.stringify(r)})) setScopeValue(scope, ${JSON.stringify(r)}, scope[${JSON.stringify(r)}]); return _res; })()`;
5500
5491
  }
5501
- return e.left?.type === "ObjectPattern" || e.left?.type === "ArrayPattern" ? `((_val) => { ${mn(e.left, "_val", t).join("; ")}; return _val; })(${n})` : `(${$(e.left, t)} ${e.operator} ${n})`;
5492
+ return e.left?.type === "ObjectPattern" || e.left?.type === "ArrayPattern" ? `((_val) => { ${pn(e.left, "_val", t).join("; ")}; return _val; })(${n})` : `(${$(e.left, t)} ${e.operator} ${n})`;
5502
5493
  }
5503
5494
  case "UpdateExpression":
5504
5495
  if (e.argument?.type === "Identifier") {
@@ -5508,7 +5499,7 @@ function $(e, t) {
5508
5499
  return e.prefix ? `(typeof setScopeValue === 'function' ? (setScopeValue(scope, ${JSON.stringify(n)}, (Number(scope[${JSON.stringify(n)}]) || 0) ${r} 1), scope[${JSON.stringify(n)}]) : ((scope || {})[${JSON.stringify(n)}] = (Number((scope || {})[${JSON.stringify(n)}]) || 0) ${r} 1))` : `(() => { const _v = Number(scope[${JSON.stringify(n)}]) || 0; if (typeof setScopeValue === 'function') setScopeValue(scope, ${JSON.stringify(n)}, _v ${r} 1); else (scope || {})[${JSON.stringify(n)}] = _v ${r} 1; return _v; })()`;
5509
5500
  }
5510
5501
  if (e.argument?.type === "MemberExpression") {
5511
- let n = pn(e.argument), r = e.prefix ? `(${e.operator}${$(e.argument, t)})` : `(${$(e.argument, t)}${e.operator})`;
5502
+ let n = fn(e.argument), r = e.prefix ? `(${e.operator}${$(e.argument, t)})` : `(${$(e.argument, t)}${e.operator})`;
5512
5503
  if (n && (!t || !t.has(n))) return `(() => { const _res = ${r}; if (typeof setScopeValue === 'function' && scope && typeof inScopeChain === 'function' && inScopeChain(scope, ${JSON.stringify(n)})) setScopeValue(scope, ${JSON.stringify(n)}, scope[${JSON.stringify(n)}]); return _res; })()`;
5513
5504
  }
5514
5505
  return e.prefix ? `(${e.operator}${$(e.argument, t)})` : `(${$(e.argument, t)}${e.operator})`;
@@ -5628,7 +5619,7 @@ function $(e, t) {
5628
5619
  }
5629
5620
  let n = [];
5630
5621
  if (e.declarations) for (let r of e.declarations) if (r.id?.type === "ObjectPattern" || r.id?.type === "ArrayPattern") {
5631
- let e = r.init ? $(r.init, t) : "undefined", i = mn(r.id, "_init", t);
5622
+ let e = r.init ? $(r.init, t) : "undefined", i = pn(r.id, "_init", t);
5632
5623
  n.push(`((_init) => { ${i.join("; ")}; return _init; })(${e})`);
5633
5624
  } else {
5634
5625
  let e = r.id?.name || $(r.id, t), i = r.init ? $(r.init, t) : "undefined";
@@ -5697,13 +5688,13 @@ function $(e, t) {
5697
5688
  default: return "";
5698
5689
  }
5699
5690
  }
5700
- function hn(e, t = !1) {
5701
- let n = new cn(new re(new v(e)).parse()).transform(), r = new fn(n).generate();
5691
+ function mn(e, t = !1) {
5692
+ let n = new sn(new ne(new _(e)).parse()).transform(), r = new dn(n).generate();
5702
5693
  return t && (console.log("--- Transformed AST ---"), console.log(JSON.stringify(n, null, 2)), console.log("--- Compiled Module ---"), console.log(JSON.stringify(r, null, 2))), r;
5703
5694
  }
5704
5695
  //#endregion
5705
5696
  //#region src/index.ts
5706
- function gn(e) {
5697
+ function hn(e) {
5707
5698
  if (e == null) return String(e);
5708
5699
  if (typeof e == "number") return Number.isNaN(e) ? "NaN" : e === Infinity ? "Infinity" : e === -Infinity ? "-Infinity" : Object.is(e, -0) ? "-0" : String(e);
5709
5700
  if (typeof e == "bigint") return `${e.toString()}n`;
@@ -5713,15 +5704,15 @@ function gn(e) {
5713
5704
  let t = e.__drift_fn__;
5714
5705
  return `{ __drift_fn__: ${typeof t == "function" ? t.toString() : t} }`;
5715
5706
  }
5716
- return e instanceof RegExp ? e.toString() : e instanceof Date ? `new Date(${e.getTime()})` : e instanceof Set ? `new Set([${Array.from(e).map(gn).join(", ")}])` : e instanceof Map ? `new Map([${Array.from(e.entries()).map(([e, t]) => `[${gn(e)}, ${gn(t)}]`).join(", ")}])` : e instanceof Uint8Array ? `new Uint8Array([${Array.from(e).join(", ")}])` : e instanceof Uint32Array ? `new Uint32Array([${Array.from(e).join(", ")}])` : Array.isArray(e) ? `[${e.map(gn).join(", ")}]` : `{ ${Object.entries(e).filter(([e]) => e !== "start" && e !== "end" && e !== "loc").map(([e, t]) => `${JSON.stringify(e)}: ${gn(t)}`).join(", ")} }`;
5707
+ return e instanceof RegExp ? e.toString() : e instanceof Date ? `new Date(${e.getTime()})` : e instanceof Set ? `new Set([${Array.from(e).map(hn).join(", ")}])` : e instanceof Map ? `new Map([${Array.from(e.entries()).map(([e, t]) => `[${hn(e)}, ${hn(t)}]`).join(", ")}])` : e instanceof Uint8Array ? `new Uint8Array([${Array.from(e).join(", ")}])` : e instanceof Uint32Array ? `new Uint32Array([${Array.from(e).join(", ")}])` : Array.isArray(e) ? `[${e.map(hn).join(", ")}]` : `{ ${Object.entries(e).filter(([e]) => e !== "start" && e !== "end" && e !== "loc").map(([e, t]) => `${JSON.stringify(e)}: ${hn(t)}`).join(", ")} }`;
5717
5708
  }
5718
5709
  return JSON.stringify(e);
5719
5710
  }
5720
- function _n(e) {
5721
- return `[\n ${e.map(gn).join(",\n ")}\n ]`;
5711
+ function gn(e) {
5712
+ return `[\n ${e.map(hn).join(",\n ")}\n ]`;
5722
5713
  }
5723
- function vn(e, t) {
5724
- let n = JSON.stringify(Array.from(e.bytecode)), r = _n(e.constants), i = JSON.stringify(e.reactiveBindings ?? []), a = JSON.stringify(e.declaredVars ?? []), o = JSON.stringify(e.derived ?? []), s = [], c = [];
5714
+ function _n(e, t) {
5715
+ let n = JSON.stringify(Array.from(e.bytecode)), r = gn(e.constants), i = JSON.stringify(e.reactiveBindings ?? []), a = JSON.stringify(e.declaredVars ?? []), o = JSON.stringify(e.derived ?? []), s = [], c = [];
5725
5716
  if (e.imports && e.imports.length > 0) for (let t of e.imports) t.isSideEffect || !t.localName && !t.isDefault && !t.isNamespace ? s.push(`import ${JSON.stringify(t.source)};`) : t.isNamespace ? (s.push(`import * as ${t.localName} from ${JSON.stringify(t.source)};`), c.push(t.localName)) : t.isDefault ? (s.push(`import ${t.localName} from ${JSON.stringify(t.source)};`), c.push(t.localName)) : t.importedName && (s.push(`import { ${t.importedName} as ${t.localName} } from ${JSON.stringify(t.source)};`), c.push(t.localName));
5726
5717
  return `\
5727
5718
  // [DriftJS] Auto-generated from: ${t}
@@ -5739,7 +5730,7 @@ const compiledModule = {
5739
5730
  export default compiledModule;
5740
5731
  `;
5741
5732
  }
5742
- function yn(e = {}) {
5733
+ function vn(e = {}) {
5743
5734
  let { debug: t = !1 } = e;
5744
5735
  return {
5745
5736
  name: "vite-plugin-drift",
@@ -5748,13 +5739,13 @@ function yn(e = {}) {
5748
5739
  if (!(n.split("?")[0] ?? n).endsWith(".drift")) return null;
5749
5740
  let r;
5750
5741
  try {
5751
- r = hn(e, t);
5742
+ r = mn(e, t);
5752
5743
  } catch (e) {
5753
5744
  let t = e instanceof Error ? e.message : String(e);
5754
5745
  this.error(`[DriftJS] Compilation failed in "${n}":\n${t}`);
5755
5746
  }
5756
5747
  return {
5757
- code: vn(r, n),
5748
+ code: _n(r, n),
5758
5749
  map: null
5759
5750
  };
5760
5751
  },
@@ -5770,4 +5761,4 @@ function yn(e = {}) {
5770
5761
  };
5771
5762
  }
5772
5763
  //#endregion
5773
- export { yn as default, yn as driftPlugin, _n as serializeConstants, gn as serializeValueToJS };
5764
+ export { vn as default, vn as driftPlugin, gn as serializeConstants, hn as serializeValueToJS };