@batijs/cli 0.0.61 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +1 -1
  2. package/dist/boilerplates/@batijs/edgedb/{package-7VWD43WS.js → package-VBWUAB4T.js} +1 -1
  3. package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
  4. package/dist/boilerplates/@batijs/express/{package-ZVGWUXU3.js → package-VOZBO7UL.js} +2 -2
  5. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +1 -1
  6. package/dist/boilerplates/@batijs/hattip/{package-DQQOFIJK.js → package-W6BND6FT.js} +2 -2
  7. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
  8. package/dist/boilerplates/@batijs/prisma/{package-RFNJT47Y.js → package-YI76XPRK.js} +1 -1
  9. package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -1
  10. package/dist/boilerplates/@batijs/react/{package-MHKQZ4DN.js → package-K2OPPB4D.js} +1 -1
  11. package/dist/boilerplates/@batijs/shared/files/$index.html.js +779 -774
  12. package/dist/boilerplates/@batijs/shared/files/package.json +1 -1
  13. package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
  14. package/dist/boilerplates/@batijs/solid/{package-OFHQ5VPH.js → package-3MF22HKA.js} +1 -1
  15. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
  16. package/dist/boilerplates/@batijs/tailwindcss/{package-6NIEVWJX.js → package-GKGU3H6E.js} +2 -2
  17. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
  18. package/dist/boilerplates/@batijs/telefunc/{package-DSKU25OA.js → package-WGG3JZBO.js} +1 -1
  19. package/dist/index.js +3 -3
  20. package/package.json +6 -6
@@ -57891,7 +57891,7 @@ var WZ = { $schema: "http://json-schema.org/draft-07/schema#", $id: "http://json
57891
57891
  return d10.default;
57892
57892
  } });
57893
57893
  }(WH, WH.exports);
57894
- var XZ = { $schema: "http://json-schema.org/draft-07/schema#", type: "object", additionalProperties: false, definitions: { rule: { oneOf: [{ $ref: "#/definitions/ruleToggle" }, { type: "array", items: [{ $ref: "#/definitions/ruleToggle" }, { type: "object" }], minItems: 2, additionalItems: false }, { type: "array", items: [{ $ref: "#/definitions/ruleToggle" }, { type: "string" }, { type: "object" }], minItems: 3, additionalItems: false }, { type: "array", items: [{ $ref: "#/definitions/ruleToggle" }, { type: "string" }], minItems: 2, additionalItems: false }] }, rules: { description: "\u{1F40A}Putout comes with a large number of rules. You can modify which rules your project uses.", type: "object", patternProperties: { "^.*$": { $ref: "#/definitions/rule" } } }, ruleToggle: { oneOf: [{ description: '\u{1F40A}Putout rule\n\n"off" means rule is off\n"on" means it is a on\n', enum: ["on", "off"] }, { enum: [true, false] }] }, processorToggle: { type: "array", items: [{ type: "string" }, { description: '\u{1F40A}Putout processor\n\n"off" means rule is off\n"on" means it is a on\n', enum: ["on", "off"] }], minItems: 2, maxItems: 2 } }, properties: { parser: { description: "Tell \u{1F40A}Putout which parser to use", type: "string" }, printer: { description: "Tell \u{1F40A}Putout which printer to use", type: "string" }, formatter: { description: "Choose the way to show information about errors found", type: ["string", "array"] }, processors: { description: "Tell \u{1F40A}Putout which processors to use to support file types other then JavaScript", type: "array", uniqueItems: true, items: { oneOf: [{ $ref: "#/definitions/processorToggle" }, { type: "string" }] } }, ignore: { description: "Tell \u{1F40A}Putout to ignore specific files and directories.", type: "array", uniqueItems: true, items: { type: "string" } }, match: { description: "Allows to match rules for files and folders, specified by glob patterns.", type: "object", patternProperties: { "^.*$": { $ref: "#/definitions/rules" } } }, plugins: { description: "Tell \u{1F40A}Putout which plugins to load", type: "array", uniqueItems: true }, rules: { $ref: "#/definitions/rules" } } };
57894
+ var XZ = { $schema: "http://json-schema.org/draft-07/schema#", type: "object", additionalProperties: false, definitions: { rule: { oneOf: [{ $ref: "#/definitions/ruleToggle" }, { type: "array", items: [{ $ref: "#/definitions/ruleToggle" }, { type: "object" }], minItems: 2, additionalItems: false }, { type: "array", items: [{ $ref: "#/definitions/ruleToggle" }, { type: "string" }, { type: "object" }], minItems: 3, additionalItems: false }, { type: "array", items: [{ $ref: "#/definitions/ruleToggle" }, { type: "string" }], minItems: 2, additionalItems: false }] }, rules: { description: "\u{1F40A}Putout comes with a large number of rules. You can modify which rules your project uses.", type: "object", patternProperties: { "^.*$": { $ref: "#/definitions/rule" } } }, ruleToggle: { oneOf: [{ description: '\u{1F40A}Putout rule\n\n"off" means rule is off\n"on" means it is a on\n', enum: ["on", "off"] }, { enum: [true, false] }] }, processorToggle: { type: "array", items: [{ type: "string" }, { description: '\u{1F40A}Putout processor\n\n"off" means rule is off\n"on" means it is a on\n', enum: ["on", "off"] }], minItems: 2, maxItems: 2 } }, properties: { parser: { description: "Tell \u{1F40A}Putout which parser to use", type: "string" }, printer: { oneOf: [{ description: "Tell \u{1F40A}Putout which printer to use", type: "string" }, { type: "array", minItems: 2, maxItems: 2, items: [{ type: "string" }, { type: "object" }] }] }, formatter: { description: "Choose the way to show information about errors found", type: ["string", "array"] }, processors: { description: "Tell \u{1F40A}Putout which processors to use to support file types other then JavaScript", type: "array", uniqueItems: true, items: { oneOf: [{ $ref: "#/definitions/processorToggle" }, { type: "string" }] } }, ignore: { description: "Tell \u{1F40A}Putout to ignore specific files and directories.", type: "array", uniqueItems: true, items: { type: "string" } }, match: { description: "Allows to match rules for files and folders, specified by glob patterns.", type: "object", patternProperties: { "^.*$": { $ref: "#/definitions/rules" } } }, plugins: { description: "Tell \u{1F40A}Putout which plugins to load", type: "array", uniqueItems: true }, rules: { $ref: "#/definitions/rules" } } };
57895
57895
  new (0, WH.exports)({ strict: true, allowUnionTypes: true }).compile(XZ);
57896
57896
  var { homedir: HZ } = r;
57897
57897
  var { readdirSync: zZ } = n;
@@ -58395,37 +58395,34 @@ r0.report = ({ name: e13 }) => `'${e13}' is defined but never used`, r0.fix = ({
58395
58395
  const r10 = p1(e13, { setPath: true, traverse: t10 }), n10 = d1(r10);
58396
58396
  return h1(n10);
58397
58397
  };
58398
- var g1;
58399
- var x1;
58400
- var b1 = Object.create;
58401
- var S1 = Object.defineProperty;
58402
- var T1 = Object.getOwnPropertyDescriptor;
58403
- var E1 = Object.getOwnPropertyNames;
58404
- var v1 = Object.getPrototypeOf;
58405
- var P1 = Object.prototype.hasOwnProperty;
58406
- var A1 = (e13, t10) => () => (e13 && (t10 = e13(e13 = 0)), t10);
58407
- var D1 = (e13, t10) => () => (t10 || e13((t10 = { exports: {} }).exports, t10), t10.exports);
58408
- var C1 = (e13, t10) => {
58398
+ var g1 = Object.create;
58399
+ var x1 = Object.defineProperty;
58400
+ var b1 = Object.getOwnPropertyDescriptor;
58401
+ var S1 = Object.getOwnPropertyNames;
58402
+ var T1 = Object.getPrototypeOf;
58403
+ var E1 = Object.prototype.hasOwnProperty;
58404
+ var v1 = (e13, t10) => () => (t10 || e13((t10 = { exports: {} }).exports, t10), t10.exports);
58405
+ var P1 = (e13, t10) => {
58409
58406
  for (var r10 in t10)
58410
- S1(e13, r10, { get: t10[r10], enumerable: true });
58407
+ x1(e13, r10, { get: t10[r10], enumerable: true });
58411
58408
  };
58412
- var w1 = (e13, t10, r10, n10) => {
58409
+ var A1 = (e13, t10, r10, n10) => {
58413
58410
  if (t10 && "object" == typeof t10 || "function" == typeof t10)
58414
- for (let i10 of E1(t10))
58415
- !P1.call(e13, i10) && i10 !== r10 && S1(e13, i10, { get: () => t10[i10], enumerable: !(n10 = T1(t10, i10)) || n10.enumerable });
58411
+ for (let i10 of S1(t10))
58412
+ !E1.call(e13, i10) && i10 !== r10 && x1(e13, i10, { get: () => t10[i10], enumerable: !(n10 = b1(t10, i10)) || n10.enumerable });
58416
58413
  return e13;
58417
58414
  };
58418
- var k1 = (e13, t10, r10) => (r10 = null != e13 ? b1(v1(e13)) : {}, w1(!t10 && e13 && e13.__esModule ? r10 : S1(r10, "default", { value: e13, enumerable: true }), e13));
58419
- var I1 = (e13, t10, r10) => {
58415
+ var D1 = (e13, t10, r10) => (r10 = null != e13 ? g1(T1(e13)) : {}, A1(!t10 && e13 && e13.__esModule ? r10 : x1(r10, "default", { value: e13, enumerable: true }), e13));
58416
+ var C1 = (e13, t10, r10) => {
58420
58417
  if (t10.has(e13))
58421
58418
  throw TypeError("Cannot add the same private member more than once");
58422
58419
  t10 instanceof WeakSet ? t10.add(e13) : t10.set(e13, r10);
58423
58420
  };
58424
- var N1 = (e13, t10, r10) => (((e14, t11, r11) => {
58421
+ var w1 = (e13, t10, r10) => (((e14, t11, r11) => {
58425
58422
  if (!t11.has(e14))
58426
58423
  throw TypeError("Cannot " + r11);
58427
58424
  })(e13, t10, "access private method"), r10);
58428
- var F1 = D1((e13) => {
58425
+ var k1 = v1((e13) => {
58429
58426
  function t10() {
58430
58427
  }
58431
58428
  function r10(e14, t11, r11, n10, i10) {
@@ -58516,233 +58513,237 @@ var F1 = D1((e13) => {
58516
58513
  return e14.join("");
58517
58514
  } };
58518
58515
  });
58519
- var _1 = D1((e13) => {
58516
+ var I1 = v1((e13) => {
58520
58517
  var t10;
58521
58518
  Object.defineProperty(e13, "__esModule", { value: true }), e13.diffArrays = function(e14, t11, n10) {
58522
58519
  return r10.diff(e14, t11, n10);
58523
58520
  }, e13.arrayDiff = void 0;
58524
- var r10 = new ((t10 = F1()) && t10.__esModule ? t10 : { default: t10 }).default();
58521
+ var r10 = new ((t10 = k1()) && t10.__esModule ? t10 : { default: t10 }).default();
58525
58522
  e13.arrayDiff = r10, r10.tokenize = function(e14) {
58526
58523
  return e14.slice();
58527
58524
  }, r10.join = r10.removeEmpty = function(e14) {
58528
58525
  return e14;
58529
58526
  };
58530
58527
  });
58531
- var O1 = A1(() => {
58532
- (g1 = (e13) => e13).grey = g1, g1.red = g1, g1.bold = g1, g1.yellow = g1, g1.blue = g1, g1.default = g1, x1 = g1;
58528
+ var N1 = v1((e13, t10) => {
58529
+ var r10 = new Proxy(String, { get: () => r10 });
58530
+ t10.exports = r10;
58533
58531
  });
58534
- var L1 = {};
58535
- C1(L1, { getChalk: () => B1, shouldHighlight: () => M1 });
58536
- var M1;
58537
- var B1;
58538
- var j1 = A1(() => {
58539
- O1(), M1 = () => false, B1 = () => x1;
58532
+ var F1 = {};
58533
+ P1(F1, { default: () => O1, shouldHighlight: () => _1 });
58534
+ var _1;
58535
+ var O1;
58536
+ var L1 = ((e13, t10) => () => (e13 && (t10 = e13(e13 = 0)), t10))(() => {
58537
+ _1 = () => false, O1 = String;
58540
58538
  });
58541
- var R1 = D1((e13) => {
58542
- Object.defineProperty(e13, "__esModule", { value: true }), e13.codeFrameColumns = s10, e13.default = function(e14, t11, r11, i11 = {}) {
58543
- if (!n10) {
58544
- n10 = true;
58539
+ var M1 = v1((e13) => {
58540
+ Object.defineProperty(e13, "__esModule", { value: true }), e13.codeFrameColumns = o, e13.default = function(e14, t11, r11, n11 = {}) {
58541
+ if (!s10) {
58542
+ s10 = true;
58545
58543
  let e15 = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
58546
58544
  new Error(e15).name = "DeprecationWarning", console.warn(new Error(e15));
58547
58545
  }
58548
- return r11 = Math.max(r11, 0), s10(e14, { start: { column: r11, line: t11 } }, i11);
58546
+ return r11 = Math.max(r11, 0), o(e14, { start: { column: r11, line: t11 } }, n11);
58549
58547
  };
58550
- var t10, r10 = (j1(), t10 = L1, w1(S1({}, "__esModule", { value: true }), t10)), n10 = false;
58551
- var i10 = /\r\n|[\n\r\u2028\u2029]/;
58552
- function s10(e14, t11, n11 = {}) {
58553
- let s11 = (n11.highlightCode || n11.forceColor) && (0, r10.shouldHighlight)(n11), a = (0, r10.getChalk)(n11), o = function(e15) {
58548
+ var t10, r10, n10 = (L1(), r10 = F1, A1(x1({}, "__esModule", { value: true }), r10)), i10 = N1();
58549
+ var s10 = false;
58550
+ var a = /\r\n|[\n\r\u2028\u2029]/;
58551
+ function o(e14, r11, s11 = {}) {
58552
+ let o10 = (s11.highlightCode || s11.forceColor) && (0, n10.shouldHighlight)(s11), u = function(e15) {
58553
+ return e15 ? (null != t10 || (t10 = new i10.constructor({ enabled: true, level: 1 })), t10) : i10;
58554
+ }(s11.forceColor), l = function(e15) {
58554
58555
  return { gutter: e15.grey, marker: e15.red.bold, message: e15.red.bold };
58555
- }(a), u = (e15, t12) => s11 ? e15(t12) : t12, l = e14.split(i10), { start: c10, end: p10, markerLines: d10 } = function(e15, t12, r11) {
58556
- let n12 = Object.assign({ column: 0, line: -1 }, e15.start), i11 = Object.assign({}, n12, e15.end), { linesAbove: s12 = 2, linesBelow: a10 = 3 } = r11 || {}, o10 = n12.line, u10 = n12.column, l10 = i11.line, c11 = i11.column, p11 = Math.max(o10 - (s12 + 1), 0), d11 = Math.min(t12.length, l10 + a10);
58557
- -1 === o10 && (p11 = 0), -1 === l10 && (d11 = t12.length);
58558
- let h11 = l10 - o10, f11 = {};
58556
+ }(u), c10 = (e15, t11) => o10 ? e15(t11) : t11, p10 = e14.split(a), { start: d10, end: h10, markerLines: f10 } = function(e15, t11, r12) {
58557
+ let n11 = Object.assign({ column: 0, line: -1 }, e15.start), i11 = Object.assign({}, n11, e15.end), { linesAbove: s12 = 2, linesBelow: a10 = 3 } = r12 || {}, o11 = n11.line, u10 = n11.column, l10 = i11.line, c11 = i11.column, p11 = Math.max(o11 - (s12 + 1), 0), d11 = Math.min(t11.length, l10 + a10);
58558
+ -1 === o11 && (p11 = 0), -1 === l10 && (d11 = t11.length);
58559
+ let h11 = l10 - o11, f11 = {};
58559
58560
  if (h11)
58560
58561
  for (let e16 = 0; e16 <= h11; e16++) {
58561
- let r12 = e16 + o10;
58562
+ let r13 = e16 + o11;
58562
58563
  if (u10)
58563
58564
  if (0 === e16) {
58564
- let e17 = t12[r12 - 1].length;
58565
- f11[r12] = [u10, e17 - u10 + 1];
58565
+ let e17 = t11[r13 - 1].length;
58566
+ f11[r13] = [u10, e17 - u10 + 1];
58566
58567
  } else if (e16 === h11)
58567
- f11[r12] = [0, c11];
58568
+ f11[r13] = [0, c11];
58568
58569
  else {
58569
- let n13 = t12[r12 - e16].length;
58570
- f11[r12] = [0, n13];
58570
+ let n12 = t11[r13 - e16].length;
58571
+ f11[r13] = [0, n12];
58571
58572
  }
58572
58573
  else
58573
- f11[r12] = true;
58574
+ f11[r13] = true;
58574
58575
  }
58575
58576
  else
58576
- f11[o10] = u10 === c11 ? !u10 || [u10, 0] : [u10, c11 - u10];
58577
+ f11[o11] = u10 === c11 ? !u10 || [u10, 0] : [u10, c11 - u10];
58577
58578
  return { start: p11, end: d11, markerLines: f11 };
58578
- }(t11, l, n11), h10 = t11.start && "number" == typeof t11.start.column, f10 = String(p10).length, m10 = (s11 ? (0, r10.default)(e14, n11) : e14).split(i10, p10).slice(c10, p10).map((e15, t12) => {
58579
- let r11 = c10 + 1 + t12, i11 = ` ${` ${r11}`.slice(-f10)} |`, s12 = d10[r11], a10 = !d10[r11 + 1];
58580
- if (s12) {
58581
- let t13 = "";
58582
- if (Array.isArray(s12)) {
58583
- let r12 = e15.slice(0, Math.max(s12[0] - 1, 0)).replace(/[^\t]/g, " "), l10 = s12[1] || 1;
58584
- t13 = ["\n ", u(o.gutter, i11.replace(/\d/g, " ")), " ", r12, u(o.marker, "^").repeat(l10)].join(""), a10 && n11.message && (t13 += " " + u(o.message, n11.message));
58579
+ }(r11, p10, s11), m10 = r11.start && "number" == typeof r11.start.column, y10 = String(h10).length, g10 = (o10 ? (0, n10.default)(e14, s11) : e14).split(a, h10).slice(d10, h10).map((e15, t11) => {
58580
+ let r12 = d10 + 1 + t11, n11 = ` ${` ${r12}`.slice(-y10)} |`, i11 = f10[r12], a10 = !f10[r12 + 1];
58581
+ if (i11) {
58582
+ let t12 = "";
58583
+ if (Array.isArray(i11)) {
58584
+ let r13 = e15.slice(0, Math.max(i11[0] - 1, 0)).replace(/[^\t]/g, " "), o11 = i11[1] || 1;
58585
+ t12 = ["\n ", c10(l.gutter, n11.replace(/\d/g, " ")), " ", r13, c10(l.marker, "^").repeat(o11)].join(""), a10 && s11.message && (t12 += " " + c10(l.message, s11.message));
58585
58586
  }
58586
- return [u(o.marker, ">"), u(o.gutter, i11), e15.length > 0 ? ` ${e15}` : "", t13].join("");
58587
+ return [c10(l.marker, ">"), c10(l.gutter, n11), e15.length > 0 ? ` ${e15}` : "", t12].join("");
58587
58588
  }
58588
- return ` ${u(o.gutter, i11)}${e15.length > 0 ? ` ${e15}` : ""}`;
58589
+ return ` ${c10(l.gutter, n11)}${e15.length > 0 ? ` ${e15}` : ""}`;
58589
58590
  }).join("\n");
58590
- return n11.message && !h10 && (m10 = `${" ".repeat(f10 + 1)}${n11.message}
58591
- ${m10}`), s11 ? a.reset(m10) : m10;
58591
+ return s11.message && !m10 && (g10 = `${" ".repeat(y10 + 1)}${s11.message}
58592
+ ${g10}`), o10 ? u.reset(g10) : g10;
58592
58593
  }
58593
58594
  });
58594
- C1({}, { __debug: () => k5, check: () => C5, doc: () => b5, format: () => D5, formatWithCursor: () => A5, getSupportInfo: () => w5, util: () => s5, version: () => v5 });
58595
- var U1 = (e13, t10, r10, n10) => {
58595
+ P1({}, { __debug: () => k5, check: () => C5, doc: () => b5, format: () => D5, formatWithCursor: () => A5, getSupportInfo: () => w5, util: () => s5, version: () => v5 });
58596
+ var B1 = (e13, t10, r10, n10) => {
58596
58597
  if (!e13 || null != t10)
58597
58598
  return t10.replaceAll ? t10.replaceAll(r10, n10) : r10.global ? t10.replace(r10, n10) : t10.split(r10).join(n10);
58598
58599
  };
58599
- var $1 = k1(_1(), 1);
58600
- var V1 = "string";
58601
- var q1 = "array";
58602
- var K1 = "cursor";
58603
- var J1 = "indent";
58604
- var W1 = "align";
58605
- var X1 = "trim";
58606
- var H1 = "group";
58607
- var z1 = "fill";
58608
- var G1 = "if-break";
58609
- var Y1 = "indent-if-break";
58610
- var Q1 = "line-suffix";
58611
- var Z1 = "line-suffix-boundary";
58612
- var e22 = "line";
58613
- var t2 = "label";
58614
- var r2 = "break-parent";
58615
- var n2 = /* @__PURE__ */ new Set([K1, J1, W1, X1, H1, z1, G1, Y1, Q1, Z1, e22, t2, r2]);
58616
- var i2 = function(e13) {
58600
+ var j1 = D1(I1(), 1);
58601
+ var R1 = "string";
58602
+ var U1 = "array";
58603
+ var $1 = "cursor";
58604
+ var V1 = "indent";
58605
+ var q1 = "align";
58606
+ var K1 = "trim";
58607
+ var J1 = "group";
58608
+ var W1 = "fill";
58609
+ var X1 = "if-break";
58610
+ var H1 = "indent-if-break";
58611
+ var z1 = "line-suffix";
58612
+ var G1 = "line-suffix-boundary";
58613
+ var Y1 = "line";
58614
+ var Q1 = "label";
58615
+ var Z1 = "break-parent";
58616
+ var e22 = /* @__PURE__ */ new Set([$1, V1, q1, K1, J1, W1, X1, H1, z1, G1, Y1, Q1, Z1]);
58617
+ var t2 = function(e13) {
58617
58618
  if ("string" == typeof e13)
58618
- return V1;
58619
+ return R1;
58619
58620
  if (Array.isArray(e13))
58620
- return q1;
58621
+ return U1;
58621
58622
  if (!e13)
58622
58623
  return;
58623
58624
  let { type: t10 } = e13;
58624
- return n2.has(t10) ? t10 : void 0;
58625
+ return e22.has(t10) ? t10 : void 0;
58625
58626
  };
58626
- function s2(e13) {
58627
+ function r2(e13) {
58627
58628
  let t10 = null === e13 ? "null" : typeof e13;
58628
58629
  if ("string" !== t10 && "object" !== t10)
58629
58630
  return `Unexpected doc '${t10}',
58630
58631
  Expected it to be 'string' or 'object'.`;
58631
- if (i2(e13))
58632
+ if (t2(e13))
58632
58633
  throw new Error("doc is valid.");
58633
58634
  let r10 = Object.prototype.toString.call(e13);
58634
58635
  if ("[object Object]" !== r10)
58635
58636
  return `Unexpected doc '${r10}'.`;
58636
- let n10 = ((e14) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e14))([...n2].map((e14) => `'${e14}'`));
58637
+ let n10 = ((e14) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e14))([...e22].map((e14) => `'${e14}'`));
58637
58638
  return `Unexpected doc.type '${e13.type}'.
58638
58639
  Expected it to be ${n10}.`;
58639
58640
  }
58640
- var a2 = class extends Error {
58641
+ var n2 = class extends Error {
58641
58642
  constructor(e13) {
58642
- super(s2(e13));
58643
+ super(r2(e13));
58643
58644
  __publicField(this, "name", "InvalidDocError");
58644
58645
  this.doc = e13;
58645
58646
  }
58646
58647
  };
58647
- var o2 = a2;
58648
- var u2 = {};
58649
- var l2 = function(e13, t10, r10, n10) {
58648
+ var i2 = n2;
58649
+ var s2 = {};
58650
+ var a2 = function(e13, t10, r10, n10) {
58650
58651
  let i10 = [e13];
58651
58652
  for (; i10.length > 0; ) {
58652
58653
  let e14 = i10.pop();
58653
- if (e14 === u2) {
58654
+ if (e14 === s2) {
58654
58655
  r10(i10.pop());
58655
58656
  continue;
58656
58657
  }
58657
- r10 && i10.push(e14, u2);
58658
- let s10 = i2(e14);
58658
+ r10 && i10.push(e14, s2);
58659
+ let s10 = t2(e14);
58659
58660
  if (!s10)
58660
- throw new o2(e14);
58661
+ throw new i2(e14);
58661
58662
  if (false !== (null == t10 ? void 0 : t10(e14)))
58662
58663
  switch (s10) {
58663
- case q1:
58664
- case z1: {
58665
- let t11 = s10 === q1 ? e14 : e14.parts;
58664
+ case U1:
58665
+ case W1: {
58666
+ let t11 = s10 === U1 ? e14 : e14.parts;
58666
58667
  for (let e15 = t11.length - 1; e15 >= 0; --e15)
58667
58668
  i10.push(t11[e15]);
58668
58669
  break;
58669
58670
  }
58670
- case G1:
58671
+ case X1:
58671
58672
  i10.push(e14.flatContents, e14.breakContents);
58672
58673
  break;
58673
- case H1:
58674
+ case J1:
58674
58675
  if (n10 && e14.expandedStates)
58675
58676
  for (let t11 = e14.expandedStates.length - 1; t11 >= 0; --t11)
58676
58677
  i10.push(e14.expandedStates[t11]);
58677
58678
  else
58678
58679
  i10.push(e14.contents);
58679
58680
  break;
58680
- case W1:
58681
- case J1:
58682
- case Y1:
58683
- case t2:
58681
+ case q1:
58682
+ case V1:
58683
+ case H1:
58684
58684
  case Q1:
58685
+ case z1:
58685
58686
  i10.push(e14.contents);
58686
58687
  break;
58687
- case V1:
58688
+ case R1:
58689
+ case $1:
58688
58690
  case K1:
58689
- case X1:
58691
+ case G1:
58692
+ case Y1:
58690
58693
  case Z1:
58691
- case e22:
58692
- case r2:
58693
58694
  break;
58694
58695
  default:
58695
- throw new o2(e14);
58696
+ throw new i2(e14);
58696
58697
  }
58697
58698
  }
58698
58699
  };
58699
- var c2 = () => {
58700
+ var o2 = () => {
58700
58701
  };
58702
+ function u2(e13) {
58703
+ return { type: V1, contents: e13 };
58704
+ }
58705
+ function l2(e13, t10) {
58706
+ return { type: q1, contents: t10, n: e13 };
58707
+ }
58708
+ function c2(e13, t10 = {}) {
58709
+ return o2(t10.expandedStates), { type: J1, id: t10.id, contents: e13, break: !!t10.shouldBreak, expandedStates: t10.expandedStates };
58710
+ }
58701
58711
  function p2(e13) {
58702
- return { type: J1, contents: e13 };
58703
- }
58704
- function d2(e13, t10) {
58705
- return { type: W1, contents: t10, n: e13 };
58706
- }
58707
- function h2(e13, t10 = {}) {
58708
- return c2(t10.expandedStates), { type: H1, id: t10.id, contents: e13, break: !!t10.shouldBreak, expandedStates: t10.expandedStates };
58709
- }
58710
- function f2(e13) {
58711
- return { type: z1, parts: e13 };
58712
- }
58713
- function m2(e13) {
58714
- return { type: Q1, contents: e13 };
58715
- }
58716
- var y2 = { type: Z1 };
58717
- var g2 = { type: r2 };
58718
- var x2 = { type: X1 };
58719
- var b2 = { type: e22, hard: true };
58720
- var S2 = { type: e22, hard: true, literal: true };
58721
- var T2 = { type: e22 };
58722
- var E2 = { type: e22, soft: true };
58723
- var v2 = [b2, g2];
58724
- var P2 = [S2, g2];
58725
- var A2 = { type: K1 };
58726
- function D2(e13, t10) {
58712
+ return { type: W1, parts: e13 };
58713
+ }
58714
+ function d2(e13) {
58715
+ return { type: z1, contents: e13 };
58716
+ }
58717
+ var h2 = { type: G1 };
58718
+ var f2 = { type: Z1 };
58719
+ var m2 = { type: K1 };
58720
+ var y2 = { type: Y1, hard: true };
58721
+ var g2 = { type: Y1, hard: true, literal: true };
58722
+ var x2 = { type: Y1 };
58723
+ var b2 = { type: Y1, soft: true };
58724
+ var S2 = [y2, f2];
58725
+ var T2 = [g2, f2];
58726
+ var E2 = { type: $1 };
58727
+ function v2(e13, t10) {
58727
58728
  let r10 = [];
58728
58729
  for (let n10 = 0; n10 < t10.length; n10++)
58729
58730
  0 !== n10 && r10.push(e13), r10.push(t10[n10]);
58730
58731
  return r10;
58731
58732
  }
58732
- function C2(e13, t10, r10) {
58733
+ function P2(e13, t10, r10) {
58733
58734
  let n10 = e13;
58734
58735
  if (t10 > 0) {
58735
58736
  for (let e14 = 0; e14 < Math.floor(t10 / r10); ++e14)
58736
- n10 = p2(n10);
58737
- n10 = d2(t10 % r10, n10), n10 = d2(Number.NEGATIVE_INFINITY, n10);
58737
+ n10 = u2(n10);
58738
+ n10 = l2(t10 % r10, n10), n10 = l2(Number.NEGATIVE_INFINITY, n10);
58738
58739
  }
58739
58740
  return n10;
58740
58741
  }
58741
- var w2 = (e13, t10, r10) => {
58742
+ var A2 = (e13, t10, r10) => {
58742
58743
  if (!e13 || null != t10)
58743
58744
  return Array.isArray(t10) || "string" == typeof t10 ? t10[r10 < 0 ? t10.length + r10 : r10] : t10.at(r10);
58744
58745
  };
58745
- function k2(e13) {
58746
+ function D2(e13) {
58746
58747
  switch (e13) {
58747
58748
  case "cr":
58748
58749
  return "\r";
@@ -58752,7 +58753,7 @@ function k2(e13) {
58752
58753
  return "\n";
58753
58754
  }
58754
58755
  }
58755
- function I2(e13, t10) {
58756
+ function C2(e13, t10) {
58756
58757
  let r10;
58757
58758
  switch (t10) {
58758
58759
  case "\n":
@@ -58770,15 +58771,15 @@ function I2(e13, t10) {
58770
58771
  let n10 = e13.match(r10);
58771
58772
  return n10 ? n10.length : 0;
58772
58773
  }
58773
- var N2 = { eastAsianWidth(e13) {
58774
+ var w2 = { eastAsianWidth(e13) {
58774
58775
  var t10 = e13.charCodeAt(0), r10 = 2 == e13.length ? e13.charCodeAt(1) : 0, n10 = t10;
58775
58776
  return 55296 <= t10 && t10 <= 56319 && 56320 <= r10 && r10 <= 57343 && (n10 = (t10 &= 1023) << 10 | (r10 &= 1023), n10 += 65536), 12288 == n10 || 65281 <= n10 && n10 <= 65376 || 65504 <= n10 && n10 <= 65510 ? "F" : 4352 <= n10 && n10 <= 4447 || 4515 <= n10 && n10 <= 4519 || 4602 <= n10 && n10 <= 4607 || 9001 <= n10 && n10 <= 9002 || 11904 <= n10 && n10 <= 11929 || 11931 <= n10 && n10 <= 12019 || 12032 <= n10 && n10 <= 12245 || 12272 <= n10 && n10 <= 12283 || 12289 <= n10 && n10 <= 12350 || 12353 <= n10 && n10 <= 12438 || 12441 <= n10 && n10 <= 12543 || 12549 <= n10 && n10 <= 12589 || 12593 <= n10 && n10 <= 12686 || 12688 <= n10 && n10 <= 12730 || 12736 <= n10 && n10 <= 12771 || 12784 <= n10 && n10 <= 12830 || 12832 <= n10 && n10 <= 12871 || 12880 <= n10 && n10 <= 13054 || 13056 <= n10 && n10 <= 19903 || 19968 <= n10 && n10 <= 42124 || 42128 <= n10 && n10 <= 42182 || 43360 <= n10 && n10 <= 43388 || 44032 <= n10 && n10 <= 55203 || 55216 <= n10 && n10 <= 55238 || 55243 <= n10 && n10 <= 55291 || 63744 <= n10 && n10 <= 64255 || 65040 <= n10 && n10 <= 65049 || 65072 <= n10 && n10 <= 65106 || 65108 <= n10 && n10 <= 65126 || 65128 <= n10 && n10 <= 65131 || 110592 <= n10 && n10 <= 110593 || 127488 <= n10 && n10 <= 127490 || 127504 <= n10 && n10 <= 127546 || 127552 <= n10 && n10 <= 127560 || 127568 <= n10 && n10 <= 127569 || 131072 <= n10 && n10 <= 194367 || 177984 <= n10 && n10 <= 196605 || 196608 <= n10 && n10 <= 262141 ? "W" : "N";
58776
58777
  } };
58777
- var F2 = /[^\x20-\x7F]/;
58778
- var _2 = function(e13) {
58778
+ var k2 = /[^\x20-\x7F]/;
58779
+ var I2 = function(e13) {
58779
58780
  if (!e13)
58780
58781
  return 0;
58781
- if (!F2.test(e13))
58782
+ if (!k2.test(e13))
58782
58783
  return e13.length;
58783
58784
  e13 = e13.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g, " ");
58784
58785
  let t10 = 0;
@@ -58786,19 +58787,19 @@ var _2 = function(e13) {
58786
58787
  let e14 = r10.codePointAt(0);
58787
58788
  if (e14 <= 31 || e14 >= 127 && e14 <= 159 || e14 >= 768 && e14 <= 879)
58788
58789
  continue;
58789
- let n10 = N2.eastAsianWidth(r10);
58790
+ let n10 = w2.eastAsianWidth(r10);
58790
58791
  t10 += "F" === n10 || "W" === n10 ? 2 : 1;
58791
58792
  }
58792
58793
  return t10;
58793
58794
  };
58794
- var O2 = (e13) => {
58795
+ var N2 = (e13) => {
58795
58796
  if (Array.isArray(e13))
58796
58797
  return e13;
58797
- if (e13.type !== z1)
58798
- throw new Error(`Expect doc to be 'array' or '${z1}'.`);
58798
+ if (e13.type !== W1)
58799
+ throw new Error(`Expect doc to be 'array' or '${W1}'.`);
58799
58800
  return e13.parts;
58800
58801
  };
58801
- function L2(e13, t10) {
58802
+ function F2(e13, t10) {
58802
58803
  if ("string" == typeof e13)
58803
58804
  return t10(e13);
58804
58805
  let r10 = /* @__PURE__ */ new Map();
@@ -58807,166 +58808,166 @@ function L2(e13, t10) {
58807
58808
  if (r10.has(e14))
58808
58809
  return r10.get(e14);
58809
58810
  let i10 = function(e15) {
58810
- switch (i2(e15)) {
58811
- case q1:
58811
+ switch (t2(e15)) {
58812
+ case U1:
58812
58813
  return t10(e15.map(n10));
58813
- case z1:
58814
+ case W1:
58814
58815
  return t10({ ...e15, parts: e15.parts.map(n10) });
58815
- case G1:
58816
+ case X1:
58816
58817
  return t10({ ...e15, breakContents: n10(e15.breakContents), flatContents: n10(e15.flatContents) });
58817
- case H1: {
58818
+ case J1: {
58818
58819
  let { expandedStates: r11, contents: i11 } = e15;
58819
58820
  return r11 ? (r11 = r11.map(n10), i11 = r11[0]) : i11 = n10(i11), t10({ ...e15, contents: i11, expandedStates: r11 });
58820
58821
  }
58821
- case W1:
58822
- case J1:
58823
- case Y1:
58824
- case t2:
58822
+ case q1:
58823
+ case V1:
58824
+ case H1:
58825
58825
  case Q1:
58826
+ case z1:
58826
58827
  return t10({ ...e15, contents: n10(e15.contents) });
58827
- case V1:
58828
+ case R1:
58829
+ case $1:
58828
58830
  case K1:
58829
- case X1:
58831
+ case G1:
58832
+ case Y1:
58830
58833
  case Z1:
58831
- case e22:
58832
- case r2:
58833
58834
  return t10(e15);
58834
58835
  default:
58835
- throw new o2(e15);
58836
+ throw new i2(e15);
58836
58837
  }
58837
58838
  }(e14);
58838
58839
  return r10.set(e14, i10), i10;
58839
58840
  }
58840
58841
  }
58841
- function M2(e13, t10, r10) {
58842
+ function _2(e13, t10, r10) {
58842
58843
  let n10 = r10, i10 = false;
58843
- return l2(e13, function(e14) {
58844
+ return a2(e13, function(e14) {
58844
58845
  if (i10)
58845
58846
  return false;
58846
58847
  let r11 = t10(e14);
58847
58848
  void 0 !== r11 && (i10 = true, n10 = r11);
58848
58849
  }), n10;
58849
58850
  }
58850
- function B2(e13) {
58851
- if (e13.type === H1 && e13.break || e13.type === e22 && e13.hard || e13.type === r2)
58851
+ function O2(e13) {
58852
+ if (e13.type === J1 && e13.break || e13.type === Y1 && e13.hard || e13.type === Z1)
58852
58853
  return true;
58853
58854
  }
58854
- function j2(e13) {
58855
+ function L2(e13) {
58855
58856
  if (e13.length > 0) {
58856
- let t10 = w2(false, e13, -1);
58857
+ let t10 = A2(false, e13, -1);
58857
58858
  !t10.expandedStates && !t10.break && (t10.break = "propagated");
58858
58859
  }
58859
58860
  return null;
58860
58861
  }
58861
- function R2(e13) {
58862
- return e13.type !== e22 || e13.hard ? e13.type === G1 ? e13.flatContents : e13 : e13.soft ? "" : " ";
58862
+ function M2(e13) {
58863
+ return e13.type !== Y1 || e13.hard ? e13.type === X1 ? e13.flatContents : e13 : e13.soft ? "" : " ";
58863
58864
  }
58864
- function U2(e13) {
58865
- for (e13 = [...e13]; e13.length >= 2 && w2(false, e13, -2).type === e22 && w2(false, e13, -1).type === r2; )
58865
+ function B2(e13) {
58866
+ for (e13 = [...e13]; e13.length >= 2 && A2(false, e13, -2).type === Y1 && A2(false, e13, -1).type === Z1; )
58866
58867
  e13.length -= 2;
58867
58868
  if (e13.length > 0) {
58868
- let t10 = $2(w2(false, e13, -1));
58869
+ let t10 = j2(A2(false, e13, -1));
58869
58870
  e13[e13.length - 1] = t10;
58870
58871
  }
58871
58872
  return e13;
58872
58873
  }
58873
- function $2(e13) {
58874
- switch (i2(e13)) {
58875
- case W1:
58876
- case J1:
58877
- case Y1:
58874
+ function j2(e13) {
58875
+ switch (t2(e13)) {
58876
+ case q1:
58877
+ case V1:
58878
58878
  case H1:
58879
- case Q1:
58880
- case t2: {
58881
- let t10 = $2(e13.contents);
58879
+ case J1:
58880
+ case z1:
58881
+ case Q1: {
58882
+ let t10 = j2(e13.contents);
58882
58883
  return { ...e13, contents: t10 };
58883
58884
  }
58884
- case G1:
58885
- return { ...e13, breakContents: $2(e13.breakContents), flatContents: $2(e13.flatContents) };
58886
- case z1:
58887
- return { ...e13, parts: U2(e13.parts) };
58888
- case q1:
58889
- return U2(e13);
58890
- case V1:
58885
+ case X1:
58886
+ return { ...e13, breakContents: j2(e13.breakContents), flatContents: j2(e13.flatContents) };
58887
+ case W1:
58888
+ return { ...e13, parts: B2(e13.parts) };
58889
+ case U1:
58890
+ return B2(e13);
58891
+ case R1:
58891
58892
  return e13.replace(/[\n\r]*$/, "");
58893
+ case $1:
58892
58894
  case K1:
58893
- case X1:
58895
+ case G1:
58896
+ case Y1:
58894
58897
  case Z1:
58895
- case e22:
58896
- case r2:
58897
58898
  break;
58898
58899
  default:
58899
- throw new o2(e13);
58900
+ throw new i2(e13);
58900
58901
  }
58901
58902
  return e13;
58902
58903
  }
58903
- function V2(e13) {
58904
- return $2(function(e14) {
58905
- return L2(e14, (e15) => function(e16) {
58906
- switch (i2(e16)) {
58907
- case z1:
58904
+ function R2(e13) {
58905
+ return j2(function(e14) {
58906
+ return F2(e14, (e15) => function(e16) {
58907
+ switch (t2(e16)) {
58908
+ case W1:
58908
58909
  if (e16.parts.every((e17) => "" === e17))
58909
58910
  return "";
58910
58911
  break;
58911
- case H1:
58912
+ case J1:
58912
58913
  if (!(e16.contents || e16.id || e16.break || e16.expandedStates))
58913
58914
  return "";
58914
- if (e16.contents.type === H1 && e16.contents.id === e16.id && e16.contents.break === e16.break && e16.contents.expandedStates === e16.expandedStates)
58915
+ if (e16.contents.type === J1 && e16.contents.id === e16.id && e16.contents.break === e16.break && e16.contents.expandedStates === e16.expandedStates)
58915
58916
  return e16.contents;
58916
58917
  break;
58917
- case W1:
58918
- case J1:
58919
- case Y1:
58920
- case Q1:
58918
+ case q1:
58919
+ case V1:
58920
+ case H1:
58921
+ case z1:
58921
58922
  if (!e16.contents)
58922
58923
  return "";
58923
58924
  break;
58924
- case G1:
58925
+ case X1:
58925
58926
  if (!e16.flatContents && !e16.breakContents)
58926
58927
  return "";
58927
58928
  break;
58928
- case q1: {
58929
+ case U1: {
58929
58930
  let t10 = [];
58930
58931
  for (let r10 of e16) {
58931
58932
  if (!r10)
58932
58933
  continue;
58933
58934
  let [e17, ...n10] = Array.isArray(r10) ? r10 : [r10];
58934
- "string" == typeof e17 && "string" == typeof w2(false, t10, -1) ? t10[t10.length - 1] += e17 : t10.push(e17), t10.push(...n10);
58935
+ "string" == typeof e17 && "string" == typeof A2(false, t10, -1) ? t10[t10.length - 1] += e17 : t10.push(e17), t10.push(...n10);
58935
58936
  }
58936
58937
  return 0 === t10.length ? "" : 1 === t10.length ? t10[0] : t10;
58937
58938
  }
58938
- case V1:
58939
+ case R1:
58940
+ case $1:
58939
58941
  case K1:
58940
- case X1:
58942
+ case G1:
58943
+ case Y1:
58944
+ case Q1:
58941
58945
  case Z1:
58942
- case e22:
58943
- case t2:
58944
- case r2:
58945
58946
  break;
58946
58947
  default:
58947
- throw new o2(e16);
58948
+ throw new i2(e16);
58948
58949
  }
58949
58950
  return e16;
58950
58951
  }(e15));
58951
58952
  }(e13));
58952
58953
  }
58953
- function q2(e13) {
58954
- if (e13.type === e22)
58954
+ function U2(e13) {
58955
+ if (e13.type === Y1)
58955
58956
  return true;
58956
58957
  }
58957
- function K2(e13, t10) {
58958
- return e13.type === t2 ? { ...e13, contents: t10(e13.contents) } : t10(e13);
58958
+ function $2(e13, t10) {
58959
+ return e13.type === Q1 ? { ...e13, contents: t10(e13.contents) } : t10(e13);
58959
58960
  }
58960
- var J2 = Symbol("MODE_BREAK");
58961
- var W2 = Symbol("MODE_FLAT");
58962
- var X2 = Symbol("cursor");
58963
- function H2(e13, t10) {
58964
- return G2(e13, { type: "indent" }, t10);
58961
+ var V2 = Symbol("MODE_BREAK");
58962
+ var q2 = Symbol("MODE_FLAT");
58963
+ var K2 = Symbol("cursor");
58964
+ function J2(e13, t10) {
58965
+ return X2(e13, { type: "indent" }, t10);
58965
58966
  }
58966
- function z2(e13, t10, r10) {
58967
- return t10 === Number.NEGATIVE_INFINITY ? e13.root || { value: "", length: 0, queue: [] } : t10 < 0 ? G2(e13, { type: "dedent" }, r10) : t10 ? "root" === t10.type ? { ...e13, root: e13 } : G2(e13, { type: "string" == typeof t10 ? "stringAlign" : "numberAlign", n: t10 }, r10) : e13;
58967
+ function W2(e13, t10, r10) {
58968
+ return t10 === Number.NEGATIVE_INFINITY ? e13.root || { value: "", length: 0, queue: [] } : t10 < 0 ? X2(e13, { type: "dedent" }, r10) : t10 ? "root" === t10.type ? { ...e13, root: e13 } : X2(e13, { type: "string" == typeof t10 ? "stringAlign" : "numberAlign", n: t10 }, r10) : e13;
58968
58969
  }
58969
- function G2(e13, t10, r10) {
58970
+ function X2(e13, t10, r10) {
58970
58971
  let n10 = "dedent" === t10.type ? e13.queue.slice(0, -1) : [...e13.queue, t10], i10 = "", s10 = 0, a = 0, o = 0;
58971
58972
  for (let e14 of n10)
58972
58973
  switch (e14.type) {
@@ -58999,12 +59000,12 @@ function G2(e13, t10, r10) {
58999
59000
  a = 0, o = 0;
59000
59001
  }
59001
59002
  }
59002
- function Y2(e13) {
59003
+ function H2(e13) {
59003
59004
  let t10 = 0, r10 = 0, n10 = e13.length;
59004
59005
  e:
59005
59006
  for (; n10--; ) {
59006
59007
  let i10 = e13[n10];
59007
- if (i10 !== X2)
59008
+ if (i10 !== K2)
59008
59009
  for (let r11 = i10.length - 1; r11 >= 0; r11--) {
59009
59010
  let s10 = i10[r11];
59010
59011
  if (" " !== s10 && " " !== s10) {
@@ -59018,10 +59019,10 @@ function Y2(e13) {
59018
59019
  }
59019
59020
  if (t10 > 0 || r10 > 0)
59020
59021
  for (e13.length = n10 + 1; r10-- > 0; )
59021
- e13.push(X2);
59022
+ e13.push(K2);
59022
59023
  return t10;
59023
59024
  }
59024
- function Q2(e13, t10, r10, n10, i10, s10) {
59025
+ function z2(e13, t10, r10, n10, i10, s10) {
59025
59026
  if (r10 === Number.POSITIVE_INFINITY)
59026
59027
  return true;
59027
59028
  let a = t10.length, o = [e13], u = [];
@@ -59033,202 +59034,202 @@ function Q2(e13, t10, r10, n10, i10, s10) {
59033
59034
  continue;
59034
59035
  }
59035
59036
  let { mode: e14, doc: l } = o.pop();
59036
- switch (i2(l)) {
59037
- case V1:
59038
- u.push(l), r10 -= _2(l);
59037
+ switch (t2(l)) {
59038
+ case R1:
59039
+ u.push(l), r10 -= I2(l);
59039
59040
  break;
59040
- case q1:
59041
- case z1: {
59042
- let t11 = O2(l);
59041
+ case U1:
59042
+ case W1: {
59043
+ let t11 = N2(l);
59043
59044
  for (let r11 = t11.length - 1; r11 >= 0; r11--)
59044
59045
  o.push({ mode: e14, doc: t11[r11] });
59045
59046
  break;
59046
59047
  }
59047
- case J1:
59048
- case W1:
59049
- case Y1:
59050
- case t2:
59048
+ case V1:
59049
+ case q1:
59050
+ case H1:
59051
+ case Q1:
59051
59052
  o.push({ mode: e14, doc: l.contents });
59052
59053
  break;
59053
- case X1:
59054
- r10 += Y2(u);
59054
+ case K1:
59055
+ r10 += H2(u);
59055
59056
  break;
59056
- case H1: {
59057
+ case J1: {
59057
59058
  if (s10 && l.break)
59058
59059
  return false;
59059
- let t11 = l.break ? J2 : e14, r11 = l.expandedStates && t11 === J2 ? w2(false, l.expandedStates, -1) : l.contents;
59060
+ let t11 = l.break ? V2 : e14, r11 = l.expandedStates && t11 === V2 ? A2(false, l.expandedStates, -1) : l.contents;
59060
59061
  o.push({ mode: t11, doc: r11 });
59061
59062
  break;
59062
59063
  }
59063
- case G1: {
59064
- let t11 = (l.groupId ? i10[l.groupId] || W2 : e14) === J2 ? l.breakContents : l.flatContents;
59064
+ case X1: {
59065
+ let t11 = (l.groupId ? i10[l.groupId] || q2 : e14) === V2 ? l.breakContents : l.flatContents;
59065
59066
  t11 && o.push({ mode: e14, doc: t11 });
59066
59067
  break;
59067
59068
  }
59068
- case e22:
59069
- if (e14 === J2 || l.hard)
59069
+ case Y1:
59070
+ if (e14 === V2 || l.hard)
59070
59071
  return true;
59071
59072
  l.soft || (u.push(" "), r10--);
59072
59073
  break;
59073
- case Q1:
59074
+ case z1:
59074
59075
  n10 = true;
59075
59076
  break;
59076
- case Z1:
59077
+ case G1:
59077
59078
  if (n10)
59078
59079
  return false;
59079
59080
  }
59080
59081
  }
59081
59082
  return false;
59082
59083
  }
59083
- function Z2(e13, t10) {
59084
- let r10 = {}, n10 = t10.printWidth, i10 = k2(t10.endOfLine), s10 = 0, a = [{ ind: { value: "", length: 0, queue: [] }, mode: J2, doc: e13 }], o = [], u = false, l = [], c10 = 0;
59084
+ function G2(e13, t10) {
59085
+ let r10 = {}, n10 = t10.printWidth, i10 = D2(t10.endOfLine), s10 = 0, a = [{ ind: { value: "", length: 0, queue: [] }, mode: V2, doc: e13 }], o = [], u = false, l = [], c10 = 0;
59085
59086
  for (function(e14) {
59086
59087
  let t11 = /* @__PURE__ */ new Set(), r11 = [];
59087
- l2(e14, function(e15) {
59088
- if (e15.type === r2 && j2(r11), e15.type === H1) {
59088
+ a2(e14, function(e15) {
59089
+ if (e15.type === Z1 && L2(r11), e15.type === J1) {
59089
59090
  if (r11.push(e15), t11.has(e15))
59090
59091
  return false;
59091
59092
  t11.add(e15);
59092
59093
  }
59093
59094
  }, function(e15) {
59094
- e15.type === H1 && r11.pop().break && j2(r11);
59095
+ e15.type === J1 && r11.pop().break && L2(r11);
59095
59096
  }, true);
59096
59097
  }(e13); a.length > 0; ) {
59097
59098
  let { ind: e14, mode: p11, doc: d10 } = a.pop();
59098
- switch (i2(d10)) {
59099
- case V1: {
59100
- let e15 = "\n" !== i10 ? U1(false, d10, "\n", i10) : d10;
59101
- o.push(e15), a.length > 0 && (s10 += _2(e15));
59099
+ switch (t2(d10)) {
59100
+ case R1: {
59101
+ let e15 = "\n" !== i10 ? B1(false, d10, "\n", i10) : d10;
59102
+ o.push(e15), a.length > 0 && (s10 += I2(e15));
59102
59103
  break;
59103
59104
  }
59104
- case q1:
59105
+ case U1:
59105
59106
  for (let t11 = d10.length - 1; t11 >= 0; t11--)
59106
59107
  a.push({ ind: e14, mode: p11, doc: d10[t11] });
59107
59108
  break;
59108
- case K1:
59109
+ case $1:
59109
59110
  if (c10 >= 2)
59110
59111
  throw new Error("There are too many 'cursor' in doc.");
59111
- o.push(X2), c10++;
59112
+ o.push(K2), c10++;
59112
59113
  break;
59113
- case J1:
59114
- a.push({ ind: H2(e14, t10), mode: p11, doc: d10.contents });
59114
+ case V1:
59115
+ a.push({ ind: J2(e14, t10), mode: p11, doc: d10.contents });
59115
59116
  break;
59116
- case W1:
59117
- a.push({ ind: z2(e14, d10.n, t10), mode: p11, doc: d10.contents });
59117
+ case q1:
59118
+ a.push({ ind: W2(e14, d10.n, t10), mode: p11, doc: d10.contents });
59118
59119
  break;
59119
- case X1:
59120
- s10 -= Y2(o);
59120
+ case K1:
59121
+ s10 -= H2(o);
59121
59122
  break;
59122
- case H1:
59123
+ case J1:
59123
59124
  switch (p11) {
59124
- case W2:
59125
+ case q2:
59125
59126
  if (!u) {
59126
- a.push({ ind: e14, mode: d10.break ? J2 : W2, doc: d10.contents });
59127
+ a.push({ ind: e14, mode: d10.break ? V2 : q2, doc: d10.contents });
59127
59128
  break;
59128
59129
  }
59129
- case J2: {
59130
+ case V2: {
59130
59131
  u = false;
59131
- let t11 = { ind: e14, mode: W2, doc: d10.contents }, i11 = n10 - s10, o10 = l.length > 0;
59132
- if (!d10.break && Q2(t11, a, i11, o10, r10))
59132
+ let t11 = { ind: e14, mode: q2, doc: d10.contents }, i11 = n10 - s10, o10 = l.length > 0;
59133
+ if (!d10.break && z2(t11, a, i11, o10, r10))
59133
59134
  a.push(t11);
59134
59135
  else if (d10.expandedStates) {
59135
- let t12 = w2(false, d10.expandedStates, -1);
59136
+ let t12 = A2(false, d10.expandedStates, -1);
59136
59137
  if (d10.break) {
59137
- a.push({ ind: e14, mode: J2, doc: t12 });
59138
+ a.push({ ind: e14, mode: V2, doc: t12 });
59138
59139
  break;
59139
59140
  }
59140
59141
  for (let n11 = 1; n11 < d10.expandedStates.length + 1; n11++) {
59141
59142
  if (n11 >= d10.expandedStates.length) {
59142
- a.push({ ind: e14, mode: J2, doc: t12 });
59143
+ a.push({ ind: e14, mode: V2, doc: t12 });
59143
59144
  break;
59144
59145
  }
59145
59146
  {
59146
- let t13 = d10.expandedStates[n11], s11 = { ind: e14, mode: W2, doc: t13 };
59147
- if (Q2(s11, a, i11, o10, r10)) {
59147
+ let t13 = d10.expandedStates[n11], s11 = { ind: e14, mode: q2, doc: t13 };
59148
+ if (z2(s11, a, i11, o10, r10)) {
59148
59149
  a.push(s11);
59149
59150
  break;
59150
59151
  }
59151
59152
  }
59152
59153
  }
59153
59154
  } else
59154
- a.push({ ind: e14, mode: J2, doc: d10.contents });
59155
+ a.push({ ind: e14, mode: V2, doc: d10.contents });
59155
59156
  break;
59156
59157
  }
59157
59158
  }
59158
- d10.id && (r10[d10.id] = w2(false, a, -1).mode);
59159
+ d10.id && (r10[d10.id] = A2(false, a, -1).mode);
59159
59160
  break;
59160
- case z1: {
59161
+ case W1: {
59161
59162
  let t11 = n10 - s10, { parts: i11 } = d10;
59162
59163
  if (0 === i11.length)
59163
59164
  break;
59164
- let [o10, u10] = i11, c11 = { ind: e14, mode: W2, doc: o10 }, h10 = { ind: e14, mode: J2, doc: o10 }, f10 = Q2(c11, [], t11, l.length > 0, r10, true);
59165
+ let [o10, u10] = i11, c11 = { ind: e14, mode: q2, doc: o10 }, h10 = { ind: e14, mode: V2, doc: o10 }, f10 = z2(c11, [], t11, l.length > 0, r10, true);
59165
59166
  if (1 === i11.length) {
59166
59167
  f10 ? a.push(c11) : a.push(h10);
59167
59168
  break;
59168
59169
  }
59169
- let m10 = { ind: e14, mode: W2, doc: u10 }, y10 = { ind: e14, mode: J2, doc: u10 };
59170
+ let m10 = { ind: e14, mode: q2, doc: u10 }, y10 = { ind: e14, mode: V2, doc: u10 };
59170
59171
  if (2 === i11.length) {
59171
59172
  f10 ? a.push(m10, c11) : a.push(y10, h10);
59172
59173
  break;
59173
59174
  }
59174
59175
  i11.splice(0, 2);
59175
- let g10 = { ind: e14, mode: p11, doc: f2(i11) }, x10 = i11[0];
59176
- Q2({ ind: e14, mode: W2, doc: [o10, u10, x10] }, [], t11, l.length > 0, r10, true) ? a.push(g10, m10, c11) : f10 ? a.push(g10, y10, c11) : a.push(g10, y10, h10);
59176
+ let g10 = { ind: e14, mode: p11, doc: p2(i11) }, x10 = i11[0];
59177
+ z2({ ind: e14, mode: q2, doc: [o10, u10, x10] }, [], t11, l.length > 0, r10, true) ? a.push(g10, m10, c11) : f10 ? a.push(g10, y10, c11) : a.push(g10, y10, h10);
59177
59178
  break;
59178
59179
  }
59179
- case G1:
59180
- case Y1: {
59180
+ case X1:
59181
+ case H1: {
59181
59182
  let t11 = d10.groupId ? r10[d10.groupId] : p11;
59182
- if (t11 === J2) {
59183
- let t12 = d10.type === G1 ? d10.breakContents : d10.negate ? d10.contents : p2(d10.contents);
59183
+ if (t11 === V2) {
59184
+ let t12 = d10.type === X1 ? d10.breakContents : d10.negate ? d10.contents : u2(d10.contents);
59184
59185
  t12 && a.push({ ind: e14, mode: p11, doc: t12 });
59185
59186
  }
59186
- if (t11 === W2) {
59187
- let t12 = d10.type === G1 ? d10.flatContents : d10.negate ? p2(d10.contents) : d10.contents;
59187
+ if (t11 === q2) {
59188
+ let t12 = d10.type === X1 ? d10.flatContents : d10.negate ? u2(d10.contents) : d10.contents;
59188
59189
  t12 && a.push({ ind: e14, mode: p11, doc: t12 });
59189
59190
  }
59190
59191
  break;
59191
59192
  }
59192
- case Q1:
59193
+ case z1:
59193
59194
  l.push({ ind: e14, mode: p11, doc: d10.contents });
59194
59195
  break;
59195
- case Z1:
59196
- l.length > 0 && a.push({ ind: e14, mode: p11, doc: b2 });
59196
+ case G1:
59197
+ l.length > 0 && a.push({ ind: e14, mode: p11, doc: y2 });
59197
59198
  break;
59198
- case e22:
59199
+ case Y1:
59199
59200
  switch (p11) {
59200
- case W2:
59201
+ case q2:
59201
59202
  if (!d10.hard) {
59202
59203
  d10.soft || (o.push(" "), s10 += 1);
59203
59204
  break;
59204
59205
  }
59205
59206
  u = true;
59206
- case J2:
59207
+ case V2:
59207
59208
  if (l.length > 0) {
59208
59209
  a.push({ ind: e14, mode: p11, doc: d10 }, ...l.reverse()), l.length = 0;
59209
59210
  break;
59210
59211
  }
59211
- d10.literal ? e14.root ? (o.push(i10, e14.root.value), s10 = e14.root.length) : (o.push(i10), s10 = 0) : (s10 -= Y2(o), o.push(i10 + e14.value), s10 = e14.length);
59212
+ d10.literal ? e14.root ? (o.push(i10, e14.root.value), s10 = e14.root.length) : (o.push(i10), s10 = 0) : (s10 -= H2(o), o.push(i10 + e14.value), s10 = e14.length);
59212
59213
  }
59213
59214
  break;
59214
- case t2:
59215
+ case Q1:
59215
59216
  a.push({ ind: e14, mode: p11, doc: d10.contents });
59216
59217
  break;
59217
- case r2:
59218
+ case Z1:
59218
59219
  break;
59219
59220
  default:
59220
- throw new o2(d10);
59221
+ throw new i2(d10);
59221
59222
  }
59222
59223
  0 === a.length && l.length > 0 && (a.push(...l.reverse()), l.length = 0);
59223
59224
  }
59224
- let p10 = o.indexOf(X2);
59225
+ let p10 = o.indexOf(K2);
59225
59226
  if (-1 !== p10) {
59226
- let e14 = o.indexOf(X2, p10 + 1), t11 = o.slice(0, p10).join(""), r11 = o.slice(p10 + 1, e14).join("");
59227
+ let e14 = o.indexOf(K2, p10 + 1), t11 = o.slice(0, p10).join(""), r11 = o.slice(p10 + 1, e14).join("");
59227
59228
  return { formatted: t11 + r11 + o.slice(e14 + 1).join(""), cursorNodeStart: t11.length, cursorNodeText: r11 };
59228
59229
  }
59229
59230
  return { formatted: o.join("") };
59230
59231
  }
59231
- function e32(e13) {
59232
+ function Y2(e13) {
59232
59233
  var t10;
59233
59234
  if (!e13)
59234
59235
  return "";
@@ -59236,51 +59237,51 @@ function e32(e13) {
59236
59237
  let t11 = [];
59237
59238
  for (let r10 of e13)
59238
59239
  if (Array.isArray(r10))
59239
- t11.push(...e32(r10));
59240
+ t11.push(...Y2(r10));
59240
59241
  else {
59241
- let e14 = e32(r10);
59242
+ let e14 = Y2(r10);
59242
59243
  "" !== e14 && t11.push(e14);
59243
59244
  }
59244
59245
  return t11;
59245
59246
  }
59246
- return e13.type === G1 ? { ...e13, breakContents: e32(e13.breakContents), flatContents: e32(e13.flatContents) } : e13.type === H1 ? { ...e13, contents: e32(e13.contents), expandedStates: null == (t10 = e13.expandedStates) ? void 0 : t10.map(e32) } : e13.type === z1 ? { type: "fill", parts: e13.parts.map(e32) } : e13.contents ? { ...e13, contents: e32(e13.contents) } : e13;
59247
+ return e13.type === X1 ? { ...e13, breakContents: Y2(e13.breakContents), flatContents: Y2(e13.flatContents) } : e13.type === J1 ? { ...e13, contents: Y2(e13.contents), expandedStates: null == (t10 = e13.expandedStates) ? void 0 : t10.map(Y2) } : e13.type === W1 ? { type: "fill", parts: e13.parts.map(Y2) } : e13.contents ? { ...e13, contents: Y2(e13.contents) } : e13;
59247
59248
  }
59248
- var t3 = function(e13, t10, r10 = 0) {
59249
+ var Q2 = function(e13, t10, r10 = 0) {
59249
59250
  let n10 = 0;
59250
59251
  for (let i10 = r10; i10 < e13.length; ++i10)
59251
59252
  " " === e13[i10] ? n10 = n10 + t10 - n10 % t10 : n10++;
59252
59253
  return n10;
59253
59254
  };
59254
- var r3 = class extends Error {
59255
+ var Z2 = class extends Error {
59255
59256
  constructor() {
59256
59257
  super(...arguments);
59257
59258
  __publicField(this, "name", "ConfigError");
59258
59259
  }
59259
59260
  };
59260
- var n3 = class extends Error {
59261
+ var e32 = class extends Error {
59261
59262
  constructor() {
59262
59263
  super(...arguments);
59263
59264
  __publicField(this, "name", "UndefinedParserError");
59264
59265
  }
59265
59266
  };
59266
- var i3 = { cursorOffset: { category: "Special", type: "int", default: -1, range: { start: -1, end: 1 / 0, step: 1 }, description: "Print (to stderr) where a cursor at the given position would move to after formatting.\nThis option cannot be used with --range-start and --range-end.", cliCategory: "Editor" }, endOfLine: { category: "Global", type: "choice", default: "lf", description: "Which end of line characters to apply.", choices: [{ value: "lf", description: "Line Feed only (\\n), common on Linux and macOS as well as inside git repos" }, { value: "crlf", description: "Carriage Return + Line Feed characters (\\r\\n), common on Windows" }, { value: "cr", description: "Carriage Return character only (\\r), used very rarely" }, { value: "auto", description: "Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)" }] }, filepath: { category: "Special", type: "path", description: "Specify the input filepath. This will be used to do parser inference.", cliName: "stdin-filepath", cliCategory: "Other", cliDescription: "Path to the file to pretend that stdin comes from." }, insertPragma: { category: "Special", type: "boolean", default: false, description: "Insert @format pragma into file's first docblock comment.", cliCategory: "Other" }, parser: { category: "Global", type: "choice", default: void 0, description: "Which parser to use.", exception: (e13) => "string" == typeof e13 || "function" == typeof e13, choices: [{ value: "flow", description: "Flow" }, { value: "babel", description: "JavaScript" }, { value: "babel-flow", description: "Flow" }, { value: "babel-ts", description: "TypeScript" }, { value: "typescript", description: "TypeScript" }, { value: "acorn", description: "JavaScript" }, { value: "espree", description: "JavaScript" }, { value: "meriyah", description: "JavaScript" }, { value: "css", description: "CSS" }, { value: "less", description: "Less" }, { value: "scss", description: "SCSS" }, { value: "json", description: "JSON" }, { value: "json5", description: "JSON5" }, { value: "json-stringify", description: "JSON.stringify" }, { value: "graphql", description: "GraphQL" }, { value: "markdown", description: "Markdown" }, { value: "mdx", description: "MDX" }, { value: "vue", description: "Vue" }, { value: "yaml", description: "YAML" }, { value: "glimmer", description: "Ember / Handlebars" }, { value: "html", description: "HTML" }, { value: "angular", description: "Angular" }, { value: "lwc", description: "Lightning Web Components" }] }, plugins: { type: "path", array: true, default: [{ value: [] }], category: "Global", description: "Add a plugin. Multiple plugins can be passed as separate `--plugin`s.", exception: (e13) => "string" == typeof e13 || "object" == typeof e13, cliName: "plugin", cliCategory: "Config" }, printWidth: { category: "Global", type: "int", default: 80, description: "The line length where Prettier will try wrap.", range: { start: 0, end: 1 / 0, step: 1 } }, rangeEnd: { category: "Special", type: "int", default: 1 / 0, range: { start: 0, end: 1 / 0, step: 1 }, description: "Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.\nThis option cannot be used with --cursor-offset.", cliCategory: "Editor" }, rangeStart: { category: "Special", type: "int", default: 0, range: { start: 0, end: 1 / 0, step: 1 }, description: "Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.\nThis option cannot be used with --cursor-offset.", cliCategory: "Editor" }, requirePragma: { category: "Special", type: "boolean", default: false, description: "Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.", cliCategory: "Other" }, tabWidth: { type: "int", category: "Global", default: 2, description: "Number of spaces per indentation level.", range: { start: 0, end: 1 / 0, step: 1 } }, useTabs: { category: "Global", type: "boolean", default: false, description: "Indent with tabs instead of spaces." }, embeddedLanguageFormatting: { category: "Global", type: "choice", default: "auto", description: "Control how Prettier formats quoted code embedded in the file.", choices: [{ value: "auto", description: "Format embedded code if Prettier can automatically identify it." }, { value: "off", description: "Never automatically format embedded code." }] } };
59267
- function s3({ plugins: e13 = [], showDeprecated: t10 = false } = {}) {
59267
+ var t3 = { cursorOffset: { category: "Special", type: "int", default: -1, range: { start: -1, end: 1 / 0, step: 1 }, description: "Print (to stderr) where a cursor at the given position would move to after formatting.\nThis option cannot be used with --range-start and --range-end.", cliCategory: "Editor" }, endOfLine: { category: "Global", type: "choice", default: "lf", description: "Which end of line characters to apply.", choices: [{ value: "lf", description: "Line Feed only (\\n), common on Linux and macOS as well as inside git repos" }, { value: "crlf", description: "Carriage Return + Line Feed characters (\\r\\n), common on Windows" }, { value: "cr", description: "Carriage Return character only (\\r), used very rarely" }, { value: "auto", description: "Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)" }] }, filepath: { category: "Special", type: "path", description: "Specify the input filepath. This will be used to do parser inference.", cliName: "stdin-filepath", cliCategory: "Other", cliDescription: "Path to the file to pretend that stdin comes from." }, insertPragma: { category: "Special", type: "boolean", default: false, description: "Insert @format pragma into file's first docblock comment.", cliCategory: "Other" }, parser: { category: "Global", type: "choice", default: void 0, description: "Which parser to use.", exception: (e13) => "string" == typeof e13 || "function" == typeof e13, choices: [{ value: "flow", description: "Flow" }, { value: "babel", description: "JavaScript" }, { value: "babel-flow", description: "Flow" }, { value: "babel-ts", description: "TypeScript" }, { value: "typescript", description: "TypeScript" }, { value: "acorn", description: "JavaScript" }, { value: "espree", description: "JavaScript" }, { value: "meriyah", description: "JavaScript" }, { value: "css", description: "CSS" }, { value: "less", description: "Less" }, { value: "scss", description: "SCSS" }, { value: "json", description: "JSON" }, { value: "json5", description: "JSON5" }, { value: "json-stringify", description: "JSON.stringify" }, { value: "graphql", description: "GraphQL" }, { value: "markdown", description: "Markdown" }, { value: "mdx", description: "MDX" }, { value: "vue", description: "Vue" }, { value: "yaml", description: "YAML" }, { value: "glimmer", description: "Ember / Handlebars" }, { value: "html", description: "HTML" }, { value: "angular", description: "Angular" }, { value: "lwc", description: "Lightning Web Components" }] }, plugins: { type: "path", array: true, default: [{ value: [] }], category: "Global", description: "Add a plugin. Multiple plugins can be passed as separate `--plugin`s.", exception: (e13) => "string" == typeof e13 || "object" == typeof e13, cliName: "plugin", cliCategory: "Config" }, printWidth: { category: "Global", type: "int", default: 80, description: "The line length where Prettier will try wrap.", range: { start: 0, end: 1 / 0, step: 1 } }, rangeEnd: { category: "Special", type: "int", default: 1 / 0, range: { start: 0, end: 1 / 0, step: 1 }, description: "Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.\nThis option cannot be used with --cursor-offset.", cliCategory: "Editor" }, rangeStart: { category: "Special", type: "int", default: 0, range: { start: 0, end: 1 / 0, step: 1 }, description: "Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.\nThis option cannot be used with --cursor-offset.", cliCategory: "Editor" }, requirePragma: { category: "Special", type: "boolean", default: false, description: "Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.", cliCategory: "Other" }, tabWidth: { type: "int", category: "Global", default: 2, description: "Number of spaces per indentation level.", range: { start: 0, end: 1 / 0, step: 1 } }, useTabs: { category: "Global", type: "boolean", default: false, description: "Indent with tabs instead of spaces." }, embeddedLanguageFormatting: { category: "Global", type: "choice", default: "auto", description: "Control how Prettier formats quoted code embedded in the file.", choices: [{ value: "auto", description: "Format embedded code if Prettier can automatically identify it." }, { value: "off", description: "Never automatically format embedded code." }] } };
59268
+ function r3({ plugins: e13 = [], showDeprecated: t10 = false } = {}) {
59268
59269
  let r10 = e13.flatMap((e14) => e14.languages ?? []), n10 = [];
59269
59270
  for (let i10 of function(e14) {
59270
59271
  let t11 = [];
59271
59272
  for (let [r11, n11] of Object.entries(e14)) {
59272
59273
  let e15 = { name: r11, ...n11 };
59273
- Array.isArray(e15.default) && (e15.default = w2(false, e15.default, -1).value), t11.push(e15);
59274
+ Array.isArray(e15.default) && (e15.default = A2(false, e15.default, -1).value), t11.push(e15);
59274
59275
  }
59275
59276
  return t11;
59276
- }(Object.assign({}, ...e13.map(({ options: e14 }) => e14), i3)))
59277
- !t10 && i10.deprecated || (Array.isArray(i10.choices) && (t10 || (i10.choices = i10.choices.filter((e14) => !e14.deprecated)), "parser" === i10.name && (i10.choices = [...i10.choices, ...a3(i10.choices, r10, e13)])), i10.pluginDefaults = Object.fromEntries(e13.filter((e14) => {
59277
+ }(Object.assign({}, ...e13.map(({ options: e14 }) => e14), t3)))
59278
+ !t10 && i10.deprecated || (Array.isArray(i10.choices) && (t10 || (i10.choices = i10.choices.filter((e14) => !e14.deprecated)), "parser" === i10.name && (i10.choices = [...i10.choices, ...n3(i10.choices, r10, e13)])), i10.pluginDefaults = Object.fromEntries(e13.filter((e14) => {
59278
59279
  var t11;
59279
59280
  return void 0 !== (null == (t11 = e14.defaultOptions) ? void 0 : t11[i10.name]);
59280
59281
  }).map((e14) => [e14.name, e14.defaultOptions[i10.name]])), n10.push(i10));
59281
59282
  return { languages: r10, options: n10 };
59282
59283
  }
59283
- function* a3(e13, t10, r10) {
59284
+ function* n3(e13, t10, r10) {
59284
59285
  let n10 = new Set(e13.map((e14) => e14.value));
59285
59286
  for (let e14 of t10)
59286
59287
  if (e14.parsers) {
@@ -59292,54 +59293,54 @@ function* a3(e13, t10, r10) {
59292
59293
  }
59293
59294
  }
59294
59295
  }
59295
- var o3 = (e13) => e13.split(/[/\\]/).pop();
59296
- function u3(e13, t10) {
59296
+ var i3 = (e13) => e13.split(/[/\\]/).pop();
59297
+ function s3(e13, t10) {
59297
59298
  if (!t10)
59298
59299
  return;
59299
- let r10 = o3(t10).toLowerCase();
59300
+ let r10 = i3(t10).toLowerCase();
59300
59301
  return e13.find((e14) => {
59301
59302
  var t11, n10;
59302
59303
  return (null == (t11 = e14.extensions) ? void 0 : t11.some((e15) => r10.endsWith(e15))) || (null == (n10 = e14.filenames) ? void 0 : n10.some((e15) => e15.toLowerCase() === r10));
59303
59304
  });
59304
59305
  }
59305
- var l3 = function(e13, t10) {
59306
+ var a3 = function(e13, t10) {
59306
59307
  let r10 = e13.plugins.flatMap((e14) => e14.languages ?? []), n10 = function(e14, t11) {
59307
59308
  if (t11)
59308
59309
  return e14.find(({ name: e15 }) => e15.toLowerCase() === t11) ?? e14.find(({ aliases: e15 }) => null == e15 ? void 0 : e15.includes(t11)) ?? e14.find(({ extensions: e15 }) => null == e15 ? void 0 : e15.includes(`.${t11}`));
59309
- }(r10, t10.language) ?? u3(r10, t10.physicalFile) ?? u3(r10, t10.file) ?? void t10.physicalFile;
59310
+ }(r10, t10.language) ?? s3(r10, t10.physicalFile) ?? s3(r10, t10.file) ?? void t10.physicalFile;
59310
59311
  return null == n10 ? void 0 : n10.parsers[0];
59311
59312
  };
59312
- var c3 = { key: (e13) => /^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e13) ? e13 : JSON.stringify(e13), value(e13) {
59313
+ var o3 = { key: (e13) => /^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e13) ? e13 : JSON.stringify(e13), value(e13) {
59313
59314
  if (null === e13 || "object" != typeof e13)
59314
59315
  return JSON.stringify(e13);
59315
59316
  if (Array.isArray(e13))
59316
- return `[${e13.map((e14) => c3.value(e14)).join(", ")}]`;
59317
+ return `[${e13.map((e14) => o3.value(e14)).join(", ")}]`;
59317
59318
  let t10 = Object.keys(e13);
59318
- return 0 === t10.length ? "{}" : `{ ${t10.map((t11) => `${c3.key(t11)}: ${c3.value(e13[t11])}`).join(", ")} }`;
59319
- }, pair: ({ key: e13, value: t10 }) => c3.value({ [e13]: t10 }) };
59320
- O1();
59321
- O1();
59322
- var p3 = Symbol.for("vnopts.VALUE_NOT_EXIST");
59323
- var d3 = Symbol.for("vnopts.VALUE_UNCHANGED");
59324
- var h3 = " ".repeat(2);
59325
- function f3(e13, t10, r10, n10) {
59326
- return [`Invalid ${x1.red(n10.key(e13))} value.`, `Expected ${x1.blue(r10)},`, `but received ${t10 === p3 ? x1.gray("nothing") : x1.red(n10.value(t10))}.`].join(" ");
59327
- }
59328
- function m3({ text: e13, list: t10 }, r10) {
59319
+ return 0 === t10.length ? "{}" : `{ ${t10.map((t11) => `${o3.key(t11)}: ${o3.value(e13[t11])}`).join(", ")} }`;
59320
+ }, pair: ({ key: e13, value: t10 }) => o3.value({ [e13]: t10 }) };
59321
+ var u3 = D1(N1(), 1);
59322
+ var l3 = D1(N1(), 1);
59323
+ var c3 = Symbol.for("vnopts.VALUE_NOT_EXIST");
59324
+ var p3 = Symbol.for("vnopts.VALUE_UNCHANGED");
59325
+ var d3 = " ".repeat(2);
59326
+ function h3(e13, t10, r10, n10) {
59327
+ return [`Invalid ${l3.default.red(n10.key(e13))} value.`, `Expected ${l3.default.blue(r10)},`, `but received ${t10 === c3 ? l3.default.gray("nothing") : l3.default.red(n10.value(t10))}.`].join(" ");
59328
+ }
59329
+ function f3({ text: e13, list: t10 }, r10) {
59329
59330
  let n10 = [];
59330
- return e13 && n10.push(`- ${x1.blue(e13)}`), t10 && n10.push([`- ${x1.blue(t10.title)}:`].concat(t10.values.map((e14) => m3(e14, r10 - h3.length).replace(/^|\n/g, `$&${h3}`))).join("\n")), y3(n10, r10);
59331
+ return e13 && n10.push(`- ${l3.default.blue(e13)}`), t10 && n10.push([`- ${l3.default.blue(t10.title)}:`].concat(t10.values.map((e14) => f3(e14, r10 - d3.length).replace(/^|\n/g, `$&${d3}`))).join("\n")), m3(n10, r10);
59331
59332
  }
59332
- function y3(e13, t10) {
59333
+ function m3(e13, t10) {
59333
59334
  if (1 === e13.length)
59334
59335
  return e13[0];
59335
59336
  let [r10, n10] = e13, [i10, s10] = e13.map((e14) => e14.split("\n", 1)[0].length);
59336
59337
  return i10 > t10 && i10 > s10 ? n10 : r10;
59337
59338
  }
59338
- O1();
59339
+ var y3 = D1(N1(), 1);
59339
59340
  var g3 = [];
59340
59341
  var x3 = [];
59341
59342
  var b3 = (e13, t10, { descriptor: r10, logger: n10, schemas: i10 }) => {
59342
- let s10 = [`Ignored unknown option ${x1.yellow(r10.pair({ key: e13, value: t10 }))}.`], a = Object.keys(i10).sort().find((t11) => function(e14, t12) {
59343
+ let s10 = [`Ignored unknown option ${y3.default.yellow(r10.pair({ key: e13, value: t10 }))}.`], a = Object.keys(i10).sort().find((t11) => function(e14, t12) {
59343
59344
  if (e14 === t12)
59344
59345
  return 0;
59345
59346
  let r11 = e14;
@@ -59360,7 +59361,7 @@ var b3 = (e13, t10, { descriptor: r10, logger: n10, schemas: i10 }) => {
59360
59361
  l = a10 === x3[c10] ? u : u + 1, u = g3[c10], o = g3[c10] = u > o ? l > o ? o + 1 : l : l > u ? u + 1 : l;
59361
59362
  return o;
59362
59363
  }(e13, t11) < 3);
59363
- a && s10.push(`Did you mean ${x1.blue(r10.key(a))}?`), n10.warn(s10.join(" "));
59364
+ a && s10.push(`Did you mean ${y3.default.blue(r10.key(a))}?`), n10.warn(s10.join(" "));
59364
59365
  };
59365
59366
  var S3 = ["default", "expected", "validate", "deprecated", "forward", "redirect", "overlap", "preprocess", "postprocess"];
59366
59367
  var T3 = class {
@@ -59397,7 +59398,7 @@ var T3 = class {
59397
59398
  return e13;
59398
59399
  }
59399
59400
  postprocess(e13, t10) {
59400
- return d3;
59401
+ return p3;
59401
59402
  }
59402
59403
  };
59403
59404
  function E3(e13, t10, r10) {
@@ -59585,15 +59586,15 @@ var $3 = class extends T3 {
59585
59586
  return "string" == typeof e13;
59586
59587
  }
59587
59588
  };
59588
- var V3 = c3;
59589
+ var V3 = o3;
59589
59590
  var q3 = b3;
59590
59591
  var K3 = (e13, t10, r10) => {
59591
59592
  let { text: n10, list: i10 } = r10.normalizeExpectedResult(r10.schemas[e13].expected(r10)), s10 = [];
59592
- return n10 && s10.push(f3(e13, t10, n10, r10.descriptor)), i10 && s10.push([f3(e13, t10, i10.title, r10.descriptor)].concat(i10.values.map((e14) => m3(e14, r10.loggerPrintWidth))).join("\n")), y3(s10, r10.loggerPrintWidth);
59593
+ return n10 && s10.push(h3(e13, t10, n10, r10.descriptor)), i10 && s10.push([h3(e13, t10, i10.title, r10.descriptor)].concat(i10.values.map((e14) => f3(e14, r10.loggerPrintWidth))).join("\n")), m3(s10, r10.loggerPrintWidth);
59593
59594
  };
59594
59595
  var J3 = (e13, t10, { descriptor: r10 }) => {
59595
- let n10 = [`${x1.yellow("string" == typeof e13 ? r10.key(e13) : r10.pair(e13))} is deprecated`];
59596
- return t10 && n10.push(`we now treat it as ${x1.blue("string" == typeof t10 ? r10.key(t10) : r10.pair(t10))}`), n10.join("; ") + ".";
59596
+ let n10 = [`${u3.default.yellow("string" == typeof e13 ? r10.key(e13) : r10.pair(e13))} is deprecated`];
59597
+ return t10 && n10.push(`we now treat it as ${u3.default.blue("string" == typeof t10 ? r10.key(t10) : r10.pair(t10))}`), n10.join("; ") + ".";
59597
59598
  };
59598
59599
  function W3(e13, { isCLI: t10, optionInfos: r10, FlagSchema: n10 }) {
59599
59600
  let i10, { name: s10 } = e13, a = { name: s10 }, o = {};
@@ -59619,7 +59620,7 @@ function W3(e13, { isCLI: t10, optionInfos: r10, FlagSchema: n10 }) {
59619
59620
  }
59620
59621
  if (e13.exception ? a.validate = (t11, r11, n11) => e13.exception(t11) || r11.validate(t11, n11) : a.validate = (e14, t11, r11) => void 0 === e14 || t11.validate(e14, r11), e13.redirect && (o.redirect = (t11) => t11 ? { to: { key: e13.redirect.option, value: e13.redirect.value } } : void 0), e13.deprecated && (o.deprecated = true), t10 && !e13.array) {
59621
59622
  let e14 = a.preprocess || ((e15) => e15);
59622
- a.preprocess = (t11, r11, n11) => r11.preprocess(e14(Array.isArray(t11) ? w2(false, t11, -1) : t11), n11);
59623
+ a.preprocess = (t11, r11, n11) => r11.preprocess(e14(Array.isArray(t11) ? A2(false, t11, -1) : t11), n11);
59623
59624
  }
59624
59625
  return e13.array ? A3.create({ ...t10 ? { preprocess: (e14) => Array.isArray(e14) ? e14 : [e14] } : {}, ...o, valueSchema: i10.create(a) }) : i10.create({ ...a, ...o });
59625
59626
  }
@@ -59630,7 +59631,7 @@ var X3 = function(e13, t10, { logger: r10 = false, isCLI: n10 = false, passThrou
59630
59631
  if (!a)
59631
59632
  throw new Error("'descriptor' option is required.");
59632
59633
  } else
59633
- a = c3;
59634
+ a = o3;
59634
59635
  let o = i10 ? Array.isArray(i10) ? (e14, t11) => i10.includes(e14) ? { [e14]: t11 } : void 0 : (e14, t11) => ({ [e14]: t11 }) : (e14, t11, r11) => {
59635
59636
  let { _: n11, ...i11 } = r11.schemas;
59636
59637
  return b3(e14, t11, { ...r11, schemas: i11 });
@@ -59642,7 +59643,7 @@ var X3 = function(e13, t10, { logger: r10 = false, isCLI: n10 = false, passThrou
59642
59643
  return n11;
59643
59644
  }(t10, { isCLI: n10, FlagSchema: s10 }), l = new class {
59644
59645
  constructor(e14, t11) {
59645
- let { logger: r11 = console, loggerPrintWidth: n11 = 80, descriptor: i11 = V3, unknown: s11 = q3, invalid: a10 = K3, deprecated: o10 = J3, missing: u10 = () => false, required: l10 = () => false, preprocess: c11 = (e15) => e15, postprocess: p11 = () => d3 } = t11 || {};
59646
+ let { logger: r11 = console, loggerPrintWidth: n11 = 80, descriptor: i11 = V3, unknown: s11 = q3, invalid: a10 = K3, deprecated: o10 = J3, missing: u10 = () => false, required: l10 = () => false, preprocess: c11 = (e15) => e15, postprocess: p11 = () => p3 } = t11 || {};
59646
59647
  var d10;
59647
59648
  this._utils = { descriptor: i11, logger: r11 || { warn: () => {
59648
59649
  } }, loggerPrintWidth: n11, schemas: w3(e14, "name"), normalizeDefaultResult: I3, normalizeExpectedResult: N3, normalizeDeprecatedResult: _3, normalizeForwardResult: L3, normalizeRedirectResult: M3, normalizeValidateResult: F3 }, this._unknownHandler = s11, this._invalidHandler = (d10 = a10, (...e15) => {
@@ -59679,7 +59680,7 @@ var X3 = function(e13, t10, { logger: r10 = false, isCLI: n10 = false, passThrou
59679
59680
  if (!(e15 in t11))
59680
59681
  continue;
59681
59682
  let r12 = this._utils.schemas[e15], n12 = t11[e15], i11 = r12.postprocess(n12, this._utils);
59682
- i11 !== d3 && (this._applyValidation(i11, e15, r12), t11[e15] = i11);
59683
+ i11 !== p3 && (this._applyValidation(i11, e15, r12), t11[e15] = i11);
59683
59684
  }
59684
59685
  return this._applyPostprocess(t11), this._applyRequiredCheck(t11), t11;
59685
59686
  }
@@ -59724,7 +59725,7 @@ var X3 = function(e13, t10, { logger: r10 = false, isCLI: n10 = false, passThrou
59724
59725
  _applyRequiredCheck(e14) {
59725
59726
  for (let t11 of Object.keys(this._utils.schemas))
59726
59727
  if (this._identifyMissing(t11, e14) && this._identifyRequired(t11))
59727
- throw this._invalidHandler(t11, p3, this._utils);
59728
+ throw this._invalidHandler(t11, c3, this._utils);
59728
59729
  }
59729
59730
  _partitionOptionKeys(e14) {
59730
59731
  let [t11, r11] = function(e15, t12) {
@@ -59752,7 +59753,7 @@ var X3 = function(e13, t10, { logger: r10 = false, isCLI: n10 = false, passThrou
59752
59753
  }
59753
59754
  _applyPostprocess(e14) {
59754
59755
  let t11 = this._postprocess(e14, this._utils);
59755
- if (t11 !== d3) {
59756
+ if (t11 !== p3) {
59756
59757
  if (t11.delete)
59757
59758
  for (let r11 of t11.delete)
59758
59759
  delete e14[r11];
@@ -59786,7 +59787,7 @@ function H3(e13, t10) {
59786
59787
  return n10;
59787
59788
  }
59788
59789
  let r10 = `Couldn't resolve parser "${t10}".`;
59789
- throw r10 += " Plugins must be explicitly added to the standalone bundle.", new r3(r10);
59790
+ throw r10 += " Plugins must be explicitly added to the standalone bundle.", new Z2(r10);
59790
59791
  }
59791
59792
  function z3({ plugins: e13, parser: t10 }) {
59792
59793
  return G3(H3(e13, t10), t10);
@@ -59801,11 +59802,11 @@ var Q3 = async function(e13, t10 = {}) {
59801
59802
  let n10 = { ...e13 };
59802
59803
  if (!n10.parser) {
59803
59804
  if (!n10.filepath)
59804
- throw new n3("No parser and no file path given, couldn't infer a parser.");
59805
- if (n10.parser = l3(n10, { physicalFile: n10.filepath }), !n10.parser)
59806
- throw new n3(`No parser could be inferred for file "${n10.filepath}".`);
59805
+ throw new e32("No parser and no file path given, couldn't infer a parser.");
59806
+ if (n10.parser = a3(n10, { physicalFile: n10.filepath }), !n10.parser)
59807
+ throw new e32(`No parser could be inferred for file "${n10.filepath}".`);
59807
59808
  }
59808
- let i10 = s3({ plugins: e13.plugins, showDeprecated: true }).options, s10 = { ...Y3, ...Object.fromEntries(i10.filter((e14) => void 0 !== e14.default).map((e14) => [e14.name, e14.default])) }, a = H3(n10.plugins, n10.parser), o = await G3(a, n10.parser);
59809
+ let i10 = r3({ plugins: e13.plugins, showDeprecated: true }).options, s10 = { ...Y3, ...Object.fromEntries(i10.filter((e14) => void 0 !== e14.default).map((e14) => [e14.name, e14.default])) }, a = H3(n10.plugins, n10.parser), o = await G3(a, n10.parser);
59809
59810
  n10.astFormat = o.astFormat, n10.locEnd = o.locEnd, n10.locStart = o.locStart;
59810
59811
  let u = null != (r10 = a.printers) && r10[o.astFormat] ? a : function(e14, t11) {
59811
59812
  if (!t11)
@@ -59816,7 +59817,7 @@ var Q3 = async function(e13, t10 = {}) {
59816
59817
  return n11;
59817
59818
  }
59818
59819
  let r11 = `Couldn't find plugin for AST format "${t11}".`;
59819
- throw r11 += " Plugins must be explicitly added to the standalone bundle.", new r3(r11);
59820
+ throw r11 += " Plugins must be explicitly added to the standalone bundle.", new Z2(r11);
59820
59821
  }(n10.plugins, o.astFormat), l = await function(e14, t11) {
59821
59822
  let r11 = e14.printers[t11];
59822
59823
  return "function" == typeof r11 ? r11() : r11;
@@ -59850,7 +59851,7 @@ var r4 = function(e13, t10) {
59850
59851
  return u ?? a;
59851
59852
  }(e13);
59852
59853
  };
59853
- var n4 = k1(R1(), 1);
59854
+ var n4 = D1(M1(), 1);
59854
59855
  var i4;
59855
59856
  var s4;
59856
59857
  var a4;
@@ -59887,17 +59888,17 @@ i4 = /* @__PURE__ */ new WeakSet(), s4 = function(e13) {
59887
59888
  };
59888
59889
  var l4 = class {
59889
59890
  constructor(e13) {
59890
- I1(this, i4), I1(this, a4), this.stack = [e13];
59891
+ C1(this, i4), C1(this, a4), this.stack = [e13];
59891
59892
  }
59892
59893
  get key() {
59893
59894
  let { stack: e13, siblings: t10 } = this;
59894
- return w2(false, e13, null === t10 ? -2 : -4) ?? null;
59895
+ return A2(false, e13, null === t10 ? -2 : -4) ?? null;
59895
59896
  }
59896
59897
  get index() {
59897
- return null === this.siblings ? null : w2(false, this.stack, -2);
59898
+ return null === this.siblings ? null : A2(false, this.stack, -2);
59898
59899
  }
59899
59900
  get node() {
59900
- return w2(false, this.stack, -1);
59901
+ return A2(false, this.stack, -1);
59901
59902
  }
59902
59903
  get parent() {
59903
59904
  return this.getNode(1);
@@ -59909,7 +59910,7 @@ var l4 = class {
59909
59910
  return null !== this.siblings;
59910
59911
  }
59911
59912
  get siblings() {
59912
- let { stack: e13 } = this, t10 = w2(false, e13, -3);
59913
+ let { stack: e13 } = this, t10 = A2(false, e13, -3);
59913
59914
  return Array.isArray(t10) ? t10 : null;
59914
59915
  }
59915
59916
  get next() {
@@ -59934,24 +59935,24 @@ var l4 = class {
59934
59935
  return this.stack[0];
59935
59936
  }
59936
59937
  get ancestors() {
59937
- return [...N1(this, a4, o4).call(this)];
59938
+ return [...w1(this, a4, o4).call(this)];
59938
59939
  }
59939
59940
  getName() {
59940
59941
  let { stack: e13 } = this, { length: t10 } = e13;
59941
- return t10 > 1 ? w2(false, e13, -2) : null;
59942
+ return t10 > 1 ? A2(false, e13, -2) : null;
59942
59943
  }
59943
59944
  getValue() {
59944
- return w2(false, this.stack, -1);
59945
+ return A2(false, this.stack, -1);
59945
59946
  }
59946
59947
  getNode(e13 = 0) {
59947
- let t10 = N1(this, i4, s4).call(this, e13);
59948
+ let t10 = w1(this, i4, s4).call(this, e13);
59948
59949
  return -1 === t10 ? null : this.stack[t10];
59949
59950
  }
59950
59951
  getParentNode(e13 = 0) {
59951
59952
  return this.getNode(e13 + 1);
59952
59953
  }
59953
59954
  call(e13, ...t10) {
59954
- let { stack: r10 } = this, { length: n10 } = r10, i10 = w2(false, r10, -1);
59955
+ let { stack: r10 } = this, { length: n10 } = r10, i10 = A2(false, r10, -1);
59955
59956
  for (let e14 of t10)
59956
59957
  i10 = i10[e14], r10.push(e14, i10);
59957
59958
  try {
@@ -59961,7 +59962,7 @@ var l4 = class {
59961
59962
  }
59962
59963
  }
59963
59964
  callParent(e13, t10 = 0) {
59964
- let r10 = N1(this, i4, s4).call(this, t10 + 1), n10 = this.stack.splice(r10 + 1);
59965
+ let r10 = w1(this, i4, s4).call(this, t10 + 1), n10 = this.stack.splice(r10 + 1);
59965
59966
  try {
59966
59967
  return e13(this);
59967
59968
  } finally {
@@ -59969,7 +59970,7 @@ var l4 = class {
59969
59970
  }
59970
59971
  }
59971
59972
  each(e13, ...t10) {
59972
- let { stack: r10 } = this, { length: n10 } = r10, i10 = w2(false, r10, -1);
59973
+ let { stack: r10 } = this, { length: n10 } = r10, i10 = A2(false, r10, -1);
59973
59974
  for (let e14 of t10)
59974
59975
  i10 = i10[e14], r10.push(e14, i10);
59975
59976
  try {
@@ -59998,20 +59999,19 @@ var l4 = class {
59998
59999
  return true;
59999
60000
  }
60000
60001
  findAncestor(e13) {
60001
- for (let t10 of N1(this, a4, o4).call(this))
60002
+ for (let t10 of w1(this, a4, o4).call(this))
60002
60003
  if (e13(t10))
60003
60004
  return t10;
60004
60005
  }
60005
60006
  hasAncestor(e13) {
60006
- for (let t10 of N1(this, a4, o4).call(this))
60007
+ for (let t10 of w1(this, a4, o4).call(this))
60007
60008
  if (e13(t10))
60008
60009
  return true;
60009
60010
  return false;
60010
60011
  }
60011
60012
  };
60012
- var c4 = () => {
60013
- };
60014
- c4.ok = c4, c4.strictEqual = c4;
60013
+ var c4 = new Proxy(() => {
60014
+ }, { get: () => c4 });
60015
60015
  var p4 = c4;
60016
60016
  function d4(e13) {
60017
60017
  return (t10, r10, n10) => {
@@ -60194,20 +60194,20 @@ function B4(e13, t10) {
60194
60194
  var r12;
60195
60195
  let n11 = e14.node, i11 = [M4(e14, t11)], { printer: s11, originalText: a10, locStart: o10, locEnd: u10 } = t11;
60196
60196
  if (null == (r12 = s11.isBlockComment) ? void 0 : r12.call(s11, n11)) {
60197
- let e15 = x4(a10, u10(n11)) ? x4(a10, o10(n11), { backwards: true }) ? v2 : T2 : " ";
60197
+ let e15 = x4(a10, u10(n11)) ? x4(a10, o10(n11), { backwards: true }) ? S2 : x2 : " ";
60198
60198
  i11.push(e15);
60199
60199
  } else
60200
- i11.push(v2);
60200
+ i11.push(S2);
60201
60201
  let l = g4(a10, f4(a10, u10(n11)));
60202
- return false !== l && x4(a10, l) && i11.push(v2), i11;
60202
+ return false !== l && x4(a10, l) && i11.push(S2), i11;
60203
60203
  }(e13, t10)) : u && (i10 = function(e14, t11, r12) {
60204
60204
  var n11;
60205
60205
  let i11 = e14.node, s11 = M4(e14, t11), { printer: a10, originalText: o10, locStart: u10 } = t11, l = null == (n11 = a10.isBlockComment) ? void 0 : n11.call(a10, i11);
60206
60206
  if (null != r12 && r12.hasLineSuffix && (null == r12 || !r12.isBlock) || x4(o10, u10(i11), { backwards: true })) {
60207
60207
  let e15 = L4(o10, u10(i11));
60208
- return { doc: m2([v2, e15 ? v2 : "", s11]), isBlock: l, hasLineSuffix: true };
60208
+ return { doc: d2([S2, e15 ? S2 : "", s11]), isBlock: l, hasLineSuffix: true };
60209
60209
  }
60210
- return !l || null != r12 && r12.hasLineSuffix ? { doc: [m2([" ", s11]), g2], isBlock: l, hasLineSuffix: true } : { doc: [" ", s11], isBlock: l, hasLineSuffix: false };
60210
+ return !l || null != r12 && r12.hasLineSuffix ? { doc: [d2([" ", s11]), f2], isBlock: l, hasLineSuffix: true } : { doc: [" ", s11], isBlock: l, hasLineSuffix: false };
60211
60211
  }(e13, t10, i10), a.push(i10.doc));
60212
60212
  }, "comments"), { leading: s10, trailing: a };
60213
60213
  }
@@ -60244,7 +60244,7 @@ async function j4(e13, t10, r10, n10, i10) {
60244
60244
  function d10(e14, t11) {
60245
60245
  return async function(e15, t12, r11, n11) {
60246
60246
  let i11 = await Q3({ ...r11, ...t12, parentParser: r11.parser, originalText: e15 }, { passThrough: true }), { ast: s11 } = await u4(e15, i11), a10 = await n11(s11, i11);
60247
- return V2(a10);
60247
+ return R2(a10);
60248
60248
  }(e14, t11, r10, n10);
60249
60249
  }
60250
60250
  e13.stack = p10;
@@ -60285,9 +60285,9 @@ async function U4(e13, t10) {
60285
60285
  function $4(e13, t10, r10, n10, i10) {
60286
60286
  var s10;
60287
60287
  let a, { node: o } = e13, { printer: u } = t10;
60288
- return a = null != (s10 = u.hasPrettierIgnore) && s10.call(u, e13) ? R4(e13, t10) : i10.has(o) ? i10.get(o) : u.print(e13, t10, r10, n10), o === t10.cursorNode && (a = K2(a, (e14) => [A2, e14, A2])), u.printComment && (!u.willPrintOwnComments || !u.willPrintOwnComments(e13, t10)) && (a = function(e14, t11, r11) {
60288
+ return a = null != (s10 = u.hasPrettierIgnore) && s10.call(u, e13) ? R4(e13, t10) : i10.has(o) ? i10.get(o) : u.print(e13, t10, r10, n10), o === t10.cursorNode && (a = $2(a, (e14) => [E2, e14, E2])), u.printComment && (!u.willPrintOwnComments || !u.willPrintOwnComments(e13, t10)) && (a = function(e14, t11, r11) {
60289
60289
  let { leading: n11, trailing: i11 } = B4(e14, r11);
60290
- return n11 || i11 ? K2(t11, (e15) => [n11, e15, i11]) : t11;
60290
+ return n11 || i11 ? $2(t11, (e15) => [n11, e15, i11]) : t11;
60291
60291
  }(e13, a, t10)), a;
60292
60292
  }
60293
60293
  async function V4(e13, t10) {
@@ -60438,11 +60438,11 @@ async function Z4(e13, t10, r10 = 0) {
60438
60438
  let { ast: n10, text: i10 } = await u4(e13, t10);
60439
60439
  t10.cursorOffset >= 0 && (t10.cursorNode = G4(n10, t10));
60440
60440
  let s10 = await U4(n10, t10);
60441
- r10 > 0 && (s10 = C2([v2, s10], r10, t10.tabWidth));
60442
- let a = Z2(s10, t10);
60441
+ r10 > 0 && (s10 = P2([S2, s10], r10, t10.tabWidth));
60442
+ let a = G2(s10, t10);
60443
60443
  if (r10 > 0) {
60444
60444
  let e14 = a.formatted.trim();
60445
- void 0 !== a.cursorNodeStart && (a.cursorNodeStart -= a.formatted.indexOf(e14)), a.formatted = e14 + k2(t10.endOfLine);
60445
+ void 0 !== a.cursorNodeStart && (a.cursorNodeStart -= a.formatted.indexOf(e14)), a.formatted = e14 + D2(t10.endOfLine);
60446
60446
  }
60447
60447
  let o = t10[Symbol.for("comments")];
60448
60448
  if (t10.cursorOffset >= 0) {
@@ -60451,7 +60451,7 @@ async function Z4(e13, t10, r10 = 0) {
60451
60451
  return { formatted: a.formatted, cursorOffset: s11 + n11, comments: o };
60452
60452
  let l = r11.split("");
60453
60453
  l.splice(n11, 0, Q4);
60454
- let c10 = u.split(""), p10 = (0, $1.diffArrays)(l, c10), d10 = s11;
60454
+ let c10 = u.split(""), p10 = (0, j1.diffArrays)(l, c10), d10 = s11;
60455
60455
  for (let e15 of p10)
60456
60456
  if (e15.removed) {
60457
60457
  if (e15.value.includes(Q4))
@@ -60475,9 +60475,9 @@ function r5(e13, t10) {
60475
60475
  let t11 = e14.indexOf("\r");
60476
60476
  return t11 >= 0 ? "\n" === e14.charAt(t11 + 1) ? "crlf" : "cr" : "lf";
60477
60477
  }(e13)), e13.includes("\r")) {
60478
- let t11 = (t12) => I2(e13.slice(0, Math.max(t12, 0)), "\r\n");
60478
+ let t11 = (t12) => C2(e13.slice(0, Math.max(t12, 0)), "\r\n");
60479
60479
  r10 -= t11(r10), n10 -= t11(n10), i10 -= t11(i10), e13 = function(e14) {
60480
- return U1(false, e14, /\r\n?/g, "\n");
60480
+ return B1(false, e14, /\r\n?/g, "\n");
60481
60481
  }(e13);
60482
60482
  }
60483
60483
  return { hasBOM: a, text: e13, options: t5(e13, { ...t10, cursorOffset: r10, rangeStart: n10, rangeEnd: i10, endOfLine: s10 }) };
@@ -60489,18 +60489,18 @@ async function n5(e13, t10) {
60489
60489
  async function i5(e13, t10) {
60490
60490
  let r10, { hasBOM: n10, text: i10, options: s10 } = r5(e13, await Q3(t10));
60491
60491
  return s10.rangeStart >= s10.rangeEnd && "" !== i10 || s10.requirePragma && !await n5(i10, s10) ? { formatted: e13, cursorOffset: t10.cursorOffset, comments: [] } : (s10.rangeStart > 0 || s10.rangeEnd < i10.length ? r10 = await async function(e14, t11) {
60492
- let { ast: r11, text: n11 } = await u4(e14, t11), { rangeStart: i11, rangeEnd: s11 } = z4(n11, t11, r11), a = n11.slice(i11, s11), o = Math.min(i11, n11.lastIndexOf("\n", i11) + 1), u = n11.slice(o, i11).match(/^\s*/)[0], l = t3(u, t11.tabWidth), c10 = await Z4(a, { ...t11, rangeStart: 0, rangeEnd: Number.POSITIVE_INFINITY, cursorOffset: t11.cursorOffset > i11 && t11.cursorOffset <= s11 ? t11.cursorOffset - i11 : -1, endOfLine: "lf" }, l), p10 = c10.formatted.trimEnd(), { cursorOffset: d10 } = t11;
60492
+ let { ast: r11, text: n11 } = await u4(e14, t11), { rangeStart: i11, rangeEnd: s11 } = z4(n11, t11, r11), a = n11.slice(i11, s11), o = Math.min(i11, n11.lastIndexOf("\n", i11) + 1), u = n11.slice(o, i11).match(/^\s*/)[0], l = Q2(u, t11.tabWidth), c10 = await Z4(a, { ...t11, rangeStart: 0, rangeEnd: Number.POSITIVE_INFINITY, cursorOffset: t11.cursorOffset > i11 && t11.cursorOffset <= s11 ? t11.cursorOffset - i11 : -1, endOfLine: "lf" }, l), p10 = c10.formatted.trimEnd(), { cursorOffset: d10 } = t11;
60493
60493
  d10 > s11 ? d10 += p10.length - a.length : c10.cursorOffset >= 0 && (d10 = c10.cursorOffset + i11);
60494
60494
  let h10 = n11.slice(0, i11) + p10 + n11.slice(s11);
60495
60495
  if ("lf" !== t11.endOfLine) {
60496
- let e15 = k2(t11.endOfLine);
60497
- d10 >= 0 && "\r\n" === e15 && (d10 += I2(h10.slice(0, d10), "\n")), h10 = U1(false, h10, "\n", e15);
60496
+ let e15 = D2(t11.endOfLine);
60497
+ d10 >= 0 && "\r\n" === e15 && (d10 += C2(h10.slice(0, d10), "\n")), h10 = B1(false, h10, "\n", e15);
60498
60498
  }
60499
60499
  return { formatted: h10, cursorOffset: d10, comments: c10.comments };
60500
60500
  }(i10, s10) : (!s10.requirePragma && s10.insertPragma && s10.printer.insertPragma && !await n5(i10, s10) && (i10 = s10.printer.insertPragma(i10)), r10 = await Z4(i10, s10)), n10 && (r10.formatted = Y4 + r10.formatted, r10.cursorOffset >= 0 && r10.cursorOffset++), r10);
60501
60501
  }
60502
60502
  var s5 = {};
60503
- C1(s5, { addDanglingComment: () => P4, addLeadingComment: () => v4, addTrailingComment: () => A4, getAlignmentSize: () => t3, getIndentSize: () => p5, getMaxContinuousCount: () => c5, getNextNonSpaceNonCommentCharacter: () => f5, getNextNonSpaceNonCommentCharacterIndex: () => y5, getStringWidth: () => _2, hasNewline: () => x4, hasNewlineInRange: () => d5, hasSpaces: () => h5, isNextLineEmpty: () => x5, isNextLineEmptyAfterIndex: () => l5, isPreviousLineEmpty: () => g5, makeString: () => m5, skip: () => d4, skipEverythingButNewLine: () => y4, skipInlineComment: () => a5, skipNewline: () => g4, skipSpaces: () => f4, skipToLineEnd: () => m4, skipTrailingComment: () => o5, skipWhitespace: () => h4 });
60503
+ P1(s5, { addDanglingComment: () => P4, addLeadingComment: () => v4, addTrailingComment: () => A4, getAlignmentSize: () => Q2, getIndentSize: () => p5, getMaxContinuousCount: () => c5, getNextNonSpaceNonCommentCharacter: () => f5, getNextNonSpaceNonCommentCharacterIndex: () => y5, getStringWidth: () => I2, hasNewline: () => x4, hasNewlineInRange: () => d5, hasSpaces: () => h5, isNextLineEmpty: () => x5, isNextLineEmptyAfterIndex: () => l5, isPreviousLineEmpty: () => g5, makeString: () => m5, skip: () => d4, skipEverythingButNewLine: () => y4, skipInlineComment: () => a5, skipNewline: () => g4, skipSpaces: () => f4, skipToLineEnd: () => m4, skipTrailingComment: () => o5, skipWhitespace: () => h4 });
60504
60504
  var a5 = function(e13, t10) {
60505
60505
  if (false === t10)
60506
60506
  return false;
@@ -60536,7 +60536,7 @@ var c5 = function(e13, t10) {
60536
60536
  };
60537
60537
  var p5 = function(e13, t10) {
60538
60538
  let r10 = e13.lastIndexOf("\n");
60539
- return -1 === r10 ? 0 : t3(e13.slice(r10 + 1).match(/^[\t ]*/)[0], t10);
60539
+ return -1 === r10 ? 0 : Q2(e13.slice(r10 + 1).match(/^[\t ]*/)[0], t10);
60540
60540
  };
60541
60541
  var d5 = function(e13, t10, r10) {
60542
60542
  for (let n10 = t10; n10 < r10; ++n10)
@@ -60552,7 +60552,7 @@ var f5 = function(e13, t10) {
60552
60552
  return false === r10 ? "" : e13.charAt(r10);
60553
60553
  };
60554
60554
  var m5 = function(e13, t10, r10) {
60555
- let n10 = '"' === t10 ? "'" : '"', i10 = U1(false, e13, /\\(.)|(["'])/gs, (e14, i11, s10) => i11 === n10 ? i11 : s10 === t10 ? "\\" + s10 : s10 || (r10 && /^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i11) ? i11 : "\\" + i11));
60555
+ let n10 = '"' === t10 ? "'" : '"', i10 = B1(false, e13, /\\(.)|(["'])/gs, (e14, i11, s10) => i11 === n10 ? i11 : s10 === t10 ? "\\" + s10 : s10 || (r10 && /^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i11) ? i11 : "\\" + i11));
60556
60556
  return t10 + i10 + t10;
60557
60557
  };
60558
60558
  function y5(e13, t10) {
@@ -60571,33 +60571,33 @@ function x5(e13, t10) {
60571
60571
  }(...arguments);
60572
60572
  }
60573
60573
  var b5 = {};
60574
- C1(b5, { builders: () => S5, printer: () => T5, utils: () => E5 });
60575
- var S5 = { join: D2, line: T2, softline: E2, hardline: v2, literalline: P2, group: h2, conditionalGroup: function(e13, t10) {
60576
- return h2(e13[0], { ...t10, expandedStates: e13 });
60577
- }, fill: f2, lineSuffix: m2, lineSuffixBoundary: y2, cursor: A2, breakParent: g2, ifBreak: function(e13, t10 = "", r10 = {}) {
60578
- return { type: G1, breakContents: e13, flatContents: t10, groupId: r10.groupId };
60579
- }, trim: x2, indent: p2, indentIfBreak: function(e13, t10) {
60580
- return { type: Y1, contents: e13, groupId: t10.groupId, negate: t10.negate };
60581
- }, align: d2, addAlignmentToDoc: C2, markAsRoot: function(e13) {
60582
- return d2({ type: "root" }, e13);
60574
+ P1(b5, { builders: () => S5, printer: () => T5, utils: () => E5 });
60575
+ var S5 = { join: v2, line: x2, softline: b2, hardline: S2, literalline: T2, group: c2, conditionalGroup: function(e13, t10) {
60576
+ return c2(e13[0], { ...t10, expandedStates: e13 });
60577
+ }, fill: p2, lineSuffix: d2, lineSuffixBoundary: h2, cursor: E2, breakParent: f2, ifBreak: function(e13, t10 = "", r10 = {}) {
60578
+ return { type: X1, breakContents: e13, flatContents: t10, groupId: r10.groupId };
60579
+ }, trim: m2, indent: u2, indentIfBreak: function(e13, t10) {
60580
+ return { type: H1, contents: e13, groupId: t10.groupId, negate: t10.negate };
60581
+ }, align: l2, addAlignmentToDoc: P2, markAsRoot: function(e13) {
60582
+ return l2({ type: "root" }, e13);
60583
60583
  }, dedentToRoot: function(e13) {
60584
- return d2(Number.NEGATIVE_INFINITY, e13);
60584
+ return l2(Number.NEGATIVE_INFINITY, e13);
60585
60585
  }, dedent: function(e13) {
60586
- return d2(-1, e13);
60587
- }, hardlineWithoutBreakParent: b2, literallineWithoutBreakParent: S2, label: function(e13, t10) {
60588
- return e13 ? { type: t2, label: e13, contents: t10 } : t10;
60586
+ return l2(-1, e13);
60587
+ }, hardlineWithoutBreakParent: y2, literallineWithoutBreakParent: g2, label: function(e13, t10) {
60588
+ return e13 ? { type: Q1, label: e13, contents: t10 } : t10;
60589
60589
  }, concat: (e13) => e13 };
60590
- var T5 = { printDocToString: Z2 };
60590
+ var T5 = { printDocToString: G2 };
60591
60591
  var E5 = { willBreak: function(e13) {
60592
- return M2(e13, B2, false);
60593
- }, traverseDoc: l2, findInDoc: M2, mapDoc: L2, removeLines: function(e13) {
60594
- return L2(e13, R2);
60595
- }, stripTrailingHardline: V2, replaceEndOfLine: function(e13, t10 = P2) {
60596
- return L2(e13, (e14) => "string" == typeof e14 ? D2(t10, e14.split("\n")) : e14);
60592
+ return _2(e13, O2, false);
60593
+ }, traverseDoc: a2, findInDoc: _2, mapDoc: F2, removeLines: function(e13) {
60594
+ return F2(e13, M2);
60595
+ }, stripTrailingHardline: R2, replaceEndOfLine: function(e13, t10 = T2) {
60596
+ return F2(e13, (e14) => "string" == typeof e14 ? v2(t10, e14.split("\n")) : e14);
60597
60597
  }, canBreak: function(e13) {
60598
- return M2(e13, q2, false);
60598
+ return _2(e13, U2, false);
60599
60599
  } };
60600
- var v5 = "3.0.1";
60600
+ var v5 = "3.0.2";
60601
60601
  function P5(e13, t10 = 1) {
60602
60602
  return async (...r10) => {
60603
60603
  let n10 = r10[t10] ?? {}, i10 = n10.plugins ?? [];
@@ -60612,12 +60612,12 @@ async function D5(e13, t10) {
60612
60612
  async function C5(e13, t10) {
60613
60613
  return await D5(e13, t10) === e13;
60614
60614
  }
60615
- var w5 = P5(s3, 0);
60615
+ var w5 = P5(r3, 0);
60616
60616
  var k5 = { parse: P5(async function(e13, t10, r10) {
60617
60617
  let { text: n10, options: i10 } = r5(e13, await Q3(t10)), s10 = await u4(n10, i10);
60618
60618
  return r10 && (r10.preprocessForPrint && (s10.ast = await V4(s10.ast, i10)), r10.massage && (s10.ast = r4(s10.ast, i10))), s10;
60619
60619
  }), formatAST: P5(async function(e13, t10) {
60620
- return t10 = await Q3(t10), Z2(await U4(e13, t10), t10);
60620
+ return t10 = await Q3(t10), G2(await U4(e13, t10), t10);
60621
60621
  }), formatDoc: P5(async function(e13, t10) {
60622
60622
  let r10 = function(e14) {
60623
60623
  let t11 = /* @__PURE__ */ Object.create(null), r11 = /* @__PURE__ */ new Set();
@@ -60629,42 +60629,42 @@ var k5 = { parse: P5(async function(e13, t10, r10) {
60629
60629
  let r13 = t12.map(e15).filter(Boolean);
60630
60630
  return 1 === r13.length ? r13[0] : `[${r13.join(", ")}]`;
60631
60631
  }
60632
- if (t12.type === e22) {
60633
- let e16 = (null == (s10 = null == i10 ? void 0 : i10[r12 + 1]) ? void 0 : s10.type) === r2;
60632
+ if (t12.type === Y1) {
60633
+ let e16 = (null == (s10 = null == i10 ? void 0 : i10[r12 + 1]) ? void 0 : s10.type) === Z1;
60634
60634
  return t12.literal ? e16 ? "literalline" : "literallineWithoutBreakParent" : t12.hard ? e16 ? "hardline" : "hardlineWithoutBreakParent" : t12.soft ? "softline" : "line";
60635
60635
  }
60636
- if (t12.type === r2)
60637
- return (null == (a = null == i10 ? void 0 : i10[r12 - 1]) ? void 0 : a.type) === e22 && i10[r12 - 1].hard ? void 0 : "breakParent";
60638
- if (t12.type === X1)
60636
+ if (t12.type === Z1)
60637
+ return (null == (a = null == i10 ? void 0 : i10[r12 - 1]) ? void 0 : a.type) === Y1 && i10[r12 - 1].hard ? void 0 : "breakParent";
60638
+ if (t12.type === K1)
60639
60639
  return "trim";
60640
- if (t12.type === J1)
60640
+ if (t12.type === V1)
60641
60641
  return "indent(" + e15(t12.contents) + ")";
60642
- if (t12.type === W1)
60642
+ if (t12.type === q1)
60643
60643
  return t12.n === Number.NEGATIVE_INFINITY ? "dedentToRoot(" + e15(t12.contents) + ")" : t12.n < 0 ? "dedent(" + e15(t12.contents) + ")" : "root" === t12.n.type ? "markAsRoot(" + e15(t12.contents) + ")" : "align(" + JSON.stringify(t12.n) + ", " + e15(t12.contents) + ")";
60644
- if (t12.type === G1)
60644
+ if (t12.type === X1)
60645
60645
  return "ifBreak(" + e15(t12.breakContents) + (t12.flatContents ? ", " + e15(t12.flatContents) : "") + (t12.groupId ? (t12.flatContents ? "" : ', ""') + `, { groupId: ${n11(t12.groupId)} }` : "") + ")";
60646
- if (t12.type === Y1) {
60646
+ if (t12.type === H1) {
60647
60647
  let r13 = [];
60648
60648
  t12.negate && r13.push("negate: true"), t12.groupId && r13.push(`groupId: ${n11(t12.groupId)}`);
60649
60649
  let i11 = r13.length > 0 ? `, { ${r13.join(", ")} }` : "";
60650
60650
  return `indentIfBreak(${e15(t12.contents)}${i11})`;
60651
60651
  }
60652
- if (t12.type === H1) {
60652
+ if (t12.type === J1) {
60653
60653
  let r13 = [];
60654
60654
  t12.break && "propagated" !== t12.break && r13.push("shouldBreak: true"), t12.id && r13.push(`id: ${n11(t12.id)}`);
60655
60655
  let i11 = r13.length > 0 ? `, { ${r13.join(", ")} }` : "";
60656
60656
  return t12.expandedStates ? `conditionalGroup([${t12.expandedStates.map((t13) => e15(t13)).join(",")}]${i11})` : `group(${e15(t12.contents)}${i11})`;
60657
60657
  }
60658
- if (t12.type === z1)
60658
+ if (t12.type === W1)
60659
60659
  return `fill([${t12.parts.map((t13) => e15(t13)).join(", ")}])`;
60660
- if (t12.type === Q1)
60660
+ if (t12.type === z1)
60661
60661
  return "lineSuffix(" + e15(t12.contents) + ")";
60662
- if (t12.type === Z1)
60662
+ if (t12.type === G1)
60663
60663
  return "lineSuffixBoundary";
60664
- if (t12.type === t2)
60664
+ if (t12.type === Q1)
60665
60665
  return `label(${JSON.stringify(t12.label)}, ${e15(t12.contents)})`;
60666
60666
  throw new Error("Unknown doc type " + t12.type);
60667
- }(e32(e14));
60667
+ }(Y2(e14));
60668
60668
  function n11(e15) {
60669
60669
  if ("symbol" != typeof e15)
60670
60670
  return JSON.stringify(String(e15));
@@ -60684,7 +60684,7 @@ var k5 = { parse: P5(async function(e13, t10, r10) {
60684
60684
  let { ast: r10 } = await u4(e13, t10);
60685
60685
  return U4(r10, t10);
60686
60686
  }), printDocToString: P5(async function(e13, t10) {
60687
- return Z2(e13, await Q3(t10));
60687
+ return G2(e13, await Q3(t10));
60688
60688
  }) };
60689
60689
  var I5 = Object.create;
60690
60690
  var N5 = Object.defineProperty;
@@ -60857,11 +60857,11 @@ var j5 = M5((e13) => {
60857
60857
  return me2(e14, t11) || ye2(e14);
60858
60858
  }
60859
60859
  var xe2 = /* @__PURE__ */ new Set(["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete", "implements", "interface", "let", "package", "private", "protected", "public", "static", "yield", "eval", "arguments", "enum", "await"]);
60860
- var be2 = 64, Se2 = 128, Te2 = 256, Ee2 = 387, ve2 = 128, Pe2 = 1024, Ae2 = 2048, De2 = 4096, Ce2 = 8192, we2 = 8201, ke2 = 64, Ie2 = class {
60860
+ var be2 = class {
60861
60861
  constructor(e14) {
60862
60862
  this.var = /* @__PURE__ */ new Set(), this.lexical = /* @__PURE__ */ new Set(), this.functions = /* @__PURE__ */ new Set(), this.flags = e14;
60863
60863
  }
60864
- }, Ne2 = class {
60864
+ }, Se2 = class {
60865
60865
  constructor(e14, t11) {
60866
60866
  this.parser = void 0, this.scopeStack = [], this.inModule = void 0, this.undefinedExports = /* @__PURE__ */ new Map(), this.parser = e14, this.inModule = t11;
60867
60867
  }
@@ -60878,16 +60878,16 @@ var j5 = M5((e13) => {
60878
60878
  return (32 & this.currentThisScopeFlags()) > 0;
60879
60879
  }
60880
60880
  get inClass() {
60881
- return (this.currentThisScopeFlags() & be2) > 0;
60881
+ return (64 & this.currentThisScopeFlags()) > 0;
60882
60882
  }
60883
60883
  get inClassAndNotInNonArrowFunction() {
60884
60884
  let e14 = this.currentThisScopeFlags();
60885
- return (e14 & be2) > 0 && 0 == (2 & e14);
60885
+ return (64 & e14) > 0 && 0 == (2 & e14);
60886
60886
  }
60887
60887
  get inStaticBlock() {
60888
60888
  for (let e14 = this.scopeStack.length - 1; ; e14--) {
60889
60889
  let { flags: t11 } = this.scopeStack[e14];
60890
- if (t11 & Se2)
60890
+ if (128 & t11)
60891
60891
  return true;
60892
60892
  if (451 & t11)
60893
60893
  return false;
@@ -60900,7 +60900,7 @@ var j5 = M5((e13) => {
60900
60900
  return this.treatFunctionsAsVarInScope(this.currentScope());
60901
60901
  }
60902
60902
  createScope(e14) {
60903
- return new Ie2(e14);
60903
+ return new be2(e14);
60904
60904
  }
60905
60905
  enter(e14) {
60906
60906
  this.scopeStack.push(this.createScope(e14));
@@ -60916,7 +60916,7 @@ var j5 = M5((e13) => {
60916
60916
  if (8 & t11 || 16 & t11)
60917
60917
  this.checkRedeclarationInScope(n11, e14, t11, r11), 16 & t11 ? n11.functions.add(e14) : n11.lexical.add(e14), 8 & t11 && this.maybeExportDefined(n11, e14);
60918
60918
  else if (4 & t11)
60919
- for (let i11 = this.scopeStack.length - 1; i11 >= 0 && (n11 = this.scopeStack[i11], this.checkRedeclarationInScope(n11, e14, t11, r11), n11.var.add(e14), this.maybeExportDefined(n11, e14), !(n11.flags & Ee2)); --i11)
60919
+ for (let i11 = this.scopeStack.length - 1; i11 >= 0 && (n11 = this.scopeStack[i11], this.checkRedeclarationInScope(n11, e14, t11, r11), n11.var.add(e14), this.maybeExportDefined(n11, e14), !(387 & n11.flags)); --i11)
60920
60920
  ;
60921
60921
  this.parser.inModule && 1 & n11.flags && this.undefinedExports.delete(e14);
60922
60922
  }
@@ -60939,7 +60939,7 @@ var j5 = M5((e13) => {
60939
60939
  currentVarScopeFlags() {
60940
60940
  for (let e14 = this.scopeStack.length - 1; ; e14--) {
60941
60941
  let { flags: t11 } = this.scopeStack[e14];
60942
- if (t11 & Ee2)
60942
+ if (387 & t11)
60943
60943
  return t11;
60944
60944
  }
60945
60945
  }
@@ -60950,27 +60950,27 @@ var j5 = M5((e13) => {
60950
60950
  return t11;
60951
60951
  }
60952
60952
  }
60953
- }, Fe2 = class extends Ie2 {
60953
+ }, Te2 = class extends be2 {
60954
60954
  constructor(...e14) {
60955
60955
  super(...e14), this.declareFunctions = /* @__PURE__ */ new Set();
60956
60956
  }
60957
- }, _e2 = class extends Ne2 {
60957
+ }, Ee2 = class extends Se2 {
60958
60958
  createScope(e14) {
60959
- return new Fe2(e14);
60959
+ return new Te2(e14);
60960
60960
  }
60961
60961
  declareName(e14, t11, r11) {
60962
60962
  let n11 = this.currentScope();
60963
- if (t11 & Ae2)
60963
+ if (2048 & t11)
60964
60964
  return this.checkRedeclarationInScope(n11, e14, t11, r11), this.maybeExportDefined(n11, e14), void n11.declareFunctions.add(e14);
60965
60965
  super.declareName(e14, t11, r11);
60966
60966
  }
60967
60967
  isRedeclaredInScope(e14, t11, r11) {
60968
- return !!super.isRedeclaredInScope(e14, t11, r11) || !!(r11 & Ae2) && (!e14.declareFunctions.has(t11) && (e14.lexical.has(t11) || e14.functions.has(t11)));
60968
+ return !!super.isRedeclaredInScope(e14, t11, r11) || !!(2048 & r11) && (!e14.declareFunctions.has(t11) && (e14.lexical.has(t11) || e14.functions.has(t11)));
60969
60969
  }
60970
60970
  checkLocalExport(e14) {
60971
60971
  this.scopeStack[0].declareFunctions.has(e14.name) || super.checkLocalExport(e14);
60972
60972
  }
60973
- }, Oe2 = class {
60973
+ }, ve2 = class {
60974
60974
  constructor() {
60975
60975
  this.sawUnambiguousESM = false, this.ambiguousScriptDifferentAst = false;
60976
60976
  }
@@ -60993,19 +60993,19 @@ var j5 = M5((e13) => {
60993
60993
  return null == (r11 = this.plugins.get(e14)) ? void 0 : r11[t11];
60994
60994
  }
60995
60995
  };
60996
- function Le2(e14, t11) {
60996
+ function Pe2(e14, t11) {
60997
60997
  void 0 === e14.trailingComments ? e14.trailingComments = t11 : e14.trailingComments.unshift(...t11);
60998
60998
  }
60999
- function Me2(e14, t11) {
60999
+ function Ae2(e14, t11) {
61000
61000
  void 0 === e14.innerComments ? e14.innerComments = t11 : e14.innerComments.unshift(...t11);
61001
61001
  }
61002
- function Be2(e14, t11, r11) {
61002
+ function De2(e14, t11, r11) {
61003
61003
  let n11 = null, i11 = t11.length;
61004
61004
  for (; null === n11 && i11 > 0; )
61005
61005
  n11 = t11[--i11];
61006
- null === n11 || n11.start > r11.start ? Me2(e14, r11.comments) : Le2(n11, r11.comments);
61006
+ null === n11 || n11.start > r11.start ? Ae2(e14, r11.comments) : Pe2(n11, r11.comments);
61007
61007
  }
61008
- var je2 = class extends Oe2 {
61008
+ var Ce2 = class extends ve2 {
61009
61009
  addComment(e14) {
61010
61010
  this.filename && (e14.loc.filename = this.filename), this.state.comments.push(e14);
61011
61011
  }
@@ -61028,7 +61028,7 @@ var j5 = M5((e13) => {
61028
61028
  finalizeComment(e14) {
61029
61029
  let { comments: t11 } = e14;
61030
61030
  if (null !== e14.leadingNode || null !== e14.trailingNode)
61031
- null !== e14.leadingNode && Le2(e14.leadingNode, t11), null !== e14.trailingNode && function(e15, t12) {
61031
+ null !== e14.leadingNode && Pe2(e14.leadingNode, t11), null !== e14.trailingNode && function(e15, t12) {
61032
61032
  void 0 === e15.leadingComments ? e15.leadingComments = t12 : e15.leadingComments.unshift(...t12);
61033
61033
  }(e14.trailingNode, t11);
61034
61034
  else {
@@ -61038,11 +61038,11 @@ var j5 = M5((e13) => {
61038
61038
  case "ObjectExpression":
61039
61039
  case "ObjectPattern":
61040
61040
  case "RecordExpression":
61041
- Be2(r11, r11.properties, e14);
61041
+ De2(r11, r11.properties, e14);
61042
61042
  break;
61043
61043
  case "CallExpression":
61044
61044
  case "OptionalCallExpression":
61045
- Be2(r11, r11.arguments, e14);
61045
+ De2(r11, r11.arguments, e14);
61046
61046
  break;
61047
61047
  case "FunctionDeclaration":
61048
61048
  case "FunctionExpression":
@@ -61050,22 +61050,22 @@ var j5 = M5((e13) => {
61050
61050
  case "ObjectMethod":
61051
61051
  case "ClassMethod":
61052
61052
  case "ClassPrivateMethod":
61053
- Be2(r11, r11.params, e14);
61053
+ De2(r11, r11.params, e14);
61054
61054
  break;
61055
61055
  case "ArrayExpression":
61056
61056
  case "ArrayPattern":
61057
61057
  case "TupleExpression":
61058
- Be2(r11, r11.elements, e14);
61058
+ De2(r11, r11.elements, e14);
61059
61059
  break;
61060
61060
  case "ExportNamedDeclaration":
61061
61061
  case "ImportDeclaration":
61062
- Be2(r11, r11.specifiers, e14);
61062
+ De2(r11, r11.specifiers, e14);
61063
61063
  break;
61064
61064
  default:
61065
- Me2(r11, t11);
61065
+ Ae2(r11, t11);
61066
61066
  }
61067
61067
  else
61068
- Me2(r11, t11);
61068
+ Ae2(r11, t11);
61069
61069
  }
61070
61070
  }
61071
61071
  finalizeRemainingComments() {
@@ -61100,8 +61100,8 @@ var j5 = M5((e13) => {
61100
61100
  break;
61101
61101
  }
61102
61102
  }
61103
- }, Re2 = /\r\n?|[\n\u2028\u2029]/, Ue2 = new RegExp(Re2.source, "g");
61104
- function $e2(e14) {
61103
+ }, we2 = /\r\n?|[\n\u2028\u2029]/, ke2 = new RegExp(we2.source, "g");
61104
+ function Ie2(e14) {
61105
61105
  switch (e14) {
61106
61106
  case 10:
61107
61107
  case 13:
@@ -61112,8 +61112,8 @@ var j5 = M5((e13) => {
61112
61112
  return false;
61113
61113
  }
61114
61114
  }
61115
- var Ve2 = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, qe2 = /(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g, Ke2 = new RegExp("(?=(" + qe2.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y");
61116
- function Je2(e14) {
61115
+ var Ne2 = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Fe2 = /(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g, _e2 = new RegExp("(?=(" + Fe2.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y");
61116
+ function Oe2(e14) {
61117
61117
  switch (e14) {
61118
61118
  case 9:
61119
61119
  case 11:
@@ -61141,10 +61141,10 @@ var j5 = M5((e13) => {
61141
61141
  return false;
61142
61142
  }
61143
61143
  }
61144
- var We2 = function(e14) {
61144
+ var Le2 = function(e14) {
61145
61145
  return e14 >= 48 && e14 <= 57;
61146
- }, Xe2 = { decBinOct: /* @__PURE__ */ new Set([46, 66, 69, 79, 95, 98, 101, 111]), hex: /* @__PURE__ */ new Set([46, 88, 95, 120]) }, He2 = { bin: (e14) => 48 === e14 || 49 === e14, oct: (e14) => e14 >= 48 && e14 <= 55, dec: (e14) => e14 >= 48 && e14 <= 57, hex: (e14) => e14 >= 48 && e14 <= 57 || e14 >= 65 && e14 <= 70 || e14 >= 97 && e14 <= 102 };
61147
- function ze2(e14, t11, r11, n11, i11, s11) {
61146
+ }, Me2 = { decBinOct: /* @__PURE__ */ new Set([46, 66, 69, 79, 95, 98, 101, 111]), hex: /* @__PURE__ */ new Set([46, 88, 95, 120]) }, Be2 = { bin: (e14) => 48 === e14 || 49 === e14, oct: (e14) => e14 >= 48 && e14 <= 55, dec: (e14) => e14 >= 48 && e14 <= 57, hex: (e14) => e14 >= 48 && e14 <= 57 || e14 >= 65 && e14 <= 70 || e14 >= 97 && e14 <= 102 };
61147
+ function je2(e14, t11, r11, n11, i11, s11) {
61148
61148
  let a10 = r11, o10 = n11, u10 = i11, l10 = "", c11 = null, p11 = r11, { length: d11 } = t11;
61149
61149
  for (; ; ) {
61150
61150
  if (r11 >= d11) {
@@ -61152,23 +61152,23 @@ var j5 = M5((e13) => {
61152
61152
  break;
61153
61153
  }
61154
61154
  let h11 = t11.charCodeAt(r11);
61155
- if (Ge2(e14, h11, t11, r11)) {
61155
+ if (Re2(e14, h11, t11, r11)) {
61156
61156
  l10 += t11.slice(p11, r11);
61157
61157
  break;
61158
61158
  }
61159
61159
  if (92 === h11) {
61160
61160
  l10 += t11.slice(p11, r11);
61161
- let a11 = Ye2(t11, r11, n11, i11, "template" === e14, s11);
61161
+ let a11 = Ue2(t11, r11, n11, i11, "template" === e14, s11);
61162
61162
  null !== a11.ch || c11 ? l10 += a11.ch : c11 = { pos: r11, lineStart: n11, curLine: i11 }, { pos: r11, lineStart: n11, curLine: i11 } = a11, p11 = r11;
61163
61163
  } else
61164
61164
  8232 === h11 || 8233 === h11 ? (++i11, n11 = ++r11) : 10 === h11 || 13 === h11 ? "template" === e14 ? (l10 += t11.slice(p11, r11) + "\n", ++r11, 13 === h11 && 10 === t11.charCodeAt(r11) && ++r11, ++i11, p11 = n11 = r11) : s11.unterminated(a10, o10, u10) : ++r11;
61165
61165
  }
61166
61166
  return { pos: r11, str: l10, firstInvalidLoc: c11, lineStart: n11, curLine: i11, containsInvalid: !!c11 };
61167
61167
  }
61168
- function Ge2(e14, t11, r11, n11) {
61168
+ function Re2(e14, t11, r11, n11) {
61169
61169
  return "template" === e14 ? 96 === t11 || 36 === t11 && 123 === r11.charCodeAt(n11 + 1) : t11 === ("double" === e14 ? 34 : 39);
61170
61170
  }
61171
- function Ye2(e14, t11, r11, n11, i11, s11) {
61171
+ function Ue2(e14, t11, r11, n11, i11, s11) {
61172
61172
  let a10 = !i11;
61173
61173
  t11++;
61174
61174
  let o10 = (e15) => ({ pos: t11, ch: e15, lineStart: r11, curLine: n11 }), u10 = e14.charCodeAt(t11++);
@@ -61179,11 +61179,11 @@ var j5 = M5((e13) => {
61179
61179
  return o10("\r");
61180
61180
  case 120: {
61181
61181
  let i12;
61182
- return { code: i12, pos: t11 } = Qe2(e14, t11, r11, n11, 2, false, a10, s11), o10(null === i12 ? null : String.fromCharCode(i12));
61182
+ return { code: i12, pos: t11 } = $e2(e14, t11, r11, n11, 2, false, a10, s11), o10(null === i12 ? null : String.fromCharCode(i12));
61183
61183
  }
61184
61184
  case 117: {
61185
61185
  let i12;
61186
- return { code: i12, pos: t11 } = et2(e14, t11, r11, n11, a10, s11), o10(null === i12 ? null : String.fromCodePoint(i12));
61186
+ return { code: i12, pos: t11 } = qe2(e14, t11, r11, n11, a10, s11), o10(null === i12 ? null : String.fromCodePoint(i12));
61187
61187
  }
61188
61188
  case 116:
61189
61189
  return o10(" ");
@@ -61220,16 +61220,16 @@ var j5 = M5((e13) => {
61220
61220
  return o10(String.fromCharCode(u10));
61221
61221
  }
61222
61222
  }
61223
- function Qe2(e14, t11, r11, n11, i11, s11, a10, o10) {
61223
+ function $e2(e14, t11, r11, n11, i11, s11, a10, o10) {
61224
61224
  let u10, l10 = t11;
61225
- return { n: u10, pos: t11 } = Ze2(e14, t11, r11, n11, 16, i11, s11, false, o10, !a10), null === u10 && (a10 ? o10.invalidEscapeSequence(l10, r11, n11) : t11 = l10 - 1), { code: u10, pos: t11 };
61225
+ return { n: u10, pos: t11 } = Ve2(e14, t11, r11, n11, 16, i11, s11, false, o10, !a10), null === u10 && (a10 ? o10.invalidEscapeSequence(l10, r11, n11) : t11 = l10 - 1), { code: u10, pos: t11 };
61226
61226
  }
61227
- function Ze2(e14, t11, r11, n11, i11, s11, a10, o10, u10, l10) {
61228
- let c11 = t11, p11 = 16 === i11 ? Xe2.hex : Xe2.decBinOct, d11 = 16 === i11 ? He2.hex : 10 === i11 ? He2.dec : 8 === i11 ? He2.oct : He2.bin, h11 = false, f11 = 0;
61227
+ function Ve2(e14, t11, r11, n11, i11, s11, a10, o10, u10, l10) {
61228
+ let c11 = t11, p11 = 16 === i11 ? Me2.hex : Me2.decBinOct, d11 = 16 === i11 ? Be2.hex : 10 === i11 ? Be2.dec : 8 === i11 ? Be2.oct : Be2.bin, h11 = false, f11 = 0;
61229
61229
  for (let c12 = 0, m11 = s11 ?? 1 / 0; c12 < m11; ++c12) {
61230
61230
  let s12, c13 = e14.charCodeAt(t11);
61231
61231
  if (95 !== c13 || "bail" === o10) {
61232
- if (s12 = c13 >= 97 ? c13 - 97 + 10 : c13 >= 65 ? c13 - 65 + 10 : We2(c13) ? c13 - 48 : 1 / 0, s12 >= i11) {
61232
+ if (s12 = c13 >= 97 ? c13 - 97 + 10 : c13 >= 65 ? c13 - 65 + 10 : Le2(c13) ? c13 - 48 : 1 / 0, s12 >= i11) {
61233
61233
  if (s12 <= 9 && l10)
61234
61234
  return { n: null, pos: t11 };
61235
61235
  if (s12 <= 9 && u10.invalidDigit(t11, r11, n11, i11))
@@ -61259,34 +61259,34 @@ var j5 = M5((e13) => {
61259
61259
  }
61260
61260
  return t11 === c11 || null != s11 && t11 - c11 !== s11 || h11 ? { n: null, pos: t11 } : { n: f11, pos: t11 };
61261
61261
  }
61262
- function et2(e14, t11, r11, n11, i11, s11) {
61262
+ function qe2(e14, t11, r11, n11, i11, s11) {
61263
61263
  let a10;
61264
61264
  if (123 === e14.charCodeAt(t11)) {
61265
- if (++t11, { code: a10, pos: t11 } = Qe2(e14, t11, r11, n11, e14.indexOf("}", t11) - t11, true, i11, s11), ++t11, null !== a10 && a10 > 1114111) {
61265
+ if (++t11, { code: a10, pos: t11 } = $e2(e14, t11, r11, n11, e14.indexOf("}", t11) - t11, true, i11, s11), ++t11, null !== a10 && a10 > 1114111) {
61266
61266
  if (!i11)
61267
61267
  return { code: null, pos: t11 };
61268
61268
  s11.invalidCodePoint(t11, r11, n11);
61269
61269
  }
61270
61270
  } else
61271
- ({ code: a10, pos: t11 } = Qe2(e14, t11, r11, n11, 4, false, i11, s11));
61271
+ ({ code: a10, pos: t11 } = $e2(e14, t11, r11, n11, 4, false, i11, s11));
61272
61272
  return { code: a10, pos: t11 };
61273
61273
  }
61274
- var tt2 = ["at"], rt2 = ["at"];
61275
- function nt2(e14, t11, n11) {
61274
+ var Ke2 = ["at"], Je2 = ["at"];
61275
+ function We2(e14, t11, n11) {
61276
61276
  return new r10(n11, e14 - t11, e14);
61277
61277
  }
61278
- var it2 = /* @__PURE__ */ new Set([103, 109, 115, 105, 121, 117, 100, 118]), st2 = class {
61278
+ var Xe2 = /* @__PURE__ */ new Set([103, 109, 115, 105, 121, 117, 100, 118]), He2 = class {
61279
61279
  constructor(e14) {
61280
61280
  this.type = e14.type, this.value = e14.value, this.start = e14.start, this.end = e14.end, this.loc = new n10(e14.startLoc, e14.endLoc);
61281
61281
  }
61282
- }, at2 = class extends je2 {
61282
+ }, ze2 = class extends Ce2 {
61283
61283
  constructor(e14, t11) {
61284
- super(), this.isLookahead = void 0, this.tokens = [], this.errorHandlers_readInt = { invalidDigit: (e15, t12, r11, n11) => !!this.options.errorRecovery && (this.raise(b10.InvalidDigit, { at: nt2(e15, t12, r11), radix: n11 }), true), numericSeparatorInEscapeSequence: this.errorBuilder(b10.NumericSeparatorInEscapeSequence), unexpectedNumericSeparator: this.errorBuilder(b10.UnexpectedNumericSeparator) }, this.errorHandlers_readCodePoint = Object.assign({}, this.errorHandlers_readInt, { invalidEscapeSequence: this.errorBuilder(b10.InvalidEscapeSequence), invalidCodePoint: this.errorBuilder(b10.InvalidCodePoint) }), this.errorHandlers_readStringContents_string = Object.assign({}, this.errorHandlers_readCodePoint, { strictNumericEscape: (e15, t12, r11) => {
61285
- this.recordStrictModeErrors(b10.StrictNumericEscape, { at: nt2(e15, t12, r11) });
61284
+ super(), this.isLookahead = void 0, this.tokens = [], this.errorHandlers_readInt = { invalidDigit: (e15, t12, r11, n11) => !!this.options.errorRecovery && (this.raise(b10.InvalidDigit, { at: We2(e15, t12, r11), radix: n11 }), true), numericSeparatorInEscapeSequence: this.errorBuilder(b10.NumericSeparatorInEscapeSequence), unexpectedNumericSeparator: this.errorBuilder(b10.UnexpectedNumericSeparator) }, this.errorHandlers_readCodePoint = Object.assign({}, this.errorHandlers_readInt, { invalidEscapeSequence: this.errorBuilder(b10.InvalidEscapeSequence), invalidCodePoint: this.errorBuilder(b10.InvalidCodePoint) }), this.errorHandlers_readStringContents_string = Object.assign({}, this.errorHandlers_readCodePoint, { strictNumericEscape: (e15, t12, r11) => {
61285
+ this.recordStrictModeErrors(b10.StrictNumericEscape, { at: We2(e15, t12, r11) });
61286
61286
  }, unterminated: (e15, t12, r11) => {
61287
- throw this.raise(b10.UnterminatedString, { at: nt2(e15 - 1, t12, r11) });
61287
+ throw this.raise(b10.UnterminatedString, { at: We2(e15 - 1, t12, r11) });
61288
61288
  } }), this.errorHandlers_readStringContents_template = Object.assign({}, this.errorHandlers_readCodePoint, { strictNumericEscape: this.errorBuilder(b10.StrictNumericEscape), unterminated: (e15, t12, r11) => {
61289
- throw this.raise(b10.UnterminatedTemplate, { at: nt2(e15, t12, r11) });
61289
+ throw this.raise(b10.UnterminatedTemplate, { at: We2(e15, t12, r11) });
61290
61290
  } }), this.state = new class e15 {
61291
61291
  constructor() {
61292
61292
  this.strict = void 0, this.curLine = void 0, this.lineStart = void 0, this.startLoc = void 0, this.endLoc = void 0, this.errors = [], this.potentialArrowAt = -1, this.noArrowAt = [], this.noArrowParamsConversionAt = [], this.maybeInArrowParameters = false, this.inType = false, this.noAnonFunctionType = false, this.hasFlowComment = false, this.isAmbientContext = false, this.inAbstractClass = false, this.inDisallowConditionalTypesContext = false, this.topicContext = { maxNumOfResolvableTopics: 0, maxTopicIndex: null }, this.soloAwait = false, this.inFSharpPipelineDirectBody = false, this.labels = [], this.comments = [], this.commentStack = [], this.pos = 0, this.type = 137, this.value = null, this.start = 0, this.end = 0, this.lastTokEndLoc = null, this.lastTokStartLoc = null, this.lastTokStart = 0, this.context = [P10.brace], this.canStartJSXElement = true, this.containsEsc = false, this.firstInvalidTemplateEscapePos = null, this.strictErrors = /* @__PURE__ */ new Map(), this.tokensLength = 0;
@@ -61311,7 +61311,7 @@ var j5 = M5((e13) => {
61311
61311
  this.tokens.length = this.state.tokensLength, this.tokens.push(e14), ++this.state.tokensLength;
61312
61312
  }
61313
61313
  next() {
61314
- this.checkKeywordEscapes(), this.options.tokens && this.pushToken(new st2(this.state)), this.state.lastTokStart = this.state.start, this.state.lastTokEndLoc = this.state.endLoc, this.state.lastTokStartLoc = this.state.startLoc, this.nextToken();
61314
+ this.checkKeywordEscapes(), this.options.tokens && this.pushToken(new He2(this.state)), this.state.lastTokStart = this.state.start, this.state.lastTokEndLoc = this.state.endLoc, this.state.lastTokStartLoc = this.state.startLoc, this.nextToken();
61315
61315
  }
61316
61316
  eat(e14) {
61317
61317
  return !!this.match(e14) && (this.next(), true);
@@ -61332,7 +61332,7 @@ var j5 = M5((e13) => {
61332
61332
  return this.nextTokenStartSince(this.state.pos);
61333
61333
  }
61334
61334
  nextTokenStartSince(e14) {
61335
- return Ve2.lastIndex = e14, Ve2.test(this.input) ? Ve2.lastIndex : e14;
61335
+ return Ne2.lastIndex = e14, Ne2.test(this.input) ? Ne2.lastIndex : e14;
61336
61336
  }
61337
61337
  lookaheadCharCode() {
61338
61338
  return this.input.charCodeAt(this.nextTokenStart());
@@ -61341,7 +61341,7 @@ var j5 = M5((e13) => {
61341
61341
  return this.nextTokenInLineStartSince(this.state.pos);
61342
61342
  }
61343
61343
  nextTokenInLineStartSince(e14) {
61344
- return qe2.lastIndex = e14, qe2.test(this.input) ? qe2.lastIndex : e14;
61344
+ return Fe2.lastIndex = e14, Fe2.test(this.input) ? Fe2.lastIndex : e14;
61345
61345
  }
61346
61346
  lookaheadInLineCharCode() {
61347
61347
  return this.input.charCodeAt(this.nextTokenInLineStart());
@@ -61369,8 +61369,8 @@ var j5 = M5((e13) => {
61369
61369
  let r11 = this.state.pos, i11 = this.input.indexOf(e14, r11 + 2);
61370
61370
  if (-1 === i11)
61371
61371
  throw this.raise(b10.UnterminatedComment, { at: this.state.curPosition() });
61372
- for (this.state.pos = i11 + e14.length, Ue2.lastIndex = r11 + 2; Ue2.test(this.input) && Ue2.lastIndex <= i11; )
61373
- ++this.state.curLine, this.state.lineStart = Ue2.lastIndex;
61372
+ for (this.state.pos = i11 + e14.length, ke2.lastIndex = r11 + 2; ke2.test(this.input) && ke2.lastIndex <= i11; )
61373
+ ++this.state.curLine, this.state.lineStart = ke2.lastIndex;
61374
61374
  if (this.isLookahead)
61375
61375
  return;
61376
61376
  let s11 = { type: "CommentBlock", value: this.input.slice(r11 + 2, i11), start: r11, end: i11 + e14.length, loc: new n10(t11, this.state.curPosition()) };
@@ -61381,7 +61381,7 @@ var j5 = M5((e13) => {
61381
61381
  this.isLookahead || (t11 = this.state.curPosition());
61382
61382
  let i11 = this.input.charCodeAt(this.state.pos += e14);
61383
61383
  if (this.state.pos < this.length)
61384
- for (; !$e2(i11) && ++this.state.pos < this.length; )
61384
+ for (; !Ie2(i11) && ++this.state.pos < this.length; )
61385
61385
  i11 = this.input.charCodeAt(this.state.pos);
61386
61386
  if (this.isLookahead)
61387
61387
  return;
@@ -61423,7 +61423,7 @@ var j5 = M5((e13) => {
61423
61423
  }
61424
61424
  break;
61425
61425
  default:
61426
- if (Je2(r11))
61426
+ if (Oe2(r11))
61427
61427
  ++this.state.pos;
61428
61428
  else if (45 === r11 && !this.inModule && this.options.annexB) {
61429
61429
  let r12 = this.state.pos;
@@ -61488,7 +61488,7 @@ var j5 = M5((e13) => {
61488
61488
  if (33 !== e14)
61489
61489
  return false;
61490
61490
  let t11 = this.state.pos;
61491
- for (this.state.pos += 1; !$e2(e14) && ++this.state.pos < this.length; )
61491
+ for (this.state.pos += 1; !Ie2(e14) && ++this.state.pos < this.length; )
61492
61492
  e14 = this.input.charCodeAt(this.state.pos);
61493
61493
  let r11 = this.input.slice(t11 + 2, this.state.pos);
61494
61494
  return this.finishToken(28, r11), true;
@@ -61657,7 +61657,7 @@ var j5 = M5((e13) => {
61657
61657
  if (s11 >= this.length)
61658
61658
  throw this.raise(b10.UnterminatedRegExp, { at: i10(r11, 1) });
61659
61659
  let n12 = this.input.charCodeAt(s11);
61660
- if ($e2(n12))
61660
+ if (Ie2(n12))
61661
61661
  throw this.raise(b10.UnterminatedRegExp, { at: i10(r11, 1) });
61662
61662
  if (e14)
61663
61663
  e14 = false;
@@ -61676,7 +61676,7 @@ var j5 = M5((e13) => {
61676
61676
  let o10 = "", u10 = () => i10(r11, s11 + 2 - n11);
61677
61677
  for (; s11 < this.length; ) {
61678
61678
  let e15 = this.codePointAtPos(s11), t12 = String.fromCharCode(e15);
61679
- if (it2.has(e15))
61679
+ if (Xe2.has(e15))
61680
61680
  118 === e15 ? o10.includes("u") && this.raise(b10.IncompatibleRegExpUVFlags, { at: u10() }) : 117 === e15 && o10.includes("v") && this.raise(b10.IncompatibleRegExpUVFlags, { at: u10() }), o10.includes(t12) && this.raise(b10.DuplicateRegExpFlags, { at: u10() });
61681
61681
  else {
61682
61682
  if (!ue2(e15) && 92 !== e15)
@@ -61688,7 +61688,7 @@ var j5 = M5((e13) => {
61688
61688
  this.state.pos = s11, this.finishToken(135, { pattern: a10, flags: o10 });
61689
61689
  }
61690
61690
  readInt(e14, t11, r11 = false, n11 = true) {
61691
- let { n: i11, pos: s11 } = Ze2(this.input, this.state.pos, this.state.lineStart, this.state.curLine, e14, t11, r11, n11, this.errorHandlers_readInt, false);
61691
+ let { n: i11, pos: s11 } = Ve2(this.input, this.state.pos, this.state.lineStart, this.state.curLine, e14, t11, r11, n11, this.errorHandlers_readInt, false);
61692
61692
  return this.state.pos = s11, i11;
61693
61693
  }
61694
61694
  readRadixNumber(e14) {
@@ -61733,18 +61733,18 @@ var j5 = M5((e13) => {
61733
61733
  this.finishToken(132, d11);
61734
61734
  }
61735
61735
  readCodePoint(e14) {
61736
- let { code: t11, pos: r11 } = et2(this.input, this.state.pos, this.state.lineStart, this.state.curLine, e14, this.errorHandlers_readCodePoint);
61736
+ let { code: t11, pos: r11 } = qe2(this.input, this.state.pos, this.state.lineStart, this.state.curLine, e14, this.errorHandlers_readCodePoint);
61737
61737
  return this.state.pos = r11, t11;
61738
61738
  }
61739
61739
  readString(e14) {
61740
- let { str: t11, pos: r11, curLine: n11, lineStart: i11 } = ze2(34 === e14 ? "double" : "single", this.input, this.state.pos + 1, this.state.lineStart, this.state.curLine, this.errorHandlers_readStringContents_string);
61740
+ let { str: t11, pos: r11, curLine: n11, lineStart: i11 } = je2(34 === e14 ? "double" : "single", this.input, this.state.pos + 1, this.state.lineStart, this.state.curLine, this.errorHandlers_readStringContents_string);
61741
61741
  this.state.pos = r11 + 1, this.state.lineStart = i11, this.state.curLine = n11, this.finishToken(131, t11);
61742
61742
  }
61743
61743
  readTemplateContinuation() {
61744
61744
  this.match(8) || this.unexpected(null, 8), this.state.pos--, this.readTemplateToken();
61745
61745
  }
61746
61746
  readTemplateToken() {
61747
- let e14 = this.input[this.state.pos], { str: t11, firstInvalidLoc: n11, pos: i11, curLine: s11, lineStart: a10 } = ze2("template", this.input, this.state.pos + 1, this.state.lineStart, this.state.curLine, this.errorHandlers_readStringContents_template);
61747
+ let e14 = this.input[this.state.pos], { str: t11, firstInvalidLoc: n11, pos: i11, curLine: s11, lineStart: a10 } = je2("template", this.input, this.state.pos + 1, this.state.lineStart, this.state.curLine, this.errorHandlers_readStringContents_template);
61748
61748
  this.state.pos = i11 + 1, this.state.lineStart = a10, this.state.curLine = s11, n11 && (this.state.firstInvalidTemplateEscapePos = new r10(n11.curLine, n11.pos - n11.lineStart, n11.pos)), 96 === this.input.codePointAt(i11) ? this.finishToken(24, n11 ? null : e14 + t11 + "`") : (this.state.pos++, this.finishToken(25, n11 ? null : e14 + t11 + "${"));
61749
61749
  }
61750
61750
  recordStrictModeErrors(e14, { at: t11 }) {
@@ -61785,13 +61785,13 @@ var j5 = M5((e13) => {
61785
61785
  z10(e14) && this.state.containsEsc && this.raise(b10.InvalidEscapedReservedWord, { at: this.state.startLoc, reservedWord: G10(e14) });
61786
61786
  }
61787
61787
  raise(e14, n11) {
61788
- let { at: i11 } = n11, s11 = t10(n11, tt2), a10 = e14({ loc: i11 instanceof r10 ? i11 : i11.loc.start, details: s11 });
61788
+ let { at: i11 } = n11, s11 = t10(n11, Ke2), a10 = e14({ loc: i11 instanceof r10 ? i11 : i11.loc.start, details: s11 });
61789
61789
  if (!this.options.errorRecovery)
61790
61790
  throw a10;
61791
61791
  return this.isLookahead || this.state.errors.push(a10), a10;
61792
61792
  }
61793
61793
  raiseOverwrite(e14, n11) {
61794
- let { at: i11 } = n11, s11 = t10(n11, rt2), a10 = i11 instanceof r10 ? i11 : i11.loc.start, o10 = a10.index, u10 = this.state.errors;
61794
+ let { at: i11 } = n11, s11 = t10(n11, Je2), a10 = i11 instanceof r10 ? i11 : i11.loc.start, o10 = a10.index, u10 = this.state.errors;
61795
61795
  for (let t11 = u10.length - 1; t11 >= 0; t11--) {
61796
61796
  let r11 = u10[t11];
61797
61797
  if (r11.loc.index === o10)
@@ -61817,12 +61817,12 @@ var j5 = M5((e13) => {
61817
61817
  }
61818
61818
  errorBuilder(e14) {
61819
61819
  return (t11, r11, n11) => {
61820
- this.raise(e14, { at: nt2(t11, r11, n11) });
61820
+ this.raise(e14, { at: We2(t11, r11, n11) });
61821
61821
  };
61822
61822
  }
61823
- }, ot2 = class {
61823
+ }, Ge2 = class {
61824
61824
  constructor(e14 = 0) {
61825
- this.type = void 0, this.type = e14;
61825
+ this.type = e14;
61826
61826
  }
61827
61827
  canBeArrowParameterDeclaration() {
61828
61828
  return 2 === this.type || 1 === this.type;
@@ -61830,7 +61830,7 @@ var j5 = M5((e13) => {
61830
61830
  isCertainlyParameterDeclaration() {
61831
61831
  return 3 === this.type;
61832
61832
  }
61833
- }, ut2 = class extends ot2 {
61833
+ }, Ye2 = class extends Ge2 {
61834
61834
  constructor(e14) {
61835
61835
  super(e14), this.declarationErrors = /* @__PURE__ */ new Map();
61836
61836
  }
@@ -61845,13 +61845,13 @@ var j5 = M5((e13) => {
61845
61845
  this.declarationErrors.forEach(e14);
61846
61846
  }
61847
61847
  };
61848
- function lt2() {
61849
- return new ot2();
61848
+ function Qe2() {
61849
+ return new Ge2();
61850
61850
  }
61851
- function ct2(e14, t11) {
61851
+ function Ze2(e14, t11) {
61852
61852
  return (e14 ? 2 : 0) | (t11 ? 1 : 0);
61853
61853
  }
61854
- var pt2 = class extends at2 {
61854
+ var et2 = class extends ze2 {
61855
61855
  addExtra(e14, t11, r11, n11 = true) {
61856
61856
  if (!e14)
61857
61857
  return;
@@ -61887,10 +61887,10 @@ var j5 = M5((e13) => {
61887
61887
  return this.match(137) || this.match(8) || this.hasPrecedingLineBreak();
61888
61888
  }
61889
61889
  hasPrecedingLineBreak() {
61890
- return Re2.test(this.input.slice(this.state.lastTokEndLoc.index, this.state.start));
61890
+ return we2.test(this.input.slice(this.state.lastTokEndLoc.index, this.state.start));
61891
61891
  }
61892
61892
  hasFollowingLineBreak() {
61893
- return Ke2.lastIndex = this.state.end, Ke2.test(this.input);
61893
+ return _e2.lastIndex = this.state.end, _e2.test(this.input);
61894
61894
  }
61895
61895
  isLineTerminator() {
61896
61896
  return this.eat(13) || this.canInsertSemicolon();
@@ -62022,7 +62022,7 @@ var j5 = M5((e13) => {
62022
62022
  let u10 = this.expressionScope;
62023
62023
  return this.expressionScope = new class {
62024
62024
  constructor(e15) {
62025
- this.parser = void 0, this.stack = [new ot2()], this.parser = e15;
62025
+ this.parser = void 0, this.stack = [new Ge2()], this.parser = e15;
62026
62026
  }
62027
62027
  enter(e15) {
62028
62028
  this.stack.push(e15);
@@ -62075,42 +62075,42 @@ var j5 = M5((e13) => {
62075
62075
  let { privateKeyLoc: t11 } = e14;
62076
62076
  null !== t11 && this.expectPlugin("destructuringPrivate", t11);
62077
62077
  }
62078
- }, dt2 = class {
62078
+ }, tt2 = class {
62079
62079
  constructor() {
62080
62080
  this.shorthandAssignLoc = null, this.doubleProtoLoc = null, this.privateKeyLoc = null, this.optionalParametersLoc = null;
62081
62081
  }
62082
- }, ht2 = class {
62082
+ }, rt2 = class {
62083
62083
  constructor(e14, t11, r11) {
62084
62084
  this.type = "", this.start = t11, this.end = 0, this.loc = new n10(r11), null != e14 && e14.options.ranges && (this.range = [t11, 0]), null != e14 && e14.filename && (this.loc.filename = e14.filename);
62085
62085
  }
62086
- }, ft2 = ht2.prototype;
62087
- function mt2(e14) {
62088
- let { type: t11, start: r11, end: n11, loc: i11, range: s11, extra: a10, name: o10 } = e14, u10 = Object.create(ft2);
62086
+ }, nt2 = rt2.prototype;
62087
+ function it2(e14) {
62088
+ let { type: t11, start: r11, end: n11, loc: i11, range: s11, extra: a10, name: o10 } = e14, u10 = Object.create(nt2);
62089
62089
  return u10.type = t11, u10.start = r11, u10.end = n11, u10.loc = i11, u10.range = s11, u10.extra = a10, u10.name = o10, "Placeholder" === t11 && (u10.expectedNode = e14.expectedNode), u10;
62090
62090
  }
62091
- function yt2(e14) {
62091
+ function st2(e14) {
62092
62092
  let { type: t11, start: r11, end: n11, loc: i11, range: s11, extra: a10 } = e14;
62093
62093
  if ("Placeholder" === t11)
62094
62094
  return function(e15) {
62095
- return mt2(e15);
62095
+ return it2(e15);
62096
62096
  }(e14);
62097
- let o10 = Object.create(ft2);
62097
+ let o10 = Object.create(nt2);
62098
62098
  return o10.type = t11, o10.start = r11, o10.end = n11, o10.loc = i11, o10.range = s11, void 0 !== e14.raw ? o10.raw = e14.raw : o10.extra = a10, o10.value = e14.value, o10;
62099
62099
  }
62100
- ft2.__clone = function() {
62101
- let e14 = new ht2(void 0, this.start, this.loc.start), t11 = Object.keys(this);
62100
+ nt2.__clone = function() {
62101
+ let e14 = new rt2(void 0, this.start, this.loc.start), t11 = Object.keys(this);
62102
62102
  for (let r11 = 0, n11 = t11.length; r11 < n11; r11++) {
62103
62103
  let n12 = t11[r11];
62104
62104
  "leadingComments" !== n12 && "trailingComments" !== n12 && "innerComments" !== n12 && (e14[n12] = this[n12]);
62105
62105
  }
62106
62106
  return e14;
62107
62107
  };
62108
- var gt2 = class extends pt2 {
62108
+ var at2 = class extends et2 {
62109
62109
  startNode() {
62110
- return new ht2(this, this.state.start, this.state.startLoc);
62110
+ return new rt2(this, this.state.start, this.state.startLoc);
62111
62111
  }
62112
62112
  startNodeAt(e14) {
62113
- return new ht2(this, e14.index, e14);
62113
+ return new rt2(this, e14.index, e14);
62114
62114
  }
62115
62115
  startNodeAtNode(e14) {
62116
62116
  return this.startNodeAt(e14.loc.start);
@@ -62130,41 +62130,41 @@ var j5 = M5((e13) => {
62130
62130
  resetStartLocationFromNode(e14, t11) {
62131
62131
  this.resetStartLocation(e14, t11.loc.start);
62132
62132
  }
62133
- }, xt2 = /* @__PURE__ */ new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]), bt2 = x10`flow`({ AmbiguousConditionalArrow: "Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.", AmbiguousDeclareModuleKind: "Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.", AssignReservedType: ({ reservedType: e14 }) => `Cannot overwrite reserved type ${e14}.`, DeclareClassElement: "The `declare` modifier can only appear on class fields.", DeclareClassFieldInitializer: "Initializers are not allowed in fields with the `declare` modifier.", DuplicateDeclareModuleExports: "Duplicate `declare module.exports` statement.", EnumBooleanMemberNotInitialized: ({ memberName: e14, enumName: t11 }) => `Boolean enum members need to be initialized. Use either \`${e14} = true,\` or \`${e14} = false,\` in enum \`${t11}\`.`, EnumDuplicateMemberName: ({ memberName: e14, enumName: t11 }) => `Enum member names need to be unique, but the name \`${e14}\` has already been used before in enum \`${t11}\`.`, EnumInconsistentMemberValues: ({ enumName: e14 }) => `Enum \`${e14}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`, EnumInvalidExplicitType: ({ invalidEnumType: e14, enumName: t11 }) => `Enum type \`${e14}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t11}\`.`, EnumInvalidExplicitTypeUnknownSupplied: ({ enumName: e14 }) => `Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e14}\`.`, EnumInvalidMemberInitializerPrimaryType: ({ enumName: e14, memberName: t11, explicitType: r11 }) => `Enum \`${e14}\` has type \`${r11}\`, so the initializer of \`${t11}\` needs to be a ${r11} literal.`, EnumInvalidMemberInitializerSymbolType: ({ enumName: e14, memberName: t11 }) => `Symbol enum members cannot be initialized. Use \`${t11},\` in enum \`${e14}\`.`, EnumInvalidMemberInitializerUnknownType: ({ enumName: e14, memberName: t11 }) => `The enum member initializer for \`${t11}\` needs to be a literal (either a boolean, number, or string) in enum \`${e14}\`.`, EnumInvalidMemberName: ({ enumName: e14, memberName: t11, suggestion: r11 }) => `Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t11}\`, consider using \`${r11}\`, in enum \`${e14}\`.`, EnumNumberMemberNotInitialized: ({ enumName: e14, memberName: t11 }) => `Number enum members need to be initialized, e.g. \`${t11} = 1\` in enum \`${e14}\`.`, EnumStringMemberInconsistentlyInitailized: ({ enumName: e14 }) => `String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e14}\`.`, GetterMayNotHaveThisParam: "A getter cannot have a `this` parameter.", ImportReflectionHasImportType: "An `import module` declaration can not use `type` or `typeof` keyword.", ImportTypeShorthandOnlyInPureImport: "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.", InexactInsideExact: "Explicit inexact syntax cannot appear inside an explicit exact object type.", InexactInsideNonObject: "Explicit inexact syntax cannot appear in class or interface definitions.", InexactVariance: "Explicit inexact syntax cannot have variance.", InvalidNonTypeImportInDeclareModule: "Imports within a `declare module` body must always be `import type` or `import typeof`.", MissingTypeParamDefault: "Type parameter declaration needs a default, since a preceding type parameter declaration has a default.", NestedDeclareModule: "`declare module` cannot be used inside another `declare module`.", NestedFlowComment: "Cannot have a flow comment inside another flow comment.", PatternIsOptional: Object.assign({ message: "A binding pattern parameter cannot be optional in an implementation signature." }, { reasonCode: "OptionalBindingPattern" }), SetterMayNotHaveThisParam: "A setter cannot have a `this` parameter.", SpreadVariance: "Spread properties cannot have variance.", ThisParamAnnotationRequired: "A type annotation is required for the `this` parameter.", ThisParamBannedInConstructor: "Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.", ThisParamMayNotBeOptional: "The `this` parameter cannot be optional.", ThisParamMustBeFirst: "The `this` parameter must be the first function parameter.", ThisParamNoDefault: "The `this` parameter may not have a default value.", TypeBeforeInitializer: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.", TypeCastInPattern: "The type cast expression is expected to be wrapped with parenthesis.", UnexpectedExplicitInexactInObject: "Explicit inexact syntax must appear at the end of an inexact object.", UnexpectedReservedType: ({ reservedType: e14 }) => `Unexpected reserved type ${e14}.`, UnexpectedReservedUnderscore: "`_` is only allowed as a type argument to call or new.", UnexpectedSpaceBetweenModuloChecks: "Spaces between `%` and `checks` are not allowed here.", UnexpectedSpreadType: "Spread operator cannot appear in class or interface definitions.", UnexpectedSubtractionOperand: 'Unexpected token, expected "number" or "bigint".', UnexpectedTokenAfterTypeParameter: "Expected an arrow function after this type parameter declaration.", UnexpectedTypeParameterBeforeAsyncArrowFunction: "Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.", UnsupportedDeclareExportKind: ({ unsupportedExportKind: e14, suggestion: t11 }) => `\`declare export ${e14}\` is not supported. Use \`${t11}\` instead.`, UnsupportedStatementInDeclareModule: "Only declares and type imports are allowed inside declare module.", UnterminatedFlowComment: "Unterminated flow-comment." });
62134
- function St2(e14) {
62133
+ }, ot2 = /* @__PURE__ */ new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]), ut2 = x10`flow`({ AmbiguousConditionalArrow: "Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.", AmbiguousDeclareModuleKind: "Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.", AssignReservedType: ({ reservedType: e14 }) => `Cannot overwrite reserved type ${e14}.`, DeclareClassElement: "The `declare` modifier can only appear on class fields.", DeclareClassFieldInitializer: "Initializers are not allowed in fields with the `declare` modifier.", DuplicateDeclareModuleExports: "Duplicate `declare module.exports` statement.", EnumBooleanMemberNotInitialized: ({ memberName: e14, enumName: t11 }) => `Boolean enum members need to be initialized. Use either \`${e14} = true,\` or \`${e14} = false,\` in enum \`${t11}\`.`, EnumDuplicateMemberName: ({ memberName: e14, enumName: t11 }) => `Enum member names need to be unique, but the name \`${e14}\` has already been used before in enum \`${t11}\`.`, EnumInconsistentMemberValues: ({ enumName: e14 }) => `Enum \`${e14}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`, EnumInvalidExplicitType: ({ invalidEnumType: e14, enumName: t11 }) => `Enum type \`${e14}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t11}\`.`, EnumInvalidExplicitTypeUnknownSupplied: ({ enumName: e14 }) => `Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e14}\`.`, EnumInvalidMemberInitializerPrimaryType: ({ enumName: e14, memberName: t11, explicitType: r11 }) => `Enum \`${e14}\` has type \`${r11}\`, so the initializer of \`${t11}\` needs to be a ${r11} literal.`, EnumInvalidMemberInitializerSymbolType: ({ enumName: e14, memberName: t11 }) => `Symbol enum members cannot be initialized. Use \`${t11},\` in enum \`${e14}\`.`, EnumInvalidMemberInitializerUnknownType: ({ enumName: e14, memberName: t11 }) => `The enum member initializer for \`${t11}\` needs to be a literal (either a boolean, number, or string) in enum \`${e14}\`.`, EnumInvalidMemberName: ({ enumName: e14, memberName: t11, suggestion: r11 }) => `Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t11}\`, consider using \`${r11}\`, in enum \`${e14}\`.`, EnumNumberMemberNotInitialized: ({ enumName: e14, memberName: t11 }) => `Number enum members need to be initialized, e.g. \`${t11} = 1\` in enum \`${e14}\`.`, EnumStringMemberInconsistentlyInitailized: ({ enumName: e14 }) => `String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e14}\`.`, GetterMayNotHaveThisParam: "A getter cannot have a `this` parameter.", ImportReflectionHasImportType: "An `import module` declaration can not use `type` or `typeof` keyword.", ImportTypeShorthandOnlyInPureImport: "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.", InexactInsideExact: "Explicit inexact syntax cannot appear inside an explicit exact object type.", InexactInsideNonObject: "Explicit inexact syntax cannot appear in class or interface definitions.", InexactVariance: "Explicit inexact syntax cannot have variance.", InvalidNonTypeImportInDeclareModule: "Imports within a `declare module` body must always be `import type` or `import typeof`.", MissingTypeParamDefault: "Type parameter declaration needs a default, since a preceding type parameter declaration has a default.", NestedDeclareModule: "`declare module` cannot be used inside another `declare module`.", NestedFlowComment: "Cannot have a flow comment inside another flow comment.", PatternIsOptional: Object.assign({ message: "A binding pattern parameter cannot be optional in an implementation signature." }, { reasonCode: "OptionalBindingPattern" }), SetterMayNotHaveThisParam: "A setter cannot have a `this` parameter.", SpreadVariance: "Spread properties cannot have variance.", ThisParamAnnotationRequired: "A type annotation is required for the `this` parameter.", ThisParamBannedInConstructor: "Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.", ThisParamMayNotBeOptional: "The `this` parameter cannot be optional.", ThisParamMustBeFirst: "The `this` parameter must be the first function parameter.", ThisParamNoDefault: "The `this` parameter may not have a default value.", TypeBeforeInitializer: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.", TypeCastInPattern: "The type cast expression is expected to be wrapped with parenthesis.", UnexpectedExplicitInexactInObject: "Explicit inexact syntax must appear at the end of an inexact object.", UnexpectedReservedType: ({ reservedType: e14 }) => `Unexpected reserved type ${e14}.`, UnexpectedReservedUnderscore: "`_` is only allowed as a type argument to call or new.", UnexpectedSpaceBetweenModuloChecks: "Spaces between `%` and `checks` are not allowed here.", UnexpectedSpreadType: "Spread operator cannot appear in class or interface definitions.", UnexpectedSubtractionOperand: 'Unexpected token, expected "number" or "bigint".', UnexpectedTokenAfterTypeParameter: "Expected an arrow function after this type parameter declaration.", UnexpectedTypeParameterBeforeAsyncArrowFunction: "Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.", UnsupportedDeclareExportKind: ({ unsupportedExportKind: e14, suggestion: t11 }) => `\`declare export ${e14}\` is not supported. Use \`${t11}\` instead.`, UnsupportedStatementInDeclareModule: "Only declares and type imports are allowed inside declare module.", UnterminatedFlowComment: "Unterminated flow-comment." });
62134
+ function lt2(e14) {
62135
62135
  return "type" === e14.importKind || "typeof" === e14.importKind;
62136
62136
  }
62137
- var Tt2 = { const: "declare export var", let: "declare export var", type: "export type", interface: "export interface" };
62138
- var Et2 = /\*?\s*@((?:no)?flow)\b/, vt2 = x10`jsx`({ AttributeIsEmpty: "JSX attributes must only be assigned a non-empty expression.", MissingClosingTagElement: ({ openingTagName: e14 }) => `Expected corresponding JSX closing tag for <${e14}>.`, MissingClosingTagFragment: "Expected corresponding JSX closing tag for <>.", UnexpectedSequenceExpression: "Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?", UnexpectedToken: ({ unexpected: e14, HTMLEntity: t11 }) => `Unexpected token \`${e14}\`. Did you mean \`${t11}\` or \`{'${e14}'}\`?`, UnsupportedJsxValue: "JSX value should be either an expression or a quoted JSX text.", UnterminatedJsxContent: "Unterminated JSX contents.", UnwrappedAdjacentJSXElements: "Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?" });
62139
- function Pt2(e14) {
62137
+ var ct2 = { const: "declare export var", let: "declare export var", type: "export type", interface: "export interface" };
62138
+ var pt2 = /\*?\s*@((?:no)?flow)\b/, dt2 = x10`jsx`({ AttributeIsEmpty: "JSX attributes must only be assigned a non-empty expression.", MissingClosingTagElement: ({ openingTagName: e14 }) => `Expected corresponding JSX closing tag for <${e14}>.`, MissingClosingTagFragment: "Expected corresponding JSX closing tag for <>.", UnexpectedSequenceExpression: "Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?", UnexpectedToken: ({ unexpected: e14, HTMLEntity: t11 }) => `Unexpected token \`${e14}\`. Did you mean \`${t11}\` or \`{'${e14}'}\`?`, UnsupportedJsxValue: "JSX value should be either an expression or a quoted JSX text.", UnterminatedJsxContent: "Unterminated JSX contents.", UnwrappedAdjacentJSXElements: "Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?" });
62139
+ function ht2(e14) {
62140
62140
  return !!e14 && ("JSXOpeningFragment" === e14.type || "JSXClosingFragment" === e14.type);
62141
62141
  }
62142
- function At2(e14) {
62142
+ function ft2(e14) {
62143
62143
  if ("JSXIdentifier" === e14.type)
62144
62144
  return e14.name;
62145
62145
  if ("JSXNamespacedName" === e14.type)
62146
62146
  return e14.namespace.name + ":" + e14.name.name;
62147
62147
  if ("JSXMemberExpression" === e14.type)
62148
- return At2(e14.object) + "." + At2(e14.property);
62148
+ return ft2(e14.object) + "." + ft2(e14.property);
62149
62149
  throw new Error("Node had unexpected type: " + e14.type);
62150
62150
  }
62151
- var Dt2 = class extends Ie2 {
62151
+ var mt2 = class extends be2 {
62152
62152
  constructor(...e14) {
62153
62153
  super(...e14), this.types = /* @__PURE__ */ new Set(), this.enums = /* @__PURE__ */ new Set(), this.constEnums = /* @__PURE__ */ new Set(), this.classes = /* @__PURE__ */ new Set(), this.exportOnlyBindings = /* @__PURE__ */ new Set();
62154
62154
  }
62155
- }, Ct2 = class extends Ne2 {
62155
+ }, yt2 = class extends Se2 {
62156
62156
  constructor(...e14) {
62157
62157
  super(...e14), this.importsStack = [];
62158
62158
  }
62159
62159
  createScope(e14) {
62160
- return this.importsStack.push(/* @__PURE__ */ new Set()), new Dt2(e14);
62160
+ return this.importsStack.push(/* @__PURE__ */ new Set()), new mt2(e14);
62161
62161
  }
62162
62162
  enter(e14) {
62163
- e14 == Te2 && this.importsStack.push(/* @__PURE__ */ new Set()), super.enter(e14);
62163
+ 256 == e14 && this.importsStack.push(/* @__PURE__ */ new Set()), super.enter(e14);
62164
62164
  }
62165
62165
  exit() {
62166
62166
  let e14 = super.exit();
62167
- return e14 == Te2 && this.importsStack.pop(), e14;
62167
+ return 256 == e14 && this.importsStack.pop(), e14;
62168
62168
  }
62169
62169
  hasImport(e14, t11) {
62170
62170
  let r11 = this.importsStack.length;
@@ -62178,12 +62178,12 @@ var j5 = M5((e13) => {
62178
62178
  return false;
62179
62179
  }
62180
62180
  declareName(e14, t11, r11) {
62181
- if (t11 & De2)
62181
+ if (4096 & t11)
62182
62182
  return this.hasImport(e14, true) && this.parser.raise(b10.VarRedeclaration, { at: r11, identifierName: e14 }), void this.importsStack[this.importsStack.length - 1].add(e14);
62183
62183
  let n11 = this.currentScope();
62184
- if (t11 & Pe2)
62184
+ if (1024 & t11)
62185
62185
  return this.maybeExportDefined(n11, e14), void n11.exportOnlyBindings.add(e14);
62186
- super.declareName(e14, t11, r11), 2 & t11 && (1 & t11 || (this.checkRedeclarationInScope(n11, e14, t11, r11), this.maybeExportDefined(n11, e14)), n11.types.add(e14)), 256 & t11 && n11.enums.add(e14), 512 & t11 && n11.constEnums.add(e14), t11 & ve2 && n11.classes.add(e14);
62186
+ super.declareName(e14, t11, r11), 2 & t11 && (1 & t11 || (this.checkRedeclarationInScope(n11, e14, t11, r11), this.maybeExportDefined(n11, e14)), n11.types.add(e14)), 256 & t11 && n11.enums.add(e14), 512 & t11 && n11.constEnums.add(e14), 128 & t11 && n11.classes.add(e14);
62187
62187
  }
62188
62188
  isRedeclaredInScope(e14, t11, r11) {
62189
62189
  if (e14.enums.has(t11)) {
@@ -62192,7 +62192,7 @@ var j5 = M5((e13) => {
62192
62192
  }
62193
62193
  return true;
62194
62194
  }
62195
- return r11 & ve2 && e14.classes.has(t11) ? !!e14.lexical.has(t11) && !!(1 & r11) : !!(2 & r11 && e14.types.has(t11)) || super.isRedeclaredInScope(e14, t11, r11);
62195
+ return 128 & r11 && e14.classes.has(t11) ? !!e14.lexical.has(t11) && !!(1 & r11) : !!(2 & r11 && e14.types.has(t11)) || super.isRedeclaredInScope(e14, t11, r11);
62196
62196
  }
62197
62197
  checkLocalExport(e14) {
62198
62198
  let { name: t11 } = e14;
@@ -62205,11 +62205,11 @@ var j5 = M5((e13) => {
62205
62205
  super.checkLocalExport(e14);
62206
62206
  }
62207
62207
  }
62208
- }, wt2 = (e14) => "ParenthesizedExpression" === e14.type ? wt2(e14.expression) : e14, kt2 = class extends gt2 {
62208
+ }, gt2 = (e14) => "ParenthesizedExpression" === e14.type ? gt2(e14.expression) : e14, xt2 = class extends at2 {
62209
62209
  toAssignable(e14, t11 = false) {
62210
62210
  var r11, n11;
62211
62211
  let i11;
62212
- switch (("ParenthesizedExpression" === e14.type || null != (r11 = e14.extra) && r11.parenthesized) && (i11 = wt2(e14), t11 ? "Identifier" === i11.type ? this.expressionScope.recordArrowParameterBindingError(b10.InvalidParenthesizedAssignment, { at: e14 }) : "MemberExpression" !== i11.type && this.raise(b10.InvalidParenthesizedAssignment, { at: e14 }) : this.raise(b10.InvalidParenthesizedAssignment, { at: e14 })), e14.type) {
62212
+ switch (("ParenthesizedExpression" === e14.type || null != (r11 = e14.extra) && r11.parenthesized) && (i11 = gt2(e14), t11 ? "Identifier" === i11.type ? this.expressionScope.recordArrowParameterBindingError(b10.InvalidParenthesizedAssignment, { at: e14 }) : "MemberExpression" !== i11.type && this.raise(b10.InvalidParenthesizedAssignment, { at: e14 }) : this.raise(b10.InvalidParenthesizedAssignment, { at: e14 })), e14.type) {
62213
62213
  case "Identifier":
62214
62214
  case "ObjectPattern":
62215
62215
  case "ArrayPattern":
@@ -62370,13 +62370,13 @@ var j5 = M5((e13) => {
62370
62370
  isValidLVal(e14, t11, r11) {
62371
62371
  return ((e15, t12) => Object.hasOwnProperty.call(e15, t12) && e15[t12])({ AssignmentPattern: "left", RestElement: "argument", ObjectProperty: "value", ParenthesizedExpression: "expression", ArrayPattern: "elements", ObjectPattern: "properties" }, e14);
62372
62372
  }
62373
- checkLVal(e14, { in: t11, binding: r11 = ke2, checkClashes: n11 = false, strictModeChanged: i11 = false, hasParenthesizedAncestor: s11 = false }) {
62373
+ checkLVal(e14, { in: t11, binding: r11 = 64, checkClashes: n11 = false, strictModeChanged: i11 = false, hasParenthesizedAncestor: s11 = false }) {
62374
62374
  var a10;
62375
62375
  let o10 = e14.type;
62376
62376
  if (this.isObjectMethod(e14))
62377
62377
  return;
62378
62378
  if ("MemberExpression" === o10)
62379
- return void (r11 !== ke2 && this.raise(b10.InvalidPropertyBindingPattern, { at: e14 }));
62379
+ return void (64 !== r11 && this.raise(b10.InvalidPropertyBindingPattern, { at: e14 }));
62380
62380
  if ("Identifier" === o10) {
62381
62381
  this.checkIdentifier(e14, r11, i11);
62382
62382
  let { name: t12 } = e14;
@@ -62386,7 +62386,7 @@ var j5 = M5((e13) => {
62386
62386
  if (true === u10)
62387
62387
  return;
62388
62388
  if (false === u10) {
62389
- let n12 = r11 === ke2 ? b10.InvalidLhs : b10.InvalidLhsBinding;
62389
+ let n12 = 64 === r11 ? b10.InvalidLhs : b10.InvalidLhsBinding;
62390
62390
  return void this.raise(n12, { at: e14, ancestor: t11 });
62391
62391
  }
62392
62392
  let [l10, c11] = Array.isArray(u10) ? u10 : [u10, "ParenthesizedExpression" === o10], p11 = "ArrayPattern" === o10 || "ObjectPattern" === o10 || "ParenthesizedExpression" === o10 ? { type: o10 } : t11;
@@ -62394,7 +62394,7 @@ var j5 = M5((e13) => {
62394
62394
  t12 && this.checkLVal(t12, { in: p11, binding: r11, checkClashes: n11, strictModeChanged: i11, hasParenthesizedAncestor: c11 });
62395
62395
  }
62396
62396
  checkIdentifier(e14, t11, r11 = false) {
62397
- this.state.strict && (r11 ? ge2(e14.name, this.inModule) : ye2(e14.name)) && (t11 === ke2 ? this.raise(b10.StrictEvalArguments, { at: e14, referenceName: e14.name }) : this.raise(b10.StrictEvalArgumentsBinding, { at: e14, bindingName: e14.name })), t11 & Ce2 && "let" === e14.name && this.raise(b10.LetInLexicalBinding, { at: e14 }), t11 & ke2 || this.declareNameFromIdentifier(e14, t11);
62397
+ this.state.strict && (r11 ? ge2(e14.name, this.inModule) : ye2(e14.name)) && (64 === t11 ? this.raise(b10.StrictEvalArguments, { at: e14, referenceName: e14.name }) : this.raise(b10.StrictEvalArgumentsBinding, { at: e14, bindingName: e14.name })), 8192 & t11 && "let" === e14.name && this.raise(b10.LetInLexicalBinding, { at: e14 }), 64 & t11 || this.declareNameFromIdentifier(e14, t11);
62398
62398
  }
62399
62399
  declareNameFromIdentifier(e14, t11) {
62400
62400
  this.scope.declareName(e14.name, t11, e14.loc.start);
@@ -62419,24 +62419,24 @@ var j5 = M5((e13) => {
62419
62419
  return !!this.match(12) && (this.raise(this.lookaheadCharCode() === e14 ? b10.RestTrailingComma : b10.ElementAfterRest, { at: this.state.startLoc }), true);
62420
62420
  }
62421
62421
  };
62422
- function It2(e14) {
62422
+ function bt2(e14) {
62423
62423
  if (!e14)
62424
62424
  throw new Error("Assert fail");
62425
62425
  }
62426
- var Nt2 = x10`typescript`({ AbstractMethodHasImplementation: ({ methodName: e14 }) => `Method '${e14}' cannot have an implementation because it is marked abstract.`, AbstractPropertyHasInitializer: ({ propertyName: e14 }) => `Property '${e14}' cannot have an initializer because it is marked abstract.`, AccesorCannotDeclareThisParameter: "'get' and 'set' accessors cannot declare 'this' parameters.", AccesorCannotHaveTypeParameters: "An accessor cannot have type parameters.", AccessorCannotBeOptional: "An 'accessor' property cannot be declared optional.", ClassMethodHasDeclare: "Class methods cannot have the 'declare' modifier.", ClassMethodHasReadonly: "Class methods cannot have the 'readonly' modifier.", ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference: "A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.", ConstructorHasTypeParameters: "Type parameters cannot appear on a constructor declaration.", DeclareAccessor: ({ kind: e14 }) => `'declare' is not allowed in ${e14}ters.`, DeclareClassFieldHasInitializer: "Initializers are not allowed in ambient contexts.", DeclareFunctionHasImplementation: "An implementation cannot be declared in ambient contexts.", DuplicateAccessibilityModifier: ({ modifier: e14 }) => "Accessibility modifier already seen.", DuplicateModifier: ({ modifier: e14 }) => `Duplicate modifier: '${e14}'.`, EmptyHeritageClauseType: ({ token: e14 }) => `'${e14}' list cannot be empty.`, EmptyTypeArguments: "Type argument list cannot be empty.", EmptyTypeParameters: "Type parameter list cannot be empty.", ExpectedAmbientAfterExportDeclare: "'export declare' must be followed by an ambient declaration.", ImportAliasHasImportType: "An import alias can not use 'import type'.", ImportReflectionHasImportType: "An `import module` declaration can not use `type` modifier", IncompatibleModifiers: ({ modifiers: e14 }) => `'${e14[0]}' modifier cannot be used with '${e14[1]}' modifier.`, IndexSignatureHasAbstract: "Index signatures cannot have the 'abstract' modifier.", IndexSignatureHasAccessibility: ({ modifier: e14 }) => `Index signatures cannot have an accessibility modifier ('${e14}').`, IndexSignatureHasDeclare: "Index signatures cannot have the 'declare' modifier.", IndexSignatureHasOverride: "'override' modifier cannot appear on an index signature.", IndexSignatureHasStatic: "Index signatures cannot have the 'static' modifier.", InitializerNotAllowedInAmbientContext: "Initializers are not allowed in ambient contexts.", InvalidModifierOnTypeMember: ({ modifier: e14 }) => `'${e14}' modifier cannot appear on a type member.`, InvalidModifierOnTypeParameter: ({ modifier: e14 }) => `'${e14}' modifier cannot appear on a type parameter.`, InvalidModifierOnTypeParameterPositions: ({ modifier: e14 }) => `'${e14}' modifier can only appear on a type parameter of a class, interface or type alias.`, InvalidModifiersOrder: ({ orderedModifiers: e14 }) => `'${e14[0]}' modifier must precede '${e14[1]}' modifier.`, InvalidPropertyAccessAfterInstantiationExpression: "Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.", InvalidTupleMemberLabel: "Tuple members must be labeled with a simple identifier.", MissingInterfaceName: "'interface' declarations must be followed by an identifier.", MixedLabeledAndUnlabeledElements: "Tuple members must all have names or all not have names.", NonAbstractClassHasAbstractMethod: "Abstract methods can only appear within an abstract class.", NonClassMethodPropertyHasAbstractModifer: "'abstract' modifier can only appear on a class, method, or property declaration.", OptionalTypeBeforeRequired: "A required element cannot follow an optional element.", OverrideNotInSubClass: "This member cannot have an 'override' modifier because its containing class does not extend another class.", PatternIsOptional: "A binding pattern parameter cannot be optional in an implementation signature.", PrivateElementHasAbstract: "Private elements cannot have the 'abstract' modifier.", PrivateElementHasAccessibility: ({ modifier: e14 }) => `Private elements cannot have an accessibility modifier ('${e14}').`, ReadonlyForMethodSignature: "'readonly' modifier can only appear on a property declaration or index signature.", ReservedArrowTypeParam: "This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.", ReservedTypeAssertion: "This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.", SetAccesorCannotHaveOptionalParameter: "A 'set' accessor cannot have an optional parameter.", SetAccesorCannotHaveRestParameter: "A 'set' accessor cannot have rest parameter.", SetAccesorCannotHaveReturnType: "A 'set' accessor cannot have a return type annotation.", SingleTypeParameterWithoutTrailingComma: ({ typeParameterName: e14 }) => `Single type parameter ${e14} should have a trailing comma. Example usage: <${e14},>.`, StaticBlockCannotHaveModifier: "Static class blocks cannot have any modifier.", TupleOptionalAfterType: "A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).", TypeAnnotationAfterAssign: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.", TypeImportCannotSpecifyDefaultAndNamed: "A type-only import can specify a default import or named bindings, but not both.", TypeModifierIsUsedInTypeExports: "The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.", TypeModifierIsUsedInTypeImports: "The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.", UnexpectedParameterModifier: "A parameter property is only allowed in a constructor implementation.", UnexpectedReadonly: "'readonly' type modifier is only permitted on array and tuple literal types.", UnexpectedTypeAnnotation: "Did not expect a type annotation here.", UnexpectedTypeCastInParameter: "Unexpected type cast in parameter position.", UnsupportedImportTypeArgument: "Argument in a type import must be a string literal.", UnsupportedParameterPropertyKind: "A parameter property may not be declared using a binding pattern.", UnsupportedSignatureParameterKind: ({ type: e14 }) => `Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e14}.` });
62427
- function Ft2(e14) {
62426
+ var St2 = x10`typescript`({ AbstractMethodHasImplementation: ({ methodName: e14 }) => `Method '${e14}' cannot have an implementation because it is marked abstract.`, AbstractPropertyHasInitializer: ({ propertyName: e14 }) => `Property '${e14}' cannot have an initializer because it is marked abstract.`, AccesorCannotDeclareThisParameter: "'get' and 'set' accessors cannot declare 'this' parameters.", AccesorCannotHaveTypeParameters: "An accessor cannot have type parameters.", AccessorCannotBeOptional: "An 'accessor' property cannot be declared optional.", ClassMethodHasDeclare: "Class methods cannot have the 'declare' modifier.", ClassMethodHasReadonly: "Class methods cannot have the 'readonly' modifier.", ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference: "A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.", ConstructorHasTypeParameters: "Type parameters cannot appear on a constructor declaration.", DeclareAccessor: ({ kind: e14 }) => `'declare' is not allowed in ${e14}ters.`, DeclareClassFieldHasInitializer: "Initializers are not allowed in ambient contexts.", DeclareFunctionHasImplementation: "An implementation cannot be declared in ambient contexts.", DuplicateAccessibilityModifier: ({ modifier: e14 }) => "Accessibility modifier already seen.", DuplicateModifier: ({ modifier: e14 }) => `Duplicate modifier: '${e14}'.`, EmptyHeritageClauseType: ({ token: e14 }) => `'${e14}' list cannot be empty.`, EmptyTypeArguments: "Type argument list cannot be empty.", EmptyTypeParameters: "Type parameter list cannot be empty.", ExpectedAmbientAfterExportDeclare: "'export declare' must be followed by an ambient declaration.", ImportAliasHasImportType: "An import alias can not use 'import type'.", ImportReflectionHasImportType: "An `import module` declaration can not use `type` modifier", IncompatibleModifiers: ({ modifiers: e14 }) => `'${e14[0]}' modifier cannot be used with '${e14[1]}' modifier.`, IndexSignatureHasAbstract: "Index signatures cannot have the 'abstract' modifier.", IndexSignatureHasAccessibility: ({ modifier: e14 }) => `Index signatures cannot have an accessibility modifier ('${e14}').`, IndexSignatureHasDeclare: "Index signatures cannot have the 'declare' modifier.", IndexSignatureHasOverride: "'override' modifier cannot appear on an index signature.", IndexSignatureHasStatic: "Index signatures cannot have the 'static' modifier.", InitializerNotAllowedInAmbientContext: "Initializers are not allowed in ambient contexts.", InvalidModifierOnTypeMember: ({ modifier: e14 }) => `'${e14}' modifier cannot appear on a type member.`, InvalidModifierOnTypeParameter: ({ modifier: e14 }) => `'${e14}' modifier cannot appear on a type parameter.`, InvalidModifierOnTypeParameterPositions: ({ modifier: e14 }) => `'${e14}' modifier can only appear on a type parameter of a class, interface or type alias.`, InvalidModifiersOrder: ({ orderedModifiers: e14 }) => `'${e14[0]}' modifier must precede '${e14[1]}' modifier.`, InvalidPropertyAccessAfterInstantiationExpression: "Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.", InvalidTupleMemberLabel: "Tuple members must be labeled with a simple identifier.", MissingInterfaceName: "'interface' declarations must be followed by an identifier.", MixedLabeledAndUnlabeledElements: "Tuple members must all have names or all not have names.", NonAbstractClassHasAbstractMethod: "Abstract methods can only appear within an abstract class.", NonClassMethodPropertyHasAbstractModifer: "'abstract' modifier can only appear on a class, method, or property declaration.", OptionalTypeBeforeRequired: "A required element cannot follow an optional element.", OverrideNotInSubClass: "This member cannot have an 'override' modifier because its containing class does not extend another class.", PatternIsOptional: "A binding pattern parameter cannot be optional in an implementation signature.", PrivateElementHasAbstract: "Private elements cannot have the 'abstract' modifier.", PrivateElementHasAccessibility: ({ modifier: e14 }) => `Private elements cannot have an accessibility modifier ('${e14}').`, ReadonlyForMethodSignature: "'readonly' modifier can only appear on a property declaration or index signature.", ReservedArrowTypeParam: "This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.", ReservedTypeAssertion: "This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.", SetAccesorCannotHaveOptionalParameter: "A 'set' accessor cannot have an optional parameter.", SetAccesorCannotHaveRestParameter: "A 'set' accessor cannot have rest parameter.", SetAccesorCannotHaveReturnType: "A 'set' accessor cannot have a return type annotation.", SingleTypeParameterWithoutTrailingComma: ({ typeParameterName: e14 }) => `Single type parameter ${e14} should have a trailing comma. Example usage: <${e14},>.`, StaticBlockCannotHaveModifier: "Static class blocks cannot have any modifier.", TupleOptionalAfterType: "A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).", TypeAnnotationAfterAssign: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.", TypeImportCannotSpecifyDefaultAndNamed: "A type-only import can specify a default import or named bindings, but not both.", TypeModifierIsUsedInTypeExports: "The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.", TypeModifierIsUsedInTypeImports: "The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.", UnexpectedParameterModifier: "A parameter property is only allowed in a constructor implementation.", UnexpectedReadonly: "'readonly' type modifier is only permitted on array and tuple literal types.", UnexpectedTypeAnnotation: "Did not expect a type annotation here.", UnexpectedTypeCastInParameter: "Unexpected type cast in parameter position.", UnsupportedImportTypeArgument: "Argument in a type import must be a string literal.", UnsupportedParameterPropertyKind: "A parameter property may not be declared using a binding pattern.", UnsupportedSignatureParameterKind: ({ type: e14 }) => `Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e14}.` });
62427
+ function Tt2(e14) {
62428
62428
  return "private" === e14 || "public" === e14 || "protected" === e14;
62429
62429
  }
62430
- function _t2(e14) {
62430
+ function Et2(e14) {
62431
62431
  return "in" === e14 || "out" === e14;
62432
62432
  }
62433
- function Ot2(e14) {
62433
+ function vt2(e14) {
62434
62434
  if ("MemberExpression" !== e14.type)
62435
62435
  return false;
62436
62436
  let { computed: t11, property: r11 } = e14;
62437
- return (!t11 || "StringLiteral" === r11.type || !("TemplateLiteral" !== r11.type || r11.expressions.length > 0)) && Bt2(e14.object);
62437
+ return (!t11 || "StringLiteral" === r11.type || !("TemplateLiteral" !== r11.type || r11.expressions.length > 0)) && Dt2(e14.object);
62438
62438
  }
62439
- function Lt2(e14, t11) {
62439
+ function Pt2(e14, t11) {
62440
62440
  var r11;
62441
62441
  let { type: n11 } = e14;
62442
62442
  if (null != (r11 = e14.extra) && r11.parenthesized)
@@ -62449,23 +62449,23 @@ var j5 = M5((e13) => {
62449
62449
  }
62450
62450
  } else if ("StringLiteral" === n11 || "BooleanLiteral" === n11)
62451
62451
  return true;
62452
- return !!(Mt2(e14, t11) || function(e15, t12) {
62452
+ return !!(At2(e14, t11) || function(e15, t12) {
62453
62453
  if ("UnaryExpression" === e15.type) {
62454
62454
  let { operator: r12, argument: n12 } = e15;
62455
- if ("-" === r12 && Mt2(n12, t12))
62455
+ if ("-" === r12 && At2(n12, t12))
62456
62456
  return true;
62457
62457
  }
62458
62458
  return false;
62459
- }(e14, t11) || "TemplateLiteral" === n11 && 0 === e14.expressions.length || Ot2(e14));
62459
+ }(e14, t11) || "TemplateLiteral" === n11 && 0 === e14.expressions.length || vt2(e14));
62460
62460
  }
62461
- function Mt2(e14, t11) {
62461
+ function At2(e14, t11) {
62462
62462
  return t11 ? "Literal" === e14.type && ("number" == typeof e14.value || "bigint" in e14) : "NumericLiteral" === e14.type || "BigIntLiteral" === e14.type;
62463
62463
  }
62464
- function Bt2(e14) {
62465
- return "Identifier" === e14.type || "MemberExpression" === e14.type && !e14.computed && Bt2(e14.object);
62464
+ function Dt2(e14) {
62465
+ return "Identifier" === e14.type || "MemberExpression" === e14.type && !e14.computed && Dt2(e14.object);
62466
62466
  }
62467
- var jt2 = x10`placeholders`({ ClassNameIsRequired: "A class name is required.", UnexpectedSpace: "Unexpected space in placeholder." });
62468
- function Rt2(e14, t11) {
62467
+ var Ct2 = x10`placeholders`({ ClassNameIsRequired: "A class name is required.", UnexpectedSpace: "Unexpected space in placeholder." });
62468
+ function wt2(e14, t11) {
62469
62469
  let [r11, n11] = "string" == typeof t11 ? [t11, {}] : t11, i11 = Object.keys(n11), s11 = 0 === i11.length;
62470
62470
  return e14.some((e15) => {
62471
62471
  if ("string" == typeof e15)
@@ -62481,12 +62481,12 @@ var j5 = M5((e13) => {
62481
62481
  }
62482
62482
  });
62483
62483
  }
62484
- function Ut2(e14, t11, r11) {
62484
+ function kt2(e14, t11, r11) {
62485
62485
  let n11 = e14.find((e15) => Array.isArray(e15) ? e15[0] === t11 : e15 === t11);
62486
62486
  return n11 && Array.isArray(n11) && n11.length > 1 ? n11[1][r11] : null;
62487
62487
  }
62488
- var $t2 = ["minimal", "fsharp", "hack", "smart"], Vt2 = ["^^", "@@", "^", "%", "#"], qt2 = ["hash", "bar"];
62489
- var Kt2 = { estree: (e14) => class extends e14 {
62488
+ var It2 = ["minimal", "fsharp", "hack", "smart"], Nt2 = ["^^", "@@", "^", "%", "#"], Ft2 = ["hash", "bar"];
62489
+ var _t2 = { estree: (e14) => class extends e14 {
62490
62490
  parse() {
62491
62491
  let e15 = E10(super.parse());
62492
62492
  return this.options.tokens && (e15.tokens = e15.tokens.map(E10)), e15;
@@ -62676,7 +62676,7 @@ var j5 = M5((e13) => {
62676
62676
  let e15 = "", t11 = this.state.pos;
62677
62677
  for (; ; ) {
62678
62678
  if (this.state.pos >= this.length)
62679
- throw this.raise(vt2.UnterminatedJsxContent, { at: this.state.startLoc });
62679
+ throw this.raise(dt2.UnterminatedJsxContent, { at: this.state.startLoc });
62680
62680
  let r11 = this.input.charCodeAt(this.state.pos);
62681
62681
  switch (r11) {
62682
62682
  case 60:
@@ -62686,7 +62686,7 @@ var j5 = M5((e13) => {
62686
62686
  e15 += this.input.slice(t11, this.state.pos), e15 += this.jsxReadEntity(), t11 = this.state.pos;
62687
62687
  break;
62688
62688
  default:
62689
- $e2(r11) ? (e15 += this.input.slice(t11, this.state.pos), e15 += this.jsxReadNewLine(true), t11 = this.state.pos) : ++this.state.pos;
62689
+ Ie2(r11) ? (e15 += this.input.slice(t11, this.state.pos), e15 += this.jsxReadNewLine(true), t11 = this.state.pos) : ++this.state.pos;
62690
62690
  }
62691
62691
  }
62692
62692
  }
@@ -62702,7 +62702,7 @@ var j5 = M5((e13) => {
62702
62702
  let n11 = this.input.charCodeAt(this.state.pos);
62703
62703
  if (n11 === e15)
62704
62704
  break;
62705
- 38 === n11 ? (t11 += this.input.slice(r11, this.state.pos), t11 += this.jsxReadEntity(), r11 = this.state.pos) : $e2(n11) ? (t11 += this.input.slice(r11, this.state.pos), t11 += this.jsxReadNewLine(false), r11 = this.state.pos) : ++this.state.pos;
62705
+ 38 === n11 ? (t11 += this.input.slice(r11, this.state.pos), t11 += this.jsxReadEntity(), r11 = this.state.pos) : Ie2(n11) ? (t11 += this.input.slice(r11, this.state.pos), t11 += this.jsxReadNewLine(false), r11 = this.state.pos) : ++this.state.pos;
62706
62706
  }
62707
62707
  t11 += this.input.slice(r11, this.state.pos++), this.finishToken(131, t11);
62708
62708
  }
@@ -62757,12 +62757,12 @@ var j5 = M5((e13) => {
62757
62757
  let e15;
62758
62758
  switch (this.state.type) {
62759
62759
  case 5:
62760
- return e15 = this.startNode(), this.setContext(P10.brace), this.next(), e15 = this.jsxParseExpressionContainer(e15, P10.j_oTag), "JSXEmptyExpression" === e15.expression.type && this.raise(vt2.AttributeIsEmpty, { at: e15 }), e15;
62760
+ return e15 = this.startNode(), this.setContext(P10.brace), this.next(), e15 = this.jsxParseExpressionContainer(e15, P10.j_oTag), "JSXEmptyExpression" === e15.expression.type && this.raise(dt2.AttributeIsEmpty, { at: e15 }), e15;
62761
62761
  case 140:
62762
62762
  case 131:
62763
62763
  return this.parseExprAtom();
62764
62764
  default:
62765
- throw this.raise(vt2.UnsupportedJsxValue, { at: this.state.startLoc });
62765
+ throw this.raise(dt2.UnsupportedJsxValue, { at: this.state.startLoc });
62766
62766
  }
62767
62767
  }
62768
62768
  jsxParseEmptyExpression() {
@@ -62823,11 +62823,11 @@ var j5 = M5((e13) => {
62823
62823
  default:
62824
62824
  this.unexpected();
62825
62825
  }
62826
- Pt2(n11) && !Pt2(i11) && null !== i11 ? this.raise(vt2.MissingClosingTagFragment, { at: i11 }) : (!Pt2(n11) && Pt2(i11) || !Pt2(n11) && !Pt2(i11) && At2(i11.name) !== At2(n11.name)) && this.raise(vt2.MissingClosingTagElement, { at: i11, openingTagName: At2(n11.name) });
62826
+ ht2(n11) && !ht2(i11) && null !== i11 ? this.raise(dt2.MissingClosingTagFragment, { at: i11 }) : (!ht2(n11) && ht2(i11) || !ht2(n11) && !ht2(i11) && ft2(i11.name) !== ft2(n11.name)) && this.raise(dt2.MissingClosingTagElement, { at: i11, openingTagName: ft2(n11.name) });
62827
62827
  }
62828
- if (Pt2(n11) ? (t11.openingFragment = n11, t11.closingFragment = i11) : (t11.openingElement = n11, t11.closingElement = i11), t11.children = r11, this.match(47))
62829
- throw this.raise(vt2.UnwrappedAdjacentJSXElements, { at: this.state.startLoc });
62830
- return Pt2(n11) ? this.finishNode(t11, "JSXFragment") : this.finishNode(t11, "JSXElement");
62828
+ if (ht2(n11) ? (t11.openingFragment = n11, t11.closingFragment = i11) : (t11.openingElement = n11, t11.closingElement = i11), t11.children = r11, this.match(47))
62829
+ throw this.raise(dt2.UnwrappedAdjacentJSXElements, { at: this.state.startLoc });
62830
+ return ht2(n11) ? this.finishNode(t11, "JSXFragment") : this.finishNode(t11, "JSXElement");
62831
62831
  }
62832
62832
  jsxParseElement() {
62833
62833
  let e15 = this.state.startLoc;
@@ -62879,7 +62879,7 @@ var j5 = M5((e13) => {
62879
62879
  super(...e15), this.flowPragma = void 0;
62880
62880
  }
62881
62881
  getScopeHandler() {
62882
- return _e2;
62882
+ return Ee2;
62883
62883
  }
62884
62884
  shouldParseTypes() {
62885
62885
  return this.getPluginOption("flow", "all") || "flow" === this.flowPragma;
@@ -62892,7 +62892,7 @@ var j5 = M5((e13) => {
62892
62892
  }
62893
62893
  addComment(e15) {
62894
62894
  if (void 0 === this.flowPragma) {
62895
- let t11 = Et2.exec(e15.value);
62895
+ let t11 = pt2.exec(e15.value);
62896
62896
  if (t11)
62897
62897
  if ("flow" === t11[1])
62898
62898
  this.flowPragma = "flow";
@@ -62912,7 +62912,7 @@ var j5 = M5((e13) => {
62912
62912
  }
62913
62913
  flowParsePredicate() {
62914
62914
  let e15 = this.startNode(), t11 = this.state.startLoc;
62915
- return this.next(), this.expectContextual(108), this.state.lastTokStart > t11.index + 1 && this.raise(bt2.UnexpectedSpaceBetweenModuloChecks, { at: t11 }), this.eat(10) ? (e15.value = super.parseExpression(), this.expect(11), this.finishNode(e15, "DeclaredPredicate")) : this.finishNode(e15, "InferredPredicate");
62915
+ return this.next(), this.expectContextual(108), this.state.lastTokStart > t11.index + 1 && this.raise(ut2.UnexpectedSpaceBetweenModuloChecks, { at: t11 }), this.eat(10) ? (e15.value = super.parseExpression(), this.expect(11), this.finishNode(e15, "DeclaredPredicate")) : this.finishNode(e15, "InferredPredicate");
62916
62916
  }
62917
62917
  flowParseTypeAndPredicateInitialiser() {
62918
62918
  let e15 = this.state.inType;
@@ -62931,7 +62931,7 @@ var j5 = M5((e13) => {
62931
62931
  return r11.params = i11.params, r11.rest = i11.rest, r11.this = i11._this, this.expect(11), [r11.returnType, e15.predicate] = this.flowParseTypeAndPredicateInitialiser(), n11.typeAnnotation = this.finishNode(r11, "FunctionTypeAnnotation"), t11.typeAnnotation = this.finishNode(n11, "TypeAnnotation"), this.resetEndLocation(t11), this.semicolon(), this.scope.declareName(e15.id.name, 2048, e15.id.loc.start), this.finishNode(e15, "DeclareFunction");
62932
62932
  }
62933
62933
  flowParseDeclare(e15, t11) {
62934
- return this.match(80) ? this.flowParseDeclareClass(e15) : this.match(68) ? this.flowParseDeclareFunction(e15) : this.match(74) ? this.flowParseDeclareVariable(e15) : this.eatContextual(125) ? this.match(16) ? this.flowParseDeclareModuleExports(e15) : (t11 && this.raise(bt2.NestedDeclareModule, { at: this.state.lastTokStartLoc }), this.flowParseDeclareModule(e15)) : this.isContextual(128) ? this.flowParseDeclareTypeAlias(e15) : this.isContextual(129) ? this.flowParseDeclareOpaqueType(e15) : this.isContextual(127) ? this.flowParseDeclareInterface(e15) : this.match(82) ? this.flowParseDeclareExportDeclaration(e15, t11) : void this.unexpected();
62934
+ return this.match(80) ? this.flowParseDeclareClass(e15) : this.match(68) ? this.flowParseDeclareFunction(e15) : this.match(74) ? this.flowParseDeclareVariable(e15) : this.eatContextual(125) ? this.match(16) ? this.flowParseDeclareModuleExports(e15) : (t11 && this.raise(ut2.NestedDeclareModule, { at: this.state.lastTokStartLoc }), this.flowParseDeclareModule(e15)) : this.isContextual(128) ? this.flowParseDeclareTypeAlias(e15) : this.isContextual(129) ? this.flowParseDeclareOpaqueType(e15) : this.isContextual(127) ? this.flowParseDeclareInterface(e15) : this.match(82) ? this.flowParseDeclareExportDeclaration(e15, t11) : void this.unexpected();
62935
62935
  }
62936
62936
  flowParseDeclareVariable(e15) {
62937
62937
  return this.next(), e15.id = this.flowParseTypeAnnotatableIdentifier(true), this.scope.declareName(e15.id.name, 5, e15.id.loc.start), this.semicolon(), this.finishNode(e15, "DeclareVariable");
@@ -62941,14 +62941,14 @@ var j5 = M5((e13) => {
62941
62941
  let t11 = e15.body = this.startNode(), r11 = t11.body = [];
62942
62942
  for (this.expect(5); !this.match(8); ) {
62943
62943
  let e16 = this.startNode();
62944
- this.match(83) ? (this.next(), !this.isContextual(128) && !this.match(87) && this.raise(bt2.InvalidNonTypeImportInDeclareModule, { at: this.state.lastTokStartLoc }), super.parseImport(e16)) : (this.expectContextual(123, bt2.UnsupportedStatementInDeclareModule), e16 = this.flowParseDeclare(e16, true)), r11.push(e16);
62944
+ this.match(83) ? (this.next(), !this.isContextual(128) && !this.match(87) && this.raise(ut2.InvalidNonTypeImportInDeclareModule, { at: this.state.lastTokStartLoc }), super.parseImport(e16)) : (this.expectContextual(123, ut2.UnsupportedStatementInDeclareModule), e16 = this.flowParseDeclare(e16, true)), r11.push(e16);
62945
62945
  }
62946
62946
  this.scope.exit(), this.expect(8), this.finishNode(t11, "BlockStatement");
62947
62947
  let n11 = null, i11 = false;
62948
62948
  return r11.forEach((e16) => {
62949
62949
  !function(e17) {
62950
62950
  return "DeclareExportAllDeclaration" === e17.type || "DeclareExportDeclaration" === e17.type && (!e17.declaration || "TypeAlias" !== e17.declaration.type && "InterfaceDeclaration" !== e17.declaration.type);
62951
- }(e16) ? "DeclareModuleExports" === e16.type && (i11 && this.raise(bt2.DuplicateDeclareModuleExports, { at: e16 }), "ES" === n11 && this.raise(bt2.AmbiguousDeclareModuleKind, { at: e16 }), n11 = "CommonJS", i11 = true) : ("CommonJS" === n11 && this.raise(bt2.AmbiguousDeclareModuleKind, { at: e16 }), n11 = "ES");
62951
+ }(e16) ? "DeclareModuleExports" === e16.type && (i11 && this.raise(ut2.DuplicateDeclareModuleExports, { at: e16 }), "ES" === n11 && this.raise(ut2.AmbiguousDeclareModuleKind, { at: e16 }), n11 = "CommonJS", i11 = true) : ("CommonJS" === n11 && this.raise(ut2.AmbiguousDeclareModuleKind, { at: e16 }), n11 = "ES");
62952
62952
  }), e15.kind = n11 || "CommonJS", this.finishNode(e15, "DeclareModule");
62953
62953
  }
62954
62954
  flowParseDeclareExportDeclaration(e15, t11) {
@@ -62956,7 +62956,7 @@ var j5 = M5((e13) => {
62956
62956
  return this.match(68) || this.match(80) ? e15.declaration = this.flowParseDeclare(this.startNode()) : (e15.declaration = this.flowParseType(), this.semicolon()), e15.default = true, this.finishNode(e15, "DeclareExportDeclaration");
62957
62957
  if (this.match(75) || this.isLet() || (this.isContextual(128) || this.isContextual(127)) && !t11) {
62958
62958
  let e16 = this.state.value;
62959
- throw this.raise(bt2.UnsupportedDeclareExportKind, { at: this.state.startLoc, unsupportedExportKind: e16, suggestion: Tt2[e16] });
62959
+ throw this.raise(ut2.UnsupportedDeclareExportKind, { at: this.state.startLoc, unsupportedExportKind: e16, suggestion: ct2[e16] });
62960
62960
  }
62961
62961
  return this.match(74) || this.match(68) || this.match(80) || this.isContextual(129) ? (e15.declaration = this.flowParseDeclare(this.startNode()), e15.default = false, this.finishNode(e15, "DeclareExportDeclaration")) : this.match(55) || this.match(5) || this.isContextual(127) || this.isContextual(128) || this.isContextual(129) ? ("ExportNamedDeclaration" === (e15 = this.parseExport(e15, null)).type && (e15.type = "ExportDeclaration", e15.default = false, delete e15.exportKind), e15.type = "Declare" + e15.type, e15) : void this.unexpected();
62962
62962
  }
@@ -62977,7 +62977,7 @@ var j5 = M5((e13) => {
62977
62977
  return this.next(), this.flowParseInterfaceish(e15, false), this.finishNode(e15, "DeclareInterface");
62978
62978
  }
62979
62979
  flowParseInterfaceish(e15, t11) {
62980
- if (e15.id = this.flowParseRestrictedIdentifier(!t11, true), this.scope.declareName(e15.id.name, t11 ? 17 : we2, e15.id.loc.start), this.match(47) ? e15.typeParameters = this.flowParseTypeParameterDeclaration() : e15.typeParameters = null, e15.extends = [], this.eat(81))
62980
+ if (e15.id = this.flowParseRestrictedIdentifier(!t11, true), this.scope.declareName(e15.id.name, t11 ? 17 : 8201, e15.id.loc.start), this.match(47) ? e15.typeParameters = this.flowParseTypeParameterDeclaration() : e15.typeParameters = null, e15.extends = [], this.eat(81))
62981
62981
  do {
62982
62982
  e15.extends.push(this.flowParseInterfaceExtends());
62983
62983
  } while (!t11 && this.eat(12));
@@ -63001,23 +63001,23 @@ var j5 = M5((e13) => {
63001
63001
  return this.flowParseInterfaceish(e15, false), this.finishNode(e15, "InterfaceDeclaration");
63002
63002
  }
63003
63003
  checkNotUnderscore(e15) {
63004
- "_" === e15 && this.raise(bt2.UnexpectedReservedUnderscore, { at: this.state.startLoc });
63004
+ "_" === e15 && this.raise(ut2.UnexpectedReservedUnderscore, { at: this.state.startLoc });
63005
63005
  }
63006
63006
  checkReservedType(e15, t11, r11) {
63007
- xt2.has(e15) && this.raise(r11 ? bt2.AssignReservedType : bt2.UnexpectedReservedType, { at: t11, reservedType: e15 });
63007
+ ot2.has(e15) && this.raise(r11 ? ut2.AssignReservedType : ut2.UnexpectedReservedType, { at: t11, reservedType: e15 });
63008
63008
  }
63009
63009
  flowParseRestrictedIdentifier(e15, t11) {
63010
63010
  return this.checkReservedType(this.state.value, this.state.startLoc, t11), this.parseIdentifier(e15);
63011
63011
  }
63012
63012
  flowParseTypeAlias(e15) {
63013
- return e15.id = this.flowParseRestrictedIdentifier(false, true), this.scope.declareName(e15.id.name, we2, e15.id.loc.start), this.match(47) ? e15.typeParameters = this.flowParseTypeParameterDeclaration() : e15.typeParameters = null, e15.right = this.flowParseTypeInitialiser(29), this.semicolon(), this.finishNode(e15, "TypeAlias");
63013
+ return e15.id = this.flowParseRestrictedIdentifier(false, true), this.scope.declareName(e15.id.name, 8201, e15.id.loc.start), this.match(47) ? e15.typeParameters = this.flowParseTypeParameterDeclaration() : e15.typeParameters = null, e15.right = this.flowParseTypeInitialiser(29), this.semicolon(), this.finishNode(e15, "TypeAlias");
63014
63014
  }
63015
63015
  flowParseOpaqueType(e15, t11) {
63016
- return this.expectContextual(128), e15.id = this.flowParseRestrictedIdentifier(true, true), this.scope.declareName(e15.id.name, we2, e15.id.loc.start), this.match(47) ? e15.typeParameters = this.flowParseTypeParameterDeclaration() : e15.typeParameters = null, e15.supertype = null, this.match(14) && (e15.supertype = this.flowParseTypeInitialiser(14)), e15.impltype = null, t11 || (e15.impltype = this.flowParseTypeInitialiser(29)), this.semicolon(), this.finishNode(e15, "OpaqueType");
63016
+ return this.expectContextual(128), e15.id = this.flowParseRestrictedIdentifier(true, true), this.scope.declareName(e15.id.name, 8201, e15.id.loc.start), this.match(47) ? e15.typeParameters = this.flowParseTypeParameterDeclaration() : e15.typeParameters = null, e15.supertype = null, this.match(14) && (e15.supertype = this.flowParseTypeInitialiser(14)), e15.impltype = null, t11 || (e15.impltype = this.flowParseTypeInitialiser(29)), this.semicolon(), this.finishNode(e15, "OpaqueType");
63017
63017
  }
63018
63018
  flowParseTypeParameter(e15 = false) {
63019
63019
  let t11 = this.state.startLoc, r11 = this.startNode(), n11 = this.flowParseVariance(), i11 = this.flowParseTypeAnnotatableIdentifier();
63020
- return r11.name = i11.name, r11.variance = n11, r11.bound = i11.typeAnnotation, this.match(29) ? (this.eat(29), r11.default = this.flowParseType()) : e15 && this.raise(bt2.MissingTypeParamDefault, { at: t11 }), this.finishNode(r11, "TypeParameter");
63020
+ return r11.name = i11.name, r11.variance = n11, r11.bound = i11.typeAnnotation, this.match(29) ? (this.eat(29), r11.default = this.flowParseType()) : e15 && this.raise(ut2.MissingTypeParamDefault, { at: t11 }), this.finishNode(r11, "TypeParameter");
63021
63021
  }
63022
63022
  flowParseTypeParameterDeclaration() {
63023
63023
  let e15 = this.state.inType, t11 = this.startNode();
@@ -63098,7 +63098,7 @@ var j5 = M5((e13) => {
63098
63098
  let n12 = this.flowParseObjectTypeProperty(c12, t12, s12, p11, e16, r11, i11 ?? !u10);
63099
63099
  null === n12 ? (l10 = true, o11 = this.state.lastTokStartLoc) : a10.properties.push(n12);
63100
63100
  }
63101
- this.flowObjectTypeSemicolon(), o11 && !this.match(8) && !this.match(9) && this.raise(bt2.UnexpectedExplicitInexactInObject, { at: o11 });
63101
+ this.flowObjectTypeSemicolon(), o11 && !this.match(8) && !this.match(9) && this.raise(ut2.UnexpectedExplicitInexactInObject, { at: o11 });
63102
63102
  }
63103
63103
  this.expect(o10), r11 && (a10.inexact = l10);
63104
63104
  let c11 = this.finishNode(a10, "ObjectTypeAnnotation");
@@ -63106,16 +63106,16 @@ var j5 = M5((e13) => {
63106
63106
  }
63107
63107
  flowParseObjectTypeProperty(e15, t11, r11, n11, i11, s11, a10) {
63108
63108
  if (this.eat(21))
63109
- return this.match(12) || this.match(13) || this.match(8) || this.match(9) ? (s11 ? a10 || this.raise(bt2.InexactInsideExact, { at: this.state.lastTokStartLoc }) : this.raise(bt2.InexactInsideNonObject, { at: this.state.lastTokStartLoc }), n11 && this.raise(bt2.InexactVariance, { at: n11 }), null) : (s11 || this.raise(bt2.UnexpectedSpreadType, { at: this.state.lastTokStartLoc }), null != r11 && this.unexpected(r11), n11 && this.raise(bt2.SpreadVariance, { at: n11 }), e15.argument = this.flowParseType(), this.finishNode(e15, "ObjectTypeSpreadProperty"));
63109
+ return this.match(12) || this.match(13) || this.match(8) || this.match(9) ? (s11 ? a10 || this.raise(ut2.InexactInsideExact, { at: this.state.lastTokStartLoc }) : this.raise(ut2.InexactInsideNonObject, { at: this.state.lastTokStartLoc }), n11 && this.raise(ut2.InexactVariance, { at: n11 }), null) : (s11 || this.raise(ut2.UnexpectedSpreadType, { at: this.state.lastTokStartLoc }), null != r11 && this.unexpected(r11), n11 && this.raise(ut2.SpreadVariance, { at: n11 }), e15.argument = this.flowParseType(), this.finishNode(e15, "ObjectTypeSpreadProperty"));
63110
63110
  {
63111
63111
  e15.key = this.flowParseObjectPropertyKey(), e15.static = t11, e15.proto = null != r11, e15.kind = i11;
63112
63112
  let a11 = false;
63113
- return this.match(47) || this.match(10) ? (e15.method = true, null != r11 && this.unexpected(r11), n11 && this.unexpected(n11.loc.start), e15.value = this.flowParseObjectTypeMethodish(this.startNodeAt(e15.loc.start)), ("get" === i11 || "set" === i11) && this.flowCheckGetterSetterParams(e15), !s11 && "constructor" === e15.key.name && e15.value.this && this.raise(bt2.ThisParamBannedInConstructor, { at: e15.value.this })) : ("init" !== i11 && this.unexpected(), e15.method = false, this.eat(17) && (a11 = true), e15.value = this.flowParseTypeInitialiser(), e15.variance = n11), e15.optional = a11, this.finishNode(e15, "ObjectTypeProperty");
63113
+ return this.match(47) || this.match(10) ? (e15.method = true, null != r11 && this.unexpected(r11), n11 && this.unexpected(n11.loc.start), e15.value = this.flowParseObjectTypeMethodish(this.startNodeAt(e15.loc.start)), ("get" === i11 || "set" === i11) && this.flowCheckGetterSetterParams(e15), !s11 && "constructor" === e15.key.name && e15.value.this && this.raise(ut2.ThisParamBannedInConstructor, { at: e15.value.this })) : ("init" !== i11 && this.unexpected(), e15.method = false, this.eat(17) && (a11 = true), e15.value = this.flowParseTypeInitialiser(), e15.variance = n11), e15.optional = a11, this.finishNode(e15, "ObjectTypeProperty");
63114
63114
  }
63115
63115
  }
63116
63116
  flowCheckGetterSetterParams(e15) {
63117
63117
  let t11 = "get" === e15.kind ? 0 : 1, r11 = e15.value.params.length + (e15.value.rest ? 1 : 0);
63118
- e15.value.this && this.raise("get" === e15.kind ? bt2.GetterMayNotHaveThisParam : bt2.SetterMayNotHaveThisParam, { at: e15.value.this }), r11 !== t11 && this.raise("get" === e15.kind ? b10.BadGetterArity : b10.BadSetterArity, { at: e15 }), "set" === e15.kind && e15.value.rest && this.raise(b10.BadSetterRestParameter, { at: e15 });
63118
+ e15.value.this && this.raise("get" === e15.kind ? ut2.GetterMayNotHaveThisParam : ut2.SetterMayNotHaveThisParam, { at: e15.value.this }), r11 !== t11 && this.raise("get" === e15.kind ? b10.BadGetterArity : b10.BadSetterArity, { at: e15 }), "set" === e15.kind && e15.value.rest && this.raise(b10.BadSetterRestParameter, { at: e15 });
63119
63119
  }
63120
63120
  flowObjectTypeSemicolon() {
63121
63121
  !this.eat(13) && !this.eat(12) && !this.match(8) && !this.match(9) && this.unexpected();
@@ -63145,7 +63145,7 @@ var j5 = M5((e13) => {
63145
63145
  }
63146
63146
  flowParseFunctionTypeParam(e15) {
63147
63147
  let t11 = null, r11 = false, n11 = null, i11 = this.startNode(), s11 = this.lookahead(), a10 = 78 === this.state.type;
63148
- return 14 === s11.type || 17 === s11.type ? (a10 && !e15 && this.raise(bt2.ThisParamMustBeFirst, { at: i11 }), t11 = this.parseIdentifier(a10), this.eat(17) && (r11 = true, a10 && this.raise(bt2.ThisParamMayNotBeOptional, { at: i11 })), n11 = this.flowParseTypeInitialiser()) : n11 = this.flowParseType(), i11.name = t11, i11.optional = r11, i11.typeAnnotation = n11, this.finishNode(i11, "FunctionTypeParam");
63148
+ return 14 === s11.type || 17 === s11.type ? (a10 && !e15 && this.raise(ut2.ThisParamMustBeFirst, { at: i11 }), t11 = this.parseIdentifier(a10), this.eat(17) && (r11 = true, a10 && this.raise(ut2.ThisParamMayNotBeOptional, { at: i11 })), n11 = this.flowParseTypeInitialiser()) : n11 = this.flowParseType(), i11.name = t11, i11.optional = r11, i11.typeAnnotation = n11, this.finishNode(i11, "FunctionTypeParam");
63149
63149
  }
63150
63150
  reinterpretTypeAsFunctionTypeParam(e15) {
63151
63151
  let t11 = this.startNodeAt(e15.loc.start);
@@ -63213,7 +63213,7 @@ var j5 = M5((e13) => {
63213
63213
  return this.parseLiteralAtNode(-this.state.value, "NumberLiteralTypeAnnotation", n11);
63214
63214
  if (this.match(133))
63215
63215
  return this.parseLiteralAtNode(-this.state.value, "BigIntLiteralTypeAnnotation", n11);
63216
- throw this.raise(bt2.UnexpectedSubtractionOperand, { at: this.state.startLoc });
63216
+ throw this.raise(ut2.UnexpectedSubtractionOperand, { at: this.state.startLoc });
63217
63217
  }
63218
63218
  return void this.unexpected();
63219
63219
  case 132:
@@ -63376,7 +63376,7 @@ var j5 = M5((e13) => {
63376
63376
  e16.push(l10[t12].start);
63377
63377
  ({ consequent: a10, failed: o10 } = this.tryParseConditionalConsequent()), [u10, l10] = this.getArrowLikeExpressions(a10);
63378
63378
  }
63379
- o10 && u10.length > 1 && this.raise(bt2.AmbiguousConditionalArrow, { at: n11.startLoc }), o10 && 1 === u10.length && (this.state = n11, e16.push(u10[0].start), this.state.noArrowAt = e16, { consequent: a10, failed: o10 } = this.tryParseConditionalConsequent());
63379
+ o10 && u10.length > 1 && this.raise(ut2.AmbiguousConditionalArrow, { at: n11.startLoc }), o10 && 1 === u10.length && (this.state = n11, e16.push(u10[0].start), this.state.noArrowAt = e16, { consequent: a10, failed: o10 } = this.tryParseConditionalConsequent());
63380
63380
  }
63381
63381
  return this.getArrowLikeExpressions(a10, true), this.state.noArrowAt = i11, this.expect(14), s11.test = e15, s11.consequent = a10, s11.alternate = this.forwardNoArrowParamsConversionAt(s11, () => this.parseMaybeAssign(void 0, void 0)), this.finishNode(s11, "ConditionalExpression");
63382
63382
  }
@@ -63456,7 +63456,7 @@ var j5 = M5((e13) => {
63456
63456
  return;
63457
63457
  t11.declare = true;
63458
63458
  }
63459
- super.parseClassMember(e15, t11, r11), t11.declare && ("ClassProperty" !== t11.type && "ClassPrivateProperty" !== t11.type && "PropertyDefinition" !== t11.type ? this.raise(bt2.DeclareClassElement, { at: n11 }) : t11.value && this.raise(bt2.DeclareClassFieldInitializer, { at: t11.value }));
63459
+ super.parseClassMember(e15, t11, r11), t11.declare && ("ClassProperty" !== t11.type && "ClassPrivateProperty" !== t11.type && "PropertyDefinition" !== t11.type ? this.raise(ut2.DeclareClassElement, { at: n11 }) : t11.value && this.raise(ut2.DeclareClassFieldInitializer, { at: t11.value }));
63460
63460
  }
63461
63461
  isIterator(e15) {
63462
63462
  return "iterator" === e15 || "asyncIterator" === e15;
@@ -63488,7 +63488,7 @@ var j5 = M5((e13) => {
63488
63488
  for (let n11 = 0; n11 < e15.length; n11++) {
63489
63489
  var r11;
63490
63490
  let i11 = e15[n11];
63491
- i11 && "TypeCastExpression" === i11.type && (null == (r11 = i11.extra) || !r11.parenthesized) && (e15.length > 1 || !t11) && this.raise(bt2.TypeCastInPattern, { at: i11.typeAnnotation });
63491
+ i11 && "TypeCastExpression" === i11.type && (null == (r11 = i11.extra) || !r11.parenthesized) && (e15.length > 1 || !t11) && this.raise(ut2.TypeCastInPattern, { at: i11.typeAnnotation });
63492
63492
  }
63493
63493
  return e15;
63494
63494
  }
@@ -63517,10 +63517,10 @@ var j5 = M5((e13) => {
63517
63517
  pushClassMethod(e15, t11, r11, n11, i11, s11) {
63518
63518
  if (t11.variance && this.unexpected(t11.variance.loc.start), delete t11.variance, this.match(47) && (t11.typeParameters = this.flowParseTypeParameterDeclaration()), super.pushClassMethod(e15, t11, r11, n11, i11, s11), t11.params && i11) {
63519
63519
  let e16 = t11.params;
63520
- e16.length > 0 && this.isThisParam(e16[0]) && this.raise(bt2.ThisParamBannedInConstructor, { at: t11 });
63520
+ e16.length > 0 && this.isThisParam(e16[0]) && this.raise(ut2.ThisParamBannedInConstructor, { at: t11 });
63521
63521
  } else if ("MethodDefinition" === t11.type && i11 && t11.value.params) {
63522
63522
  let e16 = t11.value.params;
63523
- e16.length > 0 && this.isThisParam(e16[0]) && this.raise(bt2.ThisParamBannedInConstructor, { at: t11 });
63523
+ e16.length > 0 && this.isThisParam(e16[0]) && this.raise(ut2.ThisParamBannedInConstructor, { at: t11 });
63524
63524
  }
63525
63525
  }
63526
63526
  pushClassPrivateMethod(e15, t11, r11, n11) {
@@ -63541,7 +63541,7 @@ var j5 = M5((e13) => {
63541
63541
  let t11 = this.getObjectOrClassMethodParams(e15);
63542
63542
  if (t11.length > 0) {
63543
63543
  let r11 = t11[0];
63544
- this.isThisParam(r11) && "get" === e15.kind ? this.raise(bt2.GetterMayNotHaveThisParam, { at: r11 }) : this.isThisParam(r11) && this.raise(bt2.SetterMayNotHaveThisParam, { at: r11 });
63544
+ this.isThisParam(r11) && "get" === e15.kind ? this.raise(ut2.GetterMayNotHaveThisParam, { at: r11 }) : this.isThisParam(r11) && this.raise(ut2.SetterMayNotHaveThisParam, { at: r11 });
63545
63545
  }
63546
63546
  }
63547
63547
  parsePropertyNamePrefixOperator(e15) {
@@ -63554,17 +63554,17 @@ var j5 = M5((e13) => {
63554
63554
  return o10 && ((u10.value || u10).typeParameters = o10), u10;
63555
63555
  }
63556
63556
  parseAssignableListItemTypes(e15) {
63557
- return this.eat(17) && ("Identifier" !== e15.type && this.raise(bt2.PatternIsOptional, { at: e15 }), this.isThisParam(e15) && this.raise(bt2.ThisParamMayNotBeOptional, { at: e15 }), e15.optional = true), this.match(14) ? e15.typeAnnotation = this.flowParseTypeAnnotation() : this.isThisParam(e15) && this.raise(bt2.ThisParamAnnotationRequired, { at: e15 }), this.match(29) && this.isThisParam(e15) && this.raise(bt2.ThisParamNoDefault, { at: e15 }), this.resetEndLocation(e15), e15;
63557
+ return this.eat(17) && ("Identifier" !== e15.type && this.raise(ut2.PatternIsOptional, { at: e15 }), this.isThisParam(e15) && this.raise(ut2.ThisParamMayNotBeOptional, { at: e15 }), e15.optional = true), this.match(14) ? e15.typeAnnotation = this.flowParseTypeAnnotation() : this.isThisParam(e15) && this.raise(ut2.ThisParamAnnotationRequired, { at: e15 }), this.match(29) && this.isThisParam(e15) && this.raise(ut2.ThisParamNoDefault, { at: e15 }), this.resetEndLocation(e15), e15;
63558
63558
  }
63559
63559
  parseMaybeDefault(e15, t11) {
63560
63560
  let r11 = super.parseMaybeDefault(e15, t11);
63561
- return "AssignmentPattern" === r11.type && r11.typeAnnotation && r11.right.start < r11.typeAnnotation.start && this.raise(bt2.TypeBeforeInitializer, { at: r11.typeAnnotation }), r11;
63561
+ return "AssignmentPattern" === r11.type && r11.typeAnnotation && r11.right.start < r11.typeAnnotation.start && this.raise(ut2.TypeBeforeInitializer, { at: r11.typeAnnotation }), r11;
63562
63562
  }
63563
63563
  checkImportReflection(e15) {
63564
- super.checkImportReflection(e15), e15.module && "value" !== e15.importKind && this.raise(bt2.ImportReflectionHasImportType, { at: e15.specifiers[0].loc.start });
63564
+ super.checkImportReflection(e15), e15.module && "value" !== e15.importKind && this.raise(ut2.ImportReflectionHasImportType, { at: e15.specifiers[0].loc.start });
63565
63565
  }
63566
63566
  parseImportSpecifierLocal(e15, t11, r11) {
63567
- t11.local = St2(e15) ? this.flowParseRestrictedIdentifier(true, true) : this.parseIdentifier(), e15.specifiers.push(this.finishImportSpecifier(t11, r11));
63567
+ t11.local = lt2(e15) ? this.flowParseRestrictedIdentifier(true, true) : this.parseIdentifier(), e15.specifiers.push(this.finishImportSpecifier(t11, r11));
63568
63568
  }
63569
63569
  isPotentialImportPhase(e15) {
63570
63570
  if (super.isPotentialImportPhase(e15))
@@ -63591,7 +63591,7 @@ var j5 = M5((e13) => {
63591
63591
  let o10 = false;
63592
63592
  if (this.isContextual(93) && !this.isLookaheadContextual("as")) {
63593
63593
  let t12 = this.parseIdentifier(true);
63594
- null === a10 || J10(this.state.type) ? (e15.imported = s11, e15.importKind = null, e15.local = this.parseIdentifier()) : (e15.imported = t12, e15.importKind = a10, e15.local = mt2(t12));
63594
+ null === a10 || J10(this.state.type) ? (e15.imported = s11, e15.importKind = null, e15.local = this.parseIdentifier()) : (e15.imported = t12, e15.importKind = a10, e15.local = it2(t12));
63595
63595
  } else {
63596
63596
  if (null !== a10 && J10(this.state.type))
63597
63597
  e15.imported = this.parseIdentifier(true), e15.importKind = a10;
@@ -63600,10 +63600,10 @@ var j5 = M5((e13) => {
63600
63600
  throw this.raise(b10.ImportBindingIsString, { at: e15, importName: s11.value });
63601
63601
  e15.imported = s11, e15.importKind = null;
63602
63602
  }
63603
- this.eatContextual(93) ? e15.local = this.parseIdentifier() : (o10 = true, e15.local = mt2(e15.imported));
63603
+ this.eatContextual(93) ? e15.local = this.parseIdentifier() : (o10 = true, e15.local = it2(e15.imported));
63604
63604
  }
63605
- let u10 = St2(e15);
63606
- return r11 && u10 && this.raise(bt2.ImportTypeShorthandOnlyInPureImport, { at: e15 }), (r11 || u10) && this.checkReservedType(e15.local.name, e15.local.loc.start, true), o10 && !r11 && !u10 && this.checkReservedWord(e15.local.name, e15.loc.start, true, true), this.finishImportSpecifier(e15, "ImportSpecifier");
63605
+ let u10 = lt2(e15);
63606
+ return r11 && u10 && this.raise(ut2.ImportTypeShorthandOnlyInPureImport, { at: e15 }), (r11 || u10) && this.checkReservedType(e15.local.name, e15.local.loc.start, true), o10 && !r11 && !u10 && this.checkReservedWord(e15.local.name, e15.loc.start, true, true), this.finishImportSpecifier(e15, "ImportSpecifier");
63607
63607
  }
63608
63608
  parseBindingAtom() {
63609
63609
  return 78 === this.state.type ? this.parseIdentifier(true) : super.parseBindingAtom();
@@ -63650,14 +63650,14 @@ var j5 = M5((e13) => {
63650
63650
  }, i11), u10 = null;
63651
63651
  if (o10.node && "ArrowFunctionExpression" === this.maybeUnwrapTypeCastExpression(o10.node).type) {
63652
63652
  if (!o10.error && !o10.aborted)
63653
- return o10.node.async && this.raise(bt2.UnexpectedTypeParameterBeforeAsyncArrowFunction, { at: r12 }), o10.node;
63653
+ return o10.node.async && this.raise(ut2.UnexpectedTypeParameterBeforeAsyncArrowFunction, { at: r12 }), o10.node;
63654
63654
  u10 = o10.node;
63655
63655
  }
63656
63656
  if (null != (s11 = n11) && s11.node)
63657
63657
  return this.state = n11.failState, n11.node;
63658
63658
  if (u10)
63659
63659
  return this.state = o10.failState, u10;
63660
- throw null != (a10 = n11) && a10.thrown ? n11.error : o10.thrown ? o10.error : this.raise(bt2.UnexpectedTokenAfterTypeParameter, { at: r12 });
63660
+ throw null != (a10 = n11) && a10.thrown ? n11.error : o10.thrown ? o10.error : this.raise(ut2.UnexpectedTokenAfterTypeParameter, { at: r12 });
63661
63661
  }
63662
63662
  return super.parseMaybeAssign(e15, t11);
63663
63663
  }
@@ -63684,7 +63684,7 @@ var j5 = M5((e13) => {
63684
63684
  checkParams(e15, t11, r11, n11 = true) {
63685
63685
  if (!r11 || -1 === this.state.noArrowParamsConversionAt.indexOf(e15.start)) {
63686
63686
  for (let t12 = 0; t12 < e15.params.length; t12++)
63687
- this.isThisParam(e15.params[t12]) && t12 > 0 && this.raise(bt2.ThisParamMustBeFirst, { at: e15.params[t12] });
63687
+ this.isThisParam(e15.params[t12]) && t12 > 0 && this.raise(ut2.ThisParamMustBeFirst, { at: e15.params[t12] });
63688
63688
  super.checkParams(e15, t11, r11, n11);
63689
63689
  }
63690
63690
  }
@@ -63750,14 +63750,14 @@ var j5 = M5((e13) => {
63750
63750
  }
63751
63751
  parseTopLevel(e15, t11) {
63752
63752
  let r11 = super.parseTopLevel(e15, t11);
63753
- return this.state.hasFlowComment && this.raise(bt2.UnterminatedFlowComment, { at: this.state.curPosition() }), r11;
63753
+ return this.state.hasFlowComment && this.raise(ut2.UnterminatedFlowComment, { at: this.state.curPosition() }), r11;
63754
63754
  }
63755
63755
  skipBlockComment() {
63756
63756
  if (!this.hasPlugin("flowComments") || !this.skipFlowComment())
63757
63757
  return super.skipBlockComment(this.state.hasFlowComment ? "*-/" : "*/");
63758
63758
  {
63759
63759
  if (this.state.hasFlowComment)
63760
- throw this.raise(bt2.NestedFlowComment, { at: this.state.startLoc });
63760
+ throw this.raise(ut2.NestedFlowComment, { at: this.state.startLoc });
63761
63761
  this.hasFlowCommentCompletion();
63762
63762
  let e15 = this.skipFlowComment();
63763
63763
  e15 && (this.state.pos += e15, this.state.hasFlowComment = true);
@@ -63775,16 +63775,16 @@ var j5 = M5((e13) => {
63775
63775
  throw this.raise(b10.UnterminatedComment, { at: this.state.curPosition() });
63776
63776
  }
63777
63777
  flowEnumErrorBooleanMemberNotInitialized(e15, { enumName: t11, memberName: r11 }) {
63778
- this.raise(bt2.EnumBooleanMemberNotInitialized, { at: e15, memberName: r11, enumName: t11 });
63778
+ this.raise(ut2.EnumBooleanMemberNotInitialized, { at: e15, memberName: r11, enumName: t11 });
63779
63779
  }
63780
63780
  flowEnumErrorInvalidMemberInitializer(e15, t11) {
63781
- return this.raise(t11.explicitType ? "symbol" === t11.explicitType ? bt2.EnumInvalidMemberInitializerSymbolType : bt2.EnumInvalidMemberInitializerPrimaryType : bt2.EnumInvalidMemberInitializerUnknownType, Object.assign({ at: e15 }, t11));
63781
+ return this.raise(t11.explicitType ? "symbol" === t11.explicitType ? ut2.EnumInvalidMemberInitializerSymbolType : ut2.EnumInvalidMemberInitializerPrimaryType : ut2.EnumInvalidMemberInitializerUnknownType, Object.assign({ at: e15 }, t11));
63782
63782
  }
63783
63783
  flowEnumErrorNumberMemberNotInitialized(e15, { enumName: t11, memberName: r11 }) {
63784
- this.raise(bt2.EnumNumberMemberNotInitialized, { at: e15, enumName: t11, memberName: r11 });
63784
+ this.raise(ut2.EnumNumberMemberNotInitialized, { at: e15, enumName: t11, memberName: r11 });
63785
63785
  }
63786
63786
  flowEnumErrorStringMemberInconsistentlyInitailized(e15, { enumName: t11 }) {
63787
- this.raise(bt2.EnumStringMemberInconsistentlyInitailized, { at: e15, enumName: t11 });
63787
+ this.raise(ut2.EnumStringMemberInconsistentlyInitailized, { at: e15, enumName: t11 });
63788
63788
  }
63789
63789
  flowEnumMemberInit() {
63790
63790
  let e15 = this.state.startLoc, t11 = () => this.match(12) || this.match(8);
@@ -63824,7 +63824,7 @@ var j5 = M5((e13) => {
63824
63824
  let s11 = this.startNode(), { id: a10, init: o10 } = this.flowEnumMemberRaw(), u10 = a10.name;
63825
63825
  if ("" === u10)
63826
63826
  continue;
63827
- /^[a-z]/.test(u10) && this.raise(bt2.EnumInvalidMemberName, { at: a10, memberName: u10, suggestion: u10[0].toUpperCase() + u10.slice(1), enumName: e15 }), r11.has(u10) && this.raise(bt2.EnumDuplicateMemberName, { at: a10, memberName: u10, enumName: e15 }), r11.add(u10);
63827
+ /^[a-z]/.test(u10) && this.raise(ut2.EnumInvalidMemberName, { at: a10, memberName: u10, suggestion: u10[0].toUpperCase() + u10.slice(1), enumName: e15 }), r11.has(u10) && this.raise(ut2.EnumDuplicateMemberName, { at: a10, memberName: u10, enumName: e15 }), r11.add(u10);
63828
63828
  let l10 = { enumName: e15, explicitType: t11, memberName: u10 };
63829
63829
  switch (s11.id = a10, o10.type) {
63830
63830
  case "boolean":
@@ -63872,9 +63872,9 @@ var j5 = M5((e13) => {
63872
63872
  if (!this.eatContextual(101))
63873
63873
  return null;
63874
63874
  if (!K10(this.state.type))
63875
- throw this.raise(bt2.EnumInvalidExplicitTypeUnknownSupplied, { at: this.state.startLoc, enumName: e15 });
63875
+ throw this.raise(ut2.EnumInvalidExplicitTypeUnknownSupplied, { at: this.state.startLoc, enumName: e15 });
63876
63876
  let { value: t11 } = this.state;
63877
- return this.next(), "boolean" !== t11 && "number" !== t11 && "string" !== t11 && "symbol" !== t11 && this.raise(bt2.EnumInvalidExplicitType, { at: this.state.startLoc, enumName: e15, invalidEnumType: t11 }), t11;
63877
+ return this.next(), "boolean" !== t11 && "number" !== t11 && "string" !== t11 && "symbol" !== t11 && this.raise(ut2.EnumInvalidExplicitType, { at: this.state.startLoc, enumName: e15, invalidEnumType: t11 }), t11;
63878
63878
  }
63879
63879
  flowEnumBody(e15, t11) {
63880
63880
  let r11 = t11.name, n11 = t11.loc.start, i11 = this.flowEnumParseExplicitType({ enumName: r11 });
@@ -63907,7 +63907,7 @@ var j5 = M5((e13) => {
63907
63907
  this.flowEnumErrorNumberMemberNotInitialized(e16.loc.start, { enumName: r11, memberName: e16.id.name });
63908
63908
  return e15.members = s11.numberMembers, this.expect(8), this.finishNode(e15, "EnumNumberBody");
63909
63909
  }
63910
- return this.raise(bt2.EnumInconsistentMemberValues, { at: n11, enumName: r11 }), t12();
63910
+ return this.raise(ut2.EnumInconsistentMemberValues, { at: n11, enumName: r11 }), t12();
63911
63911
  }
63912
63912
  }
63913
63913
  }
@@ -63928,10 +63928,10 @@ var j5 = M5((e13) => {
63928
63928
  }
63929
63929
  }, typescript: (e14) => class extends e14 {
63930
63930
  constructor(...e15) {
63931
- super(...e15), this.tsParseInOutModifiers = this.tsParseModifiers.bind(this, { allowedModifiers: ["in", "out"], disallowedModifiers: ["const", "public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: Nt2.InvalidModifierOnTypeParameter }), this.tsParseConstModifier = this.tsParseModifiers.bind(this, { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: Nt2.InvalidModifierOnTypeParameterPositions }), this.tsParseInOutConstModifiers = this.tsParseModifiers.bind(this, { allowedModifiers: ["in", "out", "const"], disallowedModifiers: ["public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: Nt2.InvalidModifierOnTypeParameter });
63931
+ super(...e15), this.tsParseInOutModifiers = this.tsParseModifiers.bind(this, { allowedModifiers: ["in", "out"], disallowedModifiers: ["const", "public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: St2.InvalidModifierOnTypeParameter }), this.tsParseConstModifier = this.tsParseModifiers.bind(this, { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: St2.InvalidModifierOnTypeParameterPositions }), this.tsParseInOutConstModifiers = this.tsParseModifiers.bind(this, { allowedModifiers: ["in", "out", "const"], disallowedModifiers: ["public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: St2.InvalidModifierOnTypeParameter });
63932
63932
  }
63933
63933
  getScopeHandler() {
63934
- return Ct2;
63934
+ return yt2;
63935
63935
  }
63936
63936
  tsIsIdentifier() {
63937
63937
  return K10(this.state.type);
@@ -63953,17 +63953,17 @@ var j5 = M5((e13) => {
63953
63953
  return r11;
63954
63954
  }
63955
63955
  }
63956
- tsParseModifiers({ allowedModifiers: e15, disallowedModifiers: t11, stopOnStartOfClassStaticBlock: r11, errorTemplate: n11 = Nt2.InvalidModifierOnTypeMember }, i11) {
63956
+ tsParseModifiers({ allowedModifiers: e15, disallowedModifiers: t11, stopOnStartOfClassStaticBlock: r11, errorTemplate: n11 = St2.InvalidModifierOnTypeMember }, i11) {
63957
63957
  let s11 = (e16, t12, r12, n12) => {
63958
- t12 === r12 && i11[n12] && this.raise(Nt2.InvalidModifiersOrder, { at: e16, orderedModifiers: [r12, n12] });
63958
+ t12 === r12 && i11[n12] && this.raise(St2.InvalidModifiersOrder, { at: e16, orderedModifiers: [r12, n12] });
63959
63959
  }, a10 = (e16, t12, r12, n12) => {
63960
- (i11[r12] && t12 === n12 || i11[n12] && t12 === r12) && this.raise(Nt2.IncompatibleModifiers, { at: e16, modifiers: [r12, n12] });
63960
+ (i11[r12] && t12 === n12 || i11[n12] && t12 === r12) && this.raise(St2.IncompatibleModifiers, { at: e16, modifiers: [r12, n12] });
63961
63961
  };
63962
63962
  for (; ; ) {
63963
63963
  let { startLoc: o10 } = this.state, u10 = this.tsParseModifier(e15.concat(t11 ?? []), r11);
63964
63964
  if (!u10)
63965
63965
  break;
63966
- Ft2(u10) ? i11.accessibility ? this.raise(Nt2.DuplicateAccessibilityModifier, { at: o10, modifier: u10 }) : (s11(o10, u10, u10, "override"), s11(o10, u10, u10, "static"), s11(o10, u10, u10, "readonly"), i11.accessibility = u10) : _t2(u10) ? (i11[u10] && this.raise(Nt2.DuplicateModifier, { at: o10, modifier: u10 }), i11[u10] = true, s11(o10, u10, "in", "out")) : (Object.hasOwnProperty.call(i11, u10) ? this.raise(Nt2.DuplicateModifier, { at: o10, modifier: u10 }) : (s11(o10, u10, "static", "readonly"), s11(o10, u10, "static", "override"), s11(o10, u10, "override", "readonly"), s11(o10, u10, "abstract", "override"), a10(o10, u10, "declare", "override"), a10(o10, u10, "static", "abstract")), i11[u10] = true), null != t11 && t11.includes(u10) && this.raise(n11, { at: o10, modifier: u10 });
63966
+ Tt2(u10) ? i11.accessibility ? this.raise(St2.DuplicateAccessibilityModifier, { at: o10, modifier: u10 }) : (s11(o10, u10, u10, "override"), s11(o10, u10, u10, "static"), s11(o10, u10, u10, "readonly"), i11.accessibility = u10) : Et2(u10) ? (i11[u10] && this.raise(St2.DuplicateModifier, { at: o10, modifier: u10 }), i11[u10] = true, s11(o10, u10, "in", "out")) : (Object.hasOwnProperty.call(i11, u10) ? this.raise(St2.DuplicateModifier, { at: o10, modifier: u10 }) : (s11(o10, u10, "static", "readonly"), s11(o10, u10, "static", "override"), s11(o10, u10, "override", "readonly"), s11(o10, u10, "abstract", "override"), a10(o10, u10, "declare", "override"), a10(o10, u10, "static", "abstract")), i11[u10] = true), null != t11 && t11.includes(u10) && this.raise(n11, { at: o10, modifier: u10 });
63967
63967
  }
63968
63968
  }
63969
63969
  tsIsListTerminator(e15) {
@@ -64015,7 +64015,7 @@ var j5 = M5((e13) => {
64015
64015
  }
64016
64016
  tsParseImportType() {
64017
64017
  let e15 = this.startNode();
64018
- return this.expect(83), this.expect(10), this.match(131) || this.raise(Nt2.UnsupportedImportTypeArgument, { at: this.state.startLoc }), e15.argument = super.parseExprAtom(), this.expect(11), this.eat(16) && (e15.qualifier = this.tsParseEntityName()), this.match(47) && (e15.typeParameters = this.tsParseTypeArguments()), this.finishNode(e15, "TSImportType");
64018
+ return this.expect(83), this.expect(10), this.match(131) || this.raise(St2.UnsupportedImportTypeArgument, { at: this.state.startLoc }), e15.argument = super.parseExprAtom(), this.expect(11), this.eat(16) && (e15.qualifier = this.tsParseEntityName()), this.match(47) && (e15.typeParameters = this.tsParseTypeArguments()), this.finishNode(e15, "TSImportType");
64019
64019
  }
64020
64020
  tsParseEntityName(e15 = true) {
64021
64021
  let t11 = this.parseIdentifier(e15);
@@ -64054,7 +64054,7 @@ var j5 = M5((e13) => {
64054
64054
  let t11 = this.startNode();
64055
64055
  this.match(47) || this.match(140) ? this.next() : this.unexpected();
64056
64056
  let r11 = { value: -1 };
64057
- return t11.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, e15), false, true, r11), 0 === t11.params.length && this.raise(Nt2.EmptyTypeParameters, { at: t11 }), -1 !== r11.value && this.addExtra(t11, "trailingComma", r11.value), this.finishNode(t11, "TSTypeParameterDeclaration");
64057
+ return t11.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, e15), false, true, r11), 0 === t11.params.length && this.raise(St2.EmptyTypeParameters, { at: t11 }), -1 !== r11.value && this.addExtra(t11, "trailingComma", r11.value), this.finishNode(t11, "TSTypeParameterDeclaration");
64058
64058
  }
64059
64059
  tsFillSignature(e15, t11) {
64060
64060
  let r11 = 19 === e15, n11 = "typeAnnotation";
@@ -64064,7 +64064,7 @@ var j5 = M5((e13) => {
64064
64064
  let e15 = super.parseBindingList(11, 41, 2);
64065
64065
  for (let t11 of e15) {
64066
64066
  let { type: e16 } = t11;
64067
- ("AssignmentPattern" === e16 || "TSParameterProperty" === e16) && this.raise(Nt2.UnsupportedSignatureParameterKind, { at: t11, type: e16 });
64067
+ ("AssignmentPattern" === e16 || "TSParameterProperty" === e16) && this.raise(St2.UnsupportedSignatureParameterKind, { at: t11, type: e16 });
64068
64068
  }
64069
64069
  return e15;
64070
64070
  }
@@ -64090,20 +64090,20 @@ var j5 = M5((e13) => {
64090
64090
  this.eat(17) && (e15.optional = true);
64091
64091
  let r11 = e15;
64092
64092
  if (this.match(10) || this.match(47)) {
64093
- t11 && this.raise(Nt2.ReadonlyForMethodSignature, { at: e15 });
64093
+ t11 && this.raise(St2.ReadonlyForMethodSignature, { at: e15 });
64094
64094
  let n11 = r11;
64095
- n11.kind && this.match(47) && this.raise(Nt2.AccesorCannotHaveTypeParameters, { at: this.state.curPosition() }), this.tsFillSignature(14, n11), this.tsParseTypeMemberSemicolon();
64095
+ n11.kind && this.match(47) && this.raise(St2.AccesorCannotHaveTypeParameters, { at: this.state.curPosition() }), this.tsFillSignature(14, n11), this.tsParseTypeMemberSemicolon();
64096
64096
  let i11 = "parameters", s11 = "typeAnnotation";
64097
64097
  if ("get" === n11.kind)
64098
- n11[i11].length > 0 && (this.raise(b10.BadGetterArity, { at: this.state.curPosition() }), this.isThisParam(n11[i11][0]) && this.raise(Nt2.AccesorCannotDeclareThisParameter, { at: this.state.curPosition() }));
64098
+ n11[i11].length > 0 && (this.raise(b10.BadGetterArity, { at: this.state.curPosition() }), this.isThisParam(n11[i11][0]) && this.raise(St2.AccesorCannotDeclareThisParameter, { at: this.state.curPosition() }));
64099
64099
  else if ("set" === n11.kind) {
64100
64100
  if (1 !== n11[i11].length)
64101
64101
  this.raise(b10.BadSetterArity, { at: this.state.curPosition() });
64102
64102
  else {
64103
64103
  let e16 = n11[i11][0];
64104
- this.isThisParam(e16) && this.raise(Nt2.AccesorCannotDeclareThisParameter, { at: this.state.curPosition() }), "Identifier" === e16.type && e16.optional && this.raise(Nt2.SetAccesorCannotHaveOptionalParameter, { at: this.state.curPosition() }), "RestElement" === e16.type && this.raise(Nt2.SetAccesorCannotHaveRestParameter, { at: this.state.curPosition() });
64104
+ this.isThisParam(e16) && this.raise(St2.AccesorCannotDeclareThisParameter, { at: this.state.curPosition() }), "Identifier" === e16.type && e16.optional && this.raise(St2.SetAccesorCannotHaveOptionalParameter, { at: this.state.curPosition() }), "RestElement" === e16.type && this.raise(St2.SetAccesorCannotHaveRestParameter, { at: this.state.curPosition() });
64105
64105
  }
64106
- n11[s11] && this.raise(Nt2.SetAccesorCannotHaveReturnType, { at: n11[s11] });
64106
+ n11[s11] && this.raise(St2.SetAccesorCannotHaveReturnType, { at: n11[s11] });
64107
64107
  } else
64108
64108
  n11.kind = "method";
64109
64109
  return this.finishNode(n11, "TSMethodSignature");
@@ -64151,11 +64151,11 @@ var j5 = M5((e13) => {
64151
64151
  let t11 = false, r11 = null;
64152
64152
  return e15.elementTypes.forEach((e16) => {
64153
64153
  let { type: n11 } = e16;
64154
- t11 && "TSRestType" !== n11 && "TSOptionalType" !== n11 && !("TSNamedTupleMember" === n11 && e16.optional) && this.raise(Nt2.OptionalTypeBeforeRequired, { at: e16 }), t11 || (t11 = "TSNamedTupleMember" === n11 && e16.optional || "TSOptionalType" === n11);
64154
+ t11 && "TSRestType" !== n11 && "TSOptionalType" !== n11 && !("TSNamedTupleMember" === n11 && e16.optional) && this.raise(St2.OptionalTypeBeforeRequired, { at: e16 }), t11 || (t11 = "TSNamedTupleMember" === n11 && e16.optional || "TSOptionalType" === n11);
64155
64155
  let i11 = n11;
64156
64156
  "TSRestType" === n11 && (i11 = (e16 = e16.typeAnnotation).type);
64157
64157
  let s11 = "TSNamedTupleMember" === i11;
64158
- null != r11 || (r11 = s11), r11 !== s11 && this.raise(Nt2.MixedLabeledAndUnlabeledElements, { at: e16 });
64158
+ null != r11 || (r11 = s11), r11 !== s11 && this.raise(St2.MixedLabeledAndUnlabeledElements, { at: e16 });
64159
64159
  }), this.finishNode(e15, "TSTupleType");
64160
64160
  }
64161
64161
  tsParseTupleElementType() {
@@ -64170,7 +64170,7 @@ var j5 = M5((e13) => {
64170
64170
  n11 = this.tsParseType(), r11 = this.eat(17), e15 = this.eat(14);
64171
64171
  if (e15) {
64172
64172
  let e16;
64173
- t11 ? (e16 = this.startNodeAtNode(t11), e16.optional = r11, e16.label = t11, e16.elementType = n11, this.eat(17) && (e16.optional = true, this.raise(Nt2.TupleOptionalAfterType, { at: this.state.lastTokStartLoc }))) : (e16 = this.startNodeAtNode(n11), e16.optional = r11, this.raise(Nt2.InvalidTupleMemberLabel, { at: n11 }), e16.label = n11, e16.elementType = this.tsParseType()), n11 = this.finishNode(e16, "TSNamedTupleMember");
64173
+ t11 ? (e16 = this.startNodeAtNode(t11), e16.optional = r11, e16.label = t11, e16.elementType = n11, this.eat(17) && (e16.optional = true, this.raise(St2.TupleOptionalAfterType, { at: this.state.lastTokStartLoc }))) : (e16 = this.startNodeAtNode(n11), e16.optional = r11, this.raise(St2.InvalidTupleMemberLabel, { at: n11 }), e16.label = n11, e16.elementType = this.tsParseType()), n11 = this.finishNode(e16, "TSNamedTupleMember");
64174
64174
  } else if (r11) {
64175
64175
  let e16 = this.startNodeAtNode(n11);
64176
64176
  e16.typeAnnotation = n11, n11 = this.finishNode(e16, "TSOptionalType");
@@ -64305,7 +64305,7 @@ var j5 = M5((e13) => {
64305
64305
  case "TSArrayType":
64306
64306
  return;
64307
64307
  default:
64308
- this.raise(Nt2.UnexpectedReadonly, { at: e15 });
64308
+ this.raise(St2.UnexpectedReadonly, { at: e15 });
64309
64309
  }
64310
64310
  }
64311
64311
  tsParseInferType() {
@@ -64411,7 +64411,7 @@ var j5 = M5((e13) => {
64411
64411
  }), this.finishNode(t11, "TSTypeAnnotation");
64412
64412
  }
64413
64413
  tsParseType() {
64414
- It2(this.state.inType);
64414
+ bt2(this.state.inType);
64415
64415
  let e15 = this.tsParseNonConditionalType();
64416
64416
  if (this.state.inDisallowConditionalTypesContext || this.hasPrecedingLineBreak() || !this.eat(81))
64417
64417
  return e15;
@@ -64425,7 +64425,7 @@ var j5 = M5((e13) => {
64425
64425
  return this.tsIsStartOfFunctionType() ? this.tsParseFunctionOrConstructorType("TSFunctionType") : this.match(77) ? this.tsParseFunctionOrConstructorType("TSConstructorType") : this.isAbstractConstructorSignature() ? this.tsParseFunctionOrConstructorType("TSConstructorType", true) : this.tsParseUnionTypeOrHigher();
64426
64426
  }
64427
64427
  tsParseTypeAssertion() {
64428
- this.getPluginOption("typescript", "disallowAmbiguousJSXLike") && this.raise(Nt2.ReservedTypeAssertion, { at: this.state.startLoc });
64428
+ this.getPluginOption("typescript", "disallowAmbiguousJSXLike") && this.raise(St2.ReservedTypeAssertion, { at: this.state.startLoc });
64429
64429
  let e15 = this.startNode();
64430
64430
  return e15.typeAnnotation = this.tsInType(() => (this.next(), this.match(75) ? this.tsParseTypeReference() : this.tsParseType())), this.expect(48), e15.expression = this.parseMaybeUnary(), this.finishNode(e15, "TSTypeAssertion");
64431
64431
  }
@@ -64434,12 +64434,12 @@ var j5 = M5((e13) => {
64434
64434
  let e16 = this.startNode();
64435
64435
  return e16.expression = this.tsParseEntityName(), this.match(47) && (e16.typeParameters = this.tsParseTypeArguments()), this.finishNode(e16, "TSExpressionWithTypeArguments");
64436
64436
  });
64437
- return r11.length || this.raise(Nt2.EmptyHeritageClauseType, { at: t11, token: e15 }), r11;
64437
+ return r11.length || this.raise(St2.EmptyHeritageClauseType, { at: t11, token: e15 }), r11;
64438
64438
  }
64439
64439
  tsParseInterfaceDeclaration(e15, t11 = {}) {
64440
64440
  if (this.hasFollowingLineBreak())
64441
64441
  return null;
64442
- this.expectContextual(127), t11.declare && (e15.declare = true), K10(this.state.type) ? (e15.id = this.parseIdentifier(), this.checkIdentifier(e15.id, 130)) : (e15.id = null, this.raise(Nt2.MissingInterfaceName, { at: this.state.startLoc })), e15.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers), this.eat(81) && (e15.extends = this.tsParseHeritageClause("extends"));
64442
+ this.expectContextual(127), t11.declare && (e15.declare = true), K10(this.state.type) ? (e15.id = this.parseIdentifier(), this.checkIdentifier(e15.id, 130)) : (e15.id = null, this.raise(St2.MissingInterfaceName, { at: this.state.startLoc })), e15.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers), this.eat(81) && (e15.extends = this.tsParseHeritageClause("extends"));
64443
64443
  let r11 = this.startNode();
64444
64444
  return r11.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), e15.body = this.finishNode(r11, "TSInterfaceBody"), this.finishNode(e15, "TSInterfaceDeclaration");
64445
64445
  }
@@ -64514,16 +64514,16 @@ var j5 = M5((e13) => {
64514
64514
  let t12 = this.startNode();
64515
64515
  this.tsParseModuleOrNamespaceDeclaration(t12, true), e15.body = t12;
64516
64516
  } else
64517
- this.scope.enter(Te2), this.prodParam.enter(0), e15.body = this.tsParseModuleBlock(), this.prodParam.exit(), this.scope.exit();
64517
+ this.scope.enter(256), this.prodParam.enter(0), e15.body = this.tsParseModuleBlock(), this.prodParam.exit(), this.scope.exit();
64518
64518
  return this.finishNode(e15, "TSModuleDeclaration");
64519
64519
  }
64520
64520
  tsParseAmbientExternalModuleDeclaration(e15) {
64521
- return this.isContextual(110) ? (e15.global = true, e15.id = this.parseIdentifier()) : this.match(131) ? e15.id = super.parseStringLiteral(this.state.value) : this.unexpected(), this.match(5) ? (this.scope.enter(Te2), this.prodParam.enter(0), e15.body = this.tsParseModuleBlock(), this.prodParam.exit(), this.scope.exit()) : this.semicolon(), this.finishNode(e15, "TSModuleDeclaration");
64521
+ return this.isContextual(110) ? (e15.global = true, e15.id = this.parseIdentifier()) : this.match(131) ? e15.id = super.parseStringLiteral(this.state.value) : this.unexpected(), this.match(5) ? (this.scope.enter(256), this.prodParam.enter(0), e15.body = this.tsParseModuleBlock(), this.prodParam.exit(), this.scope.exit()) : this.semicolon(), this.finishNode(e15, "TSModuleDeclaration");
64522
64522
  }
64523
64523
  tsParseImportEqualsDeclaration(e15, t11, r11) {
64524
- e15.isExport = r11 || false, e15.id = t11 || this.parseIdentifier(), this.checkIdentifier(e15.id, De2), this.expect(29);
64524
+ e15.isExport = r11 || false, e15.id = t11 || this.parseIdentifier(), this.checkIdentifier(e15.id, 4096), this.expect(29);
64525
64525
  let n11 = this.tsParseModuleReference();
64526
- return "type" === e15.importKind && "TSExternalModuleReference" !== n11.type && this.raise(Nt2.ImportAliasHasImportType, { at: n11 }), e15.moduleReference = n11, this.semicolon(), this.finishNode(e15, "TSImportEqualsDeclaration");
64526
+ return "type" === e15.importKind && "TSExternalModuleReference" !== n11.type && this.raise(St2.ImportAliasHasImportType, { at: n11 }), e15.moduleReference = n11, this.semicolon(), this.finishNode(e15, "TSImportEqualsDeclaration");
64527
64527
  }
64528
64528
  tsIsExternalModuleReference() {
64529
64529
  return this.isContextual(117) && 40 === this.lookaheadCharCode();
@@ -64589,7 +64589,7 @@ var j5 = M5((e13) => {
64589
64589
  }
64590
64590
  case "global":
64591
64591
  if (this.match(5)) {
64592
- this.scope.enter(Te2), this.prodParam.enter(0);
64592
+ this.scope.enter(256), this.prodParam.enter(0);
64593
64593
  let r12 = e15;
64594
64594
  return r12.global = true, r12.id = t11, r12.body = this.tsParseModuleBlock(), this.scope.exit(), this.prodParam.exit(), this.finishNode(r12, "TSModuleDeclaration");
64595
64595
  }
@@ -64641,7 +64641,7 @@ var j5 = M5((e13) => {
64641
64641
  }
64642
64642
  tsParseTypeArguments() {
64643
64643
  let e15 = this.startNode();
64644
- return e15.params = this.tsInType(() => this.tsInNoContext(() => (this.expect(47), this.tsParseDelimitedList("TypeParametersOrArguments", this.tsParseType.bind(this))))), 0 === e15.params.length ? this.raise(Nt2.EmptyTypeArguments, { at: e15 }) : !this.state.inType && this.curContext() === P10.brace && this.reScan_lt_gt(), this.expect(48), this.finishNode(e15, "TSTypeParameterInstantiation");
64644
+ return e15.params = this.tsInType(() => this.tsInNoContext(() => (this.expect(47), this.tsParseDelimitedList("TypeParametersOrArguments", this.tsParseType.bind(this))))), 0 === e15.params.length ? this.raise(St2.EmptyTypeArguments, { at: e15 }) : !this.state.inType && this.curContext() === P10.brace && this.reScan_lt_gt(), this.expect(48), this.finishNode(e15, "TSTypeParameterInstantiation");
64645
64645
  }
64646
64646
  tsIsDeclarationStart() {
64647
64647
  return function(e15) {
@@ -64655,13 +64655,13 @@ var j5 = M5((e13) => {
64655
64655
  let r11 = this.state.startLoc, n11 = {};
64656
64656
  this.tsParseModifiers({ allowedModifiers: ["public", "private", "protected", "override", "readonly"] }, n11);
64657
64657
  let i11 = n11.accessibility, s11 = n11.override, a10 = n11.readonly;
64658
- !(4 & e15) && (i11 || a10 || s11) && this.raise(Nt2.UnexpectedParameterModifier, { at: r11 });
64658
+ !(4 & e15) && (i11 || a10 || s11) && this.raise(St2.UnexpectedParameterModifier, { at: r11 });
64659
64659
  let o10 = this.parseMaybeDefault();
64660
64660
  this.parseAssignableListItemTypes(o10, e15);
64661
64661
  let u10 = this.parseMaybeDefault(o10.loc.start, o10);
64662
64662
  if (i11 || a10 || s11) {
64663
64663
  let e16 = this.startNodeAt(r11);
64664
- return t11.length && (e16.decorators = t11), i11 && (e16.accessibility = i11), a10 && (e16.readonly = a10), s11 && (e16.override = s11), "Identifier" !== u10.type && "AssignmentPattern" !== u10.type && this.raise(Nt2.UnsupportedParameterPropertyKind, { at: e16 }), e16.parameter = u10, this.finishNode(e16, "TSParameterProperty");
64664
+ return t11.length && (e16.decorators = t11), i11 && (e16.accessibility = i11), a10 && (e16.readonly = a10), s11 && (e16.override = s11), "Identifier" !== u10.type && "AssignmentPattern" !== u10.type && this.raise(St2.UnsupportedParameterPropertyKind, { at: e16 }), e16.parameter = u10, this.finishNode(e16, "TSParameterProperty");
64665
64665
  }
64666
64666
  return t11.length && (o10.decorators = t11), u10;
64667
64667
  }
@@ -64670,7 +64670,7 @@ var j5 = M5((e13) => {
64670
64670
  }
64671
64671
  tsDisallowOptionalPattern(e15) {
64672
64672
  for (let t11 of e15.params)
64673
- "Identifier" !== t11.type && t11.optional && !this.state.isAmbientContext && this.raise(Nt2.PatternIsOptional, { at: t11 });
64673
+ "Identifier" !== t11.type && t11.optional && !this.state.isAmbientContext && this.raise(St2.PatternIsOptional, { at: t11 });
64674
64674
  }
64675
64675
  setArrowFunctionParameters(e15, t11, r11) {
64676
64676
  super.setArrowFunctionParameters(e15, t11, r11), this.tsDisallowOptionalPattern(e15);
@@ -64678,14 +64678,14 @@ var j5 = M5((e13) => {
64678
64678
  parseFunctionBodyAndFinish(e15, t11, r11 = false) {
64679
64679
  this.match(14) && (e15.returnType = this.tsParseTypeOrTypePredicateAnnotation(14));
64680
64680
  let n11 = "FunctionDeclaration" === t11 ? "TSDeclareFunction" : "ClassMethod" === t11 || "ClassPrivateMethod" === t11 ? "TSDeclareMethod" : void 0;
64681
- return n11 && !this.match(5) && this.isLineTerminator() ? this.finishNode(e15, n11) : "TSDeclareFunction" === n11 && this.state.isAmbientContext && (this.raise(Nt2.DeclareFunctionHasImplementation, { at: e15 }), e15.declare) ? super.parseFunctionBodyAndFinish(e15, n11, r11) : (this.tsDisallowOptionalPattern(e15), super.parseFunctionBodyAndFinish(e15, t11, r11));
64681
+ return n11 && !this.match(5) && this.isLineTerminator() ? this.finishNode(e15, n11) : "TSDeclareFunction" === n11 && this.state.isAmbientContext && (this.raise(St2.DeclareFunctionHasImplementation, { at: e15 }), e15.declare) ? super.parseFunctionBodyAndFinish(e15, n11, r11) : (this.tsDisallowOptionalPattern(e15), super.parseFunctionBodyAndFinish(e15, t11, r11));
64682
64682
  }
64683
64683
  registerFunctionStatementId(e15) {
64684
64684
  !e15.body && e15.id ? this.checkIdentifier(e15.id, 1024) : super.registerFunctionStatementId(e15);
64685
64685
  }
64686
64686
  tsCheckForInvalidTypeCasts(e15) {
64687
64687
  e15.forEach((e16) => {
64688
- "TSTypeCastExpression" === (null == e16 ? void 0 : e16.type) && this.raise(Nt2.UnexpectedTypeAnnotation, { at: e16.typeAnnotation });
64688
+ "TSTypeCastExpression" === (null == e16 ? void 0 : e16.type) && this.raise(St2.UnexpectedTypeAnnotation, { at: e16.typeAnnotation });
64689
64689
  });
64690
64690
  }
64691
64691
  toReferencedList(e15, t11) {
@@ -64734,7 +64734,7 @@ var j5 = M5((e13) => {
64734
64734
  return u10.expression = e15, u10.typeParameters = a11, this.finishNode(u10, "TSInstantiationExpression");
64735
64735
  });
64736
64736
  if (s11 && this.unexpected(s11, 10), a10)
64737
- return "TSInstantiationExpression" === a10.type && (this.match(16) || this.match(18) && 40 !== this.lookaheadCharCode()) && this.raise(Nt2.InvalidPropertyAccessAfterInstantiationExpression, { at: this.state.startLoc }), a10;
64737
+ return "TSInstantiationExpression" === a10.type && (this.match(16) || this.match(18) && 40 !== this.lookaheadCharCode()) && this.raise(St2.InvalidPropertyAccessAfterInstantiationExpression, { at: this.state.startLoc }), a10;
64738
64738
  }
64739
64739
  return super.parseSubscript(e15, t11, r11, n11);
64740
64740
  }
@@ -64756,7 +64756,7 @@ var j5 = M5((e13) => {
64756
64756
  this.state.isAmbientContext || super.checkReservedWord(e15, t11, r11, n11);
64757
64757
  }
64758
64758
  checkImportReflection(e15) {
64759
- super.checkImportReflection(e15), e15.module && "value" !== e15.importKind && this.raise(Nt2.ImportReflectionHasImportType, { at: e15.specifiers[0].loc.start });
64759
+ super.checkImportReflection(e15), e15.module && "value" !== e15.importKind && this.raise(St2.ImportReflectionHasImportType, { at: e15.specifiers[0].loc.start });
64760
64760
  }
64761
64761
  checkDuplicateExports() {
64762
64762
  }
@@ -64785,7 +64785,7 @@ var j5 = M5((e13) => {
64785
64785
  t11 = super.parseImportSpecifiersAndAfter(e15, r11);
64786
64786
  } else
64787
64787
  t11 = super.parseImport(e15);
64788
- return "type" === t11.importKind && t11.specifiers.length > 1 && "ImportDefaultSpecifier" === t11.specifiers[0].type && this.raise(Nt2.TypeImportCannotSpecifyDefaultAndNamed, { at: t11 }), t11;
64788
+ return "type" === t11.importKind && t11.specifiers.length > 1 && "ImportDefaultSpecifier" === t11.specifiers[0].type && this.raise(St2.TypeImportCannotSpecifyDefaultAndNamed, { at: t11 }), t11;
64789
64789
  }
64790
64790
  parseExport(e15, t11) {
64791
64791
  if (this.match(83)) {
@@ -64823,7 +64823,7 @@ var j5 = M5((e13) => {
64823
64823
  if (!n11)
64824
64824
  return i11;
64825
64825
  for (let { id: e16, init: r12 } of i11.declarations)
64826
- r12 && ("const" !== t11 || e16.typeAnnotation ? this.raise(Nt2.InitializerNotAllowedInAmbientContext, { at: r12 }) : Lt2(r12, this.hasPlugin("estree")) || this.raise(Nt2.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, { at: r12 }));
64826
+ r12 && ("const" !== t11 || e16.typeAnnotation ? this.raise(St2.InitializerNotAllowedInAmbientContext, { at: r12 }) : Pt2(r12, this.hasPlugin("estree")) || this.raise(St2.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, { at: r12 }));
64827
64827
  return i11;
64828
64828
  }
64829
64829
  parseStatementContent(e15, t11) {
@@ -64844,27 +64844,27 @@ var j5 = M5((e13) => {
64844
64844
  return this.tsParseModifier(["public", "protected", "private"]);
64845
64845
  }
64846
64846
  tsHasSomeModifiers(e15, t11) {
64847
- return t11.some((t12) => Ft2(t12) ? e15.accessibility === t12 : !!e15[t12]);
64847
+ return t11.some((t12) => Tt2(t12) ? e15.accessibility === t12 : !!e15[t12]);
64848
64848
  }
64849
64849
  tsIsStartOfStaticBlocks() {
64850
64850
  return this.isContextual(104) && 123 === this.lookaheadCharCode();
64851
64851
  }
64852
64852
  parseClassMember(e15, t11, r11) {
64853
64853
  let n11 = ["declare", "private", "public", "protected", "override", "abstract", "readonly", "static"];
64854
- this.tsParseModifiers({ allowedModifiers: n11, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: true, errorTemplate: Nt2.InvalidModifierOnTypeParameterPositions }, t11);
64854
+ this.tsParseModifiers({ allowedModifiers: n11, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: true, errorTemplate: St2.InvalidModifierOnTypeParameterPositions }, t11);
64855
64855
  let i11 = () => {
64856
- this.tsIsStartOfStaticBlocks() ? (this.next(), this.next(), this.tsHasSomeModifiers(t11, n11) && this.raise(Nt2.StaticBlockCannotHaveModifier, { at: this.state.curPosition() }), super.parseClassStaticBlock(e15, t11)) : this.parseClassMemberWithIsStatic(e15, t11, r11, !!t11.static);
64856
+ this.tsIsStartOfStaticBlocks() ? (this.next(), this.next(), this.tsHasSomeModifiers(t11, n11) && this.raise(St2.StaticBlockCannotHaveModifier, { at: this.state.curPosition() }), super.parseClassStaticBlock(e15, t11)) : this.parseClassMemberWithIsStatic(e15, t11, r11, !!t11.static);
64857
64857
  };
64858
64858
  t11.declare ? this.tsInAmbientContext(i11) : i11();
64859
64859
  }
64860
64860
  parseClassMemberWithIsStatic(e15, t11, r11, n11) {
64861
64861
  let i11 = this.tsTryParseIndexSignature(t11);
64862
64862
  if (i11)
64863
- return e15.body.push(i11), t11.abstract && this.raise(Nt2.IndexSignatureHasAbstract, { at: t11 }), t11.accessibility && this.raise(Nt2.IndexSignatureHasAccessibility, { at: t11, modifier: t11.accessibility }), t11.declare && this.raise(Nt2.IndexSignatureHasDeclare, { at: t11 }), void (t11.override && this.raise(Nt2.IndexSignatureHasOverride, { at: t11 }));
64864
- !this.state.inAbstractClass && t11.abstract && this.raise(Nt2.NonAbstractClassHasAbstractMethod, { at: t11 }), t11.override && (r11.hadSuperClass || this.raise(Nt2.OverrideNotInSubClass, { at: t11 })), super.parseClassMemberWithIsStatic(e15, t11, r11, n11);
64863
+ return e15.body.push(i11), t11.abstract && this.raise(St2.IndexSignatureHasAbstract, { at: t11 }), t11.accessibility && this.raise(St2.IndexSignatureHasAccessibility, { at: t11, modifier: t11.accessibility }), t11.declare && this.raise(St2.IndexSignatureHasDeclare, { at: t11 }), void (t11.override && this.raise(St2.IndexSignatureHasOverride, { at: t11 }));
64864
+ !this.state.inAbstractClass && t11.abstract && this.raise(St2.NonAbstractClassHasAbstractMethod, { at: t11 }), t11.override && (r11.hadSuperClass || this.raise(St2.OverrideNotInSubClass, { at: t11 })), super.parseClassMemberWithIsStatic(e15, t11, r11, n11);
64865
64865
  }
64866
64866
  parsePostMemberNameModifiers(e15) {
64867
- this.eat(17) && (e15.optional = true), e15.readonly && this.match(10) && this.raise(Nt2.ClassMethodHasReadonly, { at: e15 }), e15.declare && this.match(10) && this.raise(Nt2.ClassMethodHasDeclare, { at: e15 });
64867
+ this.eat(17) && (e15.optional = true), e15.readonly && this.match(10) && this.raise(St2.ClassMethodHasReadonly, { at: e15 }), e15.declare && this.match(10) && this.raise(St2.ClassMethodHasDeclare, { at: e15 });
64868
64868
  }
64869
64869
  parseExpressionStatement(e15, t11, r11) {
64870
64870
  return ("Identifier" === t11.type ? this.tsParseExpressionStatement(e15, t11, r11) : void 0) || super.parseExpressionStatement(e15, t11, r11);
@@ -64890,7 +64890,7 @@ var j5 = M5((e13) => {
64890
64890
  return this.tsInAmbientContext(() => this.parseExportDeclaration(e15));
64891
64891
  let t11 = this.state.startLoc, r11 = this.eatContextual(123);
64892
64892
  if (r11 && (this.isContextual(123) || !this.shouldParseExportDeclaration()))
64893
- throw this.raise(Nt2.ExpectedAmbientAfterExportDeclare, { at: this.state.startLoc });
64893
+ throw this.raise(St2.ExpectedAmbientAfterExportDeclare, { at: this.state.startLoc });
64894
64894
  let n11 = K10(this.state.type) && this.tsTryParseExportDeclaration() || super.parseExportDeclaration(e15);
64895
64895
  return n11 ? (("TSInterfaceDeclaration" === n11.type || "TSTypeAliasDeclaration" === n11.type || r11) && (e15.exportKind = "type"), r11 && (this.resetStartLocation(n11, t11), n11.declare = true), n11) : null;
64896
64896
  }
@@ -64907,23 +64907,23 @@ var j5 = M5((e13) => {
64907
64907
  t11 && (e15.typeAnnotation = t11);
64908
64908
  }
64909
64909
  parseClassProperty(e15) {
64910
- if (this.parseClassPropertyAnnotation(e15), this.state.isAmbientContext && !(e15.readonly && !e15.typeAnnotation) && this.match(29) && this.raise(Nt2.DeclareClassFieldHasInitializer, { at: this.state.startLoc }), e15.abstract && this.match(29)) {
64910
+ if (this.parseClassPropertyAnnotation(e15), this.state.isAmbientContext && !(e15.readonly && !e15.typeAnnotation) && this.match(29) && this.raise(St2.DeclareClassFieldHasInitializer, { at: this.state.startLoc }), e15.abstract && this.match(29)) {
64911
64911
  let { key: t11 } = e15;
64912
- this.raise(Nt2.AbstractPropertyHasInitializer, { at: this.state.startLoc, propertyName: "Identifier" !== t11.type || e15.computed ? `[${this.input.slice(t11.start, t11.end)}]` : t11.name });
64912
+ this.raise(St2.AbstractPropertyHasInitializer, { at: this.state.startLoc, propertyName: "Identifier" !== t11.type || e15.computed ? `[${this.input.slice(t11.start, t11.end)}]` : t11.name });
64913
64913
  }
64914
64914
  return super.parseClassProperty(e15);
64915
64915
  }
64916
64916
  parseClassPrivateProperty(e15) {
64917
- return e15.abstract && this.raise(Nt2.PrivateElementHasAbstract, { at: e15 }), e15.accessibility && this.raise(Nt2.PrivateElementHasAccessibility, { at: e15, modifier: e15.accessibility }), this.parseClassPropertyAnnotation(e15), super.parseClassPrivateProperty(e15);
64917
+ return e15.abstract && this.raise(St2.PrivateElementHasAbstract, { at: e15 }), e15.accessibility && this.raise(St2.PrivateElementHasAccessibility, { at: e15, modifier: e15.accessibility }), this.parseClassPropertyAnnotation(e15), super.parseClassPrivateProperty(e15);
64918
64918
  }
64919
64919
  parseClassAccessorProperty(e15) {
64920
- return this.parseClassPropertyAnnotation(e15), e15.optional && this.raise(Nt2.AccessorCannotBeOptional, { at: e15 }), super.parseClassAccessorProperty(e15);
64920
+ return this.parseClassPropertyAnnotation(e15), e15.optional && this.raise(St2.AccessorCannotBeOptional, { at: e15 }), super.parseClassAccessorProperty(e15);
64921
64921
  }
64922
64922
  pushClassMethod(e15, t11, r11, n11, i11, s11) {
64923
64923
  let a10 = this.tsTryParseTypeParameters(this.tsParseConstModifier);
64924
- a10 && i11 && this.raise(Nt2.ConstructorHasTypeParameters, { at: a10 });
64924
+ a10 && i11 && this.raise(St2.ConstructorHasTypeParameters, { at: a10 });
64925
64925
  let { declare: o10 = false, kind: u10 } = t11;
64926
- o10 && ("get" === u10 || "set" === u10) && this.raise(Nt2.DeclareAccessor, { at: t11, kind: u10 }), a10 && (t11.typeParameters = a10), super.pushClassMethod(e15, t11, r11, n11, i11, s11);
64926
+ o10 && ("get" === u10 || "set" === u10) && this.raise(St2.DeclareAccessor, { at: t11, kind: u10 }), a10 && (t11.typeParameters = a10), super.pushClassMethod(e15, t11, r11, n11, i11, s11);
64927
64927
  }
64928
64928
  pushClassPrivateMethod(e15, t11, r11, n11) {
64929
64929
  let i11 = this.tsTryParseTypeParameters(this.tsParseConstModifier);
@@ -64971,7 +64971,7 @@ var j5 = M5((e13) => {
64971
64971
  }, o10);
64972
64972
  if (!p11.error && !p11.aborted)
64973
64973
  return c11 && this.reportReservedArrowTypeParam(c11), p11.node;
64974
- if (!u10 && (It2(!this.hasPlugin("jsx")), l10 = this.tryParse(() => super.parseMaybeAssign(e15, t11), o10), !l10.error))
64974
+ if (!u10 && (bt2(!this.hasPlugin("jsx")), l10 = this.tryParse(() => super.parseMaybeAssign(e15, t11), o10), !l10.error))
64975
64975
  return l10.node;
64976
64976
  if (null != (n11 = u10) && n11.node)
64977
64977
  return this.state = u10.failState, u10.node;
@@ -64983,7 +64983,7 @@ var j5 = M5((e13) => {
64983
64983
  }
64984
64984
  reportReservedArrowTypeParam(e15) {
64985
64985
  var t11;
64986
- 1 === e15.params.length && !e15.params[0].constraint && (null == (t11 = e15.extra) || !t11.trailingComma) && this.getPluginOption("typescript", "disallowAmbiguousJSXLike") && this.raise(Nt2.ReservedArrowTypeParam, { at: e15 });
64986
+ 1 === e15.params.length && !e15.params[0].constraint && (null == (t11 = e15.extra) || !t11.trailingComma) && this.getPluginOption("typescript", "disallowAmbiguousJSXLike") && this.raise(St2.ReservedArrowTypeParam, { at: e15 });
64987
64987
  }
64988
64988
  parseMaybeUnary(e15, t11) {
64989
64989
  return !this.hasPlugin("jsx") && this.match(47) ? this.tsParseTypeAssertion() : super.parseMaybeUnary(e15, t11);
@@ -65026,7 +65026,7 @@ var j5 = M5((e13) => {
65026
65026
  case "TSSatisfiesExpression":
65027
65027
  case "TSNonNullExpression":
65028
65028
  case "TSTypeAssertion":
65029
- t11 ? this.expressionScope.recordArrowParameterBindingError(Nt2.UnexpectedTypeCastInParameter, { at: e15 }) : this.raise(Nt2.UnexpectedTypeCastInParameter, { at: e15 }), this.toAssignable(e15.expression, t11);
65029
+ t11 ? this.expressionScope.recordArrowParameterBindingError(St2.UnexpectedTypeCastInParameter, { at: e15 }) : this.raise(St2.UnexpectedTypeCastInParameter, { at: e15 }), this.toAssignable(e15.expression, t11);
65030
65030
  break;
65031
65031
  case "AssignmentExpression":
65032
65032
  !t11 && "TSTypeCastExpression" === e15.left.type && (e15.left = this.typeCastToParameter(e15.left));
@@ -65060,7 +65060,7 @@ var j5 = M5((e13) => {
65060
65060
  }
65061
65061
  }
65062
65062
  isValidLVal(e15, t11, r11) {
65063
- return ((e16, t12) => Object.hasOwnProperty.call(e16, t12) && e16[t12])({ TSTypeCastExpression: true, TSParameterProperty: "parameter", TSNonNullExpression: "expression", TSAsExpression: (r11 !== ke2 || !t11) && ["expression", true], TSSatisfiesExpression: (r11 !== ke2 || !t11) && ["expression", true], TSTypeAssertion: (r11 !== ke2 || !t11) && ["expression", true] }, e15) || super.isValidLVal(e15, t11, r11);
65063
+ return ((e16, t12) => Object.hasOwnProperty.call(e16, t12) && e16[t12])({ TSTypeCastExpression: true, TSParameterProperty: "parameter", TSNonNullExpression: "expression", TSAsExpression: (64 !== r11 || !t11) && ["expression", true], TSSatisfiesExpression: (64 !== r11 || !t11) && ["expression", true], TSTypeAssertion: (64 !== r11 || !t11) && ["expression", true] }, e15) || super.isValidLVal(e15, t11, r11);
65064
65064
  }
65065
65065
  parseBindingAtom() {
65066
65066
  return 78 === this.state.type ? this.parseIdentifier(true) : super.parseBindingAtom();
@@ -65087,7 +65087,7 @@ var j5 = M5((e13) => {
65087
65087
  }
65088
65088
  parseMaybeDefault(e15, t11) {
65089
65089
  let r11 = super.parseMaybeDefault(e15, t11);
65090
- return "AssignmentPattern" === r11.type && r11.typeAnnotation && r11.right.start < r11.typeAnnotation.start && this.raise(Nt2.TypeAnnotationAfterAssign, { at: r11.typeAnnotation }), r11;
65090
+ return "AssignmentPattern" === r11.type && r11.typeAnnotation && r11.right.start < r11.typeAnnotation.start && this.raise(St2.TypeAnnotationAfterAssign, { at: r11.typeAnnotation }), r11;
65091
65091
  }
65092
65092
  getTokenFromCode(e15) {
65093
65093
  if (this.state.inType) {
@@ -65163,7 +65163,7 @@ var j5 = M5((e13) => {
65163
65163
  return e15.abstract = true, this.maybeTakeDecorators(t11, this.parseClass(e15, true, false));
65164
65164
  if (this.isContextual(127)) {
65165
65165
  if (!this.hasFollowingLineBreak())
65166
- return e15.abstract = true, this.raise(Nt2.NonClassMethodPropertyHasAbstractModifer, { at: e15 }), this.tsParseInterfaceDeclaration(e15);
65166
+ return e15.abstract = true, this.raise(St2.NonClassMethodPropertyHasAbstractModifer, { at: e15 }), this.tsParseInterfaceDeclaration(e15);
65167
65167
  } else
65168
65168
  this.unexpected(null, 80);
65169
65169
  }
@@ -65171,7 +65171,7 @@ var j5 = M5((e13) => {
65171
65171
  let o10 = super.parseMethod(e15, t11, r11, n11, i11, s11, a10);
65172
65172
  if (o10.abstract && (this.hasPlugin("estree") ? o10.value.body : o10.body)) {
65173
65173
  let { key: e16 } = o10;
65174
- this.raise(Nt2.AbstractMethodHasImplementation, { at: o10, methodName: "Identifier" !== e16.type || o10.computed ? `[${this.input.slice(e16.start, e16.end)}]` : e16.name });
65174
+ this.raise(St2.AbstractMethodHasImplementation, { at: o10, methodName: "Identifier" !== e16.type || o10.computed ? `[${this.input.slice(e16.start, e16.end)}]` : e16.name });
65175
65175
  }
65176
65176
  return o10;
65177
65177
  }
@@ -65191,7 +65191,7 @@ var j5 = M5((e13) => {
65191
65191
  return !t11 && n11 ? (this.parseTypeOnlyImportExportSpecifier(e15, false, r11), this.finishNode(e15, "ExportSpecifier")) : (e15.exportKind = "value", super.parseExportSpecifier(e15, t11, r11, n11));
65192
65192
  }
65193
65193
  parseImportSpecifier(e15, t11, r11, n11, i11) {
65194
- return !t11 && n11 ? (this.parseTypeOnlyImportExportSpecifier(e15, true, r11), this.finishNode(e15, "ImportSpecifier")) : (e15.importKind = "value", super.parseImportSpecifier(e15, t11, r11, n11, r11 ? 4098 : De2));
65194
+ return !t11 && n11 ? (this.parseTypeOnlyImportExportSpecifier(e15, true, r11), this.finishNode(e15, "ImportSpecifier")) : (e15.importKind = "value", super.parseImportSpecifier(e15, t11, r11, n11, r11 ? 4098 : 4096));
65195
65195
  }
65196
65196
  parseTypeOnlyImportExportSpecifier(e15, t11, r11) {
65197
65197
  let n11, i11 = t11 ? "imported" : "local", s11 = t11 ? "local" : "exported", a10 = e15[i11], o10 = false, u10 = true, l10 = a10.loc.start;
@@ -65204,7 +65204,7 @@ var j5 = M5((e13) => {
65204
65204
  J10(this.state.type) ? (u10 = false, n11 = t11 ? this.parseIdentifier() : this.parseModuleExportName()) : (o10 = true, a10 = e16);
65205
65205
  } else
65206
65206
  J10(this.state.type) && (o10 = true, t11 ? (a10 = this.parseIdentifier(true), this.isContextual(93) || this.checkReservedWord(a10.name, a10.loc.start, true, true)) : a10 = this.parseModuleExportName());
65207
- o10 && r11 && this.raise(t11 ? Nt2.TypeModifierIsUsedInTypeImports : Nt2.TypeModifierIsUsedInTypeExports, { at: l10 }), e15[i11] = a10, e15[s11] = n11, e15[t11 ? "importKind" : "exportKind"] = o10 ? "type" : "value", u10 && this.eatContextual(93) && (e15[s11] = t11 ? this.parseIdentifier() : this.parseModuleExportName()), e15[s11] || (e15[s11] = mt2(e15[i11])), t11 && this.checkIdentifier(e15[s11], o10 ? 4098 : De2);
65207
+ o10 && r11 && this.raise(t11 ? St2.TypeModifierIsUsedInTypeImports : St2.TypeModifierIsUsedInTypeExports, { at: l10 }), e15[i11] = a10, e15[s11] = n11, e15[t11 ? "importKind" : "exportKind"] = o10 ? "type" : "value", u10 && this.eatContextual(93) && (e15[s11] = t11 ? this.parseIdentifier() : this.parseModuleExportName()), e15[s11] || (e15[s11] = it2(e15[i11])), t11 && this.checkIdentifier(e15[s11], o10 ? 4098 : 4096);
65208
65208
  }
65209
65209
  }, v8intrinsic: (e14) => class extends e14 {
65210
65210
  parseV8Intrinsic() {
@@ -65260,11 +65260,12 @@ var j5 = M5((e13) => {
65260
65260
  e15.label && "Placeholder" === e15.label.type || super.verifyBreakContinue(e15, t11);
65261
65261
  }
65262
65262
  parseExpressionStatement(e15, t11) {
65263
- if ("Placeholder" !== t11.type || t11.extra && t11.extra.parenthesized)
65263
+ var r11;
65264
+ if ("Placeholder" !== t11.type || null != (r11 = t11.extra) && r11.parenthesized)
65264
65265
  return super.parseExpressionStatement(e15, t11);
65265
65266
  if (this.match(14)) {
65266
- let r11 = e15;
65267
- return r11.label = this.finishPlaceholder(t11, "Identifier"), this.next(), r11.body = super.parseStatementOrSloppyAnnexBFunctionDeclaration(), this.finishNode(r11, "LabeledStatement");
65267
+ let r12 = e15;
65268
+ return r12.label = this.finishPlaceholder(t11, "Identifier"), this.next(), r12.body = super.parseStatementOrSloppyAnnexBFunctionDeclaration(), this.finishNode(r12, "LabeledStatement");
65268
65269
  }
65269
65270
  return this.semicolon(), e15.name = t11.name, this.finishPlaceholder(e15, "Statement");
65270
65271
  }
@@ -65282,7 +65283,7 @@ var j5 = M5((e13) => {
65282
65283
  if (!(this.match(81) || this.match(142) || this.match(5))) {
65283
65284
  if (r11 || !t11)
65284
65285
  return e15.id = null, e15.body = this.finishPlaceholder(s11, "ClassBody"), this.finishNode(e15, n11);
65285
- throw this.raise(jt2.ClassNameIsRequired, { at: this.state.startLoc });
65286
+ throw this.raise(Ct2.ClassNameIsRequired, { at: this.state.startLoc });
65286
65287
  }
65287
65288
  e15.id = s11;
65288
65289
  } else
@@ -65328,10 +65329,10 @@ var j5 = M5((e13) => {
65328
65329
  return this.parsePlaceholder("StringLiteral") || super.parseImportSource();
65329
65330
  }
65330
65331
  assertNoSpace() {
65331
- this.state.start > this.state.lastTokEndLoc.index && this.raise(jt2.UnexpectedSpace, { at: this.state.lastTokEndLoc });
65332
+ this.state.start > this.state.lastTokEndLoc.index && this.raise(Ct2.UnexpectedSpace, { at: this.state.lastTokEndLoc });
65332
65333
  }
65333
- } }, Jt2 = Object.keys(Kt2), Wt2 = { sourceType: "script", sourceFilename: void 0, startColumn: 0, startLine: 1, allowAwaitOutsideFunction: false, allowReturnOutsideFunction: false, allowNewTargetOutsideFunction: false, allowImportExportEverywhere: false, allowSuperOutsideMethod: false, allowUndeclaredExports: false, plugins: [], strictMode: null, ranges: false, tokens: false, createParenthesizedExpressions: false, errorRecovery: false, attachComment: true, annexB: true };
65334
- var Xt2 = class extends kt2 {
65334
+ } }, Ot2 = Object.keys(_t2), Lt2 = { sourceType: "script", sourceFilename: void 0, startColumn: 0, startLine: 1, allowAwaitOutsideFunction: false, allowReturnOutsideFunction: false, allowNewTargetOutsideFunction: false, allowImportExportEverywhere: false, allowSuperOutsideMethod: false, allowUndeclaredExports: false, plugins: [], strictMode: null, ranges: false, tokens: false, createParenthesizedExpressions: false, errorRecovery: false, attachComment: true, annexB: true };
65335
+ var Mt2 = class extends xt2 {
65335
65336
  checkProto(e14, t11, r11, n11) {
65336
65337
  if ("SpreadElement" === e14.type || this.isObjectMethod(e14) || e14.computed || e14.shorthand)
65337
65338
  return;
@@ -65379,7 +65380,7 @@ var j5 = M5((e13) => {
65379
65380
  let e15 = this.parseYield();
65380
65381
  return t11 && (e15 = t11.call(this, e15, n11)), e15;
65381
65382
  }
65382
- e14 ? r11 = false : (e14 = new dt2(), r11 = true);
65383
+ e14 ? r11 = false : (e14 = new tt2(), r11 = true);
65383
65384
  let { type: i11 } = this.state;
65384
65385
  (10 === i11 || K10(i11)) && (this.state.potentialArrowAt = this.state.start);
65385
65386
  let s11 = this.parseMaybeConditional(e14);
@@ -65557,7 +65558,7 @@ var j5 = M5((e13) => {
65557
65558
  let a10 = this.startNodeAt(t11);
65558
65559
  a10.callee = e14;
65559
65560
  let { maybeAsyncArrow: o10, optionalChainMember: u10 } = r11;
65560
- o10 && (this.expressionScope.enter(new ut2(2)), s11 = new dt2()), u10 && (a10.optional = n11), a10.arguments = n11 ? this.parseCallExpressionArguments(11) : this.parseCallExpressionArguments(11, "Import" === e14.type, "Super" !== e14.type, a10, s11);
65561
+ o10 && (this.expressionScope.enter(new Ye2(2)), s11 = new tt2()), u10 && (a10.optional = n11), a10.arguments = n11 ? this.parseCallExpressionArguments(11) : this.parseCallExpressionArguments(11, "Import" === e14.type, "Super" !== e14.type, a10, s11);
65561
65562
  let l10 = this.finishCallExpression(a10, u10);
65562
65563
  return o10 && this.shouldParseAsyncArrow() && !n11 ? (r11.stop = true, this.checkDestructuringPrivate(s11), this.expressionScope.validateAsPattern(), this.expressionScope.exit(), l10 = this.parseAsyncArrowFromCallExpression(this.startNodeAt(t11), l10)) : (o10 && (this.checkExpressionErrors(s11, true), this.expressionScope.exit()), this.toReferencedArguments(l10)), this.state.maybeInArrowParameters = i11, l10;
65563
65564
  }
@@ -65601,7 +65602,7 @@ var j5 = M5((e13) => {
65601
65602
  }
65602
65603
  parseAsyncArrowFromCallExpression(e14, t11) {
65603
65604
  var r11;
65604
- return this.resetPreviousNodeTrailingComments(t11), this.expect(19), this.parseArrowExpression(e14, t11.arguments, true, null == (r11 = t11.extra) ? void 0 : r11.trailingCommaLoc), t11.innerComments && Me2(e14, t11.innerComments), t11.callee.trailingComments && Me2(e14, t11.callee.trailingComments), e14;
65605
+ return this.resetPreviousNodeTrailingComments(t11), this.expect(19), this.parseArrowExpression(e14, t11.arguments, true, null == (r11 = t11.extra) ? void 0 : r11.trailingCommaLoc), t11.innerComments && Ae2(e14, t11.innerComments), t11.callee.trailingComments && Ae2(e14, t11.callee.trailingComments), e14;
65605
65606
  }
65606
65607
  parseNoCallExpr() {
65607
65608
  let e14 = this.state.startLoc;
@@ -65737,7 +65738,7 @@ var j5 = M5((e13) => {
65737
65738
  }
65738
65739
  }
65739
65740
  parseAsyncArrowUnaryFunction(e14) {
65740
- this.prodParam.enter(ct2(true, this.prodParam.hasYield));
65741
+ this.prodParam.enter(Ze2(true, this.prodParam.hasYield));
65741
65742
  let t11 = [this.parseIdentifier()];
65742
65743
  return this.prodParam.exit(), this.hasPrecedingLineBreak() && this.raise(b10.LineTerminatorBeforeArrow, { at: this.state.curPosition() }), this.expect(19), this.parseArrowExpression(e14, t11, true);
65743
65744
  }
@@ -65804,10 +65805,10 @@ var j5 = M5((e13) => {
65804
65805
  }
65805
65806
  parseParenAndDistinguishExpression(e14) {
65806
65807
  let t11, r11 = this.state.startLoc;
65807
- this.next(), this.expressionScope.enter(new ut2(1));
65808
+ this.next(), this.expressionScope.enter(new Ye2(1));
65808
65809
  let n11 = this.state.maybeInArrowParameters, i11 = this.state.inFSharpPipelineDirectBody;
65809
65810
  this.state.maybeInArrowParameters = true, this.state.inFSharpPipelineDirectBody = false;
65810
- let s11, a10, o10 = this.state.startLoc, u10 = [], l10 = new dt2(), c11 = true;
65811
+ let s11, a10, o10 = this.state.startLoc, u10 = [], l10 = new tt2(), c11 = true;
65811
65812
  for (; !this.match(11); ) {
65812
65813
  if (c11)
65813
65814
  c11 = false;
@@ -65950,12 +65951,12 @@ var j5 = M5((e13) => {
65950
65951
  return e14.value = r11 ? this.parseMaybeDefault(this.state.startLoc) : this.parseMaybeAssignAllowIn(n11), this.finishNode(e14, "ObjectProperty");
65951
65952
  if (!e14.computed && "Identifier" === e14.key.type) {
65952
65953
  if (this.checkReservedWord(e14.key.name, e14.key.loc.start, true, false), r11)
65953
- e14.value = this.parseMaybeDefault(t11, mt2(e14.key));
65954
+ e14.value = this.parseMaybeDefault(t11, it2(e14.key));
65954
65955
  else if (this.match(29)) {
65955
65956
  let r12 = this.state.startLoc;
65956
- null != n11 ? null === n11.shorthandAssignLoc && (n11.shorthandAssignLoc = r12) : this.raise(b10.InvalidCoverInitializedName, { at: r12 }), e14.value = this.parseMaybeDefault(t11, mt2(e14.key));
65957
+ null != n11 ? null === n11.shorthandAssignLoc && (n11.shorthandAssignLoc = r12) : this.raise(b10.InvalidCoverInitializedName, { at: r12 }), e14.value = this.parseMaybeDefault(t11, it2(e14.key));
65957
65958
  } else
65958
- e14.value = mt2(e14.key);
65959
+ e14.value = it2(e14.key);
65959
65960
  return e14.shorthand = true, this.finishNode(e14, "ObjectProperty");
65960
65961
  }
65961
65962
  }
@@ -66000,7 +66001,7 @@ var j5 = M5((e13) => {
66000
66001
  e14.id = null, e14.generator = false, e14.async = t11;
66001
66002
  }
66002
66003
  parseMethod(e14, t11, r11, n11, i11, s11, a10 = false) {
66003
- this.initFunction(e14, r11), e14.generator = t11, this.scope.enter(18 | (a10 ? be2 : 0) | (i11 ? 32 : 0)), this.prodParam.enter(ct2(r11, e14.generator)), this.parseFunctionParams(e14, n11);
66004
+ this.initFunction(e14, r11), e14.generator = t11, this.scope.enter(18 | (a10 ? 64 : 0) | (i11 ? 32 : 0)), this.prodParam.enter(Ze2(r11, e14.generator)), this.parseFunctionParams(e14, n11);
66004
66005
  let o10 = this.parseFunctionBodyAndFinish(e14, s11, true);
66005
66006
  return this.prodParam.exit(), this.scope.exit(), o10;
66006
66007
  }
@@ -66013,7 +66014,7 @@ var j5 = M5((e13) => {
66013
66014
  }
66014
66015
  parseArrowExpression(e14, t11, r11, n11) {
66015
66016
  this.scope.enter(6);
66016
- let i11 = ct2(r11, false);
66017
+ let i11 = Ze2(r11, false);
66017
66018
  !this.match(5) && this.prodParam.hasIn && (i11 |= 8), this.prodParam.enter(i11), this.initFunction(e14, r11);
66018
66019
  let s11 = this.state.maybeInArrowParameters;
66019
66020
  return t11 && (this.state.maybeInArrowParameters = true, this.setArrowFunctionParameters(e14, t11, n11)), this.state.maybeInArrowParameters = false, this.parseFunctionBody(e14, true), this.prodParam.exit(), this.scope.exit(), this.state.maybeInArrowParameters = s11, this.finishNode(e14, "ArrowFunctionExpression");
@@ -66026,7 +66027,7 @@ var j5 = M5((e13) => {
66026
66027
  }
66027
66028
  parseFunctionBody(e14, t11, r11 = false) {
66028
66029
  let n11 = t11 && !this.match(5);
66029
- if (this.expressionScope.enter(lt2()), n11)
66030
+ if (this.expressionScope.enter(Qe2()), n11)
66030
66031
  e14.body = this.parseMaybeAssign(), this.checkParams(e14, false, t11, false);
66031
66032
  else {
66032
66033
  let n12 = this.state.strict, i11 = this.state.labels;
@@ -66267,8 +66268,8 @@ var j5 = M5((e13) => {
66267
66268
  }
66268
66269
  parsePropertyNamePrefixOperator(e14) {
66269
66270
  }
66270
- }, Ht2 = { kind: "loop" }, zt2 = { kind: "switch" }, Gt2 = /[\uD800-\uDFFF]/u, Yt2 = /in(?:stanceof)?/y;
66271
- var Qt2 = class extends Xt2 {
66271
+ }, Bt2 = { kind: "loop" }, jt2 = { kind: "switch" }, Rt2 = /[\uD800-\uDFFF]/u, Ut2 = /in(?:stanceof)?/y;
66272
+ var $t2 = class extends Mt2 {
66272
66273
  parseTopLevel(e14, t11) {
66273
66274
  return e14.program = this.parseProgram(t11), e14.comments = this.state.comments, this.options.tokens && (e14.tokens = function(e15, t12) {
66274
66275
  for (let r11 = 0; r11 < e15.length; r11++) {
@@ -66276,12 +66277,12 @@ var j5 = M5((e13) => {
66276
66277
  if ("number" == typeof s11) {
66277
66278
  if (136 === s11) {
66278
66279
  let { loc: t13, start: s12, value: a10, end: o10 } = n11, u10 = s12 + 1, l10 = i10(t13.start, 1);
66279
- e15.splice(r11, 1, new st2({ type: Z10(27), value: "#", start: s12, end: u10, startLoc: t13.start, endLoc: l10 }), new st2({ type: Z10(130), value: a10, start: u10, end: o10, startLoc: l10, endLoc: t13.end })), r11++;
66280
+ e15.splice(r11, 1, new He2({ type: Z10(27), value: "#", start: s12, end: u10, startLoc: t13.start, endLoc: l10 }), new He2({ type: Z10(130), value: a10, start: u10, end: o10, startLoc: l10, endLoc: t13.end })), r11++;
66280
66281
  continue;
66281
66282
  }
66282
66283
  if (Q10(s11)) {
66283
66284
  let a10, o10, u10, l10, c11, { loc: p11, start: d11, value: h11, end: f11 } = n11, m11 = d11 + 1, y11 = i10(p11.start, 1);
66284
- a10 = 96 === t12.charCodeAt(d11) ? new st2({ type: Z10(22), value: "`", start: d11, end: m11, startLoc: p11.start, endLoc: y11 }) : new st2({ type: Z10(8), value: "}", start: d11, end: m11, startLoc: p11.start, endLoc: y11 }), 24 === s11 ? (u10 = f11 - 1, l10 = i10(p11.end, -1), o10 = null === h11 ? null : h11.slice(1, -1), c11 = new st2({ type: Z10(22), value: "`", start: u10, end: f11, startLoc: l10, endLoc: p11.end })) : (u10 = f11 - 2, l10 = i10(p11.end, -2), o10 = null === h11 ? null : h11.slice(1, -2), c11 = new st2({ type: Z10(23), value: "${", start: u10, end: f11, startLoc: l10, endLoc: p11.end })), e15.splice(r11, 1, a10, new st2({ type: Z10(20), value: o10, start: m11, end: u10, startLoc: y11, endLoc: l10 }), c11), r11 += 2;
66285
+ a10 = 96 === t12.charCodeAt(d11) ? new He2({ type: Z10(22), value: "`", start: d11, end: m11, startLoc: p11.start, endLoc: y11 }) : new He2({ type: Z10(8), value: "}", start: d11, end: m11, startLoc: p11.start, endLoc: y11 }), 24 === s11 ? (u10 = f11 - 1, l10 = i10(p11.end, -1), o10 = null === h11 ? null : h11.slice(1, -1), c11 = new He2({ type: Z10(22), value: "`", start: u10, end: f11, startLoc: l10, endLoc: p11.end })) : (u10 = f11 - 2, l10 = i10(p11.end, -2), o10 = null === h11 ? null : h11.slice(1, -2), c11 = new He2({ type: Z10(23), value: "${", start: u10, end: f11, startLoc: l10, endLoc: p11.end })), e15.splice(r11, 1, a10, new He2({ type: Z10(20), value: o10, start: m11, end: u10, startLoc: y11, endLoc: l10 }), c11), r11 += 2;
66285
66286
  continue;
66286
66287
  }
66287
66288
  n11.type = Z10(s11);
@@ -66314,8 +66315,8 @@ var j5 = M5((e13) => {
66314
66315
  }
66315
66316
  chStartsBindingIdentifier(e14, t11) {
66316
66317
  if (oe2(e14)) {
66317
- if (Yt2.lastIndex = t11, Yt2.test(this.input)) {
66318
- let e15 = this.codePointAtPos(Yt2.lastIndex);
66318
+ if (Ut2.lastIndex = t11, Ut2.test(this.input)) {
66319
+ let e15 = this.codePointAtPos(Ut2.lastIndex);
66319
66320
  if (!ue2(e15) && 92 !== e15)
66320
66321
  return false;
66321
66322
  }
@@ -66514,10 +66515,10 @@ var j5 = M5((e13) => {
66514
66515
  return this.expect(11), e14;
66515
66516
  }
66516
66517
  parseDoWhileStatement(e14) {
66517
- return this.next(), this.state.labels.push(Ht2), e14.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement()), this.state.labels.pop(), this.expect(92), e14.test = this.parseHeaderExpression(), this.eat(13), this.finishNode(e14, "DoWhileStatement");
66518
+ return this.next(), this.state.labels.push(Bt2), e14.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement()), this.state.labels.pop(), this.expect(92), e14.test = this.parseHeaderExpression(), this.eat(13), this.finishNode(e14, "DoWhileStatement");
66518
66519
  }
66519
66520
  parseForStatement(e14) {
66520
- this.next(), this.state.labels.push(Ht2);
66521
+ this.next(), this.state.labels.push(Bt2);
66521
66522
  let t11 = null;
66522
66523
  if (this.isAwaitAllowed() && this.eatContextual(96) && (t11 = this.state.lastTokStartLoc), this.scope.enter(0), this.expect(10), this.match(13))
66523
66524
  return null !== t11 && this.unexpected(t11), this.parseFor(e14, null);
@@ -66531,7 +66532,7 @@ var j5 = M5((e13) => {
66531
66532
  return o10 && i12 && this.raise(b10.ForInUsing, { at: a11 }), (o10 || this.isContextual(101)) && 1 === a11.declarations.length ? this.parseForIn(e14, a11, t11) : (null !== t11 && this.unexpected(t11), this.parseFor(e14, a11));
66532
66533
  }
66533
66534
  }
66534
- let n11 = this.isContextual(95), i11 = new dt2(), s11 = this.parseExpression(true, i11), a10 = this.isContextual(101);
66535
+ let n11 = this.isContextual(95), i11 = new tt2(), s11 = this.parseExpression(true, i11), a10 = this.isContextual(101);
66535
66536
  if (a10 && (r11 && this.raise(b10.ForOfLet, { at: s11 }), null === t11 && n11 && "Identifier" === s11.type && this.raise(b10.ForOfAsync, { at: s11 })), a10 || this.match(58)) {
66536
66537
  this.checkDestructuringPrivate(i11), this.toAssignable(s11, true);
66537
66538
  let r12 = a10 ? "ForOfStatement" : "ForInStatement";
@@ -66551,7 +66552,7 @@ var j5 = M5((e13) => {
66551
66552
  parseSwitchStatement(e14) {
66552
66553
  this.next(), e14.discriminant = this.parseHeaderExpression();
66553
66554
  let t11, r11 = e14.cases = [];
66554
- this.expect(5), this.state.labels.push(zt2), this.scope.enter(0);
66555
+ this.expect(5), this.state.labels.push(jt2), this.scope.enter(0);
66555
66556
  for (let e15; !this.match(8); )
66556
66557
  if (this.match(61) || this.match(65)) {
66557
66558
  let n11 = this.match(61);
@@ -66578,7 +66579,7 @@ var j5 = M5((e13) => {
66578
66579
  return this.next(), this.parseVar(e14, false, t11, r11), this.semicolon(), this.finishNode(e14, "VariableDeclaration");
66579
66580
  }
66580
66581
  parseWhileStatement(e14) {
66581
- return this.next(), e14.test = this.parseHeaderExpression(), this.state.labels.push(Ht2), e14.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement()), this.state.labels.pop(), this.finishNode(e14, "WhileStatement");
66582
+ return this.next(), e14.test = this.parseHeaderExpression(), this.state.labels.push(Bt2), e14.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement()), this.state.labels.pop(), this.finishNode(e14, "WhileStatement");
66582
66583
  }
66583
66584
  parseWithStatement(e14) {
66584
66585
  return this.state.strict && this.raise(b10.StrictWith, { at: this.state.startLoc }), this.next(), e14.object = this.parseHeaderExpression(), e14.body = this.withSmartMixTopicForbiddingContext(() => this.parseStatement()), this.finishNode(e14, "WithStatement");
@@ -66647,7 +66648,7 @@ var j5 = M5((e13) => {
66647
66648
  }
66648
66649
  parseVarId(e14, t11) {
66649
66650
  let r11 = this.parseBindingAtom();
66650
- this.checkLVal(r11, { in: { type: "VariableDeclarator" }, binding: "var" === t11 ? 5 : we2 }), e14.id = r11;
66651
+ this.checkLVal(r11, { in: { type: "VariableDeclarator" }, binding: "var" === t11 ? 5 : 8201 }), e14.id = r11;
66651
66652
  }
66652
66653
  parseAsyncFunctionExpression(e14) {
66653
66654
  return this.parseFunction(e14, 8);
@@ -66656,7 +66657,7 @@ var j5 = M5((e13) => {
66656
66657
  let r11 = 2 & t11, n11 = !!(1 & t11), i11 = n11 && !(4 & t11), s11 = !!(8 & t11);
66657
66658
  this.initFunction(e14, s11), this.match(55) && (r11 && this.raise(b10.GeneratorInSingleStatementContext, { at: this.state.startLoc }), this.next(), e14.generator = true), n11 && (e14.id = this.parseFunctionId(i11));
66658
66659
  let a10 = this.state.maybeInArrowParameters;
66659
- return this.state.maybeInArrowParameters = false, this.scope.enter(2), this.prodParam.enter(ct2(s11, e14.generator)), n11 || (e14.id = this.parseFunctionId()), this.parseFunctionParams(e14, false), this.withSmartMixTopicForbiddingContext(() => {
66660
+ return this.state.maybeInArrowParameters = false, this.scope.enter(2), this.prodParam.enter(Ze2(s11, e14.generator)), n11 || (e14.id = this.parseFunctionId()), this.parseFunctionParams(e14, false), this.withSmartMixTopicForbiddingContext(() => {
66660
66661
  this.parseFunctionBodyAndFinish(e14, n11 ? "FunctionDeclaration" : "FunctionExpression");
66661
66662
  }), this.prodParam.exit(), this.scope.exit(), n11 && !r11 && this.registerFunctionStatementId(e14), this.state.maybeInArrowParameters = a10, e14;
66662
66663
  }
@@ -66664,10 +66665,10 @@ var j5 = M5((e13) => {
66664
66665
  return e14 || K10(this.state.type) ? this.parseIdentifier() : null;
66665
66666
  }
66666
66667
  parseFunctionParams(e14, t11) {
66667
- this.expect(10), this.expressionScope.enter(new ot2(3)), e14.params = this.parseBindingList(11, 41, 2 | (t11 ? 4 : 0)), this.expressionScope.exit();
66668
+ this.expect(10), this.expressionScope.enter(new Ge2(3)), e14.params = this.parseBindingList(11, 41, 2 | (t11 ? 4 : 0)), this.expressionScope.exit();
66668
66669
  }
66669
66670
  registerFunctionStatementId(e14) {
66670
- e14.id && this.scope.declareName(e14.id.name, !this.options.annexB || this.state.strict || e14.generator || e14.async ? this.scope.treatFunctionsAsVar ? 5 : we2 : 17, e14.id.loc.start);
66671
+ e14.id && this.scope.declareName(e14.id.name, !this.options.annexB || this.state.strict || e14.generator || e14.async ? this.scope.treatFunctionsAsVar ? 5 : 8201 : 17, e14.id.loc.start);
66671
66672
  }
66672
66673
  parseClass(e14, t11, r11) {
66673
66674
  this.next();
@@ -66816,7 +66817,7 @@ var j5 = M5((e13) => {
66816
66817
  return this.parseInitializer(e14), this.semicolon(), this.finishNode(e14, "ClassAccessorProperty");
66817
66818
  }
66818
66819
  parseInitializer(e14) {
66819
- this.scope.enter(80), this.expressionScope.enter(lt2()), this.prodParam.enter(0), e14.value = this.eat(29) ? this.parseMaybeAssignAllowIn() : null, this.expressionScope.exit(), this.prodParam.exit(), this.scope.exit();
66820
+ this.scope.enter(80), this.expressionScope.enter(Qe2()), this.prodParam.enter(0), e14.value = this.eat(29) ? this.parseMaybeAssignAllowIn() : null, this.expressionScope.exit(), this.prodParam.exit(), this.scope.exit();
66820
66821
  }
66821
66822
  parseClassId(e14, t11, r11, n11 = 8331) {
66822
66823
  if (K10(this.state.type))
@@ -66946,14 +66947,15 @@ var j5 = M5((e13) => {
66946
66947
  return 26 === e14 && (this.expectOnePlugin(["decorators", "decorators-legacy"]), this.hasPlugin("decorators")) ? (true === this.getPluginOption("decorators", "decoratorsBeforeExport") && this.raise(b10.DecoratorBeforeExport, { at: this.state.startLoc }), true) : 74 === e14 || 75 === e14 || 68 === e14 || 80 === e14 || this.isLet() || this.isAsyncFunction();
66947
66948
  }
66948
66949
  checkExport(e14, t11, r11, n11) {
66950
+ var i11;
66949
66951
  if (t11) {
66950
66952
  if (r11) {
66951
66953
  if (this.checkDuplicateExports(e14, "default"), this.hasPlugin("exportDefaultFrom")) {
66952
- var i11;
66954
+ var s11;
66953
66955
  let t12 = e14.declaration;
66954
- "Identifier" === t12.type && "from" === t12.name && t12.end - t12.start == 4 && (null == (i11 = t12.extra) || !i11.parenthesized) && this.raise(b10.ExportDefaultFromAsIdentifier, { at: t12 });
66956
+ "Identifier" === t12.type && "from" === t12.name && t12.end - t12.start == 4 && (null == (s11 = t12.extra) || !s11.parenthesized) && this.raise(b10.ExportDefaultFromAsIdentifier, { at: t12 });
66955
66957
  }
66956
- } else if (e14.specifiers && e14.specifiers.length)
66958
+ } else if (null != (i11 = e14.specifiers) && i11.length)
66957
66959
  for (let t12 of e14.specifiers) {
66958
66960
  let { exported: e15 } = t12, r12 = "Identifier" === e15.type ? e15.name : e15.value;
66959
66961
  if (this.checkDuplicateExports(t12, r12), !n11 && t12.local) {
@@ -67001,11 +67003,11 @@ var j5 = M5((e13) => {
67001
67003
  return t11;
67002
67004
  }
67003
67005
  parseExportSpecifier(e14, t11, r11, n11) {
67004
- return this.eatContextual(93) ? e14.exported = this.parseModuleExportName() : t11 ? e14.exported = yt2(e14.local) : e14.exported || (e14.exported = mt2(e14.local)), this.finishNode(e14, "ExportSpecifier");
67006
+ return this.eatContextual(93) ? e14.exported = this.parseModuleExportName() : t11 ? e14.exported = st2(e14.local) : e14.exported || (e14.exported = it2(e14.local)), this.finishNode(e14, "ExportSpecifier");
67005
67007
  }
67006
67008
  parseModuleExportName() {
67007
67009
  if (this.match(131)) {
67008
- let e14 = this.parseStringLiteral(this.state.value), t11 = e14.value.match(Gt2);
67010
+ let e14 = this.parseStringLiteral(this.state.value), t11 = e14.value.match(Rt2);
67009
67011
  return t11 && this.raise(b10.ModuleExportNameHasLoneSurrogate, { at: e14, surrogateCharCode: t11[0].charCodeAt(0) }), e14;
67010
67012
  }
67011
67013
  return this.parseIdentifier(true);
@@ -67063,7 +67065,7 @@ var j5 = M5((e13) => {
67063
67065
  parseImportSpecifierLocal(e14, t11, r11) {
67064
67066
  t11.local = this.parseIdentifier(), e14.specifiers.push(this.finishImportSpecifier(t11, r11));
67065
67067
  }
67066
- finishImportSpecifier(e14, t11, r11 = we2) {
67068
+ finishImportSpecifier(e14, t11, r11 = 8201) {
67067
67069
  return this.checkLVal(e14.local, { in: { type: t11 }, binding: r11 }), this.finishNode(e14, t11);
67068
67070
  }
67069
67071
  parseImportAttributes() {
@@ -67144,21 +67146,25 @@ var j5 = M5((e13) => {
67144
67146
  let { imported: r12 } = e14;
67145
67147
  if (t11)
67146
67148
  throw this.raise(b10.ImportBindingIsString, { at: e14, importName: r12.value });
67147
- this.checkReservedWord(r12.name, e14.loc.start, true, true), e14.local || (e14.local = mt2(r12));
67149
+ this.checkReservedWord(r12.name, e14.loc.start, true, true), e14.local || (e14.local = it2(r12));
67148
67150
  }
67149
67151
  return this.finishImportSpecifier(e14, "ImportSpecifier", i11);
67150
67152
  }
67151
67153
  isThisParam(e14) {
67152
67154
  return "Identifier" === e14.type && "this" === e14.name;
67153
67155
  }
67154
- }, Zt2 = class extends Qt2 {
67156
+ }, Vt2 = class extends $t2 {
67155
67157
  constructor(e14, t11) {
67156
67158
  e14 = function(e15) {
67157
- if (e15 && null != e15.annexB && false !== e15.annexB)
67159
+ if (null == e15)
67160
+ return Object.assign({}, Lt2);
67161
+ if (null != e15.annexB && false !== e15.annexB)
67158
67162
  throw new Error("The `annexB` option can only be set to `false`.");
67159
67163
  let t12 = {};
67160
- for (let r11 of Object.keys(Wt2))
67161
- t12[r11] = e15 && null != e15[r11] ? e15[r11] : Wt2[r11];
67164
+ for (let n11 of Object.keys(Lt2)) {
67165
+ var r11;
67166
+ t12[n11] = null != (r11 = e15[n11]) ? r11 : Lt2[n11];
67167
+ }
67162
67168
  return t12;
67163
67169
  }(e14), super(e14, t11), this.options = e14, this.initializeScopes(), this.plugins = function(e15) {
67164
67170
  let t12 = /* @__PURE__ */ new Map();
@@ -67170,7 +67176,7 @@ var j5 = M5((e13) => {
67170
67176
  }(this.options.plugins), this.filename = e14.sourceFilename;
67171
67177
  }
67172
67178
  getScopeHandler() {
67173
- return Ne2;
67179
+ return Se2;
67174
67180
  }
67175
67181
  parse() {
67176
67182
  this.enterInitialScopes();
@@ -67178,44 +67184,44 @@ var j5 = M5((e13) => {
67178
67184
  return this.nextToken(), e14.errors = null, this.parseTopLevel(e14, t11), e14.errors = this.state.errors, e14;
67179
67185
  }
67180
67186
  };
67181
- var er2 = function(e14) {
67187
+ var qt2 = function(e14) {
67182
67188
  let t11 = {};
67183
67189
  for (let r11 of Object.keys(e14))
67184
67190
  t11[r11] = Z10(e14[r11]);
67185
67191
  return t11;
67186
67192
  }(q10);
67187
- function tr2(e14, t11) {
67188
- let r11 = Zt2;
67193
+ function Kt2(e14, t11) {
67194
+ let r11 = Vt2;
67189
67195
  return null != e14 && e14.plugins && (function(e15) {
67190
- if (Rt2(e15, "decorators")) {
67191
- if (Rt2(e15, "decorators-legacy"))
67196
+ if (wt2(e15, "decorators")) {
67197
+ if (wt2(e15, "decorators-legacy"))
67192
67198
  throw new Error("Cannot use the decorators and decorators-legacy plugin together");
67193
- let t12 = Ut2(e15, "decorators", "decoratorsBeforeExport");
67199
+ let t12 = kt2(e15, "decorators", "decoratorsBeforeExport");
67194
67200
  if (null != t12 && "boolean" != typeof t12)
67195
67201
  throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");
67196
- let r12 = Ut2(e15, "decorators", "allowCallParenthesized");
67202
+ let r12 = kt2(e15, "decorators", "allowCallParenthesized");
67197
67203
  if (null != r12 && "boolean" != typeof r12)
67198
67204
  throw new Error("'allowCallParenthesized' must be a boolean.");
67199
67205
  }
67200
- if (Rt2(e15, "flow") && Rt2(e15, "typescript"))
67206
+ if (wt2(e15, "flow") && wt2(e15, "typescript"))
67201
67207
  throw new Error("Cannot combine flow and typescript plugins.");
67202
- if (Rt2(e15, "placeholders") && Rt2(e15, "v8intrinsic"))
67208
+ if (wt2(e15, "placeholders") && wt2(e15, "v8intrinsic"))
67203
67209
  throw new Error("Cannot combine placeholders and v8intrinsic plugins.");
67204
- if (Rt2(e15, "pipelineOperator")) {
67205
- let t12 = Ut2(e15, "pipelineOperator", "proposal");
67206
- if (!$t2.includes(t12)) {
67207
- let e16 = $t2.map((e17) => `"${e17}"`).join(", ");
67210
+ if (wt2(e15, "pipelineOperator")) {
67211
+ let t12 = kt2(e15, "pipelineOperator", "proposal");
67212
+ if (!It2.includes(t12)) {
67213
+ let e16 = It2.map((e17) => `"${e17}"`).join(", ");
67208
67214
  throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e16}.`);
67209
67215
  }
67210
- let r12 = Rt2(e15, ["recordAndTuple", { syntaxType: "hash" }]);
67216
+ let r12 = wt2(e15, ["recordAndTuple", { syntaxType: "hash" }]);
67211
67217
  if ("hack" === t12) {
67212
- if (Rt2(e15, "placeholders"))
67218
+ if (wt2(e15, "placeholders"))
67213
67219
  throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");
67214
- if (Rt2(e15, "v8intrinsic"))
67220
+ if (wt2(e15, "v8intrinsic"))
67215
67221
  throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");
67216
- let t13 = Ut2(e15, "pipelineOperator", "topicToken");
67217
- if (!Vt2.includes(t13)) {
67218
- let e16 = Vt2.map((e17) => `"${e17}"`).join(", ");
67222
+ let t13 = kt2(e15, "pipelineOperator", "topicToken");
67223
+ if (!Nt2.includes(t13)) {
67224
+ let e16 = Nt2.map((e17) => `"${e17}"`).join(", ");
67219
67225
  throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e16}.`);
67220
67226
  }
67221
67227
  if ("#" === t13 && r12)
@@ -67223,45 +67229,45 @@ var j5 = M5((e13) => {
67223
67229
  } else if ("smart" === t12 && r12)
67224
67230
  throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.');
67225
67231
  }
67226
- if (Rt2(e15, "moduleAttributes")) {
67227
- if (Rt2(e15, "importAssertions") || Rt2(e15, "importAttributes"))
67232
+ if (wt2(e15, "moduleAttributes")) {
67233
+ if (wt2(e15, "importAssertions") || wt2(e15, "importAttributes"))
67228
67234
  throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");
67229
- if ("may-2020" !== Ut2(e15, "moduleAttributes", "version"))
67235
+ if ("may-2020" !== kt2(e15, "moduleAttributes", "version"))
67230
67236
  throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.");
67231
67237
  }
67232
- if (Rt2(e15, "importAssertions") && Rt2(e15, "importAttributes"))
67238
+ if (wt2(e15, "importAssertions") && wt2(e15, "importAttributes"))
67233
67239
  throw new Error("Cannot combine importAssertions and importAttributes plugins.");
67234
- if (Rt2(e15, "recordAndTuple") && null != Ut2(e15, "recordAndTuple", "syntaxType") && !qt2.includes(Ut2(e15, "recordAndTuple", "syntaxType")))
67235
- throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: " + qt2.map((e16) => `'${e16}'`).join(", "));
67236
- if (Rt2(e15, "asyncDoExpressions") && !Rt2(e15, "doExpressions")) {
67240
+ if (wt2(e15, "recordAndTuple") && null != kt2(e15, "recordAndTuple", "syntaxType") && !Ft2.includes(kt2(e15, "recordAndTuple", "syntaxType")))
67241
+ throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: " + Ft2.map((e16) => `'${e16}'`).join(", "));
67242
+ if (wt2(e15, "asyncDoExpressions") && !wt2(e15, "doExpressions")) {
67237
67243
  let e16 = new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");
67238
67244
  throw e16.missingPlugins = "doExpressions", e16;
67239
67245
  }
67240
67246
  }(e14.plugins), r11 = function(e15) {
67241
- let t12 = Jt2.filter((t13) => Rt2(e15, t13)), r12 = t12.join("/"), n11 = rr2[r12];
67247
+ let t12 = Ot2.filter((t13) => wt2(e15, t13)), r12 = t12.join("/"), n11 = Jt2[r12];
67242
67248
  if (!n11) {
67243
- n11 = Zt2;
67249
+ n11 = Vt2;
67244
67250
  for (let e16 of t12)
67245
- n11 = Kt2[e16](n11);
67246
- rr2[r12] = n11;
67251
+ n11 = _t2[e16](n11);
67252
+ Jt2[r12] = n11;
67247
67253
  }
67248
67254
  return n11;
67249
67255
  }(e14.plugins)), new r11(e14, t11);
67250
67256
  }
67251
- var rr2 = {};
67257
+ var Jt2 = {};
67252
67258
  e13.parse = function(e14, t11) {
67253
67259
  var r11;
67254
67260
  if ("unambiguous" !== (null == (r11 = t11) ? void 0 : r11.sourceType))
67255
- return tr2(t11, e14).parse();
67261
+ return Kt2(t11, e14).parse();
67256
67262
  t11 = Object.assign({}, t11);
67257
67263
  try {
67258
67264
  t11.sourceType = "module";
67259
- let r12 = tr2(t11, e14), n11 = r12.parse();
67265
+ let r12 = Kt2(t11, e14), n11 = r12.parse();
67260
67266
  if (r12.sawUnambiguousESM)
67261
67267
  return n11;
67262
67268
  if (r12.ambiguousScriptDifferentAst)
67263
67269
  try {
67264
- return t11.sourceType = "script", tr2(t11, e14).parse();
67270
+ return t11.sourceType = "script", Kt2(t11, e14).parse();
67265
67271
  } catch {
67266
67272
  }
67267
67273
  else
@@ -67269,15 +67275,15 @@ var j5 = M5((e13) => {
67269
67275
  return n11;
67270
67276
  } catch (r12) {
67271
67277
  try {
67272
- return t11.sourceType = "script", tr2(t11, e14).parse();
67278
+ return t11.sourceType = "script", Kt2(t11, e14).parse();
67273
67279
  } catch {
67274
67280
  }
67275
67281
  throw r12;
67276
67282
  }
67277
67283
  }, e13.parseExpression = function(e14, t11) {
67278
- let r11 = tr2(t11, e14);
67284
+ let r11 = Kt2(t11, e14);
67279
67285
  return r11.options.strictMode && (r11.state.strict = true), r11.getExpression();
67280
- }, e13.tokTypes = er2;
67286
+ }, e13.tokTypes = qt2;
67281
67287
  });
67282
67288
  var R5 = M5((e13) => {
67283
67289
  Object.defineProperty(e13, "__esModule", { value: true }), e13.extract = function(e14) {
@@ -69806,7 +69812,7 @@ function $te(e13, t10, r10, n10, i10, s10) {
69806
69812
  return false;
69807
69813
  let s12 = i12, a11 = [];
69808
69814
  for (; ; )
69809
- if ("UnaryExpression" === s12.type)
69815
+ if ("UnaryExpression" === s12.type || "AwaitExpression" === s12.type || "YieldExpression" === s12.type && null !== s12.argument)
69810
69816
  s12 = s12.argument, a11.push("argument");
69811
69817
  else {
69812
69818
  if ("TSNonNullExpression" !== s12.type)
@@ -70631,9 +70637,8 @@ function pne(e13, t10, r10) {
70631
70637
  }
70632
70638
  return n10.default && s10.push(" = ", r10("default")), A6(s10);
70633
70639
  }
70634
- var dne = () => {
70635
- };
70636
- dne.ok = dne, dne.strictEqual = dne;
70640
+ var dne = new Proxy(() => {
70641
+ }, { get: () => dne });
70637
70642
  var hne = dne;
70638
70643
  var fne = /* @__PURE__ */ new WeakMap();
70639
70644
  function mne(e13, t10, r10) {