create-cloudflare 0.0.0-998902238 → 0.0.0-998d23099

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -95,20 +95,19 @@ var require_src = __commonJS({
95
95
  }
96
96
  });
97
97
 
98
- // ../../node_modules/.pnpm/picocolors@1.0.1/node_modules/picocolors/picocolors.js
98
+ // ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
99
99
  var require_picocolors = __commonJS({
100
- "../../node_modules/.pnpm/picocolors@1.0.1/node_modules/picocolors/picocolors.js"(exports2, module2) {
101
- var argv = process.argv || [];
102
- var env3 = process.env;
103
- var isColorSupported = !("NO_COLOR" in env3 || argv.includes("--no-color")) && ("FORCE_COLOR" in env3 || argv.includes("--color") || process.platform === "win32" || require != null && require("tty").isatty(1) && env3.TERM !== "dumb" || "CI" in env3);
100
+ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"(exports2, module2) {
101
+ var p2 = process || {};
102
+ var argv = p2.argv || [];
103
+ var env3 = p2.env || {};
104
+ var isColorSupported = !(!!env3.NO_COLOR || argv.includes("--no-color")) && (!!env3.FORCE_COLOR || argv.includes("--color") || p2.platform === "win32" || (p2.stdout || {}).isTTY && env3.TERM !== "dumb" || !!env3.CI);
104
105
  var formatter = (open2, close, replace = open2) => (input) => {
105
- let string = "" + input;
106
- let index = string.indexOf(close, open2.length);
106
+ let string = "" + input, index = string.indexOf(close, open2.length);
107
107
  return ~index ? open2 + replaceClose(string, close, replace, index) + close : open2 + string + close;
108
108
  };
109
109
  var replaceClose = (string, close, replace, index) => {
110
- let result = "";
111
- let cursor = 0;
110
+ let result = "", cursor = 0;
112
111
  do {
113
112
  result += string.substring(cursor, index) + replace;
114
113
  cursor = index + close.length;
@@ -117,34 +116,50 @@ var require_picocolors = __commonJS({
117
116
  return result + string.substring(cursor);
118
117
  };
119
118
  var createColors = (enabled = isColorSupported) => {
120
- let init = enabled ? formatter : () => String;
119
+ let f = enabled ? formatter : () => String;
121
120
  return {
122
121
  isColorSupported: enabled,
123
- reset: init("\x1B[0m", "\x1B[0m"),
124
- bold: init("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
125
- dim: init("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
126
- italic: init("\x1B[3m", "\x1B[23m"),
127
- underline: init("\x1B[4m", "\x1B[24m"),
128
- inverse: init("\x1B[7m", "\x1B[27m"),
129
- hidden: init("\x1B[8m", "\x1B[28m"),
130
- strikethrough: init("\x1B[9m", "\x1B[29m"),
131
- black: init("\x1B[30m", "\x1B[39m"),
132
- red: init("\x1B[31m", "\x1B[39m"),
133
- green: init("\x1B[32m", "\x1B[39m"),
134
- yellow: init("\x1B[33m", "\x1B[39m"),
135
- blue: init("\x1B[34m", "\x1B[39m"),
136
- magenta: init("\x1B[35m", "\x1B[39m"),
137
- cyan: init("\x1B[36m", "\x1B[39m"),
138
- white: init("\x1B[37m", "\x1B[39m"),
139
- gray: init("\x1B[90m", "\x1B[39m"),
140
- bgBlack: init("\x1B[40m", "\x1B[49m"),
141
- bgRed: init("\x1B[41m", "\x1B[49m"),
142
- bgGreen: init("\x1B[42m", "\x1B[49m"),
143
- bgYellow: init("\x1B[43m", "\x1B[49m"),
144
- bgBlue: init("\x1B[44m", "\x1B[49m"),
145
- bgMagenta: init("\x1B[45m", "\x1B[49m"),
146
- bgCyan: init("\x1B[46m", "\x1B[49m"),
147
- bgWhite: init("\x1B[47m", "\x1B[49m")
122
+ reset: f("\x1B[0m", "\x1B[0m"),
123
+ bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
124
+ dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
125
+ italic: f("\x1B[3m", "\x1B[23m"),
126
+ underline: f("\x1B[4m", "\x1B[24m"),
127
+ inverse: f("\x1B[7m", "\x1B[27m"),
128
+ hidden: f("\x1B[8m", "\x1B[28m"),
129
+ strikethrough: f("\x1B[9m", "\x1B[29m"),
130
+ black: f("\x1B[30m", "\x1B[39m"),
131
+ red: f("\x1B[31m", "\x1B[39m"),
132
+ green: f("\x1B[32m", "\x1B[39m"),
133
+ yellow: f("\x1B[33m", "\x1B[39m"),
134
+ blue: f("\x1B[34m", "\x1B[39m"),
135
+ magenta: f("\x1B[35m", "\x1B[39m"),
136
+ cyan: f("\x1B[36m", "\x1B[39m"),
137
+ white: f("\x1B[37m", "\x1B[39m"),
138
+ gray: f("\x1B[90m", "\x1B[39m"),
139
+ bgBlack: f("\x1B[40m", "\x1B[49m"),
140
+ bgRed: f("\x1B[41m", "\x1B[49m"),
141
+ bgGreen: f("\x1B[42m", "\x1B[49m"),
142
+ bgYellow: f("\x1B[43m", "\x1B[49m"),
143
+ bgBlue: f("\x1B[44m", "\x1B[49m"),
144
+ bgMagenta: f("\x1B[45m", "\x1B[49m"),
145
+ bgCyan: f("\x1B[46m", "\x1B[49m"),
146
+ bgWhite: f("\x1B[47m", "\x1B[49m"),
147
+ blackBright: f("\x1B[90m", "\x1B[39m"),
148
+ redBright: f("\x1B[91m", "\x1B[39m"),
149
+ greenBright: f("\x1B[92m", "\x1B[39m"),
150
+ yellowBright: f("\x1B[93m", "\x1B[39m"),
151
+ blueBright: f("\x1B[94m", "\x1B[39m"),
152
+ magentaBright: f("\x1B[95m", "\x1B[39m"),
153
+ cyanBright: f("\x1B[96m", "\x1B[39m"),
154
+ whiteBright: f("\x1B[97m", "\x1B[39m"),
155
+ bgBlackBright: f("\x1B[100m", "\x1B[49m"),
156
+ bgRedBright: f("\x1B[101m", "\x1B[49m"),
157
+ bgGreenBright: f("\x1B[102m", "\x1B[49m"),
158
+ bgYellowBright: f("\x1B[103m", "\x1B[49m"),
159
+ bgBlueBright: f("\x1B[104m", "\x1B[49m"),
160
+ bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
161
+ bgCyanBright: f("\x1B[106m", "\x1B[49m"),
162
+ bgWhiteBright: f("\x1B[107m", "\x1B[49m")
148
163
  };
149
164
  };
150
165
  module2.exports = createColors();
@@ -1000,9 +1015,9 @@ var require_mod_cjs3 = __commonJS({
1000
1015
  }
1001
1016
  });
1002
1017
 
1003
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js
1018
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js
1004
1019
  var require_constants = __commonJS({
1005
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js"(exports2, module2) {
1020
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"(exports2, module2) {
1006
1021
  var SEMVER_SPEC_VERSION = "2.0.0";
1007
1022
  var MAX_LENGTH = 256;
1008
1023
  var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
@@ -1031,18 +1046,18 @@ var require_constants = __commonJS({
1031
1046
  }
1032
1047
  });
1033
1048
 
1034
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/debug.js
1049
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js
1035
1050
  var require_debug = __commonJS({
1036
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/debug.js"(exports2, module2) {
1051
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"(exports2, module2) {
1037
1052
  var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
1038
1053
  };
1039
1054
  module2.exports = debug;
1040
1055
  }
1041
1056
  });
1042
1057
 
1043
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js
1058
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js
1044
1059
  var require_re = __commonJS({
1045
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js"(exports2, module2) {
1060
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"(exports2, module2) {
1046
1061
  var {
1047
1062
  MAX_SAFE_COMPONENT_LENGTH,
1048
1063
  MAX_SAFE_BUILD_LENGTH,
@@ -1098,8 +1113,11 @@ var require_re = __commonJS({
1098
1113
  createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
1099
1114
  createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
1100
1115
  createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
1101
- createToken("COERCE", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`);
1116
+ createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
1117
+ createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
1118
+ createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
1102
1119
  createToken("COERCERTL", src[t.COERCE], true);
1120
+ createToken("COERCERTLFULL", src[t.COERCEFULL], true);
1103
1121
  createToken("LONETILDE", "(?:~>?)");
1104
1122
  createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
1105
1123
  exports2.tildeTrimReplace = "$1~";
@@ -1122,9 +1140,9 @@ var require_re = __commonJS({
1122
1140
  }
1123
1141
  });
1124
1142
 
1125
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/parse-options.js
1143
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js
1126
1144
  var require_parse_options = __commonJS({
1127
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/parse-options.js"(exports2, module2) {
1145
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"(exports2, module2) {
1128
1146
  var looseOption = Object.freeze({ loose: true });
1129
1147
  var emptyOpts = Object.freeze({});
1130
1148
  var parseOptions = (options) => {
@@ -1140,9 +1158,9 @@ var require_parse_options = __commonJS({
1140
1158
  }
1141
1159
  });
1142
1160
 
1143
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/identifiers.js
1161
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js
1144
1162
  var require_identifiers = __commonJS({
1145
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/identifiers.js"(exports2, module2) {
1163
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js"(exports2, module2) {
1146
1164
  var numeric = /^[0-9]+$/;
1147
1165
  var compareIdentifiers = (a, b2) => {
1148
1166
  const anum = numeric.test(a);
@@ -1161,9 +1179,9 @@ var require_identifiers = __commonJS({
1161
1179
  }
1162
1180
  });
1163
1181
 
1164
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js
1182
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js
1165
1183
  var require_semver = __commonJS({
1166
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js"(exports2, module2) {
1184
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"(exports2, module2) {
1167
1185
  var debug = require_debug();
1168
1186
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
1169
1187
  var { safeRe: re, t } = require_re();
@@ -1289,7 +1307,7 @@ var require_semver = __commonJS({
1289
1307
  do {
1290
1308
  const a = this.build[i];
1291
1309
  const b2 = other.build[i];
1292
- debug("prerelease compare", i, a, b2);
1310
+ debug("build compare", i, a, b2);
1293
1311
  if (a === void 0 && b2 === void 0) {
1294
1312
  return 0;
1295
1313
  } else if (b2 === void 0) {
@@ -1403,9 +1421,9 @@ var require_semver = __commonJS({
1403
1421
  }
1404
1422
  });
1405
1423
 
1406
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js
1424
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js
1407
1425
  var require_parse = __commonJS({
1408
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js"(exports2, module2) {
1426
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"(exports2, module2) {
1409
1427
  var SemVer = require_semver();
1410
1428
  var parse4 = (version3, options, throwErrors = false) => {
1411
1429
  if (version3 instanceof SemVer) {
@@ -1424,9 +1442,9 @@ var require_parse = __commonJS({
1424
1442
  }
1425
1443
  });
1426
1444
 
1427
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/valid.js
1445
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js
1428
1446
  var require_valid = __commonJS({
1429
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/valid.js"(exports2, module2) {
1447
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js"(exports2, module2) {
1430
1448
  var parse4 = require_parse();
1431
1449
  var valid = (version3, options) => {
1432
1450
  const v2 = parse4(version3, options);
@@ -1436,9 +1454,9 @@ var require_valid = __commonJS({
1436
1454
  }
1437
1455
  });
1438
1456
 
1439
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/clean.js
1457
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js
1440
1458
  var require_clean = __commonJS({
1441
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/clean.js"(exports2, module2) {
1459
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js"(exports2, module2) {
1442
1460
  var parse4 = require_parse();
1443
1461
  var clean = (version3, options) => {
1444
1462
  const s = parse4(version3.trim().replace(/^[=v]+/, ""), options);
@@ -1448,9 +1466,9 @@ var require_clean = __commonJS({
1448
1466
  }
1449
1467
  });
1450
1468
 
1451
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/inc.js
1469
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js
1452
1470
  var require_inc = __commonJS({
1453
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/inc.js"(exports2, module2) {
1471
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js"(exports2, module2) {
1454
1472
  var SemVer = require_semver();
1455
1473
  var inc = (version3, release, options, identifier, identifierBase) => {
1456
1474
  if (typeof options === "string") {
@@ -1471,9 +1489,9 @@ var require_inc = __commonJS({
1471
1489
  }
1472
1490
  });
1473
1491
 
1474
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/diff.js
1492
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js
1475
1493
  var require_diff = __commonJS({
1476
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/diff.js"(exports2, module2) {
1494
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js"(exports2, module2) {
1477
1495
  var parse4 = require_parse();
1478
1496
  var diff = (version1, version22) => {
1479
1497
  const v1 = parse4(version1, null, true);
@@ -1515,36 +1533,36 @@ var require_diff = __commonJS({
1515
1533
  }
1516
1534
  });
1517
1535
 
1518
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/major.js
1536
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js
1519
1537
  var require_major = __commonJS({
1520
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/major.js"(exports2, module2) {
1538
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js"(exports2, module2) {
1521
1539
  var SemVer = require_semver();
1522
1540
  var major = (a, loose) => new SemVer(a, loose).major;
1523
1541
  module2.exports = major;
1524
1542
  }
1525
1543
  });
1526
1544
 
1527
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/minor.js
1545
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js
1528
1546
  var require_minor = __commonJS({
1529
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/minor.js"(exports2, module2) {
1547
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js"(exports2, module2) {
1530
1548
  var SemVer = require_semver();
1531
1549
  var minor = (a, loose) => new SemVer(a, loose).minor;
1532
1550
  module2.exports = minor;
1533
1551
  }
1534
1552
  });
1535
1553
 
1536
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/patch.js
1554
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js
1537
1555
  var require_patch = __commonJS({
1538
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/patch.js"(exports2, module2) {
1556
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js"(exports2, module2) {
1539
1557
  var SemVer = require_semver();
1540
1558
  var patch = (a, loose) => new SemVer(a, loose).patch;
1541
1559
  module2.exports = patch;
1542
1560
  }
1543
1561
  });
1544
1562
 
1545
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/prerelease.js
1563
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js
1546
1564
  var require_prerelease = __commonJS({
1547
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/prerelease.js"(exports2, module2) {
1565
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js"(exports2, module2) {
1548
1566
  var parse4 = require_parse();
1549
1567
  var prerelease = (version3, options) => {
1550
1568
  const parsed = parse4(version3, options);
@@ -1554,36 +1572,36 @@ var require_prerelease = __commonJS({
1554
1572
  }
1555
1573
  });
1556
1574
 
1557
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js
1575
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js
1558
1576
  var require_compare = __commonJS({
1559
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js"(exports2, module2) {
1577
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"(exports2, module2) {
1560
1578
  var SemVer = require_semver();
1561
1579
  var compare = (a, b2, loose) => new SemVer(a, loose).compare(new SemVer(b2, loose));
1562
1580
  module2.exports = compare;
1563
1581
  }
1564
1582
  });
1565
1583
 
1566
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rcompare.js
1584
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js
1567
1585
  var require_rcompare = __commonJS({
1568
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rcompare.js"(exports2, module2) {
1586
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js"(exports2, module2) {
1569
1587
  var compare = require_compare();
1570
1588
  var rcompare = (a, b2, loose) => compare(b2, a, loose);
1571
1589
  module2.exports = rcompare;
1572
1590
  }
1573
1591
  });
1574
1592
 
1575
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-loose.js
1593
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js
1576
1594
  var require_compare_loose = __commonJS({
1577
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-loose.js"(exports2, module2) {
1595
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js"(exports2, module2) {
1578
1596
  var compare = require_compare();
1579
1597
  var compareLoose = (a, b2) => compare(a, b2, true);
1580
1598
  module2.exports = compareLoose;
1581
1599
  }
1582
1600
  });
1583
1601
 
1584
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-build.js
1602
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js
1585
1603
  var require_compare_build = __commonJS({
1586
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-build.js"(exports2, module2) {
1604
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js"(exports2, module2) {
1587
1605
  var SemVer = require_semver();
1588
1606
  var compareBuild = (a, b2, loose) => {
1589
1607
  const versionA = new SemVer(a, loose);
@@ -1594,81 +1612,81 @@ var require_compare_build = __commonJS({
1594
1612
  }
1595
1613
  });
1596
1614
 
1597
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/sort.js
1615
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js
1598
1616
  var require_sort = __commonJS({
1599
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/sort.js"(exports2, module2) {
1617
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js"(exports2, module2) {
1600
1618
  var compareBuild = require_compare_build();
1601
1619
  var sort = (list, loose) => list.sort((a, b2) => compareBuild(a, b2, loose));
1602
1620
  module2.exports = sort;
1603
1621
  }
1604
1622
  });
1605
1623
 
1606
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rsort.js
1624
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js
1607
1625
  var require_rsort = __commonJS({
1608
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rsort.js"(exports2, module2) {
1626
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js"(exports2, module2) {
1609
1627
  var compareBuild = require_compare_build();
1610
1628
  var rsort = (list, loose) => list.sort((a, b2) => compareBuild(b2, a, loose));
1611
1629
  module2.exports = rsort;
1612
1630
  }
1613
1631
  });
1614
1632
 
1615
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gt.js
1633
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js
1616
1634
  var require_gt = __commonJS({
1617
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gt.js"(exports2, module2) {
1635
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"(exports2, module2) {
1618
1636
  var compare = require_compare();
1619
1637
  var gt = (a, b2, loose) => compare(a, b2, loose) > 0;
1620
1638
  module2.exports = gt;
1621
1639
  }
1622
1640
  });
1623
1641
 
1624
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lt.js
1642
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js
1625
1643
  var require_lt = __commonJS({
1626
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lt.js"(exports2, module2) {
1644
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"(exports2, module2) {
1627
1645
  var compare = require_compare();
1628
1646
  var lt = (a, b2, loose) => compare(a, b2, loose) < 0;
1629
1647
  module2.exports = lt;
1630
1648
  }
1631
1649
  });
1632
1650
 
1633
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/eq.js
1651
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js
1634
1652
  var require_eq = __commonJS({
1635
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/eq.js"(exports2, module2) {
1653
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"(exports2, module2) {
1636
1654
  var compare = require_compare();
1637
1655
  var eq = (a, b2, loose) => compare(a, b2, loose) === 0;
1638
1656
  module2.exports = eq;
1639
1657
  }
1640
1658
  });
1641
1659
 
1642
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/neq.js
1660
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js
1643
1661
  var require_neq = __commonJS({
1644
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/neq.js"(exports2, module2) {
1662
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"(exports2, module2) {
1645
1663
  var compare = require_compare();
1646
1664
  var neq = (a, b2, loose) => compare(a, b2, loose) !== 0;
1647
1665
  module2.exports = neq;
1648
1666
  }
1649
1667
  });
1650
1668
 
1651
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gte.js
1669
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js
1652
1670
  var require_gte = __commonJS({
1653
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gte.js"(exports2, module2) {
1671
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"(exports2, module2) {
1654
1672
  var compare = require_compare();
1655
1673
  var gte = (a, b2, loose) => compare(a, b2, loose) >= 0;
1656
1674
  module2.exports = gte;
1657
1675
  }
1658
1676
  });
1659
1677
 
1660
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lte.js
1678
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js
1661
1679
  var require_lte = __commonJS({
1662
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lte.js"(exports2, module2) {
1680
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"(exports2, module2) {
1663
1681
  var compare = require_compare();
1664
1682
  var lte = (a, b2, loose) => compare(a, b2, loose) <= 0;
1665
1683
  module2.exports = lte;
1666
1684
  }
1667
1685
  });
1668
1686
 
1669
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/cmp.js
1687
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js
1670
1688
  var require_cmp = __commonJS({
1671
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/cmp.js"(exports2, module2) {
1689
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"(exports2, module2) {
1672
1690
  var eq = require_eq();
1673
1691
  var neq = require_neq();
1674
1692
  var gt = require_gt();
@@ -1715,9 +1733,9 @@ var require_cmp = __commonJS({
1715
1733
  }
1716
1734
  });
1717
1735
 
1718
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/coerce.js
1736
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js
1719
1737
  var require_coerce = __commonJS({
1720
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/coerce.js"(exports2, module2) {
1738
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js"(exports2, module2) {
1721
1739
  var SemVer = require_semver();
1722
1740
  var parse4 = require_parse();
1723
1741
  var { safeRe: re, t } = require_re();
@@ -1734,682 +1752,73 @@ var require_coerce = __commonJS({
1734
1752
  options = options || {};
1735
1753
  let match = null;
1736
1754
  if (!options.rtl) {
1737
- match = version3.match(re[t.COERCE]);
1755
+ match = version3.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
1738
1756
  } else {
1757
+ const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
1739
1758
  let next;
1740
- while ((next = re[t.COERCERTL].exec(version3)) && (!match || match.index + match[0].length !== version3.length)) {
1759
+ while ((next = coerceRtlRegex.exec(version3)) && (!match || match.index + match[0].length !== version3.length)) {
1741
1760
  if (!match || next.index + next[0].length !== match.index + match[0].length) {
1742
1761
  match = next;
1743
1762
  }
1744
- re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;
1763
+ coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
1745
1764
  }
1746
- re[t.COERCERTL].lastIndex = -1;
1765
+ coerceRtlRegex.lastIndex = -1;
1747
1766
  }
1748
1767
  if (match === null) {
1749
1768
  return null;
1750
1769
  }
1751
- return parse4(`${match[2]}.${match[3] || "0"}.${match[4] || "0"}`, options);
1770
+ const major = match[2];
1771
+ const minor = match[3] || "0";
1772
+ const patch = match[4] || "0";
1773
+ const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
1774
+ const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
1775
+ return parse4(`${major}.${minor}.${patch}${prerelease}${build}`, options);
1752
1776
  };
1753
1777
  module2.exports = coerce;
1754
1778
  }
1755
1779
  });
1756
1780
 
1757
- // ../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js
1758
- var require_iterator = __commonJS({
1759
- "../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js"(exports2, module2) {
1760
- "use strict";
1761
- module2.exports = function(Yallist) {
1762
- Yallist.prototype[Symbol.iterator] = function* () {
1763
- for (let walker = this.head; walker; walker = walker.next) {
1764
- yield walker.value;
1765
- }
1766
- };
1767
- };
1768
- }
1769
- });
1770
-
1771
- // ../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js
1772
- var require_yallist = __commonJS({
1773
- "../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js"(exports2, module2) {
1774
- "use strict";
1775
- module2.exports = Yallist;
1776
- Yallist.Node = Node;
1777
- Yallist.create = Yallist;
1778
- function Yallist(list) {
1779
- var self2 = this;
1780
- if (!(self2 instanceof Yallist)) {
1781
- self2 = new Yallist();
1782
- }
1783
- self2.tail = null;
1784
- self2.head = null;
1785
- self2.length = 0;
1786
- if (list && typeof list.forEach === "function") {
1787
- list.forEach(function(item) {
1788
- self2.push(item);
1789
- });
1790
- } else if (arguments.length > 0) {
1791
- for (var i = 0, l2 = arguments.length; i < l2; i++) {
1792
- self2.push(arguments[i]);
1793
- }
1794
- }
1795
- return self2;
1796
- }
1797
- Yallist.prototype.removeNode = function(node) {
1798
- if (node.list !== this) {
1799
- throw new Error("removing node which does not belong to this list");
1800
- }
1801
- var next = node.next;
1802
- var prev = node.prev;
1803
- if (next) {
1804
- next.prev = prev;
1805
- }
1806
- if (prev) {
1807
- prev.next = next;
1808
- }
1809
- if (node === this.head) {
1810
- this.head = next;
1811
- }
1812
- if (node === this.tail) {
1813
- this.tail = prev;
1814
- }
1815
- node.list.length--;
1816
- node.next = null;
1817
- node.prev = null;
1818
- node.list = null;
1819
- return next;
1820
- };
1821
- Yallist.prototype.unshiftNode = function(node) {
1822
- if (node === this.head) {
1823
- return;
1824
- }
1825
- if (node.list) {
1826
- node.list.removeNode(node);
1827
- }
1828
- var head = this.head;
1829
- node.list = this;
1830
- node.next = head;
1831
- if (head) {
1832
- head.prev = node;
1833
- }
1834
- this.head = node;
1835
- if (!this.tail) {
1836
- this.tail = node;
1837
- }
1838
- this.length++;
1839
- };
1840
- Yallist.prototype.pushNode = function(node) {
1841
- if (node === this.tail) {
1842
- return;
1843
- }
1844
- if (node.list) {
1845
- node.list.removeNode(node);
1846
- }
1847
- var tail = this.tail;
1848
- node.list = this;
1849
- node.prev = tail;
1850
- if (tail) {
1851
- tail.next = node;
1852
- }
1853
- this.tail = node;
1854
- if (!this.head) {
1855
- this.head = node;
1856
- }
1857
- this.length++;
1858
- };
1859
- Yallist.prototype.push = function() {
1860
- for (var i = 0, l2 = arguments.length; i < l2; i++) {
1861
- push(this, arguments[i]);
1862
- }
1863
- return this.length;
1864
- };
1865
- Yallist.prototype.unshift = function() {
1866
- for (var i = 0, l2 = arguments.length; i < l2; i++) {
1867
- unshift(this, arguments[i]);
1868
- }
1869
- return this.length;
1870
- };
1871
- Yallist.prototype.pop = function() {
1872
- if (!this.tail) {
1873
- return void 0;
1874
- }
1875
- var res = this.tail.value;
1876
- this.tail = this.tail.prev;
1877
- if (this.tail) {
1878
- this.tail.next = null;
1879
- } else {
1880
- this.head = null;
1881
- }
1882
- this.length--;
1883
- return res;
1884
- };
1885
- Yallist.prototype.shift = function() {
1886
- if (!this.head) {
1887
- return void 0;
1888
- }
1889
- var res = this.head.value;
1890
- this.head = this.head.next;
1891
- if (this.head) {
1892
- this.head.prev = null;
1893
- } else {
1894
- this.tail = null;
1895
- }
1896
- this.length--;
1897
- return res;
1898
- };
1899
- Yallist.prototype.forEach = function(fn, thisp) {
1900
- thisp = thisp || this;
1901
- for (var walker = this.head, i = 0; walker !== null; i++) {
1902
- fn.call(thisp, walker.value, i, this);
1903
- walker = walker.next;
1904
- }
1905
- };
1906
- Yallist.prototype.forEachReverse = function(fn, thisp) {
1907
- thisp = thisp || this;
1908
- for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {
1909
- fn.call(thisp, walker.value, i, this);
1910
- walker = walker.prev;
1911
- }
1912
- };
1913
- Yallist.prototype.get = function(n2) {
1914
- for (var i = 0, walker = this.head; walker !== null && i < n2; i++) {
1915
- walker = walker.next;
1916
- }
1917
- if (i === n2 && walker !== null) {
1918
- return walker.value;
1919
- }
1920
- };
1921
- Yallist.prototype.getReverse = function(n2) {
1922
- for (var i = 0, walker = this.tail; walker !== null && i < n2; i++) {
1923
- walker = walker.prev;
1924
- }
1925
- if (i === n2 && walker !== null) {
1926
- return walker.value;
1927
- }
1928
- };
1929
- Yallist.prototype.map = function(fn, thisp) {
1930
- thisp = thisp || this;
1931
- var res = new Yallist();
1932
- for (var walker = this.head; walker !== null; ) {
1933
- res.push(fn.call(thisp, walker.value, this));
1934
- walker = walker.next;
1935
- }
1936
- return res;
1937
- };
1938
- Yallist.prototype.mapReverse = function(fn, thisp) {
1939
- thisp = thisp || this;
1940
- var res = new Yallist();
1941
- for (var walker = this.tail; walker !== null; ) {
1942
- res.push(fn.call(thisp, walker.value, this));
1943
- walker = walker.prev;
1944
- }
1945
- return res;
1946
- };
1947
- Yallist.prototype.reduce = function(fn, initial) {
1948
- var acc;
1949
- var walker = this.head;
1950
- if (arguments.length > 1) {
1951
- acc = initial;
1952
- } else if (this.head) {
1953
- walker = this.head.next;
1954
- acc = this.head.value;
1955
- } else {
1956
- throw new TypeError("Reduce of empty list with no initial value");
1957
- }
1958
- for (var i = 0; walker !== null; i++) {
1959
- acc = fn(acc, walker.value, i);
1960
- walker = walker.next;
1961
- }
1962
- return acc;
1963
- };
1964
- Yallist.prototype.reduceReverse = function(fn, initial) {
1965
- var acc;
1966
- var walker = this.tail;
1967
- if (arguments.length > 1) {
1968
- acc = initial;
1969
- } else if (this.tail) {
1970
- walker = this.tail.prev;
1971
- acc = this.tail.value;
1972
- } else {
1973
- throw new TypeError("Reduce of empty list with no initial value");
1974
- }
1975
- for (var i = this.length - 1; walker !== null; i--) {
1976
- acc = fn(acc, walker.value, i);
1977
- walker = walker.prev;
1978
- }
1979
- return acc;
1980
- };
1981
- Yallist.prototype.toArray = function() {
1982
- var arr = new Array(this.length);
1983
- for (var i = 0, walker = this.head; walker !== null; i++) {
1984
- arr[i] = walker.value;
1985
- walker = walker.next;
1986
- }
1987
- return arr;
1988
- };
1989
- Yallist.prototype.toArrayReverse = function() {
1990
- var arr = new Array(this.length);
1991
- for (var i = 0, walker = this.tail; walker !== null; i++) {
1992
- arr[i] = walker.value;
1993
- walker = walker.prev;
1994
- }
1995
- return arr;
1996
- };
1997
- Yallist.prototype.slice = function(from, to) {
1998
- to = to || this.length;
1999
- if (to < 0) {
2000
- to += this.length;
2001
- }
2002
- from = from || 0;
2003
- if (from < 0) {
2004
- from += this.length;
2005
- }
2006
- var ret = new Yallist();
2007
- if (to < from || to < 0) {
2008
- return ret;
2009
- }
2010
- if (from < 0) {
2011
- from = 0;
2012
- }
2013
- if (to > this.length) {
2014
- to = this.length;
2015
- }
2016
- for (var i = 0, walker = this.head; walker !== null && i < from; i++) {
2017
- walker = walker.next;
2018
- }
2019
- for (; walker !== null && i < to; i++, walker = walker.next) {
2020
- ret.push(walker.value);
2021
- }
2022
- return ret;
2023
- };
2024
- Yallist.prototype.sliceReverse = function(from, to) {
2025
- to = to || this.length;
2026
- if (to < 0) {
2027
- to += this.length;
2028
- }
2029
- from = from || 0;
2030
- if (from < 0) {
2031
- from += this.length;
2032
- }
2033
- var ret = new Yallist();
2034
- if (to < from || to < 0) {
2035
- return ret;
2036
- }
2037
- if (from < 0) {
2038
- from = 0;
2039
- }
2040
- if (to > this.length) {
2041
- to = this.length;
2042
- }
2043
- for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {
2044
- walker = walker.prev;
2045
- }
2046
- for (; walker !== null && i > from; i--, walker = walker.prev) {
2047
- ret.push(walker.value);
2048
- }
2049
- return ret;
2050
- };
2051
- Yallist.prototype.splice = function(start, deleteCount, ...nodes) {
2052
- if (start > this.length) {
2053
- start = this.length - 1;
2054
- }
2055
- if (start < 0) {
2056
- start = this.length + start;
2057
- }
2058
- for (var i = 0, walker = this.head; walker !== null && i < start; i++) {
2059
- walker = walker.next;
2060
- }
2061
- var ret = [];
2062
- for (var i = 0; walker && i < deleteCount; i++) {
2063
- ret.push(walker.value);
2064
- walker = this.removeNode(walker);
2065
- }
2066
- if (walker === null) {
2067
- walker = this.tail;
2068
- }
2069
- if (walker !== this.head && walker !== this.tail) {
2070
- walker = walker.prev;
2071
- }
2072
- for (var i = 0; i < nodes.length; i++) {
2073
- walker = insert(this, walker, nodes[i]);
2074
- }
2075
- return ret;
2076
- };
2077
- Yallist.prototype.reverse = function() {
2078
- var head = this.head;
2079
- var tail = this.tail;
2080
- for (var walker = head; walker !== null; walker = walker.prev) {
2081
- var p2 = walker.prev;
2082
- walker.prev = walker.next;
2083
- walker.next = p2;
2084
- }
2085
- this.head = tail;
2086
- this.tail = head;
2087
- return this;
2088
- };
2089
- function insert(self2, node, value) {
2090
- var inserted = node === self2.head ? new Node(value, null, node, self2) : new Node(value, node, node.next, self2);
2091
- if (inserted.next === null) {
2092
- self2.tail = inserted;
2093
- }
2094
- if (inserted.prev === null) {
2095
- self2.head = inserted;
2096
- }
2097
- self2.length++;
2098
- return inserted;
2099
- }
2100
- function push(self2, item) {
2101
- self2.tail = new Node(item, self2.tail, null, self2);
2102
- if (!self2.head) {
2103
- self2.head = self2.tail;
2104
- }
2105
- self2.length++;
2106
- }
2107
- function unshift(self2, item) {
2108
- self2.head = new Node(item, null, self2.head, self2);
2109
- if (!self2.tail) {
2110
- self2.tail = self2.head;
2111
- }
2112
- self2.length++;
2113
- }
2114
- function Node(value, prev, next, list) {
2115
- if (!(this instanceof Node)) {
2116
- return new Node(value, prev, next, list);
2117
- }
2118
- this.list = list;
2119
- this.value = value;
2120
- if (prev) {
2121
- prev.next = this;
2122
- this.prev = prev;
2123
- } else {
2124
- this.prev = null;
2125
- }
2126
- if (next) {
2127
- next.prev = this;
2128
- this.next = next;
2129
- } else {
2130
- this.next = null;
2131
- }
2132
- }
2133
- try {
2134
- require_iterator()(Yallist);
2135
- } catch (er) {
2136
- }
2137
- }
2138
- });
2139
-
2140
- // ../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js
2141
- var require_lru_cache = __commonJS({
2142
- "../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js"(exports2, module2) {
2143
- "use strict";
2144
- var Yallist = require_yallist();
2145
- var MAX = Symbol("max");
2146
- var LENGTH = Symbol("length");
2147
- var LENGTH_CALCULATOR = Symbol("lengthCalculator");
2148
- var ALLOW_STALE = Symbol("allowStale");
2149
- var MAX_AGE = Symbol("maxAge");
2150
- var DISPOSE = Symbol("dispose");
2151
- var NO_DISPOSE_ON_SET = Symbol("noDisposeOnSet");
2152
- var LRU_LIST = Symbol("lruList");
2153
- var CACHE = Symbol("cache");
2154
- var UPDATE_AGE_ON_GET = Symbol("updateAgeOnGet");
2155
- var naiveLength = () => 1;
1781
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js
1782
+ var require_lrucache = __commonJS({
1783
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js"(exports2, module2) {
2156
1784
  var LRUCache = class {
2157
- constructor(options) {
2158
- if (typeof options === "number")
2159
- options = { max: options };
2160
- if (!options)
2161
- options = {};
2162
- if (options.max && (typeof options.max !== "number" || options.max < 0))
2163
- throw new TypeError("max must be a non-negative number");
2164
- const max = this[MAX] = options.max || Infinity;
2165
- const lc = options.length || naiveLength;
2166
- this[LENGTH_CALCULATOR] = typeof lc !== "function" ? naiveLength : lc;
2167
- this[ALLOW_STALE] = options.stale || false;
2168
- if (options.maxAge && typeof options.maxAge !== "number")
2169
- throw new TypeError("maxAge must be a number");
2170
- this[MAX_AGE] = options.maxAge || 0;
2171
- this[DISPOSE] = options.dispose;
2172
- this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;
2173
- this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;
2174
- this.reset();
2175
- }
2176
- // resize the cache when the max changes.
2177
- set max(mL) {
2178
- if (typeof mL !== "number" || mL < 0)
2179
- throw new TypeError("max must be a non-negative number");
2180
- this[MAX] = mL || Infinity;
2181
- trim(this);
2182
- }
2183
- get max() {
2184
- return this[MAX];
2185
- }
2186
- set allowStale(allowStale) {
2187
- this[ALLOW_STALE] = !!allowStale;
2188
- }
2189
- get allowStale() {
2190
- return this[ALLOW_STALE];
2191
- }
2192
- set maxAge(mA) {
2193
- if (typeof mA !== "number")
2194
- throw new TypeError("maxAge must be a non-negative number");
2195
- this[MAX_AGE] = mA;
2196
- trim(this);
2197
- }
2198
- get maxAge() {
2199
- return this[MAX_AGE];
2200
- }
2201
- // resize the cache when the lengthCalculator changes.
2202
- set lengthCalculator(lC) {
2203
- if (typeof lC !== "function")
2204
- lC = naiveLength;
2205
- if (lC !== this[LENGTH_CALCULATOR]) {
2206
- this[LENGTH_CALCULATOR] = lC;
2207
- this[LENGTH] = 0;
2208
- this[LRU_LIST].forEach((hit) => {
2209
- hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key);
2210
- this[LENGTH] += hit.length;
2211
- });
2212
- }
2213
- trim(this);
2214
- }
2215
- get lengthCalculator() {
2216
- return this[LENGTH_CALCULATOR];
2217
- }
2218
- get length() {
2219
- return this[LENGTH];
2220
- }
2221
- get itemCount() {
2222
- return this[LRU_LIST].length;
2223
- }
2224
- rforEach(fn, thisp) {
2225
- thisp = thisp || this;
2226
- for (let walker = this[LRU_LIST].tail; walker !== null; ) {
2227
- const prev = walker.prev;
2228
- forEachStep(this, fn, walker, thisp);
2229
- walker = prev;
2230
- }
2231
- }
2232
- forEach(fn, thisp) {
2233
- thisp = thisp || this;
2234
- for (let walker = this[LRU_LIST].head; walker !== null; ) {
2235
- const next = walker.next;
2236
- forEachStep(this, fn, walker, thisp);
2237
- walker = next;
2238
- }
2239
- }
2240
- keys() {
2241
- return this[LRU_LIST].toArray().map((k2) => k2.key);
2242
- }
2243
- values() {
2244
- return this[LRU_LIST].toArray().map((k2) => k2.value);
2245
- }
2246
- reset() {
2247
- if (this[DISPOSE] && this[LRU_LIST] && this[LRU_LIST].length) {
2248
- this[LRU_LIST].forEach((hit) => this[DISPOSE](hit.key, hit.value));
2249
- }
2250
- this[CACHE] = /* @__PURE__ */ new Map();
2251
- this[LRU_LIST] = new Yallist();
2252
- this[LENGTH] = 0;
2253
- }
2254
- dump() {
2255
- return this[LRU_LIST].map((hit) => isStale(this, hit) ? false : {
2256
- k: hit.key,
2257
- v: hit.value,
2258
- e: hit.now + (hit.maxAge || 0)
2259
- }).toArray().filter((h2) => h2);
2260
- }
2261
- dumpLru() {
2262
- return this[LRU_LIST];
2263
- }
2264
- set(key, value, maxAge) {
2265
- maxAge = maxAge || this[MAX_AGE];
2266
- if (maxAge && typeof maxAge !== "number")
2267
- throw new TypeError("maxAge must be a number");
2268
- const now = maxAge ? Date.now() : 0;
2269
- const len = this[LENGTH_CALCULATOR](value, key);
2270
- if (this[CACHE].has(key)) {
2271
- if (len > this[MAX]) {
2272
- del(this, this[CACHE].get(key));
2273
- return false;
2274
- }
2275
- const node = this[CACHE].get(key);
2276
- const item = node.value;
2277
- if (this[DISPOSE]) {
2278
- if (!this[NO_DISPOSE_ON_SET])
2279
- this[DISPOSE](key, item.value);
2280
- }
2281
- item.now = now;
2282
- item.maxAge = maxAge;
2283
- item.value = value;
2284
- this[LENGTH] += len - item.length;
2285
- item.length = len;
2286
- this.get(key);
2287
- trim(this);
2288
- return true;
2289
- }
2290
- const hit = new Entry(key, value, len, now, maxAge);
2291
- if (hit.length > this[MAX]) {
2292
- if (this[DISPOSE])
2293
- this[DISPOSE](key, value);
2294
- return false;
2295
- }
2296
- this[LENGTH] += hit.length;
2297
- this[LRU_LIST].unshift(hit);
2298
- this[CACHE].set(key, this[LRU_LIST].head);
2299
- trim(this);
2300
- return true;
2301
- }
2302
- has(key) {
2303
- if (!this[CACHE].has(key))
2304
- return false;
2305
- const hit = this[CACHE].get(key).value;
2306
- return !isStale(this, hit);
1785
+ constructor() {
1786
+ this.max = 1e3;
1787
+ this.map = /* @__PURE__ */ new Map();
2307
1788
  }
2308
1789
  get(key) {
2309
- return get(this, key, true);
2310
- }
2311
- peek(key) {
2312
- return get(this, key, false);
2313
- }
2314
- pop() {
2315
- const node = this[LRU_LIST].tail;
2316
- if (!node)
2317
- return null;
2318
- del(this, node);
2319
- return node.value;
2320
- }
2321
- del(key) {
2322
- del(this, this[CACHE].get(key));
2323
- }
2324
- load(arr) {
2325
- this.reset();
2326
- const now = Date.now();
2327
- for (let l2 = arr.length - 1; l2 >= 0; l2--) {
2328
- const hit = arr[l2];
2329
- const expiresAt = hit.e || 0;
2330
- if (expiresAt === 0)
2331
- this.set(hit.k, hit.v);
2332
- else {
2333
- const maxAge = expiresAt - now;
2334
- if (maxAge > 0) {
2335
- this.set(hit.k, hit.v, maxAge);
2336
- }
2337
- }
1790
+ const value = this.map.get(key);
1791
+ if (value === void 0) {
1792
+ return void 0;
1793
+ } else {
1794
+ this.map.delete(key);
1795
+ this.map.set(key, value);
1796
+ return value;
2338
1797
  }
2339
1798
  }
2340
- prune() {
2341
- this[CACHE].forEach((value, key) => get(this, key, false));
1799
+ delete(key) {
1800
+ return this.map.delete(key);
2342
1801
  }
2343
- };
2344
- var get = (self2, key, doUse) => {
2345
- const node = self2[CACHE].get(key);
2346
- if (node) {
2347
- const hit = node.value;
2348
- if (isStale(self2, hit)) {
2349
- del(self2, node);
2350
- if (!self2[ALLOW_STALE])
2351
- return void 0;
2352
- } else {
2353
- if (doUse) {
2354
- if (self2[UPDATE_AGE_ON_GET])
2355
- node.value.now = Date.now();
2356
- self2[LRU_LIST].unshiftNode(node);
1802
+ set(key, value) {
1803
+ const deleted = this.delete(key);
1804
+ if (!deleted && value !== void 0) {
1805
+ if (this.map.size >= this.max) {
1806
+ const firstKey = this.map.keys().next().value;
1807
+ this.delete(firstKey);
2357
1808
  }
1809
+ this.map.set(key, value);
2358
1810
  }
2359
- return hit.value;
2360
- }
2361
- };
2362
- var isStale = (self2, hit) => {
2363
- if (!hit || !hit.maxAge && !self2[MAX_AGE])
2364
- return false;
2365
- const diff = Date.now() - hit.now;
2366
- return hit.maxAge ? diff > hit.maxAge : self2[MAX_AGE] && diff > self2[MAX_AGE];
2367
- };
2368
- var trim = (self2) => {
2369
- if (self2[LENGTH] > self2[MAX]) {
2370
- for (let walker = self2[LRU_LIST].tail; self2[LENGTH] > self2[MAX] && walker !== null; ) {
2371
- const prev = walker.prev;
2372
- del(self2, walker);
2373
- walker = prev;
2374
- }
2375
- }
2376
- };
2377
- var del = (self2, node) => {
2378
- if (node) {
2379
- const hit = node.value;
2380
- if (self2[DISPOSE])
2381
- self2[DISPOSE](hit.key, hit.value);
2382
- self2[LENGTH] -= hit.length;
2383
- self2[CACHE].delete(hit.key);
2384
- self2[LRU_LIST].removeNode(node);
2385
- }
2386
- };
2387
- var Entry = class {
2388
- constructor(key, value, length, now, maxAge) {
2389
- this.key = key;
2390
- this.value = value;
2391
- this.length = length;
2392
- this.now = now;
2393
- this.maxAge = maxAge || 0;
2394
- }
2395
- };
2396
- var forEachStep = (self2, fn, node, thisp) => {
2397
- let hit = node.value;
2398
- if (isStale(self2, hit)) {
2399
- del(self2, node);
2400
- if (!self2[ALLOW_STALE])
2401
- hit = void 0;
1811
+ return this;
2402
1812
  }
2403
- if (hit)
2404
- fn.call(thisp, hit.value, hit.key, self2);
2405
1813
  };
2406
1814
  module2.exports = LRUCache;
2407
1815
  }
2408
1816
  });
2409
1817
 
2410
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js
1818
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js
2411
1819
  var require_range = __commonJS({
2412
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js"(exports2, module2) {
1820
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"(exports2, module2) {
1821
+ var SPACE_CHARACTERS = /\s+/g;
2413
1822
  var Range = class {
2414
1823
  constructor(range, options) {
2415
1824
  options = parseOptions(options);
@@ -2423,13 +1832,13 @@ var require_range = __commonJS({
2423
1832
  if (range instanceof Comparator) {
2424
1833
  this.raw = range.value;
2425
1834
  this.set = [[range]];
2426
- this.format();
1835
+ this.formatted = void 0;
2427
1836
  return this;
2428
1837
  }
2429
1838
  this.options = options;
2430
1839
  this.loose = !!options.loose;
2431
1840
  this.includePrerelease = !!options.includePrerelease;
2432
- this.raw = range.trim().split(/\s+/).join(" ");
1841
+ this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
2433
1842
  this.set = this.raw.split("||").map((r2) => this.parseRange(r2.trim())).filter((c2) => c2.length);
2434
1843
  if (!this.set.length) {
2435
1844
  throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
@@ -2448,10 +1857,27 @@ var require_range = __commonJS({
2448
1857
  }
2449
1858
  }
2450
1859
  }
2451
- this.format();
1860
+ this.formatted = void 0;
1861
+ }
1862
+ get range() {
1863
+ if (this.formatted === void 0) {
1864
+ this.formatted = "";
1865
+ for (let i = 0; i < this.set.length; i++) {
1866
+ if (i > 0) {
1867
+ this.formatted += "||";
1868
+ }
1869
+ const comps = this.set[i];
1870
+ for (let k2 = 0; k2 < comps.length; k2++) {
1871
+ if (k2 > 0) {
1872
+ this.formatted += " ";
1873
+ }
1874
+ this.formatted += comps[k2].toString().trim();
1875
+ }
1876
+ }
1877
+ }
1878
+ return this.formatted;
2452
1879
  }
2453
1880
  format() {
2454
- this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
2455
1881
  return this.range;
2456
1882
  }
2457
1883
  toString() {
@@ -2532,8 +1958,8 @@ var require_range = __commonJS({
2532
1958
  }
2533
1959
  };
2534
1960
  module2.exports = Range;
2535
- var LRU = require_lru_cache();
2536
- var cache = new LRU({ max: 1e3 });
1961
+ var LRU = require_lrucache();
1962
+ var cache = new LRU();
2537
1963
  var parseOptions = require_parse_options();
2538
1964
  var Comparator = require_comparator();
2539
1965
  var debug = require_debug();
@@ -2711,7 +2137,7 @@ var require_range = __commonJS({
2711
2137
  debug("replaceGTE0", comp, options);
2712
2138
  return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
2713
2139
  };
2714
- var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => {
2140
+ var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
2715
2141
  if (isX(fM)) {
2716
2142
  from = "";
2717
2143
  } else if (isX(fm)) {
@@ -2764,9 +2190,9 @@ var require_range = __commonJS({
2764
2190
  }
2765
2191
  });
2766
2192
 
2767
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/comparator.js
2193
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js
2768
2194
  var require_comparator = __commonJS({
2769
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/comparator.js"(exports2, module2) {
2195
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"(exports2, module2) {
2770
2196
  var ANY = Symbol("SemVer ANY");
2771
2197
  var Comparator = class {
2772
2198
  static get ANY() {
@@ -2876,9 +2302,9 @@ var require_comparator = __commonJS({
2876
2302
  }
2877
2303
  });
2878
2304
 
2879
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/satisfies.js
2305
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js
2880
2306
  var require_satisfies = __commonJS({
2881
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/satisfies.js"(exports2, module2) {
2307
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"(exports2, module2) {
2882
2308
  var Range = require_range();
2883
2309
  var satisfies = (version3, range, options) => {
2884
2310
  try {
@@ -2892,18 +2318,18 @@ var require_satisfies = __commonJS({
2892
2318
  }
2893
2319
  });
2894
2320
 
2895
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/to-comparators.js
2321
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js
2896
2322
  var require_to_comparators = __commonJS({
2897
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
2323
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
2898
2324
  var Range = require_range();
2899
2325
  var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c2) => c2.value).join(" ").trim().split(" "));
2900
2326
  module2.exports = toComparators;
2901
2327
  }
2902
2328
  });
2903
2329
 
2904
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/max-satisfying.js
2330
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js
2905
2331
  var require_max_satisfying = __commonJS({
2906
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
2332
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
2907
2333
  var SemVer = require_semver();
2908
2334
  var Range = require_range();
2909
2335
  var maxSatisfying = (versions, range, options) => {
@@ -2929,9 +2355,9 @@ var require_max_satisfying = __commonJS({
2929
2355
  }
2930
2356
  });
2931
2357
 
2932
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-satisfying.js
2358
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js
2933
2359
  var require_min_satisfying = __commonJS({
2934
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
2360
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
2935
2361
  var SemVer = require_semver();
2936
2362
  var Range = require_range();
2937
2363
  var minSatisfying = (versions, range, options) => {
@@ -2957,9 +2383,9 @@ var require_min_satisfying = __commonJS({
2957
2383
  }
2958
2384
  });
2959
2385
 
2960
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-version.js
2386
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js
2961
2387
  var require_min_version = __commonJS({
2962
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-version.js"(exports2, module2) {
2388
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js"(exports2, module2) {
2963
2389
  var SemVer = require_semver();
2964
2390
  var Range = require_range();
2965
2391
  var gt = require_gt();
@@ -3013,9 +2439,9 @@ var require_min_version = __commonJS({
3013
2439
  }
3014
2440
  });
3015
2441
 
3016
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/valid.js
2442
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js
3017
2443
  var require_valid2 = __commonJS({
3018
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/valid.js"(exports2, module2) {
2444
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js"(exports2, module2) {
3019
2445
  var Range = require_range();
3020
2446
  var validRange = (range, options) => {
3021
2447
  try {
@@ -3028,9 +2454,9 @@ var require_valid2 = __commonJS({
3028
2454
  }
3029
2455
  });
3030
2456
 
3031
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/outside.js
2457
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js
3032
2458
  var require_outside = __commonJS({
3033
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/outside.js"(exports2, module2) {
2459
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js"(exports2, module2) {
3034
2460
  var SemVer = require_semver();
3035
2461
  var Comparator = require_comparator();
3036
2462
  var { ANY } = Comparator;
@@ -3096,27 +2522,27 @@ var require_outside = __commonJS({
3096
2522
  }
3097
2523
  });
3098
2524
 
3099
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/gtr.js
2525
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js
3100
2526
  var require_gtr = __commonJS({
3101
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/gtr.js"(exports2, module2) {
2527
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js"(exports2, module2) {
3102
2528
  var outside = require_outside();
3103
2529
  var gtr = (version3, range, options) => outside(version3, range, ">", options);
3104
2530
  module2.exports = gtr;
3105
2531
  }
3106
2532
  });
3107
2533
 
3108
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/ltr.js
2534
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js
3109
2535
  var require_ltr = __commonJS({
3110
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/ltr.js"(exports2, module2) {
2536
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js"(exports2, module2) {
3111
2537
  var outside = require_outside();
3112
2538
  var ltr = (version3, range, options) => outside(version3, range, "<", options);
3113
2539
  module2.exports = ltr;
3114
2540
  }
3115
2541
  });
3116
2542
 
3117
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/intersects.js
2543
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js
3118
2544
  var require_intersects = __commonJS({
3119
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/intersects.js"(exports2, module2) {
2545
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js"(exports2, module2) {
3120
2546
  var Range = require_range();
3121
2547
  var intersects = (r1, r2, options) => {
3122
2548
  r1 = new Range(r1, options);
@@ -3127,9 +2553,9 @@ var require_intersects = __commonJS({
3127
2553
  }
3128
2554
  });
3129
2555
 
3130
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/simplify.js
2556
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js
3131
2557
  var require_simplify = __commonJS({
3132
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/simplify.js"(exports2, module2) {
2558
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js"(exports2, module2) {
3133
2559
  var satisfies = require_satisfies();
3134
2560
  var compare = require_compare();
3135
2561
  module2.exports = (versions, range, options) => {
@@ -3176,9 +2602,9 @@ var require_simplify = __commonJS({
3176
2602
  }
3177
2603
  });
3178
2604
 
3179
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/subset.js
2605
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js
3180
2606
  var require_subset = __commonJS({
3181
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/subset.js"(exports2, module2) {
2607
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js"(exports2, module2) {
3182
2608
  var Range = require_range();
3183
2609
  var Comparator = require_comparator();
3184
2610
  var { ANY } = Comparator;
@@ -3338,9 +2764,9 @@ var require_subset = __commonJS({
3338
2764
  }
3339
2765
  });
3340
2766
 
3341
- // ../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/index.js
2767
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js
3342
2768
  var require_semver2 = __commonJS({
3343
- "../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/index.js"(exports2, module2) {
2769
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js"(exports2, module2) {
3344
2770
  var internalRe = require_re();
3345
2771
  var constants = require_constants();
3346
2772
  var SemVer = require_semver();
@@ -34588,9 +34014,10 @@ var require_toml = __commonJS({
34588
34014
  }
34589
34015
  });
34590
34016
 
34591
- // ../../node_modules/.pnpm/tslib@2.5.3/node_modules/tslib/tslib.es6.mjs
34017
+ // ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
34592
34018
  var tslib_es6_exports = {};
34593
34019
  __export(tslib_es6_exports, {
34020
+ __addDisposableResource: () => __addDisposableResource,
34594
34021
  __assign: () => __assign,
34595
34022
  __asyncDelegator: () => __asyncDelegator,
34596
34023
  __asyncGenerator: () => __asyncGenerator,
@@ -34602,6 +34029,7 @@ __export(tslib_es6_exports, {
34602
34029
  __classPrivateFieldSet: () => __classPrivateFieldSet2,
34603
34030
  __createBinding: () => __createBinding,
34604
34031
  __decorate: () => __decorate,
34032
+ __disposeResources: () => __disposeResources,
34605
34033
  __esDecorate: () => __esDecorate,
34606
34034
  __exportStar: () => __exportStar,
34607
34035
  __extends: () => __extends,
@@ -34614,6 +34042,7 @@ __export(tslib_es6_exports, {
34614
34042
  __propKey: () => __propKey,
34615
34043
  __read: () => __read,
34616
34044
  __rest: () => __rest,
34045
+ __rewriteRelativeImportExtension: () => __rewriteRelativeImportExtension,
34617
34046
  __runInitializers: () => __runInitializers,
34618
34047
  __setFunctionName: () => __setFunctionName,
34619
34048
  __spread: () => __spread,
@@ -34753,8 +34182,8 @@ function __generator(thisArg, body) {
34753
34182
  if (t[0] & 1)
34754
34183
  throw t[1];
34755
34184
  return t[1];
34756
- }, trys: [], ops: [] }, f, y2, t, g2;
34757
- return g2 = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g2[Symbol.iterator] = function() {
34185
+ }, trys: [], ops: [] }, f, y2, t, g2 = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
34186
+ return g2.next = verb(0), g2["throw"] = verb(1), g2["return"] = verb(2), typeof Symbol === "function" && (g2[Symbol.iterator] = function() {
34758
34187
  return this;
34759
34188
  }), g2;
34760
34189
  function verb(n2) {
@@ -34895,16 +34324,24 @@ function __asyncGenerator(thisArg, _arguments, generator) {
34895
34324
  if (!Symbol.asyncIterator)
34896
34325
  throw new TypeError("Symbol.asyncIterator is not defined.");
34897
34326
  var g2 = generator.apply(thisArg, _arguments || []), i, q2 = [];
34898
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
34327
+ return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function() {
34899
34328
  return this;
34900
34329
  }, i;
34901
- function verb(n2) {
34902
- if (g2[n2])
34330
+ function awaitReturn(f) {
34331
+ return function(v2) {
34332
+ return Promise.resolve(v2).then(f, reject);
34333
+ };
34334
+ }
34335
+ function verb(n2, f) {
34336
+ if (g2[n2]) {
34903
34337
  i[n2] = function(v2) {
34904
34338
  return new Promise(function(a, b2) {
34905
34339
  q2.push([n2, v2, a, b2]) > 1 || resume(n2, v2);
34906
34340
  });
34907
34341
  };
34342
+ if (f)
34343
+ i[n2] = f(i[n2]);
34344
+ }
34908
34345
  }
34909
34346
  function resume(n2, v2) {
34910
34347
  try {
@@ -34973,9 +34410,9 @@ function __importStar(mod) {
34973
34410
  return mod;
34974
34411
  var result = {};
34975
34412
  if (mod != null) {
34976
- for (var k2 in mod)
34977
- if (k2 !== "default" && Object.prototype.hasOwnProperty.call(mod, k2))
34978
- __createBinding(result, mod, k2);
34413
+ for (var k2 = ownKeys(mod), i = 0; i < k2.length; i++)
34414
+ if (k2[i] !== "default")
34415
+ __createBinding(result, mod, k2[i]);
34979
34416
  }
34980
34417
  __setModuleDefault(result, mod);
34981
34418
  return result;
@@ -35004,9 +34441,81 @@ function __classPrivateFieldIn(state, receiver) {
35004
34441
  throw new TypeError("Cannot use 'in' operator on non-object");
35005
34442
  return typeof state === "function" ? receiver === state : state.has(receiver);
35006
34443
  }
35007
- var extendStatics, __assign, __createBinding, __setModuleDefault, tslib_es6_default;
34444
+ function __addDisposableResource(env3, value, async) {
34445
+ if (value !== null && value !== void 0) {
34446
+ if (typeof value !== "object" && typeof value !== "function")
34447
+ throw new TypeError("Object expected.");
34448
+ var dispose, inner;
34449
+ if (async) {
34450
+ if (!Symbol.asyncDispose)
34451
+ throw new TypeError("Symbol.asyncDispose is not defined.");
34452
+ dispose = value[Symbol.asyncDispose];
34453
+ }
34454
+ if (dispose === void 0) {
34455
+ if (!Symbol.dispose)
34456
+ throw new TypeError("Symbol.dispose is not defined.");
34457
+ dispose = value[Symbol.dispose];
34458
+ if (async)
34459
+ inner = dispose;
34460
+ }
34461
+ if (typeof dispose !== "function")
34462
+ throw new TypeError("Object not disposable.");
34463
+ if (inner)
34464
+ dispose = function() {
34465
+ try {
34466
+ inner.call(this);
34467
+ } catch (e) {
34468
+ return Promise.reject(e);
34469
+ }
34470
+ };
34471
+ env3.stack.push({ value, dispose, async });
34472
+ } else if (async) {
34473
+ env3.stack.push({ async: true });
34474
+ }
34475
+ return value;
34476
+ }
34477
+ function __disposeResources(env3) {
34478
+ function fail(e) {
34479
+ env3.error = env3.hasError ? new _SuppressedError(e, env3.error, "An error was suppressed during disposal.") : e;
34480
+ env3.hasError = true;
34481
+ }
34482
+ var r2, s = 0;
34483
+ function next() {
34484
+ while (r2 = env3.stack.pop()) {
34485
+ try {
34486
+ if (!r2.async && s === 1)
34487
+ return s = 0, env3.stack.push(r2), Promise.resolve().then(next);
34488
+ if (r2.dispose) {
34489
+ var result = r2.dispose.call(r2.value);
34490
+ if (r2.async)
34491
+ return s |= 2, Promise.resolve(result).then(next, function(e) {
34492
+ fail(e);
34493
+ return next();
34494
+ });
34495
+ } else
34496
+ s |= 1;
34497
+ } catch (e) {
34498
+ fail(e);
34499
+ }
34500
+ }
34501
+ if (s === 1)
34502
+ return env3.hasError ? Promise.reject(env3.error) : Promise.resolve();
34503
+ if (env3.hasError)
34504
+ throw env3.error;
34505
+ }
34506
+ return next();
34507
+ }
34508
+ function __rewriteRelativeImportExtension(path6, preserveJsx) {
34509
+ if (typeof path6 === "string" && /^\.\.?\//.test(path6)) {
34510
+ return path6.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m2, tsx, d2, ext, cm) {
34511
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d2 && (!ext || !cm) ? m2 : d2 + ext + "." + cm.toLowerCase() + "js";
34512
+ });
34513
+ }
34514
+ return path6;
34515
+ }
34516
+ var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys, _SuppressedError, tslib_es6_default;
35008
34517
  var init_tslib_es6 = __esm({
35009
- "../../node_modules/.pnpm/tslib@2.5.3/node_modules/tslib/tslib.es6.mjs"() {
34518
+ "../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs"() {
35010
34519
  extendStatics = function(d2, b2) {
35011
34520
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b3) {
35012
34521
  d3.__proto__ = b3;
@@ -35049,12 +34558,30 @@ var init_tslib_es6 = __esm({
35049
34558
  } : function(o, v2) {
35050
34559
  o["default"] = v2;
35051
34560
  };
34561
+ ownKeys = function(o) {
34562
+ ownKeys = Object.getOwnPropertyNames || function(o2) {
34563
+ var ar = [];
34564
+ for (var k2 in o2)
34565
+ if (Object.prototype.hasOwnProperty.call(o2, k2))
34566
+ ar[ar.length] = k2;
34567
+ return ar;
34568
+ };
34569
+ return ownKeys(o);
34570
+ };
34571
+ _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function(error2, suppressed, message) {
34572
+ var e = new Error(message);
34573
+ return e.name = "SuppressedError", e.error = error2, e.suppressed = suppressed, e;
34574
+ };
35052
34575
  tslib_es6_default = {
35053
34576
  __extends,
35054
34577
  __assign,
35055
34578
  __rest,
35056
34579
  __decorate,
35057
34580
  __param,
34581
+ __esDecorate,
34582
+ __runInitializers,
34583
+ __propKey,
34584
+ __setFunctionName,
35058
34585
  __metadata,
35059
34586
  __awaiter,
35060
34587
  __generator,
@@ -35074,7 +34601,10 @@ var init_tslib_es6 = __esm({
35074
34601
  __importDefault,
35075
34602
  __classPrivateFieldGet: __classPrivateFieldGet2,
35076
34603
  __classPrivateFieldSet: __classPrivateFieldSet2,
35077
- __classPrivateFieldIn
34604
+ __classPrivateFieldIn,
34605
+ __addDisposableResource,
34606
+ __disposeResources,
34607
+ __rewriteRelativeImportExtension
35078
34608
  };
35079
34609
  }
35080
34610
  });
@@ -51014,9 +50544,9 @@ var require_babel_options = __commonJS({
51014
50544
  }
51015
50545
  });
51016
50546
 
51017
- // ../../node_modules/.pnpm/@babel+parser@7.25.3/node_modules/@babel/parser/lib/index.js
50547
+ // ../../node_modules/.pnpm/@babel+parser@7.26.3/node_modules/@babel/parser/lib/index.js
51018
50548
  var require_lib = __commonJS({
51019
- "../../node_modules/.pnpm/@babel+parser@7.25.3/node_modules/@babel/parser/lib/index.js"(exports2) {
50549
+ "../../node_modules/.pnpm/@babel+parser@7.26.3/node_modules/@babel/parser/lib/index.js"(exports2) {
51020
50550
  "use strict";
51021
50551
  Object.defineProperty(exports2, "__esModule", {
51022
50552
  value: true
@@ -51161,15 +50691,12 @@ var require_lib = __commonJS({
51161
50691
  }) => `Unsyntactic ${type === "BreakStatement" ? "break" : "continue"}.`,
51162
50692
  IllegalLanguageModeDirective: "Illegal 'use strict' directive in function with non-simple parameter list.",
51163
50693
  IllegalReturn: "'return' outside of function.",
51164
- ImportAttributesUseAssert: "The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",
50694
+ ImportAttributesUseAssert: "The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",
51165
50695
  ImportBindingIsString: ({
51166
50696
  importName
51167
50697
  }) => `A string literal cannot be used as an imported binding.
51168
50698
  - Did you mean \`import { "${importName}" as foo }\`?`,
51169
- ImportCallArgumentTrailingComma: "Trailing comma is disallowed inside import(...) arguments.",
51170
- ImportCallArity: ({
51171
- maxArgumentCount
51172
- }) => `\`import()\` requires exactly ${maxArgumentCount === 1 ? "one argument" : "one or two arguments"}.`,
50699
+ ImportCallArity: `\`import()\` requires exactly one or two arguments.`,
51173
50700
  ImportCallNotNewExpression: "Cannot use new with import(...).",
51174
50701
  ImportCallSpreadArgument: "`...` is not allowed in `import()`.",
51175
50702
  ImportJSONBindingNotDefault: "A JSON module can only be imported with `default`.",
@@ -51368,6 +50895,19 @@ var require_lib = __commonJS({
51368
50895
  syntaxPlugin
51369
50896
  }) {
51370
50897
  const hasMissingPlugin = reasonCode === "MissingPlugin" || reasonCode === "MissingOneOfPlugins";
50898
+ {
50899
+ const oldReasonCodes = {
50900
+ AccessorCannotDeclareThisParameter: "AccesorCannotDeclareThisParameter",
50901
+ AccessorCannotHaveTypeParameters: "AccesorCannotHaveTypeParameters",
50902
+ ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference: "ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",
50903
+ SetAccessorCannotHaveOptionalParameter: "SetAccesorCannotHaveOptionalParameter",
50904
+ SetAccessorCannotHaveRestParameter: "SetAccesorCannotHaveRestParameter",
50905
+ SetAccessorCannotHaveReturnType: "SetAccesorCannotHaveReturnType"
50906
+ };
50907
+ if (oldReasonCodes[reasonCode]) {
50908
+ reasonCode = oldReasonCodes[reasonCode];
50909
+ }
50910
+ }
51371
50911
  return function constructor(loc, details) {
51372
50912
  const error2 = new SyntaxError();
51373
50913
  error2.code = code2;
@@ -51683,13 +51223,11 @@ var require_lib = __commonJS({
51683
51223
  finishCallExpression(unfinished, optional) {
51684
51224
  const node = super.finishCallExpression(unfinished, optional);
51685
51225
  if (node.callee.type === "Import") {
51226
+ var _ref, _ref2;
51686
51227
  node.type = "ImportExpression";
51687
51228
  node.source = node.arguments[0];
51688
- if (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) {
51689
- var _ref, _ref2;
51690
- node.options = (_ref = node.arguments[1]) != null ? _ref : null;
51691
- node.attributes = (_ref2 = node.arguments[1]) != null ? _ref2 : null;
51692
- }
51229
+ node.options = (_ref = node.arguments[1]) != null ? _ref : null;
51230
+ node.attributes = (_ref2 = node.arguments[1]) != null ? _ref2 : null;
51693
51231
  delete node.arguments;
51694
51232
  delete node.callee;
51695
51233
  }
@@ -52231,6 +51769,9 @@ var require_lib = __commonJS({
52231
51769
  name: createToken("name", {
52232
51770
  startsExpr
52233
51771
  }),
51772
+ placeholder: createToken("%%", {
51773
+ startsExpr: true
51774
+ }),
52234
51775
  string: createToken("string", {
52235
51776
  startsExpr
52236
51777
  }),
@@ -52257,22 +51798,19 @@ var require_lib = __commonJS({
52257
51798
  jsxTagStart: createToken("jsxTagStart", {
52258
51799
  startsExpr: true
52259
51800
  }),
52260
- jsxTagEnd: createToken("jsxTagEnd"),
52261
- placeholder: createToken("%%", {
52262
- startsExpr: true
52263
- })
51801
+ jsxTagEnd: createToken("jsxTagEnd")
52264
51802
  };
52265
51803
  function tokenIsIdentifier(token) {
52266
- return token >= 93 && token <= 132;
51804
+ return token >= 93 && token <= 133;
52267
51805
  }
52268
51806
  function tokenKeywordOrIdentifierIsKeyword(token) {
52269
51807
  return token <= 92;
52270
51808
  }
52271
51809
  function tokenIsKeywordOrIdentifier(token) {
52272
- return token >= 58 && token <= 132;
51810
+ return token >= 58 && token <= 133;
52273
51811
  }
52274
51812
  function tokenIsLiteralPropertyName(token) {
52275
- return token >= 58 && token <= 136;
51813
+ return token >= 58 && token <= 137;
52276
51814
  }
52277
51815
  function tokenComesBeforeExpression(token) {
52278
51816
  return tokenBeforeExprs[token];
@@ -52336,17 +51874,17 @@ var require_lib = __commonJS({
52336
51874
  context.push(types12.template);
52337
51875
  }
52338
51876
  };
52339
- tokenTypes[142].updateContext = (context) => {
51877
+ tokenTypes[143].updateContext = (context) => {
52340
51878
  context.push(types12.j_expr, types12.j_oTag);
52341
51879
  };
52342
51880
  }
52343
- var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
52344
- var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
51881
+ var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
51882
+ var nonASCIIidentifierChars = "\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
52345
51883
  var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
52346
51884
  var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
52347
51885
  nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
52348
- var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
52349
- var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
51886
+ var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
51887
+ var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
52350
51888
  function isInAstralSet(code2, set) {
52351
51889
  let pos = 65536;
52352
51890
  for (let i = 0, length = set.length; i < length; i += 2) {
@@ -52617,6 +52155,12 @@ var require_lib = __commonJS({
52617
52155
  this.sawUnambiguousESM = false;
52618
52156
  this.ambiguousScriptDifferentAst = false;
52619
52157
  }
52158
+ sourceToOffsetPos(sourcePos) {
52159
+ return sourcePos + this.startIndex;
52160
+ }
52161
+ offsetToSourcePos(offsetPos) {
52162
+ return offsetPos - this.startIndex;
52163
+ }
52620
52164
  hasPlugin(pluginConfig) {
52621
52165
  if (typeof pluginConfig === "string") {
52622
52166
  return this.plugins.has(pluginConfig);
@@ -52732,7 +52276,7 @@ var require_lib = __commonJS({
52732
52276
  containingNode: node,
52733
52277
  start: commentStart
52734
52278
  } = commentWS;
52735
- if (this.input.charCodeAt(commentStart - 1) === 44) {
52279
+ if (this.input.charCodeAt(this.offsetToSourcePos(commentStart) - 1) === 44) {
52736
52280
  switch (node.type) {
52737
52281
  case "ObjectExpression":
52738
52282
  case "ObjectPattern":
@@ -52883,6 +52427,7 @@ var require_lib = __commonJS({
52883
52427
  var State = class {
52884
52428
  constructor() {
52885
52429
  this.flags = 1024;
52430
+ this.startIndex = void 0;
52886
52431
  this.curLine = void 0;
52887
52432
  this.lineStart = void 0;
52888
52433
  this.startLoc = void 0;
@@ -52899,7 +52444,7 @@ var require_lib = __commonJS({
52899
52444
  this.commentsLen = 0;
52900
52445
  this.commentStack = [];
52901
52446
  this.pos = 0;
52902
- this.type = 139;
52447
+ this.type = 140;
52903
52448
  this.value = null;
52904
52449
  this.start = 0;
52905
52450
  this.end = 0;
@@ -52922,13 +52467,15 @@ var require_lib = __commonJS({
52922
52467
  init({
52923
52468
  strictMode,
52924
52469
  sourceType,
52470
+ startIndex,
52925
52471
  startLine,
52926
52472
  startColumn
52927
52473
  }) {
52928
52474
  this.strict = strictMode === false ? false : strictMode === true ? true : sourceType === "module";
52475
+ this.startIndex = startIndex;
52929
52476
  this.curLine = startLine;
52930
52477
  this.lineStart = -startColumn;
52931
- this.startLoc = this.endLoc = new Position(startLine, startColumn, 0);
52478
+ this.startLoc = this.endLoc = new Position(startLine, startColumn, startIndex);
52932
52479
  }
52933
52480
  get maybeInArrowParameters() {
52934
52481
  return (this.flags & 2) > 0;
@@ -53039,11 +52586,12 @@ var require_lib = __commonJS({
53039
52586
  this.flags &= -4097;
53040
52587
  }
53041
52588
  curPosition() {
53042
- return new Position(this.curLine, this.pos - this.lineStart, this.pos);
52589
+ return new Position(this.curLine, this.pos - this.lineStart, this.pos + this.startIndex);
53043
52590
  }
53044
52591
  clone() {
53045
52592
  const state = new State();
53046
52593
  state.flags = this.flags;
52594
+ state.startIndex = this.startIndex;
53047
52595
  state.curLine = this.curLine;
53048
52596
  state.lineStart = this.lineStart;
53049
52597
  state.startLoc = this.startLoc;
@@ -53361,10 +52909,11 @@ var require_lib = __commonJS({
53361
52909
  var VALID_REGEX_FLAGS = /* @__PURE__ */ new Set([103, 109, 115, 105, 121, 117, 100, 118]);
53362
52910
  var Token = class {
53363
52911
  constructor(state) {
52912
+ const startIndex = state.startIndex || 0;
53364
52913
  this.type = state.type;
53365
52914
  this.value = state.value;
53366
- this.start = state.start;
53367
- this.end = state.end;
52915
+ this.start = startIndex + state.start;
52916
+ this.end = startIndex + state.end;
53368
52917
  this.loc = new SourceLocation(state.startLoc, state.endLoc);
53369
52918
  }
53370
52919
  };
@@ -53507,7 +53056,7 @@ var require_lib = __commonJS({
53507
53056
  if (!this.isLookahead)
53508
53057
  this.state.startLoc = this.state.curPosition();
53509
53058
  if (this.state.pos >= this.length) {
53510
- this.finishToken(139);
53059
+ this.finishToken(140);
53511
53060
  return;
53512
53061
  }
53513
53062
  this.getTokenFromCode(this.codePointAtPos(this.state.pos));
@@ -53532,8 +53081,8 @@ var require_lib = __commonJS({
53532
53081
  const comment = {
53533
53082
  type: "CommentBlock",
53534
53083
  value: this.input.slice(start + 2, end),
53535
- start,
53536
- end: end + commentEnd.length,
53084
+ start: this.sourceToOffsetPos(start),
53085
+ end: this.sourceToOffsetPos(end + commentEnd.length),
53537
53086
  loc: new SourceLocation(startLoc, this.state.curPosition())
53538
53087
  };
53539
53088
  if (this.options.tokens)
@@ -53558,8 +53107,8 @@ var require_lib = __commonJS({
53558
53107
  const comment = {
53559
53108
  type: "CommentLine",
53560
53109
  value,
53561
- start,
53562
- end,
53110
+ start: this.sourceToOffsetPos(start),
53111
+ end: this.sourceToOffsetPos(end),
53563
53112
  loc: new SourceLocation(startLoc, this.state.curPosition())
53564
53113
  };
53565
53114
  if (this.options.tokens)
@@ -53648,8 +53197,8 @@ var require_lib = __commonJS({
53648
53197
  if (comments.length > 0) {
53649
53198
  const end = this.state.pos;
53650
53199
  const commentWhitespace = {
53651
- start: spaceStart,
53652
- end,
53200
+ start: this.sourceToOffsetPos(spaceStart),
53201
+ end: this.sourceToOffsetPos(end),
53653
53202
  comments,
53654
53203
  leadingNode: null,
53655
53204
  trailingNode: null,
@@ -53694,10 +53243,10 @@ var require_lib = __commonJS({
53694
53243
  }
53695
53244
  } else if (isIdentifierStart(next)) {
53696
53245
  ++this.state.pos;
53697
- this.finishToken(138, this.readWord1(next));
53246
+ this.finishToken(139, this.readWord1(next));
53698
53247
  } else if (next === 92) {
53699
53248
  ++this.state.pos;
53700
- this.finishToken(138, this.readWord1());
53249
+ this.finishToken(139, this.readWord1());
53701
53250
  } else {
53702
53251
  this.finishOp(27, 1);
53703
53252
  }
@@ -54110,7 +53659,7 @@ var require_lib = __commonJS({
54110
53659
  mods += char;
54111
53660
  }
54112
53661
  this.state.pos = pos;
54113
- this.finishToken(137, {
53662
+ this.finishToken(138, {
54114
53663
  pattern: content,
54115
53664
  flags: mods
54116
53665
  });
@@ -54124,6 +53673,7 @@ var require_lib = __commonJS({
54124
53673
  return n2;
54125
53674
  }
54126
53675
  readRadixNumber(radix) {
53676
+ const start = this.state.pos;
54127
53677
  const startLoc = this.state.curPosition();
54128
53678
  let isBigInt = false;
54129
53679
  this.state.pos += 2;
@@ -54144,18 +53694,17 @@ var require_lib = __commonJS({
54144
53694
  throw this.raise(Errors.NumberIdentifier, this.state.curPosition());
54145
53695
  }
54146
53696
  if (isBigInt) {
54147
- const str = this.input.slice(startLoc.index, this.state.pos).replace(/[_n]/g, "");
54148
- this.finishToken(135, str);
53697
+ const str = this.input.slice(start, this.state.pos).replace(/[_n]/g, "");
53698
+ this.finishToken(136, str);
54149
53699
  return;
54150
53700
  }
54151
- this.finishToken(134, val);
53701
+ this.finishToken(135, val);
54152
53702
  }
54153
53703
  readNumber(startsWithDot) {
54154
53704
  const start = this.state.pos;
54155
53705
  const startLoc = this.state.curPosition();
54156
53706
  let isFloat2 = false;
54157
53707
  let isBigInt = false;
54158
- let isDecimal = false;
54159
53708
  let hasExponent = false;
54160
53709
  let isOctal = false;
54161
53710
  if (!startsWithDot && this.readInt(10) === null) {
@@ -54205,22 +53754,22 @@ var require_lib = __commonJS({
54205
53754
  this.raise(Errors.InvalidDecimal, startLoc);
54206
53755
  }
54207
53756
  ++this.state.pos;
54208
- isDecimal = true;
53757
+ var isDecimal = true;
54209
53758
  }
54210
53759
  if (isIdentifierStart(this.codePointAtPos(this.state.pos))) {
54211
53760
  throw this.raise(Errors.NumberIdentifier, this.state.curPosition());
54212
53761
  }
54213
53762
  const str = this.input.slice(start, this.state.pos).replace(/[_mn]/g, "");
54214
53763
  if (isBigInt) {
54215
- this.finishToken(135, str);
53764
+ this.finishToken(136, str);
54216
53765
  return;
54217
53766
  }
54218
53767
  if (isDecimal) {
54219
- this.finishToken(136, str);
53768
+ this.finishToken(137, str);
54220
53769
  return;
54221
53770
  }
54222
53771
  const val = isOctal ? parseInt(str, 8) : parseFloat(str);
54223
- this.finishToken(134, val);
53772
+ this.finishToken(135, val);
54224
53773
  }
54225
53774
  readCodePoint(throwOnInvalid) {
54226
53775
  const {
@@ -54240,7 +53789,7 @@ var require_lib = __commonJS({
54240
53789
  this.state.pos = pos + 1;
54241
53790
  this.state.lineStart = lineStart;
54242
53791
  this.state.curLine = curLine;
54243
- this.finishToken(133, str);
53792
+ this.finishToken(134, str);
54244
53793
  }
54245
53794
  readTemplateContinuation() {
54246
53795
  if (!this.match(8)) {
@@ -54262,7 +53811,7 @@ var require_lib = __commonJS({
54262
53811
  this.state.lineStart = lineStart;
54263
53812
  this.state.curLine = curLine;
54264
53813
  if (firstInvalidLoc) {
54265
- this.state.firstInvalidTemplateEscapePos = new Position(firstInvalidLoc.curLine, firstInvalidLoc.pos - firstInvalidLoc.lineStart, firstInvalidLoc.pos);
53814
+ this.state.firstInvalidTemplateEscapePos = new Position(firstInvalidLoc.curLine, firstInvalidLoc.pos - firstInvalidLoc.lineStart, this.sourceToOffsetPos(firstInvalidLoc.pos));
54266
53815
  }
54267
53816
  if (this.input.codePointAt(pos) === 96) {
54268
53817
  this.finishToken(24, firstInvalidLoc ? null : opening + str + "`");
@@ -54658,10 +54207,10 @@ var require_lib = __commonJS({
54658
54207
  }
54659
54208
  }
54660
54209
  canInsertSemicolon() {
54661
- return this.match(139) || this.match(8) || this.hasPrecedingLineBreak();
54210
+ return this.match(140) || this.match(8) || this.hasPrecedingLineBreak();
54662
54211
  }
54663
54212
  hasPrecedingLineBreak() {
54664
- return hasNewLine(this.input, this.state.lastTokEndLoc.index, this.state.start);
54213
+ return hasNewLine(this.input, this.offsetToSourcePos(this.state.lastTokEndLoc.index), this.state.start);
54665
54214
  }
54666
54215
  hasFollowingLineBreak() {
54667
54216
  return hasNewLine(this.input, this.state.end, this.nextTokenStart());
@@ -55070,11 +54619,8 @@ var require_lib = __commonJS({
55070
54619
  shouldParseTypes() {
55071
54620
  return this.getPluginOption("flow", "all") || this.flowPragma === "flow";
55072
54621
  }
55073
- shouldParseEnums() {
55074
- return !!this.getPluginOption("flow", "enums");
55075
- }
55076
54622
  finishToken(type, val) {
55077
- if (type !== 133 && type !== 13 && type !== 28) {
54623
+ if (type !== 134 && type !== 13 && type !== 28) {
55078
54624
  if (this.flowPragma === void 0) {
55079
54625
  this.flowPragma = null;
55080
54626
  }
@@ -55204,7 +54750,7 @@ var require_lib = __commonJS({
55204
54750
  }
55205
54751
  flowParseDeclareModule(node) {
55206
54752
  this.scope.enter(0);
55207
- if (this.match(133)) {
54753
+ if (this.match(134)) {
55208
54754
  node.id = super.parseExprAtom();
55209
54755
  } else {
55210
54756
  node.id = this.parseIdentifier();
@@ -55432,7 +54978,7 @@ var require_lib = __commonJS({
55432
54978
  const node = this.startNode();
55433
54979
  node.params = [];
55434
54980
  this.state.inType = true;
55435
- if (this.match(47) || this.match(142)) {
54981
+ if (this.match(47) || this.match(143)) {
55436
54982
  this.next();
55437
54983
  } else {
55438
54984
  this.unexpected();
@@ -55506,7 +55052,7 @@ var require_lib = __commonJS({
55506
55052
  return this.finishNode(node, "InterfaceTypeAnnotation");
55507
55053
  }
55508
55054
  flowParseObjectPropertyKey() {
55509
- return this.match(134) || this.match(133) ? super.parseExprAtom() : this.parseIdentifier(true);
55055
+ return this.match(135) || this.match(134) ? super.parseExprAtom() : this.parseIdentifier(true);
55510
55056
  }
55511
55057
  flowParseObjectTypeIndexer(node, isStatic, variance) {
55512
55058
  node.static = isStatic;
@@ -55950,7 +55496,7 @@ var require_lib = __commonJS({
55950
55496
  node2.typeParameters = null;
55951
55497
  return this.finishNode(node2, "FunctionTypeAnnotation");
55952
55498
  }
55953
- case 133:
55499
+ case 134:
55954
55500
  return this.parseLiteral(this.state.value, "StringLiteralTypeAnnotation");
55955
55501
  case 85:
55956
55502
  case 86:
@@ -55960,19 +55506,19 @@ var require_lib = __commonJS({
55960
55506
  case 53:
55961
55507
  if (this.state.value === "-") {
55962
55508
  this.next();
55963
- if (this.match(134)) {
55509
+ if (this.match(135)) {
55964
55510
  return this.parseLiteralAtNode(-this.state.value, "NumberLiteralTypeAnnotation", node);
55965
55511
  }
55966
- if (this.match(135)) {
55512
+ if (this.match(136)) {
55967
55513
  return this.parseLiteralAtNode(-this.state.value, "BigIntLiteralTypeAnnotation", node);
55968
55514
  }
55969
55515
  throw this.raise(FlowErrors.UnexpectedSubtractionOperand, this.state.startLoc);
55970
55516
  }
55971
55517
  this.unexpected();
55972
55518
  return;
55973
- case 134:
55974
- return this.parseLiteral(this.state.value, "NumberLiteralTypeAnnotation");
55975
55519
  case 135:
55520
+ return this.parseLiteral(this.state.value, "NumberLiteralTypeAnnotation");
55521
+ case 136:
55976
55522
  return this.parseLiteral(this.state.value, "BigIntLiteralTypeAnnotation");
55977
55523
  case 88:
55978
55524
  this.next();
@@ -56142,7 +55688,7 @@ var require_lib = __commonJS({
56142
55688
  this.next();
56143
55689
  return this.flowParseInterface(node);
56144
55690
  }
56145
- } else if (this.shouldParseEnums() && this.isContextual(126)) {
55691
+ } else if (this.isContextual(126)) {
56146
55692
  const node = this.startNode();
56147
55693
  this.next();
56148
55694
  return this.flowParseEnumDeclaration(node);
@@ -56175,7 +55721,7 @@ var require_lib = __commonJS({
56175
55721
  const {
56176
55722
  type
56177
55723
  } = this.state;
56178
- if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type === 126) {
55724
+ if (type === 126 || tokenIsFlowInterfaceOrTypeOrOpaque(type)) {
56179
55725
  return !this.state.containsEsc;
56180
55726
  }
56181
55727
  return super.shouldParseExportDeclaration();
@@ -56184,13 +55730,13 @@ var require_lib = __commonJS({
56184
55730
  const {
56185
55731
  type
56186
55732
  } = this.state;
56187
- if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type === 126) {
55733
+ if (type === 126 || tokenIsFlowInterfaceOrTypeOrOpaque(type)) {
56188
55734
  return this.state.containsEsc;
56189
55735
  }
56190
55736
  return super.isExportDefaultSpecifier();
56191
55737
  }
56192
55738
  parseExportDefaultExpression() {
56193
- if (this.shouldParseEnums() && this.isContextual(126)) {
55739
+ if (this.isContextual(126)) {
56194
55740
  const node = this.startNode();
56195
55741
  this.next();
56196
55742
  return this.flowParseEnumDeclaration(node);
@@ -56293,7 +55839,7 @@ var require_lib = __commonJS({
56293
55839
  }
56294
55840
  forwardNoArrowParamsConversionAt(node, parse5) {
56295
55841
  let result;
56296
- if (this.state.noArrowParamsConversionAt.includes(node.start)) {
55842
+ if (this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(node.start))) {
56297
55843
  this.state.noArrowParamsConversionAt.push(this.state.start);
56298
55844
  result = parse5();
56299
55845
  this.state.noArrowParamsConversionAt.pop();
@@ -56344,7 +55890,7 @@ var require_lib = __commonJS({
56344
55890
  const declarationNode = this.startNode();
56345
55891
  this.next();
56346
55892
  return this.flowParseInterface(declarationNode);
56347
- } else if (this.shouldParseEnums() && this.isContextual(126)) {
55893
+ } else if (this.isContextual(126)) {
56348
55894
  node.exportKind = "value";
56349
55895
  const declarationNode = this.startNode();
56350
55896
  this.next();
@@ -56577,7 +56123,7 @@ var require_lib = __commonJS({
56577
56123
  }
56578
56124
  return result;
56579
56125
  }
56580
- parseAssignableListItemTypes(param) {
56126
+ parseFunctionParamType(param) {
56581
56127
  if (this.eat(17)) {
56582
56128
  if (param.type !== "Identifier") {
56583
56129
  this.raise(FlowErrors.PatternIsOptional, param);
@@ -56731,7 +56277,7 @@ var require_lib = __commonJS({
56731
56277
  var _jsx;
56732
56278
  let state = null;
56733
56279
  let jsx2;
56734
- if (this.hasPlugin("jsx") && (this.match(142) || this.match(47))) {
56280
+ if (this.hasPlugin("jsx") && (this.match(143) || this.match(47))) {
56735
56281
  state = this.state.clone();
56736
56282
  jsx2 = this.tryParse(() => super.parseMaybeAssign(refExpressionErrors, afterLeftParse), state);
56737
56283
  if (!jsx2.error)
@@ -56817,14 +56363,14 @@ var require_lib = __commonJS({
56817
56363
  return this.match(14) || super.shouldParseArrow(params);
56818
56364
  }
56819
56365
  setArrowFunctionParameters(node, params) {
56820
- if (this.state.noArrowParamsConversionAt.includes(node.start)) {
56366
+ if (this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(node.start))) {
56821
56367
  node.params = params;
56822
56368
  } else {
56823
56369
  super.setArrowFunctionParameters(node, params);
56824
56370
  }
56825
56371
  }
56826
56372
  checkParams(node, allowDuplicates, isArrowFunction, strictModeChanged = true) {
56827
- if (isArrowFunction && this.state.noArrowParamsConversionAt.includes(node.start)) {
56373
+ if (isArrowFunction && this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(node.start))) {
56828
56374
  return;
56829
56375
  }
56830
56376
  for (let i = 0; i < node.params.length; i++) {
@@ -56835,14 +56381,14 @@ var require_lib = __commonJS({
56835
56381
  super.checkParams(node, allowDuplicates, isArrowFunction, strictModeChanged);
56836
56382
  }
56837
56383
  parseParenAndDistinguishExpression(canBeArrow) {
56838
- return super.parseParenAndDistinguishExpression(canBeArrow && !this.state.noArrowAt.includes(this.state.start));
56384
+ return super.parseParenAndDistinguishExpression(canBeArrow && !this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)));
56839
56385
  }
56840
56386
  parseSubscripts(base, startLoc, noCalls) {
56841
56387
  if (base.type === "Identifier" && base.name === "async" && this.state.noArrowAt.includes(startLoc.index)) {
56842
56388
  this.next();
56843
56389
  const node = this.startNodeAt(startLoc);
56844
56390
  node.callee = base;
56845
- node.arguments = super.parseCallExpressionArguments(11, false);
56391
+ node.arguments = super.parseCallExpressionArguments(11);
56846
56392
  base = this.finishNode(node, "CallExpression");
56847
56393
  } else if (base.type === "Identifier" && base.name === "async" && this.match(47)) {
56848
56394
  const state = this.state.clone();
@@ -56876,7 +56422,7 @@ var require_lib = __commonJS({
56876
56422
  node.callee = base;
56877
56423
  node.typeArguments = this.flowParseTypeParameterInstantiation();
56878
56424
  this.expect(10);
56879
- node.arguments = this.parseCallExpressionArguments(11, false);
56425
+ node.arguments = this.parseCallExpressionArguments(11);
56880
56426
  node.optional = true;
56881
56427
  return this.finishCallExpression(node, true);
56882
56428
  } else if (!noCalls && this.shouldParseTypes() && this.match(47)) {
@@ -56885,7 +56431,7 @@ var require_lib = __commonJS({
56885
56431
  const result = this.tryParse(() => {
56886
56432
  node.typeArguments = this.flowParseTypeParameterInstantiationCallOrNew();
56887
56433
  this.expect(10);
56888
- node.arguments = super.parseCallExpressionArguments(11, false);
56434
+ node.arguments = super.parseCallExpressionArguments(11);
56889
56435
  if (subscriptState.optionalChainMember) {
56890
56436
  node.optional = false;
56891
56437
  }
@@ -57003,7 +56549,7 @@ var require_lib = __commonJS({
57003
56549
  const startLoc = this.state.startLoc;
57004
56550
  const endOfInit = () => this.match(12) || this.match(8);
57005
56551
  switch (this.state.type) {
57006
- case 134: {
56552
+ case 135: {
57007
56553
  const literal = this.parseNumericLiteral(this.state.value);
57008
56554
  if (endOfInit()) {
57009
56555
  return {
@@ -57017,7 +56563,7 @@ var require_lib = __commonJS({
57017
56563
  loc: startLoc
57018
56564
  };
57019
56565
  }
57020
- case 133: {
56566
+ case 134: {
57021
56567
  const literal = this.parseStringLiteral(this.state.value);
57022
56568
  if (endOfInit()) {
57023
56569
  return {
@@ -57615,14 +57161,14 @@ var require_lib = __commonJS({
57615
57161
  if (this.state.pos === this.state.start) {
57616
57162
  if (ch === 60 && this.state.canStartJSXElement) {
57617
57163
  ++this.state.pos;
57618
- this.finishToken(142);
57164
+ this.finishToken(143);
57619
57165
  } else {
57620
57166
  super.getTokenFromCode(ch);
57621
57167
  }
57622
57168
  return;
57623
57169
  }
57624
57170
  out += this.input.slice(chunkStart, this.state.pos);
57625
- this.finishToken(141, out);
57171
+ this.finishToken(142, out);
57626
57172
  return;
57627
57173
  case 38:
57628
57174
  out += this.input.slice(chunkStart, this.state.pos);
@@ -57679,7 +57225,7 @@ var require_lib = __commonJS({
57679
57225
  }
57680
57226
  }
57681
57227
  out += this.input.slice(chunkStart, this.state.pos++);
57682
- this.finishToken(133, out);
57228
+ this.finishToken(134, out);
57683
57229
  }
57684
57230
  jsxReadEntity() {
57685
57231
  const startPos = ++this.state.pos;
@@ -57719,11 +57265,11 @@ var require_lib = __commonJS({
57719
57265
  do {
57720
57266
  ch = this.input.charCodeAt(++this.state.pos);
57721
57267
  } while (isIdentifierChar(ch) || ch === 45);
57722
- this.finishToken(140, this.input.slice(start, this.state.pos));
57268
+ this.finishToken(141, this.input.slice(start, this.state.pos));
57723
57269
  }
57724
57270
  jsxParseIdentifier() {
57725
57271
  const node = this.startNode();
57726
- if (this.match(140)) {
57272
+ if (this.match(141)) {
57727
57273
  node.name = this.state.value;
57728
57274
  } else if (tokenIsKeyword(this.state.type)) {
57729
57275
  node.name = tokenLabelName(this.state.type);
@@ -57769,8 +57315,8 @@ var require_lib = __commonJS({
57769
57315
  this.raise(JsxErrors.AttributeIsEmpty, node);
57770
57316
  }
57771
57317
  return node;
57772
- case 142:
57773
- case 133:
57318
+ case 143:
57319
+ case 134:
57774
57320
  return this.parseExprAtom();
57775
57321
  default:
57776
57322
  throw this.raise(JsxErrors.UnsupportedJsxValue, this.state.startLoc);
@@ -57818,7 +57364,7 @@ var require_lib = __commonJS({
57818
57364
  }
57819
57365
  jsxParseOpeningElementAt(startLoc) {
57820
57366
  const node = this.startNodeAt(startLoc);
57821
- if (this.eat(143)) {
57367
+ if (this.eat(144)) {
57822
57368
  return this.finishNode(node, "JSXOpeningFragment");
57823
57369
  }
57824
57370
  node.name = this.jsxParseElementName();
@@ -57826,21 +57372,21 @@ var require_lib = __commonJS({
57826
57372
  }
57827
57373
  jsxParseOpeningElementAfterName(node) {
57828
57374
  const attributes = [];
57829
- while (!this.match(56) && !this.match(143)) {
57375
+ while (!this.match(56) && !this.match(144)) {
57830
57376
  attributes.push(this.jsxParseAttribute());
57831
57377
  }
57832
57378
  node.attributes = attributes;
57833
57379
  node.selfClosing = this.eat(56);
57834
- this.expect(143);
57380
+ this.expect(144);
57835
57381
  return this.finishNode(node, "JSXOpeningElement");
57836
57382
  }
57837
57383
  jsxParseClosingElementAt(startLoc) {
57838
57384
  const node = this.startNodeAt(startLoc);
57839
- if (this.eat(143)) {
57385
+ if (this.eat(144)) {
57840
57386
  return this.finishNode(node, "JSXClosingFragment");
57841
57387
  }
57842
57388
  node.name = this.jsxParseElementName();
57843
- this.expect(143);
57389
+ this.expect(144);
57844
57390
  return this.finishNode(node, "JSXClosingElement");
57845
57391
  }
57846
57392
  jsxParseElementAt(startLoc) {
@@ -57852,7 +57398,7 @@ var require_lib = __commonJS({
57852
57398
  contents:
57853
57399
  for (; ; ) {
57854
57400
  switch (this.state.type) {
57855
- case 142:
57401
+ case 143:
57856
57402
  startLoc = this.state.startLoc;
57857
57403
  this.next();
57858
57404
  if (this.eat(56)) {
@@ -57861,7 +57407,7 @@ var require_lib = __commonJS({
57861
57407
  }
57862
57408
  children.push(this.jsxParseElementAt(startLoc));
57863
57409
  break;
57864
- case 141:
57410
+ case 142:
57865
57411
  children.push(this.parseLiteral(this.state.value, "JSXText"));
57866
57412
  break;
57867
57413
  case 5: {
@@ -57918,10 +57464,10 @@ var require_lib = __commonJS({
57918
57464
  context[context.length - 1] = newContext;
57919
57465
  }
57920
57466
  parseExprAtom(refExpressionErrors) {
57921
- if (this.match(142)) {
57467
+ if (this.match(143)) {
57922
57468
  return this.jsxParseElement();
57923
57469
  } else if (this.match(47) && this.input.charCodeAt(this.state.pos) !== 33) {
57924
- this.replaceToken(142);
57470
+ this.replaceToken(143);
57925
57471
  return this.jsxParseElement();
57926
57472
  } else {
57927
57473
  return super.parseExprAtom(refExpressionErrors);
@@ -57945,7 +57491,7 @@ var require_lib = __commonJS({
57945
57491
  }
57946
57492
  if (code2 === 62) {
57947
57493
  ++this.state.pos;
57948
- this.finishToken(143);
57494
+ this.finishToken(144);
57949
57495
  return;
57950
57496
  }
57951
57497
  if ((code2 === 34 || code2 === 39) && context === types12.j_oTag) {
@@ -57955,7 +57501,7 @@ var require_lib = __commonJS({
57955
57501
  }
57956
57502
  if (code2 === 60 && this.state.canStartJSXElement && this.input.charCodeAt(this.state.pos + 1) !== 33) {
57957
57503
  ++this.state.pos;
57958
- this.finishToken(142);
57504
+ this.finishToken(143);
57959
57505
  return;
57960
57506
  }
57961
57507
  super.getTokenFromCode(code2);
@@ -57965,12 +57511,12 @@ var require_lib = __commonJS({
57965
57511
  context,
57966
57512
  type
57967
57513
  } = this.state;
57968
- if (type === 56 && prevType === 142) {
57514
+ if (type === 56 && prevType === 143) {
57969
57515
  context.splice(-2, 2, types12.j_cTag);
57970
57516
  this.state.canStartJSXElement = false;
57971
- } else if (type === 142) {
57972
- context.push(types12.j_oTag);
57973
57517
  } else if (type === 143) {
57518
+ context.push(types12.j_oTag);
57519
+ } else if (type === 144) {
57974
57520
  const out = context[context.length - 1];
57975
57521
  if (out === types12.j_oTag && prevType === 56 || out === types12.j_cTag) {
57976
57522
  context.pop();
@@ -58290,7 +57836,11 @@ var require_lib = __commonJS({
58290
57836
  } else if (this.eat(close)) {
58291
57837
  break;
58292
57838
  } else if (this.match(21)) {
58293
- elts.push(this.parseAssignableListItemTypes(this.parseRestBinding(), flags));
57839
+ let rest = this.parseRestBinding();
57840
+ if (this.hasPlugin("flow") || flags & 2) {
57841
+ rest = this.parseFunctionParamType(rest);
57842
+ }
57843
+ elts.push(rest);
58294
57844
  if (!this.checkCommaAfterRest(closeCharCode)) {
58295
57845
  this.expect(close);
58296
57846
  break;
@@ -58323,7 +57873,7 @@ var require_lib = __commonJS({
58323
57873
  return this.parseBindingRestProperty(this.startNode());
58324
57874
  }
58325
57875
  const prop = this.startNode();
58326
- if (type === 138) {
57876
+ if (type === 139) {
58327
57877
  this.expectPlugin("destructuringPrivate", startLoc);
58328
57878
  this.classScope.usePrivateName(this.state.value, startLoc);
58329
57879
  prop.key = this.parsePrivateName();
@@ -58335,14 +57885,16 @@ var require_lib = __commonJS({
58335
57885
  }
58336
57886
  parseAssignableListItem(flags, decorators) {
58337
57887
  const left2 = this.parseMaybeDefault();
58338
- this.parseAssignableListItemTypes(left2, flags);
57888
+ if (this.hasPlugin("flow") || flags & 2) {
57889
+ this.parseFunctionParamType(left2);
57890
+ }
58339
57891
  const elt = this.parseMaybeDefault(left2.loc.start, left2);
58340
57892
  if (decorators.length) {
58341
57893
  left2.decorators = decorators;
58342
57894
  }
58343
57895
  return elt;
58344
57896
  }
58345
- parseAssignableListItemTypes(param, flags) {
57897
+ parseFunctionParamType(param) {
58346
57898
  return param;
58347
57899
  }
58348
57900
  parseMaybeDefault(startLoc, left2) {
@@ -58505,12 +58057,12 @@ var require_lib = __commonJS({
58505
58057
  AbstractPropertyHasInitializer: ({
58506
58058
  propertyName
58507
58059
  }) => `Property '${propertyName}' cannot have an initializer because it is marked abstract.`,
58508
- AccesorCannotDeclareThisParameter: "'get' and 'set' accessors cannot declare 'this' parameters.",
58509
- AccesorCannotHaveTypeParameters: "An accessor cannot have type parameters.",
58510
58060
  AccessorCannotBeOptional: "An 'accessor' property cannot be declared optional.",
58061
+ AccessorCannotDeclareThisParameter: "'get' and 'set' accessors cannot declare 'this' parameters.",
58062
+ AccessorCannotHaveTypeParameters: "An accessor cannot have type parameters.",
58511
58063
  ClassMethodHasDeclare: "Class methods cannot have the 'declare' modifier.",
58512
58064
  ClassMethodHasReadonly: "Class methods cannot have the 'readonly' modifier.",
58513
- ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference: "A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",
58065
+ ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference: "A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",
58514
58066
  ConstructorHasTypeParameters: "Type parameters cannot appear on a constructor declaration.",
58515
58067
  DeclareAccessor: ({
58516
58068
  kind
@@ -58569,9 +58121,9 @@ var require_lib = __commonJS({
58569
58121
  ReadonlyForMethodSignature: "'readonly' modifier can only appear on a property declaration or index signature.",
58570
58122
  ReservedArrowTypeParam: "This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",
58571
58123
  ReservedTypeAssertion: "This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",
58572
- SetAccesorCannotHaveOptionalParameter: "A 'set' accessor cannot have an optional parameter.",
58573
- SetAccesorCannotHaveRestParameter: "A 'set' accessor cannot have rest parameter.",
58574
- SetAccesorCannotHaveReturnType: "A 'set' accessor cannot have a return type annotation.",
58124
+ SetAccessorCannotHaveOptionalParameter: "A 'set' accessor cannot have an optional parameter.",
58125
+ SetAccessorCannotHaveRestParameter: "A 'set' accessor cannot have rest parameter.",
58126
+ SetAccessorCannotHaveReturnType: "A 'set' accessor cannot have a return type annotation.",
58575
58127
  SingleTypeParameterWithoutTrailingComma: ({
58576
58128
  typeParameterName
58577
58129
  }) => `Single type parameter ${typeParameterName} should have a trailing comma. Example usage: <${typeParameterName},>.`,
@@ -58649,12 +58201,22 @@ var require_lib = __commonJS({
58649
58201
  return tokenIsIdentifier(this.state.type);
58650
58202
  }
58651
58203
  tsTokenCanFollowModifier() {
58652
- return (this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(138) || this.isLiteralPropertyName()) && !this.hasPrecedingLineBreak();
58204
+ return this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(139) || this.isLiteralPropertyName();
58653
58205
  }
58654
- tsNextTokenCanFollowModifier() {
58206
+ tsNextTokenOnSameLineAndCanFollowModifier() {
58655
58207
  this.next();
58208
+ if (this.hasPrecedingLineBreak()) {
58209
+ return false;
58210
+ }
58656
58211
  return this.tsTokenCanFollowModifier();
58657
58212
  }
58213
+ tsNextTokenCanFollowModifier() {
58214
+ if (this.match(106)) {
58215
+ this.next();
58216
+ return this.tsTokenCanFollowModifier();
58217
+ }
58218
+ return this.tsNextTokenOnSameLineAndCanFollowModifier();
58219
+ }
58658
58220
  tsParseModifier(allowedModifiers, stopOnStartOfClassStaticBlock) {
58659
58221
  if (!tokenIsIdentifier(this.state.type) && this.state.type !== 58 && this.state.type !== 75) {
58660
58222
  return void 0;
@@ -58811,20 +58373,16 @@ var require_lib = __commonJS({
58811
58373
  const node = this.startNode();
58812
58374
  this.expect(83);
58813
58375
  this.expect(10);
58814
- if (!this.match(133)) {
58376
+ if (!this.match(134)) {
58815
58377
  this.raise(TSErrors.UnsupportedImportTypeArgument, this.state.startLoc);
58816
58378
  }
58817
58379
  node.argument = super.parseExprAtom();
58818
- if (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) {
58380
+ if (this.eat(12) && !this.match(11)) {
58381
+ node.options = super.parseMaybeAssignAllowIn();
58382
+ this.eat(12);
58383
+ } else {
58819
58384
  node.options = null;
58820
58385
  }
58821
- if (this.eat(12)) {
58822
- this.expectImportAttributesPlugin();
58823
- if (!this.match(11)) {
58824
- node.options = super.parseMaybeAssignAllowIn();
58825
- this.eat(12);
58826
- }
58827
- }
58828
58386
  this.expect(11);
58829
58387
  if (this.eat(16)) {
58830
58388
  node.qualifier = this.tsParseEntityName();
@@ -58893,7 +58451,7 @@ var require_lib = __commonJS({
58893
58451
  }
58894
58452
  tsParseTypeParameters(parseModifiers) {
58895
58453
  const node = this.startNode();
58896
- if (this.match(47) || this.match(142)) {
58454
+ if (this.match(47) || this.match(143)) {
58897
58455
  this.next();
58898
58456
  } else {
58899
58457
  this.unexpected();
@@ -58981,7 +58539,7 @@ var require_lib = __commonJS({
58981
58539
  }
58982
58540
  const method = nodeAny;
58983
58541
  if (method.kind && this.match(47)) {
58984
- this.raise(TSErrors.AccesorCannotHaveTypeParameters, this.state.curPosition());
58542
+ this.raise(TSErrors.AccessorCannotHaveTypeParameters, this.state.curPosition());
58985
58543
  }
58986
58544
  this.tsFillSignature(14, method);
58987
58545
  this.tsParseTypeMemberSemicolon();
@@ -58991,7 +58549,7 @@ var require_lib = __commonJS({
58991
58549
  if (method[paramsKey].length > 0) {
58992
58550
  this.raise(Errors.BadGetterArity, this.state.curPosition());
58993
58551
  if (this.isThisParam(method[paramsKey][0])) {
58994
- this.raise(TSErrors.AccesorCannotDeclareThisParameter, this.state.curPosition());
58552
+ this.raise(TSErrors.AccessorCannotDeclareThisParameter, this.state.curPosition());
58995
58553
  }
58996
58554
  }
58997
58555
  } else if (method.kind === "set") {
@@ -59000,17 +58558,17 @@ var require_lib = __commonJS({
59000
58558
  } else {
59001
58559
  const firstParameter = method[paramsKey][0];
59002
58560
  if (this.isThisParam(firstParameter)) {
59003
- this.raise(TSErrors.AccesorCannotDeclareThisParameter, this.state.curPosition());
58561
+ this.raise(TSErrors.AccessorCannotDeclareThisParameter, this.state.curPosition());
59004
58562
  }
59005
58563
  if (firstParameter.type === "Identifier" && firstParameter.optional) {
59006
- this.raise(TSErrors.SetAccesorCannotHaveOptionalParameter, this.state.curPosition());
58564
+ this.raise(TSErrors.SetAccessorCannotHaveOptionalParameter, this.state.curPosition());
59007
58565
  }
59008
58566
  if (firstParameter.type === "RestElement") {
59009
- this.raise(TSErrors.SetAccesorCannotHaveRestParameter, this.state.curPosition());
58567
+ this.raise(TSErrors.SetAccessorCannotHaveRestParameter, this.state.curPosition());
59010
58568
  }
59011
58569
  }
59012
58570
  if (method[returnTypeKey]) {
59013
- this.raise(TSErrors.SetAccesorCannotHaveReturnType, method[returnTypeKey]);
58571
+ this.raise(TSErrors.SetAccessorCannotHaveReturnType, method[returnTypeKey]);
59014
58572
  }
59015
58573
  } else {
59016
58574
  method.kind = "method";
@@ -59086,12 +58644,6 @@ var require_lib = __commonJS({
59086
58644
  this.next();
59087
58645
  return this.match(58);
59088
58646
  }
59089
- tsParseMappedTypeParameter() {
59090
- const node = this.startNode();
59091
- node.name = this.tsParseTypeParameterName();
59092
- node.constraint = this.tsExpectThenParseType(58);
59093
- return this.finishNode(node, "TSTypeParameter");
59094
- }
59095
58647
  tsParseMappedType() {
59096
58648
  const node = this.startNode();
59097
58649
  this.expect(5);
@@ -59103,7 +58655,12 @@ var require_lib = __commonJS({
59103
58655
  node.readonly = true;
59104
58656
  }
59105
58657
  this.expect(0);
59106
- node.typeParameter = this.tsParseMappedTypeParameter();
58658
+ {
58659
+ const typeParameter = this.startNode();
58660
+ typeParameter.name = this.tsParseTypeParameterName();
58661
+ typeParameter.constraint = this.tsExpectThenParseType(58);
58662
+ node.typeParameter = this.finishNode(typeParameter, "TSTypeParameter");
58663
+ }
59107
58664
  node.nameType = this.eatContextual(93) ? this.tsParseType() : null;
59108
58665
  this.expect(3);
59109
58666
  if (this.match(53)) {
@@ -59223,9 +58780,9 @@ var require_lib = __commonJS({
59223
58780
  tsParseLiteralTypeNode() {
59224
58781
  const node = this.startNode();
59225
58782
  switch (this.state.type) {
59226
- case 134:
59227
58783
  case 135:
59228
- case 133:
58784
+ case 136:
58785
+ case 134:
59229
58786
  case 85:
59230
58787
  case 86:
59231
58788
  node.literal = super.parseExprAtom();
@@ -59255,9 +58812,9 @@ var require_lib = __commonJS({
59255
58812
  }
59256
58813
  tsParseNonArrayType() {
59257
58814
  switch (this.state.type) {
59258
- case 133:
59259
58815
  case 134:
59260
58816
  case 135:
58817
+ case 136:
59261
58818
  case 85:
59262
58819
  case 86:
59263
58820
  return this.tsParseLiteralTypeNode();
@@ -59265,7 +58822,7 @@ var require_lib = __commonJS({
59265
58822
  if (this.state.value === "-") {
59266
58823
  const node = this.startNode();
59267
58824
  const nextToken = this.lookahead();
59268
- if (nextToken.type !== 134 && nextToken.type !== 135) {
58825
+ if (nextToken.type !== 135 && nextToken.type !== 136) {
59269
58826
  this.unexpected();
59270
58827
  }
59271
58828
  node.literal = this.parseMaybeUnary();
@@ -59673,7 +59230,7 @@ var require_lib = __commonJS({
59673
59230
  }
59674
59231
  tsParseEnumMember() {
59675
59232
  const node = this.startNode();
59676
- node.id = this.match(133) ? super.parseStringLiteral(this.state.value) : this.parseIdentifier(true);
59233
+ node.id = this.match(134) ? super.parseStringLiteral(this.state.value) : this.parseIdentifier(true);
59677
59234
  if (this.eat(29)) {
59678
59235
  node.initializer = super.parseMaybeAssignAllowIn();
59679
59236
  }
@@ -59720,9 +59277,13 @@ var require_lib = __commonJS({
59720
59277
  }
59721
59278
  tsParseAmbientExternalModuleDeclaration(node) {
59722
59279
  if (this.isContextual(112)) {
59723
- node.global = true;
59280
+ node.kind = "global";
59281
+ {
59282
+ node.global = true;
59283
+ }
59724
59284
  node.id = this.parseIdentifier();
59725
- } else if (this.match(133)) {
59285
+ } else if (this.match(134)) {
59286
+ node.kind = "module";
59726
59287
  node.id = super.parseStringLiteral(this.state.value);
59727
59288
  } else {
59728
59289
  this.unexpected();
@@ -59761,7 +59322,7 @@ var require_lib = __commonJS({
59761
59322
  const node = this.startNode();
59762
59323
  this.expectContextual(119);
59763
59324
  this.expect(10);
59764
- if (!this.match(133)) {
59325
+ if (!this.match(134)) {
59765
59326
  this.unexpected();
59766
59327
  }
59767
59328
  node.expression = super.parseExprAtom();
@@ -59857,7 +59418,10 @@ var require_lib = __commonJS({
59857
59418
  this.scope.enter(256);
59858
59419
  this.prodParam.enter(0);
59859
59420
  const mod = node;
59860
- mod.global = true;
59421
+ mod.kind = "global";
59422
+ {
59423
+ node.global = true;
59424
+ }
59861
59425
  mod.id = expr;
59862
59426
  mod.body = this.tsParseModuleBlock();
59863
59427
  this.scope.exit();
@@ -59878,15 +59442,17 @@ var require_lib = __commonJS({
59878
59442
  break;
59879
59443
  case "module":
59880
59444
  if (this.tsCheckLineTerminator(next)) {
59881
- if (this.match(133)) {
59445
+ if (this.match(134)) {
59882
59446
  return this.tsParseAmbientExternalModuleDeclaration(node);
59883
59447
  } else if (tokenIsIdentifier(this.state.type)) {
59448
+ node.kind = "module";
59884
59449
  return this.tsParseModuleOrNamespaceDeclaration(node);
59885
59450
  }
59886
59451
  }
59887
59452
  break;
59888
59453
  case "namespace":
59889
59454
  if (this.tsCheckLineTerminator(next) && tokenIsIdentifier(this.state.type)) {
59455
+ node.kind = "namespace";
59890
59456
  return this.tsParseModuleOrNamespaceDeclaration(node);
59891
59457
  }
59892
59458
  break;
@@ -59964,7 +59530,9 @@ var require_lib = __commonJS({
59964
59530
  this.raise(TSErrors.UnexpectedParameterModifier, startLoc);
59965
59531
  }
59966
59532
  const left2 = this.parseMaybeDefault();
59967
- this.parseAssignableListItemTypes(left2, flags);
59533
+ if (flags & 2) {
59534
+ this.parseFunctionParamType(left2);
59535
+ }
59968
59536
  const elt = this.parseMaybeDefault(left2.loc.start, left2);
59969
59537
  if (accessibility || readonly || override) {
59970
59538
  const pp = this.startNodeAt(startLoc);
@@ -60085,7 +59653,7 @@ var require_lib = __commonJS({
60085
59653
  if (!noCalls && this.eat(10)) {
60086
59654
  const node2 = this.startNodeAt(startLoc);
60087
59655
  node2.callee = base;
60088
- node2.arguments = this.parseCallExpressionArguments(11, false);
59656
+ node2.arguments = this.parseCallExpressionArguments(11);
60089
59657
  this.tsCheckForInvalidTypeCasts(node2.arguments);
60090
59658
  node2.typeParameters = typeArguments;
60091
59659
  if (state.optionalChainMember) {
@@ -60179,7 +59747,7 @@ var require_lib = __commonJS({
60179
59747
  }
60180
59748
  }
60181
59749
  parseImport(node) {
60182
- if (this.match(133)) {
59750
+ if (this.match(134)) {
60183
59751
  node.importKind = "value";
60184
59752
  return super.parseImport(node);
60185
59753
  }
@@ -60262,7 +59830,7 @@ var require_lib = __commonJS({
60262
59830
  if (kind !== "const" || !!id.typeAnnotation) {
60263
59831
  this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init);
60264
59832
  } else if (!isValidAmbientConstInitializer(init, this.hasPlugin("estree"))) {
60265
- this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, init);
59833
+ this.raise(TSErrors.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference, init);
60266
59834
  }
60267
59835
  }
60268
59836
  return declaration;
@@ -60457,7 +60025,7 @@ var require_lib = __commonJS({
60457
60025
  key
60458
60026
  } = node;
60459
60027
  this.raise(TSErrors.AbstractPropertyHasInitializer, this.state.startLoc, {
60460
- propertyName: key.type === "Identifier" && !node.computed ? key.name : `[${this.input.slice(key.start, key.end)}]`
60028
+ propertyName: key.type === "Identifier" && !node.computed ? key.name : `[${this.input.slice(this.offsetToSourcePos(key.start), this.offsetToSourcePos(key.end))}]`
60461
60029
  });
60462
60030
  }
60463
60031
  return super.parseClassProperty(node);
@@ -60556,7 +60124,7 @@ var require_lib = __commonJS({
60556
60124
  let state;
60557
60125
  let jsx2;
60558
60126
  let typeCast;
60559
- if (this.hasPlugin("jsx") && (this.match(142) || this.match(47))) {
60127
+ if (this.hasPlugin("jsx") && (this.match(143) || this.match(47))) {
60560
60128
  state = this.state.clone();
60561
60129
  jsx2 = this.tryParse(() => super.parseMaybeAssign(refExpressionErrors, afterLeftParse), state);
60562
60130
  if (!jsx2.error)
@@ -60645,9 +60213,7 @@ var require_lib = __commonJS({
60645
60213
  }
60646
60214
  return super.parseArrow(node);
60647
60215
  }
60648
- parseAssignableListItemTypes(param, flags) {
60649
- if (!(flags & 2))
60650
- return param;
60216
+ parseFunctionParamType(param) {
60651
60217
  if (this.eat(17)) {
60652
60218
  param.optional = true;
60653
60219
  }
@@ -60903,7 +60469,7 @@ var require_lib = __commonJS({
60903
60469
  key
60904
60470
  } = method;
60905
60471
  this.raise(TSErrors.AbstractMethodHasImplementation, method, {
60906
- methodName: key.type === "Identifier" && !method.computed ? key.name : `[${this.input.slice(key.start, key.end)}]`
60472
+ methodName: key.type === "Identifier" && !method.computed ? key.name : `[${this.input.slice(this.offsetToSourcePos(key.start), this.offsetToSourcePos(key.end))}]`
60907
60473
  });
60908
60474
  }
60909
60475
  }
@@ -61078,13 +60644,13 @@ var require_lib = __commonJS({
61078
60644
  });
61079
60645
  var placeholders = (superClass) => class PlaceholdersParserMixin extends superClass {
61080
60646
  parsePlaceholder(expectedNode) {
61081
- if (this.match(144)) {
60647
+ if (this.match(133)) {
61082
60648
  const node = this.startNode();
61083
60649
  this.next();
61084
60650
  this.assertNoSpace();
61085
60651
  node.name = super.parseIdentifier(true);
61086
60652
  this.assertNoSpace();
61087
- this.expect(144);
60653
+ this.expect(133);
61088
60654
  return this.finishPlaceholder(node, expectedNode);
61089
60655
  }
61090
60656
  }
@@ -61098,7 +60664,7 @@ var require_lib = __commonJS({
61098
60664
  }
61099
60665
  getTokenFromCode(code2) {
61100
60666
  if (code2 === 37 && this.input.charCodeAt(this.state.pos + 1) === 37) {
61101
- this.finishOp(144, 2);
60667
+ this.finishOp(133, 2);
61102
60668
  } else {
61103
60669
  super.getTokenFromCode(code2);
61104
60670
  }
@@ -61132,7 +60698,7 @@ var require_lib = __commonJS({
61132
60698
  return true;
61133
60699
  }
61134
60700
  const nextToken = this.lookahead();
61135
- if (nextToken.type === 144) {
60701
+ if (nextToken.type === 133) {
61136
60702
  return true;
61137
60703
  }
61138
60704
  return false;
@@ -61171,7 +60737,7 @@ var require_lib = __commonJS({
61171
60737
  const oldStrict = this.state.strict;
61172
60738
  const placeholder = this.parsePlaceholder("Identifier");
61173
60739
  if (placeholder) {
61174
- if (this.match(81) || this.match(144) || this.match(5)) {
60740
+ if (this.match(81) || this.match(133) || this.match(5)) {
61175
60741
  node.id = placeholder;
61176
60742
  } else if (optionalId || !isStatement) {
61177
60743
  node.id = null;
@@ -61208,7 +60774,7 @@ var require_lib = __commonJS({
61208
60774
  if (this.match(65)) {
61209
60775
  const next = this.nextTokenStart();
61210
60776
  if (this.isUnparsedContextual(next, "from")) {
61211
- if (this.input.startsWith(tokenLabelName(144), this.nextTokenStartSince(next + 4))) {
60777
+ if (this.input.startsWith(tokenLabelName(133), this.nextTokenStartSince(next + 4))) {
61212
60778
  return true;
61213
60779
  }
61214
60780
  }
@@ -61259,7 +60825,7 @@ var require_lib = __commonJS({
61259
60825
  return this.parsePlaceholder("StringLiteral") || super.parseImportSource();
61260
60826
  }
61261
60827
  assertNoSpace() {
61262
- if (this.state.start > this.state.lastTokEndLoc.index) {
60828
+ if (this.state.start > this.offsetToSourcePos(this.state.lastTokEndLoc.index)) {
61263
60829
  this.raise(PlaceholderErrors.UnexpectedSpace, this.state.lastTokEndLoc);
61264
60830
  }
61265
60831
  }
@@ -61336,8 +60902,8 @@ var require_lib = __commonJS({
61336
60902
  }
61337
60903
  if (pluginsMap.has("moduleAttributes")) {
61338
60904
  {
61339
- if (pluginsMap.has("importAttributes") || pluginsMap.has("importAssertions")) {
61340
- throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");
60905
+ if (pluginsMap.has("deprecatedImportAssert") || pluginsMap.has("importAssertions")) {
60906
+ throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");
61341
60907
  }
61342
60908
  const moduleAttributesVersionPluginOption = pluginsMap.get("moduleAttributes").version;
61343
60909
  if (moduleAttributesVersionPluginOption !== "may-2020") {
@@ -61345,8 +60911,15 @@ var require_lib = __commonJS({
61345
60911
  }
61346
60912
  }
61347
60913
  }
61348
- if (pluginsMap.has("importAttributes") && pluginsMap.has("importAssertions")) {
61349
- throw new Error("Cannot combine importAssertions and importAttributes plugins.");
60914
+ if (pluginsMap.has("importAssertions")) {
60915
+ if (pluginsMap.has("deprecatedImportAssert")) {
60916
+ throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");
60917
+ }
60918
+ }
60919
+ if (!pluginsMap.has("deprecatedImportAssert") && pluginsMap.has("importAttributes") && pluginsMap.get("importAttributes").deprecatedAssertSyntax) {
60920
+ {
60921
+ pluginsMap.set("deprecatedImportAssert", {});
60922
+ }
61350
60923
  }
61351
60924
  if (pluginsMap.has("recordAndTuple")) {
61352
60925
  const syntaxType = pluginsMap.get("recordAndTuple").syntaxType;
@@ -61377,38 +60950,52 @@ var require_lib = __commonJS({
61377
60950
  placeholders
61378
60951
  };
61379
60952
  var mixinPluginNames = Object.keys(mixinPlugins);
61380
- var defaultOptions = {
61381
- sourceType: "script",
61382
- sourceFilename: void 0,
61383
- startColumn: 0,
61384
- startLine: 1,
61385
- allowAwaitOutsideFunction: false,
61386
- allowReturnOutsideFunction: false,
61387
- allowNewTargetOutsideFunction: false,
61388
- allowImportExportEverywhere: false,
61389
- allowSuperOutsideMethod: false,
61390
- allowUndeclaredExports: false,
61391
- plugins: [],
61392
- strictMode: null,
61393
- ranges: false,
61394
- tokens: false,
61395
- createImportExpressions: false,
61396
- createParenthesizedExpressions: false,
61397
- errorRecovery: false,
61398
- attachComment: true,
61399
- annexB: true
61400
- };
60953
+ function createDefaultOptions() {
60954
+ return {
60955
+ sourceType: "script",
60956
+ sourceFilename: void 0,
60957
+ startIndex: 0,
60958
+ startColumn: 0,
60959
+ startLine: 1,
60960
+ allowAwaitOutsideFunction: false,
60961
+ allowReturnOutsideFunction: false,
60962
+ allowNewTargetOutsideFunction: false,
60963
+ allowImportExportEverywhere: false,
60964
+ allowSuperOutsideMethod: false,
60965
+ allowUndeclaredExports: false,
60966
+ plugins: [],
60967
+ strictMode: null,
60968
+ ranges: false,
60969
+ tokens: false,
60970
+ createImportExpressions: false,
60971
+ createParenthesizedExpressions: false,
60972
+ errorRecovery: false,
60973
+ attachComment: true,
60974
+ annexB: true
60975
+ };
60976
+ }
61401
60977
  function getOptions(opts) {
60978
+ const options = createDefaultOptions();
61402
60979
  if (opts == null) {
61403
- return Object.assign({}, defaultOptions);
60980
+ return options;
61404
60981
  }
61405
60982
  if (opts.annexB != null && opts.annexB !== false) {
61406
60983
  throw new Error("The `annexB` option can only be set to `false`.");
61407
60984
  }
61408
- const options = {};
61409
- for (const key of Object.keys(defaultOptions)) {
61410
- var _opts$key;
61411
- options[key] = (_opts$key = opts[key]) != null ? _opts$key : defaultOptions[key];
60985
+ for (const key of Object.keys(options)) {
60986
+ if (opts[key] != null)
60987
+ options[key] = opts[key];
60988
+ }
60989
+ if (options.startLine === 1) {
60990
+ if (opts.startIndex == null && options.startColumn > 0) {
60991
+ options.startIndex = options.startColumn;
60992
+ } else if (opts.startColumn == null && options.startIndex > 0) {
60993
+ options.startColumn = options.startIndex;
60994
+ }
60995
+ } else if (opts.startColumn == null || opts.startIndex == null) {
60996
+ if (opts.startIndex != null) {
60997
+ throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");
60998
+ }
61412
60999
  }
61413
61000
  return options;
61414
61001
  }
@@ -61437,13 +61024,13 @@ var require_lib = __commonJS({
61437
61024
  }
61438
61025
  }
61439
61026
  shouldExitDescending(expr, potentialArrowAt) {
61440
- return expr.type === "ArrowFunctionExpression" && expr.start === potentialArrowAt;
61027
+ return expr.type === "ArrowFunctionExpression" && this.offsetToSourcePos(expr.start) === potentialArrowAt;
61441
61028
  }
61442
61029
  getExpression() {
61443
61030
  this.enterInitialScopes();
61444
61031
  this.nextToken();
61445
61032
  const expr = this.parseExpression();
61446
- if (!this.match(139)) {
61033
+ if (!this.match(140)) {
61447
61034
  this.unexpected();
61448
61035
  }
61449
61036
  this.finalizeRemainingComments();
@@ -61563,7 +61150,7 @@ var require_lib = __commonJS({
61563
61150
  return expr;
61564
61151
  }
61565
61152
  parseMaybeUnaryOrPrivate(refExpressionErrors) {
61566
- return this.match(138) ? this.parsePrivateName() : this.parseMaybeUnary(refExpressionErrors);
61153
+ return this.match(139) ? this.parsePrivateName() : this.parseMaybeUnary(refExpressionErrors);
61567
61154
  }
61568
61155
  parseExprOps(refExpressionErrors) {
61569
61156
  const startLoc = this.state.startLoc;
@@ -61804,7 +61391,7 @@ var require_lib = __commonJS({
61804
61391
  if (computed) {
61805
61392
  node.property = this.parseExpression();
61806
61393
  this.expect(3);
61807
- } else if (this.match(138)) {
61394
+ } else if (this.match(139)) {
61808
61395
  if (base.type === "Super") {
61809
61396
  this.raise(Errors.SuperPrivateField, startLoc);
61810
61397
  }
@@ -61849,7 +61436,7 @@ var require_lib = __commonJS({
61849
61436
  if (optional) {
61850
61437
  node.arguments = this.parseCallExpressionArguments(11);
61851
61438
  } else {
61852
- node.arguments = this.parseCallExpressionArguments(11, base.type === "Import", base.type !== "Super", node, refExpressionErrors);
61439
+ node.arguments = this.parseCallExpressionArguments(11, base.type !== "Super", node, refExpressionErrors);
61853
61440
  }
61854
61441
  let finishedNode = this.finishCallExpression(node, optionalChainMember);
61855
61442
  if (maybeAsyncArrow && this.shouldParseAsyncArrow() && !optional) {
@@ -61881,26 +61468,12 @@ var require_lib = __commonJS({
61881
61468
  return this.finishNode(node, "TaggedTemplateExpression");
61882
61469
  }
61883
61470
  atPossibleAsyncArrow(base) {
61884
- return base.type === "Identifier" && base.name === "async" && this.state.lastTokEndLoc.index === base.end && !this.canInsertSemicolon() && base.end - base.start === 5 && base.start === this.state.potentialArrowAt;
61885
- }
61886
- expectImportAttributesPlugin() {
61887
- if (!this.hasPlugin("importAssertions")) {
61888
- this.expectPlugin("importAttributes");
61889
- }
61471
+ return base.type === "Identifier" && base.name === "async" && this.state.lastTokEndLoc.index === base.end && !this.canInsertSemicolon() && base.end - base.start === 5 && this.offsetToSourcePos(base.start) === this.state.potentialArrowAt;
61890
61472
  }
61891
61473
  finishCallExpression(node, optional) {
61892
61474
  if (node.callee.type === "Import") {
61893
- if (node.arguments.length === 2) {
61894
- {
61895
- if (!this.hasPlugin("moduleAttributes")) {
61896
- this.expectImportAttributesPlugin();
61897
- }
61898
- }
61899
- }
61900
61475
  if (node.arguments.length === 0 || node.arguments.length > 2) {
61901
- this.raise(Errors.ImportCallArity, node, {
61902
- maxArgumentCount: this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions") || this.hasPlugin("moduleAttributes") ? 2 : 1
61903
- });
61476
+ this.raise(Errors.ImportCallArity, node);
61904
61477
  } else {
61905
61478
  for (const arg of node.arguments) {
61906
61479
  if (arg.type === "SpreadElement") {
@@ -61911,7 +61484,7 @@ var require_lib = __commonJS({
61911
61484
  }
61912
61485
  return this.finishNode(node, optional ? "OptionalCallExpression" : "CallExpression");
61913
61486
  }
61914
- parseCallExpressionArguments(close, dynamicImport, allowPlaceholder, nodeForExtra, refExpressionErrors) {
61487
+ parseCallExpressionArguments(close, allowPlaceholder, nodeForExtra, refExpressionErrors) {
61915
61488
  const elts = [];
61916
61489
  let first = true;
61917
61490
  const oldInFSharpPipelineDirectBody = this.state.inFSharpPipelineDirectBody;
@@ -61922,9 +61495,6 @@ var require_lib = __commonJS({
61922
61495
  } else {
61923
61496
  this.expect(12);
61924
61497
  if (this.match(close)) {
61925
- if (dynamicImport && !this.hasPlugin("importAttributes") && !this.hasPlugin("importAssertions") && !this.hasPlugin("moduleAttributes")) {
61926
- this.raise(Errors.ImportCallArgumentTrailingComma, this.state.lastTokStartLoc);
61927
- }
61928
61498
  if (nodeForExtra) {
61929
61499
  this.addTrailingCommaExtraToNode(nodeForExtra);
61930
61500
  }
@@ -61994,13 +61564,11 @@ var require_lib = __commonJS({
61994
61564
  this.readRegexp();
61995
61565
  return this.parseRegExpLiteral(this.state.value);
61996
61566
  }
61997
- case 134:
61998
- return this.parseNumericLiteral(this.state.value);
61999
61567
  case 135:
62000
- return this.parseBigIntLiteral(this.state.value);
61568
+ return this.parseNumericLiteral(this.state.value);
62001
61569
  case 136:
62002
- return this.parseDecimalLiteral(this.state.value);
62003
- case 133:
61570
+ return this.parseBigIntLiteral(this.state.value);
61571
+ case 134:
62004
61572
  return this.parseStringLiteral(this.state.value);
62005
61573
  case 84:
62006
61574
  return this.parseNullLiteral();
@@ -62048,7 +61616,7 @@ var require_lib = __commonJS({
62048
61616
  throw this.raise(Errors.UnsupportedBind, callee);
62049
61617
  }
62050
61618
  }
62051
- case 138: {
61619
+ case 139: {
62052
61620
  this.raise(Errors.PrivateInExpectedIn, this.state.startLoc, {
62053
61621
  identifierName: this.state.value
62054
61622
  });
@@ -62084,6 +61652,9 @@ var require_lib = __commonJS({
62084
61652
  break;
62085
61653
  }
62086
61654
  default:
61655
+ if (type === 137) {
61656
+ return this.parseDecimalLiteral(this.state.value);
61657
+ }
62087
61658
  if (tokenIsIdentifier(type)) {
62088
61659
  if (this.isContextual(127) && this.lookaheadInLineCharCode() === 123) {
62089
61660
  return this.parseModuleExpression();
@@ -62270,7 +61841,7 @@ var require_lib = __commonJS({
62270
61841
  }
62271
61842
  parseLiteralAtNode(value, type, node) {
62272
61843
  this.addExtra(node, "rawValue", value);
62273
- this.addExtra(node, "raw", this.input.slice(node.start, this.state.end));
61844
+ this.addExtra(node, "raw", this.input.slice(this.offsetToSourcePos(node.start), this.state.end));
62274
61845
  node.value = value;
62275
61846
  this.next();
62276
61847
  return this.finishNode(node, type);
@@ -62293,7 +61864,7 @@ var require_lib = __commonJS({
62293
61864
  }
62294
61865
  parseRegExpLiteral(value) {
62295
61866
  const node = this.startNode();
62296
- this.addExtra(node, "raw", this.input.slice(node.start, this.state.end));
61867
+ this.addExtra(node, "raw", this.input.slice(this.offsetToSourcePos(node.start), this.state.end));
62297
61868
  node.pattern = value.pattern;
62298
61869
  node.flags = value.flags;
62299
61870
  this.next();
@@ -62669,19 +62240,16 @@ var require_lib = __commonJS({
62669
62240
  key = this.parseIdentifier(true);
62670
62241
  } else {
62671
62242
  switch (type) {
62672
- case 134:
62243
+ case 135:
62673
62244
  key = this.parseNumericLiteral(value);
62674
62245
  break;
62675
- case 133:
62246
+ case 134:
62676
62247
  key = this.parseStringLiteral(value);
62677
62248
  break;
62678
- case 135:
62679
- key = this.parseBigIntLiteral(value);
62680
- break;
62681
62249
  case 136:
62682
- key = this.parseDecimalLiteral(value);
62250
+ key = this.parseBigIntLiteral(value);
62683
62251
  break;
62684
- case 138: {
62252
+ case 139: {
62685
62253
  const privateKeyLoc = this.state.startLoc;
62686
62254
  if (refExpressionErrors != null) {
62687
62255
  if (refExpressionErrors.privateKeyLoc === null) {
@@ -62694,11 +62262,15 @@ var require_lib = __commonJS({
62694
62262
  break;
62695
62263
  }
62696
62264
  default:
62265
+ if (type === 137) {
62266
+ key = this.parseDecimalLiteral(value);
62267
+ break;
62268
+ }
62697
62269
  this.unexpected();
62698
62270
  }
62699
62271
  }
62700
62272
  prop.key = key;
62701
- if (type !== 138) {
62273
+ if (type !== 139) {
62702
62274
  prop.computed = false;
62703
62275
  }
62704
62276
  }
@@ -62954,7 +62526,7 @@ var require_lib = __commonJS({
62954
62526
  const {
62955
62527
  type
62956
62528
  } = this.state;
62957
- return type === 53 || type === 10 || type === 0 || tokenIsTemplate(type) || type === 102 && !this.state.containsEsc || type === 137 || type === 56 || this.hasPlugin("v8intrinsic") && type === 54;
62529
+ return type === 53 || type === 10 || type === 0 || tokenIsTemplate(type) || type === 102 && !this.state.containsEsc || type === 138 || type === 56 || this.hasPlugin("v8intrinsic") && type === 54;
62958
62530
  }
62959
62531
  parseYield() {
62960
62532
  const node = this.startNode();
@@ -62966,7 +62538,7 @@ var require_lib = __commonJS({
62966
62538
  delegating = this.eat(55);
62967
62539
  switch (this.state.type) {
62968
62540
  case 13:
62969
- case 139:
62541
+ case 140:
62970
62542
  case 8:
62971
62543
  case 11:
62972
62544
  case 3:
@@ -62986,14 +62558,16 @@ var require_lib = __commonJS({
62986
62558
  parseImportCall(node) {
62987
62559
  this.next();
62988
62560
  node.source = this.parseMaybeAssignAllowIn();
62989
- if (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) {
62990
- node.options = null;
62991
- }
62561
+ node.options = null;
62992
62562
  if (this.eat(12)) {
62993
- this.expectImportAttributesPlugin();
62994
62563
  if (!this.match(11)) {
62995
62564
  node.options = this.parseMaybeAssignAllowIn();
62996
- this.eat(12);
62565
+ if (this.eat(12) && !this.match(11)) {
62566
+ do {
62567
+ this.parseMaybeAssignAllowIn();
62568
+ } while (this.eat(12) && !this.match(11));
62569
+ this.raise(Errors.ImportCallArity, node);
62570
+ }
62997
62571
  }
62998
62572
  }
62999
62573
  this.expect(11);
@@ -63150,7 +62724,7 @@ var require_lib = __commonJS({
63150
62724
  };
63151
62725
  var loneSurrogate = /[\uD800-\uDFFF]/u;
63152
62726
  var keywordRelationalOperator = /in(?:stanceof)?/y;
63153
- function babel7CompatTokens(tokens, input) {
62727
+ function babel7CompatTokens(tokens, input, startIndex) {
63154
62728
  for (let i = 0; i < tokens.length; i++) {
63155
62729
  const token = tokens[i];
63156
62730
  const {
@@ -63158,7 +62732,7 @@ var require_lib = __commonJS({
63158
62732
  } = token;
63159
62733
  if (typeof type === "number") {
63160
62734
  {
63161
- if (type === 138) {
62735
+ if (type === 139) {
63162
62736
  const {
63163
62737
  loc,
63164
62738
  start,
@@ -63195,7 +62769,7 @@ var require_lib = __commonJS({
63195
62769
  const backquoteEnd = start + 1;
63196
62770
  const backquoteEndLoc = createPositionWithColumnOffset(loc.start, 1);
63197
62771
  let startToken;
63198
- if (input.charCodeAt(start) === 96) {
62772
+ if (input.charCodeAt(start - startIndex) === 96) {
63199
62773
  startToken = new Token({
63200
62774
  type: getExportedToken(22),
63201
62775
  value: "`",
@@ -63262,11 +62836,11 @@ var require_lib = __commonJS({
63262
62836
  file.program = this.parseProgram(program);
63263
62837
  file.comments = this.comments;
63264
62838
  if (this.options.tokens) {
63265
- file.tokens = babel7CompatTokens(this.tokens, this.input);
62839
+ file.tokens = babel7CompatTokens(this.tokens, this.input, this.startIndex);
63266
62840
  }
63267
62841
  return this.finishNode(file, "File");
63268
62842
  }
63269
- parseProgram(program, end = 139, sourceType = this.options.sourceType) {
62843
+ parseProgram(program, end = 140, sourceType = this.options.sourceType) {
63270
62844
  program.sourceType = sourceType;
63271
62845
  program.interpreter = this.parseInterpreterDirective();
63272
62846
  this.parseBlockBody(program, true, true, end);
@@ -63281,7 +62855,7 @@ var require_lib = __commonJS({
63281
62855
  this.addExtra(program, "topLevelAwait", this.state.hasTopLevelAwait);
63282
62856
  }
63283
62857
  let finishedProgram;
63284
- if (end === 139) {
62858
+ if (end === 140) {
63285
62859
  finishedProgram = this.finishNode(program, "Program");
63286
62860
  } else {
63287
62861
  finishedProgram = this.finishNodeAt(program, "Program", createPositionWithColumnOffset(this.state.startLoc, -1));
@@ -63295,7 +62869,7 @@ var require_lib = __commonJS({
63295
62869
  delete directive.expression;
63296
62870
  const directiveLiteral = directive.value;
63297
62871
  const expressionValue = directiveLiteral.value;
63298
- const raw = this.input.slice(directiveLiteral.start, directiveLiteral.end);
62872
+ const raw = this.input.slice(this.offsetToSourcePos(directiveLiteral.start), this.offsetToSourcePos(directiveLiteral.end));
63299
62873
  const val = directiveLiteral.value = raw.slice(1, -1);
63300
62874
  this.addExtra(directiveLiteral, "raw", raw);
63301
62875
  this.addExtra(directiveLiteral, "rawValue", val);
@@ -63601,7 +63175,7 @@ var require_lib = __commonJS({
63601
63175
  while (this.eat(16)) {
63602
63176
  const node2 = this.startNodeAt(startLoc);
63603
63177
  node2.object = expr;
63604
- if (this.match(138)) {
63178
+ if (this.match(139)) {
63605
63179
  this.classScope.usePrivateName(this.state.value, this.state.startLoc);
63606
63180
  node2.property = this.parsePrivateName();
63607
63181
  } else {
@@ -63621,7 +63195,7 @@ var require_lib = __commonJS({
63621
63195
  if (this.eat(10)) {
63622
63196
  const node = this.startNodeAtNode(expr);
63623
63197
  node.callee = expr;
63624
- node.arguments = this.parseCallExpressionArguments(11, false);
63198
+ node.arguments = this.parseCallExpressionArguments(11);
63625
63199
  this.toReferencedList(node.arguments);
63626
63200
  return this.finishNode(node, "CallExpression");
63627
63201
  }
@@ -63901,7 +63475,7 @@ var require_lib = __commonJS({
63901
63475
  for (let i = this.state.labels.length - 1; i >= 0; i--) {
63902
63476
  const label = this.state.labels[i];
63903
63477
  if (label.statementStart === node.start) {
63904
- label.statementStart = this.state.start;
63478
+ label.statementStart = this.sourceToOffsetPos(this.state.start);
63905
63479
  label.kind = kind;
63906
63480
  } else {
63907
63481
  break;
@@ -63910,7 +63484,7 @@ var require_lib = __commonJS({
63910
63484
  this.state.labels.push({
63911
63485
  name: maybeName,
63912
63486
  kind,
63913
- statementStart: this.state.start
63487
+ statementStart: this.sourceToOffsetPos(this.state.start)
63914
63488
  });
63915
63489
  node.body = flags & 8 ? this.parseStatementOrSloppyAnnexBFunctionDeclaration(true) : this.parseStatement();
63916
63490
  this.state.labels.pop();
@@ -64210,7 +63784,7 @@ var require_lib = __commonJS({
64210
63784
  this.parsePropertyNamePrefixOperator(member);
64211
63785
  if (this.eat(55)) {
64212
63786
  method.kind = "method";
64213
- const isPrivateName = this.match(138);
63787
+ const isPrivateName = this.match(139);
64214
63788
  this.parseClassElementName(method);
64215
63789
  if (isPrivateName) {
64216
63790
  this.pushClassPrivateMethod(classBody, privateMethod, true, false);
@@ -64261,7 +63835,7 @@ var require_lib = __commonJS({
64261
63835
  this.unexpected(maybeQuestionTokenStartLoc);
64262
63836
  }
64263
63837
  method.kind = "method";
64264
- const isPrivate2 = this.match(138);
63838
+ const isPrivate2 = this.match(139);
64265
63839
  this.parseClassElementName(method);
64266
63840
  this.parsePostMemberNameModifiers(publicMember);
64267
63841
  if (isPrivate2) {
@@ -64275,7 +63849,7 @@ var require_lib = __commonJS({
64275
63849
  } else if ((maybeContextualKw === "get" || maybeContextualKw === "set") && !(this.match(55) && this.isLineTerminator())) {
64276
63850
  this.resetPreviousNodeTrailingComments(key);
64277
63851
  method.kind = maybeContextualKw;
64278
- const isPrivate2 = this.match(138);
63852
+ const isPrivate2 = this.match(139);
64279
63853
  this.parseClassElementName(publicMethod);
64280
63854
  if (isPrivate2) {
64281
63855
  this.pushClassPrivateMethod(classBody, privateMethod, false, false);
@@ -64289,7 +63863,7 @@ var require_lib = __commonJS({
64289
63863
  } else if (maybeContextualKw === "accessor" && !this.isLineTerminator()) {
64290
63864
  this.expectPlugin("decoratorAutoAccessors");
64291
63865
  this.resetPreviousNodeTrailingComments(key);
64292
- const isPrivate2 = this.match(138);
63866
+ const isPrivate2 = this.match(139);
64293
63867
  this.parseClassElementName(publicProp);
64294
63868
  this.pushClassAccessorProperty(classBody, accessorProp, isPrivate2);
64295
63869
  } else if (this.isLineTerminator()) {
@@ -64307,10 +63881,10 @@ var require_lib = __commonJS({
64307
63881
  type,
64308
63882
  value
64309
63883
  } = this.state;
64310
- if ((type === 132 || type === 133) && member.static && value === "prototype") {
63884
+ if ((type === 132 || type === 134) && member.static && value === "prototype") {
64311
63885
  this.raise(Errors.StaticPrototype, this.state.startLoc);
64312
63886
  }
64313
- if (type === 138) {
63887
+ if (type === 139) {
64314
63888
  if (value === "constructor") {
64315
63889
  this.raise(Errors.ConstructorClassPrivateField, this.state.startLoc);
64316
63890
  }
@@ -64727,7 +64301,7 @@ var require_lib = __commonJS({
64727
64301
  break;
64728
64302
  }
64729
64303
  const isMaybeTypeOnly = this.isContextual(130);
64730
- const isString = this.match(133);
64304
+ const isString = this.match(134);
64731
64305
  const node = this.startNode();
64732
64306
  node.local = this.parseModuleExportName();
64733
64307
  nodes.push(this.parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly));
@@ -64745,7 +64319,7 @@ var require_lib = __commonJS({
64745
64319
  return this.finishNode(node, "ExportSpecifier");
64746
64320
  }
64747
64321
  parseModuleExportName() {
64748
- if (this.match(133)) {
64322
+ if (this.match(134)) {
64749
64323
  const result = this.parseStringLiteral(this.state.value);
64750
64324
  const surrogate = loneSurrogate.exec(result.value);
64751
64325
  if (surrogate) {
@@ -64865,7 +64439,7 @@ var require_lib = __commonJS({
64865
64439
  return tokenIsIdentifier(type) ? type !== 98 || this.lookaheadCharCode() === 102 : type !== 12;
64866
64440
  }
64867
64441
  parseImport(node) {
64868
- if (this.match(133)) {
64442
+ if (this.match(134)) {
64869
64443
  return this.parseImportSourceAndAttributes(node);
64870
64444
  }
64871
64445
  return this.parseImportSpecifiersAndAfter(node, this.parseMaybeImportPhase(node, false));
@@ -64891,7 +64465,7 @@ var require_lib = __commonJS({
64891
64465
  return this.finishNode(node, "ImportDeclaration");
64892
64466
  }
64893
64467
  parseImportSource() {
64894
- if (!this.match(133))
64468
+ if (!this.match(134))
64895
64469
  this.unexpected();
64896
64470
  return this.parseExprAtom();
64897
64471
  }
@@ -64921,13 +64495,13 @@ var require_lib = __commonJS({
64921
64495
  });
64922
64496
  }
64923
64497
  attrNames.add(keyName);
64924
- if (this.match(133)) {
64498
+ if (this.match(134)) {
64925
64499
  node.key = this.parseStringLiteral(keyName);
64926
64500
  } else {
64927
64501
  node.key = this.parseIdentifier(true);
64928
64502
  }
64929
64503
  this.expect(14);
64930
- if (!this.match(133)) {
64504
+ if (!this.match(134)) {
64931
64505
  throw this.raise(Errors.ModuleAttributeInvalidValue, this.state.startLoc);
64932
64506
  }
64933
64507
  node.value = this.parseStringLiteral(this.state.value);
@@ -64952,7 +64526,7 @@ var require_lib = __commonJS({
64952
64526
  }
64953
64527
  attributes.add(node.key.name);
64954
64528
  this.expect(14);
64955
- if (!this.match(133)) {
64529
+ if (!this.match(134)) {
64956
64530
  throw this.raise(Errors.ModuleAttributeInvalidValue, this.state.startLoc);
64957
64531
  }
64958
64532
  node.value = this.parseStringLiteral(this.state.value);
@@ -64962,39 +64536,33 @@ var require_lib = __commonJS({
64962
64536
  }
64963
64537
  maybeParseImportAttributes(node) {
64964
64538
  let attributes;
64965
- let useWith = false;
64539
+ {
64540
+ var useWith = false;
64541
+ }
64966
64542
  if (this.match(76)) {
64967
64543
  if (this.hasPrecedingLineBreak() && this.lookaheadCharCode() === 40) {
64968
64544
  return;
64969
64545
  }
64970
64546
  this.next();
64547
+ if (this.hasPlugin("moduleAttributes")) {
64548
+ attributes = this.parseModuleAttributes();
64549
+ } else {
64550
+ attributes = this.parseImportAttributes();
64551
+ }
64971
64552
  {
64972
- if (this.hasPlugin("moduleAttributes")) {
64973
- attributes = this.parseModuleAttributes();
64974
- } else {
64975
- this.expectImportAttributesPlugin();
64976
- attributes = this.parseImportAttributes();
64977
- }
64553
+ useWith = true;
64978
64554
  }
64979
- useWith = true;
64980
64555
  } else if (this.isContextual(94) && !this.hasPrecedingLineBreak()) {
64981
- if (this.hasPlugin("importAttributes")) {
64982
- if (this.getPluginOption("importAttributes", "deprecatedAssertSyntax") !== true) {
64983
- this.raise(Errors.ImportAttributesUseAssert, this.state.startLoc);
64984
- }
64556
+ if (!this.hasPlugin("deprecatedImportAssert") && !this.hasPlugin("importAssertions")) {
64557
+ this.raise(Errors.ImportAttributesUseAssert, this.state.startLoc);
64558
+ }
64559
+ if (!this.hasPlugin("importAssertions")) {
64985
64560
  this.addExtra(node, "deprecatedAssertSyntax", true);
64986
- } else {
64987
- this.expectOnePlugin(["importAttributes", "importAssertions"]);
64988
64561
  }
64989
64562
  this.next();
64990
64563
  attributes = this.parseImportAttributes();
64991
- } else if (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) {
64992
- attributes = [];
64993
64564
  } else {
64994
- if (this.hasPlugin("moduleAttributes")) {
64995
- attributes = [];
64996
- } else
64997
- return;
64565
+ attributes = [];
64998
64566
  }
64999
64567
  if (!useWith && this.hasPlugin("importAssertions")) {
65000
64568
  node.assertions = attributes;
@@ -65039,7 +64607,7 @@ var require_lib = __commonJS({
65039
64607
  break;
65040
64608
  }
65041
64609
  const specifier = this.startNode();
65042
- const importedIsString = this.match(133);
64610
+ const importedIsString = this.match(134);
65043
64611
  const isMaybeTypeOnly = this.isContextual(130);
65044
64612
  specifier.imported = this.parseModuleExportName();
65045
64613
  const importSpecifier = this.parseImportSpecifier(specifier, importedIsString, node.importKind === "type" || node.importKind === "typeof", isMaybeTypeOnly, void 0);
@@ -65077,6 +64645,7 @@ var require_lib = __commonJS({
65077
64645
  this.initializeScopes();
65078
64646
  this.plugins = pluginsMap;
65079
64647
  this.filename = options.sourceFilename;
64648
+ this.startIndex = options.startIndex;
65080
64649
  }
65081
64650
  getScopeHandler() {
65082
64651
  return ScopeHandler;
@@ -69158,7 +68727,7 @@ function ui(opts) {
69158
68727
  });
69159
68728
  }
69160
68729
 
69161
- // ../../node_modules/.pnpm/escalade@3.1.2/node_modules/escalade/sync/index.mjs
68730
+ // ../../node_modules/.pnpm/escalade@3.2.0/node_modules/escalade/sync/index.mjs
69162
68731
  var import_path = require("path");
69163
68732
  var import_fs = require("fs");
69164
68733
  function sync_default(start, callback) {
@@ -73725,7 +73294,7 @@ var Yargs = YargsFactory(esm_default);
73725
73294
  var yargs_default = Yargs;
73726
73295
 
73727
73296
  // package.json
73728
- var version = "0.0.0-998902238";
73297
+ var version = "0.0.0-998d23099";
73729
73298
 
73730
73299
  // src/metrics.ts
73731
73300
  var import_node_async_hooks = require("node:async_hooks");
@@ -74490,17 +74059,17 @@ var package_default = {
74490
74059
  "create-astro": "4.11.0",
74491
74060
  "create-analog": "1.8.1",
74492
74061
  "@angular/create": "19.0.6",
74493
- "create-docusaurus": "3.6.3",
74062
+ "create-docusaurus": "3.7.0",
74494
74063
  "create-hono": "0.14.3",
74495
- "create-next-app": "15.1.2",
74064
+ "create-next-app": "15.1.3",
74496
74065
  "create-qwik": "1.12.0",
74497
- "create-vite": "6.1.0",
74066
+ "create-vite": "6.1.1",
74498
74067
  "create-remix": "2.15.2",
74499
74068
  "create-solid": "0.5.14",
74500
- "create-vue": "3.12.2",
74069
+ "create-vue": "3.13.0",
74501
74070
  gatsby: "5.14.1",
74502
- sv: "0.6.9",
74503
- nuxi: "3.17.1"
74071
+ sv: "0.6.10",
74072
+ nuxi: "3.17.2"
74504
74073
  }
74505
74074
  };
74506
74075
 
@@ -74946,7 +74515,7 @@ var generate6 = async (ctx) => {
74946
74515
  };
74947
74516
  var configure3 = async () => {
74948
74517
  const packages = [
74949
- "@opennextjs/cloudflare@0.2.x",
74518
+ "@opennextjs/cloudflare@0.3.x",
74950
74519
  "@cloudflare/workers-types"
74951
74520
  ];
74952
74521
  await installPackages(packages, {
@@ -74964,7 +74533,7 @@ var c3_default9 = {
74964
74533
  // is not yet fully ready for Next.js 15, once it is we should remove the following
74965
74534
  frameworkCliPinnedVersion: "14.2.5",
74966
74535
  platform: "workers",
74967
- displayName: "Next (using Node.js compat + Workers Assets)",
74536
+ displayName: "Next.js (using Node.js compat + Workers Assets)",
74968
74537
  path: "templates-experimental/next",
74969
74538
  copyFiles: {
74970
74539
  path: "./templates"
@@ -74973,8 +74542,8 @@ var c3_default9 = {
74973
74542
  configure: configure3,
74974
74543
  transformPackageJson: async () => ({
74975
74544
  scripts: {
74976
- deploy: `cloudflare && wrangler deploy`,
74977
- preview: `cloudflare && wrangler dev`,
74545
+ deploy: `opennextjs-cloudflare && wrangler deploy`,
74546
+ preview: `opennextjs-cloudflare && wrangler dev`,
74978
74547
  "cf-typegen": `wrangler types --env-interface CloudflareEnv env.d.ts`
74979
74548
  }
74980
74549
  }),
@@ -74994,7 +74563,7 @@ async function getWorkerdCompatibilityDate() {
74994
74563
  const latestWorkerdVersion = await getLatestPackageVersion("workerd");
74995
74564
  const match = latestWorkerdVersion.match(/\d+\.(\d{4})(\d{2})(\d{2})\.\d+/);
74996
74565
  if (match) {
74997
- const [, year, month, date] = match ?? [];
74566
+ const [, year, month, date] = match;
74998
74567
  const compatDate = `${year}-${month}-${date}`;
74999
74568
  s.stop(`${brandColor("compatibility date")} ${dim(compatDate)}`);
75000
74569
  return compatDate;
@@ -75336,7 +74905,7 @@ var config11 = {
75336
74905
  configVersion: 1,
75337
74906
  id: "solid",
75338
74907
  frameworkCli: "create-solid",
75339
- displayName: "Solid",
74908
+ displayName: "SolidStart",
75340
74909
  platform: "workers",
75341
74910
  copyFiles: {
75342
74911
  path: "./templates"
@@ -76040,7 +75609,7 @@ var c3_default25 = {
76040
75609
  id: "next",
76041
75610
  frameworkCli: "create-next-app",
76042
75611
  platform: "pages",
76043
- displayName: "Next",
75612
+ displayName: "Next.js",
76044
75613
  generate: generate19,
76045
75614
  configure: configure13,
76046
75615
  copyFiles: {
@@ -76686,7 +76255,7 @@ var config24 = {
76686
76255
  configVersion: 1,
76687
76256
  id: "solid",
76688
76257
  frameworkCli: "create-solid",
76689
- displayName: "Solid",
76258
+ displayName: "SolidStart",
76690
76259
  platform: "pages",
76691
76260
  copyFiles: {
76692
76261
  path: "./templates"
@@ -76853,7 +76422,7 @@ var config26 = {
76853
76422
  var c3_default36 = config26;
76854
76423
 
76855
76424
  // ../wrangler/package.json
76856
- var version2 = "0.0.0-998902238";
76425
+ var version2 = "0.0.0-998d23099";
76857
76426
 
76858
76427
  // src/git.ts
76859
76428
  var offerGit = async (ctx) => {
@@ -79440,7 +79009,7 @@ function encode(decoded) {
79440
79009
  return writer.flush();
79441
79010
  }
79442
79011
 
79443
- // ../../node_modules/.pnpm/magic-string@0.30.11/node_modules/magic-string/dist/magic-string.es.mjs
79012
+ // ../../node_modules/.pnpm/magic-string@0.30.14/node_modules/magic-string/dist/magic-string.es.mjs
79444
79013
  var BitSet = class {
79445
79014
  constructor(arg) {
79446
79015
  this.bits = arg instanceof BitSet ? arg.bits.slice() : [];
@@ -79614,6 +79183,9 @@ var SourceMap = class {
79614
79183
  if (typeof properties.x_google_ignoreList !== "undefined") {
79615
79184
  this.x_google_ignoreList = properties.x_google_ignoreList;
79616
79185
  }
79186
+ if (typeof properties.debugId !== "undefined") {
79187
+ this.debugId = properties.debugId;
79188
+ }
79617
79189
  }
79618
79190
  toString() {
79619
79191
  return JSON.stringify(this);
@@ -79724,22 +79296,6 @@ var Mappings = class {
79724
79296
  let first = true;
79725
79297
  let charInHiresBoundary = false;
79726
79298
  while (originalCharIndex < chunk.end) {
79727
- if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
79728
- const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
79729
- if (this.hires === "boundary") {
79730
- if (wordRegex.test(original[originalCharIndex])) {
79731
- if (!charInHiresBoundary) {
79732
- this.rawSegments.push(segment);
79733
- charInHiresBoundary = true;
79734
- }
79735
- } else {
79736
- this.rawSegments.push(segment);
79737
- charInHiresBoundary = false;
79738
- }
79739
- } else {
79740
- this.rawSegments.push(segment);
79741
- }
79742
- }
79743
79299
  if (original[originalCharIndex] === "\n") {
79744
79300
  loc.line += 1;
79745
79301
  loc.column = 0;
@@ -79748,6 +79304,22 @@ var Mappings = class {
79748
79304
  this.generatedCodeColumn = 0;
79749
79305
  first = true;
79750
79306
  } else {
79307
+ if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
79308
+ const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
79309
+ if (this.hires === "boundary") {
79310
+ if (wordRegex.test(original[originalCharIndex])) {
79311
+ if (!charInHiresBoundary) {
79312
+ this.rawSegments.push(segment);
79313
+ charInHiresBoundary = true;
79314
+ }
79315
+ } else {
79316
+ this.rawSegments.push(segment);
79317
+ charInHiresBoundary = false;
79318
+ }
79319
+ } else {
79320
+ this.rawSegments.push(segment);
79321
+ }
79322
+ }
79751
79323
  loc.column += 1;
79752
79324
  this.generatedCodeColumn += 1;
79753
79325
  first = false;