@dpuse/dpuse-development 0.3.508 → 0.3.510

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.
@@ -120,11 +120,11 @@ function le(e, t, n) {
120
120
  return typeof e.default == "function" ? e.default(t, n) : e.default;
121
121
  }
122
122
  /* @__NO_SIDE_EFFECTS__ */
123
- function ue(e, t) {
123
+ function x(e, t) {
124
124
  return {
125
125
  kind: "schema",
126
126
  type: "array",
127
- reference: ue,
127
+ reference: x,
128
128
  expects: "Array",
129
129
  async: !1,
130
130
  item: e,
@@ -160,11 +160,11 @@ function ue(e, t) {
160
160
  };
161
161
  }
162
162
  /* @__NO_SIDE_EFFECTS__ */
163
- function de(e) {
163
+ function ue(e) {
164
164
  return {
165
165
  kind: "schema",
166
166
  type: "boolean",
167
- reference: de,
167
+ reference: ue,
168
168
  expects: "boolean",
169
169
  async: !1,
170
170
  message: e,
@@ -177,11 +177,11 @@ function de(e) {
177
177
  };
178
178
  }
179
179
  /* @__NO_SIDE_EFFECTS__ */
180
- function fe(e, t) {
180
+ function de(e, t) {
181
181
  return {
182
182
  kind: "schema",
183
183
  type: "literal",
184
- reference: fe,
184
+ reference: de,
185
185
  expects: /* @__PURE__ */ ie(e),
186
186
  async: !1,
187
187
  literal: e,
@@ -195,11 +195,11 @@ function fe(e, t) {
195
195
  };
196
196
  }
197
197
  /* @__NO_SIDE_EFFECTS__ */
198
- function x(e, t) {
198
+ function S(e, t) {
199
199
  return {
200
200
  kind: "schema",
201
201
  type: "nullable",
202
- reference: x,
202
+ reference: S,
203
203
  expects: `(${e.expects} | null)`,
204
204
  async: !1,
205
205
  wrapped: e,
@@ -213,11 +213,11 @@ function x(e, t) {
213
213
  };
214
214
  }
215
215
  /* @__NO_SIDE_EFFECTS__ */
216
- function pe(e) {
216
+ function fe(e) {
217
217
  return {
218
218
  kind: "schema",
219
219
  type: "number",
220
- reference: pe,
220
+ reference: fe,
221
221
  expects: "number",
222
222
  async: !1,
223
223
  message: e,
@@ -230,11 +230,11 @@ function pe(e) {
230
230
  };
231
231
  }
232
232
  /* @__NO_SIDE_EFFECTS__ */
233
- function S(e, t) {
233
+ function C(e, t) {
234
234
  return {
235
235
  kind: "schema",
236
236
  type: "object",
237
- reference: S,
237
+ reference: C,
238
238
  expects: "Object",
239
239
  async: !1,
240
240
  entries: e,
@@ -284,11 +284,11 @@ function S(e, t) {
284
284
  };
285
285
  }
286
286
  /* @__NO_SIDE_EFFECTS__ */
287
- function C(e, t) {
287
+ function pe(e, t) {
288
288
  return {
289
289
  kind: "schema",
290
290
  type: "optional",
291
- reference: C,
291
+ reference: pe,
292
292
  expects: `(${e.expects} | undefined)`,
293
293
  async: !1,
294
294
  wrapped: e,
@@ -415,17 +415,17 @@ function ge(e, t) {
415
415
  }
416
416
  };
417
417
  }
418
- var T = (e) => /* @__PURE__ */ ge(e.map((e) => /* @__PURE__ */ fe(e))), _e = /* @__PURE__ */ S({
418
+ var _e = (e) => /* @__PURE__ */ ge(e.map((e) => /* @__PURE__ */ de(e))), ve = /* @__PURE__ */ C({
419
419
  en: /* @__PURE__ */ w(),
420
420
  es: /* @__PURE__ */ w()
421
- }), ve = /* @__PURE__ */ S({
422
- en: /* @__PURE__ */ C(/* @__PURE__ */ w()),
423
- es: /* @__PURE__ */ C(/* @__PURE__ */ w())
424
- }), ye = /* @__PURE__ */ S({
425
- en: /* @__PURE__ */ C(/* @__PURE__ */ ue(/* @__PURE__ */ w())),
426
- es: /* @__PURE__ */ C(/* @__PURE__ */ ue(/* @__PURE__ */ w()))
421
+ }), ye = /* @__PURE__ */ C({
422
+ en: /* @__PURE__ */ pe(/* @__PURE__ */ w()),
423
+ es: /* @__PURE__ */ pe(/* @__PURE__ */ w())
424
+ }), be = /* @__PURE__ */ C({
425
+ en: /* @__PURE__ */ pe(/* @__PURE__ */ x(/* @__PURE__ */ w())),
426
+ es: /* @__PURE__ */ pe(/* @__PURE__ */ x(/* @__PURE__ */ w()))
427
427
  });
428
- T([
428
+ _e([
429
429
  "app",
430
430
  "connector",
431
431
  "connectorConnection",
@@ -450,12 +450,12 @@ T([
450
450
  "presenterPresentation",
451
451
  "tool"
452
452
  ]);
453
- var be = T([
453
+ var xe = _e([
454
454
  "amber",
455
455
  "green",
456
456
  "red",
457
457
  "other"
458
- ]), xe = T([
458
+ ]), Se = _e([
459
459
  "alpha",
460
460
  "beta",
461
461
  "generalAvailability",
@@ -465,31 +465,31 @@ var be = T([
465
465
  "releaseCandidate",
466
466
  "unavailable",
467
467
  "underReview"
468
- ]), Se = /* @__PURE__ */ S({
469
- color: be,
468
+ ]), Ce = /* @__PURE__ */ C({
469
+ color: xe,
470
470
  label: /* @__PURE__ */ w()
471
- }), Ce = /* @__PURE__ */ S({
471
+ }), we = /* @__PURE__ */ C({
472
472
  id: /* @__PURE__ */ w(),
473
- label: ve,
474
- description: ye,
475
- icon: /* @__PURE__ */ x(/* @__PURE__ */ w()),
476
- iconDark: /* @__PURE__ */ x(/* @__PURE__ */ w()),
477
- iconNeutral: /* @__PURE__ */ x(/* @__PURE__ */ w()),
478
- order: /* @__PURE__ */ pe(),
473
+ label: ye,
474
+ description: be,
475
+ icon: /* @__PURE__ */ S(/* @__PURE__ */ w()),
476
+ iconDark: /* @__PURE__ */ S(/* @__PURE__ */ w()),
477
+ iconNeutral: /* @__PURE__ */ S(/* @__PURE__ */ w()),
478
+ order: /* @__PURE__ */ fe(),
479
479
  path: /* @__PURE__ */ w()
480
- }), we = {
480
+ }), Te = {
481
481
  id: /* @__PURE__ */ w(),
482
- label: ve,
483
- description: ye,
484
- firstCreatedAt: /* @__PURE__ */ x(/* @__PURE__ */ pe()),
485
- icon: /* @__PURE__ */ x(/* @__PURE__ */ w()),
486
- iconDark: /* @__PURE__ */ x(/* @__PURE__ */ w()),
487
- iconNeutral: /* @__PURE__ */ x(/* @__PURE__ */ w()),
488
- lastUpdatedAt: /* @__PURE__ */ x(/* @__PURE__ */ pe()),
489
- status: /* @__PURE__ */ x(Se),
490
- statusId: /* @__PURE__ */ x(xe)
482
+ label: ye,
483
+ description: be,
484
+ firstCreatedAt: /* @__PURE__ */ S(/* @__PURE__ */ fe()),
485
+ icon: /* @__PURE__ */ S(/* @__PURE__ */ w()),
486
+ iconDark: /* @__PURE__ */ S(/* @__PURE__ */ w()),
487
+ iconNeutral: /* @__PURE__ */ S(/* @__PURE__ */ w()),
488
+ lastUpdatedAt: /* @__PURE__ */ S(/* @__PURE__ */ fe()),
489
+ status: /* @__PURE__ */ S(Ce),
490
+ statusId: /* @__PURE__ */ S(Se)
491
491
  };
492
- ({ ...we }), T([
492
+ ({ ...Te }), _e([
493
493
  "app",
494
494
  "engine",
495
495
  "connector",
@@ -499,32 +499,32 @@ var be = T([
499
499
  ]);
500
500
  //#endregion
501
501
  //#region node_modules/@dpuse/dpuse-shared/dist/moduleConfig.schema-CMPetJQa.js
502
- var Te = {
503
- ...we,
502
+ var Ee = {
503
+ ...Te,
504
504
  version: /* @__PURE__ */ w()
505
505
  };
506
- ({ ...Te });
506
+ ({ ...Ee });
507
507
  //#endregion
508
508
  //#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModuleConnector.es.js
509
- var Ee = T([
509
+ var De = _e([
510
510
  "application",
511
511
  "curatedDataset",
512
512
  "database",
513
513
  "fileStore"
514
- ]), De = /* @__PURE__ */ S({ label: _e }), Oe = /* @__PURE__ */ S({
515
- authMethodId: T([
514
+ ]), Oe = /* @__PURE__ */ C({ label: ve }), ke = /* @__PURE__ */ C({
515
+ authMethodId: _e([
516
516
  "apiKey",
517
517
  "disabled",
518
518
  "oAuth2",
519
519
  "none"
520
520
  ]),
521
- activeConnectionCount: /* @__PURE__ */ C(/* @__PURE__ */ pe()),
522
- canDescribe: /* @__PURE__ */ C(/* @__PURE__ */ de()),
523
- id: /* @__PURE__ */ C(/* @__PURE__ */ w()),
524
- label: /* @__PURE__ */ C(_e),
525
- maxConnectionCount: /* @__PURE__ */ x(/* @__PURE__ */ pe()),
526
- params: /* @__PURE__ */ C(/* @__PURE__ */ ue(/* @__PURE__ */ me(/* @__PURE__ */ w(), /* @__PURE__ */ w())))
527
- }), ke = T([
521
+ activeConnectionCount: /* @__PURE__ */ pe(/* @__PURE__ */ fe()),
522
+ canDescribe: /* @__PURE__ */ pe(/* @__PURE__ */ ue()),
523
+ id: /* @__PURE__ */ pe(/* @__PURE__ */ w()),
524
+ label: /* @__PURE__ */ pe(ve),
525
+ maxConnectionCount: /* @__PURE__ */ S(/* @__PURE__ */ fe()),
526
+ params: /* @__PURE__ */ pe(/* @__PURE__ */ x(/* @__PURE__ */ me(/* @__PURE__ */ w(), /* @__PURE__ */ w())))
527
+ }), Ae = _e([
528
528
  "abortOperation",
529
529
  "auditObjectContent",
530
530
  "createObject",
@@ -539,62 +539,56 @@ var Ee = T([
539
539
  "retrieveChunks",
540
540
  "retrieveRecords",
541
541
  "upsertRecords"
542
- ]), Ae = T([
543
- "bidirectional",
544
- "destination",
545
- "source",
546
- "unknown"
547
- ]), je = /* @__PURE__ */ S({
542
+ ]), je = /* @__PURE__ */ C({
543
+ ...Ee,
544
+ typeId: /* @__PURE__ */ de("connector"),
545
+ category: /* @__PURE__ */ S(Oe),
546
+ categoryId: De,
547
+ implementations: /* @__PURE__ */ me(/* @__PURE__ */ w(), ke),
548
+ operations: /* @__PURE__ */ x(Ae),
549
+ vendorAccountURL: /* @__PURE__ */ S(/* @__PURE__ */ w()),
550
+ vendorDocumentationURL: /* @__PURE__ */ S(/* @__PURE__ */ w()),
551
+ vendorHomeURL: /* @__PURE__ */ S(/* @__PURE__ */ w())
552
+ }), Me = /* @__PURE__ */ C({
548
553
  ...Te,
549
- typeId: /* @__PURE__ */ fe("connector"),
550
- category: /* @__PURE__ */ x(De),
551
- categoryId: Ee,
552
- implementations: /* @__PURE__ */ me(/* @__PURE__ */ w(), Oe),
553
- operations: /* @__PURE__ */ ue(ke),
554
- usageId: Ae,
555
- vendorAccountURL: /* @__PURE__ */ x(/* @__PURE__ */ w()),
556
- vendorDocumentationURL: /* @__PURE__ */ x(/* @__PURE__ */ w()),
557
- vendorHomeURL: /* @__PURE__ */ x(/* @__PURE__ */ w())
558
- }), Me = /* @__PURE__ */ S({
559
- ...we,
560
- typeId: /* @__PURE__ */ fe("contextModelGroup"),
561
- modelRefs: /* @__PURE__ */ ue(Ce),
562
- order: /* @__PURE__ */ pe()
563
- }), Ne = T(["listContextFocuses"]), Pe = /* @__PURE__ */ S({
564
- ...Te,
565
- typeId: /* @__PURE__ */ fe("context"),
566
- models: /* @__PURE__ */ ue(Me),
567
- operations: /* @__PURE__ */ ue(Ne)
568
- }), Fe = T([
554
+ typeId: /* @__PURE__ */ de("contextModelGroup"),
555
+ modelRefs: /* @__PURE__ */ x(we),
556
+ order: /* @__PURE__ */ fe()
557
+ }), Ne = _e(["listContextFocuses"]), Pe = /* @__PURE__ */ C({
558
+ ...Ee,
559
+ typeId: /* @__PURE__ */ de("context"),
560
+ models: /* @__PURE__ */ x(Me),
561
+ operations: /* @__PURE__ */ x(Ne)
562
+ }), Fe = _e([
569
563
  "list",
570
564
  "render",
571
565
  "setColorMode"
572
- ]), Ie = /* @__PURE__ */ S({
573
- ...Te,
574
- typeId: /* @__PURE__ */ fe("presenter"),
575
- presentations: /* @__PURE__ */ ue(Ce),
576
- operations: /* @__PURE__ */ ue(Fe)
566
+ ]), Ie = /* @__PURE__ */ C({
567
+ ...Ee,
568
+ typeId: /* @__PURE__ */ de("presenter"),
569
+ presentations: /* @__PURE__ */ x(we),
570
+ operations: /* @__PURE__ */ x(Fe)
577
571
  }), Le = /* @__PURE__ */ l({
578
572
  Node: () => $t,
579
- Parser: () => F,
573
+ Parser: () => P,
580
574
  Position: () => ut,
581
575
  SourceLocation: () => dt,
582
- TokContext: () => B,
576
+ TokContext: () => z,
583
577
  Token: () => Un,
584
- TokenType: () => D,
578
+ TokenType: () => E,
585
579
  defaultOptions: () => pt,
586
580
  getLineInfo: () => ft,
587
581
  isIdentifierChar: () => Ye,
588
- isIdentifierStart: () => E,
582
+ isIdentifierStart: () => T,
589
583
  isNewLine: () => Qe,
590
584
  keywordTypes: () => Xe,
591
- lineBreak: () => N,
585
+ lineBreak: () => M,
592
586
  lineBreakG: () => Ze,
593
587
  nonASCIIwhitespace: () => et,
594
588
  parse: () => Jn,
595
589
  parseExpressionAt: () => Yn,
596
- tokContexts: () => V,
597
- tokTypes: () => M,
590
+ tokContexts: () => B,
591
+ tokTypes: () => j,
598
592
  tokenizer: () => Xn,
599
593
  version: () => qn
600
594
  }), Re = [
@@ -1565,159 +1559,159 @@ function Je(e, t) {
1565
1559
  }
1566
1560
  return !1;
1567
1561
  }
1568
- function E(e, t) {
1562
+ function T(e, t) {
1569
1563
  return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Ke.test(String.fromCharCode(e)) : t === !1 ? !1 : Je(e, ze);
1570
1564
  }
1571
1565
  function Ye(e, t) {
1572
1566
  return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && qe.test(String.fromCharCode(e)) : t === !1 ? !1 : Je(e, ze) || Je(e, Re);
1573
1567
  }
1574
- var D = function(e, t) {
1568
+ var E = function(e, t) {
1575
1569
  t === void 0 && (t = {}), this.label = e, this.keyword = t.keyword, this.beforeExpr = !!t.beforeExpr, this.startsExpr = !!t.startsExpr, this.isLoop = !!t.isLoop, this.isAssign = !!t.isAssign, this.prefix = !!t.prefix, this.postfix = !!t.postfix, this.binop = t.binop || null, this.updateContext = null;
1576
1570
  };
1577
- function O(e, t) {
1578
- return new D(e, {
1571
+ function D(e, t) {
1572
+ return new E(e, {
1579
1573
  beforeExpr: !0,
1580
1574
  binop: t
1581
1575
  });
1582
1576
  }
1583
- var k = { beforeExpr: !0 }, A = { startsExpr: !0 }, Xe = {};
1584
- function j(e, t) {
1585
- return t === void 0 && (t = {}), t.keyword = e, Xe[e] = new D(e, t);
1586
- }
1587
- var M = {
1588
- num: new D("num", A),
1589
- regexp: new D("regexp", A),
1590
- string: new D("string", A),
1591
- name: new D("name", A),
1592
- privateId: new D("privateId", A),
1593
- eof: new D("eof"),
1594
- bracketL: new D("[", {
1577
+ var O = { beforeExpr: !0 }, k = { startsExpr: !0 }, Xe = {};
1578
+ function A(e, t) {
1579
+ return t === void 0 && (t = {}), t.keyword = e, Xe[e] = new E(e, t);
1580
+ }
1581
+ var j = {
1582
+ num: new E("num", k),
1583
+ regexp: new E("regexp", k),
1584
+ string: new E("string", k),
1585
+ name: new E("name", k),
1586
+ privateId: new E("privateId", k),
1587
+ eof: new E("eof"),
1588
+ bracketL: new E("[", {
1595
1589
  beforeExpr: !0,
1596
1590
  startsExpr: !0
1597
1591
  }),
1598
- bracketR: new D("]"),
1599
- braceL: new D("{", {
1592
+ bracketR: new E("]"),
1593
+ braceL: new E("{", {
1600
1594
  beforeExpr: !0,
1601
1595
  startsExpr: !0
1602
1596
  }),
1603
- braceR: new D("}"),
1604
- parenL: new D("(", {
1597
+ braceR: new E("}"),
1598
+ parenL: new E("(", {
1605
1599
  beforeExpr: !0,
1606
1600
  startsExpr: !0
1607
1601
  }),
1608
- parenR: new D(")"),
1609
- comma: new D(",", k),
1610
- semi: new D(";", k),
1611
- colon: new D(":", k),
1612
- dot: new D("."),
1613
- question: new D("?", k),
1614
- questionDot: new D("?."),
1615
- arrow: new D("=>", k),
1616
- template: new D("template"),
1617
- invalidTemplate: new D("invalidTemplate"),
1618
- ellipsis: new D("...", k),
1619
- backQuote: new D("`", A),
1620
- dollarBraceL: new D("${", {
1602
+ parenR: new E(")"),
1603
+ comma: new E(",", O),
1604
+ semi: new E(";", O),
1605
+ colon: new E(":", O),
1606
+ dot: new E("."),
1607
+ question: new E("?", O),
1608
+ questionDot: new E("?."),
1609
+ arrow: new E("=>", O),
1610
+ template: new E("template"),
1611
+ invalidTemplate: new E("invalidTemplate"),
1612
+ ellipsis: new E("...", O),
1613
+ backQuote: new E("`", k),
1614
+ dollarBraceL: new E("${", {
1621
1615
  beforeExpr: !0,
1622
1616
  startsExpr: !0
1623
1617
  }),
1624
- eq: new D("=", {
1618
+ eq: new E("=", {
1625
1619
  beforeExpr: !0,
1626
1620
  isAssign: !0
1627
1621
  }),
1628
- assign: new D("_=", {
1622
+ assign: new E("_=", {
1629
1623
  beforeExpr: !0,
1630
1624
  isAssign: !0
1631
1625
  }),
1632
- incDec: new D("++/--", {
1626
+ incDec: new E("++/--", {
1633
1627
  prefix: !0,
1634
1628
  postfix: !0,
1635
1629
  startsExpr: !0
1636
1630
  }),
1637
- prefix: new D("!/~", {
1631
+ prefix: new E("!/~", {
1638
1632
  beforeExpr: !0,
1639
1633
  prefix: !0,
1640
1634
  startsExpr: !0
1641
1635
  }),
1642
- logicalOR: O("||", 1),
1643
- logicalAND: O("&&", 2),
1644
- bitwiseOR: O("|", 3),
1645
- bitwiseXOR: O("^", 4),
1646
- bitwiseAND: O("&", 5),
1647
- equality: O("==/!=/===/!==", 6),
1648
- relational: O("</>/<=/>=", 7),
1649
- bitShift: O("<</>>/>>>", 8),
1650
- plusMin: new D("+/-", {
1636
+ logicalOR: D("||", 1),
1637
+ logicalAND: D("&&", 2),
1638
+ bitwiseOR: D("|", 3),
1639
+ bitwiseXOR: D("^", 4),
1640
+ bitwiseAND: D("&", 5),
1641
+ equality: D("==/!=/===/!==", 6),
1642
+ relational: D("</>/<=/>=", 7),
1643
+ bitShift: D("<</>>/>>>", 8),
1644
+ plusMin: new E("+/-", {
1651
1645
  beforeExpr: !0,
1652
1646
  binop: 9,
1653
1647
  prefix: !0,
1654
1648
  startsExpr: !0
1655
1649
  }),
1656
- modulo: O("%", 10),
1657
- star: O("*", 10),
1658
- slash: O("/", 10),
1659
- starstar: new D("**", { beforeExpr: !0 }),
1660
- coalesce: O("??", 1),
1661
- _break: j("break"),
1662
- _case: j("case", k),
1663
- _catch: j("catch"),
1664
- _continue: j("continue"),
1665
- _debugger: j("debugger"),
1666
- _default: j("default", k),
1667
- _do: j("do", {
1650
+ modulo: D("%", 10),
1651
+ star: D("*", 10),
1652
+ slash: D("/", 10),
1653
+ starstar: new E("**", { beforeExpr: !0 }),
1654
+ coalesce: D("??", 1),
1655
+ _break: A("break"),
1656
+ _case: A("case", O),
1657
+ _catch: A("catch"),
1658
+ _continue: A("continue"),
1659
+ _debugger: A("debugger"),
1660
+ _default: A("default", O),
1661
+ _do: A("do", {
1668
1662
  isLoop: !0,
1669
1663
  beforeExpr: !0
1670
1664
  }),
1671
- _else: j("else", k),
1672
- _finally: j("finally"),
1673
- _for: j("for", { isLoop: !0 }),
1674
- _function: j("function", A),
1675
- _if: j("if"),
1676
- _return: j("return", k),
1677
- _switch: j("switch"),
1678
- _throw: j("throw", k),
1679
- _try: j("try"),
1680
- _var: j("var"),
1681
- _const: j("const"),
1682
- _while: j("while", { isLoop: !0 }),
1683
- _with: j("with"),
1684
- _new: j("new", {
1665
+ _else: A("else", O),
1666
+ _finally: A("finally"),
1667
+ _for: A("for", { isLoop: !0 }),
1668
+ _function: A("function", k),
1669
+ _if: A("if"),
1670
+ _return: A("return", O),
1671
+ _switch: A("switch"),
1672
+ _throw: A("throw", O),
1673
+ _try: A("try"),
1674
+ _var: A("var"),
1675
+ _const: A("const"),
1676
+ _while: A("while", { isLoop: !0 }),
1677
+ _with: A("with"),
1678
+ _new: A("new", {
1685
1679
  beforeExpr: !0,
1686
1680
  startsExpr: !0
1687
1681
  }),
1688
- _this: j("this", A),
1689
- _super: j("super", A),
1690
- _class: j("class", A),
1691
- _extends: j("extends", k),
1692
- _export: j("export"),
1693
- _import: j("import", A),
1694
- _null: j("null", A),
1695
- _true: j("true", A),
1696
- _false: j("false", A),
1697
- _in: j("in", {
1682
+ _this: A("this", k),
1683
+ _super: A("super", k),
1684
+ _class: A("class", k),
1685
+ _extends: A("extends", O),
1686
+ _export: A("export"),
1687
+ _import: A("import", k),
1688
+ _null: A("null", k),
1689
+ _true: A("true", k),
1690
+ _false: A("false", k),
1691
+ _in: A("in", {
1698
1692
  beforeExpr: !0,
1699
1693
  binop: 7
1700
1694
  }),
1701
- _instanceof: j("instanceof", {
1695
+ _instanceof: A("instanceof", {
1702
1696
  beforeExpr: !0,
1703
1697
  binop: 7
1704
1698
  }),
1705
- _typeof: j("typeof", {
1699
+ _typeof: A("typeof", {
1706
1700
  beforeExpr: !0,
1707
1701
  prefix: !0,
1708
1702
  startsExpr: !0
1709
1703
  }),
1710
- _void: j("void", {
1704
+ _void: A("void", {
1711
1705
  beforeExpr: !0,
1712
1706
  prefix: !0,
1713
1707
  startsExpr: !0
1714
1708
  }),
1715
- _delete: j("delete", {
1709
+ _delete: A("delete", {
1716
1710
  beforeExpr: !0,
1717
1711
  prefix: !0,
1718
1712
  startsExpr: !0
1719
1713
  })
1720
- }, N = /\r\n?|\n|\u2028|\u2029/, Ze = new RegExp(N.source, "g");
1714
+ }, M = /\r\n?|\n|\u2028|\u2029/, Ze = new RegExp(M.source, "g");
1721
1715
  function Qe(e) {
1722
1716
  return e === 10 || e === 13 || e === 8232 || e === 8233;
1723
1717
  }
@@ -1729,7 +1723,7 @@ function $e(e, t, n) {
1729
1723
  }
1730
1724
  return -1;
1731
1725
  }
1732
- var et = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, P = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, tt = Object.prototype, nt = tt.hasOwnProperty, rt = tt.toString, it = Object.hasOwn || (function(e, t) {
1726
+ var et = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, N = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, tt = Object.prototype, nt = tt.hasOwnProperty, rt = tt.toString, it = Object.hasOwn || (function(e, t) {
1733
1727
  return nt.call(e, t);
1734
1728
  }), at = Array.isArray || (function(e) {
1735
1729
  return rt.call(e) === "[object Array]";
@@ -1805,13 +1799,13 @@ var _t = 1, vt = 2, yt = 4, bt = 8, xt = 16, St = 32, Ct = 64, wt = 128, Tt = 25
1805
1799
  function kt(e, t) {
1806
1800
  return vt | (e ? yt : 0) | (t ? bt : 0);
1807
1801
  }
1808
- var At = 0, jt = 1, Mt = 2, Nt = 3, Pt = 4, Ft = 5, F = function(e, t, n) {
1802
+ var At = 0, jt = 1, Mt = 2, Nt = 3, Pt = 4, Ft = 5, P = function(e, t, n) {
1809
1803
  this.options = e = ht(e), this.sourceFile = e.sourceFile, this.keywords = st(We[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1810
1804
  var r = "";
1811
1805
  e.allowReserved !== !0 && (r = He[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = st(r);
1812
1806
  var i = (r ? r + " " : "") + He.strict;
1813
- this.reservedWordsStrict = st(i), this.reservedWordsStrictBind = st(i + " " + He.strictBind), this.input = String(t), this.containsEsc = !1, n ? (this.pos = n, this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(N).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = M.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || e.strict === !0 || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(this.options.sourceType === "commonjs" ? vt : _t), this.regexpState = null, this.privateNameStack = [];
1814
- }, I = {
1807
+ this.reservedWordsStrict = st(i), this.reservedWordsStrictBind = st(i + " " + He.strictBind), this.input = String(t), this.containsEsc = !1, n ? (this.pos = n, this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(M).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = j.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || e.strict === !0 || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(this.options.sourceType === "commonjs" ? vt : _t), this.regexpState = null, this.privateNameStack = [];
1808
+ }, F = {
1815
1809
  inFunction: { configurable: !0 },
1816
1810
  inGenerator: { configurable: !0 },
1817
1811
  inAsync: { configurable: !0 },
@@ -1824,120 +1818,120 @@ var At = 0, jt = 1, Mt = 2, Nt = 3, Pt = 4, Ft = 5, F = function(e, t, n) {
1824
1818
  allowUsing: { configurable: !0 },
1825
1819
  inClassStaticBlock: { configurable: !0 }
1826
1820
  };
1827
- F.prototype.parse = function() {
1821
+ P.prototype.parse = function() {
1828
1822
  var e = this, t = this.options.program || this.startNode();
1829
1823
  return this.nextToken(), this.catchStackOverflow(function() {
1830
1824
  return e.parseTopLevel(t);
1831
1825
  });
1832
- }, I.inFunction.get = function() {
1826
+ }, F.inFunction.get = function() {
1833
1827
  return (this.currentVarScope().flags & vt) > 0;
1834
- }, I.inGenerator.get = function() {
1828
+ }, F.inGenerator.get = function() {
1835
1829
  return (this.currentVarScope().flags & bt) > 0;
1836
- }, I.inAsync.get = function() {
1830
+ }, F.inAsync.get = function() {
1837
1831
  return (this.currentVarScope().flags & yt) > 0;
1838
- }, I.canAwait.get = function() {
1832
+ }, F.canAwait.get = function() {
1839
1833
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1840
1834
  var t = this.scopeStack[e].flags;
1841
1835
  if (t & (Tt | Et)) return !1;
1842
1836
  if (t & vt) return (t & yt) > 0;
1843
1837
  }
1844
1838
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
1845
- }, I.allowReturn.get = function() {
1839
+ }, F.allowReturn.get = function() {
1846
1840
  return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & _t);
1847
- }, I.allowSuper.get = function() {
1841
+ }, F.allowSuper.get = function() {
1848
1842
  return (this.currentThisScope().flags & Ct) > 0 || this.options.allowSuperOutsideMethod;
1849
- }, I.allowDirectSuper.get = function() {
1843
+ }, F.allowDirectSuper.get = function() {
1850
1844
  return (this.currentThisScope().flags & wt) > 0;
1851
- }, I.treatFunctionsAsVar.get = function() {
1845
+ }, F.treatFunctionsAsVar.get = function() {
1852
1846
  return this.treatFunctionsAsVarInScope(this.currentScope());
1853
- }, I.allowNewDotTarget.get = function() {
1847
+ }, F.allowNewDotTarget.get = function() {
1854
1848
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1855
1849
  var t = this.scopeStack[e].flags;
1856
1850
  if (t & (Tt | Et) || t & vt && !(t & xt)) return !0;
1857
1851
  }
1858
1852
  return !1;
1859
- }, I.allowUsing.get = function() {
1853
+ }, F.allowUsing.get = function() {
1860
1854
  var e = this.currentScope().flags;
1861
1855
  return !(e & Dt || !this.inModule && e & _t);
1862
- }, I.inClassStaticBlock.get = function() {
1856
+ }, F.inClassStaticBlock.get = function() {
1863
1857
  return (this.currentVarScope().flags & Tt) > 0;
1864
- }, F.extend = function() {
1858
+ }, P.extend = function() {
1865
1859
  for (var e = [], t = arguments.length; t--;) e[t] = arguments[t];
1866
1860
  for (var n = this, r = 0; r < e.length; r++) n = e[r](n);
1867
1861
  return n;
1868
- }, F.parse = function(e, t) {
1862
+ }, P.parse = function(e, t) {
1869
1863
  return new this(t, e).parse();
1870
- }, F.parseExpressionAt = function(e, t, n) {
1864
+ }, P.parseExpressionAt = function(e, t, n) {
1871
1865
  var r = new this(n, e, t);
1872
1866
  return r.nextToken(), r.parseExpression();
1873
- }, F.tokenizer = function(e, t) {
1867
+ }, P.tokenizer = function(e, t) {
1874
1868
  return new this(t, e);
1875
- }, Object.defineProperties(F.prototype, I);
1876
- var L = F.prototype, It = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1877
- L.strictDirective = function(e) {
1869
+ }, Object.defineProperties(P.prototype, F);
1870
+ var I = P.prototype, It = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1871
+ I.strictDirective = function(e) {
1878
1872
  if (this.options.ecmaVersion < 5) return !1;
1879
1873
  for (;;) {
1880
- P.lastIndex = e, e += P.exec(this.input)[0].length;
1874
+ N.lastIndex = e, e += N.exec(this.input)[0].length;
1881
1875
  var t = It.exec(this.input.slice(e));
1882
1876
  if (!t) return !1;
1883
1877
  if ((t[1] || t[2]) === "use strict") {
1884
- P.lastIndex = e + t[0].length;
1885
- var n = P.exec(this.input), r = n.index + n[0].length, i = this.input.charAt(r);
1886
- return i === ";" || i === "}" || N.test(n[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(i) || i === "!" && this.input.charAt(r + 1) === "=");
1878
+ N.lastIndex = e + t[0].length;
1879
+ var n = N.exec(this.input), r = n.index + n[0].length, i = this.input.charAt(r);
1880
+ return i === ";" || i === "}" || M.test(n[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(i) || i === "!" && this.input.charAt(r + 1) === "=");
1887
1881
  }
1888
- e += t[0].length, P.lastIndex = e, e += P.exec(this.input)[0].length, this.input[e] === ";" && e++;
1882
+ e += t[0].length, N.lastIndex = e, e += N.exec(this.input)[0].length, this.input[e] === ";" && e++;
1889
1883
  }
1890
- }, L.eat = function(e) {
1884
+ }, I.eat = function(e) {
1891
1885
  return this.type === e ? (this.next(), !0) : !1;
1892
- }, L.isContextual = function(e) {
1893
- return this.type === M.name && this.value === e && !this.containsEsc;
1894
- }, L.eatContextual = function(e) {
1886
+ }, I.isContextual = function(e) {
1887
+ return this.type === j.name && this.value === e && !this.containsEsc;
1888
+ }, I.eatContextual = function(e) {
1895
1889
  return this.isContextual(e) ? (this.next(), !0) : !1;
1896
- }, L.catchStackOverflow = function(e) {
1890
+ }, I.catchStackOverflow = function(e) {
1897
1891
  try {
1898
1892
  return e();
1899
1893
  } catch (e) {
1900
1894
  if (e instanceof Error && (/\bstack\b.*\b(exceeded|overflow)\b/i.test(e.message) || /\btoo much recursion\b/i.test(e.message))) this.raise(this.start, "Not enough stack space to parse input");
1901
1895
  else throw e;
1902
1896
  }
1903
- }, L.expectContextual = function(e) {
1897
+ }, I.expectContextual = function(e) {
1904
1898
  this.eatContextual(e) || this.unexpected();
1905
- }, L.canInsertSemicolon = function() {
1906
- return this.type === M.eof || this.type === M.braceR || N.test(this.input.slice(this.lastTokEnd, this.start));
1907
- }, L.insertSemicolon = function() {
1899
+ }, I.canInsertSemicolon = function() {
1900
+ return this.type === j.eof || this.type === j.braceR || M.test(this.input.slice(this.lastTokEnd, this.start));
1901
+ }, I.insertSemicolon = function() {
1908
1902
  if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
1909
- }, L.semicolon = function() {
1910
- !this.eat(M.semi) && !this.insertSemicolon() && this.unexpected();
1911
- }, L.afterTrailingComma = function(e, t) {
1903
+ }, I.semicolon = function() {
1904
+ !this.eat(j.semi) && !this.insertSemicolon() && this.unexpected();
1905
+ }, I.afterTrailingComma = function(e, t) {
1912
1906
  if (this.type === e) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t || this.next(), !0;
1913
- }, L.expect = function(e) {
1907
+ }, I.expect = function(e) {
1914
1908
  this.eat(e) || this.unexpected();
1915
- }, L.unexpected = function(e) {
1909
+ }, I.unexpected = function(e) {
1916
1910
  this.raise(e ?? this.start, "Unexpected token");
1917
1911
  };
1918
1912
  var Lt = function() {
1919
1913
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
1920
1914
  };
1921
- L.checkPatternErrors = function(e, t) {
1915
+ I.checkPatternErrors = function(e, t) {
1922
1916
  if (e) {
1923
1917
  e.trailingComma > -1 && this.raiseRecoverable(e.trailingComma, "Comma is not permitted after the rest element");
1924
1918
  var n = t ? e.parenthesizedAssign : e.parenthesizedBind;
1925
1919
  n > -1 && this.raiseRecoverable(n, t ? "Assigning to rvalue" : "Parenthesized pattern");
1926
1920
  }
1927
- }, L.checkExpressionErrors = function(e, t) {
1921
+ }, I.checkExpressionErrors = function(e, t) {
1928
1922
  if (!e) return !1;
1929
1923
  var n = e.shorthandAssign, r = e.doubleProto;
1930
1924
  if (!t) return n >= 0 || r >= 0;
1931
1925
  n >= 0 && this.raise(n, "Shorthand property assignments are valid only in destructuring patterns"), r >= 0 && this.raiseRecoverable(r, "Redefinition of __proto__ property");
1932
- }, L.checkYieldAwaitInDefaultParams = function() {
1926
+ }, I.checkYieldAwaitInDefaultParams = function() {
1933
1927
  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");
1934
- }, L.isSimpleAssignTarget = function(e) {
1928
+ }, I.isSimpleAssignTarget = function(e) {
1935
1929
  return e.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(e.expression) : e.type === "Identifier" || e.type === "MemberExpression";
1936
1930
  };
1937
- var R = F.prototype;
1938
- R.parseTopLevel = function(e) {
1931
+ var L = P.prototype;
1932
+ L.parseTopLevel = function(e) {
1939
1933
  var t = Object.create(null);
1940
- for (e.body ||= []; this.type !== M.eof;) {
1934
+ for (e.body ||= []; this.type !== j.eof;) {
1941
1935
  var n = this.parseStatement(null, !0, t);
1942
1936
  e.body.push(n);
1943
1937
  }
@@ -1948,14 +1942,14 @@ R.parseTopLevel = function(e) {
1948
1942
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType, this.finishNode(e, "Program");
1949
1943
  };
1950
1944
  var Rt = { kind: "loop" }, zt = { kind: "switch" };
1951
- R.isLet = function(e) {
1945
+ L.isLet = function(e) {
1952
1946
  if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1;
1953
- P.lastIndex = this.pos;
1954
- var t = P.exec(this.input), n = this.pos + t[0].length, r = this.fullCharCodeAt(n);
1947
+ N.lastIndex = this.pos;
1948
+ var t = N.exec(this.input), n = this.pos + t[0].length, r = this.fullCharCodeAt(n);
1955
1949
  if (r === 91 || r === 92) return !0;
1956
1950
  if (e) return !1;
1957
1951
  if (r === 123) return !0;
1958
- if (E(r)) {
1952
+ if (T(r)) {
1959
1953
  var i = n;
1960
1954
  do
1961
1955
  n += r <= 65535 ? 1 : 2;
@@ -1965,25 +1959,25 @@ R.isLet = function(e) {
1965
1959
  if (!Ge.test(a)) return !0;
1966
1960
  }
1967
1961
  return !1;
1968
- }, R.isAsyncFunction = function() {
1962
+ }, L.isAsyncFunction = function() {
1969
1963
  if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return !1;
1970
- P.lastIndex = this.pos;
1971
- var e = P.exec(this.input), t = this.pos + e[0].length, n;
1972
- return !N.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(Ye(n = this.fullCharCodeAt(t + 8)) || n === 92));
1973
- }, R.isUsingKeyword = function(e, t) {
1964
+ N.lastIndex = this.pos;
1965
+ var e = N.exec(this.input), t = this.pos + e[0].length, n;
1966
+ return !M.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(Ye(n = this.fullCharCodeAt(t + 8)) || n === 92));
1967
+ }, L.isUsingKeyword = function(e, t) {
1974
1968
  if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using")) return !1;
1975
- P.lastIndex = this.pos;
1976
- var n = P.exec(this.input), r = this.pos + n[0].length;
1977
- if (N.test(this.input.slice(this.pos, r))) return !1;
1969
+ N.lastIndex = this.pos;
1970
+ var n = N.exec(this.input), r = this.pos + n[0].length;
1971
+ if (M.test(this.input.slice(this.pos, r))) return !1;
1978
1972
  if (e) {
1979
1973
  var i = r + 5, a;
1980
1974
  if (this.input.slice(r, i) !== "using" || i === this.input.length || Ye(a = this.fullCharCodeAt(i)) || a === 92) return !1;
1981
- P.lastIndex = i;
1982
- var o = P.exec(this.input);
1983
- if (r = i + o[0].length, o && N.test(this.input.slice(i, r))) return !1;
1975
+ N.lastIndex = i;
1976
+ var o = N.exec(this.input);
1977
+ if (r = i + o[0].length, o && M.test(this.input.slice(i, r))) return !1;
1984
1978
  }
1985
1979
  var s = this.fullCharCodeAt(r);
1986
- if (!E(s) && s !== 92) return !1;
1980
+ if (!T(s) && s !== 92) return !1;
1987
1981
  var c = r;
1988
1982
  do
1989
1983
  r += s <= 65535 ? 1 : 2;
@@ -1992,69 +1986,69 @@ R.isLet = function(e) {
1992
1986
  var l = this.input.slice(c, r);
1993
1987
  if (Ge.test(l)) return !1;
1994
1988
  if (t && !e && l === "of") {
1995
- P.lastIndex = r;
1996
- var u = P.exec(this.input);
1989
+ N.lastIndex = r;
1990
+ var u = N.exec(this.input);
1997
1991
  if (r += u[0].length, this.input.charCodeAt(r) !== 61 || (s = this.input.charCodeAt(r + 1)) === 61 || s === 62) return !1;
1998
1992
  }
1999
1993
  return !0;
2000
- }, R.isAwaitUsing = function(e) {
1994
+ }, L.isAwaitUsing = function(e) {
2001
1995
  return this.isUsingKeyword(!0, e);
2002
- }, R.isUsing = function(e) {
1996
+ }, L.isUsing = function(e) {
2003
1997
  return this.isUsingKeyword(!1, e);
2004
- }, R.parseStatement = function(e, t, n) {
1998
+ }, L.parseStatement = function(e, t, n) {
2005
1999
  var r = this.type, i = this.startNode(), a;
2006
- switch (this.isLet(e) && (r = M._var, a = "let"), r) {
2007
- case M._break:
2008
- case M._continue: return this.parseBreakContinueStatement(i, r.keyword);
2009
- case M._debugger: return this.parseDebuggerStatement(i);
2010
- case M._do: return this.parseDoStatement(i);
2011
- case M._for: return this.parseForStatement(i);
2012
- case M._function: return e && (this.strict || e !== "if" && e !== "label") && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(i, !1, !e);
2013
- case M._class: return e && this.unexpected(), this.parseClass(i, !0);
2014
- case M._if: return this.parseIfStatement(i);
2015
- case M._return: return this.parseReturnStatement(i);
2016
- case M._switch: return this.parseSwitchStatement(i);
2017
- case M._throw: return this.parseThrowStatement(i);
2018
- case M._try: return this.parseTryStatement(i);
2019
- case M._const:
2020
- case M._var: return a ||= this.value, e && a !== "var" && this.unexpected(), this.parseVarStatement(i, a);
2021
- case M._while: return this.parseWhileStatement(i);
2022
- case M._with: return this.parseWithStatement(i);
2023
- case M.braceL: return this.parseBlock(!0, i);
2024
- case M.semi: return this.parseEmptyStatement(i);
2025
- case M._export:
2026
- case M._import:
2027
- if (this.options.ecmaVersion > 10 && r === M._import) {
2028
- P.lastIndex = this.pos;
2029
- var o = P.exec(this.input), s = this.pos + o[0].length, c = this.input.charCodeAt(s);
2000
+ switch (this.isLet(e) && (r = j._var, a = "let"), r) {
2001
+ case j._break:
2002
+ case j._continue: return this.parseBreakContinueStatement(i, r.keyword);
2003
+ case j._debugger: return this.parseDebuggerStatement(i);
2004
+ case j._do: return this.parseDoStatement(i);
2005
+ case j._for: return this.parseForStatement(i);
2006
+ case j._function: return e && (this.strict || e !== "if" && e !== "label") && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(i, !1, !e);
2007
+ case j._class: return e && this.unexpected(), this.parseClass(i, !0);
2008
+ case j._if: return this.parseIfStatement(i);
2009
+ case j._return: return this.parseReturnStatement(i);
2010
+ case j._switch: return this.parseSwitchStatement(i);
2011
+ case j._throw: return this.parseThrowStatement(i);
2012
+ case j._try: return this.parseTryStatement(i);
2013
+ case j._const:
2014
+ case j._var: return a ||= this.value, e && a !== "var" && this.unexpected(), this.parseVarStatement(i, a);
2015
+ case j._while: return this.parseWhileStatement(i);
2016
+ case j._with: return this.parseWithStatement(i);
2017
+ case j.braceL: return this.parseBlock(!0, i);
2018
+ case j.semi: return this.parseEmptyStatement(i);
2019
+ case j._export:
2020
+ case j._import:
2021
+ if (this.options.ecmaVersion > 10 && r === j._import) {
2022
+ N.lastIndex = this.pos;
2023
+ var o = N.exec(this.input), s = this.pos + o[0].length, c = this.input.charCodeAt(s);
2030
2024
  if (c === 40 || c === 46) return this.parseExpressionStatement(i, this.parseExpression());
2031
2025
  }
2032
- 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'")), r === M._import ? this.parseImport(i) : this.parseExport(i, n);
2026
+ 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'")), r === j._import ? this.parseImport(i) : this.parseExport(i, n);
2033
2027
  default:
2034
2028
  if (this.isAsyncFunction()) return e && this.unexpected(), this.next(), this.parseFunctionStatement(i, !0, !e);
2035
2029
  var l = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
2036
2030
  if (l) return this.allowUsing || this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"), e && this.raise(this.start, "Using declaration is not allowed in single-statement positions"), l === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(i, !1, l), this.semicolon(), this.finishNode(i, "VariableDeclaration");
2037
2031
  var u = this.value, d = this.parseExpression();
2038
- return r === M.name && d.type === "Identifier" && this.eat(M.colon) ? this.parseLabeledStatement(i, u, d, e) : this.parseExpressionStatement(i, d);
2032
+ return r === j.name && d.type === "Identifier" && this.eat(j.colon) ? this.parseLabeledStatement(i, u, d, e) : this.parseExpressionStatement(i, d);
2039
2033
  }
2040
- }, R.parseBreakContinueStatement = function(e, t) {
2034
+ }, L.parseBreakContinueStatement = function(e, t) {
2041
2035
  var n = t === "break";
2042
- this.next(), this.eat(M.semi) || this.insertSemicolon() ? e.label = null : this.type === M.name ? (e.label = this.parseIdent(), this.semicolon()) : this.unexpected();
2036
+ this.next(), this.eat(j.semi) || this.insertSemicolon() ? e.label = null : this.type === j.name ? (e.label = this.parseIdent(), this.semicolon()) : this.unexpected();
2043
2037
  for (var r = 0; r < this.labels.length; ++r) {
2044
2038
  var i = this.labels[r];
2045
2039
  if ((e.label == null || i.name === e.label.name) && (i.kind != null && (n || i.kind === "loop") || e.label && n)) break;
2046
2040
  }
2047
2041
  return r === this.labels.length && this.raise(e.start, "Unsyntactic " + t), this.finishNode(e, n ? "BreakStatement" : "ContinueStatement");
2048
- }, R.parseDebuggerStatement = function(e) {
2042
+ }, L.parseDebuggerStatement = function(e) {
2049
2043
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
2050
- }, R.parseDoStatement = function(e) {
2051
- return this.next(), this.labels.push(Rt), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(M._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(M.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
2052
- }, R.parseForStatement = function(e) {
2044
+ }, L.parseDoStatement = function(e) {
2045
+ return this.next(), this.labels.push(Rt), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(j._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(j.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
2046
+ }, L.parseForStatement = function(e) {
2053
2047
  this.next();
2054
2048
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
2055
- if (this.labels.push(Rt), this.enterScope(0), this.expect(M.parenL), this.type === M.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
2049
+ if (this.labels.push(Rt), this.enterScope(0), this.expect(j.parenL), this.type === j.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
2056
2050
  var n = this.isLet();
2057
- if (this.type === M._var || this.type === M._const || n) {
2051
+ if (this.type === j._var || this.type === j._const || n) {
2058
2052
  var r = this.startNode(), i = n ? "let" : this.value;
2059
2053
  return this.next(), this.parseVar(r, !0, i), this.finishNode(r, "VariableDeclaration"), this.parseForAfterInit(e, r, t);
2060
2054
  }
@@ -2064,46 +2058,46 @@ R.isLet = function(e) {
2064
2058
  return this.next(), s === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.parseVar(c, !0, s), this.finishNode(c, "VariableDeclaration"), this.parseForAfterInit(e, c, t);
2065
2059
  }
2066
2060
  var l = this.containsEsc, u = new Lt(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
2067
- return this.type === M._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === M._in && this.unexpected(t), e.await = !0) : o && this.options.ecmaVersion >= 8 && (f.start === d && !l && f.type === "Identifier" && f.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), a && o && this.raise(f.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(f, !1, u), this.checkLValPattern(f), this.parseForIn(e, f)) : (this.checkExpressionErrors(u, !0), t > -1 && this.unexpected(t), this.parseFor(e, f));
2068
- }, R.parseForAfterInit = function(e, t, n) {
2069
- return (this.type === M._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.type === M._in ? ((t.kind === "using" || t.kind === "await using") && !t.declarations[0].init && this.raise(this.start, "Using declaration is not allowed in for-in loops"), this.options.ecmaVersion >= 9 && n > -1 && this.unexpected(n)) : this.options.ecmaVersion >= 9 && (e.await = n > -1), this.parseForIn(e, t)) : (n > -1 && this.unexpected(n), this.parseFor(e, t));
2070
- }, R.parseFunctionStatement = function(e, t, n) {
2061
+ return this.type === j._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === j._in && this.unexpected(t), e.await = !0) : o && this.options.ecmaVersion >= 8 && (f.start === d && !l && f.type === "Identifier" && f.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), a && o && this.raise(f.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(f, !1, u), this.checkLValPattern(f), this.parseForIn(e, f)) : (this.checkExpressionErrors(u, !0), t > -1 && this.unexpected(t), this.parseFor(e, f));
2062
+ }, L.parseForAfterInit = function(e, t, n) {
2063
+ return (this.type === j._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.type === j._in ? ((t.kind === "using" || t.kind === "await using") && !t.declarations[0].init && this.raise(this.start, "Using declaration is not allowed in for-in loops"), this.options.ecmaVersion >= 9 && n > -1 && this.unexpected(n)) : this.options.ecmaVersion >= 9 && (e.await = n > -1), this.parseForIn(e, t)) : (n > -1 && this.unexpected(n), this.parseFor(e, t));
2064
+ }, L.parseFunctionStatement = function(e, t, n) {
2071
2065
  return this.next(), this.parseFunction(e, Vt | (n ? 0 : Ht), !1, t);
2072
- }, R.parseIfStatement = function(e) {
2073
- return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(M._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
2074
- }, R.parseReturnStatement = function(e) {
2075
- return this.allowReturn || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(M.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
2076
- }, R.parseSwitchStatement = function(e) {
2077
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(M.braceL), this.labels.push(zt), this.enterScope(Dt);
2078
- for (var t, n = !1; this.type !== M.braceR;) if (this.type === M._case || this.type === M._default) {
2079
- var r = this.type === M._case;
2080
- t && this.finishNode(t, "SwitchCase"), e.cases.push(t = this.startNode()), t.consequent = [], this.next(), r ? t.test = this.parseExpression() : (n && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), n = !0, t.test = null), this.expect(M.colon);
2066
+ }, L.parseIfStatement = function(e) {
2067
+ return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(j._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
2068
+ }, L.parseReturnStatement = function(e) {
2069
+ return this.allowReturn || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(j.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
2070
+ }, L.parseSwitchStatement = function(e) {
2071
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(j.braceL), this.labels.push(zt), this.enterScope(Dt);
2072
+ for (var t, n = !1; this.type !== j.braceR;) if (this.type === j._case || this.type === j._default) {
2073
+ var r = this.type === j._case;
2074
+ t && this.finishNode(t, "SwitchCase"), e.cases.push(t = this.startNode()), t.consequent = [], this.next(), r ? t.test = this.parseExpression() : (n && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), n = !0, t.test = null), this.expect(j.colon);
2081
2075
  } else t || this.unexpected(), t.consequent.push(this.parseStatement(null));
2082
2076
  return this.exitScope(), t && this.finishNode(t, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e, "SwitchStatement");
2083
- }, R.parseThrowStatement = function(e) {
2084
- return this.next(), N.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");
2077
+ }, L.parseThrowStatement = function(e) {
2078
+ return this.next(), M.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");
2085
2079
  };
2086
2080
  var Bt = [];
2087
- R.parseCatchClauseParam = function() {
2081
+ L.parseCatchClauseParam = function() {
2088
2082
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
2089
- return this.enterScope(t ? St : 0), this.checkLValPattern(e, t ? Pt : Mt), this.expect(M.parenR), e;
2090
- }, R.parseTryStatement = function(e) {
2091
- if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === M._catch) {
2083
+ return this.enterScope(t ? St : 0), this.checkLValPattern(e, t ? Pt : Mt), this.expect(j.parenR), e;
2084
+ }, L.parseTryStatement = function(e) {
2085
+ if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === j._catch) {
2092
2086
  var t = this.startNode();
2093
- this.next(), this.eat(M.parenL) ? t.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t.param = null, this.enterScope(0)), t.body = this.parseBlock(!1), this.exitScope(), e.handler = this.finishNode(t, "CatchClause");
2087
+ this.next(), this.eat(j.parenL) ? t.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t.param = null, this.enterScope(0)), t.body = this.parseBlock(!1), this.exitScope(), e.handler = this.finishNode(t, "CatchClause");
2094
2088
  }
2095
- return e.finalizer = this.eat(M._finally) ? this.parseBlock() : null, !e.handler && !e.finalizer && this.raise(e.start, "Missing catch or finally clause"), this.finishNode(e, "TryStatement");
2096
- }, R.parseVarStatement = function(e, t, n) {
2089
+ return e.finalizer = this.eat(j._finally) ? this.parseBlock() : null, !e.handler && !e.finalizer && this.raise(e.start, "Missing catch or finally clause"), this.finishNode(e, "TryStatement");
2090
+ }, L.parseVarStatement = function(e, t, n) {
2097
2091
  return this.next(), this.parseVar(e, !1, t, n), this.semicolon(), this.finishNode(e, "VariableDeclaration");
2098
- }, R.parseWhileStatement = function(e) {
2092
+ }, L.parseWhileStatement = function(e) {
2099
2093
  return this.next(), e.test = this.parseParenExpression(), this.labels.push(Rt), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
2100
- }, R.parseWithStatement = function(e) {
2094
+ }, L.parseWithStatement = function(e) {
2101
2095
  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");
2102
- }, R.parseEmptyStatement = function(e) {
2096
+ }, L.parseEmptyStatement = function(e) {
2103
2097
  return this.next(), this.finishNode(e, "EmptyStatement");
2104
- }, R.parseLabeledStatement = function(e, t, n, r) {
2098
+ }, L.parseLabeledStatement = function(e, t, n, r) {
2105
2099
  for (var i = 0, a = this.labels; i < a.length; i += 1) a[i].name === t && this.raise(n.start, "Label '" + t + "' is already declared");
2106
- for (var o = this.type.isLoop ? "loop" : this.type === M._switch ? "switch" : null, s = this.labels.length - 1; s >= 0; s--) {
2100
+ for (var o = this.type.isLoop ? "loop" : this.type === j._switch ? "switch" : null, s = this.labels.length - 1; s >= 0; s--) {
2107
2101
  var c = this.labels[s];
2108
2102
  if (c.statementStart === e.start) c.statementStart = this.start, c.kind = o;
2109
2103
  else break;
@@ -2113,91 +2107,91 @@ R.parseCatchClauseParam = function() {
2113
2107
  kind: o,
2114
2108
  statementStart: this.start
2115
2109
  }), e.body = this.parseStatement(r ? r.indexOf("label") === -1 ? r + "label" : r : "label"), this.labels.pop(), e.label = n, this.finishNode(e, "LabeledStatement");
2116
- }, R.parseExpressionStatement = function(e, t) {
2110
+ }, L.parseExpressionStatement = function(e, t) {
2117
2111
  return e.expression = t, this.semicolon(), this.finishNode(e, "ExpressionStatement");
2118
- }, R.parseBlock = function(e, t, n) {
2119
- for (e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), t.body = [], this.expect(M.braceL), e && this.enterScope(0); this.type !== M.braceR;) {
2112
+ }, L.parseBlock = function(e, t, n) {
2113
+ for (e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), t.body = [], this.expect(j.braceL), e && this.enterScope(0); this.type !== j.braceR;) {
2120
2114
  var r = this.parseStatement(null);
2121
2115
  t.body.push(r);
2122
2116
  }
2123
2117
  return n && (this.strict = !1), this.next(), e && this.exitScope(), this.finishNode(t, "BlockStatement");
2124
- }, R.parseFor = function(e, t) {
2125
- return e.init = t, this.expect(M.semi), e.test = this.type === M.semi ? null : this.parseExpression(), this.expect(M.semi), e.update = this.type === M.parenR ? null : this.parseExpression(), this.expect(M.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, "ForStatement");
2126
- }, R.parseForIn = function(e, t) {
2127
- var n = this.type === M._in;
2128
- return this.next(), t.type === "VariableDeclaration" && t.declarations[0].init != null && (!n || this.options.ecmaVersion < 8 || this.strict || t.kind !== "var" || t.declarations[0].id.type !== "Identifier") && this.raise(t.start, (n ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e.left = t, e.right = n ? this.parseExpression() : this.parseMaybeAssign(), this.expect(M.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, n ? "ForInStatement" : "ForOfStatement");
2129
- }, R.parseVar = function(e, t, n, r) {
2118
+ }, L.parseFor = function(e, t) {
2119
+ return e.init = t, this.expect(j.semi), e.test = this.type === j.semi ? null : this.parseExpression(), this.expect(j.semi), e.update = this.type === j.parenR ? null : this.parseExpression(), this.expect(j.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, "ForStatement");
2120
+ }, L.parseForIn = function(e, t) {
2121
+ var n = this.type === j._in;
2122
+ return this.next(), t.type === "VariableDeclaration" && t.declarations[0].init != null && (!n || this.options.ecmaVersion < 8 || this.strict || t.kind !== "var" || t.declarations[0].id.type !== "Identifier") && this.raise(t.start, (n ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e.left = t, e.right = n ? this.parseExpression() : this.parseMaybeAssign(), this.expect(j.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, n ? "ForInStatement" : "ForOfStatement");
2123
+ }, L.parseVar = function(e, t, n, r) {
2130
2124
  for (e.declarations = [], e.kind = n;;) {
2131
2125
  var i = this.startNode();
2132
- if (this.parseVarId(i, n), this.eat(M.eq) ? i.init = this.parseMaybeAssign(t) : !r && n === "const" && !(this.type === M._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !r && (n === "using" || n === "await using") && this.options.ecmaVersion >= 17 && this.type !== M._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + n + " declaration") : !r && i.id.type !== "Identifier" && !(t && (this.type === M._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : i.init = null, e.declarations.push(this.finishNode(i, "VariableDeclarator")), !this.eat(M.comma)) break;
2126
+ if (this.parseVarId(i, n), this.eat(j.eq) ? i.init = this.parseMaybeAssign(t) : !r && n === "const" && !(this.type === j._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !r && (n === "using" || n === "await using") && this.options.ecmaVersion >= 17 && this.type !== j._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + n + " declaration") : !r && i.id.type !== "Identifier" && !(t && (this.type === j._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : i.init = null, e.declarations.push(this.finishNode(i, "VariableDeclarator")), !this.eat(j.comma)) break;
2133
2127
  }
2134
2128
  return e;
2135
- }, R.parseVarId = function(e, t) {
2129
+ }, L.parseVarId = function(e, t) {
2136
2130
  e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? jt : Mt, !1);
2137
2131
  };
2138
2132
  var Vt = 1, Ht = 2, Ut = 4;
2139
- R.parseFunction = function(e, t, n, r, i) {
2140
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === M.star && t & Ht && this.unexpected(), e.generator = this.eat(M.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Vt && (e.id = t & Ut && this.type !== M.name ? null : this.parseIdent(), e.id && !(t & Ht) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? jt : Mt : Nt));
2133
+ L.parseFunction = function(e, t, n, r, i) {
2134
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === j.star && t & Ht && this.unexpected(), e.generator = this.eat(j.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Vt && (e.id = t & Ut && this.type !== j.name ? null : this.parseIdent(), e.id && !(t & Ht) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? jt : Mt : Nt));
2141
2135
  var a = this.yieldPos, o = this.awaitPos, s = this.awaitIdentPos;
2142
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(kt(e.async, e.generator)), t & Vt || (e.id = this.type === M.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, n, !1, i), this.yieldPos = a, this.awaitPos = o, this.awaitIdentPos = s, this.finishNode(e, t & Vt ? "FunctionDeclaration" : "FunctionExpression");
2143
- }, R.parseFunctionParams = function(e) {
2144
- this.expect(M.parenL), e.params = this.parseBindingList(M.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
2145
- }, R.parseClass = function(e, t) {
2136
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(kt(e.async, e.generator)), t & Vt || (e.id = this.type === j.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, n, !1, i), this.yieldPos = a, this.awaitPos = o, this.awaitIdentPos = s, this.finishNode(e, t & Vt ? "FunctionDeclaration" : "FunctionExpression");
2137
+ }, L.parseFunctionParams = function(e) {
2138
+ this.expect(j.parenL), e.params = this.parseBindingList(j.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
2139
+ }, L.parseClass = function(e, t) {
2146
2140
  this.next();
2147
2141
  var n = this.strict;
2148
2142
  this.strict = !0, this.parseClassId(e, t), this.parseClassSuper(e);
2149
2143
  var r = this.enterClassBody(), i = this.startNode(), a = !1;
2150
- for (i.body = [], this.expect(M.braceL); this.type !== M.braceR;) {
2144
+ for (i.body = [], this.expect(j.braceL); this.type !== j.braceR;) {
2151
2145
  var o = this.parseClassElement(e.superClass !== null);
2152
2146
  o && (i.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (a && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), a = !0) : o.key && o.key.type === "PrivateIdentifier" && Wt(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
2153
2147
  }
2154
2148
  return this.strict = n, this.next(), e.body = this.finishNode(i, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
2155
- }, R.parseClassElement = function(e) {
2156
- if (this.eat(M.semi)) return null;
2149
+ }, L.parseClassElement = function(e) {
2150
+ if (this.eat(j.semi)) return null;
2157
2151
  var t = this.options.ecmaVersion, n = this.startNode(), r = "", i = !1, a = !1, o = "method", s = !1;
2158
2152
  if (this.eatContextual("static")) {
2159
- if (t >= 13 && this.eat(M.braceL)) return this.parseClassStaticBlock(n), n;
2160
- this.isClassElementNameStart() || this.type === M.star ? s = !0 : r = "static";
2153
+ if (t >= 13 && this.eat(j.braceL)) return this.parseClassStaticBlock(n), n;
2154
+ this.isClassElementNameStart() || this.type === j.star ? s = !0 : r = "static";
2161
2155
  }
2162
- if (n.static = s, !r && t >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === M.star) && !this.canInsertSemicolon() ? a = !0 : r = "async"), !r && (t >= 9 || !a) && this.eat(M.star) && (i = !0), !r && !a && !i) {
2156
+ if (n.static = s, !r && t >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === j.star) && !this.canInsertSemicolon() ? a = !0 : r = "async"), !r && (t >= 9 || !a) && this.eat(j.star) && (i = !0), !r && !a && !i) {
2163
2157
  var c = this.value;
2164
2158
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = c : r = c);
2165
2159
  }
2166
- if (r ? (n.computed = !1, n.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), n.key.name = r, this.finishNode(n.key, "Identifier")) : this.parseClassElementName(n), t < 13 || this.type === M.parenL || o !== "method" || i || a) {
2160
+ if (r ? (n.computed = !1, n.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), n.key.name = r, this.finishNode(n.key, "Identifier")) : this.parseClassElementName(n), t < 13 || this.type === j.parenL || o !== "method" || i || a) {
2167
2161
  var l = !n.static && Gt(n, "constructor"), u = l && e;
2168
2162
  l && o !== "method" && this.raise(n.key.start, "Constructor can't have get/set modifier"), n.kind = l ? "constructor" : o, this.parseClassMethod(n, i, a, u);
2169
2163
  } else this.parseClassField(n);
2170
2164
  return n;
2171
- }, R.isClassElementNameStart = function() {
2172
- return this.type === M.name || this.type === M.privateId || this.type === M.num || this.type === M.string || this.type === M.bracketL || this.type.keyword;
2173
- }, R.parseClassElementName = function(e) {
2174
- this.type === M.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = !1, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e);
2175
- }, R.parseClassMethod = function(e, t, n, r) {
2165
+ }, L.isClassElementNameStart = function() {
2166
+ return this.type === j.name || this.type === j.privateId || this.type === j.num || this.type === j.string || this.type === j.bracketL || this.type.keyword;
2167
+ }, L.parseClassElementName = function(e) {
2168
+ this.type === j.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = !1, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e);
2169
+ }, L.parseClassMethod = function(e, t, n, r) {
2176
2170
  var i = e.key;
2177
2171
  e.kind === "constructor" ? (t && this.raise(i.start, "Constructor can't be a generator"), n && this.raise(i.start, "Constructor can't be an async method")) : e.static && Gt(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
2178
2172
  var a = e.value = this.parseMethod(t, n, r);
2179
2173
  return e.kind === "get" && a.params.length !== 0 && this.raiseRecoverable(a.start, "getter should have no params"), e.kind === "set" && a.params.length !== 1 && this.raiseRecoverable(a.start, "setter should have exactly one param"), e.kind === "set" && a.params[0].type === "RestElement" && this.raiseRecoverable(a.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
2180
- }, R.parseClassField = function(e) {
2181
- return Gt(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Gt(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(M.eq) ? (this.enterScope(Et | Ct), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
2182
- }, R.parseClassStaticBlock = function(e) {
2174
+ }, L.parseClassField = function(e) {
2175
+ return Gt(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Gt(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(j.eq) ? (this.enterScope(Et | Ct), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
2176
+ }, L.parseClassStaticBlock = function(e) {
2183
2177
  e.body = [];
2184
2178
  var t = this.labels;
2185
- for (this.labels = [], this.enterScope(Tt | Ct); this.type !== M.braceR;) {
2179
+ for (this.labels = [], this.enterScope(Tt | Ct); this.type !== j.braceR;) {
2186
2180
  var n = this.parseStatement(null);
2187
2181
  e.body.push(n);
2188
2182
  }
2189
2183
  return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
2190
- }, R.parseClassId = function(e, t) {
2191
- this.type === M.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, Mt, !1)) : (t === !0 && this.unexpected(), e.id = null);
2192
- }, R.parseClassSuper = function(e) {
2193
- e.superClass = this.eat(M._extends) ? this.parseExprSubscripts(null, !1) : null;
2194
- }, R.enterClassBody = function() {
2184
+ }, L.parseClassId = function(e, t) {
2185
+ this.type === j.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, Mt, !1)) : (t === !0 && this.unexpected(), e.id = null);
2186
+ }, L.parseClassSuper = function(e) {
2187
+ e.superClass = this.eat(j._extends) ? this.parseExprSubscripts(null, !1) : null;
2188
+ }, L.enterClassBody = function() {
2195
2189
  var e = {
2196
2190
  declared: Object.create(null),
2197
2191
  used: []
2198
2192
  };
2199
2193
  return this.privateNameStack.push(e), e.declared;
2200
- }, R.exitClassBody = function() {
2194
+ }, L.exitClassBody = function() {
2201
2195
  var e = this.privateNameStack.pop(), t = e.declared, n = e.used;
2202
2196
  if (this.options.checkPrivateFields) for (var r = this.privateNameStack.length, i = r === 0 ? null : this.privateNameStack[r - 1], a = 0; a < n.length; ++a) {
2203
2197
  var o = n[a];
@@ -2212,14 +2206,14 @@ function Gt(e, t) {
2212
2206
  var n = e.computed, r = e.key;
2213
2207
  return !n && (r.type === "Identifier" && r.name === t || r.type === "Literal" && r.value === t);
2214
2208
  }
2215
- R.parseExportAllDeclaration = function(e, t) {
2216
- 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 !== M.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
2217
- }, R.parseExport = function(e, t) {
2218
- if (this.next(), this.eat(M.star)) return this.parseExportAllDeclaration(e, t);
2219
- if (this.eat(M._default)) return this.checkExport(t, "default", this.lastTokStart), e.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e, "ExportDefaultDeclaration");
2209
+ L.parseExportAllDeclaration = function(e, t) {
2210
+ 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 !== j.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
2211
+ }, L.parseExport = function(e, t) {
2212
+ if (this.next(), this.eat(j.star)) return this.parseExportAllDeclaration(e, t);
2213
+ if (this.eat(j._default)) return this.checkExport(t, "default", this.lastTokStart), e.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e, "ExportDefaultDeclaration");
2220
2214
  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 = []);
2221
2215
  else {
2222
- if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== M.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause());
2216
+ if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== j.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause());
2223
2217
  else {
2224
2218
  for (var n = 0, r = e.specifiers; n < r.length; n += 1) {
2225
2219
  var i = r[n];
@@ -2230,23 +2224,23 @@ R.parseExportAllDeclaration = function(e, t) {
2230
2224
  this.semicolon();
2231
2225
  }
2232
2226
  return this.finishNode(e, "ExportNamedDeclaration");
2233
- }, R.parseExportDeclaration = function(e) {
2227
+ }, L.parseExportDeclaration = function(e) {
2234
2228
  return this.parseStatement(null);
2235
- }, R.parseExportDefaultDeclaration = function() {
2229
+ }, L.parseExportDefaultDeclaration = function() {
2236
2230
  var e;
2237
- if (this.type === M._function || (e = this.isAsyncFunction())) {
2231
+ if (this.type === j._function || (e = this.isAsyncFunction())) {
2238
2232
  var t = this.startNode();
2239
2233
  return this.next(), e && this.next(), this.parseFunction(t, Vt | Ut, !1, e);
2240
- } else if (this.type === M._class) {
2234
+ } else if (this.type === j._class) {
2241
2235
  var n = this.startNode();
2242
2236
  return this.parseClass(n, "nullableID");
2243
2237
  } else {
2244
2238
  var r = this.parseMaybeAssign();
2245
2239
  return this.semicolon(), r;
2246
2240
  }
2247
- }, R.checkExport = function(e, t, n) {
2241
+ }, L.checkExport = function(e, t, n) {
2248
2242
  e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), it(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
2249
- }, R.checkPatternExport = function(e, t) {
2243
+ }, L.checkPatternExport = function(e, t) {
2250
2244
  var n = t.type;
2251
2245
  if (n === "Identifier") this.checkExport(e, t, t.start);
2252
2246
  else if (n === "ObjectPattern") for (var r = 0, i = t.properties; r < i.length; r += 1) {
@@ -2258,72 +2252,72 @@ R.parseExportAllDeclaration = function(e, t) {
2258
2252
  c && this.checkPatternExport(e, c);
2259
2253
  }
2260
2254
  else n === "Property" ? this.checkPatternExport(e, t.value) : n === "AssignmentPattern" ? this.checkPatternExport(e, t.left) : n === "RestElement" && this.checkPatternExport(e, t.argument);
2261
- }, R.checkVariableExport = function(e, t) {
2255
+ }, L.checkVariableExport = function(e, t) {
2262
2256
  if (e) for (var n = 0, r = t; n < r.length; n += 1) {
2263
2257
  var i = r[n];
2264
2258
  this.checkPatternExport(e, i.id);
2265
2259
  }
2266
- }, R.shouldParseExportStatement = function() {
2260
+ }, L.shouldParseExportStatement = function() {
2267
2261
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
2268
- }, R.parseExportSpecifier = function(e) {
2262
+ }, L.parseExportSpecifier = function(e) {
2269
2263
  var t = this.startNode();
2270
2264
  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");
2271
- }, R.parseExportSpecifiers = function(e) {
2265
+ }, L.parseExportSpecifiers = function(e) {
2272
2266
  var t = [], n = !0;
2273
- for (this.expect(M.braceL); !this.eat(M.braceR);) {
2267
+ for (this.expect(j.braceL); !this.eat(j.braceR);) {
2274
2268
  if (n) n = !1;
2275
- else if (this.expect(M.comma), this.afterTrailingComma(M.braceR)) break;
2269
+ else if (this.expect(j.comma), this.afterTrailingComma(j.braceR)) break;
2276
2270
  t.push(this.parseExportSpecifier(e));
2277
2271
  }
2278
2272
  return t;
2279
- }, R.parseImport = function(e) {
2280
- return this.next(), this.type === M.string ? (e.specifiers = Bt, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === M.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
2281
- }, R.parseImportSpecifier = function() {
2273
+ }, L.parseImport = function(e) {
2274
+ return this.next(), this.type === j.string ? (e.specifiers = Bt, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === j.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
2275
+ }, L.parseImportSpecifier = function() {
2282
2276
  var e = this.startNode();
2283
2277
  return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, Mt), this.finishNode(e, "ImportSpecifier");
2284
- }, R.parseImportDefaultSpecifier = function() {
2278
+ }, L.parseImportDefaultSpecifier = function() {
2285
2279
  var e = this.startNode();
2286
2280
  return e.local = this.parseIdent(), this.checkLValSimple(e.local, Mt), this.finishNode(e, "ImportDefaultSpecifier");
2287
- }, R.parseImportNamespaceSpecifier = function() {
2281
+ }, L.parseImportNamespaceSpecifier = function() {
2288
2282
  var e = this.startNode();
2289
2283
  return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, Mt), this.finishNode(e, "ImportNamespaceSpecifier");
2290
- }, R.parseImportSpecifiers = function() {
2284
+ }, L.parseImportSpecifiers = function() {
2291
2285
  var e = [], t = !0;
2292
- if (this.type === M.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(M.comma))) return e;
2293
- if (this.type === M.star) return e.push(this.parseImportNamespaceSpecifier()), e;
2294
- for (this.expect(M.braceL); !this.eat(M.braceR);) {
2286
+ if (this.type === j.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(j.comma))) return e;
2287
+ if (this.type === j.star) return e.push(this.parseImportNamespaceSpecifier()), e;
2288
+ for (this.expect(j.braceL); !this.eat(j.braceR);) {
2295
2289
  if (t) t = !1;
2296
- else if (this.expect(M.comma), this.afterTrailingComma(M.braceR)) break;
2290
+ else if (this.expect(j.comma), this.afterTrailingComma(j.braceR)) break;
2297
2291
  e.push(this.parseImportSpecifier());
2298
2292
  }
2299
2293
  return e;
2300
- }, R.parseWithClause = function() {
2294
+ }, L.parseWithClause = function() {
2301
2295
  var e = [];
2302
- if (!this.eat(M._with)) return e;
2303
- this.expect(M.braceL);
2304
- for (var t = {}, n = !0; !this.eat(M.braceR);) {
2296
+ if (!this.eat(j._with)) return e;
2297
+ this.expect(j.braceL);
2298
+ for (var t = {}, n = !0; !this.eat(j.braceR);) {
2305
2299
  if (n) n = !1;
2306
- else if (this.expect(M.comma), this.afterTrailingComma(M.braceR)) break;
2300
+ else if (this.expect(j.comma), this.afterTrailingComma(j.braceR)) break;
2307
2301
  var r = this.parseImportAttribute(), i = r.key.type === "Identifier" ? r.key.name : r.key.value;
2308
2302
  it(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
2309
2303
  }
2310
2304
  return e;
2311
- }, R.parseImportAttribute = function() {
2305
+ }, L.parseImportAttribute = function() {
2312
2306
  var e = this.startNode();
2313
- return e.key = this.type === M.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(M.colon), this.type !== M.string && this.unexpected(), e.value = this.parseExprAtom(), this.finishNode(e, "ImportAttribute");
2314
- }, R.parseModuleExportName = function() {
2315
- if (this.options.ecmaVersion >= 13 && this.type === M.string) {
2307
+ return e.key = this.type === j.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(j.colon), this.type !== j.string && this.unexpected(), e.value = this.parseExprAtom(), this.finishNode(e, "ImportAttribute");
2308
+ }, L.parseModuleExportName = function() {
2309
+ if (this.options.ecmaVersion >= 13 && this.type === j.string) {
2316
2310
  var e = this.parseLiteral(this.value);
2317
2311
  return lt.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
2318
2312
  }
2319
2313
  return this.parseIdent(!0);
2320
- }, R.adaptDirectivePrologue = function(e) {
2314
+ }, L.adaptDirectivePrologue = function(e) {
2321
2315
  for (var t = 0; t < e.length && this.isDirectiveCandidate(e[t]); ++t) e[t].directive = e[t].expression.raw.slice(1, -1);
2322
- }, R.isDirectiveCandidate = function(e) {
2316
+ }, L.isDirectiveCandidate = function(e) {
2323
2317
  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] === "'");
2324
2318
  };
2325
- var z = F.prototype;
2326
- z.toAssignable = function(e, t, n) {
2319
+ var R = P.prototype;
2320
+ R.toAssignable = function(e, t, n) {
2327
2321
  if (this.options.ecmaVersion >= 6 && e) switch (e.type) {
2328
2322
  case "Identifier":
2329
2323
  this.inAsync && e.name === "await" && this.raise(e.start, "Cannot use 'await' as identifier inside an async function");
@@ -2362,7 +2356,7 @@ z.toAssignable = function(e, t, n) {
2362
2356
  }
2363
2357
  else n && this.checkPatternErrors(n, !0);
2364
2358
  return e;
2365
- }, z.toAssignableList = function(e, t) {
2359
+ }, R.toAssignableList = function(e, t) {
2366
2360
  for (var n = e.length, r = 0; r < n; r++) {
2367
2361
  var i = e[r];
2368
2362
  i && this.toAssignable(i, t);
@@ -2372,39 +2366,39 @@ z.toAssignable = function(e, t, n) {
2372
2366
  this.options.ecmaVersion === 6 && t && a && a.type === "RestElement" && a.argument.type !== "Identifier" && this.unexpected(a.argument.start);
2373
2367
  }
2374
2368
  return e;
2375
- }, z.parseSpread = function(e) {
2369
+ }, R.parseSpread = function(e) {
2376
2370
  var t = this.startNode();
2377
2371
  return this.next(), t.argument = this.parseMaybeAssign(!1, e), this.finishNode(t, "SpreadElement");
2378
- }, z.parseRestBinding = function() {
2372
+ }, R.parseRestBinding = function() {
2379
2373
  var e = this.startNode();
2380
- return this.next(), this.options.ecmaVersion === 6 && this.type !== M.name && this.unexpected(), e.argument = this.parseBindingAtom(), this.finishNode(e, "RestElement");
2381
- }, z.parseBindingAtom = function() {
2374
+ return this.next(), this.options.ecmaVersion === 6 && this.type !== j.name && this.unexpected(), e.argument = this.parseBindingAtom(), this.finishNode(e, "RestElement");
2375
+ }, R.parseBindingAtom = function() {
2382
2376
  if (this.options.ecmaVersion >= 6) switch (this.type) {
2383
- case M.bracketL:
2377
+ case j.bracketL:
2384
2378
  var e = this.startNode();
2385
- return this.next(), e.elements = this.parseBindingList(M.bracketR, !0, !0), this.finishNode(e, "ArrayPattern");
2386
- case M.braceL: return this.parseObj(!0);
2379
+ return this.next(), e.elements = this.parseBindingList(j.bracketR, !0, !0), this.finishNode(e, "ArrayPattern");
2380
+ case j.braceL: return this.parseObj(!0);
2387
2381
  }
2388
2382
  return this.parseIdent();
2389
- }, z.parseBindingList = function(e, t, n, r) {
2390
- for (var i = [], a = !0; !this.eat(e);) if (a ? a = !1 : this.expect(M.comma), t && this.type === M.comma) i.push(null);
2383
+ }, R.parseBindingList = function(e, t, n, r) {
2384
+ for (var i = [], a = !0; !this.eat(e);) if (a ? a = !1 : this.expect(j.comma), t && this.type === j.comma) i.push(null);
2391
2385
  else if (n && this.afterTrailingComma(e)) break;
2392
- else if (this.type === M.ellipsis) {
2386
+ else if (this.type === j.ellipsis) {
2393
2387
  var o = this.parseRestBinding();
2394
- this.parseBindingListItem(o), i.push(o), this.type === M.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(e);
2388
+ this.parseBindingListItem(o), i.push(o), this.type === j.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(e);
2395
2389
  break;
2396
2390
  } else i.push(this.parseAssignableListItem(r));
2397
2391
  return i;
2398
- }, z.parseAssignableListItem = function(e) {
2392
+ }, R.parseAssignableListItem = function(e) {
2399
2393
  var t = this.parseMaybeDefault(this.start, this.startLoc);
2400
2394
  return this.parseBindingListItem(t), t;
2401
- }, z.parseBindingListItem = function(e) {
2395
+ }, R.parseBindingListItem = function(e) {
2402
2396
  return e;
2403
- }, z.parseMaybeDefault = function(e, t, n) {
2404
- if (n ||= this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(M.eq)) return n;
2397
+ }, R.parseMaybeDefault = function(e, t, n) {
2398
+ if (n ||= this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(j.eq)) return n;
2405
2399
  var r = this.startNodeAt(e, t);
2406
2400
  return r.left = n, r.right = this.parseMaybeAssign(), this.finishNode(r, "AssignmentPattern");
2407
- }, z.checkLValSimple = function(e, t, n) {
2401
+ }, R.checkLValSimple = function(e, t, n) {
2408
2402
  t === void 0 && (t = At);
2409
2403
  var r = t !== At;
2410
2404
  switch (e.type) {
@@ -2420,7 +2414,7 @@ z.toAssignable = function(e, t, n) {
2420
2414
  case "ParenthesizedExpression": return r && this.raiseRecoverable(e.start, "Binding parenthesized expression"), this.checkLValSimple(e.expression, t, n);
2421
2415
  default: this.raise(e.start, (r ? "Binding" : "Assigning to") + " rvalue");
2422
2416
  }
2423
- }, z.checkLValPattern = function(e, t, n) {
2417
+ }, R.checkLValPattern = function(e, t, n) {
2424
2418
  switch (t === void 0 && (t = At), e.type) {
2425
2419
  case "ObjectPattern":
2426
2420
  for (var r = 0, i = e.properties; r < i.length; r += 1) {
@@ -2436,7 +2430,7 @@ z.toAssignable = function(e, t, n) {
2436
2430
  break;
2437
2431
  default: this.checkLValSimple(e, t, n);
2438
2432
  }
2439
- }, z.checkLValInnerPattern = function(e, t, n) {
2433
+ }, R.checkLValInnerPattern = function(e, t, n) {
2440
2434
  switch (t === void 0 && (t = At), e.type) {
2441
2435
  case "Property":
2442
2436
  this.checkLValInnerPattern(e.value, t, n);
@@ -2450,29 +2444,29 @@ z.toAssignable = function(e, t, n) {
2450
2444
  default: this.checkLValPattern(e, t, n);
2451
2445
  }
2452
2446
  };
2453
- var B = function(e, t, n, r, i) {
2447
+ var z = function(e, t, n, r, i) {
2454
2448
  this.token = e, this.isExpr = !!t, this.preserveSpace = !!n, this.override = r, this.generator = !!i;
2455
- }, V = {
2456
- b_stat: new B("{", !1),
2457
- b_expr: new B("{", !0),
2458
- b_tmpl: new B("${", !1),
2459
- p_stat: new B("(", !1),
2460
- p_expr: new B("(", !0),
2461
- q_tmpl: new B("`", !0, !0, function(e) {
2449
+ }, B = {
2450
+ b_stat: new z("{", !1),
2451
+ b_expr: new z("{", !0),
2452
+ b_tmpl: new z("${", !1),
2453
+ p_stat: new z("(", !1),
2454
+ p_expr: new z("(", !0),
2455
+ q_tmpl: new z("`", !0, !0, function(e) {
2462
2456
  return e.tryReadTemplateToken();
2463
2457
  }),
2464
- f_stat: new B("function", !1),
2465
- f_expr: new B("function", !0),
2466
- f_expr_gen: new B("function", !0, !1, null, !0),
2467
- f_gen: new B("function", !1, !1, null, !0)
2468
- }, Kt = F.prototype;
2458
+ f_stat: new z("function", !1),
2459
+ f_expr: new z("function", !0),
2460
+ f_expr_gen: new z("function", !0, !1, null, !0),
2461
+ f_gen: new z("function", !1, !1, null, !0)
2462
+ }, Kt = P.prototype;
2469
2463
  Kt.initialContext = function() {
2470
- return [V.b_stat];
2464
+ return [B.b_stat];
2471
2465
  }, Kt.curContext = function() {
2472
2466
  return this.context[this.context.length - 1];
2473
2467
  }, Kt.braceIsBlock = function(e) {
2474
2468
  var t = this.curContext();
2475
- return t === V.f_expr || t === V.f_stat ? !0 : e === M.colon && (t === V.b_stat || t === V.b_expr) ? !t.isExpr : e === M._return || e === M.name && this.exprAllowed ? N.test(this.input.slice(this.lastTokEnd, this.start)) : e === M._else || e === M.semi || e === M.eof || e === M.parenR || e === M.arrow ? !0 : e === M.braceL ? t === V.b_stat : e === M._var || e === M._const || e === M.name ? !1 : !this.exprAllowed;
2469
+ return t === B.f_expr || t === B.f_stat ? !0 : e === j.colon && (t === B.b_stat || t === B.b_expr) ? !t.isExpr : e === j._return || e === j.name && this.exprAllowed ? M.test(this.input.slice(this.lastTokEnd, this.start)) : e === j._else || e === j.semi || e === j.eof || e === j.parenR || e === j.arrow ? !0 : e === j.braceL ? t === B.b_stat : e === j._var || e === j._const || e === j.name ? !1 : !this.exprAllowed;
2476
2470
  }, Kt.inGeneratorContext = function() {
2477
2471
  for (var e = this.context.length - 1; e >= 1; e--) {
2478
2472
  var t = this.context[e];
@@ -2481,41 +2475,41 @@ Kt.initialContext = function() {
2481
2475
  return !1;
2482
2476
  }, Kt.updateContext = function(e) {
2483
2477
  var t, n = this.type;
2484
- n.keyword && e === M.dot ? this.exprAllowed = !1 : (t = n.updateContext) ? t.call(this, e) : this.exprAllowed = n.beforeExpr;
2478
+ n.keyword && e === j.dot ? this.exprAllowed = !1 : (t = n.updateContext) ? t.call(this, e) : this.exprAllowed = n.beforeExpr;
2485
2479
  }, Kt.overrideContext = function(e) {
2486
2480
  this.curContext() !== e && (this.context[this.context.length - 1] = e);
2487
- }, M.parenR.updateContext = M.braceR.updateContext = function() {
2481
+ }, j.parenR.updateContext = j.braceR.updateContext = function() {
2488
2482
  if (this.context.length === 1) {
2489
2483
  this.exprAllowed = !0;
2490
2484
  return;
2491
2485
  }
2492
2486
  var e = this.context.pop();
2493
- e === V.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr;
2494
- }, M.braceL.updateContext = function(e) {
2495
- this.context.push(this.braceIsBlock(e) ? V.b_stat : V.b_expr), this.exprAllowed = !0;
2496
- }, M.dollarBraceL.updateContext = function() {
2497
- this.context.push(V.b_tmpl), this.exprAllowed = !0;
2498
- }, M.parenL.updateContext = function(e) {
2499
- var t = e === M._if || e === M._for || e === M._with || e === M._while;
2500
- this.context.push(t ? V.p_stat : V.p_expr), this.exprAllowed = !0;
2501
- }, M.incDec.updateContext = function() {}, M._function.updateContext = M._class.updateContext = function(e) {
2502
- e.beforeExpr && e !== M._else && !(e === M.semi && this.curContext() !== V.p_stat) && !(e === M._return && N.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === M.colon || e === M.braceL) && this.curContext() === V.b_stat) ? this.context.push(V.f_expr) : this.context.push(V.f_stat), this.exprAllowed = !1;
2503
- }, M.colon.updateContext = function() {
2487
+ e === B.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr;
2488
+ }, j.braceL.updateContext = function(e) {
2489
+ this.context.push(this.braceIsBlock(e) ? B.b_stat : B.b_expr), this.exprAllowed = !0;
2490
+ }, j.dollarBraceL.updateContext = function() {
2491
+ this.context.push(B.b_tmpl), this.exprAllowed = !0;
2492
+ }, j.parenL.updateContext = function(e) {
2493
+ var t = e === j._if || e === j._for || e === j._with || e === j._while;
2494
+ this.context.push(t ? B.p_stat : B.p_expr), this.exprAllowed = !0;
2495
+ }, j.incDec.updateContext = function() {}, j._function.updateContext = j._class.updateContext = function(e) {
2496
+ e.beforeExpr && e !== j._else && !(e === j.semi && this.curContext() !== B.p_stat) && !(e === j._return && M.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === j.colon || e === j.braceL) && this.curContext() === B.b_stat) ? this.context.push(B.f_expr) : this.context.push(B.f_stat), this.exprAllowed = !1;
2497
+ }, j.colon.updateContext = function() {
2504
2498
  this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
2505
- }, M.backQuote.updateContext = function() {
2506
- this.curContext() === V.q_tmpl ? this.context.pop() : this.context.push(V.q_tmpl), this.exprAllowed = !1;
2507
- }, M.star.updateContext = function(e) {
2508
- if (e === M._function) {
2499
+ }, j.backQuote.updateContext = function() {
2500
+ this.curContext() === B.q_tmpl ? this.context.pop() : this.context.push(B.q_tmpl), this.exprAllowed = !1;
2501
+ }, j.star.updateContext = function(e) {
2502
+ if (e === j._function) {
2509
2503
  var t = this.context.length - 1;
2510
- this.context[t] === V.f_expr ? this.context[t] = V.f_expr_gen : this.context[t] = V.f_gen;
2504
+ this.context[t] === B.f_expr ? this.context[t] = B.f_expr_gen : this.context[t] = B.f_gen;
2511
2505
  }
2512
2506
  this.exprAllowed = !0;
2513
- }, M.name.updateContext = function(e) {
2507
+ }, j.name.updateContext = function(e) {
2514
2508
  var t = !1;
2515
- this.options.ecmaVersion >= 6 && e !== M.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (t = !0), this.exprAllowed = t;
2509
+ this.options.ecmaVersion >= 6 && e !== j.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (t = !0), this.exprAllowed = t;
2516
2510
  };
2517
- var H = F.prototype;
2518
- H.checkPropClash = function(e, t, n) {
2511
+ var V = P.prototype;
2512
+ V.checkPropClash = function(e, t, n) {
2519
2513
  if (!(this.options.ecmaVersion >= 9 && e.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (e.computed || e.method || e.shorthand))) {
2520
2514
  var r = e.key, i;
2521
2515
  switch (r.type) {
@@ -2540,18 +2534,18 @@ H.checkPropClash = function(e, t, n) {
2540
2534
  set: !1
2541
2535
  }, o[a] = !0;
2542
2536
  }
2543
- }, H.parseExpression = function(e, t) {
2537
+ }, V.parseExpression = function(e, t) {
2544
2538
  var n = this;
2545
2539
  return this.catchStackOverflow(function() {
2546
2540
  var r = n.start, i = n.startLoc, a = n.parseMaybeAssign(e, t);
2547
- if (n.type === M.comma) {
2541
+ if (n.type === j.comma) {
2548
2542
  var o = n.startNodeAt(r, i);
2549
- for (o.expressions = [a]; n.eat(M.comma);) o.expressions.push(n.parseMaybeAssign(e, t));
2543
+ for (o.expressions = [a]; n.eat(j.comma);) o.expressions.push(n.parseMaybeAssign(e, t));
2550
2544
  return n.finishNode(o, "SequenceExpression");
2551
2545
  }
2552
2546
  return a;
2553
2547
  });
2554
- }, H.parseMaybeAssign = function(e, t, n) {
2548
+ }, V.parseMaybeAssign = function(e, t, n) {
2555
2549
  if (this.isContextual("yield")) {
2556
2550
  if (this.inGenerator) return this.parseYield(e);
2557
2551
  this.exprAllowed = !1;
@@ -2559,46 +2553,46 @@ H.checkPropClash = function(e, t, n) {
2559
2553
  var r = !1, i = -1, a = -1, o = -1;
2560
2554
  t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Lt(), r = !0);
2561
2555
  var s = this.start, c = this.startLoc;
2562
- (this.type === M.parenL || this.type === M.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
2556
+ (this.type === j.parenL || this.type === j.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
2563
2557
  var l = this.parseMaybeConditional(e, t);
2564
2558
  if (n && (l = n.call(this, l, s, c)), this.type.isAssign) {
2565
2559
  var u = this.startNodeAt(s, c);
2566
- return u.operator = this.value, this.type === M.eq && (l = this.toAssignable(l, !1, t)), r || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= l.start && (t.shorthandAssign = -1), this.type === M.eq ? this.checkLValPattern(l) : this.checkLValSimple(l), u.left = l, this.next(), u.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(u, "AssignmentExpression");
2560
+ return u.operator = this.value, this.type === j.eq && (l = this.toAssignable(l, !1, t)), r || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= l.start && (t.shorthandAssign = -1), this.type === j.eq ? this.checkLValPattern(l) : this.checkLValSimple(l), u.left = l, this.next(), u.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(u, "AssignmentExpression");
2567
2561
  } else r && this.checkExpressionErrors(t, !0);
2568
2562
  return i > -1 && (t.parenthesizedAssign = i), a > -1 && (t.trailingComma = a), l;
2569
- }, H.parseMaybeConditional = function(e, t) {
2563
+ }, V.parseMaybeConditional = function(e, t) {
2570
2564
  var n = this.start, r = this.startLoc, i = this.parseExprOps(e, t);
2571
2565
  if (this.checkExpressionErrors(t)) return i;
2572
- if (!(i.type === "ArrowFunctionExpression" && i.start === n) && this.eat(M.question)) {
2566
+ if (!(i.type === "ArrowFunctionExpression" && i.start === n) && this.eat(j.question)) {
2573
2567
  var a = this.startNodeAt(n, r);
2574
- return a.test = i, a.consequent = this.parseMaybeAssign(), this.expect(M.colon), a.alternate = this.parseMaybeAssign(e), this.finishNode(a, "ConditionalExpression");
2568
+ return a.test = i, a.consequent = this.parseMaybeAssign(), this.expect(j.colon), a.alternate = this.parseMaybeAssign(e), this.finishNode(a, "ConditionalExpression");
2575
2569
  }
2576
2570
  return i;
2577
- }, H.parseExprOps = function(e, t) {
2571
+ }, V.parseExprOps = function(e, t) {
2578
2572
  var n = this.start, r = this.startLoc, i = this.parseMaybeUnary(t, !1, !1, e);
2579
2573
  return this.checkExpressionErrors(t) || i.start === n && i.type === "ArrowFunctionExpression" ? i : this.parseExprOp(i, n, r, -1, e);
2580
- }, H.parseExprOp = function(e, t, n, r, i) {
2574
+ }, V.parseExprOp = function(e, t, n, r, i) {
2581
2575
  var a = this.type.binop;
2582
- if (a != null && (!i || this.type !== M._in) && a > r) {
2583
- var o = this.type === M.logicalOR || this.type === M.logicalAND, s = this.type === M.coalesce;
2584
- s && (a = M.logicalAND.binop);
2576
+ if (a != null && (!i || this.type !== j._in) && a > r) {
2577
+ var o = this.type === j.logicalOR || this.type === j.logicalAND, s = this.type === j.coalesce;
2578
+ s && (a = j.logicalAND.binop);
2585
2579
  var c = this.value;
2586
2580
  this.next();
2587
2581
  var l = this.start, u = this.startLoc, d = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, i), l, u, a, i), f = this.buildBinary(t, n, e, d, c, o || s);
2588
- return (o && this.type === M.coalesce || s && (this.type === M.logicalOR || this.type === M.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(f, t, n, r, i);
2582
+ return (o && this.type === j.coalesce || s && (this.type === j.logicalOR || this.type === j.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(f, t, n, r, i);
2589
2583
  }
2590
2584
  return e;
2591
- }, H.buildBinary = function(e, t, n, r, i, a) {
2585
+ }, V.buildBinary = function(e, t, n, r, i, a) {
2592
2586
  r.type === "PrivateIdentifier" && this.raise(r.start, "Private identifier can only be left side of binary expression");
2593
2587
  var o = this.startNodeAt(e, t);
2594
2588
  return o.left = n, o.operator = i, o.right = r, this.finishNode(o, a ? "LogicalExpression" : "BinaryExpression");
2595
- }, H.parseMaybeUnary = function(e, t, n, r) {
2589
+ }, V.parseMaybeUnary = function(e, t, n, r) {
2596
2590
  var i = this.start, a = this.startLoc, o;
2597
2591
  if (this.isContextual("await") && this.canAwait) o = this.parseAwait(r), t = !0;
2598
2592
  else if (this.type.prefix) {
2599
- var s = this.startNode(), c = this.type === M.incDec;
2593
+ var s = this.startNode(), c = this.type === j.incDec;
2600
2594
  s.operator = this.value, s.prefix = !0, this.next(), s.argument = this.parseMaybeUnary(null, !0, c, r), this.checkExpressionErrors(e, !0), c ? this.checkLValSimple(s.argument) : this.strict && s.operator === "delete" && qt(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && Jt(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2601
- } else if (!t && this.type === M.privateId) (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== M._in && this.unexpected();
2595
+ } else if (!t && this.type === j.privateId) (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== j._in && this.unexpected();
2602
2596
  else {
2603
2597
  if (o = this.parseExprSubscripts(e, r), this.checkExpressionErrors(e)) return o;
2604
2598
  for (; this.type.postfix && !this.canInsertSemicolon();) {
@@ -2606,7 +2600,7 @@ H.checkPropClash = function(e, t, n) {
2606
2600
  l.operator = this.value, l.prefix = !1, l.argument = o, this.checkLValSimple(o), this.next(), o = this.finishNode(l, "UpdateExpression");
2607
2601
  }
2608
2602
  }
2609
- if (!n && this.eat(M.starstar)) if (t) this.unexpected(this.lastTokStart);
2603
+ if (!n && this.eat(j.starstar)) if (t) this.unexpected(this.lastTokStart);
2610
2604
  else return this.buildBinary(i, a, o, this.parseMaybeUnary(null, !1, !1, r), "**", !1);
2611
2605
  else return o;
2612
2606
  };
@@ -2616,12 +2610,12 @@ function qt(e) {
2616
2610
  function Jt(e) {
2617
2611
  return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && Jt(e.expression) || e.type === "ParenthesizedExpression" && Jt(e.expression);
2618
2612
  }
2619
- H.parseExprSubscripts = function(e, t) {
2613
+ V.parseExprSubscripts = function(e, t) {
2620
2614
  var n = this.start, r = this.startLoc, i = this.parseExprAtom(e, t);
2621
2615
  if (i.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")") return i;
2622
2616
  var a = this.parseSubscripts(i, n, r, !1, t);
2623
2617
  return e && a.type === "MemberExpression" && (e.parenthesizedAssign >= a.start && (e.parenthesizedAssign = -1), e.parenthesizedBind >= a.start && (e.parenthesizedBind = -1), e.trailingComma >= a.start && (e.trailingComma = -1)), a;
2624
- }, H.parseSubscripts = function(e, t, n, r, i) {
2618
+ }, V.parseSubscripts = function(e, t, n, r, i) {
2625
2619
  for (var a = 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 = !1;;) {
2626
2620
  var s = this.parseSubscript(e, t, n, r, a, o, i);
2627
2621
  if (s.optional && (o = !0), s === e || s.type === "ArrowFunctionExpression") {
@@ -2633,170 +2627,170 @@ H.parseExprSubscripts = function(e, t) {
2633
2627
  }
2634
2628
  e = s;
2635
2629
  }
2636
- }, H.shouldParseAsyncArrow = function() {
2637
- return !this.canInsertSemicolon() && this.eat(M.arrow);
2638
- }, H.parseSubscriptAsyncArrow = function(e, t, n, r) {
2630
+ }, V.shouldParseAsyncArrow = function() {
2631
+ return !this.canInsertSemicolon() && this.eat(j.arrow);
2632
+ }, V.parseSubscriptAsyncArrow = function(e, t, n, r) {
2639
2633
  return this.parseArrowExpression(this.startNodeAt(e, t), n, !0, r);
2640
- }, H.parseSubscript = function(e, t, n, r, i, a, o) {
2641
- var s = this.options.ecmaVersion >= 11, c = s && this.eat(M.questionDot);
2634
+ }, V.parseSubscript = function(e, t, n, r, i, a, o) {
2635
+ var s = this.options.ecmaVersion >= 11, c = s && this.eat(j.questionDot);
2642
2636
  r && c && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
2643
- var l = this.eat(M.bracketL);
2644
- if (l || c && this.type !== M.parenL && this.type !== M.backQuote || this.eat(M.dot)) {
2637
+ var l = this.eat(j.bracketL);
2638
+ if (l || c && this.type !== j.parenL && this.type !== j.backQuote || this.eat(j.dot)) {
2645
2639
  var u = this.startNodeAt(t, n);
2646
- u.object = e, l ? (u.property = this.parseExpression(), this.expect(M.bracketR)) : this.type === M.privateId && e.type !== "Super" ? u.property = this.parsePrivateIdent() : u.property = this.parseIdent(this.options.allowReserved !== "never"), u.computed = !!l, s && (u.optional = c), e = this.finishNode(u, "MemberExpression");
2647
- } else if (!r && this.eat(M.parenL)) {
2640
+ u.object = e, l ? (u.property = this.parseExpression(), this.expect(j.bracketR)) : this.type === j.privateId && e.type !== "Super" ? u.property = this.parsePrivateIdent() : u.property = this.parseIdent(this.options.allowReserved !== "never"), u.computed = !!l, s && (u.optional = c), e = this.finishNode(u, "MemberExpression");
2641
+ } else if (!r && this.eat(j.parenL)) {
2648
2642
  var d = new Lt(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2649
2643
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2650
- var h = this.parseExprList(M.parenR, this.options.ecmaVersion >= 8, !1, d);
2644
+ var h = this.parseExprList(j.parenR, this.options.ecmaVersion >= 8, !1, d);
2651
2645
  if (i && !c && this.shouldParseAsyncArrow()) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = f, this.awaitPos = p, this.awaitIdentPos = m, this.parseSubscriptAsyncArrow(t, n, h, o);
2652
2646
  this.checkExpressionErrors(d, !0), this.yieldPos = f || this.yieldPos, this.awaitPos = p || this.awaitPos, this.awaitIdentPos = m || this.awaitIdentPos;
2653
2647
  var g = this.startNodeAt(t, n);
2654
2648
  g.callee = e, g.arguments = h, s && (g.optional = c), e = this.finishNode(g, "CallExpression");
2655
- } else if (this.type === M.backQuote) {
2649
+ } else if (this.type === j.backQuote) {
2656
2650
  (c || a) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
2657
2651
  var ee = this.startNodeAt(t, n);
2658
2652
  ee.tag = e, ee.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(ee, "TaggedTemplateExpression");
2659
2653
  }
2660
2654
  return e;
2661
- }, H.parseExprAtom = function(e, t, n) {
2662
- this.type === M.slash && this.readRegexp();
2655
+ }, V.parseExprAtom = function(e, t, n) {
2656
+ this.type === j.slash && this.readRegexp();
2663
2657
  var r, i = this.potentialArrowAt === this.start;
2664
2658
  switch (this.type) {
2665
- case M._super: return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), r = this.startNode(), this.next(), this.type === M.parenL && !this.allowDirectSuper && this.raise(r.start, "super() call outside constructor of a subclass"), this.type !== M.dot && this.type !== M.bracketL && this.type !== M.parenL && this.unexpected(), this.finishNode(r, "Super");
2666
- case M._this: return r = this.startNode(), this.next(), this.finishNode(r, "ThisExpression");
2667
- case M.name:
2659
+ case j._super: return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), r = this.startNode(), this.next(), this.type === j.parenL && !this.allowDirectSuper && this.raise(r.start, "super() call outside constructor of a subclass"), this.type !== j.dot && this.type !== j.bracketL && this.type !== j.parenL && this.unexpected(), this.finishNode(r, "Super");
2660
+ case j._this: return r = this.startNode(), this.next(), this.finishNode(r, "ThisExpression");
2661
+ case j.name:
2668
2662
  var a = this.start, o = this.startLoc, s = this.containsEsc, c = this.parseIdent(!1);
2669
- if (this.options.ecmaVersion >= 8 && !s && c.name === "async" && !this.canInsertSemicolon() && this.eat(M._function)) return this.overrideContext(V.f_expr), this.parseFunction(this.startNodeAt(a, o), 0, !1, !0, t);
2663
+ if (this.options.ecmaVersion >= 8 && !s && c.name === "async" && !this.canInsertSemicolon() && this.eat(j._function)) return this.overrideContext(B.f_expr), this.parseFunction(this.startNodeAt(a, o), 0, !1, !0, t);
2670
2664
  if (i && !this.canInsertSemicolon()) {
2671
- if (this.eat(M.arrow)) return this.parseArrowExpression(this.startNodeAt(a, o), [c], !1, t);
2672
- if (this.options.ecmaVersion >= 8 && c.name === "async" && this.type === M.name && !s && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return c = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(M.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(a, o), [c], !0, t);
2665
+ if (this.eat(j.arrow)) return this.parseArrowExpression(this.startNodeAt(a, o), [c], !1, t);
2666
+ if (this.options.ecmaVersion >= 8 && c.name === "async" && this.type === j.name && !s && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return c = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(j.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(a, o), [c], !0, t);
2673
2667
  }
2674
2668
  return c;
2675
- case M.regexp:
2669
+ case j.regexp:
2676
2670
  var l = this.value;
2677
2671
  return r = this.parseLiteral(l.value), r.regex = {
2678
2672
  pattern: l.pattern,
2679
2673
  flags: l.flags
2680
2674
  }, r;
2681
- case M.num:
2682
- case M.string: return this.parseLiteral(this.value);
2683
- case M._null:
2684
- case M._true:
2685
- case M._false: return r = this.startNode(), r.value = this.type === M._null ? null : this.type === M._true, r.raw = this.type.keyword, this.next(), this.finishNode(r, "Literal");
2686
- case M.parenL:
2675
+ case j.num:
2676
+ case j.string: return this.parseLiteral(this.value);
2677
+ case j._null:
2678
+ case j._true:
2679
+ case j._false: return r = this.startNode(), r.value = this.type === j._null ? null : this.type === j._true, r.raw = this.type.keyword, this.next(), this.finishNode(r, "Literal");
2680
+ case j.parenL:
2687
2681
  var u = this.start, d = this.parseParenAndDistinguishExpression(i, t);
2688
2682
  return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(d) && (e.parenthesizedAssign = u), e.parenthesizedBind < 0 && (e.parenthesizedBind = u)), d;
2689
- case M.bracketL: return r = this.startNode(), this.next(), r.elements = this.parseExprList(M.bracketR, !0, !0, e), this.finishNode(r, "ArrayExpression");
2690
- case M.braceL: return this.overrideContext(V.b_expr), this.parseObj(!1, e);
2691
- case M._function: return r = this.startNode(), this.next(), this.parseFunction(r, 0);
2692
- case M._class: return this.parseClass(this.startNode(), !1);
2693
- case M._new: return this.parseNew();
2694
- case M.backQuote: return this.parseTemplate();
2695
- case M._import: return this.options.ecmaVersion >= 11 ? this.parseExprImport(n) : this.unexpected();
2683
+ case j.bracketL: return r = this.startNode(), this.next(), r.elements = this.parseExprList(j.bracketR, !0, !0, e), this.finishNode(r, "ArrayExpression");
2684
+ case j.braceL: return this.overrideContext(B.b_expr), this.parseObj(!1, e);
2685
+ case j._function: return r = this.startNode(), this.next(), this.parseFunction(r, 0);
2686
+ case j._class: return this.parseClass(this.startNode(), !1);
2687
+ case j._new: return this.parseNew();
2688
+ case j.backQuote: return this.parseTemplate();
2689
+ case j._import: return this.options.ecmaVersion >= 11 ? this.parseExprImport(n) : this.unexpected();
2696
2690
  default: return this.parseExprAtomDefault();
2697
2691
  }
2698
- }, H.parseExprAtomDefault = function() {
2692
+ }, V.parseExprAtomDefault = function() {
2699
2693
  this.unexpected();
2700
- }, H.parseExprImport = function(e) {
2694
+ }, V.parseExprImport = function(e) {
2701
2695
  var t = this.startNode();
2702
- if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === M.parenL && !e) return this.parseDynamicImport(t);
2703
- if (this.type === M.dot) {
2696
+ if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === j.parenL && !e) return this.parseDynamicImport(t);
2697
+ if (this.type === j.dot) {
2704
2698
  var n = this.startNodeAt(t.start, t.loc && t.loc.start);
2705
2699
  return n.name = "import", t.meta = this.finishNode(n, "Identifier"), this.parseImportMeta(t);
2706
2700
  } else this.unexpected();
2707
- }, H.parseDynamicImport = function(e) {
2708
- if (this.next(), e.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(M.parenR) ? e.options = null : (this.expect(M.comma), this.afterTrailingComma(M.parenR) ? e.options = null : (e.options = this.parseMaybeAssign(), this.eat(M.parenR) || (this.expect(M.comma), this.afterTrailingComma(M.parenR) || this.unexpected())));
2709
- else if (!this.eat(M.parenR)) {
2701
+ }, V.parseDynamicImport = function(e) {
2702
+ if (this.next(), e.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(j.parenR) ? e.options = null : (this.expect(j.comma), this.afterTrailingComma(j.parenR) ? e.options = null : (e.options = this.parseMaybeAssign(), this.eat(j.parenR) || (this.expect(j.comma), this.afterTrailingComma(j.parenR) || this.unexpected())));
2703
+ else if (!this.eat(j.parenR)) {
2710
2704
  var t = this.start;
2711
- this.eat(M.comma) && this.eat(M.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t);
2705
+ this.eat(j.comma) && this.eat(j.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t);
2712
2706
  }
2713
2707
  return this.finishNode(e, "ImportExpression");
2714
- }, H.parseImportMeta = function(e) {
2708
+ }, V.parseImportMeta = function(e) {
2715
2709
  this.next();
2716
2710
  var t = this.containsEsc;
2717
2711
  return e.property = this.parseIdent(!0), e.property.name !== "meta" && this.raiseRecoverable(e.property.start, "The only valid meta property for import is 'import.meta'"), t && this.raiseRecoverable(e.start, "'import.meta' must not contain escaped characters"), this.options.sourceType !== "module" && !this.options.allowImportExportEverywhere && this.raiseRecoverable(e.start, "Cannot use 'import.meta' outside a module"), this.finishNode(e, "MetaProperty");
2718
- }, H.parseLiteral = function(e) {
2712
+ }, V.parseLiteral = function(e) {
2719
2713
  var t = this.startNode();
2720
2714
  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.raw.slice(0, -1).replace(/_/g, "") : t.value.toString()), this.next(), this.finishNode(t, "Literal");
2721
- }, H.parseParenExpression = function() {
2722
- this.expect(M.parenL);
2715
+ }, V.parseParenExpression = function() {
2716
+ this.expect(j.parenL);
2723
2717
  var e = this.parseExpression();
2724
- return this.expect(M.parenR), e;
2725
- }, H.shouldParseArrow = function(e) {
2718
+ return this.expect(j.parenR), e;
2719
+ }, V.shouldParseArrow = function(e) {
2726
2720
  return !this.canInsertSemicolon();
2727
- }, H.parseParenAndDistinguishExpression = function(e, t) {
2721
+ }, V.parseParenAndDistinguishExpression = function(e, t) {
2728
2722
  var n = this.start, r = this.startLoc, i, a = this.options.ecmaVersion >= 8;
2729
2723
  if (this.options.ecmaVersion >= 6) {
2730
2724
  this.next();
2731
2725
  var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new Lt(), f = this.yieldPos, p = this.awaitPos, m;
2732
- for (this.yieldPos = 0, this.awaitPos = 0; this.type !== M.parenR;) if (l ? l = !1 : this.expect(M.comma), a && this.afterTrailingComma(M.parenR, !0)) {
2726
+ for (this.yieldPos = 0, this.awaitPos = 0; this.type !== j.parenR;) if (l ? l = !1 : this.expect(j.comma), a && this.afterTrailingComma(j.parenR, !0)) {
2733
2727
  u = !0;
2734
2728
  break;
2735
- } else if (this.type === M.ellipsis) {
2736
- m = this.start, c.push(this.parseParenItem(this.parseRestBinding())), this.type === M.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2729
+ } else if (this.type === j.ellipsis) {
2730
+ m = this.start, c.push(this.parseParenItem(this.parseRestBinding())), this.type === j.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2737
2731
  break;
2738
2732
  } else c.push(this.parseMaybeAssign(!1, d, this.parseParenItem));
2739
2733
  var h = this.lastTokEnd, g = this.lastTokEndLoc;
2740
- if (this.expect(M.parenR), e && this.shouldParseArrow(c) && this.eat(M.arrow)) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = f, this.awaitPos = p, this.parseParenArrowList(n, r, c, t);
2734
+ if (this.expect(j.parenR), e && this.shouldParseArrow(c) && this.eat(j.arrow)) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = f, this.awaitPos = p, this.parseParenArrowList(n, r, c, t);
2741
2735
  (!c.length || u) && this.unexpected(this.lastTokStart), m && this.unexpected(m), this.checkExpressionErrors(d, !0), this.yieldPos = f || this.yieldPos, this.awaitPos = p || this.awaitPos, c.length > 1 ? (i = this.startNodeAt(o, s), i.expressions = c, this.finishNodeAt(i, "SequenceExpression", h, g)) : i = c[0];
2742
2736
  } else i = this.parseParenExpression();
2743
2737
  if (this.options.preserveParens) {
2744
2738
  var ee = this.startNodeAt(n, r);
2745
2739
  return ee.expression = i, this.finishNode(ee, "ParenthesizedExpression");
2746
2740
  } else return i;
2747
- }, H.parseParenItem = function(e) {
2741
+ }, V.parseParenItem = function(e) {
2748
2742
  return e;
2749
- }, H.parseParenArrowList = function(e, t, n, r) {
2743
+ }, V.parseParenArrowList = function(e, t, n, r) {
2750
2744
  return this.parseArrowExpression(this.startNodeAt(e, t), n, !1, r);
2751
2745
  };
2752
2746
  var Yt = [];
2753
- H.parseNew = function() {
2747
+ V.parseNew = function() {
2754
2748
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2755
2749
  var e = this.startNode();
2756
- if (this.next(), this.options.ecmaVersion >= 6 && this.type === M.dot) {
2750
+ if (this.next(), this.options.ecmaVersion >= 6 && this.type === j.dot) {
2757
2751
  var t = this.startNodeAt(e.start, e.loc && e.loc.start);
2758
2752
  t.name = "new", e.meta = this.finishNode(t, "Identifier"), this.next();
2759
2753
  var n = this.containsEsc;
2760
2754
  return e.property = this.parseIdent(!0), e.property.name !== "target" && this.raiseRecoverable(e.property.start, "The only valid meta property for new is 'new.target'"), n && this.raiseRecoverable(e.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(e.start, "'new.target' can only be used in functions and class static block"), this.finishNode(e, "MetaProperty");
2761
2755
  }
2762
2756
  var r = this.start, i = this.startLoc;
2763
- return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), e.callee.type === "Super" && this.raiseRecoverable(r, "Invalid use of 'super'"), this.eat(M.parenL) ? e.arguments = this.parseExprList(M.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = Yt, this.finishNode(e, "NewExpression");
2764
- }, H.parseTemplateElement = function(e) {
2757
+ return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), e.callee.type === "Super" && this.raiseRecoverable(r, "Invalid use of 'super'"), this.eat(j.parenL) ? e.arguments = this.parseExprList(j.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = Yt, this.finishNode(e, "NewExpression");
2758
+ }, V.parseTemplateElement = function(e) {
2765
2759
  var t = e.isTagged, n = this.startNode();
2766
- return this.type === M.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), n.value = {
2760
+ return this.type === j.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), n.value = {
2767
2761
  raw: this.value.replace(/\r\n?/g, "\n"),
2768
2762
  cooked: null
2769
2763
  }) : n.value = {
2770
2764
  raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, "\n"),
2771
2765
  cooked: this.value
2772
- }, this.next(), n.tail = this.type === M.backQuote, this.finishNode(n, "TemplateElement");
2773
- }, H.parseTemplate = function(e) {
2766
+ }, this.next(), n.tail = this.type === j.backQuote, this.finishNode(n, "TemplateElement");
2767
+ }, V.parseTemplate = function(e) {
2774
2768
  e === void 0 && (e = {});
2775
2769
  var t = e.isTagged;
2776
2770
  t === void 0 && (t = !1);
2777
2771
  var n = this.startNode();
2778
2772
  this.next(), n.expressions = [];
2779
2773
  var r = this.parseTemplateElement({ isTagged: t });
2780
- for (n.quasis = [r]; !r.tail;) this.type === M.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(M.dollarBraceL), n.expressions.push(this.parseExpression()), this.expect(M.braceR), n.quasis.push(r = this.parseTemplateElement({ isTagged: t }));
2774
+ for (n.quasis = [r]; !r.tail;) this.type === j.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(j.dollarBraceL), n.expressions.push(this.parseExpression()), this.expect(j.braceR), n.quasis.push(r = this.parseTemplateElement({ isTagged: t }));
2781
2775
  return this.next(), this.finishNode(n, "TemplateLiteral");
2782
- }, H.isAsyncProp = function(e) {
2783
- return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === M.name || this.type === M.num || this.type === M.string || this.type === M.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === M.star) && !N.test(this.input.slice(this.lastTokEnd, this.start));
2784
- }, H.parseObj = function(e, t) {
2776
+ }, V.isAsyncProp = function(e) {
2777
+ return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === j.name || this.type === j.num || this.type === j.string || this.type === j.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === j.star) && !M.test(this.input.slice(this.lastTokEnd, this.start));
2778
+ }, V.parseObj = function(e, t) {
2785
2779
  var n = this.startNode(), r = !0, i = {};
2786
- for (n.properties = [], this.next(); !this.eat(M.braceR);) {
2780
+ for (n.properties = [], this.next(); !this.eat(j.braceR);) {
2787
2781
  if (r) r = !1;
2788
- else if (this.expect(M.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(M.braceR)) break;
2782
+ else if (this.expect(j.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(j.braceR)) break;
2789
2783
  var a = this.parseProperty(e, t);
2790
2784
  e || this.checkPropClash(a, i, t), n.properties.push(a);
2791
2785
  }
2792
2786
  return this.finishNode(n, e ? "ObjectPattern" : "ObjectExpression");
2793
- }, H.parseProperty = function(e, t) {
2787
+ }, V.parseProperty = function(e, t) {
2794
2788
  var n = this.startNode(), r, i, a, o;
2795
- if (this.options.ecmaVersion >= 9 && this.eat(M.ellipsis)) return e ? (n.argument = this.parseIdent(!1), this.type === M.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(n, "RestElement")) : (n.argument = this.parseMaybeAssign(!1, t), this.type === M.comma && t && t.trailingComma < 0 && (t.trailingComma = this.start), this.finishNode(n, "SpreadElement"));
2796
- this.options.ecmaVersion >= 6 && (n.method = !1, n.shorthand = !1, (e || t) && (a = this.start, o = this.startLoc), e || (r = this.eat(M.star)));
2789
+ if (this.options.ecmaVersion >= 9 && this.eat(j.ellipsis)) return e ? (n.argument = this.parseIdent(!1), this.type === j.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(n, "RestElement")) : (n.argument = this.parseMaybeAssign(!1, t), this.type === j.comma && t && t.trailingComma < 0 && (t.trailingComma = this.start), this.finishNode(n, "SpreadElement"));
2790
+ this.options.ecmaVersion >= 6 && (n.method = !1, n.shorthand = !1, (e || t) && (a = this.start, o = this.startLoc), e || (r = this.eat(j.star)));
2797
2791
  var s = this.containsEsc;
2798
- return this.parsePropertyName(n), !e && !s && this.options.ecmaVersion >= 8 && !r && this.isAsyncProp(n) ? (i = !0, r = this.options.ecmaVersion >= 9 && this.eat(M.star), this.parsePropertyName(n)) : i = !1, this.parsePropertyValue(n, e, r, i, a, o, t, s), this.finishNode(n, "Property");
2799
- }, H.parseGetterSetter = function(e) {
2792
+ return this.parsePropertyName(n), !e && !s && this.options.ecmaVersion >= 8 && !r && this.isAsyncProp(n) ? (i = !0, r = this.options.ecmaVersion >= 9 && this.eat(j.star), this.parsePropertyName(n)) : i = !1, this.parsePropertyValue(n, e, r, i, a, o, t, s), this.finishNode(n, "Property");
2793
+ }, V.parseGetterSetter = function(e) {
2800
2794
  var t = e.key.name;
2801
2795
  this.parsePropertyName(e), e.value = this.parseMethod(!1), e.kind = t;
2802
2796
  var n = e.kind === "get" ? 0 : 1;
@@ -2804,24 +2798,24 @@ H.parseNew = function() {
2804
2798
  var r = e.value.start;
2805
2799
  e.kind === "get" ? this.raiseRecoverable(r, "getter should have no params") : this.raiseRecoverable(r, "setter should have exactly one param");
2806
2800
  } else e.kind === "set" && e.value.params[0].type === "RestElement" && this.raiseRecoverable(e.value.params[0].start, "Setter cannot use rest params");
2807
- }, H.parsePropertyValue = function(e, t, n, r, i, a, o, s) {
2808
- (n || r) && this.type === M.colon && this.unexpected(), this.eat(M.colon) ? (e.value = t ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, o), e.kind = "init") : this.options.ecmaVersion >= 6 && this.type === M.parenL ? (t && this.unexpected(), e.method = !0, e.value = this.parseMethod(n, r), e.kind = "init") : !t && !s && this.options.ecmaVersion >= 5 && !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.type !== M.comma && this.type !== M.braceR && this.type !== M.eq ? ((n || r) && this.unexpected(), this.parseGetterSetter(e)) : this.options.ecmaVersion >= 6 && !e.computed && e.key.type === "Identifier" ? ((n || r) && this.unexpected(), this.checkUnreserved(e.key), e.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = i), t ? e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key)) : this.type === M.eq && o ? (o.shorthandAssign < 0 && (o.shorthandAssign = this.start), e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key))) : e.value = this.copyNode(e.key), e.kind = "init", e.shorthand = !0) : this.unexpected();
2809
- }, H.parsePropertyName = function(e) {
2801
+ }, V.parsePropertyValue = function(e, t, n, r, i, a, o, s) {
2802
+ (n || r) && this.type === j.colon && this.unexpected(), this.eat(j.colon) ? (e.value = t ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, o), e.kind = "init") : this.options.ecmaVersion >= 6 && this.type === j.parenL ? (t && this.unexpected(), e.method = !0, e.value = this.parseMethod(n, r), e.kind = "init") : !t && !s && this.options.ecmaVersion >= 5 && !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.type !== j.comma && this.type !== j.braceR && this.type !== j.eq ? ((n || r) && this.unexpected(), this.parseGetterSetter(e)) : this.options.ecmaVersion >= 6 && !e.computed && e.key.type === "Identifier" ? ((n || r) && this.unexpected(), this.checkUnreserved(e.key), e.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = i), t ? e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key)) : this.type === j.eq && o ? (o.shorthandAssign < 0 && (o.shorthandAssign = this.start), e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key))) : e.value = this.copyNode(e.key), e.kind = "init", e.shorthand = !0) : this.unexpected();
2803
+ }, V.parsePropertyName = function(e) {
2810
2804
  if (this.options.ecmaVersion >= 6) {
2811
- if (this.eat(M.bracketL)) return e.computed = !0, e.key = this.parseMaybeAssign(), this.expect(M.bracketR), e.key;
2805
+ if (this.eat(j.bracketL)) return e.computed = !0, e.key = this.parseMaybeAssign(), this.expect(j.bracketR), e.key;
2812
2806
  e.computed = !1;
2813
2807
  }
2814
- return e.key = this.type === M.num || this.type === M.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
2815
- }, H.initFunction = function(e) {
2808
+ return e.key = this.type === j.num || this.type === j.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
2809
+ }, V.initFunction = function(e) {
2816
2810
  e.id = null, this.options.ecmaVersion >= 6 && (e.generator = e.expression = !1), this.options.ecmaVersion >= 8 && (e.async = !1);
2817
- }, H.parseMethod = function(e, t, n) {
2811
+ }, V.parseMethod = function(e, t, n) {
2818
2812
  var r = this.startNode(), i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2819
- return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(kt(t, r.generator) | Ct | (n ? wt : 0)), this.expect(M.parenL), r.params = this.parseBindingList(M.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(r, "FunctionExpression");
2820
- }, H.parseArrowExpression = function(e, t, n, r) {
2813
+ return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(kt(t, r.generator) | Ct | (n ? wt : 0)), this.expect(j.parenL), r.params = this.parseBindingList(j.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(r, "FunctionExpression");
2814
+ }, V.parseArrowExpression = function(e, t, n, r) {
2821
2815
  var i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2822
2816
  return this.enterScope(kt(n, !1) | xt), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, r), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
2823
- }, H.parseFunctionBody = function(e, t, n, r) {
2824
- var i = t && this.type !== M.braceL, a = this.strict, o = !1;
2817
+ }, V.parseFunctionBody = function(e, t, n, r) {
2818
+ var i = t && this.type !== j.braceL, a = this.strict, o = !1;
2825
2819
  if (i) e.body = this.parseMaybeAssign(r), e.expression = !0, this.checkParams(e, !1);
2826
2820
  else {
2827
2821
  var s = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
@@ -2830,44 +2824,44 @@ H.parseNew = function() {
2830
2824
  this.labels = [], o && (this.strict = !0), this.checkParams(e, !a && !o && !t && !n && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Ft), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2831
2825
  }
2832
2826
  this.exitScope();
2833
- }, H.isSimpleParamList = function(e) {
2827
+ }, V.isSimpleParamList = function(e) {
2834
2828
  for (var t = 0, n = e; t < n.length; t += 1) if (n[t].type !== "Identifier") return !1;
2835
2829
  return !0;
2836
- }, H.checkParams = function(e, t) {
2830
+ }, V.checkParams = function(e, t) {
2837
2831
  for (var n = Object.create(null), r = 0, i = e.params; r < i.length; r += 1) {
2838
2832
  var a = i[r];
2839
2833
  this.checkLValInnerPattern(a, jt, t ? null : n);
2840
2834
  }
2841
- }, H.parseExprList = function(e, t, n, r) {
2835
+ }, V.parseExprList = function(e, t, n, r) {
2842
2836
  for (var i = [], a = !0; !this.eat(e);) {
2843
2837
  if (a) a = !1;
2844
- else if (this.expect(M.comma), t && this.afterTrailingComma(e)) break;
2838
+ else if (this.expect(j.comma), t && this.afterTrailingComma(e)) break;
2845
2839
  var o = void 0;
2846
- n && this.type === M.comma ? o = null : this.type === M.ellipsis ? (o = this.parseSpread(r), r && this.type === M.comma && r.trailingComma < 0 && (r.trailingComma = this.start)) : o = this.parseMaybeAssign(!1, r), i.push(o);
2840
+ n && this.type === j.comma ? o = null : this.type === j.ellipsis ? (o = this.parseSpread(r), r && this.type === j.comma && r.trailingComma < 0 && (r.trailingComma = this.start)) : o = this.parseMaybeAssign(!1, r), i.push(o);
2847
2841
  }
2848
2842
  return i;
2849
- }, H.checkUnreserved = function(e) {
2843
+ }, V.checkUnreserved = function(e) {
2850
2844
  var t = e.start, n = e.end, r = e.name;
2851
2845
  this.inGenerator && r === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Ot) && r === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (r === "arguments" || r === "await") && this.raise(t, "Cannot use " + r + " in class static initialization block"), this.keywords.test(r) && this.raise(t, "Unexpected keyword '" + r + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, n).indexOf("\\") !== -1) && (this.strict ? this.reservedWordsStrict : this.reservedWords).test(r) && (!this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + r + "' is reserved"));
2852
- }, H.parseIdent = function(e) {
2846
+ }, V.parseIdent = function(e) {
2853
2847
  var t = this.parseIdentNode();
2854
2848
  return this.next(!!e), this.finishNode(t, "Identifier"), e || (this.checkUnreserved(t), t.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = t.start)), t;
2855
- }, H.parseIdentNode = function() {
2849
+ }, V.parseIdentNode = function() {
2856
2850
  var e = this.startNode();
2857
- return this.type === M.name ? e.name = this.value : this.type.keyword ? (e.name = this.type.keyword, (e.name === "class" || e.name === "function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46) && this.context.pop(), this.type = M.name) : this.unexpected(), e;
2858
- }, H.parsePrivateIdent = function() {
2851
+ return this.type === j.name ? e.name = this.value : this.type.keyword ? (e.name = this.type.keyword, (e.name === "class" || e.name === "function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46) && this.context.pop(), this.type = j.name) : this.unexpected(), e;
2852
+ }, V.parsePrivateIdent = function() {
2859
2853
  var e = this.startNode();
2860
- return this.type === M.privateId ? e.name = this.value : this.unexpected(), this.next(), this.finishNode(e, "PrivateIdentifier"), this.options.checkPrivateFields && (this.privateNameStack.length === 0 ? this.raise(e.start, "Private field '#" + e.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e)), e;
2861
- }, H.parseYield = function(e) {
2854
+ return this.type === j.privateId ? e.name = this.value : this.unexpected(), this.next(), this.finishNode(e, "PrivateIdentifier"), this.options.checkPrivateFields && (this.privateNameStack.length === 0 ? this.raise(e.start, "Private field '#" + e.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e)), e;
2855
+ }, V.parseYield = function(e) {
2862
2856
  this.yieldPos ||= this.start;
2863
2857
  var t = this.startNode();
2864
- return this.next(), this.type === M.semi || this.canInsertSemicolon() || this.type !== M.star && !this.type.startsExpr ? (t.delegate = !1, t.argument = null) : (t.delegate = this.eat(M.star), t.argument = this.parseMaybeAssign(e)), this.finishNode(t, "YieldExpression");
2865
- }, H.parseAwait = function(e) {
2858
+ return this.next(), this.type === j.semi || this.canInsertSemicolon() || this.type !== j.star && !this.type.startsExpr ? (t.delegate = !1, t.argument = null) : (t.delegate = this.eat(j.star), t.argument = this.parseMaybeAssign(e)), this.finishNode(t, "YieldExpression");
2859
+ }, V.parseAwait = function(e) {
2866
2860
  this.awaitPos ||= this.start;
2867
2861
  var t = this.startNode();
2868
2862
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
2869
2863
  };
2870
- var Xt = F.prototype;
2864
+ var Xt = P.prototype;
2871
2865
  Xt.raise = function(e, t) {
2872
2866
  var n = ft(this.input, e);
2873
2867
  t += " (" + n.line + ":" + n.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
@@ -2876,7 +2870,7 @@ Xt.raise = function(e, t) {
2876
2870
  }, Xt.raiseRecoverable = Xt.raise, Xt.curPosition = function() {
2877
2871
  if (this.options.locations) return new ut(this.curLine, this.pos - this.lineStart);
2878
2872
  };
2879
- var Zt = F.prototype, Qt = function(e) {
2873
+ var Zt = P.prototype, Qt = function(e) {
2880
2874
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
2881
2875
  };
2882
2876
  Zt.enterScope = function(e) {
@@ -2920,7 +2914,7 @@ Zt.enterScope = function(e) {
2920
2914
  };
2921
2915
  var $t = function(e, t, n) {
2922
2916
  this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new dt(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2923
- }, en = F.prototype;
2917
+ }, en = P.prototype;
2924
2918
  en.startNode = function() {
2925
2919
  return new $t(this, this.start, this.startLoc);
2926
2920
  }, en.startNodeAt = function(e, t) {
@@ -2982,7 +2976,7 @@ for (var bn = 0, xn = [
2982
2976
  var Sn = xn[bn];
2983
2977
  yn(Sn);
2984
2978
  }
2985
- var U = F.prototype, Cn = function(e, t) {
2979
+ var H = P.prototype, Cn = function(e, t) {
2986
2980
  this.parent = e, this.base = t || this;
2987
2981
  };
2988
2982
  Cn.prototype.separatedFrom = function(e) {
@@ -2991,15 +2985,15 @@ Cn.prototype.separatedFrom = function(e) {
2991
2985
  }, Cn.prototype.sibling = function() {
2992
2986
  return new Cn(this.parent, this.base);
2993
2987
  };
2994
- var W = function(e) {
2988
+ var U = function(e) {
2995
2989
  this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = vn[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
2996
2990
  };
2997
- W.prototype.reset = function(e, t, n) {
2991
+ U.prototype.reset = function(e, t, n) {
2998
2992
  var r = n.indexOf("v") !== -1, i = n.indexOf("u") !== -1;
2999
2993
  this.start = e | 0, this.source = t + "", this.flags = n, r && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = i && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = i && this.parser.options.ecmaVersion >= 9);
3000
- }, W.prototype.raise = function(e) {
2994
+ }, U.prototype.raise = function(e) {
3001
2995
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + e);
3002
- }, W.prototype.at = function(e, t) {
2996
+ }, U.prototype.at = function(e, t) {
3003
2997
  t === void 0 && (t = !1);
3004
2998
  var n = this.source, r = n.length;
3005
2999
  if (e >= r) return -1;
@@ -3007,21 +3001,21 @@ W.prototype.reset = function(e, t, n) {
3007
3001
  if (!(t || this.switchU) || i <= 55295 || i >= 57344 || e + 1 >= r) return i;
3008
3002
  var a = n.charCodeAt(e + 1);
3009
3003
  return a >= 56320 && a <= 57343 ? (i << 10) + a - 56613888 : i;
3010
- }, W.prototype.nextIndex = function(e, t) {
3004
+ }, U.prototype.nextIndex = function(e, t) {
3011
3005
  t === void 0 && (t = !1);
3012
3006
  var n = this.source, r = n.length;
3013
3007
  if (e >= r) return r;
3014
3008
  var i = n.charCodeAt(e), a;
3015
3009
  return !(t || this.switchU) || i <= 55295 || i >= 57344 || e + 1 >= r || (a = n.charCodeAt(e + 1)) < 56320 || a > 57343 ? e + 1 : e + 2;
3016
- }, W.prototype.current = function(e) {
3010
+ }, U.prototype.current = function(e) {
3017
3011
  return e === void 0 && (e = !1), this.at(this.pos, e);
3018
- }, W.prototype.lookahead = function(e) {
3012
+ }, U.prototype.lookahead = function(e) {
3019
3013
  return e === void 0 && (e = !1), this.at(this.nextIndex(this.pos, e), e);
3020
- }, W.prototype.advance = function(e) {
3014
+ }, U.prototype.advance = function(e) {
3021
3015
  e === void 0 && (e = !1), this.pos = this.nextIndex(this.pos, e);
3022
- }, W.prototype.eat = function(e, t) {
3016
+ }, U.prototype.eat = function(e, t) {
3023
3017
  return t === void 0 && (t = !1), this.current(t) === e ? (this.advance(t), !0) : !1;
3024
- }, W.prototype.eatChars = function(e, t) {
3018
+ }, U.prototype.eatChars = function(e, t) {
3025
3019
  t === void 0 && (t = !1);
3026
3020
  for (var n = this.pos, r = 0, i = e; r < i.length; r += 1) {
3027
3021
  var a = i[r], o = this.at(n, t);
@@ -3029,7 +3023,7 @@ W.prototype.reset = function(e, t, n) {
3029
3023
  n = this.nextIndex(n, t);
3030
3024
  }
3031
3025
  return this.pos = n, !0;
3032
- }, U.validateRegExpFlags = function(e) {
3026
+ }, H.validateRegExpFlags = function(e) {
3033
3027
  for (var t = e.validFlags, n = e.flags, r = !1, i = !1, a = 0; a < n.length; a++) {
3034
3028
  var o = n.charAt(a);
3035
3029
  t.indexOf(o) === -1 && this.raise(e.start, "Invalid regular expression flag"), n.indexOf(o, a + 1) > -1 && this.raise(e.start, "Duplicate regular expression flag"), o === "u" && (r = !0), o === "v" && (i = !0);
@@ -3040,23 +3034,23 @@ function wn(e) {
3040
3034
  for (var t in e) return !0;
3041
3035
  return !1;
3042
3036
  }
3043
- U.validateRegExpPattern = function(e) {
3037
+ H.validateRegExpPattern = function(e) {
3044
3038
  this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && wn(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
3045
- }, U.regexp_pattern = function(e) {
3039
+ }, H.regexp_pattern = function(e) {
3046
3040
  e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = !1, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames = Object.create(null), e.backReferenceNames.length = 0, e.branchID = null, this.regexp_disjunction(e), e.pos !== e.source.length && (e.eat(41) && e.raise("Unmatched ')'"), (e.eat(93) || e.eat(125)) && e.raise("Lone quantifier brackets")), e.maxBackReference > e.numCapturingParens && e.raise("Invalid escape");
3047
3041
  for (var t = 0, n = e.backReferenceNames; t < n.length; t += 1) {
3048
3042
  var r = n[t];
3049
3043
  e.groupNames[r] || e.raise("Invalid named capture referenced");
3050
3044
  }
3051
- }, U.regexp_disjunction = function(e) {
3045
+ }, H.regexp_disjunction = function(e) {
3052
3046
  var t = this.options.ecmaVersion >= 16;
3053
3047
  for (t && (e.branchID = new Cn(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
3054
3048
  t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, !0) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
3055
- }, U.regexp_alternative = function(e) {
3049
+ }, H.regexp_alternative = function(e) {
3056
3050
  for (; e.pos < e.source.length && this.regexp_eatTerm(e););
3057
- }, U.regexp_eatTerm = function(e) {
3051
+ }, H.regexp_eatTerm = function(e) {
3058
3052
  return this.regexp_eatAssertion(e) ? (e.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(e) && e.switchU && e.raise("Invalid quantifier"), !0) : (e.switchU ? this.regexp_eatAtom(e) : this.regexp_eatExtendedAtom(e)) ? (this.regexp_eatQuantifier(e), !0) : !1;
3059
- }, U.regexp_eatAssertion = function(e) {
3053
+ }, H.regexp_eatAssertion = function(e) {
3060
3054
  var t = e.pos;
3061
3055
  if (e.lastAssertionIsQuantifiable = !1, e.eat(94) || e.eat(36)) return !0;
3062
3056
  if (e.eat(92)) {
@@ -3068,11 +3062,11 @@ U.validateRegExpPattern = function(e) {
3068
3062
  if (this.options.ecmaVersion >= 9 && (n = e.eat(60)), e.eat(61) || e.eat(33)) return this.regexp_disjunction(e), e.eat(41) || e.raise("Unterminated group"), e.lastAssertionIsQuantifiable = !n, !0;
3069
3063
  }
3070
3064
  return e.pos = t, !1;
3071
- }, U.regexp_eatQuantifier = function(e, t) {
3065
+ }, H.regexp_eatQuantifier = function(e, t) {
3072
3066
  return t === void 0 && (t = !1), this.regexp_eatQuantifierPrefix(e, t) ? (e.eat(63), !0) : !1;
3073
- }, U.regexp_eatQuantifierPrefix = function(e, t) {
3067
+ }, H.regexp_eatQuantifierPrefix = function(e, t) {
3074
3068
  return e.eat(42) || e.eat(43) || e.eat(63) || this.regexp_eatBracedQuantifier(e, t);
3075
- }, U.regexp_eatBracedQuantifier = function(e, t) {
3069
+ }, H.regexp_eatBracedQuantifier = function(e, t) {
3076
3070
  var n = e.pos;
3077
3071
  if (e.eat(123)) {
3078
3072
  var r = 0, i = -1;
@@ -3080,16 +3074,16 @@ U.validateRegExpPattern = function(e) {
3080
3074
  e.switchU && !t && e.raise("Incomplete quantifier"), e.pos = n;
3081
3075
  }
3082
3076
  return !1;
3083
- }, U.regexp_eatAtom = function(e) {
3077
+ }, H.regexp_eatAtom = function(e) {
3084
3078
  return this.regexp_eatPatternCharacters(e) || e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e);
3085
- }, U.regexp_eatReverseSolidusAtomEscape = function(e) {
3079
+ }, H.regexp_eatReverseSolidusAtomEscape = function(e) {
3086
3080
  var t = e.pos;
3087
3081
  if (e.eat(92)) {
3088
3082
  if (this.regexp_eatAtomEscape(e)) return !0;
3089
3083
  e.pos = t;
3090
3084
  }
3091
3085
  return !1;
3092
- }, U.regexp_eatUncapturingGroup = function(e) {
3086
+ }, H.regexp_eatUncapturingGroup = function(e) {
3093
3087
  var t = e.pos;
3094
3088
  if (e.eat(40)) {
3095
3089
  if (e.eat(63)) {
@@ -3118,37 +3112,37 @@ U.validateRegExpPattern = function(e) {
3118
3112
  e.pos = t;
3119
3113
  }
3120
3114
  return !1;
3121
- }, U.regexp_eatCapturingGroup = function(e) {
3115
+ }, H.regexp_eatCapturingGroup = function(e) {
3122
3116
  if (e.eat(40)) {
3123
3117
  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, !0;
3124
3118
  e.raise("Unterminated group");
3125
3119
  }
3126
3120
  return !1;
3127
- }, U.regexp_eatModifiers = function(e) {
3121
+ }, H.regexp_eatModifiers = function(e) {
3128
3122
  for (var t = "", n = 0; (n = e.current()) !== -1 && Tn(n);) t += ct(n), e.advance();
3129
3123
  return t;
3130
3124
  };
3131
3125
  function Tn(e) {
3132
3126
  return e === 105 || e === 109 || e === 115;
3133
3127
  }
3134
- U.regexp_eatExtendedAtom = function(e) {
3128
+ H.regexp_eatExtendedAtom = function(e) {
3135
3129
  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);
3136
- }, U.regexp_eatInvalidBracedQuantifier = function(e) {
3130
+ }, H.regexp_eatInvalidBracedQuantifier = function(e) {
3137
3131
  return this.regexp_eatBracedQuantifier(e, !0) && e.raise("Nothing to repeat"), !1;
3138
- }, U.regexp_eatSyntaxCharacter = function(e) {
3132
+ }, H.regexp_eatSyntaxCharacter = function(e) {
3139
3133
  var t = e.current();
3140
3134
  return En(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3141
3135
  };
3142
3136
  function En(e) {
3143
3137
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
3144
3138
  }
3145
- U.regexp_eatPatternCharacters = function(e) {
3139
+ H.regexp_eatPatternCharacters = function(e) {
3146
3140
  for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !En(n);) e.advance();
3147
3141
  return e.pos !== t;
3148
- }, U.regexp_eatExtendedPatternCharacter = function(e) {
3142
+ }, H.regexp_eatExtendedPatternCharacter = function(e) {
3149
3143
  var t = e.current();
3150
3144
  return t !== -1 && t !== 36 && !(t >= 40 && t <= 43) && t !== 46 && t !== 63 && t !== 91 && t !== 94 && t !== 124 ? (e.advance(), !0) : !1;
3151
- }, U.regexp_groupSpecifier = function(e) {
3145
+ }, H.regexp_groupSpecifier = function(e) {
3152
3146
  if (e.eat(63)) {
3153
3147
  this.regexp_eatGroupName(e) || e.raise("Invalid group");
3154
3148
  var t = this.options.ecmaVersion >= 16, n = e.groupNames[e.lastStringValue];
@@ -3156,35 +3150,35 @@ U.regexp_eatPatternCharacters = function(e) {
3156
3150
  else e.raise("Duplicate capture group name");
3157
3151
  t ? (n || (e.groupNames[e.lastStringValue] = [])).push(e.branchID) : e.groupNames[e.lastStringValue] = !0;
3158
3152
  }
3159
- }, U.regexp_eatGroupName = function(e) {
3153
+ }, H.regexp_eatGroupName = function(e) {
3160
3154
  if (e.lastStringValue = "", e.eat(60)) {
3161
3155
  if (this.regexp_eatRegExpIdentifierName(e) && e.eat(62)) return !0;
3162
3156
  e.raise("Invalid capture group name");
3163
3157
  }
3164
3158
  return !1;
3165
- }, U.regexp_eatRegExpIdentifierName = function(e) {
3159
+ }, H.regexp_eatRegExpIdentifierName = function(e) {
3166
3160
  if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
3167
3161
  for (e.lastStringValue += ct(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += ct(e.lastIntValue);
3168
3162
  return !0;
3169
3163
  }
3170
3164
  return !1;
3171
- }, U.regexp_eatRegExpIdentifierStart = function(e) {
3165
+ }, H.regexp_eatRegExpIdentifierStart = function(e) {
3172
3166
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
3173
3167
  return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Dn(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3174
3168
  };
3175
3169
  function Dn(e) {
3176
- return E(e, !0) || e === 36 || e === 95;
3170
+ return T(e, !0) || e === 36 || e === 95;
3177
3171
  }
3178
- U.regexp_eatRegExpIdentifierPart = function(e) {
3172
+ H.regexp_eatRegExpIdentifierPart = function(e) {
3179
3173
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
3180
3174
  return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), On(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3181
3175
  };
3182
3176
  function On(e) {
3183
3177
  return Ye(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
3184
3178
  }
3185
- U.regexp_eatAtomEscape = function(e) {
3179
+ H.regexp_eatAtomEscape = function(e) {
3186
3180
  return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this.regexp_eatKGroupName(e) ? !0 : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), !1);
3187
- }, U.regexp_eatBackReference = function(e) {
3181
+ }, H.regexp_eatBackReference = function(e) {
3188
3182
  var t = e.pos;
3189
3183
  if (this.regexp_eatDecimalEscape(e)) {
3190
3184
  var n = e.lastIntValue;
@@ -3193,34 +3187,34 @@ U.regexp_eatAtomEscape = function(e) {
3193
3187
  e.pos = t;
3194
3188
  }
3195
3189
  return !1;
3196
- }, U.regexp_eatKGroupName = function(e) {
3190
+ }, H.regexp_eatKGroupName = function(e) {
3197
3191
  if (e.eat(107)) {
3198
3192
  if (this.regexp_eatGroupName(e)) return e.backReferenceNames.push(e.lastStringValue), !0;
3199
3193
  e.raise("Invalid named reference");
3200
3194
  }
3201
3195
  return !1;
3202
- }, U.regexp_eatCharacterEscape = function(e) {
3196
+ }, H.regexp_eatCharacterEscape = function(e) {
3203
3197
  return this.regexp_eatControlEscape(e) || this.regexp_eatCControlLetter(e) || this.regexp_eatZero(e) || this.regexp_eatHexEscapeSequence(e) || this.regexp_eatRegExpUnicodeEscapeSequence(e, !1) || !e.switchU && this.regexp_eatLegacyOctalEscapeSequence(e) || this.regexp_eatIdentityEscape(e);
3204
- }, U.regexp_eatCControlLetter = function(e) {
3198
+ }, H.regexp_eatCControlLetter = function(e) {
3205
3199
  var t = e.pos;
3206
3200
  if (e.eat(99)) {
3207
3201
  if (this.regexp_eatControlLetter(e)) return !0;
3208
3202
  e.pos = t;
3209
3203
  }
3210
3204
  return !1;
3211
- }, U.regexp_eatZero = function(e) {
3205
+ }, H.regexp_eatZero = function(e) {
3212
3206
  return e.current() === 48 && !zn(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
3213
- }, U.regexp_eatControlEscape = function(e) {
3207
+ }, H.regexp_eatControlEscape = function(e) {
3214
3208
  var t = e.current();
3215
3209
  return t === 116 ? (e.lastIntValue = 9, e.advance(), !0) : t === 110 ? (e.lastIntValue = 10, e.advance(), !0) : t === 118 ? (e.lastIntValue = 11, e.advance(), !0) : t === 102 ? (e.lastIntValue = 12, e.advance(), !0) : t === 114 ? (e.lastIntValue = 13, e.advance(), !0) : !1;
3216
- }, U.regexp_eatControlLetter = function(e) {
3210
+ }, H.regexp_eatControlLetter = function(e) {
3217
3211
  var t = e.current();
3218
3212
  return kn(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3219
3213
  };
3220
3214
  function kn(e) {
3221
3215
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
3222
3216
  }
3223
- U.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
3217
+ H.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
3224
3218
  t === void 0 && (t = !1);
3225
3219
  var n = e.pos, r = t || e.switchU;
3226
3220
  if (e.eat(117)) {
@@ -3244,11 +3238,11 @@ U.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
3244
3238
  function An(e) {
3245
3239
  return e >= 0 && e <= 1114111;
3246
3240
  }
3247
- U.regexp_eatIdentityEscape = function(e) {
3241
+ H.regexp_eatIdentityEscape = function(e) {
3248
3242
  if (e.switchU) return this.regexp_eatSyntaxCharacter(e) ? !0 : e.eat(47) ? (e.lastIntValue = 47, !0) : !1;
3249
3243
  var t = e.current();
3250
3244
  return t !== 99 && (!e.switchN || t !== 107) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3251
- }, U.regexp_eatDecimalEscape = function(e) {
3245
+ }, H.regexp_eatDecimalEscape = function(e) {
3252
3246
  e.lastIntValue = 0;
3253
3247
  var t = e.current();
3254
3248
  if (t >= 49 && t <= 57) {
@@ -3259,15 +3253,15 @@ U.regexp_eatIdentityEscape = function(e) {
3259
3253
  }
3260
3254
  return !1;
3261
3255
  };
3262
- var jn = 0, Mn = 1, G = 2;
3263
- U.regexp_eatCharacterClassEscape = function(e) {
3256
+ var jn = 0, Mn = 1, W = 2;
3257
+ H.regexp_eatCharacterClassEscape = function(e) {
3264
3258
  var t = e.current();
3265
3259
  if (Nn(t)) return e.lastIntValue = -1, e.advance(), Mn;
3266
3260
  var n = !1;
3267
3261
  if (e.switchU && this.options.ecmaVersion >= 9 && ((n = t === 80) || t === 112)) {
3268
3262
  e.lastIntValue = -1, e.advance();
3269
3263
  var r;
3270
- if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === G && e.raise("Invalid property name"), r;
3264
+ if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === W && e.raise("Invalid property name"), r;
3271
3265
  e.raise("Invalid property name");
3272
3266
  }
3273
3267
  return jn;
@@ -3275,7 +3269,7 @@ U.regexp_eatCharacterClassEscape = function(e) {
3275
3269
  function Nn(e) {
3276
3270
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
3277
3271
  }
3278
- U.regexp_eatUnicodePropertyValueExpression = function(e) {
3272
+ H.regexp_eatUnicodePropertyValueExpression = function(e) {
3279
3273
  var t = e.pos;
3280
3274
  if (this.regexp_eatUnicodePropertyName(e) && e.eat(61)) {
3281
3275
  var n = e.lastStringValue;
@@ -3289,13 +3283,13 @@ U.regexp_eatUnicodePropertyValueExpression = function(e) {
3289
3283
  return this.regexp_validateUnicodePropertyNameOrValue(e, i);
3290
3284
  }
3291
3285
  return jn;
3292
- }, U.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
3286
+ }, H.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
3293
3287
  it(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
3294
- }, U.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
3288
+ }, H.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
3295
3289
  if (e.unicodeProperties.binary.test(t)) return Mn;
3296
- if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return G;
3290
+ if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return W;
3297
3291
  e.raise("Invalid property name");
3298
- }, U.regexp_eatUnicodePropertyName = function(e) {
3292
+ }, H.regexp_eatUnicodePropertyName = function(e) {
3299
3293
  var t = 0;
3300
3294
  for (e.lastStringValue = ""; Pn(t = e.current());) e.lastStringValue += ct(t), e.advance();
3301
3295
  return e.lastStringValue !== "";
@@ -3303,7 +3297,7 @@ U.regexp_eatUnicodePropertyValueExpression = function(e) {
3303
3297
  function Pn(e) {
3304
3298
  return kn(e) || e === 95;
3305
3299
  }
3306
- U.regexp_eatUnicodePropertyValue = function(e) {
3300
+ H.regexp_eatUnicodePropertyValue = function(e) {
3307
3301
  var t = 0;
3308
3302
  for (e.lastStringValue = ""; Fn(t = e.current());) e.lastStringValue += ct(t), e.advance();
3309
3303
  return e.lastStringValue !== "";
@@ -3311,17 +3305,17 @@ U.regexp_eatUnicodePropertyValue = function(e) {
3311
3305
  function Fn(e) {
3312
3306
  return Pn(e) || zn(e);
3313
3307
  }
3314
- U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3308
+ H.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3315
3309
  return this.regexp_eatUnicodePropertyValue(e);
3316
- }, U.regexp_eatCharacterClass = function(e) {
3310
+ }, H.regexp_eatCharacterClass = function(e) {
3317
3311
  if (e.eat(91)) {
3318
3312
  var t = e.eat(94), n = this.regexp_classContents(e);
3319
- return e.eat(93) || e.raise("Unterminated character class"), t && n === G && e.raise("Negated character class may contain strings"), !0;
3313
+ return e.eat(93) || e.raise("Unterminated character class"), t && n === W && e.raise("Negated character class may contain strings"), !0;
3320
3314
  }
3321
3315
  return !1;
3322
- }, U.regexp_classContents = function(e) {
3316
+ }, H.regexp_classContents = function(e) {
3323
3317
  return e.current() === 93 ? Mn : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), Mn);
3324
- }, U.regexp_nonEmptyClassRanges = function(e) {
3318
+ }, H.regexp_nonEmptyClassRanges = function(e) {
3325
3319
  for (; this.regexp_eatClassAtom(e);) {
3326
3320
  var t = e.lastIntValue;
3327
3321
  if (e.eat(45) && this.regexp_eatClassAtom(e)) {
@@ -3329,7 +3323,7 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3329
3323
  e.switchU && (t === -1 || n === -1) && e.raise("Invalid character class"), t !== -1 && n !== -1 && t > n && e.raise("Range out of order in character class");
3330
3324
  }
3331
3325
  }
3332
- }, U.regexp_eatClassAtom = function(e) {
3326
+ }, H.regexp_eatClassAtom = function(e) {
3333
3327
  var t = e.pos;
3334
3328
  if (e.eat(92)) {
3335
3329
  if (this.regexp_eatClassEscape(e)) return !0;
@@ -3341,7 +3335,7 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3341
3335
  }
3342
3336
  var r = e.current();
3343
3337
  return r === 93 ? !1 : (e.lastIntValue = r, e.advance(), !0);
3344
- }, U.regexp_eatClassEscape = function(e) {
3338
+ }, H.regexp_eatClassEscape = function(e) {
3345
3339
  var t = e.pos;
3346
3340
  if (e.eat(98)) return e.lastIntValue = 8, !0;
3347
3341
  if (e.switchU && e.eat(45)) return e.lastIntValue = 45, !0;
@@ -3350,13 +3344,13 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3350
3344
  e.pos = t;
3351
3345
  }
3352
3346
  return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
3353
- }, U.regexp_classSetExpression = function(e) {
3347
+ }, H.regexp_classSetExpression = function(e) {
3354
3348
  var t = Mn, n;
3355
3349
  if (!this.regexp_eatClassSetRange(e)) if (n = this.regexp_eatClassSetOperand(e)) {
3356
- n === G && (t = G);
3350
+ n === W && (t = W);
3357
3351
  for (var r = e.pos; e.eatChars([38, 38]);) {
3358
3352
  if (e.current() !== 38 && (n = this.regexp_eatClassSetOperand(e))) {
3359
- n !== G && (t = Mn);
3353
+ n !== W && (t = Mn);
3360
3354
  continue;
3361
3355
  }
3362
3356
  e.raise("Invalid character in character class");
@@ -3367,9 +3361,9 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3367
3361
  } else e.raise("Invalid character in character class");
3368
3362
  for (;;) if (!this.regexp_eatClassSetRange(e)) {
3369
3363
  if (n = this.regexp_eatClassSetOperand(e), !n) return t;
3370
- n === G && (t = G);
3364
+ n === W && (t = W);
3371
3365
  }
3372
- }, U.regexp_eatClassSetRange = function(e) {
3366
+ }, H.regexp_eatClassSetRange = function(e) {
3373
3367
  var t = e.pos;
3374
3368
  if (this.regexp_eatClassSetCharacter(e)) {
3375
3369
  var n = e.lastIntValue;
@@ -3380,13 +3374,13 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3380
3374
  e.pos = t;
3381
3375
  }
3382
3376
  return !1;
3383
- }, U.regexp_eatClassSetOperand = function(e) {
3377
+ }, H.regexp_eatClassSetOperand = function(e) {
3384
3378
  return this.regexp_eatClassSetCharacter(e) ? Mn : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
3385
- }, U.regexp_eatNestedClass = function(e) {
3379
+ }, H.regexp_eatNestedClass = function(e) {
3386
3380
  var t = e.pos;
3387
3381
  if (e.eat(91)) {
3388
3382
  var n = e.eat(94), r = this.regexp_classContents(e);
3389
- if (e.eat(93)) return n && r === G && e.raise("Negated character class may contain strings"), r;
3383
+ if (e.eat(93)) return n && r === W && e.raise("Negated character class may contain strings"), r;
3390
3384
  e.pos = t;
3391
3385
  }
3392
3386
  if (e.eat(92)) {
@@ -3395,7 +3389,7 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3395
3389
  e.pos = t;
3396
3390
  }
3397
3391
  return null;
3398
- }, U.regexp_eatClassStringDisjunction = function(e) {
3392
+ }, H.regexp_eatClassStringDisjunction = function(e) {
3399
3393
  var t = e.pos;
3400
3394
  if (e.eatChars([92, 113])) {
3401
3395
  if (e.eat(123)) {
@@ -3405,13 +3399,13 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3405
3399
  e.pos = t;
3406
3400
  }
3407
3401
  return null;
3408
- }, U.regexp_classStringDisjunctionContents = function(e) {
3409
- for (var t = this.regexp_classString(e); e.eat(124);) this.regexp_classString(e) === G && (t = G);
3402
+ }, H.regexp_classStringDisjunctionContents = function(e) {
3403
+ for (var t = this.regexp_classString(e); e.eat(124);) this.regexp_classString(e) === W && (t = W);
3410
3404
  return t;
3411
- }, U.regexp_classString = function(e) {
3405
+ }, H.regexp_classString = function(e) {
3412
3406
  for (var t = 0; this.regexp_eatClassSetCharacter(e);) t++;
3413
- return t === 1 ? Mn : G;
3414
- }, U.regexp_eatClassSetCharacter = function(e) {
3407
+ return t === 1 ? Mn : W;
3408
+ }, H.regexp_eatClassSetCharacter = function(e) {
3415
3409
  var t = e.pos;
3416
3410
  if (e.eat(92)) return this.regexp_eatCharacterEscape(e) || this.regexp_eatClassSetReservedPunctuator(e) ? !0 : e.eat(98) ? (e.lastIntValue = 8, !0) : (e.pos = t, !1);
3417
3411
  var n = e.current();
@@ -3423,24 +3417,24 @@ function In(e) {
3423
3417
  function Ln(e) {
3424
3418
  return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
3425
3419
  }
3426
- U.regexp_eatClassSetReservedPunctuator = function(e) {
3420
+ H.regexp_eatClassSetReservedPunctuator = function(e) {
3427
3421
  var t = e.current();
3428
3422
  return Rn(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3429
3423
  };
3430
3424
  function Rn(e) {
3431
3425
  return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
3432
3426
  }
3433
- U.regexp_eatClassControlLetter = function(e) {
3427
+ H.regexp_eatClassControlLetter = function(e) {
3434
3428
  var t = e.current();
3435
3429
  return zn(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3436
- }, U.regexp_eatHexEscapeSequence = function(e) {
3430
+ }, H.regexp_eatHexEscapeSequence = function(e) {
3437
3431
  var t = e.pos;
3438
3432
  if (e.eat(120)) {
3439
3433
  if (this.regexp_eatFixedHexDigits(e, 2)) return !0;
3440
3434
  e.switchU && e.raise("Invalid escape"), e.pos = t;
3441
3435
  }
3442
3436
  return !1;
3443
- }, U.regexp_eatDecimalDigits = function(e) {
3437
+ }, H.regexp_eatDecimalDigits = function(e) {
3444
3438
  var t = e.pos, n = 0;
3445
3439
  for (e.lastIntValue = 0; zn(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
3446
3440
  return e.pos !== t;
@@ -3448,7 +3442,7 @@ U.regexp_eatClassControlLetter = function(e) {
3448
3442
  function zn(e) {
3449
3443
  return e >= 48 && e <= 57;
3450
3444
  }
3451
- U.regexp_eatHexDigits = function(e) {
3445
+ H.regexp_eatHexDigits = function(e) {
3452
3446
  var t = e.pos, n = 0;
3453
3447
  for (e.lastIntValue = 0; Bn(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Vn(n), e.advance();
3454
3448
  return e.pos !== t;
@@ -3459,7 +3453,7 @@ function Bn(e) {
3459
3453
  function Vn(e) {
3460
3454
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
3461
3455
  }
3462
- U.regexp_eatLegacyOctalEscapeSequence = function(e) {
3456
+ H.regexp_eatLegacyOctalEscapeSequence = function(e) {
3463
3457
  if (this.regexp_eatOctalDigit(e)) {
3464
3458
  var t = e.lastIntValue;
3465
3459
  if (this.regexp_eatOctalDigit(e)) {
@@ -3469,14 +3463,14 @@ U.regexp_eatLegacyOctalEscapeSequence = function(e) {
3469
3463
  return !0;
3470
3464
  }
3471
3465
  return !1;
3472
- }, U.regexp_eatOctalDigit = function(e) {
3466
+ }, H.regexp_eatOctalDigit = function(e) {
3473
3467
  var t = e.current();
3474
3468
  return Hn(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
3475
3469
  };
3476
3470
  function Hn(e) {
3477
3471
  return e >= 48 && e <= 55;
3478
3472
  }
3479
- U.regexp_eatFixedHexDigits = function(e, t) {
3473
+ H.regexp_eatFixedHexDigits = function(e, t) {
3480
3474
  var n = e.pos;
3481
3475
  e.lastIntValue = 0;
3482
3476
  for (var r = 0; r < t; ++r) {
@@ -3488,42 +3482,42 @@ U.regexp_eatFixedHexDigits = function(e, t) {
3488
3482
  };
3489
3483
  var Un = function(e) {
3490
3484
  this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new dt(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
3491
- }, K = F.prototype;
3492
- K.next = function(e) {
3485
+ }, G = P.prototype;
3486
+ G.next = function(e) {
3493
3487
  !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Un(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
3494
- }, K.getToken = function() {
3488
+ }, G.getToken = function() {
3495
3489
  return this.next(), new Un(this);
3496
- }, typeof Symbol < "u" && (K[Symbol.iterator] = function() {
3490
+ }, typeof Symbol < "u" && (G[Symbol.iterator] = function() {
3497
3491
  var e = this;
3498
3492
  return { next: function() {
3499
3493
  var t = e.getToken();
3500
3494
  return {
3501
- done: t.type === M.eof,
3495
+ done: t.type === j.eof,
3502
3496
  value: t
3503
3497
  };
3504
3498
  } };
3505
- }), K.nextToken = function() {
3499
+ }), G.nextToken = function() {
3506
3500
  var e = this.curContext();
3507
- 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(M.eof);
3501
+ 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(j.eof);
3508
3502
  if (e.override) return e.override(this);
3509
3503
  this.readToken(this.fullCharCodeAtPos());
3510
- }, K.readToken = function(e) {
3511
- return E(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
3512
- }, K.fullCharCodeAt = function(e) {
3504
+ }, G.readToken = function(e) {
3505
+ return T(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
3506
+ }, G.fullCharCodeAt = function(e) {
3513
3507
  var t = this.input.charCodeAt(e);
3514
3508
  if (t <= 55295 || t >= 56320) return t;
3515
3509
  var n = this.input.charCodeAt(e + 1);
3516
3510
  return n <= 56319 || n >= 57344 ? t : (t << 10) + n - 56613888;
3517
- }, K.fullCharCodeAtPos = function() {
3511
+ }, G.fullCharCodeAtPos = function() {
3518
3512
  return this.fullCharCodeAt(this.pos);
3519
- }, K.skipBlockComment = function() {
3513
+ }, G.skipBlockComment = function() {
3520
3514
  var e = this.options.onComment && this.curPosition(), t = this.pos, n = this.input.indexOf("*/", this.pos += 2);
3521
3515
  if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r = void 0, i = t; (r = $e(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
3522
3516
  this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, n), t, this.pos, e, this.curPosition());
3523
- }, K.skipLineComment = function(e) {
3517
+ }, G.skipLineComment = function(e) {
3524
3518
  for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !Qe(r);) r = this.input.charCodeAt(++this.pos);
3525
3519
  this.options.onComment && this.options.onComment(!1, this.input.slice(t + e, this.pos), t, this.pos, n, this.curPosition());
3526
- }, K.skipSpace = function() {
3520
+ }, G.skipSpace = function() {
3527
3521
  loop: for (; this.pos < this.input.length;) {
3528
3522
  var e = this.input.charCodeAt(this.pos);
3529
3523
  switch (e) {
@@ -3552,65 +3546,65 @@ K.next = function(e) {
3552
3546
  else break loop;
3553
3547
  }
3554
3548
  }
3555
- }, K.finishToken = function(e, t) {
3549
+ }, G.finishToken = function(e, t) {
3556
3550
  this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
3557
3551
  var n = this.type;
3558
3552
  this.type = e, this.value = t, this.updateContext(n);
3559
- }, K.readToken_dot = function() {
3553
+ }, G.readToken_dot = function() {
3560
3554
  var e = this.input.charCodeAt(this.pos + 1);
3561
3555
  if (e >= 48 && e <= 57) return this.readNumber(!0);
3562
3556
  var t = this.input.charCodeAt(this.pos + 2);
3563
- return this.options.ecmaVersion >= 6 && e === 46 && t === 46 ? (this.pos += 3, this.finishToken(M.ellipsis)) : (++this.pos, this.finishToken(M.dot));
3564
- }, K.readToken_slash = function() {
3557
+ return this.options.ecmaVersion >= 6 && e === 46 && t === 46 ? (this.pos += 3, this.finishToken(j.ellipsis)) : (++this.pos, this.finishToken(j.dot));
3558
+ }, G.readToken_slash = function() {
3565
3559
  var e = this.input.charCodeAt(this.pos + 1);
3566
- return this.exprAllowed ? (++this.pos, this.readRegexp()) : e === 61 ? this.finishOp(M.assign, 2) : this.finishOp(M.slash, 1);
3567
- }, K.readToken_mult_modulo_exp = function(e) {
3568
- var t = this.input.charCodeAt(this.pos + 1), n = 1, r = e === 42 ? M.star : M.modulo;
3569
- return this.options.ecmaVersion >= 7 && e === 42 && t === 42 && (++n, r = M.starstar, t = this.input.charCodeAt(this.pos + 2)), t === 61 ? this.finishOp(M.assign, n + 1) : this.finishOp(r, n);
3570
- }, K.readToken_pipe_amp = function(e) {
3560
+ return this.exprAllowed ? (++this.pos, this.readRegexp()) : e === 61 ? this.finishOp(j.assign, 2) : this.finishOp(j.slash, 1);
3561
+ }, G.readToken_mult_modulo_exp = function(e) {
3562
+ var t = this.input.charCodeAt(this.pos + 1), n = 1, r = e === 42 ? j.star : j.modulo;
3563
+ return this.options.ecmaVersion >= 7 && e === 42 && t === 42 && (++n, r = j.starstar, t = this.input.charCodeAt(this.pos + 2)), t === 61 ? this.finishOp(j.assign, n + 1) : this.finishOp(r, n);
3564
+ }, G.readToken_pipe_amp = function(e) {
3571
3565
  var t = this.input.charCodeAt(this.pos + 1);
3572
- return t === e ? this.options.ecmaVersion >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(M.assign, 3) : this.finishOp(e === 124 ? M.logicalOR : M.logicalAND, 2) : t === 61 ? this.finishOp(M.assign, 2) : this.finishOp(e === 124 ? M.bitwiseOR : M.bitwiseAND, 1);
3573
- }, K.readToken_caret = function() {
3574
- return this.input.charCodeAt(this.pos + 1) === 61 ? this.finishOp(M.assign, 2) : this.finishOp(M.bitwiseXOR, 1);
3575
- }, K.readToken_plus_min = function(e) {
3566
+ return t === e ? this.options.ecmaVersion >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(j.assign, 3) : this.finishOp(e === 124 ? j.logicalOR : j.logicalAND, 2) : t === 61 ? this.finishOp(j.assign, 2) : this.finishOp(e === 124 ? j.bitwiseOR : j.bitwiseAND, 1);
3567
+ }, G.readToken_caret = function() {
3568
+ return this.input.charCodeAt(this.pos + 1) === 61 ? this.finishOp(j.assign, 2) : this.finishOp(j.bitwiseXOR, 1);
3569
+ }, G.readToken_plus_min = function(e) {
3576
3570
  var t = this.input.charCodeAt(this.pos + 1);
3577
- return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || N.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(M.incDec, 2) : t === 61 ? this.finishOp(M.assign, 2) : this.finishOp(M.plusMin, 1);
3578
- }, K.readToken_lt_gt = function(e) {
3571
+ return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || M.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(j.incDec, 2) : t === 61 ? this.finishOp(j.assign, 2) : this.finishOp(j.plusMin, 1);
3572
+ }, G.readToken_lt_gt = function(e) {
3579
3573
  var t = this.input.charCodeAt(this.pos + 1), n = 1;
3580
- return t === e ? (n = e === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + n) === 61 ? this.finishOp(M.assign, n + 1) : this.finishOp(M.bitShift, n)) : 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 && (n = 2), this.finishOp(M.relational, n));
3581
- }, K.readToken_eq_excl = function(e) {
3574
+ return t === e ? (n = e === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + n) === 61 ? this.finishOp(j.assign, n + 1) : this.finishOp(j.bitShift, n)) : 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 && (n = 2), this.finishOp(j.relational, n));
3575
+ }, G.readToken_eq_excl = function(e) {
3582
3576
  var t = this.input.charCodeAt(this.pos + 1);
3583
- return t === 61 ? this.finishOp(M.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : e === 61 && t === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(M.arrow)) : this.finishOp(e === 61 ? M.eq : M.prefix, 1);
3584
- }, K.readToken_question = function() {
3577
+ return t === 61 ? this.finishOp(j.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : e === 61 && t === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(j.arrow)) : this.finishOp(e === 61 ? j.eq : j.prefix, 1);
3578
+ }, G.readToken_question = function() {
3585
3579
  var e = this.options.ecmaVersion;
3586
3580
  if (e >= 11) {
3587
3581
  var t = this.input.charCodeAt(this.pos + 1);
3588
3582
  if (t === 46) {
3589
3583
  var n = this.input.charCodeAt(this.pos + 2);
3590
- if (n < 48 || n > 57) return this.finishOp(M.questionDot, 2);
3584
+ if (n < 48 || n > 57) return this.finishOp(j.questionDot, 2);
3591
3585
  }
3592
- if (t === 63) return e >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(M.assign, 3) : this.finishOp(M.coalesce, 2);
3586
+ if (t === 63) return e >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(j.assign, 3) : this.finishOp(j.coalesce, 2);
3593
3587
  }
3594
- return this.finishOp(M.question, 1);
3595
- }, K.readToken_numberSign = function() {
3588
+ return this.finishOp(j.question, 1);
3589
+ }, G.readToken_numberSign = function() {
3596
3590
  var e = this.options.ecmaVersion, t = 35;
3597
- if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), E(t, !0) || t === 92)) return this.finishToken(M.privateId, this.readWord1());
3591
+ if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), T(t, !0) || t === 92)) return this.finishToken(j.privateId, this.readWord1());
3598
3592
  this.raise(this.pos, "Unexpected character '" + ct(t) + "'");
3599
- }, K.getTokenFromCode = function(e) {
3593
+ }, G.getTokenFromCode = function(e) {
3600
3594
  switch (e) {
3601
3595
  case 46: return this.readToken_dot();
3602
- case 40: return ++this.pos, this.finishToken(M.parenL);
3603
- case 41: return ++this.pos, this.finishToken(M.parenR);
3604
- case 59: return ++this.pos, this.finishToken(M.semi);
3605
- case 44: return ++this.pos, this.finishToken(M.comma);
3606
- case 91: return ++this.pos, this.finishToken(M.bracketL);
3607
- case 93: return ++this.pos, this.finishToken(M.bracketR);
3608
- case 123: return ++this.pos, this.finishToken(M.braceL);
3609
- case 125: return ++this.pos, this.finishToken(M.braceR);
3610
- case 58: return ++this.pos, this.finishToken(M.colon);
3596
+ case 40: return ++this.pos, this.finishToken(j.parenL);
3597
+ case 41: return ++this.pos, this.finishToken(j.parenR);
3598
+ case 59: return ++this.pos, this.finishToken(j.semi);
3599
+ case 44: return ++this.pos, this.finishToken(j.comma);
3600
+ case 91: return ++this.pos, this.finishToken(j.bracketL);
3601
+ case 93: return ++this.pos, this.finishToken(j.bracketR);
3602
+ case 123: return ++this.pos, this.finishToken(j.braceL);
3603
+ case 125: return ++this.pos, this.finishToken(j.braceR);
3604
+ case 58: return ++this.pos, this.finishToken(j.colon);
3611
3605
  case 96:
3612
3606
  if (this.options.ecmaVersion < 6) break;
3613
- return ++this.pos, this.finishToken(M.backQuote);
3607
+ return ++this.pos, this.finishToken(j.backQuote);
3614
3608
  case 48:
3615
3609
  var t = this.input.charCodeAt(this.pos + 1);
3616
3610
  if (t === 120 || t === 88) return this.readRadixNumber(16);
@@ -3642,18 +3636,18 @@ K.next = function(e) {
3642
3636
  case 61:
3643
3637
  case 33: return this.readToken_eq_excl(e);
3644
3638
  case 63: return this.readToken_question();
3645
- case 126: return this.finishOp(M.prefix, 1);
3639
+ case 126: return this.finishOp(j.prefix, 1);
3646
3640
  case 35: return this.readToken_numberSign();
3647
3641
  }
3648
3642
  this.raise(this.pos, "Unexpected character '" + ct(e) + "'");
3649
- }, K.finishOp = function(e, t) {
3643
+ }, G.finishOp = function(e, t) {
3650
3644
  var n = this.input.slice(this.pos, this.pos + t);
3651
3645
  return this.pos += t, this.finishToken(e, n);
3652
- }, K.readRegexp = function() {
3646
+ }, G.readRegexp = function() {
3653
3647
  for (var e, t, n = this.pos;;) {
3654
3648
  this.pos >= this.input.length && this.raise(n, "Unterminated regular expression");
3655
3649
  var r = this.input.charAt(this.pos);
3656
- if (N.test(r) && this.raise(n, "Unterminated regular expression"), e) e = !1;
3650
+ if (M.test(r) && this.raise(n, "Unterminated regular expression"), e) e = !1;
3657
3651
  else {
3658
3652
  if (r === "[") t = !0;
3659
3653
  else if (r === "]" && t) t = !1;
@@ -3666,18 +3660,18 @@ K.next = function(e) {
3666
3660
  ++this.pos;
3667
3661
  var a = this.pos, o = this.readWord1();
3668
3662
  this.containsEsc && this.unexpected(a);
3669
- var s = this.regexpState ||= new W(this);
3663
+ var s = this.regexpState ||= new U(this);
3670
3664
  s.reset(n, i, o), this.validateRegExpFlags(s), this.validateRegExpPattern(s);
3671
3665
  var c = null;
3672
3666
  try {
3673
3667
  c = new RegExp(i, o);
3674
3668
  } catch {}
3675
- return this.finishToken(M.regexp, {
3669
+ return this.finishToken(j.regexp, {
3676
3670
  pattern: i,
3677
3671
  flags: o,
3678
3672
  value: c
3679
3673
  });
3680
- }, K.readInt = function(e, t, n) {
3674
+ }, G.readInt = function(e, t, n) {
3681
3675
  for (var r = this.options.ecmaVersion >= 12 && t === void 0, i = n && this.input.charCodeAt(this.pos) === 48, a = this.pos, o = 0, s = 0, c = 0, l = t ?? Infinity; c < l; ++c, ++this.pos) {
3682
3676
  var u = this.input.charCodeAt(this.pos), d = void 0;
3683
3677
  if (r && u === 95) {
@@ -3695,12 +3689,12 @@ function Wn(e, t) {
3695
3689
  function Gn(e) {
3696
3690
  return typeof BigInt == "function" ? BigInt(e.replace(/_/g, "")) : null;
3697
3691
  }
3698
- K.readRadixNumber = function(e) {
3692
+ G.readRadixNumber = function(e) {
3699
3693
  var t = this.pos;
3700
3694
  this.pos += 2;
3701
3695
  var n = this.readInt(e);
3702
- return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = Gn(this.input.slice(t, this.pos)), ++this.pos) : E(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(M.num, n);
3703
- }, K.readNumber = function(e) {
3696
+ return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = Gn(this.input.slice(t, this.pos)), ++this.pos) : T(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(j.num, n);
3697
+ }, G.readNumber = function(e) {
3704
3698
  var t = this.pos;
3705
3699
  !e && this.readInt(10, void 0, !0) === null && this.raise(t, "Invalid number");
3706
3700
  var n = this.pos - t >= 2 && this.input.charCodeAt(t) === 48;
@@ -3708,12 +3702,12 @@ K.readRadixNumber = function(e) {
3708
3702
  var r = this.input.charCodeAt(this.pos);
3709
3703
  if (!n && !e && this.options.ecmaVersion >= 11 && r === 110) {
3710
3704
  var i = Gn(this.input.slice(t, this.pos));
3711
- return ++this.pos, E(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(M.num, i);
3705
+ return ++this.pos, T(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(j.num, i);
3712
3706
  }
3713
- n && /[89]/.test(this.input.slice(t, this.pos)) && (n = !1), r === 46 && !n && (++this.pos, this.readInt(10), r = this.input.charCodeAt(this.pos)), (r === 69 || r === 101) && !n && (r = this.input.charCodeAt(++this.pos), (r === 43 || r === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), E(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3707
+ n && /[89]/.test(this.input.slice(t, this.pos)) && (n = !1), r === 46 && !n && (++this.pos, this.readInt(10), r = this.input.charCodeAt(this.pos)), (r === 69 || r === 101) && !n && (r = this.input.charCodeAt(++this.pos), (r === 43 || r === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), T(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3714
3708
  var a = Wn(this.input.slice(t, this.pos), n);
3715
- return this.finishToken(M.num, a);
3716
- }, K.readCodePoint = function() {
3709
+ return this.finishToken(j.num, a);
3710
+ }, G.readCodePoint = function() {
3717
3711
  var e = this.input.charCodeAt(this.pos), t;
3718
3712
  if (e === 123) {
3719
3713
  this.options.ecmaVersion < 6 && this.unexpected();
@@ -3721,17 +3715,17 @@ K.readRadixNumber = function(e) {
3721
3715
  t = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos), ++this.pos, t > 1114111 && this.invalidStringToken(n, "Code point out of bounds");
3722
3716
  } else t = this.readHexChar(4);
3723
3717
  return t;
3724
- }, K.readString = function(e) {
3718
+ }, G.readString = function(e) {
3725
3719
  for (var t = "", n = ++this.pos;;) {
3726
3720
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3727
3721
  var r = this.input.charCodeAt(this.pos);
3728
3722
  if (r === e) break;
3729
3723
  r === 92 ? (t += this.input.slice(n, this.pos), t += this.readEscapedChar(!1), n = this.pos) : r === 8232 || r === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (Qe(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3730
3724
  }
3731
- return t += this.input.slice(n, this.pos++), this.finishToken(M.string, t);
3725
+ return t += this.input.slice(n, this.pos++), this.finishToken(j.string, t);
3732
3726
  };
3733
3727
  var Kn = {};
3734
- K.tryReadTemplateToken = function() {
3728
+ G.tryReadTemplateToken = function() {
3735
3729
  this.inTemplateElement = !0;
3736
3730
  try {
3737
3731
  this.readTmplToken();
@@ -3740,14 +3734,14 @@ K.tryReadTemplateToken = function() {
3740
3734
  else throw e;
3741
3735
  }
3742
3736
  this.inTemplateElement = !1;
3743
- }, K.invalidStringToken = function(e, t) {
3737
+ }, G.invalidStringToken = function(e, t) {
3744
3738
  if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Kn;
3745
3739
  this.raise(e, t);
3746
- }, K.readTmplToken = function() {
3740
+ }, G.readTmplToken = function() {
3747
3741
  for (var e = "", t = this.pos;;) {
3748
3742
  this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
3749
3743
  var n = this.input.charCodeAt(this.pos);
3750
- if (n === 96 || n === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === M.template || this.type === M.invalidTemplate) ? n === 36 ? (this.pos += 2, this.finishToken(M.dollarBraceL)) : (++this.pos, this.finishToken(M.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(M.template, e));
3744
+ if (n === 96 || n === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === j.template || this.type === j.invalidTemplate) ? n === 36 ? (this.pos += 2, this.finishToken(j.dollarBraceL)) : (++this.pos, this.finishToken(j.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(j.template, e));
3751
3745
  if (n === 92) e += this.input.slice(t, this.pos), e += this.readEscapedChar(!0), t = this.pos;
3752
3746
  else if (Qe(n)) {
3753
3747
  switch (e += this.input.slice(t, this.pos), ++this.pos, n) {
@@ -3762,13 +3756,13 @@ K.tryReadTemplateToken = function() {
3762
3756
  this.options.locations && (++this.curLine, this.lineStart = this.pos), t = this.pos;
3763
3757
  } else ++this.pos;
3764
3758
  }
3765
- }, K.readInvalidTemplateToken = function() {
3759
+ }, G.readInvalidTemplateToken = function() {
3766
3760
  for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) {
3767
3761
  case "\\":
3768
3762
  ++this.pos;
3769
3763
  break;
3770
3764
  case "$": if (this.input[this.pos + 1] !== "{") break;
3771
- case "`": return this.finishToken(M.invalidTemplate, this.input.slice(this.start, this.pos));
3765
+ case "`": return this.finishToken(j.invalidTemplate, this.input.slice(this.start, this.pos));
3772
3766
  case "\r": this.input[this.pos + 1] === "\n" && ++this.pos;
3773
3767
  case "\n":
3774
3768
  case "\u2028":
@@ -3777,7 +3771,7 @@ K.tryReadTemplateToken = function() {
3777
3771
  break;
3778
3772
  }
3779
3773
  this.raise(this.start, "Unterminated template");
3780
- }, K.readEscapedChar = function(e) {
3774
+ }, G.readEscapedChar = function(e) {
3781
3775
  var t = this.input.charCodeAt(++this.pos);
3782
3776
  switch (++this.pos, t) {
3783
3777
  case 110: return "\n";
@@ -3802,10 +3796,10 @@ K.tryReadTemplateToken = function() {
3802
3796
  }
3803
3797
  return Qe(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3804
3798
  }
3805
- }, K.readHexChar = function(e) {
3799
+ }, G.readHexChar = function(e) {
3806
3800
  var t = this.pos, n = this.readInt(16, e);
3807
3801
  return n === null && this.invalidStringToken(t, "Bad character escape sequence"), n;
3808
- }, K.readWord1 = function() {
3802
+ }, G.readWord1 = function() {
3809
3803
  this.containsEsc = !1;
3810
3804
  for (var e = "", t = !0, n = this.pos, r = this.options.ecmaVersion >= 6; this.pos < this.input.length;) {
3811
3805
  var i = this.fullCharCodeAtPos();
@@ -3815,45 +3809,45 @@ K.tryReadTemplateToken = function() {
3815
3809
  var a = this.pos;
3816
3810
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3817
3811
  var o = this.readCodePoint();
3818
- (t ? E : Ye)(o, r) || this.invalidStringToken(a, "Invalid Unicode escape"), e += ct(o), n = this.pos;
3812
+ (t ? T : Ye)(o, r) || this.invalidStringToken(a, "Invalid Unicode escape"), e += ct(o), n = this.pos;
3819
3813
  } else break;
3820
3814
  t = !1;
3821
3815
  }
3822
3816
  return e + this.input.slice(n, this.pos);
3823
- }, K.readWord = function() {
3824
- var e = this.readWord1(), t = M.name;
3817
+ }, G.readWord = function() {
3818
+ var e = this.readWord1(), t = j.name;
3825
3819
  return this.keywords.test(e) && (t = Xe[e]), this.finishToken(t, e);
3826
3820
  };
3827
3821
  var qn = "8.17.0";
3828
- F.acorn = {
3829
- Parser: F,
3822
+ P.acorn = {
3823
+ Parser: P,
3830
3824
  version: qn,
3831
3825
  defaultOptions: pt,
3832
3826
  Position: ut,
3833
3827
  SourceLocation: dt,
3834
3828
  getLineInfo: ft,
3835
3829
  Node: $t,
3836
- TokenType: D,
3837
- tokTypes: M,
3830
+ TokenType: E,
3831
+ tokTypes: j,
3838
3832
  keywordTypes: Xe,
3839
- TokContext: B,
3840
- tokContexts: V,
3833
+ TokContext: z,
3834
+ tokContexts: B,
3841
3835
  isIdentifierChar: Ye,
3842
- isIdentifierStart: E,
3836
+ isIdentifierStart: T,
3843
3837
  Token: Un,
3844
3838
  isNewLine: Qe,
3845
- lineBreak: N,
3839
+ lineBreak: M,
3846
3840
  lineBreakG: Ze,
3847
3841
  nonASCIIwhitespace: et
3848
3842
  };
3849
3843
  function Jn(e, t) {
3850
- return F.parse(e, t);
3844
+ return P.parse(e, t);
3851
3845
  }
3852
3846
  function Yn(e, t, n) {
3853
- return F.parseExpressionAt(e, t, n);
3847
+ return P.parseExpressionAt(e, t, n);
3854
3848
  }
3855
3849
  function Xn(e, t) {
3856
- return F.tokenizer(e, t);
3850
+ return P.tokenizer(e, t);
3857
3851
  }
3858
3852
  //#endregion
3859
3853
  //#region node_modules/acorn-typescript/lib/index.mjs
@@ -3916,60 +3910,60 @@ function nr(e, t) {
3916
3910
  }
3917
3911
  throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3918
3912
  }
3919
- var q = !0;
3920
- function J(e, t) {
3921
- return t === void 0 && (t = {}), new D("name", t);
3913
+ var K = !0;
3914
+ function q(e, t) {
3915
+ return t === void 0 && (t = {}), new E("name", t);
3922
3916
  }
3923
3917
  var rr = /* @__PURE__ */ new WeakMap();
3924
3918
  function ir(e) {
3925
3919
  var t = rr.get(e.Parser.acorn || e);
3926
3920
  if (!t) {
3927
3921
  var n = {
3928
- assert: J(0, { startsExpr: q }),
3929
- asserts: J(0, { startsExpr: q }),
3930
- global: J(0, { startsExpr: q }),
3931
- keyof: J(0, { startsExpr: q }),
3932
- readonly: J(0, { startsExpr: q }),
3933
- unique: J(0, { startsExpr: q }),
3934
- abstract: J(0, { startsExpr: q }),
3935
- declare: J(0, { startsExpr: q }),
3936
- enum: J(0, { startsExpr: q }),
3937
- module: J(0, { startsExpr: q }),
3938
- namespace: J(0, { startsExpr: q }),
3939
- interface: J(0, { startsExpr: q }),
3940
- type: J(0, { startsExpr: q })
3922
+ assert: q(0, { startsExpr: K }),
3923
+ asserts: q(0, { startsExpr: K }),
3924
+ global: q(0, { startsExpr: K }),
3925
+ keyof: q(0, { startsExpr: K }),
3926
+ readonly: q(0, { startsExpr: K }),
3927
+ unique: q(0, { startsExpr: K }),
3928
+ abstract: q(0, { startsExpr: K }),
3929
+ declare: q(0, { startsExpr: K }),
3930
+ enum: q(0, { startsExpr: K }),
3931
+ module: q(0, { startsExpr: K }),
3932
+ namespace: q(0, { startsExpr: K }),
3933
+ interface: q(0, { startsExpr: K }),
3934
+ type: q(0, { startsExpr: K })
3941
3935
  }, r = {
3942
- at: new D("@"),
3943
- jsxName: new D("jsxName"),
3944
- jsxText: new D("jsxText", { beforeExpr: !0 }),
3945
- jsxTagStart: new D("jsxTagStart", { startsExpr: !0 }),
3946
- jsxTagEnd: new D("jsxTagEnd")
3936
+ at: new E("@"),
3937
+ jsxName: new E("jsxName"),
3938
+ jsxText: new E("jsxText", { beforeExpr: !0 }),
3939
+ jsxTagStart: new E("jsxTagStart", { startsExpr: !0 }),
3940
+ jsxTagEnd: new E("jsxTagEnd")
3947
3941
  }, i = {
3948
- tc_oTag: new B("<tag", !1, !1),
3949
- tc_cTag: new B("</tag", !1, !1),
3950
- tc_expr: new B("<tag>...</tag>", !0, !0)
3942
+ tc_oTag: new z("<tag", !1, !1),
3943
+ tc_cTag: new z("</tag", !1, !1),
3944
+ tc_expr: new z("<tag>...</tag>", !0, !0)
3951
3945
  }, a = RegExp("^(?:" + Object.keys(n).join("|") + ")$");
3952
3946
  r.jsxTagStart.updateContext = function() {
3953
3947
  this.context.push(i.tc_expr), this.context.push(i.tc_oTag), this.exprAllowed = !1;
3954
3948
  }, r.jsxTagEnd.updateContext = function(e) {
3955
3949
  var t = this.context.pop();
3956
- t === i.tc_oTag && e === M.slash || t === i.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === i.tc_expr) : this.exprAllowed = !0;
3950
+ t === i.tc_oTag && e === j.slash || t === i.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === i.tc_expr) : this.exprAllowed = !0;
3957
3951
  }, t = {
3958
3952
  tokTypes: Qn({}, n, r),
3959
3953
  tokContexts: Qn({}, i),
3960
3954
  keywordsRegExp: a,
3961
3955
  tokenIsLiteralPropertyName: function(e) {
3962
3956
  return [
3963
- M.name,
3964
- M.string,
3965
- M.num
3957
+ j.name,
3958
+ j.string,
3959
+ j.num
3966
3960
  ].concat(Object.values(Xe), Object.values(n)).includes(e);
3967
3961
  },
3968
3962
  tokenIsKeywordOrIdentifier: function(e) {
3969
- return [M.name].concat(Object.values(Xe), Object.values(n)).includes(e);
3963
+ return [j.name].concat(Object.values(Xe), Object.values(n)).includes(e);
3970
3964
  },
3971
3965
  tokenIsIdentifier: function(e) {
3972
- return [].concat(Object.values(n), [M.name]).includes(e);
3966
+ return [].concat(Object.values(n), [j.name]).includes(e);
3973
3967
  },
3974
3968
  tokenIsTSDeclarationStart: function(e) {
3975
3969
  return [
@@ -3990,7 +3984,7 @@ function ir(e) {
3990
3984
  ].includes(e);
3991
3985
  },
3992
3986
  tokenIsTemplate: function(e) {
3993
- return e === M.invalidTemplate;
3987
+ return e === j.invalidTemplate;
3994
3988
  }
3995
3989
  };
3996
3990
  }
@@ -4007,7 +4001,7 @@ function lr(e, t) {
4007
4001
  var n = e.key;
4008
4002
  return !e.computed && (n.type === "Identifier" && n.name === t || n.type === "Literal" && n.value === t);
4009
4003
  }
4010
- var Y = {
4004
+ var J = {
4011
4005
  AbstractMethodHasImplementation: function(e) {
4012
4006
  return "Method '" + e.methodName + "' cannot have an implementation because it is marked abstract.";
4013
4007
  },
@@ -4607,7 +4601,7 @@ function Sr(e) {
4607
4601
  }(i), {
4608
4602
  allowedModifiers: ["const"],
4609
4603
  disallowedModifiers: ["in", "out"],
4610
- errorTemplate: Y.InvalidModifierOnTypeParameterPositions
4604
+ errorTemplate: J.InvalidModifierOnTypeParameterPositions
4611
4605
  }), i;
4612
4606
  }
4613
4607
  $n(t, e);
@@ -4685,7 +4679,7 @@ function Sr(e) {
4685
4679
  }, b.tsCheckForInvalidTypeCasts = function(e) {
4686
4680
  var t = this;
4687
4681
  e.forEach(function(e) {
4688
- e?.type === "TSTypeCastExpression" && t.raise(e.typeAnnotation.start, Y.UnexpectedTypeAnnotation);
4682
+ e?.type === "TSTypeCastExpression" && t.raise(e.typeAnnotation.start, J.UnexpectedTypeAnnotation);
4689
4683
  });
4690
4684
  }, b.atPossibleAsyncArrow = function(e) {
4691
4685
  return e.type === "Identifier" && e.name === "async" && this.lastTokEndLoc.column === e.end && !this.canInsertSemicolon() && e.end - e.start == 5 && e.start === this.potentialArrowAt;
@@ -5003,7 +4997,7 @@ function Sr(e) {
5003
4997
  }, b.tsParseBindingListForSignature = function() {
5004
4998
  var t = this;
5005
4999
  return e.prototype.parseBindingList.call(this, o.parenR, !0, !0).map(function(e) {
5006
- return e.type !== "Identifier" && e.type !== "RestElement" && e.type !== "ObjectPattern" && e.type !== "ArrayPattern" && t.raise(e.start, Y.UnsupportedSignatureParameterKind(e.type)), e;
5000
+ return e.type !== "Identifier" && e.type !== "RestElement" && e.type !== "ObjectPattern" && e.type !== "ArrayPattern" && t.raise(e.start, J.UnsupportedSignatureParameterKind(e.type)), e;
5007
5001
  });
5008
5002
  }, b.tsParseTypePredicateAsserts = function() {
5009
5003
  if (this.type !== p.asserts) return !1;
@@ -5049,7 +5043,7 @@ function Sr(e) {
5049
5043
  if (this.lookahead().type !== o._const) return null;
5050
5044
  this.next();
5051
5045
  var e = this.tsParseTypeReference();
5052
- return e.typeParameters && this.raise(e.typeName.start, Y.CannotFindName({ name: "const" })), e;
5046
+ return e.typeParameters && this.raise(e.typeName.start, J.CannotFindName({ name: "const" })), e;
5053
5047
  }, b.tsParseFunctionOrConstructorType = function(e, t) {
5054
5048
  var n = this, r = this.startNode();
5055
5049
  return e === "TSConstructorType" && (r.abstract = !!t, t && this.next(), this.next()), this.tsInAllowConditionalTypesContext(function() {
@@ -5065,7 +5059,7 @@ function Sr(e) {
5065
5059
  switch (e.typeAnnotation.type) {
5066
5060
  case "TSTupleType":
5067
5061
  case "TSArrayType": return;
5068
- default: this.raise(e.start, Y.UnexpectedReadonly);
5062
+ default: this.raise(e.start, J.UnexpectedReadonly);
5069
5063
  }
5070
5064
  }, b.tsParseTypeOperator = function() {
5071
5065
  var e = this.startNode(), t = this.value;
@@ -5098,7 +5092,7 @@ function Sr(e) {
5098
5092
  }(), this.finishNode(t, "TSLiteralType");
5099
5093
  }, b.tsParseImportType = function() {
5100
5094
  var e = this.startNode();
5101
- return this.expect(o._import), this.expect(o.parenL), this.match(o.string) || this.raise(this.start, Y.UnsupportedImportTypeArgument), e.argument = this.parseExprAtom(), this.expect(o.parenR), this.eat(o.dot) && (e.qualifier = this.tsParseEntityName()), this.tsMatchLeftRelational() && (e.typeParameters = this.tsParseTypeArguments()), this.finishNode(e, "TSImportType");
5095
+ return this.expect(o._import), this.expect(o.parenL), this.match(o.string) || this.raise(this.start, J.UnsupportedImportTypeArgument), e.argument = this.parseExprAtom(), this.expect(o.parenR), this.eat(o.dot) && (e.qualifier = this.tsParseEntityName()), this.tsMatchLeftRelational() && (e.typeParameters = this.tsParseTypeArguments()), this.finishNode(e, "TSImportType");
5102
5096
  }, b.tsParseTypeQuery = function() {
5103
5097
  var e = this.startNode();
5104
5098
  return this.expect(o._typeof), e.exprName = this.match(o._import) ? this.tsParseImportType() : this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.tsMatchLeftRelational() && (e.typeParameters = this.tsParseTypeArguments()), this.finishNode(e, "TSTypeQuery");
@@ -5115,7 +5109,7 @@ function Sr(e) {
5115
5109
  var e = this.startLoc, t = this.start, n = this.eat(o.ellipsis), r = this.tsParseType(), i = this.eat(o.question);
5116
5110
  if (this.eat(o.colon)) {
5117
5111
  var a = this.startNodeAtNode(r);
5118
- a.optional = i, r.type !== "TSTypeReference" || r.typeParameters || r.typeName.type !== "Identifier" ? (this.raise(r.start, Y.InvalidTupleMemberLabel), a.label = r) : a.label = r.typeName, a.elementType = this.tsParseType(), r = this.finishNode(a, "TSNamedTupleMember");
5112
+ a.optional = i, r.type !== "TSTypeReference" || r.typeParameters || r.typeName.type !== "Identifier" ? (this.raise(r.start, J.InvalidTupleMemberLabel), a.label = r) : a.label = r.typeName, a.elementType = this.tsParseType(), r = this.finishNode(a, "TSNamedTupleMember");
5119
5113
  } else if (i) {
5120
5114
  var s = this.startNodeAtNode(r);
5121
5115
  s.typeAnnotation = r, r = this.finishNode(s, "TSOptionalType");
@@ -5131,11 +5125,11 @@ function Sr(e) {
5131
5125
  var n = !1, r = null;
5132
5126
  return t.elementTypes.forEach(function(t) {
5133
5127
  var i = t.type;
5134
- !n || i === "TSRestType" || i === "TSOptionalType" || i === "TSNamedTupleMember" && t.optional || e.raise(t.start, Y.OptionalTypeBeforeRequired), n ||= i === "TSNamedTupleMember" && t.optional || i === "TSOptionalType";
5128
+ !n || i === "TSRestType" || i === "TSOptionalType" || i === "TSNamedTupleMember" && t.optional || e.raise(t.start, J.OptionalTypeBeforeRequired), n ||= i === "TSNamedTupleMember" && t.optional || i === "TSOptionalType";
5135
5129
  var a = i;
5136
5130
  i === "TSRestType" && (a = (t = t.typeAnnotation).type);
5137
5131
  var o = a === "TSNamedTupleMember";
5138
- r ??= o, r !== o && e.raise(t.start, Y.MixedLabeledAndUnlabeledElements);
5132
+ r ??= o, r !== o && e.raise(t.start, J.MixedLabeledAndUnlabeledElements);
5139
5133
  }), this.finishNode(t, "TSTupleType");
5140
5134
  }, b.tsParseTemplateLiteralType = function() {
5141
5135
  var e = this.startNode();
@@ -5252,7 +5246,7 @@ function Sr(e) {
5252
5246
  modified: e,
5253
5247
  allowedModifiers: [],
5254
5248
  disallowedModifiers: ["in", "out"],
5255
- errorTemplate: Y.InvalidModifierOnTypeParameterPositions
5249
+ errorTemplate: J.InvalidModifierOnTypeParameterPositions
5256
5250
  });
5257
5251
  }, b.tsParseTypeParameter = function(e) {
5258
5252
  e === void 0 && (e = this.tsParseNoneModifiers.bind(this));
@@ -5262,7 +5256,7 @@ function Sr(e) {
5262
5256
  var t = this.startNode();
5263
5257
  this.tsMatchLeftRelational() || this.matchJsx("jsxTagStart") ? this.next() : this.unexpected();
5264
5258
  var n = { value: -1 };
5265
- return t.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, e), !1, !0, n), t.params.length === 0 && this.raise(this.start, Y.EmptyTypeParameters), n.value !== -1 && this.addExtra(t, "trailingComma", n.value), this.finishNode(t, "TSTypeParameterDeclaration");
5259
+ return t.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, e), !1, !0, n), t.params.length === 0 && this.raise(this.start, J.EmptyTypeParameters), n.value !== -1 && this.addExtra(t, "trailingComma", n.value), this.finishNode(t, "TSTypeParameterDeclaration");
5266
5260
  }, b.tsTryParseTypeParameters = function(e) {
5267
5261
  if (this.tsMatchLeftRelational()) return this.tsParseTypeParameters(e);
5268
5262
  }, b.tsTryParse = function(e) {
@@ -5286,14 +5280,14 @@ function Sr(e) {
5286
5280
  t[a] = n[a];
5287
5281
  }
5288
5282
  }, b.tsParseModifiers = function(e) {
5289
- for (var t = this, n = e.modified, r = e.allowedModifiers, i = e.disallowedModifiers, a = e.stopOnStartOfClassStaticBlock, o = e.errorTemplate, s = o === void 0 ? Y.InvalidModifierOnTypeMember : o, c = {}, l = function(e, r, i, a) {
5290
- r === i && n[a] && t.raise(e.column, Y.InvalidModifiersOrder({ orderedModifiers: [i, a] }));
5283
+ for (var t = this, n = e.modified, r = e.allowedModifiers, i = e.disallowedModifiers, a = e.stopOnStartOfClassStaticBlock, o = e.errorTemplate, s = o === void 0 ? J.InvalidModifierOnTypeMember : o, c = {}, l = function(e, r, i, a) {
5284
+ r === i && n[a] && t.raise(e.column, J.InvalidModifiersOrder({ orderedModifiers: [i, a] }));
5291
5285
  }, u = function(e, r, i, a) {
5292
- (n[i] && r === a || n[a] && r === i) && t.raise(e.column, Y.IncompatibleModifiers({ modifiers: [i, a] }));
5286
+ (n[i] && r === a || n[a] && r === i) && t.raise(e.column, J.IncompatibleModifiers({ modifiers: [i, a] }));
5293
5287
  };;) {
5294
5288
  var d = this.startLoc, f = this.tsParseModifier(r.concat(i ?? []), a);
5295
5289
  if (!f) break;
5296
- xr(f) ? n.accessibility ? this.raise(this.start, Y.DuplicateAccessibilityModifier()) : (l(d, f, f, "override"), l(d, f, f, "static"), l(d, f, f, "readonly"), l(d, f, f, "accessor"), c.accessibility = f, n.accessibility = f) : _r(f) ? n[f] ? this.raise(this.start, Y.DuplicateModifier({ modifier: f })) : (l(d, f, "in", "out"), c[f] = f, n[f] = !0) : gr(f) ? n[f] ? this.raise(this.start, Y.DuplicateModifier({ modifier: f })) : (u(d, f, "accessor", "readonly"), u(d, f, "accessor", "static"), u(d, f, "accessor", "override"), c[f] = f, n[f] = !0) : Object.hasOwnProperty.call(n, f) ? this.raise(this.start, Y.DuplicateModifier({ modifier: f })) : (l(d, f, "static", "readonly"), l(d, f, "static", "override"), l(d, f, "override", "readonly"), l(d, f, "abstract", "override"), u(d, f, "declare", "override"), u(d, f, "static", "abstract"), c[f] = f, n[f] = !0), i != null && i.includes(f) && this.raise(this.start, s);
5290
+ xr(f) ? n.accessibility ? this.raise(this.start, J.DuplicateAccessibilityModifier()) : (l(d, f, f, "override"), l(d, f, f, "static"), l(d, f, f, "readonly"), l(d, f, f, "accessor"), c.accessibility = f, n.accessibility = f) : _r(f) ? n[f] ? this.raise(this.start, J.DuplicateModifier({ modifier: f })) : (l(d, f, "in", "out"), c[f] = f, n[f] = !0) : gr(f) ? n[f] ? this.raise(this.start, J.DuplicateModifier({ modifier: f })) : (u(d, f, "accessor", "readonly"), u(d, f, "accessor", "static"), u(d, f, "accessor", "override"), c[f] = f, n[f] = !0) : Object.hasOwnProperty.call(n, f) ? this.raise(this.start, J.DuplicateModifier({ modifier: f })) : (l(d, f, "static", "readonly"), l(d, f, "static", "override"), l(d, f, "override", "readonly"), l(d, f, "abstract", "override"), u(d, f, "declare", "override"), u(d, f, "static", "abstract"), c[f] = f, n[f] = !0), i != null && i.includes(f) && this.raise(this.start, s);
5297
5291
  }
5298
5292
  return c;
5299
5293
  }, b.tsParseInOutModifiers = function(e) {
@@ -5309,7 +5303,7 @@ function Sr(e) {
5309
5303
  "abstract",
5310
5304
  "override"
5311
5305
  ],
5312
- errorTemplate: Y.InvalidModifierOnTypeParameter
5306
+ errorTemplate: J.InvalidModifierOnTypeParameter
5313
5307
  });
5314
5308
  }, b.tsParseTypeArguments = function() {
5315
5309
  var e = this, t = this.startNode();
@@ -5317,13 +5311,13 @@ function Sr(e) {
5317
5311
  return e.tsInNoContext(function() {
5318
5312
  return e.expect(o.relational), e.tsParseDelimitedList("TypeParametersOrArguments", e.tsParseType.bind(e));
5319
5313
  });
5320
- }), t.params.length === 0 && this.raise(this.start, Y.EmptyTypeArguments), this.exprAllowed = !1, this.expect(o.relational), this.finishNode(t, "TSTypeParameterInstantiation");
5314
+ }), t.params.length === 0 && this.raise(this.start, J.EmptyTypeArguments), this.exprAllowed = !1, this.expect(o.relational), this.finishNode(t, "TSTypeParameterInstantiation");
5321
5315
  }, b.tsParseHeritageClause = function(e) {
5322
5316
  var t = this, n = this.start, r = this.tsParseDelimitedList("HeritageClauseElement", function() {
5323
5317
  var e = t.startNode();
5324
5318
  return e.expression = t.tsParseEntityName(), t.tsMatchLeftRelational() && (e.typeParameters = t.tsParseTypeArguments()), t.finishNode(e, "TSExpressionWithTypeArguments");
5325
5319
  });
5326
- return r.length || this.raise(n, Y.EmptyHeritageClauseType({ token: e })), r;
5320
+ return r.length || this.raise(n, J.EmptyHeritageClauseType({ token: e })), r;
5327
5321
  }, b.tsParseTypeMemberSemicolon = function() {
5328
5322
  this.eat(o.comma) || this.isLineTerminator() || this.expect(o.semi);
5329
5323
  }, b.tsTryParseAndCatch = function(e) {
@@ -5337,18 +5331,18 @@ function Sr(e) {
5337
5331
  this.eat(o.question) && (e.optional = !0);
5338
5332
  var n = e;
5339
5333
  if (this.match(o.parenL) || this.tsMatchLeftRelational()) {
5340
- t && this.raise(e.start, Y.ReadonlyForMethodSignature);
5334
+ t && this.raise(e.start, J.ReadonlyForMethodSignature);
5341
5335
  var r = n;
5342
- r.kind && this.tsMatchLeftRelational() && this.raise(this.start, Y.AccesorCannotHaveTypeParameters), this.tsFillSignature(o.colon, r), this.tsParseTypeMemberSemicolon();
5336
+ r.kind && this.tsMatchLeftRelational() && this.raise(this.start, J.AccesorCannotHaveTypeParameters), this.tsFillSignature(o.colon, r), this.tsParseTypeMemberSemicolon();
5343
5337
  var i = "parameters", a = "typeAnnotation";
5344
- if (r.kind === "get") r[i].length > 0 && (this.raise(this.start, "A 'get' accesor must not have any formal parameters."), this.isThisParam(r[i][0]) && this.raise(this.start, Y.AccesorCannotDeclareThisParameter));
5338
+ if (r.kind === "get") r[i].length > 0 && (this.raise(this.start, "A 'get' accesor must not have any formal parameters."), this.isThisParam(r[i][0]) && this.raise(this.start, J.AccesorCannotDeclareThisParameter));
5345
5339
  else if (r.kind === "set") {
5346
5340
  if (r[i].length !== 1) this.raise(this.start, "A 'get' accesor must not have any formal parameters.");
5347
5341
  else {
5348
5342
  var s = r[i][0];
5349
- this.isThisParam(s) && this.raise(this.start, Y.AccesorCannotDeclareThisParameter), s.type === "Identifier" && s.optional && this.raise(this.start, Y.SetAccesorCannotHaveOptionalParameter), s.type === "RestElement" && this.raise(this.start, Y.SetAccesorCannotHaveRestParameter);
5343
+ this.isThisParam(s) && this.raise(this.start, J.AccesorCannotDeclareThisParameter), s.type === "Identifier" && s.optional && this.raise(this.start, J.SetAccesorCannotHaveOptionalParameter), s.type === "RestElement" && this.raise(this.start, J.SetAccesorCannotHaveRestParameter);
5350
5344
  }
5351
- r[a] && this.raise(r[a].start, Y.SetAccesorCannotHaveReturnType);
5345
+ r[a] && this.raise(r[a].start, J.SetAccesorCannotHaveReturnType);
5352
5346
  } else r.kind = "method";
5353
5347
  return this.finishNode(r, "TSMethodSignature");
5354
5348
  }
@@ -5385,7 +5379,7 @@ function Sr(e) {
5385
5379
  return this.expect(o.braceR), e;
5386
5380
  }, b.tsParseInterfaceDeclaration = function(e, t) {
5387
5381
  if (t === void 0 && (t = {}), this.hasFollowingLineBreak()) return null;
5388
- this.expectContextual("interface"), t.declare && (e.declare = !0), v(this.type) ? (e.id = this.parseIdent(), this.checkLValSimple(e.id, 7)) : (e.id = null, this.raise(this.start, Y.MissingInterfaceName)), e.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)), this.eat(o._extends) && (e.extends = this.tsParseHeritageClause("extends"));
5382
+ this.expectContextual("interface"), t.declare && (e.declare = !0), v(this.type) ? (e.id = this.parseIdent(), this.checkLValSimple(e.id, 7)) : (e.id = null, this.raise(this.start, J.MissingInterfaceName)), e.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)), this.eat(o._extends) && (e.extends = this.tsParseHeritageClause("extends"));
5389
5383
  var n = this.startNode();
5390
5384
  return n.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), e.body = this.finishNode(n, "TSInterfaceBody"), this.finishNode(e, "TSInterfaceDeclaration");
5391
5385
  }, b.tsParseAbstractDeclaration = function(e) {
@@ -5476,7 +5470,7 @@ function Sr(e) {
5476
5470
  }, b.tsParseImportEqualsDeclaration = function(t, n) {
5477
5471
  t.isExport = n || !1, t.id = this.parseIdent(), this.checkLValSimple(t.id, 2), e.prototype.expect.call(this, o.eq);
5478
5472
  var r = this.tsParseModuleReference();
5479
- return t.importKind === "type" && r.type !== "TSExternalModuleReference" && this.raise(r.start, Y.ImportAliasHasImportType), t.moduleReference = r, e.prototype.semicolon.call(this), this.finishNode(t, "TSImportEqualsDeclaration");
5473
+ return t.importKind === "type" && r.type !== "TSExternalModuleReference" && this.raise(r.start, J.ImportAliasHasImportType), t.moduleReference = r, e.prototype.semicolon.call(this), this.finishNode(t, "TSImportEqualsDeclaration");
5480
5474
  }, b.isExportDefaultSpecifier = function() {
5481
5475
  if (this.tsIsDeclarationStart()) return !1;
5482
5476
  var e = this.type;
@@ -5509,7 +5503,7 @@ function Sr(e) {
5509
5503
  }, b.parseFunctionBody = function(t, n, r, i, a) {
5510
5504
  n === void 0 && (n = !1), r === void 0 && (r = !1), i === void 0 && (i = !1), this.match(o.colon) && (t.returnType = this.tsParseTypeOrTypePredicateAnnotation(o.colon));
5511
5505
  var s = a != null && a.isFunctionDeclaration ? "TSDeclareFunction" : a != null && a.isClassMethod ? "TSDeclareMethod" : void 0;
5512
- return s && !this.match(o.braceL) && this.isLineTerminator() ? this.finishNode(t, s) : s === "TSDeclareFunction" && this.isAmbientContext && (this.raise(t.start, Y.DeclareFunctionHasImplementation), t.declare) ? (e.prototype.parseFunctionBody.call(this, t, n, r, !1), this.finishNode(t, s)) : (e.prototype.parseFunctionBody.call(this, t, n, r, i), t);
5506
+ return s && !this.match(o.braceL) && this.isLineTerminator() ? this.finishNode(t, s) : s === "TSDeclareFunction" && this.isAmbientContext && (this.raise(t.start, J.DeclareFunctionHasImplementation), t.declare) ? (e.prototype.parseFunctionBody.call(this, t, n, r, !1), this.finishNode(t, s)) : (e.prototype.parseFunctionBody.call(this, t, n, r, i), t);
5513
5507
  }, b.parseNew = function() {
5514
5508
  var e;
5515
5509
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
@@ -5550,7 +5544,7 @@ function Sr(e) {
5550
5544
  return this.importOrExportOuterKind = "value", r;
5551
5545
  }
5552
5546
  }
5553
- return this.next(), this.type === o.string ? (e.specifiers = [], e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.parseMaybeImportAttributes(e), this.semicolon(), this.finishNode(e, "ImportDeclaration"), this.importOrExportOuterKind = "value", e.importKind === "type" && e.specifiers.length > 1 && e.specifiers[0].type === "ImportDefaultSpecifier" && this.raise(e.start, Y.TypeImportCannotSpecifyDefaultAndNamed), e;
5547
+ return this.next(), this.type === o.string ? (e.specifiers = [], e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.parseMaybeImportAttributes(e), this.semicolon(), this.finishNode(e, "ImportDeclaration"), this.importOrExportOuterKind = "value", e.importKind === "type" && e.specifiers.length > 1 && e.specifiers[0].type === "ImportDefaultSpecifier" && this.raise(e.start, J.TypeImportCannotSpecifyDefaultAndNamed), e;
5554
5548
  }, b.parseExportDefaultDeclaration = function() {
5555
5549
  if (this.isAbstractClass()) {
5556
5550
  var t = this.startNode();
@@ -5603,7 +5597,7 @@ function Sr(e) {
5603
5597
  e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), e[t] = !0);
5604
5598
  }, b.parseMaybeDefault = function(t, n, r) {
5605
5599
  var i = e.prototype.parseMaybeDefault.call(this, t, n, r);
5606
- return i.type === "AssignmentPattern" && i.typeAnnotation && i.right.start < i.typeAnnotation.start && this.raise(i.typeAnnotation.start, Y.TypeAnnotationAfterAssign), i;
5600
+ return i.type === "AssignmentPattern" && i.typeAnnotation && i.right.start < i.typeAnnotation.start && this.raise(i.typeAnnotation.start, J.TypeAnnotationAfterAssign), i;
5607
5601
  }, b.typeCastToParameter = function(e) {
5608
5602
  return e.expression.typeAnnotation = e.typeAnnotation, this.resetEndLocation(e.expression, e.typeAnnotation.end), e.expression;
5609
5603
  }, b.toAssignableList = function(t, n) {
@@ -5654,7 +5648,7 @@ function Sr(e) {
5654
5648
  if (!i) return a;
5655
5649
  for (var o, s = nr(a.declarations); !(o = s()).done;) {
5656
5650
  var c = o.value, l = c.init;
5657
- l && (n !== "const" || c.id.typeAnnotation ? this.raise(l.start, Y.InitializerNotAllowedInAmbientContext) : l.type !== "StringLiteral" && l.type !== "BooleanLiteral" && l.type !== "NumericLiteral" && l.type !== "BigIntLiteral" && (l.type !== "TemplateLiteral" || l.expressions.length > 0) && !yr(l) && this.raise(l.start, Y.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5651
+ l && (n !== "const" || c.id.typeAnnotation ? this.raise(l.start, J.InitializerNotAllowedInAmbientContext) : l.type !== "StringLiteral" && l.type !== "BooleanLiteral" && l.type !== "NumericLiteral" && l.type !== "BigIntLiteral" && (l.type !== "TemplateLiteral" || l.expressions.length > 0) && !yr(l) && this.raise(l.start, J.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5658
5652
  }
5659
5653
  return a;
5660
5654
  }, b.parseStatement = function(t, n, r) {
@@ -5675,7 +5669,7 @@ function Sr(e) {
5675
5669
  "private"
5676
5670
  ]);
5677
5671
  }, b.parsePostMemberNameModifiers = function(e) {
5678
- this.eat(o.question) && (e.optional = !0), e.readonly && this.match(o.parenL) && this.raise(e.start, Y.ClassMethodHasReadonly), e.declare && this.match(o.parenL) && this.raise(e.start, Y.ClassMethodHasDeclare);
5672
+ this.eat(o.question) && (e.optional = !0), e.readonly && this.match(o.parenL) && this.raise(e.start, J.ClassMethodHasReadonly), e.declare && this.match(o.parenL) && this.raise(e.start, J.ClassMethodHasDeclare);
5679
5673
  }, b.parseExpressionStatement = function(t, n) {
5680
5674
  return (n.type === "Identifier" ? this.tsParseExpressionStatement(t, n) : void 0) || e.prototype.parseExpressionStatement.call(this, t, n);
5681
5675
  }, b.shouldParseExportStatement = function() {
@@ -5707,7 +5701,7 @@ function Sr(e) {
5707
5701
  return t.parseExportDeclaration(e);
5708
5702
  });
5709
5703
  var n = this.start, r = this.startLoc, i = this.eatContextual("declare");
5710
- !i || !this.ts_isContextual(p.declare) && this.shouldParseExportStatement() || this.raise(this.start, Y.ExpectedAmbientAfterExportDeclare);
5704
+ !i || !this.ts_isContextual(p.declare) && this.shouldParseExportStatement() || this.raise(this.start, J.ExpectedAmbientAfterExportDeclare);
5711
5705
  var a = v(this.type) && this.tsTryParseExportDeclaration() || this.parseStatement(null);
5712
5706
  return a ? ((a.type === "TSInterfaceDeclaration" || a.type === "TSTypeAliasDeclaration" || i) && (e.exportKind = "type"), i && (this.resetStartLocation(a, n, r), a.declare = !0), a) : null;
5713
5707
  }, b.parseClassId = function(t, n) {
@@ -5721,17 +5715,17 @@ function Sr(e) {
5721
5715
  var t = this.tsTryParseTypeAnnotation();
5722
5716
  t && (e.typeAnnotation = t);
5723
5717
  }, b.parseClassField = function(t) {
5724
- if (t.key.type === "PrivateIdentifier") t.abstract && this.raise(t.start, Y.PrivateElementHasAbstract), t.accessibility && this.raise(t.start, Y.PrivateElementHasAccessibility({ modifier: t.accessibility })), this.parseClassPropertyAnnotation(t);
5725
- else if (this.parseClassPropertyAnnotation(t), this.isAmbientContext && (!t.readonly || t.typeAnnotation) && this.match(o.eq) && this.raise(this.start, Y.DeclareClassFieldHasInitializer), t.abstract && this.match(o.eq)) {
5718
+ if (t.key.type === "PrivateIdentifier") t.abstract && this.raise(t.start, J.PrivateElementHasAbstract), t.accessibility && this.raise(t.start, J.PrivateElementHasAccessibility({ modifier: t.accessibility })), this.parseClassPropertyAnnotation(t);
5719
+ else if (this.parseClassPropertyAnnotation(t), this.isAmbientContext && (!t.readonly || t.typeAnnotation) && this.match(o.eq) && this.raise(this.start, J.DeclareClassFieldHasInitializer), t.abstract && this.match(o.eq)) {
5726
5720
  var n = t.key;
5727
- this.raise(this.start, Y.AbstractPropertyHasInitializer({ propertyName: n.type !== "Identifier" || t.computed ? "[" + this.input.slice(n.start, n.end) + "]" : n.name }));
5721
+ this.raise(this.start, J.AbstractPropertyHasInitializer({ propertyName: n.type !== "Identifier" || t.computed ? "[" + this.input.slice(n.start, n.end) + "]" : n.name }));
5728
5722
  }
5729
5723
  return e.prototype.parseClassField.call(this, t);
5730
5724
  }, b.parseClassMethod = function(e, t, n, r) {
5731
5725
  var i = e.kind === "constructor", a = e.key.type === "PrivateIdentifier", o = this.tsTryParseTypeParameters();
5732
- a ? (o && (e.typeParameters = o), e.accessibility && this.raise(e.start, Y.PrivateMethodsHasAccessibility({ modifier: e.accessibility }))) : o && i && this.raise(o.start, Y.ConstructorHasTypeParameters);
5726
+ a ? (o && (e.typeParameters = o), e.accessibility && this.raise(e.start, J.PrivateMethodsHasAccessibility({ modifier: e.accessibility }))) : o && i && this.raise(o.start, J.ConstructorHasTypeParameters);
5733
5727
  var s = e.declare, c = e.kind;
5734
- !(s !== void 0 && s) || c !== "get" && c !== "set" || this.raise(e.start, Y.DeclareAccessor({ kind: c })), o && (e.typeParameters = o);
5728
+ !(s !== void 0 && s) || c !== "get" && c !== "set" || this.raise(e.start, J.DeclareAccessor({ kind: c })), o && (e.typeParameters = o);
5735
5729
  var l = e.key;
5736
5730
  e.kind === "constructor" ? (t && this.raise(l.start, "Constructor can't be a generator"), n && this.raise(l.start, "Constructor can't be an async method")) : e.static && lr(e, "prototype") && this.raise(l.start, "Classes may not have a static property named prototype");
5737
5731
  var u = e.value = this.parseMethod(t, n, r, !0, e);
@@ -5757,13 +5751,13 @@ function Sr(e) {
5757
5751
  allowedModifiers: d,
5758
5752
  disallowedModifiers: ["in", "out"],
5759
5753
  stopOnStartOfClassStaticBlock: !0,
5760
- errorTemplate: Y.InvalidModifierOnTypeParameterPositions
5754
+ errorTemplate: J.InvalidModifierOnTypeParameterPositions
5761
5755
  }).static;
5762
5756
  var f = function() {
5763
5757
  if (!n.tsIsStartOfStaticBlocks()) {
5764
5758
  var f = n.tsTryParseIndexSignature(a);
5765
- if (f) return a.abstract && n.raise(a.start, Y.IndexSignatureHasAbstract), a.accessibility && n.raise(a.start, Y.IndexSignatureHasAccessibility({ modifier: a.accessibility })), a.declare && n.raise(a.start, Y.IndexSignatureHasDeclare), a.override && n.raise(a.start, Y.IndexSignatureHasOverride), f;
5766
- if (!n.inAbstractClass && a.abstract && n.raise(a.start, Y.NonAbstractClassHasAbstractMethod), a.override && t && n.raise(a.start, Y.OverrideNotInSubClass), a.static = r, r && (n.isClassElementNameStart() || n.type === o.star || (s = "static")), !s && i >= 8 && n.eatContextual("async") && (!n.isClassElementNameStart() && n.type !== o.star || n.canInsertSemicolon() ? s = "async" : l = !0), !s && (i >= 9 || !l) && n.eat(o.star) && (c = !0), !s && !l && !c) {
5759
+ if (f) return a.abstract && n.raise(a.start, J.IndexSignatureHasAbstract), a.accessibility && n.raise(a.start, J.IndexSignatureHasAccessibility({ modifier: a.accessibility })), a.declare && n.raise(a.start, J.IndexSignatureHasDeclare), a.override && n.raise(a.start, J.IndexSignatureHasOverride), f;
5760
+ if (!n.inAbstractClass && a.abstract && n.raise(a.start, J.NonAbstractClassHasAbstractMethod), a.override && t && n.raise(a.start, J.OverrideNotInSubClass), a.static = r, r && (n.isClassElementNameStart() || n.type === o.star || (s = "static")), !s && i >= 8 && n.eatContextual("async") && (!n.isClassElementNameStart() && n.type !== o.star || n.canInsertSemicolon() ? s = "async" : l = !0), !s && (i >= 9 || !l) && n.eat(o.star) && (c = !0), !s && !l && !c) {
5767
5761
  var p = n.value;
5768
5762
  (n.eatContextual("get") || n.eatContextual("set")) && (n.isClassElementNameStart() ? u = p : s = p);
5769
5763
  }
@@ -5773,7 +5767,7 @@ function Sr(e) {
5773
5767
  } else n.parseClassField(a);
5774
5768
  return a;
5775
5769
  }
5776
- if (n.next(), n.next(), n.tsHasSomeModifiers(a, d) && n.raise(n.start, Y.StaticBlockCannotHaveModifier), i >= 13) return e.prototype.parseClassStaticBlock.call(n, a), a;
5770
+ if (n.next(), n.next(), n.tsHasSomeModifiers(a, d) && n.raise(n.start, J.StaticBlockCannotHaveModifier), i >= 13) return e.prototype.parseClassStaticBlock.call(n, a), a;
5777
5771
  };
5778
5772
  return a.declare ? this.tsInAmbientContext(f) : f(), a;
5779
5773
  }, b.isClassElementNameStart = function() {
@@ -5847,20 +5841,20 @@ function Sr(e) {
5847
5841
  "override",
5848
5842
  "readonly"
5849
5843
  ]
5850
- }), n = s.accessibility, o = s.override, a = s.readonly, !1 === e && (n || a || o) && this.raise(i.start, Y.UnexpectedParameterModifier);
5844
+ }), n = s.accessibility, o = s.override, a = s.readonly, !1 === e && (n || a || o) && this.raise(i.start, J.UnexpectedParameterModifier);
5851
5845
  }
5852
5846
  var c = this.parseMaybeDefault(r, i);
5853
5847
  this.parseBindingListItem(c);
5854
5848
  var l = this.parseMaybeDefault(c.start, c.loc, c);
5855
5849
  if (t.length && (l.decorators = t), n || a || o) {
5856
5850
  var u = this.startNodeAt(r, i);
5857
- return n && (u.accessibility = n), a && (u.readonly = a), o && (u.override = o), l.type !== "Identifier" && l.type !== "AssignmentPattern" && this.raise(u.start, Y.UnsupportedParameterPropertyKind), u.parameter = l, this.finishNode(u, "TSParameterProperty");
5851
+ return n && (u.accessibility = n), a && (u.readonly = a), o && (u.override = o), l.type !== "Identifier" && l.type !== "AssignmentPattern" && this.raise(u.start, J.UnsupportedParameterPropertyKind), u.parameter = l, this.finishNode(u, "TSParameterProperty");
5858
5852
  }
5859
5853
  return l;
5860
5854
  }, b.checkLValInnerPattern = function(t, n, r) {
5861
5855
  n === void 0 && (n = 0), t.type === "TSParameterProperty" ? this.checkLValInnerPattern(t.parameter, n, r) : e.prototype.checkLValInnerPattern.call(this, t, n, r);
5862
5856
  }, b.parseBindingListItem = function(e) {
5863
- this.eat(o.question) && (e.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(e.start, Y.PatternIsOptional), e.optional = !0);
5857
+ this.eat(o.question) && (e.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(e.start, J.PatternIsOptional), e.optional = !0);
5864
5858
  var t = this.tsTryParseTypeAnnotation();
5865
5859
  return t && (e.typeAnnotation = t), this.resetEndLocation(e), e;
5866
5860
  }, b.isAssignable = function(e, t) {
@@ -5896,7 +5890,7 @@ function Sr(e) {
5896
5890
  case "TSAsExpression":
5897
5891
  case "TSSatisfiesExpression":
5898
5892
  case "TSNonNullExpression":
5899
- case "TSTypeAssertion": return n || this.raise(t.start, Y.UnexpectedTypeCastInParameter), this.toAssignable(t.expression, n, r);
5893
+ case "TSTypeAssertion": return n || this.raise(t.start, J.UnexpectedTypeCastInParameter), this.toAssignable(t.expression, n, r);
5900
5894
  case "MemberExpression": break;
5901
5895
  case "AssignmentExpression": return n || t.left.type !== "TSTypeCastExpression" || (t.left = this.typeCastToParameter(t.left)), e.prototype.toAssignable.call(this, t, n, r);
5902
5896
  case "TSTypeCastExpression": return this.typeCastToParameter(t);
@@ -6026,7 +6020,7 @@ function Sr(e) {
6026
6020
  return _.expression = e, _.typeParameters = a, c.finishNode(_, "TSInstantiationExpression");
6027
6021
  }
6028
6022
  });
6029
- if (f && this.unexpected(f), p) return p.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, Y.InvalidPropertyAccessAfterInstantiationExpression), e = p;
6023
+ if (f && this.unexpected(f), p) return p.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, J.InvalidPropertyAccessAfterInstantiationExpression), e = p;
6030
6024
  }
6031
6025
  var m = this.options.ecmaVersion >= 11, h = m && this.eat(o.questionDot);
6032
6026
  r && h && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
@@ -6096,7 +6090,7 @@ function Sr(e) {
6096
6090
  var a = this.startNode(), s = this.yieldPos, c = this.awaitPos, l = this.awaitIdentPos;
6097
6091
  if (this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = e), this.options.ecmaVersion >= 8 && (a.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | vr(t, a.generator) | (n ? 128 : 0)), this.expect(o.parenL), a.params = this.parseClassFunctionParams(), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1, { isClassMethod: r }), this.yieldPos = s, this.awaitPos = c, this.awaitIdentPos = l, i && i.abstract && a.body) {
6098
6092
  var u = i.key;
6099
- this.raise(i.start, Y.AbstractMethodHasImplementation({ methodName: u.type !== "Identifier" || i.computed ? "[" + this.input.slice(u.start, u.end) + "]" : u.name }));
6093
+ this.raise(i.start, J.AbstractMethodHasImplementation({ methodName: u.type !== "Identifier" || i.computed ? "[" + this.input.slice(u.start, u.end) + "]" : u.name }));
6100
6094
  }
6101
6095
  return this.finishNode(a, "FunctionExpression");
6102
6096
  }, t.parse = function(e, t) {
@@ -6133,7 +6127,7 @@ function Sr(e) {
6133
6127
  te(this.type) ? (c = !0, s = d, i = n ? this.parseIdent() : this.parseModuleExportName(), l = !1) : (i = f, l = !1);
6134
6128
  } else te(this.type) ? (l = !1, i = n ? this.parseIdent() : this.parseModuleExportName()) : (c = !0, s = d);
6135
6129
  } else te(this.type) && (c = !0, n ? (s = e.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(s)) : s = this.parseModuleExportName());
6136
- c && r && this.raise(u, n ? Y.TypeModifierIsUsedInTypeImports : Y.TypeModifierIsUsedInTypeExports), t[a] = s, t[o] = i, t[n ? "importKind" : "exportKind"] = c ? "type" : "value", l && this.eatContextual("as") && (t[o] = n ? this.parseIdent() : this.parseModuleExportName()), t[o] || (t[o] = this.copyNode(t[a])), n && this.checkLValSimple(t[o], 2);
6130
+ c && r && this.raise(u, n ? J.TypeModifierIsUsedInTypeImports : J.TypeModifierIsUsedInTypeExports), t[a] = s, t[o] = i, t[n ? "importKind" : "exportKind"] = c ? "type" : "value", l && this.eatContextual("as") && (t[o] = n ? this.parseIdent() : this.parseModuleExportName()), t[o] || (t[o] = this.copyNode(t[a])), n && this.checkLValSimple(t[o], 2);
6137
6131
  }, b.raiseCommonCheck = function(t, n, r) {
6138
6132
  return n === "Comma is not permitted after the rest element" ? this.isAmbientContext && this.match(o.comma) && this.lookaheadCharCode() === 41 ? void this.next() : e.prototype.raise.call(this, t, n) : r ? e.prototype.raiseRecoverable.call(this, t, n) : e.prototype.raise.call(this, t, n);
6139
6133
  }, b.raiseRecoverable = function(e, t) {
@@ -6305,13 +6299,13 @@ async function Tr(e) {
6305
6299
  async function Er(e, n) {
6306
6300
  return t.readdir(e, n);
6307
6301
  }
6308
- async function X(e, n, r = [], i) {
6302
+ async function Y(e, n, r = [], i) {
6309
6303
  let a = `${n} ${r.join(" ")}`;
6310
6304
  e !== void 0 && $(`${e} - exec(${a})`);
6311
6305
  let { stdout: o, stderr: s } = await wr(a);
6312
6306
  i === void 0 ? o.trim() && console.log(o.trim()) : await t.writeFile(i, o.trim(), "utf8"), s.trim() && console.error(s.trim());
6313
6307
  }
6314
- async function Z(e, t, n = [], r = !1, i = !1) {
6308
+ async function X(e, t, n = [], r = !1, i = !1) {
6315
6309
  return $(`${e} - spawn(${t} ${n.join(" ")})`), new Promise((e, o) => {
6316
6310
  a(t, n, {
6317
6311
  shell: i,
@@ -6321,7 +6315,7 @@ async function Z(e, t, n = [], r = !1, i = !1) {
6321
6315
  });
6322
6316
  });
6323
6317
  }
6324
- async function Q(e) {
6318
+ async function Z(e) {
6325
6319
  return JSON.parse(await t.readFile(e, "utf8"));
6326
6320
  }
6327
6321
  async function Dr(e) {
@@ -6340,31 +6334,31 @@ async function kr(e, n) {
6340
6334
  async function Ar(e, n) {
6341
6335
  await t.writeFile(e, n, "utf8");
6342
6336
  }
6343
- function jr(e) {
6337
+ function Q(e) {
6344
6338
  let t = "─".repeat(Math.max(e.length + 60, 60));
6345
6339
  console.info(`\n${t}`), console.info(`▶️ ${e}`), console.info(`${t}`);
6346
6340
  }
6347
- function Mr(e) {
6341
+ function jr(e) {
6348
6342
  console.info(`\n✅ ${e}\n`);
6349
6343
  }
6350
6344
  function $(e) {
6351
6345
  console.info(`\n${e}\n`);
6352
6346
  }
6353
- function Nr(e) {
6347
+ function Mr(e) {
6354
6348
  let t = Cr.find((t) => e.startsWith(t.idPrefix));
6355
6349
  if (!t) throw Error(`Failed to locate module type configuration for identifier '${e}'.`);
6356
6350
  return t;
6357
6351
  }
6358
- async function Pr(e) {
6352
+ async function Nr(e) {
6359
6353
  return await t.stat(e);
6360
6354
  }
6361
- function Fr(e) {
6362
- let t = F.extend(Sr()).parse(e, {
6355
+ function Pr(e) {
6356
+ let t = P.extend(Sr()).parse(e, {
6363
6357
  ecmaVersion: "latest",
6364
6358
  sourceType: "module",
6365
6359
  locations: !0
6366
6360
  }), n = [];
6367
- return Ir(t, (e) => {
6361
+ return Fr(t, (e) => {
6368
6362
  if (e.type !== "MethodDefinition") return;
6369
6363
  let t = e, r = t.key;
6370
6364
  if (r.type !== "Identifier") return;
@@ -6372,7 +6366,7 @@ function Fr(e) {
6372
6366
  i && i !== "constructor" && t.accessibility !== "private" && n.push(i);
6373
6367
  }), n;
6374
6368
  }
6375
- function Ir(e, t) {
6369
+ function Fr(e, t) {
6376
6370
  t(e);
6377
6371
  for (let [n, r] of Object.entries(e)) {
6378
6372
  if ([
@@ -6385,37 +6379,37 @@ function Ir(e, t) {
6385
6379
  let e = r;
6386
6380
  if (Array.isArray(e)) for (let n of e) {
6387
6381
  let e = n;
6388
- e && typeof e.type == "string" && Ir(e, t);
6382
+ e && typeof e.type == "string" && Fr(e, t);
6389
6383
  }
6390
- else e && typeof e == "object" && typeof e.type == "string" && Ir(e, t);
6384
+ else e && typeof e == "object" && typeof e.type == "string" && Fr(e, t);
6391
6385
  }
6392
6386
  }
6393
- function Lr(e, t, n, r) {
6387
+ function Ir(e, t, n, r) {
6394
6388
  let i = e.indexOf(n), a = e.indexOf(r);
6395
6389
  if (i === -1 || a === -1) throw Error(`Markers ${n}-${r} not found in content.`);
6396
6390
  return `${e.slice(0, Math.max(0, i + n.length))}\n${t}\n${e.slice(Math.max(0, a))}`;
6397
6391
  }
6398
6392
  //#endregion
6399
6393
  //#region src/utilities/cloudflare.ts
6400
- async function Rr() {
6401
- let e = await Q("config.json"), t = {
6394
+ async function Lr() {
6395
+ let e = await Z("config.json"), t = {
6402
6396
  body: JSON.stringify(e),
6403
6397
  headers: { "Content-Type": "application/json" },
6404
6398
  method: "PUT"
6405
6399
  }, n = await fetch(`https://api.dpuse.app/configs/${e.id}`, t);
6406
6400
  if (!n.ok) throw Error(await n.text());
6407
6401
  }
6408
- async function zr(e, t) {
6402
+ async function Rr(e, t) {
6409
6403
  async function n(e, t, r) {
6410
6404
  for (let i of r) {
6411
6405
  let r = `${e}/${i}`, a = `${t}/${i}`;
6412
- (await Pr(r)).isDirectory() ? await n(r, a, await Er(r)) : (console.info(`⚙️ Uploading '${e}/${i}'...`), await X(void 0, `wrangler r2 object put "dpuse-sample-data-eu/${t}/${i}" --file="${e}/${i}" --jurisdiction=eu --remote`));
6406
+ (await Nr(r)).isDirectory() ? await n(r, a, await Er(r)) : (console.info(`⚙️ Uploading '${e}/${i}'...`), await Y(void 0, `wrangler r2 object put "dpuse-sample-data-eu/${t}/${i}" --file="${e}/${i}" --jurisdiction=eu --remote`));
6413
6407
  }
6414
6408
  }
6415
6409
  let r = await Er(`${e}/${t}/`);
6416
6410
  await n(`${e}/${t}`, t, r);
6417
6411
  }
6418
- async function Br(e) {
6412
+ async function zr(e) {
6419
6413
  let t = e.id, n = {
6420
6414
  body: JSON.stringify(e),
6421
6415
  headers: { "Content-Type": "application/json" },
@@ -6423,26 +6417,26 @@ async function Br(e) {
6423
6417
  }, r = await fetch(`https://api.dpuse.app/configs/${t}`, n);
6424
6418
  if (!r.ok) throw Error(await r.text());
6425
6419
  }
6426
- async function Vr(e, t) {
6420
+ async function Br(e, t) {
6427
6421
  let n = `v${e.version ?? "unknown"}`;
6428
6422
  async function r(e, r = "") {
6429
6423
  let i = await Er(e, { withFileTypes: !0 });
6430
6424
  for (let a of i) {
6431
6425
  if (a.isDirectory()) continue;
6432
6426
  let i = `${e}/${a.name}`, o = r ? `${r}/${a.name}` : a.name, s = `${t}_${n}/${o}`.replaceAll("\\", "/"), c = a.name.endsWith(".css") ? "text/css" : "application/octet-stream", l = a.name.endsWith(".js") ? "application/javascript" : c;
6433
- console.info(`⚙️ Uploading '${o}' → '${s}'...`), await X(void 0, `wrangler r2 object put "${s}" --file="${i}" --content-type ${l} --jurisdiction=eu --remote`);
6427
+ console.info(`⚙️ Uploading '${o}' → '${s}'...`), await Y(void 0, `wrangler r2 object put "${s}" --file="${i}" --content-type ${l} --jurisdiction=eu --remote`);
6434
6428
  }
6435
6429
  }
6436
6430
  await r("dist");
6437
6431
  }
6438
6432
  //#endregion
6439
6433
  //#region src/operations/manageProject.ts
6440
- var Hr = new Set([
6434
+ var Vr = new Set([
6441
6435
  "createObject",
6442
6436
  "dropObject",
6443
6437
  "removeRecords",
6444
6438
  "upsertRecords"
6445
- ]), Ur = new Set([
6439
+ ]), Hr = new Set([
6446
6440
  "auditObjectContent",
6447
6441
  "findObjectFolderPath",
6448
6442
  "getReadableStream",
@@ -6452,51 +6446,51 @@ var Hr = new Set([
6452
6446
  "retrieveChunks",
6453
6447
  "retrieveRecords"
6454
6448
  ]);
6455
- async function Wr() {
6449
+ async function Ur() {
6456
6450
  try {
6457
- jr("Build Project"), await Z("1️⃣ Bundle project", "vite", ["build"]), Mr("Project built.");
6451
+ Q("Build Project"), await X("1️⃣ Bundle project", "vite", ["build"]), jr("Project built.");
6458
6452
  } catch (e) {
6459
6453
  console.error("❌ Error building project.", e), process.exit(1);
6460
6454
  }
6461
6455
  }
6462
- async function Gr() {
6456
+ async function Wr() {
6463
6457
  try {
6464
- jr("Release Project");
6465
- let e = await Q("package.json"), t = await Q("config.json");
6466
- await ei("1️⃣", e);
6467
- let n = Nr(t.id);
6458
+ Q("Release Project");
6459
+ let e = await Z("package.json"), t = await Z("config.json");
6460
+ await $r("1️⃣", e);
6461
+ let n = Mr(t.id);
6468
6462
  switch (n.typeId) {
6469
6463
  case "connector":
6470
- t = await qr("2️⃣", e);
6464
+ t = await Kr("2️⃣", e);
6471
6465
  break;
6472
6466
  case "context":
6473
- t = await Jr("2️⃣", e);
6467
+ t = await qr("2️⃣", e);
6474
6468
  break;
6475
6469
  case "presenter":
6476
- t = await Yr("2️⃣", e);
6470
+ t = await Jr("2️⃣", e);
6477
6471
  break;
6478
- default: t = await Kr("2️⃣", e);
6472
+ default: t = await Gr("2️⃣", e);
6479
6473
  }
6480
- if (await Z("3️⃣ Bundle project", "vite", ["build"]), await X("4️⃣ Stage changes", "git", ["add", "."]), await X("5️⃣ Commit changes", "git", [
6474
+ if (await X("3️⃣ Bundle project", "vite", ["build"]), await Y("4️⃣ Stage changes", "git", ["add", "."]), await Y("5️⃣ Commit changes", "git", [
6481
6475
  "commit",
6482
6476
  "-m",
6483
6477
  `"v${e.version ?? "unknown"}"`
6484
- ]), await X("6️⃣ Push changes", "git", [
6478
+ ]), await Y("6️⃣ Push changes", "git", [
6485
6479
  "push",
6486
6480
  "origin",
6487
6481
  "main:main"
6488
- ]), n.typeId === "app") $("7️⃣ Register module"), await Rr();
6489
- else if (n.typeId === "engine") $("7️⃣ Register module"), await Vr(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await Br(t);
6482
+ ]), n.typeId === "app") $("7️⃣ Register module"), await Lr();
6483
+ else if (n.typeId === "engine") $("7️⃣ Register module"), await Br(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await zr(t);
6490
6484
  else if (n.uploadGroupName === void 0) $("7️⃣ Registration NOT required.");
6491
6485
  else {
6492
6486
  $("7️⃣ Register module");
6493
6487
  let r = t.id.split("-").slice(2).join("-");
6494
- await Vr(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await Br(t);
6488
+ await Br(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await zr(t);
6495
6489
  }
6496
6490
  if (n.isPublished) {
6497
6491
  let e = ".npmrc";
6498
6492
  try {
6499
- await Ar(e, `registry=https://registry.npmjs.org/\n//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await Z("8️⃣ Publish to npm", "npm", [
6493
+ await Ar(e, `registry=https://registry.npmjs.org/\n//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await X("8️⃣ Publish to npm", "npm", [
6500
6494
  "publish",
6501
6495
  "--access",
6502
6496
  "public"
@@ -6505,80 +6499,80 @@ async function Gr() {
6505
6499
  await Or(e);
6506
6500
  }
6507
6501
  } else $(`8️⃣ Publishing NOT required for package with type identifier of '${n.typeId}'.`);
6508
- Mr(`Project version '${e.version ?? "unknown"}' released.`);
6502
+ jr(`Project version '${e.version ?? "unknown"}' released.`);
6509
6503
  } catch (e) {
6510
6504
  console.error("❌ Error releasing project.", e), process.exit(1);
6511
6505
  }
6512
6506
  }
6513
- async function Kr(e, t) {
6507
+ async function Gr(e, t) {
6514
6508
  $(`${e} Build project configuration`);
6515
- let n = await Q("config.json");
6509
+ let n = await Z("config.json");
6516
6510
  return t.name != null && (n.id = t.name.replace("@dpuse/", "").replace("@dpuse/", "")), t.version != null && (n.version = t.version), await kr("config.json", n), n;
6517
6511
  }
6518
- async function qr(e, t) {
6512
+ async function Kr(e, t) {
6519
6513
  $(`${e} Build connector project configuration`);
6520
- let [n, r] = await Promise.all([Q("config.json"), Dr("src/index.ts")]), i = /* @__PURE__ */ p(je, n);
6514
+ let [n, r] = await Promise.all([Z("config.json"), Dr("src/index.ts")]), i = /* @__PURE__ */ p(je, n);
6521
6515
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6522
- let a = Fr(r);
6523
- return await Zr(t, n, a, Xr(a));
6516
+ let a = Pr(r);
6517
+ return await Xr(t, n, a, Yr(a));
6524
6518
  }
6525
- async function Jr(e, t) {
6519
+ async function qr(e, t) {
6526
6520
  $(`${e} Build context project configuration`);
6527
- let [n, r] = await Promise.all([Q("config.json"), Dr("src/index.ts")]), i = /* @__PURE__ */ p(Pe, n);
6521
+ let [n, r] = await Promise.all([Z("config.json"), Dr("src/index.ts")]), i = /* @__PURE__ */ p(Pe, n);
6528
6522
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6529
- return await Zr(t, n, Fr(r));
6523
+ return await Xr(t, n, Pr(r));
6530
6524
  }
6531
- async function Yr(e, t) {
6525
+ async function Jr(e, t) {
6532
6526
  $(`${e} Build presenter project configuration`);
6533
- let [n, r] = await Promise.all([Q("config.json"), Dr("src/index.ts")]), i = /* @__PURE__ */ p(Ie, n);
6527
+ let [n, r] = await Promise.all([Z("config.json"), Dr("src/index.ts")]), i = /* @__PURE__ */ p(Ie, n);
6534
6528
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6535
- return await Zr(t, n, Fr(r));
6529
+ return await Xr(t, n, Pr(r));
6536
6530
  }
6537
- function Xr(e) {
6531
+ function Yr(e) {
6538
6532
  let t = !1, n = !1;
6539
- for (let r of e) Ur.has(r) && (t = !0), Hr.has(r) && (n = !0);
6533
+ for (let r of e) Hr.has(r) && (t = !0), Vr.has(r) && (n = !0);
6540
6534
  return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "unknown";
6541
6535
  }
6542
- async function Zr(e, t, n, r) {
6536
+ async function Xr(e, t, n, r) {
6543
6537
  return n.length > 0 ? (console.info(`ℹ️ Implements ${String(n.length)} operations:`), console.table(n)) : console.warn("⚠️ Implements no operations."), r === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${r ?? "unknown"}' usage.`), e.name != null && (t.id = e.name.replace("@dpuse/", "").replace("@dpuse/", "")), e.version != null && (t.version = e.version), t.operations = n, t.usageId = r ?? "unknown", await kr("config.json", t), t;
6544
6538
  }
6545
- async function Qr() {
6539
+ async function Zr() {
6546
6540
  try {
6547
- jr("Synchronise Project with GitHub");
6548
- let e = await Q("package.json"), t = await Q("config.json");
6549
- switch (await ei("1️⃣", e), Nr(t.id).typeId) {
6541
+ Q("Synchronise Project with GitHub");
6542
+ let e = await Z("package.json"), t = await Z("config.json");
6543
+ switch (await $r("1️⃣", e), Mr(t.id).typeId) {
6550
6544
  case "connector":
6551
- await qr("2️⃣", e);
6545
+ await Kr("2️⃣", e);
6552
6546
  break;
6553
6547
  case "context":
6554
- await Jr("2️⃣", e);
6548
+ await qr("2️⃣", e);
6555
6549
  break;
6556
6550
  case "presenter":
6557
- await Yr("2️⃣", e);
6551
+ await Jr("2️⃣", e);
6558
6552
  break;
6559
- default: await Kr("2️⃣", e);
6553
+ default: await Gr("2️⃣", e);
6560
6554
  }
6561
- await X("3️⃣ Stage changes", "git", ["add", "."]), await X("4️⃣ Commit changes", "git", [
6555
+ await Y("3️⃣ Stage changes", "git", ["add", "."]), await Y("4️⃣ Commit changes", "git", [
6562
6556
  "commit",
6563
6557
  "-m",
6564
6558
  `"v${e.version ?? "unknown"}"`
6565
- ]), await X("5️⃣ Push changes", "git", [
6559
+ ]), await Y("5️⃣ Push changes", "git", [
6566
6560
  "push",
6567
6561
  "origin",
6568
6562
  "main:main"
6569
- ]), Mr(`Project version '${e.version ?? "unknown"}' synchronised with GitHub.`);
6563
+ ]), jr(`Project version '${e.version ?? "unknown"}' synchronised with GitHub.`);
6570
6564
  } catch (e) {
6571
6565
  console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
6572
6566
  }
6573
6567
  }
6574
- function $r() {
6568
+ function Qr() {
6575
6569
  try {
6576
- jr("Test Project"), console.error("\n❌ No tests implemented.\n");
6570
+ Q("Test Project"), console.error("\n❌ No tests implemented.\n");
6577
6571
  } catch (e) {
6578
6572
  console.error("❌ Error testing project.", e), process.exit(1);
6579
6573
  }
6580
6574
  }
6581
- async function ei(e, t, n = "./") {
6575
+ async function $r(e, t, n = "./") {
6582
6576
  if ($(`${e} Bump project version`), t.version == null) t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`), await kr(`${n}package.json`, t);
6583
6577
  else {
6584
6578
  let e = t.version, r = t.version.split(".");
@@ -6587,7 +6581,7 @@ async function ei(e, t, n = "./") {
6587
6581
  }
6588
6582
  //#endregion
6589
6583
  //#region src/operations/auditDependencies.ts
6590
- var ti = {
6584
+ var ei = {
6591
6585
  critical: {
6592
6586
  color: "D32F2F",
6593
6587
  label: "critical"
@@ -6608,16 +6602,16 @@ var ti = {
6608
6602
  color: "616161",
6609
6603
  label: "unknown"
6610
6604
  }
6611
- }, ni = "<!-- OWASP_BADGES_START -->", ri = "<!-- OWASP_BADGES_END -->";
6612
- async function ii() {
6605
+ }, ti = "<!-- OWASP_BADGES_START -->", ni = "<!-- OWASP_BADGES_END -->";
6606
+ async function ri() {
6613
6607
  try {
6614
- jr("Audit Dependencies");
6615
- let e = await Q("package.json"), t = [];
6608
+ Q("Audit Dependencies");
6609
+ let e = await Z("package.json"), t = [];
6616
6610
  try {
6617
6611
  let e = (await Er("dependency-check-bin")).toSorted((e, t) => e.localeCompare(t)).at(-1);
6618
6612
  e != null && e !== "" && t.push("--owasp-bin", `dependency-check-bin/${e}/dependency-check/bin/dependency-check.sh`);
6619
6613
  } catch {}
6620
- await Z("1️⃣", "owasp-dependency-check", [
6614
+ await X("1️⃣", "owasp-dependency-check", [
6621
6615
  ...t,
6622
6616
  "--out",
6623
6617
  "dependency-check-reports",
@@ -6630,15 +6624,16 @@ async function ii() {
6630
6624
  "--ossIndexUsername",
6631
6625
  process.env.SONATYPE_USER_EMAIL ?? "",
6632
6626
  "--ossIndexPassword",
6633
- process.env.SONATYPE_USER_TOKEN ?? ""
6634
- ]), await ai("2️⃣"), await Z("3️⃣ Check using 'npm audit'", "npm", ["audit"]), Mr("Dependencies audited.");
6627
+ process.env.SONATYPE_USER_TOKEN ?? "",
6628
+ "--noupdate"
6629
+ ]), await ii("2️⃣"), await X("3️⃣ Check using 'npm audit'", "npm", ["audit"]), jr("Dependencies audited.");
6635
6630
  } catch (e) {
6636
6631
  console.error("❌ Error auditing dependencies.", e), process.exit(1);
6637
6632
  }
6638
6633
  }
6639
- async function ai(e) {
6634
+ async function ii(e) {
6640
6635
  $(`${e} Insert OWASP Badge(s) into 'README.md'`);
6641
- let t = await Q("dependency-check-reports/dependency-check-report.json"), n = {
6636
+ let t = await Z("dependency-check-reports/dependency-check-report.json"), n = {
6642
6637
  critical: 0,
6643
6638
  high: 0,
6644
6639
  moderate: 0,
@@ -6649,14 +6644,14 @@ async function ai(e) {
6649
6644
  let e = t.severity?.toLowerCase() ?? "unknown";
6650
6645
  Object.hasOwn(n, e) ? n[e]++ : n.unknown++;
6651
6646
  }
6652
- let r = await oi(n);
6653
- await Ar("README.md", Lr(await Dr("./README.md"), r.join(" "), ni, ri)), console.info("OWASP audit badge(s) inserted into 'README.md'");
6647
+ let r = await ai(n);
6648
+ await Ar("README.md", Ir(await Dr("./README.md"), r.join(" "), ti, ni)), console.info("OWASP audit badge(s) inserted into 'README.md'");
6654
6649
  }
6655
- async function oi(e) {
6656
- let t = await Q("config.json"), n = [];
6650
+ async function ai(e) {
6651
+ let t = await Z("config.json"), n = [];
6657
6652
  if (Object.values(e).reduce((e, t) => e + t, 0) === 0) console.info("No vulnerabilities found."), n.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://dpuse.github.io/${t.id}/dependency-check-reports/dependency-check-report.html)`);
6658
6653
  else for (let [r, i] of Object.entries(e)) {
6659
- let e = ti[r];
6654
+ let e = ei[r];
6660
6655
  if (console.warn(`⚠️ ${String(i)} ${e.label} vulnerability(ies) found.`), i === 0) continue;
6661
6656
  let a = `https://img.shields.io/badge/OWASP-${String(i)}%20${e.label}-${e.color}`;
6662
6657
  n.push(`[![OWASP](${a})](https://dpuse.github.io/${t.id}/dependency-check-reports/dependency-check-report.html)`);
@@ -6665,35 +6660,35 @@ async function oi(e) {
6665
6660
  }
6666
6661
  //#endregion
6667
6662
  //#region src/operations/checkDependencies.ts
6668
- async function si() {
6663
+ async function oi() {
6669
6664
  try {
6670
- jr("Check Dependencies"), await Z("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await Z("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", [
6665
+ Q("Check Dependencies"), await X("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await X("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", [
6671
6666
  "-i",
6672
6667
  "--dep",
6673
6668
  "dev,prod,peer,optional"
6674
- ]), Mr("Dependencies checked.");
6669
+ ]), jr("Dependencies checked.");
6675
6670
  } catch (e) {
6676
6671
  console.error("❌ Error checking dependencies.", e), process.exit(1);
6677
6672
  }
6678
6673
  }
6679
6674
  //#endregion
6680
6675
  //#region src/operations/documentDependencies.ts
6681
- var ci = "<!-- DEPENDENCY_LICENSES_START -->", li = "<!-- DEPENDENCY_LICENSES_END -->";
6682
- async function ui(e = [], t = !0) {
6676
+ var si = "<!-- DEPENDENCY_LICENSES_START -->", ci = "<!-- DEPENDENCY_LICENSES_END -->";
6677
+ async function li(e = [], t = !0) {
6683
6678
  try {
6684
- jr("Document Dependencies");
6679
+ Q("Document Dependencies");
6685
6680
  let n = e.flatMap((e) => ["--allowed", `'${e}'`]);
6686
- await X("1️⃣ Generate 'licenses.json' file", "license-report", [
6681
+ await Y("1️⃣ Generate 'licenses.json' file", "license-report", [
6687
6682
  "--config",
6688
6683
  `'${s(new o(import.meta.resolve("@dpuse/dpuse-development/license-report-config")))}'`,
6689
6684
  "--only=prod,peer",
6690
6685
  "--output=json"
6691
- ], "licenses/licenses.json"), await X("2️⃣ Check 'licenses.json' file", "license-report-check", [
6686
+ ], "licenses/licenses.json"), await Y("2️⃣ Check 'licenses.json' file", "license-report-check", [
6692
6687
  "--source",
6693
6688
  "licenses/licenses.json",
6694
6689
  "--output=table",
6695
6690
  ...n
6696
- ]), t ? (await X("3️⃣ Generate 'licenseTree.json' file", "license-report-recursive", [
6691
+ ]), t ? (await Y("3️⃣ Generate 'licenseTree.json' file", "license-report-recursive", [
6697
6692
  "--only=prod,peer",
6698
6693
  "--output=tree",
6699
6694
  "--recurse",
@@ -6701,7 +6696,7 @@ async function ui(e = [], t = !0) {
6701
6696
  "--licensePeriod.value=n/a",
6702
6697
  "--material.value=n/a",
6703
6698
  "--relatedTo.value=n/a"
6704
- ], "licenses/licenseTree.json"), await X("4️⃣ Check 'licenseTree.json' file", "license-report-check", [
6699
+ ], "licenses/licenseTree.json"), await Y("4️⃣ Check 'licenseTree.json' file", "license-report-check", [
6705
6700
  "--source",
6706
6701
  "licenses/licenseTree.json",
6707
6702
  "--output=table",
@@ -6709,7 +6704,7 @@ async function ui(e = [], t = !0) {
6709
6704
  ])) : ($("3️⃣ Skip 'licenses/licenseTree.json' file generate"), $("4️⃣ Skip 'licenses/licenseTree.json' file check"));
6710
6705
  let r = process.env.GITHUB_TOKEN;
6711
6706
  if (r == null || r === "" || r.startsWith("op://")) throw Error("GITHUB_TOKEN is not resolved. Run the script via \"npm run document\" to use 1Password resolution.");
6712
- await Tr("licenses/downloads"), await X("5️⃣ Download license files", "license-downloader", [
6707
+ await Tr("licenses/downloads"), await Y("5️⃣ Download license files", "license-downloader", [
6713
6708
  "--source",
6714
6709
  "licenses/licenses.json",
6715
6710
  "--licDir",
@@ -6717,14 +6712,14 @@ async function ui(e = [], t = !0) {
6717
6712
  "--githubToken.tokenEnvVar",
6718
6713
  "GITHUB_TOKEN",
6719
6714
  "--download"
6720
- ]), await di("6️⃣", t), Mr("Dependencies documented.");
6715
+ ]), await ui("6️⃣", t), jr("Dependencies documented.");
6721
6716
  } catch (e) {
6722
6717
  console.error("❌ Error documenting dependencies.", e), process.exit(1);
6723
6718
  }
6724
6719
  }
6725
- async function di(e, t) {
6720
+ async function ui(e, t) {
6726
6721
  $(`${e} Insert licenses into 'README.md'`);
6727
- let n = await Q("licenses/licenses.json"), r = await Q("licenses/downloads/licenses.ext.json"), i = t ? await Q("licenses/licenseTree.json") : [], a = [...(() => {
6722
+ let n = await Z("licenses/licenses.json"), r = await Z("licenses/downloads/licenses.ext.json"), i = t ? await Z("licenses/licenseTree.json") : [], a = [...(() => {
6728
6723
  let e = /* @__PURE__ */ new Map();
6729
6724
  for (let t of n) e.set(t.name, { ...t });
6730
6725
  for (let t of r) {
@@ -6744,13 +6739,13 @@ async function di(e, t) {
6744
6739
  return e.values();
6745
6740
  })()], o = "|Name|Type|Installed|Latest|Latest Released|Deps|Document|\n|:-|:-|:-:|:-:|:-|-:|:-|\n";
6746
6741
  for (let e of a) {
6747
- let t = e.installedVersion === e.remoteVersion ? e.installedVersion : `${e.installedVersion} ⚠️`, n = e.latestRemoteModified ? fi(e.latestRemoteModified.split("T", 1)[0]) : "n/a", r = e.dependencyCount != null && e.dependencyCount >= 0 ? e.dependencyCount : "n/a", i;
6742
+ let t = e.installedVersion === e.remoteVersion ? e.installedVersion : `${e.installedVersion} ⚠️`, n = e.latestRemoteModified ? di(e.latestRemoteModified.split("T", 1)[0]) : "n/a", r = e.dependencyCount != null && e.dependencyCount >= 0 ? e.dependencyCount : "n/a", i;
6748
6743
  i = e.licenseFileLink == null || e.licenseFileLink == "" ? "⚠️ No license file" : `[${e.licenseFileLink.slice(Math.max(0, e.licenseFileLink.lastIndexOf("/") + 1))}](${e.licenseFileLink})`, o += `|${e.name}|${e.licenseType}|${t}|${e.remoteVersion}|${n}|${String(r)}|${i}|\n`;
6749
6744
  }
6750
- let s = Lr(await Dr("./README.md"), o, ci, li);
6745
+ let s = Ir(await Dr("./README.md"), o, si, ci);
6751
6746
  await Ar("README.md", s), console.info("OWASP audit badge(s) inserted into 'README.md'"), await Ar("README.md", s);
6752
6747
  }
6753
- function fi(e) {
6748
+ function di(e) {
6754
6749
  if (e == null || e === "") return "n/a";
6755
6750
  let t = e.split("T", 1)[0];
6756
6751
  if (t == null || t === "") return "n/a";
@@ -6759,31 +6754,31 @@ function fi(e) {
6759
6754
  }
6760
6755
  //#endregion
6761
6756
  //#region src/operations/formatCode.ts
6762
- async function pi() {
6757
+ async function fi() {
6763
6758
  try {
6764
- jr("Format Code"), await Z("1️⃣ Format", "prettier", [
6759
+ Q("Format Code"), await X("1️⃣ Format", "prettier", [
6765
6760
  "--write",
6766
6761
  "*.json",
6767
6762
  "*.md",
6768
6763
  "*.ts",
6769
6764
  ...["app", "src"].filter((t) => e(t)).map((e) => `${e}/**`)
6770
- ]), Mr("Code formatted.");
6765
+ ]), jr("Code formatted.");
6771
6766
  } catch (e) {
6772
6767
  console.error("❌ Error formatting code.", e), process.exit(1);
6773
6768
  }
6774
6769
  }
6775
6770
  //#endregion
6776
6771
  //#region src/operations/lintCode.ts
6777
- async function mi() {
6772
+ async function pi() {
6778
6773
  try {
6779
- jr("Lint Code"), await Z("1️⃣ Lint", "eslint", ["."]), Mr("Code linted.");
6774
+ Q("Lint Code"), await X("1️⃣ Lint", "eslint", ["."]), jr("Code linted.");
6780
6775
  } catch (e) {
6781
6776
  console.error("❌ Error linting code.", e), process.exit(1);
6782
6777
  }
6783
6778
  }
6784
6779
  //#endregion
6785
6780
  //#region src/operations/updateDPUseDependencies.ts
6786
- var hi = [
6781
+ var mi = [
6787
6782
  "1️⃣",
6788
6783
  "2️⃣",
6789
6784
  "3️⃣",
@@ -6794,23 +6789,23 @@ var hi = [
6794
6789
  "8️⃣",
6795
6790
  "9️⃣"
6796
6791
  ];
6797
- async function gi(e = []) {
6792
+ async function hi(e = []) {
6798
6793
  try {
6799
- jr("Update '@dpuse/dpuse' Dependencies");
6794
+ Q("Update '@dpuse/dpuse' Dependencies");
6800
6795
  for (let [t, n] of e.entries()) {
6801
- let e = hi.at(t) ?? "🔢";
6802
- n === "eslint" ? await Z(`${e} Update '${n}'`, "npm", ["install", "@dpuse/eslint-config-dpuse@latest"]) : (await Z(`${e} Update '${n}'`, "npm", ["install", `@dpuse/dpuse-${n}@latest`]), n === "development" && await _i(Nr((await Q("config.json")).id)));
6796
+ let e = mi.at(t) ?? "🔢";
6797
+ n === "eslint" ? await X(`${e} Update '${n}'`, "npm", ["install", "@dpuse/eslint-config-dpuse@latest"]) : (await X(`${e} Update '${n}'`, "npm", ["install", `@dpuse/dpuse-${n}@latest`]), n === "development" && await gi(Mr((await Z("config.json")).id)));
6803
6798
  }
6804
- Mr("'@dpuse/dpuse' dependencies updated.");
6799
+ jr("'@dpuse/dpuse' dependencies updated.");
6805
6800
  } catch (e) {
6806
6801
  console.error("❌ Error updating '@dpuse/dpuse' dependencies.", e), process.exit(1);
6807
6802
  }
6808
6803
  }
6809
- async function _i(e) {
6804
+ async function gi(e) {
6810
6805
  let t = n.dirname(s(import.meta.url));
6811
- await vi(t, "../", ".editorconfig"), await vi(t, "../", ".gitattributes"), await vi(t, "../", e.isPublished ? ".gitignore_published" : ".gitignore_unpublished", ".gitignore2"), await vi(t, "../", ".markdownlint.json"), await vi(t, "../", "LICENSE"), await vi(t, "../", "tsconfig.json", "tsconfig2.json"), e.typeId === "eslint" || (await vi(t, "../", "eslint.config.ts", "eslint.config2.ts"), await vi(t, "../", "vite.config.ts", "vite.config2.ts"), await vi(t, "../", "vitest.config.ts", "vitest.config2.ts"));
6806
+ await _i(t, "../", ".editorconfig"), await _i(t, "../", ".gitattributes"), await _i(t, "../", e.isPublished ? ".gitignore_published" : ".gitignore_unpublished", ".gitignore2"), await _i(t, "../", ".markdownlint.json"), await _i(t, "../", "LICENSE"), await _i(t, "../", "tsconfig.json", "tsconfig2.json"), e.typeId === "eslint" || (await _i(t, "../", "eslint.config.ts", "eslint.config2.ts"), await _i(t, "../", "vite.config.ts", "vite.config2.ts"), await _i(t, "../", "vitest.config.ts", "vitest.config2.ts"));
6812
6807
  }
6813
- async function vi(e, t, r, i) {
6808
+ async function _i(e, t, r, i) {
6814
6809
  let a = await Dr(n.resolve(e, `${t}${r}`)), o = n.resolve(process.cwd(), r.split("_", 1)[0] ?? r), s = n.resolve(process.cwd(), i ?? r), c;
6815
6810
  try {
6816
6811
  c = await Dr(o);
@@ -6824,6 +6819,6 @@ async function vi(e, t, r, i) {
6824
6819
  await Ar(s, a), console.info(`ℹ️ File '${i ?? r}' synchronised.`);
6825
6820
  }
6826
6821
  //#endregion
6827
- export { ii as auditDependencies, Wr as buildProject, si as checkDependencies, ui as documentDependencies, pi as formatCode, mi as lintCode, Gr as releaseProject, Qr as syncProjectWithGitHub, $r as testProject, gi as updateDPUseDependencies, zr as uploadDirectoryToR2 };
6822
+ export { ri as auditDependencies, Ur as buildProject, oi as checkDependencies, li as documentDependencies, fi as formatCode, pi as lintCode, Wr as releaseProject, Zr as syncProjectWithGitHub, Qr as testProject, hi as updateDPUseDependencies, Rr as uploadDirectoryToR2 };
6828
6823
 
6829
6824
  //# sourceMappingURL=dpuse-development.es.js.map