@osdk/cli 0.29.0-beta.4 → 0.29.0-rc.6

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.
Files changed (100) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/build/esm/{acorn-LDCVC6JB.js → acorn-OOLA2SYL.js} +1429 -1263
  3. package/build/esm/acorn-OOLA2SYL.js.map +1 -0
  4. package/build/esm/angular-B3DVBAJV.js +3921 -0
  5. package/build/esm/angular-B3DVBAJV.js.map +1 -0
  6. package/build/esm/{babel-N25BYA2X.js → babel-QGU36NF2.js} +4749 -4416
  7. package/build/esm/babel-QGU36NF2.js.map +1 -0
  8. package/build/esm/{chunk-QXPYZB75.js → chunk-2R54QG3I.js} +7 -6
  9. package/build/esm/chunk-2R54QG3I.js.map +1 -0
  10. package/build/esm/{chunk-LSNWUUU4.js → chunk-5WP6J4UN.js} +3 -3
  11. package/build/esm/{chunk-LSNWUUU4.js.map → chunk-5WP6J4UN.js.map} +1 -1
  12. package/build/esm/{chunk-DDJKLTGZ.js → chunk-CZNX7NAA.js} +8 -8
  13. package/build/esm/{chunk-DDJKLTGZ.js.map → chunk-CZNX7NAA.js.map} +1 -1
  14. package/build/esm/{chunk-OQOD7Q5O.js → chunk-HDRBKETK.js} +3 -3
  15. package/build/esm/{chunk-OQOD7Q5O.js.map → chunk-HDRBKETK.js.map} +1 -1
  16. package/build/esm/{chunk-KAX6KWRO.js → chunk-J2YZJA3N.js} +9 -9
  17. package/build/esm/chunk-J2YZJA3N.js.map +1 -0
  18. package/build/esm/{chunk-QM5477MW.js → chunk-QCQEOFJ7.js} +15 -10
  19. package/build/esm/chunk-QCQEOFJ7.js.map +1 -0
  20. package/build/esm/{chunk-F2MY3E4F.js → chunk-SEG3TN7G.js} +7 -7
  21. package/build/esm/{chunk-F2MY3E4F.js.map → chunk-SEG3TN7G.js.map} +1 -1
  22. package/build/esm/{chunk-LKKWDXGN.js → chunk-TGQMPTOO.js} +6 -5
  23. package/build/esm/chunk-TGQMPTOO.js.map +1 -0
  24. package/build/esm/{chunk-WLVSRC6U.js → chunk-WLPJIKJV.js} +3 -3
  25. package/build/esm/{chunk-WLVSRC6U.js.map → chunk-WLPJIKJV.js.map} +1 -1
  26. package/build/esm/estree-ATGZ6OGQ.js +6145 -0
  27. package/build/esm/estree-ATGZ6OGQ.js.map +1 -0
  28. package/build/esm/find-up-JM7QWHT3.js +4 -0
  29. package/build/esm/{find-up-3ECFX3RW.js.map → find-up-JM7QWHT3.js.map} +1 -1
  30. package/build/esm/flow-GUZBCHQS.js +27169 -0
  31. package/build/esm/flow-GUZBCHQS.js.map +1 -0
  32. package/build/esm/{glimmer-LMYVLKQJ.js → glimmer-K2WK52BN.js} +2642 -2669
  33. package/build/esm/glimmer-K2WK52BN.js.map +1 -0
  34. package/build/esm/{graphql-TIIPUP6F.js → graphql-MBGHR3ZR.js} +543 -529
  35. package/build/esm/graphql-MBGHR3ZR.js.map +1 -0
  36. package/build/esm/{handleGenerate-445OLTOF.js → handleGenerate-KOADZ5FR.js} +4633 -8532
  37. package/build/esm/handleGenerate-KOADZ5FR.js.map +1 -0
  38. package/build/esm/{html-GXELFXJW.js → html-IRNVR4MI.js} +1485 -1328
  39. package/build/esm/html-IRNVR4MI.js.map +1 -0
  40. package/build/esm/index.js +18 -18
  41. package/build/esm/index.js.map +1 -1
  42. package/build/esm/loginFlow-AGXNBVJB.js +4 -0
  43. package/build/esm/{loginFlow-Q22IZHBH.js.map → loginFlow-AGXNBVJB.js.map} +1 -1
  44. package/build/esm/markdown-N3ITOTMK.js +6697 -0
  45. package/build/esm/markdown-N3ITOTMK.js.map +1 -0
  46. package/build/esm/meriyah-LUFL36FF.js +4343 -0
  47. package/build/esm/meriyah-LUFL36FF.js.map +1 -0
  48. package/build/esm/{postcss-H2GULB5O.js → postcss-TV6UK7MR.js} +2266 -2173
  49. package/build/esm/postcss-TV6UK7MR.js.map +1 -0
  50. package/build/esm/{siteDeployCommand-ELG3HGUO.js → siteDeployCommand-4XKHQO4G.js} +11 -11
  51. package/build/esm/{siteDeployCommand-ELG3HGUO.js.map → siteDeployCommand-4XKHQO4G.js.map} +1 -1
  52. package/build/esm/typescript-KPTOIHC3.js +13078 -0
  53. package/build/esm/typescript-KPTOIHC3.js.map +1 -0
  54. package/build/esm/{versionDeleteCommand-TZ7OZMJZ.js → versionDeleteCommand-OF2PZR4F.js} +7 -7
  55. package/build/esm/{versionDeleteCommand-TZ7OZMJZ.js.map → versionDeleteCommand-OF2PZR4F.js.map} +1 -1
  56. package/build/esm/{versionDeleteCommand-WCPNWWCT.js → versionDeleteCommand-RLDPF3CC.js} +7 -7
  57. package/build/esm/{versionDeleteCommand-WCPNWWCT.js.map → versionDeleteCommand-RLDPF3CC.js.map} +1 -1
  58. package/build/esm/{versionGetCommand-Y5IZVCDV.js → versionGetCommand-VYIQ5QD4.js} +6 -6
  59. package/build/esm/{versionGetCommand-Y5IZVCDV.js.map → versionGetCommand-VYIQ5QD4.js.map} +1 -1
  60. package/build/esm/{versionInfoCommand-A6QWBVHM.js → versionInfoCommand-RBHLAHNP.js} +6 -6
  61. package/build/esm/{versionInfoCommand-A6QWBVHM.js.map → versionInfoCommand-RBHLAHNP.js.map} +1 -1
  62. package/build/esm/{versionListCommand-OUVNRPF4.js → versionListCommand-NJKWNOAQ.js} +6 -6
  63. package/build/esm/{versionListCommand-OUVNRPF4.js.map → versionListCommand-NJKWNOAQ.js.map} +1 -1
  64. package/build/esm/{versionListCommand-BIQXS35T.js → versionListCommand-R6S7EWTY.js} +6 -6
  65. package/build/esm/{versionListCommand-BIQXS35T.js.map → versionListCommand-R6S7EWTY.js.map} +1 -1
  66. package/build/esm/{versionSetCommand-IXGZF74D.js → versionSetCommand-B6ILNHRQ.js} +6 -6
  67. package/build/esm/{versionSetCommand-IXGZF74D.js.map → versionSetCommand-B6ILNHRQ.js.map} +1 -1
  68. package/build/esm/{versionUnsetCommand-T25RYSWI.js → versionUnsetCommand-M6WFHVOV.js} +7 -7
  69. package/build/esm/{versionUnsetCommand-T25RYSWI.js.map → versionUnsetCommand-M6WFHVOV.js.map} +1 -1
  70. package/build/esm/{widgetSetDeployCommand-GTUZPXWV.js → widgetSetDeployCommand-VL5GCVWG.js} +10 -10
  71. package/build/esm/{widgetSetDeployCommand-GTUZPXWV.js.map → widgetSetDeployCommand-VL5GCVWG.js.map} +1 -1
  72. package/build/esm/{yaml-KOGLWA2D.js → yaml-LD5K7H4C.js} +1294 -1270
  73. package/build/esm/yaml-LD5K7H4C.js.map +1 -0
  74. package/package.json +10 -10
  75. package/build/esm/acorn-LDCVC6JB.js.map +0 -1
  76. package/build/esm/angular-QCCX4AYW.js +0 -1981
  77. package/build/esm/angular-QCCX4AYW.js.map +0 -1
  78. package/build/esm/babel-N25BYA2X.js.map +0 -1
  79. package/build/esm/chunk-KAX6KWRO.js.map +0 -1
  80. package/build/esm/chunk-LKKWDXGN.js.map +0 -1
  81. package/build/esm/chunk-QM5477MW.js.map +0 -1
  82. package/build/esm/chunk-QXPYZB75.js.map +0 -1
  83. package/build/esm/estree-UST4NHPG.js +0 -6035
  84. package/build/esm/estree-UST4NHPG.js.map +0 -1
  85. package/build/esm/find-up-3ECFX3RW.js +0 -4
  86. package/build/esm/flow-AR2Y6E56.js +0 -26049
  87. package/build/esm/flow-AR2Y6E56.js.map +0 -1
  88. package/build/esm/glimmer-LMYVLKQJ.js.map +0 -1
  89. package/build/esm/graphql-TIIPUP6F.js.map +0 -1
  90. package/build/esm/handleGenerate-445OLTOF.js.map +0 -1
  91. package/build/esm/html-GXELFXJW.js.map +0 -1
  92. package/build/esm/loginFlow-Q22IZHBH.js +0 -4
  93. package/build/esm/markdown-F6PPZMW4.js +0 -6529
  94. package/build/esm/markdown-F6PPZMW4.js.map +0 -1
  95. package/build/esm/meriyah-BSWDAYFB.js +0 -4105
  96. package/build/esm/meriyah-BSWDAYFB.js.map +0 -1
  97. package/build/esm/postcss-H2GULB5O.js.map +0 -1
  98. package/build/esm/typescript-JCJLC54Y.js +0 -19653
  99. package/build/esm/typescript-JCJLC54Y.js.map +0 -1
  100. package/build/esm/yaml-KOGLWA2D.js.map +0 -1
@@ -1,47 +1,47 @@
1
- import { init_esm_shims } from './chunk-LKKWDXGN.js';
1
+ import { init_esm_shims } from './chunk-TGQMPTOO.js';
2
2
 
3
- // ../../node_modules/.pnpm/prettier@3.2.5/node_modules/prettier/plugins/acorn.mjs
3
+ // ../../node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/plugins/acorn.mjs
4
4
  init_esm_shims();
5
- var xi = Object.create;
6
- var we = Object.defineProperty;
7
- var yi = Object.getOwnPropertyDescriptor;
8
- var gi = Object.getOwnPropertyNames;
9
- var vi = Object.getPrototypeOf;
10
- var bi = Object.prototype.hasOwnProperty;
11
- var Ee = (e, t) => () => (t || e((t = {
5
+ var wi = Object.create;
6
+ var Le = Object.defineProperty;
7
+ var Pi = Object.getOwnPropertyDescriptor;
8
+ var Ii = Object.getOwnPropertyNames;
9
+ var Ni = Object.getPrototypeOf;
10
+ var Li = Object.prototype.hasOwnProperty;
11
+ var nt = (e, t) => () => (t || e((t = {
12
12
  exports: {}
13
13
  }).exports, t), t.exports);
14
- var Si = (e, t) => {
15
- for (var i in t) we(e, i, {
14
+ var Vi = (e, t) => {
15
+ for (var i in t) Le(e, i, {
16
16
  get: t[i],
17
17
  enumerable: true
18
18
  });
19
19
  };
20
- var _i = (e, t, i, s) => {
21
- if (t && typeof t == "object" || typeof t == "function") for (let r of gi(t)) !bi.call(e, r) && r !== i && we(e, r, {
20
+ var Ri = (e, t, i, s) => {
21
+ if (t && typeof t == "object" || typeof t == "function") for (let r of Ii(t)) !Li.call(e, r) && r !== i && Le(e, r, {
22
22
  get: () => t[r],
23
- enumerable: !(s = yi(t, r)) || s.enumerable
23
+ enumerable: !(s = Pi(t, r)) || s.enumerable
24
24
  });
25
25
  return e;
26
26
  };
27
- var Ae = (e, t, i) => (i = e != null ? xi(vi(e)) : {}, _i(we(i, "default", {
27
+ var ot = (e, t, i) => (i = e != null ? wi(Ni(e)) : {}, Ri(Le(i, "default", {
28
28
  value: e,
29
29
  enumerable: true
30
30
  }) , e));
31
- var Jt = Ee((Qs, qt) => {
32
- qt.exports = {};
31
+ var zt = nt((fr, Xt) => {
32
+ Xt.exports = {};
33
33
  });
34
- var Ge = Ee((Ys, Je) => {
35
- var as = Jt(), ns = /^[\da-fA-F]+$/, os = /^\d+$/, Gt = /* @__PURE__ */ new WeakMap();
36
- function Kt(e) {
34
+ var Xe = nt((dr, We) => {
35
+ var bs = zt(), Ss = /^[\da-fA-F]+$/, _s = /^\d+$/, Qt = /* @__PURE__ */ new WeakMap();
36
+ function Yt(e) {
37
37
  e = e.Parser.acorn || e;
38
- let t = Gt.get(e);
38
+ let t = Qt.get(e);
39
39
  if (!t) {
40
- let i = e.tokTypes, s = e.TokContext, r = e.TokenType, n = new s("<tag", false), o = new s("</tag", false), u = new s("<tag>...</tag>", true, true), h = {
40
+ let i = e.tokTypes, s = e.TokContext, r = e.TokenType, n = new s("<tag", false), o = new s("</tag", false), p = new s("<tag>...</tag>", true, true), u = {
41
41
  tc_oTag: n,
42
42
  tc_cTag: o,
43
- tc_expr: u
44
- }, l = {
43
+ tc_expr: p
44
+ }, c = {
45
45
  jsxName: new r("jsxName"),
46
46
  jsxText: new r("jsxText", {
47
47
  beforeExpr: true
@@ -51,125 +51,125 @@ var Ge = Ee((Ys, Je) => {
51
51
  }),
52
52
  jsxTagEnd: new r("jsxTagEnd")
53
53
  };
54
- l.jsxTagStart.updateContext = function() {
55
- this.context.push(u), this.context.push(n), this.exprAllowed = false;
56
- }, l.jsxTagEnd.updateContext = function(x) {
57
- let _ = this.context.pop();
58
- _ === n && x === i.slash || _ === o ? (this.context.pop(), this.exprAllowed = this.curContext() === u) : this.exprAllowed = true;
54
+ c.jsxTagStart.updateContext = function() {
55
+ this.context.push(p), this.context.push(n), this.exprAllowed = false;
56
+ }, c.jsxTagEnd.updateContext = function(f) {
57
+ let v = this.context.pop();
58
+ v === n && f === i.slash || v === o ? (this.context.pop(), this.exprAllowed = this.curContext() === p) : this.exprAllowed = true;
59
59
  }, t = {
60
- tokContexts: h,
61
- tokTypes: l
62
- }, Gt.set(e, t);
60
+ tokContexts: u,
61
+ tokTypes: c
62
+ }, Qt.set(e, t);
63
63
  }
64
64
  return t;
65
65
  }
66
- function ne(e) {
66
+ function pe(e) {
67
67
  if (!e) return e;
68
68
  if (e.type === "JSXIdentifier") return e.name;
69
69
  if (e.type === "JSXNamespacedName") return e.namespace.name + ":" + e.name.name;
70
- if (e.type === "JSXMemberExpression") return ne(e.object) + "." + ne(e.property);
70
+ if (e.type === "JSXMemberExpression") return pe(e.object) + "." + pe(e.property);
71
71
  }
72
- Je.exports = function(e) {
72
+ We.exports = function(e) {
73
73
  return e = e || {}, function(t) {
74
- return us({
74
+ return Ts({
75
75
  allowNamespaces: e.allowNamespaces !== false,
76
76
  allowNamespacedObjects: !!e.allowNamespacedObjects
77
77
  }, t);
78
78
  };
79
79
  };
80
- Object.defineProperty(Je.exports, "tokTypes", {
80
+ Object.defineProperty(We.exports, "tokTypes", {
81
81
  get: function() {
82
- return Kt(void 0).tokTypes;
82
+ return Yt(void 0).tokTypes;
83
83
  },
84
84
  configurable: true,
85
85
  enumerable: true
86
86
  });
87
- function us(e, t) {
88
- let i = t.acorn || void 0, s = Kt(i), r = i.tokTypes, n = s.tokTypes, o = i.tokContexts, u = s.tokContexts.tc_oTag, h = s.tokContexts.tc_cTag, l = s.tokContexts.tc_expr, x = i.isNewLine, _ = i.isIdentifierStart, B = i.isIdentifierChar;
87
+ function Ts(e, t) {
88
+ let i = t.acorn || void 0, s = Yt(i), r = i.tokTypes, n = s.tokTypes, o = i.tokContexts, p = s.tokContexts.tc_oTag, u = s.tokContexts.tc_cTag, c = s.tokContexts.tc_expr, f = i.isNewLine, v = i.isIdentifierStart, T = i.isIdentifierChar;
89
89
  return class extends t {
90
90
  static get acornJsx() {
91
91
  return s;
92
92
  }
93
93
  jsx_readToken() {
94
- let p = "", d = this.pos;
94
+ let h = "", m = this.pos;
95
95
  for (; ; ) {
96
96
  this.pos >= this.input.length && this.raise(this.start, "Unterminated JSX contents");
97
- let m = this.input.charCodeAt(this.pos);
98
- switch (m) {
97
+ let x = this.input.charCodeAt(this.pos);
98
+ switch (x) {
99
99
  case 60:
100
100
  case 123:
101
- return this.pos === this.start ? m === 60 && this.exprAllowed ? (++this.pos, this.finishToken(n.jsxTagStart)) : this.getTokenFromCode(m) : (p += this.input.slice(d, this.pos), this.finishToken(n.jsxText, p));
101
+ return this.pos === this.start ? x === 60 && this.exprAllowed ? (++this.pos, this.finishToken(n.jsxTagStart)) : this.getTokenFromCode(x) : (h += this.input.slice(m, this.pos), this.finishToken(n.jsxText, h));
102
102
  case 38:
103
- p += this.input.slice(d, this.pos), p += this.jsx_readEntity(), d = this.pos;
103
+ h += this.input.slice(m, this.pos), h += this.jsx_readEntity(), m = this.pos;
104
104
  break;
105
105
  case 62:
106
106
  case 125:
107
- this.raise(this.pos, "Unexpected token `" + this.input[this.pos] + "`. Did you mean `" + (m === 62 ? "&gt;" : "&rbrace;") + '` or `{"' + this.input[this.pos] + '"}`?');
107
+ this.raise(this.pos, "Unexpected token `" + this.input[this.pos] + "`. Did you mean `" + (x === 62 ? "&gt;" : "&rbrace;") + '` or `{"' + this.input[this.pos] + '"}`?');
108
108
  default:
109
- x(m) ? (p += this.input.slice(d, this.pos), p += this.jsx_readNewLine(true), d = this.pos) : ++this.pos;
109
+ f(x) ? (h += this.input.slice(m, this.pos), h += this.jsx_readNewLine(true), m = this.pos) : ++this.pos;
110
110
  }
111
111
  }
112
112
  }
113
- jsx_readNewLine(p) {
114
- let d = this.input.charCodeAt(this.pos), m;
115
- return ++this.pos, d === 13 && this.input.charCodeAt(this.pos) === 10 ? (++this.pos, m = p ? `
113
+ jsx_readNewLine(h) {
114
+ let m = this.input.charCodeAt(this.pos), x;
115
+ return ++this.pos, m === 13 && this.input.charCodeAt(this.pos) === 10 ? (++this.pos, x = h ? `
116
116
  ` : `\r
117
- `) : m = String.fromCharCode(d), this.options.locations && (++this.curLine, this.lineStart = this.pos), m;
117
+ `) : x = String.fromCharCode(m), this.options.locations && (++this.curLine, this.lineStart = this.pos), x;
118
118
  }
119
- jsx_readString(p) {
120
- let d = "", m = ++this.pos;
119
+ jsx_readString(h) {
120
+ let m = "", x = ++this.pos;
121
121
  for (; ; ) {
122
122
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
123
123
  let g = this.input.charCodeAt(this.pos);
124
- if (g === p) break;
125
- g === 38 ? (d += this.input.slice(m, this.pos), d += this.jsx_readEntity(), m = this.pos) : x(g) ? (d += this.input.slice(m, this.pos), d += this.jsx_readNewLine(false), m = this.pos) : ++this.pos;
124
+ if (g === h) break;
125
+ g === 38 ? (m += this.input.slice(x, this.pos), m += this.jsx_readEntity(), x = this.pos) : f(g) ? (m += this.input.slice(x, this.pos), m += this.jsx_readNewLine(false), x = this.pos) : ++this.pos;
126
126
  }
127
- return d += this.input.slice(m, this.pos++), this.finishToken(r.string, d);
127
+ return m += this.input.slice(x, this.pos++), this.finishToken(r.string, m);
128
128
  }
129
129
  jsx_readEntity() {
130
- let p = "", d = 0, m, g = this.input[this.pos];
130
+ let h = "", m = 0, x, g = this.input[this.pos];
131
131
  g !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
132
- let E = ++this.pos;
133
- for (; this.pos < this.input.length && d++ < 10; ) {
132
+ let N = ++this.pos;
133
+ for (; this.pos < this.input.length && m++ < 10; ) {
134
134
  if (g = this.input[this.pos++], g === ";") {
135
- p[0] === "#" ? p[1] === "x" ? (p = p.substr(2), ns.test(p) && (m = String.fromCharCode(parseInt(p, 16)))) : (p = p.substr(1), os.test(p) && (m = String.fromCharCode(parseInt(p, 10)))) : m = as[p];
135
+ h[0] === "#" ? h[1] === "x" ? (h = h.substr(2), Ss.test(h) && (x = String.fromCharCode(parseInt(h, 16)))) : (h = h.substr(1), _s.test(h) && (x = String.fromCharCode(parseInt(h, 10)))) : x = bs[h];
136
136
  break;
137
137
  }
138
- p += g;
138
+ h += g;
139
139
  }
140
- return m || (this.pos = E, "&");
140
+ return x || (this.pos = N, "&");
141
141
  }
142
142
  jsx_readWord() {
143
- let p, d = this.pos;
143
+ let h, m = this.pos;
144
144
  do
145
- p = this.input.charCodeAt(++this.pos);
146
- while (B(p) || p === 45);
147
- return this.finishToken(n.jsxName, this.input.slice(d, this.pos));
145
+ h = this.input.charCodeAt(++this.pos);
146
+ while (T(h) || h === 45);
147
+ return this.finishToken(n.jsxName, this.input.slice(m, this.pos));
148
148
  }
149
149
  jsx_parseIdentifier() {
150
- let p = this.startNode();
151
- return this.type === n.jsxName ? p.name = this.value : this.type.keyword ? p.name = this.type.keyword : this.unexpected(), this.next(), this.finishNode(p, "JSXIdentifier");
150
+ let h = this.startNode();
151
+ return this.type === n.jsxName ? h.name = this.value : this.type.keyword ? h.name = this.type.keyword : this.unexpected(), this.next(), this.finishNode(h, "JSXIdentifier");
152
152
  }
153
153
  jsx_parseNamespacedName() {
154
- let p = this.start, d = this.startLoc, m = this.jsx_parseIdentifier();
155
- if (!e.allowNamespaces || !this.eat(r.colon)) return m;
156
- var g = this.startNodeAt(p, d);
157
- return g.namespace = m, g.name = this.jsx_parseIdentifier(), this.finishNode(g, "JSXNamespacedName");
154
+ let h = this.start, m = this.startLoc, x = this.jsx_parseIdentifier();
155
+ if (!e.allowNamespaces || !this.eat(r.colon)) return x;
156
+ var g = this.startNodeAt(h, m);
157
+ return g.namespace = x, g.name = this.jsx_parseIdentifier(), this.finishNode(g, "JSXNamespacedName");
158
158
  }
159
159
  jsx_parseElementName() {
160
160
  if (this.type === n.jsxTagEnd) return "";
161
- let p = this.start, d = this.startLoc, m = this.jsx_parseNamespacedName();
162
- for (this.type === r.dot && m.type === "JSXNamespacedName" && !e.allowNamespacedObjects && this.unexpected(); this.eat(r.dot); ) {
163
- let g = this.startNodeAt(p, d);
164
- g.object = m, g.property = this.jsx_parseIdentifier(), m = this.finishNode(g, "JSXMemberExpression");
161
+ let h = this.start, m = this.startLoc, x = this.jsx_parseNamespacedName();
162
+ for (this.type === r.dot && x.type === "JSXNamespacedName" && !e.allowNamespacedObjects && this.unexpected(); this.eat(r.dot); ) {
163
+ let g = this.startNodeAt(h, m);
164
+ g.object = x, g.property = this.jsx_parseIdentifier(), x = this.finishNode(g, "JSXMemberExpression");
165
165
  }
166
- return m;
166
+ return x;
167
167
  }
168
168
  jsx_parseAttributeValue() {
169
169
  switch (this.type) {
170
170
  case r.braceL:
171
- let p = this.jsx_parseExpressionContainer();
172
- return p.expression.type === "JSXEmptyExpression" && this.raise(p.start, "JSX attributes must only be assigned a non-empty expression"), p;
171
+ let h = this.jsx_parseExpressionContainer();
172
+ return h.expression.type === "JSXEmptyExpression" && this.raise(h.start, "JSX attributes must only be assigned a non-empty expression"), h;
173
173
  case n.jsxTagStart:
174
174
  case r.string:
175
175
  return this.parseExprAtom();
@@ -178,38 +178,38 @@ var Ge = Ee((Ys, Je) => {
178
178
  }
179
179
  }
180
180
  jsx_parseEmptyExpression() {
181
- let p = this.startNodeAt(this.lastTokEnd, this.lastTokEndLoc);
182
- return this.finishNodeAt(p, "JSXEmptyExpression", this.start, this.startLoc);
181
+ let h = this.startNodeAt(this.lastTokEnd, this.lastTokEndLoc);
182
+ return this.finishNodeAt(h, "JSXEmptyExpression", this.start, this.startLoc);
183
183
  }
184
184
  jsx_parseExpressionContainer() {
185
- let p = this.startNode();
186
- return this.next(), p.expression = this.type === r.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(r.braceR), this.finishNode(p, "JSXExpressionContainer");
185
+ let h = this.startNode();
186
+ return this.next(), h.expression = this.type === r.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(r.braceR), this.finishNode(h, "JSXExpressionContainer");
187
187
  }
188
188
  jsx_parseAttribute() {
189
- let p = this.startNode();
190
- return this.eat(r.braceL) ? (this.expect(r.ellipsis), p.argument = this.parseMaybeAssign(), this.expect(r.braceR), this.finishNode(p, "JSXSpreadAttribute")) : (p.name = this.jsx_parseNamespacedName(), p.value = this.eat(r.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(p, "JSXAttribute"));
189
+ let h = this.startNode();
190
+ return this.eat(r.braceL) ? (this.expect(r.ellipsis), h.argument = this.parseMaybeAssign(), this.expect(r.braceR), this.finishNode(h, "JSXSpreadAttribute")) : (h.name = this.jsx_parseNamespacedName(), h.value = this.eat(r.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(h, "JSXAttribute"));
191
191
  }
192
- jsx_parseOpeningElementAt(p, d) {
193
- let m = this.startNodeAt(p, d);
194
- m.attributes = [];
192
+ jsx_parseOpeningElementAt(h, m) {
193
+ let x = this.startNodeAt(h, m);
194
+ x.attributes = [];
195
195
  let g = this.jsx_parseElementName();
196
- for (g && (m.name = g); this.type !== r.slash && this.type !== n.jsxTagEnd; ) m.attributes.push(this.jsx_parseAttribute());
197
- return m.selfClosing = this.eat(r.slash), this.expect(n.jsxTagEnd), this.finishNode(m, g ? "JSXOpeningElement" : "JSXOpeningFragment");
196
+ for (g && (x.name = g); this.type !== r.slash && this.type !== n.jsxTagEnd; ) x.attributes.push(this.jsx_parseAttribute());
197
+ return x.selfClosing = this.eat(r.slash), this.expect(n.jsxTagEnd), this.finishNode(x, g ? "JSXOpeningElement" : "JSXOpeningFragment");
198
198
  }
199
- jsx_parseClosingElementAt(p, d) {
200
- let m = this.startNodeAt(p, d), g = this.jsx_parseElementName();
201
- return g && (m.name = g), this.expect(n.jsxTagEnd), this.finishNode(m, g ? "JSXClosingElement" : "JSXClosingFragment");
199
+ jsx_parseClosingElementAt(h, m) {
200
+ let x = this.startNodeAt(h, m), g = this.jsx_parseElementName();
201
+ return g && (x.name = g), this.expect(n.jsxTagEnd), this.finishNode(x, g ? "JSXClosingElement" : "JSXClosingFragment");
202
202
  }
203
- jsx_parseElementAt(p, d) {
204
- let m = this.startNodeAt(p, d), g = [], E = this.jsx_parseOpeningElementAt(p, d), pe = null;
205
- if (!E.selfClosing) {
203
+ jsx_parseElementAt(h, m) {
204
+ let x = this.startNodeAt(h, m), g = [], N = this.jsx_parseOpeningElementAt(h, m), le = null;
205
+ if (!N.selfClosing) {
206
206
  e: for (; ; ) switch (this.type) {
207
207
  case n.jsxTagStart:
208
- if (p = this.start, d = this.startLoc, this.next(), this.eat(r.slash)) {
209
- pe = this.jsx_parseClosingElementAt(p, d);
208
+ if (h = this.start, m = this.startLoc, this.next(), this.eat(r.slash)) {
209
+ le = this.jsx_parseClosingElementAt(h, m);
210
210
  break e;
211
211
  }
212
- g.push(this.jsx_parseElementAt(p, d));
212
+ g.push(this.jsx_parseElementAt(h, m));
213
213
  break;
214
214
  case n.jsxText:
215
215
  g.push(this.parseExprAtom());
@@ -220,345 +220,287 @@ var Ge = Ee((Ys, Je) => {
220
220
  default:
221
221
  this.unexpected();
222
222
  }
223
- ne(pe.name) !== ne(E.name) && this.raise(pe.start, "Expected corresponding JSX closing tag for <" + ne(E.name) + ">");
223
+ pe(le.name) !== pe(N.name) && this.raise(le.start, "Expected corresponding JSX closing tag for <" + pe(N.name) + ">");
224
224
  }
225
- let ke = E.name ? "Element" : "Fragment";
226
- return m["opening" + ke] = E, m["closing" + ke] = pe, m.children = g, this.type === r.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(m, "JSX" + ke);
225
+ let Ne = N.name ? "Element" : "Fragment";
226
+ return x["opening" + Ne] = N, x["closing" + Ne] = le, x.children = g, this.type === r.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(x, "JSX" + Ne);
227
227
  }
228
228
  jsx_parseText() {
229
- let p = this.parseLiteral(this.value);
230
- return p.type = "JSXText", p;
229
+ let h = this.parseLiteral(this.value);
230
+ return h.type = "JSXText", h;
231
231
  }
232
232
  jsx_parseElement() {
233
- let p = this.start, d = this.startLoc;
234
- return this.next(), this.jsx_parseElementAt(p, d);
233
+ let h = this.start, m = this.startLoc;
234
+ return this.next(), this.jsx_parseElementAt(h, m);
235
235
  }
236
- parseExprAtom(p) {
237
- return this.type === n.jsxText ? this.jsx_parseText() : this.type === n.jsxTagStart ? this.jsx_parseElement() : super.parseExprAtom(p);
236
+ parseExprAtom(h) {
237
+ return this.type === n.jsxText ? this.jsx_parseText() : this.type === n.jsxTagStart ? this.jsx_parseElement() : super.parseExprAtom(h);
238
238
  }
239
- readToken(p) {
240
- let d = this.curContext();
241
- if (d === l) return this.jsx_readToken();
242
- if (d === u || d === h) {
243
- if (_(p)) return this.jsx_readWord();
244
- if (p == 62) return ++this.pos, this.finishToken(n.jsxTagEnd);
245
- if ((p === 34 || p === 39) && d == u) return this.jsx_readString(p);
239
+ readToken(h) {
240
+ let m = this.curContext();
241
+ if (m === c) return this.jsx_readToken();
242
+ if (m === p || m === u) {
243
+ if (v(h)) return this.jsx_readWord();
244
+ if (h == 62) return ++this.pos, this.finishToken(n.jsxTagEnd);
245
+ if ((h === 34 || h === 39) && m == p) return this.jsx_readString(h);
246
246
  }
247
- return p === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33 ? (++this.pos, this.finishToken(n.jsxTagStart)) : super.readToken(p);
247
+ return h === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33 ? (++this.pos, this.finishToken(n.jsxTagStart)) : super.readToken(h);
248
248
  }
249
- updateContext(p) {
249
+ updateContext(h) {
250
250
  if (this.type == r.braceL) {
251
- var d = this.curContext();
252
- d == u ? this.context.push(o.b_expr) : d == l ? this.context.push(o.b_tmpl) : super.updateContext(p), this.exprAllowed = true;
253
- } else if (this.type === r.slash && p === n.jsxTagStart) this.context.length -= 2, this.context.push(h), this.exprAllowed = false;
254
- else return super.updateContext(p);
251
+ var m = this.curContext();
252
+ m == p ? this.context.push(o.b_expr) : m == c ? this.context.push(o.b_tmpl) : super.updateContext(h), this.exprAllowed = true;
253
+ } else if (this.type === r.slash && h === n.jsxTagStart) this.context.length -= 2, this.context.push(u), this.exprAllowed = false;
254
+ else return super.updateContext(h);
255
255
  }
256
256
  };
257
257
  }
258
258
  });
259
- var ai = Ee((X) => {
260
- Object.defineProperty(X, "__esModule", {
261
- value: true
262
- });
263
- X.extract = ws;
264
- X.parse = As;
265
- X.parseWithComments = ri;
266
- X.print = Ps;
267
- X.strip = Es;
268
- var Ss = /\*\/$/, _s = /^\/\*\*?/, ii = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/, Cs = /(^|\s+)\/\/([^\r\n]*)/g, Zt = /^(\r?\n)+/, Ts = /(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g, ei = /(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g, ks = /(\r?\n|^) *\* ?/g, si = [];
269
- function ws(e) {
270
- let t = e.match(ii);
271
- return t ? t[0].trimLeft() : "";
272
- }
273
- function Es(e) {
274
- let t = e.match(ii);
275
- return t && t[0] ? e.substring(t[0].length) : e;
276
- }
277
- function As(e) {
278
- return ri(e).pragmas;
279
- }
280
- function ri(e) {
281
- let t = `
282
- `;
283
- e = e.replace(_s, "").replace(Ss, "").replace(ks, "$1");
284
- let i = "";
285
- for (; i !== e; ) i = e, e = e.replace(Ts, `${t}$1 $2${t}`);
286
- e = e.replace(Zt, "").trimRight();
287
- let s = /* @__PURE__ */ Object.create(null), r = e.replace(ei, "").replace(Zt, "").trimRight(), n;
288
- for (; n = ei.exec(e); ) {
289
- let o = n[2].replace(Cs, "");
290
- typeof s[n[1]] == "string" || Array.isArray(s[n[1]]) ? s[n[1]] = si.concat(s[n[1]], o) : s[n[1]] = o;
291
- }
292
- return {
293
- comments: r,
294
- pragmas: s
295
- };
296
- }
297
- function Ps({
298
- comments: e = "",
299
- pragmas: t = {}
300
- }) {
301
- let i = `
302
- `, s = "/**", r = " *", n = " */", o = Object.keys(t), u = o.flatMap((l) => ti(l, t[l])).map((l) => `${r} ${l}${i}`).join("");
303
- if (!e) {
304
- if (o.length === 0) return "";
305
- if (o.length === 1 && !Array.isArray(t[o[0]])) {
306
- let l = t[o[0]];
307
- return `${s} ${ti(o[0], l)[0]}${n}`;
308
- }
309
- }
310
- let h = e.split(i).map((l) => `${r} ${l}`).join(i) + i;
311
- return s + i + (e ? h : "") + (e && o.length ? r + i : "") + u + n;
312
- }
313
- function ti(e, t) {
314
- return si.concat(t).map((i) => `@${e} ${i}`.trim());
315
- }
316
- });
317
- var et = {};
318
- Si(et, {
319
- parsers: () => zs
259
+ var at = {};
260
+ Vi(at, {
261
+ parsers: () => cr
320
262
  });
321
- var Ci = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
322
- var nt = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
323
- var Ti = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
324
- var ot = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
325
- var Pe = {
263
+ var Oi = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
264
+ var ft = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
265
+ var Bi = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
266
+ var dt = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
267
+ var Ve = {
326
268
  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",
327
269
  5: "class enum extends super const export import",
328
270
  6: "enum",
329
271
  strict: "implements interface let package private protected public static yield",
330
272
  strictBind: "eval arguments"
331
273
  };
332
- var Ie = "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";
333
- var ki = {
334
- 5: Ie,
335
- "5module": Ie + " export import",
336
- 6: Ie + " const class extends export import super"
274
+ var Re = "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";
275
+ var Di = {
276
+ 5: Re,
277
+ "5module": Re + " export import",
278
+ 6: Re + " const class extends export import super"
337
279
  };
338
- var wi = /^in(stanceof)?$/;
339
- var Ei = new RegExp("[" + ot + "]");
340
- var Ai = new RegExp("[" + ot + Ti + "]");
341
- function Ve(e, t) {
280
+ var Fi = /^in(stanceof)?$/;
281
+ var Mi = new RegExp("[" + dt + "]");
282
+ var ji = new RegExp("[" + dt + Bi + "]");
283
+ function Be(e, t) {
342
284
  for (var i = 65536, s = 0; s < t.length; s += 2) {
343
285
  if (i += t[s], i > e) return false;
344
286
  if (i += t[s + 1], i >= e) return true;
345
287
  }
346
288
  return false;
347
289
  }
348
- function U(e, t) {
349
- return e < 65 ? e === 36 : e < 91 ? true : e < 97 ? e === 95 : e < 123 ? true : e <= 65535 ? e >= 170 && Ei.test(String.fromCharCode(e)) : t === false ? false : Ve(e, nt);
290
+ function M(e, t) {
291
+ return e < 65 ? e === 36 : e < 91 ? true : e < 97 ? e === 95 : e < 123 ? true : e <= 65535 ? e >= 170 && Mi.test(String.fromCharCode(e)) : t === false ? false : Be(e, ft);
350
292
  }
351
- function H(e, t) {
352
- return e < 48 ? e === 36 : e < 58 ? true : e < 65 ? false : e < 91 ? true : e < 97 ? e === 95 : e < 123 ? true : e <= 65535 ? e >= 170 && Ai.test(String.fromCharCode(e)) : t === false ? false : Ve(e, nt) || Ve(e, Ci);
293
+ function K(e, t) {
294
+ return e < 48 ? e === 36 : e < 58 ? true : e < 65 ? false : e < 91 ? true : e < 97 ? e === 95 : e < 123 ? true : e <= 65535 ? e >= 170 && ji.test(String.fromCharCode(e)) : t === false ? false : Be(e, ft) || Be(e, Oi);
353
295
  }
354
- var S = function(t, i) {
296
+ var _ = function(t, i) {
355
297
  i === void 0 && (i = {}), this.label = t, this.keyword = i.keyword, this.beforeExpr = !!i.beforeExpr, this.startsExpr = !!i.startsExpr, this.isLoop = !!i.isLoop, this.isAssign = !!i.isAssign, this.prefix = !!i.prefix, this.postfix = !!i.postfix, this.binop = i.binop || null, this.updateContext = null;
356
298
  };
357
- function I(e, t) {
358
- return new S(e, {
299
+ function R(e, t) {
300
+ return new _(e, {
359
301
  beforeExpr: true,
360
302
  binop: t
361
303
  });
362
304
  }
363
- var N = {
305
+ var O = {
364
306
  beforeExpr: true
365
307
  };
366
- var A = {
308
+ var L = {
367
309
  startsExpr: true
368
310
  };
369
- var Oe = {};
370
- function b(e, t) {
371
- return t === void 0 && (t = {}), t.keyword = e, Oe[e] = new S(e, t);
311
+ var je = {};
312
+ function S(e, t) {
313
+ return t === void 0 && (t = {}), t.keyword = e, je[e] = new _(e, t);
372
314
  }
373
315
  var a = {
374
- num: new S("num", A),
375
- regexp: new S("regexp", A),
376
- string: new S("string", A),
377
- name: new S("name", A),
378
- privateId: new S("privateId", A),
379
- eof: new S("eof"),
380
- bracketL: new S("[", {
316
+ num: new _("num", L),
317
+ regexp: new _("regexp", L),
318
+ string: new _("string", L),
319
+ name: new _("name", L),
320
+ privateId: new _("privateId", L),
321
+ eof: new _("eof"),
322
+ bracketL: new _("[", {
381
323
  beforeExpr: true,
382
324
  startsExpr: true
383
325
  }),
384
- bracketR: new S("]"),
385
- braceL: new S("{", {
326
+ bracketR: new _("]"),
327
+ braceL: new _("{", {
386
328
  beforeExpr: true,
387
329
  startsExpr: true
388
330
  }),
389
- braceR: new S("}"),
390
- parenL: new S("(", {
331
+ braceR: new _("}"),
332
+ parenL: new _("(", {
391
333
  beforeExpr: true,
392
334
  startsExpr: true
393
335
  }),
394
- parenR: new S(")"),
395
- comma: new S(",", N),
396
- semi: new S(";", N),
397
- colon: new S(":", N),
398
- dot: new S("."),
399
- question: new S("?", N),
400
- questionDot: new S("?."),
401
- arrow: new S("=>", N),
402
- template: new S("template"),
403
- invalidTemplate: new S("invalidTemplate"),
404
- ellipsis: new S("...", N),
405
- backQuote: new S("`", A),
406
- dollarBraceL: new S("${", {
336
+ parenR: new _(")"),
337
+ comma: new _(",", O),
338
+ semi: new _(";", O),
339
+ colon: new _(":", O),
340
+ dot: new _("."),
341
+ question: new _("?", O),
342
+ questionDot: new _("?."),
343
+ arrow: new _("=>", O),
344
+ template: new _("template"),
345
+ invalidTemplate: new _("invalidTemplate"),
346
+ ellipsis: new _("...", O),
347
+ backQuote: new _("`", L),
348
+ dollarBraceL: new _("${", {
407
349
  beforeExpr: true,
408
350
  startsExpr: true
409
351
  }),
410
- eq: new S("=", {
352
+ eq: new _("=", {
411
353
  beforeExpr: true,
412
354
  isAssign: true
413
355
  }),
414
- assign: new S("_=", {
356
+ assign: new _("_=", {
415
357
  beforeExpr: true,
416
358
  isAssign: true
417
359
  }),
418
- incDec: new S("++/--", {
360
+ incDec: new _("++/--", {
419
361
  prefix: true,
420
362
  postfix: true,
421
363
  startsExpr: true
422
364
  }),
423
- prefix: new S("!/~", {
365
+ prefix: new _("!/~", {
424
366
  beforeExpr: true,
425
367
  prefix: true,
426
368
  startsExpr: true
427
369
  }),
428
- logicalOR: I("||", 1),
429
- logicalAND: I("&&", 2),
430
- bitwiseOR: I("|", 3),
431
- bitwiseXOR: I("^", 4),
432
- bitwiseAND: I("&", 5),
433
- equality: I("==/!=/===/!==", 6),
434
- relational: I("</>/<=/>=", 7),
435
- bitShift: I("<</>>/>>>", 8),
436
- plusMin: new S("+/-", {
370
+ logicalOR: R("||", 1),
371
+ logicalAND: R("&&", 2),
372
+ bitwiseOR: R("|", 3),
373
+ bitwiseXOR: R("^", 4),
374
+ bitwiseAND: R("&", 5),
375
+ equality: R("==/!=/===/!==", 6),
376
+ relational: R("</>/<=/>=", 7),
377
+ bitShift: R("<</>>/>>>", 8),
378
+ plusMin: new _("+/-", {
437
379
  beforeExpr: true,
438
380
  binop: 9,
439
381
  prefix: true,
440
382
  startsExpr: true
441
383
  }),
442
- modulo: I("%", 10),
443
- star: I("*", 10),
444
- slash: I("/", 10),
445
- starstar: new S("**", {
384
+ modulo: R("%", 10),
385
+ star: R("*", 10),
386
+ slash: R("/", 10),
387
+ starstar: new _("**", {
446
388
  beforeExpr: true
447
389
  }),
448
- coalesce: I("??", 1),
449
- _break: b("break"),
450
- _case: b("case", N),
451
- _catch: b("catch"),
452
- _continue: b("continue"),
453
- _debugger: b("debugger"),
454
- _default: b("default", N),
455
- _do: b("do", {
390
+ coalesce: R("??", 1),
391
+ _break: S("break"),
392
+ _case: S("case", O),
393
+ _catch: S("catch"),
394
+ _continue: S("continue"),
395
+ _debugger: S("debugger"),
396
+ _default: S("default", O),
397
+ _do: S("do", {
456
398
  isLoop: true,
457
399
  beforeExpr: true
458
400
  }),
459
- _else: b("else", N),
460
- _finally: b("finally"),
461
- _for: b("for", {
401
+ _else: S("else", O),
402
+ _finally: S("finally"),
403
+ _for: S("for", {
462
404
  isLoop: true
463
405
  }),
464
- _function: b("function", A),
465
- _if: b("if"),
466
- _return: b("return", N),
467
- _switch: b("switch"),
468
- _throw: b("throw", N),
469
- _try: b("try"),
470
- _var: b("var"),
471
- _const: b("const"),
472
- _while: b("while", {
406
+ _function: S("function", L),
407
+ _if: S("if"),
408
+ _return: S("return", O),
409
+ _switch: S("switch"),
410
+ _throw: S("throw", O),
411
+ _try: S("try"),
412
+ _var: S("var"),
413
+ _const: S("const"),
414
+ _while: S("while", {
473
415
  isLoop: true
474
416
  }),
475
- _with: b("with"),
476
- _new: b("new", {
417
+ _with: S("with"),
418
+ _new: S("new", {
477
419
  beforeExpr: true,
478
420
  startsExpr: true
479
421
  }),
480
- _this: b("this", A),
481
- _super: b("super", A),
482
- _class: b("class", A),
483
- _extends: b("extends", N),
484
- _export: b("export"),
485
- _import: b("import", A),
486
- _null: b("null", A),
487
- _true: b("true", A),
488
- _false: b("false", A),
489
- _in: b("in", {
422
+ _this: S("this", L),
423
+ _super: S("super", L),
424
+ _class: S("class", L),
425
+ _extends: S("extends", O),
426
+ _export: S("export"),
427
+ _import: S("import", L),
428
+ _null: S("null", L),
429
+ _true: S("true", L),
430
+ _false: S("false", L),
431
+ _in: S("in", {
490
432
  beforeExpr: true,
491
433
  binop: 7
492
434
  }),
493
- _instanceof: b("instanceof", {
435
+ _instanceof: S("instanceof", {
494
436
  beforeExpr: true,
495
437
  binop: 7
496
438
  }),
497
- _typeof: b("typeof", {
439
+ _typeof: S("typeof", {
498
440
  beforeExpr: true,
499
441
  prefix: true,
500
442
  startsExpr: true
501
443
  }),
502
- _void: b("void", {
444
+ _void: S("void", {
503
445
  beforeExpr: true,
504
446
  prefix: true,
505
447
  startsExpr: true
506
448
  }),
507
- _delete: b("delete", {
449
+ _delete: S("delete", {
508
450
  beforeExpr: true,
509
451
  prefix: true,
510
452
  startsExpr: true
511
453
  })
512
454
  };
513
- var R = /\r\n?|\n|\u2028|\u2029/;
514
- var Pi = new RegExp(R.source, "g");
515
- function Q(e) {
455
+ var V = /\r\n?|\n|\u2028|\u2029/;
456
+ var Ui = new RegExp(V.source, "g");
457
+ function Y(e) {
516
458
  return e === 10 || e === 13 || e === 8232 || e === 8233;
517
459
  }
518
- function ut(e, t, i) {
460
+ function mt(e, t, i) {
519
461
  i === void 0 && (i = e.length);
520
462
  for (var s = t; s < i; s++) {
521
463
  var r = e.charCodeAt(s);
522
- if (Q(r)) return s < i - 1 && r === 13 && e.charCodeAt(s + 1) === 10 ? s + 2 : s + 1;
464
+ if (Y(r)) return s < i - 1 && r === 13 && e.charCodeAt(s + 1) === 10 ? s + 2 : s + 1;
523
465
  }
524
466
  return -1;
525
467
  }
526
- var ht = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
527
- var V = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
528
- var pt = Object.prototype;
529
- var Ii = pt.hasOwnProperty;
530
- var Ni = pt.toString;
531
- var se = Object.hasOwn || function(e, t) {
532
- return Ii.call(e, t);
468
+ var xt = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
469
+ var A = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
470
+ var yt = Object.prototype;
471
+ var Gi = yt.hasOwnProperty;
472
+ var qi = yt.toString;
473
+ var $ = Object.hasOwn || function(e, t) {
474
+ return Gi.call(e, t);
533
475
  };
534
- var tt = Array.isArray || function(e) {
535
- return Ni.call(e) === "[object Array]";
476
+ var ut = Array.isArray || function(e) {
477
+ return qi.call(e) === "[object Array]";
536
478
  };
537
- var it = /* @__PURE__ */ Object.create(null);
538
- function G(e) {
539
- return it[e] || (it[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
479
+ var pt = /* @__PURE__ */ Object.create(null);
480
+ function H(e) {
481
+ return pt[e] || (pt[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
540
482
  }
541
- function K(e) {
483
+ function G(e) {
542
484
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
543
485
  }
544
- var Vi = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;
545
- var te = function(t, i) {
486
+ var Ji = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;
487
+ var ae = function(t, i) {
546
488
  this.line = t, this.column = i;
547
489
  };
548
- te.prototype.offset = function(t) {
549
- return new te(this.line, this.column + t);
490
+ ae.prototype.offset = function(t) {
491
+ return new ae(this.line, this.column + t);
550
492
  };
551
- var me = function(t, i, s) {
493
+ var ge = function(t, i, s) {
552
494
  this.start = i, this.end = s, t.sourceFile !== null && (this.source = t.sourceFile);
553
495
  };
554
- function ct(e, t) {
496
+ function gt(e, t) {
555
497
  for (var i = 1, s = 0; ; ) {
556
- var r = ut(e, s, t);
557
- if (r < 0) return new te(i, t - s);
498
+ var r = mt(e, s, t);
499
+ if (r < 0) return new ae(i, t - s);
558
500
  ++i, s = r;
559
501
  }
560
502
  }
561
- var Le = {
503
+ var De = {
562
504
  ecmaVersion: null,
563
505
  sourceType: "script",
564
506
  onInsertedSemicolon: null,
@@ -579,58 +521,59 @@ var Le = {
579
521
  directSourceFile: null,
580
522
  preserveParens: false
581
523
  };
582
- var st = false;
583
- function Li(e) {
524
+ var ht = false;
525
+ function Hi(e) {
584
526
  var t = {};
585
- for (var i in Le) t[i] = e && se(e, i) ? e[i] : Le[i];
586
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!st && typeof console == "object" && console.warn && (st = true, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
587
- Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved == null && (t.allowReserved = t.ecmaVersion < 5), (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), tt(t.onToken)) {
527
+ for (var i in De) t[i] = e && $(e, i) ? e[i] : De[i];
528
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!ht && typeof console == "object" && console.warn && (ht = true, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
529
+ Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved == null && (t.allowReserved = t.ecmaVersion < 5), (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), ut(t.onToken)) {
588
530
  var s = t.onToken;
589
531
  t.onToken = function(r) {
590
532
  return s.push(r);
591
533
  };
592
534
  }
593
- return tt(t.onComment) && (t.onComment = Ri(t, t.onComment)), t;
535
+ return ut(t.onComment) && (t.onComment = Ki(t, t.onComment)), t;
594
536
  }
595
- function Ri(e, t) {
596
- return function(i, s, r, n, o, u) {
597
- var h = {
537
+ function Ki(e, t) {
538
+ return function(i, s, r, n, o, p) {
539
+ var u = {
598
540
  type: i ? "Block" : "Line",
599
541
  value: s,
600
542
  start: r,
601
543
  end: n
602
544
  };
603
- e.locations && (h.loc = new me(this, o, u)), e.ranges && (h.range = [r, n]), t.push(h);
545
+ e.locations && (u.loc = new ge(this, o, p)), e.ranges && (u.range = [r, n]), t.push(u);
604
546
  };
605
547
  }
606
- var ie = 1;
607
- var Y = 2;
608
- var Be = 4;
609
- var lt = 8;
610
- var ft = 16;
611
- var dt = 32;
612
- var De = 64;
613
- var mt = 128;
614
- var re = 256;
615
- var Fe = ie | Y | re;
616
- function Me(e, t) {
617
- return Y | (e ? Be : 0) | (t ? lt : 0);
618
- }
619
- var le = 0;
620
- var je = 1;
548
+ var ne = 1;
549
+ var Z = 2;
550
+ var Ue = 4;
551
+ var vt = 8;
552
+ var Ge = 16;
553
+ var bt = 32;
554
+ var ve = 64;
555
+ var St = 128;
556
+ var X = 256;
557
+ var oe = 512;
558
+ var be = ne | Z | X;
559
+ function qe(e, t) {
560
+ return Z | (e ? Ue : 0) | (t ? vt : 0);
561
+ }
562
+ var de = 0;
563
+ var Je = 1;
621
564
  var J = 2;
622
- var xt = 3;
623
- var yt = 4;
624
- var gt = 5;
625
- var T = function(t, i, s) {
626
- this.options = t = Li(t), this.sourceFile = t.sourceFile, this.keywords = G(ki[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
565
+ var _t = 3;
566
+ var Tt = 4;
567
+ var Ct = 5;
568
+ var E = function(t, i, s) {
569
+ this.options = t = Hi(t), this.sourceFile = t.sourceFile, this.keywords = H(Di[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
627
570
  var r = "";
628
- t.allowReserved !== true && (r = Pe[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (r += " await")), this.reservedWords = G(r);
629
- var n = (r ? r + " " : "") + Pe.strict;
630
- this.reservedWordsStrict = G(n), this.reservedWordsStrictBind = G(n + " " + Pe.strictBind), this.input = String(i), this.containsEsc = false, s ? (this.pos = s, this.lineStart = this.input.lastIndexOf(`
631
- `, s - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(R).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = a.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 = true, this.inModule = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = false, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(ie), this.regexpState = null, this.privateNameStack = [];
571
+ t.allowReserved !== true && (r = Ve[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (r += " await")), this.reservedWords = H(r);
572
+ var n = (r ? r + " " : "") + Ve.strict;
573
+ this.reservedWordsStrict = H(n), this.reservedWordsStrictBind = H(n + " " + Ve.strictBind), this.input = String(i), this.containsEsc = false, s ? (this.pos = s, this.lineStart = this.input.lastIndexOf(`
574
+ `, s - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(V).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = a.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 = true, this.inModule = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = false, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(ne), this.regexpState = null, this.privateNameStack = [];
632
575
  };
633
- var F = {
576
+ var j = {
634
577
  inFunction: {
635
578
  configurable: true
636
579
  },
@@ -659,130 +602,133 @@ var F = {
659
602
  configurable: true
660
603
  }
661
604
  };
662
- T.prototype.parse = function() {
605
+ E.prototype.parse = function() {
663
606
  var t = this.options.program || this.startNode();
664
607
  return this.nextToken(), this.parseTopLevel(t);
665
608
  };
666
- F.inFunction.get = function() {
667
- return (this.currentVarScope().flags & Y) > 0;
609
+ j.inFunction.get = function() {
610
+ return (this.currentVarScope().flags & Z) > 0;
668
611
  };
669
- F.inGenerator.get = function() {
670
- return (this.currentVarScope().flags & lt) > 0 && !this.currentVarScope().inClassFieldInit;
612
+ j.inGenerator.get = function() {
613
+ return (this.currentVarScope().flags & vt) > 0;
671
614
  };
672
- F.inAsync.get = function() {
673
- return (this.currentVarScope().flags & Be) > 0 && !this.currentVarScope().inClassFieldInit;
615
+ j.inAsync.get = function() {
616
+ return (this.currentVarScope().flags & Ue) > 0;
674
617
  };
675
- F.canAwait.get = function() {
618
+ j.canAwait.get = function() {
676
619
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
677
- var t = this.scopeStack[e];
678
- if (t.inClassFieldInit || t.flags & re) return false;
679
- if (t.flags & Y) return (t.flags & Be) > 0;
620
+ var t = this.scopeStack[e], i = t.flags;
621
+ if (i & (X | oe)) return false;
622
+ if (i & Z) return (i & Ue) > 0;
680
623
  }
681
624
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
682
625
  };
683
- F.allowSuper.get = function() {
684
- var e = this.currentThisScope(), t = e.flags, i = e.inClassFieldInit;
685
- return (t & De) > 0 || i || this.options.allowSuperOutsideMethod;
626
+ j.allowSuper.get = function() {
627
+ var e = this.currentThisScope(), t = e.flags;
628
+ return (t & ve) > 0 || this.options.allowSuperOutsideMethod;
686
629
  };
687
- F.allowDirectSuper.get = function() {
688
- return (this.currentThisScope().flags & mt) > 0;
630
+ j.allowDirectSuper.get = function() {
631
+ return (this.currentThisScope().flags & St) > 0;
689
632
  };
690
- F.treatFunctionsAsVar.get = function() {
633
+ j.treatFunctionsAsVar.get = function() {
691
634
  return this.treatFunctionsAsVarInScope(this.currentScope());
692
635
  };
693
- F.allowNewDotTarget.get = function() {
694
- var e = this.currentThisScope(), t = e.flags, i = e.inClassFieldInit;
695
- return (t & (Y | re)) > 0 || i;
636
+ j.allowNewDotTarget.get = function() {
637
+ for (var e = this.scopeStack.length - 1; e >= 0; e--) {
638
+ var t = this.scopeStack[e], i = t.flags;
639
+ if (i & (X | oe) || i & Z && !(i & Ge)) return true;
640
+ }
641
+ return false;
696
642
  };
697
- F.inClassStaticBlock.get = function() {
698
- return (this.currentVarScope().flags & re) > 0;
643
+ j.inClassStaticBlock.get = function() {
644
+ return (this.currentVarScope().flags & X) > 0;
699
645
  };
700
- T.extend = function() {
646
+ E.extend = function() {
701
647
  for (var t = [], i = arguments.length; i--; ) t[i] = arguments[i];
702
648
  for (var s = this, r = 0; r < t.length; r++) s = t[r](s);
703
649
  return s;
704
650
  };
705
- T.parse = function(t, i) {
651
+ E.parse = function(t, i) {
706
652
  return new this(i, t).parse();
707
653
  };
708
- T.parseExpressionAt = function(t, i, s) {
654
+ E.parseExpressionAt = function(t, i, s) {
709
655
  var r = new this(s, t, i);
710
656
  return r.nextToken(), r.parseExpression();
711
657
  };
712
- T.tokenizer = function(t, i) {
658
+ E.tokenizer = function(t, i) {
713
659
  return new this(i, t);
714
660
  };
715
- Object.defineProperties(T.prototype, F);
716
- var k = T.prototype;
717
- var Oi = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;
718
- k.strictDirective = function(e) {
661
+ Object.defineProperties(E.prototype, j);
662
+ var P = E.prototype;
663
+ var Wi = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
664
+ P.strictDirective = function(e) {
719
665
  if (this.options.ecmaVersion < 5) return false;
720
666
  for (; ; ) {
721
- V.lastIndex = e, e += V.exec(this.input)[0].length;
722
- var t = Oi.exec(this.input.slice(e));
667
+ A.lastIndex = e, e += A.exec(this.input)[0].length;
668
+ var t = Wi.exec(this.input.slice(e));
723
669
  if (!t) return false;
724
670
  if ((t[1] || t[2]) === "use strict") {
725
- V.lastIndex = e + t[0].length;
726
- var i = V.exec(this.input), s = i.index + i[0].length, r = this.input.charAt(s);
727
- return r === ";" || r === "}" || R.test(i[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r) || r === "!" && this.input.charAt(s + 1) === "=");
671
+ A.lastIndex = e + t[0].length;
672
+ var i = A.exec(this.input), s = i.index + i[0].length, r = this.input.charAt(s);
673
+ return r === ";" || r === "}" || V.test(i[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r) || r === "!" && this.input.charAt(s + 1) === "=");
728
674
  }
729
- e += t[0].length, V.lastIndex = e, e += V.exec(this.input)[0].length, this.input[e] === ";" && e++;
675
+ e += t[0].length, A.lastIndex = e, e += A.exec(this.input)[0].length, this.input[e] === ";" && e++;
730
676
  }
731
677
  };
732
- k.eat = function(e) {
678
+ P.eat = function(e) {
733
679
  return this.type === e ? (this.next(), true) : false;
734
680
  };
735
- k.isContextual = function(e) {
681
+ P.isContextual = function(e) {
736
682
  return this.type === a.name && this.value === e && !this.containsEsc;
737
683
  };
738
- k.eatContextual = function(e) {
684
+ P.eatContextual = function(e) {
739
685
  return this.isContextual(e) ? (this.next(), true) : false;
740
686
  };
741
- k.expectContextual = function(e) {
687
+ P.expectContextual = function(e) {
742
688
  this.eatContextual(e) || this.unexpected();
743
689
  };
744
- k.canInsertSemicolon = function() {
745
- return this.type === a.eof || this.type === a.braceR || R.test(this.input.slice(this.lastTokEnd, this.start));
690
+ P.canInsertSemicolon = function() {
691
+ return this.type === a.eof || this.type === a.braceR || V.test(this.input.slice(this.lastTokEnd, this.start));
746
692
  };
747
- k.insertSemicolon = function() {
693
+ P.insertSemicolon = function() {
748
694
  if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), true;
749
695
  };
750
- k.semicolon = function() {
696
+ P.semicolon = function() {
751
697
  !this.eat(a.semi) && !this.insertSemicolon() && this.unexpected();
752
698
  };
753
- k.afterTrailingComma = function(e, t) {
699
+ P.afterTrailingComma = function(e, t) {
754
700
  if (this.type === e) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t || this.next(), true;
755
701
  };
756
- k.expect = function(e) {
702
+ P.expect = function(e) {
757
703
  this.eat(e) || this.unexpected();
758
704
  };
759
- k.unexpected = function(e) {
705
+ P.unexpected = function(e) {
760
706
  this.raise(e ?? this.start, "Unexpected token");
761
707
  };
762
- var xe = function() {
708
+ var Se = function() {
763
709
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
764
710
  };
765
- k.checkPatternErrors = function(e, t) {
711
+ P.checkPatternErrors = function(e, t) {
766
712
  if (e) {
767
713
  e.trailingComma > -1 && this.raiseRecoverable(e.trailingComma, "Comma is not permitted after the rest element");
768
714
  var i = t ? e.parenthesizedAssign : e.parenthesizedBind;
769
715
  i > -1 && this.raiseRecoverable(i, t ? "Assigning to rvalue" : "Parenthesized pattern");
770
716
  }
771
717
  };
772
- k.checkExpressionErrors = function(e, t) {
718
+ P.checkExpressionErrors = function(e, t) {
773
719
  if (!e) return false;
774
720
  var i = e.shorthandAssign, s = e.doubleProto;
775
721
  if (!t) return i >= 0 || s >= 0;
776
722
  i >= 0 && this.raise(i, "Shorthand property assignments are valid only in destructuring patterns"), s >= 0 && this.raiseRecoverable(s, "Redefinition of __proto__ property");
777
723
  };
778
- k.checkYieldAwaitInDefaultParams = function() {
724
+ P.checkYieldAwaitInDefaultParams = function() {
779
725
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
780
726
  };
781
- k.isSimpleAssignTarget = function(e) {
727
+ P.isSimpleAssignTarget = function(e) {
782
728
  return e.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(e.expression) : e.type === "Identifier" || e.type === "MemberExpression";
783
729
  };
784
- var f = T.prototype;
785
- f.parseTopLevel = function(e) {
730
+ var d = E.prototype;
731
+ d.parseTopLevel = function(e) {
786
732
  var t = /* @__PURE__ */ Object.create(null);
787
733
  for (e.body || (e.body = []); this.type !== a.eof; ) {
788
734
  var i = this.parseStatement(null, true, t);
@@ -794,34 +740,59 @@ f.parseTopLevel = function(e) {
794
740
  }
795
741
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType, this.finishNode(e, "Program");
796
742
  };
797
- var Ue = {
743
+ var He = {
798
744
  kind: "loop"
799
745
  };
800
- var Bi = {
746
+ var Xi = {
801
747
  kind: "switch"
802
748
  };
803
- f.isLet = function(e) {
749
+ d.isLet = function(e) {
804
750
  if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return false;
805
- V.lastIndex = this.pos;
806
- var t = V.exec(this.input), i = this.pos + t[0].length, s = this.input.charCodeAt(i);
751
+ A.lastIndex = this.pos;
752
+ var t = A.exec(this.input), i = this.pos + t[0].length, s = this.input.charCodeAt(i);
807
753
  if (s === 91 || s === 92) return true;
808
754
  if (e) return false;
809
755
  if (s === 123 || s > 55295 && s < 56320) return true;
810
- if (U(s, true)) {
811
- for (var r = i + 1; H(s = this.input.charCodeAt(r), true); ) ++r;
756
+ if (M(s, true)) {
757
+ for (var r = i + 1; K(s = this.input.charCodeAt(r), true); ) ++r;
812
758
  if (s === 92 || s > 55295 && s < 56320) return true;
813
759
  var n = this.input.slice(i, r);
814
- if (!wi.test(n)) return true;
760
+ if (!Fi.test(n)) return true;
815
761
  }
816
762
  return false;
817
763
  };
818
- f.isAsyncFunction = function() {
764
+ d.isAsyncFunction = function() {
819
765
  if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return false;
820
- V.lastIndex = this.pos;
821
- var e = V.exec(this.input), t = this.pos + e[0].length, i;
822
- return !R.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(H(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
766
+ A.lastIndex = this.pos;
767
+ var e = A.exec(this.input), t = this.pos + e[0].length, i;
768
+ return !V.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(K(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
769
+ };
770
+ d.isUsingKeyword = function(e, t) {
771
+ if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using")) return false;
772
+ A.lastIndex = this.pos;
773
+ var i = A.exec(this.input), s = this.pos + i[0].length;
774
+ if (V.test(this.input.slice(this.pos, s))) return false;
775
+ if (e) {
776
+ var r = s + 5, n;
777
+ if (this.input.slice(s, r) !== "using" || r === this.input.length || K(n = this.input.charCodeAt(r)) || n > 55295 && n < 56320) return false;
778
+ A.lastIndex = r;
779
+ var o = A.exec(this.input);
780
+ if (o && V.test(this.input.slice(r, r + o[0].length))) return false;
781
+ }
782
+ if (t) {
783
+ var p = s + 2, u;
784
+ if (this.input.slice(s, p) === "of" && (p === this.input.length || !K(u = this.input.charCodeAt(p)) && !(u > 55295 && u < 56320))) return false;
785
+ }
786
+ var c = this.input.charCodeAt(s);
787
+ return M(c, true) || c === 92;
823
788
  };
824
- f.parseStatement = function(e, t, i) {
789
+ d.isAwaitUsing = function(e) {
790
+ return this.isUsingKeyword(true, e);
791
+ };
792
+ d.isUsing = function(e) {
793
+ return this.isUsingKeyword(false, e);
794
+ };
795
+ d.parseStatement = function(e, t, i) {
825
796
  var s = this.type, r = this.startNode(), n;
826
797
  switch (this.isLet(e) && (s = a._var, n = "let"), s) {
827
798
  case a._break:
@@ -861,18 +832,20 @@ f.parseStatement = function(e, t, i) {
861
832
  case a._export:
862
833
  case a._import:
863
834
  if (this.options.ecmaVersion > 10 && s === a._import) {
864
- V.lastIndex = this.pos;
865
- var o = V.exec(this.input), u = this.pos + o[0].length, h = this.input.charCodeAt(u);
866
- if (h === 40 || h === 46) return this.parseExpressionStatement(r, this.parseExpression());
835
+ A.lastIndex = this.pos;
836
+ var o = A.exec(this.input), p = this.pos + o[0].length, u = this.input.charCodeAt(p);
837
+ if (u === 40 || u === 46) return this.parseExpressionStatement(r, this.parseExpression());
867
838
  }
868
839
  return this.options.allowImportExportEverywhere || (t || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), s === a._import ? this.parseImport(r) : this.parseExport(r, i);
869
840
  default:
870
841
  if (this.isAsyncFunction()) return e && this.unexpected(), this.next(), this.parseFunctionStatement(r, true, !e);
871
- var l = this.value, x = this.parseExpression();
872
- return s === a.name && x.type === "Identifier" && this.eat(a.colon) ? this.parseLabeledStatement(r, l, x, e) : this.parseExpressionStatement(r, x);
842
+ var c = this.isAwaitUsing(false) ? "await using" : this.isUsing(false) ? "using" : null;
843
+ if (c) return t && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), c === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(r, false, c), this.semicolon(), this.finishNode(r, "VariableDeclaration");
844
+ var f = this.value, v = this.parseExpression();
845
+ return s === a.name && v.type === "Identifier" && this.eat(a.colon) ? this.parseLabeledStatement(r, f, v, e) : this.parseExpressionStatement(r, v);
873
846
  }
874
847
  };
875
- f.parseBreakContinueStatement = function(e, t) {
848
+ d.parseBreakContinueStatement = function(e, t) {
876
849
  var i = t === "break";
877
850
  this.next(), this.eat(a.semi) || this.insertSemicolon() ? e.label = null : this.type !== a.name ? this.unexpected() : (e.label = this.parseIdent(), this.semicolon());
878
851
  for (var s = 0; s < this.labels.length; ++s) {
@@ -881,234 +854,238 @@ f.parseBreakContinueStatement = function(e, t) {
881
854
  }
882
855
  return s === this.labels.length && this.raise(e.start, "Unsyntactic " + t), this.finishNode(e, i ? "BreakStatement" : "ContinueStatement");
883
856
  };
884
- f.parseDebuggerStatement = function(e) {
857
+ d.parseDebuggerStatement = function(e) {
885
858
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
886
859
  };
887
- f.parseDoStatement = function(e) {
888
- return this.next(), this.labels.push(Ue), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(a._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(a.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
860
+ d.parseDoStatement = function(e) {
861
+ return this.next(), this.labels.push(He), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(a._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(a.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
889
862
  };
890
- f.parseForStatement = function(e) {
863
+ d.parseForStatement = function(e) {
891
864
  this.next();
892
865
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
893
- if (this.labels.push(Ue), this.enterScope(0), this.expect(a.parenL), this.type === a.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
866
+ if (this.labels.push(He), this.enterScope(0), this.expect(a.parenL), this.type === a.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
894
867
  var i = this.isLet();
895
868
  if (this.type === a._var || this.type === a._const || i) {
896
869
  var s = this.startNode(), r = i ? "let" : this.value;
897
- return this.next(), this.parseVar(s, true, r), this.finishNode(s, "VariableDeclaration"), (this.type === a._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && s.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === a._in ? t > -1 && this.unexpected(t) : e.await = t > -1), this.parseForIn(e, s)) : (t > -1 && this.unexpected(t), this.parseFor(e, s));
870
+ return this.next(), this.parseVar(s, true, r), this.finishNode(s, "VariableDeclaration"), this.parseForAfterInit(e, s, t);
898
871
  }
899
- var n = this.isContextual("let"), o = false, u = new xe(), h = this.parseExpression(t > -1 ? "await" : true, u);
900
- return this.type === a._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (this.options.ecmaVersion >= 9 && (this.type === a._in ? t > -1 && this.unexpected(t) : e.await = t > -1), n && o && this.raise(h.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(h, false, u), this.checkLValPattern(h), this.parseForIn(e, h)) : (this.checkExpressionErrors(u, true), t > -1 && this.unexpected(t), this.parseFor(e, h));
872
+ var n = this.isContextual("let"), o = false, p = this.isUsing(true) ? "using" : this.isAwaitUsing(true) ? "await using" : null;
873
+ if (p) {
874
+ var u = this.startNode();
875
+ return this.next(), p === "await using" && this.next(), this.parseVar(u, true, p), this.finishNode(u, "VariableDeclaration"), this.parseForAfterInit(e, u, t);
876
+ }
877
+ var c = this.containsEsc, f = new Se(), v = this.start, T = t > -1 ? this.parseExprSubscripts(f, "await") : this.parseExpression(true, f);
878
+ return this.type === a._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === a._in && this.unexpected(t), e.await = true) : o && this.options.ecmaVersion >= 8 && (T.start === v && !c && T.type === "Identifier" && T.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = false)), n && o && this.raise(T.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(T, false, f), this.checkLValPattern(T), this.parseForIn(e, T)) : (this.checkExpressionErrors(f, true), t > -1 && this.unexpected(t), this.parseFor(e, T));
879
+ };
880
+ d.parseForAfterInit = function(e, t, i) {
881
+ return (this.type === a._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === a._in ? i > -1 && this.unexpected(i) : e.await = i > -1), this.parseForIn(e, t)) : (i > -1 && this.unexpected(i), this.parseFor(e, t));
901
882
  };
902
- f.parseFunctionStatement = function(e, t, i) {
903
- return this.next(), this.parseFunction(e, ee | (i ? 0 : Re), false, t);
883
+ d.parseFunctionStatement = function(e, t, i) {
884
+ return this.next(), this.parseFunction(e, re | (i ? 0 : Fe), false, t);
904
885
  };
905
- f.parseIfStatement = function(e) {
886
+ d.parseIfStatement = function(e) {
906
887
  return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(a._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
907
888
  };
908
- f.parseReturnStatement = function(e) {
889
+ d.parseReturnStatement = function(e) {
909
890
  return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(a.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
910
891
  };
911
- f.parseSwitchStatement = function(e) {
912
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(a.braceL), this.labels.push(Bi), this.enterScope(0);
892
+ d.parseSwitchStatement = function(e) {
893
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(a.braceL), this.labels.push(Xi), this.enterScope(0);
913
894
  for (var t, i = false; this.type !== a.braceR; ) if (this.type === a._case || this.type === a._default) {
914
895
  var s = this.type === a._case;
915
896
  t && this.finishNode(t, "SwitchCase"), e.cases.push(t = this.startNode()), t.consequent = [], this.next(), s ? t.test = this.parseExpression() : (i && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i = true, t.test = null), this.expect(a.colon);
916
897
  } else t || this.unexpected(), t.consequent.push(this.parseStatement(null));
917
898
  return this.exitScope(), t && this.finishNode(t, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e, "SwitchStatement");
918
899
  };
919
- f.parseThrowStatement = function(e) {
920
- return this.next(), R.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");
900
+ d.parseThrowStatement = function(e) {
901
+ return this.next(), V.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");
921
902
  };
922
- var Di = [];
923
- f.parseCatchClauseParam = function() {
903
+ var zi = [];
904
+ d.parseCatchClauseParam = function() {
924
905
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
925
- return this.enterScope(t ? dt : 0), this.checkLValPattern(e, t ? yt : J), this.expect(a.parenR), e;
906
+ return this.enterScope(t ? bt : 0), this.checkLValPattern(e, t ? Tt : J), this.expect(a.parenR), e;
926
907
  };
927
- f.parseTryStatement = function(e) {
908
+ d.parseTryStatement = function(e) {
928
909
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === a._catch) {
929
910
  var t = this.startNode();
930
911
  this.next(), this.eat(a.parenL) ? t.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t.param = null, this.enterScope(0)), t.body = this.parseBlock(false), this.exitScope(), e.handler = this.finishNode(t, "CatchClause");
931
912
  }
932
913
  return e.finalizer = this.eat(a._finally) ? this.parseBlock() : null, !e.handler && !e.finalizer && this.raise(e.start, "Missing catch or finally clause"), this.finishNode(e, "TryStatement");
933
914
  };
934
- f.parseVarStatement = function(e, t, i) {
915
+ d.parseVarStatement = function(e, t, i) {
935
916
  return this.next(), this.parseVar(e, false, t, i), this.semicolon(), this.finishNode(e, "VariableDeclaration");
936
917
  };
937
- f.parseWhileStatement = function(e) {
938
- return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ue), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
918
+ d.parseWhileStatement = function(e) {
919
+ return this.next(), e.test = this.parseParenExpression(), this.labels.push(He), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
939
920
  };
940
- f.parseWithStatement = function(e) {
921
+ d.parseWithStatement = function(e) {
941
922
  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");
942
923
  };
943
- f.parseEmptyStatement = function(e) {
924
+ d.parseEmptyStatement = function(e) {
944
925
  return this.next(), this.finishNode(e, "EmptyStatement");
945
926
  };
946
- f.parseLabeledStatement = function(e, t, i, s) {
927
+ d.parseLabeledStatement = function(e, t, i, s) {
947
928
  for (var r = 0, n = this.labels; r < n.length; r += 1) {
948
929
  var o = n[r];
949
930
  o.name === t && this.raise(i.start, "Label '" + t + "' is already declared");
950
931
  }
951
- for (var u = this.type.isLoop ? "loop" : this.type === a._switch ? "switch" : null, h = this.labels.length - 1; h >= 0; h--) {
952
- var l = this.labels[h];
953
- if (l.statementStart === e.start) l.statementStart = this.start, l.kind = u;
932
+ for (var p = this.type.isLoop ? "loop" : this.type === a._switch ? "switch" : null, u = this.labels.length - 1; u >= 0; u--) {
933
+ var c = this.labels[u];
934
+ if (c.statementStart === e.start) c.statementStart = this.start, c.kind = p;
954
935
  else break;
955
936
  }
956
937
  return this.labels.push({
957
938
  name: t,
958
- kind: u,
939
+ kind: p,
959
940
  statementStart: this.start
960
941
  }), e.body = this.parseStatement(s ? s.indexOf("label") === -1 ? s + "label" : s : "label"), this.labels.pop(), e.label = i, this.finishNode(e, "LabeledStatement");
961
942
  };
962
- f.parseExpressionStatement = function(e, t) {
943
+ d.parseExpressionStatement = function(e, t) {
963
944
  return e.expression = t, this.semicolon(), this.finishNode(e, "ExpressionStatement");
964
945
  };
965
- f.parseBlock = function(e, t, i) {
946
+ d.parseBlock = function(e, t, i) {
966
947
  for (e === void 0 && (e = true), t === void 0 && (t = this.startNode()), t.body = [], this.expect(a.braceL), e && this.enterScope(0); this.type !== a.braceR; ) {
967
948
  var s = this.parseStatement(null);
968
949
  t.body.push(s);
969
950
  }
970
951
  return i && (this.strict = false), this.next(), e && this.exitScope(), this.finishNode(t, "BlockStatement");
971
952
  };
972
- f.parseFor = function(e, t) {
953
+ d.parseFor = function(e, t) {
973
954
  return e.init = t, this.expect(a.semi), e.test = this.type === a.semi ? null : this.parseExpression(), this.expect(a.semi), e.update = this.type === a.parenR ? null : this.parseExpression(), this.expect(a.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, "ForStatement");
974
955
  };
975
- f.parseForIn = function(e, t) {
956
+ d.parseForIn = function(e, t) {
976
957
  var i = this.type === a._in;
977
958
  return this.next(), t.type === "VariableDeclaration" && t.declarations[0].init != null && (!i || this.options.ecmaVersion < 8 || this.strict || t.kind !== "var" || t.declarations[0].id.type !== "Identifier") && this.raise(t.start, (i ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e.left = t, e.right = i ? this.parseExpression() : this.parseMaybeAssign(), this.expect(a.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, i ? "ForInStatement" : "ForOfStatement");
978
959
  };
979
- f.parseVar = function(e, t, i, s) {
960
+ d.parseVar = function(e, t, i, s) {
980
961
  for (e.declarations = [], e.kind = i; ; ) {
981
962
  var r = this.startNode();
982
- if (this.parseVarId(r, i), this.eat(a.eq) ? r.init = this.parseMaybeAssign(t) : !s && i === "const" && !(this.type === a._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !s && r.id.type !== "Identifier" && !(t && (this.type === a._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : r.init = null, e.declarations.push(this.finishNode(r, "VariableDeclarator")), !this.eat(a.comma)) break;
963
+ if (this.parseVarId(r, i), this.eat(a.eq) ? r.init = this.parseMaybeAssign(t) : !s && i === "const" && !(this.type === a._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !s && (i === "using" || i === "await using") && this.options.ecmaVersion >= 17 && this.type !== a._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + i + " declaration") : !s && r.id.type !== "Identifier" && !(t && (this.type === a._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : r.init = null, e.declarations.push(this.finishNode(r, "VariableDeclarator")), !this.eat(a.comma)) break;
983
964
  }
984
965
  return e;
985
966
  };
986
- f.parseVarId = function(e, t) {
987
- e.id = this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? je : J, false);
967
+ d.parseVarId = function(e, t) {
968
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Je : J, false);
988
969
  };
989
- var ee = 1;
990
- var Re = 2;
991
- var vt = 4;
992
- f.parseFunction = function(e, t, i, s, r) {
993
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s) && (this.type === a.star && t & Re && this.unexpected(), e.generator = this.eat(a.star)), this.options.ecmaVersion >= 8 && (e.async = !!s), t & ee && (e.id = t & vt && this.type !== a.name ? null : this.parseIdent(), e.id && !(t & Re) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? je : J : xt));
994
- var n = this.yieldPos, o = this.awaitPos, u = this.awaitIdentPos;
995
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Me(e.async, e.generator)), t & ee || (e.id = this.type === a.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, i, false, r), this.yieldPos = n, this.awaitPos = o, this.awaitIdentPos = u, this.finishNode(e, t & ee ? "FunctionDeclaration" : "FunctionExpression");
970
+ var re = 1;
971
+ var Fe = 2;
972
+ var Et = 4;
973
+ d.parseFunction = function(e, t, i, s, r) {
974
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s) && (this.type === a.star && t & Fe && this.unexpected(), e.generator = this.eat(a.star)), this.options.ecmaVersion >= 8 && (e.async = !!s), t & re && (e.id = t & Et && this.type !== a.name ? null : this.parseIdent(), e.id && !(t & Fe) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Je : J : _t));
975
+ var n = this.yieldPos, o = this.awaitPos, p = this.awaitIdentPos;
976
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(qe(e.async, e.generator)), t & re || (e.id = this.type === a.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, i, false, r), this.yieldPos = n, this.awaitPos = o, this.awaitIdentPos = p, this.finishNode(e, t & re ? "FunctionDeclaration" : "FunctionExpression");
996
977
  };
997
- f.parseFunctionParams = function(e) {
978
+ d.parseFunctionParams = function(e) {
998
979
  this.expect(a.parenL), e.params = this.parseBindingList(a.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
999
980
  };
1000
- f.parseClass = function(e, t) {
981
+ d.parseClass = function(e, t) {
1001
982
  this.next();
1002
983
  var i = this.strict;
1003
984
  this.strict = true, this.parseClassId(e, t), this.parseClassSuper(e);
1004
985
  var s = this.enterClassBody(), r = this.startNode(), n = false;
1005
986
  for (r.body = [], this.expect(a.braceL); this.type !== a.braceR; ) {
1006
987
  var o = this.parseClassElement(e.superClass !== null);
1007
- o && (r.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (n && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), n = true) : o.key && o.key.type === "PrivateIdentifier" && Fi(s, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
988
+ o && (r.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (n && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), n = true) : o.key && o.key.type === "PrivateIdentifier" && Qi(s, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
1008
989
  }
1009
990
  return this.strict = i, this.next(), e.body = this.finishNode(r, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
1010
991
  };
1011
- f.parseClassElement = function(e) {
992
+ d.parseClassElement = function(e) {
1012
993
  if (this.eat(a.semi)) return null;
1013
- var t = this.options.ecmaVersion, i = this.startNode(), s = "", r = false, n = false, o = "method", u = false;
994
+ var t = this.options.ecmaVersion, i = this.startNode(), s = "", r = false, n = false, o = "method", p = false;
1014
995
  if (this.eatContextual("static")) {
1015
996
  if (t >= 13 && this.eat(a.braceL)) return this.parseClassStaticBlock(i), i;
1016
- this.isClassElementNameStart() || this.type === a.star ? u = true : s = "static";
997
+ this.isClassElementNameStart() || this.type === a.star ? p = true : s = "static";
1017
998
  }
1018
- if (i.static = u, !s && t >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === a.star) && !this.canInsertSemicolon() ? n = true : s = "async"), !s && (t >= 9 || !n) && this.eat(a.star) && (r = true), !s && !n && !r) {
1019
- var h = this.value;
1020
- (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = h : s = h);
999
+ if (i.static = p, !s && t >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === a.star) && !this.canInsertSemicolon() ? n = true : s = "async"), !s && (t >= 9 || !n) && this.eat(a.star) && (r = true), !s && !n && !r) {
1000
+ var u = this.value;
1001
+ (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = u : s = u);
1021
1002
  }
1022
1003
  if (s ? (i.computed = false, i.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), i.key.name = s, this.finishNode(i.key, "Identifier")) : this.parseClassElementName(i), t < 13 || this.type === a.parenL || o !== "method" || r || n) {
1023
- var l = !i.static && fe(i, "constructor"), x = l && e;
1024
- l && o !== "method" && this.raise(i.key.start, "Constructor can't have get/set modifier"), i.kind = l ? "constructor" : o, this.parseClassMethod(i, r, n, x);
1004
+ var c = !i.static && me(i, "constructor"), f = c && e;
1005
+ c && o !== "method" && this.raise(i.key.start, "Constructor can't have get/set modifier"), i.kind = c ? "constructor" : o, this.parseClassMethod(i, r, n, f);
1025
1006
  } else this.parseClassField(i);
1026
1007
  return i;
1027
1008
  };
1028
- f.isClassElementNameStart = function() {
1009
+ d.isClassElementNameStart = function() {
1029
1010
  return this.type === a.name || this.type === a.privateId || this.type === a.num || this.type === a.string || this.type === a.bracketL || this.type.keyword;
1030
1011
  };
1031
- f.parseClassElementName = function(e) {
1012
+ d.parseClassElementName = function(e) {
1032
1013
  this.type === a.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = false, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e);
1033
1014
  };
1034
- f.parseClassMethod = function(e, t, i, s) {
1015
+ d.parseClassMethod = function(e, t, i, s) {
1035
1016
  var r = e.key;
1036
- e.kind === "constructor" ? (t && this.raise(r.start, "Constructor can't be a generator"), i && this.raise(r.start, "Constructor can't be an async method")) : e.static && fe(e, "prototype") && this.raise(r.start, "Classes may not have a static property named prototype");
1017
+ e.kind === "constructor" ? (t && this.raise(r.start, "Constructor can't be a generator"), i && this.raise(r.start, "Constructor can't be an async method")) : e.static && me(e, "prototype") && this.raise(r.start, "Classes may not have a static property named prototype");
1037
1018
  var n = e.value = this.parseMethod(t, i, s);
1038
1019
  return e.kind === "get" && n.params.length !== 0 && this.raiseRecoverable(n.start, "getter should have no params"), e.kind === "set" && n.params.length !== 1 && this.raiseRecoverable(n.start, "setter should have exactly one param"), e.kind === "set" && n.params[0].type === "RestElement" && this.raiseRecoverable(n.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
1039
1020
  };
1040
- f.parseClassField = function(e) {
1041
- if (fe(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && fe(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(a.eq)) {
1042
- var t = this.currentThisScope(), i = t.inClassFieldInit;
1043
- t.inClassFieldInit = true, e.value = this.parseMaybeAssign(), t.inClassFieldInit = i;
1044
- } else e.value = null;
1045
- return this.semicolon(), this.finishNode(e, "PropertyDefinition");
1021
+ d.parseClassField = function(e) {
1022
+ return me(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && me(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(a.eq) ? (this.enterScope(oe | ve), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1046
1023
  };
1047
- f.parseClassStaticBlock = function(e) {
1024
+ d.parseClassStaticBlock = function(e) {
1048
1025
  e.body = [];
1049
1026
  var t = this.labels;
1050
- for (this.labels = [], this.enterScope(re | De); this.type !== a.braceR; ) {
1027
+ for (this.labels = [], this.enterScope(X | ve); this.type !== a.braceR; ) {
1051
1028
  var i = this.parseStatement(null);
1052
1029
  e.body.push(i);
1053
1030
  }
1054
1031
  return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
1055
1032
  };
1056
- f.parseClassId = function(e, t) {
1033
+ d.parseClassId = function(e, t) {
1057
1034
  this.type === a.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, J, false)) : (t === true && this.unexpected(), e.id = null);
1058
1035
  };
1059
- f.parseClassSuper = function(e) {
1036
+ d.parseClassSuper = function(e) {
1060
1037
  e.superClass = this.eat(a._extends) ? this.parseExprSubscripts(null, false) : null;
1061
1038
  };
1062
- f.enterClassBody = function() {
1039
+ d.enterClassBody = function() {
1063
1040
  var e = {
1064
1041
  declared: /* @__PURE__ */ Object.create(null),
1065
1042
  used: []
1066
1043
  };
1067
1044
  return this.privateNameStack.push(e), e.declared;
1068
1045
  };
1069
- f.exitClassBody = function() {
1046
+ d.exitClassBody = function() {
1070
1047
  var e = this.privateNameStack.pop(), t = e.declared, i = e.used;
1071
1048
  if (this.options.checkPrivateFields) for (var s = this.privateNameStack.length, r = s === 0 ? null : this.privateNameStack[s - 1], n = 0; n < i.length; ++n) {
1072
1049
  var o = i[n];
1073
- se(t, o.name) || (r ? r.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
1050
+ $(t, o.name) || (r ? r.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
1074
1051
  }
1075
1052
  };
1076
- function Fi(e, t) {
1053
+ function Qi(e, t) {
1077
1054
  var i = t.key.name, s = e[i], r = "true";
1078
1055
  return t.type === "MethodDefinition" && (t.kind === "get" || t.kind === "set") && (r = (t.static ? "s" : "i") + t.kind), s === "iget" && r === "iset" || s === "iset" && r === "iget" || s === "sget" && r === "sset" || s === "sset" && r === "sget" ? (e[i] = "true", false) : s ? true : (e[i] = r, false);
1079
1056
  }
1080
- function fe(e, t) {
1057
+ function me(e, t) {
1081
1058
  var i = e.computed, s = e.key;
1082
1059
  return !i && (s.type === "Identifier" && s.name === t || s.type === "Literal" && s.value === t);
1083
1060
  }
1084
- f.parseExportAllDeclaration = function(e, t) {
1085
- return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e.exported = this.parseModuleExportName(), this.checkExport(t, e.exported, this.lastTokStart)) : e.exported = null), this.expectContextual("from"), this.type !== a.string && this.unexpected(), e.source = this.parseExprAtom(), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
1061
+ d.parseExportAllDeclaration = function(e, t) {
1062
+ return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e.exported = this.parseModuleExportName(), this.checkExport(t, e.exported, this.lastTokStart)) : e.exported = null), this.expectContextual("from"), this.type !== a.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
1086
1063
  };
1087
- f.parseExport = function(e, t) {
1064
+ d.parseExport = function(e, t) {
1088
1065
  if (this.next(), this.eat(a.star)) return this.parseExportAllDeclaration(e, t);
1089
1066
  if (this.eat(a._default)) return this.checkExport(t, "default", this.lastTokStart), e.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e, "ExportDefaultDeclaration");
1090
- if (this.shouldParseExportStatement()) e.declaration = this.parseExportDeclaration(e), e.declaration.type === "VariableDeclaration" ? this.checkVariableExport(t, e.declaration.declarations) : this.checkExport(t, e.declaration.id, e.declaration.id.start), e.specifiers = [], e.source = null;
1067
+ if (this.shouldParseExportStatement()) e.declaration = this.parseExportDeclaration(e), e.declaration.type === "VariableDeclaration" ? this.checkVariableExport(t, e.declaration.declarations) : this.checkExport(t, e.declaration.id, e.declaration.id.start), e.specifiers = [], e.source = null, this.options.ecmaVersion >= 16 && (e.attributes = []);
1091
1068
  else {
1092
- if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== a.string && this.unexpected(), e.source = this.parseExprAtom();
1069
+ if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== a.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause());
1093
1070
  else {
1094
1071
  for (var i = 0, s = e.specifiers; i < s.length; i += 1) {
1095
1072
  var r = s[i];
1096
1073
  this.checkUnreserved(r.local), this.checkLocalExport(r.local), r.local.type === "Literal" && this.raise(r.local.start, "A string literal cannot be used as an exported binding without `from`.");
1097
1074
  }
1098
- e.source = null;
1075
+ e.source = null, this.options.ecmaVersion >= 16 && (e.attributes = []);
1099
1076
  }
1100
1077
  this.semicolon();
1101
1078
  }
1102
1079
  return this.finishNode(e, "ExportNamedDeclaration");
1103
1080
  };
1104
- f.parseExportDeclaration = function(e) {
1081
+ d.parseExportDeclaration = function(e) {
1105
1082
  return this.parseStatement(null);
1106
1083
  };
1107
- f.parseExportDefaultDeclaration = function() {
1084
+ d.parseExportDefaultDeclaration = function() {
1108
1085
  var e;
1109
1086
  if (this.type === a._function || (e = this.isAsyncFunction())) {
1110
1087
  var t = this.startNode();
1111
- return this.next(), e && this.next(), this.parseFunction(t, ee | vt, false, e);
1088
+ return this.next(), e && this.next(), this.parseFunction(t, re | Et, false, e);
1112
1089
  } else if (this.type === a._class) {
1113
1090
  var i = this.startNode();
1114
1091
  return this.parseClass(i, "nullableID");
@@ -1117,36 +1094,36 @@ f.parseExportDefaultDeclaration = function() {
1117
1094
  return this.semicolon(), s;
1118
1095
  }
1119
1096
  };
1120
- f.checkExport = function(e, t, i) {
1121
- e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), se(e, t) && this.raiseRecoverable(i, "Duplicate export '" + t + "'"), e[t] = true);
1097
+ d.checkExport = function(e, t, i) {
1098
+ e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), $(e, t) && this.raiseRecoverable(i, "Duplicate export '" + t + "'"), e[t] = true);
1122
1099
  };
1123
- f.checkPatternExport = function(e, t) {
1100
+ d.checkPatternExport = function(e, t) {
1124
1101
  var i = t.type;
1125
1102
  if (i === "Identifier") this.checkExport(e, t, t.start);
1126
1103
  else if (i === "ObjectPattern") for (var s = 0, r = t.properties; s < r.length; s += 1) {
1127
1104
  var n = r[s];
1128
1105
  this.checkPatternExport(e, n);
1129
1106
  }
1130
- else if (i === "ArrayPattern") for (var o = 0, u = t.elements; o < u.length; o += 1) {
1131
- var h = u[o];
1132
- h && this.checkPatternExport(e, h);
1107
+ else if (i === "ArrayPattern") for (var o = 0, p = t.elements; o < p.length; o += 1) {
1108
+ var u = p[o];
1109
+ u && this.checkPatternExport(e, u);
1133
1110
  }
1134
1111
  else i === "Property" ? this.checkPatternExport(e, t.value) : i === "AssignmentPattern" ? this.checkPatternExport(e, t.left) : i === "RestElement" && this.checkPatternExport(e, t.argument);
1135
1112
  };
1136
- f.checkVariableExport = function(e, t) {
1113
+ d.checkVariableExport = function(e, t) {
1137
1114
  if (e) for (var i = 0, s = t; i < s.length; i += 1) {
1138
1115
  var r = s[i];
1139
1116
  this.checkPatternExport(e, r.id);
1140
1117
  }
1141
1118
  };
1142
- f.shouldParseExportStatement = function() {
1119
+ d.shouldParseExportStatement = function() {
1143
1120
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
1144
1121
  };
1145
- f.parseExportSpecifier = function(e) {
1122
+ d.parseExportSpecifier = function(e) {
1146
1123
  var t = this.startNode();
1147
1124
  return t.local = this.parseModuleExportName(), t.exported = this.eatContextual("as") ? this.parseModuleExportName() : t.local, this.checkExport(e, t.exported, t.exported.start), this.finishNode(t, "ExportSpecifier");
1148
1125
  };
1149
- f.parseExportSpecifiers = function(e) {
1126
+ d.parseExportSpecifiers = function(e) {
1150
1127
  var t = [], i = true;
1151
1128
  for (this.expect(a.braceL); !this.eat(a.braceR); ) {
1152
1129
  if (i) i = false;
@@ -1155,22 +1132,22 @@ f.parseExportSpecifiers = function(e) {
1155
1132
  }
1156
1133
  return t;
1157
1134
  };
1158
- f.parseImport = function(e) {
1159
- return this.next(), this.type === a.string ? (e.specifiers = Di, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === a.string ? this.parseExprAtom() : this.unexpected()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1135
+ d.parseImport = function(e) {
1136
+ return this.next(), this.type === a.string ? (e.specifiers = zi, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === a.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1160
1137
  };
1161
- f.parseImportSpecifier = function() {
1138
+ d.parseImportSpecifier = function() {
1162
1139
  var e = this.startNode();
1163
1140
  return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, J), this.finishNode(e, "ImportSpecifier");
1164
1141
  };
1165
- f.parseImportDefaultSpecifier = function() {
1142
+ d.parseImportDefaultSpecifier = function() {
1166
1143
  var e = this.startNode();
1167
1144
  return e.local = this.parseIdent(), this.checkLValSimple(e.local, J), this.finishNode(e, "ImportDefaultSpecifier");
1168
1145
  };
1169
- f.parseImportNamespaceSpecifier = function() {
1146
+ d.parseImportNamespaceSpecifier = function() {
1170
1147
  var e = this.startNode();
1171
1148
  return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, J), this.finishNode(e, "ImportNamespaceSpecifier");
1172
1149
  };
1173
- f.parseImportSpecifiers = function() {
1150
+ d.parseImportSpecifiers = function() {
1174
1151
  var e = [], t = true;
1175
1152
  if (this.type === a.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(a.comma))) return e;
1176
1153
  if (this.type === a.star) return e.push(this.parseImportNamespaceSpecifier()), e;
@@ -1181,21 +1158,37 @@ f.parseImportSpecifiers = function() {
1181
1158
  }
1182
1159
  return e;
1183
1160
  };
1184
- f.parseModuleExportName = function() {
1161
+ d.parseWithClause = function() {
1162
+ var e = [];
1163
+ if (!this.eat(a._with)) return e;
1164
+ this.expect(a.braceL);
1165
+ for (var t = {}, i = true; !this.eat(a.braceR); ) {
1166
+ if (i) i = false;
1167
+ else if (this.expect(a.comma), this.afterTrailingComma(a.braceR)) break;
1168
+ var s = this.parseImportAttribute(), r = s.key.type === "Identifier" ? s.key.name : s.key.value;
1169
+ $(t, r) && this.raiseRecoverable(s.key.start, "Duplicate attribute key '" + r + "'"), t[r] = true, e.push(s);
1170
+ }
1171
+ return e;
1172
+ };
1173
+ d.parseImportAttribute = function() {
1174
+ var e = this.startNode();
1175
+ return e.key = this.type === a.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(a.colon), this.type !== a.string && this.unexpected(), e.value = this.parseExprAtom(), this.finishNode(e, "ImportAttribute");
1176
+ };
1177
+ d.parseModuleExportName = function() {
1185
1178
  if (this.options.ecmaVersion >= 13 && this.type === a.string) {
1186
1179
  var e = this.parseLiteral(this.value);
1187
- return Vi.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1180
+ return Ji.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1188
1181
  }
1189
1182
  return this.parseIdent(true);
1190
1183
  };
1191
- f.adaptDirectivePrologue = function(e) {
1184
+ d.adaptDirectivePrologue = function(e) {
1192
1185
  for (var t = 0; t < e.length && this.isDirectiveCandidate(e[t]); ++t) e[t].directive = e[t].expression.raw.slice(1, -1);
1193
1186
  };
1194
- f.isDirectiveCandidate = function(e) {
1187
+ d.isDirectiveCandidate = function(e) {
1195
1188
  return this.options.ecmaVersion >= 5 && e.type === "ExpressionStatement" && e.expression.type === "Literal" && typeof e.expression.value == "string" && (this.input[e.start] === '"' || this.input[e.start] === "'");
1196
1189
  };
1197
- var O = T.prototype;
1198
- O.toAssignable = function(e, t, i) {
1190
+ var D = E.prototype;
1191
+ D.toAssignable = function(e, t, i) {
1199
1192
  if (this.options.ecmaVersion >= 6 && e) switch (e.type) {
1200
1193
  case "Identifier":
1201
1194
  this.inAsync && e.name === "await" && this.raise(e.start, "Cannot use 'await' as identifier inside an async function");
@@ -1238,7 +1231,7 @@ O.toAssignable = function(e, t, i) {
1238
1231
  else i && this.checkPatternErrors(i, true);
1239
1232
  return e;
1240
1233
  };
1241
- O.toAssignableList = function(e, t) {
1234
+ D.toAssignableList = function(e, t) {
1242
1235
  for (var i = e.length, s = 0; s < i; s++) {
1243
1236
  var r = e[s];
1244
1237
  r && this.toAssignable(r, t);
@@ -1249,15 +1242,15 @@ O.toAssignableList = function(e, t) {
1249
1242
  }
1250
1243
  return e;
1251
1244
  };
1252
- O.parseSpread = function(e) {
1245
+ D.parseSpread = function(e) {
1253
1246
  var t = this.startNode();
1254
1247
  return this.next(), t.argument = this.parseMaybeAssign(false, e), this.finishNode(t, "SpreadElement");
1255
1248
  };
1256
- O.parseRestBinding = function() {
1249
+ D.parseRestBinding = function() {
1257
1250
  var e = this.startNode();
1258
1251
  return this.next(), this.options.ecmaVersion === 6 && this.type !== a.name && this.unexpected(), e.argument = this.parseBindingAtom(), this.finishNode(e, "RestElement");
1259
1252
  };
1260
- O.parseBindingAtom = function() {
1253
+ D.parseBindingAtom = function() {
1261
1254
  if (this.options.ecmaVersion >= 6) switch (this.type) {
1262
1255
  case a.bracketL:
1263
1256
  var e = this.startNode();
@@ -1267,7 +1260,7 @@ O.parseBindingAtom = function() {
1267
1260
  }
1268
1261
  return this.parseIdent();
1269
1262
  };
1270
- O.parseBindingList = function(e, t, i, s) {
1263
+ D.parseBindingList = function(e, t, i, s) {
1271
1264
  for (var r = [], n = true; !this.eat(e); ) if (n ? n = false : this.expect(a.comma), t && this.type === a.comma) r.push(null);
1272
1265
  else {
1273
1266
  if (i && this.afterTrailingComma(e)) break;
@@ -1279,24 +1272,24 @@ O.parseBindingList = function(e, t, i, s) {
1279
1272
  }
1280
1273
  return r;
1281
1274
  };
1282
- O.parseAssignableListItem = function(e) {
1275
+ D.parseAssignableListItem = function(e) {
1283
1276
  var t = this.parseMaybeDefault(this.start, this.startLoc);
1284
1277
  return this.parseBindingListItem(t), t;
1285
1278
  };
1286
- O.parseBindingListItem = function(e) {
1279
+ D.parseBindingListItem = function(e) {
1287
1280
  return e;
1288
1281
  };
1289
- O.parseMaybeDefault = function(e, t, i) {
1282
+ D.parseMaybeDefault = function(e, t, i) {
1290
1283
  if (i = i || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(a.eq)) return i;
1291
1284
  var s = this.startNodeAt(e, t);
1292
1285
  return s.left = i, s.right = this.parseMaybeAssign(), this.finishNode(s, "AssignmentPattern");
1293
1286
  };
1294
- O.checkLValSimple = function(e, t, i) {
1295
- t === void 0 && (t = le);
1296
- var s = t !== le;
1287
+ D.checkLValSimple = function(e, t, i) {
1288
+ t === void 0 && (t = de);
1289
+ var s = t !== de;
1297
1290
  switch (e.type) {
1298
1291
  case "Identifier":
1299
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (s ? "Binding " : "Assigning to ") + e.name + " in strict mode"), s && (t === J && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && (se(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = true), t !== gt && this.declareName(e.name, t, e.start));
1292
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (s ? "Binding " : "Assigning to ") + e.name + " in strict mode"), s && (t === J && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && ($(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = true), t !== Ct && this.declareName(e.name, t, e.start));
1300
1293
  break;
1301
1294
  case "ChainExpression":
1302
1295
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -1310,8 +1303,8 @@ O.checkLValSimple = function(e, t, i) {
1310
1303
  this.raise(e.start, (s ? "Binding" : "Assigning to") + " rvalue");
1311
1304
  }
1312
1305
  };
1313
- O.checkLValPattern = function(e, t, i) {
1314
- switch (t === void 0 && (t = le), e.type) {
1306
+ D.checkLValPattern = function(e, t, i) {
1307
+ switch (t === void 0 && (t = de), e.type) {
1315
1308
  case "ObjectPattern":
1316
1309
  for (var s = 0, r = e.properties; s < r.length; s += 1) {
1317
1310
  var n = r[s];
@@ -1319,17 +1312,17 @@ O.checkLValPattern = function(e, t, i) {
1319
1312
  }
1320
1313
  break;
1321
1314
  case "ArrayPattern":
1322
- for (var o = 0, u = e.elements; o < u.length; o += 1) {
1323
- var h = u[o];
1324
- h && this.checkLValInnerPattern(h, t, i);
1315
+ for (var o = 0, p = e.elements; o < p.length; o += 1) {
1316
+ var u = p[o];
1317
+ u && this.checkLValInnerPattern(u, t, i);
1325
1318
  }
1326
1319
  break;
1327
1320
  default:
1328
1321
  this.checkLValSimple(e, t, i);
1329
1322
  }
1330
1323
  };
1331
- O.checkLValInnerPattern = function(e, t, i) {
1332
- switch (t === void 0 && (t = le), e.type) {
1324
+ D.checkLValInnerPattern = function(e, t, i) {
1325
+ switch (t === void 0 && (t = de), e.type) {
1333
1326
  case "Property":
1334
1327
  this.checkLValInnerPattern(e.value, t, i);
1335
1328
  break;
@@ -1343,46 +1336,46 @@ O.checkLValInnerPattern = function(e, t, i) {
1343
1336
  this.checkLValPattern(e, t, i);
1344
1337
  }
1345
1338
  };
1346
- var D = function(t, i, s, r, n) {
1339
+ var F = function(t, i, s, r, n) {
1347
1340
  this.token = t, this.isExpr = !!i, this.preserveSpace = !!s, this.override = r, this.generator = !!n;
1348
1341
  };
1349
1342
  var C = {
1350
- b_stat: new D("{", false),
1351
- b_expr: new D("{", true),
1352
- b_tmpl: new D("${", false),
1353
- p_stat: new D("(", false),
1354
- p_expr: new D("(", true),
1355
- q_tmpl: new D("`", true, true, function(e) {
1343
+ b_stat: new F("{", false),
1344
+ b_expr: new F("{", true),
1345
+ b_tmpl: new F("${", false),
1346
+ p_stat: new F("(", false),
1347
+ p_expr: new F("(", true),
1348
+ q_tmpl: new F("`", true, true, function(e) {
1356
1349
  return e.tryReadTemplateToken();
1357
1350
  }),
1358
- f_stat: new D("function", false),
1359
- f_expr: new D("function", true),
1360
- f_expr_gen: new D("function", true, false, null, true),
1361
- f_gen: new D("function", false, false, null, true)
1351
+ f_stat: new F("function", false),
1352
+ f_expr: new F("function", true),
1353
+ f_expr_gen: new F("function", true, false, null, true),
1354
+ f_gen: new F("function", false, false, null, true)
1362
1355
  };
1363
- var $ = T.prototype;
1364
- $.initialContext = function() {
1356
+ var ee = E.prototype;
1357
+ ee.initialContext = function() {
1365
1358
  return [C.b_stat];
1366
1359
  };
1367
- $.curContext = function() {
1360
+ ee.curContext = function() {
1368
1361
  return this.context[this.context.length - 1];
1369
1362
  };
1370
- $.braceIsBlock = function(e) {
1363
+ ee.braceIsBlock = function(e) {
1371
1364
  var t = this.curContext();
1372
- return t === C.f_expr || t === C.f_stat ? true : e === a.colon && (t === C.b_stat || t === C.b_expr) ? !t.isExpr : e === a._return || e === a.name && this.exprAllowed ? R.test(this.input.slice(this.lastTokEnd, this.start)) : e === a._else || e === a.semi || e === a.eof || e === a.parenR || e === a.arrow ? true : e === a.braceL ? t === C.b_stat : e === a._var || e === a._const || e === a.name ? false : !this.exprAllowed;
1365
+ return t === C.f_expr || t === C.f_stat ? true : e === a.colon && (t === C.b_stat || t === C.b_expr) ? !t.isExpr : e === a._return || e === a.name && this.exprAllowed ? V.test(this.input.slice(this.lastTokEnd, this.start)) : e === a._else || e === a.semi || e === a.eof || e === a.parenR || e === a.arrow ? true : e === a.braceL ? t === C.b_stat : e === a._var || e === a._const || e === a.name ? false : !this.exprAllowed;
1373
1366
  };
1374
- $.inGeneratorContext = function() {
1367
+ ee.inGeneratorContext = function() {
1375
1368
  for (var e = this.context.length - 1; e >= 1; e--) {
1376
1369
  var t = this.context[e];
1377
1370
  if (t.token === "function") return t.generator;
1378
1371
  }
1379
1372
  return false;
1380
1373
  };
1381
- $.updateContext = function(e) {
1374
+ ee.updateContext = function(e) {
1382
1375
  var t, i = this.type;
1383
1376
  i.keyword && e === a.dot ? this.exprAllowed = false : (t = i.updateContext) ? t.call(this, e) : this.exprAllowed = i.beforeExpr;
1384
1377
  };
1385
- $.overrideContext = function(e) {
1378
+ ee.overrideContext = function(e) {
1386
1379
  this.curContext() !== e && (this.context[this.context.length - 1] = e);
1387
1380
  };
1388
1381
  a.parenR.updateContext = a.braceR.updateContext = function() {
@@ -1406,7 +1399,7 @@ a.parenL.updateContext = function(e) {
1406
1399
  a.incDec.updateContext = function() {
1407
1400
  };
1408
1401
  a._function.updateContext = a._class.updateContext = function(e) {
1409
- e.beforeExpr && e !== a._else && !(e === a.semi && this.curContext() !== C.p_stat) && !(e === a._return && R.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === a.colon || e === a.braceL) && this.curContext() === C.b_stat) ? this.context.push(C.f_expr) : this.context.push(C.f_stat), this.exprAllowed = false;
1402
+ e.beforeExpr && e !== a._else && !(e === a.semi && this.curContext() !== C.p_stat) && !(e === a._return && V.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === a.colon || e === a.braceL) && this.curContext() === C.b_stat) ? this.context.push(C.f_expr) : this.context.push(C.f_stat), this.exprAllowed = false;
1410
1403
  };
1411
1404
  a.colon.updateContext = function() {
1412
1405
  this.curContext().token === "function" && this.context.pop(), this.exprAllowed = true;
@@ -1425,7 +1418,7 @@ a.name.updateContext = function(e) {
1425
1418
  var t = false;
1426
1419
  this.options.ecmaVersion >= 6 && e !== a.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (t = true), this.exprAllowed = t;
1427
1420
  };
1428
- var y = T.prototype;
1421
+ var y = E.prototype;
1429
1422
  y.checkPropClash = function(e, t, i) {
1430
1423
  if (!(this.options.ecmaVersion >= 9 && e.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (e.computed || e.method || e.shorthand))) {
1431
1424
  var s = e.key, r;
@@ -1447,8 +1440,8 @@ y.checkPropClash = function(e, t, i) {
1447
1440
  r = "$" + r;
1448
1441
  var o = t[r];
1449
1442
  if (o) {
1450
- var u;
1451
- n === "init" ? u = this.strict && o.init || o.get || o.set : u = o.init || o[n], u && this.raiseRecoverable(s.start, "Redefinition of property");
1443
+ var p;
1444
+ n === "init" ? p = this.strict && o.init || o.get || o.set : p = o.init || o[n], p && this.raiseRecoverable(s.start, "Redefinition of property");
1452
1445
  } else o = t[r] = {
1453
1446
  init: false,
1454
1447
  get: false,
@@ -1472,15 +1465,15 @@ y.parseMaybeAssign = function(e, t, i) {
1472
1465
  this.exprAllowed = false;
1473
1466
  }
1474
1467
  var s = false, r = -1, n = -1, o = -1;
1475
- t ? (r = t.parenthesizedAssign, n = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new xe(), s = true);
1476
- var u = this.start, h = this.startLoc;
1468
+ t ? (r = t.parenthesizedAssign, n = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Se(), s = true);
1469
+ var p = this.start, u = this.startLoc;
1477
1470
  (this.type === a.parenL || this.type === a.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
1478
- var l = this.parseMaybeConditional(e, t);
1479
- if (i && (l = i.call(this, l, u, h)), this.type.isAssign) {
1480
- var x = this.startNodeAt(u, h);
1481
- return x.operator = this.value, this.type === a.eq && (l = this.toAssignable(l, false, t)), s || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= l.start && (t.shorthandAssign = -1), this.type === a.eq ? this.checkLValPattern(l) : this.checkLValSimple(l), x.left = l, this.next(), x.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(x, "AssignmentExpression");
1471
+ var c = this.parseMaybeConditional(e, t);
1472
+ if (i && (c = i.call(this, c, p, u)), this.type.isAssign) {
1473
+ var f = this.startNodeAt(p, u);
1474
+ return f.operator = this.value, this.type === a.eq && (c = this.toAssignable(c, false, t)), s || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= c.start && (t.shorthandAssign = -1), this.type === a.eq ? this.checkLValPattern(c) : this.checkLValSimple(c), f.left = c, this.next(), f.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(f, "AssignmentExpression");
1482
1475
  } else s && this.checkExpressionErrors(t, true);
1483
- return r > -1 && (t.parenthesizedAssign = r), n > -1 && (t.trailingComma = n), l;
1476
+ return r > -1 && (t.parenthesizedAssign = r), n > -1 && (t.trailingComma = n), c;
1484
1477
  };
1485
1478
  y.parseMaybeConditional = function(e, t) {
1486
1479
  var i = this.start, s = this.startLoc, r = this.parseExprOps(e, t);
@@ -1498,12 +1491,12 @@ y.parseExprOps = function(e, t) {
1498
1491
  y.parseExprOp = function(e, t, i, s, r) {
1499
1492
  var n = this.type.binop;
1500
1493
  if (n != null && (!r || this.type !== a._in) && n > s) {
1501
- var o = this.type === a.logicalOR || this.type === a.logicalAND, u = this.type === a.coalesce;
1502
- u && (n = a.logicalAND.binop);
1503
- var h = this.value;
1494
+ var o = this.type === a.logicalOR || this.type === a.logicalAND, p = this.type === a.coalesce;
1495
+ p && (n = a.logicalAND.binop);
1496
+ var u = this.value;
1504
1497
  this.next();
1505
- var l = this.start, x = this.startLoc, _ = this.parseExprOp(this.parseMaybeUnary(null, false, false, r), l, x, n, r), B = this.buildBinary(t, i, e, _, h, o || u);
1506
- return (o && this.type === a.coalesce || u && (this.type === a.logicalOR || this.type === a.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(B, t, i, s, r);
1498
+ var c = this.start, f = this.startLoc, v = this.parseExprOp(this.parseMaybeUnary(null, false, false, r), c, f, n, r), T = this.buildBinary(t, i, e, v, u, o || p);
1499
+ return (o && this.type === a.coalesce || p && (this.type === a.logicalOR || this.type === a.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(T, t, i, s, r);
1507
1500
  }
1508
1501
  return e;
1509
1502
  };
@@ -1516,14 +1509,14 @@ y.parseMaybeUnary = function(e, t, i, s) {
1516
1509
  var r = this.start, n = this.startLoc, o;
1517
1510
  if (this.isContextual("await") && this.canAwait) o = this.parseAwait(s), t = true;
1518
1511
  else if (this.type.prefix) {
1519
- var u = this.startNode(), h = this.type === a.incDec;
1520
- u.operator = this.value, u.prefix = true, this.next(), u.argument = this.parseMaybeUnary(null, true, h, s), this.checkExpressionErrors(e, true), h ? this.checkLValSimple(u.argument) : this.strict && u.operator === "delete" && u.argument.type === "Identifier" ? this.raiseRecoverable(u.start, "Deleting local variable in strict mode") : u.operator === "delete" && bt(u.argument) ? this.raiseRecoverable(u.start, "Private fields can not be deleted") : t = true, o = this.finishNode(u, h ? "UpdateExpression" : "UnaryExpression");
1512
+ var p = this.startNode(), u = this.type === a.incDec;
1513
+ p.operator = this.value, p.prefix = true, this.next(), p.argument = this.parseMaybeUnary(null, true, u, s), this.checkExpressionErrors(e, true), u ? this.checkLValSimple(p.argument) : this.strict && p.operator === "delete" && kt(p.argument) ? this.raiseRecoverable(p.start, "Deleting local variable in strict mode") : p.operator === "delete" && Me(p.argument) ? this.raiseRecoverable(p.start, "Private fields can not be deleted") : t = true, o = this.finishNode(p, u ? "UpdateExpression" : "UnaryExpression");
1521
1514
  } else if (!t && this.type === a.privateId) (s || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== a._in && this.unexpected();
1522
1515
  else {
1523
1516
  if (o = this.parseExprSubscripts(e, s), this.checkExpressionErrors(e)) return o;
1524
1517
  for (; this.type.postfix && !this.canInsertSemicolon(); ) {
1525
- var l = this.startNodeAt(r, n);
1526
- l.operator = this.value, l.prefix = false, l.argument = o, this.checkLValSimple(o), this.next(), o = this.finishNode(l, "UpdateExpression");
1518
+ var c = this.startNodeAt(r, n);
1519
+ c.operator = this.value, c.prefix = false, c.argument = o, this.checkLValSimple(o), this.next(), o = this.finishNode(c, "UpdateExpression");
1527
1520
  }
1528
1521
  }
1529
1522
  if (!i && this.eat(a.starstar)) {
@@ -1531,8 +1524,11 @@ y.parseMaybeUnary = function(e, t, i, s) {
1531
1524
  else return this.buildBinary(r, n, o, this.parseMaybeUnary(null, false, false, s), "**", false);
1532
1525
  } else return o;
1533
1526
  };
1534
- function bt(e) {
1535
- return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && bt(e.expression);
1527
+ function kt(e) {
1528
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && kt(e.expression);
1529
+ }
1530
+ function Me(e) {
1531
+ return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && Me(e.expression) || e.type === "ParenthesizedExpression" && Me(e.expression);
1536
1532
  }
1537
1533
  y.parseExprSubscripts = function(e, t) {
1538
1534
  var i = this.start, s = this.startLoc, r = this.parseExprAtom(e, t);
@@ -1542,15 +1538,15 @@ y.parseExprSubscripts = function(e, t) {
1542
1538
  };
1543
1539
  y.parseSubscripts = function(e, t, i, s, r) {
1544
1540
  for (var n = this.options.ecmaVersion >= 8 && e.type === "Identifier" && e.name === "async" && this.lastTokEnd === e.end && !this.canInsertSemicolon() && e.end - e.start === 5 && this.potentialArrowAt === e.start, o = false; ; ) {
1545
- var u = this.parseSubscript(e, t, i, s, n, o, r);
1546
- if (u.optional && (o = true), u === e || u.type === "ArrowFunctionExpression") {
1541
+ var p = this.parseSubscript(e, t, i, s, n, o, r);
1542
+ if (p.optional && (o = true), p === e || p.type === "ArrowFunctionExpression") {
1547
1543
  if (o) {
1548
- var h = this.startNodeAt(t, i);
1549
- h.expression = u, u = this.finishNode(h, "ChainExpression");
1544
+ var u = this.startNodeAt(t, i);
1545
+ u.expression = p, p = this.finishNode(u, "ChainExpression");
1550
1546
  }
1551
- return u;
1547
+ return p;
1552
1548
  }
1553
- e = u;
1549
+ e = p;
1554
1550
  }
1555
1551
  };
1556
1552
  y.shouldParseAsyncArrow = function() {
@@ -1560,26 +1556,26 @@ y.parseSubscriptAsyncArrow = function(e, t, i, s) {
1560
1556
  return this.parseArrowExpression(this.startNodeAt(e, t), i, true, s);
1561
1557
  };
1562
1558
  y.parseSubscript = function(e, t, i, s, r, n, o) {
1563
- var u = this.options.ecmaVersion >= 11, h = u && this.eat(a.questionDot);
1564
- s && h && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
1565
- var l = this.eat(a.bracketL);
1566
- if (l || h && this.type !== a.parenL && this.type !== a.backQuote || this.eat(a.dot)) {
1567
- var x = this.startNodeAt(t, i);
1568
- x.object = e, l ? (x.property = this.parseExpression(), this.expect(a.bracketR)) : this.type === a.privateId && e.type !== "Super" ? x.property = this.parsePrivateIdent() : x.property = this.parseIdent(this.options.allowReserved !== "never"), x.computed = !!l, u && (x.optional = h), e = this.finishNode(x, "MemberExpression");
1559
+ var p = this.options.ecmaVersion >= 11, u = p && this.eat(a.questionDot);
1560
+ s && u && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
1561
+ var c = this.eat(a.bracketL);
1562
+ if (c || u && this.type !== a.parenL && this.type !== a.backQuote || this.eat(a.dot)) {
1563
+ var f = this.startNodeAt(t, i);
1564
+ f.object = e, c ? (f.property = this.parseExpression(), this.expect(a.bracketR)) : this.type === a.privateId && e.type !== "Super" ? f.property = this.parsePrivateIdent() : f.property = this.parseIdent(this.options.allowReserved !== "never"), f.computed = !!c, p && (f.optional = u), e = this.finishNode(f, "MemberExpression");
1569
1565
  } else if (!s && this.eat(a.parenL)) {
1570
- var _ = new xe(), B = this.yieldPos, p = this.awaitPos, d = this.awaitIdentPos;
1566
+ var v = new Se(), T = this.yieldPos, h = this.awaitPos, m = this.awaitIdentPos;
1571
1567
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1572
- var m = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, false, _);
1573
- if (r && !h && this.shouldParseAsyncArrow()) return this.checkPatternErrors(_, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = B, this.awaitPos = p, this.awaitIdentPos = d, this.parseSubscriptAsyncArrow(t, i, m, o);
1574
- this.checkExpressionErrors(_, true), this.yieldPos = B || this.yieldPos, this.awaitPos = p || this.awaitPos, this.awaitIdentPos = d || this.awaitIdentPos;
1568
+ var x = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, false, v);
1569
+ if (r && !u && this.shouldParseAsyncArrow()) return this.checkPatternErrors(v, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = T, this.awaitPos = h, this.awaitIdentPos = m, this.parseSubscriptAsyncArrow(t, i, x, o);
1570
+ this.checkExpressionErrors(v, true), this.yieldPos = T || this.yieldPos, this.awaitPos = h || this.awaitPos, this.awaitIdentPos = m || this.awaitIdentPos;
1575
1571
  var g = this.startNodeAt(t, i);
1576
- g.callee = e, g.arguments = m, u && (g.optional = h), e = this.finishNode(g, "CallExpression");
1572
+ g.callee = e, g.arguments = x, p && (g.optional = u), e = this.finishNode(g, "CallExpression");
1577
1573
  } else if (this.type === a.backQuote) {
1578
- (h || n) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1579
- var E = this.startNodeAt(t, i);
1580
- E.tag = e, E.quasi = this.parseTemplate({
1574
+ (u || n) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1575
+ var N = this.startNodeAt(t, i);
1576
+ N.tag = e, N.quasi = this.parseTemplate({
1581
1577
  isTagged: true
1582
- }), e = this.finishNode(E, "TaggedTemplateExpression");
1578
+ }), e = this.finishNode(N, "TaggedTemplateExpression");
1583
1579
  }
1584
1580
  return e;
1585
1581
  };
@@ -1592,18 +1588,18 @@ y.parseExprAtom = function(e, t, i) {
1592
1588
  case a._this:
1593
1589
  return s = this.startNode(), this.next(), this.finishNode(s, "ThisExpression");
1594
1590
  case a.name:
1595
- var n = this.start, o = this.startLoc, u = this.containsEsc, h = this.parseIdent(false);
1596
- if (this.options.ecmaVersion >= 8 && !u && h.name === "async" && !this.canInsertSemicolon() && this.eat(a._function)) return this.overrideContext(C.f_expr), this.parseFunction(this.startNodeAt(n, o), 0, false, true, t);
1591
+ var n = this.start, o = this.startLoc, p = this.containsEsc, u = this.parseIdent(false);
1592
+ if (this.options.ecmaVersion >= 8 && !p && u.name === "async" && !this.canInsertSemicolon() && this.eat(a._function)) return this.overrideContext(C.f_expr), this.parseFunction(this.startNodeAt(n, o), 0, false, true, t);
1597
1593
  if (r && !this.canInsertSemicolon()) {
1598
- if (this.eat(a.arrow)) return this.parseArrowExpression(this.startNodeAt(n, o), [h], false, t);
1599
- if (this.options.ecmaVersion >= 8 && h.name === "async" && this.type === a.name && !u && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return h = this.parseIdent(false), (this.canInsertSemicolon() || !this.eat(a.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(n, o), [h], true, t);
1594
+ if (this.eat(a.arrow)) return this.parseArrowExpression(this.startNodeAt(n, o), [u], false, t);
1595
+ if (this.options.ecmaVersion >= 8 && u.name === "async" && this.type === a.name && !p && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return u = this.parseIdent(false), (this.canInsertSemicolon() || !this.eat(a.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(n, o), [u], true, t);
1600
1596
  }
1601
- return h;
1597
+ return u;
1602
1598
  case a.regexp:
1603
- var l = this.value;
1604
- return s = this.parseLiteral(l.value), s.regex = {
1605
- pattern: l.pattern,
1606
- flags: l.flags
1599
+ var c = this.value;
1600
+ return s = this.parseLiteral(c.value), s.regex = {
1601
+ pattern: c.pattern,
1602
+ flags: c.flags
1607
1603
  }, s;
1608
1604
  case a.num:
1609
1605
  case a.string:
@@ -1613,8 +1609,8 @@ y.parseExprAtom = function(e, t, i) {
1613
1609
  case a._false:
1614
1610
  return s = this.startNode(), s.value = this.type === a._null ? null : this.type === a._true, s.raw = this.type.keyword, this.next(), this.finishNode(s, "Literal");
1615
1611
  case a.parenL:
1616
- var x = this.start, _ = this.parseParenAndDistinguishExpression(r, t);
1617
- return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(_) && (e.parenthesizedAssign = x), e.parenthesizedBind < 0 && (e.parenthesizedBind = x)), _;
1612
+ var f = this.start, v = this.parseParenAndDistinguishExpression(r, t);
1613
+ return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(v) && (e.parenthesizedAssign = f), e.parenthesizedBind < 0 && (e.parenthesizedBind = f)), v;
1618
1614
  case a.bracketL:
1619
1615
  return s = this.startNode(), this.next(), s.elements = this.parseExprList(a.bracketR, true, true, e), this.finishNode(s, "ArrayExpression");
1620
1616
  case a.braceL:
@@ -1645,7 +1641,8 @@ y.parseExprImport = function(e) {
1645
1641
  } else this.unexpected();
1646
1642
  };
1647
1643
  y.parseDynamicImport = function(e) {
1648
- if (this.next(), e.source = this.parseMaybeAssign(), !this.eat(a.parenR)) {
1644
+ if (this.next(), e.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(a.parenR) ? e.options = null : (this.expect(a.comma), this.afterTrailingComma(a.parenR) ? e.options = null : (e.options = this.parseMaybeAssign(), this.eat(a.parenR) || (this.expect(a.comma), this.afterTrailingComma(a.parenR) || this.unexpected())));
1645
+ else if (!this.eat(a.parenR)) {
1649
1646
  var t = this.start;
1650
1647
  this.eat(a.comma) && this.eat(a.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t);
1651
1648
  }
@@ -1658,7 +1655,7 @@ y.parseImportMeta = function(e) {
1658
1655
  };
1659
1656
  y.parseLiteral = function(e) {
1660
1657
  var t = this.startNode();
1661
- return t.value = e, t.raw = this.input.slice(this.start, this.end), t.raw.charCodeAt(t.raw.length - 1) === 110 && (t.bigint = t.raw.slice(0, -1).replace(/_/g, "")), this.next(), this.finishNode(t, "Literal");
1658
+ return t.value = e, t.raw = this.input.slice(this.start, this.end), t.raw.charCodeAt(t.raw.length - 1) === 110 && (t.bigint = t.value != null ? t.value.toString() : t.raw.slice(0, -1).replace(/_/g, "")), this.next(), this.finishNode(t, "Literal");
1662
1659
  };
1663
1660
  y.parseParenExpression = function() {
1664
1661
  this.expect(a.parenL);
@@ -1672,21 +1669,21 @@ y.parseParenAndDistinguishExpression = function(e, t) {
1672
1669
  var i = this.start, s = this.startLoc, r, n = this.options.ecmaVersion >= 8;
1673
1670
  if (this.options.ecmaVersion >= 6) {
1674
1671
  this.next();
1675
- var o = this.start, u = this.startLoc, h = [], l = true, x = false, _ = new xe(), B = this.yieldPos, p = this.awaitPos, d;
1676
- for (this.yieldPos = 0, this.awaitPos = 0; this.type !== a.parenR; ) if (l ? l = false : this.expect(a.comma), n && this.afterTrailingComma(a.parenR, true)) {
1677
- x = true;
1672
+ var o = this.start, p = this.startLoc, u = [], c = true, f = false, v = new Se(), T = this.yieldPos, h = this.awaitPos, m;
1673
+ for (this.yieldPos = 0, this.awaitPos = 0; this.type !== a.parenR; ) if (c ? c = false : this.expect(a.comma), n && this.afterTrailingComma(a.parenR, true)) {
1674
+ f = true;
1678
1675
  break;
1679
1676
  } else if (this.type === a.ellipsis) {
1680
- d = this.start, h.push(this.parseParenItem(this.parseRestBinding())), this.type === a.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
1677
+ m = this.start, u.push(this.parseParenItem(this.parseRestBinding())), this.type === a.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
1681
1678
  break;
1682
- } else h.push(this.parseMaybeAssign(false, _, this.parseParenItem));
1683
- var m = this.lastTokEnd, g = this.lastTokEndLoc;
1684
- if (this.expect(a.parenR), e && this.shouldParseArrow(h) && this.eat(a.arrow)) return this.checkPatternErrors(_, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = B, this.awaitPos = p, this.parseParenArrowList(i, s, h, t);
1685
- (!h.length || x) && this.unexpected(this.lastTokStart), d && this.unexpected(d), this.checkExpressionErrors(_, true), this.yieldPos = B || this.yieldPos, this.awaitPos = p || this.awaitPos, h.length > 1 ? (r = this.startNodeAt(o, u), r.expressions = h, this.finishNodeAt(r, "SequenceExpression", m, g)) : r = h[0];
1679
+ } else u.push(this.parseMaybeAssign(false, v, this.parseParenItem));
1680
+ var x = this.lastTokEnd, g = this.lastTokEndLoc;
1681
+ if (this.expect(a.parenR), e && this.shouldParseArrow(u) && this.eat(a.arrow)) return this.checkPatternErrors(v, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = T, this.awaitPos = h, this.parseParenArrowList(i, s, u, t);
1682
+ (!u.length || f) && this.unexpected(this.lastTokStart), m && this.unexpected(m), this.checkExpressionErrors(v, true), this.yieldPos = T || this.yieldPos, this.awaitPos = h || this.awaitPos, u.length > 1 ? (r = this.startNodeAt(o, p), r.expressions = u, this.finishNodeAt(r, "SequenceExpression", x, g)) : r = u[0];
1686
1683
  } else r = this.parseParenExpression();
1687
1684
  if (this.options.preserveParens) {
1688
- var E = this.startNodeAt(i, s);
1689
- return E.expression = r, this.finishNode(E, "ParenthesizedExpression");
1685
+ var N = this.startNodeAt(i, s);
1686
+ return N.expression = r, this.finishNode(N, "ParenthesizedExpression");
1690
1687
  } else return r;
1691
1688
  };
1692
1689
  y.parseParenItem = function(e) {
@@ -1695,7 +1692,7 @@ y.parseParenItem = function(e) {
1695
1692
  y.parseParenArrowList = function(e, t, i, s) {
1696
1693
  return this.parseArrowExpression(this.startNodeAt(e, t), i, false, s);
1697
1694
  };
1698
- var Mi = [];
1695
+ var Yi = [];
1699
1696
  y.parseNew = function() {
1700
1697
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
1701
1698
  var e = this.startNode();
@@ -1706,12 +1703,13 @@ y.parseNew = function() {
1706
1703
  return e.property = this.parseIdent(true), e.property.name !== "target" && this.raiseRecoverable(e.property.start, "The only valid meta property for new is 'new.target'"), i && 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");
1707
1704
  }
1708
1705
  var s = this.start, r = this.startLoc;
1709
- return e.callee = this.parseSubscripts(this.parseExprAtom(null, false, true), s, r, true, false), this.eat(a.parenL) ? e.arguments = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, false) : e.arguments = Mi, this.finishNode(e, "NewExpression");
1706
+ return e.callee = this.parseSubscripts(this.parseExprAtom(null, false, true), s, r, true, false), this.eat(a.parenL) ? e.arguments = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, false) : e.arguments = Yi, this.finishNode(e, "NewExpression");
1710
1707
  };
1711
1708
  y.parseTemplateElement = function(e) {
1712
1709
  var t = e.isTagged, i = this.startNode();
1713
1710
  return this.type === a.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), i.value = {
1714
- raw: this.value,
1711
+ raw: this.value.replace(/\r\n?/g, `
1712
+ `),
1715
1713
  cooked: null
1716
1714
  }) : i.value = {
1717
1715
  raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, `
@@ -1734,7 +1732,7 @@ y.parseTemplate = function(e) {
1734
1732
  return this.next(), this.finishNode(i, "TemplateLiteral");
1735
1733
  };
1736
1734
  y.isAsyncProp = function(e) {
1737
- return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === a.name || this.type === a.num || this.type === a.string || this.type === a.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === a.star) && !R.test(this.input.slice(this.lastTokEnd, this.start));
1735
+ return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === a.name || this.type === a.num || this.type === a.string || this.type === a.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === a.star) && !V.test(this.input.slice(this.lastTokEnd, this.start));
1738
1736
  };
1739
1737
  y.parseObj = function(e, t) {
1740
1738
  var i = this.startNode(), s = true, r = {};
@@ -1750,19 +1748,20 @@ y.parseProperty = function(e, t) {
1750
1748
  var i = this.startNode(), s, r, n, o;
1751
1749
  if (this.options.ecmaVersion >= 9 && this.eat(a.ellipsis)) return e ? (i.argument = this.parseIdent(false), this.type === a.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(i, "RestElement")) : (i.argument = this.parseMaybeAssign(false, t), this.type === a.comma && t && t.trailingComma < 0 && (t.trailingComma = this.start), this.finishNode(i, "SpreadElement"));
1752
1750
  this.options.ecmaVersion >= 6 && (i.method = false, i.shorthand = false, (e || t) && (n = this.start, o = this.startLoc), e || (s = this.eat(a.star)));
1753
- var u = this.containsEsc;
1754
- return this.parsePropertyName(i), !e && !u && this.options.ecmaVersion >= 8 && !s && this.isAsyncProp(i) ? (r = true, s = this.options.ecmaVersion >= 9 && this.eat(a.star), this.parsePropertyName(i)) : r = false, this.parsePropertyValue(i, e, s, r, n, o, t, u), this.finishNode(i, "Property");
1751
+ var p = this.containsEsc;
1752
+ return this.parsePropertyName(i), !e && !p && this.options.ecmaVersion >= 8 && !s && this.isAsyncProp(i) ? (r = true, s = this.options.ecmaVersion >= 9 && this.eat(a.star), this.parsePropertyName(i)) : r = false, this.parsePropertyValue(i, e, s, r, n, o, t, p), this.finishNode(i, "Property");
1755
1753
  };
1756
1754
  y.parseGetterSetter = function(e) {
1757
- e.kind = e.key.name, this.parsePropertyName(e), e.value = this.parseMethod(false);
1758
- var t = e.kind === "get" ? 0 : 1;
1759
- if (e.value.params.length !== t) {
1760
- var i = e.value.start;
1761
- e.kind === "get" ? this.raiseRecoverable(i, "getter should have no params") : this.raiseRecoverable(i, "setter should have exactly one param");
1755
+ var t = e.key.name;
1756
+ this.parsePropertyName(e), e.value = this.parseMethod(false), e.kind = t;
1757
+ var i = e.kind === "get" ? 0 : 1;
1758
+ if (e.value.params.length !== i) {
1759
+ var s = e.value.start;
1760
+ e.kind === "get" ? this.raiseRecoverable(s, "getter should have no params") : this.raiseRecoverable(s, "setter should have exactly one param");
1762
1761
  } else e.kind === "set" && e.value.params[0].type === "RestElement" && this.raiseRecoverable(e.value.params[0].start, "Setter cannot use rest params");
1763
1762
  };
1764
- y.parsePropertyValue = function(e, t, i, s, r, n, o, u) {
1765
- (i || s) && this.type === a.colon && this.unexpected(), this.eat(a.colon) ? (e.value = t ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, o), e.kind = "init") : this.options.ecmaVersion >= 6 && this.type === a.parenL ? (t && this.unexpected(), e.kind = "init", e.method = true, e.value = this.parseMethod(i, s)) : !t && !u && this.options.ecmaVersion >= 5 && !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.type !== a.comma && this.type !== a.braceR && this.type !== a.eq ? ((i || s) && this.unexpected(), this.parseGetterSetter(e)) : this.options.ecmaVersion >= 6 && !e.computed && e.key.type === "Identifier" ? ((i || s) && this.unexpected(), this.checkUnreserved(e.key), e.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = r), e.kind = "init", t ? e.value = this.parseMaybeDefault(r, n, this.copyNode(e.key)) : this.type === a.eq && o ? (o.shorthandAssign < 0 && (o.shorthandAssign = this.start), e.value = this.parseMaybeDefault(r, n, this.copyNode(e.key))) : e.value = this.copyNode(e.key), e.shorthand = true) : this.unexpected();
1763
+ y.parsePropertyValue = function(e, t, i, s, r, n, o, p) {
1764
+ (i || s) && this.type === a.colon && this.unexpected(), this.eat(a.colon) ? (e.value = t ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, o), e.kind = "init") : this.options.ecmaVersion >= 6 && this.type === a.parenL ? (t && this.unexpected(), e.method = true, e.value = this.parseMethod(i, s), e.kind = "init") : !t && !p && this.options.ecmaVersion >= 5 && !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.type !== a.comma && this.type !== a.braceR && this.type !== a.eq ? ((i || s) && this.unexpected(), this.parseGetterSetter(e)) : this.options.ecmaVersion >= 6 && !e.computed && e.key.type === "Identifier" ? ((i || s) && this.unexpected(), this.checkUnreserved(e.key), e.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = r), t ? e.value = this.parseMaybeDefault(r, n, this.copyNode(e.key)) : this.type === a.eq && o ? (o.shorthandAssign < 0 && (o.shorthandAssign = this.start), e.value = this.parseMaybeDefault(r, n, this.copyNode(e.key))) : e.value = this.copyNode(e.key), e.kind = "init", e.shorthand = true) : this.unexpected();
1766
1765
  };
1767
1766
  y.parsePropertyName = function(e) {
1768
1767
  if (this.options.ecmaVersion >= 6) {
@@ -1776,20 +1775,20 @@ y.initFunction = function(e) {
1776
1775
  };
1777
1776
  y.parseMethod = function(e, t, i) {
1778
1777
  var s = this.startNode(), r = this.yieldPos, n = this.awaitPos, o = this.awaitIdentPos;
1779
- return this.initFunction(s), this.options.ecmaVersion >= 6 && (s.generator = e), this.options.ecmaVersion >= 8 && (s.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Me(t, s.generator) | De | (i ? mt : 0)), this.expect(a.parenL), s.params = this.parseBindingList(a.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(s, false, true, false), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = o, this.finishNode(s, "FunctionExpression");
1778
+ return this.initFunction(s), this.options.ecmaVersion >= 6 && (s.generator = e), this.options.ecmaVersion >= 8 && (s.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(qe(t, s.generator) | ve | (i ? St : 0)), this.expect(a.parenL), s.params = this.parseBindingList(a.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(s, false, true, false), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = o, this.finishNode(s, "FunctionExpression");
1780
1779
  };
1781
1780
  y.parseArrowExpression = function(e, t, i, s) {
1782
1781
  var r = this.yieldPos, n = this.awaitPos, o = this.awaitIdentPos;
1783
- return this.enterScope(Me(i, false) | ft), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!i), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, true), this.parseFunctionBody(e, true, false, s), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
1782
+ return this.enterScope(qe(i, false) | Ge), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!i), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, true), this.parseFunctionBody(e, true, false, s), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
1784
1783
  };
1785
1784
  y.parseFunctionBody = function(e, t, i, s) {
1786
1785
  var r = t && this.type !== a.braceL, n = this.strict, o = false;
1787
1786
  if (r) e.body = this.parseMaybeAssign(s), e.expression = true, this.checkParams(e, false);
1788
1787
  else {
1789
- var u = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
1790
- (!n || u) && (o = this.strictDirective(this.end), o && u && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
1791
- var h = this.labels;
1792
- this.labels = [], o && (this.strict = true), this.checkParams(e, !n && !o && !t && !i && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, gt), e.body = this.parseBlock(false, void 0, o && !n), e.expression = false, this.adaptDirectivePrologue(e.body.body), this.labels = h;
1788
+ var p = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
1789
+ (!n || p) && (o = this.strictDirective(this.end), o && p && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
1790
+ var u = this.labels;
1791
+ this.labels = [], o && (this.strict = true), this.checkParams(e, !n && !o && !t && !i && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Ct), e.body = this.parseBlock(false, void 0, o && !n), e.expression = false, this.adaptDirectivePrologue(e.body.body), this.labels = u;
1793
1792
  }
1794
1793
  this.exitScope();
1795
1794
  };
@@ -1803,7 +1802,7 @@ y.isSimpleParamList = function(e) {
1803
1802
  y.checkParams = function(e, t) {
1804
1803
  for (var i = /* @__PURE__ */ Object.create(null), s = 0, r = e.params; s < r.length; s += 1) {
1805
1804
  var n = r[s];
1806
- this.checkLValInnerPattern(n, je, t ? null : i);
1805
+ this.checkLValInnerPattern(n, Je, t ? null : i);
1807
1806
  }
1808
1807
  };
1809
1808
  y.parseExprList = function(e, t, i, s) {
@@ -1817,7 +1816,7 @@ y.parseExprList = function(e, t, i, s) {
1817
1816
  };
1818
1817
  y.checkUnreserved = function(e) {
1819
1818
  var t = e.start, i = e.end, s = e.name;
1820
- if (this.inGenerator && s === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && s === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), this.currentThisScope().inClassFieldInit && s === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (s === "arguments" || s === "await") && this.raise(t, "Cannot use " + s + " in class static initialization block"), this.keywords.test(s) && this.raise(t, "Unexpected keyword '" + s + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, i).indexOf("\\") !== -1)) {
1819
+ if (this.inGenerator && s === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && s === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & be) && s === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (s === "arguments" || s === "await") && this.raise(t, "Cannot use " + s + " in class static initialization block"), this.keywords.test(s) && this.raise(t, "Unexpected keyword '" + s + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, i).indexOf("\\") !== -1)) {
1821
1820
  var r = this.strict ? this.reservedWordsStrict : this.reservedWords;
1822
1821
  r.test(s) && (!this.inAsync && s === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + s + "' is reserved"));
1823
1822
  }
@@ -1844,48 +1843,48 @@ y.parseAwait = function(e) {
1844
1843
  var t = this.startNode();
1845
1844
  return this.next(), t.argument = this.parseMaybeUnary(null, true, false, e), this.finishNode(t, "AwaitExpression");
1846
1845
  };
1847
- var de = T.prototype;
1848
- de.raise = function(e, t) {
1849
- var i = ct(this.input, e);
1850
- t += " (" + i.line + ":" + i.column + ")";
1846
+ var xe = E.prototype;
1847
+ xe.raise = function(e, t) {
1848
+ var i = gt(this.input, e);
1849
+ t += " (" + i.line + ":" + i.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
1851
1850
  var s = new SyntaxError(t);
1852
1851
  throw s.pos = e, s.loc = i, s.raisedAt = this.pos, s;
1853
1852
  };
1854
- de.raiseRecoverable = de.raise;
1855
- de.curPosition = function() {
1856
- if (this.options.locations) return new te(this.curLine, this.pos - this.lineStart);
1853
+ xe.raiseRecoverable = xe.raise;
1854
+ xe.curPosition = function() {
1855
+ if (this.options.locations) return new ae(this.curLine, this.pos - this.lineStart);
1857
1856
  };
1858
- var W = T.prototype;
1859
- var ji = function(t) {
1860
- this.flags = t, this.var = [], this.lexical = [], this.functions = [], this.inClassFieldInit = false;
1857
+ var W = E.prototype;
1858
+ var $i = function(t) {
1859
+ this.flags = t, this.var = [], this.lexical = [], this.functions = [];
1861
1860
  };
1862
1861
  W.enterScope = function(e) {
1863
- this.scopeStack.push(new ji(e));
1862
+ this.scopeStack.push(new $i(e));
1864
1863
  };
1865
1864
  W.exitScope = function() {
1866
1865
  this.scopeStack.pop();
1867
1866
  };
1868
1867
  W.treatFunctionsAsVarInScope = function(e) {
1869
- return e.flags & Y || !this.inModule && e.flags & ie;
1868
+ return e.flags & Z || !this.inModule && e.flags & ne;
1870
1869
  };
1871
1870
  W.declareName = function(e, t, i) {
1872
1871
  var s = false;
1873
1872
  if (t === J) {
1874
1873
  var r = this.currentScope();
1875
- s = r.lexical.indexOf(e) > -1 || r.functions.indexOf(e) > -1 || r.var.indexOf(e) > -1, r.lexical.push(e), this.inModule && r.flags & ie && delete this.undefinedExports[e];
1876
- } else if (t === yt) {
1874
+ s = r.lexical.indexOf(e) > -1 || r.functions.indexOf(e) > -1 || r.var.indexOf(e) > -1, r.lexical.push(e), this.inModule && r.flags & ne && delete this.undefinedExports[e];
1875
+ } else if (t === Tt) {
1877
1876
  var n = this.currentScope();
1878
1877
  n.lexical.push(e);
1879
- } else if (t === xt) {
1878
+ } else if (t === _t) {
1880
1879
  var o = this.currentScope();
1881
1880
  this.treatFunctionsAsVar ? s = o.lexical.indexOf(e) > -1 : s = o.lexical.indexOf(e) > -1 || o.var.indexOf(e) > -1, o.functions.push(e);
1882
- } else for (var u = this.scopeStack.length - 1; u >= 0; --u) {
1883
- var h = this.scopeStack[u];
1884
- if (h.lexical.indexOf(e) > -1 && !(h.flags & dt && h.lexical[0] === e) || !this.treatFunctionsAsVarInScope(h) && h.functions.indexOf(e) > -1) {
1881
+ } else for (var p = this.scopeStack.length - 1; p >= 0; --p) {
1882
+ var u = this.scopeStack[p];
1883
+ if (u.lexical.indexOf(e) > -1 && !(u.flags & bt && u.lexical[0] === e) || !this.treatFunctionsAsVarInScope(u) && u.functions.indexOf(e) > -1) {
1885
1884
  s = true;
1886
1885
  break;
1887
1886
  }
1888
- if (h.var.push(e), this.inModule && h.flags & ie && delete this.undefinedExports[e], h.flags & Fe) break;
1887
+ if (u.var.push(e), this.inModule && u.flags & ne && delete this.undefinedExports[e], u.flags & be) break;
1889
1888
  }
1890
1889
  s && this.raiseRecoverable(i, "Identifier '" + e + "' has already been declared");
1891
1890
  };
@@ -1898,105 +1897,116 @@ W.currentScope = function() {
1898
1897
  W.currentVarScope = function() {
1899
1898
  for (var e = this.scopeStack.length - 1; ; e--) {
1900
1899
  var t = this.scopeStack[e];
1901
- if (t.flags & Fe) return t;
1900
+ if (t.flags & (be | oe | X)) return t;
1902
1901
  }
1903
1902
  };
1904
1903
  W.currentThisScope = function() {
1905
1904
  for (var e = this.scopeStack.length - 1; ; e--) {
1906
1905
  var t = this.scopeStack[e];
1907
- if (t.flags & Fe && !(t.flags & ft)) return t;
1906
+ if (t.flags & (be | oe | X) && !(t.flags & Ge)) return t;
1908
1907
  }
1909
1908
  };
1910
- var ye = function(t, i, s) {
1911
- this.type = "", this.start = i, this.end = 0, t.options.locations && (this.loc = new me(t, s)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [i, 0]);
1909
+ var _e = function(t, i, s) {
1910
+ this.type = "", this.start = i, this.end = 0, t.options.locations && (this.loc = new ge(t, s)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [i, 0]);
1912
1911
  };
1913
- var ae = T.prototype;
1914
- ae.startNode = function() {
1915
- return new ye(this, this.start, this.startLoc);
1912
+ var ue = E.prototype;
1913
+ ue.startNode = function() {
1914
+ return new _e(this, this.start, this.startLoc);
1916
1915
  };
1917
- ae.startNodeAt = function(e, t) {
1918
- return new ye(this, e, t);
1916
+ ue.startNodeAt = function(e, t) {
1917
+ return new _e(this, e, t);
1919
1918
  };
1920
- function St(e, t, i, s) {
1919
+ function At(e, t, i, s) {
1921
1920
  return e.type = t, e.end = i, this.options.locations && (e.loc.end = s), this.options.ranges && (e.range[1] = i), e;
1922
1921
  }
1923
- ae.finishNode = function(e, t) {
1924
- return St.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
1922
+ ue.finishNode = function(e, t) {
1923
+ return At.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
1925
1924
  };
1926
- ae.finishNodeAt = function(e, t, i, s) {
1927
- return St.call(this, e, t, i, s);
1925
+ ue.finishNodeAt = function(e, t, i, s) {
1926
+ return At.call(this, e, t, i, s);
1928
1927
  };
1929
- ae.copyNode = function(e) {
1930
- var t = new ye(this, e.start, this.startLoc);
1928
+ ue.copyNode = function(e) {
1929
+ var t = new _e(this, e.start, this.startLoc);
1931
1930
  for (var i in e) t[i] = e[i];
1932
1931
  return t;
1933
1932
  };
1934
- var _t = "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";
1935
- var Ct = _t + " Extended_Pictographic";
1936
- var Tt = Ct;
1937
- var kt = Tt + " EBase EComp EMod EPres ExtPict";
1938
- var wt = kt;
1939
- var Ui = wt;
1940
- var qi = {
1941
- 9: _t,
1942
- 10: Ct,
1943
- 11: Tt,
1944
- 12: kt,
1945
- 13: wt,
1946
- 14: Ui
1947
- };
1948
- var Ji = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji";
1949
- var Gi = {
1933
+ var Zi = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz";
1934
+ var wt = "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";
1935
+ var Pt = wt + " Extended_Pictographic";
1936
+ var It = Pt;
1937
+ var Nt = It + " EBase EComp EMod EPres ExtPict";
1938
+ var Lt = Nt;
1939
+ var es = Lt;
1940
+ var ts = {
1941
+ 9: wt,
1942
+ 10: Pt,
1943
+ 11: It,
1944
+ 12: Nt,
1945
+ 13: Lt,
1946
+ 14: es
1947
+ };
1948
+ var is = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji";
1949
+ var ss = {
1950
1950
  9: "",
1951
1951
  10: "",
1952
1952
  11: "",
1953
1953
  12: "",
1954
1954
  13: "",
1955
- 14: Ji
1956
- };
1957
- var rt = "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";
1958
- var Et = "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";
1959
- var At = Et + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";
1960
- var Pt = At + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";
1961
- var It = Pt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";
1962
- var Nt = It + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";
1963
- var Ki = Nt + " Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz";
1964
- var Wi = {
1965
- 9: Et,
1966
- 10: At,
1967
- 11: Pt,
1968
- 12: It,
1969
- 13: Nt,
1970
- 14: Ki
1971
- };
1972
- var Vt = {};
1973
- function Xi(e) {
1974
- var t = Vt[e] = {
1975
- binary: G(qi[e] + " " + rt),
1976
- binaryOfStrings: G(Gi[e]),
1955
+ 14: is
1956
+ };
1957
+ var 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";
1958
+ var Vt = "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";
1959
+ var Rt = Vt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";
1960
+ var Ot = Rt + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";
1961
+ var Bt = Ot + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";
1962
+ var Dt = Bt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";
1963
+ var rs = Dt + " " + Zi;
1964
+ var as = {
1965
+ 9: Vt,
1966
+ 10: Rt,
1967
+ 11: Ot,
1968
+ 12: Bt,
1969
+ 13: Dt,
1970
+ 14: rs
1971
+ };
1972
+ var Ft = {};
1973
+ function ns(e) {
1974
+ var t = Ft[e] = {
1975
+ binary: H(ts[e] + " " + ct),
1976
+ binaryOfStrings: H(ss[e]),
1977
1977
  nonBinary: {
1978
- General_Category: G(rt),
1979
- Script: G(Wi[e])
1978
+ General_Category: H(ct),
1979
+ Script: H(as[e])
1980
1980
  }
1981
1981
  };
1982
1982
  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;
1983
1983
  }
1984
- for (ce = 0, Ne = [9, 10, 11, 12, 13, 14]; ce < Ne.length; ce += 1) at = Ne[ce], Xi(at);
1985
- var at;
1986
- var ce;
1987
- var Ne;
1988
- var c = T.prototype;
1989
- var M = function(t) {
1990
- this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = Vt[t.options.ecmaVersion >= 14 ? 14 : t.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = false, this.switchV = false, this.switchN = false, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = false, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = [], this.backReferenceNames = [];
1984
+ for (fe = 0, Oe = [9, 10, 11, 12, 13, 14]; fe < Oe.length; fe += 1) lt = Oe[fe], ns(lt);
1985
+ var lt;
1986
+ var fe;
1987
+ var Oe;
1988
+ var l = E.prototype;
1989
+ var ye = function(t, i) {
1990
+ this.parent = t, this.base = i || this;
1991
+ };
1992
+ ye.prototype.separatedFrom = function(t) {
1993
+ for (var i = this; i; i = i.parent) for (var s = t; s; s = s.parent) if (i.base === s.base && i !== s) return true;
1994
+ return false;
1991
1995
  };
1992
- M.prototype.reset = function(t, i, s) {
1996
+ ye.prototype.sibling = function() {
1997
+ return new ye(this.parent, this.base);
1998
+ };
1999
+ var U = function(t) {
2000
+ this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = Ft[t.options.ecmaVersion >= 14 ? 14 : t.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = false, this.switchV = false, this.switchN = false, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = false, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
2001
+ };
2002
+ U.prototype.reset = function(t, i, s) {
1993
2003
  var r = s.indexOf("v") !== -1, n = s.indexOf("u") !== -1;
1994
2004
  this.start = t | 0, this.source = i + "", this.flags = s, r && this.parser.options.ecmaVersion >= 15 ? (this.switchU = true, this.switchV = true, this.switchN = true) : (this.switchU = n && this.parser.options.ecmaVersion >= 6, this.switchV = false, this.switchN = n && this.parser.options.ecmaVersion >= 9);
1995
2005
  };
1996
- M.prototype.raise = function(t) {
2006
+ U.prototype.raise = function(t) {
1997
2007
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + t);
1998
2008
  };
1999
- M.prototype.at = function(t, i) {
2009
+ U.prototype.at = function(t, i) {
2000
2010
  i === void 0 && (i = false);
2001
2011
  var s = this.source, r = s.length;
2002
2012
  if (t >= r) return -1;
@@ -2005,62 +2015,67 @@ M.prototype.at = function(t, i) {
2005
2015
  var o = s.charCodeAt(t + 1);
2006
2016
  return o >= 56320 && o <= 57343 ? (n << 10) + o - 56613888 : n;
2007
2017
  };
2008
- M.prototype.nextIndex = function(t, i) {
2018
+ U.prototype.nextIndex = function(t, i) {
2009
2019
  i === void 0 && (i = false);
2010
2020
  var s = this.source, r = s.length;
2011
2021
  if (t >= r) return r;
2012
2022
  var n = s.charCodeAt(t), o;
2013
2023
  return !(i || this.switchU) || n <= 55295 || n >= 57344 || t + 1 >= r || (o = s.charCodeAt(t + 1)) < 56320 || o > 57343 ? t + 1 : t + 2;
2014
2024
  };
2015
- M.prototype.current = function(t) {
2025
+ U.prototype.current = function(t) {
2016
2026
  return t === void 0 && (t = false), this.at(this.pos, t);
2017
2027
  };
2018
- M.prototype.lookahead = function(t) {
2028
+ U.prototype.lookahead = function(t) {
2019
2029
  return t === void 0 && (t = false), this.at(this.nextIndex(this.pos, t), t);
2020
2030
  };
2021
- M.prototype.advance = function(t) {
2031
+ U.prototype.advance = function(t) {
2022
2032
  t === void 0 && (t = false), this.pos = this.nextIndex(this.pos, t);
2023
2033
  };
2024
- M.prototype.eat = function(t, i) {
2034
+ U.prototype.eat = function(t, i) {
2025
2035
  return i === void 0 && (i = false), this.current(i) === t ? (this.advance(i), true) : false;
2026
2036
  };
2027
- M.prototype.eatChars = function(t, i) {
2037
+ U.prototype.eatChars = function(t, i) {
2028
2038
  i === void 0 && (i = false);
2029
2039
  for (var s = this.pos, r = 0, n = t; r < n.length; r += 1) {
2030
- var o = n[r], u = this.at(s, i);
2031
- if (u === -1 || u !== o) return false;
2040
+ var o = n[r], p = this.at(s, i);
2041
+ if (p === -1 || p !== o) return false;
2032
2042
  s = this.nextIndex(s, i);
2033
2043
  }
2034
2044
  return this.pos = s, true;
2035
2045
  };
2036
- c.validateRegExpFlags = function(e) {
2046
+ l.validateRegExpFlags = function(e) {
2037
2047
  for (var t = e.validFlags, i = e.flags, s = false, r = false, n = 0; n < i.length; n++) {
2038
2048
  var o = i.charAt(n);
2039
2049
  t.indexOf(o) === -1 && this.raise(e.start, "Invalid regular expression flag"), i.indexOf(o, n + 1) > -1 && this.raise(e.start, "Duplicate regular expression flag"), o === "u" && (s = true), o === "v" && (r = true);
2040
2050
  }
2041
2051
  this.options.ecmaVersion >= 15 && s && r && this.raise(e.start, "Invalid regular expression flag");
2042
2052
  };
2043
- c.validateRegExpPattern = function(e) {
2044
- this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && e.groupNames.length > 0 && (e.switchN = true, this.regexp_pattern(e));
2053
+ function os(e) {
2054
+ for (var t in e) return true;
2055
+ return false;
2056
+ }
2057
+ l.validateRegExpPattern = function(e) {
2058
+ this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && os(e.groupNames) && (e.switchN = true, this.regexp_pattern(e));
2045
2059
  };
2046
- c.regexp_pattern = function(e) {
2047
- e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = false, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames.length = 0, e.backReferenceNames.length = 0, 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");
2060
+ l.regexp_pattern = function(e) {
2061
+ e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = false, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames = /* @__PURE__ */ 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");
2048
2062
  for (var t = 0, i = e.backReferenceNames; t < i.length; t += 1) {
2049
2063
  var s = i[t];
2050
- e.groupNames.indexOf(s) === -1 && e.raise("Invalid named capture referenced");
2064
+ e.groupNames[s] || e.raise("Invalid named capture referenced");
2051
2065
  }
2052
2066
  };
2053
- c.regexp_disjunction = function(e) {
2054
- for (this.regexp_alternative(e); e.eat(124); ) this.regexp_alternative(e);
2055
- this.regexp_eatQuantifier(e, true) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
2067
+ l.regexp_disjunction = function(e) {
2068
+ var t = this.options.ecmaVersion >= 16;
2069
+ for (t && (e.branchID = new ye(e.branchID, null)), this.regexp_alternative(e); e.eat(124); ) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2070
+ t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, true) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
2056
2071
  };
2057
- c.regexp_alternative = function(e) {
2072
+ l.regexp_alternative = function(e) {
2058
2073
  for (; e.pos < e.source.length && this.regexp_eatTerm(e); ) ;
2059
2074
  };
2060
- c.regexp_eatTerm = function(e) {
2075
+ l.regexp_eatTerm = function(e) {
2061
2076
  return this.regexp_eatAssertion(e) ? (e.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(e) && e.switchU && e.raise("Invalid quantifier"), true) : (e.switchU ? this.regexp_eatAtom(e) : this.regexp_eatExtendedAtom(e)) ? (this.regexp_eatQuantifier(e), true) : false;
2062
2077
  };
2063
- c.regexp_eatAssertion = function(e) {
2078
+ l.regexp_eatAssertion = function(e) {
2064
2079
  var t = e.pos;
2065
2080
  if (e.lastAssertionIsQuantifiable = false, e.eat(94) || e.eat(36)) return true;
2066
2081
  if (e.eat(92)) {
@@ -2073,13 +2088,13 @@ c.regexp_eatAssertion = function(e) {
2073
2088
  }
2074
2089
  return e.pos = t, false;
2075
2090
  };
2076
- c.regexp_eatQuantifier = function(e, t) {
2091
+ l.regexp_eatQuantifier = function(e, t) {
2077
2092
  return t === void 0 && (t = false), this.regexp_eatQuantifierPrefix(e, t) ? (e.eat(63), true) : false;
2078
2093
  };
2079
- c.regexp_eatQuantifierPrefix = function(e, t) {
2094
+ l.regexp_eatQuantifierPrefix = function(e, t) {
2080
2095
  return e.eat(42) || e.eat(43) || e.eat(63) || this.regexp_eatBracedQuantifier(e, t);
2081
2096
  };
2082
- c.regexp_eatBracedQuantifier = function(e, t) {
2097
+ l.regexp_eatBracedQuantifier = function(e, t) {
2083
2098
  var i = e.pos;
2084
2099
  if (e.eat(123)) {
2085
2100
  var s = 0, r = -1;
@@ -2088,10 +2103,10 @@ c.regexp_eatBracedQuantifier = function(e, t) {
2088
2103
  }
2089
2104
  return false;
2090
2105
  };
2091
- c.regexp_eatAtom = function(e) {
2106
+ l.regexp_eatAtom = function(e) {
2092
2107
  return this.regexp_eatPatternCharacters(e) || e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e);
2093
2108
  };
2094
- c.regexp_eatReverseSolidusAtomEscape = function(e) {
2109
+ l.regexp_eatReverseSolidusAtomEscape = function(e) {
2095
2110
  var t = e.pos;
2096
2111
  if (e.eat(92)) {
2097
2112
  if (this.regexp_eatAtomEscape(e)) return true;
@@ -2099,86 +2114,115 @@ c.regexp_eatReverseSolidusAtomEscape = function(e) {
2099
2114
  }
2100
2115
  return false;
2101
2116
  };
2102
- c.regexp_eatUncapturingGroup = function(e) {
2117
+ l.regexp_eatUncapturingGroup = function(e) {
2103
2118
  var t = e.pos;
2104
2119
  if (e.eat(40)) {
2105
- if (e.eat(63) && e.eat(58)) {
2106
- if (this.regexp_disjunction(e), e.eat(41)) return true;
2107
- e.raise("Unterminated group");
2120
+ if (e.eat(63)) {
2121
+ if (this.options.ecmaVersion >= 16) {
2122
+ var i = this.regexp_eatModifiers(e), s = e.eat(45);
2123
+ if (i || s) {
2124
+ for (var r = 0; r < i.length; r++) {
2125
+ var n = i.charAt(r);
2126
+ i.indexOf(n, r + 1) > -1 && e.raise("Duplicate regular expression modifiers");
2127
+ }
2128
+ if (s) {
2129
+ var o = this.regexp_eatModifiers(e);
2130
+ !i && !o && e.current() === 58 && e.raise("Invalid regular expression modifiers");
2131
+ for (var p = 0; p < o.length; p++) {
2132
+ var u = o.charAt(p);
2133
+ (o.indexOf(u, p + 1) > -1 || i.indexOf(u) > -1) && e.raise("Duplicate regular expression modifiers");
2134
+ }
2135
+ }
2136
+ }
2137
+ }
2138
+ if (e.eat(58)) {
2139
+ if (this.regexp_disjunction(e), e.eat(41)) return true;
2140
+ e.raise("Unterminated group");
2141
+ }
2108
2142
  }
2109
2143
  e.pos = t;
2110
2144
  }
2111
2145
  return false;
2112
2146
  };
2113
- c.regexp_eatCapturingGroup = function(e) {
2147
+ l.regexp_eatCapturingGroup = function(e) {
2114
2148
  if (e.eat(40)) {
2115
2149
  if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(e) : e.current() === 63 && e.raise("Invalid group"), this.regexp_disjunction(e), e.eat(41)) return e.numCapturingParens += 1, true;
2116
2150
  e.raise("Unterminated group");
2117
2151
  }
2118
2152
  return false;
2119
2153
  };
2120
- c.regexp_eatExtendedAtom = function(e) {
2154
+ l.regexp_eatModifiers = function(e) {
2155
+ for (var t = "", i = 0; (i = e.current()) !== -1 && us(i); ) t += G(i), e.advance();
2156
+ return t;
2157
+ };
2158
+ function us(e) {
2159
+ return e === 105 || e === 109 || e === 115;
2160
+ }
2161
+ l.regexp_eatExtendedAtom = function(e) {
2121
2162
  return e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e) || this.regexp_eatInvalidBracedQuantifier(e) || this.regexp_eatExtendedPatternCharacter(e);
2122
2163
  };
2123
- c.regexp_eatInvalidBracedQuantifier = function(e) {
2164
+ l.regexp_eatInvalidBracedQuantifier = function(e) {
2124
2165
  return this.regexp_eatBracedQuantifier(e, true) && e.raise("Nothing to repeat"), false;
2125
2166
  };
2126
- c.regexp_eatSyntaxCharacter = function(e) {
2167
+ l.regexp_eatSyntaxCharacter = function(e) {
2127
2168
  var t = e.current();
2128
- return Lt(t) ? (e.lastIntValue = t, e.advance(), true) : false;
2169
+ return Mt(t) ? (e.lastIntValue = t, e.advance(), true) : false;
2129
2170
  };
2130
- function Lt(e) {
2171
+ function Mt(e) {
2131
2172
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
2132
2173
  }
2133
- c.regexp_eatPatternCharacters = function(e) {
2134
- for (var t = e.pos, i = 0; (i = e.current()) !== -1 && !Lt(i); ) e.advance();
2174
+ l.regexp_eatPatternCharacters = function(e) {
2175
+ for (var t = e.pos, i = 0; (i = e.current()) !== -1 && !Mt(i); ) e.advance();
2135
2176
  return e.pos !== t;
2136
2177
  };
2137
- c.regexp_eatExtendedPatternCharacter = function(e) {
2178
+ l.regexp_eatExtendedPatternCharacter = function(e) {
2138
2179
  var t = e.current();
2139
2180
  return t !== -1 && t !== 36 && !(t >= 40 && t <= 43) && t !== 46 && t !== 63 && t !== 91 && t !== 94 && t !== 124 ? (e.advance(), true) : false;
2140
2181
  };
2141
- c.regexp_groupSpecifier = function(e) {
2182
+ l.regexp_groupSpecifier = function(e) {
2142
2183
  if (e.eat(63)) {
2143
- if (this.regexp_eatGroupName(e)) {
2144
- e.groupNames.indexOf(e.lastStringValue) !== -1 && e.raise("Duplicate capture group name"), e.groupNames.push(e.lastStringValue);
2145
- return;
2184
+ this.regexp_eatGroupName(e) || e.raise("Invalid group");
2185
+ var t = this.options.ecmaVersion >= 16, i = e.groupNames[e.lastStringValue];
2186
+ if (i) if (t) for (var s = 0, r = i; s < r.length; s += 1) {
2187
+ var n = r[s];
2188
+ n.separatedFrom(e.branchID) || e.raise("Duplicate capture group name");
2146
2189
  }
2147
- e.raise("Invalid group");
2190
+ else e.raise("Duplicate capture group name");
2191
+ t ? (i || (e.groupNames[e.lastStringValue] = [])).push(e.branchID) : e.groupNames[e.lastStringValue] = true;
2148
2192
  }
2149
2193
  };
2150
- c.regexp_eatGroupName = function(e) {
2194
+ l.regexp_eatGroupName = function(e) {
2151
2195
  if (e.lastStringValue = "", e.eat(60)) {
2152
2196
  if (this.regexp_eatRegExpIdentifierName(e) && e.eat(62)) return true;
2153
2197
  e.raise("Invalid capture group name");
2154
2198
  }
2155
2199
  return false;
2156
2200
  };
2157
- c.regexp_eatRegExpIdentifierName = function(e) {
2201
+ l.regexp_eatRegExpIdentifierName = function(e) {
2158
2202
  if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
2159
- for (e.lastStringValue += K(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e); ) e.lastStringValue += K(e.lastIntValue);
2203
+ for (e.lastStringValue += G(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e); ) e.lastStringValue += G(e.lastIntValue);
2160
2204
  return true;
2161
2205
  }
2162
2206
  return false;
2163
2207
  };
2164
- c.regexp_eatRegExpIdentifierStart = function(e) {
2208
+ l.regexp_eatRegExpIdentifierStart = function(e) {
2165
2209
  var t = e.pos, i = this.options.ecmaVersion >= 11, s = e.current(i);
2166
- return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), zi(s) ? (e.lastIntValue = s, true) : (e.pos = t, false);
2210
+ return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), ps(s) ? (e.lastIntValue = s, true) : (e.pos = t, false);
2167
2211
  };
2168
- function zi(e) {
2169
- return U(e, true) || e === 36 || e === 95;
2212
+ function ps(e) {
2213
+ return M(e, true) || e === 36 || e === 95;
2170
2214
  }
2171
- c.regexp_eatRegExpIdentifierPart = function(e) {
2215
+ l.regexp_eatRegExpIdentifierPart = function(e) {
2172
2216
  var t = e.pos, i = this.options.ecmaVersion >= 11, s = e.current(i);
2173
- return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), Hi(s) ? (e.lastIntValue = s, true) : (e.pos = t, false);
2217
+ return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), hs(s) ? (e.lastIntValue = s, true) : (e.pos = t, false);
2174
2218
  };
2175
- function Hi(e) {
2176
- return H(e, true) || e === 36 || e === 95 || e === 8204 || e === 8205;
2219
+ function hs(e) {
2220
+ return K(e, true) || e === 36 || e === 95 || e === 8204 || e === 8205;
2177
2221
  }
2178
- c.regexp_eatAtomEscape = function(e) {
2222
+ l.regexp_eatAtomEscape = function(e) {
2179
2223
  return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this.regexp_eatKGroupName(e) ? true : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), false);
2180
2224
  };
2181
- c.regexp_eatBackReference = function(e) {
2225
+ l.regexp_eatBackReference = function(e) {
2182
2226
  var t = e.pos;
2183
2227
  if (this.regexp_eatDecimalEscape(e)) {
2184
2228
  var i = e.lastIntValue;
@@ -2188,17 +2232,17 @@ c.regexp_eatBackReference = function(e) {
2188
2232
  }
2189
2233
  return false;
2190
2234
  };
2191
- c.regexp_eatKGroupName = function(e) {
2235
+ l.regexp_eatKGroupName = function(e) {
2192
2236
  if (e.eat(107)) {
2193
2237
  if (this.regexp_eatGroupName(e)) return e.backReferenceNames.push(e.lastStringValue), true;
2194
2238
  e.raise("Invalid named reference");
2195
2239
  }
2196
2240
  return false;
2197
2241
  };
2198
- c.regexp_eatCharacterEscape = function(e) {
2242
+ l.regexp_eatCharacterEscape = function(e) {
2199
2243
  return this.regexp_eatControlEscape(e) || this.regexp_eatCControlLetter(e) || this.regexp_eatZero(e) || this.regexp_eatHexEscapeSequence(e) || this.regexp_eatRegExpUnicodeEscapeSequence(e, false) || !e.switchU && this.regexp_eatLegacyOctalEscapeSequence(e) || this.regexp_eatIdentityEscape(e);
2200
2244
  };
2201
- c.regexp_eatCControlLetter = function(e) {
2245
+ l.regexp_eatCControlLetter = function(e) {
2202
2246
  var t = e.pos;
2203
2247
  if (e.eat(99)) {
2204
2248
  if (this.regexp_eatControlLetter(e)) return true;
@@ -2206,21 +2250,21 @@ c.regexp_eatCControlLetter = function(e) {
2206
2250
  }
2207
2251
  return false;
2208
2252
  };
2209
- c.regexp_eatZero = function(e) {
2210
- return e.current() === 48 && !ge(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), true) : false;
2253
+ l.regexp_eatZero = function(e) {
2254
+ return e.current() === 48 && !Te(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), true) : false;
2211
2255
  };
2212
- c.regexp_eatControlEscape = function(e) {
2256
+ l.regexp_eatControlEscape = function(e) {
2213
2257
  var t = e.current();
2214
2258
  return t === 116 ? (e.lastIntValue = 9, e.advance(), true) : t === 110 ? (e.lastIntValue = 10, e.advance(), true) : t === 118 ? (e.lastIntValue = 11, e.advance(), true) : t === 102 ? (e.lastIntValue = 12, e.advance(), true) : t === 114 ? (e.lastIntValue = 13, e.advance(), true) : false;
2215
2259
  };
2216
- c.regexp_eatControlLetter = function(e) {
2260
+ l.regexp_eatControlLetter = function(e) {
2217
2261
  var t = e.current();
2218
- return Rt(t) ? (e.lastIntValue = t % 32, e.advance(), true) : false;
2262
+ return jt(t) ? (e.lastIntValue = t % 32, e.advance(), true) : false;
2219
2263
  };
2220
- function Rt(e) {
2264
+ function jt(e) {
2221
2265
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
2222
2266
  }
2223
- c.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2267
+ l.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2224
2268
  t === void 0 && (t = false);
2225
2269
  var i = e.pos, s = t || e.switchU;
2226
2270
  if (e.eat(117)) {
@@ -2236,20 +2280,20 @@ c.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2236
2280
  }
2237
2281
  return true;
2238
2282
  }
2239
- if (s && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && Qi(e.lastIntValue)) return true;
2283
+ if (s && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && cs(e.lastIntValue)) return true;
2240
2284
  s && e.raise("Invalid unicode escape"), e.pos = i;
2241
2285
  }
2242
2286
  return false;
2243
2287
  };
2244
- function Qi(e) {
2288
+ function cs(e) {
2245
2289
  return e >= 0 && e <= 1114111;
2246
2290
  }
2247
- c.regexp_eatIdentityEscape = function(e) {
2291
+ l.regexp_eatIdentityEscape = function(e) {
2248
2292
  if (e.switchU) return this.regexp_eatSyntaxCharacter(e) ? true : e.eat(47) ? (e.lastIntValue = 47, true) : false;
2249
2293
  var t = e.current();
2250
2294
  return t !== 99 && (!e.switchN || t !== 107) ? (e.lastIntValue = t, e.advance(), true) : false;
2251
2295
  };
2252
- c.regexp_eatDecimalEscape = function(e) {
2296
+ l.regexp_eatDecimalEscape = function(e) {
2253
2297
  e.lastIntValue = 0;
2254
2298
  var t = e.current();
2255
2299
  if (t >= 49 && t <= 57) {
@@ -2260,25 +2304,25 @@ c.regexp_eatDecimalEscape = function(e) {
2260
2304
  }
2261
2305
  return false;
2262
2306
  };
2263
- var Ot = 0;
2307
+ var Ut = 0;
2264
2308
  var q = 1;
2265
- var L = 2;
2266
- c.regexp_eatCharacterClassEscape = function(e) {
2309
+ var B = 2;
2310
+ l.regexp_eatCharacterClassEscape = function(e) {
2267
2311
  var t = e.current();
2268
- if (Yi(t)) return e.lastIntValue = -1, e.advance(), q;
2312
+ if (ls(t)) return e.lastIntValue = -1, e.advance(), q;
2269
2313
  var i = false;
2270
2314
  if (e.switchU && this.options.ecmaVersion >= 9 && ((i = t === 80) || t === 112)) {
2271
2315
  e.lastIntValue = -1, e.advance();
2272
2316
  var s;
2273
- if (e.eat(123) && (s = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return i && s === L && e.raise("Invalid property name"), s;
2317
+ if (e.eat(123) && (s = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return i && s === B && e.raise("Invalid property name"), s;
2274
2318
  e.raise("Invalid property name");
2275
2319
  }
2276
- return Ot;
2320
+ return Ut;
2277
2321
  };
2278
- function Yi(e) {
2322
+ function ls(e) {
2279
2323
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
2280
2324
  }
2281
- c.regexp_eatUnicodePropertyValueExpression = function(e) {
2325
+ l.regexp_eatUnicodePropertyValueExpression = function(e) {
2282
2326
  var t = e.pos;
2283
2327
  if (this.regexp_eatUnicodePropertyName(e) && e.eat(61)) {
2284
2328
  var i = e.lastStringValue;
@@ -2291,46 +2335,46 @@ c.regexp_eatUnicodePropertyValueExpression = function(e) {
2291
2335
  var r = e.lastStringValue;
2292
2336
  return this.regexp_validateUnicodePropertyNameOrValue(e, r);
2293
2337
  }
2294
- return Ot;
2338
+ return Ut;
2295
2339
  };
2296
- c.regexp_validateUnicodePropertyNameAndValue = function(e, t, i) {
2297
- se(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(i) || e.raise("Invalid property value");
2340
+ l.regexp_validateUnicodePropertyNameAndValue = function(e, t, i) {
2341
+ $(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(i) || e.raise("Invalid property value");
2298
2342
  };
2299
- c.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2343
+ l.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2300
2344
  if (e.unicodeProperties.binary.test(t)) return q;
2301
- if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return L;
2345
+ if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return B;
2302
2346
  e.raise("Invalid property name");
2303
2347
  };
2304
- c.regexp_eatUnicodePropertyName = function(e) {
2348
+ l.regexp_eatUnicodePropertyName = function(e) {
2305
2349
  var t = 0;
2306
- for (e.lastStringValue = ""; Bt(t = e.current()); ) e.lastStringValue += K(t), e.advance();
2350
+ for (e.lastStringValue = ""; Gt(t = e.current()); ) e.lastStringValue += G(t), e.advance();
2307
2351
  return e.lastStringValue !== "";
2308
2352
  };
2309
- function Bt(e) {
2310
- return Rt(e) || e === 95;
2353
+ function Gt(e) {
2354
+ return jt(e) || e === 95;
2311
2355
  }
2312
- c.regexp_eatUnicodePropertyValue = function(e) {
2356
+ l.regexp_eatUnicodePropertyValue = function(e) {
2313
2357
  var t = 0;
2314
- for (e.lastStringValue = ""; $i(t = e.current()); ) e.lastStringValue += K(t), e.advance();
2358
+ for (e.lastStringValue = ""; fs(t = e.current()); ) e.lastStringValue += G(t), e.advance();
2315
2359
  return e.lastStringValue !== "";
2316
2360
  };
2317
- function $i(e) {
2318
- return Bt(e) || ge(e);
2361
+ function fs(e) {
2362
+ return Gt(e) || Te(e);
2319
2363
  }
2320
- c.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2364
+ l.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2321
2365
  return this.regexp_eatUnicodePropertyValue(e);
2322
2366
  };
2323
- c.regexp_eatCharacterClass = function(e) {
2367
+ l.regexp_eatCharacterClass = function(e) {
2324
2368
  if (e.eat(91)) {
2325
2369
  var t = e.eat(94), i = this.regexp_classContents(e);
2326
- return e.eat(93) || e.raise("Unterminated character class"), t && i === L && e.raise("Negated character class may contain strings"), true;
2370
+ return e.eat(93) || e.raise("Unterminated character class"), t && i === B && e.raise("Negated character class may contain strings"), true;
2327
2371
  }
2328
2372
  return false;
2329
2373
  };
2330
- c.regexp_classContents = function(e) {
2374
+ l.regexp_classContents = function(e) {
2331
2375
  return e.current() === 93 ? q : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), q);
2332
2376
  };
2333
- c.regexp_nonEmptyClassRanges = function(e) {
2377
+ l.regexp_nonEmptyClassRanges = function(e) {
2334
2378
  for (; this.regexp_eatClassAtom(e); ) {
2335
2379
  var t = e.lastIntValue;
2336
2380
  if (e.eat(45) && this.regexp_eatClassAtom(e)) {
@@ -2339,20 +2383,20 @@ c.regexp_nonEmptyClassRanges = function(e) {
2339
2383
  }
2340
2384
  }
2341
2385
  };
2342
- c.regexp_eatClassAtom = function(e) {
2386
+ l.regexp_eatClassAtom = function(e) {
2343
2387
  var t = e.pos;
2344
2388
  if (e.eat(92)) {
2345
2389
  if (this.regexp_eatClassEscape(e)) return true;
2346
2390
  if (e.switchU) {
2347
2391
  var i = e.current();
2348
- (i === 99 || Mt(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2392
+ (i === 99 || Ht(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2349
2393
  }
2350
2394
  e.pos = t;
2351
2395
  }
2352
2396
  var s = e.current();
2353
2397
  return s !== 93 ? (e.lastIntValue = s, e.advance(), true) : false;
2354
2398
  };
2355
- c.regexp_eatClassEscape = function(e) {
2399
+ l.regexp_eatClassEscape = function(e) {
2356
2400
  var t = e.pos;
2357
2401
  if (e.eat(98)) return e.lastIntValue = 8, true;
2358
2402
  if (e.switchU && e.eat(45)) return e.lastIntValue = 45, true;
@@ -2362,13 +2406,13 @@ c.regexp_eatClassEscape = function(e) {
2362
2406
  }
2363
2407
  return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
2364
2408
  };
2365
- c.regexp_classSetExpression = function(e) {
2409
+ l.regexp_classSetExpression = function(e) {
2366
2410
  var t = q, i;
2367
2411
  if (!this.regexp_eatClassSetRange(e)) if (i = this.regexp_eatClassSetOperand(e)) {
2368
- i === L && (t = L);
2412
+ i === B && (t = B);
2369
2413
  for (var s = e.pos; e.eatChars([38, 38]); ) {
2370
2414
  if (e.current() !== 38 && (i = this.regexp_eatClassSetOperand(e))) {
2371
- i !== L && (t = q);
2415
+ i !== B && (t = q);
2372
2416
  continue;
2373
2417
  }
2374
2418
  e.raise("Invalid character in character class");
@@ -2379,10 +2423,10 @@ c.regexp_classSetExpression = function(e) {
2379
2423
  } else e.raise("Invalid character in character class");
2380
2424
  for (; ; ) if (!this.regexp_eatClassSetRange(e)) {
2381
2425
  if (i = this.regexp_eatClassSetOperand(e), !i) return t;
2382
- i === L && (t = L);
2426
+ i === B && (t = B);
2383
2427
  }
2384
2428
  };
2385
- c.regexp_eatClassSetRange = function(e) {
2429
+ l.regexp_eatClassSetRange = function(e) {
2386
2430
  var t = e.pos;
2387
2431
  if (this.regexp_eatClassSetCharacter(e)) {
2388
2432
  var i = e.lastIntValue;
@@ -2394,14 +2438,14 @@ c.regexp_eatClassSetRange = function(e) {
2394
2438
  }
2395
2439
  return false;
2396
2440
  };
2397
- c.regexp_eatClassSetOperand = function(e) {
2441
+ l.regexp_eatClassSetOperand = function(e) {
2398
2442
  return this.regexp_eatClassSetCharacter(e) ? q : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
2399
2443
  };
2400
- c.regexp_eatNestedClass = function(e) {
2444
+ l.regexp_eatNestedClass = function(e) {
2401
2445
  var t = e.pos;
2402
2446
  if (e.eat(91)) {
2403
2447
  var i = e.eat(94), s = this.regexp_classContents(e);
2404
- if (e.eat(93)) return i && s === L && e.raise("Negated character class may contain strings"), s;
2448
+ if (e.eat(93)) return i && s === B && e.raise("Negated character class may contain strings"), s;
2405
2449
  e.pos = t;
2406
2450
  }
2407
2451
  if (e.eat(92)) {
@@ -2411,7 +2455,7 @@ c.regexp_eatNestedClass = function(e) {
2411
2455
  }
2412
2456
  return null;
2413
2457
  };
2414
- c.regexp_eatClassStringDisjunction = function(e) {
2458
+ l.regexp_eatClassStringDisjunction = function(e) {
2415
2459
  var t = e.pos;
2416
2460
  if (e.eatChars([92, 113])) {
2417
2461
  if (e.eat(123)) {
@@ -2422,38 +2466,38 @@ c.regexp_eatClassStringDisjunction = function(e) {
2422
2466
  }
2423
2467
  return null;
2424
2468
  };
2425
- c.regexp_classStringDisjunctionContents = function(e) {
2426
- for (var t = this.regexp_classString(e); e.eat(124); ) this.regexp_classString(e) === L && (t = L);
2469
+ l.regexp_classStringDisjunctionContents = function(e) {
2470
+ for (var t = this.regexp_classString(e); e.eat(124); ) this.regexp_classString(e) === B && (t = B);
2427
2471
  return t;
2428
2472
  };
2429
- c.regexp_classString = function(e) {
2473
+ l.regexp_classString = function(e) {
2430
2474
  for (var t = 0; this.regexp_eatClassSetCharacter(e); ) t++;
2431
- return t === 1 ? q : L;
2475
+ return t === 1 ? q : B;
2432
2476
  };
2433
- c.regexp_eatClassSetCharacter = function(e) {
2477
+ l.regexp_eatClassSetCharacter = function(e) {
2434
2478
  var t = e.pos;
2435
2479
  if (e.eat(92)) return this.regexp_eatCharacterEscape(e) || this.regexp_eatClassSetReservedPunctuator(e) ? true : e.eat(98) ? (e.lastIntValue = 8, true) : (e.pos = t, false);
2436
2480
  var i = e.current();
2437
- return i < 0 || i === e.lookahead() && Zi(i) || es(i) ? false : (e.advance(), e.lastIntValue = i, true);
2481
+ return i < 0 || i === e.lookahead() && ds(i) || ms(i) ? false : (e.advance(), e.lastIntValue = i, true);
2438
2482
  };
2439
- function Zi(e) {
2483
+ function ds(e) {
2440
2484
  return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
2441
2485
  }
2442
- function es(e) {
2486
+ function ms(e) {
2443
2487
  return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
2444
2488
  }
2445
- c.regexp_eatClassSetReservedPunctuator = function(e) {
2489
+ l.regexp_eatClassSetReservedPunctuator = function(e) {
2446
2490
  var t = e.current();
2447
- return ts(t) ? (e.lastIntValue = t, e.advance(), true) : false;
2491
+ return xs(t) ? (e.lastIntValue = t, e.advance(), true) : false;
2448
2492
  };
2449
- function ts(e) {
2493
+ function xs(e) {
2450
2494
  return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
2451
2495
  }
2452
- c.regexp_eatClassControlLetter = function(e) {
2496
+ l.regexp_eatClassControlLetter = function(e) {
2453
2497
  var t = e.current();
2454
- return ge(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), true) : false;
2498
+ return Te(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), true) : false;
2455
2499
  };
2456
- c.regexp_eatHexEscapeSequence = function(e) {
2500
+ l.regexp_eatHexEscapeSequence = function(e) {
2457
2501
  var t = e.pos;
2458
2502
  if (e.eat(120)) {
2459
2503
  if (this.regexp_eatFixedHexDigits(e, 2)) return true;
@@ -2461,26 +2505,26 @@ c.regexp_eatHexEscapeSequence = function(e) {
2461
2505
  }
2462
2506
  return false;
2463
2507
  };
2464
- c.regexp_eatDecimalDigits = function(e) {
2508
+ l.regexp_eatDecimalDigits = function(e) {
2465
2509
  var t = e.pos, i = 0;
2466
- for (e.lastIntValue = 0; ge(i = e.current()); ) e.lastIntValue = 10 * e.lastIntValue + (i - 48), e.advance();
2510
+ for (e.lastIntValue = 0; Te(i = e.current()); ) e.lastIntValue = 10 * e.lastIntValue + (i - 48), e.advance();
2467
2511
  return e.pos !== t;
2468
2512
  };
2469
- function ge(e) {
2513
+ function Te(e) {
2470
2514
  return e >= 48 && e <= 57;
2471
2515
  }
2472
- c.regexp_eatHexDigits = function(e) {
2516
+ l.regexp_eatHexDigits = function(e) {
2473
2517
  var t = e.pos, i = 0;
2474
- for (e.lastIntValue = 0; Dt(i = e.current()); ) e.lastIntValue = 16 * e.lastIntValue + Ft(i), e.advance();
2518
+ for (e.lastIntValue = 0; qt(i = e.current()); ) e.lastIntValue = 16 * e.lastIntValue + Jt(i), e.advance();
2475
2519
  return e.pos !== t;
2476
2520
  };
2477
- function Dt(e) {
2521
+ function qt(e) {
2478
2522
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
2479
2523
  }
2480
- function Ft(e) {
2524
+ function Jt(e) {
2481
2525
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
2482
2526
  }
2483
- c.regexp_eatLegacyOctalEscapeSequence = function(e) {
2527
+ l.regexp_eatLegacyOctalEscapeSequence = function(e) {
2484
2528
  if (this.regexp_eatOctalDigit(e)) {
2485
2529
  var t = e.lastIntValue;
2486
2530
  if (this.regexp_eatOctalDigit(e)) {
@@ -2491,34 +2535,34 @@ c.regexp_eatLegacyOctalEscapeSequence = function(e) {
2491
2535
  }
2492
2536
  return false;
2493
2537
  };
2494
- c.regexp_eatOctalDigit = function(e) {
2538
+ l.regexp_eatOctalDigit = function(e) {
2495
2539
  var t = e.current();
2496
- return Mt(t) ? (e.lastIntValue = t - 48, e.advance(), true) : (e.lastIntValue = 0, false);
2540
+ return Ht(t) ? (e.lastIntValue = t - 48, e.advance(), true) : (e.lastIntValue = 0, false);
2497
2541
  };
2498
- function Mt(e) {
2542
+ function Ht(e) {
2499
2543
  return e >= 48 && e <= 55;
2500
2544
  }
2501
- c.regexp_eatFixedHexDigits = function(e, t) {
2545
+ l.regexp_eatFixedHexDigits = function(e, t) {
2502
2546
  var i = e.pos;
2503
2547
  e.lastIntValue = 0;
2504
2548
  for (var s = 0; s < t; ++s) {
2505
2549
  var r = e.current();
2506
- if (!Dt(r)) return e.pos = i, false;
2507
- e.lastIntValue = 16 * e.lastIntValue + Ft(r), e.advance();
2550
+ if (!qt(r)) return e.pos = i, false;
2551
+ e.lastIntValue = 16 * e.lastIntValue + Jt(r), e.advance();
2508
2552
  }
2509
2553
  return true;
2510
2554
  };
2511
- var qe = function(t) {
2512
- this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new me(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
2555
+ var Ke = function(t) {
2556
+ this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new ge(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
2513
2557
  };
2514
- var v = T.prototype;
2515
- v.next = function(e) {
2516
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new qe(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2558
+ var b = E.prototype;
2559
+ b.next = function(e) {
2560
+ !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Ke(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2517
2561
  };
2518
- v.getToken = function() {
2519
- return this.next(), new qe(this);
2562
+ b.getToken = function() {
2563
+ return this.next(), new Ke(this);
2520
2564
  };
2521
- typeof Symbol < "u" && (v[Symbol.iterator] = function() {
2565
+ typeof Symbol < "u" && (b[Symbol.iterator] = function() {
2522
2566
  var e = this;
2523
2567
  return {
2524
2568
  next: function() {
@@ -2530,31 +2574,31 @@ typeof Symbol < "u" && (v[Symbol.iterator] = function() {
2530
2574
  }
2531
2575
  };
2532
2576
  });
2533
- v.nextToken = function() {
2577
+ b.nextToken = function() {
2534
2578
  var e = this.curContext();
2535
2579
  if ((!e || !e.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length) return this.finishToken(a.eof);
2536
2580
  if (e.override) return e.override(this);
2537
2581
  this.readToken(this.fullCharCodeAtPos());
2538
2582
  };
2539
- v.readToken = function(e) {
2540
- return U(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
2583
+ b.readToken = function(e) {
2584
+ return M(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
2541
2585
  };
2542
- v.fullCharCodeAtPos = function() {
2586
+ b.fullCharCodeAtPos = function() {
2543
2587
  var e = this.input.charCodeAt(this.pos);
2544
2588
  if (e <= 55295 || e >= 56320) return e;
2545
2589
  var t = this.input.charCodeAt(this.pos + 1);
2546
2590
  return t <= 56319 || t >= 57344 ? e : (e << 10) + t - 56613888;
2547
2591
  };
2548
- v.skipBlockComment = function() {
2592
+ b.skipBlockComment = function() {
2549
2593
  var e = this.options.onComment && this.curPosition(), t = this.pos, i = this.input.indexOf("*/", this.pos += 2);
2550
- if (i === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i + 2, this.options.locations) for (var s = void 0, r = t; (s = ut(this.input, r, this.pos)) > -1; ) ++this.curLine, r = this.lineStart = s;
2594
+ if (i === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i + 2, this.options.locations) for (var s = void 0, r = t; (s = mt(this.input, r, this.pos)) > -1; ) ++this.curLine, r = this.lineStart = s;
2551
2595
  this.options.onComment && this.options.onComment(true, this.input.slice(t + 2, i), t, this.pos, e, this.curPosition());
2552
2596
  };
2553
- v.skipLineComment = function(e) {
2554
- for (var t = this.pos, i = this.options.onComment && this.curPosition(), s = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !Q(s); ) s = this.input.charCodeAt(++this.pos);
2597
+ b.skipLineComment = function(e) {
2598
+ for (var t = this.pos, i = this.options.onComment && this.curPosition(), s = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !Y(s); ) s = this.input.charCodeAt(++this.pos);
2555
2599
  this.options.onComment && this.options.onComment(false, this.input.slice(t + e, this.pos), t, this.pos, i, this.curPosition());
2556
2600
  };
2557
- v.skipSpace = function() {
2601
+ b.skipSpace = function() {
2558
2602
  e: for (; this.pos < this.input.length; ) {
2559
2603
  var e = this.input.charCodeAt(this.pos);
2560
2604
  switch (e) {
@@ -2582,31 +2626,31 @@ v.skipSpace = function() {
2582
2626
  }
2583
2627
  break;
2584
2628
  default:
2585
- if (e > 8 && e < 14 || e >= 5760 && ht.test(String.fromCharCode(e))) ++this.pos;
2629
+ if (e > 8 && e < 14 || e >= 5760 && xt.test(String.fromCharCode(e))) ++this.pos;
2586
2630
  else break e;
2587
2631
  }
2588
2632
  }
2589
2633
  };
2590
- v.finishToken = function(e, t) {
2634
+ b.finishToken = function(e, t) {
2591
2635
  this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
2592
2636
  var i = this.type;
2593
2637
  this.type = e, this.value = t, this.updateContext(i);
2594
2638
  };
2595
- v.readToken_dot = function() {
2639
+ b.readToken_dot = function() {
2596
2640
  var e = this.input.charCodeAt(this.pos + 1);
2597
2641
  if (e >= 48 && e <= 57) return this.readNumber(true);
2598
2642
  var t = this.input.charCodeAt(this.pos + 2);
2599
2643
  return this.options.ecmaVersion >= 6 && e === 46 && t === 46 ? (this.pos += 3, this.finishToken(a.ellipsis)) : (++this.pos, this.finishToken(a.dot));
2600
2644
  };
2601
- v.readToken_slash = function() {
2645
+ b.readToken_slash = function() {
2602
2646
  var e = this.input.charCodeAt(this.pos + 1);
2603
2647
  return this.exprAllowed ? (++this.pos, this.readRegexp()) : e === 61 ? this.finishOp(a.assign, 2) : this.finishOp(a.slash, 1);
2604
2648
  };
2605
- v.readToken_mult_modulo_exp = function(e) {
2649
+ b.readToken_mult_modulo_exp = function(e) {
2606
2650
  var t = this.input.charCodeAt(this.pos + 1), i = 1, s = e === 42 ? a.star : a.modulo;
2607
2651
  return this.options.ecmaVersion >= 7 && e === 42 && t === 42 && (++i, s = a.starstar, t = this.input.charCodeAt(this.pos + 2)), t === 61 ? this.finishOp(a.assign, i + 1) : this.finishOp(s, i);
2608
2652
  };
2609
- v.readToken_pipe_amp = function(e) {
2653
+ b.readToken_pipe_amp = function(e) {
2610
2654
  var t = this.input.charCodeAt(this.pos + 1);
2611
2655
  if (t === e) {
2612
2656
  if (this.options.ecmaVersion >= 12) {
@@ -2617,23 +2661,23 @@ v.readToken_pipe_amp = function(e) {
2617
2661
  }
2618
2662
  return t === 61 ? this.finishOp(a.assign, 2) : this.finishOp(e === 124 ? a.bitwiseOR : a.bitwiseAND, 1);
2619
2663
  };
2620
- v.readToken_caret = function() {
2664
+ b.readToken_caret = function() {
2621
2665
  var e = this.input.charCodeAt(this.pos + 1);
2622
2666
  return e === 61 ? this.finishOp(a.assign, 2) : this.finishOp(a.bitwiseXOR, 1);
2623
2667
  };
2624
- v.readToken_plus_min = function(e) {
2668
+ b.readToken_plus_min = function(e) {
2625
2669
  var t = this.input.charCodeAt(this.pos + 1);
2626
- return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || R.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(a.incDec, 2) : t === 61 ? this.finishOp(a.assign, 2) : this.finishOp(a.plusMin, 1);
2670
+ return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || V.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(a.incDec, 2) : t === 61 ? this.finishOp(a.assign, 2) : this.finishOp(a.plusMin, 1);
2627
2671
  };
2628
- v.readToken_lt_gt = function(e) {
2672
+ b.readToken_lt_gt = function(e) {
2629
2673
  var t = this.input.charCodeAt(this.pos + 1), i = 1;
2630
2674
  return t === e ? (i = e === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + i) === 61 ? this.finishOp(a.assign, i + 1) : this.finishOp(a.bitShift, i)) : t === 33 && e === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (t === 61 && (i = 2), this.finishOp(a.relational, i));
2631
2675
  };
2632
- v.readToken_eq_excl = function(e) {
2676
+ b.readToken_eq_excl = function(e) {
2633
2677
  var t = this.input.charCodeAt(this.pos + 1);
2634
2678
  return t === 61 ? this.finishOp(a.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : e === 61 && t === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(a.arrow)) : this.finishOp(e === 61 ? a.eq : a.prefix, 1);
2635
2679
  };
2636
- v.readToken_question = function() {
2680
+ b.readToken_question = function() {
2637
2681
  var e = this.options.ecmaVersion;
2638
2682
  if (e >= 11) {
2639
2683
  var t = this.input.charCodeAt(this.pos + 1);
@@ -2651,12 +2695,12 @@ v.readToken_question = function() {
2651
2695
  }
2652
2696
  return this.finishOp(a.question, 1);
2653
2697
  };
2654
- v.readToken_numberSign = function() {
2698
+ b.readToken_numberSign = function() {
2655
2699
  var e = this.options.ecmaVersion, t = 35;
2656
- if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), U(t, true) || t === 92)) return this.finishToken(a.privateId, this.readWord1());
2657
- this.raise(this.pos, "Unexpected character '" + K(t) + "'");
2700
+ if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), M(t, true) || t === 92)) return this.finishToken(a.privateId, this.readWord1());
2701
+ this.raise(this.pos, "Unexpected character '" + G(t) + "'");
2658
2702
  };
2659
- v.getTokenFromCode = function(e) {
2703
+ b.getTokenFromCode = function(e) {
2660
2704
  switch (e) {
2661
2705
  case 46:
2662
2706
  return this.readToken_dot();
@@ -2727,17 +2771,17 @@ v.getTokenFromCode = function(e) {
2727
2771
  case 35:
2728
2772
  return this.readToken_numberSign();
2729
2773
  }
2730
- this.raise(this.pos, "Unexpected character '" + K(e) + "'");
2774
+ this.raise(this.pos, "Unexpected character '" + G(e) + "'");
2731
2775
  };
2732
- v.finishOp = function(e, t) {
2776
+ b.finishOp = function(e, t) {
2733
2777
  var i = this.input.slice(this.pos, this.pos + t);
2734
2778
  return this.pos += t, this.finishToken(e, i);
2735
2779
  };
2736
- v.readRegexp = function() {
2780
+ b.readRegexp = function() {
2737
2781
  for (var e, t, i = this.pos; ; ) {
2738
2782
  this.pos >= this.input.length && this.raise(i, "Unterminated regular expression");
2739
2783
  var s = this.input.charAt(this.pos);
2740
- if (R.test(s) && this.raise(i, "Unterminated regular expression"), e) e = false;
2784
+ if (V.test(s) && this.raise(i, "Unterminated regular expression"), e) e = false;
2741
2785
  else {
2742
2786
  if (s === "[") t = true;
2743
2787
  else if (s === "]" && t) t = false;
@@ -2750,58 +2794,58 @@ v.readRegexp = function() {
2750
2794
  ++this.pos;
2751
2795
  var n = this.pos, o = this.readWord1();
2752
2796
  this.containsEsc && this.unexpected(n);
2753
- var u = this.regexpState || (this.regexpState = new M(this));
2754
- u.reset(i, r, o), this.validateRegExpFlags(u), this.validateRegExpPattern(u);
2755
- var h = null;
2797
+ var p = this.regexpState || (this.regexpState = new U(this));
2798
+ p.reset(i, r, o), this.validateRegExpFlags(p), this.validateRegExpPattern(p);
2799
+ var u = null;
2756
2800
  try {
2757
- h = new RegExp(r, o);
2801
+ u = new RegExp(r, o);
2758
2802
  } catch {
2759
2803
  }
2760
2804
  return this.finishToken(a.regexp, {
2761
2805
  pattern: r,
2762
2806
  flags: o,
2763
- value: h
2807
+ value: u
2764
2808
  });
2765
2809
  };
2766
- v.readInt = function(e, t, i) {
2767
- for (var s = this.options.ecmaVersion >= 12 && t === void 0, r = i && this.input.charCodeAt(this.pos) === 48, n = this.pos, o = 0, u = 0, h = 0, l = t ?? 1 / 0; h < l; ++h, ++this.pos) {
2768
- var x = this.input.charCodeAt(this.pos), _ = void 0;
2769
- if (s && x === 95) {
2770
- r && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), u === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), h === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), u = x;
2810
+ b.readInt = function(e, t, i) {
2811
+ for (var s = this.options.ecmaVersion >= 12 && t === void 0, r = i && this.input.charCodeAt(this.pos) === 48, n = this.pos, o = 0, p = 0, u = 0, c = t ?? 1 / 0; u < c; ++u, ++this.pos) {
2812
+ var f = this.input.charCodeAt(this.pos), v = void 0;
2813
+ if (s && f === 95) {
2814
+ r && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), p === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), u === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), p = f;
2771
2815
  continue;
2772
2816
  }
2773
- if (x >= 97 ? _ = x - 97 + 10 : x >= 65 ? _ = x - 65 + 10 : x >= 48 && x <= 57 ? _ = x - 48 : _ = 1 / 0, _ >= e) break;
2774
- u = x, o = o * e + _;
2817
+ if (f >= 97 ? v = f - 97 + 10 : f >= 65 ? v = f - 65 + 10 : f >= 48 && f <= 57 ? v = f - 48 : v = 1 / 0, v >= e) break;
2818
+ p = f, o = o * e + v;
2775
2819
  }
2776
- return s && u === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === n || t != null && this.pos - n !== t ? null : o;
2820
+ return s && p === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === n || t != null && this.pos - n !== t ? null : o;
2777
2821
  };
2778
- function is(e, t) {
2822
+ function ys(e, t) {
2779
2823
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
2780
2824
  }
2781
- function jt(e) {
2825
+ function Kt(e) {
2782
2826
  return typeof BigInt != "function" ? null : BigInt(e.replace(/_/g, ""));
2783
2827
  }
2784
- v.readRadixNumber = function(e) {
2828
+ b.readRadixNumber = function(e) {
2785
2829
  var t = this.pos;
2786
2830
  this.pos += 2;
2787
2831
  var i = this.readInt(e);
2788
- return i == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = jt(this.input.slice(t, this.pos)), ++this.pos) : U(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(a.num, i);
2832
+ return i == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = Kt(this.input.slice(t, this.pos)), ++this.pos) : M(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(a.num, i);
2789
2833
  };
2790
- v.readNumber = function(e) {
2834
+ b.readNumber = function(e) {
2791
2835
  var t = this.pos;
2792
2836
  !e && this.readInt(10, void 0, true) === null && this.raise(t, "Invalid number");
2793
2837
  var i = this.pos - t >= 2 && this.input.charCodeAt(t) === 48;
2794
2838
  i && this.strict && this.raise(t, "Invalid number");
2795
2839
  var s = this.input.charCodeAt(this.pos);
2796
2840
  if (!i && !e && this.options.ecmaVersion >= 11 && s === 110) {
2797
- var r = jt(this.input.slice(t, this.pos));
2798
- return ++this.pos, U(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(a.num, r);
2841
+ var r = Kt(this.input.slice(t, this.pos));
2842
+ return ++this.pos, M(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(a.num, r);
2799
2843
  }
2800
- i && /[89]/.test(this.input.slice(t, this.pos)) && (i = false), s === 46 && !i && (++this.pos, this.readInt(10), s = this.input.charCodeAt(this.pos)), (s === 69 || s === 101) && !i && (s = this.input.charCodeAt(++this.pos), (s === 43 || s === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), U(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
2801
- var n = is(this.input.slice(t, this.pos), i);
2844
+ i && /[89]/.test(this.input.slice(t, this.pos)) && (i = false), s === 46 && !i && (++this.pos, this.readInt(10), s = this.input.charCodeAt(this.pos)), (s === 69 || s === 101) && !i && (s = this.input.charCodeAt(++this.pos), (s === 43 || s === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), M(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
2845
+ var n = ys(this.input.slice(t, this.pos), i);
2802
2846
  return this.finishToken(a.num, n);
2803
2847
  };
2804
- v.readCodePoint = function() {
2848
+ b.readCodePoint = function() {
2805
2849
  var e = this.input.charCodeAt(this.pos), t;
2806
2850
  if (e === 123) {
2807
2851
  this.options.ecmaVersion < 6 && this.unexpected();
@@ -2810,37 +2854,37 @@ v.readCodePoint = function() {
2810
2854
  } else t = this.readHexChar(4);
2811
2855
  return t;
2812
2856
  };
2813
- v.readString = function(e) {
2857
+ b.readString = function(e) {
2814
2858
  for (var t = "", i = ++this.pos; ; ) {
2815
2859
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
2816
2860
  var s = this.input.charCodeAt(this.pos);
2817
2861
  if (s === e) break;
2818
- s === 92 ? (t += this.input.slice(i, this.pos), t += this.readEscapedChar(false), i = this.pos) : s === 8232 || s === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (Q(s) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
2862
+ s === 92 ? (t += this.input.slice(i, this.pos), t += this.readEscapedChar(false), i = this.pos) : s === 8232 || s === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (Y(s) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
2819
2863
  }
2820
2864
  return t += this.input.slice(i, this.pos++), this.finishToken(a.string, t);
2821
2865
  };
2822
- var Ut = {};
2823
- v.tryReadTemplateToken = function() {
2866
+ var Wt = {};
2867
+ b.tryReadTemplateToken = function() {
2824
2868
  this.inTemplateElement = true;
2825
2869
  try {
2826
2870
  this.readTmplToken();
2827
2871
  } catch (e) {
2828
- if (e === Ut) this.readInvalidTemplateToken();
2872
+ if (e === Wt) this.readInvalidTemplateToken();
2829
2873
  else throw e;
2830
2874
  }
2831
2875
  this.inTemplateElement = false;
2832
2876
  };
2833
- v.invalidStringToken = function(e, t) {
2834
- if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Ut;
2877
+ b.invalidStringToken = function(e, t) {
2878
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Wt;
2835
2879
  this.raise(e, t);
2836
2880
  };
2837
- v.readTmplToken = function() {
2881
+ b.readTmplToken = function() {
2838
2882
  for (var e = "", t = this.pos; ; ) {
2839
2883
  this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
2840
2884
  var i = this.input.charCodeAt(this.pos);
2841
2885
  if (i === 96 || i === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === a.template || this.type === a.invalidTemplate) ? i === 36 ? (this.pos += 2, this.finishToken(a.dollarBraceL)) : (++this.pos, this.finishToken(a.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(a.template, e));
2842
2886
  if (i === 92) e += this.input.slice(t, this.pos), e += this.readEscapedChar(true), t = this.pos;
2843
- else if (Q(i)) {
2887
+ else if (Y(i)) {
2844
2888
  switch (e += this.input.slice(t, this.pos), ++this.pos, i) {
2845
2889
  case 13:
2846
2890
  this.input.charCodeAt(this.pos) === 10 && ++this.pos;
@@ -2856,7 +2900,7 @@ v.readTmplToken = function() {
2856
2900
  } else ++this.pos;
2857
2901
  }
2858
2902
  };
2859
- v.readInvalidTemplateToken = function() {
2903
+ b.readInvalidTemplateToken = function() {
2860
2904
  for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) {
2861
2905
  case "\\":
2862
2906
  ++this.pos;
@@ -2865,10 +2909,19 @@ v.readInvalidTemplateToken = function() {
2865
2909
  if (this.input[this.pos + 1] !== "{") break;
2866
2910
  case "`":
2867
2911
  return this.finishToken(a.invalidTemplate, this.input.slice(this.start, this.pos));
2912
+ case "\r":
2913
+ this.input[this.pos + 1] === `
2914
+ ` && ++this.pos;
2915
+ case `
2916
+ `:
2917
+ case "\u2028":
2918
+ case "\u2029":
2919
+ ++this.curLine, this.lineStart = this.pos + 1;
2920
+ break;
2868
2921
  }
2869
2922
  this.raise(this.start, "Unterminated template");
2870
2923
  };
2871
- v.readEscapedChar = function(e) {
2924
+ b.readEscapedChar = function(e) {
2872
2925
  var t = this.input.charCodeAt(++this.pos);
2873
2926
  switch (++this.pos, t) {
2874
2927
  case 110:
@@ -2879,7 +2932,7 @@ v.readEscapedChar = function(e) {
2879
2932
  case 120:
2880
2933
  return String.fromCharCode(this.readHexChar(2));
2881
2934
  case 117:
2882
- return K(this.readCodePoint());
2935
+ return G(this.readCodePoint());
2883
2936
  case 116:
2884
2937
  return " ";
2885
2938
  case 98:
@@ -2903,62 +2956,62 @@ v.readEscapedChar = function(e) {
2903
2956
  var s = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], r = parseInt(s, 8);
2904
2957
  return r > 255 && (s = s.slice(0, -1), r = parseInt(s, 8)), this.pos += s.length - 1, t = this.input.charCodeAt(this.pos), (s !== "0" || t === 56 || t === 57) && (this.strict || e) && this.invalidStringToken(this.pos - 1 - s.length, e ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(r);
2905
2958
  }
2906
- return Q(t) ? "" : String.fromCharCode(t);
2959
+ return Y(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
2907
2960
  }
2908
2961
  };
2909
- v.readHexChar = function(e) {
2962
+ b.readHexChar = function(e) {
2910
2963
  var t = this.pos, i = this.readInt(16, e);
2911
2964
  return i === null && this.invalidStringToken(t, "Bad character escape sequence"), i;
2912
2965
  };
2913
- v.readWord1 = function() {
2966
+ b.readWord1 = function() {
2914
2967
  this.containsEsc = false;
2915
2968
  for (var e = "", t = true, i = this.pos, s = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
2916
2969
  var r = this.fullCharCodeAtPos();
2917
- if (H(r, s)) this.pos += r <= 65535 ? 1 : 2;
2970
+ if (K(r, s)) this.pos += r <= 65535 ? 1 : 2;
2918
2971
  else if (r === 92) {
2919
2972
  this.containsEsc = true, e += this.input.slice(i, this.pos);
2920
2973
  var n = this.pos;
2921
2974
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
2922
2975
  var o = this.readCodePoint();
2923
- (t ? U : H)(o, s) || this.invalidStringToken(n, "Invalid Unicode escape"), e += K(o), i = this.pos;
2976
+ (t ? M : K)(o, s) || this.invalidStringToken(n, "Invalid Unicode escape"), e += G(o), i = this.pos;
2924
2977
  } else break;
2925
2978
  t = false;
2926
2979
  }
2927
2980
  return e + this.input.slice(i, this.pos);
2928
2981
  };
2929
- v.readWord = function() {
2982
+ b.readWord = function() {
2930
2983
  var e = this.readWord1(), t = a.name;
2931
- return this.keywords.test(e) && (t = Oe[e]), this.finishToken(t, e);
2932
- };
2933
- var ss = "8.11.3";
2934
- T.acorn = {
2935
- Parser: T,
2936
- version: ss,
2937
- defaultOptions: Le,
2938
- Position: te,
2939
- SourceLocation: me,
2940
- getLineInfo: ct,
2941
- Node: ye,
2942
- TokenType: S,
2984
+ return this.keywords.test(e) && (t = je[e]), this.finishToken(t, e);
2985
+ };
2986
+ var gs = "8.15.0";
2987
+ E.acorn = {
2988
+ Parser: E,
2989
+ version: gs,
2990
+ defaultOptions: De,
2991
+ Position: ae,
2992
+ SourceLocation: ge,
2993
+ getLineInfo: gt,
2994
+ Node: _e,
2995
+ TokenType: _,
2943
2996
  tokTypes: a,
2944
- keywordTypes: Oe,
2945
- TokContext: D,
2997
+ keywordTypes: je,
2998
+ TokContext: F,
2946
2999
  tokContexts: C,
2947
- isIdentifierChar: H,
2948
- isIdentifierStart: U,
2949
- Token: qe,
2950
- isNewLine: Q,
2951
- lineBreak: R,
2952
- lineBreakG: Pi,
2953
- nonASCIIwhitespace: ht
2954
- };
2955
- var hi = Ae(Ge());
2956
- function hs(e, t) {
3000
+ isIdentifierChar: K,
3001
+ isIdentifierStart: M,
3002
+ Token: Ke,
3003
+ isNewLine: Y,
3004
+ lineBreak: V,
3005
+ lineBreakG: Ui,
3006
+ nonASCIIwhitespace: xt
3007
+ };
3008
+ var bi = ot(Xe());
3009
+ function Cs(e, t) {
2957
3010
  let i = new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
2958
3011
  return Object.assign(i, t);
2959
3012
  }
2960
- var ve = hs;
2961
- function ps(e) {
3013
+ var Ce = Cs;
3014
+ function Es(e) {
2962
3015
  let t = [];
2963
3016
  for (let i of e) try {
2964
3017
  return i();
@@ -2969,56 +3022,97 @@ function ps(e) {
2969
3022
  errors: t
2970
3023
  });
2971
3024
  }
2972
- var be = ps;
2973
- var cs = (e, t, i) => {
3025
+ var Ee = Es;
3026
+ var ks = (e, t, i) => {
3027
+ if (!(e && t == null)) {
3028
+ if (t.findLast) return t.findLast(i);
3029
+ for (let s = t.length - 1; s >= 0; s--) {
3030
+ let r = t[s];
3031
+ if (i(r, s, t)) return r;
3032
+ }
3033
+ }
3034
+ };
3035
+ var $t = ks;
3036
+ var As = (e, t, i) => {
2974
3037
  if (!(e && t == null)) return Array.isArray(t) || typeof t == "string" ? t[i < 0 ? t.length + i : i] : t.at(i);
2975
3038
  };
2976
- var Ke = cs;
2977
- function ls(e) {
2978
- return Array.isArray(e) && e.length > 0;
2979
- }
2980
- var Wt = ls;
2981
- function P(e) {
3039
+ var te = As;
3040
+ var ws = new Proxy(() => {
3041
+ }, {
3042
+ get: () => ws
3043
+ });
3044
+ function w(e) {
2982
3045
  var s, r, n;
2983
3046
  let t = ((s = e.range) == null ? void 0 : s[0]) ?? e.start, i = (n = ((r = e.declaration) == null ? void 0 : r.decorators) ?? e.decorators) == null ? void 0 : n[0];
2984
- return i ? Math.min(P(i), t) : t;
3047
+ return i ? Math.min(w(i), t) : t;
2985
3048
  }
2986
- function j(e) {
2987
- var t;
2988
- return ((t = e.range) == null ? void 0 : t[1]) ?? e.end;
3049
+ function k(e) {
3050
+ var i;
3051
+ return ((i = e.range) == null ? void 0 : i[1]) ?? e.end;
2989
3052
  }
2990
- function fs(e) {
3053
+ function Ps(e) {
2991
3054
  let t = new Set(e);
2992
3055
  return (i) => t.has(i == null ? void 0 : i.type);
2993
3056
  }
2994
- var Xt = fs;
2995
- var ds = Xt(["Block", "CommentBlock", "MultiLine"]);
2996
- var oe = ds;
2997
- function ms(e) {
3057
+ var ie = Ps;
3058
+ function Is(e, t, i) {
3059
+ let s = e.originalText.slice(t, i);
3060
+ for (let r of e[Symbol.for("comments")]) {
3061
+ let n = w(r);
3062
+ if (n > i) break;
3063
+ let o = k(r);
3064
+ if (o < t) continue;
3065
+ let p = o - n;
3066
+ s = s.slice(0, n - t) + " ".repeat(p) + s.slice(o - t);
3067
+ }
3068
+ return s;
3069
+ }
3070
+ var Zt = Is;
3071
+ var Ns = ie(["Block", "CommentBlock", "MultiLine"]);
3072
+ var z = Ns;
3073
+ var Ls = ie(["Line", "CommentLine", "SingleLine", "HashbangComment", "HTMLOpen", "HTMLClose", "Hashbang", "InterpreterDirective"]);
3074
+ var ze = Ls;
3075
+ var Qe = /* @__PURE__ */ new WeakMap();
3076
+ function Vs(e) {
3077
+ return Qe.has(e) || Qe.set(e, z(e) && e.value[0] === "*" && /@(?:type|satisfies)\b/u.test(e.value)), Qe.get(e);
3078
+ }
3079
+ var ei = Vs;
3080
+ function Rs(e) {
3081
+ if (!z(e)) return false;
2998
3082
  let t = `*${e.value}*`.split(`
2999
3083
  `);
3000
3084
  return t.length > 1 && t.every((i) => i.trimStart()[0] === "*");
3001
3085
  }
3002
- var We = ms;
3003
- function xs(e) {
3004
- return oe(e) && e.value[0] === "*" && /@(?:type|satisfies)\b/.test(e.value);
3005
- }
3006
- var zt = xs;
3007
- var ue = null;
3008
- function he(e) {
3009
- if (ue !== null && typeof ue.property) {
3010
- let t = ue;
3011
- return ue = he.prototype = null, t;
3012
- }
3013
- return ue = he.prototype = e ?? /* @__PURE__ */ Object.create(null), new he();
3014
- }
3015
- var ys = 10;
3016
- for (let e = 0; e <= ys; e++) he();
3017
- function Xe(e) {
3018
- return he(e);
3019
- }
3020
- function gs(e, t = "type") {
3021
- Xe(e);
3086
+ var Ye = /* @__PURE__ */ new WeakMap();
3087
+ function Os(e) {
3088
+ return Ye.has(e) || Ye.set(e, Rs(e)), Ye.get(e);
3089
+ }
3090
+ var $e = Os;
3091
+ function Bs(e) {
3092
+ if (e.length < 2) return;
3093
+ let t;
3094
+ for (let i = e.length - 1; i >= 0; i--) {
3095
+ let s = e[i];
3096
+ if (t && k(s) === w(t) && $e(s) && $e(t) && (e.splice(i + 1, 1), s.value += "*//*" + t.value, s.range = [w(s), k(t)]), !ze(s) && !z(s)) throw new TypeError(`Unknown comment type: "${s.type}".`);
3097
+ t = s;
3098
+ }
3099
+ }
3100
+ var ti = Bs;
3101
+ var he = null;
3102
+ function ce(e) {
3103
+ if (he !== null && typeof he.property) {
3104
+ let t = he;
3105
+ return he = ce.prototype = null, t;
3106
+ }
3107
+ return he = ce.prototype = e ?? /* @__PURE__ */ Object.create(null), new ce();
3108
+ }
3109
+ var Ds = 10;
3110
+ for (let e = 0; e <= Ds; e++) ce();
3111
+ function Ze(e) {
3112
+ return ce(e);
3113
+ }
3114
+ function Fs(e, t = "type") {
3115
+ Ze(e);
3022
3116
  function i(s) {
3023
3117
  let r = s[t], n = e[r];
3024
3118
  if (!Array.isArray(n)) throw Object.assign(new Error(`Missing visitor keys for '${r}'.`), {
@@ -3028,8 +3122,8 @@ function gs(e, t = "type") {
3028
3122
  }
3029
3123
  return i;
3030
3124
  }
3031
- var Ht = gs;
3032
- var Qt = {
3125
+ var ii = Fs;
3126
+ var si = {
3033
3127
  ArrayExpression: ["elements"],
3034
3128
  AssignmentExpression: ["left", "right"],
3035
3129
  BinaryExpression: ["left", "right"],
@@ -3038,19 +3132,19 @@ var Qt = {
3038
3132
  DirectiveLiteral: [],
3039
3133
  BlockStatement: ["directives", "body"],
3040
3134
  BreakStatement: ["label"],
3041
- CallExpression: ["callee", "arguments", "typeParameters", "typeArguments"],
3135
+ CallExpression: ["callee", "typeParameters", "typeArguments", "arguments"],
3042
3136
  CatchClause: ["param", "body"],
3043
3137
  ConditionalExpression: ["test", "consequent", "alternate"],
3044
3138
  ContinueStatement: ["label"],
3045
3139
  DebuggerStatement: [],
3046
- DoWhileStatement: ["test", "body"],
3140
+ DoWhileStatement: ["body", "test"],
3047
3141
  EmptyStatement: [],
3048
3142
  ExpressionStatement: ["expression"],
3049
3143
  File: ["program"],
3050
3144
  ForInStatement: ["left", "right", "body"],
3051
3145
  ForStatement: ["init", "test", "update", "body"],
3052
- FunctionDeclaration: ["id", "params", "body", "returnType", "typeParameters", "predicate"],
3053
- FunctionExpression: ["id", "params", "body", "returnType", "typeParameters"],
3146
+ FunctionDeclaration: ["id", "typeParameters", "params", "predicate", "returnType", "body"],
3147
+ FunctionExpression: ["id", "typeParameters", "params", "returnType", "body"],
3054
3148
  Identifier: ["typeAnnotation", "decorators"],
3055
3149
  IfStatement: ["test", "consequent", "alternate"],
3056
3150
  LabeledStatement: ["label", "body"],
@@ -3061,11 +3155,11 @@ var Qt = {
3061
3155
  RegExpLiteral: [],
3062
3156
  LogicalExpression: ["left", "right"],
3063
3157
  MemberExpression: ["object", "property"],
3064
- NewExpression: ["callee", "arguments", "typeParameters", "typeArguments"],
3158
+ NewExpression: ["callee", "typeParameters", "typeArguments", "arguments"],
3065
3159
  Program: ["directives", "body"],
3066
3160
  ObjectExpression: ["properties"],
3067
- ObjectMethod: ["key", "params", "body", "decorators", "returnType", "typeParameters"],
3068
- ObjectProperty: ["key", "value", "decorators"],
3161
+ ObjectMethod: ["decorators", "key", "typeParameters", "params", "returnType", "body"],
3162
+ ObjectProperty: ["decorators", "key", "value"],
3069
3163
  RestElement: ["argument", "typeAnnotation", "decorators"],
3070
3164
  ReturnStatement: ["argument"],
3071
3165
  SequenceExpression: ["expressions"],
@@ -3083,10 +3177,10 @@ var Qt = {
3083
3177
  WithStatement: ["object", "body"],
3084
3178
  AssignmentPattern: ["left", "right", "decorators", "typeAnnotation"],
3085
3179
  ArrayPattern: ["elements", "typeAnnotation", "decorators"],
3086
- ArrowFunctionExpression: ["params", "body", "returnType", "typeParameters", "predicate"],
3180
+ ArrowFunctionExpression: ["typeParameters", "params", "predicate", "returnType", "body"],
3087
3181
  ClassBody: ["body"],
3088
- ClassExpression: ["id", "body", "superClass", "mixins", "typeParameters", "superTypeParameters", "implements", "decorators", "superTypeArguments"],
3089
- ClassDeclaration: ["id", "body", "superClass", "mixins", "typeParameters", "superTypeParameters", "implements", "decorators", "superTypeArguments"],
3182
+ ClassExpression: ["decorators", "id", "typeParameters", "superClass", "superTypeParameters", "mixins", "implements", "body", "superTypeArguments"],
3183
+ ClassDeclaration: ["decorators", "id", "typeParameters", "superClass", "superTypeParameters", "mixins", "implements", "body", "superTypeArguments"],
3090
3184
  ExportAllDeclaration: ["source", "attributes", "exported"],
3091
3185
  ExportDefaultDeclaration: ["declaration"],
3092
3186
  ExportNamedDeclaration: ["declaration", "specifiers", "source", "attributes"],
@@ -3095,29 +3189,29 @@ var Qt = {
3095
3189
  ImportDeclaration: ["specifiers", "source", "attributes"],
3096
3190
  ImportDefaultSpecifier: ["local"],
3097
3191
  ImportNamespaceSpecifier: ["local"],
3098
- ImportSpecifier: ["local", "imported"],
3099
- ImportExpression: ["source", "options", "attributes"],
3192
+ ImportSpecifier: ["imported", "local"],
3193
+ ImportExpression: ["source", "options"],
3100
3194
  MetaProperty: ["meta", "property"],
3101
- ClassMethod: ["key", "params", "body", "decorators", "returnType", "typeParameters"],
3102
- ObjectPattern: ["properties", "typeAnnotation", "decorators"],
3195
+ ClassMethod: ["decorators", "key", "typeParameters", "params", "returnType", "body"],
3196
+ ObjectPattern: ["decorators", "properties", "typeAnnotation"],
3103
3197
  SpreadElement: ["argument"],
3104
3198
  Super: [],
3105
- TaggedTemplateExpression: ["tag", "quasi", "typeParameters", "typeArguments"],
3199
+ TaggedTemplateExpression: ["tag", "typeParameters", "quasi", "typeArguments"],
3106
3200
  TemplateElement: [],
3107
3201
  TemplateLiteral: ["quasis", "expressions"],
3108
3202
  YieldExpression: ["argument"],
3109
3203
  AwaitExpression: ["argument"],
3110
- Import: [],
3111
3204
  BigIntLiteral: [],
3112
3205
  ExportNamespaceSpecifier: ["exported"],
3113
3206
  OptionalMemberExpression: ["object", "property"],
3114
- OptionalCallExpression: ["callee", "arguments", "typeParameters", "typeArguments"],
3115
- ClassProperty: ["key", "value", "typeAnnotation", "decorators", "variance"],
3116
- ClassAccessorProperty: ["key", "value", "typeAnnotation", "decorators"],
3117
- ClassPrivateProperty: ["key", "value", "decorators", "typeAnnotation", "variance"],
3118
- ClassPrivateMethod: ["key", "params", "body", "decorators", "returnType", "typeParameters"],
3207
+ OptionalCallExpression: ["callee", "typeParameters", "typeArguments", "arguments"],
3208
+ ClassProperty: ["decorators", "variance", "key", "typeAnnotation", "value"],
3209
+ ClassAccessorProperty: ["decorators", "key", "typeAnnotation", "value"],
3210
+ ClassPrivateProperty: ["decorators", "variance", "key", "typeAnnotation", "value"],
3211
+ ClassPrivateMethod: ["decorators", "key", "typeParameters", "params", "returnType", "body"],
3119
3212
  PrivateName: ["id"],
3120
3213
  StaticBlock: ["body"],
3214
+ ImportAttribute: ["key", "value"],
3121
3215
  AnyTypeAnnotation: [],
3122
3216
  ArrayTypeAnnotation: ["elementType"],
3123
3217
  BooleanTypeAnnotation: [],
@@ -3132,11 +3226,11 @@ var Qt = {
3132
3226
  DeclareTypeAlias: ["id", "typeParameters", "right"],
3133
3227
  DeclareOpaqueType: ["id", "typeParameters", "supertype"],
3134
3228
  DeclareVariable: ["id"],
3135
- DeclareExportDeclaration: ["declaration", "specifiers", "source"],
3136
- DeclareExportAllDeclaration: ["source"],
3229
+ DeclareExportDeclaration: ["declaration", "specifiers", "source", "attributes"],
3230
+ DeclareExportAllDeclaration: ["source", "attributes"],
3137
3231
  DeclaredPredicate: ["value"],
3138
3232
  ExistsTypeAnnotation: [],
3139
- FunctionTypeAnnotation: ["typeParameters", "params", "rest", "returnType", "this"],
3233
+ FunctionTypeAnnotation: ["typeParameters", "this", "params", "rest", "returnType"],
3140
3234
  FunctionTypeParam: ["name", "typeAnnotation"],
3141
3235
  GenericTypeAnnotation: ["id", "typeParameters"],
3142
3236
  InferredPredicate: [],
@@ -3150,13 +3244,13 @@ var Qt = {
3150
3244
  NumberLiteralTypeAnnotation: [],
3151
3245
  NumberTypeAnnotation: [],
3152
3246
  ObjectTypeAnnotation: ["properties", "indexers", "callProperties", "internalSlots"],
3153
- ObjectTypeInternalSlot: ["id", "value", "optional", "static", "method"],
3247
+ ObjectTypeInternalSlot: ["id", "value"],
3154
3248
  ObjectTypeCallProperty: ["value"],
3155
- ObjectTypeIndexer: ["id", "key", "value", "variance"],
3249
+ ObjectTypeIndexer: ["variance", "id", "key", "value"],
3156
3250
  ObjectTypeProperty: ["key", "value", "variance"],
3157
3251
  ObjectTypeSpreadProperty: ["argument"],
3158
3252
  OpaqueType: ["id", "typeParameters", "supertype", "impltype"],
3159
- QualifiedTypeIdentifier: ["id", "qualification"],
3253
+ QualifiedTypeIdentifier: ["qualification", "id"],
3160
3254
  StringLiteralTypeAnnotation: [],
3161
3255
  StringTypeAnnotation: [],
3162
3256
  SymbolTypeAnnotation: [],
@@ -3192,7 +3286,7 @@ var Qt = {
3192
3286
  JSXIdentifier: [],
3193
3287
  JSXMemberExpression: ["object", "property"],
3194
3288
  JSXNamespacedName: ["namespace", "name"],
3195
- JSXOpeningElement: ["name", "attributes", "typeArguments", "typeParameters"],
3289
+ JSXOpeningElement: ["name", "typeParameters", "typeArguments", "attributes"],
3196
3290
  JSXSpreadAttribute: ["argument"],
3197
3291
  JSXText: [],
3198
3292
  JSXFragment: ["openingFragment", "children", "closingFragment"],
@@ -3203,13 +3297,9 @@ var Qt = {
3203
3297
  V8IntrinsicIdentifier: [],
3204
3298
  ArgumentPlaceholder: [],
3205
3299
  BindExpression: ["object", "callee"],
3206
- ImportAttribute: ["key", "value"],
3207
3300
  Decorator: ["expression"],
3208
3301
  DoExpression: ["body"],
3209
3302
  ExportDefaultSpecifier: ["exported"],
3210
- RecordExpression: ["properties"],
3211
- TupleExpression: ["elements"],
3212
- DecimalLiteral: [],
3213
3303
  ModuleExpression: ["body"],
3214
3304
  TopicReference: [],
3215
3305
  PipelineTopicExpression: ["expression"],
@@ -3256,7 +3346,8 @@ var Qt = {
3256
3346
  TSParenthesizedType: ["typeAnnotation"],
3257
3347
  TSTypeOperator: ["typeAnnotation"],
3258
3348
  TSIndexedAccessType: ["objectType", "indexType"],
3259
- TSMappedType: ["typeParameter", "typeAnnotation", "nameType"],
3349
+ TSMappedType: ["nameType", "typeAnnotation", "key", "constraint"],
3350
+ TSTemplateLiteralType: ["quasis", "types"],
3260
3351
  TSLiteralType: ["literal"],
3261
3352
  TSExpressionWithTypeArguments: ["expression", "typeParameters"],
3262
3353
  TSInterfaceDeclaration: ["id", "typeParameters", "extends", "body"],
@@ -3266,11 +3357,12 @@ var Qt = {
3266
3357
  TSAsExpression: ["expression", "typeAnnotation"],
3267
3358
  TSSatisfiesExpression: ["expression", "typeAnnotation"],
3268
3359
  TSTypeAssertion: ["typeAnnotation", "expression"],
3269
- TSEnumDeclaration: ["id", "members"],
3360
+ TSEnumBody: ["members"],
3361
+ TSEnumDeclaration: ["id", "body"],
3270
3362
  TSEnumMember: ["id", "initializer"],
3271
3363
  TSModuleDeclaration: ["id", "body"],
3272
3364
  TSModuleBlock: ["body"],
3273
- TSImportType: ["argument", "qualifier", "typeParameters", "typeArguments"],
3365
+ TSImportType: ["argument", "options", "qualifier", "typeParameters", "typeArguments"],
3274
3366
  TSImportEqualsDeclaration: ["id", "moduleReference"],
3275
3367
  TSExternalModuleReference: ["expression"],
3276
3368
  TSNonNullExpression: ["expression"],
@@ -3304,12 +3396,23 @@ var Qt = {
3304
3396
  TSPublicKeyword: [],
3305
3397
  TSReadonlyKeyword: [],
3306
3398
  TSStaticKeyword: [],
3307
- TSTemplateLiteralType: ["quasis", "types"],
3399
+ AsConstExpression: ["expression"],
3308
3400
  AsExpression: ["expression", "typeAnnotation"],
3309
3401
  BigIntLiteralTypeAnnotation: [],
3310
3402
  BigIntTypeAnnotation: [],
3403
+ ComponentDeclaration: ["id", "params", "body", "typeParameters", "rendersType"],
3404
+ ComponentParameter: ["name", "local"],
3405
+ ComponentTypeAnnotation: ["params", "rest", "typeParameters", "rendersType"],
3406
+ ComponentTypeParameter: ["name", "typeAnnotation"],
3311
3407
  ConditionalTypeAnnotation: ["checkType", "extendsType", "trueType", "falseType"],
3408
+ DeclareComponent: ["id", "params", "rest", "typeParameters", "rendersType"],
3312
3409
  DeclareEnum: ["id", "body"],
3410
+ DeclareHook: ["id"],
3411
+ DeclareNamespace: ["id", "body"],
3412
+ EnumBigIntBody: ["members"],
3413
+ EnumBigIntMember: ["id", "init"],
3414
+ HookDeclaration: ["id", "params", "body", "typeParameters", "returnType"],
3415
+ HookTypeAnnotation: ["params", "returnType", "rest", "typeParameters"],
3313
3416
  InferTypeAnnotation: ["typeParameter"],
3314
3417
  KeyofTypeAnnotation: ["argument"],
3315
3418
  ObjectTypeMappedTypeProperty: ["keyTparam", "propType", "sourceType", "variance"],
@@ -3318,16 +3421,16 @@ var Qt = {
3318
3421
  TupleTypeSpreadElement: ["label", "typeAnnotation"],
3319
3422
  TypeOperator: ["typeAnnotation"],
3320
3423
  TypePredicate: ["parameterName", "typeAnnotation", "asserts"],
3321
- NGRoot: ["node"],
3322
- NGPipeExpression: ["left", "right", "arguments"],
3323
3424
  NGChainedExpression: ["expressions"],
3324
3425
  NGEmptyExpression: [],
3426
+ NGPipeExpression: ["left", "right", "arguments"],
3325
3427
  NGMicrosyntax: ["body"],
3326
- NGMicrosyntaxKey: [],
3428
+ NGMicrosyntaxAs: ["key", "alias"],
3327
3429
  NGMicrosyntaxExpression: ["expression", "alias"],
3430
+ NGMicrosyntaxKey: [],
3328
3431
  NGMicrosyntaxKeyedExpression: ["key", "expression"],
3329
3432
  NGMicrosyntaxLet: ["key", "value"],
3330
- NGMicrosyntaxAs: ["key", "alias"],
3433
+ NGRoot: ["node"],
3331
3434
  JsExpressionRoot: ["node"],
3332
3435
  JsonRoot: ["node"],
3333
3436
  TSJSDocAllType: [],
@@ -3335,79 +3438,76 @@ var Qt = {
3335
3438
  TSJSDocNullableType: ["typeAnnotation"],
3336
3439
  TSJSDocNonNullableType: ["typeAnnotation"],
3337
3440
  NeverTypeAnnotation: [],
3441
+ SatisfiesExpression: ["expression", "typeAnnotation"],
3338
3442
  UndefinedTypeAnnotation: [],
3339
- UnknownTypeAnnotation: [],
3340
- AsConstExpression: ["expression"],
3341
- SatisfiesExpression: ["expression", "typeAnnotation"]
3443
+ UnknownTypeAnnotation: []
3342
3444
  };
3343
- var vs = Ht(Qt);
3344
- var Yt = vs;
3345
- function ze(e, t) {
3445
+ var Ms = ii(si);
3446
+ var ri = Ms;
3447
+ function et(e, t) {
3346
3448
  if (!(e !== null && typeof e == "object")) return e;
3347
3449
  if (Array.isArray(e)) {
3348
- for (let s = 0; s < e.length; s++) e[s] = ze(e[s], t);
3450
+ for (let s = 0; s < e.length; s++) e[s] = et(e[s], t);
3349
3451
  return e;
3350
3452
  }
3351
- let i = Yt(e);
3352
- for (let s = 0; s < i.length; s++) e[i[s]] = ze(e[i[s]], t);
3453
+ let i = ri(e);
3454
+ for (let s = 0; s < i.length; s++) e[i[s]] = et(e[i[s]], t);
3353
3455
  return t(e) || e;
3354
3456
  }
3355
- var Se = ze;
3356
- function bs(e, t) {
3457
+ var ai = et;
3458
+ ie(["RegExpLiteral", "BigIntLiteral", "NumericLiteral", "StringLiteral", "DirectiveLiteral", "Literal", "JSXText", "TemplateElement", "StringLiteralTypeAnnotation", "NumberLiteralTypeAnnotation", "BigIntLiteralTypeAnnotation"]);
3459
+ function js(e, t) {
3357
3460
  let {
3358
3461
  parser: i,
3359
3462
  text: s
3360
- } = t;
3361
- if (e.type === "File" && e.program.interpreter) {
3362
- let {
3363
- program: {
3364
- interpreter: r
3365
- },
3366
- comments: n
3367
- } = e;
3368
- delete e.program.interpreter, n.unshift(r);
3369
- }
3370
- if (i === "babel") {
3371
- let r = /* @__PURE__ */ new Set();
3372
- e = Se(e, (n) => {
3373
- var o;
3374
- (o = n.leadingComments) != null && o.some(zt) && r.add(P(n));
3375
- }), e = Se(e, (n) => {
3376
- if (n.type === "ParenthesizedExpression") {
3463
+ } = t, {
3464
+ comments: r
3465
+ } = e, n = i === "oxc" && t.oxcAstType === "ts";
3466
+ ti(r);
3467
+ let o;
3468
+ e = ai(e, (u) => {
3469
+ switch (u.type) {
3470
+ case "ParenthesizedExpression": {
3377
3471
  let {
3378
- expression: o
3379
- } = n;
3380
- if (o.type === "TypeCastExpression") return o.range = [...n.range], o;
3381
- let u = P(n);
3382
- if (!r.has(u)) return o.extra = {
3383
- ...o.extra,
3472
+ expression: c
3473
+ } = u, f = w(u);
3474
+ if (c.type === "TypeCastExpression") return c.range = [f, k(u)], c;
3475
+ let v = false;
3476
+ if (!n) {
3477
+ if (!o) {
3478
+ o = [];
3479
+ for (let h of r) ei(h) && o.push(k(h));
3480
+ }
3481
+ let T = $t(false, o, (h) => h <= f);
3482
+ v = T && s.slice(T, f).trim().length === 0;
3483
+ }
3484
+ if (!v) return c.extra = {
3485
+ ...c.extra,
3384
3486
  parenthesized: true
3385
- }, o;
3487
+ }, c;
3488
+ break;
3386
3489
  }
3387
- });
3388
- }
3389
- if (e = Se(e, (r) => {
3390
- var n;
3391
- switch (r.type) {
3392
3490
  case "LogicalExpression":
3393
- if ($t(r)) return He(r);
3491
+ if (oi(u)) return tt(u);
3492
+ break;
3493
+ case "TemplateLiteral":
3494
+ if (u.expressions.length !== u.quasis.length - 1) throw new Error("Malformed template literal.");
3495
+ break;
3496
+ case "TemplateElement":
3497
+ if (i === "flow" || i === "hermes" || i === "espree" || i === "typescript" || n) {
3498
+ let c = w(u) + 1, f = k(u) - (u.tail ? 1 : 2);
3499
+ u.range = [c, f];
3500
+ }
3394
3501
  break;
3395
3502
  case "VariableDeclaration": {
3396
- let o = Ke(false, r.declarations, -1);
3397
- o != null && o.init && s[j(o)] !== ";" && (r.range = [P(r), j(o)]);
3503
+ let c = te(false, u.declarations, -1);
3504
+ c != null && c.init && s[k(c)] !== ";" && (u.range = [w(u), k(c)]);
3398
3505
  break;
3399
3506
  }
3400
3507
  case "TSParenthesizedType":
3401
- return r.typeAnnotation;
3508
+ return u.typeAnnotation;
3402
3509
  case "TSTypeParameter":
3403
- if (typeof r.name == "string") {
3404
- let o = P(r);
3405
- r.name = {
3406
- type: "Identifier",
3407
- name: r.name,
3408
- range: [o, o + r.name.length]
3409
- };
3410
- }
3510
+ ni(u);
3411
3511
  break;
3412
3512
  case "TopicReference":
3413
3513
  e.extra = {
@@ -3415,67 +3515,125 @@ function bs(e, t) {
3415
3515
  __isUsingHackPipeline: true
3416
3516
  };
3417
3517
  break;
3418
- case "ExportAllDeclaration":
3419
- if (i === "meriyah" && ((n = r.exported) == null ? void 0 : n.type) === "Identifier") {
3518
+ case "TSUnionType":
3519
+ case "TSIntersectionType":
3520
+ if (u.types.length === 1) return u.types[0];
3521
+ break;
3522
+ case "TSMappedType":
3523
+ if (!u.constraint && !u.key) {
3420
3524
  let {
3421
- exported: o
3422
- } = r, u = s.slice(P(o), j(o));
3423
- (u.startsWith('"') || u.startsWith("'")) && (r.exported = {
3424
- ...r.exported,
3425
- type: "Literal",
3426
- value: r.exported.name,
3427
- raw: u
3428
- });
3525
+ name: c,
3526
+ constraint: f
3527
+ } = ni(u.typeParameter);
3528
+ u.constraint = f, u.key = c, delete u.typeParameter;
3429
3529
  }
3430
3530
  break;
3431
- case "TSUnionType":
3432
- case "TSIntersectionType":
3433
- if (r.types.length === 1) return r.types[0];
3531
+ case "TSEnumDeclaration":
3532
+ if (!u.body) {
3533
+ let c = k(u.id), {
3534
+ members: f
3535
+ } = u, v = Zt({
3536
+ originalText: s,
3537
+ [Symbol.for("comments")]: r
3538
+ }, c, f[0] ? w(f[0]) : k(u)), T = c + v.indexOf("{");
3539
+ u.body = {
3540
+ type: "TSEnumBody",
3541
+ members: f,
3542
+ range: [T, k(u)]
3543
+ }, delete u.members;
3544
+ }
3545
+ break;
3546
+ case "ImportExpression":
3547
+ i === "hermes" && u.attributes && !u.options && (u.options = u.attributes);
3434
3548
  break;
3435
3549
  }
3436
- }), Wt(e.comments)) {
3437
- let r = Ke(false, e.comments, -1);
3438
- for (let n = e.comments.length - 2; n >= 0; n--) {
3439
- let o = e.comments[n];
3440
- j(o) === P(r) && oe(o) && oe(r) && We(o) && We(r) && (e.comments.splice(n + 1, 1), o.value += "*//*" + r.value, o.range = [P(o), j(r)]), r = o;
3441
- }
3550
+ });
3551
+ let p = e.type === "File" ? e.program : e;
3552
+ return p.interpreter && (r.unshift(p.interpreter), delete p.interpreter), n && e.hashbang && (r.unshift(e.hashbang), delete e.hashbang), e.type === "Program" && (e.range = [0, s.length]), e;
3553
+ }
3554
+ function ni(e) {
3555
+ if (e.type === "TSTypeParameter" && typeof e.name == "string") {
3556
+ let t = w(e);
3557
+ e.name = {
3558
+ type: "Identifier",
3559
+ name: e.name,
3560
+ range: [t, t + e.name.length]
3561
+ };
3442
3562
  }
3443
- return e.type === "Program" && (e.range = [0, s.length]), e;
3563
+ return e;
3444
3564
  }
3445
- function $t(e) {
3565
+ function oi(e) {
3446
3566
  return e.type === "LogicalExpression" && e.right.type === "LogicalExpression" && e.operator === e.right.operator;
3447
3567
  }
3448
- function He(e) {
3449
- return $t(e) ? He({
3568
+ function tt(e) {
3569
+ return oi(e) ? tt({
3450
3570
  type: "LogicalExpression",
3451
3571
  operator: e.operator,
3452
- left: He({
3572
+ left: tt({
3453
3573
  type: "LogicalExpression",
3454
3574
  operator: e.operator,
3455
3575
  left: e.left,
3456
3576
  right: e.right.left,
3457
- range: [P(e.left), j(e.right.left)]
3577
+ range: [w(e.left), k(e.right.left)]
3458
3578
  }),
3459
3579
  right: e.right.right,
3460
- range: [P(e), j(e)]
3580
+ range: [w(e), k(e)]
3461
3581
  }) : e;
3462
3582
  }
3463
- var _e = bs;
3464
- var Z = Ae(ai());
3465
- function Is(e) {
3583
+ var ke = js;
3584
+ var Us = (e, t, i, s) => {
3585
+ if (!(e && t == null)) return t.replaceAll ? t.replaceAll(i, s) : i.global ? t.replace(i, s) : t.split(i).join(s);
3586
+ };
3587
+ var se = Us;
3588
+ var Gs = /\*\/$/;
3589
+ var qs = /^\/\*\*?/;
3590
+ var Js = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/;
3591
+ var Hs = /(^|\s+)\/\/([^\n\r]*)/g;
3592
+ var ui = /^(\r?\n)+/;
3593
+ var Ks = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g;
3594
+ var pi = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g;
3595
+ var Ws = /(\r?\n|^) *\* ?/g;
3596
+ var Xs = [];
3597
+ function hi(e) {
3598
+ let t = e.match(Js);
3599
+ return t ? t[0].trimStart() : "";
3600
+ }
3601
+ function ci(e) {
3602
+ let t = `
3603
+ `;
3604
+ e = se(false, e.replace(qs, "").replace(Gs, ""), Ws, "$1");
3605
+ let i = "";
3606
+ for (; i !== e; ) i = e, e = se(false, e, Ks, `${t}$1 $2${t}`);
3607
+ e = e.replace(ui, "").trimEnd();
3608
+ let s = /* @__PURE__ */ Object.create(null), r = se(false, e, pi, "").replace(ui, "").trimEnd(), n;
3609
+ for (; n = pi.exec(e); ) {
3610
+ let o = se(false, n[2], Hs, "");
3611
+ if (typeof s[n[1]] == "string" || Array.isArray(s[n[1]])) {
3612
+ let p = s[n[1]];
3613
+ s[n[1]] = [...Xs, ...Array.isArray(p) ? p : [p], o];
3614
+ } else s[n[1]] = o;
3615
+ }
3616
+ return {
3617
+ comments: r,
3618
+ pragmas: s
3619
+ };
3620
+ }
3621
+ var li = ["noformat", "noprettier"];
3622
+ var fi = ["format", "prettier"];
3623
+ function zs(e) {
3466
3624
  if (!e.startsWith("#!")) return "";
3467
3625
  let t = e.indexOf(`
3468
3626
  `);
3469
3627
  return t === -1 ? e : e.slice(0, t);
3470
3628
  }
3471
- var ni = Is;
3472
- function Ns(e) {
3473
- let t = ni(e);
3629
+ var di = zs;
3630
+ function mi(e) {
3631
+ let t = di(e);
3474
3632
  t && (e = e.slice(t.length + 1));
3475
- let i = (0, Z.extract)(e), {
3633
+ let i = hi(e), {
3476
3634
  pragmas: s,
3477
3635
  comments: r
3478
- } = (0, Z.parseWithComments)(i);
3636
+ } = ci(i);
3479
3637
  return {
3480
3638
  shebang: t,
3481
3639
  text: e,
@@ -3483,42 +3641,51 @@ function Ns(e) {
3483
3641
  comments: r
3484
3642
  };
3485
3643
  }
3486
- function oi(e) {
3644
+ function xi(e) {
3487
3645
  let {
3488
3646
  pragmas: t
3489
- } = Ns(e);
3490
- return Object.prototype.hasOwnProperty.call(t, "prettier") || Object.prototype.hasOwnProperty.call(t, "format");
3647
+ } = mi(e);
3648
+ return fi.some((i) => Object.prototype.hasOwnProperty.call(t, i));
3491
3649
  }
3492
- function Vs(e) {
3650
+ function yi(e) {
3651
+ let {
3652
+ pragmas: t
3653
+ } = mi(e);
3654
+ return li.some((i) => Object.prototype.hasOwnProperty.call(t, i));
3655
+ }
3656
+ function Qs(e) {
3493
3657
  return e = typeof e == "function" ? {
3494
3658
  parse: e
3495
3659
  } : e, {
3496
3660
  astFormat: "estree",
3497
- hasPragma: oi,
3498
- locStart: P,
3499
- locEnd: j,
3661
+ hasPragma: xi,
3662
+ hasIgnorePragma: yi,
3663
+ locStart: w,
3664
+ locEnd: k,
3500
3665
  ...e
3501
3666
  };
3502
3667
  }
3503
- var Ce = Vs;
3504
- function Ls(e) {
3505
- let {
3506
- filepath: t
3507
- } = e;
3508
- if (t) {
3509
- if (t = t.toLowerCase(), t.endsWith(".cjs")) return "script";
3510
- if (t.endsWith(".mjs")) return "module";
3668
+ var Ae = Qs;
3669
+ var we = "module";
3670
+ var gi = "script";
3671
+ var Pe = [we, gi];
3672
+ function Ie(e) {
3673
+ if (typeof e == "string") {
3674
+ if (e = e.toLowerCase(), /\.(?:mjs|mts)$/iu.test(e)) return we;
3675
+ if (/\.(?:cjs|cts)$/iu.test(e)) return gi;
3511
3676
  }
3512
3677
  }
3513
- var Te = Ls;
3514
- var Rs = {
3678
+ var Ys = {
3515
3679
  ecmaVersion: "latest",
3680
+ allowReserved: true,
3516
3681
  allowReturnOutsideFunction: true,
3517
3682
  allowSuperOutsideMethod: true,
3518
- locations: true,
3519
- ranges: true
3683
+ checkPrivateFields: false,
3684
+ locations: false,
3685
+ ranges: true,
3686
+ preserveParens: true
3520
3687
  };
3521
- function Os(e) {
3688
+ function $s(e) {
3522
3689
  let {
3523
3690
  message: t,
3524
3691
  loc: i
@@ -3528,7 +3695,7 @@ function Os(e) {
3528
3695
  line: s,
3529
3696
  column: r
3530
3697
  } = i;
3531
- return ve(t.replace(/ \(\d+:\d+\)$/, ""), {
3698
+ return Ce(t.replace(/ \(\d+:\d+\)$/u, ""), {
3532
3699
  loc: {
3533
3700
  start: {
3534
3701
  line: s,
@@ -3538,34 +3705,33 @@ function Os(e) {
3538
3705
  cause: e
3539
3706
  });
3540
3707
  }
3541
- var ui;
3542
- var Bs = () => (ui ?? (ui = T.extend((0, hi.default)())), ui);
3543
- function Ds(e, t) {
3544
- let i = Bs(), s = [], r = [], n = i.parse(e, {
3545
- ...Rs,
3708
+ var vi;
3709
+ var Zs = () => (vi ?? (vi = E.extend((0, bi.default)())), vi);
3710
+ function er(e, t) {
3711
+ let i = Zs(), s = [], r = i.parse(e, {
3712
+ ...Ys,
3546
3713
  sourceType: t,
3547
- allowImportExportEverywhere: t === "module",
3548
- onComment: s,
3549
- onToken: r
3714
+ allowImportExportEverywhere: t === we,
3715
+ onComment: s
3550
3716
  });
3551
- return n.comments = s, n.tokens = r, n;
3717
+ return r.comments = s, r;
3552
3718
  }
3553
- function Fs(e, t = {}) {
3554
- let i = Te(t), s = (i ? [i] : ["module", "script"]).map((n) => () => Ds(e, n)), r;
3719
+ function tr(e, t) {
3720
+ let i = Ie(t == null ? void 0 : t.filepath), s = (i ? [i] : Pe).map((n) => () => er(e, n)), r;
3555
3721
  try {
3556
- r = be(s);
3722
+ r = Ee(s);
3557
3723
  } catch ({
3558
3724
  errors: [n]
3559
3725
  }) {
3560
- throw Os(n);
3726
+ throw $s(n);
3561
3727
  }
3562
- return _e(r, {
3728
+ return ke(r, {
3563
3729
  text: e
3564
3730
  });
3565
3731
  }
3566
- var pi = Ce(Fs);
3567
- var fi = Ae(Ge());
3568
- var w = {
3732
+ var Si = Ae(tr);
3733
+ var Ei = ot(Xe());
3734
+ var I = {
3569
3735
  Boolean: "Boolean",
3570
3736
  Identifier: "Identifier",
3571
3737
  PrivateIdentifier: "PrivateIdentifier",
@@ -3579,9 +3745,9 @@ var w = {
3579
3745
  JSXIdentifier: "JSXIdentifier",
3580
3746
  JSXText: "JSXText"
3581
3747
  };
3582
- function Ms(e, t) {
3583
- let i = e[0], s = e[e.length - 1], r = {
3584
- type: w.Template,
3748
+ function ir(e, t) {
3749
+ let i = e[0], s = te(false, e, -1), r = {
3750
+ type: I.Template,
3585
3751
  value: t.slice(i.start, s.end)
3586
3752
  };
3587
3753
  return i.loc && (r.loc = {
@@ -3589,23 +3755,23 @@ function Ms(e, t) {
3589
3755
  end: s.loc.end
3590
3756
  }), i.range && (r.start = i.range[0], r.end = s.range[1], r.range = [r.start, r.end]), r;
3591
3757
  }
3592
- function Qe(e, t) {
3758
+ function it(e, t) {
3593
3759
  this._acornTokTypes = e, this._tokens = [], this._curlyBrace = null, this._code = t;
3594
3760
  }
3595
- Qe.prototype = {
3596
- constructor: Qe,
3761
+ it.prototype = {
3762
+ constructor: it,
3597
3763
  translate(e, t) {
3598
3764
  let i = e.type, s = this._acornTokTypes;
3599
- if (i === s.name) e.type = w.Identifier, e.value === "static" && (e.type = w.Keyword), t.ecmaVersion > 5 && (e.value === "yield" || e.value === "let") && (e.type = w.Keyword);
3600
- else if (i === s.privateId) e.type = w.PrivateIdentifier;
3601
- else if (i === s.semi || i === s.comma || i === s.parenL || i === s.parenR || i === s.braceL || i === s.braceR || i === s.dot || i === s.bracketL || i === s.colon || i === s.question || i === s.bracketR || i === s.ellipsis || i === s.arrow || i === s.jsxTagStart || i === s.incDec || i === s.starstar || i === s.jsxTagEnd || i === s.prefix || i === s.questionDot || i.binop && !i.keyword || i.isAssign) e.type = w.Punctuator, e.value = this._code.slice(e.start, e.end);
3602
- else if (i === s.jsxName) e.type = w.JSXIdentifier;
3603
- else if (i.label === "jsxText" || i === s.jsxAttrValueToken) e.type = w.JSXText;
3604
- else if (i.keyword) i.keyword === "true" || i.keyword === "false" ? e.type = w.Boolean : i.keyword === "null" ? e.type = w.Null : e.type = w.Keyword;
3605
- else if (i === s.num) e.type = w.Numeric, e.value = this._code.slice(e.start, e.end);
3606
- else if (i === s.string) t.jsxAttrValueToken ? (t.jsxAttrValueToken = false, e.type = w.JSXText) : e.type = w.String, e.value = this._code.slice(e.start, e.end);
3765
+ if (i === s.name) e.type = I.Identifier, e.value === "static" && (e.type = I.Keyword), t.ecmaVersion > 5 && (e.value === "yield" || e.value === "let") && (e.type = I.Keyword);
3766
+ else if (i === s.privateId) e.type = I.PrivateIdentifier;
3767
+ else if (i === s.semi || i === s.comma || i === s.parenL || i === s.parenR || i === s.braceL || i === s.braceR || i === s.dot || i === s.bracketL || i === s.colon || i === s.question || i === s.bracketR || i === s.ellipsis || i === s.arrow || i === s.jsxTagStart || i === s.incDec || i === s.starstar || i === s.jsxTagEnd || i === s.prefix || i === s.questionDot || i.binop && !i.keyword || i.isAssign) e.type = I.Punctuator, e.value = this._code.slice(e.start, e.end);
3768
+ else if (i === s.jsxName) e.type = I.JSXIdentifier;
3769
+ else if (i.label === "jsxText" || i === s.jsxAttrValueToken) e.type = I.JSXText;
3770
+ else if (i.keyword) i.keyword === "true" || i.keyword === "false" ? e.type = I.Boolean : i.keyword === "null" ? e.type = I.Null : e.type = I.Keyword;
3771
+ else if (i === s.num) e.type = I.Numeric, e.value = this._code.slice(e.start, e.end);
3772
+ else if (i === s.string) t.jsxAttrValueToken ? (t.jsxAttrValueToken = false, e.type = I.JSXText) : e.type = I.String, e.value = this._code.slice(e.start, e.end);
3607
3773
  else if (i === s.regexp) {
3608
- e.type = w.RegularExpression;
3774
+ e.type = I.RegularExpression;
3609
3775
  let r = e.value;
3610
3776
  e.regex = {
3611
3777
  flags: r.flags,
@@ -3616,7 +3782,7 @@ Qe.prototype = {
3616
3782
  },
3617
3783
  onToken(e, t) {
3618
3784
  let i = this._acornTokTypes, s = t.tokens, r = this._tokens, n = () => {
3619
- s.push(Ms(this._tokens, this._code)), this._tokens = [];
3785
+ s.push(ir(this._tokens, this._code)), this._tokens = [];
3620
3786
  };
3621
3787
  if (e.type === i.eof) {
3622
3788
  this._curlyBrace && s.push(this.translate(this._curlyBrace, t));
@@ -3641,27 +3807,27 @@ Qe.prototype = {
3641
3807
  this._curlyBrace && (s.push(this.translate(this._curlyBrace, t)), this._curlyBrace = null), s.push(this.translate(e, t));
3642
3808
  }
3643
3809
  };
3644
- var ci = Qe;
3645
- var Ye = [3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
3646
- function js() {
3647
- return Ye[Ye.length - 1];
3810
+ var _i = it;
3811
+ var Ti = [3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17];
3812
+ function sr() {
3813
+ return te(false, Ti, -1);
3648
3814
  }
3649
- function Us(e = 5) {
3650
- let t = e === "latest" ? js() : e;
3815
+ function rr(e = 5) {
3816
+ let t = e === "latest" ? sr() : e;
3651
3817
  if (typeof t != "number") throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof e} instead.`);
3652
- if (t >= 2015 && (t -= 2009), !Ye.includes(t)) throw new Error("Invalid ecmaVersion.");
3818
+ if (t >= 2015 && (t -= 2009), !Ti.includes(t)) throw new Error("Invalid ecmaVersion.");
3653
3819
  return t;
3654
3820
  }
3655
- function qs(e = "script") {
3821
+ function ar(e = "script") {
3656
3822
  if (e === "script" || e === "module") return e;
3657
3823
  if (e === "commonjs") return "script";
3658
3824
  throw new Error("Invalid sourceType.");
3659
3825
  }
3660
- function li(e) {
3661
- let t = Us(e.ecmaVersion), i = qs(e.sourceType), s = e.range === true, r = e.loc === true;
3826
+ function Ci(e) {
3827
+ let t = rr(e.ecmaVersion), i = ar(e.sourceType), s = e.range === true, r = e.loc === true;
3662
3828
  if (t !== 3 && e.allowReserved) throw new Error("`allowReserved` is only supported when ecmaVersion is 3");
3663
3829
  if (typeof e.allowReserved < "u" && typeof e.allowReserved != "boolean") throw new Error("`allowReserved`, when present, must be `true` or `false`");
3664
- let n = t === 3 ? e.allowReserved || "never" : false, o = e.ecmaFeatures || {}, u = e.sourceType === "commonjs" || !!o.globalReturn;
3830
+ let n = t === 3 ? e.allowReserved || "never" : false, o = e.ecmaFeatures || {}, p = e.sourceType === "commonjs" || !!o.globalReturn;
3665
3831
  if (i === "module" && t < 6) throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");
3666
3832
  return Object.assign({}, e, {
3667
3833
  ecmaVersion: t,
@@ -3669,33 +3835,33 @@ function li(e) {
3669
3835
  ranges: s,
3670
3836
  locations: r,
3671
3837
  allowReserved: n,
3672
- allowReturnOutsideFunction: u
3838
+ allowReturnOutsideFunction: p
3673
3839
  });
3674
3840
  }
3675
- var z = Symbol("espree's internal state");
3676
- var $e = Symbol("espree's esprimaFinishNode");
3677
- function Js(e, t, i, s, r, n, o) {
3678
- let u;
3679
- e ? u = "Block" : o.slice(i, i + 2) === "#!" ? u = "Hashbang" : u = "Line";
3680
- let h = {
3681
- type: u,
3841
+ var Q = Symbol("espree's internal state");
3842
+ var st = Symbol("espree's esprimaFinishNode");
3843
+ function nr(e, t, i, s, r, n, o) {
3844
+ let p;
3845
+ e ? p = "Block" : o.slice(i, i + 2) === "#!" ? p = "Hashbang" : p = "Line";
3846
+ let u = {
3847
+ type: p,
3682
3848
  value: t
3683
3849
  };
3684
- return typeof i == "number" && (h.start = i, h.end = s, h.range = [i, s]), typeof r == "object" && (h.loc = {
3850
+ return typeof i == "number" && (u.start = i, u.end = s, u.range = [i, s]), typeof r == "object" && (u.loc = {
3685
3851
  start: r,
3686
3852
  end: n
3687
- }), h;
3853
+ }), u;
3688
3854
  }
3689
- var Ze = () => (e) => {
3855
+ var rt = () => (e) => {
3690
3856
  let t = Object.assign({}, e.acorn.tokTypes);
3691
3857
  return e.acornJsx && Object.assign(t, e.acornJsx.tokTypes), class extends e {
3692
3858
  constructor(s, r) {
3693
3859
  (typeof s != "object" || s === null) && (s = {}), typeof r != "string" && !(r instanceof String) && (r = String(r));
3694
- let n = s.sourceType, o = li(s), u = o.ecmaFeatures || {}, h = o.tokens === true ? new ci(t, r) : null, l = {
3860
+ let n = s.sourceType, o = Ci(s), p = o.ecmaFeatures || {}, u = o.tokens === true ? new _i(t, r) : null, c = {
3695
3861
  originalSourceType: n || o.sourceType,
3696
- tokens: h ? [] : null,
3862
+ tokens: u ? [] : null,
3697
3863
  comments: o.comment === true ? [] : null,
3698
- impliedStrict: u.impliedStrict === true && o.ecmaVersion >= 5,
3864
+ impliedStrict: p.impliedStrict === true && o.ecmaVersion >= 5,
3699
3865
  ecmaVersion: o.ecmaVersion,
3700
3866
  jsxAttrValueToken: false,
3701
3867
  lastToken: null,
@@ -3708,46 +3874,46 @@ var Ze = () => (e) => {
3708
3874
  locations: o.locations,
3709
3875
  allowReserved: o.allowReserved,
3710
3876
  allowReturnOutsideFunction: o.allowReturnOutsideFunction,
3711
- onToken(x) {
3712
- h && h.onToken(x, l), x.type !== t.eof && (l.lastToken = x);
3877
+ onToken(f) {
3878
+ u && u.onToken(f, c), f.type !== t.eof && (c.lastToken = f);
3713
3879
  },
3714
- onComment(x, _, B, p, d, m) {
3715
- if (l.comments) {
3716
- let g = Js(x, _, B, p, d, m, r);
3717
- l.comments.push(g);
3880
+ onComment(f, v, T, h, m, x) {
3881
+ if (c.comments) {
3882
+ let g = nr(f, v, T, h, m, x, r);
3883
+ c.comments.push(g);
3718
3884
  }
3719
3885
  }
3720
- }, r), this[z] = l;
3886
+ }, r), this[Q] = c;
3721
3887
  }
3722
3888
  tokenize() {
3723
3889
  do
3724
3890
  this.next();
3725
3891
  while (this.type !== t.eof);
3726
3892
  this.next();
3727
- let s = this[z], r = s.tokens;
3893
+ let s = this[Q], r = s.tokens;
3728
3894
  return s.comments && (r.comments = s.comments), r;
3729
3895
  }
3730
3896
  finishNode(...s) {
3731
3897
  let r = super.finishNode(...s);
3732
- return this[$e](r);
3898
+ return this[st](r);
3733
3899
  }
3734
3900
  finishNodeAt(...s) {
3735
3901
  let r = super.finishNodeAt(...s);
3736
- return this[$e](r);
3902
+ return this[st](r);
3737
3903
  }
3738
3904
  parse() {
3739
- let s = this[z], r = super.parse();
3905
+ let s = this[Q], r = super.parse();
3740
3906
  if (r.sourceType = s.originalSourceType, s.comments && (r.comments = s.comments), s.tokens && (r.tokens = s.tokens), r.body.length) {
3741
3907
  let [n] = r.body;
3742
3908
  r.range && (r.range[0] = n.range[0]), r.loc && (r.loc.start = n.loc.start), r.start = n.start;
3743
3909
  }
3744
- return s.lastToken && (r.range && (r.range[1] = s.lastToken.range[1]), r.loc && (r.loc.end = s.lastToken.loc.end), r.end = s.lastToken.end), this[z].templateElements.forEach((n) => {
3745
- let u = n.tail ? 1 : 2;
3746
- n.start += -1, n.end += u, n.range && (n.range[0] += -1, n.range[1] += u), n.loc && (n.loc.start.column += -1, n.loc.end.column += u);
3910
+ return s.lastToken && (r.range && (r.range[1] = s.lastToken.range[1]), r.loc && (r.loc.end = s.lastToken.loc.end), r.end = s.lastToken.end), this[Q].templateElements.forEach((n) => {
3911
+ let p = n.tail ? 1 : 2;
3912
+ n.start += -1, n.end += p, n.range && (n.range[0] += -1, n.range[1] += p), n.loc && (n.loc.start.column += -1, n.loc.end.column += p);
3747
3913
  }), r;
3748
3914
  }
3749
3915
  parseTopLevel(s) {
3750
- return this[z].impliedStrict && (this.strict = true), super.parseTopLevel(s);
3916
+ return this[Q].impliedStrict && (this.strict = true), super.parseTopLevel(s);
3751
3917
  }
3752
3918
  raise(s, r) {
3753
3919
  let n = e.acorn.getLineInfo(this.input, s), o = new SyntaxError(r);
@@ -3767,50 +3933,49 @@ var Ze = () => (e) => {
3767
3933
  }
3768
3934
  jsx_readString(s) {
3769
3935
  let r = super.jsx_readString(s);
3770
- return this.type === t.string && (this[z].jsxAttrValueToken = true), r;
3936
+ return this.type === t.string && (this[Q].jsxAttrValueToken = true), r;
3771
3937
  }
3772
- [$e](s) {
3773
- return s.type === "TemplateElement" && this[z].templateElements.push(s), s.type.includes("Function") && !s.generator && (s.generator = false), s;
3938
+ [st](s) {
3939
+ return s.type === "TemplateElement" && this[Q].templateElements.push(s), s.type.includes("Function") && !s.generator && (s.generator = false), s;
3774
3940
  }
3775
3941
  };
3776
3942
  };
3777
- var Gs = {
3943
+ var or = {
3778
3944
  _regular: null,
3779
3945
  _jsx: null,
3780
3946
  get regular() {
3781
- return this._regular === null && (this._regular = T.extend(Ze())), this._regular;
3947
+ return this._regular === null && (this._regular = E.extend(rt())), this._regular;
3782
3948
  },
3783
3949
  get jsx() {
3784
- return this._jsx === null && (this._jsx = T.extend((0, fi.default)(), Ze())), this._jsx;
3950
+ return this._jsx === null && (this._jsx = E.extend((0, Ei.default)(), rt())), this._jsx;
3785
3951
  },
3786
3952
  get(e) {
3787
3953
  return !!(e && e.ecmaFeatures && e.ecmaFeatures.jsx) ? this.jsx : this.regular;
3788
3954
  }
3789
3955
  };
3790
- function di(e, t) {
3791
- let i = Gs.get(t);
3956
+ function ki(e, t) {
3957
+ let i = or.get(t);
3792
3958
  return new i(t, e).parse();
3793
3959
  }
3794
- var Ks = {
3960
+ var ur = {
3795
3961
  ecmaVersion: "latest",
3796
3962
  range: true,
3797
- loc: true,
3963
+ loc: false,
3798
3964
  comment: true,
3799
- tokens: true,
3800
- sourceType: "module",
3965
+ tokens: false,
3801
3966
  ecmaFeatures: {
3802
3967
  jsx: true,
3803
3968
  globalReturn: true,
3804
3969
  impliedStrict: false
3805
3970
  }
3806
3971
  };
3807
- function Ws(e) {
3972
+ function pr(e) {
3808
3973
  let {
3809
3974
  message: t,
3810
3975
  lineNumber: i,
3811
3976
  column: s
3812
3977
  } = e;
3813
- return typeof i != "number" ? e : ve(t, {
3978
+ return typeof i != "number" ? e : Ce(t, {
3814
3979
  loc: {
3815
3980
  start: {
3816
3981
  line: i,
@@ -3820,29 +3985,30 @@ function Ws(e) {
3820
3985
  cause: e
3821
3986
  });
3822
3987
  }
3823
- function Xs(e, t = {}) {
3824
- let i = Te(t), s = (i ? [i] : ["module", "script"]).map((n) => () => di(e, {
3825
- ...Ks,
3988
+ function hr(e, t) {
3989
+ let i = Ie(t == null ? void 0 : t.filepath), s = (i ? [i] : Pe).map((n) => () => ki(e, {
3990
+ ...ur,
3826
3991
  sourceType: n
3827
3992
  })), r;
3828
3993
  try {
3829
- r = be(s);
3994
+ r = Ee(s);
3830
3995
  } catch ({
3831
3996
  errors: [n]
3832
3997
  }) {
3833
- throw Ws(n);
3998
+ throw pr(n);
3834
3999
  }
3835
- return _e(r, {
4000
+ return ke(r, {
4001
+ parser: "espree",
3836
4002
  text: e
3837
4003
  });
3838
4004
  }
3839
- var mi = Ce(Xs);
3840
- var zs = {
3841
- acorn: pi,
3842
- espree: mi
4005
+ var Ai = Ae(hr);
4006
+ var cr = {
4007
+ acorn: Si,
4008
+ espree: Ai
3843
4009
  };
3844
- var ya = et;
4010
+ var cn = at;
3845
4011
 
3846
- export { ya as default, zs as parsers };
3847
- //# sourceMappingURL=acorn-LDCVC6JB.js.map
3848
- //# sourceMappingURL=acorn-LDCVC6JB.js.map
4012
+ export { cn as default, cr as parsers };
4013
+ //# sourceMappingURL=acorn-OOLA2SYL.js.map
4014
+ //# sourceMappingURL=acorn-OOLA2SYL.js.map